@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,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-6d7q1jwb.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin36
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai/effect";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin36 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin36, exports_plan };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-8h1ak9nw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./generate-agy7b3sy.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-4pyp9zr9.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-00ve6mdn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service78
|
|
15
|
+
} from "./generate-sbzezcpx.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-edm37t96.js";
|
|
20
20
|
import {
|
|
21
21
|
Ref2,
|
|
22
22
|
refHash2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-fg9p65nk.js";
|
|
24
24
|
import {
|
|
25
25
|
read4
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-kf9444fk.js";
|
|
27
27
|
import {
|
|
28
28
|
prepare3,
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service48
|
|
30
|
+
} from "./generate-j9d998rq.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./generate-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/prompt.ts
|
|
36
36
|
var exports_prompt = {};
|
|
@@ -48,7 +48,7 @@ var RESIZABLE_IMAGE_MIMES = new Set(["image/png", "image/jpeg", "image/gif", "im
|
|
|
48
48
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
yield* awaitActivation2;
|
|
51
|
-
const hooks = yield*
|
|
51
|
+
const hooks = yield* Service78;
|
|
52
52
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
53
53
|
sessionID: request.session.id,
|
|
54
54
|
messageID: request.messageID,
|
|
@@ -67,7 +67,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
67
67
|
const selected = yield* Effect.gen(function* () {
|
|
68
68
|
if (!requested?.length)
|
|
69
69
|
return;
|
|
70
|
-
const skillService = yield*
|
|
70
|
+
const skillService = yield* Service48;
|
|
71
71
|
const prepared = new Map;
|
|
72
72
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
73
73
|
const name = prepared.get(attachment.id);
|
|
@@ -142,7 +142,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
142
142
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
143
143
|
if (!RESIZABLE_IMAGE_MIMES.has(mime))
|
|
144
144
|
return { data: Base64.make(data), mime };
|
|
145
|
-
const image = yield*
|
|
145
|
+
const image = yield* Service73;
|
|
146
146
|
const label = attachmentLabel(input);
|
|
147
147
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
148
148
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service79
|
|
4
|
+
} from "./generate-s6gpsb5r.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-tvtps2q9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/config/plugin/websearch.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigWebSearchPlugin: () =>
|
|
16
|
-
Plugin: () =>
|
|
13
|
+
var exports_websearch = {};
|
|
14
|
+
__export(exports_websearch, {
|
|
15
|
+
ConfigWebSearchPlugin: () => exports_websearch,
|
|
16
|
+
Plugin: () => Plugin14
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin14 = define({
|
|
21
21
|
id: "opencode.config.websearch",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const config = yield*
|
|
23
|
+
const config = yield* Service79;
|
|
24
24
|
const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
|
|
25
25
|
yield* ctx.websearch.transform((websearch) => {
|
|
26
26
|
const selection = latest2(loaded.entries, "websearch");
|
|
@@ -32,4 +32,4 @@ var Plugin41 = define({
|
|
|
32
32
|
})
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
export {
|
|
35
|
+
export { Plugin14, exports_websearch };
|
|
@@ -1,36 +1,36 @@
|
|
|
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
|
+
Service77,
|
|
11
|
+
node79
|
|
12
|
+
} from "./generate-bej1w6yf.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFoundError12
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-edm37t96.js";
|
|
16
16
|
import {
|
|
17
17
|
match3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-1aqsckx4.js";
|
|
19
19
|
import {
|
|
20
20
|
Service76,
|
|
21
21
|
node78
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./generate-s9ftq81x.js";
|
|
23
23
|
import {
|
|
24
24
|
Service75,
|
|
25
25
|
node77
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-da1kteg9.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service78,
|
|
29
|
+
node80
|
|
30
|
+
} from "./generate-sbzezcpx.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./generate-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/permission.ts
|
|
36
36
|
var exports_permission = {};
|
|
@@ -119,10 +119,10 @@ class Service74 extends Context.Service()("@opencode/Permission") {
|
|
|
119
119
|
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
120
120
|
const bus = yield* Service91;
|
|
121
121
|
const location = yield* Service85;
|
|
122
|
-
const agents = yield*
|
|
122
|
+
const agents = yield* Service77;
|
|
123
123
|
const sessions = yield* Service76;
|
|
124
124
|
const saved = yield* Service75;
|
|
125
|
-
const hooks = yield*
|
|
125
|
+
const hooks = yield* Service78;
|
|
126
126
|
const pending = new Map;
|
|
127
127
|
let closed = false;
|
|
128
128
|
const close = Effect.gen(function* () {
|
|
@@ -318,7 +318,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
318
318
|
var node76 = makeLocationNode({
|
|
319
319
|
service: Service74,
|
|
320
320
|
layer,
|
|
321
|
-
deps: [node94, node88,
|
|
321
|
+
deps: [node94, node88, node79, node78, node77, node80]
|
|
322
322
|
});
|
|
323
323
|
|
|
324
324
|
export { PermissionEffect, ID12, Source5, Request3, Reply2, invocation2, Unattended2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError10, evaluate3, merge2, Service74, node76, exports_permission, Rule2, Ruleset2, Event13 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin34
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin34 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin15 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin34, exports_mcp_codemode_defaults };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/shared-cache.ts
|
|
6
6
|
var exports_shared_cache = {};
|
|
7
7
|
__export(exports_shared_cache, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service54,
|
|
9
9
|
SharedCache: () => exports_shared_cache,
|
|
10
10
|
fingerprint: () => fingerprint2,
|
|
11
11
|
interval: () => interval2,
|
|
12
|
-
node: () =>
|
|
12
|
+
node: () => node57,
|
|
13
13
|
transient: () => transient2
|
|
14
14
|
});
|
|
15
15
|
import { Cause, Clock, Context, Duration, Effect, Exit, Fiber, FiberSet, Layer, Schedule } from "effect";
|
|
@@ -18,12 +18,12 @@ import { Hash } from "@opencode/util/hash";
|
|
|
18
18
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
var interval2 = Duration.minutes(10);
|
|
20
20
|
|
|
21
|
-
class
|
|
21
|
+
class Service54 extends Context.Service()("@opencode/SharedCache") {
|
|
22
22
|
}
|
|
23
23
|
var fingerprint2 = (secret) => Hash.sha256(secret).slice(0, 16);
|
|
24
24
|
var transient2 = (error) => Cause.isTimeoutError(error) || HttpClientError.isHttpClientError(error) && (error.reason._tag === "TransportError" || error.reason._tag === "StatusCodeError" && [408, 429, 500, 502, 503, 504].includes(error.reason.response.status));
|
|
25
25
|
var unread = Duration.toMillis(Duration.hours(24));
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
27
27
|
const run = yield* FiberSet.makeRuntime();
|
|
28
28
|
const entries = new Map;
|
|
29
29
|
const start = Effect.fnUntraced(function* (key, entry, load) {
|
|
@@ -59,8 +59,8 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
59
59
|
}))));
|
|
60
60
|
return yield* Fiber.join(entry.loading);
|
|
61
61
|
});
|
|
62
|
-
return
|
|
62
|
+
return Service54.of({ get });
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node57 = makeGlobalNode({ service: Service54, layer, deps: [] });
|
|
65
65
|
|
|
66
|
-
export { interval2,
|
|
66
|
+
export { interval2, Service54, fingerprint2, transient2, node57, exports_shared_cache };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt2 = {};
|
|
7
7
|
__export(exports_system_prompt2, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt2,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make26,
|
|
10
10
|
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
// src/session/runner/prompt/system.txt
|
|
@@ -28,7 +28,7 @@ var system_default = `You are an AI agent running in OpenCode, a coding agent ha
|
|
|
28
28
|
`;
|
|
29
29
|
|
|
30
30
|
// src/session/system-prompt.ts
|
|
31
|
-
function
|
|
31
|
+
function make26(tools) {
|
|
32
32
|
return render3(system_default, tools);
|
|
33
33
|
}
|
|
34
34
|
function render3(prompt, tools) {
|
|
@@ -46,4 +46,4 @@ function render3(prompt, tools) {
|
|
|
46
46
|
`));
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make26, render3, exports_system_prompt2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service91,
|
|
3
3
|
node94
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-bm95j60m.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event20,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID21,
|
|
20
|
+
Info: () => Info31,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError14,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service89,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When3,
|
|
28
28
|
layer: () => layer28,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node92,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event20 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID21 = Form.ID;
|
|
39
|
+
var Info31 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When3 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError14 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID21
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError13 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID21
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID21
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID21,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service89 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer28 = Layer.effect(
|
|
84
|
+
var layer28 = Layer.effect(Service89, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service91;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError14({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID21.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer28 = Layer.effect(Service87, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service89.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node92 = makeLocationNode({ service: Service89, layer: layer28, deps: [node94] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID21, Info31, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError14, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service89, layer28, node92, validateAnswer2, validateFields2, exports_form, Event20 };
|
|
@@ -2,49 +2,49 @@ import {
|
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-4kw9er0q.js";
|
|
6
6
|
import {
|
|
7
7
|
join2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-t62dywgn.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service78,
|
|
11
|
+
node80
|
|
12
|
+
} from "./generate-sbzezcpx.js";
|
|
13
13
|
import {
|
|
14
14
|
DeclinedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-6d7q1jwb.js";
|
|
16
16
|
import {
|
|
17
17
|
CancelledError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-hnv9ta67.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Error5
|
|
21
|
+
} from "./generate-v189ke2d.js";
|
|
22
22
|
import {
|
|
23
23
|
get5
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-3nnrz6f6.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service34,
|
|
27
|
+
node37
|
|
28
|
+
} from "./generate-hqvhb0wh.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make26
|
|
31
|
+
} from "./generate-6y2b864j.js";
|
|
32
32
|
import {
|
|
33
33
|
toLLMMessages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./generate-tnqsx24y.js";
|
|
35
35
|
import {
|
|
36
36
|
__export
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./generate-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: () => Service33,
|
|
43
43
|
SessionModelRequest: () => exports_model_request,
|
|
44
44
|
baseTranscript: () => baseTranscript2,
|
|
45
45
|
boundImages: () => boundImages2,
|
|
46
46
|
layer: () => layer12,
|
|
47
|
-
node: () =>
|
|
47
|
+
node: () => node36,
|
|
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 : make26(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 Service33 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
191
191
|
}
|
|
192
|
-
var layer12 = Layer.effect(
|
|
193
|
-
const hooks = yield*
|
|
194
|
-
const transport = yield*
|
|
192
|
+
var layer12 = Layer.effect(Service33, Effect.gen(function* () {
|
|
193
|
+
const hooks = yield* Service78;
|
|
194
|
+
const transport = yield* Service34;
|
|
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 layer12 = Layer.effect(Service32, 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 Error5({ 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({
|
|
@@ -286,17 +286,17 @@ var layer12 = Layer.effect(Service32, 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 Service33.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 node36 = makeLocationNode({
|
|
297
|
+
service: Service33,
|
|
298
298
|
layer: layer12,
|
|
299
|
-
deps: [
|
|
299
|
+
deps: [node80, node37, node84]
|
|
300
300
|
});
|
|
301
301
|
|
|
302
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
302
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service33, layer12, node36, exports_model_request };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-x4th4bpe.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
8
|
import { isRecord } from "@opencode/util/record";
|
|
9
|
-
function
|
|
9
|
+
function make4(input) {
|
|
10
10
|
const disabled = false;
|
|
11
11
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
12
12
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -259,4 +259,4 @@ function hasRecordKey(input, field, key) {
|
|
|
259
259
|
return isRecord(input[field]) && key in input[field];
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { make4 };
|