@opencode/core 0.0.0-dev-853 → 0.0.0-dev-856
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 +88 -88
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +246 -246
- package/dist/bus.js +86 -86
- package/dist/chunks/{shell-034tev2y.js → event-logger-034tev2y.js} +2 -2
- package/dist/chunks/{shell-3shbzvjq.js → event-logger-07pmw4xr.js} +1 -1
- package/dist/chunks/{shell-68ca9mcw.js → event-logger-07zkzwx2.js} +4 -4
- package/dist/chunks/{shell-vf99r031.js → event-logger-0cb2bqav.js} +4 -4
- package/dist/chunks/{shell-q4ey005n.js → event-logger-0dk79qge.js} +3 -3
- package/dist/chunks/{shell-c2m9b3v8.js → event-logger-0ff7rjvk.js} +4 -4
- package/dist/chunks/{shell-67mxzy6e.js → event-logger-0gwbn6a0.js} +8 -8
- package/dist/chunks/{shell-0j7gp832.js → event-logger-0j7gp832.js} +1 -1
- package/dist/chunks/{shell-kpczs7yk.js → event-logger-0jex5230.js} +26 -26
- package/dist/chunks/{shell-6v1q8w0t.js → event-logger-0k5kxhce.js} +17 -17
- package/dist/chunks/{shell-0ma9gw4f.js → event-logger-0ma9gw4f.js} +2 -2
- package/dist/chunks/{shell-6wdw655b.js → event-logger-0njr5911.js} +196 -196
- package/dist/chunks/{shell-r811a75r.js → event-logger-0p92whb7.js} +18 -18
- package/dist/chunks/{shell-6r7gtt6e.js → event-logger-0t9m61zn.js} +11 -11
- package/dist/chunks/{shell-ds4exa6x.js → event-logger-0vrc4fjf.js} +18 -18
- package/dist/chunks/{shell-v8k43d52.js → event-logger-0wj5tvk1.js} +22 -22
- package/dist/chunks/{shell-d0b7cqeb.js → event-logger-0wjr44hz.js} +15 -15
- package/dist/chunks/{shell-1p55xpzj.js → event-logger-0x0cd91f.js} +31 -31
- package/dist/chunks/{shell-evh8jc0c.js → event-logger-0ywmkx3z.js} +9 -9
- package/dist/chunks/{shell-mqavxjfm.js → event-logger-13qcwg61.js} +10 -10
- package/dist/chunks/{shell-zpk2vb0c.js → event-logger-16ytm4dt.js} +12 -12
- package/dist/chunks/{shell-1aqsckx4.js → event-logger-1aqsckx4.js} +1 -1
- package/dist/chunks/{shell-1ep2p91f.js → event-logger-1ep2p91f.js} +2 -2
- package/dist/chunks/{shell-az77vkz0.js → event-logger-1fg4hrd5.js} +31 -31
- package/dist/chunks/{shell-zmaa3c7p.js → event-logger-1fw62v8p.js} +19 -19
- package/dist/chunks/{shell-vekywxxz.js → event-logger-1gens10g.js} +5 -5
- package/dist/chunks/{shell-h5chy42v.js → event-logger-1vbrkdbs.js} +3 -3
- package/dist/chunks/{shell-1x2knyw4.js → event-logger-1x2knyw4.js} +1 -1
- package/dist/chunks/{shell-bdhd9h6e.js → event-logger-1yq9hg58.js} +5 -5
- package/dist/chunks/{shell-stq4gnff.js → event-logger-28xgt80g.js} +11 -11
- package/dist/chunks/{shell-2fc7eemy.js → event-logger-2fc7eemy.js} +1 -1
- package/dist/chunks/{shell-y81zw8n6.js → event-logger-2zptepeh.js} +39 -39
- package/dist/chunks/{shell-qq0va4vb.js → event-logger-346r1vqa.js} +20 -20
- package/dist/chunks/{shell-90ct6wq4.js → event-logger-38aws4xb.js} +4 -4
- package/dist/chunks/{shell-2d64q2nm.js → event-logger-3fjkbdya.js} +8 -8
- package/dist/chunks/{shell-gavpdgyn.js → event-logger-3ggxm2q2.js} +4 -4
- package/dist/chunks/{shell-3hepkmqq.js → event-logger-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-dvswftpr.js → event-logger-3qgh5d2s.js} +33 -33
- package/dist/chunks/{shell-40y6dtc2.js → event-logger-40y6dtc2.js} +1 -1
- package/dist/chunks/{shell-6fm7bdb1.js → event-logger-47hk9280.js} +37 -37
- package/dist/chunks/{shell-8v8rehq8.js → event-logger-4c5j9xas.js} +23 -23
- package/dist/chunks/{shell-43rjhcm6.js → event-logger-4chb62sk.js} +5 -5
- package/dist/chunks/{shell-9kxj67hy.js → event-logger-4cn0sq96.js} +27 -27
- package/dist/chunks/{shell-4dx1dgte.js → event-logger-4dx1dgte.js} +1 -1
- package/dist/chunks/{shell-6t587bnv.js → event-logger-4e9sx33c.js} +18 -18
- package/dist/chunks/{shell-4f25tdd0.js → event-logger-4f25tdd0.js} +1 -1
- package/dist/chunks/{shell-v0msv7bn.js → event-logger-4nef2p2d.js} +6 -6
- package/dist/chunks/{shell-4pyp9zr9.js → event-logger-4pyp9zr9.js} +1 -1
- package/dist/chunks/{shell-xjvdvqjp.js → event-logger-4r38rjjg.js} +28 -28
- package/dist/chunks/{shell-ybws1qgk.js → event-logger-4tnarq1t.js} +6 -6
- package/dist/chunks/{shell-g9ndtp1p.js → event-logger-4tqs0jzk.js} +4 -4
- package/dist/chunks/{shell-4v008n1t.js → event-logger-4v008n1t.js} +1 -1
- package/dist/chunks/{shell-6vgx2e0j.js → event-logger-4wdjtxj3.js} +16 -16
- package/dist/chunks/{shell-kc1nkmjx.js → event-logger-4wn1836p.js} +28 -28
- package/dist/chunks/{shell-vre17ymf.js → event-logger-50emzza2.js} +9 -9
- package/dist/chunks/{shell-ctgknzag.js → event-logger-563jffvy.js} +6 -6
- package/dist/chunks/{shell-r7zrbnjn.js → event-logger-593f2610.js} +4 -4
- package/dist/chunks/{shell-m3emfr1b.js → event-logger-5b08n9ww.js} +8 -8
- package/dist/chunks/{shell-g3sfym9y.js → event-logger-5h40wwhf.js} +18 -18
- package/dist/chunks/{shell-5m9w47nd.js → event-logger-5m9w47nd.js} +1 -1
- package/dist/chunks/{shell-vprxexqq.js → event-logger-5wt3bdf5.js} +43 -43
- package/dist/chunks/{shell-n85p4y1d.js → event-logger-5y1yjc55.js} +8 -8
- package/dist/chunks/{shell-xf18acwh.js → event-logger-6179be34.js} +36 -36
- package/dist/chunks/{shell-davdp2k4.js → event-logger-658eyxsg.js} +12 -12
- package/dist/chunks/{shell-8fp0tcye.js → event-logger-69zyc93m.js} +35 -35
- package/dist/chunks/{shell-8g6jtm9a.js → event-logger-6nwmeabb.js} +35 -35
- package/dist/chunks/{shell-p0zaryra.js → event-logger-6y7h9wh5.js} +5 -5
- package/dist/chunks/{shell-esezyxfc.js → event-logger-704d1ccs.js} +6 -6
- package/dist/chunks/{shell-bf6a8e52.js → event-logger-7053tcnb.js} +38 -38
- package/dist/chunks/{shell-6y2b864j.js → event-logger-79k544d0.js} +7 -7
- package/dist/chunks/{shell-5qwpvtpx.js → event-logger-7b66bh2a.js} +4 -4
- package/dist/chunks/{shell-xmpds20m.js → event-logger-7bg5w1mh.js} +8 -8
- package/dist/chunks/{shell-7bmhse3q.js → event-logger-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-fcrd7kek.js → event-logger-7stesae1.js} +4 -4
- package/dist/chunks/{shell-7w2ypzdf.js → event-logger-7w2ypzdf.js} +1 -1
- package/dist/chunks/{shell-7weczvnd.js → event-logger-7weczvnd.js} +1 -1
- package/dist/chunks/{shell-80mg3ag8.js → event-logger-80mg3ag8.js} +3 -3
- package/dist/chunks/{shell-5enn2ca7.js → event-logger-83hrxsnh.js} +28 -28
- package/dist/chunks/{shell-17vemmv0.js → event-logger-840e1dzq.js} +15 -15
- package/dist/chunks/{shell-y4hc3v3y.js → event-logger-88sn2vtt.js} +22 -22
- package/dist/chunks/{shell-89287pr7.js → event-logger-89287pr7.js} +1 -1
- package/dist/chunks/{shell-6vs53sbd.js → event-logger-8a1ad9nb.js} +11 -11
- package/dist/chunks/{shell-8b3vzgkx.js → event-logger-8b3vzgkx.js} +1 -1
- package/dist/chunks/{shell-8bcc8xgx.js → event-logger-8bcc8xgx.js} +1 -1
- package/dist/chunks/{shell-5whx36p1.js → event-logger-8cg7mtm3.js} +4 -4
- package/dist/chunks/{shell-ssbg7dvy.js → event-logger-8krmj48y.js} +49 -49
- package/dist/chunks/{shell-0vppzqan.js → event-logger-8s3mdnfq.js} +8 -8
- package/dist/chunks/{shell-8sxe6kv8.js → event-logger-8sxe6kv8.js} +2 -2
- package/dist/chunks/{shell-8wtp7s3z.js → event-logger-8wtp7s3z.js} +1 -1
- package/dist/chunks/event-logger-8x060fmy.js +18 -0
- package/dist/chunks/{shell-ysgjvfep.js → event-logger-8x30jasg.js} +8 -8
- package/dist/chunks/{shell-9x7tjw8v.js → event-logger-8ynvvcde.js} +18 -18
- package/dist/chunks/{shell-8zv0xmg5.js → event-logger-8zv0xmg5.js} +1 -1
- package/dist/chunks/{shell-ptzdhrt4.js → event-logger-963hk181.js} +9 -9
- package/dist/chunks/{shell-zjf8s0rh.js → event-logger-97tv70we.js} +19 -19
- package/dist/chunks/{shell-61bggdf2.js → event-logger-9fx4ry06.js} +16 -16
- package/dist/chunks/{shell-7mbxpjp9.js → event-logger-9gwqs5rt.js} +23 -23
- package/dist/chunks/{shell-qse5egdc.js → event-logger-9va4ntnv.js} +11 -11
- package/dist/chunks/{shell-en63ynjv.js → event-logger-a22kfr15.js} +49 -49
- package/dist/chunks/{shell-3p6fbd6z.js → event-logger-a85cnj8z.js} +20 -20
- package/dist/chunks/{shell-s1ba0vj0.js → event-logger-ad21tgm2.js} +4 -4
- package/dist/chunks/{shell-a6qz1adp.js → event-logger-agfazenn.js} +33 -33
- package/dist/chunks/{shell-znp8xnpr.js → event-logger-ah6ngzgz.js} +21 -21
- package/dist/chunks/{shell-9mszspr5.js → event-logger-avh9hq9m.js} +59 -59
- package/dist/chunks/{shell-yb1vxwtb.js → event-logger-aw9tgvnp.js} +45 -45
- package/dist/chunks/{shell-ayjs7tqn.js → event-logger-ayjs7tqn.js} +2 -2
- package/dist/chunks/{shell-ggn5zr51.js → event-logger-azv11gn7.js} +22 -22
- package/dist/chunks/{shell-ak34fkrk.js → event-logger-b0fy1v2h.js} +1 -1
- package/dist/chunks/{shell-36dr913j.js → event-logger-b47637vw.js} +5 -5
- package/dist/chunks/{shell-5gnk47mq.js → event-logger-bpt5f5w5.js} +9 -9
- package/dist/chunks/{shell-bstexjd6.js → event-logger-bstexjd6.js} +1 -1
- package/dist/chunks/{shell-cthhajey.js → event-logger-btpr5zf9.js} +10 -10
- package/dist/chunks/{shell-8jc8r7mt.js → event-logger-c199qwr4.js} +16 -16
- package/dist/chunks/{shell-2evt93r8.js → event-logger-c3wjs83y.js} +13 -13
- package/dist/chunks/{shell-m6qx465x.js → event-logger-c6cwsf0t.js} +23 -23
- package/dist/chunks/{shell-c7cw818c.js → event-logger-c7cw818c.js} +2 -2
- package/dist/chunks/{shell-eqtq46k2.js → event-logger-cbadg3ec.js} +53 -53
- package/dist/chunks/{shell-z6vb2phv.js → event-logger-ccz4mf3q.js} +44 -44
- package/dist/chunks/{shell-w1md4n47.js → event-logger-ckfz4849.js} +11 -11
- package/dist/chunks/{shell-vmxsyvj6.js → event-logger-cr4rfj9z.js} +4 -4
- package/dist/chunks/{shell-bzvtymvr.js → event-logger-cwek5dk5.js} +45 -45
- package/dist/chunks/{shell-cwrgdav8.js → event-logger-cwrgdav8.js} +2 -2
- package/dist/chunks/{shell-d4v9tmah.js → event-logger-d4v9tmah.js} +2 -2
- package/dist/chunks/{shell-pew440aa.js → event-logger-d7tsg7sc.js} +13 -13
- package/dist/chunks/{shell-njf4qqtg.js → event-logger-deee9416.js} +7 -7
- package/dist/chunks/{shell-vr838nkk.js → event-logger-dhwwhmfh.js} +16 -16
- package/dist/chunks/{shell-k0taddwk.js → event-logger-dj0sx0c4.js} +7 -7
- package/dist/chunks/{shell-tqxdmz5j.js → event-logger-dnss6607.js} +18 -18
- package/dist/chunks/{shell-semmxf3s.js → event-logger-dszt20cx.js} +81 -81
- package/dist/chunks/{shell-dt77769w.js → event-logger-dt77769w.js} +1 -1
- package/dist/chunks/{shell-72dfj4ss.js → event-logger-dtrrxc61.js} +3 -3
- package/dist/chunks/{shell-pxswk49k.js → event-logger-dty66pvh.js} +366 -366
- package/dist/chunks/{shell-w1q8tfjy.js → event-logger-dwpedf5n.js} +6 -6
- package/dist/chunks/{shell-tm6096nw.js → event-logger-e60xkrwe.js} +3 -3
- package/dist/chunks/{shell-n5hcwyak.js → event-logger-e6at3rqe.js} +3 -3
- package/dist/chunks/{shell-e834z07m.js → event-logger-e834z07m.js} +1 -1
- package/dist/chunks/{shell-az8err3d.js → event-logger-edb6e034.js} +14 -14
- package/dist/chunks/{shell-5ads27by.js → event-logger-eevt2tpf.js} +12 -12
- package/dist/chunks/{shell-sxwambra.js → event-logger-ekwa05a2.js} +12 -12
- package/dist/chunks/{shell-g94thqrs.js → event-logger-em8a2wtr.js} +6 -6
- package/dist/chunks/{shell-zj5vnyds.js → event-logger-enf9p21v.js} +7 -7
- package/dist/chunks/{shell-d487qpq0.js → event-logger-ep9jkr52.js} +11 -11
- package/dist/chunks/{shell-4qqx4feb.js → event-logger-epn5g7vb.js} +14 -14
- package/dist/chunks/{shell-qmbbrz53.js → event-logger-eq7tm70r.js} +2 -2
- package/dist/chunks/{shell-eqw4pqj1.js → event-logger-eqw4pqj1.js} +2 -2
- package/dist/chunks/{shell-dgfea18q.js → event-logger-etky1w4v.js} +11 -11
- package/dist/chunks/{shell-9sb78eac.js → event-logger-ew2hryq8.js} +91 -91
- package/dist/chunks/{shell-c1sqh6ct.js → event-logger-eyexvh4w.js} +10 -10
- package/dist/chunks/{shell-3vv9k887.js → event-logger-ezreszsc.js} +8 -8
- package/dist/chunks/{shell-83ymad88.js → event-logger-f7fevbdd.js} +12 -12
- package/dist/chunks/{shell-dbk86wt9.js → event-logger-fagy91y1.js} +17 -17
- package/dist/chunks/{shell-fffv3p7h.js → event-logger-fffv3p7h.js} +1 -1
- package/dist/chunks/{shell-fg9p65nk.js → event-logger-fg9p65nk.js} +2 -2
- package/dist/chunks/{shell-ye5s7wzt.js → event-logger-fv8hzpfs.js} +15 -15
- package/dist/chunks/{shell-bgydqt93.js → event-logger-fw50yafe.js} +4 -4
- package/dist/chunks/{shell-zr9mzc9r.js → event-logger-fwnqj29c.js} +6 -6
- package/dist/chunks/{shell-0kat7t60.js → event-logger-g31kr420.js} +10 -10
- package/dist/chunks/{shell-sk2z2nm4.js → event-logger-g75rsb29.js} +32 -32
- package/dist/chunks/{shell-531gz68s.js → event-logger-g82t7nkx.js} +13 -13
- package/dist/chunks/{shell-d6pgezd3.js → event-logger-g94qxyp9.js} +4 -4
- package/dist/chunks/{shell-0mxwv49h.js → event-logger-ga8ybevh.js} +8 -8
- package/dist/chunks/{shell-gbjdnr5j.js → event-logger-gbjdnr5j.js} +2 -2
- package/dist/chunks/{shell-zgk88pyz.js → event-logger-gfhdmgrn.js} +5 -5
- package/dist/chunks/{shell-ghrv1g9c.js → event-logger-ghrv1g9c.js} +1 -1
- package/dist/chunks/{shell-j873avsj.js → event-logger-gpf13vw6.js} +29 -29
- package/dist/chunks/{shell-7rvfcytr.js → event-logger-gq5535vd.js} +45 -45
- package/dist/chunks/{shell-gwyytpcj.js → event-logger-gwyytpcj.js} +3 -3
- package/dist/chunks/{shell-dy93a6sq.js → event-logger-h39mnv9v.js} +9 -9
- package/dist/chunks/{shell-29rcrt89.js → event-logger-h3pypt2f.js} +36 -36
- package/dist/chunks/{shell-hgzwgvze.js → event-logger-hgzwgvze.js} +2 -2
- package/dist/chunks/{shell-38fnt8gm.js → event-logger-hp1j3sjd.js} +12 -12
- package/dist/chunks/{shell-c9re1fz3.js → event-logger-hxhavees.js} +7 -7
- package/dist/chunks/{shell-ydsespw1.js → event-logger-hy8c1z76.js} +8 -8
- package/dist/chunks/{shell-3qevzq3v.js → event-logger-j145syf3.js} +11 -11
- package/dist/chunks/{shell-jcm1p78q.js → event-logger-j7pes186.js} +18 -18
- package/dist/chunks/{shell-e87f6eew.js → event-logger-jcqyvytd.js} +3 -3
- package/dist/chunks/{shell-cxqxd4h8.js → event-logger-je6zbbky.js} +19 -19
- package/dist/chunks/{shell-et4v4qpp.js → event-logger-jh9q4qkg.js} +2 -2
- package/dist/chunks/{shell-zhtzjnjr.js → event-logger-jhsh5xsx.js} +3 -3
- package/dist/chunks/{shell-j376ae4e.js → event-logger-jht64jd1.js} +7 -7
- package/dist/chunks/{shell-gmemj5zs.js → event-logger-jjvvtnfs.js} +4 -4
- package/dist/chunks/{shell-jm70asfg.js → event-logger-jm70asfg.js} +1 -1
- package/dist/chunks/{shell-qbd6vm9j.js → event-logger-jnty2kge.js} +9 -9
- package/dist/chunks/{shell-d93erz9q.js → event-logger-jp9c244s.js} +5 -5
- package/dist/chunks/{shell-6abf839k.js → event-logger-jx2redxs.js} +18 -18
- package/dist/chunks/{shell-ewwxda2t.js → event-logger-k2m8pptq.js} +5 -5
- package/dist/chunks/{shell-wfdx5ztx.js → event-logger-k3cx6fhe.js} +4 -4
- package/dist/chunks/{shell-qfz6bxfd.js → event-logger-k46dd5bg.js} +4 -4
- package/dist/chunks/{shell-f2nktr1n.js → event-logger-kbdfxn4v.js} +27 -27
- package/dist/chunks/{shell-67wwskyb.js → event-logger-kbgs7tyr.js} +4 -4
- package/dist/chunks/{shell-r1zb7prx.js → event-logger-kcdtbd58.js} +19 -19
- package/dist/chunks/{shell-nqnyv13s.js → event-logger-ket9fspp.js} +30 -30
- package/dist/chunks/{shell-v32xxxs3.js → event-logger-kk82sxp5.js} +28 -28
- package/dist/chunks/{shell-jb6jn1w7.js → event-logger-kvhn3njp.js} +25 -25
- package/dist/chunks/{shell-885ta1dv.js → event-logger-ky55b5b1.js} +4 -4
- package/dist/chunks/{shell-kzczzf4v.js → event-logger-kzczzf4v.js} +1 -1
- package/dist/chunks/{shell-m1714858.js → event-logger-m1714858.js} +1 -1
- package/dist/chunks/{shell-y4cxq3a2.js → event-logger-m5ksmk4m.js} +8 -8
- package/dist/chunks/{shell-m9w0rfyh.js → event-logger-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-mb7mbhnz.js → event-logger-mb7mbhnz.js} +3 -3
- package/dist/chunks/{shell-ca3p2z52.js → event-logger-mk8g8825.js} +31 -31
- package/dist/chunks/{shell-mm06edep.js → event-logger-mm06edep.js} +1 -1
- package/dist/chunks/{shell-bfvmy18f.js → event-logger-mwpz9507.js} +20 -20
- package/dist/chunks/{shell-fa9tjsaj.js → event-logger-mwx6hdhe.js} +32 -32
- package/dist/chunks/{shell-mm4jjfk6.js → event-logger-mx9d9194.js} +6 -6
- package/dist/chunks/{shell-04wmv77c.js → event-logger-mxe6cc3w.js} +2 -2
- package/dist/chunks/{shell-w2ynyz06.js → event-logger-n0w8hah0.js} +35 -35
- package/dist/chunks/{shell-nd7xb35t.js → event-logger-n61jynp1.js} +4 -4
- package/dist/chunks/{shell-05ep8jbf.js → event-logger-ngrex33f.js} +20 -20
- package/dist/chunks/{shell-171thb15.js → event-logger-nh6ahxdy.js} +31 -31
- package/dist/chunks/{shell-pc93sbyk.js → event-logger-nrhye8ca.js} +43 -43
- package/dist/chunks/{shell-5c3vb04r.js → event-logger-nszkfeyk.js} +18 -18
- package/dist/chunks/{shell-qax4z3xy.js → event-logger-ntes84c7.js} +58 -58
- package/dist/chunks/{shell-g1qm35vw.js → event-logger-nynzrqfa.js} +15 -15
- package/dist/chunks/{shell-ntzvse3v.js → event-logger-p0rdv2ka.js} +27 -27
- package/dist/chunks/{shell-35nqqk7p.js → event-logger-p2ym3z91.js} +53 -53
- package/dist/chunks/{shell-6w5k28v5.js → event-logger-p8eaevk1.js} +9 -9
- package/dist/chunks/{shell-y20ftqhr.js → event-logger-pbxh5k80.js} +21 -21
- package/dist/chunks/{shell-3e9y3yh4.js → event-logger-pcn1pday.js} +5 -5
- package/dist/chunks/{shell-t7f6esz0.js → event-logger-pgs0vaw1.js} +14 -14
- package/dist/chunks/{shell-pknna89w.js → event-logger-pknna89w.js} +1 -1
- package/dist/chunks/{shell-7q7stxqx.js → event-logger-pkqx2d8q.js} +46 -46
- package/dist/chunks/{shell-tfrjkk8b.js → event-logger-ps2x5v7n.js} +9 -9
- package/dist/chunks/{shell-r2tvqa91.js → event-logger-pwg25vcj.js} +12 -12
- package/dist/chunks/{shell-nchw3v9s.js → event-logger-pyc3gczw.js} +5 -5
- package/dist/chunks/{shell-1dry8s88.js → event-logger-q4pddmrg.js} +8 -8
- package/dist/chunks/{shell-pen16d07.js → event-logger-q6bn7qw5.js} +6 -6
- package/dist/chunks/{shell-57gea914.js → event-logger-qcf0c8pz.js} +28 -28
- package/dist/chunks/{shell-r4a7bq0q.js → event-logger-qcsjt65h.js} +25 -25
- package/dist/chunks/{shell-838x9t6m.js → event-logger-qgc7gk0m.js} +9 -9
- package/dist/chunks/{shell-kzdam8c6.js → event-logger-qk5sk9d1.js} +7 -7
- package/dist/chunks/{shell-fkg15t8v.js → event-logger-qns655k7.js} +17 -17
- package/dist/chunks/{shell-qp7r0hxv.js → event-logger-qp7r0hxv.js} +1 -1
- package/dist/chunks/{shell-7ffybbfj.js → event-logger-qqg9c0kv.js} +7 -7
- package/dist/chunks/{shell-70712cqe.js → event-logger-qvr2ekmb.js} +15 -15
- package/dist/chunks/{shell-eb4d46hf.js → event-logger-qzmnjb7d.js} +33 -33
- package/dist/chunks/{shell-sx7gy4v1.js → event-logger-r0kny14g.js} +25 -25
- package/dist/chunks/{shell-jp2xaw1k.js → event-logger-r2f6r8an.js} +14 -14
- package/dist/chunks/{shell-97z8st7p.js → event-logger-r32jae5n.js} +31 -31
- package/dist/chunks/{shell-q0bgdeca.js → event-logger-r9m5qjgh.js} +10 -10
- package/dist/chunks/{shell-rb9dy4dg.js → event-logger-rb9dy4dg.js} +1 -1
- package/dist/chunks/{shell-q7y3b9g0.js → event-logger-rcytysj3.js} +8 -8
- package/dist/chunks/{shell-dhx19zs1.js → event-logger-rd9gx1nd.js} +12 -12
- package/dist/chunks/{shell-37h4c00p.js → event-logger-rf88n2jb.js} +29 -29
- package/dist/chunks/{shell-rgc9cx3e.js → event-logger-rgc9cx3e.js} +2 -2
- package/dist/chunks/{shell-px7qpgcn.js → event-logger-rj7j5fvs.js} +4 -4
- package/dist/chunks/{shell-6dvhx7nf.js → event-logger-rkcj9q5k.js} +30 -30
- package/dist/chunks/event-logger-rq1z7s44.js +26 -0
- package/dist/chunks/{shell-7fc1w3z9.js → event-logger-rqcts4h9.js} +19 -19
- package/dist/chunks/{shell-z0hj91t2.js → event-logger-rs7s22be.js} +16 -16
- package/dist/chunks/{shell-rt5dr6hb.js → event-logger-rt5dr6hb.js} +1 -1
- package/dist/chunks/{shell-gx3xna53.js → event-logger-rzaea12m.js} +9 -9
- package/dist/chunks/{shell-5sb7czq3.js → event-logger-s13dn67d.js} +39 -39
- package/dist/chunks/{shell-rfrdehgj.js → event-logger-s3wgmz26.js} +5 -5
- package/dist/chunks/{shell-as81mf2n.js → event-logger-s47ysp55.js} +32 -32
- package/dist/chunks/{shell-s7kyse9r.js → event-logger-s7kyse9r.js} +1 -1
- package/dist/chunks/{shell-tyr6qep8.js → event-logger-s8t3vd4x.js} +6 -6
- package/dist/chunks/{shell-sbya78hr.js → event-logger-sbya78hr.js} +1 -1
- package/dist/chunks/{shell-jv5ccajn.js → event-logger-scmk72rv.js} +5 -5
- package/dist/chunks/{shell-fxdc676n.js → event-logger-sdx9sa4s.js} +20 -20
- package/dist/chunks/{shell-4ztdh265.js → event-logger-sq1rnj0z.js} +12 -12
- package/dist/chunks/{shell-c3pkq4dt.js → event-logger-ssexzbw3.js} +12 -12
- package/dist/chunks/{shell-svcy3p9a.js → event-logger-svcy3p9a.js} +1 -1
- package/dist/chunks/{shell-jz9rr28n.js → event-logger-sxheq5tz.js} +14 -14
- package/dist/chunks/{shell-g7eta4yz.js → event-logger-sykx96p7.js} +15 -15
- package/dist/chunks/{shell-z0db5qhr.js → event-logger-t0zdp2a8.js} +16 -16
- package/dist/chunks/{shell-kezxxrhx.js → event-logger-t1sg9pf2.js} +19 -19
- package/dist/chunks/{shell-r91yw7hv.js → event-logger-t5kge4h6.js} +88 -88
- package/dist/chunks/{shell-7em1gm9x.js → event-logger-tbb0eqhr.js} +21 -21
- package/dist/chunks/{shell-tbpn7jtk.js → event-logger-tbpn7jtk.js} +1 -1
- package/dist/chunks/{shell-tczq8hjw.js → event-logger-tczq8hjw.js} +1 -1
- package/dist/chunks/{shell-fxap3bxw.js → event-logger-tearbcyw.js} +4 -4
- package/dist/chunks/{shell-j1vm166b.js → event-logger-texjrgym.js} +14 -14
- package/dist/chunks/{shell-gxs71cxp.js → event-logger-tg7s7b5t.js} +4 -4
- package/dist/chunks/{shell-3nnrz6f6.js → event-logger-tmc7xdjs.js} +4 -4
- package/dist/chunks/{shell-9kabshmz.js → event-logger-tnkb1fsn.js} +29 -29
- package/dist/chunks/{shell-g4txs7zc.js → event-logger-tp1jb13k.js} +7 -7
- package/dist/chunks/{shell-te1dyy7s.js → event-logger-tpjeg7xy.js} +58 -58
- package/dist/chunks/{shell-9380skfn.js → event-logger-tqpz7t7c.js} +9 -9
- package/dist/chunks/{shell-198tgvry.js → event-logger-tqrv4rnt.js} +8 -8
- package/dist/chunks/{shell-jxd6f16v.js → event-logger-twhtcdx9.js} +4 -4
- package/dist/chunks/{shell-twssxy5n.js → event-logger-twssxy5n.js} +2 -2
- package/dist/chunks/{shell-v2r1d0zg.js → event-logger-v2r1d0zg.js} +1 -1
- package/dist/chunks/{shell-ttvxmp70.js → event-logger-vbvjw0vf.js} +15 -15
- package/dist/chunks/{shell-2czpenqt.js → event-logger-vej9xwg7.js} +20 -20
- package/dist/chunks/{shell-fnyfytfc.js → event-logger-vg46qw31.js} +20 -20
- package/dist/chunks/{shell-5qqe776t.js → event-logger-vgrsqd2c.js} +15 -15
- package/dist/chunks/{shell-aersyzkt.js → event-logger-vhz98ytv.js} +5 -5
- package/dist/chunks/{shell-vjf35v1f.js → event-logger-vjf35v1f.js} +1 -1
- package/dist/chunks/{shell-xy2b9wed.js → event-logger-vjf4x521.js} +16 -16
- package/dist/chunks/{shell-dwgnrvz9.js → event-logger-vjfa2gv4.js} +19 -19
- package/dist/chunks/{shell-30dj6ygd.js → event-logger-vmpn8nre.js} +4 -4
- package/dist/chunks/{shell-4g3sdj5g.js → event-logger-vt4r9rmy.js} +9 -9
- package/dist/chunks/{shell-40za9wsf.js → event-logger-w2eysc6j.js} +9 -9
- package/dist/chunks/{shell-a6tvdjrr.js → event-logger-w3mx6asv.js} +11 -11
- package/dist/chunks/{shell-w3wsvvr9.js → event-logger-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-b6z35kmf.js → event-logger-w687dnns.js} +4 -4
- package/dist/chunks/{shell-wakvkjy4.js → event-logger-wakvkjy4.js} +1 -1
- package/dist/chunks/{shell-wd87259q.js → event-logger-wd87259q.js} +1 -1
- package/dist/chunks/{shell-wegkxhrn.js → event-logger-wegkxhrn.js} +2 -2
- package/dist/chunks/{shell-r17fbvme.js → event-logger-wfs84ra6.js} +4 -4
- package/dist/chunks/{shell-m87rqfwf.js → event-logger-wngfqt47.js} +1 -1
- package/dist/chunks/{shell-2yvt6v2s.js → event-logger-wp1ynhrf.js} +6 -6
- package/dist/chunks/{shell-e1cae856.js → event-logger-wwgcq1e4.js} +5 -5
- package/dist/chunks/{shell-yvpsgrfy.js → event-logger-x064v84b.js} +15 -15
- package/dist/chunks/{shell-r1ef3b6h.js → event-logger-x3g496gc.js} +20 -20
- package/dist/chunks/{shell-xz07m27x.js → event-logger-x4mcewfn.js} +4 -4
- package/dist/chunks/{shell-xa84c574.js → event-logger-x65ccpj1.js} +17 -17
- package/dist/chunks/{shell-q3wqnekb.js → event-logger-x6qe0cnz.js} +37 -37
- package/dist/chunks/{shell-nymz80y4.js → event-logger-xbm420df.js} +11 -11
- package/dist/chunks/{shell-gerka9tj.js → event-logger-xjbsd7zy.js} +9 -9
- package/dist/chunks/{shell-tbpzwth5.js → event-logger-xjpw4mqe.js} +11 -11
- package/dist/chunks/{shell-n5q3vjt1.js → event-logger-xr9p8kda.js} +33 -33
- package/dist/chunks/{shell-5reek4m1.js → event-logger-xtfg19kx.js} +15 -15
- package/dist/chunks/{shell-0c7fqt81.js → event-logger-xw0g5zm9.js} +24 -24
- package/dist/chunks/{shell-xjr6c8m4.js → event-logger-xxschbft.js} +4 -4
- package/dist/chunks/event-logger-y1w7y1yx.js +265 -0
- package/dist/chunks/{shell-9sbr471j.js → event-logger-y3vm5emk.js} +41 -41
- package/dist/chunks/{shell-tmzpty2x.js → event-logger-y5yxae4c.js} +27 -27
- package/dist/chunks/{shell-g4esjzs2.js → event-logger-y8be9w6t.js} +42 -42
- package/dist/chunks/{shell-yb20nhc3.js → event-logger-yb20nhc3.js} +1 -1
- package/dist/chunks/{shell-39sgvy3e.js → event-logger-ymqredyb.js} +4 -4
- package/dist/chunks/{shell-bj78ahtb.js → event-logger-yqfnxatp.js} +7 -7
- package/dist/chunks/{shell-yr705xyq.js → event-logger-yr705xyq.js} +1 -1
- package/dist/chunks/{shell-2b6c536n.js → event-logger-yss3nxfk.js} +43 -43
- package/dist/chunks/{shell-csbxxvjj.js → event-logger-ytg9wnr0.js} +19 -19
- package/dist/chunks/{shell-yvtc2x31.js → event-logger-yvtc2x31.js} +1 -1
- package/dist/chunks/{shell-b27yaz8n.js → event-logger-z6mnvcpb.js} +19 -19
- package/dist/chunks/{shell-djejg4dy.js → event-logger-z95tv15s.js} +9 -9
- package/dist/chunks/{shell-1ewj4sez.js → event-logger-z9mzqmgn.js} +34 -34
- package/dist/chunks/{shell-d1kkd7wb.js → event-logger-zaanxbjm.js} +15 -15
- package/dist/chunks/{shell-1wavq65y.js → event-logger-zbkkdgde.js} +12 -12
- package/dist/chunks/{shell-ze75qvmd.js → event-logger-ze75qvmd.js} +3 -3
- package/dist/chunks/{shell-sma3xe68.js → event-logger-zewmgq8b.js} +15 -15
- package/dist/chunks/{shell-66myyt0m.js → event-logger-zezzs4af.js} +24 -24
- package/dist/chunks/{shell-tkxx25dy.js → event-logger-zkbhzvnx.js} +4 -4
- package/dist/chunks/{shell-j1p7gyyh.js → event-logger-zmyvcbwh.js} +12 -12
- package/dist/chunks/{shell-zpdbqgja.js → event-logger-zpdbqgja.js} +1 -1
- package/dist/chunks/{shell-hn3q66x1.js → event-logger-zt1qtpq2.js} +13 -13
- package/dist/chunks/{shell-rcbjwvze.js → event-logger-ztf6n3de.js} +4 -4
- package/dist/chunks/{shell-p24x6225.js → event-logger-zvbqdp8y.js} +6 -6
- package/dist/chunks/{shell-9acds8p4.js → event-logger-zy2cfvwt.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +9 -9
- 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 +133 -133
- package/dist/config/plugin/command.js +240 -240
- 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 +132 -132
- package/dist/config/plugin/mcp.js +145 -145
- 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 +132 -132
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- 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 +135 -135
- package/dist/console-access.js +7 -7
- 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 +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 +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 +253 -253
- 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 +114 -114
- package/dist/flag.js +129 -129
- package/dist/form.js +87 -87
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +100 -100
- package/dist/generate.js +120 -120
- 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 +84 -84
- 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 +187 -187
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +110 -110
- 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 +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +154 -154
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +91 -91
- 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 +119 -119
- 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 +133 -133
- 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 +5 -5
- 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 +112 -112
- 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 +110 -110
- 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 +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 +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 +138 -138
- 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 +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +417 -417
- 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 +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 +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +253 -253
- 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 +113 -113
- package/dist/reference/instructions.js +99 -99
- 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 +109 -109
- 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 +3 -3
- 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 +173 -173
- 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 +167 -167
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +148 -148
- 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 +144 -144
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +169 -169
- package/dist/session/model-transport.js +7 -7
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- 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 +186 -186
- package/dist/session/shell.js +145 -145
- 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 +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 +5 -5
- package/dist/session/title.js +207 -207
- 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 +13 -13
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +152 -152
- package/dist/skill.js +153 -153
- package/dist/snapshot.js +104 -104
- 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 +184 -184
- 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 +173 -173
- 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 +171 -171
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +237 -237
- package/dist/tool/plugin/skill.js +156 -156
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +158 -158
- 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 +163 -163
- package/dist/usage-limits.js +100 -100
- 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 +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +99 -99
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +3 -3
- 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-z9gmqpfy.js +0 -265
- package/dist/chunks/shell-zzr6kykw.js +0 -26
- /package/dist/chunks/{shell-0qkdqm5v.js → event-logger-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → event-logger-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-108x4f4w.js → event-logger-108x4f4w.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → event-logger-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → event-logger-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kah00gy.js → event-logger-1kah00gy.js} +0 -0
- /package/dist/chunks/{shell-24dcb14g.js → event-logger-24dcb14g.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → event-logger-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2bv980vf.js → event-logger-2bv980vf.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → event-logger-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → event-logger-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3af0jn4w.js → event-logger-3af0jn4w.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → event-logger-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → event-logger-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → event-logger-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → event-logger-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → event-logger-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4qk9sjk2.js → event-logger-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → event-logger-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → event-logger-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → event-logger-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-5w3e23ze.js → event-logger-5w3e23ze.js} +0 -0
- /package/dist/chunks/{shell-6agm2x70.js → event-logger-6agm2x70.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → event-logger-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-6q2bdcd1.js → event-logger-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → event-logger-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → event-logger-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → event-logger-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-84wd9syh.js → event-logger-84wd9syh.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → event-logger-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → event-logger-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-8wj87zfr.js → event-logger-8wj87zfr.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → event-logger-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → event-logger-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → event-logger-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → event-logger-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → event-logger-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → event-logger-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → event-logger-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-beh6qq61.js → event-logger-beh6qq61.js} +0 -0
- /package/dist/chunks/{shell-bhmrqjy3.js → event-logger-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → event-logger-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → event-logger-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → event-logger-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cqv5kn06.js → event-logger-cqv5kn06.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → event-logger-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → event-logger-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → event-logger-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → event-logger-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → event-logger-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → event-logger-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → event-logger-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-ean2d8b5.js → event-logger-ean2d8b5.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → event-logger-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → event-logger-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → event-logger-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → event-logger-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → event-logger-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → event-logger-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fkpq3x5p.js → event-logger-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → event-logger-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → event-logger-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → event-logger-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → event-logger-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hcxmzztb.js → event-logger-hcxmzztb.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → event-logger-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → event-logger-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → event-logger-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jjkms2e6.js → event-logger-jjkms2e6.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → event-logger-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → event-logger-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jwr30sdr.js → event-logger-jwr30sdr.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → event-logger-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-m18g726c.js → event-logger-m18g726c.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → event-logger-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → event-logger-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → event-logger-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → event-logger-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-nh4v3znn.js → event-logger-nh4v3znn.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → event-logger-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-p71gwv9c.js → event-logger-p71gwv9c.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → event-logger-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → event-logger-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → event-logger-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → event-logger-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qg3g05ea.js → event-logger-qg3g05ea.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → event-logger-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → event-logger-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → event-logger-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → event-logger-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-syrav9an.js → event-logger-syrav9an.js} +0 -0
- /package/dist/chunks/{shell-t03h4f5z.js → event-logger-t03h4f5z.js} +0 -0
- /package/dist/chunks/{shell-ty7weeps.js → event-logger-ty7weeps.js} +0 -0
- /package/dist/chunks/{shell-ve7vex1e.js → event-logger-ve7vex1e.js} +0 -0
- /package/dist/chunks/{shell-vtarvj67.js → event-logger-vtarvj67.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → event-logger-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wc3fc9cn.js → event-logger-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → event-logger-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → event-logger-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → event-logger-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x4th4bpe.js → event-logger-x4th4bpe.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → event-logger-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → event-logger-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → event-logger-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → event-logger-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-z0h12gs8.js → event-logger-z0h12gs8.js} +0 -0
- /package/dist/chunks/{shell-z5v4ffb3.js → event-logger-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → event-logger-z9919s4g.js} +0 -0
- /package/dist/chunks/{shell-zxpyjp51.js → event-logger-zxpyjp51.js} +0 -0
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-7stesae1.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-1fg4hrd5.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID16,
|
|
9
9
|
MethodID2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-gpf13vw6.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID15,
|
|
13
13
|
aisdk2,
|
|
14
14
|
mergeOverlay2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service76
|
|
16
|
+
} from "./event-logger-qzmnjb7d.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
ID14
|
|
19
|
+
} from "./event-logger-6nwmeabb.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
load5,
|
|
22
|
+
derive3
|
|
23
|
+
} from "./event-logger-azv11gn7.js";
|
|
24
24
|
import {
|
|
25
25
|
useragent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./event-logger-m5ksmk4m.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
ID12
|
|
29
|
+
} from "./event-logger-fagy91y1.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
get4
|
|
32
|
+
} from "./event-logger-tmc7xdjs.js";
|
|
33
33
|
import {
|
|
34
|
-
|
|
34
|
+
Service53,
|
|
35
35
|
fingerprint2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./event-logger-5b08n9ww.js";
|
|
37
37
|
import {
|
|
38
38
|
start3
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./event-logger-ps2x5v7n.js";
|
|
40
40
|
import {
|
|
41
41
|
activeCredential2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./event-logger-dwpedf5n.js";
|
|
43
43
|
|
|
44
44
|
// src/plugin/provider/github-copilot.ts
|
|
45
45
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -73,7 +73,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
73
73
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
74
74
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
75
75
|
var oauth = (app) => ({
|
|
76
|
-
integrationID:
|
|
76
|
+
integrationID: ID16.make("github-copilot"),
|
|
77
77
|
method: {
|
|
78
78
|
id: methodID,
|
|
79
79
|
type: "oauth",
|
|
@@ -171,8 +171,8 @@ var oauth = (app) => ({
|
|
|
171
171
|
var GithubCopilotPlugin2 = define({
|
|
172
172
|
id: "opencode.provider.github.copilot",
|
|
173
173
|
effect: Effect.fn(function* (ctx) {
|
|
174
|
-
const providers = yield*
|
|
175
|
-
const cache = yield*
|
|
174
|
+
const providers = yield* Service76;
|
|
175
|
+
const cache = yield* Service53;
|
|
176
176
|
const http = yield* HttpClient.HttpClient;
|
|
177
177
|
const outbound = yield* FetchHttpClient.Fetch;
|
|
178
178
|
const discovered = yield* start3({
|
|
@@ -185,11 +185,11 @@ var GithubCopilotPlugin2 = define({
|
|
|
185
185
|
if (!connection || credential?.type !== "oauth")
|
|
186
186
|
return { connection, value: {} };
|
|
187
187
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
188
|
-
const headers = (yield* providers.get(
|
|
188
|
+
const headers = (yield* providers.get(ID15.githubCopilot))?.headers ?? {};
|
|
189
189
|
const models = yield* cache.get({
|
|
190
190
|
key: modelsKey(connection, url, headers),
|
|
191
191
|
...options,
|
|
192
|
-
load: ctx.integration.connection.resolve(connection).pipe(Effect.flatMap((current) => current?.type === "oauth" ?
|
|
192
|
+
load: ctx.integration.connection.resolve(connection).pipe(Effect.flatMap((current) => current?.type === "oauth" ? load5(http, url, {
|
|
193
193
|
...headers,
|
|
194
194
|
Authorization: `Bearer ${current.refresh}`,
|
|
195
195
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -206,14 +206,14 @@ var GithubCopilotPlugin2 = define({
|
|
|
206
206
|
editor.method.update(oauth(ctx.app));
|
|
207
207
|
});
|
|
208
208
|
yield* ctx.provider.transform((evt) => {
|
|
209
|
-
const item = evt.get(
|
|
209
|
+
const item = evt.get(ID15.githubCopilot);
|
|
210
210
|
if (!item)
|
|
211
211
|
return;
|
|
212
212
|
const loaded = discovered.current;
|
|
213
213
|
if (loaded.models) {
|
|
214
214
|
evt.add({
|
|
215
215
|
info: item.provider,
|
|
216
|
-
models: Array.from(
|
|
216
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
217
217
|
sourceConnection: loaded.connection
|
|
218
218
|
});
|
|
219
219
|
return;
|
|
@@ -235,8 +235,8 @@ var GithubCopilotPlugin2 = define({
|
|
|
235
235
|
}
|
|
236
236
|
});
|
|
237
237
|
yield* ctx.model.transform((models) => {
|
|
238
|
-
if (models.get(
|
|
239
|
-
models.update(
|
|
238
|
+
if (models.get(ID15.githubCopilot, ID14.make("gpt-5-chat-latest"))) {
|
|
239
|
+
models.update(ID15.githubCopilot, ID14.make("gpt-5-chat-latest"), (model) => {
|
|
240
240
|
model.enabled = false;
|
|
241
241
|
});
|
|
242
242
|
}
|
|
@@ -247,22 +247,22 @@ var GithubCopilotPlugin2 = define({
|
|
|
247
247
|
evt.options.fetch = copilotFetch2(typeof evt.options.apiKey === "string" ? evt.options.apiKey : undefined, evt.options.fetch, ctx.app);
|
|
248
248
|
const mod = yield* Effect.promise(() => import("../github-copilot/copilot-provider.js"));
|
|
249
249
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
250
|
-
}), { providerID:
|
|
250
|
+
}), { providerID: ID15.githubCopilot });
|
|
251
251
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
252
252
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
253
253
|
return;
|
|
254
254
|
}));
|
|
255
255
|
const interaction = interactionType2(evt.kind, session?.parentID !== undefined);
|
|
256
256
|
evt.headers["X-Interaction-Type"] = interaction;
|
|
257
|
-
evt.headers["X-Interaction-Id"] = session ?
|
|
257
|
+
evt.headers["X-Interaction-Id"] = session ? get4(session) : evt.sessionID;
|
|
258
258
|
if (interaction !== "conversation-agent")
|
|
259
259
|
evt.headers["x-initiator"] = "agent";
|
|
260
|
-
}), { providerID:
|
|
260
|
+
}), { providerID: ID15.githubCopilot });
|
|
261
261
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
262
262
|
const loaded = discovered.current;
|
|
263
263
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
264
264
|
return;
|
|
265
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
265
|
+
const agent = yield* ctx.agent.get({ agentID: ID12.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
266
266
|
return;
|
|
267
267
|
}));
|
|
268
268
|
if (agent?.data.model)
|
|
@@ -273,7 +273,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
273
273
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app, fetch: outbound }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
274
274
|
return;
|
|
275
275
|
}));
|
|
276
|
-
}), { providerID:
|
|
276
|
+
}), { providerID: ID15.githubCopilot });
|
|
277
277
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
278
278
|
const token = evt.request.headers.get("x-api-key");
|
|
279
279
|
if (!token)
|
|
@@ -281,7 +281,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
281
281
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
282
282
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
283
283
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body));
|
|
284
|
-
}), { providerID:
|
|
284
|
+
}), { providerID: ID15.githubCopilot });
|
|
285
285
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
286
286
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
287
287
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -299,7 +299,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
299
299
|
const gpt = /^gpt-(\d+)/.exec(id);
|
|
300
300
|
const responses = gpt !== null && Number(gpt[1]) >= 5 && !id.startsWith("gpt-5-mini") || id.startsWith("grok-") || id.startsWith("mai-code-");
|
|
301
301
|
evt.language = responses ? evt.sdk.responses(id) : evt.sdk.chat(id);
|
|
302
|
-
}), { providerID:
|
|
302
|
+
}), { providerID: ID15.githubCopilot });
|
|
303
303
|
})
|
|
304
304
|
});
|
|
305
305
|
function modelsKey(connection, url, headers) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-40y6dtc2.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service63,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node65
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service63 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service63.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node65 = makeLocationNode({
|
|
143
|
+
service: Service63,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service63, node65, exports_tool_output2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service11,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
13
|
isSafeRelativePath: () => isSafeRelativePath2,
|
|
14
14
|
isSafeSegment: () => isSafeSegment2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node13
|
|
16
16
|
});
|
|
17
17
|
import path from "path";
|
|
18
18
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -50,9 +50,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service11 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var layer = Layer.effect(
|
|
55
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
56
56
|
const fs = yield* FSUtil.Service;
|
|
57
57
|
const global = yield* Global.Service;
|
|
58
58
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -65,7 +65,7 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
65
65
|
return true;
|
|
66
66
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
67
67
|
});
|
|
68
|
-
return
|
|
68
|
+
return Service11.of({
|
|
69
69
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
70
70
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
71
71
|
const source = new URL(base);
|
|
@@ -152,6 +152,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
152
152
|
})
|
|
153
153
|
});
|
|
154
154
|
}));
|
|
155
|
-
var
|
|
155
|
+
var node13 = makeGlobalNode({ service: Service11, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
156
156
|
|
|
157
|
-
export { isSafeSegment2, isSafeRelativePath2,
|
|
157
|
+
export { isSafeSegment2, isSafeRelativePath2, Service11, node13, exports_discovery };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID8,
|
|
6
|
+
Service48
|
|
7
|
+
} from "./event-logger-mwx6hdhe.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-dtrrxc61.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./event-logger-zvbqdp8y.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./event-logger-mb7mbhnz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service48;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID8.make(from),
|
|
91
|
+
to: ID8.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node75
|
|
5
|
+
} from "./event-logger-m5ksmk4m.js";
|
|
6
6
|
import {
|
|
7
7
|
join2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./event-logger-593f2610.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service68,
|
|
11
|
+
node70
|
|
12
|
+
} from "./event-logger-0gwbn6a0.js";
|
|
13
13
|
import {
|
|
14
14
|
DeclinedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./event-logger-aw9tgvnp.js";
|
|
16
16
|
import {
|
|
17
17
|
CancelledError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./event-logger-enf9p21v.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Error4
|
|
21
|
+
} from "./event-logger-4r38rjjg.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
get4
|
|
24
|
+
} from "./event-logger-tmc7xdjs.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service37,
|
|
27
|
+
node41
|
|
28
|
+
} from "./event-logger-0ywmkx3z.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make24
|
|
31
|
+
} from "./event-logger-79k544d0.js";
|
|
32
32
|
import {
|
|
33
33
|
toLLMMessages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./event-logger-eq7tm70r.js";
|
|
35
35
|
import {
|
|
36
36
|
__export
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
38
38
|
|
|
39
39
|
// src/session/model-request.ts
|
|
40
40
|
var exports_model_request = {};
|
|
41
41
|
__export(exports_model_request, {
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service36,
|
|
43
43
|
SessionModelRequest: () => exports_model_request,
|
|
44
44
|
baseTranscript: () => baseTranscript2,
|
|
45
45
|
boundImages: () => boundImages2,
|
|
46
46
|
layer: () => layer18,
|
|
47
|
-
node: () =>
|
|
47
|
+
node: () => node40,
|
|
48
48
|
outputLimit: () => outputLimit2,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
@@ -81,7 +81,7 @@ var baseTranscript2 = (input) => {
|
|
|
81
81
|
return {
|
|
82
82
|
providerMetadataKey,
|
|
83
83
|
system: [
|
|
84
|
-
SystemPart.make(input.agent.system ? input.agent.system :
|
|
84
|
+
SystemPart.make(input.agent.system ? input.agent.system : make24(input.tools.definitions.map((tool) => tool.name))),
|
|
85
85
|
{
|
|
86
86
|
...SystemPart.make(join2(input.initial)),
|
|
87
87
|
metadata: { experimental: { instructions: input.initial } }
|
|
@@ -187,11 +187,11 @@ var boundImages2 = (messages) => {
|
|
|
187
187
|
});
|
|
188
188
|
};
|
|
189
189
|
|
|
190
|
-
class
|
|
190
|
+
class Service36 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
191
191
|
}
|
|
192
|
-
var layer18 = Layer.effect(
|
|
193
|
-
const hooks = yield*
|
|
194
|
-
const transport = yield*
|
|
192
|
+
var layer18 = Layer.effect(Service36, Effect.gen(function* () {
|
|
193
|
+
const hooks = yield* Service68;
|
|
194
|
+
const transport = yield* Service37;
|
|
195
195
|
const app = yield* Metadata2;
|
|
196
196
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
197
197
|
const session = input.session;
|
|
@@ -199,7 +199,7 @@ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
199
199
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
200
200
|
const tools = input.tools ?? {
|
|
201
201
|
definitions: [],
|
|
202
|
-
execute: () => new
|
|
202
|
+
execute: () => new Error4({ message: "Tools are not available for this request" })
|
|
203
203
|
};
|
|
204
204
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: JSON.parse(JSON.stringify(t.inputSchema)) }, t]));
|
|
205
205
|
const shaped = yield* shape({
|
|
@@ -217,7 +217,7 @@ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
217
217
|
const entries = Object.entries(shaped.options);
|
|
218
218
|
const generation = Object.fromEntries(entries.filter(([k]) => GENERATION_KEYS.has(k)));
|
|
219
219
|
const providerOptions = Object.fromEntries(entries.filter(([k]) => !GENERATION_KEYS.has(k)));
|
|
220
|
-
const affinity =
|
|
220
|
+
const affinity = get4(session);
|
|
221
221
|
const base = ai.request({
|
|
222
222
|
model: model.model,
|
|
223
223
|
headers: {
|
|
@@ -286,17 +286,17 @@ var layer18 = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
286
286
|
};
|
|
287
287
|
});
|
|
288
288
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
289
|
-
return
|
|
289
|
+
return Service36.of({
|
|
290
290
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
291
291
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
292
292
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
293
293
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
294
294
|
});
|
|
295
295
|
}));
|
|
296
|
-
var
|
|
297
|
-
service:
|
|
296
|
+
var node40 = makeLocationNode({
|
|
297
|
+
service: Service36,
|
|
298
298
|
layer: layer18,
|
|
299
|
-
deps: [
|
|
299
|
+
deps: [node70, node41, node75]
|
|
300
300
|
});
|
|
301
301
|
|
|
302
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
302
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service36, layer18, node40, exports_model_request };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service88
|
|
3
|
+
} from "./event-logger-vjf4x521.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service69
|
|
6
|
+
} from "./event-logger-cbadg3ec.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service18
|
|
9
|
+
} from "./event-logger-x064v84b.js";
|
|
10
10
|
import {
|
|
11
11
|
make18
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./event-logger-8bcc8xgx.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./event-logger-mm06edep.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin7
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,14 +29,14 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin7 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service69;
|
|
36
|
+
const formatter = yield* Service18;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service88;
|
|
40
40
|
const npm = yield* Npm.Service;
|
|
41
41
|
const processes = yield* AppProcess.Service;
|
|
42
42
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin7, exports_formatter };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2,
|
|
3
3
|
exists2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./event-logger-svcy3p9a.js";
|
|
5
5
|
import {
|
|
6
6
|
AbsolutePath2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./event-logger-z5v4ffb3.js";
|
|
8
8
|
import {
|
|
9
9
|
root2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./event-logger-p2ym3z91.js";
|
|
11
|
+
import {
|
|
12
|
+
Service88,
|
|
13
|
+
node92
|
|
14
|
+
} from "./event-logger-vjf4x521.js";
|
|
11
15
|
import {
|
|
12
16
|
Service86,
|
|
13
17
|
node89
|
|
14
|
-
} from "./
|
|
15
|
-
import {
|
|
16
|
-
Service67,
|
|
17
|
-
node69
|
|
18
|
-
} from "./shell-2czpenqt.js";
|
|
18
|
+
} from "./event-logger-vej9xwg7.js";
|
|
19
19
|
import {
|
|
20
20
|
invocation2,
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service64,
|
|
22
|
+
node66
|
|
23
|
+
} from "./event-logger-aw9tgvnp.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/file-access.ts
|
|
29
29
|
var exports_file_access = {};
|
|
@@ -31,8 +31,8 @@ __export(exports_file_access, {
|
|
|
31
31
|
FileAccess: () => exports_file_access,
|
|
32
32
|
Kind: () => Kind2,
|
|
33
33
|
ResolveInput: () => ResolveInput2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
node: () =>
|
|
34
|
+
Service: () => Service20,
|
|
35
|
+
node: () => node24,
|
|
36
36
|
resolvePath: () => resolvePath2
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -46,18 +46,18 @@ var ResolveInput2 = Schema.Struct({
|
|
|
46
46
|
kind: Kind2.pipe(Schema.optional)
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service20 extends Context.Service()("@opencode/FileAccess") {
|
|
50
50
|
}
|
|
51
51
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
52
52
|
const normalized = FSUtil.windowsPath(input);
|
|
53
53
|
return path.resolve(directory, normalized === "~" ? home : normalized.startsWith("~/") || process.platform === "win32" && normalized.startsWith("~\\") ? path.join(home, normalized.slice(2)) : normalized);
|
|
54
54
|
};
|
|
55
55
|
var slash = (value) => value.replaceAll("\\", "/");
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const { files } = yield*
|
|
56
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
57
|
+
const { files } = yield* Service86;
|
|
58
58
|
const exists = (file) => exists2(files, file);
|
|
59
|
-
const location = yield*
|
|
60
|
-
const permission = yield*
|
|
59
|
+
const location = yield* Service88;
|
|
60
|
+
const permission = yield* Service64;
|
|
61
61
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
62
62
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
63
63
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -106,12 +106,12 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
106
106
|
});
|
|
107
107
|
return target;
|
|
108
108
|
});
|
|
109
|
-
return
|
|
109
|
+
return Service20.of({ resolve, authorizeExternal, authorizeRead });
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node24 = makeLocationNode({
|
|
112
|
+
service: Service20,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node89, node92, node66]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { Kind2, ResolveInput2,
|
|
117
|
+
export { Kind2, ResolveInput2, Service20, resolvePath2, node24, exports_file_access };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./event-logger-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/websearch/provider.ts
|
|
6
6
|
var exports_provider = {};
|
|
7
7
|
__export(exports_provider, {
|
|
8
8
|
WebSearchProvider: () => exports_provider,
|
|
9
|
-
register: () =>
|
|
9
|
+
register: () => register3
|
|
10
10
|
});
|
|
11
11
|
import { Effect } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var register3 = Effect.fn("WebSearchProvider.register")(function* (ctx, provider) {
|
|
13
13
|
yield* ctx.integration.transform((editor) => {
|
|
14
14
|
editor.update(provider.id, (integration) => integration.name = provider.name);
|
|
15
15
|
editor.method.update({
|
|
@@ -34,4 +34,4 @@ var register2 = Effect.fn("WebSearchProvider.register")(function* (ctx, provider
|
|
|
34
34
|
});
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { register3, exports_provider };
|