@opencode/core 0.0.0-dev-21641 → 0.0.0-dev-21651
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{instance-034tev2y.js → persistent-pty-034tev2y.js} +2 -2
- package/dist/chunks/{instance-mdvh07w7.js → persistent-pty-04qzb6ng.js} +15 -15
- package/dist/chunks/{instance-qrmqkw27.js → persistent-pty-0a4e2wep.js} +18 -18
- package/dist/chunks/{instance-vy2h0p7t.js → persistent-pty-0gxwnce6.js} +14 -14
- package/dist/chunks/{instance-79ascwz8.js → persistent-pty-0r8hms5j.js} +27 -27
- package/dist/chunks/{instance-2zj16vbw.js → persistent-pty-0vawvjhj.js} +6 -6
- package/dist/chunks/{instance-c4wf1ysj.js → persistent-pty-10jwkg0d.js} +20 -20
- package/dist/chunks/{instance-mf1ymtqj.js → persistent-pty-14x9rdgq.js} +21 -21
- package/dist/chunks/{instance-pfam02kk.js → persistent-pty-1689f439.js} +5 -5
- package/dist/chunks/{instance-aq1tnhw0.js → persistent-pty-18qnwgya.js} +5 -5
- package/dist/chunks/{instance-1ep2p91f.js → persistent-pty-1ep2p91f.js} +2 -2
- package/dist/chunks/{instance-ykhahs5v.js → persistent-pty-1h6ms3ts.js} +35 -35
- package/dist/chunks/{instance-nd09pmcx.js → persistent-pty-1ncazf2z.js} +19 -19
- package/dist/chunks/{instance-1x2knyw4.js → persistent-pty-1x2knyw4.js} +1 -1
- package/dist/chunks/{instance-ccqcnw0e.js → persistent-pty-1xxray5a.js} +21 -21
- package/dist/chunks/{instance-8sxdqgb0.js → persistent-pty-1z6jjy5p.js} +6 -6
- package/dist/chunks/{instance-cs87y13h.js → persistent-pty-231a8wys.js} +8 -8
- package/dist/chunks/{instance-gxna9qj8.js → persistent-pty-26d30kmm.js} +28 -28
- package/dist/chunks/{instance-ka99wkw2.js → persistent-pty-27zy431c.js} +4 -4
- package/dist/chunks/{instance-bw4xbwfn.js → persistent-pty-2aabkt2r.js} +11 -11
- package/dist/chunks/{instance-xc7x0jwv.js → persistent-pty-2bky7t1z.js} +70 -70
- package/dist/chunks/{instance-yyk2zdd2.js → persistent-pty-2dwppexq.js} +42 -42
- package/dist/chunks/{instance-4h8x6jdk.js → persistent-pty-2ex3p3f1.js} +12 -12
- package/dist/chunks/{instance-71sd8a42.js → persistent-pty-2f50b9jg.js} +1 -1
- package/dist/chunks/{instance-qkm1qb3q.js → persistent-pty-2hep2db8.js} +11 -11
- package/dist/chunks/{instance-n1nj23tb.js → persistent-pty-2m6p7yk7.js} +16 -16
- package/dist/chunks/{instance-fp2av3pw.js → persistent-pty-2xk6ct32.js} +19 -19
- package/dist/chunks/{instance-2z1j29yd.js → persistent-pty-2z1j29yd.js} +1 -1
- package/dist/chunks/{instance-0t1mekc8.js → persistent-pty-3837d0nm.js} +6 -6
- package/dist/chunks/{instance-tfnjv676.js → persistent-pty-3b8pv6kk.js} +24 -24
- package/dist/chunks/{instance-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-gsjs8xe3.js → persistent-pty-3k9f0r09.js} +19 -19
- package/dist/chunks/{instance-7xg2jm5b.js → persistent-pty-3kdbrncp.js} +5 -5
- package/dist/chunks/{instance-3nnrz6f6.js → persistent-pty-3nnrz6f6.js} +1 -1
- package/dist/chunks/{instance-xewy3d53.js → persistent-pty-3pjdfsqh.js} +8 -8
- package/dist/chunks/{instance-vsbb40rd.js → persistent-pty-3y9jhrfk.js} +17 -17
- package/dist/chunks/{instance-a41wq1zg.js → persistent-pty-3z6cn8x0.js} +13 -13
- package/dist/chunks/{instance-97pvg7tb.js → persistent-pty-437171mk.js} +9 -9
- package/dist/chunks/{instance-6wz3wy1g.js → persistent-pty-44etcz8n.js} +5 -5
- package/dist/chunks/{instance-mb1ys4h0.js → persistent-pty-4b0snw21.js} +12 -12
- package/dist/chunks/{instance-5mjn8n6s.js → persistent-pty-4ccqqpnm.js} +4 -4
- package/dist/chunks/{instance-nhxzfzhp.js → persistent-pty-4dzz3k2c.js} +10 -10
- package/dist/chunks/{instance-gcnhbd6s.js → persistent-pty-4h1ntjay.js} +7 -7
- package/dist/chunks/{instance-nskgx1xy.js → persistent-pty-4jq3hvv0.js} +8 -8
- package/dist/chunks/{instance-wkataeax.js → persistent-pty-4nnbnrz1.js} +11 -11
- package/dist/chunks/{instance-c2sed5cq.js → persistent-pty-4pa8nav4.js} +3 -3
- package/dist/chunks/{instance-n26ndsk8.js → persistent-pty-4s573z1s.js} +4 -4
- package/dist/chunks/{instance-4v008n1t.js → persistent-pty-4v008n1t.js} +1 -1
- package/dist/chunks/{instance-tdptfwvd.js → persistent-pty-4v888qby.js} +3 -3
- package/dist/chunks/{instance-4xvmh7wp.js → persistent-pty-4xvmh7wp.js} +3 -3
- package/dist/chunks/{instance-yy9yh1zy.js → persistent-pty-506rfma8.js} +13 -13
- package/dist/chunks/{instance-8jb2vj22.js → persistent-pty-53fkqhzs.js} +14 -14
- package/dist/chunks/{instance-1narx8j0.js → persistent-pty-57y9frfy.js} +12 -12
- package/dist/chunks/{instance-qz6fnwq9.js → persistent-pty-5dzbshvg.js} +4 -4
- package/dist/chunks/{instance-w2eysc6j.js → persistent-pty-5enarcya.js} +6 -6
- package/dist/chunks/{instance-0pv52n9j.js → persistent-pty-5kfkg5r8.js} +5 -5
- package/dist/chunks/{instance-5m9w47nd.js → persistent-pty-5m9w47nd.js} +1 -1
- package/dist/chunks/{instance-s2e6s221.js → persistent-pty-5r569r17.js} +13 -13
- package/dist/chunks/{instance-cvkqj1s3.js → persistent-pty-5s24fm1p.js} +14 -14
- package/dist/chunks/{instance-fka6syst.js → persistent-pty-5vgcj10y.js} +6 -6
- package/dist/chunks/{instance-f35f93zp.js → persistent-pty-5zrxpy3q.js} +5 -5
- package/dist/chunks/{instance-ybq2x5w5.js → persistent-pty-603avsaw.js} +11 -11
- package/dist/chunks/{instance-9y5b6854.js → persistent-pty-630bcr6j.js} +11 -11
- package/dist/chunks/{instance-mn6tycs6.js → persistent-pty-64tk1142.js} +2 -2
- package/dist/chunks/{instance-sn4dp65s.js → persistent-pty-65xym8dq.js} +26 -26
- package/dist/chunks/{instance-dz0r9je1.js → persistent-pty-66hjg21n.js} +31 -31
- package/dist/chunks/{instance-6esdw8yj.js → persistent-pty-6esdw8yj.js} +1 -1
- package/dist/chunks/{instance-es4ckx34.js → persistent-pty-6g0s59t4.js} +16 -16
- package/dist/chunks/{instance-6pjqjmy2.js → persistent-pty-6pjqjmy2.js} +1 -1
- package/dist/chunks/{instance-thtq1t3d.js → persistent-pty-6wm2ekws.js} +17 -17
- package/dist/chunks/{instance-76cb1hcw.js → persistent-pty-76cb1hcw.js} +1 -1
- package/dist/chunks/{instance-40d435vb.js → persistent-pty-77ffb5fa.js} +5 -5
- package/dist/chunks/{instance-0421tmwc.js → persistent-pty-799ckdtf.js} +9 -9
- package/dist/chunks/{instance-smzpb4qx.js → persistent-pty-79fsmkt2.js} +10 -10
- package/dist/chunks/{instance-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-7h8n1k9e.js → persistent-pty-7q3wyea1.js} +23 -23
- package/dist/chunks/{instance-ak0aewvz.js → persistent-pty-7vhe8rph.js} +15 -15
- package/dist/chunks/{instance-7w2ypzdf.js → persistent-pty-7w2ypzdf.js} +1 -1
- package/dist/chunks/{instance-dzd5qgxq.js → persistent-pty-7xcfq1ha.js} +6 -6
- package/dist/chunks/{instance-fxn4g1bv.js → persistent-pty-7yz8t82k.js} +5 -5
- package/dist/chunks/{instance-jc8qqhy4.js → persistent-pty-8rcbafry.js} +3 -3
- package/dist/chunks/{instance-mksvdkta.js → persistent-pty-8tqac9jx.js} +8 -8
- package/dist/chunks/{instance-8wtp7s3z.js → persistent-pty-8wtp7s3z.js} +1 -1
- package/dist/chunks/{instance-019pepzp.js → persistent-pty-8xz0jfv3.js} +6 -6
- package/dist/chunks/{instance-yx2krnhd.js → persistent-pty-8y3ed661.js} +9 -9
- package/dist/chunks/{instance-pkmkbjbs.js → persistent-pty-8zn70gxd.js} +8 -8
- package/dist/chunks/{instance-91rj84md.js → persistent-pty-91rj84md.js} +1 -1
- package/dist/chunks/{instance-end80c8k.js → persistent-pty-96jdb81n.js} +3 -3
- package/dist/chunks/{instance-benw8c0p.js → persistent-pty-97arjhc9.js} +11 -11
- package/dist/chunks/{instance-998yhzzq.js → persistent-pty-998yhzzq.js} +3 -3
- package/dist/chunks/{instance-643ga4pe.js → persistent-pty-9e7skq3b.js} +50 -50
- package/dist/chunks/{instance-5dnx8fh9.js → persistent-pty-9k8g54ar.js} +14 -14
- package/dist/chunks/{instance-03rv3xxr.js → persistent-pty-9mw7dhxy.js} +46 -46
- package/dist/chunks/{instance-dwa4y1he.js → persistent-pty-9nc01p2h.js} +13 -13
- package/dist/chunks/{instance-e5dqjz6v.js → persistent-pty-9p9xqj3m.js} +8 -8
- package/dist/chunks/{instance-qvg0xc96.js → persistent-pty-a4316p25.js} +24 -24
- package/dist/chunks/{instance-e526twks.js → persistent-pty-a4ab7jhs.js} +3 -3
- package/dist/chunks/{instance-3g836nb0.js → persistent-pty-a4extrcm.js} +11 -11
- package/dist/chunks/{instance-2e0h6wjp.js → persistent-pty-a9ya4442.js} +29 -29
- package/dist/chunks/{instance-cgwkqn27.js → persistent-pty-acqhz89c.js} +33 -33
- package/dist/chunks/{instance-py2y684m.js → persistent-pty-ak32zwvb.js} +11 -11
- package/dist/chunks/{instance-21eye7vx.js → persistent-pty-amwp0aeg.js} +42 -42
- package/dist/chunks/{instance-ybc5hkqb.js → persistent-pty-ap300940.js} +4 -4
- package/dist/chunks/{instance-zba5tm1j.js → persistent-pty-ar2j3j0f.js} +4 -4
- package/dist/chunks/{instance-w6cgdp5v.js → persistent-pty-avrfdzax.js} +15 -15
- package/dist/chunks/{instance-ayjs7tqn.js → persistent-pty-ayjs7tqn.js} +2 -2
- package/dist/chunks/{instance-b0mv4wxm.js → persistent-pty-b0mv4wxm.js} +2 -2
- package/dist/chunks/{instance-5se3rbtp.js → persistent-pty-b0wr9pq4.js} +12 -12
- package/dist/chunks/{instance-dytf95nn.js → persistent-pty-b25rcpjn.js} +5 -5
- package/dist/chunks/{instance-635rwy07.js → persistent-pty-b3dt0wfc.js} +85 -85
- package/dist/chunks/{instance-2xjd1gex.js → persistent-pty-b430ghfg.js} +48 -48
- package/dist/chunks/{instance-b6vsg801.js → persistent-pty-b6vsg801.js} +2 -2
- package/dist/chunks/{instance-kkp7zrme.js → persistent-pty-br64vc86.js} +4 -4
- package/dist/chunks/{instance-bstexjd6.js → persistent-pty-bstexjd6.js} +1 -1
- package/dist/chunks/{instance-8dqwvc3g.js → persistent-pty-c0ahb6m2.js} +49 -49
- package/dist/chunks/{instance-c3cfh5w6.js → persistent-pty-c3cfh5w6.js} +2 -2
- package/dist/chunks/{instance-aef5n06x.js → persistent-pty-c3z1dwp4.js} +32 -32
- package/dist/chunks/{instance-h2xt6wet.js → persistent-pty-c4970w7t.js} +6 -6
- package/dist/chunks/{instance-3tfzn32a.js → persistent-pty-c5mdmb7d.js} +7 -7
- package/dist/chunks/{instance-932en0hc.js → persistent-pty-c97kafxv.js} +12 -12
- package/dist/chunks/{instance-c9t2ty9q.js → persistent-pty-c9t2ty9q.js} +1 -1
- package/dist/chunks/{instance-0rvbv8dn.js → persistent-pty-cmtp12gq.js} +9 -9
- package/dist/chunks/{instance-m03db124.js → persistent-pty-cn8x8bav.js} +9 -9
- package/dist/chunks/{instance-8h479pk7.js → persistent-pty-csnq1vx8.js} +4 -4
- package/dist/chunks/{instance-d2dx6a7h.js → persistent-pty-d2dx6a7h.js} +1 -1
- package/dist/chunks/{instance-d4v9tmah.js → persistent-pty-d4v9tmah.js} +2 -2
- package/dist/chunks/{instance-abbph779.js → persistent-pty-d622t3vc.js} +15 -15
- package/dist/chunks/persistent-pty-d77dj7jw.js +18 -0
- package/dist/chunks/{instance-d8qd4w10.js → persistent-pty-d8qd4w10.js} +3 -3
- package/dist/chunks/persistent-pty-ddefqdxn.js +257 -0
- package/dist/chunks/{instance-0ss1ygn7.js → persistent-pty-dh62xe4r.js} +3 -3
- package/dist/chunks/persistent-pty-dj18ndtz.js +26 -0
- package/dist/chunks/{instance-r6wgv8c9.js → persistent-pty-dkq45v8d.js} +2 -2
- package/dist/chunks/{instance-dhdpjt8g.js → persistent-pty-dpy78jr7.js} +21 -21
- package/dist/chunks/{instance-9622d4vt.js → persistent-pty-dpyjajp2.js} +21 -21
- package/dist/chunks/{instance-e834z07m.js → persistent-pty-e834z07m.js} +1 -1
- package/dist/chunks/{instance-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{instance-057a905h.js → persistent-pty-ep8g8f2q.js} +18 -18
- package/dist/chunks/{instance-m8z5e2ce.js → persistent-pty-epts1v3z.js} +2 -2
- package/dist/chunks/{instance-w47qp9je.js → persistent-pty-epv93m9y.js} +13 -13
- package/dist/chunks/{instance-ebdpzygg.js → persistent-pty-etps9a87.js} +16 -16
- package/dist/chunks/{instance-vb1hb692.js → persistent-pty-evvj0048.js} +6 -6
- package/dist/chunks/{instance-4z5wzpcn.js → persistent-pty-f2m57aq3.js} +7 -7
- package/dist/chunks/{instance-fffv3p7h.js → persistent-pty-fffv3p7h.js} +1 -1
- package/dist/chunks/{instance-x3t9xer4.js → persistent-pty-fvc4bqe2.js} +5 -5
- package/dist/chunks/{instance-wr3re1en.js → persistent-pty-fznmdakp.js} +4 -4
- package/dist/chunks/persistent-pty-fzppqy49.js +523 -0
- package/dist/chunks/{instance-66a4zrw5.js → persistent-pty-g45kmxae.js} +12 -12
- package/dist/chunks/{instance-g5h9c0rr.js → persistent-pty-g5h9c0rr.js} +2 -2
- package/dist/chunks/{instance-h1krfj2j.js → persistent-pty-gbkbh0za.js} +30 -30
- package/dist/chunks/{instance-xh28yaa3.js → persistent-pty-gd1vvcjv.js} +9 -9
- package/dist/chunks/{instance-q45e6md9.js → persistent-pty-gsnt20he.js} +19 -19
- package/dist/chunks/{instance-p3bdjd75.js → persistent-pty-gtwwgaxd.js} +17 -17
- package/dist/chunks/{instance-9e6f5ka6.js → persistent-pty-h1fcnfrv.js} +14 -14
- package/dist/chunks/{instance-mkcmjcp5.js → persistent-pty-h4ja5x6t.js} +8 -8
- package/dist/chunks/{instance-s389g6rp.js → persistent-pty-h9gq6eq0.js} +2 -2
- package/dist/chunks/{instance-c4ktk0av.js → persistent-pty-hffck5p6.js} +27 -27
- package/dist/chunks/{instance-aj7g8w0t.js → persistent-pty-hqqyr421.js} +26 -26
- package/dist/chunks/{instance-bgdafpbn.js → persistent-pty-hsn14kaz.js} +50 -50
- package/dist/chunks/{instance-j113cymg.js → persistent-pty-j113cymg.js} +1 -1
- package/dist/chunks/{instance-z52esc5y.js → persistent-pty-j4mbz3fw.js} +7 -7
- package/dist/chunks/{instance-bstch1wt.js → persistent-pty-j975cw6z.js} +4 -4
- package/dist/chunks/{instance-rhng211m.js → persistent-pty-jc99n3kj.js} +20 -19
- package/dist/chunks/{instance-wa9sj95e.js → persistent-pty-jcq455ft.js} +10 -10
- package/dist/chunks/{instance-3dfnask5.js → persistent-pty-jefvzq89.js} +11 -11
- package/dist/chunks/{instance-6285fq4d.js → persistent-pty-jfjbts63.js} +8 -8
- package/dist/chunks/{instance-b7jk63p6.js → persistent-pty-jmz0pryv.js} +15 -15
- package/dist/chunks/{instance-xt6gvx32.js → persistent-pty-jrqenxex.js} +11 -11
- package/dist/chunks/{instance-4w3nch3z.js → persistent-pty-k0c2abhw.js} +15 -15
- package/dist/chunks/{instance-gtghw66j.js → persistent-pty-k6e6yg7w.js} +42 -42
- package/dist/chunks/{instance-k814nvkf.js → persistent-pty-k814nvkf.js} +1 -1
- package/dist/chunks/{instance-0p88zpcm.js → persistent-pty-kedzwwnr.js} +4 -4
- package/dist/chunks/{instance-jb5x7epa.js → persistent-pty-kgeqanye.js} +18 -18
- package/dist/chunks/{instance-ndz5nh7p.js → persistent-pty-kjzbhe9f.js} +23 -23
- package/dist/chunks/{instance-263kv34p.js → persistent-pty-knck272c.js} +25 -25
- package/dist/chunks/{instance-nqsqkrgf.js → persistent-pty-kqnnmbvx.js} +32 -32
- package/dist/chunks/{instance-qs8dqg3k.js → persistent-pty-kzatpa33.js} +28 -28
- package/dist/chunks/{instance-m1714858.js → persistent-pty-m1714858.js} +1 -1
- package/dist/chunks/{instance-vmfhgzt5.js → persistent-pty-m37sd98t.js} +4 -4
- package/dist/chunks/{instance-9kfxcdfw.js → persistent-pty-m3kqm4cm.js} +2 -2
- package/dist/chunks/{instance-wxxnmnk9.js → persistent-pty-m8qqb4k3.js} +38 -38
- package/dist/chunks/{instance-e6d4carx.js → persistent-pty-m9458166.js} +30 -30
- package/dist/chunks/{instance-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-maspj1v3.js → persistent-pty-maspj1v3.js} +1 -1
- package/dist/chunks/{instance-ngyanjke.js → persistent-pty-mb72d0pe.js} +5 -5
- package/dist/chunks/{instance-x2pp485p.js → persistent-pty-mcbaxyan.js} +9 -9
- package/dist/chunks/{instance-f8b6bmk9.js → persistent-pty-mgn9jeqr.js} +85 -85
- package/dist/chunks/{instance-dgyds9m6.js → persistent-pty-mgqesnpe.js} +8 -8
- package/dist/chunks/{instance-b3qt6n5e.js → persistent-pty-mqpc6sp9.js} +14 -14
- package/dist/chunks/{instance-cvg4qkkk.js → persistent-pty-mr4m2xt3.js} +18 -18
- package/dist/chunks/{instance-07pgb3x5.js → persistent-pty-msgnwe08.js} +4 -4
- package/dist/chunks/{instance-n0p0277s.js → persistent-pty-n0p0277s.js} +1 -1
- package/dist/chunks/{instance-xg8ch27q.js → persistent-pty-n8km3ktm.js} +24 -24
- package/dist/chunks/{instance-29fq8x7w.js → persistent-pty-n8ys9nef.js} +25 -25
- package/dist/chunks/{instance-8w97pe4x.js → persistent-pty-n9qkr232.js} +9 -9
- package/dist/chunks/{instance-770pw0s1.js → persistent-pty-nah043kf.js} +4 -4
- package/dist/chunks/{instance-cyw0hgcw.js → persistent-pty-nbtna00v.js} +18 -18
- package/dist/chunks/{instance-fekxwpm0.js → persistent-pty-ncjgtf7q.js} +11 -11
- package/dist/chunks/{instance-r0wpwzbc.js → persistent-pty-nf6qtgmx.js} +15 -15
- package/dist/chunks/{instance-ee15qck3.js → persistent-pty-nvk1va1n.js} +28 -28
- package/dist/chunks/{instance-p015t6z3.js → persistent-pty-p015t6z3.js} +2 -2
- package/dist/chunks/{instance-184a1rnm.js → persistent-pty-p0tsr9h6.js} +7 -7
- package/dist/chunks/{instance-j0sbyfgz.js → persistent-pty-p5fvs1tf.js} +27 -27
- package/dist/chunks/{instance-ndtgrced.js → persistent-pty-p8zvtb4f.js} +16 -16
- package/dist/chunks/{instance-r6xrhh99.js → persistent-pty-pb7j0m6g.js} +19 -19
- package/dist/chunks/{instance-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{instance-y3nk2kzt.js → persistent-pty-pnb0v8tr.js} +16 -16
- package/dist/chunks/{instance-e3xe61ee.js → persistent-pty-ptp6ncr1.js} +22 -22
- package/dist/chunks/{instance-q1mbbp6t.js → persistent-pty-q7hewr9v.js} +22 -22
- package/dist/chunks/{instance-qjgzc4b4.js → persistent-pty-qjgzc4b4.js} +1 -1
- package/dist/chunks/{instance-9kgv9zpv.js → persistent-pty-qkzpeykj.js} +20 -20
- package/dist/chunks/{instance-etaatxhn.js → persistent-pty-qq9errcn.js} +32 -32
- package/dist/chunks/{instance-9abypapv.js → persistent-pty-qqef8819.js} +36 -36
- package/dist/chunks/{instance-qdvsamhb.js → persistent-pty-qwe9t09h.js} +32 -32
- package/dist/chunks/{instance-9qtzb502.js → persistent-pty-qycnq4qn.js} +17 -17
- package/dist/chunks/{instance-062ja7nb.js → persistent-pty-qyt594kh.js} +24 -24
- package/dist/chunks/{instance-r0yr0wbs.js → persistent-pty-r0yr0wbs.js} +1 -1
- package/dist/chunks/{instance-rb9dy4dg.js → persistent-pty-rb9dy4dg.js} +1 -1
- package/dist/chunks/{instance-c9nxf8hy.js → persistent-pty-rf77k6n7.js} +21 -21
- package/dist/chunks/{instance-18g90bpv.js → persistent-pty-rmt6m6se.js} +5 -5
- package/dist/chunks/{instance-rt5dr6hb.js → persistent-pty-rt5dr6hb.js} +1 -1
- package/dist/chunks/{instance-fv41sqmf.js → persistent-pty-rth52m3v.js} +11 -11
- package/dist/chunks/{instance-10kkr2v5.js → persistent-pty-s2dg58v9.js} +11 -11
- package/dist/chunks/{instance-a465j6ww.js → persistent-pty-s6p20e1k.js} +8 -8
- package/dist/chunks/{instance-5t0rc2x5.js → persistent-pty-s9ty2h8k.js} +11 -11
- package/dist/chunks/{instance-01trdk4e.js → persistent-pty-sd1t0gyg.js} +1 -1
- package/dist/chunks/{instance-sqjzf8x2.js → persistent-pty-sqjzf8x2.js} +1 -1
- package/dist/chunks/{instance-w5t2v68b.js → persistent-pty-ssg99487.js} +35 -35
- package/dist/chunks/{instance-tczq8hjw.js → persistent-pty-tczq8hjw.js} +1 -1
- package/dist/chunks/{instance-enkpkfwx.js → persistent-pty-tg1vr1qt.js} +8 -8
- package/dist/chunks/{instance-4tqs0jzk.js → persistent-pty-tmd1r8tg.js} +4 -4
- package/dist/chunks/{instance-qfeyg0ce.js → persistent-pty-tndygt87.js} +9 -9
- package/dist/chunks/{instance-tw8zr1ps.js → persistent-pty-tw8zr1ps.js} +1 -1
- package/dist/chunks/{instance-twv2r8f4.js → persistent-pty-twv2r8f4.js} +2 -2
- package/dist/chunks/{instance-7772sstq.js → persistent-pty-v1smpbvx.js} +24 -24
- package/dist/chunks/{instance-v2r1d0zg.js → persistent-pty-v2r1d0zg.js} +1 -1
- package/dist/chunks/{instance-93pnaaqa.js → persistent-pty-v568fy96.js} +42 -42
- package/dist/chunks/{instance-vd3b3yk9.js → persistent-pty-vd3b3yk9.js} +1 -1
- package/dist/chunks/{instance-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-mpjpcg5e.js → persistent-pty-vm0wcjea.js} +10 -10
- package/dist/chunks/{instance-mtrbqqrq.js → persistent-pty-vrpz8t5t.js} +5 -5
- package/dist/chunks/{instance-skmar0xn.js → persistent-pty-vt63w9ze.js} +17 -17
- package/dist/chunks/{instance-hfnmjrv2.js → persistent-pty-vxsjar9r.js} +7 -7
- package/dist/chunks/{instance-9150gt3p.js → persistent-pty-w2jp9fqe.js} +33 -33
- package/dist/chunks/{instance-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-9nmmcy3f.js → persistent-pty-w7s37af3.js} +7 -7
- package/dist/chunks/{instance-yqveydy6.js → persistent-pty-w9w8mt4n.js} +4 -4
- package/dist/chunks/{instance-wakvkjy4.js → persistent-pty-wakvkjy4.js} +1 -1
- package/dist/chunks/{instance-5t7qnrbf.js → persistent-pty-wbrbrqnn.js} +3 -3
- package/dist/chunks/{instance-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{instance-e191mv4p.js → persistent-pty-wgxpxc97.js} +43 -43
- package/dist/chunks/{instance-96has99t.js → persistent-pty-wjfsv5vx.js} +178 -178
- package/dist/chunks/{instance-nc72wgnk.js → persistent-pty-wjj9j73p.js} +29 -29
- package/dist/chunks/{instance-agyjn1qf.js → persistent-pty-wqb48wsw.js} +45 -45
- package/dist/chunks/{instance-fme36196.js → persistent-pty-ws8qaw4q.js} +21 -21
- package/dist/chunks/{instance-jmjdpnd3.js → persistent-pty-ww71evjc.js} +20 -20
- package/dist/chunks/{instance-esgjes53.js → persistent-pty-xcarn5dh.js} +4 -4
- package/dist/chunks/{instance-p5jsan2v.js → persistent-pty-xcawzme1.js} +20 -20
- package/dist/chunks/{instance-tge5hkw0.js → persistent-pty-xmb6acqt.js} +8 -8
- package/dist/chunks/{instance-b5szyexk.js → persistent-pty-xqtsmx9f.js} +11 -11
- package/dist/chunks/{instance-jfm41t20.js → persistent-pty-xx92f0z9.js} +3 -3
- package/dist/chunks/{instance-z827xawd.js → persistent-pty-xz8jn1n5.js} +45 -45
- package/dist/chunks/{instance-8pw73atm.js → persistent-pty-xzhmj86d.js} +4 -4
- package/dist/chunks/{instance-xcmymtr1.js → persistent-pty-y4rx9zcm.js} +20 -20
- package/dist/chunks/{instance-yb20nhc3.js → persistent-pty-yb20nhc3.js} +1 -1
- package/dist/chunks/{instance-9yw7q74z.js → persistent-pty-ypqy3h3f.js} +13 -13
- package/dist/chunks/{instance-6xzp1e9z.js → persistent-pty-yte8j0g9.js} +14 -14
- package/dist/chunks/{instance-00v81f22.js → persistent-pty-yw5cr2kg.js} +25 -25
- package/dist/chunks/{instance-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-26qqh6c2.js → persistent-pty-z18nf20h.js} +9 -9
- package/dist/chunks/{instance-z38nccrw.js → persistent-pty-z38nccrw.js} +1 -1
- package/dist/chunks/{instance-xd2vqhy1.js → persistent-pty-z5dq5ktq.js} +28 -28
- package/dist/chunks/{instance-kt6jvn8v.js → persistent-pty-z5ya83ez.js} +15 -15
- package/dist/chunks/{instance-p2skkwsg.js → persistent-pty-z600r55a.js} +33 -33
- package/dist/chunks/{instance-4jwczs9z.js → persistent-pty-z6k1srac.js} +14 -14
- package/dist/chunks/{instance-sx4k8dnq.js → persistent-pty-zgfrp2wc.js} +18 -18
- package/dist/chunks/{instance-zkg84ctx.js → persistent-pty-zkg84ctx.js} +1 -1
- package/dist/chunks/{instance-8rhgew23.js → persistent-pty-zkvx2ye6.js} +20 -20
- package/dist/chunks/{instance-39x48ya0.js → persistent-pty-zntgk0c3.js} +16 -16
- package/dist/chunks/{instance-dsfs4g6t.js → persistent-pty-zx0t21mj.js} +13 -13
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +87 -87
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +102 -102
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- 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 +93 -93
- 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/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- 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 +221 -221
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +93 -93
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- 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 +139 -139
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +132 -132
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/job.d.ts +1 -4
- package/dist/types/permission.d.ts +0 -1
- package/dist/types/persistent-pty/daemon.d.ts +0 -6
- package/dist/types/session/diff.d.ts +0 -1
- package/dist/types/session/error.d.ts +6 -16
- package/dist/types/session/inbox.d.ts +1 -1
- package/dist/types/session/runner/model.d.ts +0 -1
- package/dist/types/session/schema.d.ts +6 -12
- package/dist/types/session/stats.d.ts +12 -11
- package/dist/types/session/store.d.ts +0 -6
- package/dist/types/session/transfer.d.ts +19 -25
- package/dist/types/session.d.ts +0 -6
- package/dist/types/tool/plugin/opencode.d.ts +0 -2
- package/dist/types/tool/plugin/subagent.d.ts +0 -2
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +3 -3
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- 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 +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +102 -102
- package/package.json +8 -8
- package/dist/chunks/instance-6zjm2phc.js +0 -18
- package/dist/chunks/instance-j2jyevz2.js +0 -257
- package/dist/chunks/instance-mnx6182w.js +0 -523
- package/dist/chunks/instance-qxc5czc4.js +0 -26
- /package/dist/chunks/{instance-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2bv980vf.js → persistent-pty-2bv980vf.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-5fjb7ams.js → persistent-pty-5fjb7ams.js} +0 -0
- /package/dist/chunks/{instance-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-6q2bdcd1.js → persistent-pty-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-84wd9syh.js → persistent-pty-84wd9syh.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-8wj87zfr.js → persistent-pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a058387c.js → persistent-pty-a058387c.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hcxmzztb.js → persistent-pty-hcxmzztb.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jze0r7bz.js → persistent-pty-jze0r7bz.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-m18g726c.js → persistent-pty-m18g726c.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-pkyv6v7h.js → persistent-pty-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-ve7vex1e.js → persistent-pty-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wjj7prxr.js → persistent-pty-wjj7prxr.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z5v4ffb3.js → persistent-pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-xx92f0z9.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-4ccqqpnm.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event16,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
27
|
-
Key: () =>
|
|
25
|
+
ID: () => ID12,
|
|
26
|
+
Info: () => Info22,
|
|
27
|
+
Key: () => Key3,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service73,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node77
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
@@ -36,31 +36,31 @@ import { Credential } from "@opencode/schema/credential";
|
|
|
36
36
|
import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
37
37
|
import { Integration } from "@opencode/schema/integration";
|
|
38
38
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
39
|
-
var
|
|
39
|
+
var ID12 = Credential.ID;
|
|
40
40
|
var OAuth3 = Credential.OAuth;
|
|
41
|
-
var
|
|
41
|
+
var Key3 = Credential.Key;
|
|
42
42
|
var External2 = Credential.External;
|
|
43
43
|
var Value2 = Credential.Value;
|
|
44
|
-
var
|
|
44
|
+
var Event16 = Credential.Event;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info22 extends Schema.Class("Credential.Info")({
|
|
47
|
+
id: ID12,
|
|
48
48
|
integrationID: Integration.ID,
|
|
49
49
|
label: Schema.String,
|
|
50
50
|
value: Value2
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service73 extends Context.Service()("@opencode/Credential") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
56
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
57
57
|
const db = (yield* Service86).db;
|
|
58
58
|
const bus = yield* Service85;
|
|
59
59
|
const decode = Schema.decodeUnknownSync(CredentialLegacy.Value);
|
|
60
60
|
const stored = (row) => {
|
|
61
61
|
if (!row.integration_id)
|
|
62
62
|
return;
|
|
63
|
-
return new
|
|
63
|
+
return new Info22({
|
|
64
64
|
id: row.id,
|
|
65
65
|
integrationID: row.integration_id,
|
|
66
66
|
label: row.label,
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
71
71
|
const credential = stored(row);
|
|
72
72
|
return credential ? [credential] : [];
|
|
73
73
|
});
|
|
74
|
-
return
|
|
74
|
+
return Service73.of({
|
|
75
75
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
76
76
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
77
77
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -79,8 +79,8 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
79
79
|
return row ? stored(row) : undefined;
|
|
80
80
|
}),
|
|
81
81
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
82
|
-
const credential = new
|
|
83
|
-
id: input.id ??
|
|
82
|
+
const credential = new Info22({
|
|
83
|
+
id: input.id ?? ID12.create(),
|
|
84
84
|
integrationID: input.integrationID,
|
|
85
85
|
label: input.label ?? "default",
|
|
86
86
|
value: input.value
|
|
@@ -111,9 +111,9 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
111
111
|
type: credential.value.type,
|
|
112
112
|
active: activated
|
|
113
113
|
});
|
|
114
|
-
yield* bus.publish(
|
|
114
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
115
115
|
if (activated)
|
|
116
|
-
yield* bus.publish(
|
|
116
|
+
yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
117
117
|
return credential;
|
|
118
118
|
}),
|
|
119
119
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -133,7 +133,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
133
133
|
})), Effect.orDie);
|
|
134
134
|
if (integrationID) {
|
|
135
135
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
136
|
-
yield* bus.publish(
|
|
136
|
+
yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
|
|
137
137
|
}
|
|
138
138
|
}),
|
|
139
139
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
165
165
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
166
166
|
});
|
|
167
167
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
168
|
-
yield* bus.publish(
|
|
168
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
169
169
|
}),
|
|
170
170
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
171
171
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -198,12 +198,12 @@ var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
198
198
|
active: removed.switched,
|
|
199
199
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
200
200
|
});
|
|
201
|
-
yield* bus.publish(
|
|
201
|
+
yield* bus.publish(Event16.Updated, {}, { global: true });
|
|
202
202
|
if (removed.switched)
|
|
203
|
-
yield* bus.publish(
|
|
203
|
+
yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
204
204
|
})
|
|
205
205
|
});
|
|
206
206
|
}));
|
|
207
|
-
var
|
|
207
|
+
var node77 = makeGlobalNode({ service: Service73, layer, deps: [node90, node89] });
|
|
208
208
|
|
|
209
|
-
export {
|
|
209
|
+
export { ID12, OAuth3, Key3, External2, Value2, Event16, Info22, Service73, node77, exports_credential };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-2hep2db8.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-5enarcya.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin21,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin21 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin38 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint2, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin38 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint2, Plugin21, exports_parallel };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-4ccqqpnm.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event19,
|
|
18
|
+
ID: () => ID15,
|
|
19
|
+
Info: () => Info24,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service79,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node83
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Array, Context, Effect, Layer } from "effect";
|
|
27
27
|
import { Agent } from "@opencode/schema/agent";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event19 } from "@opencode/schema/agent";
|
|
29
|
+
var ID15 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
|
-
var defaultID2 =
|
|
31
|
+
var defaultID2 = ID15.make("build");
|
|
32
32
|
var Color2 = Agent.Color;
|
|
33
|
-
var
|
|
33
|
+
var Info24 = Agent.Info;
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service79 extends Context.Service()("@opencode/Agent") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service85;
|
|
39
39
|
const state = create3({
|
|
40
40
|
name: "agent",
|
|
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
46
46
|
editor.default = id;
|
|
47
47
|
},
|
|
48
48
|
update: (id, fn) => {
|
|
49
|
-
const current = editor.agents.get(id) ??
|
|
49
|
+
const current = editor.agents.get(id) ?? Info24.default(id);
|
|
50
50
|
if (!editor.agents.has(id))
|
|
51
51
|
editor.agents.set(id, current);
|
|
52
52
|
fn(current);
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
73
73
|
return fallback;
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
return
|
|
76
|
+
return Service79.of({
|
|
77
77
|
transform: state.transform,
|
|
78
78
|
reload: state.reload,
|
|
79
79
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -81,7 +81,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
81
81
|
}),
|
|
82
82
|
resolve: Effect.fnUntraced(function* (id) {
|
|
83
83
|
if (id !== undefined)
|
|
84
|
-
return state.get().agents.get(
|
|
84
|
+
return state.get().agents.get(ID15.make(id));
|
|
85
85
|
return selectedDefault();
|
|
86
86
|
}),
|
|
87
87
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
@@ -99,6 +99,6 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
99
99
|
})
|
|
100
100
|
});
|
|
101
101
|
}));
|
|
102
|
-
var
|
|
102
|
+
var node83 = makeLocationNode({ service: Service79, layer, deps: [node89] });
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { ID15, Name3, defaultID2, Color2, Info24, Service79, node83, exports_agent4, Event19 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-5kfkg5r8.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-bstexjd6.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service75,
|
|
16
|
+
node79
|
|
17
|
+
} from "./persistent-pty-jcq455ft.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service56,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node59,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service56 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service84;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service75;
|
|
110
|
+
return Service56.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node59 = makeGlobalNode({
|
|
171
|
+
service: Service56,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node88, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node88, Global.node, node79]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service56, isError2, validateBranch2, node59, exports_repository_cache };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service63
|
|
3
|
+
} from "./persistent-pty-amwp0aeg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service5
|
|
6
|
+
} from "./persistent-pty-799ckdtf.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-6pjqjmy2.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher2 = {};
|
|
16
|
+
__export(exports_location_watcher2, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
+
Plugin: () => Plugin17
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin17 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service63;
|
|
26
|
+
const policy = yield* Service5;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin18 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin17, exports_location_watcher2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error5,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make20,
|
|
14
|
+
node: () => node70,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make20 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node70 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node70, exports_driver };
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-4ccqqpnm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service72,
|
|
7
|
+
node76
|
|
8
|
+
} from "./persistent-pty-hqqyr421.js";
|
|
9
9
|
import {
|
|
10
10
|
Service83,
|
|
11
11
|
node87
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-8zn70gxd.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
15
|
Service82,
|
|
16
16
|
node86
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-epts1v3z.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./persistent-pty-n9qkr232.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service76,
|
|
26
|
+
node80
|
|
27
|
+
} from "./persistent-pty-9mw7dhxy.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service23,
|
|
30
|
+
node26
|
|
31
|
+
} from "./persistent-pty-xqtsmx9f.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service14,
|
|
41
|
+
node: () => node16
|
|
42
42
|
});
|
|
43
43
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service14 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service85;
|
|
52
52
|
const location = yield* Service82;
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
53
|
+
const permission = yield* Service76;
|
|
54
|
+
const forms = yield* Service72;
|
|
55
|
+
const rpc = yield* Service23;
|
|
56
56
|
const project = yield* Service83;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
80
80
|
});
|
|
81
81
|
}).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
|
|
82
82
|
}).pipe(Effect.uninterruptible);
|
|
83
|
-
return
|
|
83
|
+
return Service14.of({
|
|
84
84
|
isClosed: () => closed,
|
|
85
85
|
shutdown
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
89
|
-
service:
|
|
88
|
+
var node16 = makeLocationNode({
|
|
89
|
+
service: Service14,
|
|
90
90
|
layer,
|
|
91
|
-
deps: [node89, node86,
|
|
91
|
+
deps: [node89, node86, node80, node87, node76, node26]
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
export {
|
|
94
|
+
export { Service14, node16, exports_location_lifecycle };
|