@opencode/core 0.0.0-dev-999 → 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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +250 -250
- package/dist/bus.js +86 -86
- package/dist/chunks/{model-27h849jz.js → persistent-pty-05pxn8vz.js} +16 -16
- package/dist/chunks/{model-hvxar7a8.js → persistent-pty-0a0gkp3j.js} +3 -3
- package/dist/chunks/{model-90jx25jr.js → persistent-pty-0crsys4t.js} +24 -24
- package/dist/chunks/{model-qktm7q6b.js → persistent-pty-0f8rwma6.js} +9 -9
- package/dist/chunks/{model-sqjzf8x2.js → persistent-pty-0j7gp832.js} +4 -4
- package/dist/chunks/{model-rzzpvj3x.js → persistent-pty-0kj5gze3.js} +25 -25
- package/dist/chunks/{model-0ma9gw4f.js → persistent-pty-0ma9gw4f.js} +2 -2
- package/dist/chunks/{model-y1mqj5se.js → persistent-pty-0z709a3t.js} +21 -21
- package/dist/chunks/{model-chszet6t.js → persistent-pty-19tdv85a.js} +12 -12
- package/dist/chunks/{model-1aqsckx4.js → persistent-pty-1aqsckx4.js} +1 -1
- package/dist/chunks/{model-wf063wdx.js → persistent-pty-1ehex3va.js} +39 -39
- package/dist/chunks/{model-01msxrc2.js → persistent-pty-1jm0cvp0.js} +45 -45
- package/dist/chunks/{model-jh5xh74j.js → persistent-pty-1n0t2dr2.js} +11 -11
- package/dist/chunks/{model-kze6nzna.js → persistent-pty-1q07fp1w.js} +7 -7
- package/dist/chunks/{model-d1qab26r.js → persistent-pty-1sfa5jwh.js} +11 -11
- package/dist/chunks/{model-1x2knyw4.js → persistent-pty-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-27w5k9zf.js → persistent-pty-27w5k9zf.js} +2 -2
- package/dist/chunks/{model-41cbsehj.js → persistent-pty-28exm1wx.js} +8 -8
- package/dist/chunks/{model-g95xsjx3.js → persistent-pty-28graymx.js} +16 -16
- package/dist/chunks/{model-0fxg9pvt.js → persistent-pty-2eyh4jfa.js} +52 -52
- package/dist/chunks/{model-2fc7eemy.js → persistent-pty-2fc7eemy.js} +1 -1
- package/dist/chunks/{model-arya9n3p.js → persistent-pty-2k6nhgwk.js} +10 -10
- package/dist/chunks/{model-2p60zmnr.js → persistent-pty-2p60zmnr.js} +2 -2
- package/dist/chunks/{model-g3bw9zqa.js → persistent-pty-2qz9f4gt.js} +13 -13
- package/dist/chunks/{model-ktck1cjp.js → persistent-pty-2s9mae96.js} +6 -6
- package/dist/chunks/{model-3b84fcee.js → persistent-pty-2wpnxafc.js} +26 -26
- package/dist/chunks/{model-783rzdj3.js → persistent-pty-326zmjck.js} +18 -18
- package/dist/chunks/{model-q1hxmnhx.js → persistent-pty-36twwwv3.js} +14 -14
- package/dist/chunks/{model-qffk4v12.js → persistent-pty-38atze3s.js} +4 -4
- package/dist/chunks/{model-9ssh8qw1.js → persistent-pty-3c8g2tnf.js} +5 -5
- package/dist/chunks/{model-3cbjf1nt.js → persistent-pty-3cbjf1nt.js} +2 -2
- package/dist/chunks/{model-dk8hh697.js → persistent-pty-3cg8fg0c.js} +62 -62
- package/dist/chunks/{model-0rp2hfqs.js → persistent-pty-3e280y98.js} +40 -40
- package/dist/chunks/{model-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-qzaz5bwz.js → persistent-pty-3mk2b9as.js} +24 -24
- package/dist/chunks/{model-3nnrz6f6.js → persistent-pty-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-xnswe3qp.js → persistent-pty-3q2tc700.js} +18 -18
- package/dist/chunks/{model-ama0tws7.js → persistent-pty-3y2jck2f.js} +19 -19
- package/dist/chunks/{model-40y6dtc2.js → persistent-pty-40y6dtc2.js} +1 -1
- package/dist/chunks/{model-kq01fqtz.js → persistent-pty-411zae40.js} +15 -15
- package/dist/chunks/{model-gy1m0xn3.js → persistent-pty-41r3119g.js} +16 -16
- package/dist/chunks/{model-35bf8v5y.js → persistent-pty-41w8hyyz.js} +48 -48
- package/dist/chunks/{model-44pmzq9c.js → persistent-pty-44pmzq9c.js} +2 -2
- package/dist/chunks/{model-4dx1dgte.js → persistent-pty-4dx1dgte.js} +1 -1
- package/dist/chunks/{model-r542h3bh.js → persistent-pty-4f25tdd0.js} +5 -5
- package/dist/chunks/{model-6h8vcvjm.js → persistent-pty-4g3sdj5g.js} +5 -5
- package/dist/chunks/{model-g3ajmf9g.js → persistent-pty-4h0enmab.js} +2 -2
- package/dist/chunks/{model-4pyp9zr9.js → persistent-pty-4pyp9zr9.js} +1 -1
- package/dist/chunks/{model-4fhxvrqa.js → persistent-pty-4r500enn.js} +5 -5
- package/dist/chunks/{model-4v008n1t.js → persistent-pty-4v008n1t.js} +1 -1
- package/dist/chunks/{model-v4n5y60f.js → persistent-pty-4wcdsfwx.js} +21 -21
- package/dist/chunks/{model-c461m01n.js → persistent-pty-4z750faw.js} +26 -26
- package/dist/chunks/{model-b14yber2.js → persistent-pty-50mnmyd9.js} +1 -1
- package/dist/chunks/{model-a3fn0gmm.js → persistent-pty-55g2q5p5.js} +2 -2
- package/dist/chunks/{model-sffnbtc5.js → persistent-pty-57jnzfmk.js} +8 -8
- package/dist/chunks/{model-mgrcf8eg.js → persistent-pty-5bqwv307.js} +17 -17
- package/dist/chunks/{model-xxd3q6d0.js → persistent-pty-5ct60pxm.js} +93 -93
- package/dist/chunks/{model-ezss272g.js → persistent-pty-5jmte679.js} +10 -10
- package/dist/chunks/{model-a7143epj.js → persistent-pty-5m6a7xby.js} +6 -6
- package/dist/chunks/{model-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-vfs4a21s.js → persistent-pty-5mm5whnz.js} +56 -56
- package/dist/chunks/{model-mk91enp0.js → persistent-pty-5thev09r.js} +8 -8
- package/dist/chunks/{model-cntd60w8.js → persistent-pty-5ydr728e.js} +12 -12
- package/dist/chunks/{model-a34yprc9.js → persistent-pty-60cxrsw5.js} +43 -43
- package/dist/chunks/{model-aw20hh5n.js → persistent-pty-61ewkrrx.js} +10 -10
- package/dist/chunks/{model-hyqmt6qr.js → persistent-pty-61gm9nf9.js} +11 -11
- package/dist/chunks/{model-0nrxkvvc.js → persistent-pty-64dbdwzt.js} +43 -43
- package/dist/chunks/{model-n2rdrjat.js → persistent-pty-67dpx2gv.js} +33 -33
- package/dist/chunks/{model-yg8twbxp.js → persistent-pty-69p42xfb.js} +15 -15
- package/dist/chunks/{model-4a91fd80.js → persistent-pty-6ayvzx6j.js} +11 -11
- package/dist/chunks/{model-wd5snt1e.js → persistent-pty-6d8ta6s6.js} +4 -4
- package/dist/chunks/{model-cd36nz1h.js → persistent-pty-6dwjhfha.js} +8 -8
- package/dist/chunks/{model-1nj39q75.js → persistent-pty-6n3nfrzz.js} +36 -36
- package/dist/chunks/{model-x30t04qp.js → persistent-pty-6s53nrwj.js} +19 -19
- package/dist/chunks/{model-fkyqk9w0.js → persistent-pty-6sk4m11q.js} +5 -5
- package/dist/chunks/{model-xnns4yxp.js → persistent-pty-6ta9r7gp.js} +31 -31
- package/dist/chunks/{model-775hqbnd.js → persistent-pty-775hqbnd.js} +3 -3
- package/dist/chunks/{model-fnbs50vg.js → persistent-pty-775jq4ej.js} +23 -23
- package/dist/chunks/{model-df0p4xp8.js → persistent-pty-7a2ka1sn.js} +50 -50
- package/dist/chunks/{model-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-n88hzhfw.js → persistent-pty-7e2ey0zw.js} +35 -35
- package/dist/chunks/{model-7xcrky0a.js → persistent-pty-7eerh7s0.js} +24 -24
- package/dist/chunks/{model-c4zywkv9.js → persistent-pty-7k74x5pp.js} +25 -25
- package/dist/chunks/{model-mereyghy.js → persistent-pty-7mx101t4.js} +12 -12
- package/dist/chunks/{model-xyj2kwwa.js → persistent-pty-7pa1k1e1.js} +16 -16
- package/dist/chunks/{model-7w2ypzdf.js → persistent-pty-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-7weczvnd.js → persistent-pty-7weczvnd.js} +1 -1
- package/dist/chunks/{model-80pdk984.js → persistent-pty-80pdk984.js} +1 -1
- package/dist/chunks/{model-xbrs5bj0.js → persistent-pty-810r6svr.js} +6 -6
- package/dist/chunks/{model-0hxcpwt2.js → persistent-pty-82rsrcxe.js} +3 -3
- package/dist/chunks/{model-25h84942.js → persistent-pty-8b3vzgkx.js} +4 -4
- package/dist/chunks/{model-8vxybd5m.js → persistent-pty-8brzdc2y.js} +5 -5
- package/dist/chunks/{model-6nj8ec3y.js → persistent-pty-8cb4yb7e.js} +4 -4
- package/dist/chunks/{model-kd2jy9g4.js → persistent-pty-8ekd8bzf.js} +43 -43
- package/dist/chunks/{model-hvtnb39j.js → persistent-pty-8npv4741.js} +6 -6
- package/dist/chunks/{model-k3yknsh6.js → persistent-pty-8pnsnq7c.js} +17 -17
- package/dist/chunks/{model-9jz1t4ws.js → persistent-pty-8tsmr06w.js} +33 -33
- package/dist/chunks/{model-8wtp7s3z.js → persistent-pty-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-2merx6cy.js → persistent-pty-8xb43s2n.js} +11 -11
- package/dist/chunks/{model-8z6m94af.js → persistent-pty-8z6m94af.js} +3 -3
- package/dist/chunks/{model-8zv0xmg5.js → persistent-pty-8zv0xmg5.js} +1 -1
- package/dist/chunks/{model-zsgcekb9.js → persistent-pty-93a1cc45.js} +17 -17
- package/dist/chunks/{model-hq21jm9z.js → persistent-pty-93svqncp.js} +25 -25
- package/dist/chunks/{model-rj7jtxy8.js → persistent-pty-94e33dpz.js} +3 -3
- package/dist/chunks/{model-yxjjpj5q.js → persistent-pty-985dq78n.js} +7 -7
- package/dist/chunks/{model-hzxewqmk.js → persistent-pty-993eq5vv.js} +19 -19
- package/dist/chunks/{model-d61aabb0.js → persistent-pty-99dq0j2d.js} +4 -4
- package/dist/chunks/{model-fv3530tt.js → persistent-pty-99eawj82.js} +11 -11
- package/dist/chunks/{model-3p5vmtwa.js → persistent-pty-99gcf0jn.js} +26 -26
- package/dist/chunks/{model-17ekrt3z.js → persistent-pty-9carcsz7.js} +23 -23
- package/dist/chunks/{model-4y1fnskp.js → persistent-pty-9h6njyp5.js} +30 -30
- package/dist/chunks/{model-j41vtabc.js → persistent-pty-9meb4zc7.js} +15 -15
- package/dist/chunks/{model-e7cc0erc.js → persistent-pty-9vk6zt3b.js} +41 -41
- package/dist/chunks/{model-mhpca445.js → persistent-pty-9w6k4h4f.js} +36 -36
- package/dist/chunks/{model-9m2gkx13.js → persistent-pty-9zhrmgbp.js} +23 -23
- package/dist/chunks/{model-j754fh8m.js → persistent-pty-a1zem19w.js} +43 -43
- package/dist/chunks/{model-128ksrt2.js → persistent-pty-a4pqw53f.js} +19 -19
- package/dist/chunks/persistent-pty-a610t88q.js +18 -0
- package/dist/chunks/{model-238b4g8n.js → persistent-pty-a7x4br4c.js} +13 -13
- package/dist/chunks/{model-2kr977wv.js → persistent-pty-a9pg4e68.js} +29 -29
- package/dist/chunks/{model-r3v0ma7a.js → persistent-pty-ag480xra.js} +17 -17
- package/dist/chunks/{model-08ywff7t.js → persistent-pty-agqj8938.js} +30 -30
- package/dist/chunks/{model-hx1g6sm0.js → persistent-pty-ahtytztk.js} +12 -12
- package/dist/chunks/{model-aj7mw0zk.js → persistent-pty-aj7mw0zk.js} +2 -2
- package/dist/chunks/{model-sf9y72b7.js → persistent-pty-anvcme1c.js} +4 -4
- package/dist/chunks/persistent-pty-atg1htkd.js +265 -0
- package/dist/chunks/{model-e6gm93ev.js → persistent-pty-awnfb1fx.js} +7 -7
- package/dist/chunks/{model-b26ddj6h.js → persistent-pty-b26ddj6h.js} +4 -4
- package/dist/chunks/{model-0tm36zze.js → persistent-pty-b4sm2hyd.js} +12 -12
- package/dist/chunks/{model-nd63gaqc.js → persistent-pty-b8ffzghj.js} +29 -29
- package/dist/chunks/{model-brv6mkyx.js → persistent-pty-babktaw3.js} +4 -4
- package/dist/chunks/{model-bb3mmwvh.js → persistent-pty-bb3mmwvh.js} +2 -2
- package/dist/chunks/{model-gapfq15c.js → persistent-pty-bexrc21s.js} +22 -22
- package/dist/chunks/{model-z7va9jc3.js → persistent-pty-bmkc31x8.js} +5 -5
- package/dist/chunks/{model-r7ykf8xa.js → persistent-pty-bs979tcs.js} +39 -39
- package/dist/chunks/{model-h8jj1sd5.js → persistent-pty-bxy19ahd.js} +34 -34
- package/dist/chunks/{model-vt2d6wap.js → persistent-pty-c5zvymhv.js} +4 -4
- package/dist/chunks/{model-c7cw818c.js → persistent-pty-c7cw818c.js} +2 -2
- package/dist/chunks/{model-8dk7dc9k.js → persistent-pty-c7fp34sz.js} +12 -12
- package/dist/chunks/{model-8dv3qwsd.js → persistent-pty-c9hshhx1.js} +5 -5
- package/dist/chunks/{model-q82pc0fv.js → persistent-pty-catc26qr.js} +19 -19
- package/dist/chunks/{model-154zcyc9.js → persistent-pty-cfks88hm.js} +5 -5
- package/dist/chunks/{model-2a6xqsmt.js → persistent-pty-ckc149ba.js} +22 -22
- package/dist/chunks/{model-cwrgdav8.js → persistent-pty-cwrgdav8.js} +2 -2
- package/dist/chunks/{model-7cjy8m2c.js → persistent-pty-cx5r6w7a.js} +11 -11
- package/dist/chunks/{model-h2j106d0.js → persistent-pty-d0tc4bm9.js} +9 -9
- package/dist/chunks/{model-d4v9tmah.js → persistent-pty-d4v9tmah.js} +2 -2
- package/dist/chunks/persistent-pty-davgff0s.js +26 -0
- package/dist/chunks/{model-73ff1310.js → persistent-pty-dbatw319.js} +3 -3
- package/dist/chunks/{model-vwavmtjg.js → persistent-pty-dbwqcmzg.js} +12 -12
- package/dist/chunks/{model-2pnhf2fv.js → persistent-pty-depd50ek.js} +13 -13
- package/dist/chunks/{model-3zjs10z6.js → persistent-pty-dgnt1j47.js} +25 -25
- package/dist/chunks/{model-wyrr125q.js → persistent-pty-dkpjsqx5.js} +6 -6
- package/dist/chunks/{model-dt77769w.js → persistent-pty-dt77769w.js} +1 -1
- package/dist/chunks/{model-wff00dc7.js → persistent-pty-eda2q8fq.js} +9 -9
- package/dist/chunks/{model-8caa54y3.js → persistent-pty-ehcpw7e6.js} +11 -11
- package/dist/chunks/{model-n1f1g11v.js → persistent-pty-epsccyya.js} +29 -29
- package/dist/chunks/{model-eqw4pqj1.js → persistent-pty-eqw4pqj1.js} +2 -2
- package/dist/chunks/{model-k40v4qcg.js → persistent-pty-ezm8zh6f.js} +6 -6
- package/dist/chunks/{model-04rh7t8q.js → persistent-pty-f2ag6bkj.js} +13 -13
- package/dist/chunks/{model-5xwvkjrr.js → persistent-pty-f44rmy8r.js} +28 -28
- package/dist/chunks/{model-xvn8mnch.js → persistent-pty-fcrd7kek.js} +4 -4
- package/dist/chunks/{model-fffv3p7h.js → persistent-pty-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-fg9p65nk.js → persistent-pty-fg9p65nk.js} +2 -2
- package/dist/chunks/{model-bc2f7s06.js → persistent-pty-fkqc8b83.js} +7 -7
- package/dist/chunks/{model-mjmbzz7a.js → persistent-pty-fw5q8b89.js} +20 -20
- package/dist/chunks/{model-d390zwf3.js → persistent-pty-g6axq7c8.js} +8 -8
- package/dist/chunks/{model-gbjdnr5j.js → persistent-pty-gbjdnr5j.js} +2 -2
- package/dist/chunks/{model-c0mmx4zc.js → persistent-pty-gc6rk9wr.js} +4 -4
- package/dist/chunks/{model-3adw4bt5.js → persistent-pty-gerka9tj.js} +9 -9
- package/dist/chunks/{model-04jyy754.js → persistent-pty-gf1e1jmn.js} +4 -4
- package/dist/chunks/{model-ghrv1g9c.js → persistent-pty-ghrv1g9c.js} +1 -1
- package/dist/chunks/{model-x3c9tvtc.js → persistent-pty-gkb3m8fg.js} +4 -4
- package/dist/chunks/{model-3v3n70sq.js → persistent-pty-gmqp8e0b.js} +23 -23
- package/dist/chunks/{model-xxg1degc.js → persistent-pty-grtyamm0.js} +11 -11
- package/dist/chunks/{model-1925gf79.js → persistent-pty-gsj12czv.js} +5 -5
- package/dist/chunks/{model-xb4qmwkd.js → persistent-pty-gzb1jq95.js} +9 -9
- package/dist/chunks/{model-jrxrsea6.js → persistent-pty-h9aff3c4.js} +15 -15
- package/dist/chunks/{model-gbzkt52z.js → persistent-pty-he212vc7.js} +80 -80
- package/dist/chunks/{model-hgzwgvze.js → persistent-pty-hgzwgvze.js} +2 -2
- package/dist/chunks/{model-hj0xet7m.js → persistent-pty-hj0xet7m.js} +2 -2
- package/dist/chunks/{model-xrx37m5e.js → persistent-pty-hvbrkber.js} +34 -34
- package/dist/chunks/{model-tg6j13r4.js → persistent-pty-hxfd8g55.js} +11 -11
- package/dist/chunks/{model-qfxt7s7z.js → persistent-pty-hy2s0bvc.js} +16 -16
- package/dist/chunks/{model-8ssh1wte.js → persistent-pty-j0g55rpq.js} +20 -20
- package/dist/chunks/{model-rq513mcc.js → persistent-pty-j1nmkkt3.js} +4 -4
- package/dist/chunks/{model-j9nxzz3g.js → persistent-pty-j9nxzz3g.js} +3 -3
- package/dist/chunks/{model-w71fm6xr.js → persistent-pty-jcsps8nx.js} +2 -2
- package/dist/chunks/{model-3qrc3cfx.js → persistent-pty-jfymkvwj.js} +15 -15
- package/dist/chunks/{model-bc3qwzwc.js → persistent-pty-jg5pejh7.js} +29 -29
- package/dist/chunks/{model-jm70asfg.js → persistent-pty-jm70asfg.js} +1 -1
- package/dist/chunks/{model-5p0gy5zm.js → persistent-pty-k0mz210m.js} +11 -11
- package/dist/chunks/{model-0jsqw7fy.js → persistent-pty-k85gbd49.js} +14 -14
- package/dist/chunks/{model-h3gbr1tk.js → persistent-pty-kc4yyfcj.js} +6 -6
- package/dist/chunks/{model-rtx1kdkb.js → persistent-pty-khh8mw4g.js} +20 -20
- package/dist/chunks/{model-7nqkf5r1.js → persistent-pty-kmekj7m2.js} +4 -4
- package/dist/chunks/{model-esrwvfp1.js → persistent-pty-krvd8yx8.js} +46 -46
- package/dist/chunks/{model-kt3bjfbg.js → persistent-pty-kt3bjfbg.js} +1 -1
- package/dist/chunks/{model-zfzvnjsx.js → persistent-pty-kx14djcc.js} +6 -6
- package/dist/chunks/{model-b8865jrk.js → persistent-pty-kx3cst1b.js} +8 -8
- package/dist/chunks/{model-x9gs7zhw.js → persistent-pty-kz39447c.js} +14 -14
- package/dist/chunks/{model-kzczzf4v.js → persistent-pty-kzczzf4v.js} +1 -1
- package/dist/chunks/{model-m1714858.js → persistent-pty-m1714858.js} +1 -1
- package/dist/chunks/{model-wvnqk69q.js → persistent-pty-m2ty84sg.js} +7 -7
- package/dist/chunks/{model-2g47c0ps.js → persistent-pty-m3pj60vj.js} +12 -12
- package/dist/chunks/{model-a480hvw3.js → persistent-pty-m6vgf9gw.js} +21 -21
- package/dist/chunks/{model-r0yp5dgt.js → persistent-pty-m7f343jb.js} +24 -24
- package/dist/chunks/{model-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-wc8hnhwz.js → persistent-pty-mfz3sqjd.js} +13 -13
- package/dist/chunks/{model-7vn2r66h.js → persistent-pty-mgaktmfv.js} +36 -36
- package/dist/chunks/{model-1v2g13eq.js → persistent-pty-msd2a3qm.js} +4 -4
- package/dist/chunks/{model-svpmxkv2.js → persistent-pty-myby21nw.js} +32 -32
- package/dist/chunks/{model-7tdhwmy7.js → persistent-pty-n182t4fm.js} +6 -6
- package/dist/chunks/{model-kvmx4gfp.js → persistent-pty-n18yd1gk.js} +7 -7
- package/dist/chunks/{model-n3j33rb6.js → persistent-pty-n3j33rb6.js} +1 -1
- package/dist/chunks/{model-jvcygd6j.js → persistent-pty-nd2qx06s.js} +9 -9
- package/dist/chunks/{model-9dzheyx2.js → persistent-pty-ne1kdyc5.js} +46 -46
- package/dist/chunks/{model-1dtqp2tz.js → persistent-pty-nfnfhz13.js} +11 -11
- package/dist/chunks/{model-0pk1ngcf.js → persistent-pty-nhb1ah6j.js} +25 -25
- package/dist/chunks/persistent-pty-nkyer32j.js +571 -0
- package/dist/chunks/{model-me215f18.js → persistent-pty-nw5eecxx.js} +1 -1
- package/dist/chunks/{model-nx4vzyjd.js → persistent-pty-nx4vzyjd.js} +2 -2
- package/dist/chunks/{model-menzs2zj.js → persistent-pty-nxq3spkz.js} +19 -19
- package/dist/chunks/{model-9ph1e4xr.js → persistent-pty-nys1sh0v.js} +14 -14
- package/dist/chunks/{model-n61nyeah.js → persistent-pty-nzkcacg2.js} +33 -33
- package/dist/chunks/{model-x3bh6t04.js → persistent-pty-p1fwgbq3.js} +11 -11
- package/dist/chunks/{model-rsbsv3ka.js → persistent-pty-p37phdcf.js} +21 -21
- package/dist/chunks/{model-vk1t66ta.js → persistent-pty-p6g3x2vz.js} +3 -3
- package/dist/chunks/{model-p7vhpwh8.js → persistent-pty-p7vhpwh8.js} +1 -1
- package/dist/chunks/{model-tqkdcr62.js → persistent-pty-p95k8fzz.js} +31 -31
- package/dist/chunks/{model-tqym28t1.js → persistent-pty-pbvcgven.js} +14 -14
- package/dist/chunks/{model-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{model-58jj18ay.js → persistent-pty-pnd10xkk.js} +26 -26
- package/dist/chunks/{model-gmsh9j6n.js → persistent-pty-pwcqpy7g.js} +15 -15
- package/dist/chunks/{model-rx88ctjy.js → persistent-pty-q1hdphhq.js} +19 -19
- package/dist/chunks/{model-7sc8mbv4.js → persistent-pty-q2vfkj9t.js} +15 -15
- package/dist/chunks/{model-q42tzrxa.js → persistent-pty-q42tzrxa.js} +1 -1
- package/dist/chunks/{model-36j0hrjm.js → persistent-pty-qgtht8ak.js} +59 -59
- package/dist/chunks/{model-nqkteeb0.js → persistent-pty-qjrh9arn.js} +12 -12
- package/dist/chunks/{model-c9n7546s.js → persistent-pty-qmxeky00.js} +12 -12
- package/dist/chunks/{model-qp7r0hxv.js → persistent-pty-qp7r0hxv.js} +1 -1
- package/dist/chunks/{model-ga03p7f2.js → persistent-pty-qpfcqkq0.js} +37 -37
- package/dist/chunks/{model-3qgwywyc.js → persistent-pty-r17fbvme.js} +4 -4
- package/dist/chunks/{model-5enarcya.js → persistent-pty-r41sfy63.js} +9 -9
- package/dist/chunks/{model-scn5v30h.js → persistent-pty-r45nfa48.js} +9 -9
- package/dist/chunks/{model-e0aw4qwy.js → persistent-pty-r9tg9hee.js} +11 -11
- package/dist/chunks/{model-jjktkhap.js → persistent-pty-rapa4bye.js} +11 -11
- package/dist/chunks/{model-rb9dy4dg.js → persistent-pty-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-m1ys4f9m.js → persistent-pty-rdck4jxj.js} +4 -4
- package/dist/chunks/{model-rgc9cx3e.js → persistent-pty-rgc9cx3e.js} +2 -2
- package/dist/chunks/{model-re2amjme.js → persistent-pty-rh32f72q.js} +9 -9
- package/dist/chunks/{model-d8p3t516.js → persistent-pty-rha71f46.js} +4 -4
- package/dist/chunks/{model-h1m88njt.js → persistent-pty-rmy5batf.js} +2 -2
- package/dist/chunks/{model-bzj6z3es.js → persistent-pty-rrfhe9rb.js} +6 -6
- package/dist/chunks/{model-rt5dr6hb.js → persistent-pty-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-zgx4rd1t.js → persistent-pty-rwhancbm.js} +11 -11
- package/dist/chunks/{model-gbbwgw5m.js → persistent-pty-ryekn1f5.js} +29 -29
- package/dist/chunks/{model-bfvbnjh9.js → persistent-pty-s2g1n26p.js} +37 -37
- package/dist/chunks/{model-ctv9sxcf.js → persistent-pty-s3fpgpvr.js} +31 -31
- package/dist/chunks/{model-5whx36p1.js → persistent-pty-s47rahr7.js} +4 -4
- package/dist/chunks/{model-r7r55277.js → persistent-pty-s5zrq09q.js} +8 -8
- package/dist/chunks/{model-y0xvjjdd.js → persistent-pty-sbh2nemz.js} +191 -191
- package/dist/chunks/{model-sbya78hr.js → persistent-pty-sbya78hr.js} +1 -1
- package/dist/chunks/{model-274ws26c.js → persistent-pty-sdwrp5t9.js} +5 -5
- package/dist/chunks/{model-svcy3p9a.js → persistent-pty-svcy3p9a.js} +1 -1
- package/dist/chunks/{model-4c54z4fy.js → persistent-pty-t842sf7k.js} +14 -14
- package/dist/chunks/{model-t8erkws8.js → persistent-pty-t8erkws8.js} +2 -2
- package/dist/chunks/{model-g13fcfkr.js → persistent-pty-t8wy1kr3.js} +20 -20
- package/dist/chunks/{model-tbpn7jtk.js → persistent-pty-tbpn7jtk.js} +1 -1
- package/dist/chunks/{model-fnb8mg1p.js → persistent-pty-tcdxfv61.js} +57 -57
- package/dist/chunks/{model-tczq8hjw.js → persistent-pty-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-f8ysvnq5.js → persistent-pty-tdwzz66j.js} +10 -10
- package/dist/chunks/{model-v5hpj9dd.js → persistent-pty-tg1vr1qt.js} +8 -8
- package/dist/chunks/{model-gxs71cxp.js → persistent-pty-tg7s7b5t.js} +4 -4
- package/dist/chunks/{model-vnmstdxq.js → persistent-pty-tm4aj56b.js} +83 -83
- package/dist/chunks/{model-95jvn330.js → persistent-pty-tnmngv61.js} +29 -29
- package/dist/chunks/{model-tr8x705m.js → persistent-pty-tr8x705m.js} +1 -1
- package/dist/chunks/{model-tvtps2q9.js → persistent-pty-tvtps2q9.js} +1 -1
- package/dist/chunks/{model-twssxy5n.js → persistent-pty-twssxy5n.js} +2 -2
- package/dist/chunks/{model-w6nfnjvs.js → persistent-pty-ty8hj3pf.js} +6 -6
- package/dist/chunks/{model-yxm8dm2e.js → persistent-pty-tycv7n3a.js} +4 -4
- package/dist/chunks/{model-2kg89srt.js → persistent-pty-v0t96s7a.js} +4 -4
- package/dist/chunks/{model-bb24a82z.js → persistent-pty-v0wvbz4n.js} +8 -8
- package/dist/chunks/{model-v2r1d0zg.js → persistent-pty-v2r1d0zg.js} +1 -1
- package/dist/chunks/{model-c65nt65b.js → persistent-pty-v4n7vrjj.js} +17 -17
- package/dist/chunks/{model-86bsmw2v.js → persistent-pty-vg3hpwp2.js} +28 -28
- package/dist/chunks/{model-hjyqwha2.js → persistent-pty-vg9bpnxv.js} +5 -5
- package/dist/chunks/{model-mgm0hmvg.js → persistent-pty-vgmnkep0.js} +46 -46
- package/dist/chunks/{model-5kscnyky.js → persistent-pty-vhhz7aj6.js} +9 -9
- package/dist/chunks/{model-vjf35v1f.js → persistent-pty-vjf35v1f.js} +1 -1
- package/dist/chunks/{model-s26c8eb5.js → persistent-pty-vmxsyvj6.js} +4 -4
- package/dist/chunks/{model-5efhg67f.js → persistent-pty-vw0df41f.js} +15 -15
- package/dist/chunks/{model-wvr8xscb.js → persistent-pty-vwcz1f45.js} +5 -5
- package/dist/chunks/{model-cxsbk2pg.js → persistent-pty-w16qaj0w.js} +4 -4
- package/dist/chunks/{model-jvq1eehf.js → persistent-pty-w27wcpfp.js} +14 -14
- package/dist/chunks/{model-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-nztsd3ja.js → persistent-pty-w83xh6h5.js} +20 -20
- package/dist/chunks/{model-w76xjer3.js → persistent-pty-w9w8mt4n.js} +4 -4
- package/dist/chunks/{model-nbpf5s2w.js → persistent-pty-wacyf2fg.js} +18 -18
- package/dist/chunks/{model-wakvkjy4.js → persistent-pty-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{model-2n444ktb.js → persistent-pty-weqc7sb9.js} +3 -3
- package/dist/chunks/{model-s4a9q8qj.js → persistent-pty-wfctrj37.js} +3 -3
- package/dist/chunks/{model-wfdx5ztx.js → persistent-pty-wfdx5ztx.js} +1 -1
- package/dist/chunks/{model-yfsgecb2.js → persistent-pty-wfevek3n.js} +11 -11
- package/dist/chunks/{model-v2qcvjth.js → persistent-pty-wm9776tg.js} +18 -18
- package/dist/chunks/{model-wr3re1en.js → persistent-pty-wr3re1en.js} +1 -1
- package/dist/chunks/{model-vkyjax41.js → persistent-pty-wt5wyw4j.js} +13 -13
- package/dist/chunks/{model-59mrw9ac.js → persistent-pty-ww7agg2x.js} +12 -12
- package/dist/chunks/{model-vmqe41cb.js → persistent-pty-wzfa06mn.js} +4 -4
- package/dist/chunks/{model-vz4x3gkp.js → persistent-pty-x23qg440.js} +10 -10
- package/dist/chunks/{model-79fr46xq.js → persistent-pty-x4eqx4xr.js} +23 -23
- package/dist/chunks/{model-jh0y9090.js → persistent-pty-x9vxb7ws.js} +8 -8
- package/dist/chunks/{model-nx0e49rf.js → persistent-pty-xcnybkj9.js} +6 -6
- package/dist/chunks/{model-bstexjd6.js → persistent-pty-xd9cc171.js} +5 -5
- package/dist/chunks/{model-963hk181.js → persistent-pty-xe6pezxp.js} +7 -7
- package/dist/chunks/{model-xxschbft.js → persistent-pty-xjr6c8m4.js} +4 -4
- package/dist/chunks/{model-c5ptde5m.js → persistent-pty-xkcbpa04.js} +37 -37
- package/dist/chunks/{model-hfxp4j6e.js → persistent-pty-xmtvhdvt.js} +5 -5
- package/dist/chunks/{model-j3f8hyeg.js → persistent-pty-xmx7xj34.js} +4 -4
- package/dist/chunks/{model-y3g0nctn.js → persistent-pty-xvc6mbg8.js} +6 -6
- package/dist/chunks/{model-rcanfscb.js → persistent-pty-xynthp8b.js} +8 -8
- package/dist/chunks/{model-ch8s1y8s.js → persistent-pty-y0f7fy5h.js} +32 -32
- package/dist/chunks/{model-msb9vqyk.js → persistent-pty-y9jn183w.js} +5 -5
- package/dist/chunks/{model-v0k299ff.js → persistent-pty-ya37bfp4.js} +17 -17
- package/dist/chunks/{model-yb20nhc3.js → persistent-pty-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-eh1xkk5s.js → persistent-pty-ybd7cc9e.js} +11 -11
- package/dist/chunks/{model-sx27c7qs.js → persistent-pty-ycmh1q3e.js} +7 -7
- package/dist/chunks/{model-cj03vqj5.js → persistent-pty-yke5mffx.js} +20 -20
- package/dist/chunks/{model-99mtj9fr.js → persistent-pty-ykjy17bf.js} +8 -8
- package/dist/chunks/{model-r15r0aq8.js → persistent-pty-yqzk7gxy.js} +7 -7
- package/dist/chunks/{model-yr705xyq.js → persistent-pty-yr705xyq.js} +1 -1
- package/dist/chunks/{model-w8fmcqe9.js → persistent-pty-yrrgnf07.js} +18 -18
- package/dist/chunks/{model-g8z6k6r2.js → persistent-pty-ytw3rkpd.js} +14 -14
- package/dist/chunks/{model-yvtc2x31.js → persistent-pty-yvtc2x31.js} +1 -1
- package/dist/chunks/{model-2fnnq65x.js → persistent-pty-yz7qpr75.js} +6 -6
- package/dist/chunks/{model-92ny0p1b.js → persistent-pty-zaqdb9p1.js} +9 -9
- package/dist/chunks/{model-tma022qm.js → persistent-pty-zhym9e35.js} +9 -9
- package/dist/chunks/{model-yy0zbfpp.js → persistent-pty-zjbt4vaq.js} +25 -25
- package/dist/chunks/{model-br1f43xn.js → persistent-pty-zn6271pz.js} +8 -8
- package/dist/chunks/{model-by8ty0bx.js → persistent-pty-zpdbqgja.js} +4 -4
- package/dist/chunks/{model-wvje8v9p.js → persistent-pty-zt8mkgbb.js} +5 -5
- package/dist/chunks/{model-7m5xp29h.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 +9 -9
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +94 -94
- 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 +130 -130
- 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 +94 -94
- 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 +105 -105
- 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 +109 -109
- 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 +162 -162
- 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 +4 -4
- 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 +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 +90 -90
- 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 +115 -115
- 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 +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +156 -156
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +95 -95
- 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 +147 -147
- 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 +112 -112
- 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 +3 -3
- 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 +150 -150
- 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 +97 -97
- 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 +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +7 -7
- 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 +99 -99
- package/dist/reference.js +101 -101
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +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 +203 -203
- 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 +167 -167
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +150 -150
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +144 -144
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +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 +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 +5 -5
- package/dist/session/session.js +188 -188
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +85 -85
- package/dist/session/store.js +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 +3 -3
- package/dist/session/title.js +209 -209
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +248 -248
- 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 +7 -7
- package/dist/shell.js +147 -147
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +150 -150
- package/dist/skill.js +151 -151
- package/dist/snapshot.js +102 -102
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +186 -186
- 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 +174 -174
- package/dist/tool/plugin/grep.js +171 -171
- package/dist/tool/plugin/image-generate.js +241 -241
- 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 +173 -173
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +243 -243
- package/dist/tool/plugin/skill.js +158 -158
- package/dist/tool/plugin/subagent.js +242 -242
- package/dist/tool/plugin/todo.js +156 -156
- package/dist/tool/plugin/webfetch.js +160 -160
- package/dist/tool/plugin/websearch.js +158 -158
- package/dist/tool/plugin/write.js +169 -169
- package/dist/tool/read-filesystem.js +116 -116
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/usage-limits.js +96 -96
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- 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 +2 -2
- package/dist/variant.js +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +95 -95
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +113 -113
- package/package.json +9 -9
- package/dist/chunks/model-ezna1kdx.js +0 -18
- package/dist/chunks/model-fwtffrk0.js +0 -571
- package/dist/chunks/model-jnjm1jrj.js +0 -26
- package/dist/chunks/model-y7vk4fn8.js +0 -265
- /package/dist/chunks/{model-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-108x4f4w.js → persistent-pty-108x4f4w.js} +0 -0
- /package/dist/chunks/{model-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-1kah00gy.js → persistent-pty-1kah00gy.js} +0 -0
- /package/dist/chunks/{model-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-3af0jn4w.js → persistent-pty-3af0jn4w.js} +0 -0
- /package/dist/chunks/{model-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{model-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-4qk9sjk2.js → persistent-pty-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{model-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{model-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-5w3e23ze.js → persistent-pty-5w3e23ze.js} +0 -0
- /package/dist/chunks/{model-6agm2x70.js → persistent-pty-6agm2x70.js} +0 -0
- /package/dist/chunks/{model-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{model-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{model-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-beh6qq61.js → persistent-pty-beh6qq61.js} +0 -0
- /package/dist/chunks/{model-bhmrqjy3.js → persistent-pty-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{model-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-cqv5kn06.js → persistent-pty-cqv5kn06.js} +0 -0
- /package/dist/chunks/{model-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{model-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-ean2d8b5.js → persistent-pty-ean2d8b5.js} +0 -0
- /package/dist/chunks/{model-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-fkpq3x5p.js → persistent-pty-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{model-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{model-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{model-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{model-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-jwr30sdr.js → persistent-pty-jwr30sdr.js} +0 -0
- /package/dist/chunks/{model-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
- /package/dist/chunks/{model-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-nh4v3znn.js → persistent-pty-nh4v3znn.js} +0 -0
- /package/dist/chunks/{model-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-p71gwv9c.js → persistent-pty-p71gwv9c.js} +0 -0
- /package/dist/chunks/{model-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-syrav9an.js → persistent-pty-syrav9an.js} +0 -0
- /package/dist/chunks/{model-t03h4f5z.js → persistent-pty-t03h4f5z.js} +0 -0
- /package/dist/chunks/{model-ty7weeps.js → persistent-pty-ty7weeps.js} +0 -0
- /package/dist/chunks/{model-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-vtarvj67.js → persistent-pty-vtarvj67.js} +0 -0
- /package/dist/chunks/{model-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-x4th4bpe.js → persistent-pty-x4th4bpe.js} +0 -0
- /package/dist/chunks/{model-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{model-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-z0h12gs8.js → persistent-pty-z0h12gs8.js} +0 -0
- /package/dist/chunks/{model-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
- /package/dist/chunks/{model-zxpyjp51.js → persistent-pty-zxpyjp51.js} +0 -0
- /package/dist/chunks/{model-zz5vv3aq.js → persistent-pty-zz5vv3aq.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./persistent-pty-2eyh4jfa.js";
|
|
4
4
|
import {
|
|
5
5
|
observe2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-tvtps2q9.js";
|
|
7
7
|
import {
|
|
8
8
|
resolver2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-eda2q8fq.js";
|
|
10
10
|
import {
|
|
11
11
|
Condition2,
|
|
12
|
-
|
|
12
|
+
ID4,
|
|
13
13
|
Outcome3,
|
|
14
14
|
Request2,
|
|
15
15
|
Status2,
|
|
16
16
|
toCreateInput2,
|
|
17
17
|
When2,
|
|
18
|
-
|
|
18
|
+
NotFoundError2,
|
|
19
19
|
DisabledError2,
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service13
|
|
21
|
+
} from "./persistent-pty-krvd8yx8.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/tool/plugin/schedule.ts
|
|
27
27
|
var exports_schedule = {};
|
|
28
28
|
__export(exports_schedule, {
|
|
29
29
|
IDInput: () => IDInput2,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin8,
|
|
31
31
|
ScheduleTools: () => exports_schedule,
|
|
32
32
|
View: () => View2
|
|
33
33
|
});
|
|
@@ -40,7 +40,7 @@ var schedule_default = 'Manage scheduled prompts for this session.\n\nRequest: $
|
|
|
40
40
|
|
|
41
41
|
// src/tool/plugin/schedule.ts
|
|
42
42
|
var View2 = Schema.Struct({
|
|
43
|
-
id:
|
|
43
|
+
id: ID4,
|
|
44
44
|
name: Schema.String.pipe(optional),
|
|
45
45
|
when: When2,
|
|
46
46
|
tz: Schema.String,
|
|
@@ -61,19 +61,19 @@ var ListOutput = Schema.Struct({
|
|
|
61
61
|
schedules: Schema.Array(View2)
|
|
62
62
|
});
|
|
63
63
|
var IDInput2 = Schema.Struct({
|
|
64
|
-
id:
|
|
64
|
+
id: ID4.annotate({ description: "Schedule id from schedule_list." })
|
|
65
65
|
});
|
|
66
|
-
var RemoveOutput = Schema.Struct({ id:
|
|
67
|
-
var
|
|
66
|
+
var RemoveOutput = Schema.Struct({ id: ID4, removed: Schema.Boolean });
|
|
67
|
+
var Plugin8 = {
|
|
68
68
|
id: "opencode.tool.schedule",
|
|
69
69
|
effect: Effect.fn("ScheduleTools.Plugin")(function* (ctx) {
|
|
70
|
-
const config = yield*
|
|
71
|
-
const schedules = yield*
|
|
70
|
+
const config = yield* Service73;
|
|
71
|
+
const schedules = yield* Service13;
|
|
72
72
|
const loaded = yield* observe2(config, ctx.event, Effect.andThen(ctx.tool.reload(), ctx.command.reload()));
|
|
73
73
|
const flags = yield* resolver2;
|
|
74
74
|
const enabled = () => flags(loaded.entries).schedules.enabled;
|
|
75
75
|
const allowed = (sessionID) => schedules.enabled(sessionID).pipe(Effect.flatMap((on) => on ? Effect.void : Effect.fail(new DisabledError2)));
|
|
76
|
-
const owned = (id, sessionID) => allowed(sessionID).pipe(Effect.andThen(schedules.get(id)), Effect.filterOrFail((info) => info.sessionID === sessionID, () => new
|
|
76
|
+
const owned = (id, sessionID) => allowed(sessionID).pipe(Effect.andThen(schedules.get(id)), Effect.filterOrFail((info) => info.sessionID === sessionID, () => new NotFoundError2({ scheduleID: id })));
|
|
77
77
|
const failure = (error) => new ToolFailure({ message: error.message, error });
|
|
78
78
|
yield* ctx.tool.transform((editor) => {
|
|
79
79
|
if (!enabled())
|
|
@@ -201,4 +201,4 @@ function toView(info) {
|
|
|
201
201
|
};
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
export { View2, IDInput2,
|
|
204
|
+
export { View2, IDInput2, Plugin8, exports_schedule };
|
|
@@ -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
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-s47rahr7.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
22
|
-
configured: () =>
|
|
21
|
+
Service: () => Service87,
|
|
22
|
+
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node89,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -84,13 +84,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
84
84
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
85
85
|
var isDefinition = (input) => !Array.isArray(input);
|
|
86
86
|
|
|
87
|
-
class
|
|
87
|
+
class Service87 extends Context.Service()("@opencode/Bus") {
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function configured12(options) {
|
|
90
90
|
return makeGlobalNode({
|
|
91
|
-
service:
|
|
91
|
+
service: Service87,
|
|
92
92
|
deps: [node95],
|
|
93
|
-
layer: Layer.effect(
|
|
93
|
+
layer: Layer.effect(Service87, Effect.gen(function* () {
|
|
94
94
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
95
95
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
96
96
|
const pubsub = {
|
|
@@ -515,7 +515,7 @@ function configured13(options) {
|
|
|
515
515
|
list.push((event) => projector(event));
|
|
516
516
|
projectors.set(key, list);
|
|
517
517
|
});
|
|
518
|
-
return
|
|
518
|
+
return Service87.of({
|
|
519
519
|
publish,
|
|
520
520
|
publishAll,
|
|
521
521
|
subscribe,
|
|
@@ -529,6 +529,6 @@ function configured13(options) {
|
|
|
529
529
|
}))
|
|
530
530
|
});
|
|
531
531
|
}
|
|
532
|
-
var
|
|
532
|
+
var node89 = configured12();
|
|
533
533
|
|
|
534
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
534
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service87, configured12, node89, exports_bus };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/goal.ts
|
|
6
6
|
var exports_goal = {};
|
|
@@ -9,7 +9,7 @@ __export(exports_goal, {
|
|
|
9
9
|
MAX_OBJECTIVE: () => MAX_OBJECTIVE2,
|
|
10
10
|
MAX_ROUNDS: () => MAX_ROUNDS2,
|
|
11
11
|
MAX_STALLS: () => MAX_STALLS2,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin32,
|
|
13
13
|
WAIT_LIMIT: () => WAIT_LIMIT2
|
|
14
14
|
});
|
|
15
15
|
import { isContextOverflowFailure, Message } from "@opencode/ai/effect";
|
|
@@ -102,7 +102,7 @@ var Verdict = Schema.Struct({
|
|
|
102
102
|
});
|
|
103
103
|
var decodeVerdict = Schema.decodeUnknownOption(Schema.fromJsonString(Verdict));
|
|
104
104
|
var USAGE = "Usage: /goal <objective> | pause | resume | clear";
|
|
105
|
-
var
|
|
105
|
+
var Plugin32 = define({
|
|
106
106
|
id: "opencode.goal",
|
|
107
107
|
effect: Effect.fn(function* (ctx) {
|
|
108
108
|
const read = Effect.fn("GoalPlugin.read")(function* (sessionID) {
|
|
@@ -407,4 +407,4 @@ function escape(text) {
|
|
|
407
407
|
return text.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">");
|
|
408
408
|
}
|
|
409
409
|
|
|
410
|
-
export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2,
|
|
410
|
+
export { MAX_OBJECTIVE2, MAX_ROUNDS2, MAX_STALLS2, WAIT_LIMIT2, Plugin32, exports_goal };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
managesTransactionsNatively2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-50mnmyd9.js";
|
|
4
4
|
import {
|
|
5
5
|
_20260805200742_import_legacy_credentials_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-zz5vv3aq.js";
|
|
7
7
|
import {
|
|
8
8
|
migrations2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-qgtht8ak.js";
|
|
10
10
|
import {
|
|
11
11
|
schema_gen_default
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-6agm2x70.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/database/migration.ts
|
|
18
18
|
var exports_migration = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-wakvkjy4.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-aj7mw0zk.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-s47rahr7.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service87,
|
|
6
|
+
node89
|
|
7
|
+
} from "./persistent-pty-36twwwv3.js";
|
|
8
|
+
import {
|
|
9
|
+
Event19,
|
|
10
|
+
Service81,
|
|
11
|
+
node83
|
|
12
|
+
} from "./persistent-pty-6ta9r7gp.js";
|
|
8
13
|
import {
|
|
9
|
-
Event20,
|
|
10
14
|
Service85,
|
|
11
15
|
node87
|
|
12
|
-
} from "./
|
|
13
|
-
import {
|
|
14
|
-
Service88,
|
|
15
|
-
node91
|
|
16
|
-
} from "./model-qfxt7s7z.js";
|
|
16
|
+
} from "./persistent-pty-hy2s0bvc.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node78
|
|
20
|
+
} from "./persistent-pty-w83xh6h5.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID17,
|
|
23
|
+
Service80,
|
|
24
|
+
node82
|
|
25
|
+
} from "./persistent-pty-2wpnxafc.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create4
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./persistent-pty-40y6dtc2.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID16,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service79,
|
|
34
|
+
node81
|
|
35
|
+
} from "./persistent-pty-b8ffzghj.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
make27
|
|
38
|
+
} from "./persistent-pty-x9vxb7ws.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
40
|
+
Service39,
|
|
41
41
|
key2,
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
42
|
+
node42
|
|
43
|
+
} from "./persistent-pty-a4pqw53f.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/mcp/index.ts
|
|
49
49
|
var exports_mcp4 = {};
|
|
50
50
|
__export(exports_mcp4, {
|
|
51
51
|
Mcp: () => exports_mcp4,
|
|
52
|
-
NotFoundError: () =>
|
|
52
|
+
NotFoundError: () => NotFoundError4,
|
|
53
53
|
Options: () => Options3,
|
|
54
54
|
PromptsChanged: () => PromptsChanged2,
|
|
55
55
|
Resource: () => Resource2,
|
|
@@ -57,12 +57,12 @@ __export(exports_mcp4, {
|
|
|
57
57
|
ResourceContent: () => ResourceContent2,
|
|
58
58
|
ResourceTemplate: () => ResourceTemplate2,
|
|
59
59
|
ServerName: () => ServerName2,
|
|
60
|
-
Service: () =>
|
|
60
|
+
Service: () => Service38,
|
|
61
61
|
Status: () => Status3,
|
|
62
62
|
ToolCallError: () => ToolCallError2,
|
|
63
63
|
configured: () => configured3,
|
|
64
|
-
layer: () =>
|
|
65
|
-
node: () =>
|
|
64
|
+
layer: () => layer16,
|
|
65
|
+
node: () => node41
|
|
66
66
|
});
|
|
67
67
|
import { Mcp } from "@opencode/schema/mcp";
|
|
68
68
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -95,7 +95,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
95
95
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
96
96
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
97
97
|
|
|
98
|
-
class
|
|
98
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
99
99
|
server: ServerName2
|
|
100
100
|
}) {
|
|
101
101
|
get message() {
|
|
@@ -128,7 +128,7 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
128
128
|
var changes = { tools: McpEvent.ToolsChanged, resources: McpEvent.ResourcesChanged, prompts: PromptsChanged2 };
|
|
129
129
|
var cloneConfig = (config) => structuredClone(config);
|
|
130
130
|
|
|
131
|
-
class
|
|
131
|
+
class Service38 extends Context.Service()("@opencode/MCP") {
|
|
132
132
|
}
|
|
133
133
|
var Options3 = Schema.Struct({
|
|
134
134
|
clientInfo: Schema.optional(Schema.Struct({
|
|
@@ -136,15 +136,15 @@ var Options3 = Schema.Struct({
|
|
|
136
136
|
version: Schema.String
|
|
137
137
|
}))
|
|
138
138
|
});
|
|
139
|
-
var
|
|
140
|
-
const location = yield*
|
|
141
|
-
const environment = yield*
|
|
142
|
-
const bus = yield*
|
|
143
|
-
const forms = yield*
|
|
144
|
-
const integration = yield*
|
|
145
|
-
const credentials = yield*
|
|
139
|
+
var layer16 = (options) => Layer.effect(Service38, Effect.gen(function* () {
|
|
140
|
+
const location = yield* Service85;
|
|
141
|
+
const environment = yield* Service76;
|
|
142
|
+
const bus = yield* Service87;
|
|
143
|
+
const forms = yield* Service80;
|
|
144
|
+
const integration = yield* Service79;
|
|
145
|
+
const credentials = yield* Service81;
|
|
146
146
|
const fetch = yield* FetchHttpClient.Fetch;
|
|
147
|
-
const pool = yield*
|
|
147
|
+
const pool = yield* Service39;
|
|
148
148
|
const root = yield* Effect.scope;
|
|
149
149
|
const fork = yield* FiberSet.makeRuntime();
|
|
150
150
|
const servers = yield* Scope.fork(root, "parallel");
|
|
@@ -160,7 +160,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
160
160
|
return;
|
|
161
161
|
const remote = entry.config;
|
|
162
162
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
163
|
-
const integrationID =
|
|
163
|
+
const integrationID = ID16.make(suffix);
|
|
164
164
|
entry.integrationID = integrationID;
|
|
165
165
|
const methodID = MethodID2.make(suffix);
|
|
166
166
|
const scope = yield* Scope.fork(root);
|
|
@@ -175,7 +175,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
175
175
|
method: { id: methodID, type: "oauth", label: name },
|
|
176
176
|
authorize: () => Effect.gen(function* () {
|
|
177
177
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
178
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
178
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service81, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
|
|
179
179
|
})
|
|
180
180
|
});
|
|
181
181
|
}).pipe(Scope.provide(scope));
|
|
@@ -183,7 +183,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
183
183
|
const requireServer = Effect.fnUntraced(function* (name) {
|
|
184
184
|
const entry = entries.get(name);
|
|
185
185
|
if (!entry)
|
|
186
|
-
return yield* new
|
|
186
|
+
return yield* new NotFoundError4({ server: name });
|
|
187
187
|
return entry;
|
|
188
188
|
});
|
|
189
189
|
const connected = Effect.fnUntraced(function* (name) {
|
|
@@ -196,12 +196,12 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
196
196
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
197
197
|
return;
|
|
198
198
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
199
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, credential }).pipe(Effect.provideService(
|
|
199
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, credential }).pipe(Effect.provideService(Service81, credentials), Effect.provideService(FetchHttpClient.Fetch, fetch));
|
|
200
200
|
});
|
|
201
201
|
const elicitation = {
|
|
202
202
|
create: (input) => Effect.gen(function* () {
|
|
203
203
|
if (input.params.mode === "url") {
|
|
204
|
-
const formID =
|
|
204
|
+
const formID = ID17.create();
|
|
205
205
|
const elicitationID = input.params.elicitationId;
|
|
206
206
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
207
207
|
if (key)
|
|
@@ -238,7 +238,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
238
238
|
content: Object.fromEntries(Object.entries(state.answer).map(([key, value]) => typeof value === "object" ? [key, Array.from(value)] : [key, value]))
|
|
239
239
|
};
|
|
240
240
|
}));
|
|
241
|
-
}).pipe(Effect.provideService(
|
|
241
|
+
}).pipe(Effect.provideService(Service85, location)),
|
|
242
242
|
complete: (input) => Effect.gen(function* () {
|
|
243
243
|
const formID = urlElicitations.get(input.server + "\x00" + input.elicitationID);
|
|
244
244
|
if (!formID)
|
|
@@ -270,7 +270,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
270
270
|
status: { status: "pending" },
|
|
271
271
|
startup: Latch.makeUnsafe(),
|
|
272
272
|
attempt: { started, settled: Latch.makeUnsafe() },
|
|
273
|
-
connection: (pooled ? share :
|
|
273
|
+
connection: (pooled ? share : make27)({
|
|
274
274
|
name,
|
|
275
275
|
config: config.pool && config.protocol === undefined ? { ...config, protocol: "auto" } : config,
|
|
276
276
|
directory: location.directory,
|
|
@@ -412,7 +412,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
412
412
|
clientInfo: options?.clientInfo
|
|
413
413
|
}).pipe(Effect.tap((connection) => Effect.sync(() => connection.onClose(() => {
|
|
414
414
|
closed = true;
|
|
415
|
-
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
415
|
+
}))), Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service76, environment), Scope.provide(scope), Effect.onError(() => Scope.close(scope, Exit.void)), Effect.mapError((error) => error instanceof McpClient.ConnectError ? error : new McpClient.ConnectError({ server: name, message: error.message })));
|
|
416
416
|
const register = Effect.gen(function* () {
|
|
417
417
|
if (closed) {
|
|
418
418
|
yield* Scope.close(scope, Exit.void);
|
|
@@ -485,7 +485,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
485
485
|
yield* entry.connection.start;
|
|
486
486
|
}).pipe(locks.withLock(name));
|
|
487
487
|
});
|
|
488
|
-
fork(bus.subscribe(
|
|
488
|
+
fork(bus.subscribe(Event19.Switched).pipe(Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
489
489
|
const state = create4({
|
|
490
490
|
name: "mcp",
|
|
491
491
|
initial: () => ({
|
|
@@ -511,7 +511,7 @@ var layer17 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
511
511
|
}),
|
|
512
512
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
513
513
|
});
|
|
514
|
-
return
|
|
514
|
+
return Service38.of({
|
|
515
515
|
transform: state.transform,
|
|
516
516
|
reload: state.reload,
|
|
517
517
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -645,21 +645,21 @@ function mergeCatalogs(catalogs) {
|
|
|
645
645
|
}
|
|
646
646
|
function configured3(options) {
|
|
647
647
|
return makeLocationNode({
|
|
648
|
-
service:
|
|
649
|
-
layer:
|
|
648
|
+
service: Service38,
|
|
649
|
+
layer: layer16(options),
|
|
650
650
|
deps: [
|
|
651
|
-
node91,
|
|
652
|
-
node88,
|
|
653
|
-
node94,
|
|
654
|
-
node86,
|
|
655
|
-
node85,
|
|
656
651
|
node87,
|
|
652
|
+
node78,
|
|
653
|
+
node89,
|
|
654
|
+
node82,
|
|
655
|
+
node81,
|
|
656
|
+
node83,
|
|
657
657
|
httpFetch,
|
|
658
|
-
|
|
658
|
+
node42
|
|
659
659
|
]
|
|
660
660
|
});
|
|
661
661
|
}
|
|
662
|
-
var
|
|
662
|
+
var node41 = configured3();
|
|
663
663
|
function toElicitationField(key, property, required) {
|
|
664
664
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
665
665
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -710,4 +710,4 @@ function toElicitationField(key, property, required) {
|
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
712
|
|
|
713
|
-
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
713
|
+
export { ServerName2, PromptsChanged2, Status3, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service38, Options3, layer16, configured3, node41, exports_mcp4 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service71
|
|
3
|
+
} from "./persistent-pty-ckc149ba.js";
|
|
4
4
|
import {
|
|
5
5
|
Ref3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service77
|
|
7
|
+
} from "./persistent-pty-s2g1n26p.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service73
|
|
11
|
+
} from "./persistent-pty-2eyh4jfa.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionSchema2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-weqc7sb9.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service52
|
|
17
|
+
} from "./persistent-pty-pwcqpy7g.js";
|
|
18
18
|
import {
|
|
19
19
|
invocation2,
|
|
20
20
|
evaluate3,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service68
|
|
22
|
+
} from "./persistent-pty-41w8hyyz.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service25
|
|
25
|
+
} from "./persistent-pty-5ct60pxm.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./persistent-pty-0j7gp832.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service12
|
|
31
|
+
} from "./persistent-pty-p37phdcf.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input10,
|
|
40
|
+
Output: () => Output9,
|
|
41
|
+
Plugin: () => Plugin11,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
43
|
description: () => description5,
|
|
44
|
-
name: () =>
|
|
44
|
+
name: () => name10
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name10 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -57,7 +57,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
57
57
|
].join(`
|
|
58
58
|
`)
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var Input10 = Schema.Struct({
|
|
61
61
|
agent: Schema.String.annotate({
|
|
62
62
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
63
63
|
}),
|
|
@@ -73,7 +73,7 @@ var Input8 = Schema.Struct({
|
|
|
73
73
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
|
-
var
|
|
76
|
+
var Output9 = Schema.Struct({
|
|
77
77
|
sessionID: SessionSchema2.ID,
|
|
78
78
|
status: Schema.Literals(["completed", "running"]),
|
|
79
79
|
output: Schema.String
|
|
@@ -87,16 +87,16 @@ var description5 = [
|
|
|
87
87
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
88
88
|
].join(`
|
|
89
89
|
`);
|
|
90
|
-
var
|
|
90
|
+
var Plugin11 = {
|
|
91
91
|
id: "opencode.tool.subagent",
|
|
92
92
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
93
|
-
const sessions = yield*
|
|
94
|
-
const jobs = yield*
|
|
95
|
-
const agents = yield*
|
|
96
|
-
const config = yield*
|
|
97
|
-
const permission = yield*
|
|
98
|
-
const models = yield*
|
|
99
|
-
const subagents = yield*
|
|
93
|
+
const sessions = yield* Service25;
|
|
94
|
+
const jobs = yield* Service52;
|
|
95
|
+
const agents = yield* Service71;
|
|
96
|
+
const config = yield* Service73;
|
|
97
|
+
const permission = yield* Service68;
|
|
98
|
+
const models = yield* Service77;
|
|
99
|
+
const subagents = yield* Service12;
|
|
100
100
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
101
101
|
const ref = yield* Effect.try({
|
|
102
102
|
try: () => Ref3.parse(input),
|
|
@@ -118,11 +118,11 @@ var Plugin47 = {
|
|
|
118
118
|
return ref;
|
|
119
119
|
});
|
|
120
120
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
121
|
-
name:
|
|
121
|
+
name: name10,
|
|
122
122
|
options: { codemode: false },
|
|
123
123
|
description: description5,
|
|
124
|
-
input:
|
|
125
|
-
output:
|
|
124
|
+
input: Input10,
|
|
125
|
+
output: Output9,
|
|
126
126
|
execute: (input, context) => Effect.gen(function* () {
|
|
127
127
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
128
128
|
let current = parent;
|
|
@@ -142,7 +142,7 @@ var Plugin47 = {
|
|
|
142
142
|
if (agent.mode === "primary")
|
|
143
143
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
144
144
|
yield* permission.assert({
|
|
145
|
-
action:
|
|
145
|
+
action: name10,
|
|
146
146
|
resources: [agent.id],
|
|
147
147
|
save: [agent.id],
|
|
148
148
|
...invocation2(context)
|
|
@@ -215,7 +215,7 @@ ${output.output}
|
|
|
215
215
|
})))
|
|
216
216
|
})).pipe(Effect.orDie);
|
|
217
217
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
218
|
-
if (event.tool !==
|
|
218
|
+
if (event.tool !== name10 || !Predicate.isObject(event.input))
|
|
219
219
|
return;
|
|
220
220
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
221
221
|
return;
|
|
@@ -227,13 +227,13 @@ ${output.output}
|
|
|
227
227
|
event.input = input;
|
|
228
228
|
}));
|
|
229
229
|
const hook = (event) => Effect.gen(function* () {
|
|
230
|
-
const tool = event.tools[
|
|
230
|
+
const tool = event.tools[name10];
|
|
231
231
|
if (!tool)
|
|
232
232
|
return;
|
|
233
233
|
const selected = yield* agents.resolve(event.agent);
|
|
234
234
|
if (!selected)
|
|
235
235
|
return;
|
|
236
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(
|
|
236
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate3(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
237
237
|
if (available.length === 0)
|
|
238
238
|
return;
|
|
239
239
|
tool.description = [
|
|
@@ -250,4 +250,4 @@ ${output.output}
|
|
|
250
250
|
})
|
|
251
251
|
};
|
|
252
252
|
|
|
253
|
-
export {
|
|
253
|
+
export { name10, Input10, Output9, description5, Plugin11, exports_subagent };
|