@opencode/core 0.0.0-dev-20607 → 0.0.0-dev-20610
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{location-service-map-6h1ernme.js → instance-03xyy9gs.js} +11 -11
- package/dist/chunks/instance-05b5j368.js +507 -0
- package/dist/chunks/{location-service-map-krfj817j.js → instance-061ex8ms.js} +27 -27
- package/dist/chunks/{location-service-map-cvkm58k9.js → instance-06t0mtft.js} +8 -8
- package/dist/chunks/{location-service-map-zz4sn9q4.js → instance-06w0zf5x.js} +20 -20
- package/dist/chunks/{location-service-map-rabyk6ss.js → instance-0f6tw8wx.js} +75 -75
- package/dist/chunks/{location-service-map-sjtbnqvp.js → instance-0jfbaq8b.js} +13 -13
- package/dist/chunks/{location-service-map-7dqw4kz8.js → instance-0jwsre1p.js} +5 -5
- package/dist/chunks/{location-service-map-y3cnzfcw.js → instance-0p1e9q97.js} +11 -11
- package/dist/chunks/{location-service-map-0paq2nw3.js → instance-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-service-map-0vbcp93d.js → instance-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-service-map-rnc49fc2.js → instance-0xzws6v9.js} +5 -5
- package/dist/chunks/{location-service-map-53bgxfmk.js → instance-10yezdh5.js} +12 -12
- package/dist/chunks/{location-service-map-96dqts0d.js → instance-11sgj035.js} +5 -5
- package/dist/chunks/{location-service-map-b7b4ctej.js → instance-150yg2gd.js} +5 -5
- package/dist/chunks/{location-service-map-hdsbstzs.js → instance-1516mxqq.js} +10 -10
- package/dist/chunks/{location-service-map-1dazxqgg.js → instance-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-service-map-1dvck2a7.js → instance-1dvck2a7.js} +2 -2
- package/dist/chunks/{location-service-map-fyrzxvtg.js → instance-1ga65a62.js} +11 -11
- package/dist/chunks/{location-service-map-gpkzke8p.js → instance-1hqeefd3.js} +39 -39
- package/dist/chunks/{location-service-map-1p07q0wb.js → instance-1p07q0wb.js} +2 -2
- package/dist/chunks/{location-service-map-smh0ga8y.js → instance-1r8xf4k8.js} +25 -25
- package/dist/chunks/{location-service-map-9w37xrbm.js → instance-1rg6zdq0.js} +44 -44
- package/dist/chunks/{location-service-map-s8x0g29c.js → instance-1w1tmbt0.js} +3 -3
- package/dist/chunks/{location-service-map-cbtv127h.js → instance-1wfe3aar.js} +9 -9
- package/dist/chunks/{location-service-map-gy3v3m9v.js → instance-1xjqddjw.js} +32 -32
- package/dist/chunks/{location-service-map-133f32ka.js → instance-21b4th59.js} +20 -20
- package/dist/chunks/{location-service-map-2a5m3afh.js → instance-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-service-map-v1bshzbv.js → instance-2cv82sm1.js} +4 -4
- package/dist/chunks/{location-service-map-07y2zfp9.js → instance-2ebxbzq0.js} +48 -48
- package/dist/chunks/{location-service-map-frxn4dna.js → instance-2pz1dket.js} +9 -9
- package/dist/chunks/{location-service-map-0tn2dqn2.js → instance-2yw19te2.js} +18 -18
- package/dist/chunks/{location-service-map-56gdpj1q.js → instance-33w4ejhs.js} +6 -6
- package/dist/chunks/{location-service-map-3fc6dm20.js → instance-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-service-map-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-service-map-1hqv1s8z.js → instance-3nyy9qdg.js} +20 -20
- package/dist/chunks/{location-service-map-3smtnn6g.js → instance-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-service-map-3tvqynh2.js → instance-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-service-map-3zsf4n22.js → instance-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-service-map-kjtqqvjp.js → instance-46qrs19m.js} +5 -5
- package/dist/chunks/{location-service-map-2ccvkpx1.js → instance-4ts7tf6z.js} +2 -2
- package/dist/chunks/{location-service-map-gs3s1a1g.js → instance-4w5f3qm5.js} +8 -8
- package/dist/chunks/instance-4wqkv42y.js +253 -0
- package/dist/chunks/{location-service-map-8saq18sj.js → instance-52h3c8zr.js} +6 -6
- package/dist/chunks/{location-service-map-57b9ws8p.js → instance-57b9ws8p.js} +1 -1
- package/dist/chunks/{location-service-map-5daktx2q.js → instance-5daktx2q.js} +1 -1
- package/dist/chunks/instance-5k5c02z5.js +26 -0
- package/dist/chunks/{location-service-map-5m9w47nd.js → instance-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-service-map-e3qxr5gk.js → instance-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-service-map-vgepzxbh.js → instance-5qwkxp89.js} +4 -4
- package/dist/chunks/{location-service-map-kgen349b.js → instance-5rnnm2b5.js} +9 -9
- package/dist/chunks/{location-service-map-5t3nmthw.js → instance-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-service-map-k70p9jzb.js → instance-5tcm9639.js} +9 -9
- package/dist/chunks/{location-service-map-h48t94e1.js → instance-5vnah7h1.js} +20 -20
- package/dist/chunks/{location-service-map-560ev8b8.js → instance-5z5vj2fw.js} +33 -33
- package/dist/chunks/{location-service-map-qyzkbgen.js → instance-688240zq.js} +17 -17
- package/dist/chunks/{location-service-map-g27m04hy.js → instance-6chcse23.js} +28 -28
- package/dist/chunks/{location-service-map-pbbf8beh.js → instance-6crk6he3.js} +16 -16
- package/dist/chunks/{location-service-map-dc7x1t2f.js → instance-6ejaggtm.js} +13 -13
- package/dist/chunks/{location-service-map-dsp31b57.js → instance-6hyc4smj.js} +48 -48
- package/dist/chunks/{location-service-map-z6c3x22d.js → instance-6kzp9tjq.js} +5 -5
- package/dist/chunks/{location-service-map-mrktx663.js → instance-6nj9kmwa.js} +84 -84
- package/dist/chunks/{location-service-map-vhdbs3a1.js → instance-6pvfzwk4.js} +12 -12
- package/dist/chunks/{location-service-map-17gnabje.js → instance-6q358bh2.js} +32 -32
- package/dist/chunks/{location-service-map-nbhr2m4b.js → instance-6trfhx2w.js} +16 -16
- package/dist/chunks/{location-service-map-6xb47vfp.js → instance-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-service-map-71az546q.js → instance-71az546q.js} +2 -2
- package/dist/chunks/{location-service-map-b4rapxnm.js → instance-75a34177.js} +9 -9
- package/dist/chunks/{location-service-map-8b314kvc.js → instance-79pnbzf8.js} +11 -11
- package/dist/chunks/{location-service-map-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-service-map-5fjhcnze.js → instance-7fz98kjr.js} +23 -23
- package/dist/chunks/{location-service-map-8nsp40k9.js → instance-7sve1s7k.js} +30 -34
- package/dist/chunks/{location-service-map-32rvz8xj.js → instance-82khrw2v.js} +28 -28
- package/dist/chunks/{location-service-map-cszmsfrf.js → instance-8699daf4.js} +9 -9
- package/dist/chunks/{location-service-map-f4mqptv1.js → instance-883nsyef.js} +11 -11
- package/dist/chunks/{location-service-map-sajsdr88.js → instance-8c3w37hs.js} +20 -20
- package/dist/chunks/{location-service-map-8d7r5vzw.js → instance-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-service-map-fjhp2044.js → instance-8gfz4eh2.js} +20 -20
- package/dist/chunks/{location-service-map-pq4fkvn9.js → instance-8macg92q.js} +35 -33
- package/dist/chunks/{location-service-map-v0m7kjv3.js → instance-8rhy6y1g.js} +17 -17
- package/dist/chunks/{location-service-map-wwyhy73j.js → instance-8w32dmzn.js} +16 -16
- package/dist/chunks/{location-service-map-906tg66d.js → instance-90hpmr2t.js} +11 -11
- package/dist/chunks/{location-service-map-yhgxvs9m.js → instance-90p59b3a.js} +8 -8
- package/dist/chunks/{location-service-map-a20kw498.js → instance-92tpvz42.js} +13 -13
- package/dist/chunks/{location-service-map-a8b9z964.js → instance-98qz235y.js} +24 -24
- package/dist/chunks/{location-service-map-9e5bzkjp.js → instance-9e5bzkjp.js} +3 -3
- package/dist/chunks/{location-service-map-rnps2brk.js → instance-9efg7y9t.js} +32 -32
- package/dist/chunks/{location-service-map-7bgx5xkz.js → instance-9fbgtg99.js} +19 -19
- package/dist/chunks/{location-service-map-rc3vp2rk.js → instance-9r8h993p.js} +37 -37
- package/dist/chunks/instance-9sh4wc5j.js +18 -0
- package/dist/chunks/{location-service-map-0gdmqesm.js → instance-9t7a50xb.js} +4 -4
- package/dist/chunks/{location-service-map-nj0hjdtg.js → instance-9xpmvrzr.js} +4 -4
- package/dist/chunks/{location-service-map-7yh4e7ss.js → instance-a1gpj94z.js} +3 -3
- package/dist/chunks/{location-service-map-bge34x1m.js → instance-a49htehw.js} +23 -23
- package/dist/chunks/{location-service-map-0j73fd1e.js → instance-a5rjx7dz.js} +11 -11
- package/dist/chunks/{location-service-map-qvvyz0z2.js → instance-a8pdnfr2.js} +4 -4
- package/dist/chunks/{location-service-map-46adtf6k.js → instance-a93wkb90.js} +10 -10
- package/dist/chunks/{location-service-map-aaet6srn.js → instance-aaet6srn.js} +2 -2
- package/dist/chunks/{location-service-map-62mtkykz.js → instance-aajqhe1e.js} +4 -4
- package/dist/chunks/{location-service-map-mxvxcxwy.js → instance-addxnjmp.js} +4 -4
- package/dist/chunks/{location-service-map-g6j9t2jv.js → instance-adq9f0f4.js} +2 -2
- package/dist/chunks/{location-service-map-3c5h48k2.js → instance-ag1x90e6.js} +35 -35
- package/dist/chunks/{location-service-map-2kvpt9hx.js → instance-an63rdp1.js} +12 -12
- package/dist/chunks/{location-service-map-ajtvjqy3.js → instance-ar0t0ytr.js} +3 -3
- package/dist/chunks/{location-service-map-cqfs93hb.js → instance-as1cmpym.js} +3 -3
- package/dist/chunks/{location-service-map-b795bzbv.js → instance-at0y7zg1.js} +1 -1
- package/dist/chunks/{location-service-map-pbeet7aa.js → instance-azepnje5.js} +33 -33
- package/dist/chunks/{location-service-map-5kr8sr9w.js → instance-b3c4ba4k.js} +91 -91
- package/dist/chunks/{location-service-map-zyk1yjk8.js → instance-b3f8fkhc.js} +5 -5
- package/dist/chunks/{location-service-map-np5yfqm9.js → instance-b48mk9ym.js} +23 -23
- package/dist/chunks/{location-service-map-b6gygkdw.js → instance-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-service-map-50bm5rnf.js → instance-b7133kdp.js} +14 -14
- package/dist/chunks/{location-service-map-6cmgmd4a.js → instance-bmy9by5b.js} +13 -13
- package/dist/chunks/{location-service-map-j4z37g3r.js → instance-bvqd8ete.js} +4 -4
- package/dist/chunks/{location-service-map-t2wk90xf.js → instance-bw0p2mxz.js} +46 -46
- package/dist/chunks/{location-service-map-a1tm9zkc.js → instance-c5t0xxre.js} +4 -4
- package/dist/chunks/{location-service-map-mvzc1faf.js → instance-c6asec25.js} +4 -4
- package/dist/chunks/{location-service-map-ybp4bmjn.js → instance-cgdcp7as.js} +58 -58
- package/dist/chunks/{location-service-map-s8gchy1y.js → instance-chk4y28x.js} +16 -16
- package/dist/chunks/{location-service-map-d4he2qe1.js → instance-cwa6csj7.js} +9 -9
- package/dist/chunks/{location-service-map-v4wjv8wb.js → instance-d6dqrmpe.js} +30 -30
- package/dist/chunks/{location-service-map-6hsaqmjv.js → instance-d6r2bgb5.js} +13 -13
- package/dist/chunks/{location-service-map-bee6msjx.js → instance-d8r7m49e.js} +185 -185
- package/dist/chunks/{location-service-map-wtqp5rca.js → instance-d9k6m3eh.js} +29 -29
- package/dist/chunks/{location-service-map-4j15tkb2.js → instance-dfp4h047.js} +2 -2
- package/dist/chunks/{location-service-map-59p7gm1v.js → instance-dh22rtqa.js} +28 -28
- package/dist/chunks/{location-service-map-v15fws8v.js → instance-dha6c8ch.js} +15 -15
- package/dist/chunks/{location-service-map-dpkg50ah.js → instance-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-service-map-6yz0wx8n.js → instance-dssbfrwz.js} +5 -5
- package/dist/chunks/{location-service-map-qzb16wfa.js → instance-dstzpyym.js} +23 -23
- package/dist/chunks/{location-service-map-r1810nq3.js → instance-dszma3mw.js} +33 -33
- package/dist/chunks/{location-service-map-tzg5e4wv.js → instance-dt93g92p.js} +7 -7
- package/dist/chunks/{location-service-map-ef5x83kb.js → instance-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-service-map-84fey7wp.js → instance-eq8trqq4.js} +7 -7
- package/dist/chunks/{location-service-map-sxzvkvgj.js → instance-eqkxs06z.js} +6 -6
- package/dist/chunks/{location-service-map-etq0c3wd.js → instance-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-service-map-bxsvygap.js → instance-exe4jfnn.js} +3 -3
- package/dist/chunks/{location-service-map-0h2462b6.js → instance-ey92qgz4.js} +60 -60
- package/dist/chunks/{location-service-map-s0y0yn56.js → instance-fa4nhyn2.js} +6 -6
- package/dist/chunks/{location-service-map-jzmk770h.js → instance-fb56cwgc.js} +11 -11
- package/dist/chunks/{location-service-map-krmqkxhm.js → instance-fgsxkm3h.js} +23 -23
- package/dist/chunks/{location-service-map-c9j62see.js → instance-fm5fvnjs.js} +15 -15
- package/dist/chunks/{location-service-map-xmwwa52d.js → instance-fyc1vt1g.js} +5 -5
- package/dist/chunks/{location-service-map-phstrbs2.js → instance-g0445xdp.js} +8 -8
- package/dist/chunks/{location-service-map-9jrbrbxe.js → instance-g18c16cn.js} +8 -8
- package/dist/chunks/{location-service-map-z8ezx559.js → instance-g3dpk68z.js} +11 -11
- package/dist/chunks/{location-service-map-gd4qta3r.js → instance-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-service-map-2vw1vn8h.js → instance-gebmw926.js} +22 -22
- package/dist/chunks/{location-service-map-ahf8jrpg.js → instance-gf7q08ta.js} +14 -14
- package/dist/chunks/{location-service-map-64evdrs9.js → instance-gf8d66gy.js} +3 -3
- package/dist/chunks/{location-service-map-rapdwame.js → instance-ggah8kdn.js} +15 -15
- package/dist/chunks/{location-service-map-yks67vbm.js → instance-gp4xd51v.js} +14 -14
- package/dist/chunks/{location-service-map-2f8dg7r9.js → instance-gx8cbkmr.js} +3 -3
- package/dist/chunks/{location-service-map-h2b79v29.js → instance-h2b79v29.js} +2 -2
- package/dist/chunks/{location-service-map-h6vf3j39.js → instance-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-service-map-gwmt3hf6.js → instance-hd520jvt.js} +30 -30
- package/dist/chunks/{location-service-map-rfq80a3s.js → instance-hgam3c2t.js} +9 -9
- package/dist/chunks/{location-service-map-wcpje083.js → instance-hgtd7sxh.js} +9 -9
- package/dist/chunks/{location-service-map-hf17jqb6.js → instance-hh12ateq.js} +31 -31
- package/dist/chunks/{location-service-map-vd0hs1zq.js → instance-hhtkekxq.js} +5 -5
- package/dist/chunks/{location-service-map-ktz1yp7f.js → instance-hj1rbs15.js} +22 -22
- package/dist/chunks/{location-service-map-twnyj2nz.js → instance-hpa9k3nz.js} +27 -27
- package/dist/chunks/{location-service-map-vgw03me9.js → instance-hpbk3cx3.js} +16 -16
- package/dist/chunks/{location-service-map-96q8bx9w.js → instance-hrbak6ed.js} +11 -11
- package/dist/chunks/{location-service-map-rrpq0de9.js → instance-hs1x7rht.js} +5 -5
- package/dist/chunks/{location-service-map-yf10kn3d.js → instance-hz0q9sdq.js} +8 -8
- package/dist/chunks/{location-service-map-3vjabw50.js → instance-j1m2d8rz.js} +23 -23
- package/dist/chunks/{location-service-map-1z6v8c1m.js → instance-j43bht9y.js} +51 -51
- package/dist/chunks/{location-service-map-j56e64zr.js → instance-j56e64zr.js} +1 -1
- package/dist/chunks/{location-service-map-jewzahs7.js → instance-j5rxtxht.js} +4 -4
- package/dist/chunks/{location-service-map-9028vjky.js → instance-j788tehn.js} +16 -16
- package/dist/chunks/{location-service-map-tahc9pmx.js → instance-jrmf5eaf.js} +5 -5
- package/dist/chunks/{location-service-map-74wszxt4.js → instance-jwswkjr5.js} +3 -3
- package/dist/chunks/{location-service-map-62ebmhy1.js → instance-k1ga6227.js} +45 -45
- package/dist/chunks/{location-service-map-re4s1yam.js → instance-k715whav.js} +17 -17
- package/dist/chunks/{location-service-map-tm1x6fre.js → instance-ke24spq9.js} +11 -11
- package/dist/chunks/{location-service-map-3b485cc9.js → instance-keezpjbp.js} +24 -24
- package/dist/chunks/{location-service-map-66mvr3tw.js → instance-kn5hpa16.js} +6 -6
- package/dist/chunks/{location-service-map-77gq4haj.js → instance-kn5qcdy9.js} +29 -29
- package/dist/chunks/{location-service-map-2g1wxhtt.js → instance-kn9kq010.js} +17 -17
- package/dist/chunks/{location-service-map-pbtkpxkp.js → instance-kr8bzxw6.js} +15 -15
- package/dist/chunks/{location-service-map-91vfa48t.js → instance-m2gy2b80.js} +13 -9
- package/dist/chunks/{location-service-map-b1nsrqhe.js → instance-m2h21z5w.js} +24 -24
- package/dist/chunks/{location-service-map-m3fdjcah.js → instance-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-service-map-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-whw0b61x.js → instance-me18drmk.js} +22 -22
- package/dist/chunks/{location-service-map-z3gh34g3.js → instance-mek16e5d.js} +11 -11
- package/dist/chunks/{location-service-map-xsgjgyxe.js → instance-mg83pbjr.js} +8 -8
- package/dist/chunks/{location-service-map-34rw04q0.js → instance-mgws3yhd.js} +39 -39
- package/dist/chunks/{location-service-map-qnq6130q.js → instance-mjgy5np3.js} +28 -28
- package/dist/chunks/{location-service-map-2pnhn36q.js → instance-mjymc32g.js} +21 -21
- package/dist/chunks/{location-service-map-143qq2q9.js → instance-mkdntajj.js} +3 -3
- package/dist/chunks/{location-service-map-4rb0mg85.js → instance-mn6vm61y.js} +22 -22
- package/dist/chunks/{location-service-map-kdfckzyx.js → instance-mp30kkje.js} +35 -35
- package/dist/chunks/{location-service-map-ckke8bsh.js → instance-mxftbxg7.js} +18 -18
- package/dist/chunks/{location-service-map-bmqeg3pf.js → instance-n26dy3x6.js} +15 -15
- package/dist/chunks/{location-service-map-mn05aezp.js → instance-nbkke0t0.js} +25 -25
- package/dist/chunks/{location-service-map-78sc1d6s.js → instance-ncnm8wen.js} +1 -1
- package/dist/chunks/{location-service-map-eda1mp39.js → instance-nkhp8jth.js} +5 -5
- package/dist/chunks/{location-service-map-nm3dz3wq.js → instance-nwetfm7s.js} +5 -5
- package/dist/chunks/{location-service-map-12v3t7pj.js → instance-nwsm515q.js} +12 -12
- package/dist/chunks/{location-service-map-55negpg1.js → instance-p6msb6wb.js} +25 -25
- package/dist/chunks/{location-service-map-32tj18ed.js → instance-pa0pw42g.js} +46 -46
- package/dist/chunks/{location-service-map-fxbae48g.js → instance-pdh9vt7t.js} +1 -1
- package/dist/chunks/{location-service-map-pjvnvgmy.js → instance-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-service-map-pknna89w.js → instance-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-y56ehv6b.js → instance-prq7hedt.js} +9 -9
- package/dist/chunks/{location-service-map-0j77ygfz.js → instance-q0xm7vwc.js} +6 -6
- package/dist/chunks/{location-service-map-f73rw7rj.js → instance-q4xxdhye.js} +13 -13
- package/dist/chunks/{location-service-map-06x8he3q.js → instance-q5asdkn4.js} +4 -4
- package/dist/chunks/{location-service-map-qnc92qwc.js → instance-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-service-map-qsdy395h.js → instance-qsdy395h.js} +1 -1
- package/dist/chunks/{location-service-map-5ebw3s4g.js → instance-r2jew814.js} +5 -5
- package/dist/chunks/{location-service-map-nsa9c7jf.js → instance-r5xe688n.js} +3 -3
- package/dist/chunks/{location-service-map-aynabq2n.js → instance-r7nzv3j4.js} +26 -26
- package/dist/chunks/{location-service-map-yp2x3t23.js → instance-r8xr0va3.js} +4 -4
- package/dist/chunks/{location-service-map-54ma36ye.js → instance-r94pvvab.js} +4 -4
- package/dist/chunks/{location-service-map-rdw6cm16.js → instance-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-service-map-4a79q9fk.js → instance-re2bjraj.js} +28 -28
- package/dist/chunks/{location-service-map-82tw8e42.js → instance-rqvjvppf.js} +6 -6
- package/dist/chunks/{location-service-map-033x7sps.js → instance-rx0r46zg.js} +22 -22
- package/dist/chunks/{location-service-map-3wbj7zy6.js → instance-s0xnbbxf.js} +23 -23
- package/dist/chunks/{location-service-map-gsgxb0qd.js → instance-s5ehqm4e.js} +39 -39
- package/dist/chunks/{location-service-map-p98ncs1z.js → instance-s8tj4g4z.js} +10 -10
- package/dist/chunks/{location-service-map-ymyjxh18.js → instance-scay856z.js} +26 -26
- package/dist/chunks/{location-service-map-8wrnx5a9.js → instance-sh87188k.js} +4 -4
- package/dist/chunks/{location-service-map-be97bsse.js → instance-shy63jre.js} +29 -29
- package/dist/chunks/{location-service-map-e05wtj98.js → instance-sj9qnw41.js} +17 -17
- package/dist/chunks/{location-service-map-xmx3w9c2.js → instance-skmsb61z.js} +24 -24
- package/dist/chunks/{location-service-map-10t1vvrx.js → instance-st4wjr8v.js} +22 -22
- package/dist/chunks/{location-service-map-qa3qhgw8.js → instance-t6vsspdg.js} +7 -7
- package/dist/chunks/{location-service-map-tazgh4e4.js → instance-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-service-map-eggqfxmw.js → instance-tbstzzf2.js} +15 -15
- package/dist/chunks/{location-service-map-tcezcvh9.js → instance-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-service-map-tdstcens.js → instance-tdstcens.js} +1 -1
- package/dist/chunks/{location-service-map-ts0gh8et.js → instance-tfez4kz2.js} +15 -15
- package/dist/chunks/{location-service-map-x97kt9p9.js → instance-tv2vwx7x.js} +45 -45
- package/dist/chunks/{location-service-map-9xf3evrj.js → instance-tvz28f38.js} +40 -40
- package/dist/chunks/{location-service-map-fpecnkgp.js → instance-v0es1rhs.js} +9 -9
- package/dist/chunks/{location-service-map-5t6fafd4.js → instance-v120vyaj.js} +24 -24
- package/dist/chunks/{location-service-map-9hj6ajcg.js → instance-v7xq79d0.js} +11 -11
- package/dist/chunks/{location-service-map-veqvce7d.js → instance-veqvce7d.js} +1 -1
- package/dist/chunks/{location-service-map-ns4vjkyd.js → instance-vm7w43ex.js} +18 -18
- package/dist/chunks/{location-service-map-8hw5gh57.js → instance-vmk8njyf.js} +13 -13
- package/dist/chunks/{location-service-map-wqxhcm17.js → instance-vn72gsba.js} +4 -4
- package/dist/chunks/{location-service-map-hd0bdjsh.js → instance-vs0333v6.js} +29 -29
- package/dist/chunks/{location-service-map-395tfjq6.js → instance-vwx54mwv.js} +20 -44
- package/dist/chunks/{location-service-map-vzs5sf6e.js → instance-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-service-map-84txncab.js → instance-w1eejvng.js} +5 -5
- package/dist/chunks/{location-service-map-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-service-map-wd87259q.js → instance-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-yeg9y40q.js → instance-wfjk1sf6.js} +14 -14
- package/dist/chunks/{location-service-map-t4zv7akb.js → instance-wxmtdghb.js} +45 -45
- package/dist/chunks/{location-service-map-mzcs760k.js → instance-x2tz5vft.js} +11 -11
- package/dist/chunks/{location-service-map-hy66f6me.js → instance-xf59wqz4.js} +9 -9
- package/dist/chunks/{location-service-map-xkntkrq7.js → instance-xkntkrq7.js} +2 -2
- package/dist/chunks/{location-service-map-613tc84b.js → instance-xth8y6bq.js} +42 -42
- package/dist/chunks/{location-service-map-xyafkbt0.js → instance-xyafkbt0.js} +3 -3
- package/dist/chunks/{location-service-map-y1fvbwt7.js → instance-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-service-map-desyrp9f.js → instance-y3xqv655.js} +13 -13
- package/dist/chunks/{location-service-map-wjay1z98.js → instance-y48tgjj5.js} +35 -35
- package/dist/chunks/{location-service-map-5jjjy8t8.js → instance-y51vjfep.js} +11 -11
- package/dist/chunks/{location-service-map-41v30afh.js → instance-ymm454xd.js} +6 -6
- package/dist/chunks/{location-service-map-62w77xhp.js → instance-yqb9rva5.js} +12 -12
- package/dist/chunks/{location-service-map-7rwqf82v.js → instance-yvvvp4gn.js} +8 -8
- package/dist/chunks/{location-service-map-vwr7v31p.js → instance-ywcrp141.js} +15 -15
- package/dist/chunks/{location-service-map-y5rf7nzv.js → instance-ywxndyv1.js} +4 -4
- package/dist/chunks/{location-service-map-xtg4sac9.js → instance-yyfs9b4x.js} +33 -33
- package/dist/chunks/{location-service-map-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-service-map-q63kc7bn.js → instance-z34nq4j0.js} +8 -8
- package/dist/chunks/{location-service-map-586dhpg4.js → instance-z426kn6t.js} +7 -7
- package/dist/chunks/{location-service-map-vdvmyr32.js → instance-z53mk5z5.js} +18 -18
- package/dist/chunks/{location-service-map-520y73pd.js → instance-zea94sdq.js} +9 -9
- package/dist/chunks/{location-service-map-zr2ceqn5.js → instance-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-service-map-mnh7yhes.js → instance-zse4s3c8.js} +20 -20
- package/dist/chunks/{location-service-map-cq0e7jrz.js → instance-zsr4wwhv.js} +4 -4
- package/dist/chunks/{location-service-map-9epjyw8n.js → instance-zwnjzmab.js} +18 -18
- package/dist/chunks/{location-service-map-zxq2ej10.js → instance-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -364
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- 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.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -355
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -352
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -9
- package/dist/chunks/location-service-map-669tq793.js +0 -15
- package/dist/chunks/location-service-map-by5v678g.js +0 -18
- package/dist/chunks/location-service-map-csprr9mj.js +0 -507
- package/dist/chunks/location-service-map-r3024ajp.js +0 -253
- package/dist/chunks/location-service-map-yhwrsasc.js +0 -26
- package/dist/plugin/provider/gateway.js +0 -7
- package/dist/types/plugin/provider/gateway.d.ts +0 -1
- /package/dist/chunks/{location-service-map-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-1kg9ymc8.js → instance-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-service-map-24dcb14g.js → instance-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → instance-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2axfhc9x.js → instance-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-34c7v6d4.js → instance-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → instance-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3asan66x.js → instance-3asan66x.js} +0 -0
- /package/dist/chunks/{location-service-map-3t0ybcrp.js → instance-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-3w5fmr99.js → instance-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-service-map-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4vcrnpx2.js → instance-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-service-map-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → instance-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-550bvhaj.js → instance-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → instance-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-6q2bdcd1.js → instance-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → instance-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → instance-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → instance-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-8wj87zfr.js → instance-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-service-map-af5trqkr.js → instance-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-service-map-afrmfg78.js → instance-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → instance-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-dajrwvna.js → instance-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-service-map-dap0rakb.js → instance-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → instance-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → instance-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-service-map-ec1grn59.js → instance-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-service-map-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → instance-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → instance-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-fxgpk5d8.js → instance-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-service-map-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → instance-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-gftt206x.js → instance-gftt206x.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → instance-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-service-map-jjkms2e6.js → instance-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → instance-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → instance-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → instance-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qg3g05ea.js → instance-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → instance-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wc3fc9cn.js → instance-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → instance-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-service-map-x61499pn.js → instance-x61499pn.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → instance-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8cydn3q.js → instance-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-service-map-y8f7s663.js → instance-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-ym463w8f.js → instance-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-service-map-z5v4ffb3.js → instance-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → instance-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./instance-nwsm515q.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-mgws3yhd.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service80,
|
|
15
|
+
node84
|
|
16
|
+
} from "./instance-6crk6he3.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instance-rdw6cm16.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instance-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info13,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service52,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node56
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info13, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service52 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const bus = yield*
|
|
61
|
+
const location = yield* Service80;
|
|
62
|
+
const bus = yield* Service83;
|
|
63
63
|
const root = yield* Effect.scope;
|
|
64
64
|
const fork = yield* FiberSet.makeRuntime();
|
|
65
65
|
const vcs = location.vcs;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info13));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service52.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node56 = makeLocationNode({
|
|
191
|
+
service: Service52,
|
|
192
192
|
layer,
|
|
193
|
-
deps: [FSUtil.node,
|
|
193
|
+
deps: [FSUtil.node, node84, node87]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info13, Mode2, DiffError2, InitializeError2, Service52, node56, exports_vcs };
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make22,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-9t7a50xb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID8,
|
|
9
9
|
Name2,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
available3,
|
|
11
|
+
Service68,
|
|
12
|
+
node72
|
|
13
|
+
} from "./instance-d6dqrmpe.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instance-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions2 = {};
|
|
20
|
+
__export(exports_instructions2, {
|
|
21
|
+
Service: () => Service25,
|
|
22
|
+
SkillInstructions: () => exports_instructions2,
|
|
23
|
+
node: () => node28
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID8,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,14 +60,14 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service25 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service68;
|
|
67
|
+
return Service25.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
|
-
const available =
|
|
70
|
-
return
|
|
69
|
+
const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
+
return make22({
|
|
71
71
|
key: Key3.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node28 = makeLocationNode({ service: Service25, layer, deps: [node72] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service25, node28, exports_instructions2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service45,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node48
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service45 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service45.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node48 = makeLocationNode({
|
|
137
|
+
service: Service45,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service45, node48, exports_tool_output2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error4,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make17,
|
|
14
|
+
node: () => node55,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make17 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node55 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error4, ProviderNotFound2, make17, RegistryService2, registry2, registryNode2, node55, exports_driver };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-as1cmpym.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service83,
|
|
10
|
+
node87
|
|
11
|
+
} from "./instance-nwsm515q.js";
|
|
12
12
|
import {
|
|
13
13
|
Service82,
|
|
14
14
|
node86
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-hs1x7rht.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info29,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instance-v0es1rhs.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./instance-h2b79v29.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instance-1dvck2a7.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./instance-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info28,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service81,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node85,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info28 = Info29;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
72
72
|
});
|
|
73
73
|
var ACTIVATE_INTERVAL = 60000;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class Service81 extends Context.Service()("@opencode/Project") {
|
|
76
76
|
}
|
|
77
77
|
function fromRow(row) {
|
|
78
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -95,11 +95,11 @@ function fromRow(row) {
|
|
|
95
95
|
sandboxes: row.sandboxes
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const git = yield* Service82;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
|
-
const bus = yield*
|
|
102
|
+
const bus = yield* Service83;
|
|
103
103
|
const db = (yield* Service84).db;
|
|
104
104
|
const announcing = new Set;
|
|
105
105
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
108
108
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
109
109
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
110
110
|
if (row)
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
112
112
|
}
|
|
113
113
|
if (!project.vcs)
|
|
114
114
|
return project;
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
145
145
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
146
146
|
projectID: item.projectID,
|
|
147
147
|
directory: item.directory,
|
|
148
|
-
previous: project.previous ??
|
|
148
|
+
previous: project.previous ?? ID17.global,
|
|
149
149
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
150
150
|
}, {
|
|
151
151
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -170,7 +170,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
170
170
|
if (!row)
|
|
171
171
|
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
172
172
|
const project = fromRow(row);
|
|
173
|
-
yield* bus.publish(
|
|
173
|
+
yield* bus.publish(Event21.Updated, project);
|
|
174
174
|
return project;
|
|
175
175
|
});
|
|
176
176
|
const activated = new Map;
|
|
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
181
181
|
activated.set(projectID, now);
|
|
182
182
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
183
183
|
if (row)
|
|
184
|
-
yield* bus.publish(
|
|
184
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
185
185
|
});
|
|
186
186
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
187
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
187
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
188
188
|
return;
|
|
189
189
|
}));
|
|
190
190
|
});
|
|
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
195
195
|
const normalized = url(origin);
|
|
196
196
|
if (!normalized)
|
|
197
197
|
return;
|
|
198
|
-
return
|
|
198
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
199
199
|
});
|
|
200
200
|
function url(input) {
|
|
201
201
|
const value = input.trim();
|
|
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
220
220
|
}
|
|
221
221
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
222
222
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
223
|
-
return root ?
|
|
223
|
+
return root ? ID17.make(root) : undefined;
|
|
224
224
|
});
|
|
225
225
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
226
226
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
236
236
|
return;
|
|
237
237
|
const node = result.stdout.toString("utf8").split(`
|
|
238
238
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
239
|
-
return node ?
|
|
239
|
+
return node ? ID17.make(node) : undefined;
|
|
240
240
|
});
|
|
241
241
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
242
242
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
245
245
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
246
246
|
return {
|
|
247
247
|
previous,
|
|
248
|
-
id: id ??
|
|
248
|
+
id: id ?? ID17.global,
|
|
249
249
|
directory: worktree,
|
|
250
250
|
vcs: { type: "hg", store }
|
|
251
251
|
};
|
|
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
262
262
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
263
263
|
return yield* persist({
|
|
264
264
|
previous,
|
|
265
|
-
id: id ??
|
|
265
|
+
id: id ?? ID17.global,
|
|
266
266
|
directory: repo.worktree,
|
|
267
267
|
canonical,
|
|
268
268
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
return yield* persist({
|
|
279
|
-
id:
|
|
279
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
280
280
|
directory,
|
|
281
281
|
canonical: directory,
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service81.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node85 = makeGlobalNode({
|
|
288
|
+
service: Service81,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [
|
|
290
|
+
deps: [node87, node88, FSUtil.node, node86, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export {
|
|
293
|
+
export { ID17, Vcs2, Current2, Info28, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./instance-nwsm515q.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command5 = {};
|
|
14
|
+
__export(exports_command5, {
|
|
15
|
+
Command: () => exports_command5,
|
|
16
|
+
Event: () => Event16,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info21,
|
|
19
|
+
NotFoundError: () => NotFoundError9,
|
|
20
|
+
Service: () => Service74,
|
|
21
|
+
layer: () => layer24,
|
|
22
|
+
node: () => node78
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event16 } from "@opencode/schema/command";
|
|
28
|
+
var Info21 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError9 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service74 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer24 = Layer.effect(Service74, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service83;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer21 = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info21.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service74.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer21 = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError9({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node78 = makeLocationNode({
|
|
75
|
+
service: Service74,
|
|
76
|
+
layer: layer24,
|
|
77
|
+
deps: [node87]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info21, NotFoundError9, ExecutionError2, Service74, layer24, node78, exports_command5, Event16 };
|