@opencode/core 0.0.0-dev-1294 → 0.0.0-dev-1295
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 +94 -94
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +9 -9
- package/dist/artifact.js +258 -258
- package/dist/bus.js +84 -84
- package/dist/chunks/{formatter-swaacjqy.js → repository-00awaz76.js} +11 -11
- package/dist/chunks/{formatter-e3jrxgpp.js → repository-02aqb0hw.js} +23 -23
- package/dist/chunks/{formatter-q963thn8.js → repository-02mvxpmz.js} +6 -6
- package/dist/chunks/{formatter-034tev2y.js → repository-034tev2y.js} +2 -2
- package/dist/chunks/{formatter-0r5j1y1x.js → repository-036t2kfc.js} +10 -10
- package/dist/chunks/{formatter-pde3h8sb.js → repository-075tnmpp.js} +36 -36
- package/dist/chunks/{formatter-vg2ks647.js → repository-08kgq63a.js} +13 -13
- package/dist/chunks/{formatter-zr79126c.js → repository-0cw2pp5w.js} +32 -32
- package/dist/chunks/{formatter-0fvxehme.js → repository-0fvxehme.js} +2 -2
- package/dist/chunks/repository-0gdrrj59.js +16 -0
- package/dist/chunks/{formatter-999eq5wg.js → repository-0kjnhnat.js} +10 -10
- package/dist/chunks/{formatter-2yn2tdym.js → repository-0kphx6m0.js} +64 -64
- package/dist/chunks/{formatter-e5rky726.js → repository-0q9em7pe.js} +29 -29
- package/dist/chunks/{formatter-bc6vcyc2.js → repository-0rzkqjqm.js} +22 -22
- package/dist/chunks/{formatter-dxvykrw7.js → repository-0syj7h06.js} +10 -10
- package/dist/chunks/{formatter-cwws9yn6.js → repository-0y16qpbq.js} +20 -20
- package/dist/chunks/{formatter-ftmc7284.js → repository-19db04m1.js} +4 -4
- package/dist/chunks/{formatter-98m3s5a8.js → repository-1aes4e9d.js} +25 -25
- package/dist/chunks/{formatter-1aqsckx4.js → repository-1aqsckx4.js} +1 -1
- package/dist/chunks/{formatter-zbj23qj9.js → repository-1cwf02y7.js} +16 -16
- package/dist/chunks/{formatter-1ep2p91f.js → repository-1ep2p91f.js} +2 -2
- package/dist/chunks/{formatter-a9770cg9.js → repository-1h6n0ysm.js} +26 -26
- package/dist/chunks/{formatter-2bvj0tyw.js → repository-1hzyh15y.js} +31 -31
- package/dist/chunks/{formatter-c8g1f16z.js → repository-1q7tn8wg.js} +18 -18
- package/dist/chunks/{formatter-vsb4jc51.js → repository-1t7x0sp9.js} +9 -9
- package/dist/chunks/{formatter-1x2knyw4.js → repository-1x2knyw4.js} +1 -1
- package/dist/chunks/{formatter-1yq9hg58.js → repository-1yq9hg58.js} +1 -1
- package/dist/chunks/{formatter-d49t3rb6.js → repository-22726xzj.js} +21 -21
- package/dist/chunks/{formatter-dchba5z5.js → repository-22m1t7j6.js} +21 -21
- package/dist/chunks/{formatter-1cnk63hp.js → repository-2bzjnwzn.js} +8 -8
- package/dist/chunks/{formatter-6sg7v011.js → repository-2c6sxtb9.js} +2 -2
- package/dist/chunks/{formatter-v840bdta.js → repository-2cks5jyr.js} +8 -8
- package/dist/chunks/{formatter-ejv3gkck.js → repository-2cnj5468.js} +4 -4
- package/dist/chunks/{formatter-qy94z0q3.js → repository-2dq8jpdd.js} +11 -11
- package/dist/chunks/{formatter-2fc7eemy.js → repository-2fc7eemy.js} +1 -1
- package/dist/chunks/{formatter-d34c0f98.js → repository-2hc2yyeh.js} +8 -8
- package/dist/chunks/{formatter-2kg89srt.js → repository-2kg89srt.js} +1 -1
- package/dist/chunks/{formatter-2prt43t7.js → repository-2prt43t7.js} +1 -1
- package/dist/chunks/{formatter-b1t3h42q.js → repository-2sm5ch0r.js} +28 -28
- package/dist/chunks/{formatter-p4s9564z.js → repository-2x334bmq.js} +31 -31
- package/dist/chunks/{formatter-q929d8mh.js → repository-34dqnfkc.js} +6 -6
- package/dist/chunks/{formatter-zpw8n7tm.js → repository-3a8968hy.js} +11 -11
- package/dist/chunks/{formatter-v37bc009.js → repository-3beq3wdw.js} +3 -3
- package/dist/chunks/{formatter-c98n4vdv.js → repository-3btmr5ck.js} +9 -9
- package/dist/chunks/{formatter-dft9bp6v.js → repository-3by0w2ax.js} +16 -16
- package/dist/chunks/{formatter-bmw1c1w2.js → repository-3c7qpzd7.js} +7 -7
- package/dist/chunks/{formatter-0b9dpcqh.js → repository-3cm6sehk.js} +18 -18
- package/dist/chunks/{formatter-mfcckmmr.js → repository-3crjv7w7.js} +18 -18
- package/dist/chunks/{formatter-0rdrv6c4.js → repository-3d3k30ev.js} +9 -9
- package/dist/chunks/{formatter-a6f3a7w7.js → repository-3ddecqpa.js} +12 -12
- package/dist/chunks/{formatter-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{formatter-gz50ktfn.js → repository-3kh5eq90.js} +14 -14
- package/dist/chunks/{formatter-tay08eyj.js → repository-3knw41x0.js} +12 -12
- package/dist/chunks/{formatter-f3ptgqzf.js → repository-3mcdazc4.js} +8 -8
- package/dist/chunks/{formatter-3nnrz6f6.js → repository-3nnrz6f6.js} +1 -1
- package/dist/chunks/{formatter-7zs4mqwf.js → repository-3qgwywyc.js} +4 -4
- package/dist/chunks/{formatter-9mz9bkgy.js → repository-3s23b7nf.js} +9 -9
- package/dist/chunks/{formatter-40y6dtc2.js → repository-40y6dtc2.js} +1 -1
- package/dist/chunks/{formatter-w2eysc6j.js → repository-40za9wsf.js} +9 -9
- package/dist/chunks/{formatter-6ftp030z.js → repository-440d70yp.js} +20 -20
- package/dist/chunks/{formatter-azqdag7d.js → repository-44w9n9s7.js} +4 -4
- package/dist/chunks/{formatter-4dfqsw0d.js → repository-4dfqsw0d.js} +1 -1
- package/dist/chunks/{formatter-4dx1dgte.js → repository-4dx1dgte.js} +1 -1
- package/dist/chunks/{formatter-z8adrwbe.js → repository-4erzfp4b.js} +7 -7
- package/dist/chunks/{formatter-q08apbdq.js → repository-4ez88w3t.js} +19 -19
- package/dist/chunks/{formatter-4f25tdd0.js → repository-4f25tdd0.js} +1 -1
- package/dist/chunks/{formatter-8gc9kz7m.js → repository-4gv8hekr.js} +33 -33
- package/dist/chunks/{formatter-vfrym1mm.js → repository-4tc7e79j.js} +40 -40
- package/dist/chunks/{formatter-4v008n1t.js → repository-4v008n1t.js} +1 -1
- package/dist/chunks/{formatter-v02hya04.js → repository-4y6h7701.js} +29 -29
- package/dist/chunks/{formatter-vm5ant4y.js → repository-52840mb9.js} +22 -22
- package/dist/chunks/{formatter-jjp0376k.js → repository-52a0vpb2.js} +48 -48
- package/dist/chunks/{formatter-qbqg5kvw.js → repository-57mvpke6.js} +22 -22
- package/dist/chunks/{formatter-5m9w47nd.js → repository-5m9w47nd.js} +1 -1
- package/dist/chunks/{formatter-681reqgc.js → repository-5mcs1phj.js} +8 -8
- package/dist/chunks/{formatter-7ha2pc0m.js → repository-5n3vkvkg.js} +24 -24
- package/dist/chunks/{formatter-p1qy27ja.js → repository-5r6kmg8r.js} +58 -58
- package/dist/chunks/{formatter-2ytp0tvq.js → repository-5whx36p1.js} +4 -4
- package/dist/chunks/{formatter-s31xv9rs.js → repository-5zjvj63j.js} +41 -41
- package/dist/chunks/{formatter-fpzzg31c.js → repository-60ey6p5f.js} +12 -12
- package/dist/chunks/{formatter-brv6mkyx.js → repository-67wwskyb.js} +4 -4
- package/dist/chunks/{formatter-107n4kdg.js → repository-6d623jwb.js} +52 -52
- package/dist/chunks/{formatter-p9dwe2ys.js → repository-6fvhexbh.js} +6 -6
- package/dist/chunks/{formatter-haksh1nm.js → repository-6tw2hsz8.js} +12 -12
- package/dist/chunks/{formatter-5c0ay57s.js → repository-6xtjqz2m.js} +4 -4
- package/dist/chunks/{formatter-xyc15gmq.js → repository-72fnktma.js} +49 -49
- package/dist/chunks/{formatter-bes4ktrd.js → repository-731rr466.js} +5 -5
- package/dist/chunks/{formatter-4rz36ceb.js → repository-74m4g95v.js} +20 -20
- package/dist/chunks/{formatter-kxfy12sm.js → repository-77bcp5wq.js} +20 -20
- package/dist/chunks/{formatter-s5m9z68j.js → repository-78shhwap.js} +28 -28
- package/dist/chunks/{formatter-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{formatter-vwjkfnk2.js → repository-7de1jspm.js} +5 -5
- package/dist/chunks/{formatter-jxaybbka.js → repository-7f6kc9pt.js} +5 -5
- package/dist/chunks/{formatter-n61xnajd.js → repository-7s8ymmn3.js} +6 -6
- package/dist/chunks/{formatter-7tx5zndv.js → repository-7tx5zndv.js} +2 -2
- package/dist/chunks/{formatter-7w2ypzdf.js → repository-7w2ypzdf.js} +1 -1
- package/dist/chunks/{formatter-7weczvnd.js → repository-7weczvnd.js} +1 -1
- package/dist/chunks/{formatter-19cz2mh9.js → repository-80ej5eef.js} +31 -31
- package/dist/chunks/{formatter-80mg3ag8.js → repository-80mg3ag8.js} +3 -3
- package/dist/chunks/{formatter-80pdk984.js → repository-80pdk984.js} +1 -1
- package/dist/chunks/{formatter-rp6t20zc.js → repository-859w1rtj.js} +5 -5
- package/dist/chunks/{formatter-85jq8dht.js → repository-85jq8dht.js} +1 -1
- package/dist/chunks/{formatter-wp9rabm0.js → repository-86rqf3w8.js} +17 -17
- package/dist/chunks/{formatter-pz2ne4az.js → repository-86yjpch2.js} +17 -17
- package/dist/chunks/{formatter-zjks91hc.js → repository-883s1ske.js} +25 -25
- package/dist/chunks/{formatter-8b3vzgkx.js → repository-8b3vzgkx.js} +1 -1
- package/dist/chunks/{formatter-8kjyvwy5.js → repository-8kjyvwy5.js} +1 -1
- package/dist/chunks/{formatter-97yxev1x.js → repository-8pefwsjs.js} +7 -7
- package/dist/chunks/{formatter-pt2ev3mw.js → repository-8qrf03x0.js} +12 -12
- package/dist/chunks/{formatter-fhwbhm4t.js → repository-8rn80sq6.js} +4 -4
- package/dist/chunks/{formatter-8sxe6kv8.js → repository-8sxe6kv8.js} +2 -2
- package/dist/chunks/{formatter-6d0ke9pc.js → repository-8t14wrn8.js} +11 -11
- package/dist/chunks/{formatter-xd7ffwxg.js → repository-8tjj9rtv.js} +12 -12
- package/dist/chunks/{formatter-0jk88157.js → repository-8w92qacv.js} +18 -18
- package/dist/chunks/{formatter-8wtp7s3z.js → repository-8wtp7s3z.js} +1 -1
- package/dist/chunks/{formatter-5nvn3v8n.js → repository-8wx5ae1x.js} +19 -19
- package/dist/chunks/repository-8x060fmy.js +18 -0
- package/dist/chunks/{formatter-8zv0xmg5.js → repository-8zv0xmg5.js} +1 -1
- package/dist/chunks/{formatter-saqprc7x.js → repository-933032vd.js} +5 -5
- package/dist/chunks/{formatter-vh2m3kqm.js → repository-93fptvw0.js} +37 -37
- package/dist/chunks/{formatter-0f98ft02.js → repository-94kg4pr2.js} +45 -45
- package/dist/chunks/{formatter-zb0mnwnv.js → repository-97243vbs.js} +89 -89
- package/dist/chunks/{formatter-6s29sep7.js → repository-9bqhtztk.js} +25 -25
- package/dist/chunks/{formatter-n6y2yx69.js → repository-9d072b6q.js} +15 -15
- package/dist/chunks/{formatter-vt4r9rmy.js → repository-9f3jsh1d.js} +9 -9
- package/dist/chunks/{formatter-g25zmjdc.js → repository-9hnkp272.js} +11 -11
- package/dist/chunks/{formatter-dj4g1h0v.js → repository-9j7f5x07.js} +26 -26
- package/dist/chunks/{formatter-rwt90xdw.js → repository-9jmkx442.js} +19 -19
- package/dist/chunks/{formatter-73ff1310.js → repository-9rqfe4ad.js} +3 -3
- package/dist/chunks/{formatter-t8erkws8.js → repository-9zwexsxs.js} +5 -5
- package/dist/chunks/{formatter-vhe13esa.js → repository-9zx7r65b.js} +35 -35
- package/dist/chunks/{formatter-zyfhsknv.js → repository-a0fq0pbv.js} +7 -7
- package/dist/chunks/{formatter-p2vw66gn.js → repository-a5w0t351.js} +24 -24
- package/dist/chunks/{formatter-18w9amv2.js → repository-a6qcwttn.js} +12 -12
- package/dist/chunks/{formatter-x061st40.js → repository-a6vptk3v.js} +16 -16
- package/dist/chunks/{formatter-26g5dw0a.js → repository-a75y8c3w.js} +18 -18
- package/dist/chunks/{formatter-nyxvepra.js → repository-aczc0e5b.js} +10 -10
- package/dist/chunks/{formatter-fj2fxy38.js → repository-adpq3e4w.js} +8 -8
- package/dist/chunks/{formatter-knp4g8v8.js → repository-adwsp3br.js} +11 -11
- package/dist/chunks/{formatter-ppvn17ey.js → repository-afzp9kbc.js} +9 -9
- package/dist/chunks/{formatter-6y2b864j.js → repository-agje4kmn.js} +4 -4
- package/dist/chunks/{formatter-fjfab1hg.js → repository-amv5w5q7.js} +13 -13
- package/dist/chunks/{formatter-2t6bt9cz.js → repository-as8prksk.js} +31 -31
- package/dist/chunks/{formatter-ayjs7tqn.js → repository-ayjs7tqn.js} +2 -2
- package/dist/chunks/{formatter-pxfvz1hx.js → repository-b4wh2b3v.js} +8 -8
- package/dist/chunks/{formatter-nsza2hwd.js → repository-bd7bren2.js} +16 -16
- package/dist/chunks/{formatter-0p8fz9ey.js → repository-bekg9j7j.js} +25 -25
- package/dist/chunks/{formatter-jbgt7846.js → repository-bkxm042y.js} +9 -9
- package/dist/chunks/{formatter-1m5xsna8.js → repository-bs1g9tnx.js} +24 -24
- package/dist/chunks/{formatter-bstexjd6.js → repository-bstexjd6.js} +1 -1
- package/dist/chunks/{formatter-3ryz99p0.js → repository-c6x7d2ts.js} +4 -4
- package/dist/chunks/{formatter-g88qm316.js → repository-cea6hd02.js} +12 -12
- package/dist/chunks/{formatter-cwrgdav8.js → repository-cwrgdav8.js} +2 -2
- package/dist/chunks/{formatter-qfdvj3xm.js → repository-d390zwf3.js} +7 -7
- package/dist/chunks/{formatter-d4v9tmah.js → repository-d4v9tmah.js} +2 -2
- package/dist/chunks/{formatter-tmxr2s7a.js → repository-d7ghtrxv.js} +8 -8
- package/dist/chunks/{formatter-xpr07rag.js → repository-dekwarse.js} +29 -29
- package/dist/chunks/{formatter-jbca85dn.js → repository-dg5naf6e.js} +4 -4
- package/dist/chunks/{formatter-x1rh6vcx.js → repository-dna90dc9.js} +5 -5
- package/dist/chunks/{formatter-zqzpkhyt.js → repository-ds3x2h8w.js} +15 -15
- package/dist/chunks/{formatter-dgjqzpns.js → repository-dsd5wyar.js} +5 -5
- package/dist/chunks/{formatter-dt77769w.js → repository-dt77769w.js} +1 -1
- package/dist/chunks/{formatter-6s9a3p6j.js → repository-dwsh12fh.js} +29 -29
- package/dist/chunks/{formatter-b9t4mw29.js → repository-e0zepttq.js} +18 -18
- package/dist/chunks/{formatter-vpa8zgt8.js → repository-e7hkgzd9.js} +27 -27
- package/dist/chunks/{formatter-zpkeqzrx.js → repository-e9e1fhjv.js} +22 -22
- package/dist/chunks/{formatter-1afk09fq.js → repository-e9h2qsxa.js} +11 -11
- package/dist/chunks/{formatter-tsm0w78m.js → repository-ecncedhr.js} +11 -11
- package/dist/chunks/{formatter-ssjd5cby.js → repository-ef93qkt9.js} +13 -13
- package/dist/chunks/{formatter-n1jv3hnp.js → repository-ejgm7w4x.js} +24 -24
- package/dist/chunks/{formatter-eqw4pqj1.js → repository-eqw4pqj1.js} +2 -2
- package/dist/chunks/repository-erw3q77e.js +26 -0
- package/dist/chunks/{formatter-k0e8skg7.js → repository-f2xmw0q9.js} +27 -27
- package/dist/chunks/{formatter-5tda77qk.js → repository-fb4dw218.js} +20 -20
- package/dist/chunks/{formatter-e6rgf6z7.js → repository-ff4xqyp0.js} +21 -21
- package/dist/chunks/{formatter-8p9429cg.js → repository-fgarm31a.js} +29 -29
- package/dist/chunks/{formatter-fnrhryqq.js → repository-fnrhryqq.js} +1 -1
- package/dist/chunks/{formatter-gs70f3rg.js → repository-fx32ndrh.js} +6 -6
- package/dist/chunks/{formatter-g4txs7zc.js → repository-g4txs7zc.js} +4 -4
- package/dist/chunks/{formatter-rzg6y5rp.js → repository-g5ajqn12.js} +4 -4
- package/dist/chunks/{formatter-gbjdnr5j.js → repository-gbjdnr5j.js} +2 -2
- package/dist/chunks/{formatter-wx6nv8fq.js → repository-gg524fet.js} +7 -7
- package/dist/chunks/{formatter-f80thpwy.js → repository-ggx84v7x.js} +6 -6
- package/dist/chunks/{formatter-ghrv1g9c.js → repository-ghrv1g9c.js} +1 -1
- package/dist/chunks/{formatter-ztwsqh7x.js → repository-gkx18e3k.js} +8 -8
- package/dist/chunks/{formatter-qkn1vdbd.js → repository-gq39yebw.js} +12 -12
- package/dist/chunks/{formatter-zqp0bxw0.js → repository-gw350h34.js} +13 -13
- package/dist/chunks/{formatter-ftbc3n7f.js → repository-gxch3nm8.js} +29 -29
- package/dist/chunks/{formatter-tg7s7b5t.js → repository-gxs71cxp.js} +4 -4
- package/dist/chunks/{formatter-pevw1m5g.js → repository-gzm6fcqq.js} +20 -20
- package/dist/chunks/{formatter-zwmrnfgc.js → repository-h5j1t2ft.js} +27 -27
- package/dist/chunks/{formatter-3aystt2y.js → repository-h6emrs48.js} +4 -4
- package/dist/chunks/{formatter-hgzwgvze.js → repository-hgzwgvze.js} +2 -2
- package/dist/chunks/{formatter-472kcb6j.js → repository-hh7dvhm4.js} +4 -4
- package/dist/chunks/{formatter-hj0xet7m.js → repository-hj0xet7m.js} +2 -2
- package/dist/chunks/{formatter-k15h447b.js → repository-hj3r42js.js} +23 -23
- package/dist/chunks/repository-hm90a926.js +273 -0
- package/dist/chunks/{formatter-kw0j7zdf.js → repository-hswcgjnv.js} +3 -3
- package/dist/chunks/{formatter-kybpnnhk.js → repository-hwgpdvjp.js} +15 -15
- package/dist/chunks/{formatter-x2w3vhab.js → repository-hym86aeq.js} +10 -10
- package/dist/chunks/{formatter-d66h0vnz.js → repository-j372c61n.js} +11 -11
- package/dist/chunks/{formatter-j376ae4e.js → repository-j376ae4e.js} +1 -1
- package/dist/chunks/{formatter-fs0w54hj.js → repository-j7d5jxht.js} +14 -14
- package/dist/chunks/{formatter-v3c2n8v6.js → repository-jev05t8t.js} +18 -18
- package/dist/chunks/{formatter-kw4np9ag.js → repository-jgr611bs.js} +2 -2
- package/dist/chunks/{formatter-bkfnmamh.js → repository-jhaw84mg.js} +34 -34
- package/dist/chunks/{formatter-ppk2ta81.js → repository-jm1xng1y.js} +49 -49
- package/dist/chunks/{formatter-jm70asfg.js → repository-jm70asfg.js} +1 -1
- package/dist/chunks/{formatter-astymy2y.js → repository-jnpx970n.js} +23 -23
- package/dist/chunks/{formatter-fyef4kah.js → repository-jp9d3jyy.js} +17 -17
- package/dist/chunks/{formatter-j6q8d4x2.js → repository-jt3wcppe.js} +8 -8
- package/dist/chunks/{formatter-ebhg4tc3.js → repository-jvdg4s4q.js} +88 -88
- package/dist/chunks/{formatter-kmnfk4kb.js → repository-jvtd2tv8.js} +3 -3
- package/dist/chunks/{formatter-36veeb2h.js → repository-jwf2mwjn.js} +13 -13
- package/dist/chunks/{formatter-jxd6f16v.js → repository-jxd6f16v.js} +2 -2
- package/dist/chunks/{formatter-pfc82750.js → repository-jy8sxj26.js} +10 -10
- package/dist/chunks/{formatter-kjpcdd93.js → repository-jz2mpads.js} +6 -6
- package/dist/chunks/{formatter-hw7r6q9t.js → repository-k9rwbxer.js} +16 -16
- package/dist/chunks/{formatter-hvvf9qw8.js → repository-kgmdm1mc.js} +6 -6
- package/dist/chunks/{formatter-phkzaw91.js → repository-khn3h0zf.js} +6 -6
- package/dist/chunks/{formatter-fwh96pc6.js → repository-kkq7zywd.js} +43 -43
- package/dist/chunks/{formatter-enkpkfwx.js → repository-kmzgegqq.js} +8 -8
- package/dist/chunks/{formatter-9zfcngb4.js → repository-kn4zqwcq.js} +3 -3
- package/dist/chunks/{formatter-1rtj8tn6.js → repository-ksqm0fh2.js} +5 -5
- package/dist/chunks/{formatter-kt3bjfbg.js → repository-kt3bjfbg.js} +1 -1
- package/dist/chunks/{formatter-kzczzf4v.js → repository-kzczzf4v.js} +1 -1
- package/dist/chunks/{formatter-ep6pe98a.js → repository-kzdam8c6.js} +7 -7
- package/dist/chunks/{formatter-m1714858.js → repository-m1714858.js} +1 -1
- package/dist/chunks/{formatter-90fyndgx.js → repository-m5mzeqng.js} +28 -28
- package/dist/chunks/{formatter-m90tx7mw.js → repository-m90tx7mw.js} +1 -1
- package/dist/chunks/{formatter-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{formatter-mb7mbhnz.js → repository-mb7mbhnz.js} +3 -3
- package/dist/chunks/{formatter-4r37kn7a.js → repository-md0yj4wk.js} +32 -32
- package/dist/chunks/{formatter-3p57dcxh.js → repository-mgcsgjq4.js} +4 -4
- package/dist/chunks/{formatter-875etveh.js → repository-mjwhre59.js} +7 -7
- package/dist/chunks/{formatter-9efj75yn.js → repository-mkvkcrcf.js} +42 -42
- package/dist/chunks/{formatter-mwnxvxbk.js → repository-mwnxvxbk.js} +1 -1
- package/dist/chunks/{formatter-367yzc22.js → repository-mxx8515c.js} +386 -386
- package/dist/chunks/{formatter-75a2gs08.js → repository-mym403hh.js} +1 -1
- package/dist/chunks/{formatter-9gdt4sfh.js → repository-n2jwyyf2.js} +19 -19
- package/dist/chunks/{formatter-2q7w2n5y.js → repository-n99tbm1k.js} +21 -21
- package/dist/chunks/{formatter-re955109.js → repository-nde04cgd.js} +9 -9
- package/dist/chunks/{formatter-a0rh3gnp.js → repository-ndpn1932.js} +16 -16
- package/dist/chunks/{formatter-67s9kfqp.js → repository-nen4dd64.js} +30 -30
- package/dist/chunks/{formatter-xy9mx054.js → repository-nhp7k6g9.js} +46 -46
- package/dist/chunks/{formatter-xe53826y.js → repository-nmqks962.js} +13 -13
- package/dist/chunks/{formatter-rvy75j9f.js → repository-nq82rmey.js} +11 -11
- package/dist/chunks/{formatter-69rarv6g.js → repository-nr915jn7.js} +4 -4
- package/dist/chunks/{formatter-zv324z0d.js → repository-nwkfswnm.js} +11 -11
- package/dist/chunks/{formatter-6mqmmy5j.js → repository-nzazpc8g.js} +46 -46
- package/dist/chunks/{formatter-f2zjpyt5.js → repository-p5jwrm42.js} +7 -7
- package/dist/chunks/{formatter-c09jwrv7.js → repository-pcqz0mdk.js} +8 -8
- package/dist/chunks/{formatter-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{formatter-66r11b12.js → repository-pn1g3a6b.js} +9 -9
- package/dist/chunks/{formatter-8wdnmp4h.js → repository-pqk22v3f.js} +44 -44
- package/dist/chunks/{formatter-fg9p65nk.js → repository-prq7xxp2.js} +6 -6
- package/dist/chunks/{formatter-2z7m33tr.js → repository-q2z2msfx.js} +6 -6
- package/dist/chunks/{formatter-1y4446k4.js → repository-q5v60jsn.js} +47 -47
- package/dist/chunks/{formatter-19ah3epb.js → repository-qa5v9vbm.js} +5 -5
- package/dist/chunks/{formatter-633zrvc0.js → repository-qa8wq1bx.js} +9 -9
- package/dist/chunks/{formatter-514vvw19.js → repository-qgv3bwcw.js} +1 -1
- package/dist/chunks/{formatter-c5kjsz6q.js → repository-qkc3z5ds.js} +4 -4
- package/dist/chunks/{formatter-qp7r0hxv.js → repository-qp7r0hxv.js} +1 -1
- package/dist/chunks/{formatter-75nm06f1.js → repository-qxb7dfc7.js} +87 -59
- package/dist/chunks/{formatter-ymhcxh1d.js → repository-r279jrjw.js} +98 -98
- package/dist/chunks/{formatter-fnyetkmc.js → repository-r6g0pp9s.js} +7 -7
- package/dist/chunks/{formatter-v62q6mjx.js → repository-ra5f49x0.js} +21 -21
- package/dist/chunks/{formatter-rb9dy4dg.js → repository-rb9dy4dg.js} +1 -1
- package/dist/chunks/{formatter-1065azbp.js → repository-rdrzgfkv.js} +6 -6
- package/dist/chunks/{formatter-rgc9cx3e.js → repository-rgc9cx3e.js} +2 -2
- package/dist/chunks/{formatter-284qbwak.js → repository-rgq5xsj8.js} +46 -46
- package/dist/chunks/{formatter-ee62m3wg.js → repository-rjdsgaq2.js} +17 -17
- package/dist/chunks/{formatter-ztbesdks.js → repository-rkq6y9xm.js} +197 -197
- package/dist/chunks/{formatter-bm49bgmn.js → repository-rpx37cdg.js} +25 -25
- package/dist/chunks/{formatter-jj1w0njq.js → repository-rre0hjx2.js} +8 -8
- package/dist/chunks/{formatter-n4b81h20.js → repository-rsbnpsp6.js} +4 -4
- package/dist/chunks/{formatter-gwh4e7sy.js → repository-rsp3mteq.js} +23 -23
- package/dist/chunks/{formatter-kph8mjwn.js → repository-rxmw0rhb.js} +11 -11
- package/dist/chunks/{formatter-s1ba0vj0.js → repository-s1ba0vj0.js} +2 -2
- package/dist/chunks/{formatter-ya6jhd7d.js → repository-s6zk46kh.js} +29 -29
- package/dist/chunks/{formatter-9j79xsdn.js → repository-sazfq51k.js} +6 -6
- package/dist/chunks/{formatter-sbya78hr.js → repository-sbya78hr.js} +1 -1
- package/dist/chunks/{formatter-8ye65hwy.js → repository-sjdm6j9a.js} +15 -15
- package/dist/chunks/{formatter-fck1fraj.js → repository-srcf351v.js} +8 -8
- package/dist/chunks/{formatter-svcy3p9a.js → repository-svcy3p9a.js} +1 -1
- package/dist/chunks/{formatter-hsqbp4e3.js → repository-tagr13r7.js} +21 -21
- package/dist/chunks/{formatter-c0fe0nyt.js → repository-tb2mrvc9.js} +4 -4
- package/dist/chunks/{formatter-tbpn7jtk.js → repository-tbpn7jtk.js} +1 -1
- package/dist/chunks/{formatter-crke0hy6.js → repository-tcxn00q3.js} +17 -17
- package/dist/chunks/{formatter-tczq8hjw.js → repository-tczq8hjw.js} +1 -1
- package/dist/chunks/{formatter-87yq9eva.js → repository-tg4p7551.js} +25 -25
- package/dist/chunks/{formatter-d58gm13w.js → repository-tvfb4cnx.js} +18 -18
- package/dist/chunks/{formatter-g1b5nzek.js → repository-tvstap8v.js} +8 -8
- package/dist/chunks/{formatter-tvtps2q9.js → repository-tvtps2q9.js} +1 -1
- package/dist/chunks/{formatter-89wqeg04.js → repository-twbzdyjv.js} +6 -6
- package/dist/chunks/{formatter-twssxy5n.js → repository-twssxy5n.js} +2 -2
- package/dist/chunks/{formatter-v2r1d0zg.js → repository-v2r1d0zg.js} +1 -1
- package/dist/chunks/{formatter-9kkht3bz.js → repository-vc5wyrht.js} +35 -35
- package/dist/chunks/{formatter-vjf35v1f.js → repository-vjf35v1f.js} +1 -1
- package/dist/chunks/{formatter-5xbqvg7k.js → repository-vk792x7x.js} +24 -24
- package/dist/chunks/{formatter-njx9gg5k.js → repository-vmxsyvj6.js} +4 -4
- package/dist/chunks/{formatter-a18qm98g.js → repository-vn5ba1v3.js} +18 -18
- package/dist/chunks/{formatter-h9cw37xw.js → repository-vszek5yb.js} +13 -13
- package/dist/chunks/{formatter-3k1xqshc.js → repository-vzyp2xnz.js} +5 -5
- package/dist/chunks/{formatter-rbvnf4ks.js → repository-w0drzbgw.js} +19 -19
- package/dist/chunks/{formatter-6phyd5m2.js → repository-w0nrctbj.js} +11 -11
- package/dist/chunks/{formatter-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{formatter-xz07m27x.js → repository-w4xw9ac5.js} +2 -2
- package/dist/chunks/{formatter-wr3re1en.js → repository-w687dnns.js} +4 -4
- package/dist/chunks/{formatter-88vzj3a4.js → repository-w6s4w6nr.js} +3 -3
- package/dist/chunks/{formatter-wakvkjy4.js → repository-wakvkjy4.js} +1 -1
- package/dist/chunks/{formatter-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/{formatter-te4ym9cz.js → repository-wds6xyh6.js} +38 -38
- package/dist/chunks/{formatter-wegkxhrn.js → repository-wegkxhrn.js} +2 -2
- package/dist/chunks/{formatter-kfjk2j2t.js → repository-wm9tjz56.js} +26 -26
- package/dist/chunks/{formatter-zhh3ssa0.js → repository-wqqvsnnx.js} +7 -7
- package/dist/chunks/{formatter-qycm87ym.js → repository-wrr9v7mg.js} +5 -5
- package/dist/chunks/{formatter-smwgzt6b.js → repository-wtft8ef2.js} +4 -4
- package/dist/chunks/{formatter-h1hvzfh9.js → repository-wvh4mmya.js} +29 -29
- package/dist/chunks/{formatter-8faq9twa.js → repository-wvvnzt41.js} +16 -16
- package/dist/chunks/{formatter-xxschbft.js → repository-xjr6c8m4.js} +4 -4
- package/dist/chunks/{formatter-10veb3z3.js → repository-xpjxmhsa.js} +5 -5
- package/dist/chunks/{formatter-eeytvfr7.js → repository-xqesnw9t.js} +2 -2
- package/dist/chunks/{formatter-tpjmrfc6.js → repository-xvk67q7t.js} +16 -16
- package/dist/chunks/{formatter-1twmh811.js → repository-y0rznfn7.js} +23 -23
- package/dist/chunks/{formatter-be3cmm3y.js → repository-y4gksshd.js} +59 -59
- package/dist/chunks/{formatter-3m4fz3hb.js → repository-y7a06hmq.js} +10 -10
- package/dist/chunks/{formatter-h9rpx784.js → repository-y8nypnxs.js} +34 -34
- package/dist/chunks/{formatter-yb20nhc3.js → repository-yb20nhc3.js} +1 -1
- package/dist/chunks/{formatter-5wyjxme5.js → repository-ybws1qgk.js} +7 -7
- package/dist/chunks/{formatter-4nr20r5b.js → repository-yhx5bx5z.js} +39 -39
- package/dist/chunks/{formatter-yr705xyq.js → repository-yr705xyq.js} +1 -1
- package/dist/chunks/{formatter-yvtc2x31.js → repository-yvtc2x31.js} +1 -1
- package/dist/chunks/{formatter-z0wbgq7s.js → repository-z0wbgq7s.js} +1 -1
- package/dist/chunks/{formatter-09cv1hcq.js → repository-z262y3bk.js} +19 -19
- package/dist/chunks/{formatter-qrjwc0ab.js → repository-z4w3231s.js} +32 -32
- package/dist/chunks/{formatter-8vnqf0b3.js → repository-z7r7vmcc.js} +18 -18
- package/dist/chunks/{formatter-ze75qvmd.js → repository-ze75qvmd.js} +3 -3
- package/dist/chunks/{formatter-8frvfs4e.js → repository-zph6xvvn.js} +41 -41
- package/dist/chunks/{formatter-f9tc5me5.js → repository-zqjd7nbm.js} +6 -6
- package/dist/chunks/{formatter-n6nqkh8e.js → repository-zqjk3b05.js} +32 -32
- package/dist/chunks/{formatter-pn8p7g5s.js → repository-zqm9n0j1.js} +30 -30
- package/dist/chunks/{formatter-8er0ykh9.js → repository-zqnv9fqk.js} +39 -39
- package/dist/chunks/{formatter-s9mjx3f0.js → repository-zs3nra86.js} +30 -30
- package/dist/chunks/{formatter-rxptv60e.js → repository-zy4b93eg.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +150 -150
- package/dist/codemode/instructions.js +8 -8
- package/dist/codemode/tool.js +157 -157
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +113 -113
- package/dist/config/plugin/agent.js +134 -134
- package/dist/config/plugin/command.js +249 -249
- package/dist/config/plugin/compaction.js +175 -175
- package/dist/config/plugin/compatibility.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +132 -132
- package/dist/config/plugin/location-watcher.js +131 -131
- package/dist/config/plugin/mcp.js +150 -150
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +131 -131
- package/dist/config/plugin/skill-file.js +151 -151
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +132 -132
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +134 -134
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +105 -105
- package/dist/effect/app-node-builder.js +450 -450
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/client-tls/client-tls.bun.js +1 -1
- package/dist/effect/client-tls/client-tls.node.js +1 -1
- package/dist/effect/client-tls/client-tls.workerd.js +1 -1
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- 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 +85 -85
- package/dist/file-access.js +162 -162
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +166 -166
- 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 +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +258 -258
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +136 -136
- package/dist/form.js +89 -89
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +117 -117
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +113 -113
- package/dist/image/notice.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 +441 -441
- package/dist/instruction-discovery.js +98 -98
- package/dist/instructions/builtins.js +101 -101
- package/dist/instructions/index.js +6 -6
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +96 -96
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +190 -190
- package/dist/location-lifecycle.js +155 -155
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +438 -438
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -161
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +149 -149
- package/dist/mcp/instructions.js +188 -188
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +110 -110
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +161 -161
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +113 -113
- package/dist/model-resolver.js +113 -113
- package/dist/model-retry.js +1 -1
- package/dist/model.js +112 -112
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +118 -118
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +158 -158
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +148 -148
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +251 -251
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +418 -418
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +130 -130
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +151 -151
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +6 -6
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +115 -115
- package/dist/plugin/provider/claude-agent/integration.js +116 -116
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +111 -111
- package/dist/plugin/provider/claude-agent/session.js +113 -113
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -144
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +163 -163
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +242 -242
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +154 -154
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +430 -430
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +3 -3
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +262 -262
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +111 -111
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +102 -102
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +256 -256
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +270 -270
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +135 -135
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +177 -177
- package/dist/session/context.js +208 -208
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +275 -275
- package/dist/session/execution/subagent-report.js +147 -147
- package/dist/session/execution.js +174 -174
- package/dist/session/generate.js +208 -208
- package/dist/session/history.js +141 -141
- package/dist/session/inbox.js +154 -154
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +91 -91
- package/dist/session/instruction-state.js +9 -9
- package/dist/session/instructions.js +148 -148
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +173 -173
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +176 -176
- package/dist/session/projector.js +148 -148
- package/dist/session/prompt.js +153 -153
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +144 -144
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +263 -263
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +155 -155
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +168 -168
- package/dist/session/runner/to-llm-message.js +142 -142
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +196 -196
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +147 -147
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +175 -175
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +212 -212
- package/dist/session/to-session-error.js +154 -154
- package/dist/session/transfer.js +260 -260
- package/dist/session/usage.js +1 -1
- package/dist/session.js +253 -253
- package/dist/shared-cache.js +5 -5
- 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 +15 -15
- package/dist/shell.js +149 -149
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +156 -156
- package/dist/skill.js +159 -159
- package/dist/snapshot.js +102 -102
- 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 +189 -189
- package/dist/tool/plugin/artifact.js +246 -246
- package/dist/tool/plugin/edit.js +172 -172
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +171 -171
- package/dist/tool/plugin/image-generate.js +257 -257
- package/dist/tool/plugin/mcp-events.js +168 -168
- package/dist/tool/plugin/mcp-resource.js +172 -172
- package/dist/tool/plugin/opencode.js +168 -168
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +151 -151
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +262 -262
- package/dist/tool/plugin/shell.js +247 -247
- package/dist/tool/plugin/skill.js +162 -162
- package/dist/tool/plugin/subagent.js +253 -253
- package/dist/tool/plugin/todo.js +158 -158
- package/dist/tool/plugin/webfetch.js +162 -162
- package/dist/tool/plugin/websearch.js +160 -160
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +116 -116
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +165 -165
- package/dist/usage-limits.js +100 -100
- package/dist/util/canonical-json.js +1 -1
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +107 -107
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +95 -95
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- 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 +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +8 -8
- package/dist/chunks/formatter-3qhreq2y.js +0 -16
- package/dist/chunks/formatter-b5696b0c.js +0 -26
- package/dist/chunks/formatter-rnatn0se.js +0 -273
- package/dist/chunks/formatter-z7bdqmx5.js +0 -18
- /package/dist/chunks/{formatter-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{formatter-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{formatter-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{formatter-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{formatter-1kah00gy.js → repository-1kah00gy.js} +0 -0
- /package/dist/chunks/{formatter-24dcb14g.js → repository-24dcb14g.js} +0 -0
- /package/dist/chunks/{formatter-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{formatter-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{formatter-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{formatter-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{formatter-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{formatter-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{formatter-4qk9sjk2.js → repository-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{formatter-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{formatter-5w3e23ze.js → repository-5w3e23ze.js} +0 -0
- /package/dist/chunks/{formatter-6agm2x70.js → repository-6agm2x70.js} +0 -0
- /package/dist/chunks/{formatter-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{formatter-6q2bdcd1.js → repository-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{formatter-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{formatter-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{formatter-7rvsyqjv.js → repository-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{formatter-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{formatter-84wd9syh.js → repository-84wd9syh.js} +0 -0
- /package/dist/chunks/{formatter-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{formatter-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{formatter-8wj87zfr.js → repository-8wj87zfr.js} +0 -0
- /package/dist/chunks/{formatter-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{formatter-9ceax7yg.js → repository-9ceax7yg.js} +0 -0
- /package/dist/chunks/{formatter-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{formatter-ade8csyh.js → repository-ade8csyh.js} +0 -0
- /package/dist/chunks/{formatter-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{formatter-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{formatter-beh6qq61.js → repository-beh6qq61.js} +0 -0
- /package/dist/chunks/{formatter-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{formatter-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{formatter-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{formatter-cqv5kn06.js → repository-cqv5kn06.js} +0 -0
- /package/dist/chunks/{formatter-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{formatter-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{formatter-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{formatter-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{formatter-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{formatter-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{formatter-ean2d8b5.js → repository-ean2d8b5.js} +0 -0
- /package/dist/chunks/{formatter-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{formatter-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{formatter-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{formatter-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{formatter-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{formatter-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{formatter-fkpq3x5p.js → repository-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{formatter-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{formatter-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{formatter-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{formatter-hcxmzztb.js → repository-hcxmzztb.js} +0 -0
- /package/dist/chunks/{formatter-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{formatter-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{formatter-jjkms2e6.js → repository-jjkms2e6.js} +0 -0
- /package/dist/chunks/{formatter-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{formatter-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{formatter-jwr30sdr.js → repository-jwr30sdr.js} +0 -0
- /package/dist/chunks/{formatter-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{formatter-m18g726c.js → repository-m18g726c.js} +0 -0
- /package/dist/chunks/{formatter-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{formatter-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{formatter-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{formatter-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{formatter-nh4v3znn.js → repository-nh4v3znn.js} +0 -0
- /package/dist/chunks/{formatter-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{formatter-p71gwv9c.js → repository-p71gwv9c.js} +0 -0
- /package/dist/chunks/{formatter-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{formatter-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{formatter-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{formatter-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{formatter-qg3g05ea.js → repository-qg3g05ea.js} +0 -0
- /package/dist/chunks/{formatter-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{formatter-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{formatter-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{formatter-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{formatter-syrav9an.js → repository-syrav9an.js} +0 -0
- /package/dist/chunks/{formatter-t03h4f5z.js → repository-t03h4f5z.js} +0 -0
- /package/dist/chunks/{formatter-ty7weeps.js → repository-ty7weeps.js} +0 -0
- /package/dist/chunks/{formatter-v2dnd5dt.js → repository-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{formatter-ve7vex1e.js → repository-ve7vex1e.js} +0 -0
- /package/dist/chunks/{formatter-vtarvj67.js → repository-vtarvj67.js} +0 -0
- /package/dist/chunks/{formatter-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{formatter-wc3fc9cn.js → repository-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{formatter-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{formatter-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{formatter-x4th4bpe.js → repository-x4th4bpe.js} +0 -0
- /package/dist/chunks/{formatter-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{formatter-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{formatter-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{formatter-z5v4ffb3.js → repository-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{formatter-z9919s4g.js → repository-z9919s4g.js} +0 -0
- /package/dist/chunks/{formatter-zxpyjp51.js → repository-zxpyjp51.js} +0 -0
- /package/dist/chunks/{formatter-zz5vv3aq.js → repository-zz5vv3aq.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-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,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-80pdk984.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID8,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./repository-rpx37cdg.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./repository-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID8.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service92,
|
|
3
|
+
node94
|
|
4
|
+
} from "./repository-a6qcwttn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service85,
|
|
7
|
+
node87
|
|
8
|
+
} from "./repository-k9rwbxer.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service68,
|
|
11
|
+
node69
|
|
12
|
+
} from "./repository-1aes4e9d.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
NotFoundError12
|
|
15
|
+
} from "./repository-zqjd7nbm.js";
|
|
16
16
|
import {
|
|
17
17
|
match3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./repository-1aqsckx4.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service66,
|
|
21
|
+
node67
|
|
22
|
+
} from "./repository-8tjj9rtv.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service65,
|
|
25
|
+
node66
|
|
26
|
+
} from "./repository-22726xzj.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service67,
|
|
29
|
+
node68
|
|
30
|
+
} from "./repository-2hc2yyeh.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/permission.ts
|
|
36
36
|
var exports_permission = {};
|
|
@@ -39,31 +39,31 @@ __export(exports_permission, {
|
|
|
39
39
|
CorrectedError: () => CorrectedError2,
|
|
40
40
|
DeclinedError: () => DeclinedError2,
|
|
41
41
|
Effect: () => PermissionEffect,
|
|
42
|
-
Event: () =>
|
|
43
|
-
ID: () =>
|
|
42
|
+
Event: () => Event11,
|
|
43
|
+
ID: () => ID11,
|
|
44
44
|
NotFoundError: () => NotFoundError10,
|
|
45
45
|
Permission: () => exports_permission,
|
|
46
46
|
Reply: () => Reply2,
|
|
47
47
|
Request: () => Request3,
|
|
48
48
|
Rule: () => Rule2,
|
|
49
49
|
Ruleset: () => Ruleset2,
|
|
50
|
-
Service: () =>
|
|
51
|
-
Source: () =>
|
|
50
|
+
Service: () => Service64,
|
|
51
|
+
Source: () => Source4,
|
|
52
52
|
Unattended: () => Unattended2,
|
|
53
53
|
evaluate: () => evaluate3,
|
|
54
54
|
invocation: () => invocation2,
|
|
55
55
|
merge: () => merge2,
|
|
56
|
-
node: () =>
|
|
56
|
+
node: () => node65
|
|
57
57
|
});
|
|
58
58
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
59
59
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
60
60
|
import { Permission } from "@opencode/schema/permission";
|
|
61
61
|
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
62
|
-
import { Event as
|
|
62
|
+
import { Event as Event11 } from "@opencode/schema/permission";
|
|
63
63
|
var PermissionEffect = Permission.Effect;
|
|
64
64
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
65
|
-
var
|
|
66
|
-
var
|
|
65
|
+
var ID11 = Permission.ID;
|
|
66
|
+
var Source4 = Permission.Source;
|
|
67
67
|
var Request3 = Permission.Request;
|
|
68
68
|
var Reply2 = Permission.Reply;
|
|
69
69
|
var invocation2 = (context) => ({
|
|
@@ -100,7 +100,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
class NotFoundError10 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
103
|
-
requestID:
|
|
103
|
+
requestID: ID11
|
|
104
104
|
}) {
|
|
105
105
|
}
|
|
106
106
|
function evaluate3(action, resource, ...rulesets) {
|
|
@@ -114,15 +114,15 @@ function merge2(...rulesets) {
|
|
|
114
114
|
return rulesets.flat();
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service64 extends Context.Service()("@opencode/Permission") {
|
|
118
118
|
}
|
|
119
|
-
var layer = Layer.effect(
|
|
120
|
-
const bus = yield*
|
|
121
|
-
const location = yield*
|
|
122
|
-
const agents = yield*
|
|
123
|
-
const sessions = yield*
|
|
124
|
-
const saved = yield*
|
|
125
|
-
const hooks = yield*
|
|
119
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
120
|
+
const bus = yield* Service92;
|
|
121
|
+
const location = yield* Service85;
|
|
122
|
+
const agents = yield* Service68;
|
|
123
|
+
const sessions = yield* Service66;
|
|
124
|
+
const saved = yield* Service65;
|
|
125
|
+
const hooks = yield* Service67;
|
|
126
126
|
const pending = new Map;
|
|
127
127
|
let closed = false;
|
|
128
128
|
const close = Effect.gen(function* () {
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
145
145
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
146
146
|
const session = yield* sessions.get(sessionID);
|
|
147
147
|
if (!session)
|
|
148
|
-
return yield* new
|
|
148
|
+
return yield* new NotFoundError12({ sessionID });
|
|
149
149
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
150
150
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
151
151
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID11.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID11.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -313,12 +313,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
313
313
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
314
314
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
315
315
|
});
|
|
316
|
-
return
|
|
316
|
+
return Service64.of({ ask, assert, assertNotDenied, allows, reply, get, forSession, list, close });
|
|
317
317
|
}));
|
|
318
|
-
var
|
|
319
|
-
service:
|
|
318
|
+
var node65 = makeLocationNode({
|
|
319
|
+
service: Service64,
|
|
320
320
|
layer,
|
|
321
|
-
deps: [
|
|
321
|
+
deps: [node94, node87, node69, node67, node66, node68]
|
|
322
322
|
});
|
|
323
323
|
|
|
324
|
-
export { PermissionEffect,
|
|
324
|
+
export { PermissionEffect, ID11, Source4, Request3, Reply2, invocation2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError10, evaluate3, merge2, Service64, node65, exports_permission, Rule2, Ruleset2, Event11 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveModel2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-w4xw9ac5.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-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: () => Plugin20,
|
|
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 Plugin20 = 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 Plugin55 = define({
|
|
|
37
37
|
})
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
export { identity2,
|
|
40
|
+
export { identity2, Plugin20, exports_identity };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-5whx36p1.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service3,
|
|
13
|
+
node: () => node4
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service3 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service3.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node4 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service3, node4, exports_update };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service55,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service55 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service55, exports_runner };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service92,
|
|
3
|
+
node94
|
|
4
|
+
} from "./repository-a6qcwttn.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref4,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service85,
|
|
8
|
+
node87
|
|
9
|
+
} from "./repository-k9rwbxer.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service70,
|
|
12
|
+
node71
|
|
13
|
+
} from "./repository-74m4g95v.js";
|
|
14
14
|
import {
|
|
15
15
|
cleanup3
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./repository-tczq8hjw.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
Service48,
|
|
19
19
|
args2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
node51
|
|
21
|
+
} from "./repository-52840mb9.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
Service44,
|
|
24
|
+
node47,
|
|
25
25
|
available4
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./repository-9zx7r65b.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service67,
|
|
29
|
+
node68
|
|
30
|
+
} from "./repository-2hc2yyeh.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
Service43,
|
|
33
33
|
node46
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./repository-3c7qpzd7.js";
|
|
35
35
|
import {
|
|
36
36
|
SessionSchema2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./repository-3beq3wdw.js";
|
|
38
38
|
import {
|
|
39
39
|
latest2,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
40
|
+
Service79,
|
|
41
|
+
node81
|
|
42
|
+
} from "./repository-jm1xng1y.js";
|
|
43
43
|
import {
|
|
44
44
|
MAX_LINES2,
|
|
45
45
|
MAX_BYTES2
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./repository-rxmw0rhb.js";
|
|
47
47
|
import {
|
|
48
48
|
__export
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./repository-9rqn6x4v.js";
|
|
50
50
|
|
|
51
51
|
// src/shell.ts
|
|
52
52
|
var exports_shell4 = {};
|
|
53
53
|
__export(exports_shell4, {
|
|
54
54
|
DIRECTORY: () => DIRECTORY2,
|
|
55
55
|
Daemon: () => Daemon2,
|
|
56
|
-
NotFoundError: () =>
|
|
56
|
+
NotFoundError: () => NotFoundError6,
|
|
57
57
|
RETENTION: () => RETENTION2,
|
|
58
|
-
Service: () =>
|
|
58
|
+
Service: () => Service42,
|
|
59
59
|
Shell: () => exports_shell4,
|
|
60
60
|
ToolCall: () => ToolCall2,
|
|
61
61
|
cleanup: () => cleanup2,
|
|
@@ -63,6 +63,7 @@ __export(exports_shell4, {
|
|
|
63
63
|
node: () => node45
|
|
64
64
|
});
|
|
65
65
|
import path from "path";
|
|
66
|
+
import { isUtf8 } from "node:buffer";
|
|
66
67
|
import {
|
|
67
68
|
Context,
|
|
68
69
|
Deferred,
|
|
@@ -86,7 +87,7 @@ import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node
|
|
|
86
87
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
87
88
|
import { TextBoundary } from "@opencode/util/text-boundary";
|
|
88
89
|
import { Global } from "@opencode/util/global";
|
|
89
|
-
class
|
|
90
|
+
class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
90
91
|
id: Shell.ID
|
|
91
92
|
}) {
|
|
92
93
|
}
|
|
@@ -115,12 +116,12 @@ var Stored = Schema.Struct({
|
|
|
115
116
|
});
|
|
116
117
|
var decodeStored = Schema.decodeUnknownOption(Stored);
|
|
117
118
|
|
|
118
|
-
class
|
|
119
|
+
class Service42 extends Context.Service()("@opencode/Shell") {
|
|
119
120
|
}
|
|
120
121
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
121
122
|
const fs = yield* FSUtil.Service;
|
|
122
123
|
const global = yield* Global.Service;
|
|
123
|
-
const pty = yield*
|
|
124
|
+
const pty = yield* Service44;
|
|
124
125
|
const directory = path.join(global.data, DIRECTORY2);
|
|
125
126
|
const projects = yield* fs.readDirectoryEntries(directory).pipe(Effect.map((entries) => entries.filter((entry) => entry.type === "Directory")), Effect.orElseSucceed(() => []));
|
|
126
127
|
const files = yield* Effect.forEach(projects, (project) => fs.readDirectoryEntries(path.join(directory, project.name)).pipe(Effect.map((entries) => entries.flatMap((entry) => entry.type === "File" && /^sh_[0-9a-f]{12}.*\.out$/.test(entry.name) ? [path.join(directory, project.name, entry.name)] : [])), Effect.orElseSucceed(() => [])), { concurrency: 8 });
|
|
@@ -140,14 +141,14 @@ var cleanupLayer = Layer.effectDiscard(cleanup2().pipe(Effect.repeat(Schedule.sp
|
|
|
140
141
|
var cleanupNode = makeGlobalNode({
|
|
141
142
|
name: "shell-output-cleanup",
|
|
142
143
|
layer: cleanupLayer,
|
|
143
|
-
deps: [FSUtil.node, Global.node,
|
|
144
|
+
deps: [FSUtil.node, Global.node, node47]
|
|
144
145
|
});
|
|
145
146
|
|
|
146
147
|
class Daemon2 extends Context.Service()("@opencode/Shell/Daemon") {
|
|
147
148
|
}
|
|
148
149
|
var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
|
|
149
|
-
const bus = yield*
|
|
150
|
-
const pty = yield*
|
|
150
|
+
const bus = yield* Service92;
|
|
151
|
+
const pty = yield* Service44;
|
|
151
152
|
const scope = yield* Effect.scope;
|
|
152
153
|
const context = yield* Effect.context();
|
|
153
154
|
const global = yield* Global.Service;
|
|
@@ -189,7 +190,7 @@ var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
|
|
|
189
190
|
yield* Fiber.interrupt(run.wait);
|
|
190
191
|
yield* pty.terminatePipe(run.process).pipe(Effect.ignore);
|
|
191
192
|
yield* Effect.promise(() => unlink(run.info.file).catch(() => {}));
|
|
192
|
-
yield* Deferred.fail(run.done, new
|
|
193
|
+
yield* Deferred.fail(run.done, new NotFoundError6({ id }));
|
|
193
194
|
if (run.info.status === "running")
|
|
194
195
|
yield* bus.publish(Shell.Event.Exited, { id, status: "killed" }, { location: ref });
|
|
195
196
|
yield* bus.publish(Shell.Event.Deleted, { id }, { location: ref });
|
|
@@ -382,17 +383,17 @@ var daemonLayer = Layer.effect(Daemon2, Effect.gen(function* () {
|
|
|
382
383
|
var daemonNode2 = makeGlobalNode({
|
|
383
384
|
service: Daemon2,
|
|
384
385
|
layer: daemonLayer,
|
|
385
|
-
deps: [
|
|
386
|
+
deps: [node94, Global.node, node47]
|
|
386
387
|
});
|
|
387
|
-
var layer = () => Layer.effect(
|
|
388
|
-
const bus = yield*
|
|
389
|
-
const location = yield*
|
|
388
|
+
var layer = () => Layer.effect(Service42, Effect.gen(function* () {
|
|
389
|
+
const bus = yield* Service92;
|
|
390
|
+
const location = yield* Service85;
|
|
390
391
|
const global = yield* Global.Service;
|
|
391
|
-
const shell = yield*
|
|
392
|
-
const environment = yield*
|
|
393
|
-
const hooks = yield*
|
|
394
|
-
const environments = yield*
|
|
395
|
-
const config = yield*
|
|
392
|
+
const shell = yield* Service48;
|
|
393
|
+
const environment = yield* Service70;
|
|
394
|
+
const hooks = yield* Service67;
|
|
395
|
+
const environments = yield* Service43;
|
|
396
|
+
const config = yield* Service79;
|
|
396
397
|
const daemon = yield* Daemon2;
|
|
397
398
|
const context = yield* Effect.context();
|
|
398
399
|
const runFork = Effect.runForkWith(context);
|
|
@@ -415,7 +416,7 @@ var layer = () => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
415
416
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
416
417
|
const command = commands.get(id) ?? runs?.get(id);
|
|
417
418
|
if (!command)
|
|
418
|
-
return yield* new
|
|
419
|
+
return yield* new NotFoundError6({ id });
|
|
419
420
|
return command;
|
|
420
421
|
});
|
|
421
422
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -428,7 +429,7 @@ var layer = () => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
428
429
|
commands.delete(id);
|
|
429
430
|
if (command.timeoutFiber)
|
|
430
431
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
431
|
-
yield* Deferred.fail(command.done, new
|
|
432
|
+
yield* Deferred.fail(command.done, new NotFoundError6({ id }));
|
|
432
433
|
yield* Effect.promise(() => unlink(command.info.file).catch(() => {}));
|
|
433
434
|
if (command.info.status === "running")
|
|
434
435
|
yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
|
|
@@ -494,14 +495,23 @@ var layer = () => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
494
495
|
const command = yield* require2(id);
|
|
495
496
|
const cursor = input?.cursor ?? 0;
|
|
496
497
|
const limit = input?.limit ?? 65536;
|
|
498
|
+
const running = command.info.status === "running";
|
|
497
499
|
const size = yield* sizeOf(command);
|
|
498
500
|
if (cursor >= size)
|
|
499
501
|
return { output: "", cursor: size, size, truncated: false };
|
|
500
502
|
const start = Math.max(0, cursor);
|
|
501
|
-
|
|
503
|
+
if (limit <= 0)
|
|
504
|
+
return { output: "", cursor: start, size, truncated: false };
|
|
505
|
+
const offset = Math.max(0, start - 3);
|
|
506
|
+
const bytes = yield* readRange(command.info.file, offset, Math.min(size, start + limit + 3) - offset);
|
|
507
|
+
const from = start - offset;
|
|
508
|
+
const to = Math.min(bytes.length, from + limit);
|
|
509
|
+
const first = splitCharacter(bytes, from, running)?.end ?? from;
|
|
510
|
+
const last = splitCharacter(bytes, to, running);
|
|
511
|
+
const end = last && last.start === first && last.end !== undefined ? last.end : last?.start ?? to;
|
|
502
512
|
return {
|
|
503
|
-
output: bytes.toString("utf8"),
|
|
504
|
-
cursor:
|
|
513
|
+
output: bytes.toString("utf8", first, end),
|
|
514
|
+
cursor: offset + Math.max(first, end),
|
|
505
515
|
size,
|
|
506
516
|
truncated: false
|
|
507
517
|
};
|
|
@@ -758,7 +768,7 @@ var layer = () => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
758
768
|
const command = yield* Deferred.await(ready);
|
|
759
769
|
return command.info;
|
|
760
770
|
});
|
|
761
|
-
return
|
|
771
|
+
return Service42.of({
|
|
762
772
|
create,
|
|
763
773
|
list,
|
|
764
774
|
get,
|
|
@@ -773,6 +783,24 @@ var layer = () => Layer.effect(Service43, Effect.gen(function* () {
|
|
|
773
783
|
handoffPrepared: daemon.handoffPrepared
|
|
774
784
|
});
|
|
775
785
|
}));
|
|
786
|
+
function splitCharacter(bytes, cut, running) {
|
|
787
|
+
for (let start = cut - 1;start >= Math.max(0, cut - 3); start--) {
|
|
788
|
+
const lead = bytes[start];
|
|
789
|
+
if ((lead & 192) === 128)
|
|
790
|
+
continue;
|
|
791
|
+
if (lead < 194 || lead > 244)
|
|
792
|
+
return;
|
|
793
|
+
const end = start + (lead < 224 ? 2 : lead < 240 ? 3 : 4);
|
|
794
|
+
if (end <= cut)
|
|
795
|
+
return;
|
|
796
|
+
const char = bytes.subarray(start, end);
|
|
797
|
+
if (end <= bytes.length)
|
|
798
|
+
return isUtf8(char) ? { start, end } : undefined;
|
|
799
|
+
if (running && new TextDecoder().decode(char, { stream: true }) === "")
|
|
800
|
+
return { start, end: undefined };
|
|
801
|
+
return;
|
|
802
|
+
}
|
|
803
|
+
}
|
|
776
804
|
function annotate(info) {
|
|
777
805
|
const sessionID = info.metadata.sessionID;
|
|
778
806
|
return Effect.annotateCurrentSpan({
|
|
@@ -794,20 +822,20 @@ function formatSize(bytes) {
|
|
|
794
822
|
return kb > 1024 ? `${(kb / 1024).toFixed(1)} MB` : `${Math.round(kb)} KB`;
|
|
795
823
|
}
|
|
796
824
|
var node45 = makeLocationNode({
|
|
797
|
-
service:
|
|
825
|
+
service: Service42,
|
|
798
826
|
layer: layer(),
|
|
799
827
|
deps: [
|
|
800
|
-
|
|
801
|
-
|
|
828
|
+
node94,
|
|
829
|
+
node87,
|
|
802
830
|
Global.node,
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
831
|
+
node51,
|
|
832
|
+
node71,
|
|
833
|
+
node68,
|
|
806
834
|
node46,
|
|
807
|
-
|
|
835
|
+
node81,
|
|
808
836
|
daemonNode2,
|
|
809
837
|
cleanupNode
|
|
810
838
|
]
|
|
811
839
|
});
|
|
812
840
|
|
|
813
|
-
export {
|
|
841
|
+
export { NotFoundError6, RETENTION2, DIRECTORY2, ToolCall2, Service42, cleanup2, Daemon2, daemonNode2, node45, exports_shell4 };
|