@opencode/core 0.0.0-dev-19406 → 0.0.0-dev-19407
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{workspace-tb3qt4de.js → aisdk-native-00mtajge.js} +26 -26
- package/dist/chunks/{workspace-qp21pdsm.js → aisdk-native-02g4pwgw.js} +43 -43
- package/dist/chunks/{workspace-paegk39x.js → aisdk-native-06dxphr1.js} +4 -4
- package/dist/chunks/{workspace-rnwhwxkr.js → aisdk-native-08q1ktmp.js} +11 -11
- package/dist/chunks/{workspace-v2dqap2x.js → aisdk-native-0nysqbcr.js} +14 -14
- package/dist/chunks/{workspace-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-0q0f95c6.js → aisdk-native-0q0f95c6.js} +1 -1
- package/dist/chunks/{workspace-sczgc2a3.js → aisdk-native-0whvpg02.js} +1 -1
- package/dist/chunks/{workspace-6h5kb07x.js → aisdk-native-10gpd7r8.js} +20 -20
- package/dist/chunks/{workspace-sm6980w8.js → aisdk-native-116x79rh.js} +17 -17
- package/dist/chunks/{workspace-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
- package/dist/chunks/{workspace-1eyaby9q.js → aisdk-native-1eyaby9q.js} +2 -2
- package/dist/chunks/{workspace-a0z4fccy.js → aisdk-native-1g0yzmeq.js} +4 -4
- package/dist/chunks/{workspace-fsyg4b4p.js → aisdk-native-1jr44p4h.js} +9 -9
- package/dist/chunks/{workspace-szqt16bj.js → aisdk-native-1nfxsm05.js} +2 -2
- package/dist/chunks/{workspace-nm95p8zp.js → aisdk-native-1pzqjg4a.js} +6 -6
- package/dist/chunks/{workspace-xrnzdda7.js → aisdk-native-1xj7vtnj.js} +25 -25
- package/dist/chunks/{workspace-wvmwf5r3.js → aisdk-native-20cv9kdh.js} +37 -37
- package/dist/chunks/{workspace-vw4rsjqf.js → aisdk-native-20pevkd1.js} +54 -54
- package/dist/chunks/{workspace-21r38tys.js → aisdk-native-21r38tys.js} +1 -1
- package/dist/chunks/{workspace-gdvq22q3.js → aisdk-native-23n4s23p.js} +5 -5
- package/dist/chunks/{workspace-ncyvmtt2.js → aisdk-native-29n69d6q.js} +21 -21
- package/dist/chunks/{workspace-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
- package/dist/chunks/{workspace-0jwsre1p.js → aisdk-native-2k8khapm.js} +5 -5
- package/dist/chunks/{workspace-rbfxpsrk.js → aisdk-native-2kf6gv7j.js} +13 -13
- package/dist/chunks/{workspace-pcyx20k3.js → aisdk-native-2kr876v7.js} +16 -16
- package/dist/chunks/{workspace-xyvg2pqc.js → aisdk-native-313f5m3e.js} +21 -21
- package/dist/chunks/{workspace-3fc6dm20.js → aisdk-native-3fc6dm20.js} +1 -1
- package/dist/chunks/{workspace-w8ssx6tw.js → aisdk-native-3fg8j22w.js} +4 -4
- package/dist/chunks/{workspace-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-kc6m6sz4.js → aisdk-native-3kfgymbc.js} +11 -11
- package/dist/chunks/{workspace-ftsj9eb4.js → aisdk-native-3nerv44p.js} +14 -14
- package/dist/chunks/{workspace-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-hww6a8kv.js → aisdk-native-3t48patr.js} +16 -16
- package/dist/chunks/{workspace-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-ade7nb1r.js → aisdk-native-3xwvnqd2.js} +20 -20
- package/dist/chunks/{workspace-j2qyabf0.js → aisdk-native-3zte356n.js} +34 -34
- package/dist/chunks/{workspace-k3s1wnxs.js → aisdk-native-463g05rp.js} +18 -18
- package/dist/chunks/{workspace-hjt4xg1x.js → aisdk-native-47gsdddb.js} +7 -7
- package/dist/chunks/{workspace-y0n2m4xg.js → aisdk-native-49hrpkdk.js} +4 -4
- package/dist/chunks/{workspace-81swgkk7.js → aisdk-native-4frkg54w.js} +9 -9
- package/dist/chunks/{workspace-87deq66t.js → aisdk-native-4ns3h2re.js} +6 -6
- package/dist/chunks/{workspace-w3c11q9a.js → aisdk-native-4zpv8xb5.js} +24 -24
- package/dist/chunks/{workspace-jw80jp6b.js → aisdk-native-50mzsvk4.js} +4 -4
- package/dist/chunks/{workspace-prdj2v50.js → aisdk-native-50pta90c.js} +5 -5
- package/dist/chunks/{workspace-21kgkeg9.js → aisdk-native-50xndcxf.js} +7 -7
- package/dist/chunks/{workspace-56gdpj1q.js → aisdk-native-56gdpj1q.js} +2 -2
- package/dist/chunks/{workspace-jwdv4y1w.js → aisdk-native-584zshvf.js} +11 -11
- package/dist/chunks/{workspace-6c6d27ky.js → aisdk-native-5actk7ev.js} +24 -24
- package/dist/chunks/{workspace-260nsw4w.js → aisdk-native-5cqd19vv.js} +23 -23
- package/dist/chunks/{workspace-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-ktdx9tqj.js → aisdk-native-5jbz9ktf.js} +24 -24
- package/dist/chunks/{workspace-1agm07vn.js → aisdk-native-5mwt9p44.js} +4 -4
- package/dist/chunks/{workspace-5nrew705.js → aisdk-native-5nrew705.js} +5 -5
- package/dist/chunks/{workspace-a5bp1xck.js → aisdk-native-5py4nq14.js} +8 -8
- package/dist/chunks/{workspace-gha35mp7.js → aisdk-native-5s6kd9sj.js} +48 -48
- package/dist/chunks/{workspace-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
- package/dist/chunks/{workspace-1n9v4yht.js → aisdk-native-5tctejee.js} +3 -3
- package/dist/chunks/{workspace-08va5z8e.js → aisdk-native-60qhhz9x.js} +29 -29
- package/dist/chunks/{workspace-nfgy6v4x.js → aisdk-native-63t8b2hs.js} +8 -8
- package/dist/chunks/{workspace-zbt061zt.js → aisdk-native-657r8j16.js} +24 -24
- package/dist/chunks/{workspace-669tq793.js → aisdk-native-669tq793.js} +1 -1
- package/dist/chunks/{workspace-19p34cwj.js → aisdk-native-677dhqd5.js} +11 -11
- package/dist/chunks/{workspace-dx1xsamq.js → aisdk-native-6dq1yz7w.js} +285 -285
- package/dist/chunks/{workspace-0f5r6y21.js → aisdk-native-6fgx7x61.js} +13 -13
- package/dist/chunks/{workspace-2402vzrj.js → aisdk-native-6h73sxmp.js} +5 -5
- package/dist/chunks/{workspace-6msgmcgs.js → aisdk-native-6msgmcgs.js} +1 -1
- package/dist/chunks/{workspace-rybesq9t.js → aisdk-native-6yypz1yx.js} +15 -15
- package/dist/chunks/{workspace-71q4at8m.js → aisdk-native-71q4at8m.js} +1 -1
- package/dist/chunks/{workspace-jx36ppfv.js → aisdk-native-72wrqvbm.js} +4 -4
- package/dist/chunks/{workspace-mvfsc1pv.js → aisdk-native-73tb2d7t.js} +3 -3
- package/dist/chunks/{workspace-ns261efr.js → aisdk-native-76vwfwj3.js} +3 -3
- package/dist/chunks/{workspace-bha4atvq.js → aisdk-native-78r6kf72.js} +4 -4
- package/dist/chunks/{workspace-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-5n23cvdt.js → aisdk-native-7etwt42r.js} +17 -17
- package/dist/chunks/{workspace-fvev15ye.js → aisdk-native-7f889xnx.js} +9 -9
- package/dist/chunks/{workspace-x6cge8hj.js → aisdk-native-7gg2ep0z.js} +11 -11
- package/dist/chunks/{workspace-j2e3vmqt.js → aisdk-native-7pj8y3d8.js} +15 -15
- package/dist/chunks/{workspace-r6fr6xhv.js → aisdk-native-82gkzdqk.js} +14 -14
- package/dist/chunks/{workspace-0df1zyj6.js → aisdk-native-867k250n.js} +56 -56
- package/dist/chunks/{workspace-yxse6n4e.js → aisdk-native-87yn0pnr.js} +21 -21
- package/dist/chunks/{workspace-mpd5qf4j.js → aisdk-native-8858ev1x.js} +36 -36
- package/dist/chunks/{workspace-25z0xxdg.js → aisdk-native-89zcxryv.js} +10 -10
- package/dist/chunks/{workspace-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
- package/dist/chunks/{workspace-cxqtyqa4.js → aisdk-native-8jew5j2b.js} +22 -22
- package/dist/chunks/{workspace-8p4f9s12.js → aisdk-native-8p4f9s12.js} +2 -2
- package/dist/chunks/{workspace-scg96trk.js → aisdk-native-8p8gabwn.js} +17 -17
- package/dist/chunks/{workspace-0c2368v0.js → aisdk-native-8r024ed4.js} +27 -27
- package/dist/chunks/{workspace-671axw96.js → aisdk-native-8wnkkgmr.js} +15 -15
- package/dist/chunks/{workspace-6jgmv1yx.js → aisdk-native-93hjhw2c.js} +10 -10
- package/dist/chunks/{workspace-aan3cyfv.js → aisdk-native-94k3yr3h.js} +1 -1
- package/dist/chunks/{workspace-11f5ey5t.js → aisdk-native-97h65wpw.js} +9 -9
- package/dist/chunks/{workspace-9xw3tj2y.js → aisdk-native-9c78b8fz.js} +11 -11
- package/dist/chunks/aisdk-native-9n1mjwqv.js +247 -0
- package/dist/chunks/{workspace-z7th72fz.js → aisdk-native-9z0qme4c.js} +30 -30
- package/dist/chunks/{workspace-a1bz86dw.js → aisdk-native-a1bz86dw.js} +3 -3
- package/dist/chunks/{workspace-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-hs7fbk9e.js → aisdk-native-aam2ysh5.js} +11 -11
- package/dist/chunks/{workspace-tmv3vrbh.js → aisdk-native-ab5dvbpq.js} +9 -9
- package/dist/chunks/{workspace-7d6jfxsy.js → aisdk-native-ac2f33ya.js} +17 -17
- package/dist/chunks/{workspace-c8266qxr.js → aisdk-native-ajspsemm.js} +14 -14
- package/dist/chunks/{workspace-hggyschk.js → aisdk-native-atmqa6qy.js} +1 -1
- package/dist/chunks/{workspace-pbrpfg1g.js → aisdk-native-aytnzb2v.js} +14 -14
- package/dist/chunks/{workspace-nyc7jxxp.js → aisdk-native-b21zyp4f.js} +31 -31
- package/dist/chunks/{workspace-q1hq4vqk.js → aisdk-native-b65hda7g.js} +18 -18
- package/dist/chunks/{workspace-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-j8qeg2b0.js → aisdk-native-b7ak73bn.js} +23 -23
- package/dist/chunks/{workspace-yjptyezs.js → aisdk-native-bgxcxs0p.js} +5 -5
- package/dist/chunks/{workspace-yaw72qpm.js → aisdk-native-bgxgjwv1.js} +14 -14
- package/dist/chunks/{workspace-fyjrpq2n.js → aisdk-native-bpbqk74e.js} +5 -5
- package/dist/chunks/{workspace-rtathh62.js → aisdk-native-bw0vgseb.js} +8 -8
- package/dist/chunks/{workspace-av8gdzmj.js → aisdk-native-byns55ev.js} +15 -15
- package/dist/chunks/{workspace-4knw0yd9.js → aisdk-native-c3frc79c.js} +38 -38
- package/dist/chunks/{workspace-jwef205w.js → aisdk-native-c3kfdzc9.js} +8 -8
- package/dist/chunks/{workspace-k2v8w9sh.js → aisdk-native-c4e0jh2b.js} +14 -14
- package/dist/chunks/{workspace-qwkytnft.js → aisdk-native-c769d21z.js} +6 -6
- package/dist/chunks/{workspace-zgh2pzwp.js → aisdk-native-c951tkze.js} +7 -7
- package/dist/chunks/{workspace-2q352txm.js → aisdk-native-cab3cz9c.js} +46 -46
- package/dist/chunks/{workspace-zkdt6a6d.js → aisdk-native-ccz22zy4.js} +36 -36
- package/dist/chunks/{workspace-7xpb4b38.js → aisdk-native-cfftbm2z.js} +6 -6
- package/dist/chunks/{workspace-cfpkc3c9.js → aisdk-native-cfpkc3c9.js} +2 -2
- package/dist/chunks/{workspace-2hyh68ab.js → aisdk-native-cxv3b682.js} +8 -8
- package/dist/chunks/{workspace-jfqtm2ew.js → aisdk-native-d216944b.js} +7 -7
- package/dist/chunks/{workspace-hkfg6fzm.js → aisdk-native-d2aac7k2.js} +5 -5
- package/dist/chunks/{workspace-w79zsp0s.js → aisdk-native-d50f2zf5.js} +1 -1
- package/dist/chunks/{workspace-18e56dsp.js → aisdk-native-d8nc1xcx.js} +4 -4
- package/dist/chunks/{workspace-17x03v7d.js → aisdk-native-da92bshf.js} +17 -17
- package/dist/chunks/{workspace-xep7y6dg.js → aisdk-native-daj5g45q.js} +1 -1
- package/dist/chunks/{workspace-48qrq2th.js → aisdk-native-dcyka471.js} +10 -10
- package/dist/chunks/{workspace-8sghyhzw.js → aisdk-native-ddx3tg71.js} +8 -8
- package/dist/chunks/{workspace-t0x5rdq8.js → aisdk-native-de6ej25a.js} +9 -9
- package/dist/chunks/{workspace-j9987dbw.js → aisdk-native-dmzn8rnj.js} +17 -17
- package/dist/chunks/{workspace-xaj3yemm.js → aisdk-native-dqeettna.js} +6 -6
- package/dist/chunks/{workspace-1k8a3rj6.js → aisdk-native-ehs15ag7.js} +77 -77
- package/dist/chunks/{workspace-svjbpvc0.js → aisdk-native-endnnqxs.js} +25 -25
- package/dist/chunks/{workspace-75my1bc5.js → aisdk-native-eqv7r0bw.js} +6 -6
- package/dist/chunks/{workspace-xekzrwwc.js → aisdk-native-es1gkq3r.js} +9 -9
- package/dist/chunks/{workspace-52vrzpkh.js → aisdk-native-esj243wz.js} +9 -9
- package/dist/chunks/{workspace-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
- package/dist/chunks/{workspace-d9sn21bc.js → aisdk-native-etq9z835.js} +2 -2
- package/dist/chunks/{workspace-1hfvq3hk.js → aisdk-native-f6ak1e64.js} +9 -9
- package/dist/chunks/{workspace-f828m53h.js → aisdk-native-f828m53h.js} +2 -2
- package/dist/chunks/{workspace-j4w9fnyz.js → aisdk-native-ffrpxqex.js} +3 -3
- package/dist/chunks/{workspace-2nfnt4ye.js → aisdk-native-fpdc70kx.js} +34 -34
- package/dist/chunks/{workspace-c30fjtmk.js → aisdk-native-frq4anby.js} +1 -1
- package/dist/chunks/{workspace-fxbjtjnd.js → aisdk-native-fxbjtjnd.js} +1 -1
- package/dist/chunks/{workspace-4brkry6z.js → aisdk-native-g2p0pajx.js} +7 -7
- package/dist/chunks/{workspace-saahjfzz.js → aisdk-native-g2rv2fyh.js} +14 -14
- package/dist/chunks/{workspace-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-9ex8f1cq.js → aisdk-native-gdezgtpw.js} +8 -8
- package/dist/chunks/{workspace-q6xe9kp6.js → aisdk-native-ge42nent.js} +24 -24
- package/dist/chunks/{workspace-rpb40cdh.js → aisdk-native-ggwj6z60.js} +3 -3
- package/dist/chunks/{workspace-br1eash1.js → aisdk-native-gnt7qkvy.js} +19 -19
- package/dist/chunks/{workspace-pazbjste.js → aisdk-native-grb0zppa.js} +9 -9
- package/dist/chunks/{workspace-gv6a8nnw.js → aisdk-native-gv6a8nnw.js} +2 -2
- package/dist/chunks/{workspace-60swyqgb.js → aisdk-native-gyfvm20m.js} +6 -6
- package/dist/chunks/{workspace-h03wrkyp.js → aisdk-native-h03wrkyp.js} +2 -2
- package/dist/chunks/{workspace-90h7kwk9.js → aisdk-native-h0tbwxsz.js} +5 -5
- package/dist/chunks/{workspace-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-zwhke550.js → aisdk-native-h8y4akn6.js} +28 -28
- package/dist/chunks/{workspace-qnbyzqhb.js → aisdk-native-hb5dnmpe.js} +30 -30
- package/dist/chunks/{workspace-mnvzjba7.js → aisdk-native-hjvszae2.js} +42 -42
- package/dist/chunks/{workspace-9hvf7zmn.js → aisdk-native-hq4r64gz.js} +9 -9
- package/dist/chunks/{workspace-9shdk57a.js → aisdk-native-j095904d.js} +42 -42
- package/dist/chunks/{workspace-hxbwkwf2.js → aisdk-native-j4ahw5j0.js} +41 -41
- package/dist/chunks/{workspace-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
- package/dist/chunks/{workspace-vncycja5.js → aisdk-native-j83byb14.js} +4 -4
- package/dist/chunks/{workspace-yd1p1r8q.js → aisdk-native-j8b596ce.js} +79 -79
- package/dist/chunks/{workspace-we9gybbj.js → aisdk-native-jdhy1xny.js} +8 -8
- package/dist/chunks/{workspace-t07nr89d.js → aisdk-native-jqfmg5zm.js} +13 -13
- package/dist/chunks/{workspace-5xyecbgy.js → aisdk-native-jzqf53p3.js} +32 -32
- package/dist/chunks/{workspace-hn57h045.js → aisdk-native-k76fn4kw.js} +4 -4
- package/dist/chunks/{workspace-564nwv9t.js → aisdk-native-k9p70ear.js} +26 -26
- package/dist/chunks/{workspace-e6jfrte4.js → aisdk-native-kajrhwky.js} +17 -17
- package/dist/chunks/{workspace-63c29q5z.js → aisdk-native-kcm1t3vd.js} +8 -8
- package/dist/chunks/{workspace-kg06axw8.js → aisdk-native-kg06axw8.js} +1 -1
- package/dist/chunks/{workspace-wyp518qd.js → aisdk-native-kx90taxp.js} +32 -32
- package/dist/chunks/{workspace-k6hm1c4z.js → aisdk-native-m0sg0veg.js} +17 -17
- package/dist/chunks/{workspace-dcvqdecp.js → aisdk-native-m43qax21.js} +4 -4
- package/dist/chunks/{workspace-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-2atctz6s.js → aisdk-native-metxp2ga.js} +158 -158
- package/dist/chunks/{workspace-mkcjrzeh.js → aisdk-native-mkcjrzeh.js} +1 -1
- package/dist/chunks/{workspace-jefma2gq.js → aisdk-native-mkh51v61.js} +10 -10
- package/dist/chunks/{workspace-bnf2jjvk.js → aisdk-native-mmpdb07a.js} +13 -13
- package/dist/chunks/{workspace-1a6tnz5m.js → aisdk-native-mmrtcvbs.js} +6 -6
- package/dist/chunks/{workspace-swa700vz.js → aisdk-native-mtpwq99m.js} +16 -16
- package/dist/chunks/{workspace-ky29xcn8.js → aisdk-native-n7nwk65p.js} +28 -28
- package/dist/chunks/{workspace-h2r7bbkd.js → aisdk-native-nbzsj80d.js} +8 -8
- package/dist/chunks/{workspace-k8e0krnc.js → aisdk-native-ndqtf2h8.js} +9 -9
- package/dist/chunks/{workspace-772n9qp6.js → aisdk-native-nezeczvb.js} +2 -2
- package/dist/chunks/{workspace-vcm9nwkf.js → aisdk-native-ngc3dwd3.js} +25 -25
- package/dist/chunks/{workspace-0mvrzs3q.js → aisdk-native-nj0hhf0a.js} +27 -27
- package/dist/chunks/{workspace-w2tqht5n.js → aisdk-native-nsjg38bg.js} +3 -3
- package/dist/chunks/{workspace-xfmmbppy.js → aisdk-native-p32vx5nj.js} +17 -17
- package/dist/chunks/{workspace-e9z75ypz.js → aisdk-native-pfpegnfr.js} +13 -13
- package/dist/chunks/{workspace-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-r97fj8kj.js → aisdk-native-ppxgv5fj.js} +22 -22
- package/dist/chunks/{workspace-j7wq2tw5.js → aisdk-native-pxt4kznk.js} +3 -3
- package/dist/chunks/{workspace-beamfkq3.js → aisdk-native-q34fswvm.js} +4 -4
- package/dist/chunks/{workspace-cxssh81s.js → aisdk-native-q8vptsx5.js} +3 -3
- package/dist/chunks/aisdk-native-qapv375x.js +4 -0
- package/dist/chunks/{workspace-00yj64tw.js → aisdk-native-qaqc0431.js} +8 -8
- package/dist/chunks/{workspace-qnnfhh99.js → aisdk-native-qfd4z8q7.js} +16 -16
- package/dist/chunks/{workspace-42z94ejy.js → aisdk-native-qgta0bfy.js} +4 -4
- package/dist/chunks/{workspace-7f86n5vp.js → aisdk-native-qmvtm768.js} +11 -11
- package/dist/chunks/{workspace-aam5c1df.js → aisdk-native-qqt2c52w.js} +43 -43
- package/dist/chunks/{workspace-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-q0syr9ta.js → aisdk-native-qyc88ndr.js} +13 -13
- package/dist/chunks/{workspace-anadqz16.js → aisdk-native-r2xang35.js} +25 -25
- package/dist/chunks/{workspace-zgpjdkre.js → aisdk-native-r55am9hz.js} +24 -24
- package/dist/chunks/{workspace-6kkm1vms.js → aisdk-native-r73eywwh.js} +32 -32
- package/dist/chunks/{workspace-1acjjqhc.js → aisdk-native-r8xr0va3.js} +4 -4
- package/dist/chunks/aisdk-native-rap9a73h.js +18 -0
- package/dist/chunks/{workspace-acdf9wey.js → aisdk-native-rdmq4fky.js} +16 -16
- package/dist/chunks/{workspace-eaj1djv9.js → aisdk-native-rhjbct0v.js} +8 -8
- package/dist/chunks/{workspace-31japxcc.js → aisdk-native-rhpprnfp.js} +27 -27
- package/dist/chunks/{workspace-rf48fc3z.js → aisdk-native-rm6nrfa8.js} +22 -22
- package/dist/chunks/{workspace-gqay82r3.js → aisdk-native-rmqfze55.js} +11 -11
- package/dist/chunks/{workspace-g47eftgs.js → aisdk-native-rpbnx6sk.js} +9 -9
- package/dist/chunks/{workspace-35agz59w.js → aisdk-native-rph3zd4r.js} +4 -4
- package/dist/chunks/{workspace-5va42dqn.js → aisdk-native-rv9dg3rs.js} +7 -7
- package/dist/chunks/{workspace-zg7z3sgq.js → aisdk-native-s81n4662.js} +27 -27
- package/dist/chunks/{workspace-r2c1v5cs.js → aisdk-native-shh4xgvr.js} +11 -11
- package/dist/chunks/{workspace-qfzde7bh.js → aisdk-native-shrpy2d8.js} +6 -6
- package/dist/chunks/{workspace-rvbs1y5m.js → aisdk-native-shrrwpmm.js} +16 -16
- package/dist/chunks/{workspace-yrejkez5.js → aisdk-native-t5e051d6.js} +5 -5
- package/dist/chunks/{workspace-rw0gxka2.js → aisdk-native-t5q8n7gx.js} +15 -15
- package/dist/chunks/{workspace-6f71wzny.js → aisdk-native-tasakq3c.js} +18 -18
- package/dist/chunks/{workspace-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-89znhe33.js → aisdk-native-tcezcvh9.js} +4 -4
- package/dist/chunks/{workspace-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-2d4astz3.js → aisdk-native-th7e35kw.js} +12 -12
- package/dist/chunks/{workspace-ks28khcp.js → aisdk-native-tmkmtmy2.js} +19 -19
- package/dist/chunks/{workspace-evbgk2k8.js → aisdk-native-tn0aqsam.js} +5 -5
- package/dist/chunks/{workspace-48vm7pvj.js → aisdk-native-tp41d6ea.js} +13 -13
- package/dist/chunks/{workspace-tvtrv512.js → aisdk-native-tvtrv512.js} +1 -1
- package/dist/chunks/{workspace-qs1x3754.js → aisdk-native-txpenqw4.js} +17 -17
- package/dist/chunks/{workspace-wycsdkc3.js → aisdk-native-v8g0avwf.js} +11 -11
- package/dist/chunks/{workspace-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-b2wde7ay.js → aisdk-native-vh3bzc0p.js} +18 -18
- package/dist/chunks/{workspace-fb6ja2y4.js → aisdk-native-vpzsjchp.js} +1 -1
- package/dist/chunks/{workspace-hhvjvf8g.js → aisdk-native-vws9a07p.js} +2 -2
- package/dist/chunks/{workspace-vzcthcp8.js → aisdk-native-vzcthcp8.js} +1 -1
- package/dist/chunks/{workspace-6m75b8cv.js → aisdk-native-w0fjdera.js} +5 -5
- package/dist/chunks/{workspace-3j1hp0ty.js → aisdk-native-w3v6txvh.js} +32 -32
- package/dist/chunks/{workspace-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-bv56xrks.js → aisdk-native-wa9n8nyq.js} +4 -4
- package/dist/chunks/{workspace-gbze51rp.js → aisdk-native-wccdv81r.js} +36 -36
- package/dist/chunks/{workspace-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-th7rxwpk.js → aisdk-native-whxvmsde.js} +9 -9
- package/dist/chunks/{workspace-x4f7xa08.js → aisdk-native-wkdbj8v0.js} +10 -10
- package/dist/chunks/{workspace-62jy5cfr.js → aisdk-native-wkz1g29p.js} +5 -5
- package/dist/chunks/{workspace-98cg5nke.js → aisdk-native-wmxcz8ym.js} +56 -56
- package/dist/chunks/{workspace-gjg21rfc.js → aisdk-native-wsq1h1b3.js} +30 -30
- package/dist/chunks/{workspace-26hypp0s.js → aisdk-native-wtsb234j.js} +21 -21
- package/dist/chunks/{workspace-gpw9wb7z.js → aisdk-native-ww06yvfh.js} +26 -26
- package/dist/chunks/{workspace-qyyvm09j.js → aisdk-native-wx9t8an0.js} +8 -8
- package/dist/chunks/{workspace-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
- package/dist/chunks/{workspace-x43y2vfs.js → aisdk-native-x43y2vfs.js} +2 -2
- package/dist/chunks/{workspace-9wbxqmjz.js → aisdk-native-xca3qqsm.js} +25 -25
- package/dist/chunks/{workspace-ybpsbgjn.js → aisdk-native-xcptvh4t.js} +8 -8
- package/dist/chunks/{workspace-47z782k9.js → aisdk-native-xkyj2kk0.js} +15 -15
- package/dist/chunks/aisdk-native-xvs6y39b.js +22 -0
- package/dist/chunks/{workspace-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-xb38tjbm.js → aisdk-native-y6rwf8rz.js} +27 -27
- package/dist/chunks/{workspace-y71avatq.js → aisdk-native-y71avatq.js} +1 -1
- package/dist/chunks/{workspace-zjp7g5zn.js → aisdk-native-yarrm8g9.js} +30 -30
- package/dist/chunks/{workspace-r0vgb2sm.js → aisdk-native-yhx6yaab.js} +1 -1
- package/dist/chunks/{workspace-behfe7zr.js → aisdk-native-yke9jmby.js} +4 -4
- package/dist/chunks/{workspace-yrhqyw5v.js → aisdk-native-yrhqyw5v.js} +1 -1
- package/dist/chunks/{workspace-yrznvahk.js → aisdk-native-yrznvahk.js} +2 -2
- package/dist/chunks/{workspace-yjgcx94j.js → aisdk-native-yxsndrzp.js} +12 -12
- package/dist/chunks/{workspace-3wnr7h3v.js → aisdk-native-yyekmh7z.js} +24 -24
- package/dist/chunks/{workspace-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-z63w68vq.js → aisdk-native-z63w68vq.js} +2 -2
- package/dist/chunks/{workspace-bn5b4a4k.js → aisdk-native-zdkvr0ec.js} +11 -11
- package/dist/chunks/{workspace-zeh9ct20.js → aisdk-native-zeh9ct20.js} +2 -2
- package/dist/chunks/{workspace-mn4xswwv.js → aisdk-native-zj4vxcmy.js} +29 -29
- package/dist/chunks/{workspace-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-zxq2ej10.js → aisdk-native-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +111 -111
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +111 -111
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +216 -216
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +93 -93
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +78 -78
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +84 -84
- 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 +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- 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 +94 -94
- package/dist/reference/instructions.js +82 -82
- package/dist/reference.js +82 -82
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- 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 +213 -213
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- 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 +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +108 -108
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +147 -147
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +98 -98
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +83 -83
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +8 -8
- package/dist/chunks/workspace-0mesazry.js +0 -4
- package/dist/chunks/workspace-8g1qq46z.js +0 -247
- package/dist/chunks/workspace-by5v678g.js +0 -18
- package/dist/chunks/workspace-mbnhm94y.js +0 -22
- /package/dist/chunks/{workspace-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-922hggd3.js → aisdk-native-922hggd3.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hjbc5kem.js → aisdk-native-hjbc5kem.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-hrnqkpcd.js → aisdk-native-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-paphc93g.js → aisdk-native-paphc93g.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-sk3qaz4a.js → aisdk-native-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-twg0f83k.js → aisdk-native-twg0f83k.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
Info16
|
|
9
|
-
} from "./workspace-h2r7bbkd.js";
|
|
6
|
+
} from "./aisdk-native-50mzsvk4.js";
|
|
10
7
|
import {
|
|
11
8
|
Info13
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-nbzsj80d.js";
|
|
13
10
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
11
|
+
Info17
|
|
12
|
+
} from "./aisdk-native-tn0aqsam.js";
|
|
16
13
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
14
|
+
Info11
|
|
15
|
+
} from "./aisdk-native-d216944b.js";
|
|
19
16
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
17
|
+
Info18
|
|
18
|
+
} from "./aisdk-native-d2aac7k2.js";
|
|
22
19
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
20
|
+
Spec2
|
|
21
|
+
} from "./aisdk-native-2k8khapm.js";
|
|
25
22
|
import {
|
|
26
23
|
Info10
|
|
27
|
-
} from "./
|
|
24
|
+
} from "./aisdk-native-bgxcxs0p.js";
|
|
25
|
+
import {
|
|
26
|
+
Info9
|
|
27
|
+
} from "./aisdk-native-qqt2c52w.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./aisdk-native-1g0yzmeq.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info9.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info17, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info11, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info13, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info13, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info18, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info10, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-nsjg38bg.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-5tctejee.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-q34fswvm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service64,
|
|
7
|
+
node68
|
|
8
|
+
} from "./aisdk-native-116x79rh.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-native-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service57,
|
|
14
|
+
node61
|
|
15
|
+
} from "./aisdk-native-3nerv44p.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service6,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node9
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service6 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service79;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service57;
|
|
41
|
+
const location = yield* Service64;
|
|
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) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service6.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node9 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node84, FSUtil.node,
|
|
101
|
+
deps: [node84, FSUtil.node, node68, node61]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service6, node9, exports_instructions };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./aisdk-native-shrpy2d8.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-rap9a73h.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service38
|
|
9
|
+
} from "./aisdk-native-j095904d.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service54;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service38), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-08q1ktmp.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID14,
|
|
6
6
|
isAISDK2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-kcm1t3vd.js";
|
|
8
8
|
import {
|
|
9
9
|
iife2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-1kg9ymc8.js";
|
|
11
11
|
import {
|
|
12
12
|
configuredSettings2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-g2p0pajx.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
16
16
|
import os from "os";
|
|
17
17
|
import { Effect } from "effect";
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Form } from "@opencode/schema/form";
|
|
20
|
-
var providerID =
|
|
20
|
+
var providerID = ID14.make("cloudflare-workers-ai");
|
|
21
21
|
var CloudflareWorkersAIPlugin2 = define({
|
|
22
22
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
23
23
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-native-kcm1t3vd.js";
|
|
6
6
|
|
|
7
7
|
// src/plugin/provider/google-vertex.ts
|
|
8
8
|
import { Effect } from "effect";
|
|
@@ -39,7 +39,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
39
39
|
for (const item of evt.provider.list()) {
|
|
40
40
|
if (!isAISDK2(item.provider.package))
|
|
41
41
|
continue;
|
|
42
|
-
if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id ===
|
|
42
|
+
if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID14.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
|
|
43
43
|
continue;
|
|
44
44
|
const project = resolveProject(item.provider.settings ?? {});
|
|
45
45
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -56,7 +56,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
59
|
-
if (evt.model.providerID ===
|
|
59
|
+
if (evt.model.providerID === ID14.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
|
|
60
60
|
evt.options.fetch = authFetch(evt.options.fetch);
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
@@ -87,7 +87,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
87
87
|
});
|
|
88
88
|
}));
|
|
89
89
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
90
|
-
if (evt.model.providerID !==
|
|
90
|
+
if (evt.model.providerID !== ID14.googleVertex)
|
|
91
91
|
return;
|
|
92
92
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
93
93
|
}));
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node75
|
|
7
|
+
} from "./aisdk-native-mkh51v61.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
ID12
|
|
10
|
+
} from "./aisdk-native-4frkg54w.js";
|
|
11
11
|
import {
|
|
12
12
|
Slug2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-gebd4c9n.js";
|
|
14
14
|
import {
|
|
15
15
|
Service80,
|
|
16
16
|
node85
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./aisdk-native-ggwj6z60.js";
|
|
18
18
|
import {
|
|
19
19
|
Service79,
|
|
20
20
|
node84
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./aisdk-native-q34fswvm.js";
|
|
22
22
|
import {
|
|
23
23
|
ProjectTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./aisdk-native-8p4f9s12.js";
|
|
25
25
|
import {
|
|
26
26
|
WorktreeTable2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./aisdk-native-cfpkc3c9.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service64,
|
|
30
|
+
node68
|
|
31
|
+
} from "./aisdk-native-116x79rh.js";
|
|
32
32
|
import {
|
|
33
33
|
DirectoryUnavailableError2,
|
|
34
34
|
canonical2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./aisdk-native-gv6a8nnw.js";
|
|
36
36
|
import {
|
|
37
37
|
make12
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./aisdk-native-bpbqk74e.js";
|
|
39
39
|
import {
|
|
40
40
|
create3
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./aisdk-native-kg06axw8.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput2,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event3,
|
|
53
|
+
Info: () => Info3,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
@@ -76,17 +76,17 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
76
76
|
import { ChildProcess } from "effect/unstable/process";
|
|
77
77
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
78
78
|
var StrategyID2 = Worktree.StrategyID;
|
|
79
|
-
var
|
|
79
|
+
var CreateInput2 = Worktree.CreateInput;
|
|
80
80
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
81
81
|
var RefreshResult2 = Schema.Struct({
|
|
82
82
|
updated: Schema.Array(AbsolutePath2),
|
|
83
83
|
removed: Schema.Array(AbsolutePath2)
|
|
84
84
|
}).annotate({ identifier: "Worktree.RefreshResult" });
|
|
85
|
-
var
|
|
85
|
+
var Info3 = Worktree.Info;
|
|
86
86
|
var List2 = Worktree.List;
|
|
87
87
|
var ListEntry3 = Worktree.ListEntry;
|
|
88
88
|
|
|
89
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
89
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID12, directory: Schema.optional(AbsolutePath2) }) {
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -100,7 +100,7 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
100
100
|
|
|
101
101
|
class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
|
|
102
102
|
}
|
|
103
|
-
var
|
|
103
|
+
var Event3 = Worktree.Event;
|
|
104
104
|
|
|
105
105
|
class Service15 extends Context.Service()("@opencode/v2/Worktree") {
|
|
106
106
|
}
|
|
@@ -110,7 +110,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
110
110
|
const db = database.db;
|
|
111
111
|
const bus = yield* Service79;
|
|
112
112
|
const processService = yield* AppProcess.Service;
|
|
113
|
-
const location = yield*
|
|
113
|
+
const location = yield* Service64;
|
|
114
114
|
const global = yield* Global.Service;
|
|
115
115
|
const projectID = location.project.id;
|
|
116
116
|
const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
|
|
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
const changed = Effect.fnUntraced(function* (update) {
|
|
137
137
|
if (update)
|
|
138
|
-
yield* bus.publish(
|
|
138
|
+
yield* bus.publish(Event3.Updated, { projectID });
|
|
139
139
|
});
|
|
140
140
|
const ops = {
|
|
141
141
|
list: Effect.fnUntraced(function* () {
|
|
@@ -272,7 +272,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
272
272
|
var node19 = makeLocationNode({
|
|
273
273
|
service: Service15,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [FSUtil.node,
|
|
275
|
+
deps: [FSUtil.node, node75, node84, node85, AppProcess.node, node68, Global.node]
|
|
276
276
|
});
|
|
277
277
|
function operationError(strategy, operation, error) {
|
|
278
278
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
export { StrategyID2,
|
|
285
|
+
export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2, Info3, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event3, Service15, node19, exports_worktree2, OperationError2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-q34fswvm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key4,
|
|
7
|
+
Service76,
|
|
8
|
+
node81
|
|
9
|
+
} from "./aisdk-native-yarrm8g9.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./aisdk-native-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./aisdk-native-ww06yvfh.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event18,
|
|
34
|
+
ID: () => ID16,
|
|
35
|
+
Info: () => Info31,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
|
-
Ref: () =>
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
41
|
+
Ref: () => Ref4,
|
|
42
|
+
Service: () => Service75,
|
|
43
|
+
node: () => node80
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
65
|
+
var ID16 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info31 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -85,15 +85,15 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
85
85
|
cause: Schema.Defect()
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Ref4 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service75 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
95
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service76;
|
|
97
97
|
const bus = yield* Service79;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info31.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
271
271
|
const persistence = yield* createCredential({
|
|
272
272
|
integrationID: attempt.integrationID,
|
|
273
273
|
label: attempt.label,
|
|
274
|
-
value:
|
|
274
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
275
275
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
276
276
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
277
277
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service75.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
438
438
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
439
439
|
if (connection.type === "env") {
|
|
440
440
|
const key = process.env[connection.name];
|
|
441
|
-
return key ?
|
|
441
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
442
442
|
}
|
|
443
443
|
const credential = yield* credentials.get(connection.id);
|
|
444
444
|
if (!credential)
|
|
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
471
471
|
yield* createCredential({
|
|
472
472
|
integrationID: input.integrationID,
|
|
473
473
|
label: input.label,
|
|
474
|
-
value:
|
|
474
|
+
value: Key4.make({
|
|
475
475
|
type: "key",
|
|
476
476
|
key: input.key,
|
|
477
477
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node80 = makeLocationNode({
|
|
569
|
+
service: Service75,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node81, node84, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID16, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info31, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref4, Service75, node80, exports_integration, Event18 };
|