@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,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-tjxj6aya.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin36,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
13
|
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin36 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -77,4 +77,4 @@ var Plugin6 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export { endpoint4,
|
|
80
|
+
export { endpoint4, Plugin36, exports_tavily };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
12
|
-
WebSearchMcp: () =>
|
|
9
|
+
var exports_mcp2 = {};
|
|
10
|
+
__export(exports_mcp2, {
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
|
+
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES3 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES3} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instance-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
17
|
var exports_instructions4 = {};
|
|
18
18
|
__export(exports_instructions4, {
|
|
19
19
|
CodeModeInstructions: () => exports_instructions4,
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
22
|
-
update: () =>
|
|
20
|
+
make: () => make13,
|
|
21
|
+
render: () => render2,
|
|
22
|
+
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
|
|
|
32
32
|
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
33
33
|
|
|
34
34
|
## Available tools`;
|
|
35
|
-
function
|
|
35
|
+
function render2(catalog) {
|
|
36
36
|
if (catalog.total === 0)
|
|
37
37
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
38
38
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -43,10 +43,10 @@ function render3(catalog) {
|
|
|
43
43
|
${tools.join(`
|
|
44
44
|
`)}`;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function update3(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
|
-
${
|
|
49
|
+
${render2(current)}`;
|
|
50
50
|
if (current.total === 0)
|
|
51
51
|
return replacement;
|
|
52
52
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -109,20 +109,20 @@ ${render3(current)}`;
|
|
|
109
109
|
return delta;
|
|
110
110
|
return replacement;
|
|
111
111
|
}
|
|
112
|
-
var key =
|
|
112
|
+
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make13 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make20({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
|
-
initial:
|
|
122
|
-
changed:
|
|
121
|
+
initial: render2,
|
|
122
|
+
changed: update3,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { render2, update3, make13, exports_instructions4 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./instance-fbyy0mex.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-6zpgyj16.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event3,
|
|
21
|
+
ID: () => ID3,
|
|
22
|
+
Info: () => Info4,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service31,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
|
-
available: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
available: () => available2,
|
|
29
|
+
node: () => node34,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,15 +34,15 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event3 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source3 = Skill.Source;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var Info4 = Skill.Info;
|
|
43
|
+
var ID3 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
|
-
var
|
|
45
|
+
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
46
46
|
var toModelOutput3 = (skill, files) => {
|
|
47
47
|
const directory = path.dirname(skill.path);
|
|
48
48
|
return [
|
|
@@ -71,33 +71,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service31 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service82;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
81
81
|
editor: (editor) => ({
|
|
82
82
|
list: () => Array.from(editor.skills.values()),
|
|
83
|
-
get: (id) => editor.skills.get(
|
|
83
|
+
get: (id) => editor.skills.get(ID3.make(id)),
|
|
84
84
|
add: (skill) => {
|
|
85
85
|
editor.skills.set(skill.id, { ...skill });
|
|
86
86
|
},
|
|
87
87
|
update: (id, update) => {
|
|
88
|
-
const current = editor.skills.get(
|
|
88
|
+
const current = editor.skills.get(ID3.make(id));
|
|
89
89
|
if (!current)
|
|
90
90
|
return;
|
|
91
91
|
update(current);
|
|
92
|
-
current.id =
|
|
92
|
+
current.id = ID3.make(id);
|
|
93
93
|
},
|
|
94
94
|
remove: (id) => {
|
|
95
|
-
editor.skills.delete(
|
|
95
|
+
editor.skills.delete(ID3.make(id));
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service31.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node34 = makeLocationNode({
|
|
112
|
+
service: Service31,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node86]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info4, ID3, Name2, available2, toModelOutput3, prepare3, Service31, node34, exports_skill5, Event3 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./instance-acq6b9fv.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service42;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-tjxj6aya.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./instance-fbyy0mex.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./instance-cb241p16.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-x661k3y3.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-8qw7pxzt.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service29
|
|
21
|
+
} from "./instance-ahkz17h5.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./instance-xsqk2kv2.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./instance-gvswa42f.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
resolve4
|
|
33
|
+
} from "./instance-e0x4ttdp.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
ID4,
|
|
36
|
+
Input14,
|
|
37
37
|
Response2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./instance-my9thjhg.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/opencode.ts
|
|
41
41
|
import { Duration, Effect, Equal, Option, Schema, SchemaGetter, Scope, Semaphore, Stream } from "effect";
|
|
@@ -61,7 +61,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
61
61
|
var RemoteResponse = Schema.Struct({
|
|
62
62
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
63
63
|
websearch: Schema.Struct({
|
|
64
|
-
providerID:
|
|
64
|
+
providerID: ID4
|
|
65
65
|
}).pipe(Schema.optional),
|
|
66
66
|
mcp: Schema.Struct({
|
|
67
67
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -112,7 +112,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
112
112
|
}
|
|
113
113
|
function oauth(http) {
|
|
114
114
|
return {
|
|
115
|
-
integrationID:
|
|
115
|
+
integrationID: ID14.make("opencode"),
|
|
116
116
|
method: {
|
|
117
117
|
id: methodID,
|
|
118
118
|
type: "oauth",
|
|
@@ -176,10 +176,10 @@ function oauth(http) {
|
|
|
176
176
|
var OpencodePlugin2 = define({
|
|
177
177
|
id: "opencode.provider.opencode",
|
|
178
178
|
effect: Effect.fn(function* (ctx) {
|
|
179
|
-
const bus = yield*
|
|
179
|
+
const bus = yield* Service82;
|
|
180
180
|
const client = yield* HttpClient.HttpClient;
|
|
181
181
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
182
|
-
const managed = yield*
|
|
182
|
+
const managed = yield* Service29;
|
|
183
183
|
const scope = yield* Scope.Scope;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -231,7 +231,7 @@ var OpencodePlugin2 = define({
|
|
|
231
231
|
providers.update(providerID, (provider) => {
|
|
232
232
|
if (source && source.provider !== provider)
|
|
233
233
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
234
|
-
provider.integrationID =
|
|
234
|
+
provider.integrationID = ID14.make("opencode");
|
|
235
235
|
if (item.canonical !== undefined)
|
|
236
236
|
provider.canonical = item.canonical;
|
|
237
237
|
if (item.name !== undefined)
|
|
@@ -267,7 +267,7 @@ var OpencodePlugin2 = define({
|
|
|
267
267
|
model.limit = { ...model.limit, ...config.limit };
|
|
268
268
|
if (config.capabilities?.reasoning !== undefined)
|
|
269
269
|
model.variants = [
|
|
270
|
-
...
|
|
270
|
+
...resolve4({ ...model, package: model.package ?? providers.get(providerID)?.provider.package }, supports2(config.capabilities.reasoning))
|
|
271
271
|
];
|
|
272
272
|
for (const variant of config.variants ?? []) {
|
|
273
273
|
let existing = model.variants.find((item) => item.id === variant.id);
|
|
@@ -303,7 +303,7 @@ var OpencodePlugin2 = define({
|
|
|
303
303
|
sourceConnection: snapshot.connection
|
|
304
304
|
});
|
|
305
305
|
}
|
|
306
|
-
const item = providers.get(
|
|
306
|
+
const item = providers.get(ID13.opencode);
|
|
307
307
|
if (!item)
|
|
308
308
|
return;
|
|
309
309
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -315,7 +315,7 @@ var OpencodePlugin2 = define({
|
|
|
315
315
|
});
|
|
316
316
|
});
|
|
317
317
|
yield* ctx.model.transform((models) => {
|
|
318
|
-
const item = models.provider.get(
|
|
318
|
+
const item = models.provider.get(ID13.opencode);
|
|
319
319
|
if (!item)
|
|
320
320
|
return;
|
|
321
321
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -349,7 +349,7 @@ var OpencodePlugin2 = define({
|
|
|
349
349
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
350
350
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
351
351
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
352
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
352
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
353
353
|
query: input.query,
|
|
354
354
|
providerID: descriptor.providerID
|
|
355
355
|
}));
|
|
@@ -404,10 +404,10 @@ var OpencodePlugin2 = define({
|
|
|
404
404
|
});
|
|
405
405
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
406
406
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
407
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
407
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
408
408
|
});
|
|
409
409
|
yield* guard(snapshot);
|
|
410
|
-
yield* bus.subscribe(
|
|
410
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
411
411
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
412
412
|
})
|
|
413
413
|
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service58,
|
|
10
|
+
node: () => node61
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service58 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node61 = LayerNode.unbound(Service58, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service58, node61, exports_service2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-c2sed5cq.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error = {};
|
|
@@ -17,9 +17,10 @@ __export(exports_error, {
|
|
|
17
17
|
CompactionConflictError: () => CompactionConflictError2,
|
|
18
18
|
ForkEmptyError: () => ForkEmptyError2,
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
|
+
InvalidListCursorError: () => InvalidListCursorError2,
|
|
20
21
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
22
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError8,
|
|
23
24
|
PromptConflictError: () => PromptConflictError2,
|
|
24
25
|
SessionErrors: () => exports_error,
|
|
25
26
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -31,11 +32,17 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
31
32
|
import { Skill } from "@opencode/schema/skill";
|
|
32
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
33
34
|
|
|
34
|
-
class
|
|
35
|
+
class NotFoundError8 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
35
36
|
sessionID: SessionSchema2.ID
|
|
36
37
|
}) {
|
|
37
38
|
}
|
|
38
39
|
|
|
40
|
+
class InvalidListCursorError2 extends Schema.TaggedError()("Session.InvalidListCursorError", {}) {
|
|
41
|
+
get message() {
|
|
42
|
+
return "Invalid cursor";
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
39
46
|
class MessageNotFoundError2 extends Schema.TaggedError()("Session.MessageNotFoundError", {
|
|
40
47
|
sessionID: SessionSchema2.ID,
|
|
41
48
|
messageID: SessionMessage2.ID
|
|
@@ -116,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
116
123
|
}) {
|
|
117
124
|
}
|
|
118
125
|
|
|
119
|
-
export {
|
|
126
|
+
export { NotFoundError8, InvalidListCursorError2, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-xsqk2kv2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service72
|
|
6
|
+
} from "./instance-gvswa42f.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin49,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -27,10 +27,10 @@ var gateways = new Set([
|
|
|
27
27
|
"@opencode/ai/providers/vercel-ai-gateway",
|
|
28
28
|
aisdk2("@ai-sdk/gateway")
|
|
29
29
|
]);
|
|
30
|
-
var
|
|
30
|
+
var Plugin49 = define({
|
|
31
31
|
id: "opencode.prompt.verbosity",
|
|
32
32
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
33
|
-
const models = yield*
|
|
33
|
+
const models = yield* Service72;
|
|
34
34
|
const hook = (event) => Effect.gen(function* () {
|
|
35
35
|
if (event.options.textVerbosity !== undefined)
|
|
36
36
|
return;
|
|
@@ -70,4 +70,4 @@ function openAIModelID(model) {
|
|
|
70
70
|
return id.slice("openai/".length);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Plugin49, exports_verbosity };
|