@opencode/core 0.0.0-dev-19986 → 0.0.0-dev-19987
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{model-qeaksvd1.js → state-07pd4vcj.js} +10 -10
- package/dist/chunks/{model-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-0q0f95c6.js → state-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-b00xhfda.js → state-12n9xz34.js} +7 -7
- package/dist/chunks/{model-f32czd11.js → state-13ggeyh8.js} +11 -11
- package/dist/chunks/{model-z1hxv11z.js → state-14xcjfaz.js} +25 -25
- package/dist/chunks/{model-r8xr0va3.js → state-1acjjqhc.js} +4 -4
- package/dist/chunks/{model-1bbkgx8g.js → state-1bbkgx8g.js} +1 -1
- package/dist/chunks/{model-gcd43y7x.js → state-1chcdynj.js} +17 -17
- package/dist/chunks/{model-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-5bqdc31q.js → state-1j9zc48m.js} +3 -3
- package/dist/chunks/state-1tm0r3ht.js +4 -0
- package/dist/chunks/{model-1ygqh575.js → state-1ygqh575.js} +2 -2
- package/dist/chunks/{model-21r38tys.js → state-21r38tys.js} +1 -1
- package/dist/chunks/{model-6h73sxmp.js → state-2402vzrj.js} +5 -5
- package/dist/chunks/{model-j3s2z371.js → state-24dd53tp.js} +9 -9
- package/dist/chunks/{model-prkj3g34.js → state-24r7k6mc.js} +18 -18
- package/dist/chunks/{model-xxynqx5z.js → state-256nx13v.js} +3 -3
- package/dist/chunks/{model-cjwramev.js → state-258tza17.js} +6 -6
- package/dist/chunks/{model-2kkjm1by.js → state-26makf88.js} +39 -39
- package/dist/chunks/{model-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-0hf9g8pg.js → state-2a6rn6yr.js} +6 -6
- package/dist/chunks/{model-7rqh2ctm.js → state-2cqnphx6.js} +11 -11
- package/dist/chunks/{model-7fafv5n6.js → state-2df1zbc2.js} +30 -30
- package/dist/chunks/{model-h9dz8fj7.js → state-2e69wwha.js} +32 -32
- package/dist/chunks/{model-mxx22ze4.js → state-2fmt93mx.js} +9 -9
- package/dist/chunks/{model-a6zskm12.js → state-35k05k98.js} +31 -31
- package/dist/chunks/{model-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-qdbakdjh.js → state-3j9bgvtg.js} +5 -5
- package/dist/chunks/{model-rwy8m34b.js → state-3p323ymy.js} +5 -5
- package/dist/chunks/{model-hzvbkkwq.js → state-3rgktn1y.js} +5 -5
- package/dist/chunks/{model-x6348xh2.js → state-3sdc9e54.js} +11 -11
- package/dist/chunks/{model-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-4rdqryht.js → state-40rc7ac6.js} +5 -5
- package/dist/chunks/{model-m0ecvezt.js → state-43n7bj9p.js} +16 -16
- package/dist/chunks/{model-fkjmw100.js → state-44ke2mar.js} +6 -6
- package/dist/chunks/{model-4dgbcxzg.js → state-4dgbcxzg.js} +1 -1
- package/dist/chunks/{model-r76rkyqz.js → state-4dyvnqdf.js} +4 -4
- package/dist/chunks/{model-fh25xc84.js → state-4jm74est.js} +23 -23
- package/dist/chunks/{model-tygxfmr3.js → state-4rzsfdgf.js} +10 -10
- package/dist/chunks/{model-81swgkk7.js → state-4sn99hha.js} +7 -7
- package/dist/chunks/{model-7n4gz87d.js → state-4vpwrdft.js} +12 -12
- package/dist/chunks/{model-6xvp8w0a.js → state-4ysqm8zf.js} +18 -18
- package/dist/chunks/{model-pm021q3e.js → state-54tz6as1.js} +9 -9
- package/dist/chunks/{model-ctmp0cgk.js → state-567a7rs0.js} +30 -30
- package/dist/chunks/{model-0asf0tv2.js → state-589961pp.js} +35 -35
- package/dist/chunks/{model-csf2jhsg.js → state-5c0f1prt.js} +4 -4
- package/dist/chunks/{model-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{model-vkvppane.js → state-5g1k2x2w.js} +19 -19
- package/dist/chunks/{model-gfvsdv7e.js → state-5gt7xfyw.js} +9 -9
- package/dist/chunks/{model-e3qxr5gk.js → state-5qd3pb7m.js} +2 -2
- package/dist/chunks/{model-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-c4szcb1p.js → state-5vyyk18a.js} +25 -25
- package/dist/chunks/{model-9hn6k4tm.js → state-5yzzbxa7.js} +8 -8
- package/dist/chunks/{model-sv1t6xhr.js → state-63xxrs1k.js} +5 -5
- package/dist/chunks/{model-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{model-1dvkw6kv.js → state-68bmj4r5.js} +24 -24
- package/dist/chunks/{model-6msgmcgs.js → state-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-mrkn01vt.js → state-6wdhtwwf.js} +21 -21
- package/dist/chunks/{model-gr7kh44d.js → state-774g8ja7.js} +11 -11
- package/dist/chunks/{model-43y4pgnj.js → state-7a0djmqj.js} +3 -3
- package/dist/chunks/{model-2hj9r0q6.js → state-7bazm11g.js} +46 -46
- package/dist/chunks/{model-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-1vnz04j6.js → state-7bx1s60a.js} +95 -95
- package/dist/chunks/{model-szsw9c27.js → state-7e0d1mpp.js} +3 -3
- package/dist/chunks/{model-gjrpp66z.js → state-7hvzkmeb.js} +11 -11
- package/dist/chunks/{model-7w3s9kd0.js → state-7w3s9kd0.js} +1 -1
- package/dist/chunks/{model-09bq7etx.js → state-82gwmp8p.js} +13 -13
- package/dist/chunks/{model-376qmtdk.js → state-85e1v2sb.js} +16 -16
- package/dist/chunks/{model-tcezcvh9.js → state-89znhe33.js} +4 -4
- package/dist/chunks/{model-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-mg0wqdec.js → state-8h1rar5v.js} +26 -26
- package/dist/chunks/{model-7v1f06d3.js → state-8nar0chc.js} +12 -12
- package/dist/chunks/{model-dj2t23y0.js → state-8p4f9s12.js} +2 -2
- package/dist/chunks/{model-yv2nec7k.js → state-8xz4k282.js} +13 -13
- package/dist/chunks/{model-b0g5qfh4.js → state-920akmr8.js} +13 -13
- package/dist/chunks/{model-ce5fknq2.js → state-94s48bjb.js} +5 -5
- package/dist/chunks/{model-3nyzas2y.js → state-969v6yxw.js} +4 -4
- package/dist/chunks/{model-0vqy8ggk.js → state-9a3ps1ng.js} +60 -60
- package/dist/chunks/{model-911xaqx0.js → state-9a5q7tkv.js} +24 -24
- package/dist/chunks/{model-qvm8zske.js → state-9bt3zpnc.js} +46 -46
- package/dist/chunks/{model-k1eqknct.js → state-9gsqbh9p.js} +15 -15
- package/dist/chunks/{model-36tt9758.js → state-9q1s0tyn.js} +15 -15
- package/dist/chunks/{model-qwh6hz7y.js → state-9wev4xx9.js} +10 -10
- package/dist/chunks/{model-tnvaxyve.js → state-9x6v8nxw.js} +25 -25
- package/dist/chunks/{model-5c4hm403.js → state-a1bz86dw.js} +3 -3
- package/dist/chunks/{model-ac4jjyh9.js → state-a549hgdk.js} +22 -22
- package/dist/chunks/{model-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/state-aee32p22.js +252 -0
- package/dist/chunks/{model-nxhqveyz.js → state-af04s6ss.js} +5 -5
- package/dist/chunks/{model-ry0fdc19.js → state-aj2z9raa.js} +1 -1
- package/dist/chunks/{model-11dqjexa.js → state-ajdjch6h.js} +9 -9
- package/dist/chunks/{model-mh1qkymb.js → state-ajvrh1yc.js} +4 -4
- package/dist/chunks/{model-2jxgcw4v.js → state-amgg2zvk.js} +10 -10
- package/dist/chunks/{model-85qenhzt.js → state-axpfp605.js} +37 -37
- package/dist/chunks/{model-jxdt7bj1.js → state-b25x8xnb.js} +2 -2
- package/dist/chunks/{model-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-8xb42w3d.js → state-b7ew3pv2.js} +68 -68
- package/dist/chunks/{model-vp67155v.js → state-bbfste2n.js} +6 -6
- package/dist/chunks/{model-s05x4jm2.js → state-beg6ypph.js} +23 -23
- package/dist/chunks/{model-38zbz3tv.js → state-bxa5630a.js} +9 -9
- package/dist/chunks/{model-rq7amxn9.js → state-bzbmf0ke.js} +22 -22
- package/dist/chunks/{model-bt0xyq03.js → state-ccfnnbbv.js} +11 -11
- package/dist/chunks/{model-zmekhh4v.js → state-cdzfnnfc.js} +6 -6
- package/dist/chunks/{model-m0jqrx5p.js → state-cfpkc3c9.js} +2 -2
- package/dist/chunks/{model-fab8hzt3.js → state-cq37gk0t.js} +4 -4
- package/dist/chunks/{model-cpy6gm2a.js → state-cqg8v4c7.js} +6 -6
- package/dist/chunks/{model-mgtgxz5r.js → state-cvfdeyxj.js} +17 -17
- package/dist/chunks/{model-kwrjnxj7.js → state-dedzzeqk.js} +9 -9
- package/dist/chunks/{model-kqsk5bay.js → state-dfeghqnh.js} +15 -15
- package/dist/chunks/{model-k7kjyac2.js → state-dsambs2d.js} +1 -1
- package/dist/chunks/{model-3aq06pgr.js → state-dsybc7nn.js} +15 -15
- package/dist/chunks/{model-1kf1zw0p.js → state-dx8srcfp.js} +27 -27
- package/dist/chunks/{model-02x3fxhb.js → state-e0j28ztz.js} +14 -14
- package/dist/chunks/{model-68y7phbn.js → state-e23w9d35.js} +12 -12
- package/dist/chunks/{model-5z7mvqc9.js → state-e2ntgy55.js} +10 -10
- package/dist/chunks/{model-mjqa7j4g.js → state-e2qnmkmv.js} +16 -16
- package/dist/chunks/{model-yynber98.js → state-e5fdxfkw.js} +10 -10
- package/dist/chunks/{model-kst9mf61.js → state-ec6wrcn5.js} +31 -31
- package/dist/chunks/{model-3ythc6yv.js → state-ec87kc5z.js} +4 -4
- package/dist/chunks/{model-0qxdwqj8.js → state-ecneytc0.js} +19 -19
- package/dist/chunks/{model-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-hckbve9z.js → state-ejwjq12k.js} +33 -33
- package/dist/chunks/{model-erw5rpbs.js → state-erw5rpbs.js} +2 -2
- package/dist/chunks/{model-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-wb2crypr.js → state-f35htakt.js} +9 -9
- package/dist/chunks/{model-axmvebxj.js → state-f3ngv102.js} +21 -21
- package/dist/chunks/{model-hdnk95c8.js → state-f828m53h.js} +2 -2
- package/dist/chunks/{model-as3fcxs1.js → state-fa2zpvfy.js} +82 -82
- package/dist/chunks/{model-f5gy8qwh.js → state-fw2v9256.js} +8 -8
- package/dist/chunks/{model-fxbjtjnd.js → state-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-kbsrxwde.js → state-g4dbe96p.js} +23 -23
- package/dist/chunks/{model-r097esf4.js → state-g61g38x8.js} +20 -20
- package/dist/chunks/{model-1kpjy7fz.js → state-g6rzw7q6.js} +25 -25
- package/dist/chunks/{model-wgczap0h.js → state-g82jw6gg.js} +4 -4
- package/dist/chunks/{model-4ywpd5fw.js → state-gc4k3fky.js} +16 -16
- package/dist/chunks/{model-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-cbyzv88m.js → state-ggcakazf.js} +11 -11
- package/dist/chunks/{model-cpneeje0.js → state-gjwgx2c5.js} +9 -9
- package/dist/chunks/{model-744mfh37.js → state-gmgjpvnn.js} +37 -37
- package/dist/chunks/{model-4x08tbr8.js → state-gnrsfd5m.js} +30 -30
- package/dist/chunks/{model-9r166ngg.js → state-grehnhs0.js} +5 -5
- package/dist/chunks/{model-bn88dpwe.js → state-grp8hrc0.js} +5 -5
- package/dist/chunks/{model-g7q8d3rw.js → state-gsm7z1g1.js} +13 -13
- package/dist/chunks/{model-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-7e8yzj3r.js → state-h3c9f1nz.js} +11 -11
- package/dist/chunks/{model-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-qdkgm6eb.js → state-h7dhztqn.js} +30 -30
- package/dist/chunks/{model-rw2zfnw1.js → state-hcp58akx.js} +39 -39
- package/dist/chunks/{model-x3eddfcp.js → state-hk9vqsvv.js} +11 -11
- package/dist/chunks/{model-0h34xgtp.js → state-hkcwzywy.js} +29 -29
- package/dist/chunks/{model-1984k6t2.js → state-j2e42xvh.js} +17 -17
- package/dist/chunks/{model-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{model-jea9yeya.js → state-jdwnx8pe.js} +41 -41
- package/dist/chunks/{model-yh63eb9v.js → state-jf72b1az.js} +26 -26
- package/dist/chunks/{model-4817rykz.js → state-jf8j6bh6.js} +7 -7
- package/dist/chunks/{model-b5yj1c48.js → state-jjd79y98.js} +17 -17
- package/dist/chunks/{model-z1eznz97.js → state-jmp1cgqn.js} +32 -32
- package/dist/chunks/state-jqh9b0xq.js +18 -0
- package/dist/chunks/{model-ebdyxsk8.js → state-jt5zqcnj.js} +22 -22
- package/dist/chunks/{model-j7ym9e45.js → state-jv4eadh7.js} +5 -5
- package/dist/chunks/{model-dpkg50ah.js → state-jwcy2c2z.js} +4 -4
- package/dist/chunks/{model-jck6t8kb.js → state-jxkpjs94.js} +47 -47
- package/dist/chunks/{model-nzks3jc8.js → state-k3c624dm.js} +3 -3
- package/dist/chunks/{model-te4j4s1y.js → state-k5ecf9q0.js} +41 -41
- package/dist/chunks/{model-9ga41e26.js → state-k9eqq2e9.js} +17 -17
- package/dist/chunks/{model-ajmr5gq8.js → state-kd9z5t9k.js} +58 -58
- package/dist/chunks/{model-2kpwbvjk.js → state-khdh8nas.js} +28 -28
- package/dist/chunks/{model-m3fdjcah.js → state-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-ze5v0a14.js → state-m3zza4qd.js} +8 -8
- package/dist/chunks/{model-ky3seynh.js → state-m7va1g8x.js} +2 -2
- package/dist/chunks/{model-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-xnr76jvj.js → state-maj0r7ss.js} +23 -23
- package/dist/chunks/{model-09ez71p6.js → state-mb0j4q21.js} +8 -8
- package/dist/chunks/{model-efdt01wf.js → state-mgaev69e.js} +19 -19
- package/dist/chunks/{model-acyp9nmy.js → state-mvbvb2ym.js} +4 -4
- package/dist/chunks/{model-y94sa969.js → state-n0h0amn2.js} +24 -24
- package/dist/chunks/{model-zrsgf04b.js → state-n3xehdaz.js} +10 -10
- package/dist/chunks/{model-h9x5fspw.js → state-nbhnp41v.js} +16 -16
- package/dist/chunks/{model-9dnmtttn.js → state-ncvzejv0.js} +21 -21
- package/dist/chunks/{model-t1fsmxc3.js → state-nejw5358.js} +32 -32
- package/dist/chunks/{model-cdpzgvn4.js → state-nfafr5xt.js} +9 -9
- package/dist/chunks/{model-zy42tfqg.js → state-nj0t66hd.js} +9 -9
- package/dist/chunks/{model-x816vrn9.js → state-p0smjn4a.js} +34 -34
- package/dist/chunks/{model-tbz0fdvh.js → state-p28j5sbe.js} +5 -5
- package/dist/chunks/{model-hmw3pr0d.js → state-p6hvzet5.js} +3 -3
- package/dist/chunks/{model-gdnmvhtd.js → state-p7kban1t.js} +25 -25
- package/dist/chunks/{model-8dn5gfvq.js → state-pdb37evm.js} +10 -10
- package/dist/chunks/{model-xfjax5kj.js → state-phjaars8.js} +6 -6
- package/dist/chunks/{model-sjb5616m.js → state-pjd8p6gf.js} +38 -38
- package/dist/chunks/{model-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{model-qwjmgwmn.js → state-pnaxc6j9.js} +8 -8
- package/dist/chunks/{model-zkj5scrh.js → state-pnrmr4rz.js} +5 -5
- package/dist/chunks/{model-y3ss1vq6.js → state-pwr8kbjj.js} +12 -12
- package/dist/chunks/{model-yw7r4j3y.js → state-q8m5at2c.js} +3 -3
- package/dist/chunks/{model-3c2za3af.js → state-qbke3kgq.js} +24 -24
- package/dist/chunks/{model-b1rwpjt2.js → state-qdjw24f7.js} +33 -33
- package/dist/chunks/{model-yhhb1kw1.js → state-qe2799nx.js} +23 -23
- package/dist/chunks/{model-2k8khapm.js → state-qgn6gcr1.js} +5 -5
- package/dist/chunks/{model-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{model-xngczjm7.js → state-qt4daa5e.js} +36 -36
- package/dist/chunks/{model-y1qqcj8h.js → state-qvb3nf84.js} +8 -8
- package/dist/chunks/{model-szck2fw2.js → state-qvtz2jxg.js} +8 -8
- package/dist/chunks/{model-7z8m4jdr.js → state-r6zy1qmr.js} +12 -12
- package/dist/chunks/{model-r98e92ep.js → state-r98e92ep.js} +1 -1
- package/dist/chunks/{model-a2ew8a62.js → state-ratrq7cm.js} +4 -4
- package/dist/chunks/{model-vnrw16qp.js → state-rdvzw9t8.js} +17 -17
- package/dist/chunks/{model-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-rhjbct0v.js → state-rhjbct0v.js} +1 -1
- package/dist/chunks/{model-5k87bj0k.js → state-rs95eanb.js} +34 -34
- package/dist/chunks/{model-ynv8jnc3.js → state-rvaqgq0f.js} +4 -4
- package/dist/chunks/{model-fm317nwr.js → state-rzd4jsfj.js} +14 -14
- package/dist/chunks/{model-fawkavha.js → state-s3qbv9e3.js} +12 -12
- package/dist/chunks/{model-5tpwjqwz.js → state-s418py6z.js} +35 -35
- package/dist/chunks/{model-f50x3b3s.js → state-s8a6xw4k.js} +13 -13
- package/dist/chunks/{model-q91y1k20.js → state-sat5e2rs.js} +6 -6
- package/dist/chunks/{model-0y5n2msm.js → state-satmk7yw.js} +5 -5
- package/dist/chunks/{model-nqkhhm1a.js → state-shqb7w7j.js} +11 -11
- package/dist/chunks/{model-8rps6qd7.js → state-stxdqzsk.js} +25 -25
- package/dist/chunks/{model-pdbha7qx.js → state-t8rwn89y.js} +43 -43
- package/dist/chunks/{model-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-dpwc31n5.js → state-td6ehhd6.js} +20 -20
- package/dist/chunks/{model-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{model-vbfgae2j.js → state-tjedn1bk.js} +4 -4
- package/dist/chunks/{model-40k8kmwx.js → state-tkwnk4jh.js} +7 -7
- package/dist/chunks/{model-2qp6y8xf.js → state-tn0aqsam.js} +5 -5
- package/dist/chunks/{model-jxd6phk9.js → state-tnwmy3fn.js} +3 -3
- package/dist/chunks/{model-gwc5p263.js → state-tpjhxhtx.js} +3 -3
- package/dist/chunks/{model-tvtrv512.js → state-tvtrv512.js} +1 -1
- package/dist/chunks/{model-b05n7962.js → state-tz4g707y.js} +33 -33
- package/dist/chunks/{model-0w0pfv64.js → state-v51m7ygs.js} +8 -8
- package/dist/chunks/{model-0arxtjdz.js → state-vcb4zatg.js} +7 -7
- package/dist/chunks/{model-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{model-qnttz4bc.js → state-vfqx7caj.js} +13 -13
- package/dist/chunks/{model-bba39dcq.js → state-vjbq76n5.js} +24 -24
- package/dist/chunks/{model-3trq1tgd.js → state-vmea8g6y.js} +13 -13
- package/dist/chunks/{model-9xwr79ss.js → state-vmvde4w9.js} +16 -16
- package/dist/chunks/{model-dr7gxcgm.js → state-vq0pq1hf.js} +10 -10
- package/dist/chunks/{model-821c2grm.js → state-vsgqqedx.js} +12 -12
- package/dist/chunks/{model-80vk4pbp.js → state-vtt0yr3x.js} +12 -12
- package/dist/chunks/{model-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-w1gdqckm.js → state-w1vgrpj6.js} +6 -6
- package/dist/chunks/{model-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-rf8gwv68.js → state-w94gdkfg.js} +9 -9
- package/dist/chunks/{model-k9a0313z.js → state-wavy99wc.js} +11 -11
- package/dist/chunks/{model-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{model-kt6y54za.js → state-wday4843.js} +11 -11
- package/dist/chunks/{model-rdm5x9bh.js → state-ww9qvp54.js} +5 -5
- package/dist/chunks/{model-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-agxh3jj7.js → state-x392k3xw.js} +15 -15
- package/dist/chunks/{model-n3khnxxm.js → state-x6zehq8q.js} +26 -26
- package/dist/chunks/{model-s5kb3k8e.js → state-x704vwdd.js} +12 -12
- package/dist/chunks/{model-drwq78ky.js → state-xfkkasph.js} +4 -4
- package/dist/chunks/{model-233tjdzm.js → state-xgq75542.js} +4 -4
- package/dist/chunks/{model-99ggta0x.js → state-xk69ahjq.js} +169 -169
- package/dist/chunks/{model-22dh126j.js → state-xns7fgqg.js} +6 -6
- package/dist/chunks/{model-x9hs8p79.js → state-xsjeyn3d.js} +15 -15
- package/dist/chunks/{model-3n7m2hk2.js → state-xxbqrttr.js} +27 -27
- package/dist/chunks/{model-0hna2yy5.js → state-xzx5fa3q.js} +49 -49
- package/dist/chunks/{model-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-m5hyj67z.js → state-ydm596x3.js} +14 -14
- package/dist/chunks/{model-tj1f8e25.js → state-ye639aav.js} +15 -15
- package/dist/chunks/{model-510m7gjw.js → state-yjptyezs.js} +5 -5
- package/dist/chunks/{model-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-s4enseaf.js → state-yrznvahk.js} +2 -2
- package/dist/chunks/{model-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-r014f9z3.js → state-z24r31ms.js} +22 -22
- package/dist/chunks/{model-7zc7y866.js → state-z2v46jm6.js} +25 -25
- package/dist/chunks/{model-mphgtbj1.js → state-z3nay82g.js} +9 -9
- package/dist/chunks/{model-hk86mw2f.js → state-z45g6xtg.js} +304 -304
- package/dist/chunks/{model-29x78va6.js → state-z63w68vq.js} +6 -6
- package/dist/chunks/{model-zeh9ct20.js → state-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-zbpatq1k.js → state-zepzj8t0.js} +28 -28
- package/dist/chunks/{model-3r1htj1f.js → state-zghndv56.js} +25 -25
- package/dist/chunks/{model-6drgx612.js → state-zh2phv9k.js} +10 -10
- package/dist/chunks/{model-jpeemenq.js → state-zh7z2axx.js} +4 -4
- package/dist/chunks/{model-ts2x07a1.js → state-zhq6vg7a.js} +1 -1
- package/dist/chunks/{model-ey7qv34p.js → state-zj8f3y17.js} +27 -27
- package/dist/chunks/{model-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-baaqp4zd.js → state-zvt5dnpc.js} +4 -4
- package/dist/chunks/{model-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-0kxajatb.js → state-zz26p3g5.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +76 -76
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +73 -73
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +84 -84
- package/dist/generate.js +104 -104
- 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 +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +84 -84
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +74 -74
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +95 -95
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- 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-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +92 -92
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +103 -103
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +1 -1
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/model-0mesazry.js +0 -4
- package/dist/chunks/model-h2z4ejvh.js +0 -252
- package/dist/chunks/model-vsdyktar.js +0 -18
- /package/dist/chunks/{model-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-922hggd3.js → state-922hggd3.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-twg0f83k.js → state-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,131 +1,131 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node53
|
|
4
|
+
} from "./state-zh2phv9k.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./state-s3qbv9e3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID10,
|
|
11
|
+
Service71,
|
|
12
|
+
node75
|
|
13
|
+
} from "./state-dx8srcfp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID15,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./state-jt5zqcnj.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID13,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
23
|
Service74,
|
|
24
24
|
node78
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./state-dsybc7nn.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./state-922hggd3.js";
|
|
29
29
|
import {
|
|
30
30
|
Info31,
|
|
31
31
|
Ref4,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service78,
|
|
33
|
+
node82
|
|
34
|
+
} from "./state-e0j28ztz.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
36
|
+
ID12,
|
|
37
37
|
Service73,
|
|
38
38
|
node77
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./state-z24r31ms.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service64,
|
|
42
|
+
node68
|
|
43
|
+
} from "./state-3sdc9e54.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
45
|
+
Service38,
|
|
46
|
+
node41
|
|
47
|
+
} from "./state-zghndv56.js";
|
|
48
48
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
49
|
+
Service83,
|
|
50
|
+
node87
|
|
51
|
+
} from "./state-07pd4vcj.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service77,
|
|
54
|
+
node81
|
|
55
|
+
} from "./state-nfafr5xt.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
57
|
+
ID11,
|
|
58
58
|
Service72,
|
|
59
59
|
node76
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./state-n0h0amn2.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
62
|
+
ID6
|
|
63
|
+
} from "./state-8h1rar5v.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./
|
|
65
|
+
Service32,
|
|
66
|
+
node36
|
|
67
|
+
} from "./state-t8rwn89y.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
69
|
+
Service70,
|
|
70
|
+
node74
|
|
71
|
+
} from "./state-pnaxc6j9.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
73
|
+
Service67,
|
|
74
|
+
node71
|
|
75
|
+
} from "./state-9a3ps1ng.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
77
|
+
Service42,
|
|
78
|
+
node45
|
|
79
|
+
} from "./state-p7kban1t.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
81
|
+
Source3,
|
|
82
|
+
Service50,
|
|
83
|
+
node52
|
|
84
|
+
} from "./state-35k05k98.js";
|
|
85
85
|
import {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
86
|
+
Info9,
|
|
87
|
+
Service51,
|
|
88
|
+
node54
|
|
89
|
+
} from "./state-x6zehq8q.js";
|
|
90
90
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
} from "./
|
|
91
|
+
Service25,
|
|
92
|
+
node28
|
|
93
|
+
} from "./state-7bx1s60a.js";
|
|
94
94
|
import {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./
|
|
95
|
+
Service19,
|
|
96
|
+
node22
|
|
97
|
+
} from "./state-ec6wrcn5.js";
|
|
98
98
|
import {
|
|
99
99
|
Service24,
|
|
100
100
|
node27
|
|
101
|
-
} from "./
|
|
101
|
+
} from "./state-8nar0chc.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service14,
|
|
104
|
+
node17
|
|
105
|
+
} from "./state-4jm74est.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
} from "./
|
|
107
|
+
ID3,
|
|
108
|
+
Service23,
|
|
109
|
+
node26
|
|
110
|
+
} from "./state-qe2799nx.js";
|
|
111
111
|
import {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
} from "./
|
|
112
|
+
Service17,
|
|
113
|
+
node20
|
|
114
|
+
} from "./state-ecneytc0.js";
|
|
115
115
|
import {
|
|
116
116
|
StrategyID2,
|
|
117
|
-
|
|
117
|
+
Info4,
|
|
118
118
|
ListEntry3,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
} from "./
|
|
119
|
+
Service16,
|
|
120
|
+
node19
|
|
121
|
+
} from "./state-k5ecf9q0.js";
|
|
122
122
|
import {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
} from "./
|
|
123
|
+
Service62,
|
|
124
|
+
node66
|
|
125
|
+
} from "./state-9x6v8nxw.js";
|
|
126
126
|
import {
|
|
127
127
|
__export
|
|
128
|
-
} from "./
|
|
128
|
+
} from "./state-9rqn6x4v.js";
|
|
129
129
|
|
|
130
130
|
// src/plugin/host.ts
|
|
131
131
|
var exports_host = {};
|
|
@@ -143,30 +143,30 @@ var mutable = (value) => value;
|
|
|
143
143
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
144
144
|
var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
145
145
|
const app = yield* Metadata2;
|
|
146
|
-
const agents = yield*
|
|
147
|
-
const aisdk = yield*
|
|
146
|
+
const agents = yield* Service71;
|
|
147
|
+
const aisdk = yield* Service64;
|
|
148
148
|
const providers = yield* Service73;
|
|
149
149
|
const models = yield* Service72;
|
|
150
|
-
const commands = yield*
|
|
151
|
-
const bus = yield*
|
|
150
|
+
const commands = yield* Service38;
|
|
151
|
+
const bus = yield* Service81;
|
|
152
152
|
const integration = yield* Service74;
|
|
153
|
-
const kv = yield*
|
|
154
|
-
const mcp = yield*
|
|
155
|
-
const location = yield*
|
|
156
|
-
const reference = yield*
|
|
153
|
+
const kv = yield* Service83;
|
|
154
|
+
const mcp = yield* Service32;
|
|
155
|
+
const location = yield* Service78;
|
|
156
|
+
const reference = yield* Service50;
|
|
157
157
|
const rpc = yield* Service24;
|
|
158
|
-
const skill = yield*
|
|
159
|
-
const tools = yield*
|
|
160
|
-
const vcs = yield*
|
|
161
|
-
const websearch = yield*
|
|
162
|
-
const generate = yield*
|
|
163
|
-
const permission = yield*
|
|
164
|
-
const hooks = yield*
|
|
165
|
-
const sessions = yield*
|
|
166
|
-
const persistentPty = yield*
|
|
167
|
-
const locations = yield*
|
|
168
|
-
const worktrees = yield*
|
|
169
|
-
const worktreeStrategies = yield*
|
|
158
|
+
const skill = yield* Service51;
|
|
159
|
+
const tools = yield* Service42;
|
|
160
|
+
const vcs = yield* Service14;
|
|
161
|
+
const websearch = yield* Service23;
|
|
162
|
+
const generate = yield* Service62;
|
|
163
|
+
const permission = yield* Service67;
|
|
164
|
+
const hooks = yield* Service70;
|
|
165
|
+
const sessions = yield* Service25;
|
|
166
|
+
const persistentPty = yield* Service19;
|
|
167
|
+
const locations = yield* Service77;
|
|
168
|
+
const worktrees = yield* Service16;
|
|
169
|
+
const worktreeStrategies = yield* Service17;
|
|
170
170
|
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
171
171
|
const locationInfo = () => new Info31({
|
|
172
172
|
directory: location.directory,
|
|
@@ -175,15 +175,15 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
175
175
|
});
|
|
176
176
|
const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
|
|
177
177
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
178
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
178
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID6.make(input.location.workspace)
|
|
179
179
|
});
|
|
180
180
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
181
181
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
182
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
182
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info4);
|
|
183
183
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
184
184
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
185
|
-
const location = yield*
|
|
186
|
-
const agents = yield*
|
|
185
|
+
const location = yield* Service78;
|
|
186
|
+
const agents = yield* Service71;
|
|
187
187
|
return {
|
|
188
188
|
location: new Info31({
|
|
189
189
|
directory: location.directory,
|
|
@@ -217,10 +217,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
217
217
|
transform: (callback) => agents.transform((editor) => {
|
|
218
218
|
callback({
|
|
219
219
|
list: () => mutable(editor.list()),
|
|
220
|
-
get: (id) => mutable(editor.get(
|
|
221
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
222
|
-
update: (id, update) => editor.update(
|
|
223
|
-
remove: (id) => editor.remove(
|
|
220
|
+
get: (id) => mutable(editor.get(ID10.make(id))),
|
|
221
|
+
default: (id) => editor.default(id === undefined ? undefined : ID10.make(id)),
|
|
222
|
+
update: (id, update) => editor.update(ID10.make(id), update),
|
|
223
|
+
remove: (id) => editor.remove(ID10.make(id))
|
|
224
224
|
});
|
|
225
225
|
})
|
|
226
226
|
},
|
|
@@ -254,22 +254,22 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
254
254
|
},
|
|
255
255
|
provider: {
|
|
256
256
|
list: () => response(providers.available()),
|
|
257
|
-
get: (input) => providers.get(
|
|
257
|
+
get: (input) => providers.get(ID12.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
|
|
258
258
|
reload: providers.reload,
|
|
259
259
|
transform: (callback) => providers.transform((editor) => {
|
|
260
260
|
callback({
|
|
261
261
|
list: editor.list,
|
|
262
|
-
get: (id) => editor.get(
|
|
262
|
+
get: (id) => editor.get(ID12.make(id)),
|
|
263
263
|
add: (definition) => editor.add({
|
|
264
264
|
...definition,
|
|
265
|
-
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id:
|
|
265
|
+
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID15.make(definition.sourceConnection.id) } : definition.sourceConnection
|
|
266
266
|
}),
|
|
267
|
-
update: (id, update) => editor.update(
|
|
268
|
-
remove: (id) => editor.remove(
|
|
267
|
+
update: (id, update) => editor.update(ID12.make(id), update),
|
|
268
|
+
remove: (id) => editor.remove(ID12.make(id)),
|
|
269
269
|
models: {
|
|
270
|
-
set: (id, models) => editor.models.set(
|
|
271
|
-
update: (providerID, modelID, update) => editor.models.update(
|
|
272
|
-
remove: (providerID, modelID) => editor.models.remove(
|
|
270
|
+
set: (id, models) => editor.models.set(ID12.make(id), models),
|
|
271
|
+
update: (providerID, modelID, update) => editor.models.update(ID12.make(providerID), ID11.make(modelID), update),
|
|
272
|
+
remove: (providerID, modelID) => editor.models.remove(ID12.make(providerID), ID11.make(modelID))
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
275
|
})
|
|
@@ -279,17 +279,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
279
279
|
default: () => response(models.default()),
|
|
280
280
|
reload: models.reload,
|
|
281
281
|
transform: (callback) => models.transform((editor) => callback({
|
|
282
|
-
list: (providerID) => editor.list(providerID === undefined ? undefined :
|
|
283
|
-
get: (providerID, modelID) => editor.get(
|
|
284
|
-
update: (providerID, modelID, update) => editor.update(
|
|
285
|
-
remove: (providerID, modelID) => editor.remove(
|
|
282
|
+
list: (providerID) => editor.list(providerID === undefined ? undefined : ID12.make(providerID)),
|
|
283
|
+
get: (providerID, modelID) => editor.get(ID12.make(providerID), ID11.make(modelID)),
|
|
284
|
+
update: (providerID, modelID, update) => editor.update(ID12.make(providerID), ID11.make(modelID), update),
|
|
285
|
+
remove: (providerID, modelID) => editor.remove(ID12.make(providerID), ID11.make(modelID)),
|
|
286
286
|
default: {
|
|
287
287
|
get: editor.default.get,
|
|
288
|
-
set: (providerID, modelID) => editor.default.set(
|
|
288
|
+
set: (providerID, modelID) => editor.default.set(ID12.make(providerID), ID11.make(modelID))
|
|
289
289
|
},
|
|
290
290
|
provider: {
|
|
291
291
|
list: editor.provider.list,
|
|
292
|
-
get: (id) => editor.provider.get(
|
|
292
|
+
get: (id) => editor.provider.get(ID12.make(id))
|
|
293
293
|
}
|
|
294
294
|
}))
|
|
295
295
|
},
|
|
@@ -312,14 +312,14 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
312
312
|
integration: {
|
|
313
313
|
list: () => response(integration.list()),
|
|
314
314
|
get: Effect.fn(function* (input) {
|
|
315
|
-
const item = yield* integration.get(
|
|
315
|
+
const item = yield* integration.get(ID13.make(input.integrationID));
|
|
316
316
|
if (!item)
|
|
317
317
|
return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
|
|
318
318
|
return yield* response(Effect.succeed(item));
|
|
319
319
|
}),
|
|
320
320
|
connect: {
|
|
321
321
|
key: (input) => integration.connection.key({
|
|
322
|
-
integrationID:
|
|
322
|
+
integrationID: ID13.make(input.integrationID),
|
|
323
323
|
key: input.key,
|
|
324
324
|
answer: input.answer,
|
|
325
325
|
label: input.label
|
|
@@ -327,55 +327,55 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
327
327
|
},
|
|
328
328
|
oauth: {
|
|
329
329
|
connect: (input) => response(integration.oauth.connect({
|
|
330
|
-
integrationID:
|
|
330
|
+
integrationID: ID13.make(input.integrationID),
|
|
331
331
|
methodID: MethodID2.make(input.methodID),
|
|
332
332
|
answer: input.answer,
|
|
333
333
|
label: input.label
|
|
334
334
|
})),
|
|
335
335
|
status: (input) => response(integration.oauth.status({
|
|
336
|
-
integrationID:
|
|
336
|
+
integrationID: ID13.make(input.integrationID),
|
|
337
337
|
attemptID: AttemptID2.make(input.attemptID)
|
|
338
338
|
})),
|
|
339
339
|
complete: (input) => integration.oauth.complete({
|
|
340
|
-
integrationID:
|
|
340
|
+
integrationID: ID13.make(input.integrationID),
|
|
341
341
|
attemptID: AttemptID2.make(input.attemptID),
|
|
342
342
|
code: input.code
|
|
343
343
|
}),
|
|
344
344
|
cancel: (input) => integration.oauth.cancel({
|
|
345
|
-
integrationID:
|
|
345
|
+
integrationID: ID13.make(input.integrationID),
|
|
346
346
|
attemptID: AttemptID2.make(input.attemptID)
|
|
347
347
|
})
|
|
348
348
|
},
|
|
349
349
|
command: {
|
|
350
350
|
connect: (input) => response(integration.command.connect({
|
|
351
|
-
integrationID:
|
|
351
|
+
integrationID: ID13.make(input.integrationID),
|
|
352
352
|
methodID: MethodID2.make(input.methodID),
|
|
353
353
|
label: input.label
|
|
354
354
|
})),
|
|
355
355
|
status: (input) => response(integration.command.status({
|
|
356
|
-
integrationID:
|
|
356
|
+
integrationID: ID13.make(input.integrationID),
|
|
357
357
|
attemptID: AttemptID2.make(input.attemptID)
|
|
358
358
|
})),
|
|
359
359
|
cancel: (input) => integration.command.cancel({
|
|
360
|
-
integrationID:
|
|
360
|
+
integrationID: ID13.make(input.integrationID),
|
|
361
361
|
attemptID: AttemptID2.make(input.attemptID)
|
|
362
362
|
})
|
|
363
363
|
},
|
|
364
364
|
reload: integration.reload,
|
|
365
365
|
connection: {
|
|
366
|
-
active: (id) => integration.connection.active(
|
|
367
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
366
|
+
active: (id) => integration.connection.active(ID13.make(id)),
|
|
367
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID15.make(connection.id) } : connection)
|
|
368
368
|
},
|
|
369
369
|
transform: (callback) => integration.transform((editor) => {
|
|
370
370
|
callback({
|
|
371
371
|
list: () => mutable(editor.list()),
|
|
372
|
-
get: (id) => mutable(editor.get(
|
|
373
|
-
update: (id, update) => editor.update(
|
|
374
|
-
remove: (id) => editor.remove(
|
|
372
|
+
get: (id) => mutable(editor.get(ID13.make(id))),
|
|
373
|
+
update: (id, update) => editor.update(ID13.make(id), update),
|
|
374
|
+
remove: (id) => editor.remove(ID13.make(id)),
|
|
375
375
|
method: {
|
|
376
|
-
list: (id) => editor.method.list(
|
|
376
|
+
list: (id) => editor.method.list(ID13.make(id)),
|
|
377
377
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
378
|
-
remove: (id, method) => editor.method.remove(
|
|
378
|
+
remove: (id, method) => editor.method.remove(ID13.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
379
379
|
}
|
|
380
380
|
});
|
|
381
381
|
})
|
|
@@ -385,8 +385,8 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
385
385
|
const ref = locationRef(input);
|
|
386
386
|
if (ref && !isCurrentLocation(ref))
|
|
387
387
|
return Effect.gen(function* () {
|
|
388
|
-
const location = yield*
|
|
389
|
-
const mcp = yield*
|
|
388
|
+
const location = yield* Service78;
|
|
389
|
+
const mcp = yield* Service32;
|
|
390
390
|
return {
|
|
391
391
|
location: new Info31({
|
|
392
392
|
directory: location.directory,
|
|
@@ -423,7 +423,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
423
423
|
reload: reference.reload,
|
|
424
424
|
transform: (callback) => reference.transform((editor) => {
|
|
425
425
|
callback({
|
|
426
|
-
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(
|
|
426
|
+
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
|
|
427
427
|
remove: editor.remove,
|
|
428
428
|
list: editor.list,
|
|
429
429
|
get: editor.get
|
|
@@ -437,7 +437,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
437
437
|
callback({
|
|
438
438
|
list: () => mutable(editor.list()),
|
|
439
439
|
get: editor.get,
|
|
440
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
440
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info9)(value)),
|
|
441
441
|
update: editor.update,
|
|
442
442
|
remove: editor.remove
|
|
443
443
|
});
|
|
@@ -468,19 +468,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
468
468
|
providers: () => response(websearch.providers()),
|
|
469
469
|
query: (input) => response(websearch.query({
|
|
470
470
|
query: input.query,
|
|
471
|
-
providerID: input.providerID === undefined ? undefined :
|
|
471
|
+
providerID: input.providerID === undefined ? undefined : ID3.make(input.providerID)
|
|
472
472
|
})),
|
|
473
473
|
reload: websearch.reload,
|
|
474
474
|
transform: (callback) => websearch.transform((editor) => {
|
|
475
475
|
callback({
|
|
476
476
|
add: (definition) => editor.add({
|
|
477
|
-
id:
|
|
477
|
+
id: ID3.make(definition.id),
|
|
478
478
|
name: definition.name,
|
|
479
479
|
execute: definition.execute
|
|
480
480
|
}),
|
|
481
481
|
default: {
|
|
482
482
|
get: editor.default.get,
|
|
483
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
483
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID3.make(selection))
|
|
484
484
|
}
|
|
485
485
|
});
|
|
486
486
|
})
|
|
@@ -534,31 +534,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
534
534
|
return context;
|
|
535
535
|
});
|
|
536
536
|
var requirements3 = LayerNode.group([
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
537
|
+
node53,
|
|
538
|
+
node75,
|
|
539
|
+
node68,
|
|
540
540
|
node77,
|
|
541
541
|
node76,
|
|
542
|
-
|
|
543
|
-
node87,
|
|
544
|
-
node78,
|
|
542
|
+
node41,
|
|
545
543
|
node85,
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
544
|
+
node78,
|
|
545
|
+
node87,
|
|
546
|
+
node36,
|
|
547
|
+
node82,
|
|
548
|
+
node52,
|
|
549
549
|
node27,
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
550
|
+
node54,
|
|
551
|
+
node45,
|
|
552
|
+
node17,
|
|
553
|
+
node26,
|
|
554
|
+
node19,
|
|
555
|
+
node20,
|
|
556
|
+
node66,
|
|
557
|
+
node71,
|
|
558
|
+
node74,
|
|
559
|
+
node28,
|
|
556
560
|
node22,
|
|
557
|
-
|
|
558
|
-
node75,
|
|
559
|
-
node33,
|
|
560
|
-
node23,
|
|
561
|
-
node64
|
|
561
|
+
node81
|
|
562
562
|
]);
|
|
563
563
|
function storage2(kv, pluginID) {
|
|
564
564
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -585,7 +585,7 @@ function methodImplementation(input) {
|
|
|
585
585
|
if ("authorize" in input) {
|
|
586
586
|
const refresh = input.refresh;
|
|
587
587
|
return {
|
|
588
|
-
integrationID:
|
|
588
|
+
integrationID: ID13.make(input.integrationID),
|
|
589
589
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
590
590
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
591
591
|
if (authorization.mode === "auto") {
|
|
@@ -605,18 +605,18 @@ function methodImplementation(input) {
|
|
|
605
605
|
}
|
|
606
606
|
if (input.method.type === "env") {
|
|
607
607
|
return {
|
|
608
|
-
integrationID:
|
|
608
|
+
integrationID: ID13.make(input.integrationID),
|
|
609
609
|
method: input.method
|
|
610
610
|
};
|
|
611
611
|
}
|
|
612
612
|
if (input.method.type === "command") {
|
|
613
613
|
return {
|
|
614
|
-
integrationID:
|
|
614
|
+
integrationID: ID13.make(input.integrationID),
|
|
615
615
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
616
616
|
};
|
|
617
617
|
}
|
|
618
618
|
return {
|
|
619
|
-
integrationID:
|
|
619
|
+
integrationID: ID13.make(input.integrationID),
|
|
620
620
|
method: input.method
|
|
621
621
|
};
|
|
622
622
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-mvbvb2ym.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make9,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -99,7 +99,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
99
99
|
return true;
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
|
-
var
|
|
102
|
+
var make9 = (bus, sessionID) => Effect.gen(function* () {
|
|
103
103
|
const decide = yield* policy2(sessionID);
|
|
104
104
|
const wait = (input) => Effect.gen(function* () {
|
|
105
105
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -116,4 +116,4 @@ var make10 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
116
116
|
return { decide, wait };
|
|
117
117
|
});
|
|
118
118
|
|
|
119
|
-
export { isRetryable2, policy2, transient2,
|
|
119
|
+
export { isRetryable2, policy2, transient2, make9, exports_retry };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./state-s3qbv9e3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./state-e0j28ztz.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service69,
|
|
14
|
+
node73
|
|
15
|
+
} from "./state-ydm596x3.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./state-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
@@ -35,10 +35,10 @@ var InjectedMetadata = Schema.Struct({
|
|
|
35
35
|
class Service10 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
37
|
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
38
|
-
const bus = yield*
|
|
38
|
+
const bus = yield* Service81;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service69;
|
|
41
|
+
const location = yield* Service78;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -98,7 +98,7 @@ function describePath(root, path) {
|
|
|
98
98
|
var node12 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node85, FSUtil.node, node82, node73]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
104
|
export { Service10, node12, exports_instructions };
|