@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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service74,
|
|
4
|
+
node78
|
|
5
|
+
} from "./instance-8qw7pxzt.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID13,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service73,
|
|
19
|
+
node77
|
|
20
|
+
} from "./instance-xsqk2kv2.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service60,
|
|
23
|
+
node63
|
|
24
|
+
} from "./instance-4fzef2sb.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID12,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref2,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service72,
|
|
30
|
+
node75,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./instance-gvswa42f.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./instance-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service59,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer24,
|
|
52
|
+
node: () => node62,
|
|
53
53
|
resolveModel: () => resolveModel2,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -59,8 +59,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
59
59
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
60
60
|
import { Npm } from "@opencode/util/npm";
|
|
61
61
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
62
|
-
providerID:
|
|
63
|
-
modelID:
|
|
62
|
+
providerID: ID13,
|
|
63
|
+
modelID: ID12,
|
|
64
64
|
variant: VariantID2
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
@@ -69,8 +69,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
72
|
-
providerID:
|
|
73
|
-
modelID:
|
|
72
|
+
providerID: ID13,
|
|
73
|
+
modelID: ID12,
|
|
74
74
|
package: Schema.String
|
|
75
75
|
}) {
|
|
76
76
|
get message() {
|
|
@@ -80,8 +80,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
80
80
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
81
81
|
|
|
82
82
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
83
|
-
providerID:
|
|
84
|
-
modelID:
|
|
83
|
+
providerID: ID13,
|
|
84
|
+
modelID: ID12,
|
|
85
85
|
package: Schema.String,
|
|
86
86
|
detail: Schema.String
|
|
87
87
|
}) {
|
|
@@ -91,8 +91,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
94
|
-
providerID:
|
|
95
|
-
modelID:
|
|
94
|
+
providerID: ID13,
|
|
95
|
+
modelID: ID12,
|
|
96
96
|
package: Schema.String,
|
|
97
97
|
phase: InitializationPhase2,
|
|
98
98
|
detail: Schema.String
|
|
@@ -103,8 +103,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
106
|
-
providerID:
|
|
107
|
-
modelID:
|
|
106
|
+
providerID: ID13,
|
|
107
|
+
modelID: ID12,
|
|
108
108
|
variables: Schema.Array(Schema.String)
|
|
109
109
|
}) {
|
|
110
110
|
get message() {
|
|
@@ -113,8 +113,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
116
|
-
providerID:
|
|
117
|
-
modelID:
|
|
116
|
+
providerID: ID13,
|
|
117
|
+
modelID: ID12,
|
|
118
118
|
route: Schema.String
|
|
119
119
|
}) {
|
|
120
120
|
get message() {
|
|
@@ -122,7 +122,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
class
|
|
125
|
+
class Service59 extends Context.Service()("@opencode/ModelResolver") {
|
|
126
126
|
}
|
|
127
127
|
var withVariant2 = (model, variantID) => {
|
|
128
128
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -236,7 +236,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
236
236
|
return tokenSettings(specifier, credential.access);
|
|
237
237
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
238
238
|
return { auth: "sigv4" };
|
|
239
|
-
if (model.providerID ===
|
|
239
|
+
if (model.providerID === ID13.azure)
|
|
240
240
|
return tokenSettings(specifier, "azure-cli");
|
|
241
241
|
return {};
|
|
242
242
|
};
|
|
@@ -271,15 +271,15 @@ var causeMessage = (cause) => {
|
|
|
271
271
|
};
|
|
272
272
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
273
273
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
274
|
-
var
|
|
275
|
-
const providers = yield*
|
|
276
|
-
const models = yield*
|
|
277
|
-
const integrations = yield*
|
|
274
|
+
var layer24 = Layer.effect(Service59, Effect.gen(function* () {
|
|
275
|
+
const providers = yield* Service73;
|
|
276
|
+
const models = yield* Service72;
|
|
277
|
+
const integrations = yield* Service74;
|
|
278
278
|
const npm = yield* Npm.Service;
|
|
279
|
-
const aisdk = yield*
|
|
279
|
+
const aisdk = yield* Service60;
|
|
280
280
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
281
281
|
const provider = yield* providers.get(selected.providerID);
|
|
282
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
282
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
|
|
283
283
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
284
284
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
285
285
|
const runtimeInfo = {
|
|
@@ -306,7 +306,7 @@ var layer26 = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
306
306
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
307
307
|
};
|
|
308
308
|
});
|
|
309
|
-
return
|
|
309
|
+
return Service59.of({
|
|
310
310
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
311
311
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
312
312
|
if (!selected)
|
|
@@ -323,10 +323,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
323
323
|
const name = packageName2(packageName);
|
|
324
324
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
325
325
|
}
|
|
326
|
-
var
|
|
327
|
-
service:
|
|
328
|
-
layer:
|
|
329
|
-
deps: [
|
|
326
|
+
var node62 = makeLocationNode({
|
|
327
|
+
service: Service59,
|
|
328
|
+
layer: layer24,
|
|
329
|
+
deps: [node77, node75, node78, Npm.node, node63]
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
332
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service59, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node62, exports_model_resolver };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instance-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-775gj3j1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID14,
|
|
6
|
+
Service74,
|
|
7
|
+
node78
|
|
8
|
+
} from "./instance-8qw7pxzt.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
16
|
InvalidRequestError: () => InvalidRequestError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
17
|
+
Service: () => Service30,
|
|
18
|
+
UnavailableError: () => UnavailableError2,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
|
-
layer: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
layer: () => layer15,
|
|
21
|
+
node: () => node33
|
|
22
22
|
});
|
|
23
23
|
import {
|
|
24
24
|
Realtime
|
|
@@ -31,36 +31,36 @@ class InvalidRequestError2 extends Schema.TaggedError()("Voice.InvalidRequestErr
|
|
|
31
31
|
}) {
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class UnavailableError2 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
35
35
|
message: Schema.String,
|
|
36
36
|
service: Schema.optional(Schema.String)
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service30 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var
|
|
42
|
+
var layer15 = Layer.effect(Service30, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
|
-
const integrations = yield*
|
|
44
|
+
const integrations = yield* Service74;
|
|
45
45
|
const session = Effect.fn("Voice.session")(function* (input) {
|
|
46
46
|
const engine = Realtime.engine(input.model);
|
|
47
47
|
if (!engine)
|
|
48
48
|
return yield* new InvalidRequestError2({ message: `Unsupported voice model: ${input.model}` });
|
|
49
|
-
const connection = (yield* integrations.get(
|
|
50
|
-
const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new
|
|
49
|
+
const connection = (yield* integrations.get(ID14.make(engine.provider)))?.connections.find((item) => item.type === "env" || item.method === "key");
|
|
50
|
+
const credential = connection ? yield* integrations.connection.resolve(connection).pipe(Effect.mapError((error) => new UnavailableError2({ service: engine.provider, message: error.message }))) : undefined;
|
|
51
51
|
if (credential?.type !== "key")
|
|
52
|
-
return yield* new
|
|
52
|
+
return yield* new UnavailableError2({
|
|
53
53
|
service: engine.provider,
|
|
54
54
|
message: engine.provider === "openai" ? "Voice needs an OpenAI API key on the server (a stored key or OPENAI_API_KEY). ChatGPT sign-in can't start voice sessions." : "Voice needs an xAI API key on the server (a stored key or XAI_API_KEY)."
|
|
55
55
|
});
|
|
56
|
-
return yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new
|
|
56
|
+
return yield* Realtime.connect({ ...input, apiKey: Redacted.make(credential.key) }).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: engine.provider })));
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service30.of({ session });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
62
|
-
layer:
|
|
63
|
-
deps: [
|
|
60
|
+
var node33 = makeLocationNode({
|
|
61
|
+
service: Service30,
|
|
62
|
+
layer: layer15,
|
|
63
|
+
deps: [node78, requestExecutor2]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export { InvalidRequestError2,
|
|
66
|
+
export { InvalidRequestError2, UnavailableError2, Service30, layer15, node33, exports_voice };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./instance-25epb70h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
@@ -54,7 +54,7 @@ function stripPreferenceMetadata2(json) {
|
|
|
54
54
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
55
55
|
const fs = yield* FSUtil.Service;
|
|
56
56
|
const global = yield* Global.Service;
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service79;
|
|
58
58
|
const system = (() => {
|
|
59
59
|
if (options?.system === false)
|
|
60
60
|
return;
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service36
|
|
3
|
+
} from "./instance-x56w00d7.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
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
|
+
Service35
|
|
12
|
+
} from "./instance-x5ta20vj.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instance-z06dqtsc.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service9
|
|
20
|
+
} from "./instance-phz50fbd.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instance-ne2g8w1g.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./instance-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
29
|
var exports_skill2 = {};
|
|
30
30
|
__export(exports_skill2, {
|
|
31
31
|
ConfigSkillPlugin: () => exports_skill2,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin16
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin16 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service35;
|
|
43
|
+
const discovery = yield* Service9;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service79;
|
|
47
|
+
const watcher = yield* Service36;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -176,4 +176,4 @@ var Plugin28 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin16, exports_skill2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-cb241p16.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID14,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-8qw7pxzt.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID14.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./instance-fbyy0mex.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instance-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./instance-25epb70h.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service73,
|
|
20
|
+
node77,
|
|
21
|
+
Event16
|
|
22
|
+
} from "./instance-xsqk2kv2.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./instance-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,27 +30,27 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event15,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID12,
|
|
36
|
+
Info: () => Info20,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service72,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
45
|
-
parse: () =>
|
|
44
|
+
node: () => node75,
|
|
45
|
+
parse: () => parse5,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
48
48
|
import { Model } from "@opencode/schema/model";
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
53
|
-
var
|
|
52
|
+
import { Event as Event15 } from "@opencode/schema/model";
|
|
53
|
+
var ID12 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -67,14 +67,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
67
67
|
};
|
|
68
68
|
var Cost2 = Model.Cost;
|
|
69
69
|
var Ref2 = Model.Ref;
|
|
70
|
-
var
|
|
70
|
+
var Info20 = Model.Info;
|
|
71
71
|
|
|
72
|
-
class
|
|
72
|
+
class Service72 extends Context.Service()("@opencode/Model") {
|
|
73
73
|
}
|
|
74
|
-
var layer = Layer.effect(
|
|
75
|
-
const providers = yield*
|
|
76
|
-
const bus = yield*
|
|
77
|
-
const location = yield*
|
|
74
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
75
|
+
const providers = yield* Service73;
|
|
76
|
+
const bus = yield* Service82;
|
|
77
|
+
const location = yield* Service79;
|
|
78
78
|
let input;
|
|
79
79
|
const state = create3({
|
|
80
80
|
name: "model",
|
|
@@ -119,7 +119,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
119
119
|
const models = writable(providerID);
|
|
120
120
|
if (!models)
|
|
121
121
|
return;
|
|
122
|
-
const model = draft(providerID, modelID) ??
|
|
122
|
+
const model = draft(providerID, modelID) ?? Info20.default(providerID, modelID);
|
|
123
123
|
update(model);
|
|
124
124
|
model.id = modelID;
|
|
125
125
|
model.providerID = providerID;
|
|
@@ -209,8 +209,8 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
209
209
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
210
210
|
});
|
|
211
211
|
});
|
|
212
|
-
yield* bus.subscribe(
|
|
213
|
-
return
|
|
212
|
+
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
213
|
+
return Service72.of({
|
|
214
214
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
215
215
|
reload,
|
|
216
216
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -229,7 +229,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
229
229
|
})
|
|
230
230
|
});
|
|
231
231
|
}));
|
|
232
|
-
var
|
|
232
|
+
var node75 = makeLocationNode({ service: Service72, layer, deps: [node77, node86, node83] });
|
|
233
233
|
var PREFERRED_FREE = [
|
|
234
234
|
"big-pickle",
|
|
235
235
|
"deepseek-v4.1-flash-free",
|
|
@@ -237,7 +237,7 @@ var PREFERRED_FREE = [
|
|
|
237
237
|
"muse-spark-1.3-contributor-free"
|
|
238
238
|
];
|
|
239
239
|
function preferFree(models) {
|
|
240
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
240
|
+
const freeOnly = models.every((model) => model.providerID === ID13.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
241
241
|
if (!freeOnly)
|
|
242
242
|
return models;
|
|
243
243
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -253,12 +253,12 @@ function compatibility2(input) {
|
|
|
253
253
|
return;
|
|
254
254
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
255
255
|
}
|
|
256
|
-
function
|
|
256
|
+
function parse5(input) {
|
|
257
257
|
const index = input.indexOf("/");
|
|
258
258
|
return {
|
|
259
|
-
providerID:
|
|
260
|
-
modelID:
|
|
259
|
+
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
260
|
+
modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
|
|
261
261
|
};
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info20, Service72, node75, supportsText2, compatibility2, parse5, exports_model2, Event15 };
|