@opencode/core 0.0.0-dev-1280 → 0.0.0-dev-1285
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 +90 -90
- package/dist/aisdk-native.js +1 -1
- package/dist/aisdk.js +109 -109
- package/dist/app.js +11 -11
- package/dist/artifact.js +252 -252
- package/dist/bus.js +84 -84
- package/dist/chunks/{wellknown-prxmvqz6.js → app-00jjfnj7.js} +17 -17
- package/dist/chunks/{wellknown-jkakbz53.js → app-025t4cve.js} +15 -15
- package/dist/chunks/{wellknown-034tev2y.js → app-034tev2y.js} +2 -2
- package/dist/chunks/{wellknown-mqf256nb.js → app-06ct867e.js} +11 -11
- package/dist/chunks/{wellknown-5ar51n0r.js → app-07qm1k11.js} +7 -7
- package/dist/chunks/{wellknown-j3f8hyeg.js → app-0ahs07zn.js} +4 -4
- package/dist/chunks/{wellknown-0fvxehme.js → app-0fvxehme.js} +2 -2
- package/dist/chunks/{wellknown-tmd1r8tg.js → app-0m9q59s6.js} +4 -4
- package/dist/chunks/{wellknown-0ma9gw4f.js → app-0ma9gw4f.js} +2 -2
- package/dist/chunks/{wellknown-dm4ee7c9.js → app-0wcg8mck.js} +59 -59
- package/dist/chunks/{wellknown-amjjh717.js → app-0x1mgtk1.js} +5 -5
- package/dist/chunks/{wellknown-jkenhkn3.js → app-18swenvv.js} +11 -11
- package/dist/chunks/{wellknown-1aqsckx4.js → app-1aqsckx4.js} +1 -1
- package/dist/chunks/{wellknown-1aryjtsy.js → app-1aryjtsy.js} +1 -1
- package/dist/chunks/{wellknown-vwrwz5ex.js → app-1b4qm173.js} +187 -187
- package/dist/chunks/{wellknown-1ep2p91f.js → app-1ep2p91f.js} +2 -2
- package/dist/chunks/{wellknown-qctje6mm.js → app-1f8gda2j.js} +11 -11
- package/dist/chunks/{wellknown-c610j0ka.js → app-1ktsg9tq.js} +6 -6
- package/dist/chunks/{wellknown-s5zrq09q.js → app-1mk73hd7.js} +8 -8
- package/dist/chunks/{wellknown-1ww6mj8f.js → app-1rnry1v4.js} +6 -6
- package/dist/chunks/{wellknown-7mhsjf65.js → app-1wd80431.js} +2 -2
- package/dist/chunks/{wellknown-1x2knyw4.js → app-1x2knyw4.js} +1 -1
- package/dist/chunks/{wellknown-w687dnns.js → app-1yped5qa.js} +4 -4
- package/dist/chunks/{wellknown-e3766z8e.js → app-247pbyk5.js} +7 -7
- package/dist/chunks/{wellknown-2fc7eemy.js → app-2fc7eemy.js} +1 -1
- package/dist/chunks/{wellknown-9thz99j1.js → app-2fjqxx81.js} +11 -11
- package/dist/chunks/{wellknown-27ktqzwr.js → app-2grtr496.js} +11 -11
- package/dist/chunks/{wellknown-t0yxsa4w.js → app-2m0fy4fc.js} +11 -11
- package/dist/chunks/{wellknown-2mbjfaxd.js → app-2mbjfaxd.js} +1 -1
- package/dist/chunks/{wellknown-6a3qyq7w.js → app-2merx6cy.js} +9 -9
- package/dist/chunks/{wellknown-v37bc009.js → app-2n444ktb.js} +2 -2
- package/dist/chunks/{wellknown-84394vcr.js → app-2prt43t7.js} +4 -4
- package/dist/chunks/{wellknown-nrz3a2k3.js → app-2x0f01dd.js} +12 -12
- package/dist/chunks/{wellknown-pwr3tcaa.js → app-2z68448b.js} +12 -12
- package/dist/chunks/{wellknown-qt3ze8rr.js → app-30gxh304.js} +5 -5
- package/dist/chunks/{wellknown-yza0n96j.js → app-333e4s7d.js} +13 -13
- package/dist/chunks/{wellknown-81jb41jf.js → app-33qr263c.js} +49 -49
- package/dist/chunks/{wellknown-j2htf90w.js → app-35kgbjca.js} +7 -7
- package/dist/chunks/{wellknown-04whjz6n.js → app-3adw4bt5.js} +9 -9
- package/dist/chunks/{wellknown-g6ce35sq.js → app-3d69khjk.js} +12 -12
- package/dist/chunks/{wellknown-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{wellknown-gn3h6dxw.js → app-3hvwj3m6.js} +9 -9
- package/dist/chunks/{wellknown-n67wry4g.js → app-3ka5cgy9.js} +7 -7
- package/dist/chunks/{wellknown-3nnrz6f6.js → app-3nnrz6f6.js} +1 -1
- package/dist/chunks/{wellknown-xgntqjvj.js → app-3r5q5spf.js} +81 -81
- package/dist/chunks/{wellknown-9ch8vfxj.js → app-3y9syvn4.js} +47 -47
- package/dist/chunks/{wellknown-xmp7pdtz.js → app-408971ex.js} +24 -24
- package/dist/chunks/{wellknown-40y6dtc2.js → app-40y6dtc2.js} +1 -1
- package/dist/chunks/{wellknown-pqjsfgk2.js → app-46zdpyn0.js} +18 -18
- package/dist/chunks/{wellknown-g6yp65q8.js → app-485gexf9.js} +16 -16
- package/dist/chunks/{wellknown-m4p4r8nc.js → app-4dfqsw0d.js} +4 -4
- package/dist/chunks/{wellknown-4dx1dgte.js → app-4dx1dgte.js} +1 -1
- package/dist/chunks/{wellknown-4f25tdd0.js → app-4f25tdd0.js} +1 -1
- package/dist/chunks/{wellknown-j5221a8k.js → app-4gjhybck.js} +18 -18
- package/dist/chunks/{wellknown-qbj8t3dc.js → app-4gqyvqdh.js} +3 -3
- package/dist/chunks/{wellknown-zg3dd62n.js → app-4kwwfkxq.js} +2 -2
- package/dist/chunks/{wellknown-4pyp9zr9.js → app-4pyp9zr9.js} +1 -1
- package/dist/chunks/{wellknown-25ey1qe0.js → app-4qm7r5h9.js} +31 -31
- package/dist/chunks/{wellknown-4v008n1t.js → app-4v008n1t.js} +1 -1
- package/dist/chunks/{wellknown-stbett4v.js → app-4vzr2b15.js} +3 -3
- package/dist/chunks/{wellknown-v7sr38g7.js → app-4x2mxp21.js} +7 -7
- package/dist/chunks/{wellknown-ptwmb640.js → app-4xer3324.js} +13 -13
- package/dist/chunks/{wellknown-dsm6hmjx.js → app-4xvhmk97.js} +6 -6
- package/dist/chunks/{wellknown-aq2e9c4r.js → app-4zc7x669.js} +3 -3
- package/dist/chunks/{wellknown-cyx4wr0f.js → app-52jz7pwf.js} +7 -7
- package/dist/chunks/{wellknown-5enarcya.js → app-5enarcya.js} +2 -2
- package/dist/chunks/{wellknown-zf0c34x3.js → app-5g9hwt4x.js} +7 -7
- package/dist/chunks/{wellknown-5m9w47nd.js → app-5m9w47nd.js} +1 -1
- package/dist/chunks/{wellknown-z94e4jy3.js → app-62cg9b9e.js} +10 -10
- package/dist/chunks/{wellknown-kw0eymth.js → app-6bg6cvm0.js} +12 -12
- package/dist/chunks/{wellknown-q5jvrzph.js → app-6bxz1xd9.js} +13 -13
- package/dist/chunks/{wellknown-28zec0f4.js → app-6drg800n.js} +12 -12
- package/dist/chunks/{wellknown-mjwhre59.js → app-6r4kt603.js} +7 -7
- package/dist/chunks/{wellknown-w4t81q56.js → app-6sqtdkcy.js} +1 -1
- package/dist/chunks/{wellknown-qbknckpd.js → app-6vnk4sds.js} +4 -4
- package/dist/chunks/{wellknown-v84ns8g0.js → app-70fr565a.js} +16 -16
- package/dist/chunks/{wellknown-cq4jgwga.js → app-76gmk4js.js} +3 -3
- package/dist/chunks/{wellknown-tdzg3se5.js → app-76v0dsz2.js} +18 -18
- package/dist/chunks/{wellknown-mja1swvv.js → app-77m7hwaa.js} +44 -44
- package/dist/chunks/{wellknown-xyz1t0qk.js → app-79wp8f13.js} +5 -5
- package/dist/chunks/{wellknown-y57h9apw.js → app-7b52v053.js} +4 -4
- package/dist/chunks/{wellknown-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{wellknown-5kcdngh6.js → app-7ex1q6kt.js} +4 -4
- package/dist/chunks/{wellknown-fsa0gwwp.js → app-7fnx82sm.js} +3 -3
- package/dist/chunks/{wellknown-g2rjajxv.js → app-7gxmh10m.js} +29 -29
- package/dist/chunks/{wellknown-hj0xet7m.js → app-7nb8tm12.js} +5 -5
- package/dist/chunks/{wellknown-1cyffnvs.js → app-7szx5t17.js} +27 -27
- package/dist/chunks/{wellknown-7w2ypzdf.js → app-7w2ypzdf.js} +1 -1
- package/dist/chunks/{wellknown-7weczvnd.js → app-7weczvnd.js} +1 -1
- package/dist/chunks/{wellknown-80mg3ag8.js → app-80mg3ag8.js} +3 -3
- package/dist/chunks/{wellknown-80pdk984.js → app-80pdk984.js} +1 -1
- package/dist/chunks/{wellknown-ae0qpv5r.js → app-819k1hkv.js} +16 -16
- package/dist/chunks/{wellknown-0qahn5h0.js → app-82djqm81.js} +83 -83
- package/dist/chunks/{wellknown-85jq8dht.js → app-85jq8dht.js} +1 -1
- package/dist/chunks/{wellknown-929zkk1r.js → app-86rns305.js} +5 -5
- package/dist/chunks/{wellknown-2aer8hgd.js → app-89x54ejz.js} +4 -4
- package/dist/chunks/{wellknown-6m8vj9yr.js → app-8aqfbqgm.js} +7 -7
- package/dist/chunks/{wellknown-8b3vzgkx.js → app-8b3vzgkx.js} +1 -1
- package/dist/chunks/{wellknown-rx1xeagf.js → app-8b97tab6.js} +9 -9
- package/dist/chunks/{wellknown-8kjyvwy5.js → app-8kjyvwy5.js} +1 -1
- package/dist/chunks/{wellknown-s14vrjdz.js → app-8m4s1g37.js} +6 -6
- package/dist/chunks/{wellknown-p0cgagxb.js → app-8p6tesg0.js} +19 -19
- package/dist/chunks/{wellknown-13tsap6q.js → app-8pwnwwhb.js} +33 -33
- package/dist/chunks/{wellknown-d8fs5gt4.js → app-8qqc2s59.js} +18 -18
- package/dist/chunks/{wellknown-8sxe6kv8.js → app-8sxe6kv8.js} +2 -2
- package/dist/chunks/{wellknown-8wtp7s3z.js → app-8wtp7s3z.js} +1 -1
- package/dist/chunks/app-8x060fmy.js +18 -0
- package/dist/chunks/{wellknown-yybgvvmq.js → app-8xz27cp9.js} +4 -4
- package/dist/chunks/{wellknown-tss705n6.js → app-8zcs8b0z.js} +21 -21
- package/dist/chunks/{wellknown-8zv0xmg5.js → app-8zv0xmg5.js} +1 -1
- package/dist/chunks/{wellknown-yarzfda3.js → app-93jm7hjf.js} +13 -13
- package/dist/chunks/{wellknown-vk1gq6xh.js → app-957a6038.js} +8 -8
- package/dist/chunks/{wellknown-27qg90p7.js → app-95qw0e3q.js} +18 -18
- package/dist/chunks/{wellknown-728t7gc6.js → app-95t0tw0v.js} +5 -5
- package/dist/chunks/{wellknown-963hk181.js → app-963hk181.js} +2 -2
- package/dist/chunks/{wellknown-s2cspse1.js → app-9ah88nye.js} +12 -12
- package/dist/chunks/{wellknown-f6jr0yjz.js → app-9e8w80ds.js} +27 -27
- package/dist/chunks/{wellknown-15v75j2x.js → app-9g3pee38.js} +14 -14
- package/dist/chunks/{wellknown-v0t96s7a.js → app-9q8g9sv8.js} +4 -4
- package/dist/chunks/{wellknown-pr0ynw92.js → app-9t3xgyty.js} +4 -4
- package/dist/chunks/{wellknown-xr62gm6v.js → app-9w8bjk4c.js} +37 -37
- package/dist/chunks/{wellknown-61qraad9.js → app-9zwexsxs.js} +5 -5
- package/dist/chunks/{wellknown-tyekj3r9.js → app-a19kd72j.js} +30 -30
- package/dist/chunks/{wellknown-6sg7v011.js → app-a3fn0gmm.js} +2 -2
- package/dist/chunks/{wellknown-d8vxf25s.js → app-a3gh46mf.js} +33 -33
- package/dist/chunks/{wellknown-c4t9ypm8.js → app-ag6cgtqa.js} +43 -43
- package/dist/chunks/app-an5g0sat.js +35 -0
- package/dist/chunks/{wellknown-tpvfz3qe.js → app-apmdcqpc.js} +29 -29
- package/dist/chunks/{wellknown-mw2mp8dw.js → app-atcjc96e.js} +19 -19
- package/dist/chunks/{wellknown-ayjs7tqn.js → app-ayjs7tqn.js} +2 -2
- package/dist/chunks/{wellknown-0cr0jx4r.js → app-b0py6acz.js} +8 -8
- package/dist/chunks/{wellknown-26wfx3k0.js → app-ba5f9dy2.js} +4 -4
- package/dist/chunks/{wellknown-mtmh24f8.js → app-bp29v7tn.js} +32 -32
- package/dist/chunks/{wellknown-46q226g6.js → app-bqd4bt1a.js} +16 -16
- package/dist/chunks/{wellknown-vhd8852r.js → app-bsexe5yk.js} +14 -14
- package/dist/chunks/{wellknown-xd9cc171.js → app-bstexjd6.js} +5 -5
- package/dist/chunks/{wellknown-66d8dez0.js → app-cc12rbr6.js} +47 -47
- package/dist/chunks/{wellknown-kzdam8c6.js → app-ckk44cdz.js} +5 -5
- package/dist/chunks/{wellknown-wnsavktq.js → app-cq0zqw2z.js} +8 -8
- package/dist/chunks/{wellknown-ye3r8z34.js → app-cs6va74p.js} +10 -10
- package/dist/chunks/{wellknown-evvjvga6.js → app-cvdkrx6f.js} +44 -44
- package/dist/chunks/{wellknown-cwrgdav8.js → app-cwrgdav8.js} +2 -2
- package/dist/chunks/{wellknown-d4v9tmah.js → app-d4v9tmah.js} +2 -2
- package/dist/chunks/{wellknown-aedwt843.js → app-ddvn7d3w.js} +8 -8
- package/dist/chunks/{wellknown-f4xxa474.js → app-dfj93yhv.js} +9 -9
- package/dist/chunks/{wellknown-tqvvgzsw.js → app-dhcjg10b.js} +5 -5
- package/dist/chunks/{wellknown-184x2ne5.js → app-dnfz43gh.js} +11 -11
- package/dist/chunks/{wellknown-583ggra2.js → app-dqdn51sf.js} +15 -15
- package/dist/chunks/{wellknown-dt77769w.js → app-dt77769w.js} +1 -1
- package/dist/chunks/{wellknown-ck63xrcz.js → app-e4ba5gvv.js} +14 -14
- package/dist/chunks/{wellknown-37k1m3sd.js → app-e7xwa4fm.js} +25 -25
- package/dist/chunks/{wellknown-gwyytpcj.js → app-ea90c952.js} +6 -6
- package/dist/chunks/{wellknown-ve6h378e.js → app-eah2397q.js} +10 -10
- package/dist/chunks/{wellknown-xma42a2y.js → app-ecb8qe35.js} +8 -8
- package/dist/chunks/{wellknown-gqegjds9.js → app-em1rnmew.js} +15 -15
- package/dist/chunks/{wellknown-7g49ttx0.js → app-eqg1vac5.js} +16 -16
- package/dist/chunks/{wellknown-eqw4pqj1.js → app-eqw4pqj1.js} +2 -2
- package/dist/chunks/{wellknown-c8cpqe4g.js → app-exhr55tk.js} +21 -21
- package/dist/chunks/{wellknown-pxbvf64t.js → app-eyfjfzn3.js} +5 -5
- package/dist/chunks/{wellknown-wyrdxqa1.js → app-ez4hrxg9.js} +11 -11
- package/dist/chunks/{wellknown-f3p75wf2.js → app-f18n4nbc.js} +19 -19
- package/dist/chunks/{wellknown-63r1jezq.js → app-f3kq79qq.js} +23 -23
- package/dist/chunks/{wellknown-zpmbbmg4.js → app-f8ytdj8t.js} +7 -7
- package/dist/chunks/{wellknown-dsq1faga.js → app-fazqq38j.js} +12 -12
- package/dist/chunks/{wellknown-fg9p65nk.js → app-fg9p65nk.js} +2 -2
- package/dist/chunks/{wellknown-r2wb5enr.js → app-fmqgcsh3.js} +19 -19
- package/dist/chunks/{wellknown-8tx2ejmc.js → app-fvvn716q.js} +9 -9
- package/dist/chunks/{wellknown-vmxsyvj6.js → app-fxwxq1kw.js} +4 -4
- package/dist/chunks/{wellknown-14bfnkfq.js → app-g21kkkcr.js} +34 -34
- package/dist/chunks/{wellknown-b26ddj6h.js → app-g4txs7zc.js} +4 -4
- package/dist/chunks/{wellknown-qs72j73j.js → app-g5r5k2rv.js} +29 -29
- package/dist/chunks/{wellknown-f9vd95df.js → app-g7542zse.js} +24 -24
- package/dist/chunks/{wellknown-x51rz0sc.js → app-gaj3x73k.js} +25 -25
- package/dist/chunks/{wellknown-gbjdnr5j.js → app-gbjdnr5j.js} +2 -2
- package/dist/chunks/{wellknown-ghrv1g9c.js → app-ghrv1g9c.js} +1 -1
- package/dist/chunks/{wellknown-z7c6cvks.js → app-gkam3hgf.js} +5 -5
- package/dist/chunks/{wellknown-1basnjmv.js → app-gpktz0vk.js} +30 -30
- package/dist/chunks/{wellknown-jrwdf4r9.js → app-grgfybpe.js} +10 -10
- package/dist/chunks/{wellknown-zp4kahxc.js → app-gstg0ae4.js} +24 -24
- package/dist/chunks/{wellknown-gxs71cxp.js → app-gxs71cxp.js} +1 -1
- package/dist/chunks/{wellknown-f2nzj6et.js → app-gy24j455.js} +9 -9
- package/dist/chunks/{wellknown-bm7xpb2p.js → app-h31yzxdh.js} +14 -14
- package/dist/chunks/{wellknown-hgzwgvze.js → app-hgzwgvze.js} +2 -2
- package/dist/chunks/{wellknown-5q652czm.js → app-hpv452dw.js} +7 -7
- package/dist/chunks/{wellknown-c95q701f.js → app-hty9eptx.js} +5 -5
- package/dist/chunks/{wellknown-km209ejh.js → app-hwgjczxt.js} +19 -19
- package/dist/chunks/{wellknown-tr8x705m.js → app-j376ae4e.js} +5 -5
- package/dist/chunks/{wellknown-my4fpfwk.js → app-j8mrzfgg.js} +12 -12
- package/dist/chunks/{wellknown-jm70asfg.js → app-jm70asfg.js} +1 -1
- package/dist/chunks/{wellknown-drdmzpww.js → app-jn6kbxpn.js} +4 -4
- package/dist/chunks/{wellknown-yte9g17j.js → app-jt98tm65.js} +20 -20
- package/dist/chunks/{wellknown-8dea992e.js → app-jtqmv2hm.js} +10 -10
- package/dist/chunks/{wellknown-44pmzq9c.js → app-jxd6f16v.js} +2 -2
- package/dist/chunks/{wellknown-hccp4m5y.js → app-jzceekcr.js} +8 -8
- package/dist/chunks/{wellknown-eq34fv4d.js → app-kezxk3pb.js} +23 -23
- package/dist/chunks/{wellknown-m2y57w8k.js → app-kf1x8zgw.js} +15 -15
- package/dist/chunks/{wellknown-x4mcewfn.js → app-kmekj7m2.js} +2 -2
- package/dist/chunks/{wellknown-e14e5bqv.js → app-kqg8bwd1.js} +8 -8
- package/dist/chunks/{wellknown-38nr3rfb.js → app-kqnrsvns.js} +43 -43
- package/dist/chunks/{wellknown-kt3bjfbg.js → app-kt3bjfbg.js} +1 -1
- package/dist/chunks/{wellknown-f7hsj4em.js → app-kvv4s9az.js} +6 -6
- package/dist/chunks/{wellknown-q56zascw.js → app-kw4rkd9m.js} +25 -25
- package/dist/chunks/{wellknown-kzczzf4v.js → app-kzczzf4v.js} +1 -1
- package/dist/chunks/{wellknown-derxze1q.js → app-m10cf2g0.js} +29 -29
- package/dist/chunks/{wellknown-m1714858.js → app-m1714858.js} +1 -1
- package/dist/chunks/{wellknown-0w7t4ved.js → app-m5x27r8g.js} +45 -45
- package/dist/chunks/{wellknown-6besst92.js → app-m66ga2vx.js} +16 -16
- package/dist/chunks/{wellknown-qjgpr7gk.js → app-m7aj11vv.js} +360 -360
- package/dist/chunks/{wellknown-vrhb1srk.js → app-m86zqssn.js} +9 -9
- package/dist/chunks/{wellknown-m90tx7mw.js → app-m90tx7mw.js} +1 -1
- package/dist/chunks/{wellknown-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{wellknown-mb7mbhnz.js → app-mb7mbhnz.js} +3 -3
- package/dist/chunks/{wellknown-75a2gs08.js → app-me215f18.js} +1 -1
- package/dist/chunks/{wellknown-xd6fx7tp.js → app-mee10srx.js} +22 -22
- package/dist/chunks/{wellknown-7tftgcmj.js → app-mft8r9dx.js} +22 -22
- package/dist/chunks/{wellknown-7fpr7hz7.js → app-mq984we8.js} +9 -9
- package/dist/chunks/{wellknown-cha0bdvb.js → app-mwm4jr9n.js} +33 -33
- package/dist/chunks/{wellknown-m6vyjheh.js → app-mygbhmxt.js} +26 -26
- package/dist/chunks/{wellknown-cf4nqrhb.js → app-n50n4edv.js} +33 -33
- package/dist/chunks/{wellknown-z06gyfty.js → app-n5as8391.js} +34 -34
- package/dist/chunks/{wellknown-v6c3tqzh.js → app-n5mwsv0r.js} +8 -8
- package/dist/chunks/{wellknown-nx57nrss.js → app-n7e8gndn.js} +44 -44
- package/dist/chunks/{wellknown-m6nb5czf.js → app-n7hb44nb.js} +26 -26
- package/dist/chunks/{wellknown-qr0pq923.js → app-na5a42jc.js} +4 -4
- package/dist/chunks/{wellknown-7ahda34f.js → app-ne8a842w.js} +17 -17
- package/dist/chunks/{wellknown-axsp18qw.js → app-nj5r991b.js} +26 -26
- package/dist/chunks/{wellknown-mrnef867.js → app-nph4d54v.js} +39 -39
- package/dist/chunks/{wellknown-esnd5w8j.js → app-nrtmt0gj.js} +5 -5
- package/dist/chunks/{wellknown-v2b374hr.js → app-p0xxsvd6.js} +3 -3
- package/dist/chunks/{wellknown-4nr30yve.js → app-p2drgvth.js} +12 -12
- package/dist/chunks/{wellknown-7qec28h5.js → app-p2kdnzg4.js} +29 -29
- package/dist/chunks/{wellknown-s3xmv40e.js → app-p4gcr8nw.js} +5 -5
- package/dist/chunks/{wellknown-n0z1eb53.js → app-p5p267kc.js} +11 -11
- package/dist/chunks/{wellknown-1yq9hg58.js → app-p7vhpwh8.js} +5 -5
- package/dist/chunks/{wellknown-xstwqhrk.js → app-p9jmt18g.js} +7 -7
- package/dist/chunks/{wellknown-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{wellknown-31avdb49.js → app-pnwsrq7c.js} +8 -8
- package/dist/chunks/{wellknown-5zr5898h.js → app-pyb3ry4y.js} +19 -19
- package/dist/chunks/{wellknown-b1we0vk3.js → app-pz2pejex.js} +19 -19
- package/dist/chunks/{wellknown-smg32ne4.js → app-q2ttetpm.js} +18 -18
- package/dist/chunks/{wellknown-eab5a047.js → app-q3ny6jk5.js} +6 -6
- package/dist/chunks/{wellknown-qq8nxmq8.js → app-q5f7d3fm.js} +12 -12
- package/dist/chunks/{wellknown-tvwsaxa1.js → app-q92q9qkt.js} +11 -11
- package/dist/chunks/{wellknown-3nyx21qg.js → app-qdfsw3cb.js} +18 -18
- package/dist/chunks/{wellknown-qp7r0hxv.js → app-qp7r0hxv.js} +1 -1
- package/dist/chunks/{wellknown-dxbmx42z.js → app-qw5jrheg.js} +20 -20
- package/dist/chunks/{wellknown-evbwz3q2.js → app-qxn8bpmb.js} +20 -20
- package/dist/chunks/{wellknown-2ythy1tk.js → app-qzqtf0dx.js} +46 -46
- package/dist/chunks/{wellknown-qxqqmyjt.js → app-qzves1f7.js} +34 -34
- package/dist/chunks/{wellknown-m6mf4mcx.js → app-r4qydbep.js} +26 -26
- package/dist/chunks/{wellknown-h4wgh636.js → app-r9mbshw2.js} +11 -11
- package/dist/chunks/{wellknown-rb9dy4dg.js → app-rb9dy4dg.js} +1 -1
- package/dist/chunks/{wellknown-rgc9cx3e.js → app-rgc9cx3e.js} +2 -2
- package/dist/chunks/{wellknown-yam2w8sh.js → app-rrq7gnh6.js} +6 -6
- package/dist/chunks/{wellknown-9c9j4pyj.js → app-rxmw0rhb.js} +11 -11
- package/dist/chunks/{wellknown-cbs8fcwx.js → app-rxs3qrpt.js} +15 -15
- package/dist/chunks/{wellknown-r9k0m1fx.js → app-ry7kp2db.js} +7 -7
- package/dist/chunks/{wellknown-2p60zmnr.js → app-s1ba0vj0.js} +2 -2
- package/dist/chunks/{wellknown-s47rahr7.js → app-s47rahr7.js} +1 -1
- package/dist/chunks/{wellknown-fk6pt02a.js → app-s59y84bq.js} +45 -45
- package/dist/chunks/app-s6jc137z.js +26 -0
- package/dist/chunks/{wellknown-sbya78hr.js → app-sbya78hr.js} +1 -1
- package/dist/chunks/{wellknown-ecm48gf7.js → app-scjtfsne.js} +17 -17
- package/dist/chunks/{wellknown-thdadhbn.js → app-scyr04et.js} +6 -6
- package/dist/chunks/{wellknown-g5ajqn12.js → app-sf9y72b7.js} +4 -4
- package/dist/chunks/{wellknown-t48ka35x.js → app-sgqk6vs3.js} +5 -5
- package/dist/chunks/{wellknown-h91vm5r2.js → app-spnp93qq.js} +9 -9
- package/dist/chunks/{wellknown-p3g3b7x5.js → app-sq4s6wq1.js} +4 -4
- package/dist/chunks/{wellknown-svcy3p9a.js → app-svcy3p9a.js} +1 -1
- package/dist/chunks/{wellknown-641q2q1z.js → app-swpvcscf.js} +28 -28
- package/dist/chunks/{wellknown-87bmqdkz.js → app-sz4fqy37.js} +15 -15
- package/dist/chunks/{wellknown-p33cc0wg.js → app-t4w6w4js.js} +23 -23
- package/dist/chunks/{wellknown-evjfqt55.js → app-t7pjcqa8.js} +16 -16
- package/dist/chunks/{wellknown-nhwrj81q.js → app-t7sb5m1s.js} +11 -11
- package/dist/chunks/{wellknown-6gkjea5y.js → app-t8r5bb2p.js} +13 -13
- package/dist/chunks/{wellknown-dr03sag8.js → app-tb2gxcqz.js} +34 -34
- package/dist/chunks/{wellknown-tbpn7jtk.js → app-tbpn7jtk.js} +1 -1
- package/dist/chunks/{wellknown-tczq8hjw.js → app-tczq8hjw.js} +1 -1
- package/dist/chunks/{wellknown-8cqsbq15.js → app-tecgr1kp.js} +39 -39
- package/dist/chunks/{wellknown-a8x8zk8z.js → app-ts0d6mba.js} +6 -6
- package/dist/chunks/{wellknown-tvtps2q9.js → app-tvtps2q9.js} +1 -1
- package/dist/chunks/{wellknown-twssxy5n.js → app-twssxy5n.js} +2 -2
- package/dist/chunks/{wellknown-e8r1tr1j.js → app-ty1zr4xr.js} +6 -6
- package/dist/chunks/{wellknown-5wsftw7f.js → app-v1cwgf66.js} +18 -18
- package/dist/chunks/{wellknown-cy1060tq.js → app-v1s9t994.js} +2 -2
- package/dist/chunks/{wellknown-v2r1d0zg.js → app-v2r1d0zg.js} +1 -1
- package/dist/chunks/{wellknown-652m3am9.js → app-v3mcgmqw.js} +25 -25
- package/dist/chunks/{wellknown-c6x0pbrm.js → app-vfkt388e.js} +17 -17
- package/dist/chunks/{wellknown-vjf35v1f.js → app-vjf35v1f.js} +1 -1
- package/dist/chunks/{wellknown-hs9f9bk4.js → app-vmpfg9q2.js} +29 -29
- package/dist/chunks/{wellknown-nr915jn7.js → app-vmqe41cb.js} +4 -4
- package/dist/chunks/{wellknown-c5zvymhv.js → app-vt2d6wap.js} +4 -4
- package/dist/chunks/{wellknown-8m9p3vgp.js → app-vtcf54kg.js} +5 -5
- package/dist/chunks/{wellknown-q5t45acw.js → app-vvxemm4r.js} +86 -86
- package/dist/chunks/{wellknown-79k544d0.js → app-vwcz1f45.js} +4 -4
- package/dist/chunks/{wellknown-hqyxx6vr.js → app-vwrdx2vs.js} +8 -8
- package/dist/chunks/{wellknown-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{wellknown-wakvkjy4.js → app-wakvkjy4.js} +1 -1
- package/dist/chunks/{wellknown-qmv579w2.js → app-wc0dmynm.js} +31 -31
- package/dist/chunks/{wellknown-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{wellknown-wegkxhrn.js → app-wegkxhrn.js} +2 -2
- package/dist/chunks/{wellknown-1ysk8pqb.js → app-wfjv00zy.js} +18 -18
- package/dist/chunks/{wellknown-w1zsvdr8.js → app-whx5scm4.js} +25 -25
- package/dist/chunks/{wellknown-m3dnz9m4.js → app-wkd5q91e.js} +28 -28
- package/dist/chunks/{wellknown-pyzh8wbn.js → app-wr3twpzt.js} +8 -8
- package/dist/chunks/{wellknown-1n2mm7tv.js → app-wram022v.js} +10 -10
- package/dist/chunks/{wellknown-e4rmxmhs.js → app-wxf0m30v.js} +4 -4
- package/dist/chunks/{wellknown-jrkc3ds1.js → app-wyrr125q.js} +6 -6
- package/dist/chunks/app-x0z521r5.js +273 -0
- package/dist/chunks/{wellknown-ef01k0v5.js → app-x1t3ngbp.js} +6 -6
- package/dist/chunks/{wellknown-rkrs0bvn.js → app-x4yka9zb.js} +37 -37
- package/dist/chunks/{wellknown-d5mm1dvd.js → app-x531zjeb.js} +7 -7
- package/dist/chunks/{wellknown-67ehfp3r.js → app-x7dcyyf2.js} +32 -32
- package/dist/chunks/{wellknown-j1zpf99x.js → app-xacrkbdt.js} +7 -7
- package/dist/chunks/{wellknown-1b0p7szg.js → app-xdykxqmp.js} +3 -3
- package/dist/chunks/{wellknown-rk91jcqn.js → app-xged5h17.js} +23 -23
- package/dist/chunks/{wellknown-g7qdwrsk.js → app-xhb877y8.js} +10 -10
- package/dist/chunks/{wellknown-xvn8mnch.js → app-xvn8mnch.js} +1 -1
- package/dist/chunks/{wellknown-xxschbft.js → app-xxschbft.js} +1 -1
- package/dist/chunks/{wellknown-strcadht.js → app-xy5vs88s.js} +26 -26
- package/dist/chunks/{wellknown-kyz53xa4.js → app-y0tsycvm.js} +15 -15
- package/dist/chunks/{wellknown-8bcc8xgx.js → app-y1n277rb.js} +3 -3
- package/dist/chunks/{wellknown-0bbygp07.js → app-y3k9rb30.js} +11 -11
- package/dist/chunks/{wellknown-jcdena8z.js → app-y4avew00.js} +12 -12
- package/dist/chunks/{wellknown-ra8fnavv.js → app-y5nh6eq3.js} +30 -30
- package/dist/chunks/{wellknown-w91xtpfr.js → app-y6y1f5y8.js} +15 -15
- package/dist/chunks/{wellknown-kccz2vv3.js → app-yapbp2nt.js} +21 -21
- package/dist/chunks/{wellknown-yb20nhc3.js → app-yb20nhc3.js} +1 -1
- package/dist/chunks/{wellknown-1v2g13eq.js → app-ybws1qgk.js} +4 -4
- package/dist/chunks/{wellknown-etnnmb6a.js → app-yevqcd6b.js} +15 -15
- package/dist/chunks/{wellknown-tdmbv00j.js → app-ykkand29.js} +12 -12
- package/dist/chunks/{wellknown-43n69t78.js → app-ypnf90sc.js} +6 -6
- package/dist/chunks/{wellknown-ayxe58k5.js → app-ypp6b42m.js} +23 -23
- package/dist/chunks/{wellknown-5k31ttt8.js → app-yr14tm90.js} +38 -38
- package/dist/chunks/{wellknown-9d854vd9.js → app-yr1ehhcm.js} +20 -20
- package/dist/chunks/{wellknown-yr705xyq.js → app-yr705xyq.js} +1 -1
- package/dist/chunks/{wellknown-yvtc2x31.js → app-yvtc2x31.js} +1 -1
- package/dist/chunks/{wellknown-w0v8te3a.js → app-yw7gp4zv.js} +9 -9
- package/dist/chunks/{wellknown-mnyhyg0k.js → app-yxf2d4xa.js} +7 -7
- package/dist/chunks/{wellknown-z0wbgq7s.js → app-z0wbgq7s.js} +1 -1
- package/dist/chunks/{wellknown-23thvp2q.js → app-z33m6dhf.js} +20 -20
- package/dist/chunks/{wellknown-rzcftq1z.js → app-z8xv73cs.js} +56 -56
- package/dist/chunks/{wellknown-ze75qvmd.js → app-ze75qvmd.js} +3 -3
- package/dist/chunks/app-zkbhzvnx.js +16 -0
- package/dist/chunks/{wellknown-ds6fnft9.js → app-zrjrnxz2.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +150 -150
- package/dist/codemode/instructions.js +8 -8
- package/dist/codemode/tool.js +157 -157
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +5 -5
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +113 -113
- package/dist/config/plugin/agent.js +132 -132
- package/dist/config/plugin/command.js +247 -247
- package/dist/config/plugin/compaction.js +175 -175
- package/dist/config/plugin/compatibility.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +132 -132
- package/dist/config/plugin/image.js +131 -131
- package/dist/config/plugin/instruction.js +132 -132
- package/dist/config/plugin/location-watcher.js +131 -131
- package/dist/config/plugin/mcp.js +146 -146
- package/dist/config/plugin/policy.js +131 -131
- package/dist/config/plugin/provider.js +131 -131
- package/dist/config/plugin/reference.js +133 -133
- package/dist/config/plugin/shell.js +131 -131
- package/dist/config/plugin/skill-file.js +151 -151
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +131 -131
- package/dist/config/plugin/source.js +135 -135
- package/dist/config/plugin/tool-output.js +132 -132
- package/dist/config/plugin/websearch.js +128 -128
- package/dist/config/plugin/worktree.js +133 -133
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +134 -134
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +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 +98 -98
- package/dist/effect/app-node-builder.js +446 -446
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +162 -162
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +166 -166
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +258 -258
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +116 -116
- package/dist/flag.js +134 -134
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +121 -121
- package/dist/git.js +11 -11
- package/dist/github-copilot/models.js +105 -105
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +3 -3
- package/dist/instance.js +439 -439
- package/dist/instruction-discovery.js +92 -92
- package/dist/instructions/builtins.js +101 -101
- package/dist/instructions/index.js +4 -4
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +98 -98
- package/dist/job/list.js +7 -7
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +188 -188
- package/dist/location-lifecycle.js +155 -155
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +438 -438
- package/dist/location.js +94 -94
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +161 -161
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/event-errors.js +1 -1
- package/dist/mcp/index.js +149 -149
- package/dist/mcp/instructions.js +188 -188
- package/dist/mcp/oauth.js +90 -90
- package/dist/mcp/pool.js +110 -110
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +161 -161
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +105 -105
- package/dist/model-resolver.js +111 -111
- package/dist/model-retry.js +1 -1
- package/dist/model.js +114 -114
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +118 -118
- package/dist/oauth/page.js +1 -1
- package/dist/oauth/redirect.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +158 -158
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +91 -91
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +146 -146
- package/dist/plugin/fork-notice.js +3 -3
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +251 -251
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +418 -418
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +111 -111
- package/dist/plugin/module.js +130 -130
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +151 -151
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +107 -107
- package/dist/plugin/provider/azure.js +134 -134
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +135 -135
- package/dist/plugin/provider/claude-agent/aisdk.js +118 -118
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- 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 +149 -149
- package/dist/plugin/provider/claude-agent/instructions.js +113 -113
- package/dist/plugin/provider/claude-agent/integration.js +116 -116
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +109 -109
- package/dist/plugin/provider/claude-agent/session.js +113 -113
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +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 +131 -131
- package/dist/plugin/provider/cloudflare-workers-ai.js +131 -131
- package/dist/plugin/provider/configured.js +127 -127
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +110 -110
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +112 -112
- package/dist/plugin/provider/gitlab.js +111 -111
- package/dist/plugin/provider/google-vertex.js +128 -128
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +144 -144
- package/dist/plugin/provider/local.js +141 -141
- package/dist/plugin/provider/modal.js +109 -109
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +144 -144
- package/dist/plugin/provider/openai-context-caps.js +107 -107
- package/dist/plugin/provider/openai.js +135 -135
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +163 -163
- package/dist/plugin/provider/openrouter.js +105 -105
- package/dist/plugin/provider/poe.js +91 -91
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +105 -105
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +133 -133
- package/dist/plugin/provider/vllm.js +144 -144
- package/dist/plugin/provider/xai.js +105 -105
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +242 -242
- package/dist/plugin/sdk.js +89 -89
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +430 -430
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +107 -107
- package/dist/plugin/warming.js +131 -131
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +256 -256
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +93 -93
- package/dist/provider.js +111 -111
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +111 -111
- package/dist/reference/instructions.js +102 -102
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +256 -256
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +264 -264
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +135 -135
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +177 -177
- package/dist/session/context.js +208 -208
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +271 -271
- package/dist/session/execution/subagent-report.js +147 -147
- package/dist/session/execution.js +170 -170
- package/dist/session/generate.js +208 -208
- package/dist/session/history.js +141 -141
- package/dist/session/inbox.js +150 -150
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +89 -89
- package/dist/session/instruction-state.js +9 -9
- package/dist/session/instructions.js +142 -142
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +176 -176
- package/dist/session/projector.js +148 -148
- package/dist/session/prompt.js +153 -153
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +144 -144
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +263 -263
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +115 -115
- package/dist/session/runner/publish-llm-event.js +155 -155
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +168 -168
- package/dist/session/runner/to-llm-message.js +142 -142
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +196 -196
- package/dist/session/shell.js +149 -149
- package/dist/session/skill.js +152 -152
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +147 -147
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +173 -173
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +212 -212
- package/dist/session/to-session-error.js +154 -154
- package/dist/session/transfer.js +253 -253
- package/dist/session/usage.js +1 -1
- package/dist/session.js +249 -249
- package/dist/shared-cache.js +3 -3
- 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 +154 -154
- package/dist/skill.js +163 -163
- package/dist/snapshot.js +104 -104
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +187 -187
- package/dist/tool/plugin/artifact.js +246 -246
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +176 -176
- package/dist/tool/plugin/grep.js +175 -175
- package/dist/tool/plugin/image-generate.js +257 -257
- package/dist/tool/plugin/mcp-events.js +168 -168
- package/dist/tool/plugin/mcp-resource.js +172 -172
- package/dist/tool/plugin/opencode.js +168 -168
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +177 -177
- package/dist/tool/plugin/schedule.js +262 -262
- package/dist/tool/plugin/shell.js +249 -249
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +253 -253
- package/dist/tool/plugin/todo.js +158 -158
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +116 -116
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +163 -163
- package/dist/usage-limits.js +92 -92
- package/dist/util/canonical-json.js +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +106 -106
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +105 -105
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -100
- package/dist/voice.js +101 -101
- package/dist/websearch.js +89 -89
- package/dist/wellknown/plugin.js +85 -85
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +9 -9
- package/dist/chunks/wellknown-2jjfs7g5.js +0 -16
- package/dist/chunks/wellknown-3qx6b3ma.js +0 -273
- package/dist/chunks/wellknown-6zjm2phc.js +0 -18
- package/dist/chunks/wellknown-d2q2a2xy.js +0 -26
- package/dist/chunks/wellknown-kaa67y14.js +0 -35
- /package/dist/chunks/{wellknown-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{wellknown-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{wellknown-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{wellknown-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{wellknown-1kah00gy.js → app-1kah00gy.js} +0 -0
- /package/dist/chunks/{wellknown-24dcb14g.js → app-24dcb14g.js} +0 -0
- /package/dist/chunks/{wellknown-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{wellknown-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{wellknown-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{wellknown-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{wellknown-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{wellknown-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{wellknown-4qk9sjk2.js → app-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{wellknown-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{wellknown-5w3e23ze.js → app-5w3e23ze.js} +0 -0
- /package/dist/chunks/{wellknown-6agm2x70.js → app-6agm2x70.js} +0 -0
- /package/dist/chunks/{wellknown-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{wellknown-6q2bdcd1.js → app-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{wellknown-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{wellknown-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{wellknown-7rvsyqjv.js → app-7rvsyqjv.js} +0 -0
- /package/dist/chunks/{wellknown-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{wellknown-84wd9syh.js → app-84wd9syh.js} +0 -0
- /package/dist/chunks/{wellknown-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{wellknown-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{wellknown-8wj87zfr.js → app-8wj87zfr.js} +0 -0
- /package/dist/chunks/{wellknown-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{wellknown-9ceax7yg.js → app-9ceax7yg.js} +0 -0
- /package/dist/chunks/{wellknown-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{wellknown-ade8csyh.js → app-ade8csyh.js} +0 -0
- /package/dist/chunks/{wellknown-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{wellknown-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{wellknown-beh6qq61.js → app-beh6qq61.js} +0 -0
- /package/dist/chunks/{wellknown-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{wellknown-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{wellknown-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{wellknown-cqv5kn06.js → app-cqv5kn06.js} +0 -0
- /package/dist/chunks/{wellknown-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{wellknown-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{wellknown-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{wellknown-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{wellknown-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{wellknown-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{wellknown-ean2d8b5.js → app-ean2d8b5.js} +0 -0
- /package/dist/chunks/{wellknown-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{wellknown-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{wellknown-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{wellknown-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{wellknown-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{wellknown-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{wellknown-fkpq3x5p.js → app-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{wellknown-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{wellknown-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{wellknown-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{wellknown-hcxmzztb.js → app-hcxmzztb.js} +0 -0
- /package/dist/chunks/{wellknown-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{wellknown-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{wellknown-jjkms2e6.js → app-jjkms2e6.js} +0 -0
- /package/dist/chunks/{wellknown-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{wellknown-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{wellknown-jwr30sdr.js → app-jwr30sdr.js} +0 -0
- /package/dist/chunks/{wellknown-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{wellknown-m18g726c.js → app-m18g726c.js} +0 -0
- /package/dist/chunks/{wellknown-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{wellknown-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{wellknown-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{wellknown-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{wellknown-nh4v3znn.js → app-nh4v3znn.js} +0 -0
- /package/dist/chunks/{wellknown-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{wellknown-p71gwv9c.js → app-p71gwv9c.js} +0 -0
- /package/dist/chunks/{wellknown-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{wellknown-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{wellknown-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{wellknown-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{wellknown-qg3g05ea.js → app-qg3g05ea.js} +0 -0
- /package/dist/chunks/{wellknown-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{wellknown-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{wellknown-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{wellknown-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{wellknown-syrav9an.js → app-syrav9an.js} +0 -0
- /package/dist/chunks/{wellknown-t03h4f5z.js → app-t03h4f5z.js} +0 -0
- /package/dist/chunks/{wellknown-ty7weeps.js → app-ty7weeps.js} +0 -0
- /package/dist/chunks/{wellknown-v2dnd5dt.js → app-v2dnd5dt.js} +0 -0
- /package/dist/chunks/{wellknown-ve7vex1e.js → app-ve7vex1e.js} +0 -0
- /package/dist/chunks/{wellknown-vtarvj67.js → app-vtarvj67.js} +0 -0
- /package/dist/chunks/{wellknown-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{wellknown-wc3fc9cn.js → app-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{wellknown-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{wellknown-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{wellknown-x4th4bpe.js → app-x4th4bpe.js} +0 -0
- /package/dist/chunks/{wellknown-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{wellknown-y8f7s663.js → app-y8f7s663.js} +0 -0
- /package/dist/chunks/{wellknown-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{wellknown-z5v4ffb3.js → app-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{wellknown-z9919s4g.js → app-z9919s4g.js} +0 -0
- /package/dist/chunks/{wellknown-zxpyjp51.js → app-zxpyjp51.js} +0 -0
- /package/dist/chunks/{wellknown-zz5vv3aq.js → app-zz5vv3aq.js} +0 -0
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service68,
|
|
8
|
+
node69
|
|
9
|
+
} from "./app-00jjfnj7.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-tbpn7jtk.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error3,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service67,
|
|
24
|
+
node: () => node68
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -47,7 +47,7 @@ var RawMatch = Schema.Struct({
|
|
|
47
47
|
});
|
|
48
48
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
51
51
|
message: Schema.String,
|
|
52
52
|
cause: Schema.optional(Schema.Defect())
|
|
53
53
|
}) {
|
|
@@ -59,13 +59,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
59
59
|
}) {
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
class
|
|
62
|
+
class Service67 extends Context.Service()("@opencode/Ripgrep") {
|
|
63
63
|
}
|
|
64
|
-
var failure = (message, cause) => new
|
|
64
|
+
var failure = (message, cause) => new Error3({ message, cause });
|
|
65
65
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
66
66
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
67
|
-
var layer = Layer.effect(
|
|
68
|
-
const environment = yield*
|
|
67
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
68
|
+
const environment = yield* Service68;
|
|
69
69
|
const binary = yield* RipgrepBinary2.Service;
|
|
70
70
|
const run = (input) => {
|
|
71
71
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -91,9 +91,9 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
91
91
|
return code === 1 ? [] : rows;
|
|
92
92
|
}));
|
|
93
93
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
94
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
94
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
95
95
|
};
|
|
96
|
-
return
|
|
96
|
+
return Service67.of({
|
|
97
97
|
glob: (input) => run({
|
|
98
98
|
cwd: input.cwd,
|
|
99
99
|
limit: input.limit,
|
|
@@ -179,6 +179,6 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
179
179
|
}))))
|
|
180
180
|
});
|
|
181
181
|
}));
|
|
182
|
-
var
|
|
182
|
+
var node68 = makeLocationNode({ service: Service67, layer, deps: [node69, RipgrepBinary2.node] });
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { Error3, InvalidPatternError2, Service67, node68, exports_ripgrep };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service92,
|
|
3
|
+
node94
|
|
4
|
+
} from "./app-9ah88nye.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-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: () => Event19,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
19
|
ID: () => ID19,
|
|
20
|
-
Info: () =>
|
|
20
|
+
Info: () => Info28,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError12,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service87,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When3,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer30,
|
|
29
|
+
node: () => node89,
|
|
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 Event19 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
38
|
var ID19 = Form.ID;
|
|
39
|
-
var
|
|
39
|
+
var Info28 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When3 = Form.When;
|
|
@@ -44,7 +44,7 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
47
|
+
class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
48
|
id: ID19
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
@@ -79,16 +79,16 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service87 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer30 = Layer.effect(Service87, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service92;
|
|
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 NotFoundError12({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
93
|
const id = input.id ?? ID19.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
@@ -162,9 +162,9 @@ var layer29 = Layer.effect(Service82, 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 Service87.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node89 = makeLocationNode({ service: Service87, layer: layer30, 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 { ID19,
|
|
319
|
+
export { ID19, Info28, Field2, Fields2, When3, State3, Answer2, Reply3, NotFoundError12, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service87, layer30, node89, validateAnswer2, validateFields2, exports_form, Event19 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service92
|
|
3
|
+
} from "./app-9ah88nye.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./app-g5r5k2rv.js";
|
|
7
7
|
import {
|
|
8
8
|
StepFailedError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./app-wyrr125q.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./app-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
toSessionError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./app-ypnf90sc.js";
|
|
16
16
|
import {
|
|
17
17
|
Error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-n7hb44nb.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service53
|
|
21
|
+
} from "./app-rxmw0rhb.js";
|
|
22
22
|
import {
|
|
23
23
|
record2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./app-4f25tdd0.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./app-7fnx82sm.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./app-ea90c952.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./app-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make2,
|
|
41
41
|
makeCancel: () => makeCancel2
|
|
42
42
|
});
|
|
43
43
|
import {
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
55
|
-
const bus = yield*
|
|
54
|
+
var make2 = Effect.gen(function* () {
|
|
55
|
+
const bus = yield* Service92;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service70;
|
|
58
|
+
const toolOutput = yield* Service53;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const pendingStartSnapshot = yield* snapshots.capture().pipe(Effect.forkScoped);
|
|
61
61
|
const started = yield* Clock.currentTimeMillis;
|
|
@@ -274,4 +274,4 @@ var makeCancel2 = () => {
|
|
|
274
274
|
};
|
|
275
275
|
};
|
|
276
276
|
|
|
277
|
-
export { Outcome2,
|
|
277
|
+
export { Outcome2, make2, makeCancel2, exports_step };
|
|
@@ -1,86 +1,86 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service94,
|
|
3
3
|
node96
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./app-7ex1q6kt.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service92,
|
|
7
|
+
node94
|
|
8
|
+
} from "./app-9ah88nye.js";
|
|
9
9
|
import {
|
|
10
10
|
create4
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-40y6dtc2.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID11,
|
|
14
|
+
Service63,
|
|
15
|
+
node64
|
|
16
|
+
} from "./app-pyb3ry4y.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./app-0ma9gw4f.js";
|
|
20
20
|
import {
|
|
21
21
|
join2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./app-0x1mgtk1.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service83,
|
|
25
|
+
node85
|
|
26
|
+
} from "./app-bp29v7tn.js";
|
|
27
27
|
import {
|
|
28
28
|
estimate2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./app-8wtp7s3z.js";
|
|
30
30
|
import {
|
|
31
31
|
SessionEvent2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./app-ec1grn59.js";
|
|
33
33
|
import {
|
|
34
34
|
kept2,
|
|
35
35
|
messageToText2,
|
|
36
36
|
serializeToolContent2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./app-v2r1d0zg.js";
|
|
38
38
|
import {
|
|
39
39
|
isNativeCompaction2,
|
|
40
40
|
load6
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./app-2z68448b.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service58,
|
|
44
|
+
node59
|
|
45
|
+
} from "./app-xged5h17.js";
|
|
46
46
|
import {
|
|
47
47
|
toSessionError2,
|
|
48
48
|
contentFilterError2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./app-ypnf90sc.js";
|
|
50
50
|
import {
|
|
51
51
|
toLLMMessages2
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./app-1wd80431.js";
|
|
53
53
|
import {
|
|
54
54
|
outputLimit2,
|
|
55
55
|
baseTranscript2,
|
|
56
56
|
unsupportedParts2,
|
|
57
57
|
boundImages2,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
58
|
+
Service32,
|
|
59
|
+
node36
|
|
60
|
+
} from "./app-4qm7r5h9.js";
|
|
61
61
|
import {
|
|
62
62
|
isRetryable2,
|
|
63
63
|
policy2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./app-ea90c952.js";
|
|
65
65
|
import {
|
|
66
66
|
calculateCost2,
|
|
67
67
|
record2,
|
|
68
68
|
add2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./app-4f25tdd0.js";
|
|
70
70
|
import {
|
|
71
71
|
__export
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./app-9rqn6x4v.js";
|
|
73
73
|
|
|
74
74
|
// src/session/compaction.ts
|
|
75
75
|
var exports_compaction2 = {};
|
|
76
76
|
__export(exports_compaction2, {
|
|
77
|
-
Service: () =>
|
|
77
|
+
Service: () => Service5,
|
|
78
78
|
SessionCompaction: () => exports_compaction2,
|
|
79
79
|
buildPrompt: () => buildPrompt2,
|
|
80
80
|
estimateContext: () => estimateContext2,
|
|
81
81
|
estimatePrompt: () => estimatePrompt2,
|
|
82
|
-
layer: () =>
|
|
83
|
-
node: () =>
|
|
82
|
+
layer: () => layer6,
|
|
83
|
+
node: () => node7,
|
|
84
84
|
recentUserMessages: () => recentUserMessages2
|
|
85
85
|
});
|
|
86
86
|
import {
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
} from "@opencode/ai/effect";
|
|
96
96
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
97
97
|
import { Clock, Context, DateTime, Effect, Exit, Fiber, Layer, Result, Scope, Stream } from "effect";
|
|
98
|
-
class
|
|
98
|
+
class Service5 extends Context.Service()("@opencode/SessionCompaction") {
|
|
99
99
|
}
|
|
100
100
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
101
101
|
var SHRINK_STEPS = [0.85, 0.7, 0.5, 0.35];
|
|
@@ -186,14 +186,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
186
186
|
};
|
|
187
187
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
188
188
|
var LEGACY_HEADING = "## Additional Context";
|
|
189
|
-
var
|
|
190
|
-
const agents = yield*
|
|
191
|
-
const bus = yield*
|
|
189
|
+
var layer6 = Layer.effect(Service5, Effect.gen(function* () {
|
|
190
|
+
const agents = yield* Service63;
|
|
191
|
+
const bus = yield* Service92;
|
|
192
192
|
const llm = yield* LLMClient.Service;
|
|
193
|
-
const catalog = yield*
|
|
194
|
-
const models = yield*
|
|
193
|
+
const catalog = yield* Service83;
|
|
194
|
+
const models = yield* Service58;
|
|
195
195
|
const db = (yield* Service94).db;
|
|
196
|
-
const requests = yield*
|
|
196
|
+
const requests = yield* Service32;
|
|
197
197
|
const scope = yield* Scope.Scope;
|
|
198
198
|
const precomputed = new Map;
|
|
199
199
|
const state = create4({
|
|
@@ -206,7 +206,7 @@ var layer8 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
206
206
|
})
|
|
207
207
|
});
|
|
208
208
|
const selectModel = Effect.fnUntraced(function* (context, buffer, native) {
|
|
209
|
-
const agent = native ? undefined : yield* agents.get(
|
|
209
|
+
const agent = native ? undefined : yield* agents.get(ID11.make("compaction"));
|
|
210
210
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available, {
|
|
211
211
|
kind: "compaction",
|
|
212
212
|
agent: agent.id
|
|
@@ -591,17 +591,17 @@ var layer8 = Layer.effect(Service9, Effect.gen(function* () {
|
|
|
591
591
|
}, { metadata: outcome.metadata });
|
|
592
592
|
return { status: "completed" };
|
|
593
593
|
});
|
|
594
|
-
return
|
|
594
|
+
return Service5.of({
|
|
595
595
|
transform: state.transform,
|
|
596
596
|
reload: state.reload,
|
|
597
597
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id)))),
|
|
598
598
|
precompute
|
|
599
599
|
});
|
|
600
600
|
}));
|
|
601
|
-
var
|
|
602
|
-
service:
|
|
603
|
-
layer:
|
|
604
|
-
deps: [
|
|
601
|
+
var node7 = makeLocationNode({
|
|
602
|
+
service: Service5,
|
|
603
|
+
layer: layer6,
|
|
604
|
+
deps: [node64, node94, node96, llmClient2, node85, node36, node59]
|
|
605
605
|
});
|
|
606
606
|
var heldIndex = (held, context) => {
|
|
607
607
|
if (held.firstID !== context.messages[0]?.id || held.initial !== join2(context.initial))
|
|
@@ -800,4 +800,4 @@ var estimateMedia = (mime) => {
|
|
|
800
800
|
return 0;
|
|
801
801
|
};
|
|
802
802
|
|
|
803
|
-
export {
|
|
803
|
+
export { Service5, buildPrompt2, layer6, node7, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-xvn8mnch.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-ypp6b42m.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID17,
|
|
9
9
|
MethodID2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-p2kdnzg4.js";
|
|
11
11
|
import {
|
|
12
12
|
mergeOverlay2
|
|
13
|
-
} from "./
|
|
14
|
-
import {
|
|
15
|
-
ID17,
|
|
16
|
-
Service80
|
|
17
|
-
} from "./wellknown-m3dnz9m4.js";
|
|
13
|
+
} from "./app-m90tx7mw.js";
|
|
18
14
|
import {
|
|
19
15
|
ID16,
|
|
16
|
+
Service84
|
|
17
|
+
} from "./app-wkd5q91e.js";
|
|
18
|
+
import {
|
|
19
|
+
ID15,
|
|
20
20
|
Ref3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./app-bp29v7tn.js";
|
|
22
22
|
import {
|
|
23
23
|
load5,
|
|
24
24
|
derive3,
|
|
25
25
|
auto2,
|
|
26
26
|
autoModel2,
|
|
27
27
|
routeFor2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./app-y4avew00.js";
|
|
29
29
|
import {
|
|
30
30
|
useragent2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./app-an5g0sat.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
ID11
|
|
34
|
+
} from "./app-pyb3ry4y.js";
|
|
35
35
|
import {
|
|
36
36
|
get5
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./app-3nnrz6f6.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
39
|
+
Service49,
|
|
40
40
|
fingerprint2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./app-p9jmt18g.js";
|
|
42
42
|
import {
|
|
43
43
|
start3
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./app-8aqfbqgm.js";
|
|
45
45
|
import {
|
|
46
46
|
activeCredential2,
|
|
47
47
|
credentialSettings2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./app-rrq7gnh6.js";
|
|
49
49
|
|
|
50
50
|
// src/plugin/provider/github-copilot.ts
|
|
51
51
|
import { isRecord } from "@opencode/util/record";
|
|
@@ -84,7 +84,7 @@ var AutoRoute = Schema.Struct({
|
|
|
84
84
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
85
85
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
86
86
|
var oauth = (app) => ({
|
|
87
|
-
integrationID:
|
|
87
|
+
integrationID: ID17.make("github-copilot"),
|
|
88
88
|
method: {
|
|
89
89
|
id: methodID,
|
|
90
90
|
type: "oauth",
|
|
@@ -182,8 +182,8 @@ var oauth = (app) => ({
|
|
|
182
182
|
var GithubCopilotPlugin2 = define({
|
|
183
183
|
id: "opencode.provider.github.copilot",
|
|
184
184
|
effect: Effect.fn(function* (ctx) {
|
|
185
|
-
const providers = yield*
|
|
186
|
-
const cache = yield*
|
|
185
|
+
const providers = yield* Service84;
|
|
186
|
+
const cache = yield* Service49;
|
|
187
187
|
const http = yield* HttpClient.HttpClient;
|
|
188
188
|
const outbound = yield* FetchHttpClient.Fetch;
|
|
189
189
|
const routes = new Map;
|
|
@@ -210,7 +210,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
210
210
|
return;
|
|
211
211
|
}));
|
|
212
212
|
const url = endpoint || copilotBaseURL2(credential.metadata);
|
|
213
|
-
const headers = (yield* providers.get(
|
|
213
|
+
const headers = (yield* providers.get(ID16.githubCopilot))?.headers ?? {};
|
|
214
214
|
const models = yield* cache.get({
|
|
215
215
|
key: modelsKey(connection, url, headers),
|
|
216
216
|
...options,
|
|
@@ -231,7 +231,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
231
231
|
editor.method.update(oauth(ctx.app));
|
|
232
232
|
});
|
|
233
233
|
yield* ctx.provider.transform((evt) => {
|
|
234
|
-
const item = evt.get(
|
|
234
|
+
const item = evt.get(ID16.githubCopilot);
|
|
235
235
|
if (!item)
|
|
236
236
|
return;
|
|
237
237
|
const loaded = discovered.current;
|
|
@@ -257,8 +257,8 @@ var GithubCopilotPlugin2 = define({
|
|
|
257
257
|
}
|
|
258
258
|
});
|
|
259
259
|
yield* ctx.model.transform((models) => {
|
|
260
|
-
if (models.get(
|
|
261
|
-
models.update(
|
|
260
|
+
if (models.get(ID16.githubCopilot, ID15.make("gpt-5-chat-latest"))) {
|
|
261
|
+
models.update(ID16.githubCopilot, ID15.make("gpt-5-chat-latest"), (model) => {
|
|
262
262
|
model.enabled = false;
|
|
263
263
|
});
|
|
264
264
|
}
|
|
@@ -275,7 +275,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
275
275
|
const route = routes.get(evt.sessionID);
|
|
276
276
|
if (route?.token && route.model === evt.model.id)
|
|
277
277
|
evt.headers["Copilot-Session-Token"] = route.token;
|
|
278
|
-
}), { providerID:
|
|
278
|
+
}), { providerID: ID16.githubCopilot });
|
|
279
279
|
const route = Effect.fn("GithubCopilotPlugin.route")(function* (sessionID) {
|
|
280
280
|
const loaded = discovered.current;
|
|
281
281
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
@@ -283,7 +283,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
283
283
|
const user = yield* ctx.session.context({ sessionID }).pipe(Effect.map((messages) => messages.findLast((message) => message.type === "user")), Effect.orElseSucceed(() => {
|
|
284
284
|
return;
|
|
285
285
|
}));
|
|
286
|
-
const headers = (yield* providers.get(
|
|
286
|
+
const headers = (yield* providers.get(ID16.githubCopilot))?.headers ?? {};
|
|
287
287
|
const picked = yield* HttpClient.filterStatusOk(http).execute(HttpClientRequest.post(`${loaded.baseURL}/auto`).pipe(HttpClientRequest.setHeaders({
|
|
288
288
|
...headers,
|
|
289
289
|
Authorization: `Bearer ${loaded.token}`,
|
|
@@ -317,18 +317,18 @@ var GithubCopilotPlugin2 = define({
|
|
|
317
317
|
if (route.until <= now)
|
|
318
318
|
routes.delete(id);
|
|
319
319
|
routes.set(evt.sessionID, current);
|
|
320
|
-
evt.model = Ref3.make({ providerID:
|
|
321
|
-
}), { providerID:
|
|
320
|
+
evt.model = Ref3.make({ providerID: ID16.githubCopilot, id: ID15.make(current.model) });
|
|
321
|
+
}), { providerID: ID16.githubCopilot });
|
|
322
322
|
yield* ctx.session.hook("compaction", (evt) => Effect.sync(() => {
|
|
323
323
|
const route = routes.get(evt.sessionID);
|
|
324
324
|
if (route)
|
|
325
325
|
route.until = 0;
|
|
326
|
-
}), { providerID:
|
|
326
|
+
}), { providerID: ID16.githubCopilot });
|
|
327
327
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
328
328
|
const loaded = discovered.current;
|
|
329
329
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
330
330
|
return;
|
|
331
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
331
|
+
const agent = yield* ctx.agent.get({ agentID: ID11.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
332
332
|
return;
|
|
333
333
|
}));
|
|
334
334
|
if (agent?.data.model)
|
|
@@ -339,7 +339,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
339
339
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app, fetch: outbound }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
340
340
|
return;
|
|
341
341
|
}));
|
|
342
|
-
}), { providerID:
|
|
342
|
+
}), { providerID: ID16.githubCopilot });
|
|
343
343
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
344
344
|
const token = evt.request.headers.get("x-api-key") ?? evt.request.headers.get("authorization")?.replace(/^Bearer\s+/i, "");
|
|
345
345
|
if (!token)
|
|
@@ -347,7 +347,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
347
347
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
348
348
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
349
349
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body));
|
|
350
|
-
}), { providerID:
|
|
350
|
+
}), { providerID: ID16.githubCopilot });
|
|
351
351
|
})
|
|
352
352
|
});
|
|
353
353
|
function modelsKey(connection, url, headers) {
|