@opencode/core 0.0.0-dev-20284 → 0.0.0-dev-20286
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/agent.js +63 -63
- package/dist/aisdk-native.js +65 -65
- package/dist/aisdk.js +70 -70
- package/dist/app.js +9 -9
- package/dist/bus.js +52 -52
- package/dist/chunks/{integration-wzmaxvc9.js → integration-007kv54v.js} +19 -19
- package/dist/chunks/integration-04cetggm.js +507 -0
- package/dist/chunks/{integration-4yb1sc8z.js → integration-090naprk.js} +5 -5
- package/dist/chunks/{integration-a4ae1mqs.js → integration-0bfcnrg1.js} +1 -1
- package/dist/chunks/{integration-hkxx6036.js → integration-0mph93pj.js} +1 -1
- package/dist/chunks/{integration-8y7th7f2.js → integration-0r7yqxbf.js} +3 -3
- package/dist/chunks/{integration-0ta8ncat.js → integration-0s64387h.js} +10 -10
- package/dist/chunks/{integration-2c7hjkzv.js → integration-1813d5zh.js} +15 -15
- package/dist/chunks/{integration-v7tbbmm7.js → integration-1bzea8hf.js} +7 -7
- package/dist/chunks/{integration-y5sjzhg5.js → integration-1g2pwm2v.js} +3 -3
- package/dist/chunks/{integration-xr72202b.js → integration-1jhsme74.js} +1 -1
- package/dist/chunks/{integration-mr90rcr6.js → integration-1kwjt6d6.js} +16 -16
- package/dist/chunks/{integration-kefef9st.js → integration-1mwnra7p.js} +22 -22
- package/dist/chunks/{integration-10ce4g8v.js → integration-1n23hs5q.js} +10 -10
- package/dist/chunks/{integration-g26xt907.js → integration-1q0e68gg.js} +15 -15
- package/dist/chunks/{integration-e5d75q9m.js → integration-1ysctg58.js} +27 -27
- package/dist/chunks/{integration-ash82f75.js → integration-216h48p4.js} +24 -24
- package/dist/chunks/{integration-df3df5tx.js → integration-228m9d3z.js} +1 -1
- package/dist/chunks/{integration-txe61999.js → integration-23dc2d68.js} +21 -21
- package/dist/chunks/{integration-qf37nfnm.js → integration-276aa1tg.js} +3 -3
- package/dist/chunks/{integration-r1mh77dy.js → integration-29yhzn30.js} +21 -21
- package/dist/chunks/{integration-fj3c9ane.js → integration-2f8k78sm.js} +10 -10
- package/dist/chunks/{integration-0w5jwg0z.js → integration-2ggkd5y6.js} +3 -3
- package/dist/chunks/{integration-nf82b3wt.js → integration-2gx9j6y9.js} +9 -9
- package/dist/chunks/{integration-3801kdgp.js → integration-2p623br6.js} +3 -3
- package/dist/chunks/{integration-s00bxgng.js → integration-2zg6nskx.js} +22 -22
- package/dist/chunks/{integration-cvhkk3hw.js → integration-37x5te5e.js} +6 -6
- package/dist/chunks/{integration-bt5vmpp6.js → integration-3h57rhwa.js} +3 -3
- package/dist/chunks/{integration-3ayz7pdh.js → integration-3htr6yph.js} +32 -32
- package/dist/chunks/{integration-a79rb00n.js → integration-427a15qw.js} +27 -27
- package/dist/chunks/{integration-4w3q00qb.js → integration-43fvpk64.js} +22 -22
- package/dist/chunks/{integration-3py9tntd.js → integration-450n1fmb.js} +5 -5
- package/dist/chunks/{integration-fjnt6npx.js → integration-4bvnjebc.js} +14 -14
- package/dist/chunks/{integration-fsmmwzws.js → integration-4enjeyq9.js} +28 -28
- package/dist/chunks/{integration-1x11rq2a.js → integration-4v7qdvcn.js} +4 -4
- package/dist/chunks/{integration-yfj39tds.js → integration-4x26exyn.js} +22 -22
- package/dist/chunks/{integration-d0k1g5nx.js → integration-51f5btjf.js} +5 -5
- package/dist/chunks/{integration-7rncv06g.js → integration-52t303b9.js} +40 -40
- package/dist/chunks/{integration-s9taesah.js → integration-55bzypr0.js} +10 -10
- package/dist/chunks/{integration-ns7tbk3m.js → integration-55jj4qxv.js} +21 -21
- package/dist/chunks/{integration-8parajs2.js → integration-5df5bq3a.js} +41 -41
- package/dist/chunks/{integration-355jfwf8.js → integration-5nnneb5s.js} +46 -46
- package/dist/chunks/{integration-med42bqn.js → integration-5qxftstg.js} +16 -16
- package/dist/chunks/{integration-18fhcwyd.js → integration-5xp6zek4.js} +8 -8
- package/dist/chunks/{integration-cpyc35sh.js → integration-67kxvcq5.js} +80 -80
- package/dist/chunks/{integration-5we7r0eg.js → integration-6f8737q3.js} +7 -7
- package/dist/chunks/{integration-14skzq0n.js → integration-6whetfrh.js} +41 -41
- package/dist/chunks/{integration-9kbags8k.js → integration-70byt6m4.js} +8 -8
- package/dist/chunks/{integration-exxm0dv4.js → integration-77d9dkzy.js} +23 -23
- package/dist/chunks/{integration-m2p4qxhv.js → integration-7e6vht7x.js} +25 -25
- package/dist/chunks/{integration-baes5359.js → integration-7m3qqnex.js} +4 -4
- package/dist/chunks/{integration-5r5ngwvx.js → integration-7my3jqe6.js} +6 -6
- package/dist/chunks/{integration-b8t30bwq.js → integration-7pzv1w99.js} +9 -9
- package/dist/chunks/{integration-41xbg949.js → integration-7rcqk60f.js} +12 -12
- package/dist/chunks/{integration-jmv4csz4.js → integration-7yaqes3v.js} +9 -9
- package/dist/chunks/{integration-7r6wwy4a.js → integration-7yr82b3h.js} +6 -6
- package/dist/chunks/{integration-s0k7kba5.js → integration-818pfwc9.js} +6 -6
- package/dist/chunks/{integration-s3g84wna.js → integration-85kjp3d4.js} +5 -5
- package/dist/chunks/{integration-r280vhkp.js → integration-8j3sn0xa.js} +17 -17
- package/dist/chunks/{integration-1p07q0wb.js → integration-8sze2n9a.js} +7 -7
- package/dist/chunks/{integration-m8dxka3f.js → integration-8vag3pxv.js} +32 -32
- package/dist/chunks/{integration-a79tw4th.js → integration-8wa5wmwv.js} +5 -5
- package/dist/chunks/{integration-ete09x6f.js → integration-918vfc7v.js} +5 -5
- package/dist/chunks/{integration-gfvb90ym.js → integration-94ek1h2f.js} +1 -1
- package/dist/chunks/{integration-akqv09jd.js → integration-9e9nvwfq.js} +174 -169
- package/dist/chunks/{integration-xsgk3b13.js → integration-9jsdpggr.js} +7 -7
- package/dist/chunks/{integration-k8s2g9k3.js → integration-9pcszhcd.js} +66 -66
- package/dist/chunks/{integration-enc8k7eb.js → integration-9sp358pj.js} +142 -34
- package/dist/chunks/{integration-nvrj0150.js → integration-9xefwsd5.js} +9 -9
- package/dist/chunks/{integration-ngts6ef0.js → integration-a2qe2ev9.js} +7 -7
- package/dist/chunks/{integration-mh4rkcf4.js → integration-a3vq5bj2.js} +24 -24
- package/dist/chunks/{integration-5798x35d.js → integration-a6fmcvwn.js} +23 -23
- package/dist/chunks/{integration-d7ap0fky.js → integration-apjcg4d6.js} +8 -8
- package/dist/chunks/{integration-56tk9z3j.js → integration-arkmsdt9.js} +13 -13
- package/dist/chunks/{integration-8xwjq0pe.js → integration-b1rb0xwe.js} +23 -23
- package/dist/chunks/{integration-v4r6ds62.js → integration-bay80n5w.js} +4 -4
- package/dist/chunks/{integration-q2b1ymqp.js → integration-bf0ztrs3.js} +3 -3
- package/dist/chunks/{integration-2y8s9x1b.js → integration-br4ct1cv.js} +10 -10
- package/dist/chunks/{integration-2emg5d4r.js → integration-brka9z6d.js} +1 -1
- package/dist/chunks/{integration-wefqzq4f.js → integration-c634d86v.js} +304 -304
- package/dist/chunks/{integration-54tcyq79.js → integration-ckecvw8r.js} +1 -1
- package/dist/chunks/{integration-h3b20av4.js → integration-cs3k7vbw.js} +7 -7
- package/dist/chunks/{integration-7zdz69fq.js → integration-ctkexn52.js} +17 -17
- package/dist/chunks/{integration-datgzbnb.js → integration-cw40cn3a.js} +18 -18
- package/dist/chunks/{integration-rbkd2d5v.js → integration-dcdcxcqv.js} +21 -21
- package/dist/chunks/{integration-zfsz7c4a.js → integration-ddxretnd.js} +9 -9
- package/dist/chunks/{integration-h3xyrx8k.js → integration-dez0353w.js} +14 -14
- package/dist/chunks/{integration-cwa6csj7.js → integration-djszqvmq.js} +7 -7
- package/dist/chunks/{integration-r0bd36fr.js → integration-dmftx2z2.js} +6 -6
- package/dist/chunks/{integration-y71avatq.js → integration-dpkg50ah.js} +3 -3
- package/dist/chunks/{integration-dd4dnbbb.js → integration-dpy1708c.js} +4 -4
- package/dist/chunks/{integration-wztfhms8.js → integration-e2ha372a.js} +2 -2
- package/dist/chunks/{integration-yqrrhp5w.js → integration-e2zxmq4e.js} +16 -16
- package/dist/chunks/{integration-zbsarep8.js → integration-e56jykm2.js} +11 -11
- package/dist/chunks/{integration-nydz2zbj.js → integration-e8n5dwh7.js} +24 -24
- package/dist/chunks/{integration-rhjbct0v.js → integration-eaj1djv9.js} +7 -7
- package/dist/chunks/{integration-zywn5321.js → integration-eckntx06.js} +21 -21
- package/dist/chunks/{integration-9erc8nq9.js → integration-ehzy0r6a.js} +36 -36
- package/dist/chunks/{integration-mvfdckk2.js → integration-emzsebxx.js} +5 -5
- package/dist/chunks/{integration-eahhehpg.js → integration-ermxvwhp.js} +3 -3
- package/dist/chunks/{integration-59xwxqv5.js → integration-evbgk2k8.js} +3 -3
- package/dist/chunks/{integration-19eyspa8.js → integration-ew48pmvr.js} +26 -26
- package/dist/chunks/{integration-8ntmc9jd.js → integration-ex6pt5yr.js} +1 -1
- package/dist/chunks/{integration-j6rk38x8.js → integration-eyz64kwr.js} +4 -4
- package/dist/chunks/{integration-zd5r1z3p.js → integration-f1csepjx.js} +28 -28
- package/dist/chunks/{integration-kc8mrxbe.js → integration-f4ntpb4a.js} +15 -15
- package/dist/chunks/{integration-dpja50vx.js → integration-f5gy8qwh.js} +7 -7
- package/dist/chunks/{integration-fs86y4y8.js → integration-fb8ajyr9.js} +23 -23
- package/dist/chunks/{integration-h9055z12.js → integration-fbrwwgmz.js} +16 -16
- package/dist/chunks/{integration-941r3npm.js → integration-fh23fcf5.js} +10 -10
- package/dist/chunks/{integration-13ahtzqa.js → integration-ftnq43wp.js} +14 -14
- package/dist/chunks/{integration-a8bn8zg0.js → integration-g190xswt.js} +3 -3
- package/dist/chunks/{integration-xvp1j2dc.js → integration-g5agzp2h.js} +3 -3
- package/dist/chunks/{integration-a2xz39qp.js → integration-g8ab104g.js} +7 -7
- package/dist/chunks/{integration-wnys78fq.js → integration-gdv3ksn6.js} +2 -2
- package/dist/chunks/{integration-3e147rt9.js → integration-gzbkpp9m.js} +8 -8
- package/dist/chunks/{integration-4p773rn4.js → integration-h1vw7kx6.js} +13 -13
- package/dist/chunks/{integration-jssdqx31.js → integration-h70zt0wt.js} +22 -22
- package/dist/chunks/{integration-ycwy6ex1.js → integration-haf8ym7w.js} +17 -17
- package/dist/chunks/{integration-sn41jhqx.js → integration-hn0x82vs.js} +13 -13
- package/dist/chunks/{integration-h9qb7c7q.js → integration-htq109gq.js} +30 -30
- package/dist/chunks/{integration-576s5d3g.js → integration-hx450sbz.js} +19 -19
- package/dist/chunks/{integration-e2w4nw67.js → integration-hxmak5w6.js} +10 -10
- package/dist/chunks/{integration-2va239gy.js → integration-hza05959.js} +16 -16
- package/dist/chunks/{integration-d1pkyphn.js → integration-j1jfj66b.js} +5 -5
- package/dist/chunks/{integration-8p70309a.js → integration-j26sntzs.js} +8 -8
- package/dist/chunks/{integration-g74mfj6n.js → integration-j3s2z371.js} +7 -7
- package/dist/chunks/{integration-pc4b88sv.js → integration-j8afcsyc.js} +3 -3
- package/dist/chunks/{integration-mkvne50z.js → integration-j9a2q0fz.js} +6 -6
- package/dist/chunks/{integration-5frpvc34.js → integration-jca4demv.js} +1 -1
- package/dist/chunks/{integration-2e55ks6z.js → integration-jdnyyw3y.js} +12 -12
- package/dist/chunks/{integration-m3v0axb2.js → integration-jkcjd3kp.js} +4 -4
- package/dist/chunks/{integration-tffktew3.js → integration-jrjzd75d.js} +5 -5
- package/dist/chunks/{integration-rpg9c19m.js → integration-jvf3yq6v.js} +3 -3
- package/dist/chunks/{integration-g56r92cj.js → integration-k054q3ng.js} +12 -12
- package/dist/chunks/{integration-j34bs4nz.js → integration-k0a3z2qz.js} +3 -3
- package/dist/chunks/{integration-88b17fsa.js → integration-k3y1sryq.js} +35 -35
- package/dist/chunks/{integration-m601tfh9.js → integration-k7a6qazk.js} +13 -13
- package/dist/chunks/{integration-qf0b0eax.js → integration-kfgccrws.js} +9 -9
- package/dist/chunks/{integration-1hsgezmh.js → integration-kmsf2gmc.js} +11 -11
- package/dist/chunks/integration-krtr9e37.js +26 -0
- package/dist/chunks/{integration-j7kkg62r.js → integration-kyr9dgrt.js} +19 -19
- package/dist/chunks/{integration-t5ey9jjv.js → integration-m84jjq37.js} +39 -39
- package/dist/chunks/{integration-hwaq6n4f.js → integration-m8n1jv7h.js} +16 -16
- package/dist/chunks/{integration-1ygqh575.js → integration-mfqp6xfm.js} +4 -4
- package/dist/chunks/{integration-sht10b59.js → integration-mgznjxj1.js} +50 -50
- package/dist/chunks/{integration-y9vg1scn.js → integration-mm0znw5z.js} +9 -9
- package/dist/chunks/{integration-tchf8bzg.js → integration-mnwqmehd.js} +16 -16
- package/dist/chunks/{integration-mhkvc446.js → integration-mvfsc1pv.js} +2 -2
- package/dist/chunks/{integration-87b0ccws.js → integration-mvg2k0gw.js} +4 -4
- package/dist/chunks/{integration-287rg9sk.js → integration-mvxy8yk1.js} +23 -23
- package/dist/chunks/{integration-amv7r7xf.js → integration-mx84fb2r.js} +6 -6
- package/dist/chunks/{integration-7w8vs4ab.js → integration-mxxa41h5.js} +11 -11
- package/dist/chunks/{integration-f60ve7xe.js → integration-n56w81az.js} +10 -10
- package/dist/chunks/{integration-jw0bqmef.js → integration-n5jbg1jr.js} +31 -31
- package/dist/chunks/{integration-s2eagjy5.js → integration-n6ywjbkr.js} +22 -22
- package/dist/chunks/{integration-99ws31qd.js → integration-n860bejb.js} +24 -24
- package/dist/chunks/{integration-mpthp08p.js → integration-ngfnceq4.js} +8 -8
- package/dist/chunks/{integration-rzep3kdk.js → integration-nxgbngy1.js} +6 -6
- package/dist/chunks/{integration-ssx3zy79.js → integration-nzg2pgvq.js} +14 -14
- package/dist/chunks/{integration-w4arg62q.js → integration-p0b4ytnr.js} +5 -5
- package/dist/chunks/{integration-5yzzbxa7.js → integration-p37cw4rj.js} +7 -7
- package/dist/chunks/integration-p6rn815x.js +252 -0
- package/dist/chunks/{integration-jx4jx4s1.js → integration-pc24wejf.js} +1 -1
- package/dist/chunks/{integration-evxqfha7.js → integration-pcgeyt73.js} +24 -24
- package/dist/chunks/{integration-500fmqbd.js → integration-pp173efe.js} +9 -9
- package/dist/chunks/{integration-fndw4the.js → integration-ppdtm0qk.js} +1 -1
- package/dist/chunks/{integration-6hjx5zpb.js → integration-prq7hedt.js} +8 -8
- package/dist/chunks/{integration-hawc55qt.js → integration-prqcyn0c.js} +2 -2
- package/dist/chunks/{integration-3q756xqj.js → integration-psy3e1hh.js} +31 -31
- package/dist/chunks/{integration-q7z079fr.js → integration-pxy4dh62.js} +22 -22
- package/dist/chunks/{integration-8q7cq0y1.js → integration-q3t37ft6.js} +3 -3
- package/dist/chunks/{integration-h8vn6fjj.js → integration-qepzh1bh.js} +11 -11
- package/dist/chunks/{integration-0jwsre1p.js → integration-qgn6gcr1.js} +4 -4
- package/dist/chunks/{integration-5sxhaqv9.js → integration-qkcvm401.js} +12 -12
- package/dist/chunks/{integration-13wsvgev.js → integration-qm74d4cp.js} +9 -9
- package/dist/chunks/{integration-txzsewg6.js → integration-qvqw0qph.js} +20 -20
- package/dist/chunks/{integration-6esbwhw5.js → integration-rbpwsggg.js} +30 -30
- package/dist/chunks/{integration-b2s2f9hy.js → integration-rc5nmyhy.js} +9 -9
- package/dist/chunks/{integration-h8pmqzj1.js → integration-re7wp77e.js} +5 -5
- package/dist/chunks/{integration-03wz1akf.js → integration-rq3a28zf.js} +36 -36
- package/dist/chunks/{integration-kfktj5h5.js → integration-rrzjzqrd.js} +2 -2
- package/dist/chunks/{integration-7b7x293f.js → integration-rwsvrpt4.js} +48 -29
- package/dist/chunks/{integration-kxw6n92b.js → integration-s22tcjmk.js} +12 -12
- package/dist/chunks/{integration-d2czbp48.js → integration-s30fyz93.js} +3 -3
- package/dist/chunks/{integration-jxjcdxd0.js → integration-sf48c4sg.js} +23 -23
- package/dist/chunks/{integration-166agdv6.js → integration-sj2zwkfm.js} +9 -9
- package/dist/chunks/{integration-npzqcw4h.js → integration-sjhe73hb.js} +8 -8
- package/dist/chunks/{integration-pkfxfszq.js → integration-skb9kzak.js} +22 -22
- package/dist/chunks/{integration-1ag5f13t.js → integration-srvnn0v4.js} +9 -9
- package/dist/chunks/{integration-9jft2ye4.js → integration-st0j0zn3.js} +17 -17
- package/dist/chunks/{integration-qv1j0f1d.js → integration-sv7yr8xe.js} +15 -15
- package/dist/chunks/{integration-336jbapg.js → integration-t71c8r43.js} +7 -7
- package/dist/chunks/{integration-g3nv7gdt.js → integration-tp0s123v.js} +4 -4
- package/dist/chunks/{integration-p0sbmvqz.js → integration-tqz9py0c.js} +19 -19
- package/dist/chunks/{integration-aby47wwy.js → integration-trfm30pq.js} +22 -22
- package/dist/chunks/{integration-xn76t6fc.js → integration-v2g7d70b.js} +14 -14
- package/dist/chunks/{integration-fdv30zvt.js → integration-v5dkyp31.js} +6 -6
- package/dist/chunks/{integration-k5c5twea.js → integration-vavgc505.js} +25 -25
- package/dist/chunks/{integration-r0d7dx27.js → integration-vnn4gkfz.js} +81 -81
- package/dist/chunks/{integration-yesqp7fw.js → integration-vycpbpnw.js} +25 -25
- package/dist/chunks/{integration-kaqgv1kk.js → integration-w3senr2q.js} +6 -6
- package/dist/chunks/{integration-tgcnk5sw.js → integration-w47g9jnr.js} +1 -1
- package/dist/chunks/{integration-1p2r191f.js → integration-w9nr0r4k.js} +15 -15
- package/dist/chunks/{integration-g2mx06y3.js → integration-wdzcbyx9.js} +22 -22
- package/dist/chunks/{integration-a7pt7jn1.js → integration-wq4mmp7m.js} +2 -2
- package/dist/chunks/{integration-n264kn3f.js → integration-wstveqzx.js} +13 -13
- package/dist/chunks/{integration-k2aj64ym.js → integration-wvjmf19v.js} +21 -21
- package/dist/chunks/{integration-vzfyd6yh.js → integration-wyvmt7jr.js} +14 -14
- package/dist/chunks/{integration-dxt5nwr4.js → integration-x3k4y0th.js} +14 -14
- package/dist/chunks/{integration-8hpx30f9.js → integration-x8h61vbx.js} +43 -43
- package/dist/chunks/{integration-bxp2jpa1.js → integration-x8v6s741.js} +2 -2
- package/dist/chunks/{integration-7evwkt5a.js → integration-xf1aecpm.js} +13 -13
- package/dist/chunks/{integration-57b9ws8p.js → integration-xfkkasph.js} +6 -6
- package/dist/chunks/{integration-s9htjpym.js → integration-xn7zchcf.js} +26 -26
- package/dist/chunks/{integration-y3ems7z9.js → integration-xp8cepfb.js} +8 -8
- package/dist/chunks/{integration-4wdgh5xv.js → integration-y0s8f48q.js} +1 -1
- package/dist/chunks/{integration-h6r3nrb9.js → integration-y6bex35g.js} +5 -3
- package/dist/chunks/{integration-3rtxz4nr.js → integration-y72zmemf.js} +7 -7
- package/dist/chunks/{integration-37dqmmxw.js → integration-yk1wne8d.js} +17 -17
- package/dist/chunks/{integration-kcc7mh83.js → integration-yn0skrfd.js} +39 -39
- package/dist/chunks/{integration-4xz89tjk.js → integration-yt0fqk68.js} +3 -3
- package/dist/chunks/{integration-bjtzbw4r.js → integration-z07pqspn.js} +1 -1
- package/dist/chunks/{integration-99jc8f7r.js → integration-z83vrf6c.js} +21 -21
- package/dist/chunks/{integration-0qjwcdf0.js → integration-z96crwnb.js} +3 -3
- package/dist/chunks/{integration-2yx0kjta.js → integration-zqankrzg.js} +3 -3
- package/dist/codemode/instructions.js +8 -8
- package/dist/command.js +67 -67
- package/dist/config/discovery.js +60 -60
- package/dist/config/normalize.js +81 -81
- package/dist/config/plugin/agent.js +94 -94
- package/dist/config/plugin/command.js +177 -177
- package/dist/config/plugin/compaction.js +126 -126
- package/dist/config/plugin/compatibility.js +110 -110
- package/dist/config/plugin/formatter.js +93 -93
- package/dist/config/plugin/image.js +92 -92
- package/dist/config/plugin/instruction.js +66 -66
- package/dist/config/plugin/location-watcher.js +92 -92
- package/dist/config/plugin/mcp.js +100 -100
- package/dist/config/plugin/policy.js +93 -93
- package/dist/config/plugin/provider.js +92 -92
- package/dist/config/plugin/reference.js +94 -94
- package/dist/config/plugin/shell.js +92 -92
- package/dist/config/plugin/skill-file.js +77 -77
- package/dist/config/plugin/skill.js +113 -113
- package/dist/config/plugin/snapshot.js +92 -92
- package/dist/config/plugin/source.js +95 -95
- package/dist/config/plugin/tool-output.js +93 -93
- package/dist/config/plugin/websearch.js +91 -91
- package/dist/config/plugin/worktree.js +94 -94
- package/dist/config.js +98 -98
- package/dist/credential.js +65 -65
- package/dist/database/database.js +50 -50
- package/dist/database/drizzle/effect-sqlite/driver.js +10 -10
- package/dist/database/drizzle/effect-sqlite/index.js +6 -6
- package/dist/database/drizzle/effect-sqlite/session.js +7 -7
- package/dist/database/drizzle/index.js +11 -11
- package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
- package/dist/database/drizzle.js +11 -11
- package/dist/database/migration.gen.js +39 -39
- package/dist/database/migration.js +40 -40
- package/dist/database/v1-migration.bun.js +11 -11
- package/dist/effect/app-node-builder.js +241 -241
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/environment/environment.js +68 -68
- package/dist/environment/index.js +70 -70
- package/dist/event-logger.js +10 -10
- package/dist/file-access.js +80 -80
- package/dist/file-mutation.js +69 -69
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +188 -188
- package/dist/filesystem/search.js +76 -76
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +75 -75
- package/dist/form.js +67 -67
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +67 -67
- package/dist/generate.js +79 -79
- package/dist/git.js +3 -3
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +3 -3
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +75 -75
- package/dist/github-copilot/responses/openai-responses-language-model.js +5 -5
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +312 -312
- package/dist/instruction-discovery.js +65 -65
- package/dist/instructions/builtins.js +65 -65
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +5 -3
- package/dist/integration.js +67 -66
- package/dist/job.js +60 -60
- package/dist/kv.js +55 -55
- package/dist/location-activity.js +57 -57
- package/dist/location-lifecycle.js +83 -83
- package/dist/location-service-map.js +64 -64
- package/dist/location-services.js +309 -309
- package/dist/location.js +59 -59
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +20 -20
- package/dist/mcp/index.js +76 -75
- package/dist/mcp/instructions.js +99 -98
- package/dist/mcp/oauth.js +14 -14
- package/dist/mcp/stdio.js +65 -65
- package/dist/modal/models.js +75 -75
- package/dist/model-resolver.js +74 -74
- package/dist/model.js +76 -76
- package/dist/models-dev.js +82 -82
- package/dist/permission/saved.js +64 -64
- package/dist/permission/sql.js +3 -3
- package/dist/permission.js +89 -89
- package/dist/persistent-pty/index.js +69 -69
- package/dist/persistent-pty.js +55 -55
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +75 -74
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +181 -181
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +285 -285
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +71 -71
- package/dist/plugin/module.js +2 -2
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +78 -78
- package/dist/plugin/provider/amazon-bedrock.js +66 -66
- package/dist/plugin/provider/azure.js +91 -91
- package/dist/plugin/provider/cloudflare-ai-gateway.js +90 -90
- package/dist/plugin/provider/cloudflare-workers-ai.js +90 -90
- package/dist/plugin/provider/configured.js +89 -89
- package/dist/plugin/provider/digitalocean.js +68 -68
- package/dist/plugin/provider/github-copilot.js +70 -70
- package/dist/plugin/provider/gitlab.js +68 -68
- package/dist/plugin/provider/google-vertex.js +66 -66
- package/dist/plugin/provider/llmgateway.js +58 -57
- package/dist/plugin/provider/lmstudio.js +92 -92
- package/dist/plugin/provider/modal.js +68 -68
- package/dist/plugin/provider/ollama.js +92 -92
- package/dist/plugin/provider/openai.js +69 -69
- package/dist/plugin/provider/opencode.js +70 -70
- package/dist/plugin/provider/openrouter.js +67 -67
- package/dist/plugin/provider/poe.js +58 -57
- package/dist/plugin/provider/prompt-cache-key.js +66 -66
- package/dist/plugin/provider/sap-ai-core.js +66 -66
- package/dist/plugin/provider/snowflake-cortex.js +91 -91
- package/dist/plugin/provider/vercel.js +66 -66
- package/dist/plugin/provider/vllm.js +92 -92
- package/dist/plugin/provider/xai.js +67 -67
- package/dist/plugin/provider.js +123 -123
- package/dist/plugin/sdk.js +59 -59
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +111 -111
- package/dist/plugin/supervisor.js +299 -299
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +64 -64
- package/dist/plugin/vcs/hg.js +64 -64
- package/dist/plugin/verbosity.js +69 -69
- package/dist/plugin/warming.js +91 -91
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +5 -5
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +5 -5
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +192 -192
- package/dist/project/schema.js +1 -1
- package/dist/project/sql.js +2 -2
- package/dist/project.js +58 -58
- package/dist/provider.js +77 -77
- package/dist/pty.js +74 -74
- package/dist/reference/instructions.js +63 -63
- package/dist/reference.js +69 -69
- package/dist/repository-cache.js +60 -60
- package/dist/ripgrep.js +71 -71
- package/dist/rpc.js +64 -64
- package/dist/session/command.js +56 -56
- package/dist/session/compaction.js +103 -103
- package/dist/session/context.js +122 -122
- package/dist/session/diff.js +65 -65
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +4 -4
- package/dist/session/execution/restart.js +120 -120
- package/dist/session/execution.js +101 -101
- package/dist/session/generate.js +123 -123
- package/dist/session/history.js +9 -9
- package/dist/session/inbox.js +69 -69
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +61 -61
- package/dist/session/instruction-state.js +5 -5
- package/dist/session/instructions.js +73 -73
- package/dist/session/model-request.js +92 -92
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +102 -102
- package/dist/session/projector.js +63 -63
- package/dist/session/prompt.js +80 -80
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +66 -66
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +191 -191
- package/dist/session/runner/model.js +74 -74
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +97 -97
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +135 -135
- package/dist/session/shell.js +104 -104
- package/dist/session/skill.js +79 -79
- package/dist/session/sql.js +3 -3
- package/dist/session/stats.js +10 -10
- package/dist/session/store.js +67 -67
- package/dist/session/subagent-job.js +172 -172
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +125 -125
- package/dist/session/to-session-error.js +87 -87
- package/dist/session/transfer.js +114 -114
- package/dist/session.js +186 -186
- package/dist/shell/parse.js +3 -3
- package/dist/shell/select.js +12 -12
- package/dist/shell.js +107 -107
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +83 -83
- package/dist/skill.js +88 -88
- package/dist/snapshot.js +71 -71
- package/dist/tool/mcp.js +98 -97
- package/dist/tool/plugin/edit.js +88 -88
- package/dist/tool/plugin/glob.js +97 -97
- package/dist/tool/plugin/grep.js +93 -93
- package/dist/tool/plugin/mcp-resource.js +88 -87
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +96 -96
- package/dist/tool/plugin/question.js +81 -81
- package/dist/tool/plugin/read.js +98 -98
- package/dist/tool/plugin/shell.js +180 -180
- package/dist/tool/plugin/skill.js +87 -87
- package/dist/tool/plugin/subagent.js +183 -183
- package/dist/tool/plugin/webfetch.js +85 -85
- package/dist/tool/plugin/websearch.js +88 -88
- package/dist/tool/plugin/write.js +96 -96
- package/dist/tool/read-filesystem.js +73 -73
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +9 -9
- package/dist/types/integration/connection.d.ts +42 -0
- package/dist/types/integration.d.ts +24 -0
- package/dist/types/plugin/provider/opencode.d.ts +1 -1
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +67 -67
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/server.js +1 -1
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +67 -67
- package/dist/vcs.js +67 -67
- package/dist/websearch.js +65 -65
- package/dist/wellknown/plugin.js +57 -57
- package/dist/wellknown.js +60 -60
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +63 -63
- package/dist/worktree/directory.js +1 -1
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/sql.js +3 -3
- package/dist/worktree/strategies.js +67 -67
- package/dist/worktree.js +71 -71
- package/package.json +8 -8
- package/dist/chunks/integration-78b6byxs.js +0 -252
- package/dist/chunks/integration-a9zdxssk.js +0 -26
- package/dist/chunks/integration-efmr7s8w.js +0 -507
- /package/dist/chunks/{integration-d9s573fh.js → integration-57ez7d0k.js} +0 -0
- /package/dist/chunks/{integration-82206brs.js → integration-5wyqsnb4.js} +0 -0
- /package/dist/chunks/{integration-dfmjf6m5.js → integration-fqm9ba4x.js} +0 -0
- /package/dist/chunks/{integration-yyb7tjpc.js → integration-gv6a8nnw.js} +0 -0
- /package/dist/chunks/{integration-p4b86tx8.js → integration-prwkcbsp.js} +0 -0
- /package/dist/chunks/{integration-2hg7qvzt.js → integration-q4fmv0xv.js} +0 -0
- /package/dist/chunks/{integration-psazpmmj.js → integration-wd3x2cqz.js} +0 -0
- /package/dist/chunks/{integration-rq775frq.js → integration-zeh9ct20.js} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./integration-
|
|
5
|
+
} from "./integration-c634d86v.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID8,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./integration-
|
|
10
|
+
Info22
|
|
11
|
+
} from "./integration-xn7zchcf.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
14
|
} from "./integration-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load2
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load2(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load2(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID8.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info22.make({
|
|
122
|
+
...Info22.default(ID9.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID8.make(remote.id),
|
|
125
|
+
providerID: ID9.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./integration-
|
|
2
|
+
Service61
|
|
3
|
+
} from "./integration-9jsdpggr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./integration-
|
|
5
|
+
Service44
|
|
6
|
+
} from "./integration-51f5btjf.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
9
|
} from "./integration-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./integration-
|
|
12
|
+
} from "./integration-4v7qdvcn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./integration-
|
|
14
|
+
Service79
|
|
15
|
+
} from "./integration-a2qe2ev9.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./integration-
|
|
19
|
+
} from "./integration-eyz64kwr.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./integration-
|
|
22
|
+
Service50
|
|
23
|
+
} from "./integration-43fvpk64.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
26
|
} from "./integration-9rqn6x4v.js";
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service44;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service79;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service50;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service61;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./integration-
|
|
3
|
+
} from "./integration-55bzypr0.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./integration-
|
|
6
|
+
} from "./integration-x8v6s741.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./integration-
|
|
9
|
+
Event17
|
|
10
|
+
} from "./integration-427a15qw.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./integration-
|
|
14
|
+
} from "./integration-rwsvrpt4.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./integration-
|
|
16
|
+
ID9
|
|
17
|
+
} from "./integration-c634d86v.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID8,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./integration-
|
|
21
|
+
} from "./integration-xn7zchcf.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
24
|
} from "./integration-pjvnvgmy.js";
|
|
@@ -27,8 +27,8 @@ import {
|
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
29
29
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
30
|
-
var providerID =
|
|
31
|
-
var integrationID =
|
|
30
|
+
var providerID = ID9.make("digitalocean");
|
|
31
|
+
var integrationID = ID10.make("digitalocean");
|
|
32
32
|
var methodID = MethodID2.make("browser");
|
|
33
33
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
34
34
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
148
148
|
return;
|
|
149
149
|
for (const router of loaded.routers) {
|
|
150
150
|
const id = `router:${router.name}`;
|
|
151
|
-
if (evt.get(providerID)?.models.has(
|
|
151
|
+
if (evt.get(providerID)?.models.has(ID8.make(id)))
|
|
152
152
|
continue;
|
|
153
153
|
evt.models.update(providerID, id, (draft) => {
|
|
154
154
|
draft.name = router.name;
|
|
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
159
159
|
}
|
|
160
160
|
});
|
|
161
161
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
162
|
-
yield* bus.subscribe(
|
|
162
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
163
163
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
164
164
|
})
|
|
165
165
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./integration-
|
|
2
|
+
ID10,
|
|
3
|
+
Service71,
|
|
4
|
+
node75
|
|
5
|
+
} from "./integration-rwsvrpt4.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID9,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -12,20 +12,20 @@ import {
|
|
|
12
12
|
modelSettings2,
|
|
13
13
|
mergeOverlay2,
|
|
14
14
|
mergeHeaders2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./integration-
|
|
15
|
+
Service70,
|
|
16
|
+
node74
|
|
17
|
+
} from "./integration-c634d86v.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./integration-
|
|
19
|
+
Service69,
|
|
20
|
+
node73
|
|
21
|
+
} from "./integration-fh23fcf5.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID8,
|
|
24
24
|
VariantID2,
|
|
25
25
|
Ref2,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./integration-
|
|
26
|
+
Service67,
|
|
27
|
+
node71
|
|
28
|
+
} from "./integration-xn7zchcf.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
31
|
} from "./integration-9rqn6x4v.js";
|
|
@@ -37,15 +37,15 @@ __export(exports_model_resolver, {
|
|
|
37
37
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
38
38
|
ModelInitializationError: () => ModelInitializationError2,
|
|
39
39
|
ModelResolver: () => exports_model_resolver,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service47,
|
|
41
41
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
42
42
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
43
43
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
44
44
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
45
45
|
fromCatalogModel: () => fromCatalogModel2,
|
|
46
46
|
hasPackage: () => hasPackage2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer20,
|
|
48
|
+
node: () => node49,
|
|
49
49
|
resolveModel: () => resolveModel2,
|
|
50
50
|
withVariant: () => withVariant2
|
|
51
51
|
});
|
|
@@ -55,8 +55,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
55
55
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
56
56
|
import { Npm } from "@opencode/util/npm";
|
|
57
57
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
58
|
-
providerID:
|
|
59
|
-
modelID:
|
|
58
|
+
providerID: ID9,
|
|
59
|
+
modelID: ID8,
|
|
60
60
|
variant: VariantID2
|
|
61
61
|
}) {
|
|
62
62
|
get message() {
|
|
@@ -65,8 +65,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
68
|
-
providerID:
|
|
69
|
-
modelID:
|
|
68
|
+
providerID: ID9,
|
|
69
|
+
modelID: ID8,
|
|
70
70
|
package: Schema.String
|
|
71
71
|
}) {
|
|
72
72
|
get message() {
|
|
@@ -76,8 +76,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
76
76
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
77
77
|
|
|
78
78
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
79
|
-
providerID:
|
|
80
|
-
modelID:
|
|
79
|
+
providerID: ID9,
|
|
80
|
+
modelID: ID8,
|
|
81
81
|
package: Schema.String,
|
|
82
82
|
detail: Schema.String
|
|
83
83
|
}) {
|
|
@@ -87,8 +87,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
90
|
-
providerID:
|
|
91
|
-
modelID:
|
|
90
|
+
providerID: ID9,
|
|
91
|
+
modelID: ID8,
|
|
92
92
|
package: Schema.String,
|
|
93
93
|
phase: InitializationPhase2,
|
|
94
94
|
detail: Schema.String
|
|
@@ -99,8 +99,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
102
|
-
providerID:
|
|
103
|
-
modelID:
|
|
102
|
+
providerID: ID9,
|
|
103
|
+
modelID: ID8,
|
|
104
104
|
variables: Schema.Array(Schema.String)
|
|
105
105
|
}) {
|
|
106
106
|
get message() {
|
|
@@ -109,8 +109,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
112
|
-
providerID:
|
|
113
|
-
modelID:
|
|
112
|
+
providerID: ID9,
|
|
113
|
+
modelID: ID8,
|
|
114
114
|
route: Schema.String
|
|
115
115
|
}) {
|
|
116
116
|
get message() {
|
|
@@ -118,7 +118,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
class
|
|
121
|
+
class Service47 extends Context.Service()("@opencode/ModelResolver") {
|
|
122
122
|
}
|
|
123
123
|
var withVariant2 = (model, variantID) => {
|
|
124
124
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -258,15 +258,15 @@ var causeMessage = (cause) => {
|
|
|
258
258
|
};
|
|
259
259
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
260
260
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
261
|
-
var
|
|
262
|
-
const providers = yield*
|
|
263
|
-
const models = yield*
|
|
264
|
-
const integrations = yield*
|
|
261
|
+
var layer20 = Layer.effect(Service47, Effect.gen(function* () {
|
|
262
|
+
const providers = yield* Service70;
|
|
263
|
+
const models = yield* Service67;
|
|
264
|
+
const integrations = yield* Service71;
|
|
265
265
|
const npm = yield* Npm.Service;
|
|
266
|
-
const aisdk = yield*
|
|
266
|
+
const aisdk = yield* Service69;
|
|
267
267
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
268
268
|
const provider = yield* providers.get(selected.providerID);
|
|
269
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
269
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID10.make(selected.providerID));
|
|
270
270
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
271
271
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
272
272
|
const runtimeInfo = {
|
|
@@ -293,7 +293,7 @@ var layer23 = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
293
293
|
chunkTimeout: provider?.settings?.chunkTimeout
|
|
294
294
|
};
|
|
295
295
|
});
|
|
296
|
-
return
|
|
296
|
+
return Service47.of({
|
|
297
297
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
298
298
|
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(hasPackage2))));
|
|
299
299
|
if (!selected)
|
|
@@ -310,10 +310,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
310
310
|
const name = packageName2(packageName);
|
|
311
311
|
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/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
312
312
|
}
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
315
|
-
layer:
|
|
316
|
-
deps: [
|
|
313
|
+
var node49 = makeLocationNode({
|
|
314
|
+
service: Service47,
|
|
315
|
+
layer: layer20,
|
|
316
|
+
deps: [node74, node71, node75, Npm.node, node73]
|
|
317
317
|
});
|
|
318
318
|
|
|
319
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
319
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service47, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer20, node49, exports_model_resolver };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./integration-
|
|
4
|
+
} from "./integration-e2ha372a.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
8
|
} from "./integration-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./integration-
|
|
11
|
+
} from "./integration-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
14
|
} from "./integration-9rqn6x4v.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./integration-
|
|
2
|
+
Service73
|
|
3
|
+
} from "./integration-a3vq5bj2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./integration-
|
|
5
|
+
Service75
|
|
6
|
+
} from "./integration-mgznjxj1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./integration-9rqn6x4v.js";
|
|
@@ -12,18 +12,18 @@ import {
|
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name13,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name13 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service73;
|
|
57
|
+
const permission = yield* Service75;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name13,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name13, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make15,
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make15(tools) {
|
|
33
|
+
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render3(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make15, render3, exports_system_prompt };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./integration-
|
|
4
|
+
} from "./integration-x8v6s741.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
@@ -9,17 +9,17 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
Service80,
|
|
11
11
|
node84
|
|
12
|
-
} from "./integration-
|
|
12
|
+
} from "./integration-y0s8f48q.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
rewrite2,
|
|
15
|
+
ID9,
|
|
15
16
|
modelSettings2,
|
|
16
17
|
mergeOverlay2,
|
|
17
18
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./integration-wefqzq4f.js";
|
|
19
|
+
Service70,
|
|
20
|
+
node74,
|
|
21
|
+
Event15
|
|
22
|
+
} from "./integration-c634d86v.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
25
|
} from "./integration-9rqn6x4v.js";
|
|
@@ -30,25 +30,25 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event14,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID8,
|
|
36
|
+
Info: () => Info22,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service67,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
43
|
+
node: () => node71,
|
|
44
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 Event14 } from "@opencode/schema/model";
|
|
51
|
+
var ID8 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,12 +56,12 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info22 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service67 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
63
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service70;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
66
|
const location = yield* Service80;
|
|
67
67
|
let input;
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info22.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service75, 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(Event15.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
+
return Service67.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(Service75, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node71 = makeLocationNode({ service: Service67, layer, deps: [node74, node87, node84] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -228,9 +228,9 @@ function compatibility2(input) {
|
|
|
228
228
|
function parse5(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID9.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID8.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID8, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info22, Service67, node71, compatibility2, parse5, exports_model2, Event14 };
|