@opencode/core 0.0.0-dev-20958 → 0.0.0-dev-20959
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{agent-31820djj.js → state-00xey68d.js} +85 -85
- package/dist/chunks/{agent-wzhp1wyq.js → state-05ma8sa0.js} +11 -11
- package/dist/chunks/{agent-hpxsmcpf.js → state-06a5dnqt.js} +13 -13
- package/dist/chunks/{agent-btxh7gek.js → state-06nkj3vg.js} +18 -18
- package/dist/chunks/{agent-x26hza9p.js → state-07cqgx07.js} +13 -13
- package/dist/chunks/{agent-pmcwe568.js → state-0batmr09.js} +21 -21
- package/dist/chunks/{agent-816nw50c.js → state-0ssrq3ck.js} +13 -13
- package/dist/chunks/{agent-0vbcp93d.js → state-0vbcp93d.js} +2 -2
- package/dist/chunks/{agent-0ytnbz4y.js → state-0ytnbz4y.js} +5 -5
- package/dist/chunks/{agent-vk9vgbh1.js → state-16g8e42c.js} +17 -17
- package/dist/chunks/{agent-336bg453.js → state-1vgajgn8.js} +49 -49
- package/dist/chunks/{agent-y878v9rt.js → state-1vn3zg3s.js} +48 -48
- package/dist/chunks/{agent-84v535vz.js → state-1w4hzgxt.js} +30 -30
- package/dist/chunks/{agent-86qzxe6p.js → state-277eer69.js} +4 -4
- package/dist/chunks/{agent-9ng5jy3p.js → state-27vhf9q6.js} +10 -10
- package/dist/chunks/{agent-j34bs4nz.js → state-29qym6xz.js} +4 -4
- package/dist/chunks/{agent-0jwsre1p.js → state-2k8khapm.js} +5 -5
- package/dist/chunks/{agent-vwtghmt7.js → state-2nmj9k6r.js} +23 -23
- package/dist/chunks/{agent-rzmamy72.js → state-317c38sv.js} +43 -43
- package/dist/chunks/{agent-h7s7r6s9.js → state-31xfzrxg.js} +5 -5
- package/dist/chunks/{agent-8f0r14n7.js → state-33p39z69.js} +18 -18
- package/dist/chunks/{agent-bqgyyk6d.js → state-34v44amg.js} +21 -21
- package/dist/chunks/{agent-vz2qmdjd.js → state-37r9m3qd.js} +28 -28
- package/dist/chunks/{agent-wzvjhsfb.js → state-39t7sh6v.js} +20 -20
- package/dist/chunks/{agent-a7bcxdzj.js → state-3b9qt4hj.js} +9 -9
- package/dist/chunks/{agent-70sfpb74.js → state-3cejzrcb.js} +11 -11
- package/dist/chunks/{agent-y5hc63tf.js → state-3f5wpygs.js} +20 -20
- package/dist/chunks/{agent-k3xewbbn.js → state-3f6168p9.js} +25 -25
- package/dist/chunks/{agent-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{agent-k72nqehm.js → state-3grbbq2d.js} +40 -40
- package/dist/chunks/{agent-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{agent-3hwn7j4h.js → state-3hwn7j4h.js} +2 -2
- package/dist/chunks/{agent-sytrzq88.js → state-3mxtprej.js} +18 -18
- package/dist/chunks/{agent-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{agent-wk28cg8h.js → state-3tt0fxvw.js} +8 -8
- package/dist/chunks/{agent-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{agent-v9yt08hw.js → state-3wrzs5nr.js} +16 -16
- package/dist/chunks/{agent-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{agent-vy0s0sr4.js → state-435a5nd0.js} +30 -30
- package/dist/chunks/{agent-229tzr2x.js → state-46f1yx5v.js} +11 -11
- package/dist/chunks/{agent-n3z6xa89.js → state-4e8cngzy.js} +2 -2
- package/dist/chunks/{agent-wsrve659.js → state-4h0sx8pt.js} +14 -14
- package/dist/chunks/{agent-wqddz62t.js → state-4hw4t8hc.js} +3 -3
- package/dist/chunks/{agent-tcxg1jmc.js → state-5aekxzw9.js} +24 -24
- package/dist/chunks/{agent-5m9w47nd.js → state-5m9w47nd.js} +1 -1
- package/dist/chunks/state-5rgnv25g.js +180 -0
- package/dist/chunks/{agent-jhfkefc8.js → state-5xbtdx13.js} +15 -15
- package/dist/chunks/{agent-dv1qgsyq.js → state-5yzzbxa7.js} +8 -8
- package/dist/chunks/{agent-49ctvpxp.js → state-6301kdm5.js} +5 -5
- package/dist/chunks/{agent-jvkv54gr.js → state-67nbb1d2.js} +3 -3
- package/dist/chunks/{agent-9bx876pj.js → state-695pgmrz.js} +22 -22
- package/dist/chunks/{agent-qq4j7qt6.js → state-6ew0807w.js} +41 -41
- package/dist/chunks/{agent-wk5z6jzv.js → state-6hjx5zpb.js} +9 -9
- package/dist/chunks/{agent-h3wb0rf0.js → state-6hqjk0t5.js} +5 -5
- package/dist/chunks/{agent-fpzj7rn3.js → state-6khsczge.js} +71 -71
- package/dist/chunks/{agent-6kzp9tjq.js → state-6kzp9tjq.js} +2 -2
- package/dist/chunks/{agent-7fkffz83.js → state-6pc27hjz.js} +8 -8
- package/dist/chunks/{agent-xa3qyksy.js → state-6qr3rp4k.js} +8 -8
- package/dist/chunks/{agent-0zh4dper.js → state-6rabbq69.js} +50 -50
- package/dist/chunks/{agent-yzdd1q42.js → state-6v577egq.js} +45 -45
- package/dist/chunks/{agent-6xb47vfp.js → state-6xb47vfp.js} +1 -1
- package/dist/chunks/{agent-6je4cm4t.js → state-6xxnzgaw.js} +5 -5
- package/dist/chunks/{agent-xaafse7q.js → state-73ws374e.js} +4 -4
- package/dist/chunks/{agent-775gj3j1.js → state-775gj3j1.js} +2 -2
- package/dist/chunks/{agent-n69wn4k7.js → state-78e17vhd.js} +14 -14
- package/dist/chunks/{agent-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{agent-v0es1rhs.js → state-7d822byb.js} +9 -9
- package/dist/chunks/{agent-h36gg2tn.js → state-7e2mtt8e.js} +4 -4
- package/dist/chunks/{agent-xa8dcf8m.js → state-7erbtyx3.js} +11 -11
- package/dist/chunks/{agent-0t9wd588.js → state-7j2qha59.js} +8 -8
- package/dist/chunks/{agent-kxy5hpjs.js → state-7n2gwmyq.js} +29 -29
- package/dist/chunks/{agent-exe77665.js → state-7zb1ag6b.js} +30 -30
- package/dist/chunks/{agent-efxe2svv.js → state-7zkbhs7g.js} +11 -11
- package/dist/chunks/{agent-vqhana6f.js → state-82z684fv.js} +27 -27
- package/dist/chunks/{agent-84txncab.js → state-84txncab.js} +1 -1
- package/dist/chunks/{agent-6rctkjjb.js → state-88hb3s0n.js} +35 -35
- package/dist/chunks/{agent-tcezcvh9.js → state-89znhe33.js} +4 -4
- package/dist/chunks/{agent-jbnebdpg.js → state-8a52xwty.js} +8 -8
- package/dist/chunks/{agent-nf8gtwm3.js → state-8j6e69wk.js} +15 -15
- package/dist/chunks/{agent-8m6m0r52.js → state-8m6m0r52.js} +1 -1
- package/dist/chunks/{agent-sbn7pzv1.js → state-8qyv4v7y.js} +6 -6
- package/dist/chunks/{agent-hcs07a1d.js → state-8wmnw7vn.js} +13 -13
- package/dist/chunks/{agent-91qna3x0.js → state-91qna3x0.js} +3 -3
- package/dist/chunks/{agent-20jknadr.js → state-92zgvqyy.js} +10 -10
- package/dist/chunks/{agent-1agemg3z.js → state-993g9nvg.js} +4 -4
- package/dist/chunks/{agent-wa0x4va4.js → state-9cwxf0zm.js} +4 -4
- package/dist/chunks/{agent-d40bcff0.js → state-9d97g4s8.js} +44 -44
- package/dist/chunks/{agent-z2qbjhyn.js → state-9pkkzrmj.js} +5 -5
- package/dist/chunks/{agent-pfqf91wk.js → state-9q3v678q.js} +20 -20
- package/dist/chunks/state-9sh4wc5j.js +18 -0
- package/dist/chunks/{agent-t6xdkxwv.js → state-a5bx919r.js} +16 -16
- package/dist/chunks/{agent-wm327jek.js → state-aavadf81.js} +22 -22
- package/dist/chunks/{agent-egzgxsyx.js → state-abe2ntxt.js} +29 -29
- package/dist/chunks/{agent-afdssyjb.js → state-afdssyjb.js} +1 -1
- package/dist/chunks/{agent-ehapxwsb.js → state-aha1fx7s.js} +30 -30
- package/dist/chunks/{agent-b3f8fkhc.js → state-b3f8fkhc.js} +2 -2
- package/dist/chunks/{agent-ffwe724q.js → state-b3szwjqv.js} +25 -25
- package/dist/chunks/{agent-dz5zw78w.js → state-b8hvt197.js} +34 -34
- package/dist/chunks/{agent-shcqsdwj.js → state-bbmb0x9b.js} +11 -11
- package/dist/chunks/{agent-acqwrbht.js → state-bd0nk3q4.js} +18 -18
- package/dist/chunks/{agent-4a1s5xyh.js → state-bddt2pqj.js} +18 -18
- package/dist/chunks/{agent-1bmjn0qh.js → state-bfegkxfd.js} +8 -8
- package/dist/chunks/{agent-3ef040mj.js → state-bgmmm716.js} +46 -46
- package/dist/chunks/{agent-bjx1sjef.js → state-bjx1sjef.js} +2 -2
- package/dist/chunks/{agent-mv3hx7wz.js → state-bmr56wjg.js} +4 -4
- package/dist/chunks/{agent-6mp983td.js → state-bqntbsfe.js} +44 -44
- package/dist/chunks/{agent-7v8d6x1k.js → state-btgew72b.js} +7 -7
- package/dist/chunks/{agent-c1fqxshp.js → state-c1fqxshp.js} +3 -3
- package/dist/chunks/{agent-2a7p1gyt.js → state-c8km4fhm.js} +9 -9
- package/dist/chunks/{agent-s777yeyn.js → state-c8kxp3ag.js} +30 -30
- package/dist/chunks/{agent-bhgc3dzs.js → state-cef92ehe.js} +7 -7
- package/dist/chunks/{agent-ydp8h3rh.js → state-cm734856.js} +24 -24
- package/dist/chunks/{agent-aftyskxv.js → state-cpp34795.js} +25 -25
- package/dist/chunks/{agent-b6aa29h5.js → state-csmbza7v.js} +30 -30
- package/dist/chunks/{agent-dm3nnk5j.js → state-cx6mang1.js} +30 -30
- package/dist/chunks/{agent-fww2ha2b.js → state-czbw4cmk.js} +10 -10
- package/dist/chunks/{agent-328j3ef3.js → state-ddvq8pqf.js} +8 -8
- package/dist/chunks/{agent-1z2t3sd1.js → state-df13mnsx.js} +50 -50
- package/dist/chunks/{agent-3v8y4w79.js → state-djqgfx53.js} +8 -8
- package/dist/chunks/{agent-dqxsqydv.js → state-dqxsqydv.js} +1 -1
- package/dist/chunks/{agent-qqeeq2t9.js → state-drwq78ky.js} +7 -7
- package/dist/chunks/{agent-g6yfr6ja.js → state-dssbfrwz.js} +5 -5
- package/dist/chunks/{agent-yfwvs8z7.js → state-dt7wv7f8.js} +40 -40
- package/dist/chunks/{agent-2qetk9d6.js → state-dvrve80v.js} +28 -28
- package/dist/chunks/{agent-w693ecfj.js → state-dw6kxeb2.js} +10 -10
- package/dist/chunks/{agent-2bkpye9j.js → state-e51m94rx.js} +11 -11
- package/dist/chunks/{agent-rksbsveg.js → state-e77tbp3q.js} +21 -21
- package/dist/chunks/{agent-1gpb38yh.js → state-easapccs.js} +6 -6
- package/dist/chunks/{agent-pk8q3hep.js → state-ecnn9cc2.js} +34 -34
- package/dist/chunks/{agent-1j1122ka.js → state-edcq6p70.js} +31 -34
- package/dist/chunks/{agent-eej6y6fw.js → state-eej6y6fw.js} +2 -2
- package/dist/chunks/{agent-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{agent-fp3zmvgv.js → state-en5pt065.js} +20 -20
- package/dist/chunks/{agent-c9x8k2kr.js → state-en6j97m7.js} +15 -15
- package/dist/chunks/{agent-3cy54vvk.js → state-en8cxtke.js} +11 -11
- package/dist/chunks/{agent-jy6v70g9.js → state-f41qqej9.js} +22 -22
- package/dist/chunks/{agent-nnbhsd2s.js → state-f526sqyy.js} +9 -9
- package/dist/chunks/{agent-fve7hrpz.js → state-fg4px4dg.js} +16 -16
- package/dist/chunks/{agent-se59bpe2.js → state-fmd5032t.js} +5 -5
- package/dist/chunks/{agent-076ygycp.js → state-fqfr2d2w.js} +24 -24
- package/dist/chunks/{agent-jrcfabzf.js → state-fvgwbg7w.js} +4 -4
- package/dist/chunks/{agent-vfy0p931.js → state-g5j880g4.js} +3 -3
- package/dist/chunks/{agent-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{agent-2qp32f0v.js → state-gdh7m9dr.js} +4 -4
- package/dist/chunks/{agent-sx205xp2.js → state-gwf5frq4.js} +4 -4
- package/dist/chunks/{agent-c56508zd.js → state-h6ekpmck.js} +186 -186
- package/dist/chunks/{agent-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{agent-1609qj8w.js → state-h9ak3m4y.js} +15 -15
- package/dist/chunks/{agent-tkw33k9w.js → state-hb9gjms4.js} +25 -25
- package/dist/chunks/{agent-hgz4x7wa.js → state-hgz4x7wa.js} +1 -1
- package/dist/chunks/{agent-rzhk0pxw.js → state-hxtq825k.js} +31 -31
- package/dist/chunks/{agent-q1bfw64a.js → state-ja340vf7.js} +14 -14
- package/dist/chunks/{agent-q8p7dk20.js → state-jb2p3fpn.js} +26 -26
- package/dist/chunks/{agent-ya23ecyg.js → state-jbse4pv5.js} +45 -45
- package/dist/chunks/{agent-b4y73578.js → state-jck2sq56.js} +47 -47
- package/dist/chunks/{agent-jk540des.js → state-jk540des.js} +2 -2
- package/dist/chunks/{agent-js4pbrmc.js → state-jmrbxsct.js} +27 -27
- package/dist/chunks/{agent-qvazqvvc.js → state-jvc6xzak.js} +8 -8
- package/dist/chunks/{agent-avk7egrj.js → state-jwg9zzbj.js} +16 -16
- package/dist/chunks/{agent-0k12ygpv.js → state-k0dpz6pn.js} +6 -6
- package/dist/chunks/{agent-xq456m14.js → state-k0xa6v94.js} +1 -1
- package/dist/chunks/{agent-aw43jf4k.js → state-k7j3tctb.js} +13 -13
- package/dist/chunks/{agent-n7gja7eh.js → state-kdwg27gz.js} +31 -31
- package/dist/chunks/{agent-ynj5s4jx.js → state-khhf2f26.js} +19 -19
- package/dist/chunks/{agent-fxaymqdw.js → state-khmqacep.js} +4 -4
- package/dist/chunks/{agent-hkffa77z.js → state-kqx1b4hy.js} +4 -4
- package/dist/chunks/{agent-dzgd3nzk.js → state-kvq4f17p.js} +6 -6
- package/dist/chunks/{agent-x3f89s44.js → state-kxf45vx6.js} +11 -11
- package/dist/chunks/{agent-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{agent-maspj1v3.js → state-maspj1v3.js} +1 -1
- package/dist/chunks/{agent-drnf6xwf.js → state-mbnxefga.js} +2 -2
- package/dist/chunks/{agent-n6mse5q2.js → state-mgc78m32.js} +6 -6
- package/dist/chunks/{agent-ym3sw0s1.js → state-mscwsevq.js} +1 -1
- package/dist/chunks/{agent-addxnjmp.js → state-mxvxcxwy.js} +4 -4
- package/dist/chunks/{agent-qfx0t4ke.js → state-mz33th8r.js} +11 -11
- package/dist/chunks/{agent-fbmc2kmv.js → state-mznrgk7s.js} +21 -21
- package/dist/chunks/{agent-vch9y4vj.js → state-n1xqpdx7.js} +17 -17
- package/dist/chunks/{agent-wha9pdbd.js → state-n5mn4s46.js} +11 -11
- package/dist/chunks/{agent-q761sv46.js → state-n9zaxzrb.js} +12 -12
- package/dist/chunks/{agent-jfvkz881.js → state-ne8ahyn9.js} +16 -16
- package/dist/chunks/{agent-r2z489rp.js → state-nma959mg.js} +3 -3
- package/dist/chunks/{agent-nehy47qm.js → state-nvms9vm5.js} +16 -16
- package/dist/chunks/{agent-50z0a1gb.js → state-p0dn96hm.js} +28 -28
- package/dist/chunks/{agent-jhxa4x6v.js → state-p9p8mz4a.js} +11 -11
- package/dist/chunks/{agent-w86b5zna.js → state-peh04qmw.js} +25 -25
- package/dist/chunks/{agent-0m77ysc4.js → state-pfz5tyak.js} +7 -7
- package/dist/chunks/{agent-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{agent-xbzcmspy.js → state-pjxx77rw.js} +30 -30
- package/dist/chunks/{agent-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{agent-3g8j9he4.js → state-pnzf6mjf.js} +1 -1
- package/dist/chunks/{agent-q91f3t0x.js → state-pqe14sd0.js} +27 -27
- package/dist/chunks/{agent-wh82kep3.js → state-pqrvafsy.js} +3 -3
- package/dist/chunks/{agent-q0xm7vwc.js → state-q0xm7vwc.js} +2 -2
- package/dist/chunks/{agent-hkttkzqp.js → state-q5t55cr7.js} +17 -17
- package/dist/chunks/{agent-a60tcv91.js → state-q7s33m3q.js} +11 -11
- package/dist/chunks/{agent-jt6f8k8z.js → state-qegwm50a.js} +23 -23
- package/dist/chunks/{agent-qk0qxrtr.js → state-qg5egbb1.js} +34 -34
- package/dist/chunks/{agent-7nmmn82v.js → state-qjjqb9p0.js} +5 -5
- package/dist/chunks/{agent-qnc92qwc.js → state-qnc92qwc.js} +1 -1
- package/dist/chunks/{agent-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{agent-5cg0xhj4.js → state-qwthf4cc.js} +11 -11
- package/dist/chunks/{agent-0z54bg9x.js → state-qz75znj9.js} +38 -38
- package/dist/chunks/{agent-ft3hqk2c.js → state-r2m716tb.js} +9 -9
- package/dist/chunks/{agent-54ma36ye.js → state-r94pvvab.js} +4 -4
- package/dist/chunks/{agent-d7x0sh0y.js → state-ra67jj04.js} +8 -8
- package/dist/chunks/{agent-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{agent-rert0e01.js → state-rert0e01.js} +2 -2
- package/dist/chunks/{agent-s8d7rejh.js → state-rhjbct0v.js} +4 -4
- package/dist/chunks/{agent-rhraev7y.js → state-rhraev7y.js} +1 -1
- package/dist/chunks/{agent-rj3eygr5.js → state-rj3eygr5.js} +2 -2
- package/dist/chunks/{agent-g8wr7j18.js → state-rpyqww3d.js} +5 -5
- package/dist/chunks/{agent-my4zabxr.js → state-rrt0a0ha.js} +3 -3
- package/dist/chunks/{agent-fgem0d3n.js → state-s5met55r.js} +8 -8
- package/dist/chunks/{agent-sa8ekw3f.js → state-sa8ekw3f.js} +2 -2
- package/dist/chunks/{agent-w6htd7zh.js → state-sbc7msky.js} +10 -10
- package/dist/chunks/{agent-rabj4zv4.js → state-skqar8q6.js} +7 -7
- package/dist/chunks/{agent-syv4x271.js → state-syv4x271.js} +1 -1
- package/dist/chunks/{agent-wnjv9xrx.js → state-t6bxk4p3.js} +7 -7
- package/dist/chunks/{agent-t2fc4mz5.js → state-t6vsspdg.js} +7 -7
- package/dist/chunks/{agent-ssvc2v8g.js → state-t8h399t1.js} +15 -15
- package/dist/chunks/{agent-7abtwhpm.js → state-t8ybhpwc.js} +325 -325
- package/dist/chunks/{agent-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{agent-8f7svxab.js → state-tc4yh57d.js} +17 -17
- package/dist/chunks/{agent-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{agent-tegs1ycp.js → state-tegs1ycp.js} +1 -1
- package/dist/chunks/{agent-tm0kqsz3.js → state-tm0kqsz3.js} +1 -1
- package/dist/chunks/{agent-tz35mf6x.js → state-trya7axm.js} +6 -6
- package/dist/chunks/{agent-1f212xf4.js → state-tvg7gr73.js} +150 -150
- package/dist/chunks/{agent-jzbfat1a.js → state-txwayph5.js} +19 -19
- package/dist/chunks/{agent-tyytaxap.js → state-tyytaxap.js} +1 -1
- package/dist/chunks/{agent-qzkhffvs.js → state-v0svnxqv.js} +28 -28
- package/dist/chunks/{agent-v7p4zvkq.js → state-v7p4zvkq.js} +2 -2
- package/dist/chunks/{agent-ze38rjkb.js → state-v9gxz1md.js} +11 -11
- package/dist/chunks/{agent-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{agent-csb7xzkw.js → state-vrmrmq13.js} +17 -17
- package/dist/chunks/{agent-fs2ks0ah.js → state-vss99rfh.js} +33 -33
- package/dist/chunks/{agent-sr657sp7.js → state-vvkashrh.js} +5 -5
- package/dist/chunks/{agent-kvnmdx0p.js → state-vvm2n8q4.js} +17 -17
- package/dist/chunks/{agent-s57b5eh9.js → state-vvp1zypk.js} +3 -3
- package/dist/chunks/{agent-a37v51ty.js → state-vxp440pd.js} +22 -22
- package/dist/chunks/{agent-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
- package/dist/chunks/{agent-46hxsw4n.js → state-w09kgncp.js} +23 -23
- package/dist/chunks/{agent-yd4bzqjj.js → state-w1ba7bfx.js} +5 -5
- package/dist/chunks/{agent-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{agent-8kbf19c9.js → state-w6c139gn.js} +22 -22
- package/dist/chunks/{agent-fz67f08d.js → state-w9agkv8a.js} +22 -22
- package/dist/chunks/{agent-m2tp2zy4.js → state-wafka7g2.js} +32 -32
- package/dist/chunks/{agent-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{agent-wdpmkj9t.js → state-wfmp5q3p.js} +8 -8
- package/dist/chunks/{agent-50ea6c2f.js → state-wpdppf83.js} +45 -45
- package/dist/chunks/{agent-dvn8h3hj.js → state-wrt10v44.js} +19 -19
- package/dist/chunks/{agent-sd36kcjb.js → state-wvkm68ey.js} +7 -7
- package/dist/chunks/{agent-3gt6es9n.js → state-wyctmkaw.js} +5 -5
- package/dist/chunks/{agent-v3dtcwjz.js → state-x78kwme8.js} +13 -13
- package/dist/chunks/{agent-2v1pzyq0.js → state-xaf1e3dy.js} +7 -7
- package/dist/chunks/{agent-ky7xv0tv.js → state-xpeshqab.js} +6 -6
- package/dist/chunks/{agent-fnmy9sw4.js → state-xzfz3f2s.js} +16 -16
- package/dist/chunks/{agent-hqf1mv2f.js → state-xzv998fy.js} +22 -22
- package/dist/chunks/{agent-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{agent-y71avatq.js → state-y71avatq.js} +1 -1
- package/dist/chunks/{agent-h2s4xrnp.js → state-yas4gz27.js} +10 -10
- package/dist/chunks/{agent-wxyjxjzj.js → state-ybqb7240.js} +10 -10
- package/dist/chunks/{agent-3913b8rm.js → state-yd30ynhp.js} +19 -19
- package/dist/chunks/{agent-4rxtb5vq.js → state-yfcg3am7.js} +11 -11
- package/dist/chunks/{agent-wetbxm0p.js → state-yjpvjtxg.js} +9 -9
- package/dist/chunks/{agent-631jgtsf.js → state-yqvmhwye.js} +14 -14
- package/dist/chunks/{agent-n1n192bv.js → state-yrcj3v3g.js} +4 -4
- package/dist/chunks/{agent-2mhkbbfb.js → state-yyrkxex6.js} +20 -20
- package/dist/chunks/{agent-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{agent-6nydggxm.js → state-z14c0ezc.js} +8 -8
- package/dist/chunks/{agent-7j7ddnk0.js → state-z1nrsbx9.js} +12 -12
- package/dist/chunks/{agent-bb6cbn1x.js → state-z38qwkds.js} +84 -84
- package/dist/chunks/{agent-snr1631k.js → state-z3bv93cy.js} +4 -4
- package/dist/chunks/{agent-5kxpfrb8.js → state-z518b2ve.js} +9 -9
- package/dist/chunks/{agent-hhmdxq56.js → state-zm1pf2vj.js} +3 -3
- package/dist/chunks/{agent-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{agent-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +72 -72
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +6 -6
- 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 +101 -101
- 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/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +86 -87
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- 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 +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- 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 +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +96 -96
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/config/plugin/instruction.d.ts +3 -1
- package/dist/types/instruction-discovery.d.ts +2 -3
- 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/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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 +2 -2
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/agent-0yjx2tqn.js +0 -118
- package/dist/chunks/agent-gyce5qg1.js +0 -18
- /package/dist/chunks/{agent-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{agent-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{agent-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{agent-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{agent-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{agent-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{agent-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{agent-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{agent-2bv980vf.js → state-2bv980vf.js} +0 -0
- /package/dist/chunks/{agent-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{agent-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{agent-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{agent-3t0ybcrp.js → state-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{agent-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{agent-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{agent-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{agent-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{agent-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{agent-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{agent-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{agent-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{agent-5qd3pb7m.js → state-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{agent-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{agent-6q2bdcd1.js → state-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{agent-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{agent-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{agent-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{agent-84wd9syh.js → state-84wd9syh.js} +0 -0
- /package/dist/chunks/{agent-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{agent-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{agent-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{agent-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{agent-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{agent-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{agent-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{agent-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{agent-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{agent-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{agent-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{agent-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{agent-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{agent-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{agent-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{agent-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{agent-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{agent-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{agent-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{agent-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{agent-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{agent-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{agent-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{agent-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{agent-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{agent-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{agent-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{agent-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{agent-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{agent-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{agent-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{agent-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{agent-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{agent-hcxmzztb.js → state-hcxmzztb.js} +0 -0
- /package/dist/chunks/{agent-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{agent-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{agent-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{agent-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{agent-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{agent-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{agent-jze0r7bz.js → state-jze0r7bz.js} +0 -0
- /package/dist/chunks/{agent-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{agent-m18g726c.js → state-m18g726c.js} +0 -0
- /package/dist/chunks/{agent-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{agent-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{agent-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{agent-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{agent-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{agent-pkyv6v7h.js → state-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{agent-pyv0edze.js → state-pyv0edze.js} +0 -0
- /package/dist/chunks/{agent-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{agent-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{agent-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{agent-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{agent-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{agent-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{agent-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{agent-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{agent-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{agent-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{agent-ve7vex1e.js → state-ve7vex1e.js} +0 -0
- /package/dist/chunks/{agent-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{agent-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{agent-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{agent-wjj7prxr.js → state-wjj7prxr.js} +0 -0
- /package/dist/chunks/{agent-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{agent-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{agent-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{agent-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{agent-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{agent-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{agent-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{agent-z5v4ffb3.js → state-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{agent-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./state-3cejzrcb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service84,
|
|
7
|
+
node88
|
|
8
|
+
} from "./state-3wrzs5nr.js";
|
|
9
9
|
import {
|
|
10
10
|
Service60,
|
|
11
11
|
node64
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-tegs1ycp.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service79,
|
|
19
19
|
node83
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-dt7wv7f8.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-wyctmkaw.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service62,
|
|
26
|
+
node66
|
|
27
|
+
} from "./state-f526sqyy.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError7
|
|
33
|
+
} from "./state-easapccs.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./state-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
38
|
Service58
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./state-afdssyjb.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service65,
|
|
42
|
+
node69
|
|
43
|
+
} from "./state-16g8e42c.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
47
|
Service59,
|
|
48
48
|
node63,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./state-hb9gjms4.js";
|
|
51
51
|
import {
|
|
52
52
|
Service57,
|
|
53
53
|
node62
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./state-37r9m3qd.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node36
|
|
57
|
+
} from "./state-5aekxzw9.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./state-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service33,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node35
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service33 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
91
|
const projects = yield* Service79;
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
92
|
+
const locations = yield* Service62;
|
|
93
|
+
const store = yield* Service65;
|
|
94
94
|
const execution = yield* Service57;
|
|
95
95
|
const instances = yield* Service60;
|
|
96
96
|
const admission = yield* Service59;
|
|
97
|
-
const database = yield*
|
|
98
|
-
const bus = yield*
|
|
97
|
+
const database = yield* Service85;
|
|
98
|
+
const bus = yield* Service84;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError7({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -133,7 +133,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
133
133
|
return true;
|
|
134
134
|
return yield* Service58.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service33.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node35 = makeGlobalNode({
|
|
167
|
+
service: Service33,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
172
|
node83,
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
node66,
|
|
174
|
+
node69,
|
|
175
175
|
node62,
|
|
176
176
|
node64,
|
|
177
177
|
node63,
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
178
|
+
node89,
|
|
179
|
+
node88,
|
|
180
|
+
node36
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service33, node35, exports_move };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./state-3wrzs5nr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID13,
|
|
6
|
+
Event16,
|
|
7
|
+
Service74
|
|
8
|
+
} from "./state-b8hvt197.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID11
|
|
11
|
+
} from "./state-1w4hzgxt.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-k0dpz6pn.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -41,8 +41,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
41
41
|
id: "opencode.provider.google.vertex",
|
|
42
42
|
effect: Effect.fn(function* (ctx) {
|
|
43
43
|
const fs = yield* FSUtil.Service;
|
|
44
|
-
const credentials = yield*
|
|
45
|
-
const bus = yield*
|
|
44
|
+
const credentials = yield* Service74;
|
|
45
|
+
const bus = yield* Service84;
|
|
46
46
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
47
47
|
return;
|
|
48
48
|
}));
|
|
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
51
51
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
52
52
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
53
53
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
54
|
-
const configured = (yield* configuredSettings2(
|
|
54
|
+
const configured = (yield* configuredSettings2(ID11.googleVertex)) ?? {};
|
|
55
55
|
const projects = Array.from(new Set([
|
|
56
56
|
resolveProject(configured),
|
|
57
57
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
65
65
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
66
66
|
]));
|
|
67
67
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
68
|
-
const connection = yield* ctx.integration.connection.active(
|
|
69
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
68
|
+
const connection = yield* ctx.integration.connection.active(ID11.googleVertex);
|
|
69
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID13.make(connection.id)) : undefined;
|
|
70
70
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
71
71
|
return {};
|
|
72
72
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
74
74
|
const selected = { settings: yield* load() };
|
|
75
75
|
const settingsFor = (provider) => ({
|
|
76
76
|
...provider.settings,
|
|
77
|
-
...(provider.integrationID ?? provider.id) ===
|
|
77
|
+
...(provider.integrationID ?? provider.id) === ID11.googleVertex ? selected.settings : {}
|
|
78
78
|
});
|
|
79
79
|
yield* ctx.integration.transform((editor) => {
|
|
80
80
|
editor.method.update({
|
|
81
|
-
integrationID:
|
|
81
|
+
integrationID: ID11.googleVertex,
|
|
82
82
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
83
83
|
});
|
|
84
84
|
editor.method.update({
|
|
85
|
-
integrationID:
|
|
85
|
+
integrationID: ID11.googleVertex,
|
|
86
86
|
method: {
|
|
87
87
|
id: ADC_METHOD,
|
|
88
88
|
type: "external",
|
|
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
120
120
|
});
|
|
121
121
|
yield* ctx.provider.transform((evt) => {
|
|
122
122
|
for (const item of evt.list()) {
|
|
123
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
123
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
124
124
|
continue;
|
|
125
125
|
const settings = settingsFor(item.provider);
|
|
126
126
|
const project = resolveProject(settings);
|
|
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
139
139
|
});
|
|
140
140
|
yield* ctx.model.transform((models) => {
|
|
141
141
|
for (const item of models.provider.list()) {
|
|
142
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
142
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
143
143
|
continue;
|
|
144
144
|
const settings = settingsFor(item.provider);
|
|
145
145
|
const project = resolveProject(settings);
|
|
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
|
-
yield* bus.subscribe([
|
|
159
|
+
yield* bus.subscribe([Event16.Updated, Event16.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
160
160
|
const next = yield* load();
|
|
161
161
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
162
162
|
return;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./state-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service32,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service32 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service32.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service32, awaitActivation2, exports_service };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
Info8
|
|
9
|
-
} from "./agent-1bmjn0qh.js";
|
|
6
|
+
} from "./state-bmr56wjg.js";
|
|
10
7
|
import {
|
|
11
8
|
Info10
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./state-bfegkxfd.js";
|
|
13
10
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
11
|
+
Info9
|
|
12
|
+
} from "./state-t6vsspdg.js";
|
|
13
|
+
import {
|
|
14
|
+
Info8
|
|
15
|
+
} from "./state-dssbfrwz.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-2k8khapm.js";
|
|
19
19
|
import {
|
|
20
20
|
Info7
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./state-6kzp9tjq.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
migrateMcp2,
|
|
28
28
|
migrateProvider2,
|
|
29
29
|
providerID2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-993g9nvg.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./state-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/config/normalize.ts
|
|
36
36
|
var exports_normalize = {};
|
|
@@ -97,12 +97,12 @@ function normalize2(input) {
|
|
|
97
97
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
98
98
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
99
99
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
100
|
-
const legacyCommands = decodeMap(input.command,
|
|
100
|
+
const legacyCommands = decodeMap(input.command, Info9, ["command"], diagnostics, decodeValue);
|
|
101
101
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
102
102
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
103
103
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
104
104
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
105
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
105
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info10, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
106
106
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
107
107
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
108
108
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -116,7 +116,7 @@ function normalize2(input) {
|
|
|
116
116
|
model: migratedSmallModel,
|
|
117
117
|
...legacyAgents.title
|
|
118
118
|
};
|
|
119
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
119
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info10, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
120
120
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
121
121
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
122
122
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -218,7 +218,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
218
218
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
219
219
|
return;
|
|
220
220
|
}
|
|
221
|
-
const server = decodeValue(
|
|
221
|
+
const server = decodeValue(Info8, value, path, diagnostics);
|
|
222
222
|
if (server !== undefined)
|
|
223
223
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
224
224
|
});
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service80,
|
|
9
9
|
node84
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./state-0ytnbz4y.js";
|
|
11
11
|
import {
|
|
12
12
|
Service78,
|
|
13
13
|
node82
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./state-wyctmkaw.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
26
|
ID: () => ID4,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service43,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node46,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -36,16 +36,16 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import { ID as ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service43 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service80;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
136
136
|
for (const [file, snapshot] of input.files) {
|
|
137
137
|
const absolute = path.resolve(worktree, file);
|
|
138
138
|
if (!FSUtil.contains(worktree, absolute))
|
|
139
|
-
return yield* new
|
|
139
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
140
140
|
files.set(file, TreeID2.make(snapshot));
|
|
141
141
|
}
|
|
142
142
|
return files;
|
|
143
143
|
});
|
|
144
144
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
145
145
|
if (!enabled())
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
147
147
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
148
148
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return Service43.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node46 = makeLocationNode({
|
|
153
|
+
service: Service43,
|
|
154
154
|
layer,
|
|
155
155
|
deps: [FSUtil.node, node84, Global.node, node82]
|
|
156
156
|
});
|
|
157
|
-
var noopLayer2 = Layer.succeed(
|
|
157
|
+
var noopLayer2 = Layer.succeed(Service43, Service43.of({
|
|
158
158
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
159
159
|
reload: () => Effect.void,
|
|
160
160
|
capture: () => Effect.undefined,
|
|
@@ -163,13 +163,13 @@ var noopLayer2 = Layer.succeed(Service31, Service31.of({
|
|
|
163
163
|
restore: () => Effect.void
|
|
164
164
|
}));
|
|
165
165
|
function failure(operation, cause) {
|
|
166
|
-
if (cause instanceof
|
|
166
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
167
167
|
return cause;
|
|
168
|
-
return new
|
|
168
|
+
return new Error3({
|
|
169
169
|
operation,
|
|
170
170
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
171
171
|
cause
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { ID4,
|
|
175
|
+
export { ID4, Error3, Service43, node46, noopLayer2, exports_snapshot2 };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./state-e77tbp3q.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service14,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-0ssrq3ck.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service24
|
|
11
|
+
} from "./state-n5mn4s46.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service63
|
|
14
|
+
} from "./state-df13mnsx.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service18
|
|
17
|
+
} from "./state-en6j97m7.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./state-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input7,
|
|
29
|
+
Output: () => Output5,
|
|
30
|
+
Plugin: () => Plugin42,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name7,
|
|
33
33
|
toModelContent: () => toModelContent4
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name7 = "write";
|
|
39
|
+
var Input7 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output5 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
51
|
var toModelContent4 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
-
var
|
|
52
|
+
var Plugin42 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service18;
|
|
56
|
+
const fileMutation = yield* Service14;
|
|
57
|
+
const environment = yield* Service54;
|
|
58
|
+
const formatter = yield* Service24;
|
|
59
|
+
const permission = yield* Service63;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name7,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input7,
|
|
69
|
+
output: Output5,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name7, Input7, Output5, toModelContent4, Plugin42, exports_write };
|