@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,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
mergeOverlay2
|
|
6
|
-
} from "./integration-
|
|
6
|
+
} from "./integration-c634d86v.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./integration-9rqn6x4v.js";
|
|
@@ -13,9 +13,9 @@ var exports_aisdk = {};
|
|
|
13
13
|
__export(exports_aisdk, {
|
|
14
14
|
AISDK: () => exports_aisdk,
|
|
15
15
|
InitError: () => InitError2,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service69,
|
|
17
17
|
locationLayer: () => locationLayer2,
|
|
18
|
-
node: () =>
|
|
18
|
+
node: () => node73
|
|
19
19
|
});
|
|
20
20
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -150,7 +150,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
153
|
-
providerID:
|
|
153
|
+
providerID: ID9,
|
|
154
154
|
cause: Schema.Defect()
|
|
155
155
|
}) {
|
|
156
156
|
}
|
|
@@ -158,9 +158,9 @@ function initError(providerID) {
|
|
|
158
158
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
class
|
|
161
|
+
class Service69 extends Context.Service()("@opencode/AISDK") {
|
|
162
162
|
}
|
|
163
|
-
var locationLayer2 = Layer.effect(
|
|
163
|
+
var locationLayer2 = Layer.effect(Service69, Effect.gen(function* () {
|
|
164
164
|
let sdkHooks = [];
|
|
165
165
|
let languageHooks = [];
|
|
166
166
|
const languages = new Map;
|
|
@@ -198,7 +198,7 @@ var locationLayer2 = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
198
198
|
}
|
|
199
199
|
return event;
|
|
200
200
|
});
|
|
201
|
-
const service =
|
|
201
|
+
const service = Service69.of({
|
|
202
202
|
hook: {
|
|
203
203
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
204
204
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -862,6 +862,6 @@ function providerErrorMessage(error) {
|
|
|
862
862
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
863
863
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
864
864
|
}
|
|
865
|
-
var
|
|
865
|
+
var node73 = makeLocationNode({ service: Service69, layer: locationLayer2, deps: [] });
|
|
866
866
|
|
|
867
|
-
export { InitError2,
|
|
867
|
+
export { InitError2, Service69, locationLayer2, node73, exports_aisdk };
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
ascending2
|
|
3
3
|
} from "./integration-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./integration-
|
|
5
|
+
Service68,
|
|
6
|
+
node72
|
|
7
|
+
} from "./integration-xp8cepfb.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
10
|
} from "./integration-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./integration-
|
|
13
|
+
} from "./integration-q3t37ft6.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
16
|
} from "./integration-9rqn6x4v.js";
|
|
@@ -19,9 +19,9 @@ import {
|
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
23
|
-
make: () =>
|
|
24
|
-
node: () =>
|
|
22
|
+
Service: () => Service58,
|
|
23
|
+
make: () => make18,
|
|
24
|
+
node: () => node60
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
var COMPLETED_LIMIT = 25;
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service58 extends Context.Service()("@opencode/Job") {
|
|
55
55
|
}
|
|
56
56
|
function snapshot(job) {
|
|
57
57
|
return {
|
|
@@ -86,8 +86,8 @@ function decrementSession(input, sessionID) {
|
|
|
86
86
|
next.set(sessionID, count - 1);
|
|
87
87
|
return next;
|
|
88
88
|
}
|
|
89
|
-
var
|
|
90
|
-
const kv = yield*
|
|
89
|
+
var make18 = Effect.gen(function* () {
|
|
90
|
+
const kv = yield* Service68;
|
|
91
91
|
const state = {
|
|
92
92
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
93
93
|
scope: yield* Scope.Scope
|
|
@@ -346,7 +346,7 @@ var make19 = Effect.gen(function* () {
|
|
|
346
346
|
next.delete(entry[0]);
|
|
347
347
|
return next;
|
|
348
348
|
})));
|
|
349
|
-
return
|
|
349
|
+
return Service58.of({
|
|
350
350
|
get,
|
|
351
351
|
start,
|
|
352
352
|
wait,
|
|
@@ -358,7 +358,7 @@ var make19 = Effect.gen(function* () {
|
|
|
358
358
|
completeBackground
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
|
-
var layer = Layer.effect(
|
|
362
|
-
var
|
|
361
|
+
var layer = Layer.effect(Service58, make18);
|
|
362
|
+
var node60 = makeGlobalNode({ service: Service58, layer, deps: [node72] });
|
|
363
363
|
|
|
364
|
-
export {
|
|
364
|
+
export { Service58, make18, node60, exports_job };
|
|
@@ -7,7 +7,7 @@ var exports_permission = {};
|
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info16,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info16 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info16, exports_permission };
|
|
@@ -10,7 +10,7 @@ var exports_retry = {};
|
|
|
10
10
|
__export(exports_retry, {
|
|
11
11
|
SessionRunnerRetry: () => exports_retry,
|
|
12
12
|
isRetryable: () => isRetryable2,
|
|
13
|
-
make: () =>
|
|
13
|
+
make: () => make9,
|
|
14
14
|
policy: () => policy2
|
|
15
15
|
});
|
|
16
16
|
import { isRetryable as isRetryable2 } from "@opencode/ai";
|
|
@@ -55,7 +55,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
55
55
|
return { retry: true, attempt, delay: normalized };
|
|
56
56
|
});
|
|
57
57
|
});
|
|
58
|
-
var
|
|
58
|
+
var make9 = (bus, sessionID) => Effect.gen(function* () {
|
|
59
59
|
const decide = yield* policy2(sessionID);
|
|
60
60
|
const wait = (input) => Effect.gen(function* () {
|
|
61
61
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -72,4 +72,4 @@ var make8 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
72
72
|
return { decide, wait };
|
|
73
73
|
});
|
|
74
74
|
|
|
75
|
-
export { isRetryable2, policy2,
|
|
75
|
+
export { isRetryable2, policy2, make9, exports_retry };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./integration-
|
|
2
|
+
Service44
|
|
3
|
+
} from "./integration-51f5btjf.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./integration-
|
|
6
|
+
} from "./integration-4v7qdvcn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./integration-
|
|
8
|
+
Service51
|
|
9
|
+
} from "./integration-6whetfrh.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
12
|
} from "./integration-vzs5sf6e.js";
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service44;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service51), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./integration-
|
|
3
|
+
} from "./integration-w47g9jnr.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./integration-
|
|
7
|
+
} from "./integration-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
10
|
} from "./integration-9rqn6x4v.js";
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigFormatterV1: () =>
|
|
9
|
-
Entry: () =>
|
|
10
|
-
Info: () =>
|
|
6
|
+
var exports_formatter3 = {};
|
|
7
|
+
__export(exports_formatter3, {
|
|
8
|
+
ConfigFormatterV1: () => exports_formatter3,
|
|
9
|
+
Entry: () => Entry3,
|
|
10
|
+
Info: () => Info18
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
13
|
+
var Entry3 = Schema.Struct({
|
|
14
14
|
disabled: Schema.optional(Schema.Boolean),
|
|
15
15
|
command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info18 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Entry3, Info18, exports_formatter3 };
|
|
@@ -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
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
Service80,
|
|
12
12
|
node84
|
|
13
|
-
} from "./integration-
|
|
13
|
+
} from "./integration-y0s8f48q.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info5,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service22,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node25
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info5, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,9 +45,9 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service22 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const location = yield* Service80;
|
|
53
53
|
const bus = yield* Service83;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info5));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service22.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node25 = makeLocationNode({
|
|
168
|
+
service: Service22,
|
|
169
169
|
layer,
|
|
170
170
|
deps: [FSUtil.node, node84, node87]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service22, node25, exports_vcs };
|
|
@@ -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
|
create3
|
|
7
7
|
} from "./integration-rdw6cm16.js";
|
|
@@ -10,24 +10,24 @@ import {
|
|
|
10
10
|
} from "./integration-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command4 = {};
|
|
14
|
+
__export(exports_command4, {
|
|
15
|
+
Command: () => exports_command4,
|
|
16
|
+
Event: () => Event7,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info7,
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Service: () => Service40,
|
|
21
|
+
layer: () => layer16,
|
|
22
|
+
node: () => node43
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event7 } from "@opencode/schema/command";
|
|
28
|
+
var Info7 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service40 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer16 = Layer.effect(Service40, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service83;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer24 = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info7.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service40.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer24 = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node43 = makeLocationNode({
|
|
75
|
+
service: Service40,
|
|
76
|
+
layer: layer16,
|
|
77
77
|
deps: [node87]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info7, NotFoundError6, ExecutionError2, Service40, layer16, node43, exports_command4, Event7 };
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./integration-
|
|
5
|
+
} from "./integration-x8v6s741.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./integration-
|
|
7
|
+
Service68,
|
|
8
|
+
node72
|
|
9
|
+
} from "./integration-xp8cepfb.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
12
|
} from "./integration-9rqn6x4v.js";
|
|
@@ -16,13 +16,13 @@ var exports_wellknown = {};
|
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event12,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service57,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node59,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service57 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event12 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service68;
|
|
81
81
|
const bus = yield* Service83;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event12.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service57.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event12.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event12.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node59 = makeGlobalNode({ service: Service57, layer, deps: [httpClient, node72, node87] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service57, Event12, inspect2, resolve3, node59, exports_wellknown };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./integration-
|
|
3
|
+
} from "./integration-y0s8f48q.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./integration-
|
|
6
|
+
Service53
|
|
7
|
+
} from "./integration-ehzy0r6a.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./integration-
|
|
9
|
+
Service24
|
|
10
|
+
} from "./integration-k054q3ng.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./integration-
|
|
12
|
+
make4
|
|
13
|
+
} from "./integration-mvfsc1pv.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
16
|
} from "./integration-qsdy395h.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin15
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,11 +30,11 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin15 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service53;
|
|
37
|
+
const formatter = yield* Service24;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
40
|
const location = yield* Service80;
|
|
@@ -45,7 +45,7 @@ var Plugin35 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make4({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -74,4 +74,4 @@ var Plugin35 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin15, exports_formatter };
|