@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,83 +1,83 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./instance-29mjmzb9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./instance-fbyy0mex.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID11,
|
|
14
|
+
Service69,
|
|
15
|
+
node72
|
|
16
|
+
} from "./instance-5pgk4d1b.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instance-775gj3j1.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service72,
|
|
22
|
+
node75
|
|
23
|
+
} from "./instance-gvswa42f.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./instance-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./instance-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./instance-yrcj3v3g.js";
|
|
36
36
|
import {
|
|
37
37
|
load5
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./instance-1n700na1.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./instance-pnzf6mjf.js";
|
|
42
42
|
import {
|
|
43
43
|
outputLimit2,
|
|
44
44
|
baseTranscript2,
|
|
45
45
|
unsupportedParts2,
|
|
46
46
|
boundImages2,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service21,
|
|
48
|
+
node25
|
|
49
|
+
} from "./instance-ajmv5nbv.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service56,
|
|
52
|
+
node59
|
|
53
|
+
} from "./instance-cxc3bdbf.js";
|
|
54
54
|
import {
|
|
55
55
|
isRetryable2,
|
|
56
56
|
policy2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./instance-zyk1yjk8.js";
|
|
58
58
|
import {
|
|
59
59
|
toSessionError2,
|
|
60
60
|
contentFilterError2
|
|
61
|
-
} from "./
|
|
61
|
+
} from "./instance-8m84705y.js";
|
|
62
62
|
import {
|
|
63
63
|
calculateCost2,
|
|
64
64
|
record2,
|
|
65
65
|
add2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./instance-tdstcens.js";
|
|
67
67
|
import {
|
|
68
68
|
__export
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./instance-9rqn6x4v.js";
|
|
70
70
|
|
|
71
71
|
// src/session/compaction.ts
|
|
72
72
|
var exports_compaction2 = {};
|
|
73
73
|
__export(exports_compaction2, {
|
|
74
|
-
Service: () =>
|
|
74
|
+
Service: () => Service7,
|
|
75
75
|
SessionCompaction: () => exports_compaction2,
|
|
76
76
|
buildPrompt: () => buildPrompt2,
|
|
77
77
|
estimateContext: () => estimateContext2,
|
|
78
78
|
estimatePrompt: () => estimatePrompt2,
|
|
79
79
|
layer: () => layer7,
|
|
80
|
-
node: () =>
|
|
80
|
+
node: () => node9,
|
|
81
81
|
recentUserMessages: () => recentUserMessages2
|
|
82
82
|
});
|
|
83
83
|
import {
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
} from "@opencode/ai";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
95
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
96
|
-
class
|
|
96
|
+
class Service7 extends Context.Service()("@opencode/SessionCompaction") {
|
|
97
97
|
}
|
|
98
98
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
99
99
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -172,14 +172,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
172
172
|
};
|
|
173
173
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
174
174
|
var LEGACY_HEADING = "## Additional Context";
|
|
175
|
-
var layer7 = Layer.effect(
|
|
176
|
-
const agents = yield*
|
|
177
|
-
const bus = yield*
|
|
175
|
+
var layer7 = Layer.effect(Service7, Effect.gen(function* () {
|
|
176
|
+
const agents = yield* Service69;
|
|
177
|
+
const bus = yield* Service82;
|
|
178
178
|
const llm = yield* LLMClient.Service;
|
|
179
|
-
const catalog = yield*
|
|
180
|
-
const models = yield*
|
|
181
|
-
const db = (yield*
|
|
182
|
-
const requests = yield*
|
|
179
|
+
const catalog = yield* Service72;
|
|
180
|
+
const models = yield* Service56;
|
|
181
|
+
const db = (yield* Service83).db;
|
|
182
|
+
const requests = yield* Service21;
|
|
183
183
|
const state = create3({
|
|
184
184
|
name: "session-compaction",
|
|
185
185
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -197,7 +197,7 @@ var layer7 = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
197
197
|
if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
|
|
198
198
|
return { status: "skipped" };
|
|
199
199
|
const native = context.model.compaction?.type === "native";
|
|
200
|
-
const agent = native ? undefined : yield* agents.get(
|
|
200
|
+
const agent = native ? undefined : yield* agents.get(ID11.make("compaction"));
|
|
201
201
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
202
202
|
return;
|
|
203
203
|
})))) ?? context.model;
|
|
@@ -473,16 +473,16 @@ ${text}`;
|
|
|
473
473
|
}, { metadata: outcome.metadata });
|
|
474
474
|
return { status: "completed" };
|
|
475
475
|
});
|
|
476
|
-
return
|
|
476
|
+
return Service7.of({
|
|
477
477
|
transform: state.transform,
|
|
478
478
|
reload: state.reload,
|
|
479
479
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
480
480
|
});
|
|
481
481
|
}));
|
|
482
|
-
var
|
|
483
|
-
service:
|
|
482
|
+
var node9 = makeLocationNode({
|
|
483
|
+
service: Service7,
|
|
484
484
|
layer: layer7,
|
|
485
|
-
deps: [
|
|
485
|
+
deps: [node72, node86, node87, llmClient2, node75, node25, node59]
|
|
486
486
|
});
|
|
487
487
|
var previousCompaction = (messages) => {
|
|
488
488
|
const [first] = messages;
|
|
@@ -696,4 +696,4 @@ var estimateMedia = (mime) => {
|
|
|
696
696
|
return 0;
|
|
697
697
|
};
|
|
698
698
|
|
|
699
|
-
export {
|
|
699
|
+
export { Service7, buildPrompt2, layer7, node9, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service35
|
|
3
|
+
} from "./instance-x5ta20vj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service25
|
|
6
|
+
} from "./instance-tatr8t94.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp = {};
|
|
13
|
+
__export(exports_mcp, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
+
Plugin: () => Plugin18,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin18 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service35;
|
|
28
|
+
const mcp = yield* Service25;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin18, register2, exports_mcp };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service85,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node89
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service85 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service85, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service85.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node89 = makeLocationNode({ service: Service85, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service85, node89, exports_image2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./instance-29mjmzb9.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-rert0e01.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID9,
|
|
17
|
+
Info: () => Info17,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service68,
|
|
21
|
+
node: () => node71
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID9 = PermissionSaved.ID;
|
|
29
|
+
var Info17 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service68 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const db = (yield*
|
|
41
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
42
|
+
const db = (yield* Service83).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
45
45
|
return rows.map((row) => ({
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID9.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service68.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node71 = makeGlobalNode({ service: Service68, layer, deps: [node87] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID9, Info17, ListInput5, AddInput2, Service68, node71, exports_saved };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./instance-29mjmzb9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./instance-fbyy0mex.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service57,
|
|
11
|
+
node60
|
|
12
|
+
} from "./instance-fmdneypy.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service58,
|
|
15
|
+
node61
|
|
16
|
+
} from "./instance-zdwe30dy.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instance-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make17
|
|
22
|
+
} from "./instance-1acjjqhc.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service54
|
|
26
|
+
} from "./instance-q5asdkn4.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service67,
|
|
29
|
+
node70
|
|
30
|
+
} from "./instance-ceagnxsq.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./instance-8m84705y.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./instance-267rdfpx.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./instance-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service53,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer22,
|
|
47
|
+
node: () => node57,
|
|
48
48
|
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service53 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,12 +59,12 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const jobs = yield*
|
|
67
|
-
const db = (yield*
|
|
62
|
+
var layer22 = Layer.effect(Service53, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service67;
|
|
64
|
+
const instances = yield* Service58;
|
|
65
|
+
const bus = yield* Service82;
|
|
66
|
+
const jobs = yield* Service57;
|
|
67
|
+
const db = (yield* Service83).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
70
70
|
commit: () => store.claim(sessionID)
|
|
@@ -76,14 +76,14 @@ var layer17 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service54.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make17({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer17 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service53.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer17 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node57 = makeGlobalNode({
|
|
127
|
+
service: Service53,
|
|
128
|
+
layer: layer22,
|
|
129
|
+
deps: [node70, node61, node86, node87, node60]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer3 = Layer.succeed(
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service53, Service53.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service34, Service34.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service53, terminal2, layer22, node57, noopLayer3, exports_execution };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-qnc92qwc.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-rj3eygr5.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./instance-29mjmzb9.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service82,
|
|
8
|
+
node86
|
|
9
|
+
} from "./instance-fbyy0mex.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
update2
|
|
18
|
+
} from "./instance-h7s7r6s9.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./instance-z5v4ffb3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./instance-rj3eygr5.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instance-c1fqxshp.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./instance-267rdfpx.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./instance-kqx1b4hy.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./instance-ssqht3zz.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./instance-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./instance-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node23
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -249,7 +249,7 @@ function run(db, event) {
|
|
|
249
249
|
updateCompaction: updateMessage,
|
|
250
250
|
appendMessage
|
|
251
251
|
};
|
|
252
|
-
yield*
|
|
252
|
+
yield* update2(adapter, event);
|
|
253
253
|
});
|
|
254
254
|
}
|
|
255
255
|
function insertMessage(db, event, message) {
|
|
@@ -279,8 +279,8 @@ function projectIdle(db, event) {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
282
|
-
const bus = yield*
|
|
283
|
-
const db = (yield*
|
|
282
|
+
const bus = yield* Service82;
|
|
283
|
+
const db = (yield* Service83).db;
|
|
284
284
|
yield* bus.project(SessionEvent2.Created, (event) => Effect.gen(function* () {
|
|
285
285
|
const stored = yield* db.insert(SessionTable2).values({
|
|
286
286
|
id: event.data.sessionID,
|
|
@@ -467,6 +467,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
467
467
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
468
468
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
469
469
|
}));
|
|
470
|
-
var
|
|
470
|
+
var node23 = makeGlobalNode({ name: "session-projector", layer, deps: [node86, node87] });
|
|
471
471
|
|
|
472
|
-
export { SessionAlreadyProjected2,
|
|
472
|
+
export { SessionAlreadyProjected2, node23, exports_projector };
|