@opencode/core 0.0.0-dev-44 → 0.0.0-dev-51
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 +89 -89
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +79 -79
- package/dist/chunks/generate-00ve6mdn.js +18 -0
- package/dist/chunks/{workspace-3a7vrk06.js → generate-02m8mtj2.js} +11 -11
- package/dist/chunks/{workspace-034tev2y.js → generate-034tev2y.js} +2 -2
- package/dist/chunks/{workspace-5x26af84.js → generate-0bvbaefb.js} +4 -4
- package/dist/chunks/{workspace-my7hrdx3.js → generate-0dmxj0ks.js} +12 -12
- package/dist/chunks/{workspace-rph8wvgf.js → generate-0dtejqt5.js} +33 -33
- package/dist/chunks/{workspace-32s63gzk.js → generate-0kbjdbg7.js} +20 -20
- package/dist/chunks/{workspace-haxfm848.js → generate-0pzycfxn.js} +11 -11
- package/dist/chunks/{workspace-2q3pw4f4.js → generate-0rtx0zsg.js} +3 -3
- package/dist/chunks/{workspace-7pa3t2xk.js → generate-0ykwm9kb.js} +11 -11
- package/dist/chunks/{workspace-11hfp36g.js → generate-11hfp36g.js} +1 -1
- package/dist/chunks/{workspace-tmvc1kcy.js → generate-1ap48dzm.js} +27 -27
- package/dist/chunks/{workspace-rg08y4e9.js → generate-1c738wz7.js} +21 -21
- package/dist/chunks/{workspace-vznp0c4w.js → generate-1cgjwhkt.js} +10 -10
- package/dist/chunks/{workspace-1ep2p91f.js → generate-1ep2p91f.js} +2 -2
- package/dist/chunks/{workspace-8hsrsqw0.js → generate-1jd23vs3.js} +32 -32
- package/dist/chunks/{workspace-akmjs5z5.js → generate-1k9p9gsd.js} +39 -39
- package/dist/chunks/{workspace-xq4c6pbn.js → generate-1q071vx1.js} +27 -27
- package/dist/chunks/{workspace-p2remtr5.js → generate-1vzec3kv.js} +26 -26
- package/dist/chunks/{workspace-1x2knyw4.js → generate-1x2knyw4.js} +1 -1
- package/dist/chunks/{workspace-nnb56zdr.js → generate-1xht4w09.js} +14 -14
- package/dist/chunks/{workspace-p7vhpwh8.js → generate-1yq9hg58.js} +5 -5
- package/dist/chunks/{workspace-204s3925.js → generate-204s3925.js} +1 -1
- package/dist/chunks/{workspace-ez0rpz4z.js → generate-21jrj54j.js} +40 -40
- package/dist/chunks/{workspace-sfdw5d12.js → generate-25bqyrh1.js} +11 -11
- package/dist/chunks/{workspace-awztprj3.js → generate-2cy0x1ts.js} +3 -3
- package/dist/chunks/{workspace-drvbhkez.js → generate-2jrrfqe1.js} +2 -2
- package/dist/chunks/{workspace-n037b2rv.js → generate-2mksk9k9.js} +12 -12
- package/dist/chunks/{workspace-ery7kzhb.js → generate-30ee3db1.js} +2 -2
- package/dist/chunks/{workspace-6kasyq0d.js → generate-38rcx8gw.js} +4 -4
- package/dist/chunks/{workspace-xby723hm.js → generate-3b9vt7br.js} +6 -6
- package/dist/chunks/{workspace-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-yx85ewrr.js → generate-3k4091hg.js} +14 -14
- package/dist/chunks/{workspace-6xqtcmxs.js → generate-3kdbrncp.js} +5 -5
- package/dist/chunks/{workspace-3nnrz6f6.js → generate-3nnrz6f6.js} +1 -1
- package/dist/chunks/{workspace-rhyf1zg1.js → generate-4bm1jzjx.js} +15 -15
- package/dist/chunks/{workspace-q371acht.js → generate-4j6w92j1.js} +29 -29
- package/dist/chunks/{workspace-3vf9nnam.js → generate-4nmwn958.js} +9 -9
- package/dist/chunks/{workspace-4pyp9zr9.js → generate-4pyp9zr9.js} +1 -1
- package/dist/chunks/{workspace-4v008n1t.js → generate-4v008n1t.js} +1 -1
- package/dist/chunks/{workspace-s9r95bva.js → generate-4ynprk1k.js} +38 -38
- package/dist/chunks/{workspace-p7yet7aw.js → generate-4yqzdbr3.js} +27 -27
- package/dist/chunks/{workspace-7qdazcae.js → generate-5cn08dj1.js} +11 -11
- package/dist/chunks/{workspace-dm94hefv.js → generate-5g3z7kak.js} +45 -45
- package/dist/chunks/{workspace-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
- package/dist/chunks/{workspace-5sxvsbaz.js → generate-5nrwf5y6.js} +17 -17
- package/dist/chunks/{workspace-j5sbsz7w.js → generate-5t7assdd.js} +14 -14
- package/dist/chunks/{workspace-m9ptjqeh.js → generate-65hsbk6w.js} +9 -9
- package/dist/chunks/{workspace-w1z9n04s.js → generate-6bxss06n.js} +27 -27
- package/dist/chunks/{workspace-6esdw8yj.js → generate-6esdw8yj.js} +1 -1
- package/dist/chunks/{workspace-y4sbm31z.js → generate-6k90qmab.js} +337 -337
- package/dist/chunks/{workspace-4n4j58bv.js → generate-6yhvg7vh.js} +204 -204
- package/dist/chunks/{workspace-w8qtt4th.js → generate-76cb1hcw.js} +4 -4
- package/dist/chunks/{workspace-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-pcbcnm4r.js → generate-7j904b11.js} +29 -29
- package/dist/chunks/{workspace-7w2ypzdf.js → generate-7w2ypzdf.js} +1 -1
- package/dist/chunks/{workspace-2w13yf8v.js → generate-7yect7x1.js} +2 -2
- package/dist/chunks/{workspace-5m8pjz4h.js → generate-825sajmc.js} +32 -32
- package/dist/chunks/{workspace-y5qv99bq.js → generate-828gcpff.js} +23 -23
- package/dist/chunks/{workspace-0cxeed95.js → generate-871wsk36.js} +6 -6
- package/dist/chunks/{workspace-d80v8vzq.js → generate-88zyrnzn.js} +23 -23
- package/dist/chunks/{workspace-gxk0f8v3.js → generate-8c52w60q.js} +12 -12
- package/dist/chunks/{workspace-e471twwt.js → generate-8k8pzbp4.js} +8 -8
- package/dist/chunks/{workspace-9era1v6z.js → generate-8r41k98t.js} +51 -51
- package/dist/chunks/{workspace-r7xar5ns.js → generate-8rgb2cvr.js} +11 -11
- package/dist/chunks/{workspace-ym4mb7j3.js → generate-8vdz7xys.js} +11 -11
- package/dist/chunks/{workspace-8wtp7s3z.js → generate-8wtp7s3z.js} +1 -1
- package/dist/chunks/{workspace-hfgk9wzg.js → generate-8y4jps98.js} +4 -4
- package/dist/chunks/{workspace-90zstvax.js → generate-90zstvax.js} +1 -1
- package/dist/chunks/{workspace-ht34p3rm.js → generate-91w4e7n6.js} +3 -3
- package/dist/chunks/{workspace-0x9e628c.js → generate-94knkh23.js} +36 -36
- package/dist/chunks/{workspace-n4yb62ce.js → generate-96rd774k.js} +25 -25
- package/dist/chunks/{workspace-ctxfhcf9.js → generate-985zap26.js} +22 -22
- package/dist/chunks/{workspace-9cx9sm2q.js → generate-9cx9sm2q.js} +1 -1
- package/dist/chunks/{workspace-yd4hs1rm.js → generate-9hkg0qbv.js} +34 -34
- package/dist/chunks/{workspace-4r0ztz0m.js → generate-9nckwqxr.js} +6 -6
- package/dist/chunks/{workspace-btvs6m9s.js → generate-9qrr5ytc.js} +27 -27
- package/dist/chunks/{workspace-pjzas12s.js → generate-9qwv2st5.js} +4 -4
- package/dist/chunks/{workspace-sncehx48.js → generate-9v1jeyvz.js} +19 -19
- package/dist/chunks/{workspace-31h7jx7a.js → generate-9v7mpwrt.js} +35 -35
- package/dist/chunks/{workspace-k6ng50pn.js → generate-a2vfm55n.js} +5 -5
- package/dist/chunks/{workspace-26asr065.js → generate-a78n6d5c.js} +11 -11
- package/dist/chunks/{workspace-njaxvrn0.js → generate-a9ec5j8c.js} +18 -18
- package/dist/chunks/{workspace-03cg90a5.js → generate-anmc9emg.js} +28 -28
- package/dist/chunks/{workspace-fs0zc2gt.js → generate-avr56bkg.js} +6 -6
- package/dist/chunks/{workspace-830eskpr.js → generate-awf2ev99.js} +35 -35
- package/dist/chunks/{workspace-ka4q668c.js → generate-ax4wpyb0.js} +17 -17
- package/dist/chunks/{workspace-ayjs7tqn.js → generate-ayjs7tqn.js} +2 -2
- package/dist/chunks/{workspace-kb4jv8gq.js → generate-azvnm8mw.js} +19 -19
- package/dist/chunks/{workspace-s6x6bhdw.js → generate-b2v4ah60.js} +5 -5
- package/dist/chunks/{workspace-90a4dvkd.js → generate-b4fdcaj4.js} +15 -15
- package/dist/chunks/{workspace-b6vsg801.js → generate-b6vsg801.js} +2 -2
- package/dist/chunks/{workspace-6sqa993f.js → generate-bgwcavjj.js} +9 -9
- package/dist/chunks/{workspace-6739jmjn.js → generate-bj9t89jc.js} +5 -5
- package/dist/chunks/{workspace-s626qfae.js → generate-bjhzkqyk.js} +4 -4
- package/dist/chunks/{workspace-xn8rwapq.js → generate-bjz4w02w.js} +5 -5
- package/dist/chunks/{workspace-qm6s8ej8.js → generate-bnjyqssh.js} +8 -8
- package/dist/chunks/{workspace-bstexjd6.js → generate-bstexjd6.js} +1 -1
- package/dist/chunks/{workspace-pd9dp0pk.js → generate-c0j152jj.js} +48 -48
- package/dist/chunks/{workspace-3j1m3tq4.js → generate-c46s9eb3.js} +5 -5
- package/dist/chunks/{workspace-n4njqkes.js → generate-c8yg7wh5.js} +27 -27
- package/dist/chunks/{workspace-7jhsbrss.js → generate-ca66pcgg.js} +14 -14
- package/dist/chunks/{workspace-4f77jkmz.js → generate-cg7vdfn2.js} +22 -22
- package/dist/chunks/{workspace-gxqvyt19.js → generate-cp34masm.js} +5 -5
- package/dist/chunks/{workspace-befcg3vk.js → generate-cwqxgzxh.js} +10 -10
- package/dist/chunks/{workspace-cwrgdav8.js → generate-cwrgdav8.js} +2 -2
- package/dist/chunks/{workspace-d4v9tmah.js → generate-d4v9tmah.js} +2 -2
- package/dist/chunks/{workspace-0b2278mc.js → generate-d5nbwyme.js} +58 -58
- package/dist/chunks/{workspace-ehk1qjjw.js → generate-d8gzsssc.js} +54 -54
- package/dist/chunks/{workspace-vxrwmfev.js → generate-d8zpry8c.js} +4 -4
- package/dist/chunks/{workspace-9gadynp5.js → generate-dajgfvtb.js} +22 -22
- package/dist/chunks/{workspace-n66c6y3m.js → generate-djjzzs3c.js} +6 -6
- package/dist/chunks/{workspace-zv4bvann.js → generate-dqx4xtgw.js} +33 -33
- package/dist/chunks/{workspace-dt77769w.js → generate-dt77769w.js} +1 -1
- package/dist/chunks/{workspace-p3p972wa.js → generate-dtqg9ce1.js} +5 -5
- package/dist/chunks/{workspace-bffx5779.js → generate-dzvgbg8c.js} +16 -16
- package/dist/chunks/{workspace-dw8ve4v4.js → generate-e44yaama.js} +9 -9
- package/dist/chunks/{workspace-e834z07m.js → generate-e834z07m.js} +1 -1
- package/dist/chunks/{workspace-k8pk7m1a.js → generate-e8f4mwat.js} +24 -24
- package/dist/chunks/{workspace-t90jtn3y.js → generate-ecnyqwbg.js} +16 -16
- package/dist/chunks/{workspace-1yms9fvm.js → generate-f1kba4eb.js} +22 -22
- package/dist/chunks/{workspace-cayjy6n6.js → generate-f1qn86q9.js} +16 -16
- package/dist/chunks/{workspace-115742jf.js → generate-f9jtb5s4.js} +28 -28
- package/dist/chunks/{workspace-p9az4c9x.js → generate-fdda4p52.js} +31 -31
- package/dist/chunks/{workspace-fffv3p7h.js → generate-fffv3p7h.js} +1 -1
- package/dist/chunks/{workspace-fg9p65nk.js → generate-fg9p65nk.js} +2 -2
- package/dist/chunks/{workspace-1bssk9xk.js → generate-fqgfpq08.js} +5 -5
- package/dist/chunks/{workspace-xm65xzy2.js → generate-g2vd0h49.js} +45 -45
- package/dist/chunks/{workspace-0yt736da.js → generate-g3xh12jg.js} +22 -22
- package/dist/chunks/{workspace-zathn158.js → generate-gax45btb.js} +43 -43
- package/dist/chunks/{workspace-jzavwc5a.js → generate-gb808nsr.js} +13 -13
- package/dist/chunks/{workspace-wctr8ape.js → generate-gcjxwgkz.js} +6 -6
- package/dist/chunks/generate-gf3p0gyn.js +257 -0
- package/dist/chunks/{workspace-amxp7tb6.js → generate-gfh3rx86.js} +20 -20
- package/dist/chunks/{workspace-1bb8zgeb.js → generate-gfnmyn48.js} +2 -2
- package/dist/chunks/{workspace-gg8p9cgs.js → generate-gg8p9cgs.js} +3 -3
- package/dist/chunks/{workspace-w7qwarvw.js → generate-gh6ydj5k.js} +28 -28
- package/dist/chunks/{workspace-c7k55dj2.js → generate-gjdtpzew.js} +1 -1
- package/dist/chunks/{workspace-ey35m0mc.js → generate-gr4a1mt9.js} +9 -9
- package/dist/chunks/{workspace-nc159y24.js → generate-ha5zw665.js} +39 -39
- package/dist/chunks/{workspace-1j0p5zqx.js → generate-hdfrs5mg.js} +9 -9
- package/dist/chunks/{workspace-hpg1pkwy.js → generate-hpg1pkwy.js} +1 -1
- package/dist/chunks/{workspace-q2yncp4a.js → generate-hvqg9qdf.js} +15 -15
- package/dist/chunks/{workspace-s6p20e1k.js → generate-hx3mz2q2.js} +8 -8
- package/dist/chunks/{workspace-rrwqa0x9.js → generate-j9dfrzf1.js} +24 -24
- package/dist/chunks/{workspace-gsm10rvf.js → generate-jbgpzec3.js} +33 -33
- package/dist/chunks/{workspace-jfaecv01.js → generate-jfaecv01.js} +1 -1
- package/dist/chunks/{workspace-jn88007r.js → generate-jn88007r.js} +2 -2
- package/dist/chunks/{workspace-y8r2caxt.js → generate-jqrt1e18.js} +35 -35
- package/dist/chunks/{workspace-k8ndw37r.js → generate-jse617h6.js} +50 -50
- package/dist/chunks/{workspace-1e9r6beh.js → generate-jtgecbs6.js} +12 -12
- package/dist/chunks/{workspace-jtnps1zs.js → generate-jtnps1zs.js} +2 -2
- package/dist/chunks/{workspace-s396tgzf.js → generate-jtth4p70.js} +7 -7
- package/dist/chunks/{workspace-9r7wjzbr.js → generate-jx1apdrb.js} +46 -46
- package/dist/chunks/{workspace-j6v813za.js → generate-jz6gy70s.js} +29 -29
- package/dist/chunks/{workspace-6n180eb9.js → generate-jzv9q93k.js} +38 -38
- package/dist/chunks/{workspace-kqg80s2x.js → generate-k1k960qh.js} +19 -19
- package/dist/chunks/{workspace-g9navxqt.js → generate-k1km0kwj.js} +13 -13
- package/dist/chunks/{workspace-99yevx5r.js → generate-k80pfa45.js} +38 -38
- package/dist/chunks/{workspace-k814nvkf.js → generate-k814nvkf.js} +1 -1
- package/dist/chunks/{workspace-d2887f8n.js → generate-kkqethq7.js} +4 -4
- package/dist/chunks/{workspace-aedwt843.js → generate-kmzgegqq.js} +8 -8
- package/dist/chunks/{workspace-sp13ydqz.js → generate-knzehscp.js} +24 -24
- package/dist/chunks/{workspace-bj6yd2m6.js → generate-kq8jawwe.js} +11 -11
- package/dist/chunks/{workspace-kt3bjfbg.js → generate-kt3bjfbg.js} +1 -1
- package/dist/chunks/{workspace-m1714858.js → generate-m1714858.js} +1 -1
- package/dist/chunks/{workspace-qem07kdc.js → generate-m4qbnc51.js} +6 -6
- package/dist/chunks/{workspace-3h9vfbt2.js → generate-m5ef9g4d.js} +16 -16
- package/dist/chunks/{workspace-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-fxcaqc0y.js → generate-maje54r7.js} +10 -10
- package/dist/chunks/{workspace-cyxjym35.js → generate-mbftkfp3.js} +3 -3
- package/dist/chunks/{workspace-70s3x0a6.js → generate-mn1kjsd1.js} +12 -12
- package/dist/chunks/{workspace-kkv0936x.js → generate-mpxymb45.js} +21 -21
- package/dist/chunks/{workspace-afyka953.js → generate-mqx5s2g6.js} +9 -9
- package/dist/chunks/{workspace-b50bzspk.js → generate-mryb701n.js} +4 -4
- package/dist/chunks/{workspace-zgs7qsk5.js → generate-ms4mtp00.js} +14 -14
- package/dist/chunks/{workspace-0wtxmv38.js → generate-mzs1wwgg.js} +13 -13
- package/dist/chunks/{workspace-1kn6jdkn.js → generate-n01qhj0y.js} +4 -4
- package/dist/chunks/{workspace-w2f8g9ey.js → generate-n9d7asws.js} +10 -10
- package/dist/chunks/{workspace-nah043kf.js → generate-nah043kf.js} +1 -1
- package/dist/chunks/{workspace-05hcn35g.js → generate-nchzvxb3.js} +47 -47
- package/dist/chunks/{workspace-frhk2vn3.js → generate-nskk21ck.js} +5 -5
- package/dist/chunks/{workspace-h7mq0gsg.js → generate-nx49a0zd.js} +2 -2
- package/dist/chunks/{workspace-41gw1q61.js → generate-nxr9jypn.js} +19 -19
- package/dist/chunks/{workspace-p015t6z3.js → generate-p015t6z3.js} +2 -2
- package/dist/chunks/{workspace-nq1gfgg7.js → generate-p3c06s3c.js} +17 -17
- package/dist/chunks/{workspace-zwz8wfn8.js → generate-p6jdjv39.js} +3 -3
- package/dist/chunks/{workspace-e8jqfb1a.js → generate-p9z57wfw.js} +12 -12
- package/dist/chunks/{workspace-e07q2w5p.js → generate-pcty9z1k.js} +4 -4
- package/dist/chunks/{workspace-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-jnyr2zd2.js → generate-psxcd178.js} +4 -4
- package/dist/chunks/{workspace-ta4g3tqy.js → generate-pzy1ge40.js} +8 -8
- package/dist/chunks/{workspace-3tkbzst4.js → generate-q2kz667v.js} +8 -8
- package/dist/chunks/{workspace-ckzatb6h.js → generate-q83j2tds.js} +14 -14
- package/dist/chunks/{workspace-dwwyec8z.js → generate-q85rya1m.js} +6 -6
- package/dist/chunks/{workspace-21g12dr6.js → generate-q9prhzwj.js} +38 -38
- package/dist/chunks/{workspace-ynvxk982.js → generate-qewh6z9z.js} +11 -11
- package/dist/chunks/{workspace-amkjttct.js → generate-qgxcsxqz.js} +9 -9
- package/dist/chunks/{workspace-ep0wsmvm.js → generate-qhhpkx69.js} +32 -32
- package/dist/chunks/{workspace-vg0erq9k.js → generate-qkqjbc48.js} +3 -3
- package/dist/chunks/{workspace-755bmxs3.js → generate-qm7m71ag.js} +16 -16
- package/dist/chunks/{workspace-qp7r0hxv.js → generate-qp7r0hxv.js} +1 -1
- package/dist/chunks/{workspace-p0tsr9h6.js → generate-qqg9c0kv.js} +4 -4
- package/dist/chunks/{workspace-g5hey3vt.js → generate-qsbq0yh0.js} +12 -12
- package/dist/chunks/{workspace-ntgpnhzh.js → generate-qt0rakd9.js} +7 -7
- package/dist/chunks/{workspace-r0yr0wbs.js → generate-r0yr0wbs.js} +1 -1
- package/dist/chunks/{workspace-ytfkq0y6.js → generate-r3wxrxmk.js} +20 -20
- package/dist/chunks/{workspace-5enarcya.js → generate-r41sfy63.js} +9 -9
- package/dist/chunks/{workspace-r542h3bh.js → generate-r542h3bh.js} +1 -1
- package/dist/chunks/{workspace-rb9dy4dg.js → generate-rb9dy4dg.js} +1 -1
- package/dist/chunks/{workspace-tms1d3r7.js → generate-rcgfqkyt.js} +21 -21
- package/dist/chunks/{workspace-d7mpa99n.js → generate-rjgm8kvq.js} +88 -88
- package/dist/chunks/{workspace-9phxzr4p.js → generate-rn2g8gvy.js} +35 -35
- package/dist/chunks/{workspace-rt5dr6hb.js → generate-rt5dr6hb.js} +1 -1
- package/dist/chunks/{workspace-a6h2hm85.js → generate-s0m9mztq.js} +54 -54
- package/dist/chunks/{workspace-tmd1r8tg.js → generate-s4f8ct6t.js} +4 -4
- package/dist/chunks/{workspace-1b28s763.js → generate-s754n69y.js} +17 -17
- package/dist/chunks/{workspace-mmx1mfjr.js → generate-s7kyse9r.js} +4 -4
- package/dist/chunks/{workspace-sa3fpqfw.js → generate-sa3fpqfw.js} +2 -2
- package/dist/chunks/{workspace-9ha38bm5.js → generate-scab19z6.js} +4 -4
- package/dist/chunks/{workspace-hr7waqx2.js → generate-sd44476b.js} +12 -12
- package/dist/chunks/{workspace-m061cbn2.js → generate-sjr9jxa3.js} +25 -25
- package/dist/chunks/{workspace-xhf31v2h.js → generate-spmxmxwp.js} +29 -29
- package/dist/chunks/{workspace-sqjzf8x2.js → generate-sqjzf8x2.js} +1 -1
- package/dist/chunks/{workspace-svcy3p9a.js → generate-svcy3p9a.js} +1 -1
- package/dist/chunks/{workspace-hvw13sdg.js → generate-svmy10xz.js} +18 -18
- package/dist/chunks/{workspace-pxc4avcg.js → generate-syecjwvp.js} +11 -11
- package/dist/chunks/{workspace-q2dh4fth.js → generate-syenhh65.js} +9 -9
- package/dist/chunks/{workspace-cpzhveq8.js → generate-sz054x7k.js} +3 -3
- package/dist/chunks/{workspace-6f9jk43g.js → generate-sz7wvhh4.js} +25 -25
- package/dist/chunks/{workspace-q0dc1a9h.js → generate-t09et5ra.js} +18 -18
- package/dist/chunks/{workspace-g1whzzn7.js → generate-t5d1jndw.js} +4 -4
- package/dist/chunks/{workspace-s00mzv4c.js → generate-t5j4wmcc.js} +12 -12
- package/dist/chunks/{workspace-tczq8hjw.js → generate-tczq8hjw.js} +1 -1
- package/dist/chunks/{workspace-2z0bbf9q.js → generate-te8xnvcw.js} +11 -11
- package/dist/chunks/{workspace-mc5hffvt.js → generate-tenqdnpv.js} +13 -13
- package/dist/chunks/{workspace-yd1z09nw.js → generate-tfcaxdgg.js} +94 -94
- package/dist/chunks/{workspace-jergy4yb.js → generate-tgz64rdx.js} +15 -15
- package/dist/chunks/{workspace-s73mcn75.js → generate-tm4h45vh.js} +21 -21
- package/dist/chunks/{workspace-f9bbcs0x.js → generate-tn5ra6b3.js} +23 -23
- package/dist/chunks/{workspace-608ahxn3.js → generate-ts8qfj50.js} +4 -4
- package/dist/chunks/{workspace-twssxy5n.js → generate-twssxy5n.js} +2 -2
- package/dist/chunks/{workspace-vp7nv6ts.js → generate-typae2vg.js} +11 -11
- package/dist/chunks/{workspace-fp8mkx0f.js → generate-tzqjqrvg.js} +25 -25
- package/dist/chunks/{workspace-v2r1d0zg.js → generate-v2r1d0zg.js} +1 -1
- package/dist/chunks/{workspace-krq85k1q.js → generate-v6mt8wtr.js} +4 -4
- package/dist/chunks/{workspace-dk4vvp25.js → generate-v7wnn3sr.js} +26 -26
- package/dist/chunks/{workspace-sk5cz3k6.js → generate-v9mkjqza.js} +18 -18
- package/dist/chunks/{workspace-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-3xtarm87.js → generate-vgnm1wd9.js} +2 -2
- package/dist/chunks/{workspace-25wbv3kn.js → generate-vhq13nx9.js} +3 -3
- package/dist/chunks/{workspace-hm291q16.js → generate-vpm8vpz0.js} +3 -3
- package/dist/chunks/{workspace-bgm817xr.js → generate-vrcsa8qx.js} +9 -9
- package/dist/chunks/{workspace-8r9nj4s8.js → generate-vsnnaxjq.js} +4 -4
- package/dist/chunks/{workspace-rhk24g9e.js → generate-vz54nt0f.js} +5 -5
- package/dist/chunks/{workspace-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-w4cmxjpb.js → generate-w73gsg3z.js} +19 -19
- package/dist/chunks/{workspace-wakvkjy4.js → generate-wakvkjy4.js} +1 -1
- package/dist/chunks/{workspace-vswznq9x.js → generate-wbc755ty.js} +19 -19
- package/dist/chunks/{workspace-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-71gcaexf.js → generate-wmv0rq0d.js} +27 -27
- package/dist/chunks/{workspace-w687dnns.js → generate-wr3re1en.js} +4 -4
- package/dist/chunks/{workspace-rsya75cp.js → generate-wrj7qkae.js} +1 -1
- package/dist/chunks/{workspace-h8ydc4kt.js → generate-wvfn79zg.js} +16 -16
- package/dist/chunks/{workspace-3d1z145j.js → generate-x2ghphdg.js} +24 -24
- package/dist/chunks/{workspace-rwswcgad.js → generate-x3pdsm9g.js} +16 -16
- package/dist/chunks/{workspace-hfqt73mn.js → generate-xa3svp4j.js} +11 -11
- package/dist/chunks/{workspace-rg6x42m8.js → generate-xdem3tjk.js} +11 -11
- package/dist/chunks/{workspace-xmt3nt5n.js → generate-xe60g4xd.js} +24 -24
- package/dist/chunks/{workspace-z536rte3.js → generate-xeax9z1c.js} +35 -35
- package/dist/chunks/{workspace-dynac9eb.js → generate-xh4gmrhb.js} +13 -13
- package/dist/chunks/{workspace-ysxs50rr.js → generate-xrxd4ypf.js} +32 -32
- package/dist/chunks/{workspace-xq21eycy.js → generate-xsm7bj45.js} +25 -25
- package/dist/chunks/{workspace-yara3q77.js → generate-yara3q77.js} +2 -2
- package/dist/chunks/{workspace-yb20nhc3.js → generate-yb20nhc3.js} +1 -1
- package/dist/chunks/{workspace-kww0x7wp.js → generate-yp7knqr4.js} +20 -20
- package/dist/chunks/{workspace-tk6jy24y.js → generate-yt5vsp4r.js} +47 -47
- package/dist/chunks/{workspace-h5edevtj.js → generate-yxg6183e.js} +74 -74
- package/dist/chunks/{workspace-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-jskh73wk.js → generate-z1tmcxf6.js} +20 -20
- package/dist/chunks/{workspace-z38nccrw.js → generate-z38nccrw.js} +1 -1
- package/dist/chunks/{workspace-b19sr9k5.js → generate-z4da6g8s.js} +28 -28
- package/dist/chunks/{workspace-sh1n2w0x.js → generate-zczrc06z.js} +16 -16
- package/dist/chunks/{workspace-9z9tayqc.js → generate-zgd8t41s.js} +9 -9
- package/dist/chunks/{workspace-zgkm4kzm.js → generate-zgkm4kzm.js} +3 -3
- package/dist/chunks/{workspace-6c09pra0.js → generate-zt6ym1y0.js} +22 -22
- package/dist/chunks/{workspace-51em56x4.js → generate-zvgjxag2.js} +9 -9
- package/dist/chunks/{workspace-1rdpnva5.js → generate-zwc34jj0.js} +21 -21
- package/dist/chunks/{workspace-4watfg9m.js → generate-zx09p1gy.js} +14 -14
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +92 -92
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +221 -221
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +72 -72
- 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/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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +382 -382
- 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 +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -103
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +80 -80
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- 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/file-watch.js +86 -86
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +234 -234
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +112 -112
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +115 -115
- package/dist/git.js +11 -11
- 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 +107 -107
- 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-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +373 -373
- package/dist/instruction-discovery.js +90 -90
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +166 -166
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +370 -370
- package/dist/location.js +95 -95
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +117 -117
- package/dist/mcp/instructions.js +166 -166
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +107 -107
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +108 -108
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +145 -145
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -96
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +82 -82
- package/dist/plugin/command.js +110 -110
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -227
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +343 -343
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +121 -121
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- 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 +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode-legacy.js +106 -106
- package/dist/plugin/provider/opencode.js +127 -127
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +178 -178
- package/dist/plugin/sdk.js +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +137 -137
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +360 -360
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +3 -3
- 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 +2 -2
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +234 -234
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +96 -96
- package/dist/provider.js +107 -107
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +104 -104
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +164 -164
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +231 -231
- package/dist/session/execution.js +152 -152
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +138 -138
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +154 -154
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +227 -227
- package/dist/session/usage.js +1 -1
- package/dist/session.js +225 -225
- 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 +13 -13
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +141 -141
- package/dist/skill.js +150 -150
- package/dist/snapshot.js +97 -97
- 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 +167 -167
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +152 -152
- package/dist/tool/plugin/question.js +140 -140
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +149 -149
- package/dist/tool/plugin/websearch.js +147 -147
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- 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 +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +94 -94
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +87 -87
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +106 -106
- package/package.json +8 -8
- package/dist/chunks/workspace-8yc2jv87.js +0 -257
- package/dist/chunks/workspace-b1bdn9ww.js +0 -18
- /package/dist/chunks/{workspace-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1jakw16s.js → generate-1jakw16s.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2bv980vf.js → generate-2bv980vf.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4m86bj6y.js → generate-4m86bj6y.js} +0 -0
- /package/dist/chunks/{workspace-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-5w3e23ze.js → generate-5w3e23ze.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-84wd9syh.js → generate-84wd9syh.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a058387c.js → generate-a058387c.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-beh6qq61.js → generate-beh6qq61.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cqv5kn06.js → generate-cqv5kn06.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fkpq3x5p.js → generate-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jwr30sdr.js → generate-jwr30sdr.js} +0 -0
- /package/dist/chunks/{workspace-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-m18g726c.js → generate-m18g726c.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-ncqqe42p.js → generate-ncqqe42p.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-p71gwv9c.js → generate-p71gwv9c.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service73
|
|
4
|
+
} from "./generate-jse617h6.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin26,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin26 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service73;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -115,4 +115,4 @@ var Plugin31 = define({
|
|
|
115
115
|
})
|
|
116
116
|
});
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { Plugin26, exports_warming };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service73
|
|
7
|
+
} from "./generate-jse617h6.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-svcy3p9a.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service48
|
|
13
|
+
} from "./generate-xe60g4xd.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service59
|
|
16
|
+
} from "./generate-dzvgbg8c.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service69
|
|
19
|
+
} from "./generate-c0j152jj.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service16,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-tzqjqrvg.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./generate-k814nvkf.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service68,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./generate-azvnm8mw.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service46
|
|
37
|
+
} from "./generate-8r41k98t.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service26
|
|
40
|
+
} from "./generate-tfcaxdgg.js";
|
|
41
41
|
import {
|
|
42
42
|
scan3
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./generate-t5d1jndw.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./generate-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input11,
|
|
53
|
+
Plugin: () => Plugin13,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name11
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name11 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input11 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin13 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const jobs = yield*
|
|
123
|
+
const sessions = yield* Service26;
|
|
124
|
+
const jobs = yield* Service59;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service48;
|
|
127
|
+
const access = yield* Service16;
|
|
128
|
+
const shell = yield* Service46;
|
|
129
|
+
const shellSelect = yield* Service68;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service69;
|
|
132
|
+
const config = yield* Service73;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin46 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name11,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin46 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name11,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input11,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin46 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name11,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name11];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name16(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin13, exports_shell };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service86,
|
|
3
|
+
node90
|
|
4
|
+
} from "./generate-mn1kjsd1.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./generate-fdda4p52.js";
|
|
11
11
|
import {
|
|
12
12
|
changes2,
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-204s3925.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-bjhzkqyk.js";
|
|
18
18
|
import {
|
|
19
19
|
validateAnswer2,
|
|
20
20
|
validateFields2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-1vzec3kv.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/integration.ts
|
|
27
27
|
var exports_integration2 = {};
|
|
@@ -36,18 +36,18 @@ __export(exports_integration2, {
|
|
|
36
36
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
37
37
|
CommandMethod: () => CommandMethod2,
|
|
38
38
|
EnvMethod: () => EnvMethod2,
|
|
39
|
-
Event: () =>
|
|
39
|
+
Event: () => Event16,
|
|
40
40
|
ExternalMethod: () => ExternalMethod2,
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
41
|
+
ID: () => ID13,
|
|
42
|
+
Info: () => Info23,
|
|
43
43
|
Integration: () => exports_integration2,
|
|
44
44
|
KeyMethod: () => KeyMethod2,
|
|
45
45
|
Method: () => Method2,
|
|
46
46
|
MethodID: () => MethodID2,
|
|
47
47
|
OAuthMethod: () => OAuthMethod2,
|
|
48
48
|
Ref: () => Ref4,
|
|
49
|
-
Service: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
Service: () => Service78,
|
|
50
|
+
node: () => node82
|
|
51
51
|
});
|
|
52
52
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
53
53
|
import {
|
|
@@ -69,8 +69,8 @@ import {
|
|
|
69
69
|
import { Integration } from "@opencode/schema/integration";
|
|
70
70
|
import { AppProcess } from "@opencode/util/process";
|
|
71
71
|
import { ChildProcess } from "effect/process";
|
|
72
|
-
import { Event as
|
|
73
|
-
var
|
|
72
|
+
import { Event as Event16 } from "@opencode/schema/integration";
|
|
73
|
+
var ID13 = Integration.ID;
|
|
74
74
|
var MethodID2 = Integration.MethodID;
|
|
75
75
|
var AttemptID2 = Integration.AttemptID;
|
|
76
76
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -79,7 +79,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
79
79
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
80
80
|
var EnvMethod2 = Integration.EnvMethod;
|
|
81
81
|
var Method2 = Integration.Method;
|
|
82
|
-
var
|
|
82
|
+
var Info23 = Integration.Info;
|
|
83
83
|
var Attempt2 = Integration.Attempt;
|
|
84
84
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
85
85
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -102,20 +102,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
105
|
-
integrationID:
|
|
105
|
+
integrationID: ID13,
|
|
106
106
|
attemptID: AttemptID2
|
|
107
107
|
}) {
|
|
108
108
|
}
|
|
109
109
|
var Ref4 = Integration.Ref;
|
|
110
110
|
|
|
111
|
-
class
|
|
111
|
+
class Service78 extends Context.Service()("@opencode/Integration") {
|
|
112
112
|
}
|
|
113
113
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
114
114
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
115
115
|
var scrubInterval = Duration.seconds(30);
|
|
116
|
-
var layer = Layer.effect(
|
|
117
|
-
const credentials = yield*
|
|
118
|
-
const bus = yield*
|
|
116
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
117
|
+
const credentials = yield* Service80;
|
|
118
|
+
const bus = yield* Service86;
|
|
119
119
|
const processes = yield* AppProcess.Service;
|
|
120
120
|
const scope = yield* Scope.Scope;
|
|
121
121
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
225
225
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
226
226
|
return [...credentials, ...env];
|
|
227
227
|
};
|
|
228
|
-
const project = (entry, connections) =>
|
|
228
|
+
const project = (entry, connections) => Info23.make({
|
|
229
229
|
id: entry.ref.id,
|
|
230
230
|
name: entry.ref.name,
|
|
231
231
|
...entry.ref.configured === undefined ? {} : { configured: entry.ref.configured },
|
|
@@ -459,7 +459,7 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
459
459
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
460
460
|
return CommandAttempt2.make({ attemptID, time });
|
|
461
461
|
});
|
|
462
|
-
return
|
|
462
|
+
return Service78.of({
|
|
463
463
|
transform: state.transform,
|
|
464
464
|
reload: state.reload,
|
|
465
465
|
revision: state.revision,
|
|
@@ -646,10 +646,10 @@ var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
646
646
|
}
|
|
647
647
|
});
|
|
648
648
|
}));
|
|
649
|
-
var
|
|
650
|
-
service:
|
|
649
|
+
var node82 = makeLocationNode({
|
|
650
|
+
service: Service78,
|
|
651
651
|
layer,
|
|
652
|
-
deps: [
|
|
652
|
+
deps: [node84, node90, AppProcess.node]
|
|
653
653
|
});
|
|
654
654
|
|
|
655
|
-
export {
|
|
655
|
+
export { ID13, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref4, Service78, node82, exports_integration2, Event16 };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-bjhzkqyk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service86
|
|
6
|
+
} from "./generate-mn1kjsd1.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./generate-fdda4p52.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID13,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-jz6gy70s.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service77
|
|
20
|
+
} from "./generate-0dtejqt5.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID11
|
|
23
|
+
} from "./generate-9v7mpwrt.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./generate-985zap26.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./generate-qewh6z9z.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID16
|
|
33
|
+
} from "./generate-sjr9jxa3.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./generate-3nnrz6f6.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -66,7 +66,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
66
66
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
67
67
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
68
68
|
var oauth = (app) => ({
|
|
69
|
-
integrationID:
|
|
69
|
+
integrationID: ID13.make("github-copilot"),
|
|
70
70
|
method: {
|
|
71
71
|
id: methodID,
|
|
72
72
|
type: "oauth",
|
|
@@ -164,8 +164,8 @@ var oauth = (app) => ({
|
|
|
164
164
|
var GithubCopilotPlugin2 = define({
|
|
165
165
|
id: "opencode.provider.github.copilot",
|
|
166
166
|
effect: Effect.fn(function* (ctx) {
|
|
167
|
-
const providers = yield*
|
|
168
|
-
const bus = yield*
|
|
167
|
+
const providers = yield* Service77;
|
|
168
|
+
const bus = yield* Service86;
|
|
169
169
|
const loading = Semaphore.makeUnsafe(1);
|
|
170
170
|
const loaded = {};
|
|
171
171
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -181,9 +181,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
181
181
|
return;
|
|
182
182
|
}
|
|
183
183
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
184
|
-
const provider = yield* providers.get(
|
|
184
|
+
const provider = yield* providers.get(ID12.githubCopilot);
|
|
185
185
|
const remote = yield* Effect.tryPromise({
|
|
186
|
-
try: () =>
|
|
186
|
+
try: () => load3(url, {
|
|
187
187
|
...provider?.headers,
|
|
188
188
|
Authorization: `Bearer ${credential.refresh}`,
|
|
189
189
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -203,13 +203,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
203
203
|
editor.method.update(oauth(ctx.app));
|
|
204
204
|
});
|
|
205
205
|
yield* ctx.provider.transform((evt) => {
|
|
206
|
-
const item = evt.get(
|
|
206
|
+
const item = evt.get(ID12.githubCopilot);
|
|
207
207
|
if (!item)
|
|
208
208
|
return;
|
|
209
209
|
if (loaded.models) {
|
|
210
210
|
evt.add({
|
|
211
211
|
info: item.provider,
|
|
212
|
-
models: Array.from(
|
|
212
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
213
213
|
sourceConnection: loaded.connection
|
|
214
214
|
});
|
|
215
215
|
return;
|
|
@@ -231,17 +231,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
233
|
yield* ctx.model.transform((models) => {
|
|
234
|
-
if (models.get(
|
|
235
|
-
models.update(
|
|
234
|
+
if (models.get(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"))) {
|
|
235
|
+
models.update(ID12.githubCopilot, ID11.make("gpt-5-chat-latest"), (model) => {
|
|
236
236
|
model.enabled = false;
|
|
237
237
|
});
|
|
238
238
|
}
|
|
239
239
|
});
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(
|
|
241
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
yield* refresh().pipe(Effect.forkScoped);
|
|
243
243
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
247
247
|
return;
|
|
@@ -250,7 +250,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
250
250
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
251
251
|
}));
|
|
252
252
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
253
|
-
if (evt.model.providerID !==
|
|
253
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
254
254
|
return;
|
|
255
255
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
256
256
|
return;
|
|
@@ -260,13 +260,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
260
260
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
261
261
|
if (interaction !== "conversation-agent")
|
|
262
262
|
evt.headers["x-initiator"] = "agent";
|
|
263
|
-
}), { providerID:
|
|
263
|
+
}), { providerID: ID12.githubCopilot });
|
|
264
264
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
265
|
-
if (evt.model.providerID !==
|
|
265
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
266
266
|
return;
|
|
267
267
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
268
268
|
return;
|
|
269
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
269
|
+
const agent = yield* ctx.agent.get({ agentID: ID16.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
270
270
|
return;
|
|
271
271
|
}));
|
|
272
272
|
if (agent?.data.model)
|
|
@@ -277,9 +277,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
277
277
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
278
278
|
return;
|
|
279
279
|
}));
|
|
280
|
-
}), { providerID:
|
|
280
|
+
}), { providerID: ID12.githubCopilot });
|
|
281
281
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
282
|
-
if (evt.model.providerID !==
|
|
282
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
283
283
|
return;
|
|
284
284
|
const token = evt.request.headers.get("x-api-key");
|
|
285
285
|
if (!token)
|
|
@@ -287,9 +287,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
287
287
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
288
288
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
289
289
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
290
|
-
}), { providerID:
|
|
290
|
+
}), { providerID: ID12.githubCopilot });
|
|
291
291
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
292
|
-
if (evt.model.providerID !==
|
|
292
|
+
if (evt.model.providerID !== ID12.githubCopilot)
|
|
293
293
|
return;
|
|
294
294
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
295
295
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-vhq13nx9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service86
|
|
6
|
+
} from "./generate-mn1kjsd1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service56
|
|
9
|
+
} from "./generate-q85rya1m.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service65
|
|
15
|
+
} from "./generate-e8f4mwat.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
MessageNotFoundError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-m4qbnc51.js";
|
|
22
22
|
import {
|
|
23
23
|
SessionMessageTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-gg8p9cgs.js";
|
|
25
25
|
import {
|
|
26
26
|
decodeMessageRowSync2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./generate-mqx5s2g6.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./generate-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/session/revert.ts
|
|
33
33
|
var exports_revert = {};
|
|
@@ -40,11 +40,11 @@ __export(exports_revert, {
|
|
|
40
40
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
41
41
|
import { Effect } from "effect";
|
|
42
42
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
43
|
-
const instances = yield*
|
|
43
|
+
const instances = yield* Service56;
|
|
44
44
|
const database = yield* Service87;
|
|
45
|
-
const bus = yield*
|
|
45
|
+
const bus = yield* Service86;
|
|
46
46
|
return yield* Effect.gen(function* () {
|
|
47
|
-
const snapshot = yield*
|
|
47
|
+
const snapshot = yield* Service65;
|
|
48
48
|
const original = input.session.revert?.snapshot ?? (yield* snapshot.capture());
|
|
49
49
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
50
50
|
const restore = new Map;
|
|
@@ -72,10 +72,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
72
72
|
}).pipe(instances.provide(input.session));
|
|
73
73
|
});
|
|
74
74
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
75
|
-
const instances = yield*
|
|
76
|
-
const bus = yield*
|
|
75
|
+
const instances = yield* Service56;
|
|
76
|
+
const bus = yield* Service86;
|
|
77
77
|
yield* Effect.gen(function* () {
|
|
78
|
-
const snapshot = yield*
|
|
78
|
+
const snapshot = yield* Service65;
|
|
79
79
|
if (!session.revert)
|
|
80
80
|
return;
|
|
81
81
|
const original = session.revert.snapshot;
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./generate-wvfn79zg.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service73
|
|
9
|
+
} from "./generate-jse617h6.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-96rd774k.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-hpg1pkwy.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin46
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin46 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service73;
|
|
35
|
+
const location = yield* Service83;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin46, exports_reference };
|