@opencode/core 0.0.0-dev-1010 → 0.0.0-dev-1012
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 +11 -11
- package/dist/artifact.js +242 -242
- package/dist/bus.js +84 -84
- package/dist/chunks/{flag-1jdfnha2.js → generate-006rmeq7.js} +11 -11
- package/dist/chunks/{flag-0j7gp832.js → generate-0j7gp832.js} +1 -1
- package/dist/chunks/{flag-0ma9gw4f.js → generate-0ma9gw4f.js} +2 -2
- package/dist/chunks/{flag-9a57mt7y.js → generate-0pepgjbq.js} +43 -43
- package/dist/chunks/{flag-mh90gvy0.js → generate-0v1dvdyj.js} +13 -13
- package/dist/chunks/{flag-c8j7dza1.js → generate-0zsgxej9.js} +2 -2
- package/dist/chunks/{flag-d35j55gy.js → generate-16n9dbv4.js} +24 -24
- package/dist/chunks/{flag-4p2a78wv.js → generate-17d55fvc.js} +49 -49
- package/dist/chunks/{flag-1aqsckx4.js → generate-1aqsckx4.js} +1 -1
- package/dist/chunks/{flag-f5g1gp80.js → generate-1kg12bjk.js} +23 -23
- package/dist/chunks/{flag-ptsc7pw2.js → generate-1q97ba4q.js} +17 -17
- package/dist/chunks/{flag-bf4p0zpt.js → generate-1qvmktdb.js} +8 -8
- package/dist/chunks/{flag-v3a0q1tq.js → generate-1tjm5rfz.js} +5 -5
- package/dist/chunks/{flag-1x2knyw4.js → generate-1x2knyw4.js} +1 -1
- package/dist/chunks/{flag-1yq9hg58.js → generate-1yq9hg58.js} +1 -1
- package/dist/chunks/{flag-c4g6jnnc.js → generate-1ztqf1mz.js} +25 -25
- package/dist/chunks/{flag-tb2mrvc9.js → generate-26wfx3k0.js} +4 -4
- package/dist/chunks/{flag-1ep2p91f.js → generate-27w5k9zf.js} +2 -2
- package/dist/chunks/{flag-n2rwwq30.js → generate-28zd0247.js} +18 -18
- package/dist/chunks/{flag-s7kkmpf3.js → generate-29qmjmkr.js} +28 -28
- package/dist/chunks/{flag-2fc7eemy.js → generate-2fc7eemy.js} +1 -1
- package/dist/chunks/{flag-pawtkyf1.js → generate-2fexf392.js} +29 -29
- package/dist/chunks/{flag-akev4tcy.js → generate-2fqx3aqt.js} +18 -18
- package/dist/chunks/{flag-sthjaggt.js → generate-2k09d3eh.js} +6 -6
- package/dist/chunks/{flag-r3azt9y8.js → generate-2r22n4dg.js} +14 -14
- package/dist/chunks/{flag-qtb74cpe.js → generate-2xhgpy6d.js} +25 -25
- package/dist/chunks/{flag-9cfgm1yn.js → generate-33y8jegp.js} +3 -3
- package/dist/chunks/{flag-15218fxr.js → generate-36jf8y1r.js} +14 -14
- package/dist/chunks/{flag-z080rjh6.js → generate-38aws4xb.js} +4 -4
- package/dist/chunks/{flag-mjrcsjpa.js → generate-3adw4bt5.js} +9 -9
- package/dist/chunks/{flag-ayjs7tqn.js → generate-3cbjf1nt.js} +2 -2
- package/dist/chunks/{flag-xnh9gzhm.js → generate-3d7ybsw7.js} +34 -34
- package/dist/chunks/{flag-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{flag-09g4xkfz.js → generate-3mx9yvmc.js} +28 -28
- package/dist/chunks/{flag-3nnrz6f6.js → generate-3nnrz6f6.js} +1 -1
- package/dist/chunks/{flag-j1zpf99x.js → generate-3qgwywyc.js} +5 -5
- package/dist/chunks/{flag-spra8t40.js → generate-3qn26r20.js} +15 -15
- package/dist/chunks/{flag-srbra2vb.js → generate-3rcme4rw.js} +27 -27
- package/dist/chunks/{flag-0ahs07zn.js → generate-3ryz99p0.js} +4 -4
- package/dist/chunks/{flag-v1m0y28q.js → generate-3vahy3b1.js} +8 -8
- package/dist/chunks/{flag-3731drge.js → generate-3wejz62g.js} +16 -16
- package/dist/chunks/{flag-mh586mz7.js → generate-3zf5rz5d.js} +15 -15
- package/dist/chunks/{flag-40y6dtc2.js → generate-40y6dtc2.js} +1 -1
- package/dist/chunks/{flag-h2y3txjc.js → generate-46n8akm8.js} +33 -33
- package/dist/chunks/{flag-trjv09tz.js → generate-470a14h9.js} +4 -4
- package/dist/chunks/{flag-55m7948j.js → generate-4bzsr30v.js} +31 -31
- package/dist/chunks/{flag-4dx1dgte.js → generate-4dx1dgte.js} +1 -1
- package/dist/chunks/{flag-4f25tdd0.js → generate-4f25tdd0.js} +1 -1
- package/dist/chunks/{flag-4pyp9zr9.js → generate-4pyp9zr9.js} +1 -1
- package/dist/chunks/{flag-kw7meyf9.js → generate-4trj2kny.js} +11 -11
- package/dist/chunks/{flag-4v008n1t.js → generate-4v008n1t.js} +1 -1
- package/dist/chunks/{flag-2j6b9fc2.js → generate-58eemn9m.js} +13 -13
- package/dist/chunks/{flag-k70echwb.js → generate-5988f0vt.js} +15 -15
- package/dist/chunks/{flag-zfar18d4.js → generate-5apyxq25.js} +6 -6
- package/dist/chunks/{flag-4vwfjexy.js → generate-5jzda76q.js} +20 -20
- package/dist/chunks/{flag-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
- package/dist/chunks/{flag-6n1wf0xp.js → generate-5s7jv4h2.js} +10 -10
- package/dist/chunks/{flag-bd883wqc.js → generate-5xa8fzfb.js} +25 -25
- package/dist/chunks/{flag-wvmz9xhr.js → generate-5ybw84st.js} +16 -16
- package/dist/chunks/{flag-fqw49gzr.js → generate-61pw236b.js} +14 -14
- package/dist/chunks/{flag-8xz27cp9.js → generate-67wwskyb.js} +4 -4
- package/dist/chunks/{flag-ea1trek2.js → generate-680q739s.js} +37 -37
- package/dist/chunks/{flag-vgk87pas.js → generate-6ckp78eg.js} +16 -16
- package/dist/chunks/{flag-6yn64n4z.js → generate-6m2pr9vb.js} +32 -32
- package/dist/chunks/{flag-1mgr176x.js → generate-6mn06a6j.js} +40 -40
- package/dist/chunks/{flag-wsjmr3t1.js → generate-6p4gp6cd.js} +12 -12
- package/dist/chunks/{flag-jsrnmwcy.js → generate-6ph4sygt.js} +16 -16
- package/dist/chunks/{flag-2n444ktb.js → generate-6q8jj3zs.js} +2 -2
- package/dist/chunks/{flag-krf10cfx.js → generate-6qvf32vn.js} +3 -3
- package/dist/chunks/{flag-e6b4sada.js → generate-6wthnkf9.js} +19 -19
- package/dist/chunks/{flag-7eg4x4j6.js → generate-70gpekc4.js} +15 -15
- package/dist/chunks/{flag-t70t8r9y.js → generate-70vqz658.js} +25 -25
- package/dist/chunks/{flag-6sk4m11q.js → generate-73e0dtrh.js} +21 -7
- package/dist/chunks/{flag-775hqbnd.js → generate-775hqbnd.js} +3 -3
- package/dist/chunks/{flag-gvjkbnsw.js → generate-78f20bs2.js} +18 -18
- package/dist/chunks/{flag-agje4kmn.js → generate-79k544d0.js} +7 -7
- package/dist/chunks/{flag-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{flag-jf97j8rr.js → generate-7fbsr400.js} +21 -21
- package/dist/chunks/{flag-y7nmb5w5.js → generate-7hbcf07j.js} +31 -31
- package/dist/chunks/{flag-7w2ypzdf.js → generate-7w2ypzdf.js} +1 -1
- package/dist/chunks/{flag-7weczvnd.js → generate-7weczvnd.js} +1 -1
- package/dist/chunks/{flag-sy9rxy5q.js → generate-807008wq.js} +6 -6
- package/dist/chunks/{flag-ss4ezae1.js → generate-80m5xgxj.js} +9 -9
- package/dist/chunks/{flag-80pdk984.js → generate-80pdk984.js} +1 -1
- package/dist/chunks/{flag-3ezvm26p.js → generate-82041drf.js} +8 -8
- package/dist/chunks/{flag-s8ag18r3.js → generate-82mtgeep.js} +20 -20
- package/dist/chunks/{flag-jr1br1nz.js → generate-84wrngtv.js} +11 -11
- package/dist/chunks/{flag-3y61gytp.js → generate-84zg61kq.js} +18 -18
- package/dist/chunks/{flag-85jq8dht.js → generate-85jq8dht.js} +1 -1
- package/dist/chunks/{flag-8b3vzgkx.js → generate-8b3vzgkx.js} +1 -1
- package/dist/chunks/{flag-r2s839d9.js → generate-8dc0fhde.js} +7 -7
- package/dist/chunks/{flag-x7dr992x.js → generate-8hkksb2s.js} +6 -6
- package/dist/chunks/{flag-p27bwnvr.js → generate-8pcrt6pc.js} +52 -52
- package/dist/chunks/{flag-qas5yjh7.js → generate-8qheb3et.js} +21 -21
- package/dist/chunks/{flag-8bvnskax.js → generate-8sens7q9.js} +2 -2
- package/dist/chunks/{flag-8wtp7s3z.js → generate-8wtp7s3z.js} +1 -1
- package/dist/chunks/{flag-mb7mbhnz.js → generate-8z6m94af.js} +3 -3
- package/dist/chunks/{flag-8zv0xmg5.js → generate-8zv0xmg5.js} +1 -1
- package/dist/chunks/{flag-xe6pezxp.js → generate-963hk181.js} +7 -7
- package/dist/chunks/{flag-e4wdkeae.js → generate-9b108rn8.js} +5 -5
- package/dist/chunks/{flag-42t8ge4y.js → generate-9crd2b96.js} +5 -5
- package/dist/chunks/{flag-5aadmexf.js → generate-9ds2ve8j.js} +11 -11
- package/dist/chunks/{flag-k5ckk9r8.js → generate-9jm9hd78.js} +15 -15
- package/dist/chunks/{flag-j94t6k5j.js → generate-9mq8xmtr.js} +27 -27
- package/dist/chunks/{flag-xv7g2e6c.js → generate-9n10c84v.js} +12 -12
- package/dist/chunks/{flag-w79nt68w.js → generate-9q8g9sv8.js} +4 -4
- package/dist/chunks/{flag-hd9dcm1e.js → generate-9s2rdm2c.js} +16 -16
- package/dist/chunks/{flag-c8k7ng7p.js → generate-9sh9bj8n.js} +18 -18
- package/dist/chunks/{flag-jy2czfqv.js → generate-9tvpxs1q.js} +4 -4
- package/dist/chunks/{flag-jy6jhtn9.js → generate-9yj9xjgm.js} +15 -15
- package/dist/chunks/{flag-6xg0z2gt.js → generate-a2pavnag.js} +38 -38
- package/dist/chunks/{flag-z5nvgrxr.js → generate-a65gc4ed.js} +10 -10
- package/dist/chunks/{flag-7tpyp9vw.js → generate-aedwt843.js} +8 -8
- package/dist/chunks/{flag-034tev2y.js → generate-aj7mw0zk.js} +2 -2
- package/dist/chunks/{flag-etjadvmx.js → generate-amaq7482.js} +8 -8
- package/dist/chunks/{flag-b5p2mdb2.js → generate-ay97z6wm.js} +11 -11
- package/dist/chunks/{flag-9mt6xtde.js → generate-azj9b503.js} +13 -13
- package/dist/chunks/{flag-vtgg5ge7.js → generate-b8qxczg7.js} +21 -21
- package/dist/chunks/{flag-8sxe6kv8.js → generate-bb3mmwvh.js} +2 -2
- package/dist/chunks/{flag-cr4rfj9z.js → generate-bhfd478d.js} +4 -4
- package/dist/chunks/{flag-8pg86m63.js → generate-bk4fz91k.js} +1 -1
- package/dist/chunks/{flag-0zw4bgnp.js → generate-brpsadrn.js} +59 -59
- package/dist/chunks/{flag-tdky2mah.js → generate-bs0879yc.js} +5 -5
- package/dist/chunks/generate-bs4g0v3n.js +35 -0
- package/dist/chunks/{flag-bstexjd6.js → generate-bstexjd6.js} +1 -1
- package/dist/chunks/{flag-kxnhx9t7.js → generate-bwjp1mht.js} +37 -37
- package/dist/chunks/{flag-jqxg5spm.js → generate-c5z5d4f1.js} +6 -6
- package/dist/chunks/{flag-c7cw818c.js → generate-c7cw818c.js} +2 -2
- package/dist/chunks/{flag-pxqvx5np.js → generate-c9qe481h.js} +45 -45
- package/dist/chunks/{flag-7e7tnr01.js → generate-caeppsxg.js} +87 -87
- package/dist/chunks/{flag-4krr2nde.js → generate-csxpn9yn.js} +3 -3
- package/dist/chunks/{flag-cwrgdav8.js → generate-cwrgdav8.js} +2 -2
- package/dist/chunks/{flag-tr3t571y.js → generate-d4q8gwge.js} +8 -8
- package/dist/chunks/{flag-d4v9tmah.js → generate-d4v9tmah.js} +2 -2
- package/dist/chunks/{flag-ypr9531w.js → generate-d6ra6pf9.js} +3 -3
- package/dist/chunks/{flag-h4gnqfjf.js → generate-dcfz8fr3.js} +19 -19
- package/dist/chunks/{flag-10znbv1y.js → generate-dhnvehda.js} +16 -16
- package/dist/chunks/{flag-7mca0d52.js → generate-dm9t859p.js} +17 -17
- package/dist/chunks/{flag-zs4b3nf4.js → generate-drqnhm7z.js} +7 -7
- package/dist/chunks/{flag-d6hdbspf.js → generate-dsp8cfxy.js} +19 -19
- package/dist/chunks/{flag-dt77769w.js → generate-dt77769w.js} +1 -1
- package/dist/chunks/{flag-y4vr6j7h.js → generate-dytjb3m8.js} +14 -14
- package/dist/chunks/{flag-5ar0v554.js → generate-e0nd6rg0.js} +11 -11
- package/dist/chunks/{flag-yhjjh8bc.js → generate-e6eegn3z.js} +15 -15
- package/dist/chunks/{flag-2drr4a66.js → generate-e88t7v7w.js} +12 -12
- package/dist/chunks/{flag-scn5v30h.js → generate-e8xb975w.js} +9 -9
- package/dist/chunks/{flag-c7e1jce8.js → generate-eae78hwn.js} +6 -6
- package/dist/chunks/{flag-735jxpn0.js → generate-ebar3gcs.js} +14 -14
- package/dist/chunks/{flag-3k2f1fzx.js → generate-eecvf4ky.js} +10 -10
- package/dist/chunks/{flag-5tsg0p07.js → generate-egt6q40c.js} +26 -26
- package/dist/chunks/{flag-9w82hkf9.js → generate-eh4txqbe.js} +4 -4
- package/dist/chunks/{flag-eqw4pqj1.js → generate-eqw4pqj1.js} +2 -2
- package/dist/chunks/{flag-5phaeez2.js → generate-erqaycwe.js} +33 -33
- package/dist/chunks/{flag-8v783vgg.js → generate-ex3h99b8.js} +20 -20
- package/dist/chunks/{flag-2b53gkgs.js → generate-f2868tqr.js} +13 -13
- package/dist/chunks/{flag-bmae84g4.js → generate-f482wvhv.js} +30 -30
- package/dist/chunks/{flag-gcwvq7an.js → generate-fc2zd02a.js} +5 -5
- package/dist/chunks/{flag-xvn8mnch.js → generate-fcrd7kek.js} +4 -4
- package/dist/chunks/{flag-edjd8nn4.js → generate-fdbgrdcz.js} +19 -19
- package/dist/chunks/{flag-xad1gvt8.js → generate-ffvvmdd5.js} +5 -5
- package/dist/chunks/{flag-fg9p65nk.js → generate-fg9p65nk.js} +2 -2
- package/dist/chunks/{flag-xdv8px4q.js → generate-fn909e07.js} +12 -12
- package/dist/chunks/{flag-k1s9gqmy.js → generate-ftpgr4ea.js} +4 -4
- package/dist/chunks/{flag-vfq85drt.js → generate-g0spmc1x.js} +18 -18
- package/dist/chunks/{flag-8gq4zt76.js → generate-g2963zmr.js} +9 -9
- package/dist/chunks/{flag-b26ddj6h.js → generate-g4txs7zc.js} +4 -4
- package/dist/chunks/{flag-s9c602wf.js → generate-ga6vnmd6.js} +158 -158
- package/dist/chunks/{flag-gbjdnr5j.js → generate-gbjdnr5j.js} +2 -2
- package/dist/chunks/{flag-qx09zx5e.js → generate-ggw456nc.js} +18 -18
- package/dist/chunks/{flag-ghrv1g9c.js → generate-ghrv1g9c.js} +1 -1
- package/dist/chunks/{flag-0m83mv9a.js → generate-gk0k48vs.js} +16 -16
- package/dist/chunks/{flag-ev7sqhk6.js → generate-gr1ft4bc.js} +6 -6
- package/dist/chunks/generate-grzehpz7.js +18 -0
- package/dist/chunks/{flag-xh01vz4c.js → generate-gs92sch7.js} +12 -12
- package/dist/chunks/{flag-bsfkzme1.js → generate-gy24j455.js} +9 -9
- package/dist/chunks/{flag-e5gzkckm.js → generate-h3vak9dz.js} +9 -9
- package/dist/chunks/{flag-9g0n57w0.js → generate-hdhz51jr.js} +32 -32
- package/dist/chunks/{flag-cwvapanm.js → generate-hfva79zk.js} +13 -13
- package/dist/chunks/{flag-hgzwgvze.js → generate-hgzwgvze.js} +2 -2
- package/dist/chunks/{flag-s3xjexac.js → generate-hm0braft.js} +2 -2
- package/dist/chunks/{flag-rfz9ehj2.js → generate-hm0j9vjd.js} +13 -13
- package/dist/chunks/{flag-2y0zgx14.js → generate-hrabq845.js} +22 -22
- package/dist/chunks/{flag-53jsaysx.js → generate-hyz2mpaa.js} +12 -12
- package/dist/chunks/{flag-tr8x705m.js → generate-j376ae4e.js} +5 -5
- package/dist/chunks/{flag-mg67vnn7.js → generate-j3mdcsvb.js} +7 -7
- package/dist/chunks/{flag-7y3w8yh2.js → generate-j7qtnazf.js} +10 -10
- package/dist/chunks/{flag-j9nxzz3g.js → generate-j9nxzz3g.js} +3 -3
- package/dist/chunks/{flag-msf0rvct.js → generate-jawyx7ca.js} +19 -19
- package/dist/chunks/{flag-scp3z44w.js → generate-jbfbyd1a.js} +7 -7
- package/dist/chunks/{flag-bx2z8bfs.js → generate-jdrmge0m.js} +35 -35
- package/dist/chunks/{flag-vfzy64ya.js → generate-jf0zdvxs.js} +40 -40
- package/dist/chunks/{flag-jm70asfg.js → generate-jm70asfg.js} +1 -1
- package/dist/chunks/{flag-npvf18tt.js → generate-jqzk06hz.js} +17 -17
- package/dist/chunks/{flag-18w9rf6t.js → generate-jtcx98t9.js} +3 -3
- package/dist/chunks/{flag-61qraad9.js → generate-jv5ccajn.js} +5 -5
- package/dist/chunks/{flag-44pmzq9c.js → generate-jxd6f16v.js} +2 -2
- package/dist/chunks/{flag-jjx6aha5.js → generate-k3568xar.js} +8 -8
- package/dist/chunks/{flag-8agkwpr2.js → generate-kbm72930.js} +22 -22
- package/dist/chunks/{flag-rgen4y4m.js → generate-ketqp58f.js} +29 -29
- package/dist/chunks/{flag-ttwmyft8.js → generate-kfyw9g7g.js} +7 -7
- package/dist/chunks/{flag-m1t6pmkr.js → generate-kg64ce88.js} +34 -34
- package/dist/chunks/{flag-k46dd5bg.js → generate-kj9n5bvh.js} +4 -4
- package/dist/chunks/{flag-2fsd9jws.js → generate-kptyj14a.js} +36 -36
- package/dist/chunks/{flag-g5b6m127.js → generate-krgjhvwz.js} +22 -22
- package/dist/chunks/{flag-kt3bjfbg.js → generate-kt3bjfbg.js} +1 -1
- package/dist/chunks/{flag-5k76wwnk.js → generate-kvcekg5f.js} +21 -21
- package/dist/chunks/{flag-kzczzf4v.js → generate-kzczzf4v.js} +1 -1
- package/dist/chunks/{flag-m1714858.js → generate-m1714858.js} +1 -1
- package/dist/chunks/{flag-hddbd6m6.js → generate-m3n2e9bf.js} +47 -47
- package/dist/chunks/{flag-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{flag-whbekvnz.js → generate-mcb6ppvn.js} +28 -28
- package/dist/chunks/{flag-2xzmefa0.js → generate-mcsshr9w.js} +9 -9
- package/dist/chunks/{flag-nxv0qn3p.js → generate-mk1da3y2.js} +1 -1
- package/dist/chunks/{flag-54gmcw0p.js → generate-mmej2e7a.js} +11 -11
- package/dist/chunks/{flag-rmtced94.js → generate-mmpy448n.js} +18 -18
- package/dist/chunks/{flag-x1necfrd.js → generate-mtdj814r.js} +6 -6
- package/dist/chunks/{flag-p0v8tzm2.js → generate-mxg66p1w.js} +13 -13
- package/dist/chunks/{flag-2fkh5tz5.js → generate-n15bvnbf.js} +13 -13
- package/dist/chunks/{flag-9nxfy581.js → generate-n93d567p.js} +4 -4
- package/dist/chunks/{flag-651bexe0.js → generate-np21b56f.js} +10 -10
- package/dist/chunks/{flag-fw2bj3yc.js → generate-npgajz26.js} +49 -49
- package/dist/chunks/{flag-t92z0407.js → generate-nq7ygncj.js} +6 -6
- package/dist/chunks/{flag-xbjcy85w.js → generate-nstbetgn.js} +8 -8
- package/dist/chunks/{flag-wegkxhrn.js → generate-nx4vzyjd.js} +2 -2
- package/dist/chunks/{flag-gc4cg58p.js → generate-nxnknbkz.js} +3 -3
- package/dist/chunks/{flag-a4mv72m9.js → generate-nyaq81ym.js} +12 -12
- package/dist/chunks/{flag-3rf5qfwk.js → generate-p19gee5v.js} +81 -81
- package/dist/chunks/{flag-g2p49j0f.js → generate-p226zfgk.js} +35 -35
- package/dist/chunks/{flag-x9fv1e42.js → generate-p80jr482.js} +9 -9
- package/dist/chunks/{flag-bbt6d3ff.js → generate-p93dxgte.js} +12 -12
- package/dist/chunks/{flag-g4r0q9ck.js → generate-pb2qv814.js} +11 -11
- package/dist/chunks/{flag-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{flag-qnh56mex.js → generate-ppzna5v1.js} +9 -9
- package/dist/chunks/{flag-48s0mctq.js → generate-prv7x1qd.js} +57 -57
- package/dist/chunks/{flag-9wjxy1hh.js → generate-prvs07ja.js} +35 -35
- package/dist/chunks/{flag-vt2d6wap.js → generate-px7qpgcn.js} +4 -4
- package/dist/chunks/{flag-p7681246.js → generate-pz0qcv7x.js} +11 -11
- package/dist/chunks/{flag-ctvkzvzy.js → generate-q0ay0ecb.js} +21 -21
- package/dist/chunks/{flag-atsdz8km.js → generate-q2mm4tf5.js} +4 -4
- package/dist/chunks/{flag-q42tzrxa.js → generate-q42tzrxa.js} +1 -1
- package/dist/chunks/{flag-azhh0tf2.js → generate-q8h6h59n.js} +16 -16
- package/dist/chunks/{flag-yttt8yaa.js → generate-q9a1yc78.js} +11 -11
- package/dist/chunks/{flag-1ca7nfax.js → generate-qdcrye5d.js} +4 -4
- package/dist/chunks/{flag-qk5sk9d1.js → generate-qk5sk9d1.js} +2 -2
- package/dist/chunks/{flag-nvsbh4jb.js → generate-qmq2b5pj.js} +42 -42
- package/dist/chunks/{flag-qp7r0hxv.js → generate-qp7r0hxv.js} +1 -1
- package/dist/chunks/{flag-jg11hrrc.js → generate-qsdghx1p.js} +4 -4
- package/dist/chunks/{flag-3e52hnnt.js → generate-r6wpea8a.js} +6 -6
- package/dist/chunks/{flag-z6g4szpb.js → generate-r7r55277.js} +4 -4
- package/dist/chunks/{flag-n3j33rb6.js → generate-r7zrbnjn.js} +4 -4
- package/dist/chunks/{flag-xq7frb1f.js → generate-r8rxqbga.js} +20 -20
- package/dist/chunks/{flag-rb9dy4dg.js → generate-rb9dy4dg.js} +1 -1
- package/dist/chunks/{flag-xsact9zs.js → generate-rcbjwvze.js} +4 -4
- package/dist/chunks/{flag-rgc9cx3e.js → generate-rgc9cx3e.js} +2 -2
- package/dist/chunks/{flag-m1231s5x.js → generate-rj7jtxy8.js} +3 -3
- package/dist/chunks/{flag-bt9r6qej.js → generate-rp3cqjww.js} +28 -28
- package/dist/chunks/{flag-rt5dr6hb.js → generate-rt5dr6hb.js} +1 -1
- package/dist/chunks/{flag-r0w98kdj.js → generate-rtg8rw2d.js} +6 -6
- package/dist/chunks/{flag-fw3d54es.js → generate-rx45etqh.js} +15 -15
- package/dist/chunks/{flag-3ngrr6zm.js → generate-s0tde023.js} +4 -4
- package/dist/chunks/{flag-2p60zmnr.js → generate-s1ba0vj0.js} +2 -2
- package/dist/chunks/{flag-5whx36p1.js → generate-s47rahr7.js} +4 -4
- package/dist/chunks/{flag-a2br860z.js → generate-sb7b05v9.js} +30 -30
- package/dist/chunks/{flag-057bekvq.js → generate-sbshxsgc.js} +47 -47
- package/dist/chunks/{flag-sbya78hr.js → generate-sbya78hr.js} +1 -1
- package/dist/chunks/{flag-a3fn0gmm.js → generate-sdn2zcx3.js} +2 -2
- package/dist/chunks/{flag-z3za1g3d.js → generate-seegth4x.js} +14 -14
- package/dist/chunks/{flag-0php2d2a.js → generate-snpn28jx.js} +4 -4
- package/dist/chunks/{flag-r7rb1c30.js → generate-ss9vwvre.js} +28 -28
- package/dist/chunks/{flag-svcy3p9a.js → generate-svcy3p9a.js} +1 -1
- package/dist/chunks/{flag-7h22etv1.js → generate-t3qgac3j.js} +5 -5
- package/dist/chunks/{flag-dg6pkt06.js → generate-t5cytx0b.js} +9 -9
- package/dist/chunks/{flag-534p3jq9.js → generate-t6dd096c.js} +9 -9
- package/dist/chunks/{flag-td4h7x9e.js → generate-t8y1pdkx.js} +3 -3
- package/dist/chunks/{flag-tbpn7jtk.js → generate-tbpn7jtk.js} +1 -1
- package/dist/chunks/{flag-ryhr0j4c.js → generate-tcw4yczd.js} +17 -17
- package/dist/chunks/{flag-tczq8hjw.js → generate-tczq8hjw.js} +1 -1
- package/dist/chunks/{flag-6pb6w246.js → generate-tffrt4r0.js} +14 -14
- package/dist/chunks/{flag-tg7s7b5t.js → generate-tg7s7b5t.js} +1 -1
- package/dist/chunks/generate-tmq62n6y.js +577 -0
- package/dist/chunks/{flag-esmmqr2r.js → generate-tn3y9jr8.js} +49 -49
- package/dist/chunks/{flag-tvtps2q9.js → generate-tvtps2q9.js} +1 -1
- package/dist/chunks/{flag-twssxy5n.js → generate-twssxy5n.js} +2 -2
- package/dist/chunks/{flag-37qexgj9.js → generate-txywx0rx.js} +9 -9
- package/dist/chunks/{flag-fy6zdrgs.js → generate-v1z7sjbn.js} +9 -9
- package/dist/chunks/{flag-v2r1d0zg.js → generate-v2r1d0zg.js} +1 -1
- package/dist/chunks/{flag-qfsv5gqd.js → generate-v4rzj8yp.js} +2 -2
- package/dist/chunks/{flag-znrheh92.js → generate-v66a6a4c.js} +19 -19
- package/dist/chunks/{flag-vjf35v1f.js → generate-vjf35v1f.js} +1 -1
- package/dist/chunks/{flag-yepd7x5v.js → generate-vjhrddsw.js} +5 -5
- package/dist/chunks/{flag-y7ez90qx.js → generate-vjw8yvgq.js} +8 -8
- package/dist/chunks/{flag-2x3dh5kg.js → generate-vtsyv0pm.js} +27 -27
- package/dist/chunks/{flag-vm78n1xb.js → generate-w0nwcvx8.js} +32 -32
- package/dist/chunks/{flag-r41sfy63.js → generate-w2eysc6j.js} +6 -6
- package/dist/chunks/{flag-xrndcx13.js → generate-w399m5pa.js} +24 -24
- package/dist/chunks/{flag-dc4k9dtw.js → generate-w3d4q5je.js} +27 -27
- package/dist/chunks/{flag-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{flag-z8hr8e7v.js → generate-w5thapw1.js} +5 -5
- package/dist/chunks/{flag-2s9mae96.js → generate-w75qynz4.js} +3 -3
- package/dist/chunks/{flag-qah7t4da.js → generate-wa8k00xj.js} +6 -6
- package/dist/chunks/{flag-wakvkjy4.js → generate-wakvkjy4.js} +1 -1
- package/dist/chunks/{flag-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{flag-w7r5kjvg.js → generate-wdk75pse.js} +5 -5
- package/dist/chunks/{flag-g06jy8h3.js → generate-wdt5yby2.js} +4 -4
- package/dist/chunks/{flag-ectj0n0w.js → generate-wq7jk0rb.js} +19 -19
- package/dist/chunks/{flag-w687dnns.js → generate-wr3re1en.js} +4 -4
- package/dist/chunks/{flag-530xg6vw.js → generate-ww2p0375.js} +3 -3
- package/dist/chunks/{flag-q8b38pj7.js → generate-x3gcqgdc.js} +29 -29
- package/dist/chunks/{flag-w4xw9ac5.js → generate-x4mcewfn.js} +4 -4
- package/dist/chunks/{flag-twsyahft.js → generate-xbayxtxx.js} +7 -7
- package/dist/chunks/{flag-crf37bn8.js → generate-xdtmbx68.js} +19 -19
- package/dist/chunks/{flag-e8qzkdex.js → generate-xer2s2vf.js} +24 -24
- package/dist/chunks/generate-xf8wyx0s.js +273 -0
- package/dist/chunks/{flag-msd2a3qm.js → generate-xfzjavn6.js} +4 -4
- package/dist/chunks/{flag-64qpjjtt.js → generate-xn7cqzsq.js} +4 -4
- package/dist/chunks/{flag-hqxbrs6e.js → generate-xq2mgnnw.js} +40 -40
- package/dist/chunks/{flag-xg2v92w4.js → generate-xtjt9b77.js} +9 -9
- package/dist/chunks/{flag-me215f18.js → generate-xtq9xpt1.js} +1 -1
- package/dist/chunks/{flag-90w20xd3.js → generate-xw556w35.js} +11 -11
- package/dist/chunks/{flag-xjr6c8m4.js → generate-xxschbft.js} +4 -4
- package/dist/chunks/{flag-t48jrnqq.js → generate-y1n277rb.js} +3 -3
- package/dist/chunks/{flag-99tsxk4p.js → generate-y1v1ykp5.js} +20 -20
- package/dist/chunks/{flag-jdwh5k8d.js → generate-y23d6nr8.js} +45 -45
- package/dist/chunks/{flag-zw9cz4ve.js → generate-y3kr3mex.js} +10 -10
- package/dist/chunks/{flag-djkfnqtw.js → generate-y7r7rxjg.js} +17 -17
- package/dist/chunks/{flag-vt4r9rmy.js → generate-y9x9m3cp.js} +9 -9
- package/dist/chunks/{flag-yb20nhc3.js → generate-yb20nhc3.js} +1 -1
- package/dist/chunks/{flag-krw0phax.js → generate-yc51hh27.js} +33 -33
- package/dist/chunks/{flag-dc42dfn3.js → generate-ycqwv515.js} +27 -27
- package/dist/chunks/{flag-tfk87ts6.js → generate-ye1e8369.js} +30 -30
- package/dist/chunks/{flag-e39xtrnv.js → generate-yf4gsbp0.js} +1 -1
- package/dist/chunks/{flag-pzc35b9r.js → generate-ynhknnfk.js} +18 -18
- package/dist/chunks/{flag-27q4qgmv.js → generate-ypxepsrr.js} +12 -12
- package/dist/chunks/generate-yr1mjhsr.js +26 -0
- package/dist/chunks/{flag-yr705xyq.js → generate-yr705xyq.js} +1 -1
- package/dist/chunks/{flag-ycm7aaex.js → generate-ytkqwx1v.js} +5 -5
- package/dist/chunks/{flag-yvtc2x31.js → generate-yvtc2x31.js} +1 -1
- package/dist/chunks/{flag-sv418x6v.js → generate-z2ew37v2.js} +92 -92
- package/dist/chunks/{flag-2zarxrf9.js → generate-z2vg6ab4.js} +31 -31
- package/dist/chunks/{flag-cx5bqfs5.js → generate-z4bt87k0.js} +20 -20
- package/dist/chunks/{flag-7q2mwnxg.js → generate-z8sa2b0a.js} +3 -3
- package/dist/chunks/{flag-by8ty0bx.js → generate-zpdbqgja.js} +4 -4
- package/dist/chunks/{flag-nemnqzpn.js → generate-zybtfqav.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +88 -88
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +133 -133
- package/dist/config/plugin/command.js +240 -240
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +132 -132
- package/dist/config/plugin/mcp.js +145 -145
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +132 -132
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +156 -156
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +134 -134
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +133 -133
- 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 +81 -81
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +108 -108
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +441 -441
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +83 -83
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +89 -89
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +253 -253
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +118 -118
- package/dist/flag.js +135 -135
- package/dist/form.js +89 -89
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +122 -122
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +104 -104
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +432 -432
- package/dist/instruction-discovery.js +91 -91
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +183 -183
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +429 -429
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +104 -104
- package/dist/mcp/index.js +120 -120
- package/dist/mcp/instructions.js +185 -185
- 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 +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +111 -111
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +121 -121
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +154 -154
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- 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 +3 -3
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +410 -410
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +115 -115
- 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 +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +6 -6
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +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 +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -138
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode-watches.js +4 -4
- package/dist/plugin/provider/opencode.js +161 -161
- 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 -239
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +420 -420
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +9 -9
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +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 +255 -255
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +103 -103
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +111 -111
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +111 -111
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +263 -263
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +3 -3
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +248 -248
- package/dist/session/execution.js +167 -167
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +146 -146
- 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 +146 -146
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +171 -171
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +3 -3
- 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 +87 -87
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +249 -249
- package/dist/session/usage.js +1 -1
- package/dist/session.js +239 -239
- 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 +11 -11
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +159 -159
- package/dist/snapshot.js +98 -98
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +186 -186
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +172 -172
- 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 +149 -149
- 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 +242 -242
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +158 -158
- package/dist/tool/plugin/websearch.js +158 -158
- 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 +165 -165
- package/dist/usage-limits.js +98 -98
- 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 +105 -105
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +101 -101
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +8 -8
- package/dist/chunks/flag-6bshxcsx.js +0 -18
- package/dist/chunks/flag-6qvbbm8z.js +0 -577
- package/dist/chunks/flag-bz2nnsbp.js +0 -273
- package/dist/chunks/flag-kda55mjf.js +0 -35
- package/dist/chunks/flag-pckc3j00.js +0 -26
- /package/dist/chunks/{flag-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{flag-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{flag-108x4f4w.js → generate-108x4f4w.js} +0 -0
- /package/dist/chunks/{flag-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{flag-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{flag-1kah00gy.js → generate-1kah00gy.js} +0 -0
- /package/dist/chunks/{flag-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{flag-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{flag-2bv980vf.js → generate-2bv980vf.js} +0 -0
- /package/dist/chunks/{flag-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{flag-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{flag-3af0jn4w.js → generate-3af0jn4w.js} +0 -0
- /package/dist/chunks/{flag-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{flag-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{flag-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{flag-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{flag-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{flag-4qk9sjk2.js → generate-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{flag-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{flag-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{flag-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{flag-5w3e23ze.js → generate-5w3e23ze.js} +0 -0
- /package/dist/chunks/{flag-6agm2x70.js → generate-6agm2x70.js} +0 -0
- /package/dist/chunks/{flag-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{flag-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{flag-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{flag-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{flag-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{flag-84wd9syh.js → generate-84wd9syh.js} +0 -0
- /package/dist/chunks/{flag-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{flag-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{flag-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{flag-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{flag-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{flag-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{flag-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{flag-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{flag-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{flag-beh6qq61.js → generate-beh6qq61.js} +0 -0
- /package/dist/chunks/{flag-bhmrqjy3.js → generate-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{flag-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{flag-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{flag-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{flag-cqv5kn06.js → generate-cqv5kn06.js} +0 -0
- /package/dist/chunks/{flag-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{flag-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{flag-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{flag-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{flag-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{flag-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{flag-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{flag-ean2d8b5.js → generate-ean2d8b5.js} +0 -0
- /package/dist/chunks/{flag-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{flag-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{flag-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{flag-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{flag-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{flag-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{flag-fkpq3x5p.js → generate-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{flag-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{flag-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{flag-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{flag-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{flag-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
- /package/dist/chunks/{flag-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{flag-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{flag-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{flag-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{flag-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{flag-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{flag-jwr30sdr.js → generate-jwr30sdr.js} +0 -0
- /package/dist/chunks/{flag-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{flag-m18g726c.js → generate-m18g726c.js} +0 -0
- /package/dist/chunks/{flag-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{flag-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{flag-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{flag-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{flag-nh4v3znn.js → generate-nh4v3znn.js} +0 -0
- /package/dist/chunks/{flag-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{flag-p71gwv9c.js → generate-p71gwv9c.js} +0 -0
- /package/dist/chunks/{flag-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{flag-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{flag-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{flag-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{flag-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{flag-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{flag-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{flag-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{flag-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{flag-syrav9an.js → generate-syrav9an.js} +0 -0
- /package/dist/chunks/{flag-t03h4f5z.js → generate-t03h4f5z.js} +0 -0
- /package/dist/chunks/{flag-ty7weeps.js → generate-ty7weeps.js} +0 -0
- /package/dist/chunks/{flag-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
- /package/dist/chunks/{flag-vtarvj67.js → generate-vtarvj67.js} +0 -0
- /package/dist/chunks/{flag-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{flag-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{flag-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{flag-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{flag-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{flag-x4th4bpe.js → generate-x4th4bpe.js} +0 -0
- /package/dist/chunks/{flag-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{flag-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{flag-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{flag-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{flag-z0h12gs8.js → generate-z0h12gs8.js} +0 -0
- /package/dist/chunks/{flag-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{flag-z9919s4g.js → generate-z9919s4g.js} +0 -0
- /package/dist/chunks/{flag-zxpyjp51.js → generate-zxpyjp51.js} +0 -0
- /package/dist/chunks/{flag-zz5vv3aq.js → generate-zz5vv3aq.js} +0 -0
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service93,
|
|
6
|
+
node95
|
|
7
|
+
} from "./generate-nyaq81ym.js";
|
|
8
8
|
import {
|
|
9
9
|
Service92,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
node94
|
|
11
|
+
} from "./generate-hm0j9vjd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service94,
|
|
14
|
+
node96
|
|
15
|
+
} from "./generate-p93dxgte.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID22,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info32,
|
|
20
20
|
UpdateInput5,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-963hk181.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./generate-aj7mw0zk.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./generate-bb3mmwvh.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./generate-3cbjf1nt.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./generate-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
40
40
|
__export(exports_project, {
|
|
41
41
|
ACTIVATE_INTERVAL: () => ACTIVATE_INTERVAL2,
|
|
42
42
|
Current: () => Current2,
|
|
43
|
-
ID: () =>
|
|
44
|
-
Info: () =>
|
|
43
|
+
ID: () => ID21,
|
|
44
|
+
Info: () => Info31,
|
|
45
45
|
NotFoundError: () => NotFoundError14,
|
|
46
46
|
Project: () => exports_project,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service91,
|
|
48
48
|
UpdateInput: () => UpdateInput4,
|
|
49
49
|
Vcs: () => Vcs2,
|
|
50
|
-
configured: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
configured: () => configured12,
|
|
51
|
+
node: () => node93,
|
|
52
52
|
root: () => root2,
|
|
53
53
|
sweepNode: () => sweepNode2
|
|
54
54
|
});
|
|
@@ -61,14 +61,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
61
61
|
import { AppProcess } from "@opencode/util/process";
|
|
62
62
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { Hash } from "@opencode/util/hash";
|
|
64
|
-
var
|
|
64
|
+
var ID21 = ID22;
|
|
65
65
|
var Vcs2 = Vcs3;
|
|
66
66
|
var Current2 = Current3;
|
|
67
|
-
var
|
|
67
|
+
var Info31 = Info32;
|
|
68
68
|
var UpdateInput4 = UpdateInput5;
|
|
69
69
|
|
|
70
70
|
class NotFoundError14 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
71
|
-
projectID:
|
|
71
|
+
projectID: ID21
|
|
72
72
|
}) {
|
|
73
73
|
}
|
|
74
74
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
|
|
|
87
87
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
88
88
|
var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service91 extends Context.Service()("@opencode/Project") {
|
|
91
91
|
}
|
|
92
92
|
function fromRow(row) {
|
|
93
93
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -111,13 +111,13 @@ function fromRow(row) {
|
|
|
111
111
|
sandboxes: row.sandboxes
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service91, Effect.gen(function* () {
|
|
115
115
|
const now = yield* Now;
|
|
116
116
|
const fs = yield* FSUtil.Service;
|
|
117
|
-
const git = yield*
|
|
117
|
+
const git = yield* Service94;
|
|
118
118
|
const proc = yield* AppProcess.Service;
|
|
119
119
|
const bus = yield* Service92;
|
|
120
|
-
const db = (yield*
|
|
120
|
+
const db = (yield* Service93).db;
|
|
121
121
|
const scope = yield* Scope.Scope;
|
|
122
122
|
const announcing = new Set;
|
|
123
123
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -164,7 +164,7 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
|
|
|
164
164
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
165
165
|
projectID: item.projectID,
|
|
166
166
|
directory: item.directory,
|
|
167
|
-
previous: project.previous ??
|
|
167
|
+
previous: project.previous ?? ID21.global,
|
|
168
168
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
169
169
|
}, {
|
|
170
170
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
|
|
|
208
208
|
return options?.forkIn ? write.pipe(Effect.forkIn(options.forkIn), Effect.asVoid) : write;
|
|
209
209
|
});
|
|
210
210
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
211
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
211
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID21.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
212
212
|
return;
|
|
213
213
|
}));
|
|
214
214
|
});
|
|
@@ -219,7 +219,7 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
|
|
|
219
219
|
const normalized = url(origin);
|
|
220
220
|
if (!normalized)
|
|
221
221
|
return;
|
|
222
|
-
return
|
|
222
|
+
return ID21.make(Hash.fast(`git-remote:${normalized}`));
|
|
223
223
|
});
|
|
224
224
|
function url(input) {
|
|
225
225
|
const value = input.trim();
|
|
@@ -244,7 +244,7 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
|
|
|
244
244
|
}
|
|
245
245
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
246
246
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
247
|
-
return root ?
|
|
247
|
+
return root ? ID21.make(root) : undefined;
|
|
248
248
|
});
|
|
249
249
|
const gitDiscover = Effect.fnUntraced(function* (dotGit) {
|
|
250
250
|
const repo = yield* git.repo.discover(AbsolutePath2.make(path.dirname(dotGit)));
|
|
@@ -260,7 +260,7 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
|
|
|
260
260
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), fallback(repo.worktree));
|
|
261
261
|
const resolved = {
|
|
262
262
|
previous,
|
|
263
|
-
id: id ??
|
|
263
|
+
id: id ?? ID21.global,
|
|
264
264
|
directory: repo.worktree,
|
|
265
265
|
canonical,
|
|
266
266
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -285,7 +285,7 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
|
|
|
285
285
|
return;
|
|
286
286
|
const node = result.stdout.toString("utf8").split(`
|
|
287
287
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
288
|
-
return node ?
|
|
288
|
+
return node ? ID21.make(node) : undefined;
|
|
289
289
|
});
|
|
290
290
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
291
291
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -293,7 +293,7 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
|
|
|
293
293
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
294
294
|
return {
|
|
295
295
|
previous,
|
|
296
|
-
id: id ??
|
|
296
|
+
id: id ?? ID21.global,
|
|
297
297
|
directory: worktree,
|
|
298
298
|
vcs: { type: "hg", store: dotHg }
|
|
299
299
|
};
|
|
@@ -320,7 +320,7 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
|
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
322
|
return yield* save({
|
|
323
|
-
id:
|
|
323
|
+
id: ID21.make(Hash.fast(`directory:${directory}`)),
|
|
324
324
|
directory,
|
|
325
325
|
canonical: directory,
|
|
326
326
|
vcs: undefined
|
|
@@ -329,7 +329,7 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
|
|
|
329
329
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
330
330
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
331
331
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
332
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
332
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID21.global))).all().pipe(Effect.orDie);
|
|
333
333
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
334
334
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
335
335
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -345,23 +345,23 @@ var layer = Layer.effect(Service90, Effect.gen(function* () {
|
|
|
345
345
|
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
346
346
|
}), { concurrency: 8, discard: true });
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service91.of({ list, update, activate, resolve, sweep });
|
|
349
349
|
}));
|
|
350
|
-
function
|
|
350
|
+
function configured12(options) {
|
|
351
351
|
return makeGlobalNode({
|
|
352
|
-
service:
|
|
352
|
+
service: Service91,
|
|
353
353
|
layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
|
|
354
|
-
deps: [
|
|
354
|
+
deps: [node94, node95, FSUtil.node, node96, AppProcess.node]
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
-
var
|
|
357
|
+
var node93 = configured12();
|
|
358
358
|
var sweepNode2 = makeGlobalNode({
|
|
359
359
|
name: "project-archive-sweep",
|
|
360
360
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
361
|
-
const project = yield*
|
|
361
|
+
const project = yield* Service91;
|
|
362
362
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
363
363
|
})),
|
|
364
|
-
deps: [
|
|
364
|
+
deps: [node93]
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
export {
|
|
367
|
+
export { ID21, Vcs2, Current2, Info31, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2, Service91, configured12, node93, sweepNode2, exports_project };
|
|
@@ -1,115 +1,115 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service93,
|
|
3
|
+
node95
|
|
4
|
+
} from "./generate-nyaq81ym.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service90,
|
|
7
|
+
node92
|
|
8
|
+
} from "./generate-6ckp78eg.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref3,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service81,
|
|
13
|
+
node83
|
|
14
|
+
} from "./generate-egt6q40c.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID20,
|
|
17
|
+
Service86,
|
|
18
|
+
node88
|
|
19
|
+
} from "./generate-1kg12bjk.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./generate-ww2p0375.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./generate-r7zrbnjn.js";
|
|
26
26
|
import {
|
|
27
27
|
entriesForRunner2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./generate-np21b56f.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
30
|
+
Service63,
|
|
31
|
+
node64
|
|
32
|
+
} from "./generate-rx45etqh.js";
|
|
33
33
|
import {
|
|
34
34
|
merge2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./generate-bwjp1mht.js";
|
|
36
36
|
import {
|
|
37
37
|
make25
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./generate-hfva79zk.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
40
|
+
Service42,
|
|
41
|
+
node45
|
|
42
|
+
} from "./generate-b8qxczg7.js";
|
|
43
43
|
import {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
} from "./
|
|
44
|
+
Service31,
|
|
45
|
+
node35
|
|
46
|
+
} from "./generate-3wejz62g.js";
|
|
47
47
|
import {
|
|
48
|
-
|
|
49
|
-
node63
|
|
50
|
-
} from "./flag-ptsc7pw2.js";
|
|
51
|
-
import {
|
|
52
|
-
Service59,
|
|
48
|
+
Service60,
|
|
53
49
|
node61
|
|
54
|
-
} from "./
|
|
50
|
+
} from "./generate-1q97ba4q.js";
|
|
55
51
|
import {
|
|
56
|
-
|
|
52
|
+
Service57,
|
|
53
|
+
node59
|
|
54
|
+
} from "./generate-4bzsr30v.js";
|
|
55
|
+
import {
|
|
56
|
+
Service37,
|
|
57
57
|
node40
|
|
58
|
-
} from "./
|
|
58
|
+
} from "./generate-prvs07ja.js";
|
|
59
59
|
import {
|
|
60
|
-
|
|
60
|
+
Service36,
|
|
61
61
|
node39
|
|
62
|
-
} from "./
|
|
62
|
+
} from "./generate-v66a6a4c.js";
|
|
63
63
|
import {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
} from "./
|
|
64
|
+
Service30,
|
|
65
|
+
node34
|
|
66
|
+
} from "./generate-ynhknnfk.js";
|
|
67
67
|
import {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
} from "./
|
|
68
|
+
Service41,
|
|
69
|
+
node44
|
|
70
|
+
} from "./generate-82mtgeep.js";
|
|
71
71
|
import {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
} from "./
|
|
72
|
+
Service32,
|
|
73
|
+
node36
|
|
74
|
+
} from "./generate-mmpy448n.js";
|
|
75
75
|
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
} from "./
|
|
76
|
+
Service33,
|
|
77
|
+
node37
|
|
78
|
+
} from "./generate-46n8akm8.js";
|
|
79
79
|
import {
|
|
80
80
|
__export
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./generate-9rqn6x4v.js";
|
|
82
82
|
|
|
83
83
|
// src/session/context.ts
|
|
84
84
|
var exports_context = {};
|
|
85
85
|
__export(exports_context, {
|
|
86
|
-
Service: () =>
|
|
86
|
+
Service: () => Service29,
|
|
87
87
|
SessionContext: () => exports_context,
|
|
88
|
-
node: () =>
|
|
88
|
+
node: () => node33
|
|
89
89
|
});
|
|
90
90
|
import { Context, Effect, Layer } from "effect";
|
|
91
91
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
92
|
-
class
|
|
92
|
+
class Service29 extends Context.Service()("@opencode/SessionContext") {
|
|
93
93
|
}
|
|
94
|
-
var layer = Layer.effect(
|
|
95
|
-
const agents = yield*
|
|
96
|
-
const builtins = yield*
|
|
97
|
-
const model = yield*
|
|
98
|
-
const db = (yield*
|
|
99
|
-
const discovery = yield*
|
|
100
|
-
const entries = yield*
|
|
101
|
-
const location = yield*
|
|
102
|
-
const mcpInstructions = yield*
|
|
103
|
-
const mcpTools = yield*
|
|
104
|
-
const models = yield*
|
|
105
|
-
const request = yield*
|
|
106
|
-
const referenceInstructions = yield*
|
|
107
|
-
const skillInstructions = yield*
|
|
108
|
-
const store = yield*
|
|
109
|
-
const registry = yield*
|
|
94
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
95
|
+
const agents = yield* Service86;
|
|
96
|
+
const builtins = yield* Service31;
|
|
97
|
+
const model = yield* Service81;
|
|
98
|
+
const db = (yield* Service93).db;
|
|
99
|
+
const discovery = yield* Service42;
|
|
100
|
+
const entries = yield* Service32;
|
|
101
|
+
const location = yield* Service90;
|
|
102
|
+
const mcpInstructions = yield* Service36;
|
|
103
|
+
const mcpTools = yield* Service37;
|
|
104
|
+
const models = yield* Service60;
|
|
105
|
+
const request = yield* Service33;
|
|
106
|
+
const referenceInstructions = yield* Service30;
|
|
107
|
+
const skillInstructions = yield* Service41;
|
|
108
|
+
const store = yield* Service63;
|
|
109
|
+
const registry = yield* Service57;
|
|
110
110
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
111
111
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
112
|
-
const agent = yield* agents.get(
|
|
112
|
+
const agent = yield* agents.get(ID20.make("title"));
|
|
113
113
|
if (!agent)
|
|
114
114
|
return;
|
|
115
115
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
191
191
|
tools: selection.tools
|
|
192
192
|
};
|
|
193
193
|
});
|
|
194
|
-
return
|
|
194
|
+
return Service29.of({ select, load, resolveModel, selectTitle, request });
|
|
195
195
|
}));
|
|
196
196
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
197
197
|
var minimalVariant = (info) => MINIMAL_REASONING_VARIANTS.find((id) => info.variants.some((item) => item.id === id));
|
|
@@ -199,26 +199,26 @@ var lowerVariant = (info, selected) => {
|
|
|
199
199
|
const rank = (id) => info.variants.findIndex((item) => item.id === id);
|
|
200
200
|
return MINIMAL_REASONING_VARIANTS.find((id) => rank(id) !== -1 && (id !== "low" || rank(id) < rank(selected)));
|
|
201
201
|
};
|
|
202
|
-
var
|
|
203
|
-
service:
|
|
202
|
+
var node33 = makeLocationNode({
|
|
203
|
+
service: Service29,
|
|
204
204
|
layer,
|
|
205
205
|
deps: [
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
206
|
+
node88,
|
|
207
|
+
node83,
|
|
208
|
+
node95,
|
|
209
|
+
node35,
|
|
210
|
+
node45,
|
|
211
|
+
node36,
|
|
212
|
+
node92,
|
|
213
213
|
node39,
|
|
214
214
|
node40,
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
215
|
+
node34,
|
|
216
|
+
node61,
|
|
217
|
+
node37,
|
|
218
|
+
node64,
|
|
219
|
+
node44,
|
|
220
|
+
node59
|
|
221
221
|
]
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
export {
|
|
224
|
+
export { Service29, node33, exports_context };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RecoverySchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-xtq9xpt1.js";
|
|
4
4
|
import {
|
|
5
5
|
JobTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-kzczzf4v.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/job/list.ts
|
|
12
12
|
var exports_list = {};
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-svcy3p9a.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-vtsyv0pm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./generate-egt6q40c.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin52,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -27,10 +27,10 @@ var gateways = new Set([
|
|
|
27
27
|
"@opencode/ai/providers/vercel-ai-gateway",
|
|
28
28
|
aisdk2("@ai-sdk/gateway")
|
|
29
29
|
]);
|
|
30
|
-
var
|
|
30
|
+
var Plugin52 = define({
|
|
31
31
|
id: "opencode.prompt.verbosity",
|
|
32
32
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
33
|
-
const models = yield*
|
|
33
|
+
const models = yield* Service81;
|
|
34
34
|
const hook = (event) => Effect.gen(function* () {
|
|
35
35
|
if (event.options.textVerbosity !== undefined)
|
|
36
36
|
return;
|
|
@@ -70,4 +70,4 @@ function openAIModelID(model) {
|
|
|
70
70
|
return id.slice("openai/".length);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Plugin52, exports_verbosity };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_SEARCH_TIMEOUT_MS2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-6m2pr9vb.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/search.ts
|
|
12
12
|
var exports_search = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service93,
|
|
3
|
+
node95
|
|
4
|
+
} from "./generate-nyaq81ym.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-27w5k9zf.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
16
|
ID: () => ID12,
|
|
17
|
-
Info: () =>
|
|
18
|
-
NotFoundError: () =>
|
|
17
|
+
Info: () => Info14,
|
|
18
|
+
NotFoundError: () => NotFoundError10,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service62,
|
|
21
|
+
node: () => node63
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -26,9 +26,9 @@ import { isSqlError } from "effect/sql/SqlError";
|
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
28
|
var ID12 = PermissionSaved.ID;
|
|
29
|
-
var
|
|
29
|
+
var Info14 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class NotFoundError10 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
32
|
id: ID12
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
@@ -40,10 +40,10 @@ class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError
|
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service62 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const db = (yield*
|
|
45
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
46
|
+
const db = (yield* Service93).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
49
49
|
return rows.map(info);
|
|
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
61
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
62
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
63
63
|
if (!current)
|
|
64
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError10({ id: input.id });
|
|
65
65
|
const action = input.action ?? current.action;
|
|
66
66
|
const resource = input.resource ?? current.resource;
|
|
67
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
68
68
|
if (!updated)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError10({ id: input.id });
|
|
70
70
|
return info(updated);
|
|
71
71
|
});
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service62.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node63 = makeGlobalNode({ service: Service62, layer, deps: [node95] });
|
|
94
94
|
|
|
95
|
-
export { ID12,
|
|
95
|
+
export { ID12, Info14, NotFoundError10, ConflictError2, Service62, node63, exports_saved };
|