@opencode/core 2.0.27 → 2.0.28
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 +66 -66
- package/dist/aisdk-native.js +66 -66
- package/dist/aisdk.js +71 -71
- package/dist/app.js +9 -9
- package/dist/bus.js +55 -55
- package/dist/chunks/{filesystem-eaednpsc.js → filesystem-02hzg919.js} +16 -16
- package/dist/chunks/{filesystem-tn22h724.js → filesystem-09ygvw9n.js} +8 -8
- package/dist/chunks/{filesystem-jex0hdh0.js → filesystem-0m69c59p.js} +124 -42
- package/dist/chunks/{filesystem-52hym6es.js → filesystem-0q6ztsng.js} +34 -34
- package/dist/chunks/{filesystem-58rgv5ce.js → filesystem-0sdzw0m1.js} +26 -26
- package/dist/chunks/{filesystem-qz7nybpq.js → filesystem-0x07vhym.js} +10 -10
- package/dist/chunks/{filesystem-3xq304at.js → filesystem-0z1n3j5c.js} +19 -19
- package/dist/chunks/{filesystem-chn727mr.js → filesystem-139mpvga.js} +7 -7
- package/dist/chunks/filesystem-18a9s3e7.js +26 -0
- package/dist/chunks/filesystem-1z5jn46p.js +253 -0
- package/dist/chunks/{filesystem-cp3h7zv6.js → filesystem-20mebfjn.js} +11 -11
- package/dist/chunks/{filesystem-krjgrvpb.js → filesystem-234r1ky0.js} +5 -5
- package/dist/chunks/{filesystem-277mr6gh.js → filesystem-28n8c4ka.js} +1 -1
- package/dist/chunks/{filesystem-a89e0tac.js → filesystem-2k71kv7p.js} +3 -3
- package/dist/chunks/{filesystem-0jwsre1p.js → filesystem-2k8khapm.js} +4 -4
- package/dist/chunks/{filesystem-rezt1fjs.js → filesystem-2mcy88br.js} +154 -151
- package/dist/chunks/{filesystem-kqx1b4hy.js → filesystem-2ryng5r3.js} +1 -1
- package/dist/chunks/{filesystem-z5eh1vkz.js → filesystem-315k6hst.js} +15 -15
- package/dist/chunks/{filesystem-7wwt250p.js → filesystem-38mdmq5f.js} +82 -82
- package/dist/chunks/{filesystem-y15vpdnr.js → filesystem-3b9qt4hj.js} +7 -7
- package/dist/chunks/{filesystem-dwatz751.js → filesystem-3fz2a589.js} +4 -4
- package/dist/chunks/{filesystem-75yaxqej.js → filesystem-3rj2b0mx.js} +22 -22
- package/dist/chunks/{filesystem-c35597j6.js → filesystem-3sj8yt8v.js} +3 -3
- package/dist/chunks/{filesystem-xx66htzt.js → filesystem-3xj61p28.js} +29 -29
- package/dist/chunks/{filesystem-a7x960be.js → filesystem-426dk71k.js} +10 -10
- package/dist/chunks/{filesystem-0jz028se.js → filesystem-42721k3a.js} +13 -13
- package/dist/chunks/{filesystem-xq0502x8.js → filesystem-42q5z408.js} +3 -3
- package/dist/chunks/{filesystem-cd22zj3n.js → filesystem-47wyv12f.js} +12 -12
- package/dist/chunks/{filesystem-b6pj8f6d.js → filesystem-4c2dxef7.js} +14 -14
- package/dist/chunks/{filesystem-mqbwmym3.js → filesystem-4g0yx14a.js} +8 -8
- package/dist/chunks/filesystem-4h495arh.js +102 -0
- package/dist/chunks/{filesystem-qmyze75f.js → filesystem-4kv77ab9.js} +16 -16
- package/dist/chunks/{filesystem-3fm12cj0.js → filesystem-4rdhmkj7.js} +7 -7
- package/dist/chunks/{filesystem-zp2jr73m.js → filesystem-4wxv1g1t.js} +1 -1
- package/dist/chunks/{filesystem-42nthewb.js → filesystem-53rak1ew.js} +1 -1
- package/dist/chunks/{filesystem-9bbnj2zh.js → filesystem-58hng72m.js} +3 -3
- package/dist/chunks/{filesystem-075nkgpd.js → filesystem-5w9yjztw.js} +1 -1
- package/dist/chunks/{filesystem-egftk3gc.js → filesystem-60fs82z5.js} +9 -9
- package/dist/chunks/{filesystem-qjke1250.js → filesystem-628nc13m.js} +23 -23
- package/dist/chunks/{filesystem-yj5krche.js → filesystem-65v4cnad.js} +11 -11
- package/dist/chunks/{filesystem-7nranytg.js → filesystem-6nt2he5f.js} +30 -30
- package/dist/chunks/{filesystem-gp94me86.js → filesystem-6xktvksv.js} +9 -9
- package/dist/chunks/{filesystem-vw56mdd2.js → filesystem-6y8xypev.js} +6 -6
- package/dist/chunks/{filesystem-fs4v6yja.js → filesystem-73n0zeyz.js} +10 -10
- package/dist/chunks/{filesystem-wxetx7mh.js → filesystem-75kbjv4y.js} +7 -7
- package/dist/chunks/{filesystem-2vvh33eb.js → filesystem-775gj3j1.js} +7 -1
- package/dist/chunks/{filesystem-psy0m90e.js → filesystem-7bj0298e.js} +11 -11
- package/dist/chunks/{filesystem-bddt2pqj.js → filesystem-7cjfetaf.js} +6 -6
- package/dist/chunks/{filesystem-v45b1mqa.js → filesystem-7ha8mbyb.js} +8 -8
- package/dist/chunks/{filesystem-85yr590m.js → filesystem-7kmr86m7.js} +29 -29
- package/dist/chunks/{filesystem-t63kk2n9.js → filesystem-7mwvqe74.js} +1 -1
- package/dist/chunks/{filesystem-qf68ybps.js → filesystem-7q2snjpw.js} +19 -19
- package/dist/chunks/{filesystem-kfxykwst.js → filesystem-7t1q934f.js} +8 -8
- package/dist/chunks/{filesystem-g6kk69s6.js → filesystem-7w42pd46.js} +8 -8
- package/dist/chunks/{filesystem-jh2bfv56.js → filesystem-8004wwfb.js} +18 -18
- package/dist/chunks/{filesystem-6hh8tjw2.js → filesystem-8rqycdgd.js} +6 -6
- package/dist/chunks/{filesystem-tkfxpf5w.js → filesystem-93b1zj1y.js} +8 -8
- package/dist/chunks/{filesystem-dmn46mqv.js → filesystem-9h395ey8.js} +13 -13
- package/dist/chunks/{filesystem-5yzzbxa7.js → filesystem-9hn6k4tm.js} +7 -7
- package/dist/chunks/{filesystem-a812m1sc.js → filesystem-9s024g5s.js} +5 -5
- package/dist/chunks/{filesystem-3c7k6cm5.js → filesystem-9s29ec0q.js} +5 -5
- package/dist/chunks/{filesystem-w5j8pc94.js → filesystem-9sdvy6ea.js} +5 -5
- package/dist/chunks/{filesystem-e850ppb0.js → filesystem-9sjeq45g.js} +1 -1
- package/dist/chunks/{filesystem-nmqm2vvz.js → filesystem-9wfts7m5.js} +14 -14
- package/dist/chunks/{filesystem-9zg8t2tr.js → filesystem-a78v4ve5.js} +22 -22
- package/dist/chunks/{filesystem-h3s3f80v.js → filesystem-adgawzpd.js} +4 -4
- package/dist/chunks/{filesystem-cmdzq1er.js → filesystem-aj2z5ayr.js} +20 -20
- package/dist/chunks/{filesystem-h18kbg2g.js → filesystem-aqazz0j8.js} +20 -20
- package/dist/chunks/{filesystem-d9xsbmzv.js → filesystem-axkrk270.js} +10 -10
- package/dist/chunks/{filesystem-75czp452.js → filesystem-b5s5zk2w.js} +10 -10
- package/dist/chunks/{filesystem-8679j8d8.js → filesystem-b6snqm39.js} +11 -9
- package/dist/chunks/{filesystem-0rj8zrsn.js → filesystem-b71jh5yt.js} +18 -17
- package/dist/chunks/{filesystem-3dreg0vn.js → filesystem-b8h848z5.js} +9 -9
- package/dist/chunks/{filesystem-n61013np.js → filesystem-bfegkxfd.js} +6 -6
- package/dist/chunks/{filesystem-1ffvrpkg.js → filesystem-bjx1sjef.js} +4 -4
- package/dist/chunks/{filesystem-97aeaand.js → filesystem-bmr56wjg.js} +3 -3
- package/dist/chunks/{filesystem-tx4skpae.js → filesystem-btv47zes.js} +27 -27
- package/dist/chunks/{filesystem-r69zxgc9.js → filesystem-bvv8j0qg.js} +9 -9
- package/dist/chunks/{filesystem-b674v2dg.js → filesystem-bx0gyb4h.js} +3 -3
- package/dist/chunks/{filesystem-gdq97084.js → filesystem-bxqk5pf5.js} +7 -7
- package/dist/chunks/{filesystem-mh1qw9wf.js → filesystem-c1pk8j7t.js} +14 -14
- package/dist/chunks/{filesystem-sa8ekw3f.js → filesystem-c8ax2afj.js} +1 -1
- package/dist/chunks/{filesystem-8wps0r52.js → filesystem-c8cfwmf0.js} +16 -14
- package/dist/chunks/{filesystem-gty1xwv8.js → filesystem-cc09gky1.js} +14 -14
- package/dist/chunks/{filesystem-g18ezh2c.js → filesystem-cfkx2x8f.js} +18 -18
- package/dist/chunks/{filesystem-45gnhb3v.js → filesystem-cjb3hyea.js} +21 -21
- package/dist/chunks/{filesystem-yyy8m62c.js → filesystem-cqwer3tv.js} +19 -19
- package/dist/chunks/{filesystem-92hybt7t.js → filesystem-crx3azpj.js} +12 -12
- package/dist/chunks/{filesystem-zdbbxb0y.js → filesystem-ct7wq3h5.js} +5 -5
- package/dist/chunks/{filesystem-nvjf5yyf.js → filesystem-cv0e3ffa.js} +321 -321
- package/dist/chunks/{filesystem-bhzg07mw.js → filesystem-cv0wr4wv.js} +13 -13
- package/dist/chunks/{filesystem-30hpp6bd.js → filesystem-d0gnxsps.js} +28 -28
- package/dist/chunks/{filesystem-zsa8nsz8.js → filesystem-d77571hn.js} +22 -22
- package/dist/chunks/{filesystem-mm2s9j4z.js → filesystem-d8kc7qyj.js} +8 -8
- package/dist/chunks/{filesystem-wfk26c6d.js → filesystem-dg29p2pd.js} +13 -13
- package/dist/chunks/{filesystem-s3mqqn9k.js → filesystem-dqcpnaex.js} +20 -15
- package/dist/chunks/{filesystem-j56e64zr.js → filesystem-dqxsqydv.js} +2 -0
- package/dist/chunks/{filesystem-6s1gmk25.js → filesystem-dvb8jg9v.js} +18 -18
- package/dist/chunks/{filesystem-gvc0m829.js → filesystem-e0w2vstn.js} +14 -14
- package/dist/chunks/{filesystem-517r2k0v.js → filesystem-e1t3mam8.js} +8 -8
- package/dist/chunks/{filesystem-wz02ft3p.js → filesystem-e29yd45t.js} +8 -8
- package/dist/chunks/{filesystem-vk5e0qsv.js → filesystem-e6464sbd.js} +4 -4
- package/dist/chunks/{filesystem-r2z489rp.js → filesystem-e80seqcp.js} +2 -2
- package/dist/chunks/{filesystem-jcr0a5xm.js → filesystem-eebh6wmp.js} +30 -30
- package/dist/chunks/{filesystem-nbhbhab9.js → filesystem-ehv7knr3.js} +21 -16
- package/dist/chunks/{filesystem-kc69xce9.js → filesystem-ej4n91fq.js} +17 -17
- package/dist/chunks/{filesystem-x5s67ttw.js → filesystem-ek1kdr8s.js} +25 -25
- package/dist/chunks/{filesystem-c1fqxshp.js → filesystem-es1vcfrp.js} +1 -1
- package/dist/chunks/{filesystem-avya17qh.js → filesystem-f1bjnzfm.js} +14 -14
- package/dist/chunks/{filesystem-1acjjqhc.js → filesystem-f2n192rq.js} +3 -3
- package/dist/chunks/{filesystem-amjhxwh3.js → filesystem-f5dbfwc4.js} +4 -4
- package/dist/chunks/{filesystem-n59f5cqe.js → filesystem-faat08va.js} +16 -16
- package/dist/chunks/{filesystem-jtpxbk3r.js → filesystem-ffk923an.js} +80 -80
- package/dist/chunks/{filesystem-qmqgtz8f.js → filesystem-ft3hqk2c.js} +7 -7
- package/dist/chunks/{filesystem-hq3c8me3.js → filesystem-fxaymqdw.js} +3 -3
- package/dist/chunks/{filesystem-a1fpssew.js → filesystem-fzcmqh9t.js} +41 -92
- package/dist/chunks/{filesystem-qr40m89d.js → filesystem-g3wzybmp.js} +15 -15
- package/dist/chunks/{filesystem-e77w7m4c.js → filesystem-g5gnrdpy.js} +11 -11
- package/dist/chunks/{filesystem-52fe2n6x.js → filesystem-gp9jqd59.js} +4 -4
- package/dist/chunks/{filesystem-vfb4jdsz.js → filesystem-gtfaydnj.js} +16 -16
- package/dist/chunks/{filesystem-qptcxqn9.js → filesystem-gveanz76.js} +20 -20
- package/dist/chunks/{filesystem-31xfzrxg.js → filesystem-h7s7r6s9.js} +3 -3
- package/dist/chunks/{filesystem-ndz7w8hx.js → filesystem-h9k3zmfa.js} +14 -14
- package/dist/chunks/{filesystem-cjgcse4q.js → filesystem-hcxmzztb.js} +6 -11
- package/dist/chunks/{filesystem-shj64zqm.js → filesystem-hddh30xx.js} +8 -8
- package/dist/chunks/{filesystem-8y0srtbm.js → filesystem-hgx0r8wb.js} +43 -43
- package/dist/chunks/{filesystem-p03r7pt3.js → filesystem-hnb4yx9q.js} +5 -5
- package/dist/chunks/{filesystem-tjefdw4f.js → filesystem-hnh8n5n7.js} +9 -9
- package/dist/chunks/{filesystem-hfx4ttpe.js → filesystem-hp4earpc.js} +9 -9
- package/dist/chunks/{filesystem-x5w8kc5x.js → filesystem-hppj45g6.js} +23 -23
- package/dist/chunks/{filesystem-ted6dyzx.js → filesystem-hxdhxhc0.js} +32 -32
- package/dist/chunks/{filesystem-x2eytdts.js → filesystem-j72mgbmv.js} +30 -30
- package/dist/chunks/{filesystem-8r0rjxx3.js → filesystem-jv0d82ph.js} +41 -41
- package/dist/chunks/{filesystem-4dd6559a.js → filesystem-jvz4rjy9.js} +26 -25
- package/dist/chunks/{filesystem-jnzzg47p.js → filesystem-k0sjew9s.js} +13 -13
- package/dist/chunks/{filesystem-wtsf8rdt.js → filesystem-k7xxzs5q.js} +14 -14
- package/dist/chunks/{filesystem-gjacmpd0.js → filesystem-k97zh3d1.js} +7 -7
- package/dist/chunks/{filesystem-z3pazvy2.js → filesystem-kdykjer7.js} +14 -14
- package/dist/chunks/{filesystem-2q2afj7r.js → filesystem-kjrg4dz2.js} +21 -21
- package/dist/chunks/{filesystem-628cnxdp.js → filesystem-kmpk7fbr.js} +16 -16
- package/dist/chunks/{filesystem-d6jv500s.js → filesystem-krc3a0yk.js} +2 -2
- package/dist/chunks/{filesystem-1k1hwgxp.js → filesystem-ktnh1044.js} +26 -26
- package/dist/chunks/{filesystem-hbmg3jd1.js → filesystem-kzk6m8s6.js} +65 -65
- package/dist/chunks/{filesystem-rhjt4rsm.js → filesystem-kzxe22pz.js} +1 -1
- package/dist/chunks/{filesystem-hehj8e2f.js → filesystem-m30bzzm8.js} +8 -8
- package/dist/chunks/{filesystem-58072hz9.js → filesystem-m5jcjszt.js} +3 -3
- package/dist/chunks/{filesystem-gk8qb678.js → filesystem-maspj1v3.js} +5 -18
- package/dist/chunks/{filesystem-cfrzcmt6.js → filesystem-mddpn92g.js} +24 -24
- package/dist/chunks/{filesystem-43fay8tn.js → filesystem-mek16e5d.js} +8 -8
- package/dist/chunks/{filesystem-7qtbp6f0.js → filesystem-mrfr3fv8.js} +13 -13
- package/dist/chunks/{filesystem-w7mvh2x4.js → filesystem-mwpbc7s8.js} +18 -18
- package/dist/chunks/{filesystem-ddg7egp8.js → filesystem-n2bdxpfq.js} +9 -9
- package/dist/chunks/{filesystem-zfgdk5x8.js → filesystem-n3yfs7ec.js} +31 -31
- package/dist/chunks/{filesystem-8w54sq4a.js → filesystem-n4fsvy2x.js} +18 -18
- package/dist/chunks/{filesystem-gacw69ge.js → filesystem-n9kc33re.js} +2 -2
- package/dist/chunks/{filesystem-jd655njr.js → filesystem-naas6dry.js} +22 -22
- package/dist/chunks/{filesystem-vc6ht4b9.js → filesystem-ng5df8nw.js} +7 -7
- package/dist/chunks/{filesystem-xpk7egw8.js → filesystem-njfdx3sy.js} +3 -3
- package/dist/chunks/{filesystem-40hy4nm0.js → filesystem-p3m2ynk3.js} +16 -12
- package/dist/chunks/{filesystem-h0s8229g.js → filesystem-p42kja40.js} +15 -15
- package/dist/chunks/{filesystem-zxe4qb9c.js → filesystem-pb5kndam.js} +31 -24
- package/dist/chunks/{filesystem-4w5f3qm5.js → filesystem-pn3cc07s.js} +7 -7
- package/dist/chunks/{filesystem-4yh5fkek.js → filesystem-pr4c8k5d.js} +31 -31
- package/dist/chunks/{filesystem-q3kzbh51.js → filesystem-q0zsatc3.js} +47 -47
- package/dist/chunks/{filesystem-gteqr3kb.js → filesystem-qa6qpaa9.js} +10 -10
- package/dist/chunks/{filesystem-45th5jwr.js → filesystem-qc068m1q.js} +4 -4
- package/dist/chunks/{filesystem-xtzs4z5v.js → filesystem-qmr691ca.js} +4 -4
- package/dist/chunks/{filesystem-cztcbjsk.js → filesystem-qnxbmed8.js} +39 -39
- package/dist/chunks/{filesystem-gbtkprqj.js → filesystem-qpdrzbsd.js} +33 -33
- package/dist/chunks/{filesystem-y4861qag.js → filesystem-r3fk5851.js} +40 -40
- package/dist/chunks/{filesystem-zqpzmbkm.js → filesystem-r9h634c8.js} +2 -2
- package/dist/chunks/{filesystem-28mv0yws.js → filesystem-rb70syh1.js} +13 -13
- package/dist/chunks/{filesystem-tbqraact.js → filesystem-rdd07134.js} +44 -43
- package/dist/chunks/{filesystem-v0t15ase.js → filesystem-rgx5n1kn.js} +4 -4
- package/dist/chunks/{filesystem-wn2vj619.js → filesystem-rjtxxem0.js} +5 -5
- package/dist/chunks/{filesystem-6pc27hjz.js → filesystem-rkprpv83.js} +4 -4
- package/dist/chunks/{filesystem-k76fn4kw.js → filesystem-rpg9c19m.js} +3 -3
- package/dist/chunks/{filesystem-6p6bhjzq.js → filesystem-rthc7gf6.js} +10 -10
- package/dist/chunks/{filesystem-b3f8fkhc.js → filesystem-scgrse2b.js} +3 -3
- package/dist/chunks/{filesystem-jq5272j9.js → filesystem-shnqbm89.js} +18 -18
- package/dist/chunks/{filesystem-1pdq80h1.js → filesystem-shy0vwdw.js} +4 -4
- package/dist/chunks/{filesystem-6yajptbt.js → filesystem-t3f4tea4.js} +1 -1
- package/dist/chunks/{filesystem-hdckhky9.js → filesystem-t5jqnx4m.js} +9 -9
- package/dist/chunks/{filesystem-89znhe33.js → filesystem-tcezcvh9.js} +3 -3
- package/dist/chunks/{filesystem-p4njbyer.js → filesystem-tfw769rq.js} +9 -9
- package/dist/chunks/{filesystem-xw91mmsj.js → filesystem-thnax083.js} +10 -10
- package/dist/chunks/{filesystem-rert0e01.js → filesystem-tkb22qbm.js} +1 -1
- package/dist/chunks/{filesystem-0paq2nw3.js → filesystem-tm0kqsz3.js} +25 -1
- package/dist/chunks/{filesystem-7t7k8w74.js → filesystem-tz35mf6x.js} +7 -7
- package/dist/chunks/{filesystem-gccjnz6h.js → filesystem-v0xmac3n.js} +1 -1
- package/dist/chunks/{filesystem-ma9a1mz6.js → filesystem-v7s1536z.js} +2 -2
- package/dist/chunks/{filesystem-41czef58.js → filesystem-v7z2bvyd.js} +3 -3
- package/dist/chunks/{filesystem-nr11xpps.js → filesystem-vbk72xvh.js} +22 -22
- package/dist/chunks/{filesystem-sb9d9eyx.js → filesystem-vtbmj6qa.js} +6 -6
- package/dist/chunks/{filesystem-05zcap53.js → filesystem-vy98fec5.js} +6 -6
- package/dist/chunks/{filesystem-84txncab.js → filesystem-w1eejvng.js} +4 -4
- package/dist/chunks/{filesystem-g6yfr6ja.js → filesystem-w39jehkq.js} +3 -3
- package/dist/chunks/{filesystem-rzs3gq0x.js → filesystem-w3x9v1nk.js} +7 -7
- package/dist/chunks/{filesystem-3y40vn7b.js → filesystem-w40f6bsw.js} +1 -1
- package/dist/chunks/{filesystem-dzse07y5.js → filesystem-w5yqftge.js} +5 -5
- package/dist/chunks/{filesystem-v7gjr6wa.js → filesystem-wb1x78f5.js} +40 -40
- package/dist/chunks/{filesystem-v9rcgtcn.js → filesystem-wd9v2wqs.js} +27 -27
- package/dist/chunks/{filesystem-bw78ga2c.js → filesystem-wjj7prxr.js} +9 -0
- package/dist/chunks/{filesystem-v15nq2pf.js → filesystem-wm56crqz.js} +67 -40
- package/dist/chunks/{filesystem-0nqtnax1.js → filesystem-wne619hj.js} +23 -23
- package/dist/chunks/{filesystem-v7q8sg4f.js → filesystem-wpf4st6a.js} +8 -8
- package/dist/chunks/{filesystem-x7xmxswz.js → filesystem-ws0htp7c.js} +11 -11
- package/dist/chunks/{filesystem-zzbddhc6.js → filesystem-wtwcdvfd.js} +10 -10
- package/dist/chunks/{filesystem-mnav64s8.js → filesystem-wwgtjrva.js} +9 -9
- package/dist/chunks/{filesystem-hh0yy80h.js → filesystem-xcf4ra81.js} +3 -3
- package/dist/chunks/{filesystem-17ahada2.js → filesystem-xey671re.js} +25 -25
- package/dist/chunks/{filesystem-ge3tf0hw.js → filesystem-y5x50g1v.js} +22 -22
- package/dist/chunks/{filesystem-6ea2fwcg.js → filesystem-y8p3zjbc.js} +5 -5
- package/dist/chunks/{filesystem-hhj1gqex.js → filesystem-y9q49zk7.js} +1 -1
- package/dist/chunks/{filesystem-e6f2cxsr.js → filesystem-yar3z0vm.js} +14 -14
- package/dist/chunks/{filesystem-bwds47ca.js → filesystem-ycge4e7e.js} +3 -3
- package/dist/chunks/{filesystem-ykhp3ymj.js → filesystem-yezy7z0k.js} +9 -9
- package/dist/chunks/{filesystem-g8xm47b4.js → filesystem-ysasxjy6.js} +9 -9
- package/dist/chunks/{filesystem-qwwffz8c.js → filesystem-yw46jfkh.js} +13 -13
- package/dist/chunks/{filesystem-x2t9anc7.js → filesystem-z114v3my.js} +17 -17
- package/dist/chunks/{filesystem-9zhh23v8.js → filesystem-z2jd07rd.js} +4 -4
- package/dist/chunks/{filesystem-njatc343.js → filesystem-z7d7tagb.js} +9 -9
- package/dist/chunks/{filesystem-edp2jp4p.js → filesystem-zdqhb26j.js} +2 -2
- package/dist/chunks/{filesystem-28b6phvf.js → filesystem-zftfvc0z.js} +5 -5
- package/dist/chunks/{filesystem-zxy7mtkf.js → filesystem-zqq8czsd.js} +27 -27
- package/dist/chunks/{filesystem-vdfrtany.js → filesystem-zrdk58qt.js} +1 -1
- package/dist/chunks/{filesystem-ae5sdhnp.js → filesystem-zrj251rj.js} +20 -20
- package/dist/chunks/{filesystem-2r4m1mbx.js → filesystem-zx2dsnbk.js} +29 -29
- package/dist/codemode/instructions.js +5 -5
- package/dist/command.js +70 -70
- package/dist/config/discovery.js +71 -65
- package/dist/config/normalize.js +76 -76
- package/dist/config/plugin/agent.js +87 -87
- package/dist/config/plugin/command.js +169 -169
- package/dist/config/plugin/compaction.js +121 -121
- package/dist/config/plugin/compatibility.js +103 -103
- package/dist/config/plugin/formatter.js +88 -88
- package/dist/config/plugin/image.js +87 -87
- package/dist/config/plugin/instruction.js +67 -67
- package/dist/config/plugin/location-watcher.js +87 -87
- package/dist/config/plugin/mcp.js +92 -92
- package/dist/config/plugin/policy.js +87 -87
- package/dist/config/plugin/provider.js +87 -87
- package/dist/config/plugin/reference.js +89 -89
- package/dist/config/plugin/shell.js +87 -87
- package/dist/config/plugin/skill-file.js +78 -78
- package/dist/config/plugin/skill.js +104 -104
- package/dist/config/plugin/snapshot.js +87 -87
- package/dist/config/plugin/source.js +90 -90
- package/dist/config/plugin/tool-output.js +88 -88
- package/dist/config/plugin/websearch.js +86 -86
- package/dist/config/plugin/worktree.js +89 -89
- package/dist/config/watch.js +1 -1
- package/dist/config.js +93 -93
- package/dist/credential.js +67 -67
- package/dist/database/database.js +54 -54
- package/dist/database/drizzle/effect-sqlite/driver.js +8 -8
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +7 -7
- package/dist/database/drizzle/index.js +9 -9
- 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 +9 -9
- package/dist/database/migration.gen.js +38 -38
- package/dist/database/migration.js +39 -39
- package/dist/database/v1-migration.bun.js +11 -11
- package/dist/effect/app-node-builder.js +242 -242
- package/dist/effect/app-node-platform.js +1 -1
- package/dist/environment/environment.js +70 -70
- package/dist/environment/index.js +72 -72
- package/dist/environment/unavailable.js +3 -3
- package/dist/event-logger.js +9 -9
- package/dist/file-access.js +81 -81
- package/dist/file-mutation.js +71 -71
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +185 -185
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +80 -80
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +83 -83
- package/dist/form.js +62 -62
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +67 -67
- package/dist/generate.js +79 -79
- package/dist/git.js +2 -2
- 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 +68 -68
- package/dist/github-copilot/responses/openai-responses-language-model.js +4 -4
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +2 -2
- 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 +64 -64
- package/dist/instructions/builtins.js +67 -67
- package/dist/integration.js +63 -63
- package/dist/job.js +64 -64
- package/dist/kv.js +59 -59
- package/dist/location-activity.js +53 -53
- package/dist/location-lifecycle.js +84 -84
- package/dist/location-service-map.js +67 -67
- package/dist/location-services.js +311 -311
- package/dist/location.js +62 -62
- package/dist/managed-policy.js +7 -7
- package/dist/mcp/client.js +18 -18
- package/dist/mcp/index.js +82 -82
- package/dist/mcp/instructions.js +97 -97
- package/dist/mcp/oauth.js +13 -13
- package/dist/mcp/stdio.js +67 -67
- package/dist/modal/models.js +68 -68
- package/dist/model-resolver.js +75 -75
- package/dist/model.js +77 -77
- package/dist/models-dev.js +83 -83
- package/dist/permission/saved.js +66 -66
- package/dist/permission/sql.js +3 -3
- package/dist/permission.js +88 -88
- package/dist/persistent-pty/index.js +71 -71
- package/dist/persistent-pty.js +57 -57
- package/dist/plugin/agent.js +59 -59
- package/dist/plugin/command.js +73 -73
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +176 -176
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +286 -286
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +72 -72
- package/dist/plugin/module.js +85 -85
- package/dist/plugin/optimize.js +3 -3
- package/dist/plugin/plan.js +79 -79
- package/dist/plugin/provider/amazon-bedrock.js +67 -67
- package/dist/plugin/provider/azure.js +86 -87
- package/dist/plugin/provider/chatgpt.js +91 -69
- package/dist/plugin/provider/cloudflare-ai-gateway.js +85 -85
- package/dist/plugin/provider/cloudflare-workers-ai.js +85 -85
- package/dist/plugin/provider/configured.js +84 -84
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +69 -69
- package/dist/plugin/provider/github-copilot.js +71 -71
- package/dist/plugin/provider/gitlab.js +69 -69
- package/dist/plugin/provider/google-vertex.js +85 -85
- package/dist/plugin/provider/llmgateway.js +60 -60
- package/dist/plugin/provider/lmstudio.js +94 -94
- package/dist/plugin/provider/local.js +91 -91
- package/dist/plugin/provider/modal.js +69 -69
- package/dist/plugin/provider/ollama.js +92 -92
- package/dist/plugin/provider/openai.js +93 -70
- package/dist/plugin/provider/opencode.js +72 -72
- package/dist/plugin/provider/openrouter.js +68 -68
- package/dist/plugin/provider/poe.js +60 -60
- package/dist/plugin/provider/prompt-cache-key.js +1 -92
- package/dist/plugin/provider/sap-ai-core.js +67 -67
- package/dist/plugin/provider/snowflake-cortex.js +86 -86
- package/dist/plugin/provider/vercel.js +67 -67
- package/dist/plugin/provider/vllm.js +94 -94
- package/dist/plugin/provider/xai.js +68 -68
- package/dist/plugin/provider.js +128 -128
- package/dist/plugin/sdk.js +60 -60
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +104 -104
- package/dist/plugin/supervisor.js +299 -299
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/vcs/git.js +66 -66
- package/dist/plugin/vcs/hg.js +66 -66
- package/dist/plugin/verbosity.js +70 -70
- package/dist/plugin/warming.js +86 -86
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- 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 +5 -5
- package/dist/plugin.js +189 -189
- package/dist/project/sql.js +2 -2
- package/dist/project.js +61 -61
- package/dist/provider.js +82 -78
- package/dist/pty.js +78 -78
- package/dist/reference/instructions.js +70 -70
- package/dist/reference.js +70 -70
- package/dist/repository-cache.js +64 -64
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +1 -1
- package/dist/ripgrep.js +74 -74
- package/dist/rpc.js +67 -67
- package/dist/session/command.js +59 -59
- package/dist/session/compaction.js +100 -100
- package/dist/session/context.js +119 -119
- package/dist/session/diff.js +67 -67
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +4 -4
- package/dist/session/execution/restart.js +114 -114
- package/dist/session/execution.js +97 -97
- package/dist/session/generate.js +120 -120
- package/dist/session/history.js +9 -9
- package/dist/session/inbox.js +70 -70
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +64 -64
- package/dist/session/instruction-state.js +4 -4
- package/dist/session/instructions.js +76 -76
- package/dist/session/message-updater.js +3 -3
- package/dist/session/model-request.js +91 -91
- package/dist/session/model-transport.js +8 -8
- package/dist/session/move.js +103 -103
- package/dist/session/projector.js +68 -68
- package/dist/session/prompt.js +81 -81
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +68 -68
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +187 -187
- package/dist/session/runner/model.js +73 -73
- package/dist/session/runner/publish-llm-event.js +86 -86
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +93 -93
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +131 -131
- package/dist/session/shell.js +98 -98
- package/dist/session/skill.js +80 -80
- package/dist/session/sql.js +3 -3
- package/dist/session/stats.js +10 -10
- package/dist/session/store.js +69 -69
- package/dist/session/subagent-job.js +169 -169
- package/dist/session/title.js +122 -122
- package/dist/session/to-session-error.js +85 -85
- package/dist/session/transfer.js +109 -109
- package/dist/session.js +177 -177
- package/dist/shell/parse.js +2 -2
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +101 -101
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +84 -84
- package/dist/skill.js +89 -89
- package/dist/snapshot.js +71 -71
- package/dist/tool/mcp.js +96 -96
- package/dist/tool/plugin/edit.js +95 -95
- package/dist/tool/plugin/glob.js +100 -100
- package/dist/tool/plugin/grep.js +100 -100
- package/dist/tool/plugin/mcp-resource.js +90 -90
- package/dist/tool/plugin/opencode.js +86 -86
- package/dist/tool/plugin/patch.js +97 -97
- package/dist/tool/plugin/question.js +78 -78
- package/dist/tool/plugin/read.js +100 -100
- package/dist/tool/plugin/shell.js +173 -173
- package/dist/tool/plugin/skill.js +90 -90
- package/dist/tool/plugin/subagent.js +176 -176
- package/dist/tool/plugin/webfetch.js +87 -87
- package/dist/tool/plugin/websearch.js +87 -87
- package/dist/tool/plugin/write.js +95 -95
- package/dist/tool/read-filesystem.js +72 -72
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +11 -11
- package/dist/types/agent.d.ts +1 -0
- package/dist/types/config/discovery.d.ts +18 -0
- package/dist/types/config.d.ts +3 -1
- package/dist/types/image/photon.d.ts +2 -2
- package/dist/types/model.d.ts +7 -0
- package/dist/types/plugin/provider/azure.d.ts +2 -3
- package/dist/types/plugin/provider/chatgpt.d.ts +2 -1
- package/dist/types/plugin/provider/openai.d.ts +2 -1
- package/dist/types/provider.d.ts +30 -1
- package/dist/types/v1/config/migrate.d.ts +13 -4
- package/dist/types/v1/config/provider-options.d.ts +8 -0
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +69 -69
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +3 -1
- package/dist/v1/config/provider.js +3 -3
- package/dist/variant.js +68 -68
- package/dist/vcs.js +69 -69
- package/dist/websearch.js +66 -66
- package/dist/wellknown/plugin.js +61 -61
- package/dist/wellknown.js +64 -64
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +66 -66
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/sql.js +3 -3
- package/dist/worktree/strategies.js +68 -68
- package/dist/worktree.js +76 -76
- package/package.json +9 -9
- package/dist/chunks/filesystem-8p91w73h.js +0 -59
- package/dist/chunks/filesystem-g4vk7v1j.js +0 -253
- package/dist/chunks/filesystem-zr1cpq3k.js +0 -26
- /package/dist/chunks/{filesystem-rj3eygr5.js → filesystem-c41wscbt.js} +0 -0
- /package/dist/chunks/{filesystem-xpeshqab.js → filesystem-d9jtx293.js} +0 -0
- /package/dist/chunks/{filesystem-0dfv01xh.js → filesystem-ma48de29.js} +0 -0
- /package/dist/chunks/{filesystem-2r93mh4x.js → filesystem-svcw9x3w.js} +0 -0
- /package/dist/chunks/{filesystem-nnbqx04f.js → filesystem-t8c0xvf3.js} +0 -0
- /package/dist/chunks/{filesystem-sy62yj56.js → filesystem-tyts7tda.js} +0 -0
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
Service81,
|
|
8
8
|
node85
|
|
9
|
-
} from "./filesystem-
|
|
9
|
+
} from "./filesystem-53rak1ew.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./filesystem-
|
|
11
|
+
Service21,
|
|
12
|
+
node23
|
|
13
|
+
} from "./filesystem-xey671re.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
16
|
} from "./filesystem-9rqn6x4v.js";
|
|
@@ -18,26 +18,26 @@ import {
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event4,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
|
-
ListInput: () =>
|
|
32
|
+
ListInput: () => ListInput2,
|
|
33
33
|
Match: () => Match2,
|
|
34
|
-
NotFoundError: () =>
|
|
34
|
+
NotFoundError: () => NotFoundError3,
|
|
35
35
|
ReadInput: () => ReadInput2,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service20,
|
|
37
37
|
Submatch: () => Submatch2,
|
|
38
38
|
Write: () => Write2,
|
|
39
39
|
WriteInput: () => WriteInput2,
|
|
40
|
-
node: () =>
|
|
40
|
+
node: () => node22
|
|
41
41
|
});
|
|
42
42
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
43
43
|
import path from "path";
|
|
@@ -53,7 +53,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
53
53
|
data: Schema.Uint8Array
|
|
54
54
|
});
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
57
57
|
path: RelativePath2
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
@@ -75,14 +75,14 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
|
|
|
75
75
|
return `Access denied to directory: ${this.directory}`;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
var
|
|
78
|
+
var Content2 = Schema.Struct({
|
|
79
79
|
uri: Schema.String,
|
|
80
80
|
name: Schema.String.pipe(Schema.optional),
|
|
81
81
|
content: Schema.String,
|
|
82
82
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
83
83
|
mime: Schema.String
|
|
84
84
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
85
|
-
var
|
|
85
|
+
var ListInput2 = Schema.Struct({
|
|
86
86
|
path: Schema.String.pipe(Schema.optional)
|
|
87
87
|
});
|
|
88
88
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -105,14 +105,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
105
105
|
limit: Schema.optionalKey(PositiveInt2)
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Event4 = FileSystem.Event;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service20 extends Context.Service()("@opencode/FileSystem") {
|
|
111
111
|
}
|
|
112
|
-
var baseLayer = Layer.effect(
|
|
112
|
+
var baseLayer = Layer.effect(Service20, Effect.gen(function* () {
|
|
113
113
|
const fs = yield* FSUtil.Service;
|
|
114
114
|
const location = yield* Service81;
|
|
115
|
-
const search = yield*
|
|
115
|
+
const search = yield* Service21;
|
|
116
116
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.catch((cause) => {
|
|
117
117
|
if (cause.reason._tag === "NotFound")
|
|
118
118
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -122,22 +122,22 @@ var baseLayer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
122
122
|
}));
|
|
123
123
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
124
124
|
if (input.includes("\x00"))
|
|
125
|
-
return yield* Effect.fail(new
|
|
125
|
+
return yield* Effect.fail(new NotFoundError3({ path: input }));
|
|
126
126
|
const absolute = path.resolve(location.directory, input);
|
|
127
127
|
if (!FSUtil.contains(location.directory, absolute))
|
|
128
|
-
return yield* Effect.fail(new
|
|
129
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
128
|
+
return yield* Effect.fail(new NotFoundError3({ path: input }));
|
|
129
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input })), (_, error) => Effect.die(error)));
|
|
130
130
|
if (!FSUtil.contains(root, real))
|
|
131
|
-
return yield* Effect.fail(new
|
|
131
|
+
return yield* Effect.fail(new NotFoundError3({ path: input }));
|
|
132
132
|
return { absolute, real, directory: location.directory };
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service20.of({
|
|
135
135
|
find: search.find,
|
|
136
136
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
137
137
|
const target = yield* resolve(input.path);
|
|
138
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
138
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "File")
|
|
140
|
-
return yield* Effect.fail(new
|
|
140
|
+
return yield* Effect.fail(new NotFoundError3({ path: input.path }));
|
|
141
141
|
return {
|
|
142
142
|
mime: FSUtil.mimeType(target.real),
|
|
143
143
|
size: Number(info.size),
|
|
@@ -147,7 +147,7 @@ var baseLayer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
147
147
|
}),
|
|
148
148
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
149
149
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
150
|
-
const missing = new
|
|
150
|
+
const missing = new NotFoundError3({ path: RelativePath2.make(input.path ?? ".") });
|
|
151
151
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
152
152
|
if (info.type !== "Directory")
|
|
153
153
|
return yield* missing;
|
|
@@ -171,10 +171,10 @@ var baseLayer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
171
171
|
})
|
|
172
172
|
});
|
|
173
173
|
}));
|
|
174
|
-
var
|
|
175
|
-
service:
|
|
174
|
+
var node22 = makeLocationNode({
|
|
175
|
+
service: Service20,
|
|
176
176
|
layer: baseLayer,
|
|
177
|
-
deps: [FSUtil.node, node85,
|
|
177
|
+
deps: [FSUtil.node, node85, node23]
|
|
178
178
|
});
|
|
179
179
|
|
|
180
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
180
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service20, node22, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./filesystem-
|
|
3
|
+
} from "./filesystem-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./filesystem-
|
|
5
|
+
Service56,
|
|
6
|
+
node58
|
|
7
|
+
} from "./filesystem-rdd07134.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
10
|
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate = {};
|
|
14
|
+
__export(exports_generate, {
|
|
15
|
+
Generate: () => exports_generate,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service25,
|
|
18
18
|
UnavailableError: () => UnavailableError3,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer13,
|
|
20
|
+
node: () => node28
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -34,11 +34,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service25 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer13 = Layer.effect(Service25, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service56;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -68,12 +68,12 @@ var layer23 = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
68
68
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service25.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node28 = makeLocationNode({
|
|
74
|
+
service: Service25,
|
|
75
|
+
layer: layer13,
|
|
76
|
+
deps: [node58, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2, UnavailableError3,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError3, Service25, layer13, node28, exports_generate };
|
|
@@ -9,22 +9,22 @@ import {
|
|
|
9
9
|
var exports_managed_policy = {};
|
|
10
10
|
__export(exports_managed_policy, {
|
|
11
11
|
ManagedPolicy: () => exports_managed_policy,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service14,
|
|
13
13
|
decision: () => decision2,
|
|
14
|
-
layer: () =>
|
|
15
|
-
node: () =>
|
|
14
|
+
layer: () => layer9,
|
|
15
|
+
node: () => node16,
|
|
16
16
|
statements: () => statements2
|
|
17
17
|
});
|
|
18
18
|
import { isDeepStrictEqual } from "node:util";
|
|
19
19
|
import { Context, Effect, Layer, PubSub, Stream } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Service14 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
23
23
|
}
|
|
24
|
-
var
|
|
24
|
+
var layer9 = Layer.effect(Service14, Effect.gen(function* () {
|
|
25
25
|
const changes = yield* PubSub.unbounded();
|
|
26
26
|
const state = { current: { statements: [] } };
|
|
27
|
-
return
|
|
27
|
+
return Service14.of({
|
|
28
28
|
changes: () => Stream.fromPubSub(changes),
|
|
29
29
|
current: () => state.current,
|
|
30
30
|
set: (next) => Effect.gen(function* () {
|
|
@@ -36,7 +36,7 @@ var layer14 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
}));
|
|
39
|
-
var
|
|
39
|
+
var node16 = makeGlobalNode({ service: Service14, layer: layer9, deps: [] });
|
|
40
40
|
function statements2(entries, organization) {
|
|
41
41
|
return [
|
|
42
42
|
...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
|
|
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
|
|
|
50
50
|
return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service14, layer9, node16, statements2, decision2, exports_managed_policy };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./filesystem-
|
|
2
|
+
Service55
|
|
3
|
+
} from "./filesystem-w5yqftge.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./filesystem-
|
|
6
|
+
} from "./filesystem-qc068m1q.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./filesystem-
|
|
9
|
+
} from "./filesystem-z2jd07rd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./filesystem-
|
|
11
|
+
Service41
|
|
12
|
+
} from "./filesystem-vbk72xvh.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
15
|
} from "./filesystem-9rqn6x4v.js";
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service55;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service41), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./filesystem-
|
|
7
|
+
} from "./filesystem-svcw9x3w.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse5,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./filesystem-
|
|
13
|
+
} from "./filesystem-w1eejvng.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./filesystem-
|
|
15
|
+
Service71,
|
|
16
|
+
node74
|
|
17
|
+
} from "./filesystem-4g0yx14a.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
20
|
} from "./filesystem-9rqn6x4v.js";
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service66,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node69,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service66 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service83;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service71;
|
|
110
|
+
return Service66.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse5(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse5(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node69 = makeGlobalNode({
|
|
171
|
+
service: Service66,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node87, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node87, Global.node, node74]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service66, isError2, validateBranch2, node69, exports_repository_cache };
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command4 = {};
|
|
7
|
+
__export(exports_command4, {
|
|
8
|
+
ConfigCommandV1: () => exports_command4,
|
|
9
|
+
Info: () => Info7
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info7 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info13 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info7, exports_command4 };
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./filesystem-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./filesystem-
|
|
6
|
+
} from "./filesystem-53rak1ew.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./filesystem-
|
|
8
|
+
Service46
|
|
9
|
+
} from "./filesystem-wm56crqz.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./filesystem-
|
|
13
|
+
} from "./filesystem-hppj45g6.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
16
|
} from "./filesystem-qsdy395h.js";
|
|
@@ -22,16 +22,16 @@ import {
|
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin42
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin42 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service46;
|
|
35
35
|
const location = yield* Service81;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin42, exports_reference };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./filesystem-
|
|
4
|
+
} from "./filesystem-zrdk58qt.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
7
|
} from "./filesystem-9rqn6x4v.js";
|
|
@@ -12,12 +12,12 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID15,
|
|
20
|
+
Info: () => Info25,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
23
|
NotFoundError: () => NotFoundError10,
|
|
@@ -33,10 +33,10 @@ __export(exports_form, {
|
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID15 = Form.ID;
|
|
39
|
+
var Info25 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -45,7 +45,7 @@ var Answer2 = Form.Answer;
|
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
47
|
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
-
id:
|
|
48
|
+
id: ID15
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID15
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID15
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID15,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -90,7 +90,7 @@ var layer27 = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
90
90
|
});
|
|
91
91
|
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID15.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID15, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service79, layer27, node83, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -6,17 +6,17 @@ import {
|
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service3,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node4
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service3 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node4 = makeLocationNode({
|
|
19
|
+
service: Service3,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service3, node4, bound2, exports_instance2 };
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
} from "./filesystem-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
12
|
Service81
|
|
13
|
-
} from "./filesystem-
|
|
13
|
+
} from "./filesystem-53rak1ew.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./filesystem-
|
|
16
|
+
} from "./filesystem-e0w2vstn.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
19
|
} from "./filesystem-9rqn6x4v.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin2,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,7 +30,7 @@ import { ChildProcess } from "effect/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin2 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
36
|
const location = yield* Service81;
|
|
@@ -198,4 +198,4 @@ function makeHg(proc, worktree) {
|
|
|
198
198
|
return { status, diff, branch, ancestor, cat };
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { Plugin2, exports_hg };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./filesystem-
|
|
3
|
+
} from "./filesystem-thnax083.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./filesystem-
|
|
6
|
+
} from "./filesystem-bjx1sjef.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./filesystem-9rqn6x4v.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin9,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
16
|
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin9 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -73,4 +73,4 @@ var Plugin21 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export { endpoint6,
|
|
76
|
+
export { endpoint6, Plugin9, exports_tinyfish };
|