@opencode/core 0.0.0-dev-21641 → 0.0.0-dev-21647
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-dz0r9je1.js → filesystem-009tt1tc.js} +34 -34
- package/dist/chunks/filesystem-00ve6mdn.js +18 -0
- package/dist/chunks/{instance-034tev2y.js → filesystem-034tev2y.js} +2 -2
- package/dist/chunks/{instance-bgdafpbn.js → filesystem-0cjz94q6.js} +50 -50
- package/dist/chunks/{instance-0t1mekc8.js → filesystem-0d5pkr3t.js} +8 -8
- package/dist/chunks/{instance-8jb2vj22.js → filesystem-0m63avf2.js} +14 -14
- package/dist/chunks/{instance-tfnjv676.js → filesystem-0mt6tx3t.js} +24 -24
- package/dist/chunks/{instance-smzpb4qx.js → filesystem-0pcpg2vk.js} +10 -10
- package/dist/chunks/{instance-057a905h.js → filesystem-0rk2tx64.js} +23 -23
- package/dist/chunks/{instance-dgyds9m6.js → filesystem-0v552w6g.js} +10 -10
- package/dist/chunks/{instance-bw4xbwfn.js → filesystem-0zwy0wgk.js} +11 -11
- package/dist/chunks/{instance-18g90bpv.js → filesystem-18g90bpv.js} +2 -2
- package/dist/chunks/{instance-1ep2p91f.js → filesystem-1ep2p91f.js} +2 -2
- package/dist/chunks/{instance-hfnmjrv2.js → filesystem-1n1y95ae.js} +9 -9
- package/dist/chunks/{instance-1x2knyw4.js → filesystem-1x2knyw4.js} +1 -1
- package/dist/chunks/{instance-xcmymtr1.js → filesystem-1zaw68ze.js} +18 -18
- package/dist/chunks/{instance-benw8c0p.js → filesystem-2wyfsdtp.js} +18 -18
- package/dist/chunks/{instance-2z1j29yd.js → filesystem-2z1j29yd.js} +1 -1
- package/dist/chunks/{instance-jmjdpnd3.js → filesystem-356ycsz0.js} +18 -18
- package/dist/chunks/{instance-c4ktk0av.js → filesystem-36nwec3d.js} +31 -31
- package/dist/chunks/{instance-9e6f5ka6.js → filesystem-3e0wzh8b.js} +14 -14
- package/dist/chunks/{instance-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{instance-3nnrz6f6.js → filesystem-3nnrz6f6.js} +1 -1
- package/dist/chunks/{instance-gtghw66j.js → filesystem-3spxaejg.js} +42 -42
- package/dist/chunks/{instance-00v81f22.js → filesystem-4d5fcr8w.js} +20 -20
- package/dist/chunks/{instance-p2skkwsg.js → filesystem-4h7a260j.js} +35 -35
- package/dist/chunks/{instance-4v008n1t.js → filesystem-4v008n1t.js} +1 -1
- package/dist/chunks/{instance-s389g6rp.js → filesystem-4whg3jbc.js} +2 -2
- package/dist/chunks/{instance-4xvmh7wp.js → filesystem-4xvmh7wp.js} +3 -3
- package/dist/chunks/{instance-9622d4vt.js → filesystem-4zdy853b.js} +23 -23
- package/dist/chunks/{instance-qfeyg0ce.js → filesystem-51r6w5tg.js} +9 -9
- package/dist/chunks/{instance-ybc5hkqb.js → filesystem-51x4aarj.js} +4 -4
- package/dist/chunks/{instance-dwa4y1he.js → filesystem-53ehtthp.js} +13 -13
- package/dist/chunks/{instance-5dnx8fh9.js → filesystem-58me5448.js} +12 -12
- package/dist/chunks/{instance-bstch1wt.js → filesystem-5cn61jve.js} +4 -4
- package/dist/chunks/{instance-ka99wkw2.js → filesystem-5crs9zmq.js} +4 -4
- package/dist/chunks/{instance-ccqcnw0e.js → filesystem-5j88v3fz.js} +21 -21
- package/dist/chunks/{instance-5m9w47nd.js → filesystem-5m9w47nd.js} +1 -1
- package/dist/chunks/{instance-tge5hkw0.js → filesystem-5pn4ypd0.js} +8 -8
- package/dist/chunks/{instance-2e0h6wjp.js → filesystem-5q1nw5b2.js} +28 -28
- package/dist/chunks/{instance-26qqh6c2.js → filesystem-5qv54f7z.js} +9 -9
- package/dist/chunks/{instance-pkmkbjbs.js → filesystem-5s5rpxk9.js} +43 -43
- package/dist/chunks/{instance-tdptfwvd.js → filesystem-5t0hnzkm.js} +10 -10
- package/dist/chunks/{instance-cs87y13h.js → filesystem-5xy94632.js} +8 -8
- package/dist/chunks/{instance-mksvdkta.js → filesystem-68fc5fjq.js} +8 -8
- package/dist/chunks/{instance-6esdw8yj.js → filesystem-6esdw8yj.js} +1 -1
- package/dist/chunks/{instance-wa9sj95e.js → filesystem-6kjtmk7q.js} +10 -10
- package/dist/chunks/{instance-5se3rbtp.js → filesystem-6kzpt8m6.js} +16 -16
- package/dist/chunks/{instance-79ascwz8.js → filesystem-6mf4mhq6.js} +32 -32
- package/dist/chunks/{instance-8dqwvc3g.js → filesystem-6mw02xdg.js} +42 -42
- package/dist/chunks/{instance-6pjqjmy2.js → filesystem-6pjqjmy2.js} +1 -1
- package/dist/chunks/{instance-dytf95nn.js → filesystem-6rvpfmay.js} +5 -5
- package/dist/chunks/{instance-w5t2v68b.js → filesystem-6vawrx7p.js} +35 -35
- package/dist/chunks/{instance-dhdpjt8g.js → filesystem-6vgp65ky.js} +28 -28
- package/dist/chunks/{instance-w6cgdp5v.js → filesystem-74z5myxc.js} +13 -13
- package/dist/chunks/{instance-770pw0s1.js → filesystem-770pw0s1.js} +1 -1
- package/dist/chunks/{instance-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{instance-7772sstq.js → filesystem-7jc9rsv4.js} +24 -24
- package/dist/chunks/{instance-5mjn8n6s.js → filesystem-7qh21x13.js} +4 -4
- package/dist/chunks/{instance-ak0aewvz.js → filesystem-7qzzp3th.js} +17 -17
- package/dist/chunks/{instance-nskgx1xy.js → filesystem-7rh6cm1k.js} +8 -8
- package/dist/chunks/{instance-7w2ypzdf.js → filesystem-7w2ypzdf.js} +1 -1
- package/dist/chunks/{instance-7xg2jm5b.js → filesystem-7xg2jm5b.js} +2 -2
- package/dist/chunks/{instance-0rvbv8dn.js → filesystem-7zfzjnyd.js} +9 -9
- package/dist/chunks/{instance-x2pp485p.js → filesystem-89hkn2ck.js} +14 -14
- package/dist/chunks/{instance-qvg0xc96.js → filesystem-8d63q4vm.js} +14 -14
- package/dist/chunks/{instance-aef5n06x.js → filesystem-8j8gppkv.js} +32 -32
- package/dist/chunks/{instance-9150gt3p.js → filesystem-8kvpvnp7.js} +33 -33
- package/dist/chunks/{instance-sx4k8dnq.js → filesystem-8mm41x9v.js} +26 -26
- package/dist/chunks/{instance-qz6fnwq9.js → filesystem-8n969cs1.js} +4 -4
- package/dist/chunks/{instance-mtrbqqrq.js → filesystem-8ryk0bb9.js} +5 -5
- package/dist/chunks/{instance-635rwy07.js → filesystem-8tv6we1q.js} +86 -86
- package/dist/chunks/{instance-8wtp7s3z.js → filesystem-8wtp7s3z.js} +1 -1
- package/dist/chunks/{instance-91rj84md.js → filesystem-91rj84md.js} +1 -1
- package/dist/chunks/{instance-mf1ymtqj.js → filesystem-96t1we0v.js} +24 -24
- package/dist/chunks/{instance-b5szyexk.js → filesystem-98mxgbz2.js} +15 -15
- package/dist/chunks/{instance-r6wgv8c9.js → filesystem-997dsrmm.js} +8 -8
- package/dist/chunks/{instance-998yhzzq.js → filesystem-998yhzzq.js} +3 -3
- package/dist/chunks/{instance-x3t9xer4.js → filesystem-9b28cy4d.js} +5 -5
- package/dist/chunks/{instance-mn6tycs6.js → filesystem-9dk4f4hb.js} +2 -2
- package/dist/chunks/{instance-nd09pmcx.js → filesystem-9fcy9jas.js} +17 -17
- package/dist/chunks/{instance-h2xt6wet.js → filesystem-9nkjg9qd.js} +6 -6
- package/dist/chunks/filesystem-9ycsyq8d.js +257 -0
- package/dist/chunks/{instance-xd2vqhy1.js → filesystem-9zhqcg1r.js} +19 -19
- package/dist/chunks/{instance-e191mv4p.js → filesystem-ae59h7aq.js} +41 -41
- package/dist/chunks/{instance-ngyanjke.js → filesystem-amdzwm80.js} +5 -5
- package/dist/chunks/{instance-97pvg7tb.js → filesystem-ap3xe38h.js} +9 -9
- package/dist/chunks/{instance-c9nxf8hy.js → filesystem-ar426sjr.js} +21 -21
- package/dist/chunks/{instance-01trdk4e.js → filesystem-arsn7stx.js} +1 -1
- package/dist/chunks/{instance-kkp7zrme.js → filesystem-avbcnn8s.js} +4 -4
- package/dist/chunks/{instance-ayjs7tqn.js → filesystem-ayjs7tqn.js} +2 -2
- package/dist/chunks/{instance-9qtzb502.js → filesystem-b0e0ha1k.js} +11 -11
- package/dist/chunks/{instance-b0mv4wxm.js → filesystem-b0mv4wxm.js} +2 -2
- package/dist/chunks/{instance-fme36196.js → filesystem-b59295hw.js} +17 -17
- package/dist/chunks/{instance-b6vsg801.js → filesystem-b6vsg801.js} +2 -2
- package/dist/chunks/{instance-e6d4carx.js → filesystem-bchnzv4a.js} +17 -17
- package/dist/chunks/{instance-r0wpwzbc.js → filesystem-bdsrgrhy.js} +13 -13
- package/dist/chunks/{instance-thtq1t3d.js → filesystem-bhxt7mnn.js} +19 -19
- package/dist/chunks/{instance-p3bdjd75.js → filesystem-bkna9k4r.js} +20 -20
- package/dist/chunks/{instance-abbph779.js → filesystem-brp8afje.js} +18 -18
- package/dist/chunks/{instance-bstexjd6.js → filesystem-bstexjd6.js} +1 -1
- package/dist/chunks/{instance-39x48ya0.js → filesystem-bvkwt3vh.js} +16 -16
- package/dist/chunks/{instance-8rhgew23.js → filesystem-bx21rrrk.js} +20 -20
- package/dist/chunks/{instance-gxna9qj8.js → filesystem-bxr1hg8m.js} +28 -28
- package/dist/chunks/{instance-xewy3d53.js → filesystem-c4h1hzvn.js} +8 -8
- package/dist/chunks/{instance-aq1tnhw0.js → filesystem-c5093bv4.js} +5 -5
- package/dist/chunks/{instance-qkm1qb3q.js → filesystem-c6mtb9s1.js} +11 -11
- package/dist/chunks/{instance-8sxdqgb0.js → filesystem-c8666r4c.js} +6 -6
- package/dist/chunks/{instance-5t0rc2x5.js → filesystem-c8j7dx8q.js} +11 -11
- package/dist/chunks/{instance-gcnhbd6s.js → filesystem-c9vjxdk9.js} +7 -7
- package/dist/chunks/{instance-agyjn1qf.js → filesystem-chey27p8.js} +41 -41
- package/dist/chunks/{instance-e526twks.js → filesystem-cq8031fv.js} +3 -3
- package/dist/chunks/{instance-xg8ch27q.js → filesystem-d1cerpfm.js} +24 -24
- package/dist/chunks/{instance-c9t2ty9q.js → filesystem-d2887f8n.js} +4 -4
- package/dist/chunks/{instance-d2dx6a7h.js → filesystem-d2dx6a7h.js} +1 -1
- package/dist/chunks/{instance-d4v9tmah.js → filesystem-d4v9tmah.js} +2 -2
- package/dist/chunks/{instance-qrmqkw27.js → filesystem-d6xvjcm1.js} +18 -18
- package/dist/chunks/{instance-fxn4g1bv.js → filesystem-d70em1ty.js} +5 -5
- package/dist/chunks/{instance-d8qd4w10.js → filesystem-d8qd4w10.js} +3 -3
- package/dist/chunks/{instance-nqsqkrgf.js → filesystem-d9nsghbd.js} +35 -35
- package/dist/chunks/{instance-z827xawd.js → filesystem-dbkw9y8f.js} +42 -42
- package/dist/chunks/{instance-0p88zpcm.js → filesystem-dk5xnaxx.js} +4 -4
- package/dist/chunks/{instance-q45e6md9.js → filesystem-dnmtmk4w.js} +19 -19
- package/dist/chunks/{instance-ykhahs5v.js → filesystem-dztq030m.js} +32 -32
- package/dist/chunks/{instance-e834z07m.js → filesystem-e834z07m.js} +1 -1
- package/dist/chunks/{instance-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
- package/dist/chunks/{instance-6285fq4d.js → filesystem-efr9f7w8.js} +8 -8
- package/dist/chunks/{instance-9abypapv.js → filesystem-etk19sk0.js} +38 -38
- package/dist/chunks/{instance-062ja7nb.js → filesystem-f33ds01d.js} +21 -21
- package/dist/chunks/{instance-wkataeax.js → filesystem-f9ntwk7j.js} +11 -11
- package/dist/chunks/{instance-4jwczs9z.js → filesystem-f9r434at.js} +12 -12
- package/dist/chunks/{instance-8w97pe4x.js → filesystem-ffejy4wd.js} +9 -9
- package/dist/chunks/{instance-fffv3p7h.js → filesystem-fffv3p7h.js} +1 -1
- package/dist/chunks/{instance-cvg4qkkk.js → filesystem-fn89k98g.js} +30 -30
- package/dist/chunks/{instance-skmar0xn.js → filesystem-fwbqpq8p.js} +17 -17
- package/dist/chunks/{instance-yqveydy6.js → filesystem-fwp9mfc9.js} +4 -4
- package/dist/chunks/{instance-10kkr2v5.js → filesystem-fwvkg7a4.js} +11 -11
- package/dist/chunks/{instance-wr3re1en.js → filesystem-fznmdakp.js} +4 -4
- package/dist/chunks/{instance-g5h9c0rr.js → filesystem-g5h9c0rr.js} +2 -2
- package/dist/chunks/{instance-vmfhgzt5.js → filesystem-g7esga4v.js} +5 -5
- package/dist/chunks/{instance-8pw73atm.js → filesystem-gj87f6s9.js} +4 -4
- package/dist/chunks/{instance-5t7qnrbf.js → filesystem-gmjwgw4f.js} +3 -3
- package/dist/chunks/{instance-b7jk63p6.js → filesystem-grrps705.js} +17 -17
- package/dist/chunks/{instance-etaatxhn.js → filesystem-gsdn6242.js} +28 -28
- package/dist/chunks/{instance-pfam02kk.js → filesystem-gv029hbs.js} +3 -3
- package/dist/chunks/{instance-w47qp9je.js → filesystem-gxpe1m6c.js} +15 -15
- package/dist/chunks/{instance-07pgb3x5.js → filesystem-gyabndjg.js} +4 -4
- package/dist/chunks/{instance-z52esc5y.js → filesystem-h0d2nkz7.js} +7 -7
- package/dist/chunks/{instance-ebdpzygg.js → filesystem-hfc7xfzf.js} +12 -12
- package/dist/chunks/{instance-j113cymg.js → filesystem-j113cymg.js} +1 -1
- package/dist/chunks/{instance-4w3nch3z.js → filesystem-j3228jtb.js} +15 -15
- package/dist/chunks/{instance-fp2av3pw.js → filesystem-j4jzjbre.js} +20 -20
- package/dist/chunks/{instance-sn4dp65s.js → filesystem-jawcrgg3.js} +24 -24
- package/dist/chunks/{instance-2zj16vbw.js → filesystem-jbszwdvq.js} +6 -6
- package/dist/chunks/{instance-e5dqjz6v.js → filesystem-jchrqzf6.js} +4 -4
- package/dist/chunks/{instance-r6xrhh99.js → filesystem-jfm4fjtg.js} +19 -19
- package/dist/chunks/{instance-yyk2zdd2.js → filesystem-jg76350t.js} +46 -46
- package/dist/chunks/{instance-m8z5e2ce.js → filesystem-jk3vvd6z.js} +16 -16
- package/dist/chunks/{instance-9nmmcy3f.js → filesystem-jmf5ej32.js} +4 -4
- package/dist/chunks/{instance-wxxnmnk9.js → filesystem-jpvfv4j9.js} +32 -32
- package/dist/chunks/{instance-4h8x6jdk.js → filesystem-jqefqkzj.js} +14 -14
- package/dist/chunks/{instance-3g836nb0.js → filesystem-jwndhsk1.js} +15 -15
- package/dist/chunks/{instance-a41wq1zg.js → filesystem-jz901ekc.js} +16 -16
- package/dist/chunks/{instance-643ga4pe.js → filesystem-jzdzfwts.js} +53 -53
- package/dist/chunks/{instance-p5jsan2v.js → filesystem-k7zas86q.js} +17 -17
- package/dist/chunks/{instance-k814nvkf.js → filesystem-k814nvkf.js} +1 -1
- package/dist/chunks/{instance-29fq8x7w.js → filesystem-kba41hf4.js} +23 -23
- package/dist/chunks/{instance-ybq2x5w5.js → filesystem-kphdvy8n.js} +8 -8
- package/dist/chunks/{instance-qdvsamhb.js → filesystem-kpjnnt0y.js} +34 -34
- package/dist/chunks/{instance-fka6syst.js → filesystem-krc69tyh.js} +3 -3
- package/dist/chunks/{instance-mb1ys4h0.js → filesystem-kw6yrzx1.js} +12 -12
- package/dist/chunks/{instance-m1714858.js → filesystem-m1714858.js} +1 -1
- package/dist/chunks/{instance-c2sed5cq.js → filesystem-m5jcjszt.js} +3 -3
- package/dist/chunks/{instance-j0sbyfgz.js → filesystem-m7sf20d3.js} +32 -32
- package/dist/chunks/{instance-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{instance-maspj1v3.js → filesystem-maspj1v3.js} +1 -1
- package/dist/chunks/filesystem-mpdatzvn.js +26 -0
- package/dist/chunks/{instance-mkcmjcp5.js → filesystem-mz3a5edd.js} +8 -8
- package/dist/chunks/{instance-n0p0277s.js → filesystem-n0p0277s.js} +1 -1
- package/dist/chunks/{instance-7h8n1k9e.js → filesystem-n32wkzbx.js} +29 -29
- package/dist/chunks/{instance-9y5b6854.js → filesystem-n4d18xwc.js} +13 -13
- package/dist/chunks/{instance-vsbb40rd.js → filesystem-n5q96v35.js} +15 -15
- package/dist/chunks/{instance-dsfs4g6t.js → filesystem-n8gn2k8w.js} +13 -13
- package/dist/chunks/{instance-71sd8a42.js → filesystem-nd5d6z5j.js} +1 -1
- package/dist/chunks/{instance-93pnaaqa.js → filesystem-nk6d3n00.js} +37 -37
- package/dist/chunks/{instance-vy2h0p7t.js → filesystem-nm4qwr9s.js} +11 -11
- package/dist/chunks/{instance-932en0hc.js → filesystem-nnv5zz39.js} +23 -23
- package/dist/chunks/{instance-263kv34p.js → filesystem-nq8bay0y.js} +25 -25
- package/dist/chunks/{instance-4tqs0jzk.js → filesystem-nttn14j9.js} +4 -4
- package/dist/chunks/{instance-40d435vb.js → filesystem-nvexje8a.js} +5 -5
- package/dist/chunks/{instance-xh28yaa3.js → filesystem-nxdk44b7.js} +9 -9
- package/dist/chunks/{instance-p015t6z3.js → filesystem-p015t6z3.js} +2 -2
- package/dist/chunks/{instance-184a1rnm.js → filesystem-p0tsr9h6.js} +7 -7
- package/dist/chunks/{instance-f35f93zp.js → filesystem-p7vhpwh8.js} +5 -5
- package/dist/chunks/{instance-aj7g8w0t.js → filesystem-padq4g58.js} +19 -19
- package/dist/chunks/{instance-0ss1ygn7.js → filesystem-pc1v25hk.js} +3 -3
- package/dist/chunks/{instance-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{instance-es4ckx34.js → filesystem-pkyesxg1.js} +16 -16
- package/dist/chunks/{instance-21eye7vx.js → filesystem-pvrft5am.js} +45 -45
- package/dist/chunks/{instance-jfm41t20.js → filesystem-qg8qtdad.js} +3 -3
- package/dist/chunks/{instance-vb1hb692.js → filesystem-qh4tvjey.js} +6 -6
- package/dist/chunks/{instance-qjgzc4b4.js → filesystem-qjgzc4b4.js} +1 -1
- package/dist/chunks/{instance-jb5x7epa.js → filesystem-qtm30naq.js} +18 -18
- package/dist/chunks/{instance-gsjs8xe3.js → filesystem-r0dtc59e.js} +22 -22
- package/dist/chunks/{instance-r0yr0wbs.js → filesystem-r0yr0wbs.js} +1 -1
- package/dist/chunks/{instance-2xjd1gex.js → filesystem-r1esf721.js} +41 -41
- package/dist/chunks/{instance-ndz5nh7p.js → filesystem-r3f67wnp.js} +28 -28
- package/dist/chunks/{instance-w2eysc6j.js → filesystem-r41sfy63.js} +6 -6
- package/dist/chunks/{instance-rb9dy4dg.js → filesystem-rb9dy4dg.js} +1 -1
- package/dist/chunks/{instance-y3nk2kzt.js → filesystem-rfg9rte0.js} +16 -16
- package/dist/chunks/{instance-rt5dr6hb.js → filesystem-rt5dr6hb.js} +1 -1
- package/dist/chunks/{instance-mpjpcg5e.js → filesystem-rvmjpzp1.js} +10 -10
- package/dist/chunks/{instance-xt6gvx32.js → filesystem-s1rp2hzf.js} +14 -14
- package/dist/chunks/{instance-c4wf1ysj.js → filesystem-s3jvwajm.js} +13 -13
- package/dist/chunks/{instance-cvkqj1s3.js → filesystem-s4r347cv.js} +7 -7
- package/dist/chunks/{instance-zba5tm1j.js → filesystem-s626qfae.js} +4 -4
- package/dist/chunks/{instance-qs8dqg3k.js → filesystem-s9v9gzsc.js} +36 -36
- package/dist/chunks/{instance-019pepzp.js → filesystem-sdcxcfrs.js} +6 -6
- package/dist/chunks/{instance-kt6jvn8v.js → filesystem-sejvc57q.js} +22 -22
- package/dist/chunks/{instance-96has99t.js → filesystem-sm3pn1yy.js} +187 -187
- package/dist/chunks/{instance-4z5wzpcn.js → filesystem-spsj76tb.js} +7 -7
- package/dist/chunks/{instance-sqjzf8x2.js → filesystem-sqjzf8x2.js} +1 -1
- package/dist/chunks/{instance-ee15qck3.js → filesystem-st4qtcsw.js} +32 -32
- package/dist/chunks/{instance-yx2krnhd.js → filesystem-sz9hkbm4.js} +9 -9
- package/dist/chunks/{instance-1narx8j0.js → filesystem-t271sy58.js} +10 -10
- package/dist/chunks/{instance-3dfnask5.js → filesystem-t3gbfrqn.js} +9 -9
- package/dist/chunks/{instance-9kfxcdfw.js → filesystem-t3rfzc0n.js} +2 -2
- package/dist/chunks/{instance-h1krfj2j.js → filesystem-t6cdgaq6.js} +16 -16
- package/dist/chunks/{instance-tczq8hjw.js → filesystem-tczq8hjw.js} +1 -1
- package/dist/chunks/{instance-ndtgrced.js → filesystem-tfeyr919.js} +10 -10
- package/dist/chunks/{instance-q1mbbp6t.js → filesystem-tg0gd36c.js} +18 -18
- package/dist/chunks/{instance-cgwkqn27.js → filesystem-tj5yfdht.js} +23 -23
- package/dist/chunks/{instance-0421tmwc.js → filesystem-tpm1qpxt.js} +9 -9
- package/dist/chunks/{instance-tw8zr1ps.js → filesystem-tw8zr1ps.js} +1 -1
- package/dist/chunks/{instance-twv2r8f4.js → filesystem-twv2r8f4.js} +2 -2
- package/dist/chunks/{instance-6xzp1e9z.js → filesystem-tx3h81rw.js} +11 -11
- package/dist/chunks/{instance-f8b6bmk9.js → filesystem-tzkvb7j5.js} +86 -86
- package/dist/chunks/{instance-v2r1d0zg.js → filesystem-v2r1d0zg.js} +1 -1
- package/dist/chunks/{instance-c3cfh5w6.js → filesystem-v44g1jae.js} +9 -9
- package/dist/chunks/{instance-enkpkfwx.js → filesystem-v5hpj9dd.js} +8 -8
- package/dist/chunks/{instance-b3qt6n5e.js → filesystem-v81ymy3c.js} +18 -18
- package/dist/chunks/{instance-9yw7q74z.js → filesystem-v93w9dtv.js} +13 -13
- package/dist/chunks/{instance-66a4zrw5.js → filesystem-vbcm6ahj.js} +12 -12
- package/dist/chunks/{instance-vd3b3yk9.js → filesystem-vd3b3yk9.js} +1 -1
- package/dist/chunks/{instance-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{instance-fekxwpm0.js → filesystem-vgqfs1n2.js} +11 -11
- package/dist/chunks/{instance-nc72wgnk.js → filesystem-vnxwgqtp.js} +24 -24
- package/dist/chunks/{instance-a465j6ww.js → filesystem-vq1ppevj.js} +8 -8
- package/dist/chunks/{instance-xc7x0jwv.js → filesystem-vq9exjc4.js} +65 -65
- package/dist/chunks/{instance-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/{instance-76cb1hcw.js → filesystem-w8qtt4th.js} +4 -4
- package/dist/chunks/{instance-cyw0hgcw.js → filesystem-w96mkmzg.js} +27 -27
- package/dist/chunks/{instance-wakvkjy4.js → filesystem-wakvkjy4.js} +1 -1
- package/dist/chunks/{instance-esgjes53.js → filesystem-wckc0zrx.js} +4 -4
- package/dist/chunks/{instance-yy9yh1zy.js → filesystem-wcsf77ep.js} +15 -15
- package/dist/chunks/{instance-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{instance-0pv52n9j.js → filesystem-wzfzr50j.js} +12 -12
- package/dist/chunks/{instance-nhxzfzhp.js → filesystem-x6h7fa0f.js} +13 -13
- package/dist/chunks/{instance-n26ndsk8.js → filesystem-x934s5n8.js} +4 -4
- package/dist/chunks/{instance-m03db124.js → filesystem-xggf8f2k.js} +9 -9
- package/dist/chunks/{instance-03rv3xxr.js → filesystem-xnj8czy5.js} +40 -40
- package/dist/chunks/{instance-e3xe61ee.js → filesystem-xqg92hb0.js} +29 -29
- package/dist/chunks/{instance-8h479pk7.js → filesystem-y2sesghw.js} +4 -4
- package/dist/chunks/{instance-rhng211m.js → filesystem-yawxmpnv.js} +16 -15
- package/dist/chunks/{instance-yb20nhc3.js → filesystem-yb20nhc3.js} +1 -1
- package/dist/chunks/{instance-mnx6182w.js → filesystem-ym2fpx9j.js} +320 -320
- package/dist/chunks/{instance-end80c8k.js → filesystem-ymrtwgat.js} +3 -3
- package/dist/chunks/{instance-s2e6s221.js → filesystem-ytj9cq62.js} +13 -13
- package/dist/chunks/{instance-dzd5qgxq.js → filesystem-ytxs1176.js} +6 -6
- package/dist/chunks/{instance-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{instance-mdvh07w7.js → filesystem-z0dwbekb.js} +18 -18
- package/dist/chunks/{instance-n1nj23tb.js → filesystem-z0qqz9cx.js} +21 -21
- package/dist/chunks/{instance-py2y684m.js → filesystem-z1448dy0.js} +11 -11
- package/dist/chunks/{instance-z38nccrw.js → filesystem-z38nccrw.js} +1 -1
- package/dist/chunks/{instance-jc8qqhy4.js → filesystem-zgjcgapj.js} +3 -3
- package/dist/chunks/{instance-9kgv9zpv.js → filesystem-zj4f4v9r.js} +25 -25
- package/dist/chunks/{instance-zkg84ctx.js → filesystem-zkg84ctx.js} +1 -1
- package/dist/chunks/{instance-3tfzn32a.js → filesystem-zqz3yng3.js} +5 -5
- package/dist/chunks/{instance-6wz3wy1g.js → filesystem-ztmrs8ra.js} +5 -5
- package/dist/chunks/{instance-fv41sqmf.js → filesystem-zwqbvap5.js} +22 -22
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- 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 +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- 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 +125 -125
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +81 -81
- 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 +94 -94
- 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 +3 -3
- 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 +104 -104
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- package/dist/git.js +10 -10
- 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 +101 -101
- 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 +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +154 -154
- 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 +89 -89
- 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 +77 -77
- 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 +101 -101
- package/dist/model-resolver.js +99 -99
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +105 -105
- 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 +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- 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 +4 -4
- 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 +118 -118
- 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 +349 -349
- 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 +6 -6
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- 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 +99 -99
- 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 +219 -219
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +95 -95
- 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 +95 -95
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- 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 +3 -3
- 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 +126 -126
- 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 +166 -166
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- 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 +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +136 -136
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +108 -108
- 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 +2 -2
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- 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-qxc5czc4.js +0 -26
- /package/dist/chunks/{instance-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{instance-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{instance-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{instance-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{instance-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{instance-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{instance-2bv980vf.js → filesystem-2bv980vf.js} +0 -0
- /package/dist/chunks/{instance-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{instance-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{instance-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{instance-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{instance-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{instance-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{instance-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{instance-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{instance-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{instance-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{instance-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{instance-5fjb7ams.js → filesystem-5fjb7ams.js} +0 -0
- /package/dist/chunks/{instance-5qd3pb7m.js → filesystem-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{instance-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{instance-6q2bdcd1.js → filesystem-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{instance-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{instance-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{instance-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{instance-84wd9syh.js → filesystem-84wd9syh.js} +0 -0
- /package/dist/chunks/{instance-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{instance-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{instance-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{instance-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{instance-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{instance-a058387c.js → filesystem-a058387c.js} +0 -0
- /package/dist/chunks/{instance-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{instance-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{instance-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{instance-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{instance-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{instance-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{instance-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{instance-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{instance-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{instance-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{instance-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{instance-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{instance-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{instance-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{instance-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{instance-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{instance-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{instance-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{instance-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{instance-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{instance-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{instance-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{instance-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{instance-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{instance-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{instance-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{instance-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{instance-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{instance-hcxmzztb.js → filesystem-hcxmzztb.js} +0 -0
- /package/dist/chunks/{instance-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{instance-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{instance-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{instance-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{instance-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{instance-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{instance-jze0r7bz.js → filesystem-jze0r7bz.js} +0 -0
- /package/dist/chunks/{instance-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{instance-m18g726c.js → filesystem-m18g726c.js} +0 -0
- /package/dist/chunks/{instance-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{instance-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{instance-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{instance-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{instance-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{instance-pkyv6v7h.js → filesystem-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{instance-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{instance-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{instance-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{instance-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{instance-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{instance-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{instance-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{instance-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{instance-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{instance-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{instance-ve7vex1e.js → filesystem-ve7vex1e.js} +0 -0
- /package/dist/chunks/{instance-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{instance-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{instance-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{instance-wjj7prxr.js → filesystem-wjj7prxr.js} +0 -0
- /package/dist/chunks/{instance-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{instance-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{instance-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{instance-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{instance-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{instance-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{instance-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{instance-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{instance-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
14
|
Native: () => Native3,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service55,
|
|
16
16
|
Test: () => Test3,
|
|
17
17
|
Watcher: () => exports_watcher,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured7,
|
|
19
19
|
hasNativeBinding: () => hasNativeBinding2,
|
|
20
|
-
layer: () =>
|
|
20
|
+
layer: () => layer23,
|
|
21
21
|
nativeLayer: () => nativeLayer2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node57,
|
|
23
23
|
testLayer: () => testLayer3
|
|
24
24
|
});
|
|
25
25
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
49
49
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
class
|
|
52
|
+
class Service55 extends Context.Service()("@opencode/Watcher") {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
56
56
|
}
|
|
57
|
-
var
|
|
57
|
+
var layer23 = (options) => Layer.effect(Service55, Effect.gen(function* () {
|
|
58
58
|
if (options?.enabled === false) {
|
|
59
|
-
return
|
|
59
|
+
return Service55.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
60
60
|
}
|
|
61
61
|
const native = yield* Native3;
|
|
62
62
|
const watchers = yield* RcMap.make({
|
|
@@ -97,7 +97,7 @@ var layer19 = (options) => Layer.effect(Service49, Effect.gen(function* () {
|
|
|
97
97
|
return Stream.fromSubscription(subscription);
|
|
98
98
|
}));
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service55.of({ subscribe });
|
|
101
101
|
}));
|
|
102
102
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
103
103
|
const subscriptions = [];
|
|
@@ -121,9 +121,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
121
121
|
};
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
|
-
const context = yield* Layer.build(
|
|
124
|
+
const context = yield* Layer.build(layer23().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
125
125
|
const test = Test3.of({
|
|
126
|
-
subscribe: Context.get(context,
|
|
126
|
+
subscribe: Context.get(context, Service55).subscribe,
|
|
127
127
|
emit: (update) => Effect.sync(() => {
|
|
128
128
|
const target = path.resolve(update.path);
|
|
129
129
|
active.forEach((matches, publish) => {
|
|
@@ -133,7 +133,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
133
133
|
}),
|
|
134
134
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
135
135
|
});
|
|
136
|
-
return Context.empty().pipe(Context.add(
|
|
136
|
+
return Context.empty().pipe(Context.add(Service55, test), Context.add(Test3, test));
|
|
137
137
|
}));
|
|
138
138
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
139
139
|
subscribe: (input) => {
|
|
@@ -156,10 +156,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
156
156
|
}
|
|
157
157
|
}));
|
|
158
158
|
var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
159
|
-
function
|
|
160
|
-
return makeGlobalNode({ service:
|
|
159
|
+
function configured7(options) {
|
|
160
|
+
return makeGlobalNode({ service: Service55, layer: layer23(options), deps: [nativeNode] });
|
|
161
161
|
}
|
|
162
|
-
var
|
|
162
|
+
var node57 = configured7();
|
|
163
163
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
164
164
|
if (!native || !backend) {
|
|
165
165
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -179,4 +179,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
179
179
|
}).pipe(Effect.as(undefined))));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { hasNativeBinding2, Native3,
|
|
182
|
+
export { hasNativeBinding2, Native3, Service55, Test3, layer23, testLayer3, nativeLayer2, configured7, node57, exports_watcher };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-t6cdgaq6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID12,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-bchnzv4a.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-yb20nhc3.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID12.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
6
|
Info13
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-d2dx6a7h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
13
|
var exports_agent3 = {};
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-s626qfae.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-7qh21x13.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event17
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-t6cdgaq6.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID12,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-bchnzv4a.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID11,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service75
|
|
20
|
+
} from "./filesystem-vnxwgqtp.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID10
|
|
23
|
+
} from "./filesystem-5q1nw5b2.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./filesystem-zwqbvap5.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./filesystem-c6mtb9s1.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID17
|
|
33
|
+
} from "./filesystem-dnmtmk4w.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./filesystem-3nnrz6f6.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { isRecord } from "@opencode/ai/utils/record";
|
|
@@ -66,7 +66,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
66
66
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
67
67
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
68
68
|
var oauth = (app) => ({
|
|
69
|
-
integrationID:
|
|
69
|
+
integrationID: ID12.make("github-copilot"),
|
|
70
70
|
method: {
|
|
71
71
|
id: methodID,
|
|
72
72
|
type: "oauth",
|
|
@@ -164,7 +164,7 @@ var oauth = (app) => ({
|
|
|
164
164
|
var GithubCopilotPlugin2 = define({
|
|
165
165
|
id: "opencode.provider.github.copilot",
|
|
166
166
|
effect: Effect.fn(function* (ctx) {
|
|
167
|
-
const providers = yield*
|
|
167
|
+
const providers = yield* Service75;
|
|
168
168
|
const bus = yield* Service85;
|
|
169
169
|
const loading = Semaphore.makeUnsafe(1);
|
|
170
170
|
const loaded = {};
|
|
@@ -181,9 +181,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
181
181
|
return;
|
|
182
182
|
}
|
|
183
183
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
184
|
-
const provider = yield* providers.get(
|
|
184
|
+
const provider = yield* providers.get(ID11.githubCopilot);
|
|
185
185
|
const remote = yield* Effect.tryPromise({
|
|
186
|
-
try: () =>
|
|
186
|
+
try: () => load3(url, {
|
|
187
187
|
...provider?.headers,
|
|
188
188
|
Authorization: `Bearer ${credential.refresh}`,
|
|
189
189
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -203,13 +203,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
203
203
|
editor.method.update(oauth(ctx.app));
|
|
204
204
|
});
|
|
205
205
|
yield* ctx.provider.transform((evt) => {
|
|
206
|
-
const item = evt.get(
|
|
206
|
+
const item = evt.get(ID11.githubCopilot);
|
|
207
207
|
if (!item)
|
|
208
208
|
return;
|
|
209
209
|
if (loaded.models) {
|
|
210
210
|
evt.add({
|
|
211
211
|
info: item.provider,
|
|
212
|
-
models: Array.from(
|
|
212
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
213
213
|
sourceConnection: loaded.connection
|
|
214
214
|
});
|
|
215
215
|
return;
|
|
@@ -231,17 +231,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
233
|
yield* ctx.model.transform((models) => {
|
|
234
|
-
if (models.get(
|
|
235
|
-
models.update(
|
|
234
|
+
if (models.get(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"))) {
|
|
235
|
+
models.update(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"), (model) => {
|
|
236
236
|
model.enabled = false;
|
|
237
237
|
});
|
|
238
238
|
}
|
|
239
239
|
});
|
|
240
240
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
241
|
-
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
241
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
242
242
|
yield* refresh().pipe(Effect.forkScoped);
|
|
243
243
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
247
247
|
return;
|
|
@@ -250,7 +250,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
250
250
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
251
251
|
}));
|
|
252
252
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
253
|
-
if (evt.model.providerID !==
|
|
253
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
254
254
|
return;
|
|
255
255
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
256
256
|
return;
|
|
@@ -260,13 +260,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
260
260
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
261
261
|
if (interaction !== "conversation-agent")
|
|
262
262
|
evt.headers["x-initiator"] = "agent";
|
|
263
|
-
}), { providerID:
|
|
263
|
+
}), { providerID: ID11.githubCopilot });
|
|
264
264
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
265
|
-
if (evt.model.providerID !==
|
|
265
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
266
266
|
return;
|
|
267
267
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
268
268
|
return;
|
|
269
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
269
|
+
const agent = yield* ctx.agent.get({ agentID: ID17.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
270
270
|
return;
|
|
271
271
|
}));
|
|
272
272
|
if (agent?.data.model)
|
|
@@ -277,9 +277,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
277
277
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
278
278
|
return;
|
|
279
279
|
}));
|
|
280
|
-
}), { providerID:
|
|
280
|
+
}), { providerID: ID11.githubCopilot });
|
|
281
281
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
282
|
-
if (evt.model.providerID !==
|
|
282
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
283
283
|
return;
|
|
284
284
|
const token = evt.request.headers.get("x-api-key");
|
|
285
285
|
if (!token)
|
|
@@ -287,9 +287,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
287
287
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
288
288
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
289
289
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
290
|
-
}), { providerID:
|
|
290
|
+
}), { providerID: ID11.githubCopilot });
|
|
291
291
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
292
|
-
if (evt.model.providerID !==
|
|
292
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
293
293
|
return;
|
|
294
294
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
295
295
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-c6mtb9s1.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-7qh21x13.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID13,
|
|
9
9
|
Event17,
|
|
10
10
|
Service78
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-t6cdgaq6.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-s626qfae.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID12,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-bchnzv4a.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./filesystem-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID11,
|
|
24
|
+
Service75
|
|
25
|
+
} from "./filesystem-vnxwgqtp.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID10
|
|
28
|
+
} from "./filesystem-5q1nw5b2.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./filesystem-qh4tvjey.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make5(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID11.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
75
|
const bus = yield* Service85;
|
|
76
76
|
const credentials = yield* Service78;
|
|
77
|
-
const providers = yield*
|
|
77
|
+
const providers = yield* Service75;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make7(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID11.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID11.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make7(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID11.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make7(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID11.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID13.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make7(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID11.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make7(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID11.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID11.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make7(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID11.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make7(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID11.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make7(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -263,20 +263,20 @@ function make7(endpoints = {
|
|
|
263
263
|
}
|
|
264
264
|
if (!loaded.deployments)
|
|
265
265
|
return;
|
|
266
|
-
const catalog = models.list(
|
|
266
|
+
const catalog = models.list(ID11.azure);
|
|
267
267
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
268
268
|
for (const model of catalog) {
|
|
269
269
|
if (!deployed.has(model.id))
|
|
270
|
-
models.remove(
|
|
270
|
+
models.remove(ID11.azure, model.id);
|
|
271
271
|
}
|
|
272
272
|
for (const [id, model] of deployed) {
|
|
273
|
-
models.update(
|
|
273
|
+
models.update(ID11.azure, id, (draft) => Object.assign(draft, model));
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
276
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
277
277
|
yield* refresh().pipe(Effect.forkScoped);
|
|
278
278
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
279
|
-
const connection = yield* ctx.integration.connection.active(
|
|
279
|
+
const connection = yield* ctx.integration.connection.active(ID11.azure);
|
|
280
280
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
281
281
|
return;
|
|
282
282
|
})) : undefined;
|
|
@@ -288,7 +288,7 @@ function make7(endpoints = {
|
|
|
288
288
|
return `Bearer ${current.access}`;
|
|
289
289
|
});
|
|
290
290
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID11.azure)
|
|
292
292
|
return;
|
|
293
293
|
const authorization = yield* bearer(evt.request.url);
|
|
294
294
|
if (!authorization)
|
|
@@ -297,9 +297,9 @@ function make7(endpoints = {
|
|
|
297
297
|
evt.request.headers.delete("x-api-key");
|
|
298
298
|
evt.request.headers.set("authorization", authorization);
|
|
299
299
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
300
|
-
}), { providerID:
|
|
300
|
+
}), { providerID: ID11.azure });
|
|
301
301
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
302
|
-
if (evt.model.providerID !==
|
|
302
|
+
if (evt.model.providerID !== ID11.azure)
|
|
303
303
|
return;
|
|
304
304
|
const authorization = yield* bearer(evt.url);
|
|
305
305
|
if (!authorization)
|
|
@@ -308,11 +308,11 @@ function make7(endpoints = {
|
|
|
308
308
|
delete evt.headers["x-api-key"];
|
|
309
309
|
evt.headers.authorization = authorization;
|
|
310
310
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
311
|
-
}), { providerID:
|
|
311
|
+
}), { providerID: ID11.azure });
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
-
var AzurePlugin2 =
|
|
315
|
+
var AzurePlugin2 = make5();
|
|
316
316
|
function resolveResourceName(settings, fallback) {
|
|
317
317
|
const configured = settings?.resourceName;
|
|
318
318
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
|
|
|
342
342
|
const model = catalogModel(models, deployment);
|
|
343
343
|
if (!model)
|
|
344
344
|
return [];
|
|
345
|
-
const id =
|
|
345
|
+
const id = ID10.make(deployment.name.toLowerCase());
|
|
346
346
|
const info = {
|
|
347
347
|
...structuredClone(model),
|
|
348
348
|
id,
|
|
349
|
-
modelID:
|
|
349
|
+
modelID: ID10.make(deployment.name),
|
|
350
350
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
351
351
|
};
|
|
352
352
|
return [[id, info]];
|
|
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
368
368
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
export {
|
|
371
|
+
export { make5, AzurePlugin2 };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./filesystem-jchrqzf6.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./filesystem-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./filesystem-998yhzzq.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-7qh21x13.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-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: () => Event20,
|
|
18
|
+
ID: () => ID17,
|
|
19
|
+
Info: () => Info28,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service83,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node86
|
|
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 Event20 } from "@opencode/schema/agent";
|
|
29
|
+
var ID17 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
|
-
var defaultID2 =
|
|
31
|
+
var defaultID2 = ID17.make("build");
|
|
32
32
|
var Color2 = Agent.Color;
|
|
33
|
-
var
|
|
33
|
+
var Info28 = Agent.Info;
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service83 extends Context.Service()("@opencode/Agent") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service83, 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) ?? Info28.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 Service83.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(ID17.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 node86 = makeLocationNode({ service: Service83, layer, deps: [node89] });
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { ID17, Name3, defaultID2, Color2, Info28, Service83, node86, exports_agent4, Event20 };
|