@opencode/core 0.0.0-dev-20016 → 0.0.0-dev-20018
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 +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{persistent-pty-r3q3r4fd.js → aisdk-native-01sqyddp.js} +7 -7
- package/dist/chunks/{persistent-pty-2wdjn665.js → aisdk-native-021wq21s.js} +6 -6
- package/dist/chunks/{persistent-pty-8j056ny1.js → aisdk-native-0302b5b5.js} +18 -18
- package/dist/chunks/{persistent-pty-af04s6ss.js → aisdk-native-0f9afca0.js} +5 -5
- package/dist/chunks/{persistent-pty-jhf3jymm.js → aisdk-native-0hf9g8pg.js} +6 -6
- package/dist/chunks/aisdk-native-0mesazry.js +4 -0
- package/dist/chunks/{persistent-pty-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0q0f95c6.js → aisdk-native-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-4n607a2z.js → aisdk-native-0ryd0fps.js} +5 -5
- package/dist/chunks/{persistent-pty-sw10j4fd.js → aisdk-native-0sgn86k0.js} +11 -11
- package/dist/chunks/{persistent-pty-dfe8djrf.js → aisdk-native-0v53mg2y.js} +4 -4
- package/dist/chunks/{persistent-pty-bbsnv5g3.js → aisdk-native-17wvxwbg.js} +15 -15
- package/dist/chunks/{persistent-pty-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-s3q9eqgg.js → aisdk-native-1ds2my23.js} +5 -5
- package/dist/chunks/{persistent-pty-ddbc03cc.js → aisdk-native-1e1158v2.js} +1 -1
- package/dist/chunks/{persistent-pty-hqefjfxk.js → aisdk-native-1gbz2yn7.js} +94 -94
- package/dist/chunks/{persistent-pty-v0vggfb5.js → aisdk-native-1kt80rtv.js} +27 -27
- package/dist/chunks/{persistent-pty-estb5scc.js → aisdk-native-1sb7x1ja.js} +25 -25
- package/dist/chunks/{persistent-pty-xgrywr61.js → aisdk-native-1t3e53wh.js} +24 -24
- package/dist/chunks/{persistent-pty-19je3c53.js → aisdk-native-1xjzz548.js} +10 -10
- package/dist/chunks/{persistent-pty-pd7psa0a.js → aisdk-native-1xrycep4.js} +20 -20
- package/dist/chunks/{persistent-pty-0fytzj6j.js → aisdk-native-1yjzzgg7.js} +7 -7
- package/dist/chunks/{persistent-pty-kbh1r6q9.js → aisdk-native-20c2583t.js} +8 -8
- package/dist/chunks/{persistent-pty-21r38tys.js → aisdk-native-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-2jmaghvr.js → aisdk-native-23pqda6t.js} +4 -4
- package/dist/chunks/{persistent-pty-6h73sxmp.js → aisdk-native-2402vzrj.js} +5 -5
- package/dist/chunks/{persistent-pty-v6tx60m1.js → aisdk-native-24khp7fr.js} +6 -6
- package/dist/chunks/{persistent-pty-hx17dh2f.js → aisdk-native-26vwh202.js} +4 -4
- package/dist/chunks/{persistent-pty-jcq5jrrk.js → aisdk-native-28tkfjbz.js} +28 -28
- package/dist/chunks/{persistent-pty-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-qg7vme5a.js → aisdk-native-2f4w56yt.js} +9 -9
- package/dist/chunks/{persistent-pty-80q9mm34.js → aisdk-native-2f6y5qym.js} +34 -34
- package/dist/chunks/{persistent-pty-k9pvwaf2.js → aisdk-native-2g8bhsfc.js} +25 -25
- package/dist/chunks/{persistent-pty-pkpv8qry.js → aisdk-native-2hk845ne.js} +24 -24
- package/dist/chunks/{persistent-pty-dvdevqhx.js → aisdk-native-2k79v3av.js} +12 -12
- package/dist/chunks/{persistent-pty-0jwsre1p.js → aisdk-native-2k8khapm.js} +5 -5
- package/dist/chunks/{persistent-pty-esg06bhp.js → aisdk-native-2x99fg7q.js} +9 -9
- package/dist/chunks/{persistent-pty-3fc6dm20.js → aisdk-native-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-f1d38761.js → aisdk-native-3ktbe3hf.js} +9 -9
- package/dist/chunks/{persistent-pty-w4nag94s.js → aisdk-native-3n74wv3g.js} +41 -41
- package/dist/chunks/{persistent-pty-9dnw0xb8.js → aisdk-native-3q6r2g3k.js} +37 -37
- package/dist/chunks/{persistent-pty-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-jp07c0tv.js → aisdk-native-3t6jcnqd.js} +18 -18
- package/dist/chunks/{persistent-pty-vsp1fds9.js → aisdk-native-3t8eac1t.js} +21 -21
- package/dist/chunks/{persistent-pty-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-dq0v80fr.js → aisdk-native-421r5d5v.js} +12 -12
- package/dist/chunks/{persistent-pty-4dgbcxzg.js → aisdk-native-44h5tttr.js} +4 -4
- package/dist/chunks/{persistent-pty-1j0h6t7s.js → aisdk-native-55dp11vt.js} +13 -13
- package/dist/chunks/{persistent-pty-1ygqh575.js → aisdk-native-56gdpj1q.js} +9 -9
- package/dist/chunks/{persistent-pty-pjmw00w1.js → aisdk-native-57ez7d0k.js} +7 -7
- package/dist/chunks/{persistent-pty-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-xxdx3sf5.js → aisdk-native-5e149kdp.js} +34 -34
- package/dist/chunks/{persistent-pty-5ekn9679.js → aisdk-native-5ekn9679.js} +1 -1
- package/dist/chunks/{persistent-pty-e3qxr5gk.js → aisdk-native-5qd3pb7m.js} +2 -2
- package/dist/chunks/{persistent-pty-87deq66t.js → aisdk-native-5shjer5g.js} +8 -8
- package/dist/chunks/{persistent-pty-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-me8c0bby.js → aisdk-native-5yx90kmd.js} +15 -15
- package/dist/chunks/{persistent-pty-669tq793.js → aisdk-native-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-ktabkpdb.js → aisdk-native-69bbxabs.js} +299 -299
- package/dist/chunks/{persistent-pty-jn0tk1mz.js → aisdk-native-69j91c1q.js} +8 -8
- package/dist/chunks/{persistent-pty-6msgmcgs.js → aisdk-native-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-syb1njrq.js → aisdk-native-6njza5sg.js} +5 -5
- package/dist/chunks/{persistent-pty-ged2zmeh.js → aisdk-native-6p0merk9.js} +8 -8
- package/dist/chunks/{persistent-pty-4tb9kxn6.js → aisdk-native-6qq30bkb.js} +8 -8
- package/dist/chunks/{persistent-pty-nme0kws8.js → aisdk-native-6ycg3kwq.js} +182 -182
- package/dist/chunks/{persistent-pty-98p0gwkd.js → aisdk-native-6z32fncg.js} +18 -18
- package/dist/chunks/{persistent-pty-bm5kp989.js → aisdk-native-6zy6thbp.js} +47 -47
- package/dist/chunks/{persistent-pty-phzzgaq9.js → aisdk-native-7337gnns.js} +24 -24
- package/dist/chunks/{persistent-pty-eq1pz5kg.js → aisdk-native-73tb2d7t.js} +3 -3
- package/dist/chunks/{persistent-pty-nrnm2w2a.js → aisdk-native-74nqchm7.js} +20 -20
- package/dist/chunks/{persistent-pty-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-20wj3b0e.js → aisdk-native-7fh6pp98.js} +43 -43
- package/dist/chunks/{persistent-pty-447xk7wn.js → aisdk-native-7sayt01t.js} +23 -23
- package/dist/chunks/{persistent-pty-3ezhmtbn.js → aisdk-native-7ywf0340.js} +22 -22
- package/dist/chunks/{persistent-pty-wc9pv775.js → aisdk-native-7z9xeg3c.js} +10 -10
- package/dist/chunks/{persistent-pty-9tghz495.js → aisdk-native-7zfytw8r.js} +9 -9
- package/dist/chunks/{persistent-pty-7rv8b2xc.js → aisdk-native-7zrjgwe4.js} +30 -30
- package/dist/chunks/{persistent-pty-p9xf3fyt.js → aisdk-native-84sdy7q0.js} +68 -68
- package/dist/chunks/{persistent-pty-41v30afh.js → aisdk-native-884h22he.js} +6 -6
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-tpfmta5c.js → aisdk-native-8n45b0qb.js} +61 -61
- package/dist/chunks/{persistent-pty-rqng2g8m.js → aisdk-native-8nte2a37.js} +7 -7
- package/dist/chunks/{persistent-pty-8p4f9s12.js → aisdk-native-8p4f9s12.js} +2 -2
- package/dist/chunks/{persistent-pty-7fjf7ynj.js → aisdk-native-8p7dxkr2.js} +22 -22
- package/dist/chunks/{persistent-pty-4d90bajk.js → aisdk-native-8v939q8p.js} +39 -39
- package/dist/chunks/{persistent-pty-t0bev62h.js → aisdk-native-907hxtj7.js} +23 -23
- package/dist/chunks/{persistent-pty-m9tv1fb9.js → aisdk-native-99j31chp.js} +11 -11
- package/dist/chunks/{persistent-pty-hdn6fj78.js → aisdk-native-9bmkwbs0.js} +15 -15
- package/dist/chunks/{persistent-pty-tpteeg0v.js → aisdk-native-9p2eh89p.js} +11 -11
- package/dist/chunks/{persistent-pty-q340vck3.js → aisdk-native-9v0bb2vy.js} +20 -20
- package/dist/chunks/{persistent-pty-59asnkcp.js → aisdk-native-9v7tp3a5.js} +16 -16
- package/dist/chunks/{persistent-pty-a1bz86dw.js → aisdk-native-a1bz86dw.js} +3 -3
- package/dist/chunks/{persistent-pty-mtq6xxnx.js → aisdk-native-a46v4e4v.js} +7 -7
- package/dist/chunks/{persistent-pty-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-2k71kv7p.js → aisdk-native-afrtgck4.js} +4 -4
- package/dist/chunks/{persistent-pty-66rnaxsh.js → aisdk-native-am440akt.js} +21 -21
- package/dist/chunks/{persistent-pty-j95ssxkc.js → aisdk-native-asr2c80m.js} +5 -5
- package/dist/chunks/{persistent-pty-5jecfbj8.js → aisdk-native-awzywe6v.js} +25 -25
- package/dist/chunks/{persistent-pty-k3yt7har.js → aisdk-native-ax7mvj3e.js} +4 -4
- package/dist/chunks/{persistent-pty-11df9xd3.js → aisdk-native-b0vp7t66.js} +3 -3
- package/dist/chunks/{persistent-pty-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-bpyfysax.js → aisdk-native-b7f6f4rh.js} +11 -11
- package/dist/chunks/{persistent-pty-10e0ba79.js → aisdk-native-bcb8970c.js} +18 -18
- package/dist/chunks/aisdk-native-bdfd4kzf.js +252 -0
- package/dist/chunks/{persistent-pty-6s9eyz9r.js → aisdk-native-bha4atvq.js} +4 -4
- package/dist/chunks/{persistent-pty-cvwc1v0p.js → aisdk-native-bmcwhvkh.js} +6 -6
- package/dist/chunks/{persistent-pty-c27esgm9.js → aisdk-native-bnmr3cva.js} +8 -8
- package/dist/chunks/{persistent-pty-82nx54qp.js → aisdk-native-bx7jpb3j.js} +41 -41
- package/dist/chunks/{persistent-pty-1m1ev6p6.js → aisdk-native-bxc0gw8b.js} +25 -25
- package/dist/chunks/{persistent-pty-8agyb5zv.js → aisdk-native-byr9wewt.js} +33 -33
- package/dist/chunks/aisdk-native-c45ax64k.js +503 -0
- package/dist/chunks/{persistent-pty-cfpkc3c9.js → aisdk-native-cfpkc3c9.js} +2 -2
- package/dist/chunks/{persistent-pty-1t6a8jz5.js → aisdk-native-cjvkyn9q.js} +27 -27
- package/dist/chunks/{persistent-pty-cmwkp3r5.js → aisdk-native-cmwkp3r5.js} +1 -1
- package/dist/chunks/{persistent-pty-n2cwydza.js → aisdk-native-cx67r7jq.js} +17 -17
- package/dist/chunks/{persistent-pty-dwxz0xt6.js → aisdk-native-d05awf3r.js} +26 -26
- package/dist/chunks/{persistent-pty-2sejkfem.js → aisdk-native-d4he2qe1.js} +9 -9
- package/dist/chunks/{persistent-pty-3vh13j3b.js → aisdk-native-d51a3xvr.js} +9 -9
- package/dist/chunks/{persistent-pty-dhwr7h25.js → aisdk-native-d8bwwvjm.js} +11 -11
- package/dist/chunks/{persistent-pty-33mefhds.js → aisdk-native-d93s37va.js} +19 -19
- package/dist/chunks/{persistent-pty-wbj67nwc.js → aisdk-native-dcwtkkkx.js} +32 -32
- package/dist/chunks/{persistent-pty-dca16q2k.js → aisdk-native-dhy3w197.js} +44 -44
- package/dist/chunks/{persistent-pty-eve2cjg0.js → aisdk-native-dj3z95sm.js} +13 -13
- package/dist/chunks/{persistent-pty-4stp5haz.js → aisdk-native-dj647td7.js} +16 -16
- package/dist/chunks/{persistent-pty-y71avatq.js → aisdk-native-dpkg50ah.js} +4 -4
- package/dist/chunks/{persistent-pty-3dz8xqcq.js → aisdk-native-dsf3f9dm.js} +11 -11
- package/dist/chunks/{persistent-pty-yrb6fvgd.js → aisdk-native-dzp16vb6.js} +9 -9
- package/dist/chunks/{persistent-pty-xhj0xgtv.js → aisdk-native-dzpm2t7b.js} +4 -4
- package/dist/chunks/{persistent-pty-2evxb7qc.js → aisdk-native-e2v6zjxr.js} +25 -25
- package/dist/chunks/{persistent-pty-eaj1djv9.js → aisdk-native-eaj1djv9.js} +1 -1
- package/dist/chunks/{persistent-pty-w1ad28wa.js → aisdk-native-ednp5hmx.js} +8 -8
- package/dist/chunks/{persistent-pty-ef5x83kb.js → aisdk-native-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-29zxs1e8.js → aisdk-native-er9b7gc5.js} +22 -22
- package/dist/chunks/{persistent-pty-erw5rpbs.js → aisdk-native-erw5rpbs.js} +2 -2
- package/dist/chunks/{persistent-pty-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-z5rzna54.js → aisdk-native-f3jb83wz.js} +6 -6
- package/dist/chunks/{persistent-pty-0zaqx4wy.js → aisdk-native-f43fgbda.js} +19 -19
- package/dist/chunks/{persistent-pty-f828m53h.js → aisdk-native-f828m53h.js} +2 -2
- package/dist/chunks/{persistent-pty-wxd0tmpv.js → aisdk-native-f8v7dp83.js} +13 -13
- package/dist/chunks/{persistent-pty-cqfe4aef.js → aisdk-native-f928k5wf.js} +4 -4
- package/dist/chunks/{persistent-pty-pnkbpv6t.js → aisdk-native-fmcqyzhx.js} +9 -9
- package/dist/chunks/{persistent-pty-h71w788e.js → aisdk-native-fwwk8vbp.js} +9 -9
- package/dist/chunks/{persistent-pty-mzm30qtr.js → aisdk-native-fyf4dfkk.js} +27 -27
- package/dist/chunks/{persistent-pty-vzd5qgkw.js → aisdk-native-fz3htqfe.js} +9 -9
- package/dist/chunks/{persistent-pty-m941nnpz.js → aisdk-native-g0gf468e.js} +88 -88
- package/dist/chunks/{persistent-pty-n8wxhx57.js → aisdk-native-g3yxg3fp.js} +16 -16
- package/dist/chunks/{persistent-pty-7ggntmd7.js → aisdk-native-g74c0m33.js} +5 -5
- package/dist/chunks/{persistent-pty-edsv4ebh.js → aisdk-native-gc8ffqbx.js} +5 -5
- package/dist/chunks/{persistent-pty-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-99kpm3x9.js → aisdk-native-gmbv0vxt.js} +22 -22
- package/dist/chunks/{persistent-pty-nhapt3yy.js → aisdk-native-gs9fvvsc.js} +13 -13
- package/dist/chunks/{persistent-pty-t2genxjv.js → aisdk-native-gt7k8psx.js} +11 -11
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → aisdk-native-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-sqj2vzfe.js → aisdk-native-h6s54by3.js} +6 -6
- package/dist/chunks/{persistent-pty-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-q1baby6z.js → aisdk-native-hayccemb.js} +24 -24
- package/dist/chunks/{persistent-pty-kbcdw4nv.js → aisdk-native-hjs28znn.js} +11 -11
- package/dist/chunks/{persistent-pty-ey211aqw.js → aisdk-native-hkka889t.js} +11 -11
- package/dist/chunks/{persistent-pty-0r7yqxbf.js → aisdk-native-hnr5yq9h.js} +5 -5
- package/dist/chunks/{persistent-pty-sqk9sjde.js → aisdk-native-hpdtgxjv.js} +34 -34
- package/dist/chunks/{persistent-pty-ve7cjxtc.js → aisdk-native-j3e5qt8g.js} +14 -14
- package/dist/chunks/{persistent-pty-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-xrsrnds8.js → aisdk-native-j6n6tav9.js} +13 -13
- package/dist/chunks/{persistent-pty-b82616de.js → aisdk-native-j9bbq9sy.js} +5 -5
- package/dist/chunks/{persistent-pty-b09hzw3k.js → aisdk-native-jca4demv.js} +2 -2
- package/dist/chunks/{persistent-pty-2w1mqpqm.js → aisdk-native-jfvy1r44.js} +5 -5
- package/dist/chunks/{persistent-pty-vsrpz7fz.js → aisdk-native-jmwb3seb.js} +46 -46
- package/dist/chunks/{persistent-pty-v5xmz3sz.js → aisdk-native-jpqdhqxp.js} +58 -58
- package/dist/chunks/{persistent-pty-yxaf12v7.js → aisdk-native-jx7jt0bb.js} +11 -11
- package/dist/chunks/{persistent-pty-ftbmn9zb.js → aisdk-native-k0js8chh.js} +3 -3
- package/dist/chunks/{persistent-pty-396s32cg.js → aisdk-native-k206dy6w.js} +47 -47
- package/dist/chunks/{persistent-pty-k3c624dm.js → aisdk-native-k3c624dm.js} +3 -3
- package/dist/chunks/{persistent-pty-xjc1bjsh.js → aisdk-native-k5nhr4kg.js} +15 -15
- package/dist/chunks/{persistent-pty-tz4n1mmd.js → aisdk-native-k76fn4kw.js} +4 -4
- package/dist/chunks/{persistent-pty-ds0wasgv.js → aisdk-native-k9d40v1y.js} +4 -4
- package/dist/chunks/{persistent-pty-knb7evpn.js → aisdk-native-k9kj6xed.js} +6 -6
- package/dist/chunks/{persistent-pty-jd81myvt.js → aisdk-native-kmcps0sp.js} +11 -11
- package/dist/chunks/{persistent-pty-k5xdewjb.js → aisdk-native-kndm10hy.js} +10 -10
- package/dist/chunks/{persistent-pty-xq8k2nwn.js → aisdk-native-kpaj6vzy.js} +24 -24
- package/dist/chunks/{persistent-pty-2zgjdn2h.js → aisdk-native-kty3n5sd.js} +17 -17
- package/dist/chunks/{persistent-pty-m3fdjcah.js → aisdk-native-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-8anfpmjy.js → aisdk-native-m4372dev.js} +4 -4
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-e4f61vrf.js → aisdk-native-md0kpch2.js} +23 -23
- package/dist/chunks/{persistent-pty-s9vmnz44.js → aisdk-native-mdcrs755.js} +27 -27
- package/dist/chunks/{persistent-pty-88f7a0ag.js → aisdk-native-mdhsaw86.js} +9 -9
- package/dist/chunks/{persistent-pty-dwpcx2qb.js → aisdk-native-mht03n9m.js} +16 -16
- package/dist/chunks/{persistent-pty-zx2jxj74.js → aisdk-native-mmr10ewq.js} +9 -9
- package/dist/chunks/{persistent-pty-1f7h7xqz.js → aisdk-native-mprqgbsq.js} +10 -10
- package/dist/chunks/{persistent-pty-1ch5qaya.js → aisdk-native-n4nzzcpz.js} +12 -12
- package/dist/chunks/{persistent-pty-mnhqa9m1.js → aisdk-native-ney539pe.js} +12 -12
- package/dist/chunks/{persistent-pty-trgr51ha.js → aisdk-native-nh8dtxc9.js} +4 -4
- package/dist/chunks/{persistent-pty-sd97x1rd.js → aisdk-native-nxcq9zd5.js} +11 -11
- package/dist/chunks/{persistent-pty-vsbqxt6s.js → aisdk-native-nzqr17tz.js} +46 -46
- package/dist/chunks/{persistent-pty-c8qdwc3q.js → aisdk-native-p6zm9yar.js} +11 -11
- package/dist/chunks/aisdk-native-pf31ssb9.js +18 -0
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-xpbx2hne.js → aisdk-native-pmgshs7m.js} +20 -20
- package/dist/chunks/{persistent-pty-tez6bvh6.js → aisdk-native-pmjh0aff.js} +8 -8
- package/dist/chunks/{persistent-pty-qg0jgkcp.js → aisdk-native-pnv527nz.js} +9 -9
- package/dist/chunks/{persistent-pty-yrg2qc8f.js → aisdk-native-pyfzgqcd.js} +17 -17
- package/dist/chunks/{persistent-pty-y6f0p4jw.js → aisdk-native-q3t37ft6.js} +3 -3
- package/dist/chunks/{persistent-pty-p8j15tse.js → aisdk-native-q52g9cy7.js} +31 -31
- package/dist/chunks/{persistent-pty-jb4h23rf.js → aisdk-native-q5v2zwww.js} +30 -30
- package/dist/chunks/{persistent-pty-knc8cwjj.js → aisdk-native-qdcnzjn8.js} +29 -29
- package/dist/chunks/{persistent-pty-spt9fbav.js → aisdk-native-qq8x5mwt.js} +6 -6
- package/dist/chunks/{persistent-pty-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-7z7az0f5.js → aisdk-native-qsjcxkdn.js} +4 -4
- package/dist/chunks/{persistent-pty-ahh07121.js → aisdk-native-r63d2cpx.js} +17 -17
- package/dist/chunks/{persistent-pty-f2n192rq.js → aisdk-native-r8xr0va3.js} +4 -4
- package/dist/chunks/{persistent-pty-fv57xrbx.js → aisdk-native-razfbmkw.js} +10 -10
- package/dist/chunks/{persistent-pty-rdw6cm16.js → aisdk-native-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-nggwfnrx.js → aisdk-native-rex1x5b0.js} +5 -5
- package/dist/chunks/{persistent-pty-738s90ft.js → aisdk-native-rk10gty7.js} +7 -7
- package/dist/chunks/{persistent-pty-vrpz8t5t.js → aisdk-native-rmk2c50f.js} +5 -5
- package/dist/chunks/{persistent-pty-fxmgg4aj.js → aisdk-native-rp1g7e9y.js} +4 -4
- package/dist/chunks/{persistent-pty-fvvjxtsr.js → aisdk-native-rq6j0fn2.js} +18 -18
- package/dist/chunks/{persistent-pty-5b07h487.js → aisdk-native-rqs589qw.js} +3 -3
- package/dist/chunks/{persistent-pty-5vyrtx1r.js → aisdk-native-rwk1y0ce.js} +23 -23
- package/dist/chunks/{persistent-pty-x91n6wh8.js → aisdk-native-s0dr1ffy.js} +17 -17
- package/dist/chunks/{persistent-pty-7rv8b3vf.js → aisdk-native-s26cjxn6.js} +9 -9
- package/dist/chunks/{persistent-pty-s375a249.js → aisdk-native-sds13m34.js} +9 -9
- package/dist/chunks/{persistent-pty-kv06je6w.js → aisdk-native-sfysyawj.js} +1 -1
- package/dist/chunks/{persistent-pty-axw7a489.js → aisdk-native-sj08vp51.js} +27 -27
- package/dist/chunks/{persistent-pty-z3mtvqww.js → aisdk-native-sqy4ahhk.js} +1 -1
- package/dist/chunks/{persistent-pty-qd1yxrve.js → aisdk-native-sxqw1b1k.js} +25 -25
- package/dist/chunks/{persistent-pty-bnsead3g.js → aisdk-native-szs6apvm.js} +27 -27
- package/dist/chunks/{persistent-pty-x20zfesq.js → aisdk-native-t39v03va.js} +32 -32
- package/dist/chunks/{persistent-pty-jdw8m902.js → aisdk-native-t40vv9yz.js} +3 -3
- package/dist/chunks/{persistent-pty-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-89znhe33.js → aisdk-native-tcezcvh9.js} +4 -4
- package/dist/chunks/{persistent-pty-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-evbgk2k8.js → aisdk-native-tn0aqsam.js} +5 -5
- package/dist/chunks/{persistent-pty-tvtrv512.js → aisdk-native-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-rs8bkfty.js → aisdk-native-v56ajmgg.js} +2 -2
- package/dist/chunks/{persistent-pty-h4fcns97.js → aisdk-native-vbwv88ck.js} +32 -32
- package/dist/chunks/{persistent-pty-tdvhbj2h.js → aisdk-native-vdvf21h7.js} +20 -20
- package/dist/chunks/{persistent-pty-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-99bynxv0.js → aisdk-native-vk3vcmgn.js} +47 -47
- package/dist/chunks/{persistent-pty-6f7ecbcm.js → aisdk-native-vsq6befk.js} +14 -14
- package/dist/chunks/{persistent-pty-vtxr0yy2.js → aisdk-native-vtxr0yy2.js} +2 -2
- package/dist/chunks/{persistent-pty-vzcthcp8.js → aisdk-native-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-cnc2tv60.js → aisdk-native-w3qh93dp.js} +20 -20
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-5g079bry.js → aisdk-native-w7aez7g3.js} +15 -15
- package/dist/chunks/{persistent-pty-fmc4p1es.js → aisdk-native-w9re2mp5.js} +27 -27
- package/dist/chunks/{persistent-pty-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-12pkvdhr.js → aisdk-native-wg29s3qa.js} +17 -17
- package/dist/chunks/{persistent-pty-9zvz2vs6.js → aisdk-native-wgpyfcqa.js} +19 -19
- package/dist/chunks/{persistent-pty-nv5y4rap.js → aisdk-native-whg5qmgh.js} +17 -17
- package/dist/chunks/{persistent-pty-atr6khgd.js → aisdk-native-wjhgjkby.js} +6 -6
- package/dist/chunks/{persistent-pty-06jbrb77.js → aisdk-native-wmnh767x.js} +40 -40
- package/dist/chunks/{persistent-pty-gerte707.js → aisdk-native-wt533w0r.js} +35 -35
- package/dist/chunks/{persistent-pty-q1z1ejdm.js → aisdk-native-wz3830dt.js} +15 -15
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
- package/dist/chunks/aisdk-native-x3cxeggx.js +26 -0
- package/dist/chunks/{persistent-pty-74a578b2.js → aisdk-native-x5ppsceb.js} +4 -4
- package/dist/chunks/{persistent-pty-m41fsdzn.js → aisdk-native-xajn4p7x.js} +22 -22
- package/dist/chunks/{persistent-pty-x18v0msy.js → aisdk-native-xbs4kcmg.js} +13 -13
- package/dist/chunks/{persistent-pty-drwq78ky.js → aisdk-native-xfkkasph.js} +4 -4
- package/dist/chunks/{persistent-pty-49am0wpx.js → aisdk-native-xnx5mes9.js} +10 -10
- package/dist/chunks/{persistent-pty-k91r4kkq.js → aisdk-native-xtht1rfq.js} +30 -30
- package/dist/chunks/{persistent-pty-fd34zh6k.js → aisdk-native-xvakhrf5.js} +22 -22
- package/dist/chunks/{persistent-pty-yj4nt1a3.js → aisdk-native-xw5f9arm.js} +32 -32
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-hmnhqwz4.js → aisdk-native-y2vw75ss.js} +11 -11
- package/dist/chunks/{persistent-pty-22756crb.js → aisdk-native-y55kc2vx.js} +11 -11
- package/dist/chunks/{persistent-pty-4hwe5s31.js → aisdk-native-yd0qkhcy.js} +11 -11
- package/dist/chunks/{persistent-pty-yeeaz69z.js → aisdk-native-yqhbtxf5.js} +7 -7
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → aisdk-native-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-s4enseaf.js → aisdk-native-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-7nrwpcb0.js → aisdk-native-z1nwwvj7.js} +5 -5
- package/dist/chunks/{persistent-pty-k3sdfjqa.js → aisdk-native-z3bfee9d.js} +27 -27
- package/dist/chunks/{persistent-pty-nvavs34c.js → aisdk-native-z5brd6pn.js} +10 -10
- package/dist/chunks/{persistent-pty-29x78va6.js → aisdk-native-z63w68vq.js} +6 -6
- package/dist/chunks/{persistent-pty-1r71k1az.js → aisdk-native-z8w9mw3w.js} +8 -8
- package/dist/chunks/{persistent-pty-dep4c52h.js → aisdk-native-za9cswpv.js} +22 -22
- package/dist/chunks/{persistent-pty-zeh9ct20.js → aisdk-native-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-s69js0dt.js → aisdk-native-zg2dh0gb.js} +12 -12
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-74x1x3cs.js → aisdk-native-zv6dj9jh.js} +18 -18
- package/dist/chunks/{persistent-pty-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 +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- 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 +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +131 -131
- 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 +125 -125
- 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 +82 -82
- package/dist/database/database.js +69 -69
- 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 +78 -78
- 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 +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- 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 +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 +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- 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 +90 -90
- 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 +84 -84
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- 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 +86 -86
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +118 -118
- 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 +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- 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 +1 -1
- 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 +119 -119
- 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 +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- 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 +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- 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 +6 -6
- 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 +87 -87
- package/dist/provider.js +100 -100
- 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 +86 -86
- package/dist/reference.js +88 -88
- 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 +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +127 -127
- 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 +220 -220
- 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 +89 -89
- 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 +96 -96
- package/dist/session/message-updater.js +2 -2
- 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 +230 -230
- 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 +74 -74
- package/dist/session/store.js +86 -86
- 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 +153 -153
- 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 +215 -215
- 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 +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- 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 +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +121 -121
- 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 +122 -122
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +119 -119
- 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 +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- 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 +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 +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- 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 +10 -10
- 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/persistent-pty-a3se19xg.js +0 -26
- package/dist/chunks/persistent-pty-gyce5qg1.js +0 -18
- package/dist/chunks/persistent-pty-hfyjynd0.js +0 -503
- package/dist/chunks/persistent-pty-hr9dp009.js +0 -4
- package/dist/chunks/persistent-pty-vz5jjned.js +0 -252
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → aisdk-native-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → aisdk-native-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → aisdk-native-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → aisdk-native-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → aisdk-native-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → aisdk-native-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → aisdk-native-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → aisdk-native-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
node83
|
|
7
|
+
} from "./aisdk-native-421r5d5v.js";
|
|
8
8
|
import {
|
|
9
9
|
Slug2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-native-gebd4c9n.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service81,
|
|
13
|
+
node85
|
|
14
|
+
} from "./aisdk-native-dsf3f9dm.js";
|
|
15
15
|
import {
|
|
16
16
|
Service80,
|
|
17
17
|
node84
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-native-pmjh0aff.js";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./aisdk-native-8p4f9s12.js";
|
|
22
22
|
import {
|
|
23
23
|
WorktreeTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./aisdk-native-cfpkc3c9.js";
|
|
25
25
|
import {
|
|
26
26
|
ID17,
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
NotFoundError11
|
|
28
|
+
} from "./aisdk-native-dcwtkkkx.js";
|
|
29
29
|
import {
|
|
30
30
|
Ref4
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./aisdk-native-g3yxg3fp.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service56,
|
|
34
|
+
node59
|
|
35
|
+
} from "./aisdk-native-7zfytw8r.js";
|
|
36
36
|
import {
|
|
37
37
|
DirectoryUnavailableError2,
|
|
38
38
|
canonical2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./aisdk-native-gv6a8nnw.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
41
|
+
make12
|
|
42
|
+
} from "./aisdk-native-6qq30bkb.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
44
|
+
Service16
|
|
45
|
+
} from "./aisdk-native-am440akt.js";
|
|
46
46
|
import {
|
|
47
47
|
__export
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
49
49
|
|
|
50
50
|
// src/worktree.ts
|
|
51
51
|
var exports_worktree2 = {};
|
|
52
52
|
__export(exports_worktree2, {
|
|
53
|
-
CreateInput: () =>
|
|
53
|
+
CreateInput: () => CreateInput3,
|
|
54
54
|
DestinationExistsError: () => DestinationExistsError2,
|
|
55
55
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
56
|
-
Event: () =>
|
|
57
|
-
Info: () =>
|
|
56
|
+
Event: () => Event4,
|
|
57
|
+
Info: () => Info4,
|
|
58
58
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
59
59
|
List: () => List2,
|
|
60
60
|
ListEntry: () => ListEntry3,
|
|
61
61
|
OperationError: () => OperationError2,
|
|
62
62
|
RemoveInput: () => RemoveInput2,
|
|
63
|
-
Service: () =>
|
|
63
|
+
Service: () => Service15,
|
|
64
64
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
65
65
|
StrategyID: () => StrategyID2,
|
|
66
66
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
67
67
|
Worktree: () => exports_worktree2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node18
|
|
69
69
|
});
|
|
70
70
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
71
71
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -77,9 +77,9 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
77
77
|
import { ChildProcess } from "effect/unstable/process";
|
|
78
78
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
79
79
|
var StrategyID2 = Worktree.StrategyID;
|
|
80
|
-
var
|
|
80
|
+
var CreateInput3 = Worktree.CreateInput;
|
|
81
81
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
82
|
-
var
|
|
82
|
+
var Info4 = Worktree.Info;
|
|
83
83
|
var List2 = Worktree.List;
|
|
84
84
|
var ListEntry3 = Worktree.ListEntry;
|
|
85
85
|
|
|
@@ -94,22 +94,22 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
94
94
|
|
|
95
95
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
96
96
|
}
|
|
97
|
-
var
|
|
97
|
+
var Event4 = Worktree.Event;
|
|
98
98
|
|
|
99
|
-
class
|
|
99
|
+
class Service15 extends Context.Service()("@opencode/Worktree") {
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const database = yield*
|
|
103
|
+
const database = yield* Service81;
|
|
104
104
|
const db = database.db;
|
|
105
105
|
const bus = yield* Service80;
|
|
106
106
|
const processService = yield* AppProcess.Service;
|
|
107
|
-
const locations = yield*
|
|
108
|
-
const gitStrategy = yield*
|
|
107
|
+
const locations = yield* Service56;
|
|
108
|
+
const gitStrategy = yield* make12;
|
|
109
109
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
110
110
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
111
111
|
if (!row)
|
|
112
|
-
return yield* new
|
|
112
|
+
return yield* new NotFoundError11({ projectID });
|
|
113
113
|
return row;
|
|
114
114
|
});
|
|
115
115
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -120,11 +120,11 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
120
120
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
121
121
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
122
122
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
123
|
-
return Context.get(context,
|
|
123
|
+
return Context.get(context, Service16).get();
|
|
124
124
|
});
|
|
125
125
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
126
126
|
if (update)
|
|
127
|
-
yield* bus.publish(
|
|
127
|
+
yield* bus.publish(Event4.Updated, { projectID });
|
|
128
128
|
});
|
|
129
129
|
const ops = {
|
|
130
130
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
251
251
|
})).pipe(Effect.orDie);
|
|
252
252
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
253
253
|
}, Effect.scoped);
|
|
254
|
-
return
|
|
254
|
+
return Service15.of({
|
|
255
255
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
256
256
|
yield* project(input.projectID);
|
|
257
257
|
return yield* ops.list(input.projectID);
|
|
@@ -261,10 +261,10 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
261
261
|
refresh
|
|
262
262
|
});
|
|
263
263
|
}));
|
|
264
|
-
var
|
|
265
|
-
service:
|
|
264
|
+
var node18 = Node.makeGlobalNode({
|
|
265
|
+
service: Service15,
|
|
266
266
|
layer,
|
|
267
|
-
deps: [FSUtil.node,
|
|
267
|
+
deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node59]
|
|
268
268
|
});
|
|
269
269
|
function operationError(strategy, operation, error) {
|
|
270
270
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -274,4 +274,4 @@ function operationError(strategy, operation, error) {
|
|
|
274
274
|
});
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
export { StrategyID2,
|
|
277
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info4, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event4, Service15, node18, exports_worktree2, OperationError2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node83
|
|
7
|
+
} from "./aisdk-native-421r5d5v.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-native-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service71,
|
|
16
|
+
node75
|
|
17
|
+
} from "./aisdk-native-55dp11vt.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service63,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node66,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service63 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service79;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service71;
|
|
110
|
+
return Service63.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse4(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse4(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node66 = makeGlobalNode({
|
|
171
|
+
service: Service63,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node83, Global.node, node75]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service63, isError2, validateBranch2, node66, exports_repository_cache };
|
|
@@ -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 "./
|
|
6
|
+
} from "./aisdk-native-3t8eac1t.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info18
|
|
9
|
+
} from "./aisdk-native-d8bwwvjm.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info17
|
|
12
|
+
} from "./aisdk-native-tn0aqsam.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info20
|
|
15
|
+
} from "./aisdk-native-a46v4e4v.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info13
|
|
18
|
+
} from "./aisdk-native-0f9afca0.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./aisdk-native-2k8khapm.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info16
|
|
24
|
+
} from "./aisdk-native-hnr5yq9h.js";
|
|
25
25
|
import {
|
|
26
26
|
Info12
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./aisdk-native-wmnh767x.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-ax7mvj3e.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 = {};
|
|
@@ -87,7 +87,7 @@ function normalize2(input) {
|
|
|
87
87
|
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info12.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, Info20, ["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, Info18, ["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, Info18, ["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(Info13, 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(Info16, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service80,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-native-pmjh0aff.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service6,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer6,
|
|
17
|
+
node: () => node8
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service6 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer6 = Layer.effect(Service6, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service80;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service6.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node8 = makeGlobalNode({ service: Service6, layer: layer6, deps: [node84] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service6, layer6, node8, exports_sdk };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-g3yxg3fp.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service56,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node59,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service56 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service56, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node59 = LayerNode.unbound(Service56, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service56;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service56, node59, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-native-pmjh0aff.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-native-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node81
|
|
12
|
+
} from "./aisdk-native-g3yxg3fp.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
ID13,
|
|
14
|
+
ID8,
|
|
16
15
|
modelSettings2,
|
|
17
16
|
mergeOverlay2,
|
|
18
17
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
Service66,
|
|
19
|
+
node70,
|
|
20
|
+
Event14,
|
|
21
|
+
rewrite2
|
|
22
|
+
} from "./aisdk-native-69bbxabs.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,25 +30,25 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event13,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
35
|
+
ID: () => ID7,
|
|
36
36
|
Info: () => Info22,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service65,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
44
|
-
parse: () =>
|
|
43
|
+
node: () => node69,
|
|
44
|
+
parse: () => parse5
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
|
-
import { Event as
|
|
51
|
-
var
|
|
50
|
+
import { Event as Event13 } from "@opencode/schema/model";
|
|
51
|
+
var ID7 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -58,12 +58,12 @@ var Cost2 = Model.Cost;
|
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
59
|
var Info22 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service65 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
63
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service66;
|
|
65
65
|
const bus = yield* Service80;
|
|
66
|
-
const location = yield*
|
|
66
|
+
const location = yield* Service77;
|
|
67
67
|
let input;
|
|
68
68
|
const state = create3({
|
|
69
69
|
name: "model",
|
|
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
197
197
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
yield* bus.subscribe(
|
|
201
|
-
return
|
|
200
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
+
return Service65.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node69 = makeLocationNode({ service: Service65, layer, deps: [node70, node84, node81] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -225,12 +225,12 @@ function compatibility2(input) {
|
|
|
225
225
|
return;
|
|
226
226
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function parse5(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID8.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID7.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID7, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info22, Service65, node69, compatibility2, parse5, exports_model2, Event13 };
|