@opencode/core 0.0.0-dev-20659 → 0.0.0-dev-20665
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{git-6vabwvmw.js → model-04hfwksm.js} +14 -14
- package/dist/chunks/{git-b2jc1z43.js → model-05tb8896.js} +11 -11
- package/dist/chunks/{git-6xkwkya9.js → model-09bawd7d.js} +12 -12
- package/dist/chunks/{git-nbw2xxtv.js → model-0bwx6hyg.js} +7 -7
- package/dist/chunks/{git-5yj8ke91.js → model-0hbnkapr.js} +151 -151
- package/dist/chunks/{git-8pyww4v8.js → model-0hc1cq6w.js} +13 -13
- package/dist/chunks/{git-0j77ygfz.js → model-0j77ygfz.js} +2 -2
- package/dist/chunks/{git-0paq2nw3.js → model-0paq2nw3.js} +1 -1
- package/dist/chunks/{git-nd73648e.js → model-0pbe0zt0.js} +32 -32
- package/dist/chunks/{git-mwpvndzh.js → model-0swnknvj.js} +25 -25
- package/dist/chunks/{git-0vbcp93d.js → model-0vbcp93d.js} +2 -2
- package/dist/chunks/{git-jcm1ap69.js → model-12dy9wgh.js} +11 -11
- package/dist/chunks/{git-2m6x7dk2.js → model-13db7e4e.js} +24 -24
- package/dist/chunks/{git-gsnyd5qq.js → model-143vczaq.js} +7 -7
- package/dist/chunks/{git-qyzaws7n.js → model-16dgqdxz.js} +3 -3
- package/dist/chunks/{git-9gj6hpr6.js → model-18cdd48g.js} +4 -4
- package/dist/chunks/{git-1dazxqgg.js → model-1dazxqgg.js} +2 -2
- package/dist/chunks/{git-1dvck2a7.js → model-1dvck2a7.js} +2 -2
- package/dist/chunks/{git-1b4m0bzf.js → model-1rn5pcm9.js} +4 -4
- package/dist/chunks/{git-hc1902wk.js → model-1rnd72fy.js} +16 -16
- package/dist/chunks/{git-90g7qw2a.js → model-1v75qvzv.js} +21 -21
- package/dist/chunks/{git-mc9vh6yq.js → model-1w58g905.js} +17 -17
- package/dist/chunks/{git-c8s4yex5.js → model-1yft0xp6.js} +14 -14
- package/dist/chunks/{git-1ygqh575.js → model-1ygqh575.js} +2 -2
- package/dist/chunks/{git-2a5m3afh.js → model-2a5m3afh.js} +1 -1
- package/dist/chunks/{git-2ccvkpx1.js → model-2ccvkpx1.js} +2 -2
- package/dist/chunks/{git-fcrkznn8.js → model-2k8khapm.js} +5 -5
- package/dist/chunks/{git-zfs8ae4p.js → model-2m8jawch.js} +4 -4
- package/dist/chunks/{git-2hr5nhwa.js → model-2n295dmf.js} +8 -8
- package/dist/chunks/{git-rjw6hp1j.js → model-2nxxz3xr.js} +23 -23
- package/dist/chunks/{git-xa303ymg.js → model-2seqm7ta.js} +1 -1
- package/dist/chunks/{git-af6rkajf.js → model-3704aagw.js} +3 -3
- package/dist/chunks/{git-3fc6dm20.js → model-3fc6dm20.js} +1 -1
- package/dist/chunks/{git-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{git-x2rw7g36.js → model-3j9bgvtg.js} +5 -5
- package/dist/chunks/{git-9ttbk61r.js → model-3ptfharv.js} +27 -27
- package/dist/chunks/{git-tc14gx3q.js → model-3rd28rcz.js} +8 -8
- package/dist/chunks/{git-3smtnn6g.js → model-3smtnn6g.js} +1 -1
- package/dist/chunks/{git-jq13pd70.js → model-3st0ejts.js} +175 -175
- package/dist/chunks/{git-3tvqynh2.js → model-3tvqynh2.js} +1 -1
- package/dist/chunks/{git-3zsf4n22.js → model-3zsf4n22.js} +1 -1
- package/dist/chunks/{git-7pd5pffv.js → model-42rpdw4e.js} +7 -7
- package/dist/chunks/{git-fdm4t8z9.js → model-43wd9vsa.js} +13 -13
- package/dist/chunks/{git-phvr3wgs.js → model-43xazcv4.js} +322 -322
- package/dist/chunks/{git-1f2q55ad.js → model-4r5bkf9y.js} +24 -24
- package/dist/chunks/{git-rr03d8em.js → model-4r9w7v50.js} +22 -22
- package/dist/chunks/{git-54ma36ye.js → model-54ma36ye.js} +1 -1
- package/dist/chunks/{git-d1f3pbt1.js → model-55rgt2sk.js} +11 -11
- package/dist/chunks/{git-d3c6y7f2.js → model-565cggcq.js} +83 -83
- package/dist/chunks/{git-5daktx2q.js → model-5daktx2q.js} +1 -1
- package/dist/chunks/{git-c243x79n.js → model-5dec13bj.js} +35 -35
- package/dist/chunks/{git-gz56ec1j.js → model-5m62pdvr.js} +22 -22
- package/dist/chunks/{git-5m9w47nd.js → model-5m9w47nd.js} +1 -1
- package/dist/chunks/{git-73apqjm5.js → model-5nq6ntwv.js} +12 -12
- package/dist/chunks/{git-2c3eq8z5.js → model-5r5teqtw.js} +1 -1
- package/dist/chunks/{git-5t3nmthw.js → model-5t3nmthw.js} +2 -2
- package/dist/chunks/{git-gtczcmth.js → model-5wwecgr9.js} +3 -3
- package/dist/chunks/{git-6g7e4dd5.js → model-6g7e4dd5.js} +2 -2
- package/dist/chunks/{git-qs9cg63q.js → model-6h5e082a.js} +17 -17
- package/dist/chunks/{git-2pnhn36q.js → model-6m42r3np.js} +4 -4
- package/dist/chunks/{git-q4vzfqxg.js → model-6pamc8qx.js} +11 -11
- package/dist/chunks/{git-6xb47vfp.js → model-6xb47vfp.js} +1 -1
- package/dist/chunks/{git-n79tw6se.js → model-6xzjqc7j.js} +4 -4
- package/dist/chunks/{git-aryft9f9.js → model-6ymz3gfr.js} +36 -36
- package/dist/chunks/{git-71az546q.js → model-71az546q.js} +2 -2
- package/dist/chunks/{git-ggevdayx.js → model-75e9eb11.js} +4 -4
- package/dist/chunks/{git-qmqgtz8f.js → model-79qaa2kf.js} +9 -9
- package/dist/chunks/{git-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{git-q7v5mrmg.js → model-7ejrgaad.js} +9 -9
- package/dist/chunks/{git-prps3137.js → model-7kx3xyrk.js} +1 -1
- package/dist/chunks/{git-mf2m4y29.js → model-7nt8nw1z.js} +33 -33
- package/dist/chunks/{git-nr6gcs3w.js → model-7qe8e482.js} +8 -8
- package/dist/chunks/{git-73nkehxt.js → model-7tzvmzbr.js} +8 -8
- package/dist/chunks/{git-2003xh4j.js → model-7v81x33d.js} +9 -9
- package/dist/chunks/{git-bzt0dk37.js → model-7yjncwxp.js} +30 -30
- package/dist/chunks/{git-rrt2er56.js → model-7zd39w7j.js} +3 -3
- package/dist/chunks/{git-84txncab.js → model-84txncab.js} +1 -1
- package/dist/chunks/{git-ph842b28.js → model-86qzxe6p.js} +4 -4
- package/dist/chunks/{git-tcezcvh9.js → model-89znhe33.js} +4 -4
- package/dist/chunks/{git-8d7r5vzw.js → model-8d7r5vzw.js} +1 -1
- package/dist/chunks/{git-qdhh749w.js → model-8dxznbhk.js} +13 -13
- package/dist/chunks/{git-zyc72cgf.js → model-8f29pv30.js} +3 -3
- package/dist/chunks/{git-qdbtwst4.js → model-8k7ec5p2.js} +11 -11
- package/dist/chunks/{git-gyn5n75h.js → model-8q8jfg7g.js} +6 -6
- package/dist/chunks/{git-py3kkmfq.js → model-8sze2n9a.js} +6 -6
- package/dist/chunks/{git-h6310vsd.js → model-8wbxkt1z.js} +4 -4
- package/dist/chunks/{git-nf3bc7kp.js → model-9525rq9q.js} +15 -15
- package/dist/chunks/{git-9e5bzkjp.js → model-9e5bzkjp.js} +3 -3
- package/dist/chunks/model-9e9he82z.js +26 -0
- package/dist/chunks/{git-q3gb2bnw.js → model-9mn5fbt0.js} +32 -32
- package/dist/chunks/{git-9pa8tak9.js → model-9pa8tak9.js} +2 -2
- package/dist/chunks/{git-avae2qkj.js → model-9qb76avw.js} +8 -8
- package/dist/chunks/{git-hjndax5w.js → model-9rven2v7.js} +18 -18
- package/dist/chunks/model-9sh4wc5j.js +18 -0
- package/dist/chunks/{git-zm2ry5m5.js → model-a03m4akp.js} +23 -23
- package/dist/chunks/{git-1hya600g.js → model-a5rc1k9w.js} +5 -5
- package/dist/chunks/{git-0c7deste.js → model-a7ehty0t.js} +24 -24
- package/dist/chunks/{git-p45atnv4.js → model-a7g6j6nx.js} +12 -12
- package/dist/chunks/{git-aaet6srn.js → model-aaet6srn.js} +2 -2
- package/dist/chunks/{git-q6jj9914.js → model-aenqjndq.js} +21 -21
- package/dist/chunks/{git-xdj3jjdd.js → model-an20b3q3.js} +11 -11
- package/dist/chunks/{git-b6gygkdw.js → model-b6gygkdw.js} +2 -2
- package/dist/chunks/{git-s5qxm7c2.js → model-bdpzzc2x.js} +11 -11
- package/dist/chunks/{git-njerjs8t.js → model-bpjzyxk6.js} +27 -27
- package/dist/chunks/{git-76ewd06k.js → model-bskc84e3.js} +5 -5
- package/dist/chunks/{git-1a1rn49g.js → model-btwta0ay.js} +16 -16
- package/dist/chunks/{git-ag7334sc.js → model-bvqebne3.js} +11 -11
- package/dist/chunks/{git-14grjhb4.js → model-bzv7w39z.js} +49 -49
- package/dist/chunks/{git-h79qd4dv.js → model-c0ke6nr1.js} +12 -12
- package/dist/chunks/{git-7eb1d2yt.js → model-c0kz0pvs.js} +24 -24
- package/dist/chunks/{git-g1sxm558.js → model-c27esgm9.js} +8 -8
- package/dist/chunks/{git-j5w2yx54.js → model-c8bydgjz.js} +6 -6
- package/dist/chunks/{git-aps1yx91.js → model-cqfygt2f.js} +5 -5
- package/dist/chunks/{git-vk7prk4h.js → model-cvnbmapz.js} +25 -25
- package/dist/chunks/{git-kkkysjtm.js → model-d03bk1nx.js} +22 -22
- package/dist/chunks/{git-vgepzxbh.js → model-d9sgy5v4.js} +4 -4
- package/dist/chunks/{git-yaefqgtx.js → model-dak0aer2.js} +88 -88
- package/dist/chunks/{git-m70sbz6t.js → model-dhmh7aw6.js} +4 -4
- package/dist/chunks/{git-dmqcgk4z.js → model-dmqcgk4z.js} +2 -2
- package/dist/chunks/{git-d4g413ww.js → model-dzae2snb.js} +13 -13
- package/dist/chunks/{git-ncp83wn6.js → model-eb1ryh4n.js} +28 -28
- package/dist/chunks/{git-ef5x83kb.js → model-ef5x83kb.js} +1 -1
- package/dist/chunks/{git-56espktj.js → model-ekbw19fm.js} +18 -18
- package/dist/chunks/{git-yj5m20h0.js → model-en9mxp96.js} +9 -9
- package/dist/chunks/{git-73tb2d7t.js → model-eq1pz5kg.js} +3 -3
- package/dist/chunks/{git-c3zqzp8y.js → model-eqx6m485.js} +8 -8
- package/dist/chunks/{git-etq0c3wd.js → model-etq0c3wd.js} +1 -1
- package/dist/chunks/{git-amv1ejgv.js → model-evzgxw2j.js} +53 -53
- package/dist/chunks/{git-c6cbvwxq.js → model-f1thfm8v.js} +11 -11
- package/dist/chunks/{git-tnsjdj53.js → model-f50cy0tv.js} +34 -34
- package/dist/chunks/{git-f5gy8qwh.js → model-f5gy8qwh.js} +1 -1
- package/dist/chunks/{git-nkh99vgj.js → model-f5hkpmh1.js} +17 -17
- package/dist/chunks/{git-mrkjf4y9.js → model-f5r0fqm4.js} +11 -11
- package/dist/chunks/{git-0jq9fyba.js → model-fdms3n6w.js} +9 -9
- package/dist/chunks/{git-b27vhd2z.js → model-fm2qvscf.js} +4 -4
- package/dist/chunks/{git-xbs48zfb.js → model-fnkg6qb4.js} +49 -49
- package/dist/chunks/{git-9mdv1d98.js → model-frxn4dna.js} +6 -6
- package/dist/chunks/{git-zbfyanxm.js → model-ft3zxgd7.js} +8 -8
- package/dist/chunks/{git-edkvx3dd.js → model-fw2qxq8w.js} +32 -32
- package/dist/chunks/{git-4mvz68vy.js → model-fxhje9fq.js} +30 -30
- package/dist/chunks/{git-qzexb7dd.js → model-g07h2xqa.js} +12 -12
- package/dist/chunks/{git-7gd3hzpr.js → model-g76p8ycs.js} +19 -19
- package/dist/chunks/{git-rj7j44bj.js → model-g7yjevyk.js} +6 -6
- package/dist/chunks/{git-56qj8wan.js → model-gaffbzjy.js} +10 -10
- package/dist/chunks/{git-9smks8ax.js → model-gb6ehmsa.js} +25 -25
- package/dist/chunks/{git-e6hqwnjd.js → model-gb9qa9c1.js} +9 -9
- package/dist/chunks/{git-gd4qta3r.js → model-gd4qta3r.js} +1 -1
- package/dist/chunks/{git-q2m05hzt.js → model-gm3dfsm1.js} +5 -5
- package/dist/chunks/{git-13kfw95c.js → model-gr72qpsv.js} +11 -11
- package/dist/chunks/{git-p7yhpbex.js → model-gwbzj4wh.js} +36 -36
- package/dist/chunks/{git-tkh413by.js → model-gzvvm5t9.js} +9 -9
- package/dist/chunks/{git-satpgpy0.js → model-h10mhkmh.js} +17 -17
- package/dist/chunks/{git-h2b79v29.js → model-h2b79v29.js} +2 -2
- package/dist/chunks/{git-8vpe69nk.js → model-h30avht3.js} +18 -18
- package/dist/chunks/{git-h6vf3j39.js → model-h6vf3j39.js} +1 -1
- package/dist/chunks/{git-dyc3kv56.js → model-h960ywcp.js} +11 -11
- package/dist/chunks/{git-cqs54gg3.js → model-he5rhnsk.js} +3 -3
- package/dist/chunks/{git-90arfvh2.js → model-hshpsfrb.js} +29 -29
- package/dist/chunks/{git-j56e64zr.js → model-j56e64zr.js} +1 -1
- package/dist/chunks/{git-z6kknvmx.js → model-jdydv5w6.js} +58 -58
- package/dist/chunks/{git-m4qj4fpw.js → model-jedqxwja.js} +8 -8
- package/dist/chunks/{git-kw7v3js8.js → model-jeeje7kx.js} +27 -27
- package/dist/chunks/{git-3j8n7zh4.js → model-jfwamsgh.js} +14 -14
- package/dist/chunks/{git-dqp200sx.js → model-jmh5z47c.js} +22 -22
- package/dist/chunks/{git-040b8ymy.js → model-jvt424gv.js} +9 -9
- package/dist/chunks/{git-rrjhvgg4.js → model-jwnzethd.js} +13 -13
- package/dist/chunks/{git-w19mx1ce.js → model-jzdyaq3q.js} +38 -38
- package/dist/chunks/{git-9bde0dy1.js → model-k2ee98a4.js} +9 -9
- package/dist/chunks/{git-ydqznnpe.js → model-k8vxkqnq.js} +4 -4
- package/dist/chunks/{git-vs1y934m.js → model-ke5wyhkr.js} +15 -15
- package/dist/chunks/{git-n915pjdp.js → model-ksr0mctg.js} +18 -18
- package/dist/chunks/{git-wz33qg6p.js → model-ksts8xsw.js} +45 -45
- package/dist/chunks/{git-p1463psw.js → model-ktqfz204.js} +5 -5
- package/dist/chunks/{git-td93javk.js → model-m15b84sy.js} +9 -9
- package/dist/chunks/{git-m3fdjcah.js → model-m3fdjcah.js} +1 -1
- package/dist/chunks/{git-41bfxxgf.js → model-m8s1k1qd.js} +24 -24
- package/dist/chunks/{git-pjwt2kw2.js → model-m99sccj6.js} +18 -18
- package/dist/chunks/{git-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{git-qb9x4qxp.js → model-mbfqztvv.js} +44 -44
- package/dist/chunks/{git-cs0f06fr.js → model-mczqcbtg.js} +20 -20
- package/dist/chunks/{git-73119sgt.js → model-mr28wkyp.js} +20 -20
- package/dist/chunks/{git-h2wp1rwf.js → model-mtjbpypn.js} +27 -27
- package/dist/chunks/{git-x661k3y3.js → model-mxvxcxwy.js} +4 -4
- package/dist/chunks/{git-vvwn34gm.js → model-mzr0kwz3.js} +21 -21
- package/dist/chunks/{git-2k9fjx65.js → model-n8vdnqrc.js} +5 -5
- package/dist/chunks/{git-ckxxahkn.js → model-nbwfbw7q.js} +29 -29
- package/dist/chunks/{git-653jwha5.js → model-ndzm53tf.js} +7 -7
- package/dist/chunks/{git-afj4khrd.js → model-ngzr1rke.js} +35 -35
- package/dist/chunks/{git-gjbzw0xs.js → model-nkfqmrng.js} +5 -5
- package/dist/chunks/{git-ej71bdfb.js → model-nnegw8hy.js} +51 -51
- package/dist/chunks/{git-8fjdzkkz.js → model-nx67q5mf.js} +27 -27
- package/dist/chunks/{git-5yzzbxa7.js → model-p37cw4rj.js} +8 -8
- package/dist/chunks/{git-wb9cfjnb.js → model-p5x6h0ea.js} +15 -15
- package/dist/chunks/{git-5prh4sa3.js → model-pc670ma7.js} +21 -21
- package/dist/chunks/{git-yf6bsa4q.js → model-pdfafe8d.js} +74 -74
- package/dist/chunks/{git-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
- package/dist/chunks/{git-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{git-pg3m1bkm.js → model-q1ecnbsd.js} +3 -3
- package/dist/chunks/{git-qnc92qwc.js → model-qnc92qwc.js} +1 -1
- package/dist/chunks/{git-qsdy395h.js → model-qsdy395h.js} +1 -1
- package/dist/chunks/{git-mpyd4te8.js → model-qt4mgnnm.js} +9 -9
- package/dist/chunks/{git-57vd24f3.js → model-qxcqbx7c.js} +11 -11
- package/dist/chunks/{git-qxjc9qry.js → model-qxjc9qry.js} +3 -3
- package/dist/chunks/{git-n3qqcskk.js → model-qy0tcep6.js} +29 -29
- package/dist/chunks/{git-scgrse2b.js → model-qygbw77c.js} +5 -5
- package/dist/chunks/{git-8vy6cwnw.js → model-r830apza.js} +11 -11
- package/dist/chunks/{git-yp2x3t23.js → model-r8xr0va3.js} +4 -4
- package/dist/chunks/{git-2nrarbfq.js → model-rbdmdcgh.js} +32 -32
- package/dist/chunks/{git-rdw6cm16.js → model-rdw6cm16.js} +1 -1
- package/dist/chunks/{git-9ptry7h8.js → model-re96rjx3.js} +3 -3
- package/dist/chunks/{git-kcjnae1a.js → model-rhvy48gn.js} +10 -10
- package/dist/chunks/{git-r3vcwrv4.js → model-rsdgpk2t.js} +26 -26
- package/dist/chunks/{git-1174b0hx.js → model-s5yxayxs.js} +4 -4
- package/dist/chunks/{git-ekg5h0zp.js → model-snsqt8dj.js} +35 -35
- package/dist/chunks/{git-3vpcsz7z.js → model-snswbz2h.js} +47 -47
- package/dist/chunks/{git-791n53zr.js → model-spdq57er.js} +15 -15
- package/dist/chunks/{git-e8tr3786.js → model-sy1vayej.js} +31 -31
- package/dist/chunks/{git-g5kmhmn4.js → model-t2rj41re.js} +11 -11
- package/dist/chunks/{git-0zghx38h.js → model-t3gyxbgb.js} +13 -13
- package/dist/chunks/{git-s8d7rejh.js → model-t550f9t1.js} +4 -4
- package/dist/chunks/{git-ey7wydsb.js → model-t9rbaskh.js} +24 -24
- package/dist/chunks/{git-tazgh4e4.js → model-tazgh4e4.js} +1 -1
- package/dist/chunks/{git-tdstcens.js → model-tdstcens.js} +1 -1
- package/dist/chunks/{git-v1tq3pwz.js → model-tjdrgr4h.js} +19 -19
- package/dist/chunks/{git-w2h15q85.js → model-tk14y25j.js} +5 -5
- package/dist/chunks/{git-v8825gx8.js → model-v12bfv38.js} +10 -10
- package/dist/chunks/{git-te2bzzsy.js → model-v5qtavm6.js} +35 -35
- package/dist/chunks/{git-veqvce7d.js → model-veqvce7d.js} +1 -1
- package/dist/chunks/{git-kpde0a2c.js → model-vhvmb6ep.js} +19 -19
- package/dist/chunks/{git-sd9hvprw.js → model-vhzyme33.js} +14 -14
- package/dist/chunks/{git-98f0fqab.js → model-vk57bjhv.js} +33 -33
- package/dist/chunks/{git-qj64m8dx.js → model-vn9zk7na.js} +4 -4
- package/dist/chunks/{git-82qsn231.js → model-vtb6ekz6.js} +31 -31
- package/dist/chunks/{git-vzs5sf6e.js → model-vzs5sf6e.js} +1 -1
- package/dist/chunks/{git-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{git-k18ytf7m.js → model-w4axh9wz.js} +6 -6
- package/dist/chunks/{git-0t098hqn.js → model-w8xr7nv8.js} +5 -5
- package/dist/chunks/{git-rwsmtxp6.js → model-wb7d44e4.js} +1 -1
- package/dist/chunks/{git-h9jvq6n0.js → model-wd59kgh2.js} +10 -10
- package/dist/chunks/{git-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{git-00vxkvj8.js → model-wp8v4mk0.js} +10 -10
- package/dist/chunks/{git-bsbz52zb.js → model-wypjq10p.js} +20 -20
- package/dist/chunks/{git-1j8ev5c3.js → model-x13kj793.js} +24 -24
- package/dist/chunks/{git-cfx504ks.js → model-x5w0v4qz.js} +15 -15
- package/dist/chunks/{git-p0wjgz8v.js → model-xd4eajp3.js} +11 -11
- package/dist/chunks/{git-2bw54qtz.js → model-xf847saf.js} +3 -3
- package/dist/chunks/{git-xfkkasph.js → model-xfkkasph.js} +1 -1
- package/dist/chunks/{git-2vp5hvvb.js → model-xggz5yyf.js} +8 -8
- package/dist/chunks/{git-325sge2s.js → model-xp3fh2h7.js} +1 -1
- package/dist/chunks/{git-9ppqf0fm.js → model-xrn5m798.js} +26 -26
- package/dist/chunks/{git-7wqm39p3.js → model-xzh9enxw.js} +12 -12
- package/dist/chunks/{git-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
- package/dist/chunks/{git-a3zqsen4.js → model-y6yd3ew1.js} +40 -40
- package/dist/chunks/{git-y71avatq.js → model-y71avatq.js} +1 -1
- package/dist/chunks/{git-ykq2zx65.js → model-yaycgkrs.js} +15 -15
- package/dist/chunks/{git-hqb90bek.js → model-ygs9mme0.js} +5 -5
- package/dist/chunks/{git-zn3xdhgm.js → model-yj7xv6w3.js} +4 -4
- package/dist/chunks/{git-tftvtmn6.js → model-yjtcy88h.js} +32 -32
- package/dist/chunks/{git-1ykawk59.js → model-ym21y5jk.js} +33 -33
- package/dist/chunks/{git-em4qz8cs.js → model-yped5gsp.js} +3 -3
- package/dist/chunks/{git-mtgw43mt.js → model-ys5rw1j9.js} +17 -17
- package/dist/chunks/{git-wesm6pcv.js → model-yxt1vjsj.js} +6 -6
- package/dist/chunks/{git-egnnm4z4.js → model-z00597qp.js} +36 -36
- package/dist/chunks/{git-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
- package/dist/chunks/{git-8fmcz4d2.js → model-z331bskf.js} +17 -17
- package/dist/chunks/{git-cth98fgx.js → model-z4fb5m0h.js} +48 -48
- package/dist/chunks/{git-wakmr75f.js → model-zcsfwz39.js} +44 -44
- package/dist/chunks/{git-taaecmrd.js → model-zd8we8qk.js} +8 -8
- package/dist/chunks/{git-2336b01z.js → model-ze5v0a14.js} +8 -8
- package/dist/chunks/{git-xvvg8evz.js → model-zg4hsa4e.js} +2 -2
- package/dist/chunks/{git-16apfsbq.js → model-zjze8qjc.js} +15 -15
- package/dist/chunks/{git-db35ckwp.js → model-znnhkqbd.js} +9 -9
- package/dist/chunks/{git-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
- package/dist/chunks/{git-2p5y98w0.js → model-zrs7pmt3.js} +6 -6
- package/dist/chunks/{git-he2r9q3j.js → model-zwp0h3pa.js} +17 -17
- package/dist/chunks/{git-zxq2ej10.js → model-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +214 -214
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +72 -72
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +69 -69
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +1 -1
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +74 -74
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +114 -114
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +114 -114
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +79 -79
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- 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 +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/model.d.ts +3 -0
- 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 +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/git-1x11rq2a.js +0 -18
- package/dist/chunks/git-pc7qqn66.js +0 -26
- /package/dist/chunks/{git-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{git-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{git-143qq2q9.js → model-143qq2q9.js} +0 -0
- /package/dist/chunks/{git-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{git-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{git-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{git-24dcb14g.js → model-24dcb14g.js} +0 -0
- /package/dist/chunks/{git-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{git-2axfhc9x.js → model-2axfhc9x.js} +0 -0
- /package/dist/chunks/{git-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{git-34c7v6d4.js → model-34c7v6d4.js} +0 -0
- /package/dist/chunks/{git-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{git-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{git-3t0ybcrp.js → model-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{git-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{git-3w5fmr99.js → model-3w5fmr99.js} +0 -0
- /package/dist/chunks/{git-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{git-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{git-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{git-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{git-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{git-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{git-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{git-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{git-6q2bdcd1.js → model-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{git-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{git-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{git-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{git-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{git-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{git-8wj87zfr.js → model-8wj87zfr.js} +0 -0
- /package/dist/chunks/{git-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{git-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{git-a6k6eb26.js → model-a6k6eb26.js} +0 -0
- /package/dist/chunks/{git-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{git-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{git-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{git-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{git-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{git-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{git-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{git-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{git-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{git-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{git-dajrwvna.js → model-dajrwvna.js} +0 -0
- /package/dist/chunks/{git-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{git-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{git-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{git-e3qxr5gk.js → model-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{git-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{git-e73j6tqm.js → model-e73j6tqm.js} +0 -0
- /package/dist/chunks/{git-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{git-eh3zwz77.js → model-eh3zwz77.js} +0 -0
- /package/dist/chunks/{git-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{git-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{git-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{git-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{git-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{git-fxgpk5d8.js → model-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{git-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{git-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{git-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{git-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{git-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{git-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{git-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{git-jjkms2e6.js → model-jjkms2e6.js} +0 -0
- /package/dist/chunks/{git-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{git-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{git-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{git-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{git-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{git-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{git-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{git-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{git-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{git-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{git-qaymkmh1.js → model-qaymkmh1.js} +0 -0
- /package/dist/chunks/{git-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{git-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{git-qg3g05ea.js → model-qg3g05ea.js} +0 -0
- /package/dist/chunks/{git-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{git-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{git-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{git-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{git-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{git-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{git-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{git-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{git-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{git-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{git-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{git-y8cydn3q.js → model-y8cydn3q.js} +0 -0
- /package/dist/chunks/{git-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{git-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{git-ym463w8f.js → model-ym463w8f.js} +0 -0
- /package/dist/chunks/{git-z5v4ffb3.js → model-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{git-z9919s4g.js → model-z9919s4g.js} +0 -0
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-16dgqdxz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./model-a7g6j6nx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service49
|
|
9
|
+
} from "./model-c8bydgjz.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError6,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-frxn4dna.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service51
|
|
29
|
+
} from "./model-04hfwksm.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service47
|
|
34
|
+
} from "./model-mzr0kwz3.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service45
|
|
37
|
+
} from "./model-gwbzj4wh.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./model-btwta0ay.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./model-2nxxz3xr.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./model-qt4mgnnm.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./model-m15b84sy.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./model-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make13
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
66
|
-
const bus = yield*
|
|
65
|
+
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
|
+
const bus = yield* Service81;
|
|
67
67
|
const database = yield* Service84;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service51;
|
|
69
|
+
const instances = yield* Service49;
|
|
70
|
+
const execution = yield* Service45;
|
|
71
|
+
const admission = yield* Service47;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError6({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make14 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service49, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make14 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service49, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service49, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service84, database), Effect.provideService(Service81, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service81, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -329,4 +329,4 @@ ${error.message}`,
|
|
|
329
329
|
return { forSession };
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { make13, exports_session2 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-xggz5yyf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./model-a7g6j6nx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID14,
|
|
9
9
|
OAuth3,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Event19,
|
|
11
|
+
Service70
|
|
12
|
+
} from "./model-sy1vayej.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-mxvxcxwy.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID12,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-qy0tcep6.js";
|
|
20
20
|
import {
|
|
21
21
|
which2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./model-qaymkmh1.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID11,
|
|
25
|
+
Service67
|
|
26
|
+
} from "./model-vk57bjhv.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
ID10
|
|
29
|
+
} from "./model-ym21y5jk.js";
|
|
30
30
|
import {
|
|
31
31
|
iife2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./model-1kg9ymc8.js";
|
|
33
33
|
import {
|
|
34
34
|
configuredSettings2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./model-g7yjevyk.js";
|
|
36
36
|
|
|
37
37
|
// src/plugin/provider/azure.ts
|
|
38
38
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -67,18 +67,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
67
67
|
}));
|
|
68
68
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
69
69
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
70
|
-
function
|
|
70
|
+
function make5(endpoints = {
|
|
71
71
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
72
72
|
management: "https://management.azure.com"
|
|
73
73
|
}) {
|
|
74
74
|
return define({
|
|
75
75
|
id: "opencode.provider.azure",
|
|
76
76
|
effect: Effect.fn(function* (ctx) {
|
|
77
|
-
const configured = yield* configuredSettings2(
|
|
77
|
+
const configured = yield* configuredSettings2(ID11.azure);
|
|
78
78
|
const processes = yield* AppProcess.Service;
|
|
79
|
-
const bus = yield*
|
|
80
|
-
const credentials = yield*
|
|
81
|
-
const providers = yield*
|
|
79
|
+
const bus = yield* Service81;
|
|
80
|
+
const credentials = yield* Service70;
|
|
81
|
+
const providers = yield* Service67;
|
|
82
82
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
83
83
|
const tokens = new Map;
|
|
84
84
|
const resourceIDs = new Map;
|
|
@@ -116,13 +116,13 @@ function make3(endpoints = {
|
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.integration.transform((editor) => {
|
|
118
118
|
editor.method.update({
|
|
119
|
-
integrationID:
|
|
119
|
+
integrationID: ID11.azure,
|
|
120
120
|
method: { type: "key", label: "API key", form: form() }
|
|
121
121
|
});
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID11.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "oauth",
|
|
@@ -152,8 +152,8 @@ function make3(endpoints = {
|
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
154
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
155
|
-
const connection = yield* ctx.integration.connection.active(
|
|
156
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
155
|
+
const connection = yield* ctx.integration.connection.active(ID11.azure);
|
|
156
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID14.make(connection.id)) : undefined;
|
|
157
157
|
return { connection, resource: credentialResource(stored?.value) };
|
|
158
158
|
});
|
|
159
159
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -192,7 +192,7 @@ function make3(endpoints = {
|
|
|
192
192
|
}));
|
|
193
193
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
194
194
|
const connection = loaded.connection;
|
|
195
|
-
const settings = (yield* providers.get(
|
|
195
|
+
const settings = (yield* providers.get(ID11.azure))?.settings;
|
|
196
196
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
197
197
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
198
198
|
if (loaded.connection !== connection)
|
|
@@ -214,11 +214,11 @@ function make3(endpoints = {
|
|
|
214
214
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
215
215
|
if (!found)
|
|
216
216
|
return;
|
|
217
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
217
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID11.azure)))
|
|
218
218
|
return;
|
|
219
219
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
220
220
|
return;
|
|
221
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
221
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID11.azure)?.models.keys() ?? [], (id) => [
|
|
222
222
|
id.toLowerCase(),
|
|
223
223
|
id
|
|
224
224
|
]));
|
|
@@ -231,11 +231,11 @@ function make3(endpoints = {
|
|
|
231
231
|
yield* ctx.model.reload();
|
|
232
232
|
});
|
|
233
233
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
234
|
-
const resourceFor = (provider) => provider.id ===
|
|
234
|
+
const resourceFor = (provider) => provider.id === ID11.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
235
235
|
Object.assign(loaded, yield* load());
|
|
236
236
|
yield* ctx.provider.transform((evt) => {
|
|
237
237
|
for (const item of evt.list()) {
|
|
238
|
-
if (item.provider.id !==
|
|
238
|
+
if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
239
239
|
continue;
|
|
240
240
|
const resourceName = resourceFor(item.provider);
|
|
241
241
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -250,7 +250,7 @@ function make3(endpoints = {
|
|
|
250
250
|
};
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
-
const item = evt.get(
|
|
253
|
+
const item = evt.get(ID11.azure);
|
|
254
254
|
if (!item)
|
|
255
255
|
return;
|
|
256
256
|
evt.add({
|
|
@@ -261,7 +261,7 @@ function make3(endpoints = {
|
|
|
261
261
|
});
|
|
262
262
|
yield* ctx.model.transform((models) => {
|
|
263
263
|
for (const item of models.provider.list()) {
|
|
264
|
-
if (item.provider.id !==
|
|
264
|
+
if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
265
265
|
continue;
|
|
266
266
|
const resourceName = resourceFor(item.provider);
|
|
267
267
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -273,20 +273,20 @@ function make3(endpoints = {
|
|
|
273
273
|
}
|
|
274
274
|
if (!loaded.deployments)
|
|
275
275
|
return;
|
|
276
|
-
const catalog = models.list(
|
|
276
|
+
const catalog = models.list(ID11.azure);
|
|
277
277
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
278
278
|
for (const model of catalog) {
|
|
279
279
|
if (!deployed.has(model.id))
|
|
280
|
-
models.remove(
|
|
280
|
+
models.remove(ID11.azure, model.id);
|
|
281
281
|
}
|
|
282
282
|
for (const [id, model] of deployed) {
|
|
283
|
-
models.update(
|
|
283
|
+
models.update(ID11.azure, id, (draft) => Object.assign(draft, model));
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
|
-
yield* bus.subscribe(
|
|
286
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
287
287
|
yield* refresh().pipe(Effect.forkScoped);
|
|
288
288
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
289
|
-
const connection = yield* ctx.integration.connection.active(
|
|
289
|
+
const connection = yield* ctx.integration.connection.active(ID11.azure);
|
|
290
290
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
291
291
|
return;
|
|
292
292
|
})) : undefined;
|
|
@@ -298,7 +298,7 @@ function make3(endpoints = {
|
|
|
298
298
|
return `Bearer ${current.access}`;
|
|
299
299
|
});
|
|
300
300
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
301
|
-
if (evt.model.providerID !==
|
|
301
|
+
if (evt.model.providerID !== ID11.azure)
|
|
302
302
|
return;
|
|
303
303
|
const authorization = yield* bearer(evt.request.url);
|
|
304
304
|
if (!authorization)
|
|
@@ -307,9 +307,9 @@ function make3(endpoints = {
|
|
|
307
307
|
evt.request.headers.delete("x-api-key");
|
|
308
308
|
evt.request.headers.set("authorization", authorization);
|
|
309
309
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
310
|
-
}), { providerID:
|
|
310
|
+
}), { providerID: ID11.azure });
|
|
311
311
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
312
|
-
if (evt.model.providerID !==
|
|
312
|
+
if (evt.model.providerID !== ID11.azure)
|
|
313
313
|
return;
|
|
314
314
|
const authorization = yield* bearer(evt.url);
|
|
315
315
|
if (!authorization)
|
|
@@ -318,11 +318,11 @@ function make3(endpoints = {
|
|
|
318
318
|
delete evt.headers["x-api-key"];
|
|
319
319
|
evt.headers.authorization = authorization;
|
|
320
320
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
321
|
-
}), { providerID:
|
|
321
|
+
}), { providerID: ID11.azure });
|
|
322
322
|
})
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
var AzurePlugin2 =
|
|
325
|
+
var AzurePlugin2 = make5();
|
|
326
326
|
function resolveResourceName(settings, fallback) {
|
|
327
327
|
const configured = settings?.resourceName;
|
|
328
328
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -352,11 +352,11 @@ function deployedModels(deployments, catalog) {
|
|
|
352
352
|
const model = catalogModel(models, deployment);
|
|
353
353
|
if (!model)
|
|
354
354
|
return [];
|
|
355
|
-
const id =
|
|
355
|
+
const id = ID10.make(deployment.name.toLowerCase());
|
|
356
356
|
const info = {
|
|
357
357
|
...structuredClone(model),
|
|
358
358
|
id,
|
|
359
|
-
modelID:
|
|
359
|
+
modelID: ID10.make(deployment.name),
|
|
360
360
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
361
361
|
};
|
|
362
362
|
return [[id, info]];
|
|
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
378
378
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
-
export {
|
|
381
|
+
export { make5, AzurePlugin2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./model-a7g6j6nx.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-mxvxcxwy.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event19
|
|
9
|
+
} from "./model-sy1vayej.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID12
|
|
12
|
+
} from "./model-qy0tcep6.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID11,
|
|
15
|
+
Service67
|
|
16
|
+
} from "./model-vk57bjhv.js";
|
|
17
17
|
import {
|
|
18
18
|
load3,
|
|
19
19
|
derive3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-xzh9enxw.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID11.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service67;
|
|
30
|
+
const bus = yield* Service81;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -67,7 +67,7 @@ var ModalPlugin2 = define({
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-16dgqdxz.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./model-a7g6j6nx.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID14,
|
|
25
|
+
Info: () => Info24,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service70,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node73
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID14 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info24 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID14,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service70 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service84).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service81;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info24({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service70.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id: input.id ??
|
|
79
|
+
const credential = new Info24({
|
|
80
|
+
id: input.id ?? ID14.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -108,9 +108,9 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
108
108
|
type: credential.value.type,
|
|
109
109
|
active: activated
|
|
110
110
|
});
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
112
112
|
if (activated)
|
|
113
|
-
yield* bus.publish(
|
|
113
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
114
114
|
return credential;
|
|
115
115
|
}),
|
|
116
116
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
130
130
|
})), Effect.orDie);
|
|
131
131
|
if (integrationID) {
|
|
132
132
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
133
|
-
yield* bus.publish(
|
|
133
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
134
134
|
}
|
|
135
135
|
}),
|
|
136
136
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -162,7 +162,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
162
162
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
163
163
|
});
|
|
164
164
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
165
|
-
yield* bus.publish(
|
|
165
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
166
166
|
}),
|
|
167
167
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
168
168
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -195,12 +195,12 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
195
195
|
active: removed.switched,
|
|
196
196
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
197
197
|
});
|
|
198
|
-
yield* bus.publish(
|
|
198
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
199
199
|
if (removed.switched)
|
|
200
|
-
yield* bus.publish(
|
|
200
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
203
|
}));
|
|
204
|
-
var
|
|
204
|
+
var node73 = makeGlobalNode({ service: Service70, layer, deps: [node88, node85] });
|
|
205
205
|
|
|
206
|
-
export {
|
|
206
|
+
export { ID14, OAuth3, Key4, Value2, Event19, Info24, Service70, node73, exports_credential };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service28,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer10,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node32
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service28 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service31, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service28.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer10 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node32 = makeGlobalNode({ service: Service28, layer: layer10, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service28, makeLayer2, layer10, node32, exports_model_transport };
|