@opencode/core 0.0.0-dev-853 → 0.0.0-dev-857
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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +250 -250
- package/dist/bus.js +86 -86
- package/dist/chunks/{shell-9kxj67hy.js → voice-007ywwga.js} +24 -24
- package/dist/chunks/{shell-034tev2y.js → voice-034tev2y.js} +2 -2
- package/dist/chunks/{shell-4ztdh265.js → voice-04kmpqa6.js} +12 -12
- package/dist/chunks/{shell-9sbr471j.js → voice-0gswqch3.js} +33 -33
- package/dist/chunks/{shell-0j7gp832.js → voice-0j7gp832.js} +1 -1
- package/dist/chunks/{shell-y81zw8n6.js → voice-0jdndvzc.js} +41 -41
- package/dist/chunks/{shell-sx7gy4v1.js → voice-0jxrna0c.js} +25 -25
- package/dist/chunks/{shell-0ma9gw4f.js → voice-0ma9gw4f.js} +2 -2
- package/dist/chunks/{shell-39sgvy3e.js → voice-0php2d2a.js} +4 -4
- package/dist/chunks/{shell-dgfea18q.js → voice-0y11k5yq.js} +8 -8
- package/dist/chunks/{shell-37h4c00p.js → voice-10zv1f3g.js} +29 -29
- package/dist/chunks/{shell-as81mf2n.js → voice-13grrn5b.js} +34 -34
- package/dist/chunks/{shell-6abf839k.js → voice-14jsytdc.js} +27 -27
- package/dist/chunks/{shell-a6tvdjrr.js → voice-15bvhbby.js} +6 -6
- package/dist/chunks/{shell-w1q8tfjy.js → voice-17yqrs0w.js} +6 -6
- package/dist/chunks/{shell-3qevzq3v.js → voice-18b1hh0p.js} +11 -11
- package/dist/chunks/{shell-nd7xb35t.js → voice-1amffgqm.js} +4 -4
- package/dist/chunks/{shell-1aqsckx4.js → voice-1aqsckx4.js} +1 -1
- package/dist/chunks/{shell-1ep2p91f.js → voice-1ep2p91f.js} +2 -2
- package/dist/chunks/{shell-vekywxxz.js → voice-1hmpf7cm.js} +5 -5
- package/dist/chunks/{shell-bzvtymvr.js → voice-1jf351bs.js} +51 -51
- package/dist/chunks/{shell-davdp2k4.js → voice-1p2b8871.js} +7 -7
- package/dist/chunks/{shell-qmbbrz53.js → voice-1s2xv8zc.js} +2 -2
- package/dist/chunks/{shell-1x2knyw4.js → voice-1x2knyw4.js} +1 -1
- package/dist/chunks/{shell-57gea914.js → voice-1xrkkact.js} +28 -28
- package/dist/chunks/{shell-9x7tjw8v.js → voice-1z50rfj4.js} +18 -18
- package/dist/chunks/{shell-c2m9b3v8.js → voice-21fcxj70.js} +4 -4
- package/dist/chunks/{shell-nqnyv13s.js → voice-228jynaj.js} +30 -30
- package/dist/chunks/{shell-gmemj5zs.js → voice-26wfx3k0.js} +4 -4
- package/dist/chunks/{shell-fa9tjsaj.js → voice-29c6t400.js} +33 -33
- package/dist/chunks/{shell-m6qx465x.js → voice-2apc12e6.js} +29 -29
- package/dist/chunks/{shell-2fc7eemy.js → voice-2fc7eemy.js} +1 -1
- package/dist/chunks/voice-2jjfs7g5.js +16 -0
- package/dist/chunks/{shell-s7kyse9r.js → voice-2kg89srt.js} +4 -4
- package/dist/chunks/{shell-43rjhcm6.js → voice-2n7gdyfk.js} +5 -5
- package/dist/chunks/{shell-d0b7cqeb.js → voice-2pnhf2fv.js} +9 -9
- package/dist/chunks/{shell-aersyzkt.js → voice-2q8kqpdp.js} +5 -5
- package/dist/chunks/{shell-7q7stxqx.js → voice-317paypq.js} +46 -46
- package/dist/chunks/{shell-6vgx2e0j.js → voice-33z1s7yg.js} +16 -16
- package/dist/chunks/{shell-90ct6wq4.js → voice-38aws4xb.js} +4 -4
- package/dist/chunks/{shell-nchw3v9s.js → voice-3ay6yzp4.js} +5 -5
- package/dist/chunks/{shell-n5hcwyak.js → voice-3ecnnhrp.js} +3 -3
- package/dist/chunks/{shell-3hepkmqq.js → voice-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-17vemmv0.js → voice-3hgz2w02.js} +15 -15
- package/dist/chunks/{shell-3nnrz6f6.js → voice-3nnrz6f6.js} +1 -1
- package/dist/chunks/{shell-fxdc676n.js → voice-3qcagmrx.js} +17 -17
- package/dist/chunks/{shell-r17fbvme.js → voice-3qgwywyc.js} +4 -4
- package/dist/chunks/{shell-z0hj91t2.js → voice-3s86rvr5.js} +13 -13
- package/dist/chunks/{shell-c9re1fz3.js → voice-3vf3gmam.js} +7 -7
- package/dist/chunks/{shell-7em1gm9x.js → voice-3x5xqq0p.js} +18 -18
- package/dist/chunks/{shell-r91yw7hv.js → voice-3ygr0qfr.js} +84 -84
- package/dist/chunks/{shell-m3emfr1b.js → voice-40cqa2b9.js} +8 -8
- package/dist/chunks/{shell-40y6dtc2.js → voice-40y6dtc2.js} +1 -1
- package/dist/chunks/{shell-40za9wsf.js → voice-40za9wsf.js} +2 -2
- package/dist/chunks/{shell-8fp0tcye.js → voice-45st0dj7.js} +24 -24
- package/dist/chunks/{shell-1dry8s88.js → voice-4cksq6h5.js} +8 -8
- package/dist/chunks/{shell-4dx1dgte.js → voice-4dx1dgte.js} +1 -1
- package/dist/chunks/{shell-q7y3b9g0.js → voice-4ez818a4.js} +7 -7
- package/dist/chunks/{shell-4f25tdd0.js → voice-4f25tdd0.js} +1 -1
- package/dist/chunks/{shell-531gz68s.js → voice-4kgj01m1.js} +13 -13
- package/dist/chunks/{shell-a6qz1adp.js → voice-4ktcr6b7.js} +35 -35
- package/dist/chunks/{shell-4pyp9zr9.js → voice-4pyp9zr9.js} +1 -1
- package/dist/chunks/{shell-j873avsj.js → voice-4qw295j7.js} +29 -29
- package/dist/chunks/{shell-cxqxd4h8.js → voice-4rahzzdx.js} +27 -27
- package/dist/chunks/{shell-4v008n1t.js → voice-4v008n1t.js} +1 -1
- package/dist/chunks/{shell-8g6jtm9a.js → voice-56fec5hc.js} +35 -35
- package/dist/chunks/{shell-7rvfcytr.js → voice-5ag7nhfw.js} +45 -45
- package/dist/chunks/{shell-zjf8s0rh.js → voice-5jh8p6qp.js} +19 -19
- package/dist/chunks/{shell-5m9w47nd.js → voice-5m9w47nd.js} +1 -1
- package/dist/chunks/{shell-6t587bnv.js → voice-5nbmkez3.js} +18 -18
- package/dist/chunks/{shell-m87rqfwf.js → voice-5vnthf94.js} +1 -1
- package/dist/chunks/{shell-v0msv7bn.js → voice-5x4s3k56.js} +6 -6
- package/dist/chunks/{shell-p0zaryra.js → voice-61dk4ved.js} +5 -5
- package/dist/chunks/{shell-5c3vb04r.js → voice-6360tx8d.js} +19 -19
- package/dist/chunks/{shell-pc93sbyk.js → voice-63f78x08.js} +43 -43
- package/dist/chunks/{shell-w2ynyz06.js → voice-64gqhjbt.js} +22 -22
- package/dist/chunks/{shell-esezyxfc.js → voice-65n9jqtg.js} +8 -8
- package/dist/chunks/{shell-g3sfym9y.js → voice-66a3v75z.js} +17 -17
- package/dist/chunks/{shell-2evt93r8.js → voice-67trs57p.js} +13 -13
- package/dist/chunks/{shell-evh8jc0c.js → voice-67w5yr5f.js} +11 -11
- package/dist/chunks/{shell-ewwxda2t.js → voice-6bcwq14n.js} +5 -5
- package/dist/chunks/{shell-c1sqh6ct.js → voice-6jt1cnmq.js} +10 -10
- package/dist/chunks/{shell-dwgnrvz9.js → voice-6zz9rq4s.js} +21 -21
- package/dist/chunks/{shell-az8err3d.js → voice-72wnwvb1.js} +14 -14
- package/dist/chunks/{shell-80mg3ag8.js → voice-775hqbnd.js} +3 -3
- package/dist/chunks/{shell-7bmhse3q.js → voice-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-hn3q66x1.js → voice-7dbam6bh.js} +27 -27
- package/dist/chunks/{shell-xz07m27x.js → voice-7nqkf5r1.js} +2 -2
- package/dist/chunks/{shell-jb6jn1w7.js → voice-7rt14tnk.js} +22 -22
- package/dist/chunks/{shell-qse5egdc.js → voice-7tpt4b8a.js} +11 -11
- package/dist/chunks/{shell-bgydqt93.js → voice-7vw7ff3h.js} +4 -4
- package/dist/chunks/{shell-7w2ypzdf.js → voice-7w2ypzdf.js} +1 -1
- package/dist/chunks/{shell-7weczvnd.js → voice-7weczvnd.js} +1 -1
- package/dist/chunks/{shell-tfrjkk8b.js → voice-81cv223x.js} +9 -9
- package/dist/chunks/{shell-gerka9tj.js → voice-859w1rtj.js} +9 -9
- package/dist/chunks/{shell-89287pr7.js → voice-89287pr7.js} +1 -1
- package/dist/chunks/{shell-8b3vzgkx.js → voice-8b3vzgkx.js} +1 -1
- package/dist/chunks/{shell-8bcc8xgx.js → voice-8bcc8xgx.js} +1 -1
- package/dist/chunks/{shell-5whx36p1.js → voice-8cg7mtm3.js} +4 -4
- package/dist/chunks/{shell-61bggdf2.js → voice-8ebjj741.js} +16 -16
- package/dist/chunks/{shell-vr838nkk.js → voice-8hha7m8r.js} +10 -10
- package/dist/chunks/{shell-jz9rr28n.js → voice-8mqwqd20.js} +18 -18
- package/dist/chunks/{shell-qax4z3xy.js → voice-8n7628d6.js} +60 -60
- package/dist/chunks/{shell-29rcrt89.js → voice-8r9j9d0g.js} +36 -36
- package/dist/chunks/{shell-8sxe6kv8.js → voice-8sxe6kv8.js} +2 -2
- package/dist/chunks/{shell-5qwpvtpx.js → voice-8tq4wr72.js} +6 -6
- package/dist/chunks/voice-8v2cm02q.js +26 -0
- package/dist/chunks/{shell-8wtp7s3z.js → voice-8wtp7s3z.js} +1 -1
- package/dist/chunks/voice-8x060fmy.js +18 -0
- package/dist/chunks/{shell-8zv0xmg5.js → voice-8zv0xmg5.js} +1 -1
- package/dist/chunks/{shell-v8k43d52.js → voice-93kqwh3k.js} +20 -20
- package/dist/chunks/{shell-kzdam8c6.js → voice-93xmyh8q.js} +5 -5
- package/dist/chunks/{shell-znp8xnpr.js → voice-948yk7hn.js} +32 -32
- package/dist/chunks/{shell-d6pgezd3.js → voice-95n4thwz.js} +4 -4
- package/dist/chunks/{shell-ptzdhrt4.js → voice-963hk181.js} +9 -9
- package/dist/chunks/{shell-ye5s7wzt.js → voice-98ss703m.js} +20 -20
- package/dist/chunks/{shell-tmzpty2x.js → voice-9aj160sj.js} +15 -15
- package/dist/chunks/{shell-838x9t6m.js → voice-9g37b6k5.js} +5 -5
- package/dist/chunks/{shell-q3wqnekb.js → voice-9jn9ym0q.js} +35 -35
- package/dist/chunks/{shell-bj78ahtb.js → voice-9rqhy0gk.js} +7 -7
- package/dist/chunks/{shell-9kabshmz.js → voice-9vebysyt.js} +26 -26
- package/dist/chunks/{shell-tqxdmz5j.js → voice-a0xjv2dd.js} +18 -18
- package/dist/chunks/{shell-r1ef3b6h.js → voice-a30f10n6.js} +20 -20
- package/dist/chunks/{shell-2yvt6v2s.js → voice-a7k6ewsr.js} +6 -6
- package/dist/chunks/{shell-jcm1p78q.js → voice-a9ff1cbe.js} +16 -16
- package/dist/chunks/{shell-tm6096nw.js → voice-affz3abm.js} +3 -3
- package/dist/chunks/{shell-83ymad88.js → voice-appthsdm.js} +12 -12
- package/dist/chunks/{shell-r2tvqa91.js → voice-as5zxd4x.js} +12 -12
- package/dist/chunks/voice-avn86q35.js +265 -0
- package/dist/chunks/{shell-6wdw655b.js → voice-aw1nz50a.js} +193 -193
- package/dist/chunks/{shell-ayjs7tqn.js → voice-ayjs7tqn.js} +2 -2
- package/dist/chunks/{shell-pew440aa.js → voice-b6s5pege.js} +13 -13
- package/dist/chunks/{shell-b27yaz8n.js → voice-b6tggqyb.js} +21 -21
- package/dist/chunks/{shell-b6z35kmf.js → voice-b6z35kmf.js} +1 -1
- package/dist/chunks/{shell-5reek4m1.js → voice-b79yzycg.js} +15 -15
- package/dist/chunks/{shell-ak34fkrk.js → voice-b7nkz392.js} +1 -1
- package/dist/chunks/{shell-fxap3bxw.js → voice-b9hd3bzf.js} +4 -4
- package/dist/chunks/{shell-zhtzjnjr.js → voice-bb65ze16.js} +3 -3
- package/dist/chunks/{shell-bdhd9h6e.js → voice-bdhd9h6e.js} +1 -1
- package/dist/chunks/{shell-vmxsyvj6.js → voice-bhfd478d.js} +4 -4
- package/dist/chunks/{shell-bstexjd6.js → voice-bstexjd6.js} +1 -1
- package/dist/chunks/{shell-e1cae856.js → voice-c2b2hp2n.js} +5 -5
- package/dist/chunks/{shell-px7qpgcn.js → voice-c5zvymhv.js} +4 -4
- package/dist/chunks/{shell-sk2z2nm4.js → voice-c6884m2p.js} +32 -32
- package/dist/chunks/{shell-z6vb2phv.js → voice-c77trv5y.js} +46 -46
- package/dist/chunks/{shell-c7cw818c.js → voice-c7cw818c.js} +2 -2
- package/dist/chunks/{shell-eb4d46hf.js → voice-c7gmngtq.js} +33 -33
- package/dist/chunks/{shell-70712cqe.js → voice-cayvt0vt.js} +15 -15
- package/dist/chunks/{shell-4qqx4feb.js → voice-chbgnfyf.js} +11 -11
- package/dist/chunks/{shell-tyr6qep8.js → voice-ckxerznb.js} +6 -6
- package/dist/chunks/{shell-0c7fqt81.js → voice-cp0btd65.js} +25 -25
- package/dist/chunks/{shell-7mbxpjp9.js → voice-crk0b7xd.js} +23 -23
- package/dist/chunks/{shell-j1vm166b.js → voice-cv404eye.js} +11 -11
- package/dist/chunks/{shell-cwrgdav8.js → voice-cwrgdav8.js} +2 -2
- package/dist/chunks/{shell-d4v9tmah.js → voice-d4v9tmah.js} +2 -2
- package/dist/chunks/{shell-q0bgdeca.js → voice-d72ngnhk.js} +10 -10
- package/dist/chunks/{shell-az77vkz0.js → voice-daca3sp4.js} +31 -31
- package/dist/chunks/{shell-ca3p2z52.js → voice-dff15etc.js} +28 -28
- package/dist/chunks/{shell-dt77769w.js → voice-dt77769w.js} +1 -1
- package/dist/chunks/{shell-ntzvse3v.js → voice-dtb4s879.js} +29 -29
- package/dist/chunks/{shell-dy93a6sq.js → voice-dxx85q9f.js} +9 -9
- package/dist/chunks/{shell-kezxxrhx.js → voice-e0508nes.js} +19 -19
- package/dist/chunks/{shell-ttvxmp70.js → voice-e39jzwpb.js} +20 -20
- package/dist/chunks/{shell-vf99r031.js → voice-e6yw73yv.js} +4 -4
- package/dist/chunks/{shell-e834z07m.js → voice-e834z07m.js} +1 -1
- package/dist/chunks/{shell-djejg4dy.js → voice-eancfdmp.js} +9 -9
- package/dist/chunks/{shell-68ca9mcw.js → voice-eck949st.js} +6 -6
- package/dist/chunks/{shell-f2nktr1n.js → voice-eda7z8tq.js} +23 -23
- package/dist/chunks/{shell-p24x6225.js → voice-edm37t96.js} +6 -6
- package/dist/chunks/{shell-ssbg7dvy.js → voice-eh3et1g8.js} +49 -49
- package/dist/chunks/{shell-jp2xaw1k.js → voice-eha6a6qv.js} +14 -14
- package/dist/chunks/{shell-dhx19zs1.js → voice-eq64r4kc.js} +7 -7
- package/dist/chunks/{shell-eqw4pqj1.js → voice-eqw4pqj1.js} +2 -2
- package/dist/chunks/{shell-xy2b9wed.js → voice-exetmt6c.js} +16 -16
- package/dist/chunks/{shell-fffv3p7h.js → voice-fffv3p7h.js} +1 -1
- package/dist/chunks/{shell-fg9p65nk.js → voice-fg9p65nk.js} +2 -2
- package/dist/chunks/{shell-6w5k28v5.js → voice-fkbpfgaa.js} +9 -9
- package/dist/chunks/{shell-n85p4y1d.js → voice-fm9fnxz0.js} +8 -8
- package/dist/chunks/{shell-3shbzvjq.js → voice-fqhbmg78.js} +4 -4
- package/dist/chunks/{shell-9mszspr5.js → voice-fsvew1qc.js} +59 -59
- package/dist/chunks/{shell-5gnk47mq.js → voice-fv9dn303.js} +9 -9
- package/dist/chunks/{shell-r1zb7prx.js → voice-fwvmbzdy.js} +19 -19
- package/dist/chunks/{shell-0vppzqan.js → voice-fz5gj5z4.js} +8 -8
- package/dist/chunks/{shell-eqtq46k2.js → voice-g093ae3e.js} +53 -53
- package/dist/chunks/{shell-gavpdgyn.js → voice-g263trvv.js} +4 -4
- package/dist/chunks/{shell-g4txs7zc.js → voice-g4txs7zc.js} +4 -4
- package/dist/chunks/{shell-gbjdnr5j.js → voice-gbjdnr5j.js} +2 -2
- package/dist/chunks/{shell-gwyytpcj.js → voice-ggx84v7x.js} +3 -3
- package/dist/chunks/{shell-ghrv1g9c.js → voice-ghrv1g9c.js} +1 -1
- package/dist/chunks/{shell-04wmv77c.js → voice-gnf0w7n8.js} +2 -2
- package/dist/chunks/{shell-gx3xna53.js → voice-gvcwmjjn.js} +9 -9
- package/dist/chunks/{shell-gxs71cxp.js → voice-gxs71cxp.js} +1 -1
- package/dist/chunks/{shell-yvpsgrfy.js → voice-h8bzfdpp.js} +15 -15
- package/dist/chunks/{shell-g7eta4yz.js → voice-hb85jr2a.js} +15 -15
- package/dist/chunks/{shell-y20ftqhr.js → voice-hgn8y1cq.js} +21 -21
- package/dist/chunks/{shell-hgzwgvze.js → voice-hgzwgvze.js} +2 -2
- package/dist/chunks/{shell-csbxxvjj.js → voice-hkdwzhp8.js} +17 -17
- package/dist/chunks/{shell-c3pkq4dt.js → voice-hrb22e3z.js} +12 -12
- package/dist/chunks/{shell-xmpds20m.js → voice-hx6gesf1.js} +8 -8
- package/dist/chunks/{shell-cthhajey.js → voice-j1qqbd0e.js} +6 -6
- package/dist/chunks/{shell-j376ae4e.js → voice-j376ae4e.js} +1 -1
- package/dist/chunks/{shell-7ffybbfj.js → voice-j3f8hyeg.js} +7 -7
- package/dist/chunks/{shell-zmaa3c7p.js → voice-j79g5tnm.js} +14 -14
- package/dist/chunks/{shell-ze75qvmd.js → voice-j9nxzz3g.js} +3 -3
- package/dist/chunks/{shell-1p55xpzj.js → voice-jaav3vpq.js} +36 -36
- package/dist/chunks/{shell-kc1nkmjx.js → voice-jbmmwbcy.js} +16 -16
- package/dist/chunks/{shell-v32xxxs3.js → voice-jcetja7n.js} +28 -28
- package/dist/chunks/{shell-z0db5qhr.js → voice-jgb4knjh.js} +16 -16
- package/dist/chunks/{shell-jm70asfg.js → voice-jm70asfg.js} +1 -1
- package/dist/chunks/{shell-qbd6vm9j.js → voice-jmdc5cj3.js} +9 -9
- package/dist/chunks/{shell-9acds8p4.js → voice-jtvfmjn2.js} +5 -5
- package/dist/chunks/{shell-jv5ccajn.js → voice-jv5ccajn.js} +2 -2
- package/dist/chunks/{shell-jxd6f16v.js → voice-jxd6f16v.js} +2 -2
- package/dist/chunks/{shell-mm4jjfk6.js → voice-k5hz6rgk.js} +6 -6
- package/dist/chunks/{shell-171thb15.js → voice-kdfszyn5.js} +31 -31
- package/dist/chunks/{shell-qfz6bxfd.js → voice-kj9n5bvh.js} +4 -4
- package/dist/chunks/{shell-3e9y3yh4.js → voice-kt9dmq33.js} +5 -5
- package/dist/chunks/{shell-kzczzf4v.js → voice-kzczzf4v.js} +1 -1
- package/dist/chunks/{shell-m1714858.js → voice-m1714858.js} +1 -1
- package/dist/chunks/{shell-m9w0rfyh.js → voice-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-mb7mbhnz.js → voice-mb7mbhnz.js} +3 -3
- package/dist/chunks/{shell-w1md4n47.js → voice-mjttgq2j.js} +11 -11
- package/dist/chunks/{shell-mm06edep.js → voice-mm06edep.js} +1 -1
- package/dist/chunks/{shell-dbk86wt9.js → voice-mn5vx87t.js} +22 -22
- package/dist/chunks/{shell-198tgvry.js → voice-mv6jggxv.js} +8 -8
- package/dist/chunks/{shell-9380skfn.js → voice-n0f7jmd4.js} +9 -9
- package/dist/chunks/{shell-fcrd7kek.js → voice-n320gsn2.js} +4 -4
- package/dist/chunks/{shell-r7zrbnjn.js → voice-n3j33rb6.js} +4 -4
- package/dist/chunks/{shell-3p6fbd6z.js → voice-nbgmwbw6.js} +18 -18
- package/dist/chunks/{shell-fkg15t8v.js → voice-nczp1tk9.js} +17 -17
- package/dist/chunks/{shell-66myyt0m.js → voice-nnvw4z71.js} +24 -24
- package/dist/chunks/{shell-885ta1dv.js → voice-nyc4jwvb.js} +4 -4
- package/dist/chunks/{shell-d93erz9q.js → voice-p10mzfnc.js} +5 -5
- package/dist/chunks/{shell-0kat7t60.js → voice-p2dbv095.js} +12 -12
- package/dist/chunks/{shell-6vs53sbd.js → voice-p3khht5b.js} +11 -11
- package/dist/chunks/{shell-n5q3vjt1.js → voice-p84mhtcc.js} +31 -31
- package/dist/chunks/{shell-e87f6eew.js → voice-p9p3rvx8.js} +3 -3
- package/dist/chunks/{shell-en63ynjv.js → voice-pccgqj1p.js} +57 -57
- package/dist/chunks/{shell-pknna89w.js → voice-pknna89w.js} +1 -1
- package/dist/chunks/{shell-zr9mzc9r.js → voice-pmhphv06.js} +6 -6
- package/dist/chunks/{shell-5enn2ca7.js → voice-pxrkmhh3.js} +25 -25
- package/dist/chunks/{shell-dvswftpr.js → voice-q5p9frvh.js} +36 -36
- package/dist/chunks/{shell-g94thqrs.js → voice-q8a7wc7s.js} +3 -3
- package/dist/chunks/{shell-ysgjvfep.js → voice-q9aerynr.js} +8 -8
- package/dist/chunks/{shell-bfvmy18f.js → voice-qfr0mhmw.js} +18 -18
- package/dist/chunks/{shell-zj5vnyds.js → voice-qgr4nw2y.js} +7 -7
- package/dist/chunks/{shell-r4a7bq0q.js → voice-qgrbhtfe.js} +25 -25
- package/dist/chunks/{shell-y4cxq3a2.js → voice-qhw9hys8.js} +11 -11
- package/dist/chunks/{shell-qp7r0hxv.js → voice-qp7r0hxv.js} +1 -1
- package/dist/chunks/{shell-8jc8r7mt.js → voice-qqagzm8n.js} +16 -16
- package/dist/chunks/{shell-bf6a8e52.js → voice-qtbrfyrk.js} +36 -36
- package/dist/chunks/{shell-72dfj4ss.js → voice-qtf35215.js} +3 -3
- package/dist/chunks/{shell-y4hc3v3y.js → voice-qv1cdr46.js} +22 -22
- package/dist/chunks/{shell-fnyfytfc.js → voice-qvy5j6ep.js} +25 -25
- package/dist/chunks/{shell-zgk88pyz.js → voice-qygymr4g.js} +5 -5
- package/dist/chunks/{shell-pxswk49k.js → voice-r30g5jvx.js} +365 -365
- package/dist/chunks/{shell-2b6c536n.js → voice-r7kq94dq.js} +40 -40
- package/dist/chunks/{shell-g9ndtp1p.js → voice-r96ere88.js} +4 -4
- package/dist/chunks/{shell-rb9dy4dg.js → voice-rb9dy4dg.js} +1 -1
- package/dist/chunks/{shell-semmxf3s.js → voice-rej62d65.js} +77 -77
- package/dist/chunks/{shell-5ads27by.js → voice-rfvxe806.js} +12 -12
- package/dist/chunks/{shell-njf4qqtg.js → voice-rg77shb6.js} +7 -7
- package/dist/chunks/{shell-rgc9cx3e.js → voice-rgc9cx3e.js} +2 -2
- package/dist/chunks/{shell-vre17ymf.js → voice-rgr196vp.js} +9 -9
- package/dist/chunks/{shell-h5chy42v.js → voice-rj7jtxy8.js} +3 -3
- package/dist/chunks/{shell-g4esjzs2.js → voice-rqamd2rg.js} +42 -42
- package/dist/chunks/{shell-9sb78eac.js → voice-rr1hexhv.js} +93 -93
- package/dist/chunks/{shell-rt5dr6hb.js → voice-rt5dr6hb.js} +1 -1
- package/dist/chunks/{shell-s1ba0vj0.js → voice-s1ba0vj0.js} +2 -2
- package/dist/chunks/{shell-r811a75r.js → voice-s4v9pbn5.js} +19 -19
- package/dist/chunks/{shell-sbya78hr.js → voice-sbya78hr.js} +1 -1
- package/dist/chunks/{shell-05ep8jbf.js → voice-sf9cwb3k.js} +13 -13
- package/dist/chunks/{shell-2d64q2nm.js → voice-sjnmsr89.js} +8 -8
- package/dist/chunks/{shell-svcy3p9a.js → voice-svcy3p9a.js} +1 -1
- package/dist/chunks/{shell-2czpenqt.js → voice-sxb98r4q.js} +20 -20
- package/dist/chunks/{shell-sxwambra.js → voice-szmqftgj.js} +12 -12
- package/dist/chunks/{shell-xf18acwh.js → voice-t5nrfcf0.js} +36 -36
- package/dist/chunks/{shell-te1dyy7s.js → voice-t8gwwx0d.js} +58 -58
- package/dist/chunks/{shell-yb1vxwtb.js → voice-t97tvzpw.js} +50 -50
- package/dist/chunks/{shell-ds4exa6x.js → voice-tahxmvkf.js} +18 -18
- package/dist/chunks/{shell-30dj6ygd.js → voice-tbnvvbta.js} +4 -4
- package/dist/chunks/{shell-tbpn7jtk.js → voice-tbpn7jtk.js} +1 -1
- package/dist/chunks/{shell-tczq8hjw.js → voice-tczq8hjw.js} +1 -1
- package/dist/chunks/{shell-ydsespw1.js → voice-tg1vr1qt.js} +8 -8
- package/dist/chunks/{shell-mqavxjfm.js → voice-tgbg37hf.js} +10 -10
- package/dist/chunks/{shell-j1p7gyyh.js → voice-tgnpnjdw.js} +9 -9
- package/dist/chunks/{shell-3vv9k887.js → voice-tgzyezhe.js} +8 -8
- package/dist/chunks/{shell-twssxy5n.js → voice-twssxy5n.js} +2 -2
- package/dist/chunks/{shell-35nqqk7p.js → voice-v0bqdbk5.js} +53 -53
- package/dist/chunks/{shell-v2r1d0zg.js → voice-v2r1d0zg.js} +1 -1
- package/dist/chunks/{shell-g1qm35vw.js → voice-v38v5p2d.js} +15 -15
- package/dist/chunks/{shell-vprxexqq.js → voice-v62ngx7q.js} +43 -43
- package/dist/chunks/{shell-pen16d07.js → voice-v889pk2j.js} +6 -6
- package/dist/chunks/{shell-d1kkd7wb.js → voice-vc1tacqd.js} +15 -15
- package/dist/chunks/{shell-xjvdvqjp.js → voice-vcmsdxxq.js} +28 -28
- package/dist/chunks/{shell-zpk2vb0c.js → voice-vdjnrka5.js} +15 -15
- package/dist/chunks/{shell-8v8rehq8.js → voice-vgkqkysq.js} +23 -23
- package/dist/chunks/{shell-vjf35v1f.js → voice-vjf35v1f.js} +1 -1
- package/dist/chunks/{shell-6fm7bdb1.js → voice-vqggv5bd.js} +37 -37
- package/dist/chunks/{shell-k0taddwk.js → voice-w2wbxgzd.js} +7 -7
- package/dist/chunks/{shell-w3wsvvr9.js → voice-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-ctgknzag.js → voice-w51tn5cx.js} +6 -6
- package/dist/chunks/{shell-wakvkjy4.js → voice-wakvkjy4.js} +1 -1
- package/dist/chunks/{shell-6r7gtt6e.js → voice-wbsqhewh.js} +11 -11
- package/dist/chunks/{shell-wd87259q.js → voice-wd87259q.js} +1 -1
- package/dist/chunks/{shell-wegkxhrn.js → voice-wegkxhrn.js} +2 -2
- package/dist/chunks/{shell-67mxzy6e.js → voice-werrv5bj.js} +8 -8
- package/dist/chunks/{shell-wfdx5ztx.js → voice-wfdx5ztx.js} +1 -1
- package/dist/chunks/{shell-6y2b864j.js → voice-wvr8xscb.js} +4 -4
- package/dist/chunks/{shell-5sb7czq3.js → voice-ww7yece2.js} +37 -37
- package/dist/chunks/{shell-0mxwv49h.js → voice-wyfr2jz7.js} +8 -8
- package/dist/chunks/{shell-et4v4qpp.js → voice-x150ncgg.js} +2 -2
- package/dist/chunks/{shell-sma3xe68.js → voice-x1nfq45f.js} +12 -12
- package/dist/chunks/{shell-97z8st7p.js → voice-x34zc5tr.js} +31 -31
- package/dist/chunks/{shell-4g3sdj5g.js → voice-x7de2wha.js} +9 -9
- package/dist/chunks/{shell-stq4gnff.js → voice-x8hsp03e.js} +6 -6
- package/dist/chunks/{shell-kpczs7yk.js → voice-x8x5kcse.js} +26 -26
- package/dist/chunks/{shell-tbpzwth5.js → voice-x9g39j37.js} +11 -11
- package/dist/chunks/{shell-xa84c574.js → voice-xb871z37.js} +17 -17
- package/dist/chunks/{shell-6dvhx7nf.js → voice-xbrmx2ec.js} +31 -31
- package/dist/chunks/{shell-qq0va4vb.js → voice-xcekeka3.js} +21 -21
- package/dist/chunks/{shell-6v1q8w0t.js → voice-xd4ax58g.js} +8 -8
- package/dist/chunks/{shell-rcbjwvze.js → voice-xdcpcrtr.js} +4 -4
- package/dist/chunks/{shell-38fnt8gm.js → voice-xfw0gmat.js} +12 -12
- package/dist/chunks/{shell-xjr6c8m4.js → voice-xjr6c8m4.js} +1 -1
- package/dist/chunks/{shell-67wwskyb.js → voice-xksw6ev0.js} +4 -4
- package/dist/chunks/{shell-nymz80y4.js → voice-xrwc34y4.js} +11 -11
- package/dist/chunks/{shell-36dr913j.js → voice-y0kbdbj8.js} +5 -5
- package/dist/chunks/{shell-yb20nhc3.js → voice-yb20nhc3.js} +1 -1
- package/dist/chunks/{shell-ybws1qgk.js → voice-ybws1qgk.js} +4 -4
- package/dist/chunks/{shell-1wavq65y.js → voice-yfx86ync.js} +16 -16
- package/dist/chunks/{shell-d487qpq0.js → voice-yj0g39pn.js} +11 -11
- package/dist/chunks/{shell-7fc1w3z9.js → voice-yp91d18w.js} +16 -16
- package/dist/chunks/{shell-1ewj4sez.js → voice-yq027er8.js} +32 -32
- package/dist/chunks/{shell-yr705xyq.js → voice-yr705xyq.js} +1 -1
- package/dist/chunks/{shell-yvtc2x31.js → voice-yvtc2x31.js} +1 -1
- package/dist/chunks/{shell-rfrdehgj.js → voice-z86jsa3r.js} +5 -5
- package/dist/chunks/{shell-t7f6esz0.js → voice-zhhw17ys.js} +11 -11
- package/dist/chunks/{shell-5qqe776t.js → voice-zm3yg12m.js} +18 -18
- package/dist/chunks/{shell-zpdbqgja.js → voice-zpdbqgja.js} +1 -1
- package/dist/chunks/{shell-ggn5zr51.js → voice-zry3sg2j.js} +22 -22
- package/dist/chunks/{shell-q4ey005n.js → voice-zy1a6fc2.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +96 -96
- 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 +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +238 -238
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +130 -130
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +154 -154
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +128 -128
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- package/dist/console-access.js +5 -5
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +94 -94
- 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/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -440
- package/dist/effect/app-node-platform.js +2 -2
- 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 +107 -107
- 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 +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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 +247 -247
- 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 +118 -118
- package/dist/flag.js +127 -127
- package/dist/form.js +95 -95
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +122 -122
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +112 -112
- 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/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 +431 -431
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/list.js +5 -5
- 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 +82 -82
- package/dist/location-activity.js +185 -185
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -428
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +120 -120
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +112 -112
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.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 +95 -95
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +407 -407
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +131 -131
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- 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 +4 -4
- 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 +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +110 -110
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- 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 +108 -108
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- 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 +1 -1
- 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 +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode.js +159 -159
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +140 -140
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +237 -237
- package/dist/plugin/sdk.js +85 -85
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +150 -150
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +415 -415
- 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 +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +5 -5
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +251 -251
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +105 -105
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +111 -111
- package/dist/reference/instructions.js +101 -101
- 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 +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +263 -263
- 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 +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +250 -250
- package/dist/session/execution.js +171 -171
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +152 -152
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +140 -140
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +256 -256
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +164 -164
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +188 -188
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +248 -248
- package/dist/session/usage.js +1 -1
- package/dist/session.js +241 -241
- 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 +9 -9
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +159 -159
- package/dist/snapshot.js +106 -106
- 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 +186 -186
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +165 -165
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +147 -147
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +237 -237
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +169 -169
- 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 +163 -163
- package/dist/usage-limits.js +94 -94
- 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 +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +99 -99
- 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/shell-47mgcevd.js +0 -18
- package/dist/chunks/shell-tkxx25dy.js +0 -16
- package/dist/chunks/shell-z9gmqpfy.js +0 -265
- package/dist/chunks/shell-zzr6kykw.js +0 -26
- /package/dist/chunks/{shell-0qkdqm5v.js → voice-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → voice-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-108x4f4w.js → voice-108x4f4w.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → voice-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → voice-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kah00gy.js → voice-1kah00gy.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → voice-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → voice-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2bv980vf.js → voice-2bv980vf.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → voice-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → voice-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3af0jn4w.js → voice-3af0jn4w.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → voice-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → voice-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → voice-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → voice-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → voice-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4qk9sjk2.js → voice-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → voice-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → voice-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → voice-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-5w3e23ze.js → voice-5w3e23ze.js} +0 -0
- /package/dist/chunks/{shell-6agm2x70.js → voice-6agm2x70.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → voice-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-6q2bdcd1.js → voice-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → voice-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → voice-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → voice-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-84wd9syh.js → voice-84wd9syh.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → voice-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → voice-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-8wj87zfr.js → voice-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → voice-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → voice-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → voice-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → voice-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → voice-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → voice-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → voice-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-beh6qq61.js → voice-beh6qq61.js} +0 -0
- /package/dist/chunks/{shell-bhmrqjy3.js → voice-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → voice-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → voice-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → voice-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cqv5kn06.js → voice-cqv5kn06.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → voice-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → voice-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → voice-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → voice-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → voice-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → voice-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → voice-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-ean2d8b5.js → voice-ean2d8b5.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → voice-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → voice-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → voice-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → voice-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → voice-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → voice-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fkpq3x5p.js → voice-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → voice-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → voice-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → voice-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → voice-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hcxmzztb.js → voice-hcxmzztb.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → voice-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → voice-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → voice-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → voice-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → voice-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → voice-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jwr30sdr.js → voice-jwr30sdr.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → voice-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-m18g726c.js → voice-m18g726c.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → voice-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → voice-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → voice-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → voice-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-nh4v3znn.js → voice-nh4v3znn.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → voice-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-p71gwv9c.js → voice-p71gwv9c.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → voice-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → voice-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → voice-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → voice-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → voice-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → voice-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → voice-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → voice-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → voice-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-syrav9an.js → voice-syrav9an.js} +0 -0
- /package/dist/chunks/{shell-t03h4f5z.js → voice-t03h4f5z.js} +0 -0
- /package/dist/chunks/{shell-ty7weeps.js → voice-ty7weeps.js} +0 -0
- /package/dist/chunks/{shell-ve7vex1e.js → voice-ve7vex1e.js} +0 -0
- /package/dist/chunks/{shell-vtarvj67.js → voice-vtarvj67.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → voice-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → voice-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → voice-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → voice-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → voice-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x4th4bpe.js → voice-x4th4bpe.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → voice-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → voice-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → voice-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → voice-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-z0h12gs8.js → voice-z0h12gs8.js} +0 -0
- /package/dist/chunks/{shell-z5v4ffb3.js → voice-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → voice-z9919s4g.js} +0 -0
- /package/dist/chunks/{shell-zxpyjp51.js → voice-zxpyjp51.js} +0 -0
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./voice-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service92,
|
|
6
6
|
node96
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./voice-95n4thwz.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service91,
|
|
10
|
+
node95
|
|
11
|
+
} from "./voice-72wnwvb1.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service90,
|
|
14
|
+
node94
|
|
15
|
+
} from "./voice-hrb22e3z.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID22,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info32,
|
|
20
20
|
UpdateInput5,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./voice-963hk181.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./voice-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./voice-8sxe6kv8.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./voice-ayjs7tqn.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./voice-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
40
40
|
__export(exports_project, {
|
|
41
41
|
ACTIVATE_INTERVAL: () => ACTIVATE_INTERVAL2,
|
|
42
42
|
Current: () => Current2,
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
45
|
-
NotFoundError: () =>
|
|
43
|
+
ID: () => ID21,
|
|
44
|
+
Info: () => Info31,
|
|
45
|
+
NotFoundError: () => NotFoundError14,
|
|
46
46
|
Project: () => exports_project,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service89,
|
|
48
48
|
UpdateInput: () => UpdateInput4,
|
|
49
49
|
Vcs: () => Vcs2,
|
|
50
|
-
configured: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
configured: () => configured13,
|
|
51
|
+
node: () => node93,
|
|
52
52
|
root: () => root2,
|
|
53
53
|
sweepNode: () => sweepNode2
|
|
54
54
|
});
|
|
@@ -61,14 +61,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
61
61
|
import { AppProcess } from "@opencode/util/process";
|
|
62
62
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { Hash } from "@opencode/util/hash";
|
|
64
|
-
var
|
|
64
|
+
var ID21 = ID22;
|
|
65
65
|
var Vcs2 = Vcs3;
|
|
66
66
|
var Current2 = Current3;
|
|
67
|
-
var
|
|
67
|
+
var Info31 = Info32;
|
|
68
68
|
var UpdateInput4 = UpdateInput5;
|
|
69
69
|
|
|
70
|
-
class
|
|
71
|
-
projectID:
|
|
70
|
+
class NotFoundError14 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
71
|
+
projectID: ID21
|
|
72
72
|
}) {
|
|
73
73
|
}
|
|
74
74
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
|
|
|
87
87
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
88
88
|
var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service89 extends Context.Service()("@opencode/Project") {
|
|
91
91
|
}
|
|
92
92
|
function fromRow(row) {
|
|
93
93
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -111,12 +111,12 @@ function fromRow(row) {
|
|
|
111
111
|
sandboxes: row.sandboxes
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
115
115
|
const now = yield* Now;
|
|
116
116
|
const fs = yield* FSUtil.Service;
|
|
117
|
-
const git = yield*
|
|
117
|
+
const git = yield* Service90;
|
|
118
118
|
const proc = yield* AppProcess.Service;
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service91;
|
|
120
120
|
const db = (yield* Service92).db;
|
|
121
121
|
const scope = yield* Scope.Scope;
|
|
122
122
|
const announcing = new Set;
|
|
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
127
127
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
128
128
|
const changed = replaced ?? unarchived;
|
|
129
129
|
if (changed)
|
|
130
|
-
yield* bus.publish(
|
|
131
|
-
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(
|
|
130
|
+
yield* bus.publish(Event21.Updated, fromRow(changed));
|
|
131
|
+
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event21.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
|
|
132
132
|
if (!project.vcs)
|
|
133
133
|
return project;
|
|
134
134
|
const directories = [
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
164
164
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
165
165
|
projectID: item.projectID,
|
|
166
166
|
directory: item.directory,
|
|
167
|
-
previous: project.previous ??
|
|
167
|
+
previous: project.previous ?? ID21.global,
|
|
168
168
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
169
169
|
}, {
|
|
170
170
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -187,16 +187,16 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
187
187
|
time_updated: Date.now()
|
|
188
188
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
189
189
|
if (!row)
|
|
190
|
-
return yield* new
|
|
190
|
+
return yield* new NotFoundError14({ projectID: input.projectID });
|
|
191
191
|
const project = fromRow(row);
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event21.Updated, project);
|
|
193
193
|
return project;
|
|
194
194
|
});
|
|
195
195
|
const activated = new Map;
|
|
196
196
|
const persistActivate = Effect.fn("Project.activate")(function* (projectID, timestamp) {
|
|
197
197
|
const row = yield* db.update(ProjectTable2).set({ time_active: timestamp, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
198
198
|
if (row)
|
|
199
|
-
yield* bus.publish(
|
|
199
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
200
200
|
});
|
|
201
201
|
const activate = (projectID, options) => Effect.suspend(() => {
|
|
202
202
|
const timestamp = now();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
208
208
|
return options?.forkIn ? write.pipe(Effect.forkIn(options.forkIn), Effect.asVoid) : write;
|
|
209
209
|
});
|
|
210
210
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
211
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
211
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID21.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
212
212
|
return;
|
|
213
213
|
}));
|
|
214
214
|
});
|
|
@@ -219,7 +219,7 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
219
219
|
const normalized = url(origin);
|
|
220
220
|
if (!normalized)
|
|
221
221
|
return;
|
|
222
|
-
return
|
|
222
|
+
return ID21.make(Hash.fast(`git-remote:${normalized}`));
|
|
223
223
|
});
|
|
224
224
|
function url(input) {
|
|
225
225
|
const value = input.trim();
|
|
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
244
244
|
}
|
|
245
245
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
246
246
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
247
|
-
return root ?
|
|
247
|
+
return root ? ID21.make(root) : undefined;
|
|
248
248
|
});
|
|
249
249
|
const gitDiscover = Effect.fnUntraced(function* (dotGit) {
|
|
250
250
|
const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
|
|
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
260
260
|
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), fallback(repo.worktree));
|
|
261
261
|
const resolved = {
|
|
262
262
|
previous,
|
|
263
|
-
id: id ??
|
|
263
|
+
id: id ?? ID21.global,
|
|
264
264
|
directory: repo.worktree,
|
|
265
265
|
canonical,
|
|
266
266
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
285
285
|
return;
|
|
286
286
|
const node = result.stdout.toString("utf8").split(`
|
|
287
287
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
288
|
-
return node ?
|
|
288
|
+
return node ? ID21.make(node) : undefined;
|
|
289
289
|
});
|
|
290
290
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
291
291
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
293
293
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
294
294
|
return {
|
|
295
295
|
previous,
|
|
296
|
-
id: id ??
|
|
296
|
+
id: id ?? ID21.global,
|
|
297
297
|
directory: worktree,
|
|
298
298
|
vcs: { type: "hg", store: dotHg }
|
|
299
299
|
};
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
322
|
return yield* save({
|
|
323
|
-
id:
|
|
323
|
+
id: ID21.make(Hash.fast(`directory:${directory}`)),
|
|
324
324
|
directory,
|
|
325
325
|
canonical: directory,
|
|
326
326
|
vcs: undefined
|
|
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
329
329
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
330
330
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
331
331
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
332
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
332
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID21.global))).all().pipe(Effect.orDie);
|
|
333
333
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
334
334
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
335
335
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -342,26 +342,26 @@ var layer = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
342
342
|
return;
|
|
343
343
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
344
344
|
if (row)
|
|
345
|
-
yield* bus.publish(
|
|
345
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
346
346
|
}), { concurrency: 8, discard: true });
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service89.of({ list, update, activate, resolve, sweep });
|
|
349
349
|
}));
|
|
350
|
-
function
|
|
350
|
+
function configured13(options) {
|
|
351
351
|
return makeGlobalNode({
|
|
352
|
-
service:
|
|
352
|
+
service: Service89,
|
|
353
353
|
layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
|
|
354
|
-
deps: [
|
|
354
|
+
deps: [node95, node96, FSUtil.node, node94, AppProcess.node]
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
-
var
|
|
357
|
+
var node93 = configured13();
|
|
358
358
|
var sweepNode2 = makeGlobalNode({
|
|
359
359
|
name: "project-archive-sweep",
|
|
360
360
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
361
|
-
const project = yield*
|
|
361
|
+
const project = yield* Service89;
|
|
362
362
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
363
363
|
})),
|
|
364
|
-
deps: [
|
|
364
|
+
deps: [node93]
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
export {
|
|
367
|
+
export { ID21, Vcs2, Current2, Info31, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2, Service89, configured13, node93, sweepNode2, exports_project };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./voice-95n4thwz.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make31,
|
|
9
9
|
combine2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./voice-n3j33rb6.js";
|
|
11
11
|
import {
|
|
12
12
|
InstructionEntryTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./voice-mb7mbhnz.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./voice-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info8,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service37,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node42,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info8 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -59,12 +59,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
59
59
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
60
60
|
});
|
|
61
61
|
|
|
62
|
-
class
|
|
62
|
+
class Service37 extends Context.Service()("@opencode/InstructionEntry") {
|
|
63
63
|
}
|
|
64
64
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
65
65
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
66
66
|
`);
|
|
67
|
-
var source = (entry) =>
|
|
67
|
+
var source = (entry) => make31({
|
|
68
68
|
key: Key3.make(`api/${entry.key}`),
|
|
69
69
|
codec: Schema.toCodecJson(Schema.Json),
|
|
70
70
|
read: Effect.succeed(entry.removed ? removed2 : entry.value),
|
|
@@ -78,7 +78,7 @@ var source = (entry) => make30({
|
|
|
78
78
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
79
79
|
}
|
|
80
80
|
});
|
|
81
|
-
var layer = Layer.effect(
|
|
81
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
82
82
|
const { db } = yield* Service92;
|
|
83
83
|
const list = Effect.fn("InstructionEntry.list")(function* (sessionID) {
|
|
84
84
|
return (yield* rows(db, sessionID, false)).map((row) => ({ key: row.key, value: row.value }));
|
|
@@ -104,8 +104,8 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
104
104
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
105
105
|
return combine2((yield* rows(db, sessionID, true)).map(source));
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service37.of({ list, put, remove, load });
|
|
108
108
|
}));
|
|
109
|
-
var
|
|
109
|
+
var node42 = makeGlobalNode({ service: Service37, layer, deps: [node96] });
|
|
110
110
|
|
|
111
|
-
export { Key2,
|
|
111
|
+
export { Key2, Info8, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service37, node42, exports_instruction_entry };
|
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./voice-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./voice-hrb22e3z.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./voice-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service92,
|
|
12
12
|
node96
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./voice-95n4thwz.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service91,
|
|
16
|
+
node95
|
|
17
|
+
} from "./voice-72wnwvb1.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./voice-034tev2y.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./voice-ayjs7tqn.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
ID21,
|
|
26
|
+
NotFoundError14
|
|
27
|
+
} from "./voice-v0bqdbk5.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref5
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./voice-exetmt6c.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service74,
|
|
33
|
+
node77
|
|
34
|
+
} from "./voice-jmdc5cj3.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./voice-d4v9tmah.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service53
|
|
41
|
+
} from "./voice-hgn8y1cq.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./voice-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
48
48
|
__export(exports_worktree2, {
|
|
49
|
-
CreateInput: () =>
|
|
49
|
+
CreateInput: () => CreateInput5,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event12,
|
|
53
|
+
Info: () => Info12,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
|
-
ListEntry: () =>
|
|
56
|
+
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service52,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node55
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -73,13 +73,13 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
73
73
|
import { ChildProcess } from "effect/process";
|
|
74
74
|
import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
|
-
var
|
|
76
|
+
var CreateInput5 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info12 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
|
-
var
|
|
80
|
+
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
82
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID21, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -90,21 +90,21 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event12 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service52 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service92;
|
|
100
100
|
const db = database.db;
|
|
101
|
-
const bus = yield*
|
|
101
|
+
const bus = yield* Service91;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service74;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
107
|
-
return yield* new
|
|
107
|
+
return yield* new NotFoundError14({ projectID });
|
|
108
108
|
return row;
|
|
109
109
|
});
|
|
110
110
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
116
|
const context = yield* locations.contextEffect(Ref5.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service53).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event12.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service52.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node55 = Node.makeGlobalNode({
|
|
260
|
+
service: Service52,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node,
|
|
262
|
+
deps: [FSUtil.node, node95, node96, AppProcess.node, node77]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2,
|
|
272
|
+
export { StrategyID2, CreateInput5, RemoveInput2, Info12, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event12, Service52, node55, exports_worktree2, OperationError2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./voice-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service67,
|
|
10
|
+
node: () => node70
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service67 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node70 = LayerNode.unbound(Service67, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service67, node70, exports_service2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
original2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./voice-gxs71cxp.js";
|
|
4
4
|
import {
|
|
5
5
|
session2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./voice-9rqhy0gk.js";
|
|
7
7
|
import {
|
|
8
8
|
start2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./voice-ybws1qgk.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make6
|
|
12
|
+
} from "./voice-xksw6ev0.js";
|
|
13
13
|
import {
|
|
14
14
|
build2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./voice-eqw4pqj1.js";
|
|
16
16
|
import {
|
|
17
17
|
decide2,
|
|
18
18
|
boundary2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./voice-gbjdnr5j.js";
|
|
20
20
|
import {
|
|
21
21
|
content3
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./voice-sbya78hr.js";
|
|
23
23
|
import {
|
|
24
24
|
content2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./voice-775hqbnd.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
make5
|
|
28
|
+
} from "./voice-c5zvymhv.js";
|
|
29
29
|
import {
|
|
30
30
|
collect2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./voice-j9nxzz3g.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./voice-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/claude-agent/claude/sessions.ts
|
|
37
37
|
var exports_sessions = {};
|
|
@@ -96,7 +96,7 @@ function registry2() {
|
|
|
96
96
|
yield* closeEntries();
|
|
97
97
|
});
|
|
98
98
|
const attach = Effect.fn("ClaudeSessions.attach")(function* (input) {
|
|
99
|
-
const records =
|
|
99
|
+
const records = make6(input.storage);
|
|
100
100
|
owners++;
|
|
101
101
|
yield* cancelHandover();
|
|
102
102
|
yield* Effect.addFinalizer(() => Effect.gen(function* () {
|
|
@@ -116,7 +116,7 @@ function registry2() {
|
|
|
116
116
|
yield* input.status.report({ type: "missing" });
|
|
117
117
|
return yield* Effect.fail(new Error("Install Claude Code and run `claude auth login` first"));
|
|
118
118
|
}
|
|
119
|
-
const pending =
|
|
119
|
+
const pending = make5();
|
|
120
120
|
const session = yield* attempt(async () => start2(await session2({
|
|
121
121
|
executable,
|
|
122
122
|
io: input.io,
|