@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,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service83
|
|
9
|
+
} from "./generate-wvfn79zg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service48
|
|
12
|
+
} from "./generate-xe60g4xd.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service42
|
|
15
|
+
} from "./generate-v9mkjqza.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-xrxd4ypf.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service69
|
|
24
|
+
} from "./generate-c0j152jj.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service16
|
|
27
|
+
} from "./generate-tzqjqrvg.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./generate-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input5,
|
|
37
|
+
Output: () => Output3,
|
|
38
|
+
Plugin: () => Plugin7,
|
|
39
|
+
name: () => name5,
|
|
40
|
+
toModelContent: () => toModelContent2
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name5 = "glob";
|
|
46
|
+
var Input5 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input8 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output3 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent2 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin7 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service48;
|
|
70
|
+
const ripgrep = yield* Service42;
|
|
71
|
+
const location = yield* Service83;
|
|
72
|
+
const access = yield* Service16;
|
|
73
|
+
const permission = yield* Service69;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name5,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input5,
|
|
79
|
+
output: Output3,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name5,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin45 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name5, Input5, Output3, toModelContent2, Plugin7, exports_glob };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batch2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-204s3925.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./generate-jse617h6.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-z38nccrw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service24,
|
|
12
12
|
statements3,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-0pzycfxn.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-hpg1pkwy.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./generate-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/policy.ts
|
|
23
23
|
var exports_policy = {};
|
|
24
24
|
__export(exports_policy, {
|
|
25
25
|
ConfigPolicyPlugin: () => exports_policy,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin42
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Effect, Stream } from "effect";
|
|
30
|
-
var
|
|
30
|
+
var Plugin42 = define({
|
|
31
31
|
id: "opencode.config.policy",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const managed = yield*
|
|
33
|
+
const config = yield* Service73;
|
|
34
|
+
const managed = yield* Service24;
|
|
35
35
|
const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, reload);
|
|
37
37
|
yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -76,4 +76,4 @@ var Plugin3 = define({
|
|
|
76
76
|
})
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export {
|
|
79
|
+
export { Plugin42, exports_policy };
|
|
@@ -2,39 +2,39 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service83,
|
|
8
|
+
node87
|
|
9
|
+
} from "./generate-wvfn79zg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service41,
|
|
12
|
+
node44
|
|
13
|
+
} from "./generate-wmv0rq0d.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
DirectoryAccessDeniedError: () => DirectoryAccessDeniedError2,
|
|
25
25
|
DirectoryNotFoundError: () => DirectoryNotFoundError2,
|
|
26
26
|
Entry: () => Entry2,
|
|
27
|
-
Event: () =>
|
|
27
|
+
Event: () => Event6,
|
|
28
28
|
FileSystem: () => exports_filesystem,
|
|
29
29
|
FindInput: () => FindInput2,
|
|
30
30
|
GlobInput: () => GlobInput2,
|
|
31
31
|
GrepInput: () => GrepInput2,
|
|
32
32
|
Match: () => Match2,
|
|
33
|
-
NotFoundError: () =>
|
|
34
|
-
Service: () =>
|
|
33
|
+
NotFoundError: () => NotFoundError4,
|
|
34
|
+
Service: () => Service40,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node43
|
|
38
38
|
});
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
40
|
import path from "path";
|
|
@@ -43,7 +43,7 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
43
43
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
44
44
|
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class NotFoundError4 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
@@ -65,7 +65,7 @@ class DirectoryAccessDeniedError2 extends Schema.TaggedError()("FileSystem.Direc
|
|
|
65
65
|
return `Access denied to directory: ${this.directory}`;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
68
|
+
var Content2 = Schema.Struct({
|
|
69
69
|
uri: Schema.String,
|
|
70
70
|
name: Schema.String.pipe(Schema.optional),
|
|
71
71
|
content: Schema.String,
|
|
@@ -92,14 +92,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
92
92
|
limit: Schema.optionalKey(PositiveInt2)
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
|
-
var
|
|
95
|
+
var Event6 = FileSystem.Event;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service40 extends Context.Service()("@opencode/FileSystem") {
|
|
98
98
|
}
|
|
99
|
-
var baseLayer = Layer.effect(
|
|
99
|
+
var baseLayer = Layer.effect(Service40, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const search = yield*
|
|
101
|
+
const location = yield* Service83;
|
|
102
|
+
const search = yield* Service41;
|
|
103
103
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.tap((real) => fs.access(real, { readable: true })), Effect.catch((cause) => {
|
|
104
104
|
if (cause.reason._tag === "NotFound")
|
|
105
105
|
return Effect.fail(new DirectoryNotFoundError2({ directory: location.directory, cause }));
|
|
@@ -109,22 +109,22 @@ var baseLayer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
109
109
|
}));
|
|
110
110
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
111
111
|
if (input.includes("\x00"))
|
|
112
|
-
return yield* Effect.fail(new
|
|
112
|
+
return yield* Effect.fail(new NotFoundError4({ path: input }));
|
|
113
113
|
const absolute = path.resolve(location.directory, input);
|
|
114
114
|
if (!FSUtil.contains(location.directory, absolute))
|
|
115
|
-
return yield* Effect.fail(new
|
|
116
|
-
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
115
|
+
return yield* Effect.fail(new NotFoundError4({ path: input }));
|
|
116
|
+
const real = yield* fs.realPath(absolute).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input })), (_, error) => Effect.die(error)));
|
|
117
117
|
if (!FSUtil.contains(root, real))
|
|
118
|
-
return yield* Effect.fail(new
|
|
118
|
+
return yield* Effect.fail(new NotFoundError4({ path: input }));
|
|
119
119
|
return { absolute, real, directory: location.directory };
|
|
120
120
|
});
|
|
121
|
-
return
|
|
121
|
+
return Service40.of({
|
|
122
122
|
find: search.find,
|
|
123
123
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
124
124
|
const target = yield* resolve(input.path);
|
|
125
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
125
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError4({ path: input.path })), (_, error) => Effect.die(error)));
|
|
126
126
|
if (info.type !== "File")
|
|
127
|
-
return yield* Effect.fail(new
|
|
127
|
+
return yield* Effect.fail(new NotFoundError4({ path: input.path }));
|
|
128
128
|
return {
|
|
129
129
|
mime: FSUtil.mimeType(target.real),
|
|
130
130
|
size: Number(info.size),
|
|
@@ -134,7 +134,7 @@ var baseLayer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
134
134
|
}),
|
|
135
135
|
list: Effect.fn("FileSystem.list")(function* (input = {}) {
|
|
136
136
|
const directory = path.resolve(location.directory, input.path ?? ".");
|
|
137
|
-
const missing = new
|
|
137
|
+
const missing = new NotFoundError4({ path: RelativePath2.make(input.path ?? ".") });
|
|
138
138
|
const info = yield* fs.stat(directory).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(missing), (_, error) => Effect.die(error)));
|
|
139
139
|
if (info.type !== "Directory")
|
|
140
140
|
return yield* missing;
|
|
@@ -158,10 +158,10 @@ var baseLayer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
158
158
|
})
|
|
159
159
|
});
|
|
160
160
|
}));
|
|
161
|
-
var
|
|
162
|
-
service:
|
|
161
|
+
var node43 = makeLocationNode({
|
|
162
|
+
service: Service40,
|
|
163
163
|
layer: baseLayer,
|
|
164
|
-
deps: [FSUtil.node,
|
|
164
|
+
deps: [FSUtil.node, node87, node44]
|
|
165
165
|
});
|
|
166
166
|
|
|
167
|
-
export { FindInput2, Write2,
|
|
167
|
+
export { FindInput2, Write2, NotFoundError4, DirectoryNotFoundError2, DirectoryAccessDeniedError2, Content2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event6, Service40, node43, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
3
|
node91
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-vhq13nx9.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-11hfp36g.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service86,
|
|
10
|
+
node90
|
|
11
|
+
} from "./generate-mn1kjsd1.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessageTable2,
|
|
17
17
|
SessionInboxTable2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-gg8p9cgs.js";
|
|
19
19
|
import {
|
|
20
20
|
SessionMessage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-gftt206x.js";
|
|
22
22
|
import {
|
|
23
23
|
UserPayload3
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-fg9p65nk.js";
|
|
25
25
|
import {
|
|
26
26
|
hydrateInbox2,
|
|
27
27
|
keepInboxRefs2,
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
externalizePayload2,
|
|
30
30
|
recordRefs2,
|
|
31
31
|
releaseMessage2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./generate-gcjxwgkz.js";
|
|
33
33
|
import {
|
|
34
34
|
decodeMessageRows2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./generate-mqx5s2g6.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./generate-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/inbox.ts
|
|
41
41
|
var exports_inbox = {};
|
|
@@ -43,7 +43,7 @@ __export(exports_inbox, {
|
|
|
43
43
|
Compaction: () => Compaction2,
|
|
44
44
|
CompactionPayload: () => CompactionPayload2,
|
|
45
45
|
Delivery: () => Delivery2,
|
|
46
|
-
Info: () =>
|
|
46
|
+
Info: () => Info11,
|
|
47
47
|
Item: () => Item2,
|
|
48
48
|
LifecycleConflict: () => LifecycleConflict2,
|
|
49
49
|
MediaInfo: () => MediaInfo2,
|
|
@@ -51,7 +51,7 @@ __export(exports_inbox, {
|
|
|
51
51
|
MediaUserPayload: () => MediaUserPayload2,
|
|
52
52
|
Move: () => Move2,
|
|
53
53
|
MovePayload: () => MovePayload2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service55,
|
|
55
55
|
SessionInbox: () => exports_inbox,
|
|
56
56
|
Synthetic: () => Synthetic2,
|
|
57
57
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -59,13 +59,13 @@ __export(exports_inbox, {
|
|
|
59
59
|
UserPayload: () => UserPayload2,
|
|
60
60
|
find: () => find2,
|
|
61
61
|
has: () => has2,
|
|
62
|
-
layer: () =>
|
|
62
|
+
layer: () => layer22,
|
|
63
63
|
list: () => list3,
|
|
64
64
|
listWithRefs: () => listWithRefs2,
|
|
65
|
-
make: () =>
|
|
65
|
+
make: () => make19,
|
|
66
66
|
moveIDs: () => moveIDs2,
|
|
67
67
|
nextPromotable: () => nextPromotable2,
|
|
68
|
-
node: () =>
|
|
68
|
+
node: () => node58,
|
|
69
69
|
projectAdmitted: () => projectAdmitted2,
|
|
70
70
|
projectCancelled: () => projectCancelled2,
|
|
71
71
|
projectDelivered: () => projectDelivered2,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
Compaction as Compaction2,
|
|
81
81
|
CompactionPayload as CompactionPayload2,
|
|
82
82
|
Delivery as Delivery2,
|
|
83
|
-
Info as
|
|
83
|
+
Info as Info11,
|
|
84
84
|
Item as Item2,
|
|
85
85
|
MediaInfo as MediaInfo2,
|
|
86
86
|
MediaUser as MediaUser2,
|
|
@@ -184,12 +184,12 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
184
184
|
});
|
|
185
185
|
});
|
|
186
186
|
|
|
187
|
-
class
|
|
187
|
+
class Service55 extends Context.Service()("@opencode/SessionInbox") {
|
|
188
188
|
}
|
|
189
|
-
var
|
|
189
|
+
var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
190
190
|
const database = yield* Service87;
|
|
191
191
|
const db = database.db;
|
|
192
|
-
const bus = yield*
|
|
192
|
+
const bus = yield* Service86;
|
|
193
193
|
const reconcile = Effect.fn("SessionInbox.reconcile")(function* (request) {
|
|
194
194
|
const existing = (yield* find2(db, request.id)) ?? (yield* promotedFromMessage(db, request.sessionID, request.id, request.delivery));
|
|
195
195
|
if (existing === undefined)
|
|
@@ -206,7 +206,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
206
206
|
inboxID: request.id,
|
|
207
207
|
sessionID: request.sessionID,
|
|
208
208
|
item: request.item
|
|
209
|
-
}).pipe(Effect.map((event) =>
|
|
209
|
+
}).pipe(Effect.map((event) => Info11.make({
|
|
210
210
|
id: request.id,
|
|
211
211
|
sessionID: request.sessionID,
|
|
212
212
|
time: { created: DateTime.makeUnsafe(event.created) },
|
|
@@ -260,8 +260,8 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
260
260
|
queue
|
|
261
261
|
};
|
|
262
262
|
});
|
|
263
|
-
var
|
|
264
|
-
var
|
|
263
|
+
var layer22 = Layer.effect(Service55, make19());
|
|
264
|
+
var node58 = makeGlobalNode({ service: Service55, layer: layer22, deps: [node91, node90] });
|
|
265
265
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
266
266
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
267
267
|
if (message !== undefined)
|
|
@@ -385,4 +385,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
385
385
|
return rows;
|
|
386
386
|
}));
|
|
387
387
|
|
|
388
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
388
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info11, Item2, MediaInfo2, MediaUser2, MediaUserPayload2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service55, make19, layer22, node58, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, listWithRefs2, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service85,
|
|
6
|
+
node89
|
|
7
|
+
} from "./generate-8c52w60q.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-bstexjd6.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service81,
|
|
16
|
+
node85
|
|
17
|
+
} from "./generate-maje54r7.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./generate-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service52,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node56,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service52 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service85;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service81;
|
|
110
|
+
return Service52.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -169,10 +169,10 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
169
169
|
})
|
|
170
170
|
});
|
|
171
171
|
}));
|
|
172
|
-
var
|
|
173
|
-
service:
|
|
172
|
+
var node56 = makeGlobalNode({
|
|
173
|
+
service: Service52,
|
|
174
174
|
layer,
|
|
175
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
175
|
+
deps: [EffectFlock.node, FSUtil.node, node89, Global.node, node85]
|
|
176
176
|
});
|
|
177
177
|
function errorMessage(error) {
|
|
178
178
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -181,4 +181,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
181
181
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
184
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service52, isError2, validateBranch2, node56, exports_repository_cache };
|