@opencode/core 0.0.0-dev-981 → 0.0.0-dev-983
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +94 -94
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +3 -3
- package/dist/artifact.js +246 -246
- package/dist/bus.js +80 -80
- package/dist/chunks/{agent-00ve6mdn.js → generate-00ve6mdn.js} +1 -1
- package/dist/chunks/{agent-034tev2y.js → generate-034tev2y.js} +2 -2
- package/dist/chunks/{agent-3adw4bt5.js → generate-04whjz6n.js} +9 -9
- package/dist/chunks/{agent-0frp03gx.js → generate-082f0q6f.js} +11 -11
- package/dist/chunks/{agent-0ma9gw4f.js → generate-0ma9gw4f.js} +2 -2
- package/dist/chunks/{agent-sqk89xq2.js → generate-0r0xa1r4.js} +10 -10
- package/dist/chunks/{agent-1aqsckx4.js → generate-1aqsckx4.js} +1 -1
- package/dist/chunks/{agent-1ep2p91f.js → generate-1ep2p91f.js} +2 -2
- package/dist/chunks/{agent-1s8e9aqh.js → generate-1t3nexw4.js} +56 -38
- package/dist/chunks/{agent-1v2g13eq.js → generate-1v2g13eq.js} +4 -4
- package/dist/chunks/{agent-1x2knyw4.js → generate-1x2knyw4.js} +1 -1
- package/dist/chunks/{agent-1yq9hg58.js → generate-1yq9hg58.js} +1 -1
- package/dist/chunks/{agent-7s0aaexf.js → generate-201wn41c.js} +14 -14
- package/dist/chunks/{agent-1776j15m.js → generate-251h4db2.js} +19 -19
- package/dist/chunks/{agent-8b3vzgkx.js → generate-25h84942.js} +4 -4
- package/dist/chunks/{agent-94gj6608.js → generate-2ab3z78j.js} +15 -15
- package/dist/chunks/{agent-514ks32r.js → generate-2am4dway.js} +20 -20
- package/dist/chunks/{agent-2fc7eemy.js → generate-2fc7eemy.js} +1 -1
- package/dist/chunks/{agent-z92h4cq5.js → generate-2j69rkye.js} +18 -18
- package/dist/chunks/{agent-2p60zmnr.js → generate-2p60zmnr.js} +2 -2
- package/dist/chunks/{agent-ckn0kvtp.js → generate-2s9mae96.js} +6 -6
- package/dist/chunks/{agent-2y8q1569.js → generate-2y8q1569.js} +4 -4
- package/dist/chunks/{agent-vc9f7ebj.js → generate-30h4kave.js} +67 -67
- package/dist/chunks/{agent-mqxpc6bt.js → generate-31kwwzna.js} +5 -5
- package/dist/chunks/{agent-833s6sc9.js → generate-3596nam5.js} +9 -9
- package/dist/chunks/{agent-v86kjx5c.js → generate-36a7wsad.js} +7 -7
- package/dist/chunks/{agent-hdkgxgz2.js → generate-36yddehx.js} +27 -27
- package/dist/chunks/{agent-73hqzbye.js → generate-3c87h22y.js} +5 -5
- package/dist/chunks/{agent-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{agent-ddgq088e.js → generate-3nk5g1bt.js} +25 -25
- package/dist/chunks/{agent-3nnrz6f6.js → generate-3nnrz6f6.js} +1 -1
- package/dist/chunks/{agent-17b8a7h3.js → generate-3qevzq3v.js} +9 -9
- package/dist/chunks/{agent-8t99kr38.js → generate-3qgwywyc.js} +4 -4
- package/dist/chunks/{agent-9a8saam1.js → generate-408ggc47.js} +18 -18
- package/dist/chunks/{agent-40y6dtc2.js → generate-40y6dtc2.js} +1 -1
- package/dist/chunks/{agent-765q7gwk.js → generate-43qtmsvb.js} +19 -19
- package/dist/chunks/{agent-w2z9mm8j.js → generate-43wvv95f.js} +4 -4
- package/dist/chunks/{agent-44pmzq9c.js → generate-44pmzq9c.js} +2 -2
- package/dist/chunks/{agent-emjkzpye.js → generate-44vn8hfg.js} +11 -11
- package/dist/chunks/{agent-2b86rq14.js → generate-45608qjx.js} +9 -9
- package/dist/chunks/{agent-qb7ncd82.js → generate-49xvqrtm.js} +7 -7
- package/dist/chunks/{agent-4dx1dgte.js → generate-4dx1dgte.js} +1 -1
- package/dist/chunks/{agent-4f25tdd0.js → generate-4f25tdd0.js} +1 -1
- package/dist/chunks/{agent-c5m2a8vb.js → generate-4ffhv9d7.js} +8 -8
- package/dist/chunks/{agent-ergvsmdh.js → generate-4fjdv4ta.js} +6 -6
- package/dist/chunks/{agent-d0ct107g.js → generate-4kw9er0q.js} +6 -6
- package/dist/chunks/{agent-7dn1zj2c.js → generate-4mnjvej4.js} +11 -11
- package/dist/chunks/{agent-4pyp9zr9.js → generate-4pyp9zr9.js} +1 -1
- package/dist/chunks/{agent-9zvxeyh0.js → generate-4r71yc0g.js} +10 -10
- package/dist/chunks/{agent-wyh1zxn8.js → generate-4rdqvk8d.js} +37 -37
- package/dist/chunks/{agent-y2cw704x.js → generate-4sj9zb3k.js} +10 -10
- package/dist/chunks/{agent-mkhghf85.js → generate-4tq3vdzv.js} +13 -13
- package/dist/chunks/{agent-4v008n1t.js → generate-4v008n1t.js} +1 -1
- package/dist/chunks/{agent-c0tz6aqz.js → generate-4ygb74tw.js} +11 -11
- package/dist/chunks/{agent-q1jshvh7.js → generate-50c2g26m.js} +14 -14
- package/dist/chunks/{agent-0sdba99t.js → generate-541tm5hj.js} +17 -17
- package/dist/chunks/{agent-a5g6cc71.js → generate-5bqxm00w.js} +15 -15
- package/dist/chunks/{agent-40za9wsf.js → generate-5enarcya.js} +6 -6
- package/dist/chunks/generate-5few85f9.js +26 -0
- package/dist/chunks/{agent-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
- package/dist/chunks/{agent-jraam9fg.js → generate-5nhnehgn.js} +6 -6
- package/dist/chunks/{agent-d7d1gqr0.js → generate-5sxb70pf.js} +20 -20
- package/dist/chunks/{agent-vc53vb0y.js → generate-5yrmc832.js} +9 -9
- package/dist/chunks/{agent-z8gssff5.js → generate-5zbyn85n.js} +21 -21
- package/dist/chunks/{agent-ejpp96pb.js → generate-60ghzdqp.js} +29 -29
- package/dist/chunks/{agent-wsvsnvv1.js → generate-63kwcv1f.js} +27 -27
- package/dist/chunks/{agent-nr0wjx78.js → generate-64t6ebej.js} +38 -38
- package/dist/chunks/{agent-r98mbgms.js → generate-69fz55eg.js} +5 -5
- package/dist/chunks/{agent-p7cpkq4c.js → generate-6b31hq0w.js} +16 -16
- package/dist/chunks/{agent-ydv8kc8h.js → generate-6brpx81r.js} +11 -11
- package/dist/chunks/{agent-yrhdks23.js → generate-6d7q1jwb.js} +16 -16
- package/dist/chunks/{agent-r96ere88.js → generate-6ss6ngz0.js} +4 -4
- package/dist/chunks/{agent-nstbetgn.js → generate-6vwjxhgq.js} +8 -8
- package/dist/chunks/{agent-wvr8xscb.js → generate-6y2b864j.js} +4 -4
- package/dist/chunks/{agent-jqaj356s.js → generate-6znb54e4.js} +23 -23
- package/dist/chunks/{agent-k0gdef7s.js → generate-706w5ak5.js} +30 -30
- package/dist/chunks/{agent-t48jrnqq.js → generate-73ff1310.js} +3 -3
- package/dist/chunks/{agent-n2d2n6fs.js → generate-7773pnc4.js} +33 -33
- package/dist/chunks/{agent-7bahrbjj.js → generate-792ge8qk.js} +11 -11
- package/dist/chunks/{agent-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{agent-p2ybnjzy.js → generate-7byy0gjn.js} +9 -9
- package/dist/chunks/{agent-ts58nkq1.js → generate-7c819ajx.js} +22 -22
- package/dist/chunks/{agent-yzzwwk98.js → generate-7fh9dgs5.js} +12 -12
- package/dist/chunks/{agent-gmf1f742.js → generate-7qhvmcb3.js} +7 -7
- package/dist/chunks/{agent-7w2ypzdf.js → generate-7w2ypzdf.js} +1 -1
- package/dist/chunks/{agent-7weczvnd.js → generate-7weczvnd.js} +1 -1
- package/dist/chunks/{agent-0w88x2cw.js → generate-7ytq1waz.js} +17 -17
- package/dist/chunks/{agent-7fz7kfy5.js → generate-7zw7vyr1.js} +10 -10
- package/dist/chunks/{agent-775hqbnd.js → generate-80mg3ag8.js} +3 -3
- package/dist/chunks/{agent-80pdk984.js → generate-80pdk984.js} +1 -1
- package/dist/chunks/{agent-dc60sssd.js → generate-859vte8v.js} +9 -9
- package/dist/chunks/{agent-89287pr7.js → generate-89287pr7.js} +1 -1
- package/dist/chunks/{agent-px7qpgcn.js → generate-8b68693q.js} +4 -4
- package/dist/chunks/{agent-jhxyynhp.js → generate-8e23pndz.js} +28 -28
- package/dist/chunks/{agent-esmhkswe.js → generate-8ecmj1v5.js} +37 -37
- package/dist/chunks/{agent-ea48cx4w.js → generate-8fgvkg8h.js} +25 -25
- package/dist/chunks/{agent-f004pghm.js → generate-8h1ak9nw.js} +4 -4
- package/dist/chunks/{agent-kt0aej7d.js → generate-8q5zntwe.js} +25 -25
- package/dist/chunks/{agent-8sxe6kv8.js → generate-8sxe6kv8.js} +2 -2
- package/dist/chunks/{agent-53rk79rp.js → generate-8w8qscb3.js} +3 -3
- package/dist/chunks/{agent-8wtp7s3z.js → generate-8wtp7s3z.js} +1 -1
- package/dist/chunks/{agent-72w62nvf.js → generate-8xwnacea.js} +8 -8
- package/dist/chunks/{agent-8zv0xmg5.js → generate-8zv0xmg5.js} +1 -1
- package/dist/chunks/{agent-90ct6wq4.js → generate-90ct6wq4.js} +1 -1
- package/dist/chunks/{agent-kx4qq42j.js → generate-923gzfg9.js} +7 -7
- package/dist/chunks/{agent-vh3qajfg.js → generate-975tyrdw.js} +23 -23
- package/dist/chunks/{agent-xmrb8t3m.js → generate-9809ss1z.js} +14 -14
- package/dist/chunks/{agent-rgr196vp.js → generate-9bm5fp1b.js} +9 -9
- package/dist/chunks/{agent-41a7c9y2.js → generate-9k1bqt4d.js} +7 -7
- package/dist/chunks/{agent-nvcgcg81.js → generate-9mdpwhed.js} +11 -11
- package/dist/chunks/{agent-c1snbmvy.js → generate-9q4ckfdq.js} +18 -18
- package/dist/chunks/{agent-vbkwga0e.js → generate-9rf7d8f9.js} +3 -3
- package/dist/chunks/{agent-g54wb9zb.js → generate-9z6vqn34.js} +8 -8
- package/dist/chunks/{agent-6b57y4tm.js → generate-a3z4rej5.js} +3 -3
- package/dist/chunks/{agent-55z69hwz.js → generate-a7ptfw0m.js} +15 -15
- package/dist/chunks/{agent-xfj4wc10.js → generate-a9y0f3h5.js} +4 -4
- package/dist/chunks/{agent-zx818e5g.js → generate-aav3wtt4.js} +3 -3
- package/dist/chunks/{agent-xpbt5r8q.js → generate-abjn65zj.js} +21 -21
- package/dist/chunks/{agent-9adnckeg.js → generate-adcz8d6f.js} +10 -10
- package/dist/chunks/{agent-1zxrx0km.js → generate-agy7b3sy.js} +9 -9
- package/dist/chunks/{agent-fqys5f2f.js → generate-ahar75pe.js} +6 -6
- package/dist/chunks/{agent-0sq7yx7p.js → generate-am27n29d.js} +12 -12
- package/dist/chunks/{agent-nptrm8kt.js → generate-ax1nzzh9.js} +7 -7
- package/dist/chunks/{agent-ayjs7tqn.js → generate-ayjs7tqn.js} +2 -2
- package/dist/chunks/{agent-rt30r86m.js → generate-az5g3zbd.js} +34 -34
- package/dist/chunks/{agent-kq4fnwb1.js → generate-azqdag7d.js} +4 -4
- package/dist/chunks/{agent-b26ddj6h.js → generate-b26ddj6h.js} +4 -4
- package/dist/chunks/{agent-me215f18.js → generate-b7nkz392.js} +1 -1
- package/dist/chunks/{agent-sx0w3y2a.js → generate-b7pz1kng.js} +4 -4
- package/dist/chunks/{agent-ykstx2xe.js → generate-bcf3s5tf.js} +8 -8
- package/dist/chunks/{agent-javg7esx.js → generate-bej1w6yf.js} +22 -22
- package/dist/chunks/{agent-rtafshd2.js → generate-bm95j60m.js} +4 -4
- package/dist/chunks/{agent-bqm1ag82.js → generate-bqfkc5f4.js} +15 -15
- package/dist/chunks/{agent-bstexjd6.js → generate-bstexjd6.js} +1 -1
- package/dist/chunks/{agent-kt89rn5p.js → generate-bz67z0bj.js} +17 -17
- package/dist/chunks/{agent-83daj7yj.js → generate-bzv1a952.js} +33 -33
- package/dist/chunks/{agent-6c33gsgt.js → generate-c0pk6njm.js} +26 -26
- package/dist/chunks/{agent-s3fyah2j.js → generate-c61vy28s.js} +17 -17
- package/dist/chunks/{agent-c7cw818c.js → generate-c7cw818c.js} +2 -2
- package/dist/chunks/{agent-f3zh1z40.js → generate-ccrkacbv.js} +26 -26
- package/dist/chunks/{agent-djs4q55k.js → generate-cm8j5sm3.js} +4 -4
- package/dist/chunks/{agent-5nz84q85.js → generate-cpqg77hz.js} +20 -20
- package/dist/chunks/{agent-jkdcm5hg.js → generate-cr4rfj9z.js} +4 -4
- package/dist/chunks/{agent-vq0qa3sh.js → generate-ctmpqb7w.js} +9 -9
- package/dist/chunks/{agent-cwrgdav8.js → generate-cwrgdav8.js} +2 -2
- package/dist/chunks/{agent-1p69b0p2.js → generate-d1cb1fd6.js} +9 -9
- package/dist/chunks/{agent-ncne1zgd.js → generate-d1zee9s4.js} +12 -12
- package/dist/chunks/{agent-d4v9tmah.js → generate-d4v9tmah.js} +2 -2
- package/dist/chunks/{agent-6wnvkxy2.js → generate-d62j27gy.js} +2 -2
- package/dist/chunks/{agent-7bn2cmg4.js → generate-da1kteg9.js} +3 -3
- package/dist/chunks/{agent-nryptj9p.js → generate-da3mvxjb.js} +24 -24
- package/dist/chunks/{agent-x79hntmv.js → generate-dadja8a1.js} +1 -1
- package/dist/chunks/{agent-dt77769w.js → generate-dt77769w.js} +1 -1
- package/dist/chunks/{agent-7wa892tk.js → generate-dtn7r25f.js} +34 -34
- package/dist/chunks/{agent-a54h82rt.js → generate-e1nybnhm.js} +12 -12
- package/dist/chunks/{agent-145d65ep.js → generate-e2pva2jr.js} +6 -6
- package/dist/chunks/{agent-ybpwwy0n.js → generate-e2v3kxva.js} +64 -64
- package/dist/chunks/{agent-nnwpcz14.js → generate-e3tf80j6.js} +59 -59
- package/dist/chunks/{agent-pb4hhsm2.js → generate-e6692dw4.js} +12 -12
- package/dist/chunks/{agent-rngj42e6.js → generate-e7dsn264.js} +11 -11
- package/dist/chunks/{agent-53xvr310.js → generate-eb1mv0vp.js} +6 -6
- package/dist/chunks/{agent-q7srkfd6.js → generate-edm37t96.js} +3 -3
- package/dist/chunks/{agent-0xp2zwch.js → generate-ehg2tyt7.js} +15 -15
- package/dist/chunks/{agent-eqw4pqj1.js → generate-eqw4pqj1.js} +2 -2
- package/dist/chunks/{agent-xkm85qpg.js → generate-ewv8grsy.js} +6 -6
- package/dist/chunks/{agent-ppngxvrt.js → generate-ez4srrmk.js} +11 -11
- package/dist/chunks/{agent-dp05pbnt.js → generate-f2113g9p.js} +6 -6
- package/dist/chunks/{agent-kyg65sbd.js → generate-f70shxwt.js} +39 -39
- package/dist/chunks/{agent-gzdfg4q2.js → generate-faaxyy15.js} +28 -28
- package/dist/chunks/generate-fcmxqga5.js +16 -0
- package/dist/chunks/generate-fcrx8q29.js +392 -0
- package/dist/chunks/{agent-e1e2z6y2.js → generate-ffedmg7c.js} +6 -6
- package/dist/chunks/{agent-fffv3p7h.js → generate-fffv3p7h.js} +1 -1
- package/dist/chunks/{agent-fg9p65nk.js → generate-fg9p65nk.js} +2 -2
- package/dist/chunks/{agent-gtaq5q8g.js → generate-fnwrrz78.js} +4 -4
- package/dist/chunks/{agent-p5fnmvpj.js → generate-fvwqh464.js} +22 -22
- package/dist/chunks/{agent-qag47dhy.js → generate-fvyvfse0.js} +3 -3
- package/dist/chunks/{agent-rhcdfjrd.js → generate-fwjn606w.js} +8 -8
- package/dist/chunks/{agent-a91n2tqa.js → generate-fywj44h6.js} +8 -8
- package/dist/chunks/{agent-syncbfr5.js → generate-g42b6ca9.js} +4 -4
- package/dist/chunks/{agent-85w748h8.js → generate-g7znq61g.js} +5 -5
- package/dist/chunks/{agent-gbjdnr5j.js → generate-gbjdnr5j.js} +2 -2
- package/dist/chunks/{agent-bt57tpxv.js → generate-ggxbfdnt.js} +12 -12
- package/dist/chunks/{agent-ghrv1g9c.js → generate-ghrv1g9c.js} +1 -1
- package/dist/chunks/{agent-tb2mrvc9.js → generate-gmemj5zs.js} +4 -4
- package/dist/chunks/{agent-6w15kdgv.js → generate-gmvm9y66.js} +12 -12
- package/dist/chunks/{agent-v5mgyt8c.js → generate-gwfsxvxb.js} +6 -6
- package/dist/chunks/{agent-gxs71cxp.js → generate-gxs71cxp.js} +1 -1
- package/dist/chunks/{agent-wa4w9bvn.js → generate-h26dq1rf.js} +8 -8
- package/dist/chunks/{agent-gbzdy980.js → generate-h8wbh36d.js} +25 -25
- package/dist/chunks/{agent-9nq4n9bn.js → generate-hgyhx3x2.js} +11 -11
- package/dist/chunks/{agent-hgzwgvze.js → generate-hgzwgvze.js} +2 -2
- package/dist/chunks/{agent-k77fysk8.js → generate-hjhchsq9.js} +5 -5
- package/dist/chunks/{agent-jdwsaczw.js → generate-hnv9ta67.js} +5 -5
- package/dist/chunks/{agent-3txg0pd7.js → generate-hqvhb0wh.js} +9 -9
- package/dist/chunks/{agent-0dc2hx03.js → generate-hrrjhs6y.js} +18 -18
- package/dist/chunks/{agent-479x8892.js → generate-hvmwjas5.js} +26 -26
- package/dist/chunks/{agent-tnk2mvrg.js → generate-hw6v93bb.js} +13 -13
- package/dist/chunks/{agent-h2afx71g.js → generate-hykv42xb.js} +6 -6
- package/dist/chunks/{agent-r7zdf0d6.js → generate-j9d998rq.js} +25 -25
- package/dist/chunks/{agent-qsdghx1p.js → generate-jg11hrrc.js} +4 -4
- package/dist/chunks/{agent-1zmv1hc5.js → generate-jg2twrw4.js} +26 -26
- package/dist/chunks/{agent-d708f7va.js → generate-jh04e5vr.js} +22 -22
- package/dist/chunks/{agent-jm70asfg.js → generate-jm70asfg.js} +1 -1
- package/dist/chunks/{agent-fx5dbny4.js → generate-jqa53rzv.js} +5 -5
- package/dist/chunks/{agent-61qraad9.js → generate-jv5ccajn.js} +5 -5
- package/dist/chunks/{agent-3egvspvf.js → generate-k7zt6y8f.js} +9 -9
- package/dist/chunks/{agent-qcv2egf2.js → generate-kf9444fk.js} +9 -9
- package/dist/chunks/{agent-qhskymbr.js → generate-kg9r28wv.js} +6 -6
- package/dist/chunks/{agent-am0c6q8r.js → generate-knw13jp1.js} +18 -18
- package/dist/chunks/{agent-kt3bjfbg.js → generate-kt3bjfbg.js} +1 -1
- package/dist/chunks/{agent-kzczzf4v.js → generate-kzczzf4v.js} +1 -1
- package/dist/chunks/{agent-6nfj3rxw.js → generate-m0ktsrxx.js} +21 -21
- package/dist/chunks/{agent-m1714858.js → generate-m1714858.js} +1 -1
- package/dist/chunks/{agent-kmwb2feb.js → generate-m6k157bd.js} +13 -13
- package/dist/chunks/{agent-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{agent-mb7mbhnz.js → generate-mb7mbhnz.js} +3 -3
- package/dist/chunks/{agent-v0t96s7a.js → generate-mf63ygpr.js} +4 -4
- package/dist/chunks/{agent-yec5mb3m.js → generate-mrn51y7q.js} +32 -32
- package/dist/chunks/{agent-td0gj47q.js → generate-n2r9h55v.js} +45 -45
- package/dist/chunks/{agent-6wkx5vpj.js → generate-n846fy76.js} +15 -15
- package/dist/chunks/{agent-x0thc2ej.js → generate-naasqdtp.js} +20 -20
- package/dist/chunks/{agent-nyc4jwvb.js → generate-nemnqzpn.js} +4 -4
- package/dist/chunks/{agent-m09z1v99.js → generate-nfftpr9f.js} +54 -54
- package/dist/chunks/{agent-ts9w7b04.js → generate-nh0xx1hm.js} +14 -14
- package/dist/chunks/{agent-ztnv97d0.js → generate-nncndb79.js} +22 -22
- package/dist/chunks/{agent-y853tm2x.js → generate-nqtfywsx.js} +5 -5
- package/dist/chunks/{agent-0bas93te.js → generate-nymz80y4.js} +11 -11
- package/dist/chunks/{agent-p9rbnb6x.js → generate-p18myxhb.js} +14 -14
- package/dist/chunks/{agent-mmf7n8z0.js → generate-p4k921tg.js} +5 -5
- package/dist/chunks/{agent-kt1xtm1c.js → generate-p8r0j5mq.js} +18 -18
- package/dist/chunks/{agent-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{agent-eznwzz89.js → generate-py0td43q.js} +5 -5
- package/dist/chunks/{agent-6dwa5jtc.js → generate-q2yczkjd.js} +19 -19
- package/dist/chunks/{agent-ysn7hxne.js → generate-q45acx2f.js} +17 -17
- package/dist/chunks/{agent-sxsqza7j.js → generate-q6vmddmq.js} +17 -17
- package/dist/chunks/{agent-ctfe7v1v.js → generate-qbftsr0d.js} +19 -19
- package/dist/chunks/{agent-q3rq6fp3.js → generate-qd54b4dx.js} +20 -20
- package/dist/chunks/{agent-7a5zzgze.js → generate-qd96kvye.js} +19 -19
- package/dist/chunks/{agent-n74b8jv4.js → generate-qdhhhnch.js} +17 -17
- package/dist/chunks/{agent-kj9n5bvh.js → generate-qfz6bxfd.js} +4 -4
- package/dist/chunks/{agent-znbeg29p.js → generate-qhxas20c.js} +13 -13
- package/dist/chunks/{agent-dch23kaq.js → generate-qp40pzm8.js} +32 -32
- package/dist/chunks/{agent-qp7r0hxv.js → generate-qp7r0hxv.js} +1 -1
- package/dist/chunks/{agent-03s1syy0.js → generate-qt9td2q9.js} +2 -2
- package/dist/chunks/{agent-2n444ktb.js → generate-qtf35215.js} +3 -3
- package/dist/chunks/{agent-qkw9ffvq.js → generate-qx4y4vj4.js} +4 -4
- package/dist/chunks/{agent-kyjv3y5f.js → generate-qyzwq6y2.js} +339 -339
- package/dist/chunks/{agent-at91w1sd.js → generate-r20hrjw2.js} +27 -27
- package/dist/chunks/{agent-w3jbcn9f.js → generate-r5p6f1qx.js} +13 -13
- package/dist/chunks/{agent-rb9dy4dg.js → generate-rb9dy4dg.js} +1 -1
- package/dist/chunks/{agent-arnrzsa7.js → generate-rfv5gcqa.js} +9 -9
- package/dist/chunks/{agent-rgc9cx3e.js → generate-rgc9cx3e.js} +2 -2
- package/dist/chunks/{agent-nt907s04.js → generate-rj7jtxy8.js} +3 -3
- package/dist/chunks/{agent-ghzn7fps.js → generate-rs7jjpws.js} +16 -16
- package/dist/chunks/{agent-rt5dr6hb.js → generate-rt5dr6hb.js} +1 -1
- package/dist/chunks/{agent-8xz27cp9.js → generate-rt5qjrvj.js} +4 -4
- package/dist/chunks/{agent-2ntftwm7.js → generate-rxp80xs8.js} +3 -3
- package/dist/chunks/{agent-8cg7mtm3.js → generate-s47rahr7.js} +4 -4
- package/dist/chunks/{agent-5hapvr34.js → generate-s4f9m7wg.js} +15 -15
- package/dist/chunks/{agent-eh3q51rs.js → generate-s6gpsb5r.js} +41 -41
- package/dist/chunks/{agent-rbt5fkkh.js → generate-s8emkrrv.js} +14 -14
- package/dist/chunks/{agent-8ch46v0w.js → generate-s9a2wxxe.js} +10 -10
- package/dist/chunks/{agent-hsjdarb3.js → generate-s9ftq81x.js} +5 -5
- package/dist/chunks/{agent-sbya78hr.js → generate-sbya78hr.js} +1 -1
- package/dist/chunks/{agent-c1sfsxsr.js → generate-sbzezcpx.js} +8 -8
- package/dist/chunks/{agent-fpp9mkjh.js → generate-spcd0ff1.js} +16 -16
- package/dist/chunks/{agent-0j7gp832.js → generate-sqjzf8x2.js} +4 -4
- package/dist/chunks/{agent-svcy3p9a.js → generate-svcy3p9a.js} +1 -1
- package/dist/chunks/{agent-kzdam8c6.js → generate-sx27c7qs.js} +5 -5
- package/dist/chunks/{agent-1fk5xgk4.js → generate-t3gts45x.js} +15 -15
- package/dist/chunks/{agent-t62dywgn.js → generate-t62dywgn.js} +1 -1
- package/dist/chunks/{agent-r5r5vreg.js → generate-t6byzm1w.js} +14 -14
- package/dist/chunks/{agent-wsy9bbs6.js → generate-taf7db5j.js} +11 -11
- package/dist/chunks/{agent-tbpn7jtk.js → generate-tbpn7jtk.js} +1 -1
- package/dist/chunks/{agent-gzrqs4nz.js → generate-tcnkkh7t.js} +10 -10
- package/dist/chunks/{agent-tczq8hjw.js → generate-tczq8hjw.js} +1 -1
- package/dist/chunks/{agent-kcvhe8ec.js → generate-tfrbh9sx.js} +24 -24
- package/dist/chunks/{agent-tg1vr1qt.js → generate-tg1vr1qt.js} +1 -1
- package/dist/chunks/{agent-7ac9vf2v.js → generate-tnqsx24y.js} +2 -2
- package/dist/chunks/{agent-4syft219.js → generate-tq07vvt7.js} +8 -8
- package/dist/chunks/{agent-tr8x705m.js → generate-tr8x705m.js} +1 -1
- package/dist/chunks/{agent-tvtps2q9.js → generate-tvtps2q9.js} +1 -1
- package/dist/chunks/{agent-twssxy5n.js → generate-twssxy5n.js} +2 -2
- package/dist/chunks/{agent-kwa16xgp.js → generate-v12efk60.js} +7 -7
- package/dist/chunks/{agent-71wp5w4t.js → generate-v189ke2d.js} +25 -25
- package/dist/chunks/{agent-v2r1d0zg.js → generate-v2r1d0zg.js} +1 -1
- package/dist/chunks/{agent-awvdajxa.js → generate-v2rfxbms.js} +18 -18
- package/dist/chunks/{agent-wg8qvsq7.js → generate-v3y40ntz.js} +25 -25
- package/dist/chunks/{agent-nggmx95f.js → generate-v8nas3k5.js} +13 -13
- package/dist/chunks/{agent-7bwes6js.js → generate-v9q4g5xc.js} +20 -20
- package/dist/chunks/{agent-c4pg5r9q.js → generate-vfjrsyr6.js} +16 -16
- package/dist/chunks/{agent-vjf35v1f.js → generate-vjf35v1f.js} +1 -1
- package/dist/chunks/{agent-bmtjea25.js → generate-vwh0x5g1.js} +19 -19
- package/dist/chunks/{agent-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{agent-a232rz61.js → generate-w6ytkbc9.js} +3 -3
- package/dist/chunks/{agent-nk507k5f.js → generate-w79sce1k.js} +21 -21
- package/dist/chunks/{agent-wakvkjy4.js → generate-wakvkjy4.js} +1 -1
- package/dist/chunks/{agent-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{agent-wegkxhrn.js → generate-wegkxhrn.js} +2 -2
- package/dist/chunks/{agent-js67yn6j.js → generate-wgypp1vq.js} +12 -12
- package/dist/chunks/{agent-eb6navfw.js → generate-wkfza1ee.js} +11 -11
- package/dist/chunks/{agent-pgh8k322.js → generate-wm93fpay.js} +3 -3
- package/dist/chunks/{agent-sxzffpc4.js → generate-wmj8dqrh.js} +10 -10
- package/dist/chunks/{agent-j831fg6g.js → generate-wppv40dz.js} +26 -26
- package/dist/chunks/{agent-tgk8trf3.js → generate-wr0g1t66.js} +48 -48
- package/dist/chunks/{agent-fznmdakp.js → generate-wr3re1en.js} +4 -4
- package/dist/chunks/{agent-ampjv2jb.js → generate-wr7t3qpb.js} +6 -6
- package/dist/chunks/{agent-nmvv25t4.js → generate-wt5ts6kw.js} +42 -42
- package/dist/chunks/{agent-yf686wy0.js → generate-wtvzqkmt.js} +15 -15
- package/dist/chunks/{agent-qacy18a6.js → generate-wtz7a0bf.js} +13 -13
- package/dist/chunks/{agent-a3fn0gmm.js → generate-x150ncgg.js} +2 -2
- package/dist/chunks/{agent-qparg5af.js → generate-x2214vxc.js} +145 -145
- package/dist/chunks/{agent-wvtmn79c.js → generate-xf22phn8.js} +3 -3
- package/dist/chunks/{agent-fnnh9tr0.js → generate-xjqfp15p.js} +10 -10
- package/dist/chunks/{agent-cpvd08na.js → generate-xmx7xj34.js} +4 -4
- package/dist/chunks/{agent-wrpxk6mc.js → generate-xnwrdnb4.js} +12 -12
- package/dist/chunks/{agent-nn3saq6b.js → generate-xr4tsyjr.js} +36 -36
- package/dist/chunks/{agent-d42hvbhd.js → generate-xte2kjx9.js} +1 -1
- package/dist/chunks/{agent-4a35cdrq.js → generate-xtt9spw0.js} +5 -5
- package/dist/chunks/{agent-xjr6c8m4.js → generate-xxschbft.js} +4 -4
- package/dist/chunks/{agent-p9mh9akd.js → generate-xyc907ms.js} +31 -31
- package/dist/chunks/{agent-a5fx33f2.js → generate-xz07m27x.js} +6 -6
- package/dist/chunks/{agent-2kxs6t6m.js → generate-xz4e59v3.js} +13 -13
- package/dist/chunks/{agent-c0m38ftc.js → generate-xzj4ryq0.js} +2 -2
- package/dist/chunks/{agent-dbwvxspc.js → generate-y9jn183w.js} +5 -5
- package/dist/chunks/{agent-yb20nhc3.js → generate-yb20nhc3.js} +1 -1
- package/dist/chunks/{agent-vwhy63a2.js → generate-yb5mamag.js} +14 -14
- package/dist/chunks/{agent-g83mr36h.js → generate-yc2k07k5.js} +151 -151
- package/dist/chunks/{agent-ayfytmn9.js → generate-yepd7x5v.js} +5 -5
- package/dist/chunks/{agent-4krr2nde.js → generate-yk4ram99.js} +3 -3
- package/dist/chunks/{agent-yr705xyq.js → generate-yr705xyq.js} +1 -1
- package/dist/chunks/{agent-mpkd4dcq.js → generate-yrq7vxha.js} +26 -26
- package/dist/chunks/{agent-v4wwqybb.js → generate-ysgjvfep.js} +8 -8
- package/dist/chunks/{agent-yvtc2x31.js → generate-yvtc2x31.js} +1 -1
- package/dist/chunks/{agent-q1g1p593.js → generate-ywxzas7q.js} +59 -59
- package/dist/chunks/{agent-mkwqcq0t.js → generate-z02vhkme.js} +1 -1
- package/dist/chunks/{agent-zxv0z7ct.js → generate-zc0kk1kf.js} +18 -18
- package/dist/chunks/{agent-j9nxzz3g.js → generate-ze75qvmd.js} +3 -3
- package/dist/chunks/{agent-tsj33jr1.js → generate-ze7g40ca.js} +39 -39
- package/dist/chunks/{agent-0qh3s10f.js → generate-zmtdeb8k.js} +7 -7
- package/dist/chunks/{agent-zpdbqgja.js → generate-zpdbqgja.js} +1 -1
- package/dist/chunks/{agent-963hk181.js → generate-zyfhsknv.js} +9 -9
- 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 +92 -92
- 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 +130 -130
- 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 +129 -129
- package/dist/console-access.js +1 -1
- 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 +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/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 +441 -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 +81 -81
- 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 +160 -160
- 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 +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +251 -251
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +114 -114
- package/dist/flag.js +127 -127
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- 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 +3 -3
- 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 +432 -431
- package/dist/instruction-discovery.js +95 -95
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +1 -1
- 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 +80 -80
- package/dist/location-activity.js +179 -179
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +429 -428
- package/dist/location.js +94 -94
- 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 +122 -122
- 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 +103 -103
- 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 +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +146 -146
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +101 -101
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +246 -246
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +408 -407
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +127 -127
- package/dist/plugin/optimize.js +4 -4
- 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 +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 +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
- 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 +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 +138 -138
- 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 +135 -135
- package/dist/plugin/provider/opencode-watches.js +23 -0
- package/dist/plugin/provider/opencode.js +161 -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 +239 -237
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +416 -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 +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- 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 +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 +103 -103
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +101 -101
- 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 +257 -257
- 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 +201 -201
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +245 -245
- package/dist/session/execution.js +169 -169
- package/dist/session/generate.js +204 -204
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +150 -150
- 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 +167 -167
- package/dist/session/projector.js +144 -144
- 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 +256 -256
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +111 -111
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +166 -166
- 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 +141 -141
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +203 -203
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +241 -241
- package/dist/session/usage.js +1 -1
- package/dist/session.js +235 -235
- 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 +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +152 -152
- package/dist/skill.js +161 -161
- package/dist/snapshot.js +102 -102
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +182 -182
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +166 -166
- 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 +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +243 -243
- package/dist/tool/plugin/skill.js +160 -160
- 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 +152 -152
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +114 -114
- 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/types/plugin/provider/opencode-watches.d.ts +46 -0
- package/dist/usage-limits.js +96 -96
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +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 +106 -106
- 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 +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- 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 +107 -107
- package/package.json +8 -8
- package/dist/chunks/agent-b327c6e6.js +0 -26
- package/dist/chunks/agent-c7gk57p6.js +0 -16
- /package/dist/chunks/{agent-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{agent-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{agent-108x4f4w.js → generate-108x4f4w.js} +0 -0
- /package/dist/chunks/{agent-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{agent-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{agent-1kah00gy.js → generate-1kah00gy.js} +0 -0
- /package/dist/chunks/{agent-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{agent-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{agent-2bv980vf.js → generate-2bv980vf.js} +0 -0
- /package/dist/chunks/{agent-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{agent-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{agent-3af0jn4w.js → generate-3af0jn4w.js} +0 -0
- /package/dist/chunks/{agent-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{agent-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{agent-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{agent-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{agent-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{agent-4qk9sjk2.js → generate-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{agent-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{agent-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{agent-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{agent-5w3e23ze.js → generate-5w3e23ze.js} +0 -0
- /package/dist/chunks/{agent-6agm2x70.js → generate-6agm2x70.js} +0 -0
- /package/dist/chunks/{agent-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{agent-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{agent-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{agent-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{agent-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{agent-84wd9syh.js → generate-84wd9syh.js} +0 -0
- /package/dist/chunks/{agent-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{agent-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{agent-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{agent-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{agent-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{agent-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{agent-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{agent-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{agent-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{agent-beh6qq61.js → generate-beh6qq61.js} +0 -0
- /package/dist/chunks/{agent-bhmrqjy3.js → generate-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{agent-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{agent-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{agent-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{agent-cqv5kn06.js → generate-cqv5kn06.js} +0 -0
- /package/dist/chunks/{agent-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{agent-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{agent-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{agent-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{agent-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{agent-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{agent-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{agent-ean2d8b5.js → generate-ean2d8b5.js} +0 -0
- /package/dist/chunks/{agent-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{agent-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{agent-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{agent-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{agent-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{agent-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{agent-fkpq3x5p.js → generate-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{agent-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{agent-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{agent-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{agent-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{agent-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
- /package/dist/chunks/{agent-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{agent-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{agent-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{agent-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{agent-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{agent-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{agent-jwr30sdr.js → generate-jwr30sdr.js} +0 -0
- /package/dist/chunks/{agent-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{agent-m18g726c.js → generate-m18g726c.js} +0 -0
- /package/dist/chunks/{agent-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{agent-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{agent-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{agent-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{agent-nh4v3znn.js → generate-nh4v3znn.js} +0 -0
- /package/dist/chunks/{agent-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{agent-p71gwv9c.js → generate-p71gwv9c.js} +0 -0
- /package/dist/chunks/{agent-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{agent-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{agent-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{agent-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{agent-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{agent-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{agent-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{agent-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{agent-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{agent-syrav9an.js → generate-syrav9an.js} +0 -0
- /package/dist/chunks/{agent-t03h4f5z.js → generate-t03h4f5z.js} +0 -0
- /package/dist/chunks/{agent-ty7weeps.js → generate-ty7weeps.js} +0 -0
- /package/dist/chunks/{agent-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
- /package/dist/chunks/{agent-vtarvj67.js → generate-vtarvj67.js} +0 -0
- /package/dist/chunks/{agent-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{agent-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{agent-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{agent-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{agent-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{agent-x4th4bpe.js → generate-x4th4bpe.js} +0 -0
- /package/dist/chunks/{agent-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{agent-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{agent-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{agent-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{agent-z0h12gs8.js → generate-z0h12gs8.js} +0 -0
- /package/dist/chunks/{agent-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{agent-z9919s4g.js → generate-z9919s4g.js} +0 -0
- /package/dist/chunks/{agent-zxpyjp51.js → generate-zxpyjp51.js} +0 -0
- /package/dist/chunks/{agent-zz5vv3aq.js → generate-zz5vv3aq.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node94
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-bm95j60m.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service90,
|
|
9
|
+
node93
|
|
10
|
+
} from "./generate-8e23pndz.js";
|
|
11
11
|
import {
|
|
12
12
|
changes2,
|
|
13
13
|
create4
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-40y6dtc2.js";
|
|
15
15
|
import {
|
|
16
16
|
key3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-azqdag7d.js";
|
|
18
18
|
import {
|
|
19
19
|
validateAnswer2,
|
|
20
20
|
validateFields2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-6znb54e4.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/integration.ts
|
|
27
27
|
var exports_integration3 = {};
|
|
@@ -36,18 +36,18 @@ __export(exports_integration3, {
|
|
|
36
36
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
37
37
|
CommandMethod: () => CommandMethod2,
|
|
38
38
|
EnvMethod: () => EnvMethod2,
|
|
39
|
-
Event: () =>
|
|
39
|
+
Event: () => Event19,
|
|
40
40
|
ExternalMethod: () => ExternalMethod2,
|
|
41
|
-
ID: () =>
|
|
42
|
-
Info: () =>
|
|
41
|
+
ID: () => ID20,
|
|
42
|
+
Info: () => Info29,
|
|
43
43
|
Integration: () => exports_integration3,
|
|
44
44
|
KeyMethod: () => KeyMethod2,
|
|
45
45
|
Method: () => Method2,
|
|
46
46
|
MethodID: () => MethodID2,
|
|
47
47
|
OAuthMethod: () => OAuthMethod2,
|
|
48
48
|
Ref: () => Ref5,
|
|
49
|
-
Service: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
Service: () => Service88,
|
|
50
|
+
node: () => node91
|
|
51
51
|
});
|
|
52
52
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
53
53
|
import {
|
|
@@ -69,8 +69,8 @@ import {
|
|
|
69
69
|
import { Integration } from "@opencode/schema/integration";
|
|
70
70
|
import { AppProcess } from "@opencode/util/process";
|
|
71
71
|
import { ChildProcess } from "effect/process";
|
|
72
|
-
import { Event as
|
|
73
|
-
var
|
|
72
|
+
import { Event as Event19 } from "@opencode/schema/integration";
|
|
73
|
+
var ID20 = Integration.ID;
|
|
74
74
|
var MethodID2 = Integration.MethodID;
|
|
75
75
|
var AttemptID2 = Integration.AttemptID;
|
|
76
76
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -79,7 +79,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
79
79
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
80
80
|
var EnvMethod2 = Integration.EnvMethod;
|
|
81
81
|
var Method2 = Integration.Method;
|
|
82
|
-
var
|
|
82
|
+
var Info29 = Integration.Info;
|
|
83
83
|
var Attempt2 = Integration.Attempt;
|
|
84
84
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
85
85
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -102,19 +102,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
105
|
-
integrationID:
|
|
105
|
+
integrationID: ID20,
|
|
106
106
|
attemptID: AttemptID2
|
|
107
107
|
}) {
|
|
108
108
|
}
|
|
109
109
|
var Ref5 = Integration.Ref;
|
|
110
110
|
|
|
111
|
-
class
|
|
111
|
+
class Service88 extends Context.Service()("@opencode/Integration") {
|
|
112
112
|
}
|
|
113
113
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
114
114
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
115
115
|
var scrubInterval = Duration.seconds(30);
|
|
116
|
-
var layer = Layer.effect(
|
|
117
|
-
const credentials = yield*
|
|
116
|
+
var layer = Layer.effect(Service88, Effect.gen(function* () {
|
|
117
|
+
const credentials = yield* Service90;
|
|
118
118
|
const bus = yield* Service91;
|
|
119
119
|
const processes = yield* AppProcess.Service;
|
|
120
120
|
const scope = yield* Scope.Scope;
|
|
@@ -201,7 +201,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
201
201
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
202
202
|
return [...credentials, ...env];
|
|
203
203
|
};
|
|
204
|
-
const project = (entry, connections) =>
|
|
204
|
+
const project = (entry, connections) => Info29.make({
|
|
205
205
|
id: entry.ref.id,
|
|
206
206
|
name: entry.ref.name,
|
|
207
207
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -403,7 +403,7 @@ var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
|
403
403
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
404
404
|
return CommandAttempt2.make({ attemptID, time });
|
|
405
405
|
});
|
|
406
|
-
return
|
|
406
|
+
return Service88.of({
|
|
407
407
|
transform: state.transform,
|
|
408
408
|
reload: state.reload,
|
|
409
409
|
revision: state.revision,
|
|
@@ -571,10 +571,10 @@ var answerError = (form, answer, method) => {
|
|
|
571
571
|
if (method && Object.keys(answer).length > 0)
|
|
572
572
|
return `${method} method does not accept a form answer`;
|
|
573
573
|
};
|
|
574
|
-
var
|
|
575
|
-
service:
|
|
574
|
+
var node91 = makeLocationNode({
|
|
575
|
+
service: Service88,
|
|
576
576
|
layer,
|
|
577
|
-
deps: [
|
|
577
|
+
deps: [node93, node94, AppProcess.node]
|
|
578
578
|
});
|
|
579
579
|
|
|
580
|
-
export {
|
|
580
|
+
export { ID20, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref5, Service88, node91, exports_integration3, Event19 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service92,
|
|
6
6
|
node95
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-8h1ak9nw.js";
|
|
8
8
|
import {
|
|
9
9
|
Service91,
|
|
10
10
|
node94
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-bm95j60m.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service87,
|
|
14
|
+
node90
|
|
15
|
+
} from "./generate-xnwrdnb4.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID19,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info28,
|
|
20
20
|
UpdateInput5,
|
|
21
|
-
|
|
21
|
+
Event18,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-zyfhsknv.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./generate-034tev2y.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./generate-8sxe6kv8.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./generate-ayjs7tqn.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./generate-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: () => ID18,
|
|
44
|
+
Info: () => Info27,
|
|
45
|
+
NotFoundError: () => NotFoundError13,
|
|
46
46
|
Project: () => exports_project,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service86,
|
|
48
48
|
UpdateInput: () => UpdateInput4,
|
|
49
49
|
Vcs: () => Vcs2,
|
|
50
50
|
configured: () => configured12,
|
|
51
|
-
node: () =>
|
|
51
|
+
node: () => node89,
|
|
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 ID18 = ID19;
|
|
65
65
|
var Vcs2 = Vcs3;
|
|
66
66
|
var Current2 = Current3;
|
|
67
|
-
var
|
|
67
|
+
var Info27 = Info28;
|
|
68
68
|
var UpdateInput4 = UpdateInput5;
|
|
69
69
|
|
|
70
|
-
class
|
|
71
|
-
projectID:
|
|
70
|
+
class NotFoundError13 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
71
|
+
projectID: ID18
|
|
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 Service86 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,10 +111,10 @@ function fromRow(row) {
|
|
|
111
111
|
sandboxes: row.sandboxes
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
115
115
|
const now = yield* Now;
|
|
116
116
|
const fs = yield* FSUtil.Service;
|
|
117
|
-
const git = yield*
|
|
117
|
+
const git = yield* Service87;
|
|
118
118
|
const proc = yield* AppProcess.Service;
|
|
119
119
|
const bus = yield* Service91;
|
|
120
120
|
const db = (yield* Service92).db;
|
|
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service89, 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(Event18.Updated, fromRow(changed));
|
|
131
|
+
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event18.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(Service89, 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 ?? ID18.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(Service89, 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 NotFoundError13({ projectID: input.projectID });
|
|
191
191
|
const project = fromRow(row);
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event18.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(Event18.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(Service89, 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 ? ID18.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
212
212
|
return;
|
|
213
213
|
}));
|
|
214
214
|
});
|
|
@@ -219,7 +219,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
219
219
|
const normalized = url(origin);
|
|
220
220
|
if (!normalized)
|
|
221
221
|
return;
|
|
222
|
-
return
|
|
222
|
+
return ID18.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(Service89, 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 ? ID18.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(Service89, 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 ?? ID18.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(Service89, 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 ? ID18.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(Service89, Effect.gen(function* () {
|
|
|
293
293
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
294
294
|
return {
|
|
295
295
|
previous,
|
|
296
|
-
id: id ??
|
|
296
|
+
id: id ?? ID18.global,
|
|
297
297
|
directory: worktree,
|
|
298
298
|
vcs: { type: "hg", store: dotHg }
|
|
299
299
|
};
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service89, Effect.gen(function* () {
|
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
322
|
return yield* save({
|
|
323
|
-
id:
|
|
323
|
+
id: ID18.make(Hash.fast(`directory:${directory}`)),
|
|
324
324
|
directory,
|
|
325
325
|
canonical: directory,
|
|
326
326
|
vcs: undefined
|
|
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service89, 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, ID18.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(Service89, 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(Event18.Updated, fromRow(row));
|
|
346
346
|
}), { concurrency: 8, discard: true });
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service86.of({ list, update, activate, resolve, sweep });
|
|
349
349
|
}));
|
|
350
350
|
function configured12(options) {
|
|
351
351
|
return makeGlobalNode({
|
|
352
|
-
service:
|
|
352
|
+
service: Service86,
|
|
353
353
|
layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
|
|
354
|
-
deps: [node94, node95, FSUtil.node,
|
|
354
|
+
deps: [node94, node95, FSUtil.node, node90, AppProcess.node]
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
-
var
|
|
357
|
+
var node89 = configured12();
|
|
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* Service86;
|
|
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: [node89]
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
export {
|
|
367
|
+
export { ID18, Vcs2, Current2, Info27, UpdateInput4, NotFoundError13, root2, ACTIVATE_INTERVAL2, Service86, configured12, node89, sweepNode2, exports_project };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/environment/unavailable.ts
|
|
6
6
|
var exports_unavailable = {};
|
|
7
7
|
__export(exports_unavailable, {
|
|
8
8
|
EnvironmentUnavailable: () => exports_unavailable,
|
|
9
|
-
layer: () =>
|
|
9
|
+
layer: () => layer8,
|
|
10
10
|
spawner: () => spawner2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Layer, PlatformError } from "effect";
|
|
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
|
|
|
17
17
|
method: "spawn",
|
|
18
18
|
description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
|
|
19
19
|
})));
|
|
20
|
-
var
|
|
20
|
+
var layer8 = Layer.succeed(ChildProcessSpawner, spawner2);
|
|
21
21
|
|
|
22
|
-
export { spawner2,
|
|
22
|
+
export { spawner2, layer8, exports_unavailable };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
run2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-2p60zmnr.js";
|
|
4
4
|
import {
|
|
5
5
|
base2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-zmtdeb8k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/claude-agent/claude/status.ts
|
|
12
12
|
var exports_status = {};
|
|
13
13
|
__export(exports_status, {
|
|
14
14
|
ClaudeStatus: () => exports_status,
|
|
15
|
-
make: () =>
|
|
15
|
+
make: () => make13
|
|
16
16
|
});
|
|
17
17
|
import { Effect, Semaphore, SubscriptionRef } from "effect";
|
|
18
|
-
var
|
|
18
|
+
var make13 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
|
|
19
19
|
const state = yield* SubscriptionRef.make({ type: "checking" });
|
|
20
20
|
const lock = yield* Semaphore.make(1);
|
|
21
21
|
const refresh = Effect.fn("ClaudeStatus.refresh")(function* () {
|
|
@@ -33,4 +33,4 @@ var make5 = Effect.fn("ClaudeStatus.make")(function* (io, connection) {
|
|
|
33
33
|
return { state, refresh, report };
|
|
34
34
|
});
|
|
35
35
|
|
|
36
|
-
export {
|
|
36
|
+
export { make13, exports_status };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node94
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-bm95j60m.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node88
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-f2113g9p.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service52,
|
|
11
|
+
node55
|
|
12
|
+
} from "./generate-q6vmddmq.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-tczq8hjw.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service51,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node54
|
|
20
|
+
} from "./generate-43qtmsvb.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service78,
|
|
23
|
+
node80
|
|
24
|
+
} from "./generate-sbzezcpx.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service50,
|
|
27
|
+
node53
|
|
28
|
+
} from "./generate-4ffhv9d7.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./generate-qtf35215.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service79,
|
|
35
|
+
node81
|
|
36
|
+
} from "./generate-s6gpsb5r.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./generate-nymz80y4.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./generate-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError9,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service49,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node52
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError9 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service49 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service49, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service91;
|
|
92
92
|
const location = yield* Service85;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service51;
|
|
95
|
+
const environment = yield* Service52;
|
|
96
|
+
const hooks = yield* Service78;
|
|
97
|
+
const environments = yield* Service50;
|
|
98
|
+
const config = yield* Service79;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError9({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError9({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
if (command.info.status === "running")
|
|
135
135
|
yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
|
|
@@ -336,22 +336,22 @@ var layer = () => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
336
336
|
const command = yield* Deferred.await(ready);
|
|
337
337
|
return command.info;
|
|
338
338
|
});
|
|
339
|
-
return
|
|
339
|
+
return Service49.of({ create, list, get, wait, result, timeout, output, remove });
|
|
340
340
|
}));
|
|
341
|
-
var
|
|
342
|
-
service:
|
|
341
|
+
var node52 = makeLocationNode({
|
|
342
|
+
service: Service49,
|
|
343
343
|
layer: layer(),
|
|
344
344
|
deps: [
|
|
345
345
|
node94,
|
|
346
346
|
node88,
|
|
347
347
|
Global.node,
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
node79,
|
|
351
|
-
node44,
|
|
348
|
+
node54,
|
|
349
|
+
node55,
|
|
352
350
|
node80,
|
|
351
|
+
node53,
|
|
352
|
+
node81,
|
|
353
353
|
cleanupNode
|
|
354
354
|
]
|
|
355
355
|
});
|
|
356
356
|
|
|
357
|
-
export {
|
|
357
|
+
export { NotFoundError9, RETENTION2, DIRECTORY2, Service49, cleanup2, node52, exports_shell4 };
|