@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
package/dist/bus.js
CHANGED
|
@@ -10,77 +10,77 @@ import {
|
|
|
10
10
|
configured12,
|
|
11
11
|
node88,
|
|
12
12
|
exports_bus
|
|
13
|
-
} from "./chunks/filesystem-
|
|
13
|
+
} from "./chunks/filesystem-zrdk58qt.js";
|
|
14
14
|
import"./chunks/filesystem-2710q6r3.js";
|
|
15
15
|
import"./chunks/filesystem-y71avatq.js";
|
|
16
|
-
import"./chunks/filesystem-
|
|
17
|
-
import"./chunks/filesystem-
|
|
16
|
+
import"./chunks/filesystem-r9h634c8.js";
|
|
17
|
+
import"./chunks/filesystem-4wxv1g1t.js";
|
|
18
18
|
import"./chunks/filesystem-pkyv6v7h.js";
|
|
19
|
-
import"./chunks/filesystem-
|
|
20
|
-
import"./chunks/filesystem-
|
|
21
|
-
import"./chunks/filesystem-
|
|
19
|
+
import"./chunks/filesystem-0zkw76rk.js";
|
|
20
|
+
import"./chunks/filesystem-krc3a0yk.js";
|
|
21
|
+
import"./chunks/filesystem-n9kc33re.js";
|
|
22
|
+
import"./chunks/filesystem-9sjeq45g.js";
|
|
23
|
+
import"./chunks/filesystem-7mwvqe74.js";
|
|
24
|
+
import"./chunks/filesystem-t8c0xvf3.js";
|
|
25
|
+
import"./chunks/filesystem-822emrt2.js";
|
|
26
|
+
import"./chunks/filesystem-m9w0rfyh.js";
|
|
27
|
+
import"./chunks/filesystem-7bmhse3q.js";
|
|
28
|
+
import"./chunks/filesystem-f0mxakyp.js";
|
|
29
|
+
import"./chunks/filesystem-wd87259q.js";
|
|
30
|
+
import"./chunks/filesystem-cf4snx6d.js";
|
|
31
|
+
import"./chunks/filesystem-w3wsvvr9.js";
|
|
32
|
+
import"./chunks/filesystem-emrn6kk6.js";
|
|
33
|
+
import"./chunks/filesystem-tyts7tda.js";
|
|
34
|
+
import"./chunks/filesystem-359p4xyc.js";
|
|
35
|
+
import"./chunks/filesystem-j2ntwpah.js";
|
|
36
|
+
import"./chunks/filesystem-bkyjaxrp.js";
|
|
22
37
|
import"./chunks/filesystem-jr7sbwjy.js";
|
|
38
|
+
import"./chunks/filesystem-njntx4h6.js";
|
|
39
|
+
import"./chunks/filesystem-jzg6c2d5.js";
|
|
40
|
+
import"./chunks/filesystem-2c3vjs8z.js";
|
|
41
|
+
import"./chunks/filesystem-9a4afbnw.js";
|
|
42
|
+
import"./chunks/filesystem-hk9envan.js";
|
|
43
|
+
import"./chunks/filesystem-df08tz66.js";
|
|
44
|
+
import"./chunks/filesystem-qrg20bc0.js";
|
|
23
45
|
import"./chunks/filesystem-84wd9syh.js";
|
|
46
|
+
import"./chunks/filesystem-n3j8tn72.js";
|
|
47
|
+
import"./chunks/filesystem-y8f7s663.js";
|
|
48
|
+
import"./chunks/filesystem-a6k6eb26.js";
|
|
24
49
|
import"./chunks/filesystem-n05xt0ee.js";
|
|
25
|
-
import"./chunks/filesystem-
|
|
26
|
-
import"./chunks/filesystem-
|
|
27
|
-
import"./chunks/filesystem-
|
|
28
|
-
import"./chunks/filesystem-
|
|
29
|
-
import"./chunks/filesystem-4knz6hnm.js";
|
|
30
|
-
import"./chunks/filesystem-43n2bw4t.js";
|
|
31
|
-
import"./chunks/filesystem-wtztk69x.js";
|
|
32
|
-
import"./chunks/filesystem-1cnp2v09.js";
|
|
50
|
+
import"./chunks/filesystem-rcb2kzg1.js";
|
|
51
|
+
import"./chunks/filesystem-mp448xyj.js";
|
|
52
|
+
import"./chunks/filesystem-m18g726c.js";
|
|
53
|
+
import"./chunks/filesystem-ygaqb7jw.js";
|
|
33
54
|
import"./chunks/filesystem-d9fn303g.js";
|
|
55
|
+
import"./chunks/filesystem-1cnp2v09.js";
|
|
34
56
|
import"./chunks/filesystem-e5kj55wp.js";
|
|
35
|
-
import"./chunks/filesystem-
|
|
57
|
+
import"./chunks/filesystem-q74kybfr.js";
|
|
58
|
+
import"./chunks/filesystem-7akdwqpd.js";
|
|
59
|
+
import"./chunks/filesystem-sdp7kfr6.js";
|
|
60
|
+
import"./chunks/filesystem-8n3pysct.js";
|
|
61
|
+
import"./chunks/filesystem-wer8tq1h.js";
|
|
36
62
|
import"./chunks/filesystem-7m9af43g.js";
|
|
37
|
-
import"./chunks/filesystem-
|
|
38
|
-
import"./chunks/filesystem-
|
|
39
|
-
import"./chunks/filesystem-
|
|
40
|
-
import"./chunks/filesystem-
|
|
41
|
-
import"./chunks/filesystem-jzg6c2d5.js";
|
|
42
|
-
import"./chunks/filesystem-53557ph1.js";
|
|
43
|
-
import"./chunks/filesystem-9a4afbnw.js";
|
|
44
|
-
import"./chunks/filesystem-mp448xyj.js";
|
|
63
|
+
import"./chunks/filesystem-ssg3fenm.js";
|
|
64
|
+
import"./chunks/filesystem-f6n9ztr4.js";
|
|
65
|
+
import"./chunks/filesystem-wtztk69x.js";
|
|
66
|
+
import"./chunks/filesystem-43n2bw4t.js";
|
|
45
67
|
import"./chunks/filesystem-d9jj8t3e.js";
|
|
46
|
-
import"./chunks/filesystem-
|
|
47
|
-
import"./chunks/filesystem-
|
|
68
|
+
import"./chunks/filesystem-fd410y7t.js";
|
|
69
|
+
import"./chunks/filesystem-4knz6hnm.js";
|
|
48
70
|
import"./chunks/filesystem-msx8hqn2.js";
|
|
71
|
+
import"./chunks/filesystem-q3sfg36h.js";
|
|
72
|
+
import"./chunks/filesystem-w803qqfp.js";
|
|
49
73
|
import"./chunks/filesystem-jwfs4k6c.js";
|
|
50
|
-
import"./chunks/filesystem-
|
|
51
|
-
import"./chunks/filesystem-m18g726c.js";
|
|
74
|
+
import"./chunks/filesystem-qb87gjwd.js";
|
|
52
75
|
import"./chunks/filesystem-17cy0kzp.js";
|
|
53
|
-
import"./chunks/filesystem-
|
|
54
|
-
import"./chunks/filesystem-n3j8tn72.js";
|
|
55
|
-
import"./chunks/filesystem-f6n9ztr4.js";
|
|
56
|
-
import"./chunks/filesystem-q3sfg36h.js";
|
|
57
|
-
import"./chunks/filesystem-2c3vjs8z.js";
|
|
76
|
+
import"./chunks/filesystem-atq7p7m5.js";
|
|
58
77
|
import"./chunks/filesystem-8wj87zfr.js";
|
|
59
|
-
import"./chunks/filesystem-wer8tq1h.js";
|
|
60
78
|
import"./chunks/filesystem-z9919s4g.js";
|
|
61
|
-
import"./chunks/filesystem-
|
|
62
|
-
import"./chunks/filesystem-
|
|
79
|
+
import"./chunks/filesystem-cvy3z8tj.js";
|
|
80
|
+
import"./chunks/filesystem-53557ph1.js";
|
|
63
81
|
import"./chunks/filesystem-g86h250q.js";
|
|
64
|
-
import"./chunks/filesystem-
|
|
65
|
-
import"./chunks/filesystem-
|
|
66
|
-
import"./chunks/filesystem-bkyjaxrp.js";
|
|
67
|
-
import"./chunks/filesystem-ssg3fenm.js";
|
|
68
|
-
import"./chunks/filesystem-sdp7kfr6.js";
|
|
69
|
-
import"./chunks/filesystem-hk9envan.js";
|
|
70
|
-
import"./chunks/filesystem-0zkw76rk.js";
|
|
71
|
-
import"./chunks/filesystem-d6jv500s.js";
|
|
72
|
-
import"./chunks/filesystem-gacw69ge.js";
|
|
73
|
-
import"./chunks/filesystem-e850ppb0.js";
|
|
74
|
-
import"./chunks/filesystem-t63kk2n9.js";
|
|
75
|
-
import"./chunks/filesystem-nnbqx04f.js";
|
|
76
|
-
import"./chunks/filesystem-w3wsvvr9.js";
|
|
77
|
-
import"./chunks/filesystem-822emrt2.js";
|
|
78
|
-
import"./chunks/filesystem-f0mxakyp.js";
|
|
79
|
-
import"./chunks/filesystem-cf4snx6d.js";
|
|
80
|
-
import"./chunks/filesystem-7bmhse3q.js";
|
|
81
|
-
import"./chunks/filesystem-m9w0rfyh.js";
|
|
82
|
-
import"./chunks/filesystem-wd87259q.js";
|
|
83
|
-
import"./chunks/filesystem-emrn6kk6.js";
|
|
82
|
+
import"./chunks/filesystem-bmr6ed5q.js";
|
|
83
|
+
import"./chunks/filesystem-aqzs7mqg.js";
|
|
84
84
|
export {
|
|
85
85
|
exports_bus as Bus,
|
|
86
86
|
InvalidDurableEventError2 as InvalidDurableEventError,
|
|
@@ -3,22 +3,22 @@ import {
|
|
|
3
3
|
} from "./filesystem-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./filesystem-
|
|
6
|
+
} from "./filesystem-bmr56wjg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./filesystem-
|
|
8
|
+
Info10
|
|
9
|
+
} from "./filesystem-bfegkxfd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./filesystem-
|
|
11
|
+
Info7
|
|
12
|
+
} from "./filesystem-8rqycdgd.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./filesystem-
|
|
14
|
+
Info9
|
|
15
|
+
} from "./filesystem-w39jehkq.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./filesystem-
|
|
18
|
+
} from "./filesystem-2k8khapm.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./filesystem-
|
|
20
|
+
Info8
|
|
21
|
+
} from "./filesystem-bx0gyb4h.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
migrateMcp2,
|
|
28
28
|
migrateProvider2,
|
|
29
29
|
providerID2
|
|
30
|
-
} from "./filesystem-
|
|
30
|
+
} from "./filesystem-p3m2ynk3.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
33
|
} from "./filesystem-9rqn6x4v.js";
|
|
@@ -97,12 +97,12 @@ function normalize2(input) {
|
|
|
97
97
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
98
98
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
99
99
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
100
|
-
const legacyCommands = decodeMap(input.command,
|
|
100
|
+
const legacyCommands = decodeMap(input.command, Info7, ["command"], diagnostics, decodeValue);
|
|
101
101
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
102
102
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
103
103
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
104
104
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
105
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
105
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info10, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
106
106
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
107
107
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
108
108
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -116,7 +116,7 @@ function normalize2(input) {
|
|
|
116
116
|
model: migratedSmallModel,
|
|
117
117
|
...legacyAgents.title
|
|
118
118
|
};
|
|
119
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
119
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info10, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
120
120
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
121
121
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
122
122
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -217,7 +217,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
217
217
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
218
218
|
return;
|
|
219
219
|
}
|
|
220
|
-
const server = decodeValue(
|
|
220
|
+
const server = decodeValue(Info9, value, path, diagnostics);
|
|
221
221
|
if (server !== undefined)
|
|
222
222
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
223
223
|
});
|
|
@@ -413,7 +413,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
413
413
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
414
414
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
415
415
|
return [];
|
|
416
|
-
const provider = decodeValue(
|
|
416
|
+
const provider = decodeValue(Info8, raw, path, diagnostics);
|
|
417
417
|
if (provider === undefined)
|
|
418
418
|
return [];
|
|
419
419
|
const destination = providerID2(name);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./filesystem-
|
|
4
|
+
} from "./filesystem-53rak1ew.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
make20,
|
|
@@ -15,18 +15,18 @@ import {
|
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service30,
|
|
19
|
+
node: () => node34
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service30 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
28
|
const location = yield* Service81;
|
|
29
|
-
return
|
|
29
|
+
return Service30.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
31
|
make20({
|
|
32
32
|
key: Key3.make("core/date"),
|
|
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
60
60
|
]))
|
|
61
61
|
});
|
|
62
62
|
}));
|
|
63
|
-
var
|
|
63
|
+
var node34 = makeLocationNode({ service: Service30, layer, deps: [Global.node, node85] });
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service30, node34, exports_builtins };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./filesystem-
|
|
3
|
+
} from "./filesystem-53rak1ew.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./filesystem-
|
|
5
|
+
Service73
|
|
6
|
+
} from "./filesystem-faat08va.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service16,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./filesystem-
|
|
11
|
+
} from "./filesystem-ws0htp7c.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./filesystem-
|
|
13
|
+
Service76
|
|
14
|
+
} from "./filesystem-z7d7tagb.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./filesystem-
|
|
16
|
+
Service59
|
|
17
|
+
} from "./filesystem-q0zsatc3.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service18,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./filesystem-
|
|
21
|
+
} from "./filesystem-rb70syh1.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
24
|
} from "./filesystem-6prwharc.js";
|
|
@@ -30,17 +30,17 @@ import {
|
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input5,
|
|
34
|
+
Output: () => Output4,
|
|
35
|
+
Plugin: () => Plugin23,
|
|
36
|
+
name: () => name5
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name5 = "edit";
|
|
43
|
+
var Input5 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input9 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output4 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,108 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var lineEnding = (text, fallback) => {
|
|
107
|
+
const crlfCount = text.split(crlf).length - 1;
|
|
108
|
+
const lfCount = text.split(`
|
|
109
|
+
`).length - 1 - crlfCount;
|
|
110
|
+
if (crlfCount === lfCount)
|
|
111
|
+
return fallback;
|
|
112
|
+
return crlfCount > lfCount ? crlf : `
|
|
113
|
+
`;
|
|
114
|
+
};
|
|
115
|
+
var withRegionEndings = (region, replacement, fallback) => {
|
|
116
|
+
const before = region.split(/\r?\n/);
|
|
117
|
+
const endings = [...region.matchAll(/\r?\n/g)].map((match) => match[0]);
|
|
118
|
+
const after = replacement.split(`
|
|
119
|
+
`);
|
|
120
|
+
const key = (line) => normalizeForMatch(line.trimEnd());
|
|
121
|
+
const source = alignLines(before.map(key), after.map(key));
|
|
122
|
+
return after.map((line, index) => index === after.length - 1 ? line : line + (endings[source[index]] ?? fallback)).join("");
|
|
123
|
+
};
|
|
124
|
+
var alignLines = (before, after) => {
|
|
125
|
+
const width = after.length + 1;
|
|
126
|
+
const table = new Uint32Array((before.length + 1) * width);
|
|
127
|
+
for (let i = before.length - 1;i >= 0; i--)
|
|
128
|
+
for (let j = after.length - 1;j >= 0; j--)
|
|
129
|
+
table[i * width + j] = before[i] === after[j] ? table[(i + 1) * width + j + 1] + 1 : Math.max(table[(i + 1) * width + j], table[i * width + j + 1]);
|
|
130
|
+
const result = [];
|
|
131
|
+
const gap = { before: [], after: [] };
|
|
132
|
+
const flush = () => {
|
|
133
|
+
gap.after.forEach((j, k) => result[j] = gap.before[k]);
|
|
134
|
+
gap.before = [];
|
|
135
|
+
gap.after = [];
|
|
136
|
+
};
|
|
137
|
+
let i = 0;
|
|
138
|
+
let j = 0;
|
|
139
|
+
while (i < before.length && j < after.length) {
|
|
140
|
+
if (before[i] === after[j]) {
|
|
141
|
+
flush();
|
|
142
|
+
result[j++] = i++;
|
|
143
|
+
continue;
|
|
144
|
+
}
|
|
145
|
+
if (table[(i + 1) * width + j] >= table[i * width + j + 1])
|
|
146
|
+
gap.before.push(i++);
|
|
147
|
+
else
|
|
148
|
+
gap.after.push(j++);
|
|
149
|
+
}
|
|
150
|
+
while (i < before.length)
|
|
151
|
+
gap.before.push(i++);
|
|
152
|
+
while (j < after.length)
|
|
153
|
+
gap.after.push(j++);
|
|
154
|
+
flush();
|
|
155
|
+
return result;
|
|
156
|
+
};
|
|
157
|
+
var matchView = (source, oldString, newString) => {
|
|
158
|
+
const view = source.replaceAll(crlf, `
|
|
159
|
+
`);
|
|
160
|
+
const removed = [...source.matchAll(/\r\n/g)].map((match, index) => match.index - index);
|
|
161
|
+
const fileEnding = lineEnding(source, `
|
|
162
|
+
`);
|
|
163
|
+
const search = oldString.replaceAll(crlf, `
|
|
164
|
+
`);
|
|
165
|
+
const replacement = newString.replaceAll(crlf, `
|
|
166
|
+
`);
|
|
167
|
+
const exact = findOccurrences(view, search);
|
|
168
|
+
const unicode = exact.length > 0 ? [] : findOccurrences(normalizeForMatch(view), normalizeForMatch(search));
|
|
169
|
+
const trailing = exact.length > 0 || unicode.length > 0 ? [] : findLineOccurrences(view, search);
|
|
170
|
+
return {
|
|
171
|
+
matches: (exact.length > 0 ? exact : unicode.length > 0 ? unicode : trailing).map((match) => ({
|
|
172
|
+
start: match.start + countBefore(removed, match.start),
|
|
173
|
+
end: match.end + countBefore(removed, match.end)
|
|
174
|
+
})),
|
|
175
|
+
replace: (match) => {
|
|
176
|
+
const region = source.slice(match.start, match.end);
|
|
177
|
+
return withRegionEndings(region, replacement, lineEnding(region, fileEnding));
|
|
178
|
+
}
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
var countBefore = (positions, offset) => {
|
|
182
|
+
let low = 0;
|
|
183
|
+
let high = positions.length;
|
|
184
|
+
while (low < high) {
|
|
185
|
+
const middle = low + high >> 1;
|
|
186
|
+
if (positions[middle] < offset)
|
|
187
|
+
low = middle + 1;
|
|
188
|
+
else
|
|
189
|
+
high = middle;
|
|
190
|
+
}
|
|
191
|
+
return low;
|
|
192
|
+
};
|
|
193
|
+
var Plugin23 = {
|
|
107
194
|
id: "opencode.tool.edit",
|
|
108
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
196
|
+
const access = yield* Service18;
|
|
197
|
+
const fileMutation = yield* Service16;
|
|
198
|
+
const environment = yield* Service73;
|
|
199
|
+
const formatter = yield* Service76;
|
|
113
200
|
const location = yield* Service81;
|
|
114
|
-
const permission = yield*
|
|
201
|
+
const permission = yield* Service59;
|
|
115
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
203
|
+
name: name5,
|
|
117
204
|
options: { codemode: false, permission: "edit" },
|
|
118
|
-
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
205
|
+
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
+
input: Input5,
|
|
207
|
+
output: Output4,
|
|
121
208
|
execute: (input, context) => {
|
|
122
209
|
return Effect.gen(function* () {
|
|
123
210
|
const permissionSource = {
|
|
@@ -139,20 +226,10 @@ var Plugin9 = {
|
|
|
139
226
|
yield* access.authorizeExternal([target], context);
|
|
140
227
|
const original = yield* readText2(environment.files, target.absolute).pipe(Effect.catchTag("Environment.NotFound", () => Effect.fail(new ToolFailure({ message: `File not found: ${input.path}` }))), Effect.catchTag("Environment.WrongKind", (error) => error.actual === "directory" ? Effect.fail(new ToolFailure({ message: `Path is a directory, not a file: ${input.path}` })) : Effect.fail(new ToolFailure({ message: `Unable to edit ${input.path}`, error }))));
|
|
141
228
|
const source = original.text;
|
|
142
|
-
const
|
|
143
|
-
|
|
144
|
-
const oldString = input.oldString.replaceAll(crlf, `
|
|
145
|
-
`).replaceAll(`
|
|
146
|
-
`, ending);
|
|
147
|
-
const newString = input.newString.replaceAll(crlf, `
|
|
148
|
-
`).replaceAll(`
|
|
149
|
-
`, ending);
|
|
150
|
-
const exact = findOccurrences(source, oldString);
|
|
151
|
-
const unicode = exact.length > 0 ? [] : findOccurrences(normalizeForMatch(source), normalizeForMatch(oldString));
|
|
152
|
-
const trailing = exact.length > 0 || unicode.length > 0 ? [] : findLineOccurrences(source, oldString);
|
|
153
|
-
const matches = exact.length > 0 ? exact : unicode.length > 0 ? unicode : trailing;
|
|
229
|
+
const endingsOnly = input.oldString.replaceAll("\r", "") === input.newString.replaceAll("\r", "");
|
|
230
|
+
const { matches, replace } = endingsOnly ? { matches: findOccurrences(source, input.oldString), replace: () => input.newString } : matchView(source, input.oldString, input.newString);
|
|
154
231
|
const replacements = matches.length;
|
|
155
|
-
const replaced = (input.replaceAll === true ? matches : matches.slice(0, 1)).toReversed().reduce((content, match) => `${content.slice(0, match.start)}${
|
|
232
|
+
const replaced = (input.replaceAll === true ? matches : matches.slice(0, 1)).toReversed().reduce((content, match) => `${content.slice(0, match.start)}${replace(match)}${content.slice(match.end)}`, source);
|
|
156
233
|
const preview = replacements > 0 && (replacements === 1 || input.replaceAll === true) ? fileDiff2(target.resource, source, replaced) : undefined;
|
|
157
234
|
yield* permission.assert({
|
|
158
235
|
action: "edit",
|
|
@@ -173,6 +250,11 @@ var Plugin9 = {
|
|
|
173
250
|
message: `Found ${replacements} matches for oldString, but expected exactly one. Add more surrounding context to make oldString unique, or set replaceAll to true to replace every occurrence.`
|
|
174
251
|
});
|
|
175
252
|
}
|
|
253
|
+
if (replaced === source) {
|
|
254
|
+
return yield* new ToolFailure({
|
|
255
|
+
message: endingsOnly ? `No changes to apply: ${input.path} already has those line endings.` : `No changes to apply: the edit leaves ${input.path} unchanged. Line endings follow the file; to change them, write \\r explicitly in oldString or newString.`
|
|
256
|
+
});
|
|
257
|
+
}
|
|
176
258
|
const replacementBom = replaced.startsWith("\uFEFF");
|
|
177
259
|
const result = yield* fileMutation.write({
|
|
178
260
|
target,
|
|
@@ -194,4 +276,4 @@ var Plugin9 = {
|
|
|
194
276
|
})
|
|
195
277
|
};
|
|
196
278
|
|
|
197
|
-
export {
|
|
279
|
+
export { name5, Input5, Output4, Plugin23, exports_edit };
|