@opencode/core 0.0.0-dev-20311 → 0.0.0-dev-20314
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 +79 -79
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{generate-rc1dmyce.js → worktree-05xfxpq7.js} +8 -8
- package/dist/chunks/{generate-vffhp2gv.js → worktree-07ka27pw.js} +39 -39
- package/dist/chunks/{generate-h35vggef.js → worktree-0b08qf3v.js} +8 -8
- package/dist/chunks/{generate-yf4jcbx9.js → worktree-0jkw1j53.js} +6 -6
- package/dist/chunks/{generate-xa3tz7a2.js → worktree-0k65zfrv.js} +83 -83
- package/dist/chunks/{generate-sfzrsyap.js → worktree-0nc4skqk.js} +9 -9
- package/dist/chunks/{generate-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{generate-k2057gb1.js → worktree-0qy4awsn.js} +24 -24
- package/dist/chunks/{generate-v4qgwr45.js → worktree-0xxe8pk9.js} +1 -1
- package/dist/chunks/{generate-a8wkh39j.js → worktree-0z5kb6hf.js} +3 -3
- package/dist/chunks/{generate-nzsh53q3.js → worktree-0zz42z4j.js} +14 -14
- package/dist/chunks/{generate-0jq9fyba.js → worktree-11dqjexa.js} +9 -9
- package/dist/chunks/{generate-yp2x3t23.js → worktree-1acjjqhc.js} +4 -4
- package/dist/chunks/{generate-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{generate-r4xhx5yy.js → worktree-1fm7vbk4.js} +12 -12
- package/dist/chunks/{generate-awsejm39.js → worktree-1sejb65e.js} +20 -20
- package/dist/chunks/{generate-56gdpj1q.js → worktree-1ygqh575.js} +9 -9
- package/dist/chunks/{generate-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{generate-wj76ss2k.js → worktree-277eer69.js} +4 -4
- package/dist/chunks/{generate-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{generate-7dqw4kz8.js → worktree-2k8khapm.js} +5 -5
- package/dist/chunks/{generate-9p1d72pj.js → worktree-2kba3xe6.js} +25 -25
- package/dist/chunks/{generate-wrb2h0pz.js → worktree-2mxwjfq3.js} +26 -26
- package/dist/chunks/{generate-8em80h20.js → worktree-2v3kr2zz.js} +40 -40
- package/dist/chunks/{generate-7kcn46rt.js → worktree-2wfhz1m8.js} +19 -19
- package/dist/chunks/{generate-dgb4ba8k.js → worktree-2wmsjg7e.js} +12 -12
- package/dist/chunks/{generate-2eryzwn5.js → worktree-2x11xqq5.js} +26 -26
- package/dist/chunks/{generate-kambhmaz.js → worktree-34nypsh0.js} +9 -9
- package/dist/chunks/{generate-pfzrvarp.js → worktree-34q1q4g3.js} +4 -4
- package/dist/chunks/{generate-ctx36fda.js → worktree-37xnkr9x.js} +36 -36
- package/dist/chunks/{generate-1aft4d1r.js → worktree-3ebwcaah.js} +24 -24
- package/dist/chunks/{generate-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{generate-z3mwdy1e.js → worktree-3grjp0nz.js} +6 -6
- package/dist/chunks/{generate-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-7p7qn9e9.js → worktree-3kxsbfdd.js} +18 -18
- package/dist/chunks/{generate-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-22jt7mmp.js → worktree-3zm2m16b.js} +20 -20
- package/dist/chunks/{generate-3zsf4n22.js → worktree-3zsf4n22.js} +1 -1
- package/dist/chunks/{generate-8f1bvar8.js → worktree-4857ee0e.js} +50 -50
- package/dist/chunks/{generate-7s451enq.js → worktree-4a0nv7mx.js} +8 -8
- package/dist/chunks/{generate-4j4tgtq5.js → worktree-4j4tgtq5.js} +1 -1
- package/dist/chunks/{generate-qq8x5mwt.js → worktree-4jv7e9dq.js} +7 -7
- package/dist/chunks/{generate-zm45vcs9.js → worktree-4tg3mvfj.js} +32 -32
- package/dist/chunks/{generate-tfn34vp9.js → worktree-4wj5hqyp.js} +10 -10
- package/dist/chunks/{generate-y5df08dr.js → worktree-4yvz2rcy.js} +12 -12
- package/dist/chunks/{generate-a1wxwke7.js → worktree-50fh3k1w.js} +13 -13
- package/dist/chunks/{generate-54ma36ye.js → worktree-54ma36ye.js} +1 -1
- package/dist/chunks/{generate-nmmahyvw.js → worktree-59fdznsn.js} +12 -12
- package/dist/chunks/{generate-v9c8tcpz.js → worktree-5cbjsbf2.js} +7 -7
- package/dist/chunks/{generate-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{generate-4e9qa1yk.js → worktree-5e7ha89d.js} +15 -15
- package/dist/chunks/{generate-rw4cg28f.js → worktree-5g59cdd4.js} +48 -48
- package/dist/chunks/{generate-ygkdy722.js → worktree-5j6r72e5.js} +1 -1
- package/dist/chunks/{generate-zz5kw0a1.js → worktree-5m5pvpe6.js} +10 -10
- package/dist/chunks/{generate-nh7jf5qt.js → worktree-5qpsy98w.js} +22 -22
- package/dist/chunks/{generate-f6cejng9.js → worktree-5rpzdny6.js} +20 -20
- package/dist/chunks/{generate-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{generate-w1jbyrm2.js → worktree-5xn2kdjj.js} +68 -68
- package/dist/chunks/{generate-669tq793.js → worktree-669tq793.js} +1 -1
- package/dist/chunks/{generate-as21h9v2.js → worktree-6apn3h4b.js} +6 -6
- package/dist/chunks/{generate-6bbg9vsb.js → worktree-6gtt5snn.js} +33 -33
- package/dist/chunks/{generate-bbqtwfcr.js → worktree-6gx3r2kv.js} +11 -11
- package/dist/chunks/{generate-5qbm8fhe.js → worktree-6hzy2d5p.js} +36 -36
- package/dist/chunks/{generate-9rgc45s8.js → worktree-6jn9sxf3.js} +28 -28
- package/dist/chunks/{generate-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
- package/dist/chunks/{generate-nreym987.js → worktree-6r564qq4.js} +6 -6
- package/dist/chunks/{generate-y153a536.js → worktree-6rebv3cw.js} +1 -1
- package/dist/chunks/{generate-g0a45qje.js → worktree-6xk05h7s.js} +9 -9
- package/dist/chunks/{generate-23pgy1bp.js → worktree-7627eybd.js} +18 -18
- package/dist/chunks/{generate-814v6m4p.js → worktree-77vpx1b6.js} +17 -17
- package/dist/chunks/{generate-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-x0fjgrm3.js → worktree-7f76ypb7.js} +14 -14
- package/dist/chunks/{generate-pacd6fme.js → worktree-7f7t51gq.js} +8 -8
- package/dist/chunks/{generate-h0kdtxf8.js → worktree-7fp3pbdt.js} +33 -33
- package/dist/chunks/{generate-awnxdpmt.js → worktree-7qann507.js} +42 -42
- package/dist/chunks/{generate-jw2g4gey.js → worktree-7sgyf0xz.js} +6 -6
- package/dist/chunks/{generate-rn2ttdtd.js → worktree-7twg7rgh.js} +18 -18
- package/dist/chunks/{generate-nbzsj80d.js → worktree-818pfwc9.js} +8 -8
- package/dist/chunks/{generate-gxr0tf1h.js → worktree-83xp5e3e.js} +2 -2
- package/dist/chunks/{generate-84txncab.js → worktree-84txncab.js} +1 -1
- package/dist/chunks/{generate-33qnn5ry.js → worktree-87temrgz.js} +11 -11
- package/dist/chunks/{generate-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{generate-1d9tbeyw.js → worktree-8edxm6pr.js} +10 -10
- package/dist/chunks/{generate-azgbrbkh.js → worktree-8gh9vszs.js} +27 -27
- package/dist/chunks/{generate-07770t2t.js → worktree-8hbfdwcy.js} +8 -8
- package/dist/chunks/{generate-z9mfjqhv.js → worktree-8s0ze3zt.js} +10 -10
- package/dist/chunks/{generate-gbs6e6v2.js → worktree-92dk74jt.js} +11 -11
- package/dist/chunks/{generate-aam4yepe.js → worktree-93fchcwg.js} +24 -24
- package/dist/chunks/{generate-94ek1h2f.js → worktree-94ek1h2f.js} +2 -2
- package/dist/chunks/{generate-q4fmv0xv.js → worktree-9b00c1fb.js} +5 -5
- package/dist/chunks/{generate-g0445xdp.js → worktree-9hn6k4tm.js} +8 -8
- package/dist/chunks/{generate-4xkx8k44.js → worktree-9n87anw0.js} +5 -5
- package/dist/chunks/{generate-52dst9ej.js → worktree-9x0b5x9j.js} +11 -11
- package/dist/chunks/{generate-85ej85ms.js → worktree-a43gst0m.js} +3 -3
- package/dist/chunks/{generate-nmfetzj5.js → worktree-a4e1tewd.js} +2 -2
- package/dist/chunks/{generate-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{generate-thke6090.js → worktree-abrjz9qv.js} +13 -13
- package/dist/chunks/{generate-pggm8t3g.js → worktree-adbp0bjj.js} +8 -8
- package/dist/chunks/{generate-96ctqc5x.js → worktree-afjydgk3.js} +4 -4
- package/dist/chunks/{generate-32ymn5e1.js → worktree-aj9wrhbp.js} +3 -3
- package/dist/chunks/{generate-t54ngshn.js → worktree-akpb58q4.js} +15 -15
- package/dist/chunks/{generate-rxsnry8w.js → worktree-ap2tpm1x.js} +24 -24
- package/dist/chunks/{generate-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{generate-b5v2de1g.js → worktree-b92gs9tv.js} +19 -19
- package/dist/chunks/{generate-k76fn4kw.js → worktree-baaqp4zd.js} +4 -4
- package/dist/chunks/{generate-d172wthb.js → worktree-bb5562zs.js} +22 -22
- package/dist/chunks/{generate-gh484rvf.js → worktree-bpa6zfs4.js} +87 -87
- package/dist/chunks/{generate-4gyadrbh.js → worktree-brpj3swx.js} +31 -31
- package/dist/chunks/{generate-2p5ftwah.js → worktree-c3nyckct.js} +25 -25
- package/dist/chunks/{generate-4arb9zza.js → worktree-c66ced72.js} +7 -7
- package/dist/chunks/{generate-dbtagb3j.js → worktree-cac6dn0k.js} +8 -8
- package/dist/chunks/{generate-ckecvw8r.js → worktree-ckecvw8r.js} +2 -2
- package/dist/chunks/{generate-2fgn2we9.js → worktree-dc6tzc5b.js} +5 -5
- package/dist/chunks/{generate-gknmnwsv.js → worktree-de6phzbx.js} +9 -9
- package/dist/chunks/{generate-5hvea60m.js → worktree-df33jmy2.js} +18 -18
- package/dist/chunks/worktree-dfjfj6f0.js +252 -0
- package/dist/chunks/{generate-cwa6csj7.js → worktree-djszqvmq.js} +9 -9
- package/dist/chunks/{generate-xnvjtjgs.js → worktree-dkq1mqd6.js} +2 -2
- package/dist/chunks/{generate-dnxkq42g.js → worktree-dnxkq42g.js} +1 -1
- package/dist/chunks/{generate-y71avatq.js → worktree-dpkg50ah.js} +4 -4
- package/dist/chunks/{generate-amejyd4w.js → worktree-dqanwn8q.js} +25 -25
- package/dist/chunks/{generate-md55ss1w.js → worktree-e7f86dzg.js} +13 -13
- package/dist/chunks/{generate-fscpw8f3.js → worktree-ebpkp5tm.js} +1 -1
- package/dist/chunks/{generate-ecfe7b91.js → worktree-ecfe7b91.js} +2 -2
- package/dist/chunks/{generate-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{generate-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{generate-2f0bjgcj.js → worktree-evbgk2k8.js} +5 -5
- package/dist/chunks/{generate-6416pc1c.js → worktree-eycgq67k.js} +43 -43
- package/dist/chunks/{generate-91wxwphj.js → worktree-f40tx9v5.js} +7 -7
- package/dist/chunks/{generate-xp2x8we8.js → worktree-f8hpcc62.js} +28 -28
- package/dist/chunks/{generate-x536ta9q.js → worktree-fa575c2x.js} +25 -25
- package/dist/chunks/{generate-b7b4ctej.js → worktree-fhz5gfgy.js} +5 -5
- package/dist/chunks/{generate-r65s3bqz.js → worktree-fk0r5cwe.js} +15 -15
- package/dist/chunks/{generate-bqjh05b8.js → worktree-fnz0r7q7.js} +8 -8
- package/dist/chunks/{generate-3vjxyz9p.js → worktree-fr5646w7.js} +43 -43
- package/dist/chunks/{generate-732ar3t7.js → worktree-fy02dvg1.js} +14 -14
- package/dist/chunks/{generate-hr33daew.js → worktree-fyq3qmbb.js} +6 -93
- package/dist/chunks/{generate-50mzsvk4.js → worktree-g190xswt.js} +4 -4
- package/dist/chunks/{generate-440wx6xb.js → worktree-g36vf30t.js} +13 -13
- package/dist/chunks/{generate-wgj5v4hd.js → worktree-g3bz5gs9.js} +20 -20
- package/dist/chunks/{generate-bhsjg0n3.js → worktree-g8rmq192.js} +12 -12
- package/dist/chunks/{generate-fjxg64x0.js → worktree-garp4qw6.js} +2 -2
- package/dist/chunks/{generate-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-gf4w2vvn.js → worktree-gfzbkctm.js} +21 -21
- package/dist/chunks/{generate-2yb60grw.js → worktree-ghxjqect.js} +13 -13
- package/dist/chunks/{generate-r34cw8yr.js → worktree-gm0g7gcc.js} +4 -4
- package/dist/chunks/{generate-svrzg09g.js → worktree-gm1x238t.js} +8 -8
- package/dist/chunks/{generate-rfabxrr6.js → worktree-gsaq8s04.js} +27 -27
- package/dist/chunks/{generate-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
- package/dist/chunks/{generate-8zddydas.js → worktree-gyccd9n7.js} +22 -22
- package/dist/chunks/{generate-0dr81x6h.js → worktree-h316dbp4.js} +11 -11
- package/dist/chunks/{generate-5e1pzs32.js → worktree-h5m7e0fe.js} +9 -9
- package/dist/chunks/{generate-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-xb6c13qf.js → worktree-hanh6chz.js} +10 -10
- package/dist/chunks/{generate-4r3dk6a2.js → worktree-hcvxcehv.js} +12 -12
- package/dist/chunks/{generate-hd8vw2pw.js → worktree-hd8vw2pw.js} +1 -1
- package/dist/chunks/{generate-agqxsrzz.js → worktree-herfy2z0.js} +13 -13
- package/dist/chunks/{generate-fmhg56c5.js → worktree-hkarc3f0.js} +9 -9
- package/dist/chunks/{generate-hzm7snc9.js → worktree-htbmzt7n.js} +16 -16
- package/dist/chunks/{generate-r0tjgr50.js → worktree-hy20qw0x.js} +18 -18
- package/dist/chunks/{generate-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{generate-m35av5wd.js → worktree-jp5y0tg6.js} +16 -16
- package/dist/chunks/{generate-0085hr19.js → worktree-jtq10j8j.js} +20 -20
- package/dist/chunks/{generate-pr6rswsq.js → worktree-jvhjazwr.js} +11 -11
- package/dist/chunks/{generate-prsj8pfn.js → worktree-jw8n4n6p.js} +3 -3
- package/dist/chunks/{generate-k3c624dm.js → worktree-k3c624dm.js} +3 -3
- package/dist/chunks/{generate-584xd2as.js → worktree-k3dyg6dm.js} +11 -11
- package/dist/chunks/{generate-3ckkbjr6.js → worktree-k96bfvzz.js} +12 -12
- package/dist/chunks/{generate-6v2dyjqx.js → worktree-kf269fqw.js} +32 -32
- package/dist/chunks/{generate-fjqeck8h.js → worktree-kk69x7kr.js} +16 -16
- package/dist/chunks/{generate-6k3166bs.js → worktree-knad820t.js} +13 -13
- package/dist/chunks/{generate-qb2tb8w1.js → worktree-kvh070sc.js} +32 -32
- package/dist/chunks/{generate-nng2ktcm.js → worktree-ky3seynh.js} +2 -2
- package/dist/chunks/{generate-7v8m1a1x.js → worktree-kztetyb1.js} +19 -19
- package/dist/chunks/{generate-03ykhv53.js → worktree-m02w9rze.js} +21 -21
- package/dist/chunks/{generate-sfjqvhg3.js → worktree-m2vze1yq.js} +10 -10
- package/dist/chunks/{generate-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
- package/dist/chunks/{generate-bazj3hza.js → worktree-m84c3eg8.js} +15 -15
- package/dist/chunks/{generate-7e733kya.js → worktree-m8h3g6ey.js} +5 -5
- package/dist/chunks/{generate-z0hkwef7.js → worktree-m8jn794n.js} +23 -23
- package/dist/chunks/{generate-rvqyhd8y.js → worktree-m92xhnzy.js} +3 -3
- package/dist/chunks/{generate-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-mvfsc1pv.js → worktree-mhkvc446.js} +3 -3
- package/dist/chunks/{generate-gaa1tzxa.js → worktree-mje1cxe4.js} +16 -16
- package/dist/chunks/{generate-m86ds27b.js → worktree-mn20a28a.js} +11 -11
- package/dist/chunks/{generate-e5cyx2g4.js → worktree-msy23jaw.js} +20 -20
- package/dist/chunks/{generate-a5s3jpvp.js → worktree-mve018rq.js} +28 -28
- package/dist/chunks/{generate-mvksx64m.js → worktree-mvksx64m.js} +4 -4
- package/dist/chunks/{generate-979a2w4f.js → worktree-n810d9f4.js} +11 -11
- package/dist/chunks/{generate-c6pt6dva.js → worktree-n9a5crpx.js} +6 -6
- package/dist/chunks/{generate-2f1w8fmd.js → worktree-nwxgwzyy.js} +9 -9
- package/dist/chunks/{generate-85eh4j2g.js → worktree-pa3vm0gt.js} +16 -16
- package/dist/chunks/{generate-wj63x7hs.js → worktree-pb82r3ma.js} +11 -11
- package/dist/chunks/{generate-nxhqveyz.js → worktree-pecb0brz.js} +5 -5
- package/dist/chunks/{generate-2d57kztd.js → worktree-pf2hb43r.js} +4 -4
- package/dist/chunks/{generate-xrtm2pyg.js → worktree-pgtq6dzx.js} +16 -16
- package/dist/chunks/{generate-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{generate-jk5wpxvf.js → worktree-pnd0g9pf.js} +5 -5
- package/dist/chunks/{generate-24dd53tp.js → worktree-pnv527nz.js} +9 -9
- package/dist/chunks/{generate-s708rks0.js → worktree-prdv2mte.js} +4 -4
- package/dist/chunks/{generate-ddvgmnvd.js → worktree-ps28zk1z.js} +14 -14
- package/dist/chunks/{generate-6pc27hjz.js → worktree-py3kkmfq.js} +6 -6
- package/dist/chunks/{generate-8kd7g5rj.js → worktree-pzjt7r8f.js} +6 -6
- package/dist/chunks/{generate-ymftmb4x.js → worktree-q4s4x04b.js} +24 -24
- package/dist/chunks/{generate-tadj9bjf.js → worktree-qaj4vhma.js} +1 -1
- package/dist/chunks/worktree-qc068m1q.js +18 -0
- package/dist/chunks/{generate-hnr5yq9h.js → worktree-qjnxxf51.js} +5 -5
- package/dist/chunks/{generate-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-821ermd3.js → worktree-r0s9vhwa.js} +9 -9
- package/dist/chunks/{generate-abngy076.js → worktree-r5vpsbwz.js} +20 -20
- package/dist/chunks/{generate-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{generate-rhjbct0v.js → worktree-rhjbct0v.js} +1 -1
- package/dist/chunks/{generate-nt6ypc5t.js → worktree-rvyqzb1a.js} +23 -23
- package/dist/chunks/{generate-f77a5w0g.js → worktree-rwan6hkh.js} +10 -10
- package/dist/chunks/{generate-a46v4e4v.js → worktree-ryr25ayn.js} +4 -4
- package/dist/chunks/{generate-jf6ce2dj.js → worktree-s0sx2v9z.js} +141 -141
- package/dist/chunks/{generate-a5vdvzcn.js → worktree-s3b2wgtr.js} +11 -11
- package/dist/chunks/{generate-1vya40xm.js → worktree-s5c30328.js} +3 -3
- package/dist/chunks/{generate-cnvngknd.js → worktree-s7m1jgh3.js} +30 -30
- package/dist/chunks/{generate-hf41t8pz.js → worktree-senast2p.js} +20 -20
- package/dist/chunks/{generate-wjep8sxw.js → worktree-sgemhp45.js} +12 -12
- package/dist/chunks/{generate-1fyhttb2.js → worktree-smzykshb.js} +6 -6
- package/dist/chunks/{generate-fwzevyy4.js → worktree-swh571tt.js} +1 -1
- package/dist/chunks/{generate-bevq0g19.js → worktree-sxwx9tkq.js} +31 -31
- package/dist/chunks/worktree-t3czs8ed.js +26 -0
- package/dist/chunks/{generate-938hwyrh.js → worktree-t5fc0zjg.js} +3 -3
- package/dist/chunks/{generate-h37r8vbk.js → worktree-t794wzvf.js} +26 -26
- package/dist/chunks/{generate-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/{generate-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{generate-43tk2b99.js → worktree-tgtk0jyg.js} +3 -3
- package/dist/chunks/{generate-yp5y7gxn.js → worktree-tha3vvwn.js} +5 -5
- package/dist/chunks/{generate-p1cfyvt1.js → worktree-tta4ne66.js} +13 -13
- package/dist/chunks/{generate-tvtrv512.js → worktree-tvtrv512.js} +1 -1
- package/dist/chunks/{generate-jtknk089.js → worktree-twe926b3.js} +7 -7
- package/dist/chunks/{generate-y5rf7nzv.js → worktree-v7z2bvyd.js} +4 -4
- package/dist/chunks/{generate-9pd2f5yz.js → worktree-varpx0pc.js} +16 -16
- package/dist/chunks/{generate-es45fn35.js → worktree-vd5yy21v.js} +28 -28
- package/dist/chunks/{generate-vd7rzxqf.js → worktree-vd7rzxqf.js} +2 -2
- package/dist/chunks/{generate-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-sd7dhxs3.js → worktree-vhqg2wpr.js} +34 -34
- package/dist/chunks/{generate-j83byb14.js → worktree-vncycja5.js} +4 -4
- package/dist/chunks/{generate-neq7j8hb.js → worktree-vqhx5d1p.js} +33 -33
- package/dist/chunks/{generate-2c835n2e.js → worktree-vrxaz2n4.js} +5 -5
- package/dist/chunks/{generate-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
- package/dist/chunks/{generate-vzs5sf6e.js → worktree-vzs5sf6e.js} +1 -1
- package/dist/chunks/{generate-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-4c2df9zx.js → worktree-w3x9v1nk.js} +8 -8
- package/dist/chunks/{generate-4g5hndmz.js → worktree-w8m5q4xe.js} +14 -14
- package/dist/chunks/{generate-wd3x2cqz.js → worktree-wd3x2cqz.js} +2 -2
- package/dist/chunks/{generate-nvefchs6.js → worktree-wd71bnwr.js} +26 -26
- package/dist/chunks/{generate-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{generate-vy2q9tj0.js → worktree-wgss2cbp.js} +8 -8
- package/dist/chunks/{generate-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{generate-y5njdhxq.js → worktree-x79bsykc.js} +11 -11
- package/dist/chunks/{generate-qtkmjp6n.js → worktree-xeavwtd2.js} +27 -27
- package/dist/chunks/{generate-drwq78ky.js → worktree-xfkkasph.js} +4 -4
- package/dist/chunks/{generate-cq4a9qth.js → worktree-xj9aad7z.js} +43 -43
- package/dist/chunks/{generate-xkntkrq7.js → worktree-xkntkrq7.js} +2 -2
- package/dist/chunks/{generate-bt1jz474.js → worktree-xp0f2vnn.js} +5 -5
- package/dist/chunks/{generate-n01ekzvg.js → worktree-xpjcprn4.js} +26 -26
- package/dist/chunks/{generate-7w99qc9d.js → worktree-xxynqx5z.js} +2 -2
- package/dist/chunks/{generate-ahw5tbvq.js → worktree-y019w46x.js} +318 -318
- package/dist/chunks/{generate-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-ngcky491.js → worktree-y3m4vy1g.js} +46 -46
- package/dist/chunks/{generate-zhdcmryh.js → worktree-yg13730w.js} +15 -15
- package/dist/chunks/{generate-90ny61fc.js → worktree-yntvrfmt.js} +18 -18
- package/dist/chunks/{generate-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
- package/dist/chunks/{generate-yrznvahk.js → worktree-yrznvahk.js} +2 -2
- package/dist/chunks/{generate-1njzkgw4.js → worktree-yvyjs43v.js} +24 -24
- package/dist/chunks/{generate-95v4nsjn.js → worktree-z04dqx9d.js} +8 -8
- package/dist/chunks/{generate-z07pqspn.js → worktree-z07pqspn.js} +3 -3
- package/dist/chunks/{generate-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-drfqr2ek.js → worktree-z0ya5s7h.js} +9 -9
- package/dist/chunks/{generate-yrqbhy7t.js → worktree-z16xbst3.js} +3 -3
- package/dist/chunks/{generate-7ak6y54g.js → worktree-z4b5t13m.js} +19 -19
- package/dist/chunks/{generate-mmnbb39x.js → worktree-z4jtqfv3.js} +6 -6
- package/dist/chunks/{generate-qz02d4gv.js → worktree-z4ygwn82.js} +7 -7
- package/dist/chunks/{generate-z63w68vq.js → worktree-z63w68vq.js} +2 -2
- package/dist/chunks/{generate-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
- package/dist/chunks/{generate-tfsskg12.js → worktree-zqcr6gem.js} +20 -20
- package/dist/chunks/{generate-q8n9d2sh.js → worktree-zqm7km32.js} +8 -8
- package/dist/chunks/{generate-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- 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 +125 -125
- package/dist/config/plugin/command.js +215 -215
- 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 +132 -132
- 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 +123 -123
- 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 +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +102 -102
- 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 +97 -97
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +91 -91
- 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 +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +77 -77
- 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 +85 -85
- package/dist/managed-policy.js +3 -3
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +96 -96
- package/dist/models-dev.js +103 -103
- 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 +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- 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 +4 -4
- 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 +122 -122
- 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 +95 -95
- 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 +122 -122
- 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 +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- 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 +133 -133
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- 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 +1 -1
- 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 +2 -2
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- 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 +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +122 -122
- 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 +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/github-copilot/responses/openai-responses-language-model.d.ts +0 -2
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/generate-by5v678g.js +0 -18
- package/dist/chunks/generate-hwbqwnb3.js +0 -252
- package/dist/chunks/generate-ysdhkd7t.js +0 -26
- /package/dist/chunks/{generate-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-34c7v6d4.js → worktree-34c7v6d4.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-5qd3pb7m.js → worktree-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-922hggd3.js → worktree-922hggd3.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service39
|
|
6
|
+
} from "./worktree-eycgq67k.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service62
|
|
9
|
+
} from "./worktree-y3m4vy1g.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin21
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin21 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service39;
|
|
26
|
+
const permission = yield* Service62;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin9 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin21, exports_mcp_resource };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./worktree-ps28zk1z.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service46
|
|
9
|
+
} from "./worktree-xj9aad7z.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service28
|
|
12
|
+
} from "./worktree-gfzbkctm.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin46
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin46 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service46;
|
|
34
|
+
const location = yield* Service77;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service28;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin24 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin46, exports_worktree };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-y3m4vy1g.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin10
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin10 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin10, exports_plan };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-gm0g7gcc.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-dnxkq42g.js";
|
|
12
12
|
import {
|
|
13
13
|
ID14,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
14
|
+
Service75,
|
|
15
|
+
node78,
|
|
16
|
+
Event17
|
|
17
|
+
} from "./worktree-r5vpsbwz.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service77,
|
|
20
|
+
node80
|
|
21
|
+
} from "./worktree-ps28zk1z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./worktree-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -37,13 +37,13 @@ var exports_provider3 = {};
|
|
|
37
37
|
__export(exports_provider3, {
|
|
38
38
|
AISDK_PREFIX: () => AISDK_PREFIX2,
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
|
-
Event: () =>
|
|
40
|
+
Event: () => Event16,
|
|
41
41
|
ID: () => ID13,
|
|
42
42
|
Info: () => Info27,
|
|
43
43
|
LoadError: () => LoadError3,
|
|
44
44
|
Provider: () => exports_provider3,
|
|
45
45
|
Request: () => Request3,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service74,
|
|
47
47
|
Settings: () => Settings2,
|
|
48
48
|
Transport: () => Transport2,
|
|
49
49
|
aisdk: () => aisdk2,
|
|
@@ -53,7 +53,7 @@ __export(exports_provider3, {
|
|
|
53
53
|
mergeOverlay: () => mergeOverlay2,
|
|
54
54
|
modelSettings: () => modelSettings2,
|
|
55
55
|
nativeSettings: () => nativeSettings2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node77,
|
|
57
57
|
packageName: () => packageName2
|
|
58
58
|
});
|
|
59
59
|
import { Context, Effect, Layer, Schema, Stream, Struct } from "effect";
|
|
@@ -64,7 +64,7 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
64
64
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
65
65
|
import { Credential } from "@opencode/schema/credential";
|
|
66
66
|
import { freeze } from "immer";
|
|
67
|
-
import { Event as
|
|
67
|
+
import { Event as Event16 } from "@opencode/schema/provider";
|
|
68
68
|
var ID13 = Provider.ID;
|
|
69
69
|
var AISDK_PREFIX2 = "aisdk:";
|
|
70
70
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
@@ -212,7 +212,7 @@ var Transport2 = Provider.Transport;
|
|
|
212
212
|
var Settings2 = Provider.Settings;
|
|
213
213
|
var Info27 = Provider.Info;
|
|
214
214
|
|
|
215
|
-
class
|
|
215
|
+
class Service74 extends Context.Service()("@opencode/Provider") {
|
|
216
216
|
}
|
|
217
217
|
var definitions = new WeakMap;
|
|
218
218
|
function index(providerID, models) {
|
|
@@ -225,10 +225,10 @@ function index(providerID, models) {
|
|
|
225
225
|
definitions.set(models, indexes);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
-
var layer = Layer.effect(
|
|
228
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
229
229
|
const bus = yield* Service83;
|
|
230
|
-
const integrations = yield*
|
|
231
|
-
const location = yield*
|
|
230
|
+
const integrations = yield* Service75;
|
|
231
|
+
const location = yield* Service77;
|
|
232
232
|
const state = create3({
|
|
233
233
|
name: "provider",
|
|
234
234
|
initial: () => new Map,
|
|
@@ -346,8 +346,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
346
346
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
347
347
|
});
|
|
348
348
|
});
|
|
349
|
-
yield* bus.subscribe([
|
|
350
|
-
return
|
|
349
|
+
yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
350
|
+
return Service74.of({
|
|
351
351
|
transform: state.transform,
|
|
352
352
|
reload: state.reload,
|
|
353
353
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -356,7 +356,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
356
356
|
snapshot
|
|
357
357
|
});
|
|
358
358
|
}));
|
|
359
|
-
var
|
|
359
|
+
var node77 = makeLocationNode({ service: Service74, layer, deps: [node87, node78, node80] });
|
|
360
360
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
361
361
|
const module = yield* Effect.tryPromise({
|
|
362
362
|
try: () => {
|
|
@@ -625,4 +625,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
625
625
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
626
626
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
627
627
|
|
|
628
|
-
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27,
|
|
628
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info27, Service74, node77, exports_provider3, Event16 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-5g59cdd4.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make9(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make9 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service77
|
|
6
|
+
} from "./worktree-ps28zk1z.js";
|
|
7
7
|
import {
|
|
8
8
|
Service21
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-w8m5q4xe.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service6
|
|
12
|
+
} from "./worktree-z4b5t13m.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,17 +23,17 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service7
|
|
27
|
+
} from "./worktree-59fdznsn.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./worktree-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
35
|
Input: () => Input12,
|
|
36
|
-
Plugin: () =>
|
|
36
|
+
Plugin: () => Plugin30,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
38
|
name: () => name12,
|
|
39
39
|
toModelContent: () => toModelContent6
|
|
@@ -55,14 +55,14 @@ var LocationInput = Schema.Struct({
|
|
|
55
55
|
});
|
|
56
56
|
var Input12 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin30 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
61
|
+
const reader = yield* Service7;
|
|
62
62
|
const access = yield* Service21;
|
|
63
|
-
const sessionInstructions = yield*
|
|
63
|
+
const sessionInstructions = yield* Service6;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service77;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
67
|
name: name12,
|
|
68
68
|
options: { codemode: false },
|
|
@@ -181,4 +181,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export { name12, Input12,
|
|
184
|
+
export { name12, Input12, Plugin30, toModelContent6, exports_read };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service41,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer16,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node44
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service41 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service41, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service41.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node44 = makeGlobalNode({ service: Service41, layer: layer16, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service41, makeLayer2, layer16, node44, exports_model_transport };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-gm0g7gcc.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service77,
|
|
12
|
+
node80
|
|
13
|
+
} from "./worktree-ps28zk1z.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./worktree-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: () => Info3,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service22,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node25
|
|
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 Info3, 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 Service22 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service77;
|
|
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(Service56, 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(Info3));
|
|
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(Service56, 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 Service22.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(Service56, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node25 = makeLocationNode({
|
|
168
|
+
service: Service22,
|
|
169
169
|
layer,
|
|
170
|
-
deps: [FSUtil.node,
|
|
170
|
+
deps: [FSUtil.node, node80, node87]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info3, Mode2, DiffError2, Service22, node25, exports_vcs };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID14,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service75,
|
|
4
|
+
node78
|
|
5
|
+
} from "./worktree-r5vpsbwz.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -12,23 +12,23 @@ import {
|
|
|
12
12
|
modelSettings2,
|
|
13
13
|
mergeOverlay2,
|
|
14
14
|
mergeHeaders2,
|
|
15
|
-
Service76,
|
|
16
|
-
node80
|
|
17
|
-
} from "./generate-z0hkwef7.js";
|
|
18
|
-
import {
|
|
19
15
|
Service74,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
16
|
+
node77
|
|
17
|
+
} from "./worktree-m8jn794n.js";
|
|
18
|
+
import {
|
|
19
|
+
Service55,
|
|
20
|
+
node57
|
|
21
|
+
} from "./worktree-34nypsh0.js";
|
|
22
22
|
import {
|
|
23
23
|
ID12,
|
|
24
24
|
VariantID2,
|
|
25
25
|
Ref2,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service73,
|
|
27
|
+
node76
|
|
28
|
+
} from "./worktree-bb5562zs.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./worktree-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/model-resolver.ts
|
|
34
34
|
var exports_model_resolver = {};
|
|
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
|
|
|
37
37
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
38
38
|
ModelInitializationError: () => ModelInitializationError2,
|
|
39
39
|
ModelResolver: () => exports_model_resolver,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service54,
|
|
41
41
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
42
42
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
43
43
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
44
44
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
45
45
|
fromCatalogModel: () => fromCatalogModel2,
|
|
46
46
|
hasPackage: () => hasPackage2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer22,
|
|
48
|
+
node: () => node56,
|
|
49
49
|
resolveModel: () => resolveModel2,
|
|
50
50
|
withVariant: () => withVariant2
|
|
51
51
|
});
|
|
@@ -118,7 +118,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service54 extends Context.Service()("@opencode/ModelResolver") {
|
|
122
122
|
}
|
|
123
123
|
var withVariant2 = (model, variantID) => {
|
|
124
124
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -258,12 +258,12 @@ var causeMessage = (cause) => {
|
|
|
258
258
|
};
|
|
259
259
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
260
260
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
261
|
-
var
|
|
262
|
-
const providers = yield*
|
|
263
|
-
const models = yield*
|
|
264
|
-
const integrations = yield*
|
|
261
|
+
var layer22 = Layer.effect(Service54, Effect.gen(function* () {
|
|
262
|
+
const providers = yield* Service74;
|
|
263
|
+
const models = yield* Service73;
|
|
264
|
+
const integrations = yield* Service75;
|
|
265
265
|
const npm = yield* Npm.Service;
|
|
266
|
-
const aisdk = yield*
|
|
266
|
+
const aisdk = yield* Service55;
|
|
267
267
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
268
268
|
const provider = yield* providers.get(selected.providerID);
|
|
269
269
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
@@ -293,7 +293,7 @@ var layer24 = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
293
293
|
chunkTimeout: provider?.settings?.chunkTimeout
|
|
294
294
|
};
|
|
295
295
|
});
|
|
296
|
-
return
|
|
296
|
+
return Service54.of({
|
|
297
297
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
298
298
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
299
299
|
if (!selected)
|
|
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
310
310
|
const name = packageName2(packageName);
|
|
311
311
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
312
312
|
}
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
315
|
-
layer:
|
|
316
|
-
deps: [
|
|
313
|
+
var node56 = makeLocationNode({
|
|
314
|
+
service: Service54,
|
|
315
|
+
layer: layer22,
|
|
316
|
+
deps: [node77, node76, node78, Npm.node, node57]
|
|
317
317
|
});
|
|
318
318
|
|
|
319
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
319
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service54, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node56, exports_model_resolver };
|