@opencode/core 0.0.0-dev-21614 → 0.0.0-dev-21631
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{wellknown-wnvqne7d.js → workspace-02ggbb5g.js} +26 -26
- package/dist/chunks/{wellknown-aj7mw0zk.js → workspace-034tev2y.js} +2 -2
- package/dist/chunks/{wellknown-gcc7dp33.js → workspace-067bn7k9.js} +12 -12
- package/dist/chunks/{wellknown-rbhxz4gb.js → workspace-0x14psyd.js} +36 -36
- package/dist/chunks/{wellknown-tgppvydt.js → workspace-0ygh9k6m.js} +21 -21
- package/dist/chunks/{wellknown-htb7qhsb.js → workspace-0zcnfd18.js} +11 -11
- package/dist/chunks/{wellknown-tfztb0br.js → workspace-0zwx71ns.js} +24 -24
- package/dist/chunks/{wellknown-6ca4ym0t.js → workspace-10nvmenf.js} +26 -26
- package/dist/chunks/{wellknown-6ysjzz3p.js → workspace-1216qybz.js} +31 -31
- package/dist/chunks/{wellknown-27w5k9zf.js → workspace-1ep2p91f.js} +2 -2
- package/dist/chunks/{wellknown-n9a7rh5w.js → workspace-1pzczgek.js} +4 -4
- package/dist/chunks/{wellknown-mj6xf4g5.js → workspace-1vf54b5a.js} +21 -21
- package/dist/chunks/{wellknown-cjqg7s82.js → workspace-1vwr1yzz.js} +13 -13
- package/dist/chunks/{wellknown-3vvv9mv5.js → workspace-1wct354y.js} +12 -12
- package/dist/chunks/{wellknown-1x2knyw4.js → workspace-1x2knyw4.js} +1 -1
- package/dist/chunks/{wellknown-pa73zsyv.js → workspace-1xvjm3kc.js} +15 -15
- package/dist/chunks/{wellknown-s7kyse9r.js → workspace-1y0wdj51.js} +9 -9
- package/dist/chunks/{wellknown-n9n70ej9.js → workspace-22yhmnjg.js} +11 -11
- package/dist/chunks/{wellknown-dmg81fze.js → workspace-2g8e9hha.js} +11 -11
- package/dist/chunks/{wellknown-r9eyfrc3.js → workspace-2hntn1k8.js} +16 -16
- package/dist/chunks/{wellknown-j693j56p.js → workspace-2hxpq778.js} +7 -7
- package/dist/chunks/{wellknown-p0tsr9h6.js → workspace-2jq4ff38.js} +4 -4
- package/dist/chunks/{wellknown-hnc1mdqv.js → workspace-2xea8x11.js} +16 -16
- package/dist/chunks/{wellknown-2z1j29yd.js → workspace-2z1j29yd.js} +1 -1
- package/dist/chunks/{wellknown-8xmmsc9p.js → workspace-32mwzrrd.js} +10 -10
- package/dist/chunks/{wellknown-9a61gpeh.js → workspace-38vyv955.js} +5 -5
- package/dist/chunks/{wellknown-tkmwn4n3.js → workspace-3bnf6a24.js} +9 -9
- package/dist/chunks/{wellknown-c6gg2d7g.js → workspace-3ge5rx21.js} +11 -11
- package/dist/chunks/{wellknown-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{wellknown-yt87mgee.js → workspace-3k5f8s26.js} +2 -2
- package/dist/chunks/{wellknown-3kdbrncp.js → workspace-3kdbrncp.js} +2 -2
- package/dist/chunks/{wellknown-beqsqb4f.js → workspace-3nh05435.js} +1 -1
- package/dist/chunks/{wellknown-ee49148j.js → workspace-3paf0x2w.js} +18 -18
- package/dist/chunks/{wellknown-f8brgmmr.js → workspace-3wmzcy16.js} +1 -1
- package/dist/chunks/{wellknown-yaqxkf8p.js → workspace-3z36edkt.js} +8 -8
- package/dist/chunks/{wellknown-jtx0gzs1.js → workspace-48qd1d8y.js} +10 -10
- package/dist/chunks/{wellknown-zns6ke8q.js → workspace-4hhqfxrb.js} +14 -14
- package/dist/chunks/{wellknown-wqj0b1m2.js → workspace-4hrd0f0s.js} +176 -176
- package/dist/chunks/{wellknown-r711frth.js → workspace-4rk46c4y.js} +10 -10
- package/dist/chunks/{wellknown-x0m7sghc.js → workspace-4txypjtm.js} +42 -42
- package/dist/chunks/{wellknown-4v008n1t.js → workspace-4v008n1t.js} +1 -1
- package/dist/chunks/{wellknown-4xvmh7wp.js → workspace-4xvmh7wp.js} +3 -3
- package/dist/chunks/{wellknown-qjwcge9s.js → workspace-4z3n7x5k.js} +3 -3
- package/dist/chunks/{wellknown-9vbx93zb.js → workspace-5083qcyj.js} +30 -30
- package/dist/chunks/{wellknown-sr7feaek.js → workspace-5445pja8.js} +29 -29
- package/dist/chunks/{wellknown-fzrg86r1.js → workspace-57zfgywe.js} +10 -10
- package/dist/chunks/{wellknown-25zhe1e5.js → workspace-59rjxnhk.js} +14 -14
- package/dist/chunks/{wellknown-kv86bdab.js → workspace-5agv5pnb.js} +9 -9
- package/dist/chunks/{wellknown-jx89vj1k.js → workspace-5crety7g.js} +3 -3
- package/dist/chunks/{wellknown-41b3382c.js → workspace-5f9y7f7a.js} +9 -9
- package/dist/chunks/{wellknown-5m9w47nd.js → workspace-5m9w47nd.js} +1 -1
- package/dist/chunks/{wellknown-x5b2bey3.js → workspace-5pk0xbgp.js} +27 -27
- package/dist/chunks/{wellknown-e3qxr5gk.js → workspace-5qd3pb7m.js} +2 -2
- package/dist/chunks/{wellknown-ayxev8a3.js → workspace-5qjar1cd.js} +2 -2
- package/dist/chunks/{wellknown-wfa1ttd4.js → workspace-5w9qrcma.js} +14 -14
- package/dist/chunks/{wellknown-fyzdnt29.js → workspace-66c7hxbd.js} +16 -16
- package/dist/chunks/{wellknown-wy65z4t5.js → workspace-6c1s406r.js} +9 -9
- package/dist/chunks/{wellknown-6esdw8yj.js → workspace-6esdw8yj.js} +1 -1
- package/dist/chunks/{wellknown-6pjqjmy2.js → workspace-6pjqjmy2.js} +1 -1
- package/dist/chunks/{wellknown-10e9m0pt.js → workspace-6qbtkmgq.js} +17 -17
- package/dist/chunks/{wellknown-c3v55vft.js → workspace-6qjs3j48.js} +13 -13
- package/dist/chunks/{wellknown-17m52qnf.js → workspace-6wx80czs.js} +18 -18
- package/dist/chunks/{wellknown-zwj0rqkv.js → workspace-75cp5h68.js} +23 -23
- package/dist/chunks/{wellknown-gm2e9k17.js → workspace-75sznh19.js} +16 -16
- package/dist/chunks/{wellknown-76cb1hcw.js → workspace-76cb1hcw.js} +1 -1
- package/dist/chunks/{wellknown-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{wellknown-9v7dz4xn.js → workspace-7en38gq0.js} +12 -12
- package/dist/chunks/{wellknown-r06a3q58.js → workspace-7j753ka9.js} +18 -18
- package/dist/chunks/{wellknown-d9rjxn1q.js → workspace-7scgcvrf.js} +13 -13
- package/dist/chunks/{wellknown-v9see6sy.js → workspace-7vpzw89w.js} +21 -21
- package/dist/chunks/{wellknown-7w2ypzdf.js → workspace-7w2ypzdf.js} +1 -1
- package/dist/chunks/{wellknown-ffp3ehby.js → workspace-811sm8q5.js} +15 -15
- package/dist/chunks/{wellknown-8wtp7s3z.js → workspace-8wtp7s3z.js} +1 -1
- package/dist/chunks/{wellknown-fhpwcnq5.js → workspace-8xgvjc3j.js} +21 -21
- package/dist/chunks/{wellknown-cwqd4yek.js → workspace-8y2wmcqs.js} +9 -9
- package/dist/chunks/{wellknown-91rj84md.js → workspace-91rj84md.js} +1 -1
- package/dist/chunks/{wellknown-dvj9ct8m.js → workspace-998yhzzq.js} +3 -3
- package/dist/chunks/{wellknown-8sqhc7vc.js → workspace-9ahp1agz.js} +6 -6
- package/dist/chunks/{wellknown-3hw3272a.js → workspace-9djkex7c.js} +8 -8
- package/dist/chunks/{wellknown-am41y27b.js → workspace-9jh1w38s.js} +11 -11
- package/dist/chunks/{wellknown-k97tdqzj.js → workspace-9qg9bmww.js} +3 -3
- package/dist/chunks/{wellknown-4pw98qd4.js → workspace-9tvpxs1q.js} +4 -4
- package/dist/chunks/{wellknown-a5y3wh5q.js → workspace-9y24x8tm.js} +5 -5
- package/dist/chunks/{wellknown-pgeh2d1w.js → workspace-a710j6jq.js} +17 -17
- package/dist/chunks/{wellknown-8ykqf5wm.js → workspace-a7hcemwv.js} +11 -11
- package/dist/chunks/{wellknown-nt8bw4me.js → workspace-actym6sp.js} +6 -6
- package/dist/chunks/{wellknown-ek216raq.js → workspace-af16rb46.js} +4 -4
- package/dist/chunks/{wellknown-8v3etk6p.js → workspace-amv93mrg.js} +14 -14
- package/dist/chunks/{wellknown-e5azydyz.js → workspace-as4kdtne.js} +7 -7
- package/dist/chunks/{wellknown-9smwdb2z.js → workspace-at43vtwn.js} +13 -13
- package/dist/chunks/{wellknown-k8w4kbf3.js → workspace-avpraz00.js} +47 -47
- package/dist/chunks/{wellknown-34s5tdcd.js → workspace-ay6kp039.js} +4 -4
- package/dist/chunks/{wellknown-3cbjf1nt.js → workspace-ayjs7tqn.js} +2 -2
- package/dist/chunks/{wellknown-b0mv4wxm.js → workspace-b0mv4wxm.js} +2 -2
- package/dist/chunks/{wellknown-r7hn3bee.js → workspace-b6ejp4av.js} +34 -34
- package/dist/chunks/{wellknown-5nnwax6m.js → workspace-b6vsg801.js} +5 -5
- package/dist/chunks/{wellknown-qaz4f448.js → workspace-bqwdyg2t.js} +9 -9
- package/dist/chunks/{wellknown-9dtj3gwf.js → workspace-bx934t5c.js} +12 -12
- package/dist/chunks/{wellknown-tvbkyf9p.js → workspace-c80g5ddr.js} +17 -17
- package/dist/chunks/{wellknown-ssfehs1z.js → workspace-c9t2ty9q.js} +4 -4
- package/dist/chunks/{wellknown-6xcwddbm.js → workspace-cjkc2yd9.js} +28 -28
- package/dist/chunks/{wellknown-7nkdcysn.js → workspace-cq3z49j9.js} +30 -30
- package/dist/chunks/workspace-csdtf696.js +26 -0
- package/dist/chunks/{wellknown-ctz21g80.js → workspace-ctyy7ctv.js} +10 -10
- package/dist/chunks/{wellknown-h9zzwr9p.js → workspace-cwyfam04.js} +4 -4
- package/dist/chunks/{wellknown-xs6gfkjp.js → workspace-d01ndws9.js} +45 -45
- package/dist/chunks/{wellknown-385mwvv9.js → workspace-d1bhb9nv.js} +10 -10
- package/dist/chunks/{wellknown-d4v9tmah.js → workspace-d4v9tmah.js} +2 -2
- package/dist/chunks/{wellknown-jdv93er6.js → workspace-d5agj1pv.js} +34 -34
- package/dist/chunks/{wellknown-xc76h6b6.js → workspace-d8wk2jpt.js} +54 -54
- package/dist/chunks/{wellknown-6wdcbwmk.js → workspace-dcdr9dg7.js} +11 -11
- package/dist/chunks/{wellknown-wsccfv8x.js → workspace-dhjhcs6c.js} +4 -4
- package/dist/chunks/{wellknown-17d0ztjt.js → workspace-dhndgb5g.js} +5 -5
- package/dist/chunks/{wellknown-cfkc8wvf.js → workspace-dk5xnaxx.js} +4 -4
- package/dist/chunks/{wellknown-p7q4x3ve.js → workspace-e1my15k2.js} +34 -34
- package/dist/chunks/{wellknown-wwsd659t.js → workspace-e48jzpsf.js} +18 -18
- package/dist/chunks/{wellknown-cdehd1dv.js → workspace-e5fabfm1.js} +13 -13
- package/dist/chunks/{wellknown-x9720knc.js → workspace-e6xa1h83.js} +19 -19
- package/dist/chunks/{wellknown-e834z07m.js → workspace-e834z07m.js} +1 -1
- package/dist/chunks/{wellknown-5nrmz00j.js → workspace-edxck1ff.js} +30 -30
- package/dist/chunks/{wellknown-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
- package/dist/chunks/{wellknown-w9704mzh.js → workspace-ep3cfgsw.js} +2 -2
- package/dist/chunks/{wellknown-gj8x1tda.js → workspace-eq3fc1qc.js} +5 -5
- package/dist/chunks/{wellknown-dcbbhpwf.js → workspace-esf33pnx.js} +17 -17
- package/dist/chunks/{wellknown-vxjbe68y.js → workspace-esgjzs5t.js} +17 -17
- package/dist/chunks/{wellknown-mz3hfnzx.js → workspace-ey8jy4js.js} +28 -28
- package/dist/chunks/{wellknown-ebhqaeer.js → workspace-eyamc8wk.js} +20 -20
- package/dist/chunks/{wellknown-b30fx7c5.js → workspace-f2zvcq77.js} +21 -21
- package/dist/chunks/{wellknown-k9cky2s3.js → workspace-f5wtb4x0.js} +11 -11
- package/dist/chunks/{wellknown-r8f6rk3c.js → workspace-fbjqxkhq.js} +8 -8
- package/dist/chunks/{wellknown-fffv3p7h.js → workspace-fffv3p7h.js} +1 -1
- package/dist/chunks/{wellknown-1yj5qhdy.js → workspace-fg9knja8.js} +4 -4
- package/dist/chunks/{wellknown-schbm4ma.js → workspace-fk80w04t.js} +44 -44
- package/dist/chunks/{wellknown-b0t89xxr.js → workspace-fkjz51h9.js} +46 -46
- package/dist/chunks/{wellknown-s9qqqswp.js → workspace-fy7vwem6.js} +18 -18
- package/dist/chunks/{wellknown-g5h9c0rr.js → workspace-g5h9c0rr.js} +2 -2
- package/dist/chunks/{wellknown-vmfhgzt5.js → workspace-g7esga4v.js} +5 -5
- package/dist/chunks/{wellknown-qrpbmy32.js → workspace-gc7zkq2j.js} +15 -15
- package/dist/chunks/{wellknown-vrcsa8qx.js → workspace-gcjdgkn2.js} +9 -9
- package/dist/chunks/{wellknown-nk7afy6y.js → workspace-gcs2fc5m.js} +16 -16
- package/dist/chunks/{wellknown-my2wpxcm.js → workspace-geys63pa.js} +23 -23
- package/dist/chunks/{wellknown-msqmy3gp.js → workspace-gjzbapea.js} +4 -4
- package/dist/chunks/{wellknown-z9hy4jc9.js → workspace-gmkqkmgg.js} +13 -13
- package/dist/chunks/{wellknown-qffbzpjd.js → workspace-gnqppa8v.js} +33 -33
- package/dist/chunks/{wellknown-t79pfcy2.js → workspace-gphf8qkn.js} +11 -11
- package/dist/chunks/{wellknown-210p74nv.js → workspace-gpnxvr2a.js} +6 -6
- package/dist/chunks/{wellknown-mchcfyvf.js → workspace-gq1ys0xw.js} +340 -340
- package/dist/chunks/{wellknown-k6wk3r5t.js → workspace-gxhbx1gv.js} +35 -35
- package/dist/chunks/{wellknown-gcj3kjtw.js → workspace-hr99w7g5.js} +14 -14
- package/dist/chunks/{wellknown-1aykj8gn.js → workspace-hzrfc1p4.js} +3 -3
- package/dist/chunks/{wellknown-j113cymg.js → workspace-j113cymg.js} +1 -1
- package/dist/chunks/{wellknown-e5dqjz6v.js → workspace-jchrqzf6.js} +4 -4
- package/dist/chunks/{wellknown-axjrj1bz.js → workspace-jf7rv2bq.js} +18 -18
- package/dist/chunks/{wellknown-cmceae6s.js → workspace-jhx8zsag.js} +21 -21
- package/dist/chunks/{wellknown-7pcsvk8m.js → workspace-jpff4b81.js} +22 -22
- package/dist/chunks/{wellknown-aqc37f1k.js → workspace-k1q14wnz.js} +31 -31
- package/dist/chunks/{wellknown-ebqxajpa.js → workspace-k4rvgcwk.js} +8 -8
- package/dist/chunks/{wellknown-k814nvkf.js → workspace-k814nvkf.js} +1 -1
- package/dist/chunks/{wellknown-27dh21s1.js → workspace-ka29x1p3.js} +17 -17
- package/dist/chunks/{wellknown-k4t14cac.js → workspace-ka3ebb26.js} +10 -10
- package/dist/chunks/{wellknown-ae027wx8.js → workspace-kfh17eq6.js} +12 -12
- package/dist/chunks/{wellknown-8682byc1.js → workspace-kgq6c069.js} +6 -6
- package/dist/chunks/{wellknown-txwdtw55.js → workspace-kmr8mv8d.js} +11 -11
- package/dist/chunks/{wellknown-dcxf72cj.js → workspace-kncbdffz.js} +11 -11
- package/dist/chunks/{wellknown-kf4k70c8.js → workspace-kp0f5nz1.js} +29 -29
- package/dist/chunks/{wellknown-bmd0we0e.js → workspace-kqf87fk8.js} +21 -21
- package/dist/chunks/{wellknown-qkc3z5ds.js → workspace-ky596kc3.js} +4 -4
- package/dist/chunks/{wellknown-m1714858.js → workspace-m1714858.js} +1 -1
- package/dist/chunks/{wellknown-8vttfty6.js → workspace-m4smrk82.js} +13 -13
- package/dist/chunks/{wellknown-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{wellknown-maspj1v3.js → workspace-maspj1v3.js} +1 -1
- package/dist/chunks/{wellknown-ressjymw.js → workspace-mb90wd2d.js} +27 -27
- package/dist/chunks/{wellknown-n0p0277s.js → workspace-n0p0277s.js} +1 -1
- package/dist/chunks/{wellknown-nfha22dk.js → workspace-n0tvgbk4.js} +11 -11
- package/dist/chunks/{wellknown-8qkyrtnb.js → workspace-n3795dyb.js} +28 -28
- package/dist/chunks/{wellknown-6dmetk4g.js → workspace-n3mhfr60.js} +18 -18
- package/dist/chunks/workspace-n3r3rt18.js +18 -0
- package/dist/chunks/{wellknown-8hzjd0j9.js → workspace-n823y48s.js} +21 -21
- package/dist/chunks/{wellknown-nah043kf.js → workspace-nah043kf.js} +1 -1
- package/dist/chunks/{wellknown-9g4cv0f3.js → workspace-ngyanjke.js} +5 -5
- package/dist/chunks/{wellknown-e94x7tnv.js → workspace-nv2qnfza.js} +11 -11
- package/dist/chunks/{wellknown-p015t6z3.js → workspace-p015t6z3.js} +2 -2
- package/dist/chunks/{wellknown-q27fbm3z.js → workspace-p1fymgqq.js} +4 -4
- package/dist/chunks/{wellknown-mw1fpszq.js → workspace-p3rr1xh3.js} +41 -41
- package/dist/chunks/{wellknown-1yq9hg58.js → workspace-p7vhpwh8.js} +5 -5
- package/dist/chunks/{wellknown-b692ze95.js → workspace-p83ne5gv.js} +10 -10
- package/dist/chunks/{wellknown-zre18969.js → workspace-p9aj7t6q.js} +11 -11
- package/dist/chunks/{wellknown-mtxwg59p.js → workspace-paepwcm2.js} +6 -6
- package/dist/chunks/{wellknown-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{wellknown-076c863b.js → workspace-pm22z908.js} +35 -35
- package/dist/chunks/{wellknown-ypqhzgty.js → workspace-py09vape.js} +11 -11
- package/dist/chunks/{wellknown-skywmwjb.js → workspace-py5bb3qg.js} +6 -6
- package/dist/chunks/{wellknown-7w8fhshn.js → workspace-q0wxm0f4.js} +26 -26
- package/dist/chunks/{wellknown-et702fqy.js → workspace-q5ksxkha.js} +6 -6
- package/dist/chunks/{wellknown-5tpm11qt.js → workspace-q86pf388.js} +45 -45
- package/dist/chunks/{wellknown-vq3ad26g.js → workspace-q9nya8vj.js} +24 -24
- package/dist/chunks/{wellknown-b5tvc8h0.js → workspace-qgarn9by.js} +8 -8
- package/dist/chunks/{wellknown-8jztxfpf.js → workspace-qjgzc4b4.js} +4 -4
- package/dist/chunks/{wellknown-z4y6rart.js → workspace-qw2pz74r.js} +5 -5
- package/dist/chunks/{wellknown-gpgh1ne9.js → workspace-qwn3jvah.js} +16 -16
- package/dist/chunks/{wellknown-r0yr0wbs.js → workspace-r0yr0wbs.js} +1 -1
- package/dist/chunks/{wellknown-s4vbyw3x.js → workspace-r10bp8tk.js} +20 -20
- package/dist/chunks/{wellknown-0gka690g.js → workspace-r1k9m3eb.js} +8 -8
- package/dist/chunks/{wellknown-fmt9wnsp.js → workspace-r23mryza.js} +32 -32
- package/dist/chunks/{wellknown-vbhy04yp.js → workspace-r4zhn8a3.js} +7 -7
- package/dist/chunks/{wellknown-2vk9k41n.js → workspace-r9ycgn4k.js} +9 -9
- package/dist/chunks/{wellknown-rb9dy4dg.js → workspace-rb9dy4dg.js} +1 -1
- package/dist/chunks/{wellknown-cqf8794w.js → workspace-rfshxc0v.js} +20 -20
- package/dist/chunks/{wellknown-y906m0ew.js → workspace-rmm45jmv.js} +5 -5
- package/dist/chunks/{wellknown-s626qfae.js → workspace-rrad2nt9.js} +4 -4
- package/dist/chunks/{wellknown-rt5dr6hb.js → workspace-rt5dr6hb.js} +1 -1
- package/dist/chunks/{wellknown-1aqx0n7f.js → workspace-rtq7m3w5.js} +52 -52
- package/dist/chunks/{wellknown-zteftdt1.js → workspace-rv0yz615.js} +5 -5
- package/dist/chunks/{wellknown-6vhvgjh4.js → workspace-rvqdw07f.js} +18 -18
- package/dist/chunks/{wellknown-6vqxkcd0.js → workspace-rvqxvq6d.js} +11 -11
- package/dist/chunks/{wellknown-gbnff0zv.js → workspace-rxrz6b15.js} +2 -2
- package/dist/chunks/{wellknown-tmpacpwf.js → workspace-scvn2zk3.js} +25 -25
- package/dist/chunks/{wellknown-mkg5me76.js → workspace-sg9szeyg.js} +19 -19
- package/dist/chunks/{wellknown-k6n8wf1h.js → workspace-sh8baf55.js} +13 -13
- package/dist/chunks/{wellknown-z704znn1.js → workspace-skb5eq6z.js} +24 -24
- package/dist/chunks/{wellknown-sv14dtn5.js → workspace-sphke738.js} +50 -50
- package/dist/chunks/{wellknown-sqjzf8x2.js → workspace-sqjzf8x2.js} +1 -1
- package/dist/chunks/{wellknown-14ywxsr7.js → workspace-sy8vt3wj.js} +29 -29
- package/dist/chunks/{wellknown-t3zdfkz5.js → workspace-t01mmk0e.js} +10 -10
- package/dist/chunks/{wellknown-zk32jm74.js → workspace-t1sb82cf.js} +2 -2
- package/dist/chunks/{wellknown-0ks2n9jf.js → workspace-tasvem1v.js} +6 -6
- package/dist/chunks/{wellknown-tczq8hjw.js → workspace-tczq8hjw.js} +1 -1
- package/dist/chunks/{wellknown-h4qn0q0n.js → workspace-tdbp9pqc.js} +24 -24
- package/dist/chunks/{wellknown-ksj071wv.js → workspace-tge03dzs.js} +28 -28
- package/dist/chunks/{wellknown-dzbgzh8d.js → workspace-tgqd2fy6.js} +15 -15
- package/dist/chunks/{wellknown-3nnrz6f6.js → workspace-tmc7xdjs.js} +4 -4
- package/dist/chunks/{wellknown-aa2zaxkm.js → workspace-tmsfm4tn.js} +5 -5
- package/dist/chunks/{wellknown-6c5cd6ez.js → workspace-tpm1qpxt.js} +9 -9
- package/dist/chunks/{wellknown-ydkqfst9.js → workspace-trnc4ezg.js} +13 -13
- package/dist/chunks/{wellknown-xw56b1c2.js → workspace-ts03qaq4.js} +43 -43
- package/dist/chunks/{wellknown-tw8zr1ps.js → workspace-tw8zr1ps.js} +1 -1
- package/dist/chunks/{wellknown-twv2r8f4.js → workspace-twv2r8f4.js} +2 -2
- package/dist/chunks/{wellknown-em09g0j4.js → workspace-ty5gqdvp.js} +14 -14
- package/dist/chunks/{wellknown-v2r1d0zg.js → workspace-v2r1d0zg.js} +1 -1
- package/dist/chunks/{wellknown-z5axs658.js → workspace-v6hd4jx6.js} +7 -7
- package/dist/chunks/{wellknown-vd3b3yk9.js → workspace-vd3b3yk9.js} +1 -1
- package/dist/chunks/{wellknown-6gbmgfj5.js → workspace-vdcmvetk.js} +5 -5
- package/dist/chunks/{wellknown-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{wellknown-xvs7wkqm.js → workspace-vjeddzcj.js} +9 -9
- package/dist/chunks/{wellknown-srwcj12q.js → workspace-vsbjkqn0.js} +19 -19
- package/dist/chunks/{wellknown-w2eysc6j.js → workspace-w2eysc6j.js} +2 -2
- package/dist/chunks/{wellknown-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/workspace-w4nncpsp.js +257 -0
- package/dist/chunks/{wellknown-wr3re1en.js → workspace-w687dnns.js} +4 -4
- package/dist/chunks/{wellknown-vcvnp0q3.js → workspace-w8xq4g1c.js} +4 -4
- package/dist/chunks/{wellknown-1dbgwwb0.js → workspace-w9geygzy.js} +44 -44
- package/dist/chunks/{wellknown-wakvkjy4.js → workspace-wakvkjy4.js} +1 -1
- package/dist/chunks/{wellknown-e0977wyg.js → workspace-wd1ggha8.js} +15 -15
- package/dist/chunks/{wellknown-772qq538.js → workspace-wd649kc4.js} +23 -23
- package/dist/chunks/{wellknown-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{wellknown-v8vd993n.js → workspace-we1bjw9z.js} +8 -8
- package/dist/chunks/{wellknown-2ka2xw9j.js → workspace-wr22rtgw.js} +33 -33
- package/dist/chunks/{wellknown-5vcjq1d8.js → workspace-wvsk6hkh.js} +7 -7
- package/dist/chunks/{wellknown-6bssvd5f.js → workspace-wy92yfz2.js} +28 -28
- package/dist/chunks/{wellknown-6q5pcj1n.js → workspace-x6vkv6xs.js} +10 -10
- package/dist/chunks/{wellknown-pmxxkv03.js → workspace-x95sfgj8.js} +3 -3
- package/dist/chunks/{wellknown-1afthse9.js → workspace-xbjtm4mb.js} +76 -76
- package/dist/chunks/{wellknown-w0s8kcs1.js → workspace-xbp4jbh1.js} +33 -33
- package/dist/chunks/{wellknown-j9sfyafe.js → workspace-xbt735bc.js} +25 -25
- package/dist/chunks/{wellknown-xd9cc171.js → workspace-xd9cc171.js} +1 -1
- package/dist/chunks/{wellknown-p900kj0g.js → workspace-xjcqxx9h.js} +67 -67
- package/dist/chunks/{wellknown-7dwrvf5h.js → workspace-xk4x8fp8.js} +1 -1
- package/dist/chunks/{wellknown-ge2s7166.js → workspace-xmss3g6h.js} +21 -21
- package/dist/chunks/{wellknown-xbf8tvh1.js → workspace-xr5njmxy.js} +3 -3
- package/dist/chunks/{wellknown-wbbgvkty.js → workspace-xtr5ejb8.js} +25 -25
- package/dist/chunks/{wellknown-pj7zvz06.js → workspace-xv6vex0v.js} +16 -16
- package/dist/chunks/{wellknown-r8bt6dxp.js → workspace-xxfhxe4r.js} +28 -28
- package/dist/chunks/{wellknown-xrbr151j.js → workspace-xxzvbbkc.js} +85 -85
- package/dist/chunks/{wellknown-yb20nhc3.js → workspace-yb20nhc3.js} +1 -1
- package/dist/chunks/{wellknown-v5hpj9dd.js → workspace-ydsespw1.js} +8 -8
- package/dist/chunks/{wellknown-6yzvmzd3.js → workspace-yp2qyq5j.js} +15 -15
- package/dist/chunks/{wellknown-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{wellknown-z38nccrw.js → workspace-z38nccrw.js} +1 -1
- package/dist/chunks/{wellknown-t5x9ax0g.js → workspace-z885xrfv.js} +4 -4
- package/dist/chunks/{wellknown-1bgqzpz0.js → workspace-zjwxeyqe.js} +2 -2
- package/dist/chunks/{wellknown-zkg84ctx.js → workspace-zkg84ctx.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +102 -102
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- 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 +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +155 -155
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +95 -94
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +136 -136
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +91 -91
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +137 -137
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/github-copilot/responses/openai-responses-language-model.d.ts +2 -2
- package/dist/types/image/photon-wasm.bun.d.ts +1 -1
- package/dist/types/mcp/client.d.ts +1 -279
- package/dist/types/session/history.d.ts +269 -269
- package/dist/types/shell/parser-wasm.bun.d.ts +3 -3
- package/dist/types/v1/config/migrate.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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 +2 -2
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +102 -102
- package/package.json +13 -12
- package/dist/chunks/wellknown-9cmrt7xy.js +0 -26
- package/dist/chunks/wellknown-d2bq0fh0.js +0 -257
- package/dist/chunks/wellknown-ezna1kdx.js +0 -18
- /package/dist/chunks/{wellknown-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{wellknown-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{wellknown-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{wellknown-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{wellknown-24dcb14g.js → workspace-24dcb14g.js} +0 -0
- /package/dist/chunks/{wellknown-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{wellknown-2bv980vf.js → workspace-2bv980vf.js} +0 -0
- /package/dist/chunks/{wellknown-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{wellknown-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{wellknown-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{wellknown-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{wellknown-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{wellknown-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{wellknown-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{wellknown-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{wellknown-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{wellknown-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{wellknown-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{wellknown-5fjb7ams.js → workspace-5fjb7ams.js} +0 -0
- /package/dist/chunks/{wellknown-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{wellknown-6q2bdcd1.js → workspace-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{wellknown-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{wellknown-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{wellknown-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{wellknown-84wd9syh.js → workspace-84wd9syh.js} +0 -0
- /package/dist/chunks/{wellknown-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{wellknown-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{wellknown-8wj87zfr.js → workspace-8wj87zfr.js} +0 -0
- /package/dist/chunks/{wellknown-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{wellknown-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{wellknown-a058387c.js → workspace-a058387c.js} +0 -0
- /package/dist/chunks/{wellknown-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{wellknown-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{wellknown-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{wellknown-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{wellknown-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{wellknown-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{wellknown-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{wellknown-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{wellknown-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{wellknown-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{wellknown-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{wellknown-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{wellknown-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{wellknown-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{wellknown-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{wellknown-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{wellknown-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{wellknown-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{wellknown-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{wellknown-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{wellknown-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{wellknown-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{wellknown-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{wellknown-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{wellknown-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{wellknown-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{wellknown-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{wellknown-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{wellknown-hcxmzztb.js → workspace-hcxmzztb.js} +0 -0
- /package/dist/chunks/{wellknown-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{wellknown-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{wellknown-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{wellknown-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
- /package/dist/chunks/{wellknown-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{wellknown-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{wellknown-jze0r7bz.js → workspace-jze0r7bz.js} +0 -0
- /package/dist/chunks/{wellknown-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{wellknown-m18g726c.js → workspace-m18g726c.js} +0 -0
- /package/dist/chunks/{wellknown-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{wellknown-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{wellknown-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{wellknown-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{wellknown-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{wellknown-pkyv6v7h.js → workspace-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{wellknown-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{wellknown-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{wellknown-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{wellknown-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{wellknown-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{wellknown-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
- /package/dist/chunks/{wellknown-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{wellknown-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{wellknown-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{wellknown-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{wellknown-ve7vex1e.js → workspace-ve7vex1e.js} +0 -0
- /package/dist/chunks/{wellknown-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{wellknown-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{wellknown-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{wellknown-wjj7prxr.js → workspace-wjj7prxr.js} +0 -0
- /package/dist/chunks/{wellknown-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{wellknown-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{wellknown-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{wellknown-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{wellknown-y8f7s663.js → workspace-y8f7s663.js} +0 -0
- /package/dist/chunks/{wellknown-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{wellknown-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{wellknown-z5v4ffb3.js → workspace-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{wellknown-z9919s4g.js → workspace-z9919s4g.js} +0 -0
package/dist/bus.js
CHANGED
|
@@ -10,77 +10,77 @@ import {
|
|
|
10
10
|
configured12,
|
|
11
11
|
node89,
|
|
12
12
|
exports_bus
|
|
13
|
-
} from "./chunks/
|
|
14
|
-
import"./chunks/
|
|
15
|
-
import"./chunks/
|
|
16
|
-
import"./chunks/
|
|
17
|
-
import"./chunks/
|
|
18
|
-
import"./chunks/
|
|
19
|
-
import"./chunks/
|
|
20
|
-
import"./chunks/
|
|
21
|
-
import"./chunks/
|
|
22
|
-
import"./chunks/
|
|
23
|
-
import"./chunks/
|
|
24
|
-
import"./chunks/
|
|
25
|
-
import"./chunks/
|
|
26
|
-
import"./chunks/
|
|
27
|
-
import"./chunks/
|
|
28
|
-
import"./chunks/
|
|
29
|
-
import"./chunks/
|
|
30
|
-
import"./chunks/
|
|
31
|
-
import"./chunks/
|
|
32
|
-
import"./chunks/
|
|
33
|
-
import"./chunks/
|
|
34
|
-
import"./chunks/
|
|
35
|
-
import"./chunks/
|
|
36
|
-
import"./chunks/
|
|
37
|
-
import"./chunks/
|
|
38
|
-
import"./chunks/
|
|
39
|
-
import"./chunks/
|
|
40
|
-
import"./chunks/
|
|
41
|
-
import"./chunks/
|
|
42
|
-
import"./chunks/
|
|
43
|
-
import"./chunks/
|
|
44
|
-
import"./chunks/
|
|
45
|
-
import"./chunks/
|
|
46
|
-
import"./chunks/
|
|
47
|
-
import"./chunks/
|
|
48
|
-
import"./chunks/
|
|
49
|
-
import"./chunks/
|
|
50
|
-
import"./chunks/
|
|
51
|
-
import"./chunks/
|
|
52
|
-
import"./chunks/
|
|
53
|
-
import"./chunks/
|
|
54
|
-
import"./chunks/
|
|
55
|
-
import"./chunks/
|
|
56
|
-
import"./chunks/
|
|
57
|
-
import"./chunks/
|
|
58
|
-
import"./chunks/
|
|
59
|
-
import"./chunks/
|
|
60
|
-
import"./chunks/
|
|
61
|
-
import"./chunks/
|
|
62
|
-
import"./chunks/
|
|
63
|
-
import"./chunks/
|
|
64
|
-
import"./chunks/
|
|
65
|
-
import"./chunks/
|
|
66
|
-
import"./chunks/
|
|
67
|
-
import"./chunks/
|
|
68
|
-
import"./chunks/
|
|
69
|
-
import"./chunks/
|
|
70
|
-
import"./chunks/
|
|
71
|
-
import"./chunks/
|
|
72
|
-
import"./chunks/
|
|
73
|
-
import"./chunks/
|
|
74
|
-
import"./chunks/
|
|
75
|
-
import"./chunks/
|
|
76
|
-
import"./chunks/
|
|
77
|
-
import"./chunks/
|
|
78
|
-
import"./chunks/
|
|
79
|
-
import"./chunks/
|
|
80
|
-
import"./chunks/
|
|
81
|
-
import"./chunks/
|
|
82
|
-
import"./chunks/
|
|
83
|
-
import"./chunks/
|
|
13
|
+
} from "./chunks/workspace-cwyfam04.js";
|
|
14
|
+
import"./chunks/workspace-2710q6r3.js";
|
|
15
|
+
import"./chunks/workspace-qjgzc4b4.js";
|
|
16
|
+
import"./chunks/workspace-4z3n7x5k.js";
|
|
17
|
+
import"./chunks/workspace-0zkw76rk.js";
|
|
18
|
+
import"./chunks/workspace-9y24x8tm.js";
|
|
19
|
+
import"./chunks/workspace-9ahp1agz.js";
|
|
20
|
+
import"./chunks/workspace-3nh05435.js";
|
|
21
|
+
import"./chunks/workspace-t1sb82cf.js";
|
|
22
|
+
import"./chunks/workspace-2hxpq778.js";
|
|
23
|
+
import"./chunks/workspace-7bmhse3q.js";
|
|
24
|
+
import"./chunks/workspace-822emrt2.js";
|
|
25
|
+
import"./chunks/workspace-f0mxakyp.js";
|
|
26
|
+
import"./chunks/workspace-wd87259q.js";
|
|
27
|
+
import"./chunks/workspace-m9w0rfyh.js";
|
|
28
|
+
import"./chunks/workspace-cf4snx6d.js";
|
|
29
|
+
import"./chunks/workspace-w3wsvvr9.js";
|
|
30
|
+
import"./chunks/workspace-emrn6kk6.js";
|
|
31
|
+
import"./chunks/workspace-xr5njmxy.js";
|
|
32
|
+
import"./chunks/workspace-pkyv6v7h.js";
|
|
33
|
+
import"./chunks/workspace-sphke738.js";
|
|
34
|
+
import"./chunks/workspace-fd410y7t.js";
|
|
35
|
+
import"./chunks/workspace-m18g726c.js";
|
|
36
|
+
import"./chunks/workspace-atq7p7m5.js";
|
|
37
|
+
import"./chunks/workspace-2c3vjs8z.js";
|
|
38
|
+
import"./chunks/workspace-7m9af43g.js";
|
|
39
|
+
import"./chunks/workspace-d9jj8t3e.js";
|
|
40
|
+
import"./chunks/workspace-qrg20bc0.js";
|
|
41
|
+
import"./chunks/workspace-jzg6c2d5.js";
|
|
42
|
+
import"./chunks/workspace-359p4xyc.js";
|
|
43
|
+
import"./chunks/workspace-d9fn303g.js";
|
|
44
|
+
import"./chunks/workspace-g86h250q.js";
|
|
45
|
+
import"./chunks/workspace-a6k6eb26.js";
|
|
46
|
+
import"./chunks/workspace-e5kj55wp.js";
|
|
47
|
+
import"./chunks/workspace-sdp7kfr6.js";
|
|
48
|
+
import"./chunks/workspace-q3sfg36h.js";
|
|
49
|
+
import"./chunks/workspace-1cnp2v09.js";
|
|
50
|
+
import"./chunks/workspace-qb87gjwd.js";
|
|
51
|
+
import"./chunks/workspace-wtztk69x.js";
|
|
52
|
+
import"./chunks/workspace-mp448xyj.js";
|
|
53
|
+
import"./chunks/workspace-43n2bw4t.js";
|
|
54
|
+
import"./chunks/workspace-df08tz66.js";
|
|
55
|
+
import"./chunks/workspace-53557ph1.js";
|
|
56
|
+
import"./chunks/workspace-y8f7s663.js";
|
|
57
|
+
import"./chunks/workspace-j2ntwpah.js";
|
|
58
|
+
import"./chunks/workspace-q74kybfr.js";
|
|
59
|
+
import"./chunks/workspace-hk9envan.js";
|
|
60
|
+
import"./chunks/workspace-84wd9syh.js";
|
|
61
|
+
import"./chunks/workspace-cvy3z8tj.js";
|
|
62
|
+
import"./chunks/workspace-ygaqb7jw.js";
|
|
63
|
+
import"./chunks/workspace-bmr6ed5q.js";
|
|
64
|
+
import"./chunks/workspace-jwfs4k6c.js";
|
|
65
|
+
import"./chunks/workspace-n05xt0ee.js";
|
|
66
|
+
import"./chunks/workspace-ssg3fenm.js";
|
|
67
|
+
import"./chunks/workspace-8n3pysct.js";
|
|
68
|
+
import"./chunks/workspace-4knz6hnm.js";
|
|
69
|
+
import"./chunks/workspace-9a4afbnw.js";
|
|
70
|
+
import"./chunks/workspace-jr7sbwjy.js";
|
|
71
|
+
import"./chunks/workspace-z9919s4g.js";
|
|
72
|
+
import"./chunks/workspace-f6n9ztr4.js";
|
|
73
|
+
import"./chunks/workspace-n3j8tn72.js";
|
|
74
|
+
import"./chunks/workspace-aqzs7mqg.js";
|
|
75
|
+
import"./chunks/workspace-17cy0kzp.js";
|
|
76
|
+
import"./chunks/workspace-bkyjaxrp.js";
|
|
77
|
+
import"./chunks/workspace-wer8tq1h.js";
|
|
78
|
+
import"./chunks/workspace-7akdwqpd.js";
|
|
79
|
+
import"./chunks/workspace-8wj87zfr.js";
|
|
80
|
+
import"./chunks/workspace-njntx4h6.js";
|
|
81
|
+
import"./chunks/workspace-w803qqfp.js";
|
|
82
|
+
import"./chunks/workspace-msx8hqn2.js";
|
|
83
|
+
import"./chunks/workspace-rcb2kzg1.js";
|
|
84
84
|
export {
|
|
85
85
|
exports_bus as Bus,
|
|
86
86
|
InvalidDurableEventError2 as InvalidDurableEventError,
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-p015t6z3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service70,
|
|
6
|
+
node72
|
|
7
|
+
} from "./workspace-0x14psyd.js";
|
|
8
8
|
import {
|
|
9
9
|
retry2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-n0p0277s.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/generate.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Generate: () =>
|
|
16
|
+
var exports_generate2 = {};
|
|
17
|
+
__export(exports_generate2, {
|
|
18
|
+
Generate: () => exports_generate2,
|
|
19
19
|
ModelSelectionError: () => ModelSelectionError2,
|
|
20
|
-
Service: () =>
|
|
21
|
-
UnavailableError: () =>
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
20
|
+
Service: () => Service63,
|
|
21
|
+
UnavailableError: () => UnavailableError3,
|
|
22
|
+
layer: () => layer23,
|
|
23
|
+
node: () => node65
|
|
24
24
|
});
|
|
25
25
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
26
26
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -31,17 +31,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service63 extends Context.Service()("@opencode/Generate") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer23 = Layer.effect(Service63, Effect.gen(function* () {
|
|
43
43
|
const llm = yield* LLMClient.Service;
|
|
44
|
-
const resolver = yield*
|
|
44
|
+
const resolver = yield* Service70;
|
|
45
45
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
46
46
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
47
47
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -51,7 +51,7 @@ var layer11 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
51
51
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
52
52
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
53
53
|
], (error) => {
|
|
54
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
54
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
55
55
|
return Effect.fail(mapped);
|
|
56
56
|
}));
|
|
57
57
|
if (!resolved)
|
|
@@ -62,21 +62,21 @@ var layer11 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
62
62
|
model: resolved.model,
|
|
63
63
|
prompt: input.prompt,
|
|
64
64
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
65
|
-
})).pipe(retry2, Effect.mapError((error) => new
|
|
65
|
+
})).pipe(retry2, Effect.mapError((error) => new UnavailableError3({
|
|
66
66
|
message: error.message,
|
|
67
67
|
service: resolved.ref.providerID
|
|
68
68
|
})));
|
|
69
69
|
return response.text;
|
|
70
70
|
});
|
|
71
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
71
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
72
72
|
message: "Generation credentials are unavailable"
|
|
73
73
|
})));
|
|
74
|
-
return
|
|
74
|
+
return Service63.of({ text });
|
|
75
75
|
}));
|
|
76
|
-
var
|
|
77
|
-
service:
|
|
78
|
-
layer:
|
|
79
|
-
deps: [
|
|
76
|
+
var node65 = makeLocationNode({
|
|
77
|
+
service: Service63,
|
|
78
|
+
layer: layer23,
|
|
79
|
+
deps: [node72, llmClient2]
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
export { ModelSelectionError2,
|
|
82
|
+
export { ModelSelectionError2, UnavailableError3, Service63, layer23, node65, exports_generate2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2,
|
|
3
3
|
absoluteArrayColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-wakvkjy4.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-qfa1cgps.js";
|
|
8
8
|
|
|
9
9
|
// src/project/sql.ts
|
|
10
10
|
import { isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-fkjz51h9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service76,
|
|
9
|
+
node80
|
|
10
|
+
} from "./workspace-a710j6jq.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service65,
|
|
13
|
+
node67
|
|
14
|
+
} from "./workspace-avpraz00.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./workspace-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -51,8 +51,8 @@ var invocation = (context) => ({
|
|
|
51
51
|
});
|
|
52
52
|
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service76;
|
|
55
|
+
const permission = yield* Service65;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -103,6 +103,6 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
103
103
|
});
|
|
104
104
|
return Service13.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var node15 = makeLocationNode({ service: Service13, layer, deps: [FSUtil.node,
|
|
106
|
+
var node15 = makeLocationNode({ service: Service13, layer, deps: [FSUtil.node, node80, node67] });
|
|
107
107
|
|
|
108
108
|
export { Kind2, ResolveInput2, Service13, resolvePath2, node15, exports_file_access };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service82,
|
|
4
|
+
node86
|
|
5
|
+
} from "./workspace-n3795dyb.js";
|
|
6
6
|
import {
|
|
7
7
|
ID13,
|
|
8
8
|
isAISDK2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service75,
|
|
19
|
+
node79
|
|
20
|
+
} from "./workspace-tge03dzs.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service74,
|
|
23
|
+
node78
|
|
24
|
+
} from "./workspace-ka3ebb26.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID11,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
29
|
+
Service71,
|
|
30
30
|
node73,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./workspace-mb90wd2d.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./workspace-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service70,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer24,
|
|
52
|
+
node: () => node72,
|
|
53
53
|
resolveModel: () => resolveModel2,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -60,7 +60,7 @@ import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
|
60
60
|
import { Npm } from "@opencode/util/npm";
|
|
61
61
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
62
62
|
providerID: ID13,
|
|
63
|
-
modelID:
|
|
63
|
+
modelID: ID11,
|
|
64
64
|
variant: VariantID2
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
@@ -70,7 +70,7 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
70
70
|
|
|
71
71
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
72
72
|
providerID: ID13,
|
|
73
|
-
modelID:
|
|
73
|
+
modelID: ID11,
|
|
74
74
|
package: Schema.String
|
|
75
75
|
}) {
|
|
76
76
|
get message() {
|
|
@@ -81,7 +81,7 @@ var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
|
81
81
|
|
|
82
82
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
83
83
|
providerID: ID13,
|
|
84
|
-
modelID:
|
|
84
|
+
modelID: ID11,
|
|
85
85
|
package: Schema.String,
|
|
86
86
|
detail: Schema.String
|
|
87
87
|
}) {
|
|
@@ -92,7 +92,7 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
92
92
|
|
|
93
93
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
94
94
|
providerID: ID13,
|
|
95
|
-
modelID:
|
|
95
|
+
modelID: ID11,
|
|
96
96
|
package: Schema.String,
|
|
97
97
|
phase: InitializationPhase2,
|
|
98
98
|
detail: Schema.String
|
|
@@ -104,7 +104,7 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
104
104
|
|
|
105
105
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
106
106
|
providerID: ID13,
|
|
107
|
-
modelID:
|
|
107
|
+
modelID: ID11,
|
|
108
108
|
variables: Schema.Array(Schema.String)
|
|
109
109
|
}) {
|
|
110
110
|
get message() {
|
|
@@ -114,7 +114,7 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
114
114
|
|
|
115
115
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
116
116
|
providerID: ID13,
|
|
117
|
-
modelID:
|
|
117
|
+
modelID: ID11,
|
|
118
118
|
route: Schema.String
|
|
119
119
|
}) {
|
|
120
120
|
get message() {
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service70 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -269,15 +269,15 @@ var causeMessage = (cause) => {
|
|
|
269
269
|
};
|
|
270
270
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
271
271
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
272
|
-
var
|
|
273
|
-
const providers = yield*
|
|
274
|
-
const models = yield*
|
|
275
|
-
const integrations = yield*
|
|
272
|
+
var layer24 = Layer.effect(Service70, Effect.gen(function* () {
|
|
273
|
+
const providers = yield* Service75;
|
|
274
|
+
const models = yield* Service71;
|
|
275
|
+
const integrations = yield* Service82;
|
|
276
276
|
const npm = yield* Npm.Service;
|
|
277
|
-
const aisdk = yield*
|
|
277
|
+
const aisdk = yield* Service74;
|
|
278
278
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
279
279
|
const provider = yield* providers.get(selected.providerID);
|
|
280
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
280
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID16.make(selected.providerID));
|
|
281
281
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
282
282
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
283
283
|
const runtimeInfo = {
|
|
@@ -304,7 +304,7 @@ var layer23 = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
304
304
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
305
305
|
};
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service70.of({
|
|
308
308
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
309
309
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
310
310
|
if (!selected)
|
|
@@ -321,10 +321,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
321
321
|
const name = packageName2(packageName);
|
|
322
322
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
323
323
|
}
|
|
324
|
-
var
|
|
325
|
-
service:
|
|
326
|
-
layer:
|
|
327
|
-
deps: [
|
|
324
|
+
var node72 = makeLocationNode({
|
|
325
|
+
service: Service70,
|
|
326
|
+
layer: layer24,
|
|
327
|
+
deps: [node79, node73, node86, Npm.node, node78]
|
|
328
328
|
});
|
|
329
329
|
|
|
330
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
330
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service70, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node72, exports_model_resolver };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-2g8e9hha.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-cwyfam04.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service84
|
|
11
|
+
} from "./workspace-wy92yfz2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID16,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-n3795dyb.js";
|
|
16
16
|
import {
|
|
17
17
|
ID13,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./workspace-tge03dzs.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID11,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info20
|
|
24
|
+
} from "./workspace-mb90wd2d.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./workspace-yb20nhc3.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
get4
|
|
31
|
+
} from "./workspace-tmc7xdjs.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./workspace-paepwcm2.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
46
|
var providerID = ID13.openai;
|
|
47
|
-
var integrationID =
|
|
47
|
+
var integrationID = ID16.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -180,7 +180,7 @@ var ChatGPTPlugin2 = define({
|
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
182
|
const bus = yield* Service85;
|
|
183
|
-
const credentials = yield*
|
|
183
|
+
const credentials = yield* Service84;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID16.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -224,7 +224,7 @@ var ChatGPTPlugin2 = define({
|
|
|
224
224
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
225
225
|
return;
|
|
226
226
|
}));
|
|
227
|
-
evt.headers["session-id"] = session ?
|
|
227
|
+
evt.headers["session-id"] = session ? get4(session) : evt.sessionID;
|
|
228
228
|
evt.headers["thread-id"] = evt.sessionID;
|
|
229
229
|
evt.headers["x-client-request-id"] = evt.sessionID;
|
|
230
230
|
}), { providerID });
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID11.make(model.slug))).map((model) => deriveModel(model, Info20.default(ID13.openai, ID11.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service57
|
|
4
|
+
} from "./workspace-q86pf388.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service8
|
|
7
|
+
} from "./workspace-p3rr1xh3.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-6pjqjmy2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/compaction.ts
|
|
16
16
|
var exports_compaction = {};
|
|
17
17
|
__export(exports_compaction, {
|
|
18
18
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin25
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin25 = define({
|
|
24
24
|
id: "opencode.config.compaction",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const compaction = yield*
|
|
26
|
+
const config = yield* Service57;
|
|
27
|
+
const compaction = yield* Service8;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
29
29
|
yield* compaction.transform((editor) => {
|
|
30
30
|
editor.configure({ precompute: latest2(loaded.entries, "experimental")?.precompute_compaction === true });
|
|
@@ -41,4 +41,4 @@ var Plugin13 = define({
|
|
|
41
41
|
})
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
export {
|
|
44
|
+
export { Plugin25, exports_compaction };
|