@opencode/core 0.0.0-dev-555 → 0.0.0-dev-562
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 +94 -94
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +240 -240
- package/dist/bus.js +80 -80
- package/dist/chunks/{image-034tev2y.js → aisdk-native-034tev2y.js} +2 -2
- package/dist/chunks/{image-k0zbzedy.js → aisdk-native-0391vhqf.js} +4 -4
- package/dist/chunks/{image-9c1xkzn4.js → aisdk-native-0agdhngp.js} +3 -3
- package/dist/chunks/{image-th6h8dwx.js → aisdk-native-0gv1r5ar.js} +12 -12
- package/dist/chunks/{image-0ma9gw4f.js → aisdk-native-0ma9gw4f.js} +2 -2
- package/dist/chunks/{image-z9165bmc.js → aisdk-native-0mp29grt.js} +13 -13
- package/dist/chunks/{image-rh1at2a9.js → aisdk-native-0r4n41zb.js} +4 -4
- package/dist/chunks/{image-3xntzx5c.js → aisdk-native-0thftg77.js} +19 -19
- package/dist/chunks/{image-gk525ztt.js → aisdk-native-0yh0c1de.js} +22 -22
- package/dist/chunks/{image-jm79tbss.js → aisdk-native-12wayhaz.js} +8 -8
- package/dist/chunks/{image-8hfctyyf.js → aisdk-native-17nkpt1v.js} +5 -5
- package/dist/chunks/{image-1aqsckx4.js → aisdk-native-1aqsckx4.js} +1 -1
- package/dist/chunks/{image-k4gez227.js → aisdk-native-1d2xvfgz.js} +23 -23
- package/dist/chunks/{image-1ep2p91f.js → aisdk-native-1ep2p91f.js} +2 -2
- package/dist/chunks/{image-k9ccvh3m.js → aisdk-native-1m029q75.js} +5 -5
- package/dist/chunks/{image-25mddd6t.js → aisdk-native-1s5zxhwd.js} +15 -15
- package/dist/chunks/{image-nzzacd1w.js → aisdk-native-1sddwcwa.js} +16 -16
- package/dist/chunks/{image-k47bt2zs.js → aisdk-native-1vm5qpfe.js} +47 -47
- package/dist/chunks/{image-1x2knyw4.js → aisdk-native-1x2knyw4.js} +1 -1
- package/dist/chunks/{image-wr3re1en.js → aisdk-native-1yped5qa.js} +4 -4
- package/dist/chunks/{image-v9ez2kgh.js → aisdk-native-1yq9hg58.js} +5 -5
- package/dist/chunks/{image-g8e59k0y.js → aisdk-native-20bp25kn.js} +7 -7
- package/dist/chunks/{image-nrxcgcys.js → aisdk-native-24bzgznb.js} +5 -5
- package/dist/chunks/{image-8b3vzgkx.js → aisdk-native-25h84942.js} +4 -4
- package/dist/chunks/{image-z3nw929v.js → aisdk-native-2bsm227b.js} +9 -9
- package/dist/chunks/{image-j50j1kzn.js → aisdk-native-2djfxcr7.js} +22 -22
- package/dist/chunks/{image-7eaxkjg9.js → aisdk-native-2gn60s26.js} +11 -11
- package/dist/chunks/{image-czp2x92j.js → aisdk-native-2gz27n5p.js} +21 -21
- package/dist/chunks/{image-w35wzz9x.js → aisdk-native-2kg89srt.js} +4 -4
- package/dist/chunks/{image-2p60zmnr.js → aisdk-native-2p60zmnr.js} +2 -2
- package/dist/chunks/{image-kz62fcez.js → aisdk-native-2ty0p322.js} +5 -5
- package/dist/chunks/{image-3h1bv8fr.js → aisdk-native-2y8q1569.js} +4 -4
- package/dist/chunks/{image-n4s7wb50.js → aisdk-native-2ydxnpb5.js} +5 -5
- package/dist/chunks/{image-9441gtxa.js → aisdk-native-2yzjhbfd.js} +30 -30
- package/dist/chunks/{image-c092wk13.js → aisdk-native-2zw0gkpj.js} +5 -5
- package/dist/chunks/{image-8re726gk.js → aisdk-native-3703z41v.js} +22 -22
- package/dist/chunks/{image-n18yq4h8.js → aisdk-native-388zh6cs.js} +11 -11
- package/dist/chunks/{image-shqhg2z7.js → aisdk-native-3ayf2cgv.js} +9 -9
- package/dist/chunks/{image-26fzfeak.js → aisdk-native-3eba722d.js} +7 -7
- package/dist/chunks/{image-trv4ttt9.js → aisdk-native-3gwzm5xq.js} +38 -38
- package/dist/chunks/{image-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-ywxnq61h.js → aisdk-native-3hq9tr5k.js} +15 -15
- package/dist/chunks/{image-7gwteh35.js → aisdk-native-3n93n16m.js} +32 -32
- package/dist/chunks/{image-3nnrz6f6.js → aisdk-native-3nnrz6f6.js} +1 -1
- package/dist/chunks/{image-9pad87pg.js → aisdk-native-3p5ds4ny.js} +31 -31
- package/dist/chunks/{image-973j6ce7.js → aisdk-native-3qarg15c.js} +6 -6
- package/dist/chunks/{image-mvgx777g.js → aisdk-native-3sykgy2z.js} +18 -18
- package/dist/chunks/{image-wty7rpvh.js → aisdk-native-3zsn2g4n.js} +19 -19
- package/dist/chunks/{image-40y6dtc2.js → aisdk-native-40y6dtc2.js} +1 -1
- package/dist/chunks/{image-44pmzq9c.js → aisdk-native-44pmzq9c.js} +2 -2
- package/dist/chunks/{image-9zjsffn3.js → aisdk-native-468j5xms.js} +36 -36
- package/dist/chunks/{image-bmgjskxq.js → aisdk-native-48gj4ybc.js} +21 -21
- package/dist/chunks/{image-w0kch0br.js → aisdk-native-491qcwae.js} +9 -9
- package/dist/chunks/{image-5whx36p1.js → aisdk-native-4d2dtj2f.js} +4 -4
- package/dist/chunks/{image-4dx1dgte.js → aisdk-native-4dx1dgte.js} +1 -1
- package/dist/chunks/{image-gsjhnd44.js → aisdk-native-4nzr2ybs.js} +5 -5
- package/dist/chunks/{image-4pyp9zr9.js → aisdk-native-4pyp9zr9.js} +1 -1
- package/dist/chunks/{image-4v008n1t.js → aisdk-native-4v008n1t.js} +1 -1
- package/dist/chunks/{image-ch65jeve.js → aisdk-native-4zd6qeg4.js} +20 -20
- package/dist/chunks/{image-02k0xazt.js → aisdk-native-52dnrmry.js} +16 -16
- package/dist/chunks/{image-fa3k9tx6.js → aisdk-native-57y7kmew.js} +13 -13
- package/dist/chunks/{image-45wb8ppp.js → aisdk-native-5c0ay57s.js} +4 -4
- package/dist/chunks/{image-cy6rczmd.js → aisdk-native-5eeg2xt7.js} +11 -11
- package/dist/chunks/{image-5m9w47nd.js → aisdk-native-5m9w47nd.js} +1 -1
- package/dist/chunks/{image-d05g8p7q.js → aisdk-native-5ng19jcs.js} +69 -69
- package/dist/chunks/{image-1y6k58jk.js → aisdk-native-5y1j6vne.js} +29 -29
- package/dist/chunks/{image-8v3nvq1a.js → aisdk-native-5ytnddsz.js} +7 -7
- package/dist/chunks/{image-sa4r2ca5.js → aisdk-native-62h8cxby.js} +30 -30
- package/dist/chunks/{image-tsygc3ff.js → aisdk-native-64eehrrp.js} +8 -8
- package/dist/chunks/{image-qmc59nz1.js → aisdk-native-6c3z4w3s.js} +5 -5
- package/dist/chunks/{image-cm3cg0a9.js → aisdk-native-6cn7ab5g.js} +38 -38
- package/dist/chunks/{image-a3kyp7a6.js → aisdk-native-6dk6byc3.js} +11 -11
- package/dist/chunks/{image-8pzsrasy.js → aisdk-native-6h275d39.js} +4 -4
- package/dist/chunks/{image-mvwrw2nz.js → aisdk-native-6j4qasaz.js} +43 -43
- package/dist/chunks/{image-zqymw8z4.js → aisdk-native-6qcfqwxs.js} +6 -6
- package/dist/chunks/{image-aenfgdrw.js → aisdk-native-6spzfcvf.js} +20 -20
- package/dist/chunks/{image-w8z83mre.js → aisdk-native-6zvfdnga.js} +4 -4
- package/dist/chunks/{image-s9frqexh.js → aisdk-native-72m08xsc.js} +5 -5
- package/dist/chunks/{image-d25k7nba.js → aisdk-native-7376je2a.js} +32 -32
- package/dist/chunks/{image-78p2h4ex.js → aisdk-native-78p2h4ex.js} +2 -2
- package/dist/chunks/{image-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-8pjnnye4.js → aisdk-native-7c1cx8c9.js} +43 -43
- package/dist/chunks/aisdk-native-7dat8j8r.js +26 -0
- package/dist/chunks/{image-b7fmpabb.js → aisdk-native-7ndx21h1.js} +17 -17
- package/dist/chunks/{image-k9cx235e.js → aisdk-native-7r72nr1n.js} +17 -17
- package/dist/chunks/{image-we5nvrjg.js → aisdk-native-7s0w042f.js} +24 -24
- package/dist/chunks/{image-hf2g6awt.js → aisdk-native-7sbxsz9w.js} +33 -33
- package/dist/chunks/{image-7w2ypzdf.js → aisdk-native-7w2ypzdf.js} +1 -1
- package/dist/chunks/{image-7weczvnd.js → aisdk-native-7weczvnd.js} +1 -1
- package/dist/chunks/{image-80mg3ag8.js → aisdk-native-80mg3ag8.js} +3 -3
- package/dist/chunks/{image-89287pr7.js → aisdk-native-89287pr7.js} +1 -1
- package/dist/chunks/{image-1vydkq8e.js → aisdk-native-8awqkcbk.js} +18 -18
- package/dist/chunks/{image-t8skwaj3.js → aisdk-native-8cgs40gp.js} +7 -7
- package/dist/chunks/{image-mwxt7jr5.js → aisdk-native-8chzgr0v.js} +17 -17
- package/dist/chunks/{image-ze2gmytz.js → aisdk-native-8f198c7w.js} +11 -11
- package/dist/chunks/{image-8sxe6kv8.js → aisdk-native-8sxe6kv8.js} +2 -2
- package/dist/chunks/{image-d57zy3q1.js → aisdk-native-8tn0jdw7.js} +2 -2
- package/dist/chunks/{image-8wtp7s3z.js → aisdk-native-8wtp7s3z.js} +1 -1
- package/dist/chunks/{image-90zstvax.js → aisdk-native-90zstvax.js} +1 -1
- package/dist/chunks/{image-r1ahr94h.js → aisdk-native-91x8sbj7.js} +17 -17
- package/dist/chunks/{image-3jx0cvga.js → aisdk-native-92njjm9a.js} +25 -25
- package/dist/chunks/{image-px386mpv.js → aisdk-native-94kpdhjx.js} +4 -4
- package/dist/chunks/{image-dv16mx8y.js → aisdk-native-963hk181.js} +7 -7
- package/dist/chunks/{image-4941t89j.js → aisdk-native-9ayasn99.js} +3 -3
- package/dist/chunks/{image-vwxs1arr.js → aisdk-native-9cbpsntw.js} +11 -11
- package/dist/chunks/{image-d6sava7d.js → aisdk-native-9frmhkkx.js} +3 -3
- package/dist/chunks/{image-ak2r2eks.js → aisdk-native-9g368473.js} +10 -10
- package/dist/chunks/{image-c7j5v5hg.js → aisdk-native-9kx36k9x.js} +12 -12
- package/dist/chunks/{image-93qy7c07.js → aisdk-native-9nvm4766.js} +36 -36
- package/dist/chunks/{image-d02ch8m2.js → aisdk-native-9qwz8hcx.js} +27 -27
- package/dist/chunks/{image-kmekj7m2.js → aisdk-native-a5fx33f2.js} +8 -8
- package/dist/chunks/{image-1qna1hg3.js → aisdk-native-aaqxgwmk.js} +15 -15
- package/dist/chunks/{image-2mn9z4z1.js → aisdk-native-agqk6t61.js} +36 -36
- package/dist/chunks/{image-qa9m9yrh.js → aisdk-native-akgs04pj.js} +17 -17
- package/dist/chunks/{image-xxt4s3zy.js → aisdk-native-am7xkvcq.js} +21 -21
- package/dist/chunks/{image-94e33dpz.js → aisdk-native-atz1w742.js} +3 -3
- package/dist/chunks/{image-ayjs7tqn.js → aisdk-native-ayjs7tqn.js} +2 -2
- package/dist/chunks/{image-b6vsg801.js → aisdk-native-b6vsg801.js} +2 -2
- package/dist/chunks/{image-fspjncjj.js → aisdk-native-b9mwmmr7.js} +50 -50
- package/dist/chunks/{image-baefqw34.js → aisdk-native-bdv8sqrq.js} +1 -1
- package/dist/chunks/{image-kbgs7tyr.js → aisdk-native-brv6mkyx.js} +4 -4
- package/dist/chunks/{image-xd9cc171.js → aisdk-native-bstexjd6.js} +5 -5
- package/dist/chunks/{image-q52kf7ff.js → aisdk-native-bxd12tvy.js} +21 -21
- package/dist/chunks/{image-by8ty0bx.js → aisdk-native-by8ty0bx.js} +1 -1
- package/dist/chunks/{image-8mstnbhz.js → aisdk-native-bytgrq8d.js} +3 -3
- package/dist/chunks/{image-kmyywh25.js → aisdk-native-c1endv4h.js} +9 -9
- package/dist/chunks/{image-qdtvge5d.js → aisdk-native-c2s3gbsg.js} +22 -22
- package/dist/chunks/{image-wbha76wa.js → aisdk-native-c9xj5pj3.js} +27 -27
- package/dist/chunks/{image-v80nk8m9.js → aisdk-native-ca198r7x.js} +42 -42
- package/dist/chunks/{image-mp65ks7h.js → aisdk-native-cd6t2zjx.js} +4 -4
- package/dist/chunks/{image-59kt51qq.js → aisdk-native-cf3f13z6.js} +8 -8
- package/dist/chunks/{image-yde3vwey.js → aisdk-native-ch49awjb.js} +28 -28
- package/dist/chunks/{image-fr30swe2.js → aisdk-native-ckzt90cq.js} +28 -28
- package/dist/chunks/{image-dhtyhrzw.js → aisdk-native-cndqxqvv.js} +3 -3
- package/dist/chunks/{image-xxgqx85s.js → aisdk-native-csvz03xs.js} +11 -11
- package/dist/chunks/{image-cwrgdav8.js → aisdk-native-cwrgdav8.js} +2 -2
- package/dist/chunks/{image-c5vx1zac.js → aisdk-native-cyz9dh57.js} +5 -5
- package/dist/chunks/{image-zjgwam28.js → aisdk-native-czencqw4.js} +8 -8
- package/dist/chunks/{image-d0s4qfvp.js → aisdk-native-d36nxgc5.js} +4 -4
- package/dist/chunks/{image-ypzz06n9.js → aisdk-native-d390zwf3.js} +11 -11
- package/dist/chunks/{image-d4v9tmah.js → aisdk-native-d4v9tmah.js} +2 -2
- package/dist/chunks/{image-qy1v2yhs.js → aisdk-native-dcej5sme.js} +21 -21
- package/dist/chunks/{image-8h1879g2.js → aisdk-native-dchbrqgn.js} +12 -12
- package/dist/chunks/{image-h6hed1sq.js → aisdk-native-ddrzqr4r.js} +6 -6
- package/dist/chunks/{image-9kg5w032.js → aisdk-native-ddvn7d3w.js} +8 -8
- package/dist/chunks/{image-dg5naf6e.js → aisdk-native-dg5naf6e.js} +1 -1
- package/dist/chunks/{image-11x8sp61.js → aisdk-native-dm0jrs5z.js} +9 -9
- package/dist/chunks/{image-dt77769w.js → aisdk-native-dt77769w.js} +1 -1
- package/dist/chunks/{image-nz0ggbwa.js → aisdk-native-dwwvq9b6.js} +11 -6
- package/dist/chunks/{image-x331mzve.js → aisdk-native-e0qmvt54.js} +15 -15
- package/dist/chunks/{image-p68dgss7.js → aisdk-native-e3vhxdq0.js} +23 -23
- package/dist/chunks/{image-e834z07m.js → aisdk-native-e834z07m.js} +1 -1
- package/dist/chunks/{image-p5jrs0cb.js → aisdk-native-ean9h5q2.js} +21 -21
- package/dist/chunks/{image-fqshqzv0.js → aisdk-native-eck3pvym.js} +5 -5
- package/dist/chunks/{image-snzc79f0.js → aisdk-native-efymzf6t.js} +81 -81
- package/dist/chunks/{image-f9skkdtp.js → aisdk-native-eqgmvsfx.js} +32 -32
- package/dist/chunks/{image-eqw4pqj1.js → aisdk-native-eqw4pqj1.js} +2 -2
- package/dist/chunks/{image-v1z3gphh.js → aisdk-native-evxjw3a8.js} +21 -21
- package/dist/chunks/{image-wa8k00xj.js → aisdk-native-eyrbz1gz.js} +6 -6
- package/dist/chunks/aisdk-native-ezna1kdx.js +18 -0
- package/dist/chunks/{image-vheve2y4.js → aisdk-native-f85rqd04.js} +12 -12
- package/dist/chunks/{image-fffv3p7h.js → aisdk-native-fffv3p7h.js} +1 -1
- package/dist/chunks/{image-xtsjbda3.js → aisdk-native-fg239c63.js} +25 -25
- package/dist/chunks/{image-prq7xxp2.js → aisdk-native-fg9p65nk.js} +6 -6
- package/dist/chunks/{image-rcbjwvze.js → aisdk-native-fstdtr31.js} +4 -4
- package/dist/chunks/{image-rb145xy3.js → aisdk-native-fvhvz89e.js} +16 -16
- package/dist/chunks/{image-b03hmnkf.js → aisdk-native-g3m3jqxv.js} +11 -11
- package/dist/chunks/{image-r43y939d.js → aisdk-native-gamb5trf.js} +7 -7
- package/dist/chunks/{image-gbjdnr5j.js → aisdk-native-gbjdnr5j.js} +2 -2
- package/dist/chunks/{image-nts0abnx.js → aisdk-native-gesrh06s.js} +26 -26
- package/dist/chunks/{image-cmfqbt07.js → aisdk-native-gfa9026z.js} +8 -8
- package/dist/chunks/{image-7vshr64k.js → aisdk-native-ggymajk3.js} +6 -6
- package/dist/chunks/{image-ghrv1g9c.js → aisdk-native-ghrv1g9c.js} +1 -1
- package/dist/chunks/{image-d20zd56s.js → aisdk-native-h23d590h.js} +26 -26
- package/dist/chunks/{image-e8tb0d9f.js → aisdk-native-h80maksb.js} +3 -3
- package/dist/chunks/{image-rrrksm1c.js → aisdk-native-hctfkx39.js} +88 -88
- package/dist/chunks/{image-j43v3wwk.js → aisdk-native-hd46zzey.js} +191 -191
- package/dist/chunks/{image-tcp3jw5p.js → aisdk-native-hecrapxa.js} +33 -33
- package/dist/chunks/{image-edxc03ag.js → aisdk-native-hj2jknbe.js} +10 -10
- package/dist/chunks/{image-r17fbvme.js → aisdk-native-hkf8spj2.js} +7 -7
- package/dist/chunks/{image-p2zgsc1h.js → aisdk-native-hqtkd67t.js} +6 -6
- package/dist/chunks/{image-nw314s9d.js → aisdk-native-hretfjjx.js} +2 -2
- package/dist/chunks/aisdk-native-hv1kxrfc.js +265 -0
- package/dist/chunks/{image-y9me5z2w.js → aisdk-native-hvf7w4sb.js} +14 -14
- package/dist/chunks/{image-91pn6y1k.js → aisdk-native-hykmttj9.js} +23 -23
- package/dist/chunks/{image-be6wbg75.js → aisdk-native-j0y3d4as.js} +40 -40
- package/dist/chunks/{image-x4050fn4.js → aisdk-native-j1rhmw6p.js} +6 -6
- package/dist/chunks/{image-qqg9c0kv.js → aisdk-native-j3f8hyeg.js} +4 -4
- package/dist/chunks/{image-8rxsfbyh.js → aisdk-native-j64y7010.js} +16 -16
- package/dist/chunks/{image-whfmbjzy.js → aisdk-native-jahxfc61.js} +9 -9
- package/dist/chunks/{image-jg11hrrc.js → aisdk-native-jg11hrrc.js} +1 -1
- package/dist/chunks/{image-sf9y72b7.js → aisdk-native-jgd4e8e6.js} +4 -4
- package/dist/chunks/{image-g8gy8cqb.js → aisdk-native-jhwp234h.js} +4 -4
- package/dist/chunks/{image-f61ewdqb.js → aisdk-native-jnf31z8d.js} +34 -34
- package/dist/chunks/{image-2kv9862h.js → aisdk-native-jv79vbnn.js} +8 -8
- package/dist/chunks/{image-zd7h2jpv.js → aisdk-native-jxgfevkm.js} +5 -5
- package/dist/chunks/{image-wfytmw1f.js → aisdk-native-k01t1tgj.js} +19 -19
- package/dist/chunks/{image-bj9xg24w.js → aisdk-native-k22kttd1.js} +17 -17
- package/dist/chunks/{image-t5y8fs1s.js → aisdk-native-k2th0w3f.js} +6 -6
- package/dist/chunks/{image-qxnjn1tb.js → aisdk-native-kea8a7h2.js} +19 -19
- package/dist/chunks/{image-kh8gdsej.js → aisdk-native-kh8gdsej.js} +1 -1
- package/dist/chunks/{image-3zzpt97w.js → aisdk-native-khq62rx6.js} +13 -13
- package/dist/chunks/{image-0fqsham1.js → aisdk-native-kk7fxj24.js} +4 -4
- package/dist/chunks/{image-5xt1pape.js → aisdk-native-kq14jrnw.js} +3 -3
- package/dist/chunks/{image-kt3bjfbg.js → aisdk-native-kt3bjfbg.js} +1 -1
- package/dist/chunks/{image-wnzcgr6s.js → aisdk-native-ktx6tq9j.js} +20 -20
- package/dist/chunks/{image-m50q0ytx.js → aisdk-native-kz962eq9.js} +11 -11
- package/dist/chunks/{image-kzczzf4v.js → aisdk-native-kzczzf4v.js} +1 -1
- package/dist/chunks/{image-62zd5tzk.js → aisdk-native-kze6nzna.js} +4 -4
- package/dist/chunks/{image-yyggqxat.js → aisdk-native-m00vsn5v.js} +6 -6
- package/dist/chunks/{image-m1714858.js → aisdk-native-m1714858.js} +1 -1
- package/dist/chunks/{image-dqywpxm8.js → aisdk-native-m667g1wq.js} +33 -33
- package/dist/chunks/{image-wzhjf4ys.js → aisdk-native-m6e5cmn4.js} +13 -13
- package/dist/chunks/{image-z8wpr6kv.js → aisdk-native-m86k68as.js} +17 -17
- package/dist/chunks/{image-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-mb7mbhnz.js → aisdk-native-mb7mbhnz.js} +3 -3
- package/dist/chunks/{image-7qsqsz72.js → aisdk-native-mgf1jv5a.js} +35 -35
- package/dist/chunks/{image-fj1211hk.js → aisdk-native-mh912pn9.js} +44 -44
- package/dist/chunks/{image-rsr00wza.js → aisdk-native-mjbsm1c4.js} +7 -7
- package/dist/chunks/{image-vgwq4gkr.js → aisdk-native-mm439j92.js} +23 -23
- package/dist/chunks/{image-msd2a3qm.js → aisdk-native-msd2a3qm.js} +4 -4
- package/dist/chunks/{image-f8g1ppwy.js → aisdk-native-mshqwkxj.js} +14 -14
- package/dist/chunks/{image-bed87xrj.js → aisdk-native-n2stjm4x.js} +33 -33
- package/dist/chunks/{image-dq4pk5k3.js → aisdk-native-n6rqbzaq.js} +18 -18
- package/dist/chunks/{image-4deandmx.js → aisdk-native-n8szhp98.js} +5 -5
- package/dist/chunks/{image-qts06mpj.js → aisdk-native-n9f9prmx.js} +35 -35
- package/dist/chunks/{image-7rk4y5kz.js → aisdk-native-nhkhpen5.js} +9 -9
- package/dist/chunks/{image-0y15sqga.js → aisdk-native-nj9f341e.js} +11 -11
- package/dist/chunks/{image-kpambw8p.js → aisdk-native-ns65p4d4.js} +28 -28
- package/dist/chunks/{image-g1x3338p.js → aisdk-native-nv2c5e9q.js} +3 -3
- package/dist/chunks/{image-42gmxtpq.js → aisdk-native-nz7ef7t2.js} +22 -22
- package/dist/chunks/{image-9ckk18kn.js → aisdk-native-p2fr5afe.js} +9 -9
- package/dist/chunks/{image-wgy5s2je.js → aisdk-native-pchv8sdk.js} +10 -10
- package/dist/chunks/{image-e8pm465n.js → aisdk-native-pgqxr0th.js} +4 -4
- package/dist/chunks/{image-9a8825bc.js → aisdk-native-ph5fyme0.js} +10 -10
- package/dist/chunks/{image-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{image-sc28g299.js → aisdk-native-ps6bjac1.js} +6 -6
- package/dist/chunks/{image-ez5kac3c.js → aisdk-native-pyc3gczw.js} +5 -5
- package/dist/chunks/{image-7qv9q654.js → aisdk-native-q3evr35w.js} +9 -9
- package/dist/chunks/{image-rwcc01tt.js → aisdk-native-qddj8sb8.js} +7 -7
- package/dist/chunks/{image-n7n8d8fq.js → aisdk-native-qkm24804.js} +19 -19
- package/dist/chunks/{image-vsqvcqta.js → aisdk-native-qnqasnye.js} +3 -3
- package/dist/chunks/{image-qp7r0hxv.js → aisdk-native-qp7r0hxv.js} +1 -1
- package/dist/chunks/{image-v5shhexh.js → aisdk-native-qstgajbv.js} +16 -16
- package/dist/chunks/{image-8s8bdjfn.js → aisdk-native-r0ej0fqe.js} +11 -11
- package/dist/chunks/{image-r542h3bh.js → aisdk-native-r542h3bh.js} +1 -1
- package/dist/chunks/{image-hydhrcpd.js → aisdk-native-r98bs3b4.js} +6 -6
- package/dist/chunks/{image-rb9dy4dg.js → aisdk-native-rb9dy4dg.js} +1 -1
- package/dist/chunks/{image-nxh4e4nb.js → aisdk-native-rbyfm75p.js} +18 -18
- package/dist/chunks/{image-tyea02k1.js → aisdk-native-rc7ddast.js} +2 -2
- package/dist/chunks/{image-rfrmafb1.js → aisdk-native-rfrmafb1.js} +1 -1
- package/dist/chunks/{image-rgc9cx3e.js → aisdk-native-rgc9cx3e.js} +2 -2
- package/dist/chunks/{image-ww63bgb6.js → aisdk-native-rkw1wpcb.js} +6 -6
- package/dist/chunks/aisdk-native-rm4bdq05.js +563 -0
- package/dist/chunks/{image-rt5dr6hb.js → aisdk-native-rt5dr6hb.js} +1 -1
- package/dist/chunks/{image-cr4rfj9z.js → aisdk-native-s26c8eb5.js} +4 -4
- package/dist/chunks/{image-9gsd3wah.js → aisdk-native-s2ffng9h.js} +30 -30
- package/dist/chunks/{image-cgwdk7h8.js → aisdk-native-s4kyhetj.js} +6 -6
- package/dist/chunks/{image-bdhemnqz.js → aisdk-native-s5w44n8k.js} +3 -3
- package/dist/chunks/{image-sa3fpqfw.js → aisdk-native-sa3fpqfw.js} +2 -2
- package/dist/chunks/{image-sbya78hr.js → aisdk-native-sbya78hr.js} +1 -1
- package/dist/chunks/{image-09vyy9jz.js → aisdk-native-scx2w026.js} +27 -27
- package/dist/chunks/{image-cre4e4hj.js → aisdk-native-sesp0qc3.js} +59 -59
- package/dist/chunks/{image-4k6vnzrq.js → aisdk-native-sgpp264c.js} +34 -34
- package/dist/chunks/{image-mrf5my2y.js → aisdk-native-smh10mnx.js} +16 -16
- package/dist/chunks/{image-bxyysycc.js → aisdk-native-spdb22e5.js} +4 -4
- package/dist/chunks/{image-tht15va1.js → aisdk-native-sqb172at.js} +50 -50
- package/dist/chunks/{image-0j7gp832.js → aisdk-native-sqjzf8x2.js} +4 -4
- package/dist/chunks/{image-svcy3p9a.js → aisdk-native-svcy3p9a.js} +1 -1
- package/dist/chunks/{image-04whjz6n.js → aisdk-native-sx8acyer.js} +9 -9
- package/dist/chunks/{image-szwm4crx.js → aisdk-native-szwm4crx.js} +4 -4
- package/dist/chunks/{image-2kyfkf43.js → aisdk-native-t4k5n3b2.js} +16 -16
- package/dist/chunks/{image-gvjax9xa.js → aisdk-native-t62dywgn.js} +8 -8
- package/dist/chunks/{image-tczq8hjw.js → aisdk-native-tczq8hjw.js} +1 -1
- package/dist/chunks/{image-tg7s7b5t.js → aisdk-native-tg7s7b5t.js} +1 -1
- package/dist/chunks/{image-ywd99pj9.js → aisdk-native-tgekxycv.js} +8 -8
- package/dist/chunks/{image-zpbpdhe8.js → aisdk-native-tjb62kbh.js} +54 -54
- package/dist/chunks/{image-hv16ydqb.js → aisdk-native-tnkmmmky.js} +15 -15
- package/dist/chunks/{image-tr8x705m.js → aisdk-native-tr8x705m.js} +1 -1
- package/dist/chunks/{image-9y8weyev.js → aisdk-native-trg9718s.js} +9 -9
- package/dist/chunks/{image-8ba28171.js → aisdk-native-tssdxy2e.js} +12 -12
- package/dist/chunks/{image-tvtps2q9.js → aisdk-native-tvtps2q9.js} +1 -1
- package/dist/chunks/{image-twssxy5n.js → aisdk-native-twssxy5n.js} +2 -2
- package/dist/chunks/{image-v2r1d0zg.js → aisdk-native-v2r1d0zg.js} +1 -1
- package/dist/chunks/{image-p0hrayvw.js → aisdk-native-v42mmhhs.js} +43 -43
- package/dist/chunks/{image-2bb1zdn2.js → aisdk-native-v83a4fka.js} +19 -19
- package/dist/chunks/{image-a8n5x0th.js → aisdk-native-v8p00z08.js} +20 -20
- package/dist/chunks/{image-84brcpka.js → aisdk-native-vadsqx21.js} +12 -12
- package/dist/chunks/{image-vg0erq9k.js → aisdk-native-vb80j1wh.js} +3 -3
- package/dist/chunks/{image-8s1b991p.js → aisdk-native-vfwhv1hs.js} +29 -29
- package/dist/chunks/{image-vjf35v1f.js → aisdk-native-vjf35v1f.js} +1 -1
- package/dist/chunks/{image-20pht57w.js → aisdk-native-vmqe41cb.js} +4 -4
- package/dist/chunks/{image-73tw93bq.js → aisdk-native-vpexxw1e.js} +27 -27
- package/dist/chunks/{image-f6s81dg8.js → aisdk-native-vppfzsnt.js} +31 -31
- package/dist/chunks/{image-czasat60.js → aisdk-native-vscc3513.js} +17 -17
- package/dist/chunks/{image-qh5g3qaw.js → aisdk-native-vt4r9rmy.js} +9 -9
- package/dist/chunks/{image-w2eysc6j.js → aisdk-native-w2eysc6j.js} +2 -2
- package/dist/chunks/{image-yw1rsrb3.js → aisdk-native-w301wbvg.js} +8 -8
- package/dist/chunks/{image-tt88n1g6.js → aisdk-native-w3c3s7r0.js} +18 -18
- package/dist/chunks/{image-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-wakvkjy4.js → aisdk-native-wakvkjy4.js} +1 -1
- package/dist/chunks/{image-3j133pgh.js → aisdk-native-wcb3zhxj.js} +3 -3
- package/dist/chunks/{image-yhvdje9f.js → aisdk-native-wcbw82qd.js} +15 -15
- package/dist/chunks/{image-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{image-wegkxhrn.js → aisdk-native-wegkxhrn.js} +2 -2
- package/dist/chunks/{image-3tn4jh5m.js → aisdk-native-wf24rm9t.js} +32 -32
- package/dist/chunks/{image-0mwmjqpr.js → aisdk-native-wh5egz41.js} +17 -17
- package/dist/chunks/{image-wnhgecwx.js → aisdk-native-wnhgecwx.js} +1 -1
- package/dist/chunks/{image-6ae23ska.js → aisdk-native-wp4zfjd9.js} +23 -23
- package/dist/chunks/{image-jjfhqcqt.js → aisdk-native-wtw0qad2.js} +22 -22
- package/dist/chunks/{image-xqxdzwmt.js → aisdk-native-wvk4ae1z.js} +20 -20
- package/dist/chunks/{image-vwcz1f45.js → aisdk-native-wvr8xscb.js} +5 -5
- package/dist/chunks/{image-a268vbst.js → aisdk-native-x199javp.js} +26 -26
- package/dist/chunks/{image-x36bd3xr.js → aisdk-native-xcbhhrzz.js} +40 -40
- package/dist/chunks/{image-ty7c51mz.js → aisdk-native-xfe62cf1.js} +7 -7
- package/dist/chunks/{image-dfey69ds.js → aisdk-native-xjqxh6s4.js} +6 -6
- package/dist/chunks/{image-7fd8j399.js → aisdk-native-xjxy86rh.js} +10 -10
- package/dist/chunks/{image-q8g72hps.js → aisdk-native-xkzeyb2m.js} +7 -7
- package/dist/chunks/{image-akse0cmk.js → aisdk-native-xs6y41k7.js} +11 -11
- package/dist/chunks/{image-6ms3nhg9.js → aisdk-native-xshx5zne.js} +8 -8
- package/dist/chunks/{image-c974yqn3.js → aisdk-native-xt2xynvn.js} +23 -23
- package/dist/chunks/{image-sfsaa5np.js → aisdk-native-xv29afwm.js} +23 -23
- package/dist/chunks/{image-xxschbft.js → aisdk-native-xxschbft.js} +1 -1
- package/dist/chunks/{image-6jxjehmv.js → aisdk-native-y0925tcy.js} +5 -5
- package/dist/chunks/{image-sz6g8jgx.js → aisdk-native-y0d770yb.js} +1 -1
- package/dist/chunks/{image-z33hv5x5.js → aisdk-native-y5k5h8ke.js} +28 -28
- package/dist/chunks/{image-jc512s3p.js → aisdk-native-y6699624.js} +4 -4
- package/dist/chunks/{image-yb20nhc3.js → aisdk-native-yb20nhc3.js} +1 -1
- package/dist/chunks/{image-yr705xyq.js → aisdk-native-yr705xyq.js} +1 -1
- package/dist/chunks/{image-pddwed0s.js → aisdk-native-ysgjvxza.js} +14 -14
- package/dist/chunks/{image-yvtc2x31.js → aisdk-native-yvtc2x31.js} +1 -1
- package/dist/chunks/{image-59dc2611.js → aisdk-native-yxe5rzr5.js} +31 -31
- package/dist/chunks/{image-z6qr9yqd.js → aisdk-native-z3jpfnb7.js} +12 -12
- package/dist/chunks/{image-mmtr8zjy.js → aisdk-native-z4wx0w4d.js} +20 -20
- package/dist/chunks/{image-2tr4gzfh.js → aisdk-native-zcat2qtt.js} +43 -43
- package/dist/chunks/{image-ejax6dvs.js → aisdk-native-zdm28fzn.js} +5 -5
- package/dist/chunks/{image-ze75qvmd.js → aisdk-native-ze75qvmd.js} +3 -3
- package/dist/chunks/{image-w5dw3tdx.js → aisdk-native-zmbtbpt4.js} +8 -8
- package/dist/chunks/{image-jmxmr10c.js → aisdk-native-zqtkwyez.js} +16 -16
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +1 -1
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +90 -90
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +5 -5
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +234 -234
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +139 -139
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +151 -151
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +128 -128
- package/dist/config/plugin/tool-output.js +129 -129
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +96 -96
- package/dist/database/database.js +77 -77
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +62 -62
- 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/v1-migration.bun.js +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +437 -437
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +81 -81
- package/dist/file-access.js +157 -157
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +161 -161
- 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/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +243 -243
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- 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 +112 -112
- 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/image/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +428 -428
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +100 -100
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +178 -178
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +425 -425
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +157 -107
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +124 -124
- package/dist/mcp/instructions.js +183 -183
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -105
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +115 -115
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +115 -115
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +155 -155
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +240 -240
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +404 -404
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +146 -146
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +112 -112
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +108 -108
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode.js +157 -157
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +235 -235
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +145 -145
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +412 -412
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +104 -104
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +251 -251
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +245 -245
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +259 -259
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +200 -200
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +247 -247
- package/dist/session/execution.js +163 -163
- package/dist/session/generate.js +200 -200
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +149 -149
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +141 -141
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +166 -166
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +167 -167
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +252 -252
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +149 -149
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +161 -161
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +184 -184
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +84 -84
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +233 -233
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +198 -198
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +241 -241
- package/dist/session/usage.js +1 -1
- package/dist/session.js +239 -239
- package/dist/shared-cache.js +5 -5
- 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 +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +154 -154
- package/dist/snapshot.js +104 -104
- 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 +180 -180
- package/dist/tool/plugin/artifact.js +232 -232
- package/dist/tool/plugin/edit.js +167 -167
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +171 -171
- package/dist/tool/plugin/grep.js +168 -168
- package/dist/tool/plugin/image-generate.js +237 -237
- package/dist/tool/plugin/mcp-resource.js +164 -164
- package/dist/tool/plugin/opencode.js +163 -163
- package/dist/tool/plugin/patch.js +162 -162
- package/dist/tool/plugin/question.js +144 -144
- package/dist/tool/plugin/read.js +170 -170
- package/dist/tool/plugin/schedule.js +251 -251
- package/dist/tool/plugin/shell.js +237 -237
- package/dist/tool/plugin/skill.js +155 -155
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +155 -155
- package/dist/tool/plugin/webfetch.js +153 -153
- package/dist/tool/plugin/websearch.js +153 -153
- package/dist/tool/plugin/write.js +168 -168
- package/dist/tool/read-filesystem.js +116 -116
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +157 -157
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/mcp/stdio.d.ts +6 -0
- package/dist/types/plugin/host.d.ts +2 -2
- package/dist/types/plugin/internal.d.ts +1 -1
- package/dist/types/schedule/check.d.ts +2 -2
- package/dist/types/tool/mcp.d.ts +1 -1
- package/dist/types/tool/plugin/image-generate.d.ts +1 -1
- package/dist/types/tool/plugin/read.d.ts +1 -1
- package/dist/types/tool/plugin/shell.d.ts +1 -1
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +105 -105
- 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/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +91 -91
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +8 -8
- package/dist/chunks/image-6bshxcsx.js +0 -18
- package/dist/chunks/image-ftrm39n3.js +0 -563
- package/dist/chunks/image-ptaj1g8q.js +0 -265
- package/dist/chunks/image-smjxajxb.js +0 -26
- /package/dist/chunks/{image-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-108x4f4w.js → aisdk-native-108x4f4w.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-1kah00gy.js → aisdk-native-1kah00gy.js} +0 -0
- /package/dist/chunks/{image-24dcb14g.js → aisdk-native-24dcb14g.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2bv980vf.js → aisdk-native-2bv980vf.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3af0jn4w.js → aisdk-native-3af0jn4w.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4qk9sjk2.js → aisdk-native-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-5w3e23ze.js → aisdk-native-5w3e23ze.js} +0 -0
- /package/dist/chunks/{image-6agm2x70.js → aisdk-native-6agm2x70.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{image-6q2bdcd1.js → aisdk-native-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{image-84wd9syh.js → aisdk-native-84wd9syh.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-8wj87zfr.js → aisdk-native-8wj87zfr.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-beh6qq61.js → aisdk-native-beh6qq61.js} +0 -0
- /package/dist/chunks/{image-bhmrqjy3.js → aisdk-native-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cqv5kn06.js → aisdk-native-cqv5kn06.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-ean2d8b5.js → aisdk-native-ean2d8b5.js} +0 -0
- /package/dist/chunks/{image-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-fkpq3x5p.js → aisdk-native-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{image-hcxmzztb.js → aisdk-native-hcxmzztb.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jjkms2e6.js → aisdk-native-jjkms2e6.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jwr30sdr.js → aisdk-native-jwr30sdr.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-m18g726c.js → aisdk-native-m18g726c.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-nh4v3znn.js → aisdk-native-nh4v3znn.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-p71gwv9c.js → aisdk-native-p71gwv9c.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qg3g05ea.js → aisdk-native-qg3g05ea.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-syrav9an.js → aisdk-native-syrav9an.js} +0 -0
- /package/dist/chunks/{image-t03h4f5z.js → aisdk-native-t03h4f5z.js} +0 -0
- /package/dist/chunks/{image-ty7weeps.js → aisdk-native-ty7weeps.js} +0 -0
- /package/dist/chunks/{image-ve7vex1e.js → aisdk-native-ve7vex1e.js} +0 -0
- /package/dist/chunks/{image-vtarvj67.js → aisdk-native-vtarvj67.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wc3fc9cn.js → aisdk-native-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-z0h12gs8.js → aisdk-native-z0h12gs8.js} +0 -0
- /package/dist/chunks/{image-z5v4ffb3.js → aisdk-native-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
- /package/dist/chunks/{image-zxpyjp51.js → aisdk-native-zxpyjp51.js} +0 -0
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-kz962eq9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID20,
|
|
6
6
|
OAuth3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-2yzjhbfd.js";
|
|
8
8
|
import {
|
|
9
9
|
AbsolutePath2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-z5v4ffb3.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-jhwp234h.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID18,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-7sbxsz9w.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
ID17
|
|
21
|
+
} from "./aisdk-native-62h8cxby.js";
|
|
22
22
|
import {
|
|
23
23
|
Remote3,
|
|
24
24
|
Document3,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
make35
|
|
26
|
+
} from "./aisdk-native-hkf8spj2.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service77
|
|
29
|
+
} from "./aisdk-native-b9mwmmr7.js";
|
|
30
30
|
import {
|
|
31
31
|
integrate2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./aisdk-native-dchbrqgn.js";
|
|
33
33
|
import {
|
|
34
34
|
uri2,
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service39
|
|
36
|
+
} from "./aisdk-native-rbyfm75p.js";
|
|
37
37
|
import {
|
|
38
38
|
parse2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./aisdk-native-cd6t2zjx.js";
|
|
40
40
|
import {
|
|
41
41
|
defaultServer2,
|
|
42
42
|
server2,
|
|
43
43
|
headers2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./aisdk-native-kt3bjfbg.js";
|
|
45
45
|
import {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
File2,
|
|
47
|
+
Service49
|
|
48
|
+
} from "./aisdk-native-5y1j6vne.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
Service16
|
|
51
|
+
} from "./aisdk-native-64eehrrp.js";
|
|
52
52
|
import {
|
|
53
53
|
isSafeSegment2,
|
|
54
54
|
isSafeRelativePath2
|
|
55
|
-
} from "./
|
|
55
|
+
} from "./aisdk-native-sx8acyer.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
57
|
+
ID7,
|
|
58
58
|
Input15,
|
|
59
59
|
Response2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./aisdk-native-evxjw3a8.js";
|
|
61
61
|
import {
|
|
62
62
|
onSwitch2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./aisdk-native-xfe62cf1.js";
|
|
64
64
|
|
|
65
65
|
// src/plugin/provider/opencode.ts
|
|
66
66
|
import { Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore } from "effect";
|
|
@@ -123,7 +123,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
123
123
|
}
|
|
124
124
|
function oauth(http) {
|
|
125
125
|
return {
|
|
126
|
-
integrationID:
|
|
126
|
+
integrationID: ID18.make("opencode"),
|
|
127
127
|
method: {
|
|
128
128
|
id: methodID,
|
|
129
129
|
type: "oauth",
|
|
@@ -190,10 +190,10 @@ var OpencodePlugin2 = define({
|
|
|
190
190
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
191
191
|
const client = yield* HttpClient.HttpClient;
|
|
192
192
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
193
|
-
const config = yield*
|
|
194
|
-
const discovery = yield*
|
|
195
|
-
const skills = yield*
|
|
196
|
-
const cache = yield*
|
|
193
|
+
const config = yield* Service77;
|
|
194
|
+
const discovery = yield* Service49;
|
|
195
|
+
const skills = yield* Service39;
|
|
196
|
+
const cache = yield* Service16;
|
|
197
197
|
const scope = yield* Scope.Scope;
|
|
198
198
|
const loading = Semaphore.makeUnsafe(1);
|
|
199
199
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined };
|
|
@@ -235,13 +235,13 @@ var OpencodePlugin2 = define({
|
|
|
235
235
|
});
|
|
236
236
|
let integrated;
|
|
237
237
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
238
|
-
yield* config.integration?.(
|
|
239
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID ===
|
|
238
|
+
yield* config.integration?.(ID18.make("opencode"), document) ?? Effect.void;
|
|
239
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID18.make("opencode"));
|
|
240
240
|
});
|
|
241
241
|
const publish = Effect.fnUntraced(function* (next) {
|
|
242
|
-
const document = next.remote && next.connection &&
|
|
243
|
-
integrationID:
|
|
244
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
242
|
+
const document = next.remote && next.connection && make35({
|
|
243
|
+
integrationID: ID18.make("opencode"),
|
|
244
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID20.make(next.connection.id) } : next.connection,
|
|
245
245
|
organization: next.organization,
|
|
246
246
|
info: next.remote
|
|
247
247
|
});
|
|
@@ -250,7 +250,7 @@ var OpencodePlugin2 = define({
|
|
|
250
250
|
});
|
|
251
251
|
const syncLibrary = (next, allowed) => {
|
|
252
252
|
const library = allowed ? Option.getOrUndefined(Schema.decodeUnknownOption(Library)(next.remote?.library)) : undefined;
|
|
253
|
-
instructions = (library?.instructions ?? []).map((item) => new
|
|
253
|
+
instructions = (library?.instructions ?? []).map((item) => new File2({ path: `OpenCode Console instruction ${item.id}`, content: item.content }));
|
|
254
254
|
if (!allowed)
|
|
255
255
|
librarySkills = { owner: "", items: [] };
|
|
256
256
|
return FiberHandle.run(skillDownload, loadSkills(next.connection, library?.skills ?? []).pipe(Effect.flatMap((loaded) => {
|
|
@@ -320,7 +320,7 @@ var OpencodePlugin2 = define({
|
|
|
320
320
|
integrate2(providers, integrated);
|
|
321
321
|
});
|
|
322
322
|
yield* ctx.provider.transform((providers) => {
|
|
323
|
-
const item = providers.get(
|
|
323
|
+
const item = providers.get(ID17.opencode);
|
|
324
324
|
if (!item)
|
|
325
325
|
return;
|
|
326
326
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -332,7 +332,7 @@ var OpencodePlugin2 = define({
|
|
|
332
332
|
});
|
|
333
333
|
});
|
|
334
334
|
yield* ctx.model.transform((models) => {
|
|
335
|
-
const item = models.provider.get(
|
|
335
|
+
const item = models.provider.get(ID17.opencode);
|
|
336
336
|
if (!item)
|
|
337
337
|
return;
|
|
338
338
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -347,7 +347,7 @@ var OpencodePlugin2 = define({
|
|
|
347
347
|
}
|
|
348
348
|
});
|
|
349
349
|
yield* ctx.websearch.transform((editor) => {
|
|
350
|
-
const provider =
|
|
350
|
+
const provider = ID7.make("opencode");
|
|
351
351
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
352
352
|
editor.add(search(provider, snapshot.connection));
|
|
353
353
|
});
|
|
@@ -386,7 +386,7 @@ var OpencodePlugin2 = define({
|
|
|
386
386
|
});
|
|
387
387
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
388
388
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
389
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
389
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID17.opencode, ...Object.keys(next.remote?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
390
390
|
});
|
|
391
391
|
yield* guard(snapshot);
|
|
392
392
|
const polling = yield* FiberHandle.make();
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-e834z07m.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
ID10,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-rbyfm75p.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks2 = {};
|
|
7
7
|
__export(exports_hooks2, {
|
|
8
8
|
PluginHooks: () => exports_hooks2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service75,
|
|
10
|
+
node: () => node78
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service75 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service75.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node78 = makeLocationNode({ service: Service75, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service75, node78, exports_hooks2 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2,
|
|
3
3
|
llmClient2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-0ma9gw4f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node84
|
|
8
|
+
} from "./aisdk-native-n9f9prmx.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service69,
|
|
11
|
+
node72
|
|
12
|
+
} from "./aisdk-native-zcat2qtt.js";
|
|
13
13
|
import {
|
|
14
14
|
retryOneShot2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-wnhgecwx.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
21
|
var exports_generate2 = {};
|
|
22
22
|
__export(exports_generate2, {
|
|
23
23
|
Generate: () => exports_generate2,
|
|
24
|
-
InvalidRequestError: () =>
|
|
24
|
+
InvalidRequestError: () => InvalidRequestError2,
|
|
25
25
|
ModelNotFoundError: () => ModelNotFoundError2,
|
|
26
26
|
ProviderFailure: () => ProviderFailure2,
|
|
27
27
|
ProviderRequestError: () => ProviderRequestError2,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service50,
|
|
29
29
|
UnavailableError: () => UnavailableError4,
|
|
30
30
|
UnsupportedModelError: () => UnsupportedModelError2,
|
|
31
|
-
layer: () =>
|
|
32
|
-
node: () =>
|
|
31
|
+
layer: () => layer19,
|
|
32
|
+
node: () => node52
|
|
33
33
|
});
|
|
34
34
|
import { ai, DecisionClient, ImageClient, LLMClient, Media } from "@opencode/ai/effect";
|
|
35
35
|
import { Money } from "@opencode/schema/money";
|
|
@@ -58,7 +58,7 @@ class UnsupportedModelError2 extends Schema.TaggedError()("Generate.UnsupportedM
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class InvalidRequestError2 extends Schema.TaggedError()("Generate.InvalidRequestError", {
|
|
62
62
|
message: Schema.String,
|
|
63
63
|
field: Schema.optional(Schema.String)
|
|
64
64
|
}) {
|
|
@@ -81,12 +81,12 @@ class ProviderRequestError2 extends Schema.TaggedError()("Generate.ProviderReque
|
|
|
81
81
|
}) {
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class Service50 extends Context.Service()("@opencode/Generate") {
|
|
85
85
|
}
|
|
86
|
-
var
|
|
86
|
+
var layer19 = Layer.effect(Service50, Effect.gen(function* () {
|
|
87
87
|
const llm = yield* LLMClient.Service;
|
|
88
|
-
const resolver = yield*
|
|
89
|
-
const models = yield*
|
|
88
|
+
const resolver = yield* Service69;
|
|
89
|
+
const models = yield* Service81;
|
|
90
90
|
const executor = yield* RequestExecutor.Service;
|
|
91
91
|
const images = yield* ImageClient.Service;
|
|
92
92
|
const decisionClient = yield* DecisionClient.Service;
|
|
@@ -163,7 +163,7 @@ var layer23 = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
163
163
|
};
|
|
164
164
|
});
|
|
165
165
|
const credentials = (effect) => effect.pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError4({ message: "Generation credentials are unavailable" })));
|
|
166
|
-
return
|
|
166
|
+
return Service50.of({
|
|
167
167
|
text: (input) => credentials(runText(input)),
|
|
168
168
|
image: (input) => credentials(image(input)),
|
|
169
169
|
decisions: (input) => credentials(decisions(input))
|
|
@@ -176,7 +176,7 @@ function resolutionError(ref, type, error) {
|
|
|
176
176
|
if (error._tag === "Integration.Authorization")
|
|
177
177
|
return error;
|
|
178
178
|
if (error._tag === "SessionRunnerModel.VariantUnavailableError")
|
|
179
|
-
return new
|
|
179
|
+
return new InvalidRequestError2({ message: error.message, field: "model.variant" });
|
|
180
180
|
if (error._tag === "SessionRunnerModel.UnsupportedPackageError")
|
|
181
181
|
return new UnsupportedModelError2({
|
|
182
182
|
providerID: ref.providerID,
|
|
@@ -184,14 +184,14 @@ function resolutionError(ref, type, error) {
|
|
|
184
184
|
capability: type,
|
|
185
185
|
message: `${ref.providerID}/${ref.id} has no ${type} API opencode can call (package ${error.package})`
|
|
186
186
|
});
|
|
187
|
-
return new
|
|
187
|
+
return new InvalidRequestError2({ message: error.message, field: "model" });
|
|
188
188
|
}
|
|
189
189
|
function providerError(ref, error) {
|
|
190
190
|
const reason = error.reason;
|
|
191
191
|
if (reason._tag === "InvalidRequest" && reason.http === undefined)
|
|
192
|
-
return new
|
|
192
|
+
return new InvalidRequestError2({ message: reason.message });
|
|
193
193
|
if (reason._tag === "UnsupportedOperation")
|
|
194
|
-
return new
|
|
194
|
+
return new InvalidRequestError2({ message: reason.message });
|
|
195
195
|
const status = "http" in reason ? reason.http?.status : undefined;
|
|
196
196
|
const retryAfterMs = "retryAfterMs" in reason ? reason.retryAfterMs : undefined;
|
|
197
197
|
return new ProviderRequestError2({
|
|
@@ -215,10 +215,10 @@ function failureReason(tag, status) {
|
|
|
215
215
|
return "overloaded";
|
|
216
216
|
return "provider";
|
|
217
217
|
}
|
|
218
|
-
var
|
|
219
|
-
service:
|
|
220
|
-
layer:
|
|
221
|
-
deps: [
|
|
218
|
+
var node52 = makeLocationNode({
|
|
219
|
+
service: Service50,
|
|
220
|
+
layer: layer19,
|
|
221
|
+
deps: [node72, node84, llmClient2, requestExecutor2]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2,
|
|
224
|
+
export { UnavailableError4, ModelNotFoundError2, UnsupportedModelError2, InvalidRequestError2, ProviderFailure2, ProviderRequestError2, Service50, layer19, node52, exports_generate2 };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service90,
|
|
3
3
|
node93
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-6zvfdnga.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-native-bstexjd6.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./aisdk-native-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service55,
|
|
17
|
+
node57
|
|
18
|
+
} from "./aisdk-native-wp4zfjd9.js";
|
|
19
19
|
import {
|
|
20
20
|
changes2,
|
|
21
21
|
create4
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./aisdk-native-40y6dtc2.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/reference.ts
|
|
28
28
|
var exports_reference2 = {};
|
|
29
29
|
__export(exports_reference2, {
|
|
30
|
-
Event: () =>
|
|
30
|
+
Event: () => Event12,
|
|
31
31
|
GitSource: () => GitSource2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info13,
|
|
33
33
|
LocalSource: () => LocalSource2,
|
|
34
34
|
Reference: () => exports_reference2,
|
|
35
|
-
Service: () =>
|
|
36
|
-
Source: () =>
|
|
37
|
-
node: () =>
|
|
35
|
+
Service: () => Service54,
|
|
36
|
+
Source: () => Source4,
|
|
37
|
+
node: () => node56
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
41
41
|
import { Reference } from "@opencode/schema/reference";
|
|
42
42
|
import { Global } from "@opencode/util/global";
|
|
43
|
-
import { Event as
|
|
43
|
+
import { Event as Event12 } from "@opencode/schema/reference";
|
|
44
44
|
var LocalSource2 = Reference.LocalSource;
|
|
45
45
|
var GitSource2 = Reference.GitSource;
|
|
46
|
-
var
|
|
47
|
-
var
|
|
46
|
+
var Source4 = Reference.Source;
|
|
47
|
+
var Info13 = Reference.Info;
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service54 extends Context.Service()("@opencode/Reference") {
|
|
50
50
|
}
|
|
51
|
-
var layer = Layer.effect(
|
|
51
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const bus = yield* Service90;
|
|
54
|
-
const cache = yield*
|
|
54
|
+
const cache = yield* Service55;
|
|
55
55
|
const scope = yield* Scope.Scope;
|
|
56
56
|
const list = (data = state.get()) => Array.from(data.sources).flatMap(([name, source]) => {
|
|
57
57
|
const info = {
|
|
@@ -61,8 +61,8 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
61
61
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
62
62
|
};
|
|
63
63
|
if (source.type === "local")
|
|
64
|
-
return [
|
|
65
|
-
const repository =
|
|
64
|
+
return [Info13.make({ ...info, path: source.path })];
|
|
65
|
+
const repository = parse4(source.repository);
|
|
66
66
|
if (!repository || !isRemote2(repository))
|
|
67
67
|
return [];
|
|
68
68
|
if (source.branch) {
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return [
|
|
76
|
-
|
|
76
|
+
Info13.make({
|
|
77
77
|
...info,
|
|
78
78
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
79
79
|
})
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
107
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
108
|
-
return
|
|
108
|
+
return Service54.of({
|
|
109
109
|
transform: state.transform,
|
|
110
110
|
reload: state.reload,
|
|
111
111
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
|
113
113
|
})
|
|
114
114
|
});
|
|
115
115
|
}));
|
|
116
|
-
var
|
|
117
|
-
service:
|
|
116
|
+
var node56 = makeLocationNode({
|
|
117
|
+
service: Service54,
|
|
118
118
|
layer,
|
|
119
|
-
deps: [Global.node, node93,
|
|
119
|
+
deps: [Global.node, node93, node57]
|
|
120
120
|
});
|
|
121
121
|
|
|
122
|
-
export { LocalSource2, GitSource2,
|
|
122
|
+
export { LocalSource2, GitSource2, Source4, Info13, Service54, node56, exports_reference2, Event12 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RecoverySchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-bdv8sqrq.js";
|
|
4
4
|
import {
|
|
5
5
|
JobTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-kzczzf4v.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/job/list.ts
|
|
12
12
|
var exports_list = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID9,
|
|
6
|
+
Service36
|
|
7
|
+
} from "./aisdk-native-3n93n16m.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-nv2c5e9q.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-s4kyhetj.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-native-mb7mbhnz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service36;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID9.make(from),
|
|
91
|
+
to: ID9.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-native-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveModel2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-a5fx33f2.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/identity.ts
|
|
9
9
|
var exports_identity = {};
|
|
10
10
|
__export(exports_identity, {
|
|
11
11
|
IdentityPlugin: () => exports_identity,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin46,
|
|
13
13
|
identity: () => identity2
|
|
14
14
|
});
|
|
15
15
|
import { SystemPart } from "@opencode/ai/effect";
|
|
@@ -24,7 +24,7 @@ function identity2(model) {
|
|
|
24
24
|
].join(`
|
|
25
25
|
`);
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var Plugin46 = define({
|
|
28
28
|
id: "opencode.prompt.identity",
|
|
29
29
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
30
30
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -37,4 +37,4 @@ var Plugin50 = define({
|
|
|
37
37
|
})
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
export { identity2,
|
|
40
|
+
export { identity2, Plugin46, exports_identity };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID18
|
|
3
|
+
} from "./aisdk-native-7sbxsz9w.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID17
|
|
6
|
+
} from "./aisdk-native-62h8cxby.js";
|
|
7
7
|
import {
|
|
8
8
|
onSwitch2,
|
|
9
9
|
reloadIfChanged2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-xfe62cf1.js";
|
|
11
11
|
import {
|
|
12
12
|
activeCredential2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-j1rhmw6p.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/provider/openai-context-caps.ts
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
18
|
-
var integrationID =
|
|
18
|
+
var integrationID = ID18.make("openai");
|
|
19
19
|
var methodIDs = new Set(["chatgpt-browser", "chatgpt-headless", "chatgpt-token-sharing"]);
|
|
20
20
|
var legacyInput = 272000;
|
|
21
21
|
var currentInput = 500000;
|
|
@@ -33,7 +33,7 @@ var OpenAIContextCapsPlugin2 = define({
|
|
|
33
33
|
yield* ctx.model.transform((models) => {
|
|
34
34
|
if (!signedIn)
|
|
35
35
|
return;
|
|
36
|
-
for (const model of models.list(
|
|
36
|
+
for (const model of models.list(ID17.openai)) {
|
|
37
37
|
models.update(model.providerID, model.id, (draft) => {
|
|
38
38
|
const input = cap(draft.modelID ?? draft.id);
|
|
39
39
|
if ((draft.limit.input || draft.limit.context) <= input)
|