@opencode/core 0.0.0-dev-51 → 0.0.0-dev-55
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-034tev2y.js → repository-cache-034tev2y.js} +2 -2
- package/dist/chunks/{generate-nchzvxb3.js → repository-cache-06pe9pmm.js} +25 -25
- package/dist/chunks/{generate-8y4jps98.js → repository-cache-06w9ffrv.js} +7 -7
- package/dist/chunks/{generate-jz6gy70s.js → repository-cache-0711fn9k.js} +29 -30
- package/dist/chunks/{generate-a78n6d5c.js → repository-cache-0731t3tw.js} +8 -8
- package/dist/chunks/{generate-psxcd178.js → repository-cache-0av67dp6.js} +4 -4
- package/dist/chunks/{generate-svmy10xz.js → repository-cache-0fe450at.js} +18 -18
- package/dist/chunks/{generate-4ynprk1k.js → repository-cache-0h58xf1g.js} +38 -38
- package/dist/chunks/{generate-qt0rakd9.js → repository-cache-0k1p4s69.js} +7 -7
- package/dist/chunks/{generate-96rd774k.js → repository-cache-0kze6sgm.js} +27 -27
- package/dist/chunks/{generate-1vzec3kv.js → repository-cache-0mv4v5wj.js} +23 -23
- package/dist/chunks/{generate-jzv9q93k.js → repository-cache-0tgb71k0.js} +34 -34
- package/dist/chunks/{generate-cp34masm.js → repository-cache-0xaqh9kd.js} +5 -5
- package/dist/chunks/{generate-11hfp36g.js → repository-cache-11hfp36g.js} +1 -1
- package/dist/chunks/{generate-9qwv2st5.js → repository-cache-126c3fvz.js} +4 -4
- package/dist/chunks/repository-cache-12h23m8g.js +517 -0
- package/dist/chunks/{generate-gh6ydj5k.js → repository-cache-1860ddgg.js} +25 -25
- package/dist/chunks/{generate-jbgpzec3.js → repository-cache-1cdppm47.js} +33 -33
- package/dist/chunks/{generate-1ep2p91f.js → repository-cache-1ep2p91f.js} +2 -2
- package/dist/chunks/{generate-k1k960qh.js → repository-cache-1p9mjqrz.js} +19 -19
- package/dist/chunks/{generate-xe60g4xd.js → repository-cache-1v5xq3rj.js} +24 -24
- package/dist/chunks/{generate-1x2knyw4.js → repository-cache-1x2knyw4.js} +1 -1
- package/dist/chunks/{generate-ha5zw665.js → repository-cache-1znhd7w1.js} +39 -39
- package/dist/chunks/{generate-204s3925.js → repository-cache-204s3925.js} +1 -1
- package/dist/chunks/{generate-dtqg9ce1.js → repository-cache-207ajt2h.js} +5 -5
- package/dist/chunks/{generate-yt5vsp4r.js → repository-cache-22nm8aah.js} +47 -47
- package/dist/chunks/repository-cache-2a2m1jyz.js +257 -0
- package/dist/chunks/{generate-m4qbnc51.js → repository-cache-2c4q4gd1.js} +6 -6
- package/dist/chunks/{generate-0kbjdbg7.js → repository-cache-2cwns7qk.js} +23 -23
- package/dist/chunks/{generate-9qrr5ytc.js → repository-cache-2jexvr2j.js} +31 -31
- package/dist/chunks/{generate-awf2ev99.js → repository-cache-2nn7s44w.js} +21 -21
- package/dist/chunks/{generate-qsbq0yh0.js → repository-cache-2r71v196.js} +14 -14
- package/dist/chunks/{generate-9v1jeyvz.js → repository-cache-368y3b8n.js} +15 -15
- package/dist/chunks/{generate-3hepkmqq.js → repository-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-30ee3db1.js → repository-cache-3hq0yj39.js} +2 -2
- package/dist/chunks/{generate-3nnrz6f6.js → repository-cache-3nnrz6f6.js} +1 -1
- package/dist/chunks/{generate-qqg9c0kv.js → repository-cache-3ryz99p0.js} +4 -4
- package/dist/chunks/{generate-7yect7x1.js → repository-cache-3t73xeyv.js} +2 -2
- package/dist/chunks/{generate-sd44476b.js → repository-cache-3w0ebqzc.js} +12 -12
- package/dist/chunks/{generate-b2v4ah60.js → repository-cache-3z0hxnyk.js} +5 -5
- package/dist/chunks/{generate-0rtx0zsg.js → repository-cache-401hbwyh.js} +3 -3
- package/dist/chunks/{generate-e8f4mwat.js → repository-cache-46mxd6jt.js} +32 -32
- package/dist/chunks/{generate-5t7assdd.js → repository-cache-4btp19b3.js} +14 -14
- package/dist/chunks/{generate-0dmxj0ks.js → repository-cache-4c9y6q6s.js} +12 -12
- package/dist/chunks/{generate-4pyp9zr9.js → repository-cache-4pyp9zr9.js} +1 -1
- package/dist/chunks/{generate-2cy0x1ts.js → repository-cache-4rdf7p1z.js} +6 -6
- package/dist/chunks/{generate-4v008n1t.js → repository-cache-4v008n1t.js} +1 -1
- package/dist/chunks/{generate-x2ghphdg.js → repository-cache-4yq3azdc.js} +24 -24
- package/dist/chunks/{generate-1k9p9gsd.js → repository-cache-54cc93aa.js} +35 -35
- package/dist/chunks/{generate-0ykwm9kb.js → repository-cache-5bbnem9k.js} +11 -11
- package/dist/chunks/{generate-mpxymb45.js → repository-cache-5btzaxpa.js} +17 -17
- package/dist/chunks/{generate-5m9w47nd.js → repository-cache-5m9w47nd.js} +1 -1
- package/dist/chunks/{generate-xa3svp4j.js → repository-cache-5mkx8w5e.js} +11 -11
- package/dist/chunks/{generate-zt6ym1y0.js → repository-cache-5vz29j2k.js} +22 -22
- package/dist/chunks/{generate-1yq9hg58.js → repository-cache-5zrxpy3q.js} +5 -5
- package/dist/chunks/{generate-r3wxrxmk.js → repository-cache-60ge4sjk.js} +20 -20
- package/dist/chunks/{generate-bjhzkqyk.js → repository-cache-61ennm6n.js} +4 -4
- package/dist/chunks/{generate-f1kba4eb.js → repository-cache-61t7fw61.js} +22 -22
- package/dist/chunks/{generate-vz54nt0f.js → repository-cache-69gwv1xx.js} +5 -5
- package/dist/chunks/{generate-mn1kjsd1.js → repository-cache-69zgfr7z.js} +12 -12
- package/dist/chunks/{generate-6esdw8yj.js → repository-cache-6esdw8yj.js} +1 -1
- package/dist/chunks/{generate-zczrc06z.js → repository-cache-6fjx9w38.js} +18 -18
- package/dist/chunks/{generate-ts8qfj50.js → repository-cache-6nw1th37.js} +4 -4
- package/dist/chunks/{generate-t5j4wmcc.js → repository-cache-6xz7nqt8.js} +12 -12
- package/dist/chunks/{generate-3kdbrncp.js → repository-cache-6y263vp8.js} +5 -5
- package/dist/chunks/{generate-qhhpkx69.js → repository-cache-6z1320sj.js} +32 -32
- package/dist/chunks/{generate-d5nbwyme.js → repository-cache-6ze967nv.js} +57 -57
- package/dist/chunks/{generate-s754n69y.js → repository-cache-6zz3v10r.js} +15 -15
- package/dist/chunks/{generate-bjz4w02w.js → repository-cache-744d0c63.js} +5 -5
- package/dist/chunks/{generate-a9ec5j8c.js → repository-cache-75g1xcwv.js} +15 -15
- package/dist/chunks/{generate-azvnm8mw.js → repository-cache-75v6tc0m.js} +15 -15
- package/dist/chunks/{generate-hvqg9qdf.js → repository-cache-76g7jkkw.js} +15 -15
- package/dist/chunks/{generate-tzqjqrvg.js → repository-cache-76q453m6.js} +25 -25
- package/dist/chunks/{generate-nah043kf.js → repository-cache-770pw0s1.js} +4 -4
- package/dist/chunks/{generate-7bmhse3q.js → repository-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-7w2ypzdf.js → repository-cache-7w2ypzdf.js} +1 -1
- package/dist/chunks/{generate-qgxcsxqz.js → repository-cache-83fkeet7.js} +9 -9
- package/dist/chunks/{generate-4yqzdbr3.js → repository-cache-8mtpnz0v.js} +18 -18
- package/dist/chunks/{generate-d8gzsssc.js → repository-cache-8nzygxt8.js} +52 -52
- package/dist/chunks/{generate-x3pdsm9g.js → repository-cache-8t2j541k.js} +16 -16
- package/dist/chunks/{generate-8wtp7s3z.js → repository-cache-8wtp7s3z.js} +1 -1
- package/dist/chunks/{generate-90zstvax.js → repository-cache-90zstvax.js} +1 -1
- package/dist/chunks/{generate-871wsk36.js → repository-cache-9111wyrc.js} +6 -6
- package/dist/chunks/{generate-yp7knqr4.js → repository-cache-93ab2gax.js} +20 -20
- package/dist/chunks/{generate-bj9t89jc.js → repository-cache-98qrekfe.js} +5 -5
- package/dist/chunks/{generate-9cx9sm2q.js → repository-cache-9cx9sm2q.js} +1 -1
- package/dist/chunks/{generate-s7kyse9r.js → repository-cache-9q8g9sv8.js} +4 -4
- package/dist/chunks/{generate-7j904b11.js → repository-cache-9ryshn0f.js} +24 -24
- package/dist/chunks/{generate-s4f8ct6t.js → repository-cache-9tvpxs1q.js} +4 -4
- package/dist/chunks/{generate-5nrwf5y6.js → repository-cache-a0tqv4gf.js} +17 -17
- package/dist/chunks/{generate-dajgfvtb.js → repository-cache-a16f13fh.js} +22 -22
- package/dist/chunks/{generate-fdda4p52.js → repository-cache-adf3gjyn.js} +31 -31
- package/dist/chunks/{generate-5g3z7kak.js → repository-cache-agrjqxtd.js} +45 -45
- package/dist/chunks/{generate-828gcpff.js → repository-cache-ajv3ghch.js} +22 -22
- package/dist/chunks/{generate-gjdtpzew.js → repository-cache-an749m78.js} +1 -1
- package/dist/chunks/{generate-w73gsg3z.js → repository-cache-asrq7j76.js} +17 -17
- package/dist/chunks/{generate-mbftkfp3.js → repository-cache-atw8c7pr.js} +3 -3
- package/dist/chunks/{generate-dqx4xtgw.js → repository-cache-ayj1td4f.js} +28 -28
- package/dist/chunks/{generate-ayjs7tqn.js → repository-cache-ayjs7tqn.js} +2 -2
- package/dist/chunks/{generate-gax45btb.js → repository-cache-b4e3zc8a.js} +38 -38
- package/dist/chunks/{generate-cg7vdfn2.js → repository-cache-b58rnyhw.js} +22 -22
- package/dist/chunks/{generate-b6vsg801.js → repository-cache-b6vsg801.js} +2 -2
- package/dist/chunks/{generate-6yhvg7vh.js → repository-cache-bb4x0tjg.js} +191 -191
- package/dist/chunks/{generate-9hkg0qbv.js → repository-cache-bec1vpmw.js} +31 -31
- package/dist/chunks/{generate-bstexjd6.js → repository-cache-bstexjd6.js} +1 -1
- package/dist/chunks/{generate-vgnm1wd9.js → repository-cache-bt05tr8e.js} +5 -5
- package/dist/chunks/{generate-k1km0kwj.js → repository-cache-bwewbjz4.js} +13 -13
- package/dist/chunks/{generate-rjgm8kvq.js → repository-cache-bwjvbmsb.js} +79 -79
- package/dist/chunks/{generate-zvgjxag2.js → repository-cache-bx992dmv.js} +9 -9
- package/dist/chunks/{generate-t09et5ra.js → repository-cache-bxpjy74r.js} +18 -18
- package/dist/chunks/{generate-8r41k98t.js → repository-cache-c1tffms3.js} +51 -51
- package/dist/chunks/{generate-3k4091hg.js → repository-cache-c7w77bqn.js} +12 -12
- package/dist/chunks/{generate-nskk21ck.js → repository-cache-c9xzbdd8.js} +5 -5
- package/dist/chunks/{generate-mzs1wwgg.js → repository-cache-cbyw8mhh.js} +13 -13
- package/dist/chunks/{generate-gr4a1mt9.js → repository-cache-csyeyjrf.js} +9 -9
- package/dist/chunks/{generate-0dtejqt5.js → repository-cache-cwcqs07e.js} +33 -33
- package/dist/chunks/{generate-cwrgdav8.js → repository-cache-cwrgdav8.js} +2 -2
- package/dist/chunks/{generate-anmc9emg.js → repository-cache-cyty15yb.js} +26 -26
- package/dist/chunks/{generate-d4v9tmah.js → repository-cache-d4v9tmah.js} +2 -2
- package/dist/chunks/{generate-p6jdjv39.js → repository-cache-dg9hqg77.js} +3 -3
- package/dist/chunks/{generate-9v7mpwrt.js → repository-cache-dh0xafzq.js} +35 -35
- package/dist/chunks/{generate-djjzzs3c.js → repository-cache-djjzzs3c.js} +3 -3
- package/dist/chunks/{generate-jn88007r.js → repository-cache-dkqkergf.js} +9 -9
- package/dist/chunks/{generate-bgwcavjj.js → repository-cache-dqpjcdfr.js} +9 -9
- package/dist/chunks/{generate-dt77769w.js → repository-cache-dt77769w.js} +1 -1
- package/dist/chunks/{generate-j9dfrzf1.js → repository-cache-dwy6z8dc.js} +21 -21
- package/dist/chunks/{generate-ca66pcgg.js → repository-cache-dys1grgm.js} +11 -11
- package/dist/chunks/{generate-pcty9z1k.js → repository-cache-e07q2w5p.js} +4 -4
- package/dist/chunks/{generate-tfcaxdgg.js → repository-cache-e3p7per7.js} +91 -91
- package/dist/chunks/{generate-e834z07m.js → repository-cache-e834z07m.js} +1 -1
- package/dist/chunks/{generate-qm7m71ag.js → repository-cache-efqx7wb7.js} +12 -12
- package/dist/chunks/{generate-88zyrnzn.js → repository-cache-efz9xtfj.js} +23 -23
- package/dist/chunks/{generate-f1qn86q9.js → repository-cache-epsjn5re.js} +14 -14
- package/dist/chunks/{generate-e44yaama.js → repository-cache-evnead99.js} +9 -9
- package/dist/chunks/{generate-k80pfa45.js → repository-cache-f1h45990.js} +40 -40
- package/dist/chunks/{generate-8vdz7xys.js → repository-cache-f2hv8cv8.js} +11 -11
- package/dist/chunks/{generate-21jrj54j.js → repository-cache-f4zya5pk.js} +38 -38
- package/dist/chunks/{generate-1jd23vs3.js → repository-cache-fcq8h12c.js} +21 -21
- package/dist/chunks/{generate-knzehscp.js → repository-cache-fdfvc1dg.js} +24 -24
- package/dist/chunks/{generate-fffv3p7h.js → repository-cache-fffv3p7h.js} +1 -1
- package/dist/chunks/{generate-maje54r7.js → repository-cache-fhsk438g.js} +10 -10
- package/dist/chunks/{generate-syenhh65.js → repository-cache-fsd04637.js} +9 -9
- package/dist/chunks/{generate-nx49a0zd.js → repository-cache-fwgp6qwj.js} +2 -2
- package/dist/chunks/{generate-nxr9jypn.js → repository-cache-g2zgwj7s.js} +19 -19
- package/dist/chunks/{generate-z1tmcxf6.js → repository-cache-g3hvekgd.js} +20 -20
- package/dist/chunks/{generate-avr56bkg.js → repository-cache-g4y5gz37.js} +6 -6
- package/dist/chunks/{generate-v7wnn3sr.js → repository-cache-gcgkk9nz.js} +21 -21
- package/dist/chunks/{generate-n9d7asws.js → repository-cache-gf4hftfj.js} +10 -10
- package/dist/chunks/{generate-gg8p9cgs.js → repository-cache-gg8p9cgs.js} +3 -3
- package/dist/chunks/{generate-2mksk9k9.js → repository-cache-gh11ee6b.js} +15 -16
- package/dist/chunks/{generate-wvfn79zg.js → repository-cache-gj88ka9e.js} +14 -14
- package/dist/chunks/{generate-jx1apdrb.js → repository-cache-grfmaxtg.js} +33 -33
- package/dist/chunks/{generate-985zap26.js → repository-cache-grnvj370.js} +11 -11
- package/dist/chunks/{generate-xsm7bj45.js → repository-cache-gybe5gkg.js} +20 -20
- package/dist/chunks/{generate-rn2g8gvy.js → repository-cache-h255y8je.js} +35 -35
- package/dist/chunks/{generate-tenqdnpv.js → repository-cache-h4ydejha.js} +13 -13
- package/dist/chunks/{generate-c46s9eb3.js → repository-cache-haf3v3hy.js} +5 -5
- package/dist/chunks/{generate-mryb701n.js → repository-cache-havzekw2.js} +1 -1
- package/dist/chunks/{generate-hdfrs5mg.js → repository-cache-hdfrs5mg.js} +2 -2
- package/dist/chunks/{generate-gb808nsr.js → repository-cache-hgrfbex2.js} +9 -9
- package/dist/chunks/{generate-hpg1pkwy.js → repository-cache-hpg1pkwy.js} +1 -1
- package/dist/chunks/{generate-jtgecbs6.js → repository-cache-hxvg6wb1.js} +18 -18
- package/dist/chunks/{generate-hx3mz2q2.js → repository-cache-j0tgfc8g.js} +8 -8
- package/dist/chunks/{generate-8k8pzbp4.js → repository-cache-j49x6kf4.js} +8 -8
- package/dist/chunks/{generate-xrxd4ypf.js → repository-cache-j6gvah3y.js} +32 -32
- package/dist/chunks/{generate-tgz64rdx.js → repository-cache-j7407a90.js} +15 -15
- package/dist/chunks/{generate-b4fdcaj4.js → repository-cache-jb6rb1an.js} +13 -13
- package/dist/chunks/{generate-vrcsa8qx.js → repository-cache-jcqm84fr.js} +9 -9
- package/dist/chunks/{generate-jfaecv01.js → repository-cache-jfaecv01.js} +1 -1
- package/dist/chunks/{generate-xdem3tjk.js → repository-cache-jgy2dcvd.js} +11 -11
- package/dist/chunks/{generate-6bxss06n.js → repository-cache-jmzf3sak.js} +36 -36
- package/dist/chunks/{generate-d8zpry8c.js → repository-cache-jpj38ht1.js} +1 -1
- package/dist/chunks/{generate-a2vfm55n.js → repository-cache-js6kqssh.js} +5 -5
- package/dist/chunks/{generate-jtnps1zs.js → repository-cache-jtnps1zs.js} +2 -2
- package/dist/chunks/{generate-1c738wz7.js → repository-cache-jwhwbamd.js} +21 -21
- package/dist/chunks/{generate-p3c06s3c.js → repository-cache-jzesebws.js} +17 -17
- package/dist/chunks/{generate-38rcx8gw.js → repository-cache-k2rhsbab.js} +4 -4
- package/dist/chunks/{generate-dzvgbg8c.js → repository-cache-k6c5bswj.js} +16 -16
- package/dist/chunks/{generate-k814nvkf.js → repository-cache-k814nvkf.js} +1 -1
- package/dist/chunks/{generate-m5ef9g4d.js → repository-cache-kk93czde.js} +16 -16
- package/dist/chunks/{generate-jse617h6.js → repository-cache-kke9g1hb.js} +53 -53
- package/dist/chunks/{generate-4bm1jzjx.js → repository-cache-knt1f303.js} +15 -15
- package/dist/chunks/{generate-c0j152jj.js → repository-cache-kqjqdw98.js} +47 -47
- package/dist/chunks/{generate-kt3bjfbg.js → repository-cache-kt3bjfbg.js} +1 -1
- package/dist/chunks/{generate-m1714858.js → repository-cache-m1714858.js} +1 -1
- package/dist/chunks/{generate-wbc755ty.js → repository-cache-m29sxe67.js} +11 -11
- package/dist/chunks/{generate-sjr9jxa3.js → repository-cache-m6ved7xn.js} +25 -25
- package/dist/chunks/{generate-m9w0rfyh.js → repository-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-s0m9mztq.js → repository-cache-mc3192g6.js} +54 -54
- package/dist/chunks/{generate-zx09p1gy.js → repository-cache-me73n50h.js} +11 -11
- package/dist/chunks/{generate-2jrrfqe1.js → repository-cache-mj0wev1x.js} +4 -4
- package/dist/chunks/{generate-q83j2tds.js → repository-cache-mptjpcxy.js} +9 -9
- package/dist/chunks/{generate-ax4wpyb0.js → repository-cache-mszzfg2j.js} +23 -23
- package/dist/chunks/{generate-sz054x7k.js → repository-cache-nx0czgsy.js} +3 -3
- package/dist/chunks/{generate-p015t6z3.js → repository-cache-p015t6z3.js} +2 -2
- package/dist/chunks/{generate-qewh6z9z.js → repository-cache-p1vte9h6.js} +11 -11
- package/dist/chunks/{generate-gcjxwgkz.js → repository-cache-p96sj727.js} +6 -6
- package/dist/chunks/{generate-typae2vg.js → repository-cache-pankmnx0.js} +15 -15
- package/dist/chunks/{generate-0bvbaefb.js → repository-cache-pbbktnbz.js} +4 -4
- package/dist/chunks/{generate-fqgfpq08.js → repository-cache-pfy2m4ca.js} +5 -5
- package/dist/chunks/{generate-q2kz667v.js → repository-cache-pk48tdmc.js} +8 -8
- package/dist/chunks/{generate-pknna89w.js → repository-cache-pknna89w.js} +1 -1
- package/dist/chunks/{generate-8rgb2cvr.js → repository-cache-pnwsrq7c.js} +11 -11
- package/dist/chunks/{generate-fg9p65nk.js → repository-cache-prq7xxp2.js} +6 -6
- package/dist/chunks/{generate-spmxmxwp.js → repository-cache-pzbtwyx3.js} +25 -25
- package/dist/chunks/{generate-scab19z6.js → repository-cache-q1s8j9ch.js} +4 -4
- package/dist/chunks/{generate-c8yg7wh5.js → repository-cache-q5h6r7rp.js} +27 -27
- package/dist/chunks/{generate-4j6w92j1.js → repository-cache-q9eywg3w.js} +27 -27
- package/dist/chunks/{generate-4nmwn958.js → repository-cache-q9qc3bva.js} +9 -9
- package/dist/chunks/{generate-qkqjbc48.js → repository-cache-qkqjbc48.js} +1 -1
- package/dist/chunks/{generate-wrj7qkae.js → repository-cache-qkxp7296.js} +1 -1
- package/dist/chunks/{generate-qp7r0hxv.js → repository-cache-qp7r0hxv.js} +1 -1
- package/dist/chunks/{generate-r0yr0wbs.js → repository-cache-r0yr0wbs.js} +1 -1
- package/dist/chunks/{generate-r542h3bh.js → repository-cache-r542h3bh.js} +1 -1
- package/dist/chunks/{generate-tn5ra6b3.js → repository-cache-r6whtadg.js} +12 -12
- package/dist/chunks/{generate-rb9dy4dg.js → repository-cache-rb9dy4dg.js} +1 -1
- package/dist/chunks/{generate-ecnyqwbg.js → repository-cache-rp5k6d8n.js} +16 -16
- package/dist/chunks/{generate-xh4gmrhb.js → repository-cache-rpkzka4k.js} +13 -13
- package/dist/chunks/{generate-v6mt8wtr.js → repository-cache-rqx7f7vj.js} +4 -4
- package/dist/chunks/{generate-rt5dr6hb.js → repository-cache-rt5dr6hb.js} +1 -1
- package/dist/chunks/{generate-syecjwvp.js → repository-cache-rwct159c.js} +11 -11
- package/dist/chunks/{generate-f9jtb5s4.js → repository-cache-rx5gvnt1.js} +28 -28
- package/dist/chunks/{generate-zwc34jj0.js → repository-cache-rz5tx8yt.js} +21 -21
- package/dist/chunks/{generate-825sajmc.js → repository-cache-s0815yd1.js} +32 -32
- package/dist/chunks/{generate-q9prhzwj.js → repository-cache-s3jtzn6y.js} +35 -35
- package/dist/chunks/{generate-94knkh23.js → repository-cache-s6re1h3h.js} +36 -36
- package/dist/chunks/{generate-t5d1jndw.js → repository-cache-sa01r6br.js} +7 -7
- package/dist/chunks/{generate-sa3fpqfw.js → repository-cache-sa3fpqfw.js} +2 -2
- package/dist/chunks/{generate-g2vd0h49.js → repository-cache-scvnz3tv.js} +45 -45
- package/dist/chunks/{generate-g3xh12jg.js → repository-cache-sgrnxxty.js} +19 -19
- package/dist/chunks/{generate-gfh3rx86.js → repository-cache-sgrvbqkr.js} +20 -20
- package/dist/chunks/{generate-xeax9z1c.js → repository-cache-sh0q5wym.js} +35 -35
- package/dist/chunks/{generate-0pzycfxn.js → repository-cache-sjt6c43d.js} +11 -11
- package/dist/chunks/{generate-jqrt1e18.js → repository-cache-snb89k4v.js} +35 -35
- package/dist/chunks/{generate-sqjzf8x2.js → repository-cache-sqjzf8x2.js} +1 -1
- package/dist/chunks/{generate-kkqethq7.js → repository-cache-ssfehs1z.js} +4 -4
- package/dist/chunks/{generate-pzy1ge40.js → repository-cache-stwk20ed.js} +8 -8
- package/dist/chunks/{generate-svcy3p9a.js → repository-cache-svcy3p9a.js} +1 -1
- package/dist/chunks/{generate-tm4h45vh.js → repository-cache-sytrbmxa.js} +21 -21
- package/dist/chunks/{generate-p9z57wfw.js → repository-cache-t0zgzgtb.js} +12 -12
- package/dist/chunks/{generate-1xht4w09.js → repository-cache-taveqshq.js} +14 -14
- package/dist/chunks/{generate-tczq8hjw.js → repository-cache-tczq8hjw.js} +1 -1
- package/dist/chunks/{generate-kmzgegqq.js → repository-cache-tg1vr1qt.js} +8 -8
- package/dist/chunks/{generate-91w4e7n6.js → repository-cache-thyeeq05.js} +3 -3
- package/dist/chunks/{generate-vpm8vpz0.js → repository-cache-ts7mkfs9.js} +3 -3
- package/dist/chunks/{generate-twssxy5n.js → repository-cache-twssxy5n.js} +2 -2
- package/dist/chunks/{generate-8c52w60q.js → repository-cache-twtxmczq.js} +12 -12
- package/dist/chunks/{generate-1q071vx1.js → repository-cache-txxjr4gv.js} +27 -27
- package/dist/chunks/{generate-v2r1d0zg.js → repository-cache-v2r1d0zg.js} +1 -1
- package/dist/chunks/{generate-ms4mtp00.js → repository-cache-v7wb1cp1.js} +16 -16
- package/dist/chunks/{generate-sz7wvhh4.js → repository-cache-vb2nzj1m.js} +25 -25
- package/dist/chunks/{generate-rcgfqkyt.js → repository-cache-vdatw69e.js} +21 -21
- package/dist/chunks/{generate-veqvce7d.js → repository-cache-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-kq8jawwe.js → repository-cache-vqxcyac6.js} +11 -11
- package/dist/chunks/{generate-wmv0rq0d.js → repository-cache-vtsyfctf.js} +27 -27
- package/dist/chunks/{generate-r41sfy63.js → repository-cache-w2eysc6j.js} +6 -6
- package/dist/chunks/{generate-w3wsvvr9.js → repository-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-wr3re1en.js → repository-cache-w687dnns.js} +4 -4
- package/dist/chunks/{generate-vsnnaxjq.js → repository-cache-w76xjer3.js} +4 -4
- package/dist/chunks/{generate-65hsbk6w.js → repository-cache-w81qrt50.js} +9 -9
- package/dist/chunks/{generate-76cb1hcw.js → repository-cache-w8qtt4th.js} +4 -4
- package/dist/chunks/{generate-q85rya1m.js → repository-cache-wa8k00xj.js} +6 -6
- package/dist/chunks/{generate-wakvkjy4.js → repository-cache-wakvkjy4.js} +1 -1
- package/dist/chunks/{generate-wd87259q.js → repository-cache-wd87259q.js} +1 -1
- package/dist/chunks/{generate-1ap48dzm.js → repository-cache-ws0jw39t.js} +25 -25
- package/dist/chunks/{generate-25bqyrh1.js → repository-cache-wvk1wtsq.js} +11 -11
- package/dist/chunks/{generate-vhq13nx9.js → repository-cache-x00hvv89.js} +3 -3
- package/dist/chunks/{generate-z4da6g8s.js → repository-cache-x4etgdbd.js} +25 -25
- package/dist/chunks/{generate-mqx5s2g6.js → repository-cache-x4gc5gbk.js} +9 -9
- package/dist/chunks/{generate-02m8mtj2.js → repository-cache-x6d4sgx3.js} +11 -11
- package/dist/chunks/{generate-n01qhj0y.js → repository-cache-xt0z8zst.js} +4 -4
- package/dist/chunks/{generate-gfnmyn48.js → repository-cache-xwmtk72n.js} +8 -8
- package/dist/chunks/repository-cache-xx32eqvj.js +26 -0
- package/dist/chunks/{generate-yara3q77.js → repository-cache-yara3q77.js} +2 -2
- package/dist/chunks/{generate-yb20nhc3.js → repository-cache-yb20nhc3.js} +1 -1
- package/dist/chunks/{generate-v9mkjqza.js → repository-cache-yc79q165.js} +18 -18
- package/dist/chunks/{generate-9nckwqxr.js → repository-cache-yfkhsjsm.js} +6 -6
- package/dist/chunks/{generate-te8xnvcw.js → repository-cache-ytc9yt2s.js} +11 -11
- package/dist/chunks/{generate-bnjyqssh.js → repository-cache-ywqn3jdz.js} +8 -8
- package/dist/chunks/{generate-3b9vt7br.js → repository-cache-yz9rz98a.js} +8 -8
- package/dist/chunks/{generate-z0bkrqjs.js → repository-cache-z0bkrqjs.js} +1 -1
- package/dist/chunks/repository-cache-z355x5yr.js +18 -0
- package/dist/chunks/{generate-z38nccrw.js → repository-cache-z38nccrw.js} +1 -1
- package/dist/chunks/{generate-5cn08dj1.js → repository-cache-zaq8ky8h.js} +11 -11
- package/dist/chunks/{generate-cwqxgzxh.js → repository-cache-zc9mtzb2.js} +10 -10
- package/dist/chunks/{generate-yxg6183e.js → repository-cache-ze8w1qcn.js} +68 -68
- package/dist/chunks/{generate-zgd8t41s.js → repository-cache-zgd8t41s.js} +2 -2
- package/dist/chunks/{generate-zgkm4kzm.js → repository-cache-zgkm4kzm.js} +3 -3
- package/dist/chunks/{generate-jtth4p70.js → repository-cache-zwenfqkq.js} +7 -7
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +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 +121 -121
- 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 +121 -121
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +3 -3
- 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 +120 -120
- 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 +126 -126
- 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 +95 -95
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +228 -228
- 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 +11 -11
- package/dist/filesystem.js +112 -112
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +95 -95
- package/dist/generate.js +113 -113
- 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 +99 -99
- 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 +92 -92
- package/dist/instructions/builtins.js +93 -93
- 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 +93 -93
- package/dist/managed-policy.js +9 -9
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +115 -115
- package/dist/mcp/instructions.js +168 -168
- 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 +99 -99
- 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 +92 -92
- 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 +128 -128
- 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 +128 -128
- 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 +108 -108
- 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 +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +358 -358
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +232 -232
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- 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 +94 -94
- 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 +186 -186
- 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 +134 -134
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- 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 +3 -3
- package/dist/session/runner/step.js +152 -152
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- 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 +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +215 -215
- package/dist/session/system-prompt.js +5 -5
- 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 +223 -223
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +141 -141
- package/dist/skill.js +146 -146
- package/dist/snapshot.js +99 -99
- 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 +158 -158
- package/dist/tool/plugin/question.js +138 -138
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +147 -147
- package/dist/tool/plugin/subagent.js +224 -224
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +145 -145
- package/dist/tool/plugin/write.js +150 -150
- package/dist/tool/read-filesystem.js +108 -108
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/integration.d.ts +0 -2
- package/dist/usage-limits.js +93 -93
- 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 +101 -101
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +94 -94
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +87 -87
- package/dist/workspace/driver.js +7 -7
- 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 +104 -104
- package/package.json +8 -8
- package/dist/chunks/generate-00ve6mdn.js +0 -18
- package/dist/chunks/generate-1cgjwhkt.js +0 -26
- package/dist/chunks/generate-6k90qmab.js +0 -517
- package/dist/chunks/generate-gf3p0gyn.js +0 -257
- /package/dist/chunks/{generate-0qkdqm5v.js → repository-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → repository-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → repository-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → repository-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1jakw16s.js → repository-cache-1jakw16s.js} +0 -0
- /package/dist/chunks/{generate-24dcb14g.js → repository-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → repository-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2bv980vf.js → repository-cache-2bv980vf.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → repository-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → repository-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → repository-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → repository-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → repository-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → repository-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → repository-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4m86bj6y.js → repository-cache-4m86bj6y.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → repository-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → repository-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → repository-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → repository-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-5w3e23ze.js → repository-cache-5w3e23ze.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → repository-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-6q2bdcd1.js → repository-cache-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → repository-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → repository-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → repository-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-84wd9syh.js → repository-cache-84wd9syh.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → repository-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → repository-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-8wj87zfr.js → repository-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → repository-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → repository-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a058387c.js → repository-cache-a058387c.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → repository-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → repository-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → repository-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → repository-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → repository-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-beh6qq61.js → repository-cache-beh6qq61.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → repository-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → repository-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → repository-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cqv5kn06.js → repository-cache-cqv5kn06.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → repository-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → repository-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → repository-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → repository-cache-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → repository-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → repository-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → repository-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → repository-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → repository-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → repository-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → repository-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → repository-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → repository-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → repository-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → repository-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → repository-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-fkpq3x5p.js → repository-cache-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → repository-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → repository-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → repository-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → repository-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hcxmzztb.js → repository-cache-hcxmzztb.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → repository-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → repository-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → repository-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jjkms2e6.js → repository-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → repository-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → repository-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jwr30sdr.js → repository-cache-jwr30sdr.js} +0 -0
- /package/dist/chunks/{generate-jze0r7bz.js → repository-cache-jze0r7bz.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → repository-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-m18g726c.js → repository-cache-m18g726c.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → repository-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → repository-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → repository-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → repository-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-ncqqe42p.js → repository-cache-ncqqe42p.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → repository-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-p71gwv9c.js → repository-cache-p71gwv9c.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → repository-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → repository-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → repository-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → repository-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → repository-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qg3g05ea.js → repository-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → repository-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → repository-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → repository-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → repository-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-ve7vex1e.js → repository-cache-ve7vex1e.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → repository-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wc3fc9cn.js → repository-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → repository-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → repository-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → repository-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → repository-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → repository-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8f7s663.js → repository-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → repository-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → repository-cache-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z5v4ffb3.js → repository-cache-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → repository-cache-z9919s4g.js} +0 -0
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./repository-cache-kke9g1hb.js";
|
|
4
4
|
import {
|
|
5
5
|
Service12
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-zgd8t41s.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-hpg1pkwy.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher = {};
|
|
16
16
|
__export(exports_location_watcher, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin30
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin30 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service65;
|
|
26
26
|
const policy = yield* Service12;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
@@ -35,4 +35,4 @@ var Plugin40 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin30, exports_location_watcher };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./repository-cache-6fjx9w38.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./repository-cache-gj88ka9e.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service65
|
|
9
|
+
} from "./repository-cache-kke9g1hb.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-xt0z8zst.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
File3,
|
|
15
|
+
Service59
|
|
16
|
+
} from "./repository-cache-2jexvr2j.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin23
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -31,17 +31,17 @@ import { sameDirectory } from "@opencode/util/path";
|
|
|
31
31
|
import path, { dirname, join } from "path";
|
|
32
32
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
33
33
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
34
|
-
var
|
|
34
|
+
var Plugin23 = define({
|
|
35
35
|
id: "opencode.config.instruction",
|
|
36
36
|
effect: Effect.fn(function* (ctx) {
|
|
37
|
-
const discovery = yield*
|
|
37
|
+
const discovery = yield* Service59;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service65;
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
42
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
43
|
-
const location = yield*
|
|
44
|
-
const watcher = yield*
|
|
43
|
+
const location = yield* Service82;
|
|
44
|
+
const watcher = yield* Service66;
|
|
45
45
|
const changes = yield* PubSub.sliding(1);
|
|
46
46
|
const watches = yield* FiberMap.make();
|
|
47
47
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -66,13 +66,13 @@ var Plugin47 = define({
|
|
|
66
66
|
yield* updates.pipe(Stream.runForEach(publish), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
}
|
|
68
68
|
const read = Effect.fn("ConfigInstructionPlugin.read")(function* (filepath) {
|
|
69
|
-
return yield* fs.readFileString(filepath).pipe(Effect.map((content) => new
|
|
69
|
+
return yield* fs.readFileString(filepath).pipe(Effect.map((content) => new File3({ path: filepath, content })), Effect.catchIf((error) => error.reason._tag === "NotFound" || FSUtil.isAccessDenied(error), (error) => Effect.logDebug("instruction file skipped", { path: filepath, reason: error.reason._tag }).pipe(Effect.as(error.reason._tag === "NotFound" ? undefined : "denied"))));
|
|
70
70
|
});
|
|
71
71
|
const globalSource = Effect.fn("ConfigInstructionPlugin.globalSource")(function* () {
|
|
72
72
|
if (!discovery.global || !(yield* fs.isFile(globalFile)))
|
|
73
73
|
return [];
|
|
74
74
|
const file = yield* read(globalFile);
|
|
75
|
-
return file instanceof
|
|
75
|
+
return file instanceof File3 ? [file] : [];
|
|
76
76
|
});
|
|
77
77
|
const projectSource = Effect.fn("ConfigInstructionPlugin.projectSource")(function* () {
|
|
78
78
|
if (!project)
|
|
@@ -82,7 +82,7 @@ var Plugin47 = define({
|
|
|
82
82
|
const files = yield* Effect.forEach(discovered, read, { concurrency: "unbounded" });
|
|
83
83
|
if (files.some((file) => file === undefined))
|
|
84
84
|
return unavailable3;
|
|
85
|
-
return files.filter((file) => file instanceof
|
|
85
|
+
return files.filter((file) => file instanceof File3);
|
|
86
86
|
});
|
|
87
87
|
const match = Effect.fn("ConfigInstructionPlugin.match")(function* (source) {
|
|
88
88
|
const expanded = source.startsWith("~/") ? path.join(global.home, source.slice(2)) : source;
|
|
@@ -117,7 +117,7 @@ var Plugin47 = define({
|
|
|
117
117
|
continue;
|
|
118
118
|
watched.add(resolved);
|
|
119
119
|
const file = yield* read(resolved);
|
|
120
|
-
if (file instanceof
|
|
120
|
+
if (file instanceof File3)
|
|
121
121
|
files.push(file);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
@@ -136,7 +136,7 @@ var Plugin47 = define({
|
|
|
136
136
|
const reconfigure = Effect.fn("ConfigInstructionPlugin.reconfigure")(function* () {
|
|
137
137
|
const entries = yield* config.entries();
|
|
138
138
|
const sources = Array.from(new Set(entries.flatMap((entry) => entry.type === "document" ? entry.info.instructions ?? [] : [])));
|
|
139
|
-
const fetched = yield* Effect.forEach(sources.filter(isUrl), (url) => HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.text), Effect.timeout("5 seconds"), Effect.map((content) => new
|
|
139
|
+
const fetched = yield* Effect.forEach(sources.filter(isUrl), (url) => HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.text), Effect.timeout("5 seconds"), Effect.map((content) => new File3({ path: url, content })), Effect.catchCause((cause) => Effect.logWarning("failed to fetch instruction url", { url, cause }).pipe(Effect.as(configured.remote.get(url))))), { concurrency: 4 });
|
|
140
140
|
configured.sources = sources;
|
|
141
141
|
configured.remote = new Map(fetched.filter((file) => file !== undefined).map((file) => [file.path, file]));
|
|
142
142
|
}, (effect) => lock.withPermit(effect));
|
|
@@ -180,4 +180,4 @@ function isUrl(source) {
|
|
|
180
180
|
return URL.canParse(source) && /^https?:$/.test(new URL(source).protocol);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { Plugin23, exports_instruction };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
stringify2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-1jakw16s.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-98qrekfe.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-jze0r7bz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured11,
|
|
11
|
+
layer: () => layer27,
|
|
12
|
+
make: () => make23,
|
|
13
|
+
node: () => node80,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make23()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make23(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make22(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer27 = (input) => Layer.succeed(Metadata2, make23(input));
|
|
32
|
+
var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer27(input), deps: [] });
|
|
33
|
+
var node80 = configured11();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make23, useragent2, layer27, configured11, node80, exports_app };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service65
|
|
4
|
+
} from "./repository-cache-kke9g1hb.js";
|
|
5
5
|
import {
|
|
6
6
|
BlobTable2,
|
|
7
7
|
BlobRefTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-gg8p9cgs.js";
|
|
9
9
|
import {
|
|
10
10
|
refHash2,
|
|
11
11
|
ref2,
|
|
12
12
|
FileRef2,
|
|
13
13
|
ToolFileRef2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-prq7xxp2.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/session/blob.ts
|
|
20
20
|
var exports_blob = {};
|
|
@@ -186,7 +186,7 @@ var read3 = Effect.fnUntraced(function* (db, hash) {
|
|
|
186
186
|
});
|
|
187
187
|
var hashBytes2 = (raw) => createHash("sha256").update(raw).digest("hex");
|
|
188
188
|
var enabled2 = Effect.gen(function* () {
|
|
189
|
-
const config = yield* Effect.serviceOption(
|
|
189
|
+
const config = yield* Effect.serviceOption(Service65);
|
|
190
190
|
if (Option.isNone(config))
|
|
191
191
|
return false;
|
|
192
192
|
return latest2(yield* config.value.entries(), "experimental")?.media_blob === true;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make20,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-xt0z8zst.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize3,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-fffv3p7h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
17
|
+
var exports_instructions5 = {};
|
|
18
|
+
__export(exports_instructions5, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions5,
|
|
20
|
+
make: () => make17,
|
|
21
|
+
render: () => render3,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
|
|
|
32
32
|
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
33
33
|
|
|
34
34
|
## Available tools`;
|
|
35
|
-
function
|
|
35
|
+
function render3(catalog) {
|
|
36
36
|
if (catalog.total === 0)
|
|
37
37
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
38
38
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -46,7 +46,7 @@ ${tools.join(`
|
|
|
46
46
|
function update3(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
|
-
${
|
|
49
|
+
${render3(current)}`;
|
|
50
50
|
if (current.total === 0)
|
|
51
51
|
return replacement;
|
|
52
52
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -111,18 +111,18 @@ ${render2(current)}`;
|
|
|
111
111
|
}
|
|
112
112
|
var key = Key3.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make17 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize3(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make20({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
|
-
initial:
|
|
121
|
+
initial: render3,
|
|
122
122
|
changed: update3,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { render3, update3, make17, exports_instructions5 };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-xt0z8zst.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./repository-cache-gg8p9cgs.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveModel2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-mj0wev1x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/identity.ts
|
|
9
9
|
var exports_identity = {};
|
|
10
10
|
__export(exports_identity, {
|
|
11
11
|
IdentityPlugin: () => exports_identity,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin45,
|
|
13
13
|
identity: () => identity2
|
|
14
14
|
});
|
|
15
15
|
import { SystemPart } from "@opencode/ai/effect";
|
|
@@ -24,7 +24,7 @@ function identity2(model) {
|
|
|
24
24
|
].join(`
|
|
25
25
|
`);
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var Plugin45 = define({
|
|
28
28
|
id: "opencode.prompt.identity",
|
|
29
29
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
30
30
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -37,4 +37,4 @@ var Plugin30 = define({
|
|
|
37
37
|
})
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
export { identity2,
|
|
40
|
+
export { identity2, Plugin45, exports_identity };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service41
|
|
3
|
+
} from "./repository-cache-a16f13fh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service50
|
|
6
|
+
} from "./repository-cache-wa8k00xj.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./repository-cache-z355x5yr.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,10 +19,10 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
22
|
+
const instances = yield* Service50;
|
|
23
23
|
yield* Effect.gen(function* () {
|
|
24
24
|
yield* awaitActivation2;
|
|
25
|
-
const commands = yield*
|
|
25
|
+
const commands = yield* Service41;
|
|
26
26
|
yield* commands.execute({
|
|
27
27
|
name: input.command,
|
|
28
28
|
invocation: {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info19
|
|
7
|
+
} from "./repository-cache-9q8g9sv8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigAgentV1: () =>
|
|
16
|
-
Info: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
ConfigAgentV1: () => exports_agent4,
|
|
16
|
+
Info: () => Info18
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info19)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info18 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info18, exports_agent4 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-cache-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/stored.ts
|
|
9
9
|
var exports_stored = {};
|
|
10
10
|
__export(exports_stored, {
|
|
11
|
-
File: () =>
|
|
11
|
+
File: () => File2,
|
|
12
12
|
FileRef: () => FileRef2,
|
|
13
13
|
Ref: () => Ref2,
|
|
14
14
|
SessionStored: () => exports_stored,
|
|
@@ -28,10 +28,10 @@ var refHash2 = (ref) => ref.slice("media:".length);
|
|
|
28
28
|
var ref2 = (hash) => `media:${hash}`;
|
|
29
29
|
var { data: _, ...attachment } = FileAttachment.fields;
|
|
30
30
|
var FileRef2 = Schema.Struct({ ...attachment, uri: Ref2 });
|
|
31
|
-
var
|
|
31
|
+
var File2 = Schema.Union([FileAttachment, FileRef2]);
|
|
32
32
|
var ToolFileRef2 = Schema.Struct({ ...Tool.FileContent.fields, uri: Ref2 });
|
|
33
|
-
var files = Schema.Array(
|
|
33
|
+
var files = Schema.Array(File2).pipe(optional);
|
|
34
34
|
var UserPayload3 = Schema.Struct({ ...InboxUserPayload.fields, files });
|
|
35
35
|
var User3 = Schema.Struct({ ...SessionMessage2.User.fields, files });
|
|
36
36
|
|
|
37
|
-
export { Ref2, refHash2, ref2, FileRef2,
|
|
37
|
+
export { Ref2, refHash2, ref2, FileRef2, File2, ToolFileRef2, UserPayload3, User3, exports_stored };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./repository-cache-69zgfr7z.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-cache-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
evaluate2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-cache-kqjqdw98.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-cache-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/skill.ts
|
|
17
17
|
var exports_skill5 = {};
|
|
18
18
|
__export(exports_skill5, {
|
|
19
19
|
DirectorySource: () => DirectorySource2,
|
|
20
20
|
EmbeddedSource: () => EmbeddedSource2,
|
|
21
|
-
Event: () =>
|
|
22
|
-
ID: () =>
|
|
23
|
-
Info: () =>
|
|
21
|
+
Event: () => Event7,
|
|
22
|
+
ID: () => ID4,
|
|
23
|
+
Info: () => Info10,
|
|
24
24
|
Name: () => Name2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service45,
|
|
26
26
|
Skill: () => exports_skill5,
|
|
27
27
|
Source: () => Source4,
|
|
28
28
|
UrlSource: () => UrlSource2,
|
|
29
29
|
available: () => available4,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node48,
|
|
31
31
|
prepare: () => prepare3,
|
|
32
32
|
toModelOutput: () => toModelOutput3
|
|
33
33
|
});
|
|
@@ -36,13 +36,13 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
36
36
|
import path from "path";
|
|
37
37
|
import { Context, Effect, Layer } from "effect";
|
|
38
38
|
import { Skill } from "@opencode/schema/skill";
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event7 } from "@opencode/schema/skill";
|
|
40
40
|
var DirectorySource2 = Skill.DirectorySource;
|
|
41
41
|
var UrlSource2 = Skill.UrlSource;
|
|
42
42
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
43
43
|
var Source4 = Skill.Source;
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info10 = Skill.Info;
|
|
45
|
+
var ID4 = Skill.ID;
|
|
46
46
|
var Name2 = Skill.Name;
|
|
47
47
|
var available4 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
48
48
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -79,21 +79,21 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
79
79
|
};
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service45 extends Context.Service()("@opencode/Skill") {
|
|
83
83
|
}
|
|
84
|
-
var layer = Layer.effect(
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service85;
|
|
86
86
|
const state = create3({
|
|
87
87
|
name: "skill",
|
|
88
88
|
initial: () => ({ skills: new Map }),
|
|
89
89
|
editor: (editor) => ({
|
|
90
90
|
list: () => Array.from(editor.skills.values()),
|
|
91
|
-
get: (id) => editor.skills.get(
|
|
91
|
+
get: (id) => editor.skills.get(ID4.make(id)),
|
|
92
92
|
add: (skill) => {
|
|
93
93
|
editor.skills.set(skill.id, { ...skill });
|
|
94
94
|
},
|
|
95
95
|
update: (id, update) => {
|
|
96
|
-
const key =
|
|
96
|
+
const key = ID4.make(id);
|
|
97
97
|
const current = editor.skills.get(key);
|
|
98
98
|
if (!current)
|
|
99
99
|
return;
|
|
@@ -101,12 +101,12 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
101
101
|
current.id = key;
|
|
102
102
|
},
|
|
103
103
|
remove: (id) => {
|
|
104
|
-
editor.skills.delete(
|
|
104
|
+
editor.skills.delete(ID4.make(id));
|
|
105
105
|
}
|
|
106
106
|
}),
|
|
107
107
|
notify: changes2((data) => Array.from(data.skills.values()), () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid))
|
|
108
108
|
});
|
|
109
|
-
return
|
|
109
|
+
return Service45.of({
|
|
110
110
|
transform: state.transform,
|
|
111
111
|
reload: state.reload,
|
|
112
112
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -117,10 +117,10 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
117
117
|
})
|
|
118
118
|
});
|
|
119
119
|
}));
|
|
120
|
-
var
|
|
121
|
-
service:
|
|
120
|
+
var node48 = makeLocationNode({
|
|
121
|
+
service: Service45,
|
|
122
122
|
layer,
|
|
123
|
-
deps: [
|
|
123
|
+
deps: [node89]
|
|
124
124
|
});
|
|
125
125
|
|
|
126
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
126
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info10, ID4, Name2, available4, toModelOutput3, prepare3, Service45, node48, exports_skill5, Event7 };
|