@opencode/core 0.0.0-dev-21097 → 0.0.0-dev-21099
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{filesystem-pwj5rdcd.js → instance-02pcd3mv.js} +11 -11
- package/dist/chunks/{filesystem-vv3y69gp.js → instance-07hrmx0v.js} +14 -14
- package/dist/chunks/{filesystem-b674v2dg.js → instance-0bwnrbmb.js} +5 -5
- package/dist/chunks/{filesystem-hejvtsvz.js → instance-0c75tskb.js} +25 -25
- package/dist/chunks/{filesystem-xchnq1rw.js → instance-0e0cfdnf.js} +21 -21
- package/dist/chunks/{filesystem-h1fzt65m.js → instance-0eygq2qe.js} +23 -23
- package/dist/chunks/{filesystem-0vbcp93d.js → instance-0vbcp93d.js} +2 -2
- package/dist/chunks/{filesystem-w27sj3yr.js → instance-127bf6n0.js} +11 -11
- package/dist/chunks/{filesystem-yp2x3t23.js → instance-1acjjqhc.js} +4 -4
- package/dist/chunks/{filesystem-s23t0sgf.js → instance-1gbawmnh.js} +14 -14
- package/dist/chunks/{filesystem-jng0nqkb.js → instance-1n700na1.js} +8 -8
- package/dist/chunks/{filesystem-bnh99ys5.js → instance-1p0bnafd.js} +28 -28
- package/dist/chunks/{filesystem-0vgd89nm.js → instance-1shb4axq.js} +187 -187
- package/dist/chunks/{filesystem-vbfgae2j.js → instance-1y283654.js} +4 -4
- package/dist/chunks/{filesystem-3y4449r3.js → instance-2305ynaa.js} +11 -11
- package/dist/chunks/{filesystem-cccqwvbx.js → instance-232m6n2g.js} +20 -20
- package/dist/chunks/{filesystem-9b8xs5my.js → instance-23c51vh1.js} +25 -25
- package/dist/chunks/{filesystem-2sqqht4f.js → instance-25epb70h.js} +14 -14
- package/dist/chunks/{filesystem-p27m0357.js → instance-267rdfpx.js} +26 -26
- package/dist/chunks/{filesystem-wb3rjyn9.js → instance-29mjmzb9.js} +11 -11
- package/dist/chunks/{filesystem-rsbgpcf1.js → instance-2bry28ra.js} +13 -13
- package/dist/chunks/{filesystem-qrrhb8ky.js → instance-2m563psq.js} +15 -15
- package/dist/chunks/{filesystem-1zc40608.js → instance-2s5awdyv.js} +22 -22
- package/dist/chunks/{filesystem-7vfecp73.js → instance-2zj16vbw.js} +6 -6
- package/dist/chunks/{filesystem-0jnpagrx.js → instance-34mtkh67.js} +14 -14
- package/dist/chunks/{filesystem-80450aj3.js → instance-3bzv9pys.js} +38 -38
- package/dist/chunks/{filesystem-07t7mezg.js → instance-3ctrce4h.js} +9 -9
- package/dist/chunks/{filesystem-3fc6dm20.js → instance-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-krmw70tg.js → instance-3ge2q0gs.js} +11 -11
- package/dist/chunks/{filesystem-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-3hwn7j4h.js → instance-3hwn7j4h.js} +2 -2
- package/dist/chunks/{filesystem-3smtnn6g.js → instance-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-3tvqynh2.js → instance-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-3zsf4n22.js → instance-3zsf4n22.js} +1 -1
- package/dist/chunks/{filesystem-hvgxnq90.js → instance-40xykbd8.js} +31 -31
- package/dist/chunks/{filesystem-p6am81vq.js → instance-46zqej79.js} +4 -4
- package/dist/chunks/{filesystem-p0zp6289.js → instance-4fzef2sb.js} +11 -11
- package/dist/chunks/{filesystem-30d532ky.js → instance-4ve67wsf.js} +21 -21
- package/dist/chunks/{filesystem-h233cewe.js → instance-4x940bbd.js} +29 -29
- package/dist/chunks/{filesystem-etjpps74.js → instance-52fm113n.js} +5 -5
- package/dist/chunks/{filesystem-54ma36ye.js → instance-54ma36ye.js} +1 -1
- package/dist/chunks/{filesystem-pxp5dr2j.js → instance-59ghbda3.js} +17 -17
- package/dist/chunks/{filesystem-asnhnvp7.js → instance-5am97tkc.js} +32 -32
- package/dist/chunks/{filesystem-rrzb2chc.js → instance-5b7hgm3k.js} +23 -23
- package/dist/chunks/{filesystem-8ykay6nk.js → instance-5g4y1a69.js} +61 -61
- package/dist/chunks/{filesystem-2ktf0ed2.js → instance-5gzjtbzb.js} +8 -8
- package/dist/chunks/{filesystem-6ts2tav8.js → instance-5j7y2f2r.js} +32 -32
- package/dist/chunks/{filesystem-5m9w47nd.js → instance-5m9w47nd.js} +1 -1
- package/dist/chunks/{filesystem-n0w3kzrq.js → instance-5pgk4d1b.js} +24 -24
- package/dist/chunks/{filesystem-nma959mg.js → instance-5rzwp8tz.js} +3 -3
- package/dist/chunks/{filesystem-jws6fkes.js → instance-6pc27hjz.js} +4 -4
- package/dist/chunks/{filesystem-x5wezabh.js → instance-6ppq11ms.js} +9 -9
- package/dist/chunks/{filesystem-46aw7twt.js → instance-6w35fctz.js} +22 -22
- package/dist/chunks/{filesystem-6xb47vfp.js → instance-6xb47vfp.js} +1 -1
- package/dist/chunks/{filesystem-qsm41c2f.js → instance-6xmgmz7x.js} +15 -15
- package/dist/chunks/{filesystem-2ep0sb47.js → instance-6zpgyj16.js} +57 -57
- package/dist/chunks/{filesystem-k8fcjj7a.js → instance-71sd8a42.js} +1 -1
- package/dist/chunks/{filesystem-775gj3j1.js → instance-775gj3j1.js} +2 -2
- package/dist/chunks/{filesystem-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-snhtq5rh.js → instance-7k4az683.js} +34 -34
- package/dist/chunks/{filesystem-02vvp44e.js → instance-7mfsncfk.js} +18 -18
- package/dist/chunks/{filesystem-07tryz20.js → instance-7vmctcp2.js} +43 -43
- package/dist/chunks/{filesystem-g6j9qx6r.js → instance-824gn3ys.js} +119 -100
- package/dist/chunks/{filesystem-w1eejvng.js → instance-84txncab.js} +5 -5
- package/dist/chunks/{filesystem-xv8zrgj9.js → instance-85fw9maw.js} +21 -21
- package/dist/chunks/{filesystem-zpfff07x.js → instance-8985b1a6.js} +4 -4
- package/dist/chunks/{filesystem-89znhe33.js → instance-89znhe33.js} +1 -1
- package/dist/chunks/{filesystem-z3q6x25t.js → instance-8b37ym5m.js} +10 -10
- package/dist/chunks/{filesystem-587x5jpz.js → instance-8h479pk7.js} +4 -4
- package/dist/chunks/{filesystem-8m6m0r52.js → instance-8m6m0r52.js} +1 -1
- package/dist/chunks/{filesystem-f59v3rfb.js → instance-8m84705y.js} +5 -5
- package/dist/chunks/{filesystem-7m1c1jsp.js → instance-8qw7pxzt.js} +33 -33
- package/dist/chunks/{filesystem-9hn6k4tm.js → instance-8v6pyhej.js} +8 -8
- package/dist/chunks/{filesystem-91qna3x0.js → instance-91qna3x0.js} +3 -3
- package/dist/chunks/{filesystem-xg2nbbpt.js → instance-95z6fv9b.js} +15 -15
- package/dist/chunks/{filesystem-w631yebr.js → instance-9a1k9g3n.js} +24 -24
- package/dist/chunks/{filesystem-4etmdyck.js → instance-9kfxcdfw.js} +2 -2
- package/dist/chunks/{filesystem-y4n9nk6t.js → instance-9sh20y9v.js} +13 -13
- package/dist/chunks/{filesystem-hs93bp8x.js → instance-9w7n7shh.js} +13 -13
- package/dist/chunks/{filesystem-r8e07nrn.js → instance-a0z514k5.js} +18 -18
- package/dist/chunks/{filesystem-e784kar7.js → instance-aaex48tb.js} +6 -6
- package/dist/chunks/{filesystem-p7fhmwf4.js → instance-acq6b9fv.js} +24 -24
- package/dist/chunks/{filesystem-gervhfxb.js → instance-ahkz17h5.js} +10 -10
- package/dist/chunks/{filesystem-vnm30m0d.js → instance-ajmv5nbv.js} +33 -33
- package/dist/chunks/{filesystem-ftdzjz2b.js → instance-aqb881vk.js} +8 -8
- package/dist/chunks/{filesystem-08a66mj2.js → instance-at0ccb8d.js} +32 -32
- package/dist/chunks/{filesystem-h6160avj.js → instance-atx9zh8t.js} +14 -14
- package/dist/chunks/{filesystem-r9w3djhf.js → instance-b0dgvpy7.js} +9 -9
- package/dist/chunks/{filesystem-gar365x9.js → instance-b1858sz3.js} +32 -32
- package/dist/chunks/{filesystem-0wcknnjt.js → instance-bbv3mhz8.js} +29 -29
- package/dist/chunks/{filesystem-xw0n9vxc.js → instance-bmcm4fj6.js} +8 -8
- package/dist/chunks/{filesystem-n448072v.js → instance-brjqm64a.js} +16 -16
- package/dist/chunks/{filesystem-fcea241w.js → instance-bt3c5eex.js} +19 -19
- package/dist/chunks/{filesystem-es1vcfrp.js → instance-c1fqxshp.js} +3 -3
- package/dist/chunks/{filesystem-1as1zqq3.js → instance-c2daa5vw.js} +32 -32
- package/dist/chunks/{filesystem-ss358qx3.js → instance-c2sed5cq.js} +3 -3
- package/dist/chunks/instance-c34z7nbb.js +26 -0
- package/dist/chunks/{filesystem-9bcmbpes.js → instance-c4xjxyca.js} +23 -23
- package/dist/chunks/{filesystem-snsprfj8.js → instance-c6gzrvvf.js} +11 -11
- package/dist/chunks/{filesystem-bfkxme06.js → instance-c7zb5h48.js} +4 -4
- package/dist/chunks/{filesystem-w5mg0pm7.js → instance-cb241p16.js} +36 -36
- package/dist/chunks/{filesystem-whpp4bmr.js → instance-ceagnxsq.js} +17 -17
- package/dist/chunks/{filesystem-kxcagzjw.js → instance-ck1wx2ez.js} +11 -11
- package/dist/chunks/{filesystem-c60ns7m9.js → instance-ckh0gbrw.js} +11 -11
- package/dist/chunks/{filesystem-0gw8y1qr.js → instance-cqxnvb5y.js} +28 -28
- package/dist/chunks/{filesystem-mwb5krxt.js → instance-cxc3bdbf.js} +13 -13
- package/dist/chunks/{filesystem-9vty051d.js → instance-czpwz1rq.js} +4 -4
- package/dist/chunks/{filesystem-6aa49561.js → instance-dg3mjkm1.js} +18 -18
- package/dist/chunks/{filesystem-gmq0q1jy.js → instance-djp2fycw.js} +40 -40
- package/dist/chunks/{filesystem-zzc2rv2c.js → instance-djx1mwnr.js} +33 -33
- package/dist/chunks/{filesystem-psxqp789.js → instance-dkbtan51.js} +17 -17
- package/dist/chunks/{filesystem-dqxsqydv.js → instance-dqxsqydv.js} +1 -1
- package/dist/chunks/{filesystem-qqeeq2t9.js → instance-drwq78ky.js} +7 -7
- package/dist/chunks/{filesystem-4xpgt2w9.js → instance-dssbfrwz.js} +5 -5
- package/dist/chunks/{filesystem-6nh6exr1.js → instance-dy6r3xfz.js} +15 -15
- package/dist/chunks/{filesystem-vgpzwg9s.js → instance-e0x4ttdp.js} +6 -6
- package/dist/chunks/{filesystem-38e2jam4.js → instance-ea04m9va.js} +19 -19
- package/dist/chunks/{filesystem-tc9gbqqd.js → instance-eb7a064p.js} +14 -14
- package/dist/chunks/{filesystem-tnebjsbp.js → instance-ecm3t2qm.js} +7 -7
- package/dist/chunks/{filesystem-4fty74w9.js → instance-ed2af551.js} +32 -32
- package/dist/chunks/{filesystem-eej6y6fw.js → instance-eej6y6fw.js} +2 -2
- package/dist/chunks/{filesystem-ef5x83kb.js → instance-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-kecqjjhm.js → instance-eh6ej367.js} +5 -5
- package/dist/chunks/{filesystem-6f38f3cc.js → instance-end80c8k.js} +6 -6
- package/dist/chunks/{filesystem-ng3918dk.js → instance-es4zr9pq.js} +8 -8
- package/dist/chunks/{filesystem-2k8khapm.js → instance-esafk7q3.js} +5 -5
- package/dist/chunks/{filesystem-gpcre8d6.js → instance-esdpvets.js} +30 -30
- package/dist/chunks/{filesystem-kjazax3b.js → instance-evtefrbt.js} +36 -36
- package/dist/chunks/{filesystem-x0hd6zgn.js → instance-f6v6wbhb.js} +29 -29
- package/dist/chunks/{filesystem-er3z8nt6.js → instance-f719k1b1.js} +11 -11
- package/dist/chunks/{filesystem-7jv8pth4.js → instance-fabmkk17.js} +9 -9
- package/dist/chunks/{filesystem-03h44krc.js → instance-fbyy0mex.js} +16 -16
- package/dist/chunks/{filesystem-jf5sn25e.js → instance-ff6302r3.js} +9 -9
- package/dist/chunks/{filesystem-q9atvw7t.js → instance-fjzmqsy4.js} +19 -19
- package/dist/chunks/{filesystem-d9kkddyy.js → instance-fknhp1f0.js} +15 -15
- package/dist/chunks/{filesystem-cv183kbd.js → instance-fmdneypy.js} +16 -16
- package/dist/chunks/instance-fnen5n8v.js +513 -0
- package/dist/chunks/{filesystem-0937mx8x.js → instance-fp9bakwp.js} +44 -44
- package/dist/chunks/{filesystem-y22x406f.js → instance-fpcv2s7e.js} +9 -9
- package/dist/chunks/{filesystem-8yqpp134.js → instance-fpqpb0jh.js} +38 -38
- package/dist/chunks/{filesystem-ft3hqk2c.js → instance-ft3hqk2c.js} +2 -2
- package/dist/chunks/{filesystem-r1ttj1d9.js → instance-fvwcn869.js} +13 -13
- package/dist/chunks/instance-g2mnarth.js +257 -0
- package/dist/chunks/{filesystem-6qbgvnkf.js → instance-g5yckxe7.js} +18 -18
- package/dist/chunks/{filesystem-zz6ecdv6.js → instance-g6752xp8.js} +45 -45
- package/dist/chunks/{filesystem-xydsqsh2.js → instance-gcnhbd6s.js} +7 -7
- package/dist/chunks/{filesystem-gd4qta3r.js → instance-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-gfxpx5cc.js → instance-ged0btwt.js} +24 -24
- package/dist/chunks/{filesystem-t09p28ev.js → instance-gjj0w8vm.js} +5 -5
- package/dist/chunks/{filesystem-f1tb1czw.js → instance-gp5qrrfc.js} +19 -19
- package/dist/chunks/{filesystem-cmn490qh.js → instance-gr6p6gfz.js} +5 -5
- package/dist/chunks/{filesystem-jmqc0pby.js → instance-gvswa42f.js} +36 -36
- package/dist/chunks/{filesystem-8jd28ff9.js → instance-gwhq7dkj.js} +34 -34
- package/dist/chunks/{filesystem-rnh8gmer.js → instance-h3yj0vvr.js} +3 -3
- package/dist/chunks/{filesystem-h6vf3j39.js → instance-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-31xfzrxg.js → instance-h7s7r6s9.js} +5 -5
- package/dist/chunks/{filesystem-507yxzag.js → instance-h9gkrpkv.js} +23 -23
- package/dist/chunks/{filesystem-hgz4x7wa.js → instance-hgz4x7wa.js} +1 -1
- package/dist/chunks/{filesystem-v9ehyc5m.js → instance-hrqqw0d2.js} +22 -22
- package/dist/chunks/{filesystem-8v19xmhz.js → instance-hzbz069y.js} +10 -10
- package/dist/chunks/{filesystem-9by2vwm0.js → instance-j10209x8.js} +13 -13
- package/dist/chunks/{filesystem-qcbxq7s7.js → instance-jkpzgnzm.js} +22 -22
- package/dist/chunks/{filesystem-2h6st6ba.js → instance-k3zs8mk3.js} +3 -3
- package/dist/chunks/{filesystem-sqefph0y.js → instance-k82gsvwq.js} +12 -12
- package/dist/chunks/{filesystem-wyr73qy8.js → instance-kahtq0rm.js} +89 -89
- package/dist/chunks/{filesystem-2gtamfpm.js → instance-kg1zk48k.js} +47 -47
- package/dist/chunks/{filesystem-khmqacep.js → instance-khmqacep.js} +1 -1
- package/dist/chunks/{filesystem-vnv3p9p5.js → instance-km2r5eqx.js} +9 -9
- package/dist/chunks/{filesystem-k0zqc70v.js → instance-kptkzqz4.js} +9 -9
- package/dist/chunks/{filesystem-pyg4v0b6.js → instance-kqx1b4hy.js} +4 -4
- package/dist/chunks/{filesystem-cd1b78pt.js → instance-kswzf6rg.js} +18 -18
- package/dist/chunks/{filesystem-h1am710r.js → instance-kw4werpp.js} +4 -4
- package/dist/chunks/{filesystem-kwb1v3vj.js → instance-kwb1v3vj.js} +1 -1
- package/dist/chunks/{filesystem-6bd2pqzr.js → instance-m23ar8n0.js} +9 -9
- package/dist/chunks/{filesystem-1aewdh01.js → instance-m4afxs0m.js} +30 -30
- package/dist/chunks/{filesystem-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-maspj1v3.js → instance-maspj1v3.js} +1 -1
- package/dist/chunks/{filesystem-63db42yp.js → instance-mb14aw74.js} +2 -2
- package/dist/chunks/{filesystem-2jsc7m5t.js → instance-mk17ft8p.js} +17 -17
- package/dist/chunks/{filesystem-nqvhkxhf.js → instance-mka49qzg.js} +45 -45
- package/dist/chunks/{filesystem-cabhyt31.js → instance-mm64xe51.js} +45 -45
- package/dist/chunks/{filesystem-8y31xnqm.js → instance-mtrbqqrq.js} +5 -5
- package/dist/chunks/{filesystem-acxvbeq8.js → instance-my9thjhg.js} +28 -28
- package/dist/chunks/{filesystem-knwnc4qv.js → instance-mythxaj4.js} +28 -28
- package/dist/chunks/{filesystem-833djyrt.js → instance-nbqm0g43.js} +9 -9
- package/dist/chunks/{filesystem-yd6d2jvs.js → instance-ne2g8w1g.js} +6 -6
- package/dist/chunks/{filesystem-cqp2d08n.js → instance-nqe267qb.js} +5 -5
- package/dist/chunks/{filesystem-8xnfn94n.js → instance-ntsywmmy.js} +5 -5
- package/dist/chunks/{filesystem-3tpgyx3s.js → instance-nw1564rn.js} +5 -5
- package/dist/chunks/{filesystem-fqhbsnr5.js → instance-nw53exab.js} +8 -8
- package/dist/chunks/{filesystem-3dn5pc9v.js → instance-p5c6qk6w.js} +5 -5
- package/dist/chunks/instance-pf31ssb9.js +18 -0
- package/dist/chunks/{filesystem-bxqk5pf5.js → instance-phz50fbd.js} +9 -9
- package/dist/chunks/{filesystem-pjvnvgmy.js → instance-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → instance-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-7zt5x37y.js → instance-pnzf6mjf.js} +1 -1
- package/dist/chunks/{filesystem-waskdk5r.js → instance-pp79t3cy.js} +4 -4
- package/dist/chunks/{filesystem-7j94k27c.js → instance-ptx7arng.js} +12 -12
- package/dist/chunks/{filesystem-caryx1m1.js → instance-q1r1wbh3.js} +76 -76
- package/dist/chunks/{filesystem-tz4n1mmd.js → instance-q5asdkn4.js} +4 -4
- package/dist/chunks/{filesystem-bztb4x3p.js → instance-q5thtecy.js} +28 -28
- package/dist/chunks/{filesystem-d041t0xd.js → instance-qhtc6pnq.js} +20 -20
- package/dist/chunks/{filesystem-qnc92qwc.js → instance-qnc92qwc.js} +1 -1
- package/dist/chunks/{filesystem-qsdy395h.js → instance-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-qnw0xb2y.js → instance-qyb77jn5.js} +19 -19
- package/dist/chunks/{filesystem-st3966jx.js → instance-r30g5e8x.js} +24 -24
- package/dist/chunks/{filesystem-w4dthrcw.js → instance-r4rakwfx.js} +16 -16
- package/dist/chunks/{filesystem-78t2d834.js → instance-r7x6gt3g.js} +20 -20
- package/dist/chunks/{filesystem-z4axm6qf.js → instance-rbc3hwcr.js} +17 -17
- package/dist/chunks/{filesystem-rdw6cm16.js → instance-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-1gb4vmd8.js → instance-re8xb6b7.js} +23 -23
- package/dist/chunks/{filesystem-tkb22qbm.js → instance-rert0e01.js} +2 -2
- package/dist/chunks/{filesystem-eaj1djv9.js → instance-rhjbct0v.js} +8 -8
- package/dist/chunks/{filesystem-c41wscbt.js → instance-rj3eygr5.js} +2 -2
- package/dist/chunks/{filesystem-4c8xdwe5.js → instance-rmh16r2t.js} +8 -8
- package/dist/chunks/{filesystem-facj0jna.js → instance-rt0r1pkw.js} +46 -46
- package/dist/chunks/{filesystem-t2j1t4km.js → instance-rv4krrex.js} +13 -13
- package/dist/chunks/{filesystem-gat4z9ax.js → instance-ry6831an.js} +9 -9
- package/dist/chunks/{filesystem-kfvqva61.js → instance-rzyeq4f0.js} +20 -20
- package/dist/chunks/{filesystem-mx10gvt2.js → instance-s53t415q.js} +42 -42
- package/dist/chunks/{filesystem-c8ax2afj.js → instance-sa8ekw3f.js} +2 -2
- package/dist/chunks/{filesystem-vwm3tg4g.js → instance-spyvaxrp.js} +24 -24
- package/dist/chunks/{filesystem-rjjgdj0z.js → instance-ssqht3zz.js} +18 -18
- package/dist/chunks/{filesystem-h57ncv5h.js → instance-sxtr224w.js} +50 -50
- package/dist/chunks/{filesystem-syv4x271.js → instance-syv4x271.js} +1 -1
- package/dist/chunks/{filesystem-ztce92cm.js → instance-t3et87n4.js} +11 -11
- package/dist/chunks/{filesystem-ce60aw2j.js → instance-t5xcttng.js} +11 -11
- package/dist/chunks/{filesystem-t2fc4mz5.js → instance-t6vsspdg.js} +7 -7
- package/dist/chunks/{filesystem-nr0ethte.js → instance-tatr8t94.js} +51 -51
- package/dist/chunks/{filesystem-tazgh4e4.js → instance-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-e2b4yt8m.js → instance-tb1y6b1q.js} +3 -3
- package/dist/chunks/{filesystem-tdstcens.js → instance-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-x8paxjda.js → instance-tj808qj3.js} +5 -5
- package/dist/chunks/{filesystem-27tz6dez.js → instance-tjxj6aya.js} +10 -10
- package/dist/chunks/{filesystem-tm0kqsz3.js → instance-tm0kqsz3.js} +1 -1
- package/dist/chunks/{filesystem-jzf8tgw8.js → instance-tqgdrysy.js} +1 -1
- package/dist/chunks/{filesystem-tyytaxap.js → instance-tyytaxap.js} +1 -1
- package/dist/chunks/{filesystem-v0es1rhs.js → instance-v0es1rhs.js} +2 -2
- package/dist/chunks/{filesystem-7df8kt0s.js → instance-v639mppr.js} +32 -32
- package/dist/chunks/{filesystem-v7p4zvkq.js → instance-v7p4zvkq.js} +2 -2
- package/dist/chunks/{filesystem-74m5w1sy.js → instance-vdmrxs2w.js} +13 -13
- package/dist/chunks/{filesystem-veqvce7d.js → instance-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-3xc93c34.js → instance-vtwem28b.js} +32 -32
- package/dist/chunks/{filesystem-p68pcfcq.js → instance-vxawt6an.js} +35 -35
- package/dist/chunks/{filesystem-vvq1tzt4.js → instance-vza8906b.js} +24 -24
- package/dist/chunks/{filesystem-vzs5sf6e.js → instance-vzs5sf6e.js} +1 -1
- package/dist/chunks/{filesystem-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-wd87259q.js → instance-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-5xhg0e0e.js → instance-wfh2jnc0.js} +28 -28
- package/dist/chunks/{filesystem-xbs74qd7.js → instance-wjzp5aeh.js} +25 -25
- package/dist/chunks/{filesystem-5s363vnc.js → instance-x36ftd0t.js} +4 -4
- package/dist/chunks/{filesystem-ymre1dc4.js → instance-x56w00d7.js} +22 -22
- package/dist/chunks/{filesystem-vf9g0jar.js → instance-x5ta20vj.js} +50 -50
- package/dist/chunks/{filesystem-db2wf4at.js → instance-x661k3y3.js} +4 -4
- package/dist/chunks/{filesystem-jcs24wp4.js → instance-xm1fa1s6.js} +25 -25
- package/dist/chunks/{filesystem-57m81f9p.js → instance-xsqk2kv2.js} +35 -35
- package/dist/chunks/{filesystem-y1fvbwt7.js → instance-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-44ak30pa.js → instance-y5rf7nzv.js} +4 -4
- package/dist/chunks/{filesystem-dpkg50ah.js → instance-y71avatq.js} +4 -4
- package/dist/chunks/{filesystem-0et1tp1z.js → instance-y7e6j8a3.js} +8 -8
- package/dist/chunks/{filesystem-419nhwmz.js → instance-y8sbnv07.js} +14 -14
- package/dist/chunks/{filesystem-gw7cjrad.js → instance-yrcj3v3g.js} +4 -4
- package/dist/chunks/{filesystem-gvbfp7vz.js → instance-yv0vqey5.js} +5 -5
- package/dist/chunks/{filesystem-bjx1sjef.js → instance-ywt8jp22.js} +9 -9
- package/dist/chunks/{filesystem-69p1xp33.js → instance-ywyx2haj.js} +17 -17
- package/dist/chunks/{filesystem-5x8621rx.js → instance-z06dqtsc.js} +28 -28
- package/dist/chunks/{filesystem-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-qnjek3yh.js → instance-z5sfynej.js} +4 -4
- package/dist/chunks/{filesystem-71802bng.js → instance-zde058jh.js} +29 -29
- package/dist/chunks/{filesystem-p7a39gy5.js → instance-zdwe30dy.js} +6 -6
- package/dist/chunks/{filesystem-v3dgmss6.js → instance-zhpzfnnm.js} +13 -6
- package/dist/chunks/{filesystem-7hzqa16b.js → instance-zkv9kzbd.js} +8 -8
- package/dist/chunks/{filesystem-zr2ceqn5.js → instance-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-dtncp1ka.js → instance-zx98sy1b.js} +21 -21
- package/dist/chunks/{filesystem-zxq2ej10.js → instance-zxq2ej10.js} +1 -1
- package/dist/chunks/{filesystem-wmx5fypc.js → instance-zyhasg2x.js} +14 -14
- package/dist/chunks/{filesystem-b3f8fkhc.js → instance-zyk1yjk8.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +214 -214
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +358 -358
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +355 -355
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +329 -329
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +214 -214
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +130 -130
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/session/error.d.ts +4 -0
- package/dist/types/session.d.ts +13 -5
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/filesystem-1x11rq2a.js +0 -18
- package/dist/chunks/filesystem-cj4w0vz2.js +0 -26
- package/dist/chunks/filesystem-esv2y23e.js +0 -513
- package/dist/chunks/filesystem-f18w82cy.js +0 -257
- /package/dist/chunks/{filesystem-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → instance-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → instance-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → instance-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → instance-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2bv980vf.js → instance-2bv980vf.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → instance-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → instance-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3t0ybcrp.js → instance-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → instance-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → instance-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → instance-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-5qd3pb7m.js → instance-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → instance-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-6q2bdcd1.js → instance-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → instance-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → instance-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-84wd9syh.js → instance-84wd9syh.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → instance-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → instance-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → instance-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → instance-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → instance-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → instance-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → instance-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → instance-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → instance-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → instance-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → instance-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → instance-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → instance-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → instance-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hcxmzztb.js → instance-hcxmzztb.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → instance-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → instance-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jze0r7bz.js → instance-jze0r7bz.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-m18g726c.js → instance-m18g726c.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → instance-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → instance-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-pkyv6v7h.js → instance-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{filesystem-pyv0edze.js → instance-pyv0edze.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → instance-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → instance-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-ve7vex1e.js → instance-ve7vex1e.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → instance-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → instance-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wjj7prxr.js → instance-wjj7prxr.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → instance-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → instance-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → instance-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → instance-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → instance-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → instance-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → instance-z9919s4g.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service74
|
|
4
|
+
} from "./instance-8qw7pxzt.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service74;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID14.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
@@ -8,17 +8,17 @@ __export(exports_app, {
|
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
10
|
configured: () => configured11,
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
11
|
+
layer: () => layer26,
|
|
12
|
+
make: () => make21,
|
|
13
|
+
node: () => node76,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make21()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make21(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make20(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer:
|
|
33
|
-
var
|
|
31
|
+
var layer26 = (input) => Layer.succeed(Metadata2, make21(input));
|
|
32
|
+
var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer26(input), deps: [] });
|
|
33
|
+
var node76 = configured11();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make21, useragent2, layer26, configured11, node76, exports_app };
|
|
@@ -1,99 +1,99 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AmazonBedrockPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-nw1564rn.js";
|
|
4
4
|
import {
|
|
5
5
|
AzurePlugin2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-kg1zk48k.js";
|
|
7
7
|
import {
|
|
8
8
|
CerebrasPlugin2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-wc3fc9cn.js";
|
|
10
10
|
import {
|
|
11
11
|
ChatGPTPlugin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-re8xb6b7.js";
|
|
13
13
|
import {
|
|
14
14
|
CloudflareAIGatewayPlugin2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-czpwz1rq.js";
|
|
16
16
|
import {
|
|
17
17
|
CloudflareWorkersAIPlugin2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-p5c6qk6w.js";
|
|
19
19
|
import {
|
|
20
20
|
CoherePlugin2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instance-z0bkrqjs.js";
|
|
22
22
|
import {
|
|
23
23
|
DatabricksPlugin2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./instance-wjj7prxr.js";
|
|
25
25
|
import {
|
|
26
26
|
DigitalOceanPlugin2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./instance-dkbtan51.js";
|
|
28
28
|
import {
|
|
29
29
|
DynamicProviderPlugin2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instance-5m9w47nd.js";
|
|
31
31
|
import {
|
|
32
32
|
GithubCopilotPlugin2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./instance-fpqpb0jh.js";
|
|
34
34
|
import {
|
|
35
35
|
GitLabPlugin2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./instance-2s5awdyv.js";
|
|
37
37
|
import {
|
|
38
38
|
GoogleVertexPlugin2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./instance-r7x6gt3g.js";
|
|
40
40
|
import {
|
|
41
41
|
KiloPlugin2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./instance-qg3g05ea.js";
|
|
43
43
|
import {
|
|
44
44
|
LLMGatewayPlugin2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./instance-tj808qj3.js";
|
|
46
46
|
import {
|
|
47
47
|
LMStudioPlugin2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./instance-x36ftd0t.js";
|
|
49
49
|
import {
|
|
50
50
|
ModalPlugin2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./instance-bt3c5eex.js";
|
|
52
52
|
import {
|
|
53
53
|
NeonPlugin2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./instance-ve7vex1e.js";
|
|
55
55
|
import {
|
|
56
56
|
NvidiaPlugin2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./instance-24dcb14g.js";
|
|
58
58
|
import {
|
|
59
59
|
OllamaPlugin2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./instance-8985b1a6.js";
|
|
61
61
|
import {
|
|
62
62
|
OpenAIPlugin3
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./instance-85fw9maw.js";
|
|
64
64
|
import {
|
|
65
65
|
SnowflakeCortexPlugin2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./instance-qyb77jn5.js";
|
|
67
67
|
import {
|
|
68
68
|
OpencodePlugin2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./instance-zde058jh.js";
|
|
70
70
|
import {
|
|
71
71
|
OpenRouterPlugin2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./instance-k3zs8mk3.js";
|
|
73
73
|
import {
|
|
74
74
|
PerplexityPlugin2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./instance-veqvce7d.js";
|
|
76
76
|
import {
|
|
77
77
|
PoePlugin2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./instance-gr6p6gfz.js";
|
|
79
79
|
import {
|
|
80
80
|
PromptCacheKeyPlugin2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./instance-hcxmzztb.js";
|
|
82
82
|
import {
|
|
83
83
|
SapAICorePlugin2
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./instance-ntsywmmy.js";
|
|
85
85
|
import {
|
|
86
86
|
VercelPlugin2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./instance-tqgdrysy.js";
|
|
88
88
|
import {
|
|
89
89
|
VLLMPlugin2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./instance-kw4werpp.js";
|
|
91
91
|
import {
|
|
92
92
|
XAIPlugin2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./instance-2305ynaa.js";
|
|
94
94
|
import {
|
|
95
95
|
ZenmuxPlugin2
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./instance-jjkms2e6.js";
|
|
97
97
|
|
|
98
98
|
// src/plugin/provider.ts
|
|
99
99
|
var ProviderPlugins2 = [
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instance-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instance-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/memory.ts
|
|
11
11
|
var exports_memory = {};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service70,
|
|
3
|
+
node73,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instance-kptkzqz4.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service58,
|
|
8
|
+
node61
|
|
9
|
+
} from "./instance-zdwe30dy.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service64
|
|
12
|
+
} from "./instance-evtefrbt.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-g2mnarth.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service70, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service64);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node61.replace(Layer.succeed(Service58, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node73.replace(Layer.succeed(Service70, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./instance-25epb70h.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service42
|
|
6
|
+
} from "./instance-acq6b9fv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service34,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-9w7n7shh.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service48
|
|
14
|
+
} from "./instance-2m563psq.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service66
|
|
17
|
+
} from "./instance-6zpgyj16.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service33,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instance-a0z514k5.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./instance-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./instance-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
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: () => Input4,
|
|
34
|
+
Output: () => Output3,
|
|
35
|
+
Plugin: () => Plugin4,
|
|
36
|
+
name: () => name4
|
|
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 name4 = "edit";
|
|
43
|
+
var Input4 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input11 = 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 Output3 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
|
|
|
190
190
|
}
|
|
191
191
|
return low;
|
|
192
192
|
};
|
|
193
|
-
var
|
|
193
|
+
var Plugin4 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
|
-
const access = yield*
|
|
197
|
-
const fileMutation = yield*
|
|
198
|
-
const environment = yield*
|
|
199
|
-
const formatter = yield*
|
|
200
|
-
const location = yield*
|
|
201
|
-
const permission = yield*
|
|
196
|
+
const access = yield* Service33;
|
|
197
|
+
const fileMutation = yield* Service34;
|
|
198
|
+
const environment = yield* Service42;
|
|
199
|
+
const formatter = yield* Service48;
|
|
200
|
+
const location = yield* Service79;
|
|
201
|
+
const permission = yield* Service66;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
203
|
+
name: name4,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
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:
|
|
207
|
-
output:
|
|
206
|
+
input: Input4,
|
|
207
|
+
output: Output3,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
210
210
|
const permissionSource = {
|
|
@@ -276,4 +276,4 @@ var Plugin47 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name4, Input4, Output3, Plugin4, exports_edit };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./instance-25epb70h.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service42
|
|
12
|
+
} from "./instance-acq6b9fv.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service41
|
|
16
|
+
} from "./instance-g5yckxe7.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instance-c2daa5vw.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service66
|
|
26
|
+
} from "./instance-6zpgyj16.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service33
|
|
29
|
+
} from "./instance-a0z514k5.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./instance-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input9,
|
|
39
|
+
Output: () => Output6,
|
|
40
|
+
Plugin: () => Plugin10,
|
|
41
|
+
name: () => name9,
|
|
42
|
+
toModelContent: () => toModelContent4
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name9 = "grep";
|
|
48
|
+
var Input9 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input4 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output6 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent4 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent2 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin10 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service42;
|
|
90
|
+
const ripgrep = yield* Service41;
|
|
91
|
+
const location = yield* Service79;
|
|
92
|
+
const access = yield* Service33;
|
|
93
|
+
const permission = yield* Service66;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name9,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input9,
|
|
99
|
+
output: Output6,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name9,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin39 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent4(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin39 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name9, Input9, Output6, toModelContent4, Plugin10, exports_grep };
|