@opencode/core 0.0.0-dev-1000 → 0.0.0-dev-1001
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 +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +5 -5
- package/dist/artifact.js +252 -252
- package/dist/bus.js +86 -86
- package/dist/chunks/{formatter-73z6c2kb.js → persistent-pty-05pxn8vz.js} +18 -18
- package/dist/chunks/{formatter-td89d4z5.js → persistent-pty-0a0gkp3j.js} +3 -3
- package/dist/chunks/{formatter-3ce8cybv.js → persistent-pty-0crsys4t.js} +33 -33
- package/dist/chunks/{formatter-2pf3d9w0.js → persistent-pty-0f8rwma6.js} +9 -9
- package/dist/chunks/{formatter-sqjzf8x2.js → persistent-pty-0j7gp832.js} +4 -4
- package/dist/chunks/{formatter-j5679jb1.js → persistent-pty-0kj5gze3.js} +28 -28
- package/dist/chunks/{formatter-0ma9gw4f.js → persistent-pty-0ma9gw4f.js} +2 -2
- package/dist/chunks/{formatter-4a5wwhqd.js → persistent-pty-0z709a3t.js} +19 -19
- package/dist/chunks/{formatter-4ey40yhv.js → persistent-pty-19tdv85a.js} +12 -12
- package/dist/chunks/{formatter-1aqsckx4.js → persistent-pty-1aqsckx4.js} +1 -1
- package/dist/chunks/{formatter-c3kv2ng3.js → persistent-pty-1ehex3va.js} +48 -48
- package/dist/chunks/{formatter-876f3pba.js → persistent-pty-1jm0cvp0.js} +45 -45
- package/dist/chunks/{formatter-9ck5ta0b.js → persistent-pty-1n0t2dr2.js} +11 -11
- package/dist/chunks/{formatter-62zd5tzk.js → persistent-pty-1q07fp1w.js} +7 -7
- package/dist/chunks/{formatter-spysdwxw.js → persistent-pty-1sfa5jwh.js} +11 -11
- package/dist/chunks/{formatter-1x2knyw4.js → persistent-pty-1x2knyw4.js} +1 -1
- package/dist/chunks/{formatter-27w5k9zf.js → persistent-pty-27w5k9zf.js} +2 -2
- package/dist/chunks/{formatter-9sc6v20b.js → persistent-pty-28exm1wx.js} +8 -8
- package/dist/chunks/{formatter-cwxgb76q.js → persistent-pty-28graymx.js} +16 -16
- package/dist/chunks/{formatter-3typ3c0r.js → persistent-pty-2eyh4jfa.js} +54 -54
- package/dist/chunks/{formatter-2fc7eemy.js → persistent-pty-2fc7eemy.js} +1 -1
- package/dist/chunks/{formatter-y4q0dy5c.js → persistent-pty-2k6nhgwk.js} +10 -10
- package/dist/chunks/{formatter-2p60zmnr.js → persistent-pty-2p60zmnr.js} +2 -2
- package/dist/chunks/{formatter-jesp4d5t.js → persistent-pty-2qz9f4gt.js} +13 -13
- package/dist/chunks/{formatter-ktck1cjp.js → persistent-pty-2s9mae96.js} +6 -6
- package/dist/chunks/{formatter-t5bgd45j.js → persistent-pty-2wpnxafc.js} +25 -25
- package/dist/chunks/{formatter-yp49h7c2.js → persistent-pty-326zmjck.js} +18 -18
- package/dist/chunks/{formatter-w5644fpa.js → persistent-pty-36twwwv3.js} +14 -14
- package/dist/chunks/{formatter-zybtfqav.js → persistent-pty-38atze3s.js} +4 -4
- package/dist/chunks/{formatter-ppxnxwv1.js → persistent-pty-3c8g2tnf.js} +5 -5
- package/dist/chunks/{formatter-3cbjf1nt.js → persistent-pty-3cbjf1nt.js} +2 -2
- package/dist/chunks/{formatter-zgggygp6.js → persistent-pty-3cg8fg0c.js} +63 -63
- package/dist/chunks/{formatter-ngrebpwy.js → persistent-pty-3e280y98.js} +43 -43
- package/dist/chunks/{formatter-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{formatter-hjjbn57r.js → persistent-pty-3mk2b9as.js} +24 -24
- package/dist/chunks/{formatter-3nnrz6f6.js → persistent-pty-3nnrz6f6.js} +1 -1
- package/dist/chunks/{formatter-06qmw3p1.js → persistent-pty-3q2tc700.js} +18 -18
- package/dist/chunks/{formatter-g9wg3nve.js → persistent-pty-3y2jck2f.js} +19 -19
- package/dist/chunks/{formatter-40y6dtc2.js → persistent-pty-40y6dtc2.js} +1 -1
- package/dist/chunks/{formatter-dj2xpa7h.js → persistent-pty-411zae40.js} +15 -15
- package/dist/chunks/{formatter-xf9v85d0.js → persistent-pty-41r3119g.js} +16 -16
- package/dist/chunks/{formatter-7952znqf.js → persistent-pty-41w8hyyz.js} +50 -50
- package/dist/chunks/{formatter-44pmzq9c.js → persistent-pty-44pmzq9c.js} +2 -2
- package/dist/chunks/{formatter-4dx1dgte.js → persistent-pty-4dx1dgte.js} +1 -1
- package/dist/chunks/{formatter-r542h3bh.js → persistent-pty-4f25tdd0.js} +5 -5
- package/dist/chunks/{formatter-teav1bzy.js → persistent-pty-4g3sdj5g.js} +9 -9
- package/dist/chunks/{formatter-sgjmhqfs.js → persistent-pty-4h0enmab.js} +2 -2
- package/dist/chunks/{formatter-4pyp9zr9.js → persistent-pty-4pyp9zr9.js} +1 -1
- package/dist/chunks/{formatter-e565ng7j.js → persistent-pty-4r500enn.js} +5 -5
- package/dist/chunks/{formatter-4v008n1t.js → persistent-pty-4v008n1t.js} +1 -1
- package/dist/chunks/{formatter-hdbr8b2x.js → persistent-pty-4wcdsfwx.js} +23 -23
- package/dist/chunks/{formatter-4ep1bc72.js → persistent-pty-4z750faw.js} +31 -31
- package/dist/chunks/{formatter-3zabr8p3.js → persistent-pty-50mnmyd9.js} +1 -1
- package/dist/chunks/{formatter-85cp97b5.js → persistent-pty-55g2q5p5.js} +2 -2
- package/dist/chunks/{formatter-n73t8fdt.js → persistent-pty-57jnzfmk.js} +8 -8
- package/dist/chunks/{formatter-2y5jks6s.js → persistent-pty-5bqwv307.js} +15 -15
- package/dist/chunks/{formatter-5gremw96.js → persistent-pty-5ct60pxm.js} +88 -88
- package/dist/chunks/{formatter-3ntc2dpd.js → persistent-pty-5jmte679.js} +9 -9
- package/dist/chunks/{formatter-sbegqkxp.js → persistent-pty-5m6a7xby.js} +6 -6
- package/dist/chunks/{formatter-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{formatter-0kz4dby5.js → persistent-pty-5mm5whnz.js} +59 -59
- package/dist/chunks/{formatter-6yj5npp1.js → persistent-pty-5thev09r.js} +8 -8
- package/dist/chunks/{formatter-x3pt7j9x.js → persistent-pty-5ydr728e.js} +12 -12
- package/dist/chunks/{formatter-gtff6ewa.js → persistent-pty-60cxrsw5.js} +39 -39
- package/dist/chunks/{formatter-fb37jbgj.js → persistent-pty-61ewkrrx.js} +10 -10
- package/dist/chunks/{formatter-4ypwwgtd.js → persistent-pty-61gm9nf9.js} +11 -11
- package/dist/chunks/{formatter-z8vnk1eq.js → persistent-pty-64dbdwzt.js} +41 -41
- package/dist/chunks/{formatter-rqc2g2wc.js → persistent-pty-67dpx2gv.js} +36 -36
- package/dist/chunks/{formatter-n1w1hn4x.js → persistent-pty-69p42xfb.js} +12 -12
- package/dist/chunks/{formatter-3r7kkjbz.js → persistent-pty-6ayvzx6j.js} +11 -11
- package/dist/chunks/{formatter-1vjyth2v.js → persistent-pty-6d8ta6s6.js} +4 -4
- package/dist/chunks/{formatter-3rapmj7b.js → persistent-pty-6dwjhfha.js} +8 -8
- package/dist/chunks/{formatter-z3mh44a3.js → persistent-pty-6n3nfrzz.js} +36 -36
- package/dist/chunks/{formatter-capaz2y0.js → persistent-pty-6s53nrwj.js} +19 -19
- package/dist/chunks/{formatter-v5ncnv4t.js → persistent-pty-6sk4m11q.js} +5 -5
- package/dist/chunks/{formatter-29eg20zk.js → persistent-pty-6ta9r7gp.js} +27 -27
- package/dist/chunks/{formatter-775hqbnd.js → persistent-pty-775hqbnd.js} +3 -3
- package/dist/chunks/{formatter-ad21nhqb.js → persistent-pty-775jq4ej.js} +23 -23
- package/dist/chunks/{formatter-t3exdb07.js → persistent-pty-7a2ka1sn.js} +47 -47
- package/dist/chunks/{formatter-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{formatter-2xz108rz.js → persistent-pty-7e2ey0zw.js} +37 -37
- package/dist/chunks/{formatter-4w8vg081.js → persistent-pty-7eerh7s0.js} +26 -26
- package/dist/chunks/{formatter-xh3q0y32.js → persistent-pty-7k74x5pp.js} +27 -27
- package/dist/chunks/{formatter-cmz2nc3h.js → persistent-pty-7mx101t4.js} +12 -12
- package/dist/chunks/{formatter-2av63krf.js → persistent-pty-7pa1k1e1.js} +16 -16
- package/dist/chunks/{formatter-7w2ypzdf.js → persistent-pty-7w2ypzdf.js} +1 -1
- package/dist/chunks/{formatter-7weczvnd.js → persistent-pty-7weczvnd.js} +1 -1
- package/dist/chunks/{formatter-80pdk984.js → persistent-pty-80pdk984.js} +1 -1
- package/dist/chunks/{formatter-4q6sz825.js → persistent-pty-810r6svr.js} +6 -6
- package/dist/chunks/{formatter-apvytp1g.js → persistent-pty-82rsrcxe.js} +3 -3
- package/dist/chunks/{formatter-25h84942.js → persistent-pty-8b3vzgkx.js} +4 -4
- package/dist/chunks/{formatter-xtvtqcka.js → persistent-pty-8brzdc2y.js} +10 -10
- package/dist/chunks/{formatter-xeq6287g.js → persistent-pty-8cb4yb7e.js} +4 -4
- package/dist/chunks/{formatter-jrq87v6s.js → persistent-pty-8ekd8bzf.js} +41 -41
- package/dist/chunks/{formatter-hy5qnnb4.js → persistent-pty-8npv4741.js} +4 -4
- package/dist/chunks/{formatter-avxgj5k3.js → persistent-pty-8pnsnq7c.js} +17 -17
- package/dist/chunks/{formatter-m0j052e2.js → persistent-pty-8tsmr06w.js} +35 -35
- package/dist/chunks/{formatter-8wtp7s3z.js → persistent-pty-8wtp7s3z.js} +1 -1
- package/dist/chunks/{formatter-nd5mww8x.js → persistent-pty-8xb43s2n.js} +10 -10
- package/dist/chunks/{formatter-8z6m94af.js → persistent-pty-8z6m94af.js} +3 -3
- package/dist/chunks/{formatter-8zv0xmg5.js → persistent-pty-8zv0xmg5.js} +1 -1
- package/dist/chunks/{formatter-m7hdyrq0.js → persistent-pty-93a1cc45.js} +17 -17
- package/dist/chunks/{formatter-4spksd2a.js → persistent-pty-93svqncp.js} +25 -25
- package/dist/chunks/{formatter-94e33dpz.js → persistent-pty-94e33dpz.js} +3 -3
- package/dist/chunks/{formatter-9kykmj99.js → persistent-pty-985dq78n.js} +5 -5
- package/dist/chunks/{formatter-ss7teg2v.js → persistent-pty-993eq5vv.js} +15 -15
- package/dist/chunks/{formatter-rktffvav.js → persistent-pty-99dq0j2d.js} +4 -4
- package/dist/chunks/{formatter-13mw6316.js → persistent-pty-99eawj82.js} +11 -11
- package/dist/chunks/{formatter-x4khej13.js → persistent-pty-99gcf0jn.js} +26 -26
- package/dist/chunks/{formatter-qecvj5ce.js → persistent-pty-9carcsz7.js} +23 -23
- package/dist/chunks/{formatter-zajwpna7.js → persistent-pty-9h6njyp5.js} +30 -30
- package/dist/chunks/{formatter-dpg896t5.js → persistent-pty-9meb4zc7.js} +16 -16
- package/dist/chunks/{formatter-z3abgc2x.js → persistent-pty-9vk6zt3b.js} +37 -37
- package/dist/chunks/{formatter-5p1pxqys.js → persistent-pty-9w6k4h4f.js} +34 -34
- package/dist/chunks/{formatter-943p5k11.js → persistent-pty-9zhrmgbp.js} +20 -20
- package/dist/chunks/{formatter-pswvpaeg.js → persistent-pty-a1zem19w.js} +38 -38
- package/dist/chunks/{formatter-csn675w3.js → persistent-pty-a4pqw53f.js} +19 -19
- package/dist/chunks/persistent-pty-a610t88q.js +18 -0
- package/dist/chunks/{formatter-nxd0ra01.js → persistent-pty-a7x4br4c.js} +13 -13
- package/dist/chunks/{formatter-0zf6haa4.js → persistent-pty-a9pg4e68.js} +31 -31
- package/dist/chunks/{formatter-sq7h0arc.js → persistent-pty-ag480xra.js} +21 -21
- package/dist/chunks/{formatter-ej2b0mfk.js → persistent-pty-agqj8938.js} +30 -30
- package/dist/chunks/{formatter-2jkywvm5.js → persistent-pty-ahtytztk.js} +12 -12
- package/dist/chunks/{formatter-aj7mw0zk.js → persistent-pty-aj7mw0zk.js} +2 -2
- package/dist/chunks/{formatter-sf9y72b7.js → persistent-pty-anvcme1c.js} +4 -4
- package/dist/chunks/persistent-pty-atg1htkd.js +265 -0
- package/dist/chunks/{formatter-amwpfx0t.js → persistent-pty-awnfb1fx.js} +7 -7
- package/dist/chunks/{formatter-b26ddj6h.js → persistent-pty-b26ddj6h.js} +4 -4
- package/dist/chunks/{formatter-fh1h6pam.js → persistent-pty-b4sm2hyd.js} +15 -15
- package/dist/chunks/{formatter-geepqys7.js → persistent-pty-b8ffzghj.js} +29 -29
- package/dist/chunks/{formatter-kbgs7tyr.js → persistent-pty-babktaw3.js} +4 -4
- package/dist/chunks/{formatter-bb3mmwvh.js → persistent-pty-bb3mmwvh.js} +2 -2
- package/dist/chunks/{formatter-eq0h0qwa.js → persistent-pty-bexrc21s.js} +22 -22
- package/dist/chunks/{formatter-02jh9rbm.js → persistent-pty-bmkc31x8.js} +5 -5
- package/dist/chunks/{formatter-77crq9fe.js → persistent-pty-bs979tcs.js} +39 -39
- package/dist/chunks/{formatter-qpjtqgz5.js → persistent-pty-bxy19ahd.js} +32 -32
- package/dist/chunks/{formatter-rj7j5fvs.js → persistent-pty-c5zvymhv.js} +4 -4
- package/dist/chunks/{formatter-c7cw818c.js → persistent-pty-c7cw818c.js} +2 -2
- package/dist/chunks/{formatter-xa9hbkrj.js → persistent-pty-c7fp34sz.js} +12 -12
- package/dist/chunks/{formatter-rcpcm9rp.js → persistent-pty-c9hshhx1.js} +5 -5
- package/dist/chunks/{formatter-g5djxpkw.js → persistent-pty-catc26qr.js} +19 -19
- package/dist/chunks/{formatter-c5vx1zac.js → persistent-pty-cfks88hm.js} +5 -5
- package/dist/chunks/{formatter-r2637b0p.js → persistent-pty-ckc149ba.js} +19 -19
- package/dist/chunks/{formatter-cwrgdav8.js → persistent-pty-cwrgdav8.js} +2 -2
- package/dist/chunks/{formatter-m03zynjd.js → persistent-pty-cx5r6w7a.js} +8 -8
- package/dist/chunks/{formatter-ww00nh8a.js → persistent-pty-d0tc4bm9.js} +9 -9
- package/dist/chunks/{formatter-d4v9tmah.js → persistent-pty-d4v9tmah.js} +2 -2
- package/dist/chunks/persistent-pty-davgff0s.js +26 -0
- package/dist/chunks/{formatter-9rqfe4ad.js → persistent-pty-dbatw319.js} +3 -3
- package/dist/chunks/{formatter-babr3r9n.js → persistent-pty-dbwqcmzg.js} +12 -12
- package/dist/chunks/{formatter-96r3xk19.js → persistent-pty-depd50ek.js} +9 -9
- package/dist/chunks/{formatter-5kyed299.js → persistent-pty-dgnt1j47.js} +25 -25
- package/dist/chunks/{formatter-rk0vrbg7.js → persistent-pty-dkpjsqx5.js} +6 -6
- package/dist/chunks/{formatter-dt77769w.js → persistent-pty-dt77769w.js} +1 -1
- package/dist/chunks/{formatter-76xygsa5.js → persistent-pty-eda2q8fq.js} +9 -9
- package/dist/chunks/{formatter-kx88arew.js → persistent-pty-ehcpw7e6.js} +19 -19
- package/dist/chunks/{formatter-ztgc8et9.js → persistent-pty-epsccyya.js} +29 -29
- package/dist/chunks/{formatter-eqw4pqj1.js → persistent-pty-eqw4pqj1.js} +2 -2
- package/dist/chunks/{formatter-90g9ssqr.js → persistent-pty-ezm8zh6f.js} +6 -6
- package/dist/chunks/{formatter-8yr6na46.js → persistent-pty-f2ag6bkj.js} +13 -13
- package/dist/chunks/{formatter-5c5fd2mc.js → persistent-pty-f44rmy8r.js} +22 -22
- package/dist/chunks/{formatter-7stesae1.js → persistent-pty-fcrd7kek.js} +4 -4
- package/dist/chunks/{formatter-fffv3p7h.js → persistent-pty-fffv3p7h.js} +1 -1
- package/dist/chunks/{formatter-fg9p65nk.js → persistent-pty-fg9p65nk.js} +2 -2
- package/dist/chunks/{formatter-rnzv336a.js → persistent-pty-fkqc8b83.js} +9 -9
- package/dist/chunks/{formatter-d61dj13r.js → persistent-pty-fw5q8b89.js} +20 -20
- package/dist/chunks/{formatter-31avdb49.js → persistent-pty-g6axq7c8.js} +6 -6
- package/dist/chunks/{formatter-gbjdnr5j.js → persistent-pty-gbjdnr5j.js} +2 -2
- package/dist/chunks/{formatter-ags90a5x.js → persistent-pty-gc6rk9wr.js} +4 -4
- package/dist/chunks/{formatter-xjbsd7zy.js → persistent-pty-gerka9tj.js} +9 -9
- package/dist/chunks/{formatter-190w6pdq.js → persistent-pty-gf1e1jmn.js} +4 -4
- package/dist/chunks/{formatter-sdt5j0rm.js → persistent-pty-ghrv1g9c.js} +4 -4
- package/dist/chunks/{formatter-pcvy2xt8.js → persistent-pty-gkb3m8fg.js} +5 -5
- package/dist/chunks/{formatter-fzm3zqp3.js → persistent-pty-gmqp8e0b.js} +22 -22
- package/dist/chunks/{formatter-p673p6c3.js → persistent-pty-grtyamm0.js} +11 -11
- package/dist/chunks/{formatter-v3gxh6dw.js → persistent-pty-gsj12czv.js} +5 -5
- package/dist/chunks/{formatter-mwjpsrna.js → persistent-pty-gzb1jq95.js} +12 -12
- package/dist/chunks/{formatter-dx66f8d0.js → persistent-pty-h9aff3c4.js} +17 -17
- package/dist/chunks/{formatter-d9y491gy.js → persistent-pty-he212vc7.js} +83 -83
- package/dist/chunks/{formatter-hgzwgvze.js → persistent-pty-hgzwgvze.js} +2 -2
- package/dist/chunks/{formatter-hj0xet7m.js → persistent-pty-hj0xet7m.js} +2 -2
- package/dist/chunks/{formatter-kmqymfwk.js → persistent-pty-hvbrkber.js} +31 -31
- package/dist/chunks/{formatter-dg9w2j4f.js → persistent-pty-hxfd8g55.js} +11 -11
- package/dist/chunks/{formatter-h8744wrh.js → persistent-pty-hy2s0bvc.js} +16 -16
- package/dist/chunks/{formatter-4kqnsz5j.js → persistent-pty-j0g55rpq.js} +22 -22
- package/dist/chunks/{formatter-3mvtj3xp.js → persistent-pty-j1nmkkt3.js} +4 -4
- package/dist/chunks/{formatter-j9nxzz3g.js → persistent-pty-j9nxzz3g.js} +3 -3
- package/dist/chunks/{formatter-8255mbsd.js → persistent-pty-jcsps8nx.js} +5 -5
- package/dist/chunks/{formatter-z3pc18rr.js → persistent-pty-jfymkvwj.js} +15 -15
- package/dist/chunks/{formatter-vx7h5j7y.js → persistent-pty-jg5pejh7.js} +30 -30
- package/dist/chunks/{formatter-jm70asfg.js → persistent-pty-jm70asfg.js} +1 -1
- package/dist/chunks/{formatter-wq0w409k.js → persistent-pty-k0mz210m.js} +16 -16
- package/dist/chunks/{formatter-42vnvh13.js → persistent-pty-k85gbd49.js} +11 -11
- package/dist/chunks/{formatter-w3fpkq90.js → persistent-pty-kc4yyfcj.js} +6 -6
- package/dist/chunks/{formatter-5sy3stez.js → persistent-pty-khh8mw4g.js} +18 -18
- package/dist/chunks/{formatter-kmekj7m2.js → persistent-pty-kmekj7m2.js} +2 -2
- package/dist/chunks/{formatter-cw7tjf4k.js → persistent-pty-krvd8yx8.js} +46 -46
- package/dist/chunks/{formatter-kt3bjfbg.js → persistent-pty-kt3bjfbg.js} +1 -1
- package/dist/chunks/{formatter-79px22ft.js → persistent-pty-kx14djcc.js} +9 -9
- package/dist/chunks/{formatter-fw4jn2ny.js → persistent-pty-kx3cst1b.js} +8 -8
- package/dist/chunks/{formatter-5qdcckqr.js → persistent-pty-kz39447c.js} +16 -16
- package/dist/chunks/{formatter-kzczzf4v.js → persistent-pty-kzczzf4v.js} +1 -1
- package/dist/chunks/{formatter-m1714858.js → persistent-pty-m1714858.js} +1 -1
- package/dist/chunks/{formatter-z040z2v2.js → persistent-pty-m2ty84sg.js} +7 -7
- package/dist/chunks/{formatter-6cs11t3q.js → persistent-pty-m3pj60vj.js} +14 -14
- package/dist/chunks/{formatter-5x1h6kk8.js → persistent-pty-m6vgf9gw.js} +21 -21
- package/dist/chunks/{formatter-h1hqzkwe.js → persistent-pty-m7f343jb.js} +24 -24
- package/dist/chunks/{formatter-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{formatter-rbrcn4ea.js → persistent-pty-mfz3sqjd.js} +13 -13
- package/dist/chunks/{formatter-g8y35rry.js → persistent-pty-mgaktmfv.js} +36 -36
- package/dist/chunks/{formatter-msd2a3qm.js → persistent-pty-msd2a3qm.js} +4 -4
- package/dist/chunks/{formatter-e3hj8wp1.js → persistent-pty-myby21nw.js} +35 -35
- package/dist/chunks/{formatter-zvn75znb.js → persistent-pty-n182t4fm.js} +3 -3
- package/dist/chunks/{formatter-rwcc01tt.js → persistent-pty-n18yd1gk.js} +7 -7
- package/dist/chunks/{formatter-n3j33rb6.js → persistent-pty-n3j33rb6.js} +1 -1
- package/dist/chunks/{formatter-gy24j455.js → persistent-pty-nd2qx06s.js} +9 -9
- package/dist/chunks/{formatter-5gt76wd2.js → persistent-pty-ne1kdyc5.js} +46 -46
- package/dist/chunks/{formatter-y1sms4qy.js → persistent-pty-nfnfhz13.js} +11 -11
- package/dist/chunks/{formatter-y55a85fj.js → persistent-pty-nhb1ah6j.js} +19 -19
- package/dist/chunks/persistent-pty-nkyer32j.js +571 -0
- package/dist/chunks/{formatter-p7yrz5nk.js → persistent-pty-nw5eecxx.js} +1 -1
- package/dist/chunks/{formatter-nx4vzyjd.js → persistent-pty-nx4vzyjd.js} +2 -2
- package/dist/chunks/{formatter-djpvbk2v.js → persistent-pty-nxq3spkz.js} +27 -27
- package/dist/chunks/{formatter-873gd18q.js → persistent-pty-nys1sh0v.js} +16 -16
- package/dist/chunks/{formatter-rq4663jc.js → persistent-pty-nzkcacg2.js} +33 -33
- package/dist/chunks/{formatter-4aszvtk9.js → persistent-pty-p1fwgbq3.js} +11 -11
- package/dist/chunks/{formatter-g9n7frzr.js → persistent-pty-p37phdcf.js} +21 -21
- package/dist/chunks/{formatter-v35kc7fz.js → persistent-pty-p6g3x2vz.js} +3 -3
- package/dist/chunks/{formatter-1yq9hg58.js → persistent-pty-p7vhpwh8.js} +5 -5
- package/dist/chunks/{formatter-4nhqhmvh.js → persistent-pty-p95k8fzz.js} +31 -31
- package/dist/chunks/{formatter-c0nt7yex.js → persistent-pty-pbvcgven.js} +16 -16
- package/dist/chunks/{formatter-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{formatter-kaczt1e9.js → persistent-pty-pnd10xkk.js} +23 -23
- package/dist/chunks/{formatter-tm04z4np.js → persistent-pty-pwcqpy7g.js} +13 -13
- package/dist/chunks/{formatter-1rwkd6n1.js → persistent-pty-q1hdphhq.js} +21 -21
- package/dist/chunks/{formatter-hag18q8h.js → persistent-pty-q2vfkj9t.js} +15 -15
- package/dist/chunks/{formatter-q42tzrxa.js → persistent-pty-q42tzrxa.js} +1 -1
- package/dist/chunks/{formatter-wq28g6e3.js → persistent-pty-qgtht8ak.js} +59 -59
- package/dist/chunks/{formatter-89gjpwsq.js → persistent-pty-qjrh9arn.js} +12 -12
- package/dist/chunks/{formatter-vg2r2j9b.js → persistent-pty-qmxeky00.js} +12 -12
- package/dist/chunks/{formatter-qp7r0hxv.js → persistent-pty-qp7r0hxv.js} +1 -1
- package/dist/chunks/{formatter-qkdb34y2.js → persistent-pty-qpfcqkq0.js} +41 -41
- package/dist/chunks/{formatter-r17fbvme.js → persistent-pty-r17fbvme.js} +1 -1
- package/dist/chunks/{formatter-w2eysc6j.js → persistent-pty-r41sfy63.js} +6 -6
- package/dist/chunks/{formatter-z3nw929v.js → persistent-pty-r45nfa48.js} +9 -9
- package/dist/chunks/{formatter-47dp1ee1.js → persistent-pty-r9tg9hee.js} +13 -13
- package/dist/chunks/{formatter-d68btebf.js → persistent-pty-rapa4bye.js} +6 -6
- package/dist/chunks/{formatter-rb9dy4dg.js → persistent-pty-rb9dy4dg.js} +1 -1
- package/dist/chunks/{formatter-rhjxx3yk.js → persistent-pty-rdck4jxj.js} +4 -4
- package/dist/chunks/{formatter-rgc9cx3e.js → persistent-pty-rgc9cx3e.js} +2 -2
- package/dist/chunks/{formatter-agyemb8f.js → persistent-pty-rh32f72q.js} +9 -9
- package/dist/chunks/{formatter-dds9zz6p.js → persistent-pty-rha71f46.js} +4 -4
- package/dist/chunks/{formatter-kj8wc474.js → persistent-pty-rmy5batf.js} +2 -2
- package/dist/chunks/{formatter-505zjtpt.js → persistent-pty-rrfhe9rb.js} +9 -9
- package/dist/chunks/{formatter-rt5dr6hb.js → persistent-pty-rt5dr6hb.js} +1 -1
- package/dist/chunks/{formatter-71rkptkz.js → persistent-pty-rwhancbm.js} +11 -11
- package/dist/chunks/{formatter-bnq5by8f.js → persistent-pty-ryekn1f5.js} +29 -29
- package/dist/chunks/{formatter-5sdw36aq.js → persistent-pty-s2g1n26p.js} +35 -35
- package/dist/chunks/{formatter-cy81vs2n.js → persistent-pty-s3fpgpvr.js} +28 -28
- package/dist/chunks/{formatter-5whx36p1.js → persistent-pty-s47rahr7.js} +4 -4
- package/dist/chunks/{formatter-2hc2yyeh.js → persistent-pty-s5zrq09q.js} +8 -8
- package/dist/chunks/{formatter-yavye4vk.js → persistent-pty-sbh2nemz.js} +193 -193
- package/dist/chunks/{formatter-sbya78hr.js → persistent-pty-sbya78hr.js} +1 -1
- package/dist/chunks/{formatter-36n3ct1y.js → persistent-pty-sdwrp5t9.js} +5 -5
- package/dist/chunks/{formatter-svcy3p9a.js → persistent-pty-svcy3p9a.js} +1 -1
- package/dist/chunks/{formatter-2kcjc070.js → persistent-pty-t842sf7k.js} +14 -14
- package/dist/chunks/{formatter-bys6f9s7.js → persistent-pty-t8erkws8.js} +5 -5
- package/dist/chunks/{formatter-98e4zkpa.js → persistent-pty-t8wy1kr3.js} +20 -20
- package/dist/chunks/{formatter-tbpn7jtk.js → persistent-pty-tbpn7jtk.js} +1 -1
- package/dist/chunks/{formatter-yft4cm74.js → persistent-pty-tcdxfv61.js} +58 -58
- package/dist/chunks/{formatter-tczq8hjw.js → persistent-pty-tczq8hjw.js} +1 -1
- package/dist/chunks/{formatter-tve7m8xw.js → persistent-pty-tdwzz66j.js} +10 -10
- package/dist/chunks/{formatter-160yv0cs.js → persistent-pty-tg1vr1qt.js} +8 -8
- package/dist/chunks/{formatter-tg7s7b5t.js → persistent-pty-tg7s7b5t.js} +1 -1
- package/dist/chunks/{formatter-skbemjzc.js → persistent-pty-tm4aj56b.js} +83 -83
- package/dist/chunks/{formatter-7k2wdskw.js → persistent-pty-tnmngv61.js} +28 -28
- package/dist/chunks/{formatter-tr8x705m.js → persistent-pty-tr8x705m.js} +1 -1
- package/dist/chunks/{formatter-tvtps2q9.js → persistent-pty-tvtps2q9.js} +1 -1
- package/dist/chunks/{formatter-twssxy5n.js → persistent-pty-twssxy5n.js} +2 -2
- package/dist/chunks/{formatter-00tbpbtc.js → persistent-pty-ty8hj3pf.js} +6 -6
- package/dist/chunks/{formatter-tycv7n3a.js → persistent-pty-tycv7n3a.js} +4 -4
- package/dist/chunks/{formatter-v0t96s7a.js → persistent-pty-v0t96s7a.js} +1 -1
- package/dist/chunks/{formatter-5jn3fajq.js → persistent-pty-v0wvbz4n.js} +8 -8
- package/dist/chunks/{formatter-v2r1d0zg.js → persistent-pty-v2r1d0zg.js} +1 -1
- package/dist/chunks/{formatter-ke2q0jvk.js → persistent-pty-v4n7vrjj.js} +17 -17
- package/dist/chunks/{formatter-xx8drg6a.js → persistent-pty-vg3hpwp2.js} +29 -29
- package/dist/chunks/{formatter-a6zbtccs.js → persistent-pty-vg9bpnxv.js} +5 -5
- package/dist/chunks/{formatter-5zksj629.js → persistent-pty-vgmnkep0.js} +45 -45
- package/dist/chunks/{formatter-vmd0ng62.js → persistent-pty-vhhz7aj6.js} +9 -9
- package/dist/chunks/{formatter-vjf35v1f.js → persistent-pty-vjf35v1f.js} +1 -1
- package/dist/chunks/{formatter-cr4rfj9z.js → persistent-pty-vmxsyvj6.js} +4 -4
- package/dist/chunks/{formatter-h7n7yeqs.js → persistent-pty-vw0df41f.js} +15 -15
- package/dist/chunks/{formatter-vwcz1f45.js → persistent-pty-vwcz1f45.js} +1 -1
- package/dist/chunks/{formatter-2fs9qyh6.js → persistent-pty-w16qaj0w.js} +4 -4
- package/dist/chunks/{formatter-1e359xj3.js → persistent-pty-w27wcpfp.js} +14 -14
- package/dist/chunks/{formatter-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{formatter-2w1wqytc.js → persistent-pty-w83xh6h5.js} +20 -20
- package/dist/chunks/{formatter-xpve62cf.js → persistent-pty-w9w8mt4n.js} +4 -4
- package/dist/chunks/{formatter-g421yvh5.js → persistent-pty-wacyf2fg.js} +16 -16
- package/dist/chunks/{formatter-wakvkjy4.js → persistent-pty-wakvkjy4.js} +1 -1
- package/dist/chunks/{formatter-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{formatter-my4n5qvc.js → persistent-pty-weqc7sb9.js} +2 -2
- package/dist/chunks/{formatter-hnryc5zp.js → persistent-pty-wfctrj37.js} +3 -3
- package/dist/chunks/{formatter-wfdx5ztx.js → persistent-pty-wfdx5ztx.js} +1 -1
- package/dist/chunks/{formatter-grj1pt4p.js → persistent-pty-wfevek3n.js} +14 -14
- package/dist/chunks/{formatter-tkvvf6bf.js → persistent-pty-wm9776tg.js} +18 -18
- package/dist/chunks/{formatter-wr3re1en.js → persistent-pty-wr3re1en.js} +1 -1
- package/dist/chunks/{formatter-3ct7ma1z.js → persistent-pty-wt5wyw4j.js} +13 -13
- package/dist/chunks/{formatter-qyyweck4.js → persistent-pty-ww7agg2x.js} +12 -12
- package/dist/chunks/{formatter-20pht57w.js → persistent-pty-wzfa06mn.js} +4 -4
- package/dist/chunks/{formatter-8ywczf47.js → persistent-pty-x23qg440.js} +10 -10
- package/dist/chunks/{formatter-tt2ypw9y.js → persistent-pty-x4eqx4xr.js} +20 -20
- package/dist/chunks/{formatter-kckqeny3.js → persistent-pty-x9vxb7ws.js} +8 -8
- package/dist/chunks/{formatter-3stv24ez.js → persistent-pty-xcnybkj9.js} +4 -4
- package/dist/chunks/{formatter-xd9cc171.js → persistent-pty-xd9cc171.js} +1 -1
- package/dist/chunks/{formatter-8qqg9kww.js → persistent-pty-xe6pezxp.js} +7 -7
- package/dist/chunks/{formatter-xxschbft.js → persistent-pty-xjr6c8m4.js} +4 -4
- package/dist/chunks/{formatter-fcrppmnh.js → persistent-pty-xkcbpa04.js} +37 -37
- package/dist/chunks/{formatter-qd4atqpz.js → persistent-pty-xmtvhdvt.js} +5 -5
- package/dist/chunks/{formatter-k98yejja.js → persistent-pty-xmx7xj34.js} +7 -7
- package/dist/chunks/{formatter-d15xpb57.js → persistent-pty-xvc6mbg8.js} +6 -6
- package/dist/chunks/{formatter-dqn4a6f5.js → persistent-pty-xynthp8b.js} +8 -8
- package/dist/chunks/{formatter-5xtdp7sy.js → persistent-pty-y0f7fy5h.js} +30 -30
- package/dist/chunks/{formatter-q45wjhqq.js → persistent-pty-y9jn183w.js} +5 -5
- package/dist/chunks/{formatter-cavvtjzh.js → persistent-pty-ya37bfp4.js} +24 -24
- package/dist/chunks/{formatter-yb20nhc3.js → persistent-pty-yb20nhc3.js} +1 -1
- package/dist/chunks/{formatter-0y15sqga.js → persistent-pty-ybd7cc9e.js} +11 -11
- package/dist/chunks/{formatter-8hfctyyf.js → persistent-pty-ycmh1q3e.js} +5 -5
- package/dist/chunks/{formatter-zhq6fc6b.js → persistent-pty-yke5mffx.js} +23 -23
- package/dist/chunks/{formatter-jp7vhfdz.js → persistent-pty-ykjy17bf.js} +8 -8
- package/dist/chunks/{formatter-bv752wmd.js → persistent-pty-yqzk7gxy.js} +7 -7
- package/dist/chunks/{formatter-yr705xyq.js → persistent-pty-yr705xyq.js} +1 -1
- package/dist/chunks/{formatter-q730k220.js → persistent-pty-yrrgnf07.js} +18 -18
- package/dist/chunks/{formatter-4mvwkj15.js → persistent-pty-ytw3rkpd.js} +14 -14
- package/dist/chunks/{formatter-yvtc2x31.js → persistent-pty-yvtc2x31.js} +1 -1
- package/dist/chunks/{formatter-eht02vjq.js → persistent-pty-yz7qpr75.js} +6 -6
- package/dist/chunks/{formatter-dr1g52tf.js → persistent-pty-zaqdb9p1.js} +9 -9
- package/dist/chunks/{formatter-gqdsmv47.js → persistent-pty-zhym9e35.js} +12 -12
- package/dist/chunks/{formatter-vrgsck6a.js → persistent-pty-zjbt4vaq.js} +23 -23
- package/dist/chunks/{formatter-zg6x6hsj.js → persistent-pty-zn6271pz.js} +5 -5
- package/dist/chunks/{formatter-by8ty0bx.js → persistent-pty-zpdbqgja.js} +4 -4
- package/dist/chunks/{formatter-1ej7we7g.js → persistent-pty-zt8mkgbb.js} +5 -5
- package/dist/chunks/{formatter-dyca4k2n.js → persistent-pty-zy3kwcqg.js} +16 -16
- 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 +96 -96
- package/dist/config/discovery.js +97 -97
- package/dist/config/integration.js +1 -1
- 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 +130 -130
- 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 +130 -130
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- 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 +77 -77
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/v1-migration.bun.js +100 -100
- 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 +108 -108
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +253 -253
- package/dist/filesystem/protected.js +3 -3
- 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 +129 -129
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +432 -432
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +185 -185
- package/dist/location-lifecycle.js +153 -153
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +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 +106 -106
- package/dist/mcp/index.js +122 -122
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +115 -115
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- 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 +97 -97
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +119 -119
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +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 +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +1 -1
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +148 -148
- package/dist/plugin/provider/claude-agent/instructions.js +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 +5 -5
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +1 -1
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +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 +140 -140
- 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 +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +113 -113
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +263 -263
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +254 -254
- package/dist/session/execution.js +171 -171
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +148 -148
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +90 -90
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +146 -146
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +169 -169
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +1 -1
- 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 +5 -5
- package/dist/session/runner/step.js +166 -166
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +186 -186
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +246 -246
- package/dist/session/usage.js +3 -3
- package/dist/session.js +241 -241
- package/dist/shared-cache.js +5 -5
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +153 -153
- package/dist/snapshot.js +106 -106
- 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 +188 -188
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +172 -172
- package/dist/tool/plugin/grep.js +173 -173
- package/dist/tool/plugin/image-generate.js +245 -245
- 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 +151 -151
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +241 -241
- package/dist/tool/plugin/skill.js +156 -156
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +156 -156
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +169 -169
- 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 +161 -161
- package/dist/usage-limits.js +100 -100
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +99 -99
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/formatter-db7peafr.js +0 -571
- package/dist/chunks/formatter-grzehpz7.js +0 -18
- package/dist/chunks/formatter-hy5pnb33.js +0 -26
- package/dist/chunks/formatter-jn12jmgb.js +0 -265
- /package/dist/chunks/{formatter-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{formatter-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{formatter-108x4f4w.js → persistent-pty-108x4f4w.js} +0 -0
- /package/dist/chunks/{formatter-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{formatter-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{formatter-1kah00gy.js → persistent-pty-1kah00gy.js} +0 -0
- /package/dist/chunks/{formatter-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{formatter-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{formatter-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{formatter-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{formatter-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{formatter-3af0jn4w.js → persistent-pty-3af0jn4w.js} +0 -0
- /package/dist/chunks/{formatter-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{formatter-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{formatter-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{formatter-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{formatter-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{formatter-4qk9sjk2.js → persistent-pty-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{formatter-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{formatter-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{formatter-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{formatter-5w3e23ze.js → persistent-pty-5w3e23ze.js} +0 -0
- /package/dist/chunks/{formatter-6agm2x70.js → persistent-pty-6agm2x70.js} +0 -0
- /package/dist/chunks/{formatter-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{formatter-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{formatter-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{formatter-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{formatter-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{formatter-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{formatter-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{formatter-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{formatter-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{formatter-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{formatter-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{formatter-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{formatter-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{formatter-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{formatter-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{formatter-beh6qq61.js → persistent-pty-beh6qq61.js} +0 -0
- /package/dist/chunks/{formatter-bhmrqjy3.js → persistent-pty-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{formatter-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{formatter-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{formatter-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{formatter-cqv5kn06.js → persistent-pty-cqv5kn06.js} +0 -0
- /package/dist/chunks/{formatter-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{formatter-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{formatter-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{formatter-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{formatter-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{formatter-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{formatter-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{formatter-ean2d8b5.js → persistent-pty-ean2d8b5.js} +0 -0
- /package/dist/chunks/{formatter-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{formatter-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{formatter-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{formatter-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{formatter-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{formatter-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{formatter-fkpq3x5p.js → persistent-pty-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{formatter-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{formatter-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{formatter-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{formatter-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{formatter-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{formatter-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{formatter-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{formatter-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{formatter-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{formatter-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{formatter-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{formatter-jwr30sdr.js → persistent-pty-jwr30sdr.js} +0 -0
- /package/dist/chunks/{formatter-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{formatter-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
- /package/dist/chunks/{formatter-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{formatter-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{formatter-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{formatter-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{formatter-nh4v3znn.js → persistent-pty-nh4v3znn.js} +0 -0
- /package/dist/chunks/{formatter-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{formatter-p71gwv9c.js → persistent-pty-p71gwv9c.js} +0 -0
- /package/dist/chunks/{formatter-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{formatter-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{formatter-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{formatter-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{formatter-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{formatter-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{formatter-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{formatter-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{formatter-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{formatter-syrav9an.js → persistent-pty-syrav9an.js} +0 -0
- /package/dist/chunks/{formatter-t03h4f5z.js → persistent-pty-t03h4f5z.js} +0 -0
- /package/dist/chunks/{formatter-ty7weeps.js → persistent-pty-ty7weeps.js} +0 -0
- /package/dist/chunks/{formatter-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{formatter-vtarvj67.js → persistent-pty-vtarvj67.js} +0 -0
- /package/dist/chunks/{formatter-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{formatter-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{formatter-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{formatter-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{formatter-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{formatter-x4th4bpe.js → persistent-pty-x4th4bpe.js} +0 -0
- /package/dist/chunks/{formatter-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{formatter-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{formatter-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{formatter-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{formatter-z0h12gs8.js → persistent-pty-z0h12gs8.js} +0 -0
- /package/dist/chunks/{formatter-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{formatter-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
- /package/dist/chunks/{formatter-zxpyjp51.js → persistent-pty-zxpyjp51.js} +0 -0
- /package/dist/chunks/{formatter-zz5vv3aq.js → persistent-pty-zz5vv3aq.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/shared-cache.ts
|
|
6
6
|
var exports_shared_cache = {};
|
|
7
7
|
__export(exports_shared_cache, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service54,
|
|
9
9
|
SharedCache: () => exports_shared_cache,
|
|
10
10
|
fingerprint: () => fingerprint2,
|
|
11
11
|
interval: () => interval2,
|
|
12
|
-
node: () =>
|
|
12
|
+
node: () => node55,
|
|
13
13
|
transient: () => transient2
|
|
14
14
|
});
|
|
15
15
|
import { Cause, Clock, Context, Duration, Effect, Exit, Fiber, FiberSet, Layer, Schedule } from "effect";
|
|
@@ -18,12 +18,12 @@ import { Hash } from "@opencode/util/hash";
|
|
|
18
18
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
var interval2 = Duration.minutes(10);
|
|
20
20
|
|
|
21
|
-
class
|
|
21
|
+
class Service54 extends Context.Service()("@opencode/SharedCache") {
|
|
22
22
|
}
|
|
23
23
|
var fingerprint2 = (secret) => Hash.sha256(secret).slice(0, 16);
|
|
24
24
|
var transient2 = (error) => Cause.isTimeoutError(error) || HttpClientError.isHttpClientError(error) && (error.reason._tag === "TransportError" || error.reason._tag === "StatusCodeError" && [408, 429, 500, 502, 503, 504].includes(error.reason.response.status));
|
|
25
25
|
var unread = Duration.toMillis(Duration.hours(24));
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
27
27
|
const run = yield* FiberSet.makeRuntime();
|
|
28
28
|
const entries = new Map;
|
|
29
29
|
const start = Effect.fnUntraced(function* (key, entry, load) {
|
|
@@ -59,8 +59,8 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
59
59
|
}))));
|
|
60
60
|
return yield* Fiber.join(entry.loading);
|
|
61
61
|
});
|
|
62
|
-
return
|
|
62
|
+
return Service54.of({ get });
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node55 = makeGlobalNode({ service: Service54, layer, deps: [] });
|
|
65
65
|
|
|
66
|
-
export { interval2,
|
|
66
|
+
export { interval2, Service54, fingerprint2, transient2, node55, exports_shared_cache };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service92,
|
|
3
3
|
node95
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-gf1e1jmn.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-8z6m94af.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRows2,
|
|
11
11
|
decodeMessageRowsWithRefs2,
|
|
12
12
|
load6
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-tdwzz66j.js";
|
|
14
14
|
import {
|
|
15
15
|
fromRow2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-55g2q5p5.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/store.ts
|
|
22
22
|
var exports_store = {};
|
|
23
23
|
__export(exports_store, {
|
|
24
24
|
ListInput: () => ListInput3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service70,
|
|
26
26
|
SessionStore: () => exports_store,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node71
|
|
28
28
|
});
|
|
29
29
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -54,9 +54,9 @@ var ListProjectInput = Schema.Struct({
|
|
|
54
54
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
55
55
|
var ListInput3 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service70 extends Context.Service()("@opencode/SessionStore") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
60
60
|
const { db } = yield* Service92;
|
|
61
61
|
const messageRows = Effect.fnUntraced(function* (input) {
|
|
62
62
|
const direction = input.cursor?.direction ?? "next";
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
71
71
|
return direction === "previous" ? rows.toReversed() : rows;
|
|
72
72
|
});
|
|
73
73
|
const messageRow = (messageID) => db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
74
|
-
return
|
|
74
|
+
return Service70.of({
|
|
75
75
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
76
76
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
77
77
|
return row ? fromRow2(row) : undefined;
|
|
@@ -143,6 +143,6 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
143
143
|
})
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node71 = makeGlobalNode({ service: Service70, layer, deps: [node95] });
|
|
147
147
|
|
|
148
|
-
export { ListInput3,
|
|
148
|
+
export { ListInput3, Service70, node71, exports_store };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service92,
|
|
6
6
|
node95
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-gf1e1jmn.js";
|
|
8
|
+
import {
|
|
9
|
+
Service87,
|
|
10
|
+
node89
|
|
11
|
+
} from "./persistent-pty-36twwwv3.js";
|
|
8
12
|
import {
|
|
9
13
|
Service91,
|
|
10
14
|
node94
|
|
11
|
-
} from "./
|
|
12
|
-
import {
|
|
13
|
-
Service90,
|
|
14
|
-
node93
|
|
15
|
-
} from "./formatter-vg2r2j9b.js";
|
|
15
|
+
} from "./persistent-pty-qmxeky00.js";
|
|
16
16
|
import {
|
|
17
17
|
ID21,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info31,
|
|
20
20
|
UpdateInput5,
|
|
21
|
-
|
|
21
|
+
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-xe6pezxp.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./persistent-pty-aj7mw0zk.js";
|
|
28
28
|
import {
|
|
29
29
|
refresh2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./persistent-pty-bb3mmwvh.js";
|
|
31
31
|
import {
|
|
32
32
|
WorktreeTable2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./persistent-pty-3cbjf1nt.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
37
37
|
|
|
38
38
|
// src/project.ts
|
|
39
39
|
var exports_project = {};
|
|
@@ -41,14 +41,14 @@ __export(exports_project, {
|
|
|
41
41
|
ACTIVATE_INTERVAL: () => ACTIVATE_INTERVAL2,
|
|
42
42
|
Current: () => Current2,
|
|
43
43
|
ID: () => ID20,
|
|
44
|
-
Info: () =>
|
|
45
|
-
NotFoundError: () =>
|
|
44
|
+
Info: () => Info30,
|
|
45
|
+
NotFoundError: () => NotFoundError14,
|
|
46
46
|
Project: () => exports_project,
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service86,
|
|
48
48
|
UpdateInput: () => UpdateInput4,
|
|
49
49
|
Vcs: () => Vcs2,
|
|
50
|
-
configured: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
configured: () => configured11,
|
|
51
|
+
node: () => node88,
|
|
52
52
|
root: () => root2,
|
|
53
53
|
sweepNode: () => sweepNode2
|
|
54
54
|
});
|
|
@@ -64,10 +64,10 @@ import { Hash } from "@opencode/util/hash";
|
|
|
64
64
|
var ID20 = ID21;
|
|
65
65
|
var Vcs2 = Vcs3;
|
|
66
66
|
var Current2 = Current3;
|
|
67
|
-
var
|
|
67
|
+
var Info30 = Info31;
|
|
68
68
|
var UpdateInput4 = UpdateInput5;
|
|
69
69
|
|
|
70
|
-
class
|
|
70
|
+
class NotFoundError14 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
71
71
|
projectID: ID20
|
|
72
72
|
}) {
|
|
73
73
|
}
|
|
@@ -87,7 +87,7 @@ var ACTIVATE_INTERVAL2 = 60000;
|
|
|
87
87
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
88
88
|
var Now = Context.Reference("@opencode/Project/Now", { defaultValue: () => Date.now });
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service86 extends Context.Service()("@opencode/Project") {
|
|
91
91
|
}
|
|
92
92
|
function fromRow(row) {
|
|
93
93
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -111,12 +111,12 @@ function fromRow(row) {
|
|
|
111
111
|
sandboxes: row.sandboxes
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
var layer = Layer.effect(
|
|
114
|
+
var layer = Layer.effect(Service86, Effect.gen(function* () {
|
|
115
115
|
const now = yield* Now;
|
|
116
116
|
const fs = yield* FSUtil.Service;
|
|
117
|
-
const git = yield*
|
|
117
|
+
const git = yield* Service91;
|
|
118
118
|
const proc = yield* AppProcess.Service;
|
|
119
|
-
const bus = yield*
|
|
119
|
+
const bus = yield* Service87;
|
|
120
120
|
const db = (yield* Service92).db;
|
|
121
121
|
const scope = yield* Scope.Scope;
|
|
122
122
|
const announcing = new Set;
|
|
@@ -127,8 +127,8 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
127
127
|
const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
|
|
128
128
|
const changed = replaced ?? unarchived;
|
|
129
129
|
if (changed)
|
|
130
|
-
yield* bus.publish(
|
|
131
|
-
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(
|
|
130
|
+
yield* bus.publish(Event21.Updated, fromRow(changed));
|
|
131
|
+
yield* refresh2(fs, db, project.id).pipe(Effect.flatMap((row) => row ? bus.publish(Event21.Updated, fromRow(row)) : Effect.void), Effect.ignoreCause, Effect.forkIn(scope));
|
|
132
132
|
if (!project.vcs)
|
|
133
133
|
return project;
|
|
134
134
|
const directories = [
|
|
@@ -187,16 +187,16 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
187
187
|
time_updated: Date.now()
|
|
188
188
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
189
189
|
if (!row)
|
|
190
|
-
return yield* new
|
|
190
|
+
return yield* new NotFoundError14({ projectID: input.projectID });
|
|
191
191
|
const project = fromRow(row);
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event21.Updated, project);
|
|
193
193
|
return project;
|
|
194
194
|
});
|
|
195
195
|
const activated = new Map;
|
|
196
196
|
const persistActivate = Effect.fn("Project.activate")(function* (projectID, timestamp) {
|
|
197
197
|
const row = yield* db.update(ProjectTable2).set({ time_active: timestamp, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
198
198
|
if (row)
|
|
199
|
-
yield* bus.publish(
|
|
199
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
200
200
|
});
|
|
201
201
|
const activate = (projectID, options) => Effect.suspend(() => {
|
|
202
202
|
const timestamp = now();
|
|
@@ -342,26 +342,26 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
342
342
|
return;
|
|
343
343
|
const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
|
|
344
344
|
if (row)
|
|
345
|
-
yield* bus.publish(
|
|
345
|
+
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
346
346
|
}), { concurrency: 8, discard: true });
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service86.of({ list, update, activate, resolve, sweep });
|
|
349
349
|
}));
|
|
350
|
-
function
|
|
350
|
+
function configured11(options) {
|
|
351
351
|
return makeGlobalNode({
|
|
352
|
-
service:
|
|
352
|
+
service: Service86,
|
|
353
353
|
layer: options?.now ? layer.pipe(Layer.provide(Layer.succeed(Now, options.now))) : layer,
|
|
354
|
-
deps: [
|
|
354
|
+
deps: [node89, node95, FSUtil.node, node94, AppProcess.node]
|
|
355
355
|
});
|
|
356
356
|
}
|
|
357
|
-
var
|
|
357
|
+
var node88 = configured11();
|
|
358
358
|
var sweepNode2 = makeGlobalNode({
|
|
359
359
|
name: "project-archive-sweep",
|
|
360
360
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
361
|
-
const project = yield*
|
|
361
|
+
const project = yield* Service86;
|
|
362
362
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
363
363
|
})),
|
|
364
|
-
deps: [
|
|
364
|
+
deps: [node88]
|
|
365
365
|
});
|
|
366
366
|
|
|
367
|
-
export { ID20, Vcs2, Current2,
|
|
367
|
+
export { ID20, Vcs2, Current2, Info30, UpdateInput4, NotFoundError14, root2, ACTIVATE_INTERVAL2, Service86, configured11, node88, sweepNode2, exports_project };
|
|
@@ -5,24 +5,24 @@ import {
|
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
splitGitPatch2,
|
|
7
7
|
chunksByFile2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-rb9dy4dg.js";
|
|
9
9
|
import {
|
|
10
10
|
gitExecutable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-hgzwgvze.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service85
|
|
14
|
+
} from "./persistent-pty-hy2s0bvc.js";
|
|
15
15
|
import {
|
|
16
16
|
DiffError2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-m7f343jb.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/vcs/git.ts
|
|
23
23
|
var exports_git = {};
|
|
24
24
|
__export(exports_git, {
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin19,
|
|
26
26
|
VcsGitPlugin: () => exports_git
|
|
27
27
|
});
|
|
28
28
|
import { randomUUID } from "crypto";
|
|
@@ -33,10 +33,10 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
import { ChildProcess } from "effect/process";
|
|
35
35
|
import { AppProcess } from "@opencode/util/process";
|
|
36
|
-
var
|
|
36
|
+
var Plugin19 = define({
|
|
37
37
|
id: "opencode.vcs.git",
|
|
38
38
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
39
|
-
const location = yield*
|
|
39
|
+
const location = yield* Service85;
|
|
40
40
|
if (location.vcs && location.vcs.type !== "git")
|
|
41
41
|
return;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
@@ -561,4 +561,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
561
561
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
562
562
|
});
|
|
563
563
|
|
|
564
|
-
export {
|
|
564
|
+
export { Plugin19, exports_git };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-nzkcacg2.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID14,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info22
|
|
11
|
+
} from "./persistent-pty-s2g1n26p.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models2 = {};
|
|
@@ -89,7 +89,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
89
89
|
result.set(id, build(id, current, baseURL, model));
|
|
90
90
|
}
|
|
91
91
|
for (const [id, model] of remote) {
|
|
92
|
-
const key =
|
|
92
|
+
const key = ID14.make(id);
|
|
93
93
|
if (result.has(key))
|
|
94
94
|
continue;
|
|
95
95
|
result.set(key, build(key, model, baseURL));
|
|
@@ -113,11 +113,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
113
113
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
114
114
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
115
115
|
const released = previous?.time.released || Date.parse(version);
|
|
116
|
-
return
|
|
117
|
-
...
|
|
116
|
+
return Info22.make({
|
|
117
|
+
...Info22.default(ID15.githubCopilot, id),
|
|
118
118
|
id,
|
|
119
|
-
modelID:
|
|
120
|
-
providerID:
|
|
119
|
+
modelID: ID14.make(remote.id),
|
|
120
|
+
providerID: ID15.githubCopilot,
|
|
121
121
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
122
122
|
name: previous?.name ?? remote.name,
|
|
123
123
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-rapa4bye.js";
|
|
4
4
|
import {
|
|
5
5
|
ID18,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service81
|
|
7
|
+
} from "./persistent-pty-6ta9r7gp.js";
|
|
8
8
|
import {
|
|
9
9
|
key3
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-fcrd7kek.js";
|
|
11
11
|
import {
|
|
12
12
|
MethodID2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-b8ffzghj.js";
|
|
14
14
|
import {
|
|
15
15
|
which2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-x4th4bpe.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
ID15,
|
|
19
|
+
Service78
|
|
20
|
+
} from "./persistent-pty-nzkcacg2.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID14
|
|
23
|
+
} from "./persistent-pty-s2g1n26p.js";
|
|
24
24
|
import {
|
|
25
25
|
interval2,
|
|
26
|
-
|
|
26
|
+
Service54,
|
|
27
27
|
fingerprint2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./persistent-pty-5thev09r.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./persistent-pty-kc4yyfcj.js";
|
|
32
32
|
import {
|
|
33
33
|
onSwitch2,
|
|
34
34
|
switched2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./persistent-pty-vhhz7aj6.js";
|
|
36
36
|
import {
|
|
37
37
|
activeCredential2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./persistent-pty-xcnybkj9.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/azure.ts
|
|
41
41
|
import { Clock, Effect, Equal, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -70,18 +70,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
70
70
|
}));
|
|
71
71
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
72
72
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
73
|
-
function
|
|
73
|
+
function make15(endpoints = {
|
|
74
74
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
75
75
|
management: "https://management.azure.com"
|
|
76
76
|
}) {
|
|
77
77
|
return define({
|
|
78
78
|
id: "opencode.provider.azure",
|
|
79
79
|
effect: Effect.fn(function* (ctx) {
|
|
80
|
-
const configured = yield* configuredSettings2(
|
|
80
|
+
const configured = yield* configuredSettings2(ID15.azure);
|
|
81
81
|
const processes = yield* AppProcess.Service;
|
|
82
|
-
const credentials = yield*
|
|
83
|
-
const providers = yield*
|
|
84
|
-
const cache = yield*
|
|
82
|
+
const credentials = yield* Service81;
|
|
83
|
+
const providers = yield* Service78;
|
|
84
|
+
const cache = yield* Service54;
|
|
85
85
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
86
86
|
const tokens = new Map;
|
|
87
87
|
const resourceIDs = new Map;
|
|
@@ -107,11 +107,11 @@ function make20(endpoints = {
|
|
|
107
107
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
108
108
|
yield* ctx.integration.transform((editor) => {
|
|
109
109
|
editor.method.update({
|
|
110
|
-
integrationID:
|
|
110
|
+
integrationID: ID15.azure,
|
|
111
111
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
112
112
|
});
|
|
113
113
|
editor.method.update({
|
|
114
|
-
integrationID:
|
|
114
|
+
integrationID: ID15.azure,
|
|
115
115
|
method: {
|
|
116
116
|
type: "key",
|
|
117
117
|
label: "API key",
|
|
@@ -129,7 +129,7 @@ function make20(endpoints = {
|
|
|
129
129
|
if (!available)
|
|
130
130
|
return;
|
|
131
131
|
editor.method.update({
|
|
132
|
-
integrationID:
|
|
132
|
+
integrationID: ID15.azure,
|
|
133
133
|
method: {
|
|
134
134
|
id: methodID,
|
|
135
135
|
type: "external",
|
|
@@ -149,7 +149,7 @@ function make20(endpoints = {
|
|
|
149
149
|
});
|
|
150
150
|
});
|
|
151
151
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
152
|
-
const connection = yield* ctx.integration.connection.active(
|
|
152
|
+
const connection = yield* ctx.integration.connection.active(ID15.azure);
|
|
153
153
|
const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
|
|
154
154
|
return { connection, resource: credentialResource(stored?.value) };
|
|
155
155
|
});
|
|
@@ -189,7 +189,7 @@ function make20(endpoints = {
|
|
|
189
189
|
}));
|
|
190
190
|
const discover = Effect.fn("AzurePlugin.discover")(function* (options) {
|
|
191
191
|
const connection = loaded.connection;
|
|
192
|
-
const settings = (yield* providers.get(
|
|
192
|
+
const settings = (yield* providers.get(ID15.azure))?.settings;
|
|
193
193
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
194
194
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
195
195
|
if (loaded.connection !== connection)
|
|
@@ -219,11 +219,11 @@ function make20(endpoints = {
|
|
|
219
219
|
});
|
|
220
220
|
const apply = (next) => next ? loading.withPermit(publish(next.connection, next.found)).pipe(Effect.uninterruptible) : Effect.void;
|
|
221
221
|
const publish = Effect.fn("AzurePlugin.publish")(function* (connection, found) {
|
|
222
|
-
if (loaded.connection !== connection || key3(connection) !== key3(yield* ctx.integration.connection.active(
|
|
222
|
+
if (loaded.connection !== connection || key3(connection) !== key3(yield* ctx.integration.connection.active(ID15.azure)))
|
|
223
223
|
return;
|
|
224
224
|
if (Equal.equals(found, loaded.deployments))
|
|
225
225
|
return;
|
|
226
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
226
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID15.azure)?.models.keys() ?? [], (id) => [
|
|
227
227
|
id.toLowerCase(),
|
|
228
228
|
id
|
|
229
229
|
]));
|
|
@@ -236,7 +236,7 @@ function make20(endpoints = {
|
|
|
236
236
|
yield* ctx.model.reload();
|
|
237
237
|
});
|
|
238
238
|
const refresh = discover({}).pipe(Effect.flatMap(apply));
|
|
239
|
-
const resourceFor = (provider) => provider.id ===
|
|
239
|
+
const resourceFor = (provider) => provider.id === ID15.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
240
240
|
Object.assign(loaded, yield* load());
|
|
241
241
|
yield* ctx.provider.transform((evt) => {
|
|
242
242
|
for (const item of evt.list()) {
|
|
@@ -255,7 +255,7 @@ function make20(endpoints = {
|
|
|
255
255
|
};
|
|
256
256
|
});
|
|
257
257
|
}
|
|
258
|
-
const item = evt.get(
|
|
258
|
+
const item = evt.get(ID15.azure);
|
|
259
259
|
if (!item)
|
|
260
260
|
return;
|
|
261
261
|
evt.add({
|
|
@@ -285,21 +285,21 @@ function make20(endpoints = {
|
|
|
285
285
|
}
|
|
286
286
|
if (!loaded.deployments)
|
|
287
287
|
return;
|
|
288
|
-
const catalog = models.list(
|
|
288
|
+
const catalog = models.list(ID15.azure);
|
|
289
289
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
290
290
|
for (const model of catalog) {
|
|
291
291
|
if (!deployed.has(model.id))
|
|
292
|
-
models.remove(
|
|
292
|
+
models.remove(ID15.azure, model.id);
|
|
293
293
|
}
|
|
294
294
|
for (const [id, model] of deployed) {
|
|
295
|
-
models.update(
|
|
295
|
+
models.update(ID15.azure, id, (draft) => Object.assign(draft, model));
|
|
296
296
|
}
|
|
297
297
|
});
|
|
298
298
|
yield* onSwitch2("azure", rebind().pipe(Effect.andThen(FiberHandle.run(discovery, switched2(discover, apply)))));
|
|
299
299
|
yield* rebind().pipe(Effect.andThen(FiberHandle.run(discovery, refresh)), Effect.forkScoped);
|
|
300
300
|
yield* Effect.sleep(interval2).pipe(Effect.andThen(FiberHandle.run(discovery, refresh, { onlyIfMissing: true })), Effect.forever, Effect.forkScoped);
|
|
301
301
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
302
|
-
const { credential } = yield* activeCredential2(ctx,
|
|
302
|
+
const { credential } = yield* activeCredential2(ctx, ID15.azure);
|
|
303
303
|
if (credential?.type !== "external" || credential.methodID !== methodID)
|
|
304
304
|
return;
|
|
305
305
|
const target = new URL(url);
|
|
@@ -315,7 +315,7 @@ function make20(endpoints = {
|
|
|
315
315
|
evt.request.headers.delete("x-api-key");
|
|
316
316
|
evt.request.headers.set("authorization", authorization);
|
|
317
317
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
318
|
-
}), { providerID:
|
|
318
|
+
}), { providerID: ID15.azure });
|
|
319
319
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
320
320
|
const authorization = yield* bearer(evt.url);
|
|
321
321
|
if (!authorization)
|
|
@@ -324,11 +324,11 @@ function make20(endpoints = {
|
|
|
324
324
|
delete evt.headers["x-api-key"];
|
|
325
325
|
evt.headers.authorization = authorization;
|
|
326
326
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
327
|
-
}), { providerID:
|
|
327
|
+
}), { providerID: ID15.azure });
|
|
328
328
|
})
|
|
329
329
|
});
|
|
330
330
|
}
|
|
331
|
-
var AzurePlugin2 =
|
|
331
|
+
var AzurePlugin2 = make15();
|
|
332
332
|
function deploymentsKey(connection, credential, url) {
|
|
333
333
|
const access = credential.type === "key" ? `:${fingerprint2(credential.key)}` : "";
|
|
334
334
|
return `azure:${key3(connection)}${access}:${url}`;
|
|
@@ -343,7 +343,7 @@ function expandResourceName(baseURL, resourceName) {
|
|
|
343
343
|
return baseURL.replaceAll("${AZURE_RESOURCE_NAME}", resourceName).replaceAll("${AZURE_COGNITIVE_SERVICES_RESOURCE_NAME}", resourceName);
|
|
344
344
|
}
|
|
345
345
|
function azureProvider(provider) {
|
|
346
|
-
return provider.id ===
|
|
346
|
+
return provider.id === ID15.azure || provider.package.startsWith("@opencode/ai/providers/azure/");
|
|
347
347
|
}
|
|
348
348
|
function usable(credential) {
|
|
349
349
|
return credential?.type === "key" || credential?.type === "external" && credential.methodID === methodID;
|
|
@@ -368,11 +368,11 @@ function deployedModels(deployments, catalog) {
|
|
|
368
368
|
const model = catalogModel(models, deployment);
|
|
369
369
|
if (!model)
|
|
370
370
|
return [];
|
|
371
|
-
const id =
|
|
371
|
+
const id = ID14.make(deployment.name.toLowerCase());
|
|
372
372
|
const info = {
|
|
373
373
|
...structuredClone(model),
|
|
374
374
|
id,
|
|
375
|
-
modelID:
|
|
375
|
+
modelID: ID14.make(deployment.name),
|
|
376
376
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
377
377
|
};
|
|
378
378
|
return [[id, info]];
|
|
@@ -394,4 +394,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
394
394
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
-
export {
|
|
397
|
+
export { make15, AzurePlugin2 };
|