@opencode/core 0.0.0-dev-19531 → 0.0.0-dev-19532
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +5 -5
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{model-resolver-61b2qq6z.js → bus-02592khq.js} +30 -30
- package/dist/chunks/{model-resolver-p15qfr9z.js → bus-0dyq8gyf.js} +11 -11
- package/dist/chunks/{model-resolver-0gaj4617.js → bus-0gaj4617.js} +1 -1
- package/dist/chunks/{model-resolver-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → bus-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-dfe8djrf.js → bus-0v53mg2y.js} +4 -4
- package/dist/chunks/{model-resolver-4jk0qxj4.js → bus-0w62qmxp.js} +4 -4
- package/dist/chunks/{model-resolver-q8k6t814.js → bus-0x70yrfe.js} +4 -4
- package/dist/chunks/{model-resolver-1snz0n3v.js → bus-0yb3zt6n.js} +73 -73
- package/dist/chunks/{model-resolver-p2vh9553.js → bus-0yrw6g29.js} +4 -4
- package/dist/chunks/{model-resolver-rjxbe5xz.js → bus-16t47m27.js} +10 -10
- package/dist/chunks/{model-resolver-atgag4yh.js → bus-16z1avxm.js} +29 -29
- package/dist/chunks/{model-resolver-mtq6xxnx.js → bus-19vf66h0.js} +7 -7
- package/dist/chunks/{model-resolver-5kh0wb3v.js → bus-1a6961cr.js} +13 -13
- package/dist/chunks/{model-resolver-v71jvb7r.js → bus-1b33eeqb.js} +5 -5
- package/dist/chunks/{model-resolver-p97yj8zx.js → bus-1cq7yd6n.js} +24 -24
- package/dist/chunks/{model-resolver-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-frynmqdf.js → bus-1n1xdze8.js} +4 -4
- package/dist/chunks/{model-resolver-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-mgp54d0b.js → bus-2a4f6v5q.js} +8 -8
- package/dist/chunks/{model-resolver-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-mfka0yjk.js → bus-2dwd4qsj.js} +11 -11
- package/dist/chunks/{model-resolver-csdaj16z.js → bus-2f04pwep.js} +3 -3
- package/dist/chunks/{model-resolver-rwa5eky2.js → bus-2js4x8sp.js} +30 -30
- package/dist/chunks/{model-resolver-n03j43sk.js → bus-2rrdrtgw.js} +3 -3
- package/dist/chunks/{model-resolver-j3h8c2cp.js → bus-2t1a0z9j.js} +18 -18
- package/dist/chunks/{model-resolver-0fnjefvz.js → bus-2wt45vda.js} +41 -41
- package/dist/chunks/{model-resolver-fy0w211v.js → bus-2x6b16q7.js} +3 -3
- package/dist/chunks/{model-resolver-ndade498.js → bus-3fqa324q.js} +20 -20
- package/dist/chunks/{model-resolver-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-wq487jqz.js → bus-3ry95nek.js} +15 -15
- package/dist/chunks/{model-resolver-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-e5z2yc0m.js → bus-3sv5gq6k.js} +17 -17
- package/dist/chunks/{model-resolver-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-dr6k78h1.js → bus-3v2k7spa.js} +18 -18
- package/dist/chunks/{model-resolver-yaga2gvt.js → bus-3zskh2xb.js} +12 -12
- package/dist/chunks/bus-44zpxywp.js +462 -0
- package/dist/chunks/{model-resolver-swjfbv5x.js → bus-46zct9q2.js} +21 -21
- package/dist/chunks/{model-resolver-hjt4xg1x.js → bus-47gsdddb.js} +7 -7
- package/dist/chunks/{model-resolver-2rcpqfm0.js → bus-4bw04cwj.js} +9 -9
- package/dist/chunks/{model-resolver-gha63455.js → bus-4pc0t7v2.js} +12 -12
- package/dist/chunks/{model-resolver-t8cy7fff.js → bus-4psfaqfh.js} +11 -11
- package/dist/chunks/{model-resolver-fat0n13h.js → bus-4pxgevm9.js} +6 -6
- package/dist/chunks/{model-resolver-44xcyhkw.js → bus-4qw8y0pn.js} +18 -18
- package/dist/chunks/{model-resolver-fw6f7ywv.js → bus-4x21xr9m.js} +20 -20
- package/dist/chunks/{model-resolver-0ajdgxne.js → bus-4y66k410.js} +5 -5
- package/dist/chunks/{model-resolver-66e7kvmh.js → bus-4zja7gva.js} +15 -15
- package/dist/chunks/{model-resolver-h2fnwfb0.js → bus-50qts2yg.js} +11 -11
- package/dist/chunks/{model-resolver-6yxmp89e.js → bus-53qwdxjh.js} +12 -12
- package/dist/chunks/{model-resolver-bs3vba9y.js → bus-54sc4q3z.js} +20 -20
- package/dist/chunks/{model-resolver-4q81s1cb.js → bus-55a4dvpq.js} +5 -5
- package/dist/chunks/{model-resolver-1ygqh575.js → bus-56gdpj1q.js} +9 -9
- package/dist/chunks/{model-resolver-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-r3aj5peb.js → bus-5eadk2y6.js} +17 -17
- package/dist/chunks/{model-resolver-13h6pnmt.js → bus-5f78vy6n.js} +46 -46
- package/dist/chunks/{model-resolver-0r684n0p.js → bus-5hk4b2g6.js} +8 -8
- package/dist/chunks/{model-resolver-9s6q7dfh.js → bus-5j8ch41c.js} +9 -9
- package/dist/chunks/bus-5ndkbceg.js +247 -0
- package/dist/chunks/{model-resolver-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-nabxe85v.js → bus-60j88ajr.js} +35 -35
- package/dist/chunks/{model-resolver-669tq793.js → bus-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-8efzajgs.js → bus-66vyzje4.js} +15 -15
- package/dist/chunks/{model-resolver-b7pbz13w.js → bus-6gf7pn9e.js} +28 -28
- package/dist/chunks/{model-resolver-z6qpxre5.js → bus-6gq5qk75.js} +20 -20
- package/dist/chunks/{model-resolver-2402vzrj.js → bus-6h73sxmp.js} +5 -5
- package/dist/chunks/{model-resolver-q78vsr09.js → bus-6m4cf926.js} +18 -18
- package/dist/chunks/{model-resolver-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-8nghd9xh.js → bus-6n09301d.js} +4 -4
- package/dist/chunks/{model-resolver-h6nde2e3.js → bus-6rsp9rtj.js} +13 -13
- package/dist/chunks/{model-resolver-gkdyp9ys.js → bus-71mnszxh.js} +6 -6
- package/dist/chunks/{model-resolver-71q4at8m.js → bus-71q4at8m.js} +1 -1
- package/dist/chunks/{model-resolver-zpp9mfbs.js → bus-74hkwjyc.js} +28 -28
- package/dist/chunks/{model-resolver-tyswbbjp.js → bus-75ke43vn.js} +16 -16
- package/dist/chunks/{model-resolver-k06qmaw9.js → bus-770xh70b.js} +22 -22
- package/dist/chunks/{model-resolver-vb7d7sbc.js → bus-7938r61h.js} +31 -31
- package/dist/chunks/{model-resolver-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-kt2k2fvy.js → bus-7dfrp1b5.js} +12 -12
- package/dist/chunks/{model-resolver-7dqw4kz8.js → bus-7dqw4kz8.js} +1 -1
- package/dist/chunks/{model-resolver-7xhhf2aw.js → bus-7p797550.js} +9 -9
- package/dist/chunks/{model-resolver-5faec82q.js → bus-81swgkk7.js} +7 -7
- package/dist/chunks/{model-resolver-xsx6sc1v.js → bus-85maddxk.js} +159 -159
- package/dist/chunks/{model-resolver-e2tc44kv.js → bus-87mhqf8f.js} +15 -15
- package/dist/chunks/{model-resolver-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-zjzag8dm.js → bus-8ffq6xab.js} +15 -15
- package/dist/chunks/{model-resolver-dj2t23y0.js → bus-8p4f9s12.js} +2 -2
- package/dist/chunks/{model-resolver-cnr77sqv.js → bus-8z7d5nc1.js} +8 -8
- package/dist/chunks/{model-resolver-ddd0tqrv.js → bus-90ettt65.js} +24 -24
- package/dist/chunks/{model-resolver-wg7eakzt.js → bus-9xhs6jd2.js} +4 -4
- package/dist/chunks/{model-resolver-4xe2p835.js → bus-a0eq18d3.js} +11 -11
- package/dist/chunks/{model-resolver-5c4hm403.js → bus-a1bz86dw.js} +3 -3
- package/dist/chunks/{model-resolver-5d4cs5xf.js → bus-a8mmyy8c.js} +11 -11
- package/dist/chunks/{model-resolver-p1pr2h1d.js → bus-a8nah55w.js} +1 -1
- package/dist/chunks/{model-resolver-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-zmhtgr1a.js → bus-ae15aq84.js} +16 -16
- package/dist/chunks/{model-resolver-n2bk7ja5.js → bus-afjqk4pm.js} +7 -7
- package/dist/chunks/{model-resolver-4t19f8k2.js → bus-afycertr.js} +32 -32
- package/dist/chunks/{model-resolver-s95j2a00.js → bus-akw77m90.js} +1 -1
- package/dist/chunks/{model-resolver-9z5hcwep.js → bus-amvyxnqq.js} +22 -22
- package/dist/chunks/{model-resolver-h7dmbe3e.js → bus-b2a4y3ge.js} +9 -9
- package/dist/chunks/{model-resolver-d8dbj37k.js → bus-b2xqb8rz.js} +9 -9
- package/dist/chunks/{model-resolver-hahgrcae.js → bus-b39wx4cr.js} +19 -19
- package/dist/chunks/{model-resolver-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-sbqaqa2h.js → bus-ba48bprk.js} +17 -17
- package/dist/chunks/{model-resolver-xnbrvajn.js → bus-bbdswm9c.js} +9 -9
- package/dist/chunks/{model-resolver-drwkn14p.js → bus-bc62zhsy.js} +22 -22
- package/dist/chunks/{model-resolver-sdbkfcvv.js → bus-bha4atvq.js} +4 -4
- package/dist/chunks/{model-resolver-ymbkr1tg.js → bus-bmn5hybw.js} +41 -41
- package/dist/chunks/{model-resolver-nv7590vc.js → bus-bphns1nr.js} +4 -4
- package/dist/chunks/{model-resolver-jakagae6.js → bus-bspv2gr0.js} +27 -27
- package/dist/chunks/{model-resolver-zf9fe0vx.js → bus-c16gk4qh.js} +29 -29
- package/dist/chunks/{model-resolver-z1vbyafm.js → bus-c5yfc3wf.js} +10 -10
- package/dist/chunks/{model-resolver-eqb5zhc6.js → bus-c6g8q0m5.js} +43 -43
- package/dist/chunks/{model-resolver-t2vpa3bp.js → bus-c78bbtc9.js} +5 -5
- package/dist/chunks/{model-resolver-v8xf7pck.js → bus-c7sjv0xt.js} +20 -20
- package/dist/chunks/{model-resolver-m0jqrx5p.js → bus-cfpkc3c9.js} +2 -2
- package/dist/chunks/{model-resolver-n2dbyk7b.js → bus-cze4a9ee.js} +4 -4
- package/dist/chunks/{model-resolver-jwbqhvyy.js → bus-d2aac7k2.js} +5 -5
- package/dist/chunks/{model-resolver-4334gj7r.js → bus-dc76j9wz.js} +8 -8
- package/dist/chunks/{model-resolver-ebbn7jdz.js → bus-dd6zat4h.js} +8 -8
- package/dist/chunks/{model-resolver-f486cjd7.js → bus-dfyxxgza.js} +9 -9
- package/dist/chunks/{model-resolver-w4zny49r.js → bus-dgj0dq1g.js} +8 -8
- package/dist/chunks/{model-resolver-x8y7wgxd.js → bus-dhbqv74m.js} +9 -9
- package/dist/chunks/{model-resolver-zaz4910g.js → bus-e30q84vv.js} +32 -32
- package/dist/chunks/{model-resolver-c4c5wrfd.js → bus-e47b9zhk.js} +1 -1
- package/dist/chunks/{model-resolver-t550f9t1.js → bus-eaj1djv9.js} +8 -8
- package/dist/chunks/{model-resolver-9e3vcssh.js → bus-ec8389mk.js} +4 -4
- package/dist/chunks/{model-resolver-mwmpf2dr.js → bus-ed1pg64g.js} +18 -18
- package/dist/chunks/{model-resolver-dfst59nt.js → bus-ehs9b5vx.js} +16 -16
- package/dist/chunks/{model-resolver-fyekc6s2.js → bus-eqk8yf10.js} +17 -17
- package/dist/chunks/{model-resolver-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-k58qhvzp.js → bus-ev45yzk9.js} +10 -10
- package/dist/chunks/{model-resolver-hdnk95c8.js → bus-f828m53h.js} +2 -2
- package/dist/chunks/{model-resolver-dj2gndk9.js → bus-fe2agyxh.js} +16 -16
- package/dist/chunks/{model-resolver-njysne83.js → bus-ferfphdt.js} +5 -5
- package/dist/chunks/{model-resolver-aeex8way.js → bus-ff8d0h66.js} +24 -24
- package/dist/chunks/{model-resolver-aexrjf4q.js → bus-fg7sn5ej.js} +24 -24
- package/dist/chunks/{model-resolver-t0x5rdq8.js → bus-fjmrr6sh.js} +9 -9
- package/dist/chunks/{model-resolver-n4d4r70p.js → bus-fjz9v5g8.js} +42 -42
- package/dist/chunks/{model-resolver-pck3w1ab.js → bus-frwpyczr.js} +4 -4
- package/dist/chunks/{model-resolver-pka8c3mw.js → bus-fw1930ms.js} +6 -6
- package/dist/chunks/{model-resolver-fxbjtjnd.js → bus-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-9avrpg3p.js → bus-fxc2xvv4.js} +24 -24
- package/dist/chunks/{model-resolver-20erkkh9.js → bus-g5vg9enj.js} +16 -16
- package/dist/chunks/{model-resolver-8h4a5z95.js → bus-g8471784.js} +2 -2
- package/dist/chunks/{model-resolver-3h8hqytd.js → bus-garm4sqs.js} +13 -13
- package/dist/chunks/{model-resolver-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-3fc6dm20.js → bus-gdvy8fx6.js} +4 -4
- package/dist/chunks/{model-resolver-x21rsz6v.js → bus-ghr3zqya.js} +19 -19
- package/dist/chunks/{model-resolver-jyfdqx07.js → bus-gm1wa5n1.js} +19 -19
- package/dist/chunks/{model-resolver-mb9syhn1.js → bus-gqc6jj57.js} +28 -28
- package/dist/chunks/{model-resolver-dwe4spzd.js → bus-grgpe7m7.js} +3 -3
- package/dist/chunks/{model-resolver-9tw56fnr.js → bus-gsx0ryk4.js} +9 -9
- package/dist/chunks/{model-resolver-nwjtzbvw.js → bus-gsy9mqvk.js} +7 -7
- package/dist/chunks/{model-resolver-yyb7tjpc.js → bus-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-0dy66kxe.js → bus-gzqektst.js} +11 -11
- package/dist/chunks/{model-resolver-h03wrkyp.js → bus-h03wrkyp.js} +2 -2
- package/dist/chunks/{model-resolver-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-4v4bfvma.js → bus-h9rm1rrn.js} +5 -5
- package/dist/chunks/{model-resolver-rsj9vhs1.js → bus-har61g9j.js} +24 -24
- package/dist/chunks/{model-resolver-zqfm6xas.js → bus-hv3bygr5.js} +5 -5
- package/dist/chunks/{model-resolver-mcdc48yx.js → bus-hvhbpv3p.js} +9 -9
- package/dist/chunks/{model-resolver-mdenrfp6.js → bus-hvt2jj5z.js} +43 -43
- package/dist/chunks/{model-resolver-vcrpr27f.js → bus-j4zenrww.js} +7 -7
- package/dist/chunks/{model-resolver-marnn1hp.js → bus-j5208yae.js} +5 -5
- package/dist/chunks/{model-resolver-j56e64zr.js → bus-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-qvq5ww91.js → bus-j8jb4n4n.js} +26 -26
- package/dist/chunks/{model-resolver-28gfvtek.js → bus-jcfegcn3.js} +47 -47
- package/dist/chunks/{model-resolver-5s8kkgq1.js → bus-jh64gntc.js} +86 -86
- package/dist/chunks/{model-resolver-pz6n093v.js → bus-k10ha5xs.js} +30 -30
- package/dist/chunks/{model-resolver-vsp1fds9.js → bus-k2h4r4s0.js} +19 -19
- package/dist/chunks/{model-resolver-05k3a4yp.js → bus-kdc4anf3.js} +2 -2
- package/dist/chunks/{model-resolver-kg06axw8.js → bus-kg06axw8.js} +1 -1
- package/dist/chunks/{model-resolver-sp6z5kbv.js → bus-kh807a12.js} +33 -33
- package/dist/chunks/{model-resolver-txnj3dzg.js → bus-ktnrc8bc.js} +7 -7
- package/dist/chunks/{model-resolver-kew454ha.js → bus-kyqhkjqh.js} +13 -13
- package/dist/chunks/{model-resolver-kp92jgaq.js → bus-m23kbvcb.js} +26 -26
- package/dist/chunks/{model-resolver-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-p6s3kjn1.js → bus-mbj0x7wk.js} +11 -11
- package/dist/chunks/{model-resolver-afrwk4ch.js → bus-mbstch5d.js} +8 -8
- package/dist/chunks/{model-resolver-yvegcnp8.js → bus-mcw92z4j.js} +23 -23
- package/dist/chunks/{model-resolver-z8pjpgj2.js → bus-mfgbhmnr.js} +24 -24
- package/dist/chunks/{model-resolver-m9199dx3.js → bus-mkyh9633.js} +37 -37
- package/dist/chunks/{model-resolver-mhkvc446.js → bus-mvfsc1pv.js} +3 -3
- package/dist/chunks/{model-resolver-vq838htm.js → bus-n2acnnxb.js} +9 -9
- package/dist/chunks/{model-resolver-mjvxm5h6.js → bus-nbq1559h.js} +6 -6
- package/dist/chunks/{model-resolver-knyfvgyf.js → bus-nfffd1z4.js} +13 -13
- package/dist/chunks/{model-resolver-65mwty8e.js → bus-ngbhtf3x.js} +10 -10
- package/dist/chunks/{model-resolver-hfkyrasj.js → bus-ngdk1p9a.js} +44 -44
- package/dist/chunks/{model-resolver-6jswab00.js → bus-nm03esje.js} +3 -3
- package/dist/chunks/{model-resolver-wpv7jc2z.js → bus-p2ty0fa7.js} +15 -15
- package/dist/chunks/{model-resolver-6jzjxba3.js → bus-p7f9b7q8.js} +15 -15
- package/dist/chunks/{model-resolver-j935v87r.js → bus-paphc93g.js} +2 -2
- package/dist/chunks/{model-resolver-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-da6kr1wx.js → bus-prbnmmzj.js} +8 -8
- package/dist/chunks/{model-resolver-mn7ssvtj.js → bus-pwzb9yye.js} +8 -8
- package/dist/chunks/{model-resolver-kck439bj.js → bus-q4aknyan.js} +30 -30
- package/dist/chunks/{model-resolver-h8frrzh0.js → bus-q4eww03h.js} +1 -1
- package/dist/chunks/{model-resolver-zjxwcf81.js → bus-q73cp8nf.js} +19 -19
- package/dist/chunks/{model-resolver-0hxph87b.js → bus-qaed280k.js} +5 -5
- package/dist/chunks/bus-qc068m1q.js +18 -0
- package/dist/chunks/{model-resolver-52p5p480.js → bus-qc5cjrxt.js} +30 -30
- package/dist/chunks/{model-resolver-nvsyq3ba.js → bus-qmmrj5pn.js} +59 -59
- package/dist/chunks/{model-resolver-j8b7kmqb.js → bus-qmtm97bc.js} +27 -27
- package/dist/chunks/{model-resolver-r5wr7fgd.js → bus-qn7x8t5j.js} +17 -17
- package/dist/chunks/{model-resolver-b5nae5wy.js → bus-qqxmp7cj.js} +34 -34
- package/dist/chunks/{model-resolver-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-v5hpcsb0.js → bus-qte5z7bc.js} +5 -5
- package/dist/chunks/{model-resolver-zckvtzsb.js → bus-r5bt13a0.js} +11 -11
- package/dist/chunks/{model-resolver-r9mregkx.js → bus-r9mregkx.js} +2 -2
- package/dist/chunks/{model-resolver-j7867dn5.js → bus-renqy12v.js} +9 -9
- package/dist/chunks/{model-resolver-b3wkxfg9.js → bus-rfnzy394.js} +1 -1
- package/dist/chunks/{model-resolver-1j5g3f90.js → bus-rpkwvkgg.js} +32 -32
- package/dist/chunks/{model-resolver-nw25ebmp.js → bus-rqkqq2v2.js} +13 -13
- package/dist/chunks/{model-resolver-43thsgmw.js → bus-s0ax2cbm.js} +20 -20
- package/dist/chunks/{model-resolver-kfz2kx3w.js → bus-s1qt972z.js} +10 -10
- package/dist/chunks/{model-resolver-031kg769.js → bus-s2m31r1z.js} +18 -18
- package/dist/chunks/{model-resolver-cpwgm14c.js → bus-s2pmvhcg.js} +24 -24
- package/dist/chunks/{model-resolver-tyqkzprt.js → bus-s8610hey.js} +2 -2
- package/dist/chunks/{model-resolver-b0xvdmck.js → bus-sm5bw9bb.js} +14 -14
- package/dist/chunks/{model-resolver-8xp7je32.js → bus-sq23zfnk.js} +17 -17
- package/dist/chunks/{model-resolver-jd00bmkr.js → bus-sqevgg1x.js} +6 -6
- package/dist/chunks/{model-resolver-bdv0prqb.js → bus-ssafw484.js} +15 -15
- package/dist/chunks/{model-resolver-sr987mfq.js → bus-stzsmyz8.js} +7 -7
- package/dist/chunks/{model-resolver-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-s24p5rny.js → bus-tbj6yr3j.js} +33 -33
- package/dist/chunks/{model-resolver-tcezcvh9.js → bus-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-71t2waba.js → bus-tfmvqhpz.js} +10 -10
- package/dist/chunks/{model-resolver-nghrh7na.js → bus-tk7tn7wd.js} +1 -1
- package/dist/chunks/{model-resolver-h5knn3sc.js → bus-tmw71etn.js} +5 -5
- package/dist/chunks/{model-resolver-fg61w092.js → bus-tseh9362.js} +18 -18
- package/dist/chunks/{model-resolver-tvtrv512.js → bus-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-yjwqdqt2.js → bus-tx4v77ns.js} +25 -25
- package/dist/chunks/{model-resolver-sdfkf7b9.js → bus-txh28jzs.js} +8 -8
- package/dist/chunks/{model-resolver-txtwx9zc.js → bus-vbxjpcd9.js} +19 -19
- package/dist/chunks/{model-resolver-qfzde7bh.js → bus-ve6nm2s5.js} +6 -6
- package/dist/chunks/{model-resolver-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-txefqv94.js → bus-vet0v4q3.js} +56 -56
- package/dist/chunks/{model-resolver-e9wvc5tf.js → bus-vgjt9c5s.js} +3 -3
- package/dist/chunks/{model-resolver-2xbd7nbt.js → bus-vhdkxkb7.js} +23 -23
- package/dist/chunks/{model-resolver-fz9at2d6.js → bus-vt6mrpr2.js} +1 -1
- package/dist/chunks/{model-resolver-5z63511r.js → bus-vyjzrkx0.js} +9 -9
- package/dist/chunks/{model-resolver-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-88sz8qcd.js → bus-w1k39n5e.js} +4 -4
- package/dist/chunks/{model-resolver-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-c68b4qab.js → bus-wk58jv74.js} +10 -10
- package/dist/chunks/bus-wn48djn2.js +26 -0
- package/dist/chunks/{model-resolver-y0vt1sxg.js → bus-wp3ra78r.js} +13 -13
- package/dist/chunks/{model-resolver-6ze89g9b.js → bus-wxhnm4vs.js} +5 -5
- package/dist/chunks/{model-resolver-pch53j0k.js → bus-x0w3rp20.js} +6 -6
- package/dist/chunks/{model-resolver-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-gkytqtkj.js → bus-x2km63an.js} +14 -14
- package/dist/chunks/{model-resolver-6n5283ys.js → bus-x7r4jqvp.js} +14 -14
- package/dist/chunks/{model-resolver-xhmq8qgk.js → bus-xhmq8qgk.js} +2 -2
- package/dist/chunks/{model-resolver-0gjxn4me.js → bus-xjtkmra5.js} +35 -35
- package/dist/chunks/{model-resolver-33yp9811.js → bus-xp20kysk.js} +10 -10
- package/dist/chunks/{model-resolver-9h8yyxwx.js → bus-xpdpdhyj.js} +20 -20
- package/dist/chunks/{model-resolver-d0as5ky3.js → bus-xqh9be0f.js} +4 -4
- package/dist/chunks/{model-resolver-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-9a40xa2n.js → bus-y2s7ffcz.js} +36 -36
- package/dist/chunks/{model-resolver-nn5tgv9e.js → bus-y2wkm4mc.js} +19 -19
- package/dist/chunks/{model-resolver-s6z2946v.js → bus-y5pt965d.js} +17 -17
- package/dist/chunks/{model-resolver-y71avatq.js → bus-y71avatq.js} +1 -1
- package/dist/chunks/{model-resolver-x0kc6c96.js → bus-y9cz4bz0.js} +20 -20
- package/dist/chunks/{model-resolver-wn02ky47.js → bus-ynjvsx98.js} +11 -11
- package/dist/chunks/{model-resolver-1acjjqhc.js → bus-yp2x3t23.js} +4 -4
- package/dist/chunks/{model-resolver-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-s4enseaf.js → bus-yrznvahk.js} +2 -2
- package/dist/chunks/{model-resolver-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-29x78va6.js → bus-z63w68vq.js} +6 -6
- package/dist/chunks/{model-resolver-p96r38ce.js → bus-za524gb0.js} +26 -26
- package/dist/chunks/{model-resolver-hn57h045.js → bus-zcrspsvn.js} +4 -4
- package/dist/chunks/{model-resolver-rq775frq.js → bus-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-4s08xxae.js → bus-zpp4pmky.js} +8 -8
- package/dist/chunks/{model-resolver-n562g2hd.js → bus-zq1wyda0.js} +6 -6
- package/dist/chunks/{model-resolver-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-aryerr4z.js → bus-ztz1pyy1.js} +32 -32
- package/dist/chunks/{model-resolver-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +69 -69
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- package/dist/generate.js +90 -90
- package/dist/git.js +7 -7
- 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 +7 -7
- 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/id/id.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 +353 -353
- package/dist/instruction-discovery.js +78 -78
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +129 -129
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +350 -350
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +119 -119
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +81 -81
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- 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 +341 -341
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- 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 +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +87 -87
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +121 -121
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +123 -123
- package/dist/session/projector.js +83 -83
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- 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 +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +148 -148
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +87 -87
- 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 +118 -118
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +102 -102
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +5 -5
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +77 -77
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +88 -88
- package/package.json +8 -8
- package/dist/chunks/model-resolver-4v7qdvcn.js +0 -18
- package/dist/chunks/model-resolver-9heqp6jx.js +0 -247
- package/dist/chunks/model-resolver-aed8g19c.js +0 -26
- package/dist/chunks/model-resolver-ctmnhs0f.js +0 -462
- /package/dist/chunks/{model-resolver-0mesazry.js → bus-0mesazry.js} +0 -0
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → bus-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-hrnqkpcd.js → bus-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → bus-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./bus-j8jb4n4n.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service71
|
|
6
|
+
} from "./bus-qmmrj5pn.js";
|
|
7
7
|
import {
|
|
8
8
|
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service19
|
|
14
|
+
} from "./bus-75ke43vn.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./bus-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch = {};
|
|
21
21
|
__export(exports_websearch, {
|
|
22
22
|
Input: () => Input2,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin2,
|
|
25
25
|
WebSearchTool: () => exports_websearch,
|
|
26
26
|
description: () => description2,
|
|
27
27
|
name: () => name2
|
|
@@ -46,12 +46,12 @@ var Output = Schema.Struct({
|
|
|
46
46
|
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin2 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service71;
|
|
53
|
+
const forms = yield* Service53;
|
|
54
|
+
const websearch = yield* Service19;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
56
|
name: name2,
|
|
57
57
|
options: { codemode: false },
|
|
@@ -181,4 +181,4 @@ ${result.content}` : ""}`;
|
|
|
181
181
|
})
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export { name2, NO_RESULTS2, description2, Input2,
|
|
184
|
+
export { name2, NO_RESULTS2, description2, Input2, Plugin2, exports_websearch };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-xqh9be0f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
parse5,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-6h73sxmp.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-922hggd3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service57,
|
|
17
|
+
node61
|
|
18
|
+
} from "./bus-vhdkxkb7.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./bus-kg06axw8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./bus-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event14,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info12,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service55,
|
|
35
35
|
Source: () => Source4,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node59
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event14 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source4 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info12 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service55 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service79;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service57;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,8 +60,8 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
64
|
-
const repository =
|
|
63
|
+
return [Info12.make({ ...info, path: source.path })];
|
|
64
|
+
const repository = parse5(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
67
67
|
if (source.branch) {
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info12.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service55.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node59 = makeLocationNode({
|
|
116
|
+
service: Service55,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node84,
|
|
118
|
+
deps: [Global.node, node84, node61]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source4,
|
|
121
|
+
export { LocalSource2, GitSource2, Source4, Info12, Service55, node59, exports_reference2, Event14 };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./bus-c6g8q0m5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service9
|
|
6
|
+
} from "./bus-mfgbhmnr.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin15
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin15 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service63;
|
|
26
|
+
const compaction = yield* Service9;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin36 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin15, exports_compaction };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./bus-fg7sn5ej.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service43
|
|
6
|
+
} from "./bus-ve6nm2s5.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-qc068m1q.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./bus-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service43;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service54), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-xqh9be0f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service38,
|
|
7
|
+
node42
|
|
8
|
+
} from "./bus-5f78vy6n.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service71,
|
|
11
|
+
node76
|
|
12
|
+
} from "./bus-qmmrj5pn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service39,
|
|
15
|
+
node43
|
|
16
|
+
} from "./bus-fxc2xvv4.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service31,
|
|
26
26
|
layer: () => layer13,
|
|
27
27
|
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node36
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service31 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var layer13 = Layer.effect(
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service38;
|
|
42
|
+
const tools = yield* Service39;
|
|
43
43
|
const bus = yield* Service79;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service71;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -124,12 +124,12 @@ var layer13 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
124
124
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
125
125
|
const updates = yield* PubSub.subscribe(changes);
|
|
126
126
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
127
|
-
return
|
|
127
|
+
return Service31.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
128
128
|
}));
|
|
129
|
-
var
|
|
130
|
-
service:
|
|
129
|
+
var node36 = makeLocationNode({
|
|
130
|
+
service: Service31,
|
|
131
131
|
layer: layer13,
|
|
132
|
-
deps: [
|
|
132
|
+
deps: [node43, node42, node84, node76]
|
|
133
133
|
});
|
|
134
134
|
|
|
135
|
-
export { namespace2, name13,
|
|
135
|
+
export { namespace2, name13, Service31, layer13, node36, exports_mcp3 };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-grgpe7m7.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./bus-xqh9be0f.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./bus-w1k39n5e.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
load3
|
|
23
|
+
} from "./bus-r5bt13a0.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./bus-kg06axw8.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./bus-rfnzy394.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./bus-7938r61h.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./bus-9xhs6jd2.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./bus-x0w3rp20.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./bus-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./bus-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./bus-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction2 = {};
|
|
56
56
|
__export(exports_compaction2, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service9,
|
|
58
58
|
SessionCompaction: () => exports_compaction2,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
61
|
layer: () => layer6,
|
|
62
|
-
node: () =>
|
|
62
|
+
node: () => node12,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service9 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -296,7 +296,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
296
296
|
};
|
|
297
297
|
var hasSummarySection = (summary) => summary.split(`
|
|
298
298
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
299
|
-
var layer6 = Layer.effect(
|
|
299
|
+
var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
300
300
|
const bus = yield* Service79;
|
|
301
301
|
const llm = yield* LLMClient.Service;
|
|
302
302
|
const db = (yield* Service80).db;
|
|
@@ -372,7 +372,7 @@ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
372
372
|
webSocket
|
|
373
373
|
});
|
|
374
374
|
};
|
|
375
|
-
const original = (sessionID) =>
|
|
375
|
+
const original = (sessionID) => load3(db, sessionID, "local").pipe(Effect.orDie);
|
|
376
376
|
const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
|
|
377
377
|
const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
|
|
378
378
|
const context = input.context;
|
|
@@ -605,7 +605,7 @@ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
605
605
|
}
|
|
606
606
|
}));
|
|
607
607
|
});
|
|
608
|
-
return
|
|
608
|
+
return Service9.of({
|
|
609
609
|
transform: state.transform,
|
|
610
610
|
reload: state.reload,
|
|
611
611
|
enabled: () => state.get().auto,
|
|
@@ -614,10 +614,10 @@ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
614
614
|
compactManual
|
|
615
615
|
});
|
|
616
616
|
}));
|
|
617
|
-
var
|
|
618
|
-
service:
|
|
617
|
+
var node12 = makeLocationNode({
|
|
618
|
+
service: Service9,
|
|
619
619
|
layer: layer6,
|
|
620
620
|
deps: [node84, node85, llmClient2]
|
|
621
621
|
});
|
|
622
622
|
|
|
623
|
-
export {
|
|
623
|
+
export { Service9, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node12, exports_compaction2 };
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Info20
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./bus-k2h4r4s0.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info17
|
|
10
|
+
} from "./bus-renqy12v.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Info14
|
|
13
|
+
} from "./bus-c78bbtc9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Info22
|
|
16
|
+
} from "./bus-19vf66h0.js";
|
|
17
17
|
import {
|
|
18
18
|
Info16
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./bus-j5208yae.js";
|
|
20
20
|
import {
|
|
21
21
|
Layout2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./bus-21r38tys.js";
|
|
23
23
|
import {
|
|
24
24
|
Info21
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./bus-0gaj4617.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
Info18
|
|
28
|
+
} from "./bus-d2aac7k2.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./bus-7dqw4kz8.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Info19
|
|
34
|
+
} from "./bus-qte5z7bc.js";
|
|
35
35
|
import {
|
|
36
36
|
Server2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./bus-zeh9ct20.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Info15
|
|
40
|
+
} from "./bus-0v53mg2y.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./bus-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/v1/config/config.ts
|
|
46
46
|
var exports_config2 = {};
|
|
47
47
|
__export(exports_config2, {
|
|
48
48
|
ConfigV1: () => exports_config2,
|
|
49
|
-
Info: () =>
|
|
49
|
+
Info: () => Info13,
|
|
50
50
|
WellKnown: () => WellKnown2
|
|
51
51
|
});
|
|
52
52
|
import { Schema } from "effect";
|
|
@@ -59,7 +59,7 @@ var LogLevelRef = Schema.Literals(["DEBUG", "INFO", "WARN", "ERROR"]).annotate({
|
|
|
59
59
|
identifier: "LogLevel",
|
|
60
60
|
description: "Log level"
|
|
61
61
|
});
|
|
62
|
-
var
|
|
62
|
+
var Info13 = Schema.Struct({
|
|
63
63
|
$schema: Schema.optional(Schema.String).annotate({
|
|
64
64
|
description: "JSON schema reference for configuration validation"
|
|
65
65
|
}),
|
|
@@ -68,10 +68,10 @@ var Info12 = Schema.Struct({
|
|
|
68
68
|
server: Schema.optional(Server2).annotate({
|
|
69
69
|
description: "Server configuration for opencode serve and web commands"
|
|
70
70
|
}),
|
|
71
|
-
command: Schema.optional(Schema.Record(Schema.String,
|
|
71
|
+
command: Schema.optional(Schema.Record(Schema.String, Info22)).annotate({
|
|
72
72
|
description: "Command configuration, see https://opencode.ai/docs/commands"
|
|
73
73
|
}),
|
|
74
|
-
skills: Schema.optional(
|
|
74
|
+
skills: Schema.optional(Info15).annotate({ description: "Additional skill folder paths" }),
|
|
75
75
|
references: Schema.optional(ConfigReference.Info).annotate({
|
|
76
76
|
description: "Named git or local directory references"
|
|
77
77
|
}),
|
|
@@ -113,20 +113,20 @@ var Info12 = Schema.Struct({
|
|
|
113
113
|
username: Schema.optional(Schema.String).annotate({
|
|
114
114
|
description: "Custom username to display in conversations instead of system username"
|
|
115
115
|
}),
|
|
116
|
-
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(
|
|
116
|
+
mode: Schema.optional(Schema.StructWithRest(Schema.Struct({ build: Schema.optional(Info17), plan: Schema.optional(Info17) }), [Schema.Record(Schema.String, Info17)])).annotate({ description: "@deprecated Use `agent` field instead." }),
|
|
117
117
|
agent: Schema.optional(Schema.StructWithRest(Schema.Struct({
|
|
118
|
-
plan: Schema.optional(
|
|
119
|
-
build: Schema.optional(
|
|
120
|
-
general: Schema.optional(
|
|
121
|
-
explore: Schema.optional(
|
|
122
|
-
title: Schema.optional(
|
|
123
|
-
summary: Schema.optional(
|
|
124
|
-
compaction: Schema.optional(
|
|
125
|
-
}), [Schema.Record(Schema.String,
|
|
126
|
-
provider: Schema.optional(Schema.Record(Schema.String,
|
|
118
|
+
plan: Schema.optional(Info17),
|
|
119
|
+
build: Schema.optional(Info17),
|
|
120
|
+
general: Schema.optional(Info17),
|
|
121
|
+
explore: Schema.optional(Info17),
|
|
122
|
+
title: Schema.optional(Info17),
|
|
123
|
+
summary: Schema.optional(Info17),
|
|
124
|
+
compaction: Schema.optional(Info17)
|
|
125
|
+
}), [Schema.Record(Schema.String, Info17)])).annotate({ description: "Agent configuration, see https://opencode.ai/docs/agents" }),
|
|
126
|
+
provider: Schema.optional(Schema.Record(Schema.String, Info19)).annotate({
|
|
127
127
|
description: "Custom provider configurations and model overrides"
|
|
128
128
|
}),
|
|
129
|
-
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([
|
|
129
|
+
mcp: Schema.optional(Schema.Record(Schema.String, Schema.Union([Info18, Schema.Struct({ enabled: Schema.Boolean })]))).annotate({ description: "MCP (Model Context Protocol) server configurations" }),
|
|
130
130
|
formatter: Schema.optional(Info16).annotate({
|
|
131
131
|
description: "Enable or configure formatters. Omit or set to false to disable, true to enable built-ins, or an object to enable built-ins with overrides."
|
|
132
132
|
}),
|
|
@@ -139,7 +139,7 @@ var Info12 = Schema.Struct({
|
|
|
139
139
|
layout: Schema.optional(Layout2).annotate({ description: "@deprecated Always uses stretch layout." }),
|
|
140
140
|
permission: Schema.optional(Info20),
|
|
141
141
|
tools: Schema.optional(Schema.Record(Schema.String, Schema.Boolean)),
|
|
142
|
-
attachment: Schema.optional(
|
|
142
|
+
attachment: Schema.optional(Info14).annotate({
|
|
143
143
|
description: "Attachment processing configuration, including image size limits and resizing behavior"
|
|
144
144
|
}),
|
|
145
145
|
enterprise: Schema.optional(Schema.Struct({ url: Schema.optional(Schema.String).annotate({ description: "Enterprise URL" }) })),
|
|
@@ -191,4 +191,4 @@ var Info12 = Schema.Struct({
|
|
|
191
191
|
}))
|
|
192
192
|
}).annotate({ identifier: "Config" });
|
|
193
193
|
|
|
194
|
-
export { WellKnown2,
|
|
194
|
+
export { WellKnown2, Info13, exports_config2 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make4(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make4 };
|