@opencode/core 0.0.0-dev-19436 → 0.0.0-dev-19438
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/catalog.js +83 -83
- package/dist/chunks/{generate-tqw8zxxy.js → file-03zt5v0h.js} +11 -11
- package/dist/chunks/{generate-4w9k0mjw.js → file-0bc9xa41.js} +15 -15
- package/dist/chunks/{generate-cysjstt0.js → file-0cq9sm51.js} +34 -34
- package/dist/chunks/{generate-ztcv1eyd.js → file-0kzzmtkd.js} +18 -18
- package/dist/chunks/{generate-jwx4y25k.js → file-0p4j4cv0.js} +9 -9
- package/dist/chunks/{generate-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{generate-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{generate-em4ar646.js → file-0tqgm7xh.js} +26 -26
- package/dist/chunks/{generate-6f6vgmrt.js → file-0z8fjeev.js} +11 -11
- package/dist/chunks/{generate-t7z3zppm.js → file-11h1hnb3.js} +2 -2
- package/dist/chunks/{generate-h1cbn5my.js → file-11tcp5y8.js} +4 -4
- package/dist/chunks/{generate-2ktqxpjb.js → file-1302kqpv.js} +56 -56
- package/dist/chunks/{generate-0nzybmd6.js → file-195b9hkp.js} +28 -28
- package/dist/chunks/{generate-1dazxqgg.js → file-1dazxqgg.js} +2 -2
- package/dist/chunks/{generate-ccmz1r19.js → file-1enyjv7v.js} +13 -13
- package/dist/chunks/{generate-1pscxtyc.js → file-1tx98gn3.js} +14 -14
- package/dist/chunks/{generate-fq0va44m.js → file-1vd4786e.js} +9 -9
- package/dist/chunks/{generate-dpskyeh4.js → file-1wv7z5mx.js} +31 -31
- package/dist/chunks/{generate-aws7z9kx.js → file-206fxkvm.js} +17 -17
- package/dist/chunks/{generate-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{generate-z63w68vq.js → file-29x78va6.js} +6 -6
- package/dist/chunks/{generate-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{generate-vyj892hr.js → file-2cmcktmr.js} +10 -10
- package/dist/chunks/{generate-72nr9cry.js → file-2ff89mrc.js} +4 -4
- package/dist/chunks/{generate-mmebaszg.js → file-2r4xr41j.js} +21 -21
- package/dist/chunks/{generate-tqfej29b.js → file-2rk3das1.js} +22 -22
- package/dist/chunks/{generate-d18798dz.js → file-2sgjhdq8.js} +29 -29
- package/dist/chunks/{generate-xz2sz7jr.js → file-31hyewty.js} +41 -41
- package/dist/chunks/{generate-1qkyvz7t.js → file-34202413.js} +22 -22
- package/dist/chunks/{generate-gjqr6zrn.js → file-37y0x4sa.js} +13 -13
- package/dist/chunks/{generate-3fc6dm20.js → file-3fc6dm20.js} +1 -1
- package/dist/chunks/{generate-6q1acxff.js → file-3fj0ehej.js} +43 -43
- package/dist/chunks/{generate-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{generate-jp9jb5qe.js → file-3kff94q5.js} +5 -5
- package/dist/chunks/{generate-b1xvncj7.js → file-3kt1zrpp.js} +76 -76
- package/dist/chunks/{generate-39pny36r.js → file-3n1sj9mp.js} +1 -1
- package/dist/chunks/{generate-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{generate-fgh0kbhd.js → file-3trbxeqx.js} +1 -1
- package/dist/chunks/{generate-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{generate-e3mxans8.js → file-3w2b2yj4.js} +5 -5
- package/dist/chunks/{generate-mf9m2v67.js → file-3yjg5mh2.js} +3 -3
- package/dist/chunks/{generate-1n9n5b3d.js → file-3yknbgq7.js} +19 -19
- package/dist/chunks/{generate-ygw6154k.js → file-416qpt5q.js} +20 -20
- package/dist/chunks/{generate-xnpbk0pc.js → file-4qbtf2xm.js} +5 -5
- package/dist/chunks/{generate-zv3e7t68.js → file-4rpd5z62.js} +2 -2
- package/dist/chunks/{generate-5ks7kb4v.js → file-52az7e5h.js} +11 -11
- package/dist/chunks/{generate-33w4ejhs.js → file-56gdpj1q.js} +6 -6
- package/dist/chunks/{generate-c0y0jbg7.js → file-56j57pys.js} +15 -15
- package/dist/chunks/{generate-y60800f4.js → file-5cvqq58e.js} +3 -3
- package/dist/chunks/{generate-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{generate-5t3nmthw.js → file-5t3nmthw.js} +2 -2
- package/dist/chunks/{generate-mgx963cj.js → file-5trk58xb.js} +8 -8
- package/dist/chunks/{generate-pjg5vxkm.js → file-5z7h86dp.js} +5 -5
- package/dist/chunks/{generate-mkk216y0.js → file-614n5vxr.js} +14 -14
- package/dist/chunks/{generate-ypf30vrs.js → file-664j63h8.js} +20 -20
- package/dist/chunks/{generate-669tq793.js → file-669tq793.js} +1 -1
- package/dist/chunks/{generate-7wwfbcqc.js → file-67mjd9te.js} +9 -9
- package/dist/chunks/{generate-mm4qk4sz.js → file-69q31xtv.js} +4 -4
- package/dist/chunks/{generate-rqac2h8p.js → file-6bg31a94.js} +17 -17
- package/dist/chunks/{generate-2402vzrj.js → file-6h73sxmp.js} +5 -5
- package/dist/chunks/{generate-f2daj8m5.js → file-6jekb6p7.js} +15 -15
- package/dist/chunks/{generate-sw3r3x1t.js → file-6jnybvqn.js} +2 -2
- package/dist/chunks/{generate-6msgmcgs.js → file-6msgmcgs.js} +1 -1
- package/dist/chunks/{generate-71q4at8m.js → file-71q4at8m.js} +1 -1
- package/dist/chunks/{generate-h0hnsk02.js → file-75v5avbv.js} +9 -9
- package/dist/chunks/{generate-1yrdzb9h.js → file-79rym0vx.js} +15 -15
- package/dist/chunks/{generate-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{generate-7dqw4kz8.js → file-7dqw4kz8.js} +1 -1
- package/dist/chunks/{generate-cpy6gm2a.js → file-7ebn0nc0.js} +4 -4
- package/dist/chunks/{generate-mhkvc446.js → file-7yh4e7ss.js} +3 -3
- package/dist/chunks/{generate-3e8pesde.js → file-81swgkk7.js} +9 -9
- package/dist/chunks/{generate-7b15y959.js → file-844ef7ks.js} +8 -8
- package/dist/chunks/{generate-m27pyyd3.js → file-84tssp1s.js} +6 -6
- package/dist/chunks/{generate-r01t9b5y.js → file-87deq66t.js} +6 -6
- package/dist/chunks/{generate-mfhfdr54.js → file-88sz8qcd.js} +4 -4
- package/dist/chunks/{generate-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
- package/dist/chunks/{generate-ay6pntn3.js → file-8kpa3sfw.js} +25 -25
- package/dist/chunks/{generate-vxqvp5m2.js → file-8n8qbvvf.js} +29 -29
- package/dist/chunks/{generate-dj2t23y0.js → file-8p4f9s12.js} +2 -2
- package/dist/chunks/{generate-vyxhsqdc.js → file-8pnwjqbd.js} +23 -23
- package/dist/chunks/{generate-aygt8q9r.js → file-8qqdnwax.js} +15 -15
- package/dist/chunks/{generate-eagyeves.js → file-8s0m5yrh.js} +18 -18
- package/dist/chunks/{generate-dp5bsb0e.js → file-8s84r2ab.js} +17 -17
- package/dist/chunks/{generate-k8962brh.js → file-8x96bj0m.js} +4 -4
- package/dist/chunks/{generate-52fpbh6z.js → file-91p1v22t.js} +8 -8
- package/dist/chunks/{generate-pggbgfqn.js → file-99tcg3bm.js} +11 -11
- package/dist/chunks/{generate-ta4djbce.js → file-9ay0erd8.js} +153 -153
- package/dist/chunks/{generate-sygp3w95.js → file-9bj2cvf7.js} +9 -9
- package/dist/chunks/{generate-vd9xqktw.js → file-9ch41db7.js} +44 -44
- package/dist/chunks/{generate-k16ay38w.js → file-9k2v62xn.js} +1 -1
- package/dist/chunks/{generate-srkwgq29.js → file-9v3118pd.js} +28 -28
- package/dist/chunks/{generate-k7gbetc5.js → file-9vqmh8rd.js} +25 -25
- package/dist/chunks/{generate-gp6jffzn.js → file-9yb9755z.js} +13 -13
- package/dist/chunks/{generate-5c4hm403.js → file-a1bz86dw.js} +3 -3
- package/dist/chunks/{generate-ebhw3mq4.js → file-a28msnrx.js} +4 -4
- package/dist/chunks/{generate-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{generate-xj0bxjy7.js → file-agmzfzv5.js} +16 -16
- package/dist/chunks/{generate-ve4pfa0n.js → file-an7cqtb7.js} +4 -4
- package/dist/chunks/{generate-m1sc7qpq.js → file-ashvqh0k.js} +4 -4
- package/dist/chunks/{generate-wzymtbz6.js → file-awz7xhfp.js} +4 -4
- package/dist/chunks/{generate-s64cbx49.js → file-azec8exe.js} +7 -7
- package/dist/chunks/{generate-mj59rbhw.js → file-b3ab3ctg.js} +6 -6
- package/dist/chunks/{generate-hc7vzb2a.js → file-b3c6xmwh.js} +18 -18
- package/dist/chunks/{generate-39r80e1r.js → file-b3wkxfg9.js} +1 -1
- package/dist/chunks/{generate-adr43mc1.js → file-b3xk0srv.js} +33 -33
- package/dist/chunks/{generate-83h91mzx.js → file-b4ssmz4r.js} +9 -9
- package/dist/chunks/{generate-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{generate-1p8pj4gq.js → file-b8n110tt.js} +5 -5
- package/dist/chunks/{generate-7tnppf00.js → file-befft0k5.js} +12 -12
- package/dist/chunks/{generate-4qftt0ad.js → file-bv5t9bgg.js} +10 -10
- package/dist/chunks/file-bxsmgxt8.js +22 -0
- package/dist/chunks/{generate-czz1mk0t.js → file-bxxxhdn8.js} +17 -17
- package/dist/chunks/{generate-ezt0m903.js → file-c4vq1gr4.js} +25 -25
- package/dist/chunks/{generate-q4fmv0xv.js → file-ce5fknq2.js} +5 -5
- package/dist/chunks/{generate-m0jqrx5p.js → file-cfpkc3c9.js} +2 -2
- package/dist/chunks/{generate-j5nsxvak.js → file-ck83t0ny.js} +32 -32
- package/dist/chunks/{generate-krm885fd.js → file-cqyrr4jp.js} +75 -75
- package/dist/chunks/{generate-yayba5wy.js → file-d1xvm4af.js} +15 -15
- package/dist/chunks/{generate-h1fvy1gd.js → file-d5n4bh35.js} +24 -24
- package/dist/chunks/{generate-5bsnye8q.js → file-d86az2qg.js} +25 -25
- package/dist/chunks/{generate-6ya4w7xv.js → file-dgbe4bt1.js} +12 -12
- package/dist/chunks/file-dk9ef0gz.js +247 -0
- package/dist/chunks/{generate-8467n133.js → file-dx6t03ys.js} +2 -2
- package/dist/chunks/{generate-1f4gyz0n.js → file-e3qzfmye.js} +15 -15
- package/dist/chunks/{generate-v0k42p31.js → file-e6g776ht.js} +18 -18
- package/dist/chunks/{generate-mfz1jzpf.js → file-e7c5hh0v.js} +7 -7
- package/dist/chunks/{generate-jxt422gf.js → file-e7n26ax2.js} +8 -8
- package/dist/chunks/{generate-h6z8d5tn.js → file-ec8389mk.js} +4 -4
- package/dist/chunks/{generate-htw1ycyk.js → file-egqspz5t.js} +5 -5
- package/dist/chunks/{generate-ca7w653e.js → file-embw8kgh.js} +4 -4
- package/dist/chunks/{generate-r9babyk8.js → file-esdnemd6.js} +1 -1
- package/dist/chunks/{generate-etq0c3wd.js → file-etq0c3wd.js} +1 -1
- package/dist/chunks/{generate-jqcr0tvq.js → file-ew6y6y1a.js} +26 -26
- package/dist/chunks/{generate-6g3dpzke.js → file-eykg37vx.js} +15 -15
- package/dist/chunks/{generate-98f102c3.js → file-f3kdsvs6.js} +21 -21
- package/dist/chunks/{generate-hdnk95c8.js → file-f828m53h.js} +2 -2
- package/dist/chunks/{generate-8gkxrww8.js → file-famamp43.js} +15 -15
- package/dist/chunks/{generate-abw1kwbq.js → file-fec1vscd.js} +39 -39
- package/dist/chunks/{generate-gtq86vsq.js → file-ff8vf18q.js} +7 -7
- package/dist/chunks/{generate-t0x5rdq8.js → file-fjmrr6sh.js} +9 -9
- package/dist/chunks/{generate-fygdb7h7.js → file-fq1h1v14.js} +3 -3
- package/dist/chunks/{generate-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{generate-hr1ws8e2.js → file-fydnx5fx.js} +37 -37
- package/dist/chunks/{generate-v894zy29.js → file-fzsrmebp.js} +20 -20
- package/dist/chunks/{generate-9bz2v5s0.js → file-g5twr0sp.js} +14 -14
- package/dist/chunks/{generate-x4x0qw1a.js → file-g713qgch.js} +24 -24
- package/dist/chunks/{generate-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{generate-0wtspe5f.js → file-gj4x8zz6.js} +15 -15
- package/dist/chunks/{generate-mnv392bk.js → file-gj7pn1ka.js} +11 -11
- package/dist/chunks/{generate-cdtwy1r3.js → file-gqzswqpg.js} +32 -32
- package/dist/chunks/{generate-qrfzss76.js → file-gtwpvwn0.js} +58 -58
- package/dist/chunks/{generate-yyb7tjpc.js → file-gv6a8nnw.js} +2 -2
- package/dist/chunks/{generate-vyqn3nqs.js → file-gzbkpp9m.js} +4 -4
- package/dist/chunks/{generate-h03wrkyp.js → file-h03wrkyp.js} +2 -2
- package/dist/chunks/{generate-f8q7mv7a.js → file-h2gyv3sg.js} +1 -1
- package/dist/chunks/{generate-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{generate-b7rrt7yp.js → file-he3a9kdv.js} +23 -23
- package/dist/chunks/{generate-vzm76b3t.js → file-hq8zt1th.js} +6 -6
- package/dist/chunks/file-ht5y0zrb.js +18 -0
- package/dist/chunks/{generate-60a2mxse.js → file-j2j5pzjs.js} +5 -5
- package/dist/chunks/{generate-j56e64zr.js → file-j56e64zr.js} +1 -1
- package/dist/chunks/{generate-paphc93g.js → file-j935v87r.js} +2 -2
- package/dist/chunks/{generate-8j9290cj.js → file-ja6srv6s.js} +31 -31
- package/dist/chunks/{generate-tqskq136.js → file-jh9jg79a.js} +11 -11
- package/dist/chunks/{generate-460qmyvt.js → file-jhtsdbae.js} +16 -16
- package/dist/chunks/{generate-e1rvn8vw.js → file-jjwvsmw4.js} +6 -6
- package/dist/chunks/{generate-z5f02dmr.js → file-jvdqbckk.js} +12 -12
- package/dist/chunks/{generate-y71avatq.js → file-jwcy2c2z.js} +4 -4
- package/dist/chunks/{generate-8yay56x4.js → file-jxj1g7d6.js} +5 -5
- package/dist/chunks/{generate-282ycpdt.js → file-k2cps1w2.js} +14 -14
- package/dist/chunks/{generate-wy2fjyd3.js → file-k4t1n3ds.js} +5 -5
- package/dist/chunks/{generate-p2ms2xer.js → file-kcvfr73y.js} +46 -46
- package/dist/chunks/{generate-kg06axw8.js → file-kg06axw8.js} +1 -1
- package/dist/chunks/{generate-p2r27tsk.js → file-kk4kf303.js} +11 -11
- package/dist/chunks/{generate-27pxjv6r.js → file-kkmk6wev.js} +11 -11
- package/dist/chunks/{generate-kyrbgmgz.js → file-kyrbgmgz.js} +2 -2
- package/dist/chunks/{generate-61b2b0jm.js → file-m20ewzpv.js} +30 -30
- package/dist/chunks/{generate-qvj9tamg.js → file-m2eczmet.js} +287 -287
- package/dist/chunks/{generate-q3pfqd80.js → file-m4w483hc.js} +6 -6
- package/dist/chunks/{generate-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{generate-kqphnfc4.js → file-mdcc0ar8.js} +26 -26
- package/dist/chunks/{generate-mkcjrzeh.js → file-mkcjrzeh.js} +1 -1
- package/dist/chunks/{generate-z69s9t6b.js → file-mrw4weg4.js} +5 -5
- package/dist/chunks/{generate-zkpb4mnd.js → file-ms6rwfbv.js} +28 -28
- package/dist/chunks/{generate-4mef8aht.js → file-n2egqj3k.js} +10 -10
- package/dist/chunks/{generate-ss43wqfj.js → file-n3ehebhz.js} +12 -12
- package/dist/chunks/{generate-jesy7fcc.js → file-n92g5px8.js} +17 -17
- package/dist/chunks/{generate-1k2mzmz4.js → file-ngx16gc5.js} +12 -12
- package/dist/chunks/{generate-nhy5jxhy.js → file-nhy5jxhy.js} +1 -1
- package/dist/chunks/{generate-7d9ys0qb.js → file-nmpjh5tr.js} +32 -32
- package/dist/chunks/{generate-6h2n816c.js → file-nmwa5e32.js} +13 -13
- package/dist/chunks/{generate-0ctcqb5r.js → file-nrj82zgb.js} +26 -26
- package/dist/chunks/{generate-wfvawqgc.js → file-nrrb2a3e.js} +19 -19
- package/dist/chunks/{generate-sj0pg1d2.js → file-ntp00jbn.js} +34 -34
- package/dist/chunks/{generate-v5hpcsb0.js → file-p1nm93x7.js} +5 -5
- package/dist/chunks/{generate-7pfda458.js → file-p7r5e3re.js} +27 -27
- package/dist/chunks/{generate-49s5q05k.js → file-pd9nar43.js} +23 -23
- package/dist/chunks/{generate-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{generate-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/{generate-2gpyj5kx.js → file-pnfpsavj.js} +5 -5
- package/dist/chunks/{generate-bny867va.js → file-pvp2wc9z.js} +11 -11
- package/dist/chunks/{generate-1wj59nq5.js → file-q043d12m.js} +11 -11
- package/dist/chunks/{generate-0xma9y6h.js → file-q5sxxe7s.js} +15 -15
- package/dist/chunks/{generate-g6vpggfr.js → file-qacd23e2.js} +4 -4
- package/dist/chunks/{generate-3v0kbfet.js → file-qaeybh9m.js} +6 -6
- package/dist/chunks/{generate-bs2kgc24.js → file-qbka3964.js} +23 -23
- package/dist/chunks/{generate-sex50t12.js → file-qcv4hsrb.js} +13 -13
- package/dist/chunks/{generate-az4749a7.js → file-qefhz522.js} +11 -11
- package/dist/chunks/{generate-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{generate-x43y2vfs.js → file-r9mregkx.js} +3 -3
- package/dist/chunks/{generate-yjaa8gp1.js → file-rb7pkpgx.js} +27 -27
- package/dist/chunks/{generate-fbyxhnwk.js → file-rbb6h0rd.js} +11 -11
- package/dist/chunks/{generate-gasky795.js → file-rbwxp75v.js} +36 -36
- package/dist/chunks/{generate-yycwsgqa.js → file-rctdwqm8.js} +11 -11
- package/dist/chunks/{generate-ktppz2xf.js → file-reygygas.js} +6 -6
- package/dist/chunks/{generate-dk6e62g5.js → file-rn18s34v.js} +9 -9
- package/dist/chunks/{generate-n76fdqym.js → file-rs226bz6.js} +5 -5
- package/dist/chunks/{generate-9r6hh7kf.js → file-rywfhtnt.js} +19 -19
- package/dist/chunks/{generate-w0vj055n.js → file-s3h59be2.js} +24 -24
- package/dist/chunks/{generate-yrznvahk.js → file-s4enseaf.js} +2 -2
- package/dist/chunks/{generate-4vz798w9.js → file-s7vx81dz.js} +9 -9
- package/dist/chunks/{generate-69kxc8pj.js → file-sb15f9kd.js} +15 -15
- package/dist/chunks/{generate-n48wz30s.js → file-sqmt1xrx.js} +29 -29
- package/dist/chunks/{generate-evq6r5pz.js → file-szgy4byf.js} +4 -4
- package/dist/chunks/{generate-64s65d1n.js → file-t33aqq77.js} +5 -5
- package/dist/chunks/{generate-efqcpyxk.js → file-t3ejw313.js} +41 -41
- package/dist/chunks/{generate-rhjbct0v.js → file-t550f9t1.js} +4 -4
- package/dist/chunks/{generate-0jkkj5x0.js → file-t9qhnrv6.js} +6 -6
- package/dist/chunks/{generate-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{generate-tcezcvh9.js → file-tcezcvh9.js} +1 -1
- package/dist/chunks/{generate-7gqemh59.js → file-td1bwv9m.js} +7 -7
- package/dist/chunks/{generate-tdstcens.js → file-tdstcens.js} +1 -1
- package/dist/chunks/{generate-nyb0p7a8.js → file-tfg00z1r.js} +15 -15
- package/dist/chunks/{generate-y24frd6r.js → file-tsdrwk88.js} +11 -11
- package/dist/chunks/{generate-tvtrv512.js → file-tvtrv512.js} +1 -1
- package/dist/chunks/{generate-mxnz8za5.js → file-v3smhzc7.js} +12 -12
- package/dist/chunks/{generate-azsc15mm.js → file-v9n7g2jp.js} +50 -50
- package/dist/chunks/{generate-ksz0h0wp.js → file-vabb23s0.js} +1 -1
- package/dist/chunks/{generate-veqvce7d.js → file-veqvce7d.js} +1 -1
- package/dist/chunks/{generate-wdgp3mgb.js → file-verq85zk.js} +4 -4
- package/dist/chunks/{generate-81z6ssen.js → file-vjjshyym.js} +24 -24
- package/dist/chunks/{generate-b8ppthjy.js → file-vq3dh784.js} +23 -23
- package/dist/chunks/{generate-cavr175a.js → file-vsp1fds9.js} +21 -21
- package/dist/chunks/{generate-96yt6zt0.js → file-vypqtakx.js} +1 -1
- package/dist/chunks/{generate-vzcthcp8.js → file-vzcthcp8.js} +1 -1
- package/dist/chunks/{generate-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{generate-s13d9hm5.js → file-w6vgwbtw.js} +47 -47
- package/dist/chunks/{generate-99qv6bna.js → file-wb1yzg53.js} +20 -20
- package/dist/chunks/{generate-bp2j6a1f.js → file-wc01vwq2.js} +17 -17
- package/dist/chunks/{generate-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{generate-zpja4yre.js → file-wh05710z.js} +40 -40
- package/dist/chunks/{generate-pkmfek68.js → file-wkwfxgj3.js} +4 -4
- package/dist/chunks/{generate-59jshr4n.js → file-wxg97684.js} +29 -29
- package/dist/chunks/{generate-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{generate-2xsd6cxc.js → file-x5df1stp.js} +57 -57
- package/dist/chunks/{generate-znesh5ka.js → file-xacpwbjs.js} +9 -9
- package/dist/chunks/{generate-njqcqwne.js → file-xbet31bz.js} +32 -32
- package/dist/chunks/{generate-daf03bc6.js → file-xck56rmx.js} +34 -34
- package/dist/chunks/{generate-0yr4mqa9.js → file-xe3tttza.js} +10 -10
- package/dist/chunks/{generate-xvaj3ykh.js → file-xncegbyh.js} +6 -6
- package/dist/chunks/{generate-hp8a6key.js → file-xnn90w67.js} +27 -27
- package/dist/chunks/{generate-4r6mae84.js → file-xp2ajnz8.js} +24 -24
- package/dist/chunks/{generate-d9a9xnav.js → file-xr2q0tqq.js} +23 -23
- package/dist/chunks/{generate-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{generate-h5yrfjqd.js → file-y2vrj84a.js} +10 -10
- package/dist/chunks/{generate-09atk14q.js → file-yc3z3e63.js} +13 -13
- package/dist/chunks/{generate-yddgxcp4.js → file-yddgxcp4.js} +2 -2
- package/dist/chunks/{generate-yp2x3t23.js → file-yp2x3t23.js} +1 -1
- package/dist/chunks/{generate-jexg7ppr.js → file-ypy1tgyh.js} +13 -13
- package/dist/chunks/{generate-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
- package/dist/chunks/{generate-jwbqhvyy.js → file-yt0fqk68.js} +5 -5
- package/dist/chunks/{generate-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
- package/dist/chunks/{generate-92s5ptt1.js → file-z2maercm.js} +32 -32
- package/dist/chunks/{generate-46d75zpd.js → file-z2rxccdg.js} +9 -9
- package/dist/chunks/{generate-rq775frq.js → file-zeh9ct20.js} +2 -2
- package/dist/chunks/{generate-cv20tjt8.js → file-zfv8a0ht.js} +11 -11
- package/dist/chunks/{generate-k53abcyj.js → file-zh30k3px.js} +9 -9
- package/dist/chunks/{generate-zmcvkbyh.js → file-zn15gz72.js} +15 -15
- package/dist/chunks/{generate-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
- package/dist/chunks/{generate-ks5znfvj.js → file-zts5fb25.js} +11 -11
- package/dist/chunks/{generate-zxq2ej10.js → file-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- 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 +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +95 -95
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- 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 +3 -3
- 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/id/id.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 +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +80 -80
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +91 -91
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +74 -74
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +82 -82
- package/dist/reference/instructions.js +80 -80
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +143 -143
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +88 -88
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +122 -122
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +103 -103
- package/dist/snapshot.js +86 -86
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +79 -79
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +340 -340
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +8 -8
- package/dist/chunks/generate-kn2ed1ny.js +0 -247
- package/dist/chunks/generate-nn82kedb.js +0 -22
- package/dist/chunks/generate-vnkjks7b.js +0 -18
- /package/dist/chunks/{generate-0mesazry.js → file-0mesazry.js} +0 -0
- /package/dist/chunks/{generate-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{generate-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{generate-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{generate-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{generate-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{generate-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{generate-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{generate-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{generate-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{generate-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{generate-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{generate-3w5fmr99.js → file-3w5fmr99.js} +0 -0
- /package/dist/chunks/{generate-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{generate-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{generate-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{generate-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{generate-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{generate-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{generate-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{generate-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{generate-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{generate-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{generate-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{generate-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{generate-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{generate-922hggd3.js → file-922hggd3.js} +0 -0
- /package/dist/chunks/{generate-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{generate-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{generate-a6k6eb26.js → file-a6k6eb26.js} +0 -0
- /package/dist/chunks/{generate-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{generate-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{generate-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{generate-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{generate-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{generate-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{generate-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{generate-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{generate-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{generate-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{generate-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{generate-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{generate-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{generate-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{generate-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{generate-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{generate-ec1grn59.js → file-ec1grn59.js} +0 -0
- /package/dist/chunks/{generate-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{generate-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{generate-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{generate-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{generate-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{generate-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{generate-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{generate-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{generate-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{generate-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{generate-gftt206x.js → file-gftt206x.js} +0 -0
- /package/dist/chunks/{generate-hjbc5kem.js → file-hjbc5kem.js} +0 -0
- /package/dist/chunks/{generate-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{generate-hrnqkpcd.js → file-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{generate-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{generate-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{generate-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{generate-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{generate-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{generate-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{generate-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{generate-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{generate-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{generate-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{generate-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{generate-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{generate-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{generate-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{generate-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{generate-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{generate-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{generate-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{generate-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{generate-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{generate-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{generate-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{generate-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{generate-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{generate-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{generate-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{generate-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{generate-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{generate-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{generate-ym463w8f.js → file-ym463w8f.js} +0 -0
- /package/dist/chunks/{generate-z9919s4g.js → file-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service22,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer10,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node27
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
32
32
|
});
|
|
33
33
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service22 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
36
36
|
}
|
|
37
37
|
var transportError = (message, input) => new AIError({
|
|
38
38
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
|
|
|
56
56
|
return Effect.fail(observation.error);
|
|
57
57
|
};
|
|
58
58
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
59
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
59
|
+
var makeLayer2 = (connector) => Layer.effect(Service22, Effect.gen(function* () {
|
|
60
60
|
const scope = yield* Scope.Scope;
|
|
61
61
|
const states = new Map;
|
|
62
62
|
const state = (sessionID) => {
|
|
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service28, Effect.gen(function* ()
|
|
|
356
356
|
}, { discard: true });
|
|
357
357
|
});
|
|
358
358
|
yield* Effect.addFinalizer(() => closeAll);
|
|
359
|
-
return
|
|
359
|
+
return Service22.of({ bind, close, closeAll });
|
|
360
360
|
}));
|
|
361
|
-
var
|
|
361
|
+
var layer10 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
362
362
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
363
363
|
})));
|
|
364
|
-
var
|
|
364
|
+
var node27 = makeGlobalNode({ service: Service22, layer: layer10, deps: [webSocketConstructor2] });
|
|
365
365
|
|
|
366
|
-
export {
|
|
366
|
+
export { Service22, makeLayer2, layer10, node27, exports_model_transport };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-3w5fmr99.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/codemode/tool.ts
|
|
10
10
|
var exports_tool2 = {};
|
|
@@ -120,7 +120,7 @@ var catalog2 = (inventory) => {
|
|
|
120
120
|
const root = { children: new Map };
|
|
121
121
|
for (const namespace of inventory.namespaces?.values() ?? [])
|
|
122
122
|
getNode(root, namespace.name).namespace = namespace;
|
|
123
|
-
for (const tool of runtime(inventory, () => Effect.fail(toolError("Execute context is unavailable"))).catalog
|
|
123
|
+
for (const tool of runtime(inventory, () => Effect.fail(toolError("Execute context is unavailable"))).catalog)
|
|
124
124
|
getNode(root, tool.path).tool = {
|
|
125
125
|
type: "tool",
|
|
126
126
|
name: tool.path.split(".").at(-1) ?? tool.path,
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
node54
|
|
4
|
-
} from "./generate-v894zy29.js";
|
|
5
|
-
import {
|
|
6
|
-
Service65,
|
|
2
|
+
Service66,
|
|
7
3
|
node69
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./file-fzsrmebp.js";
|
|
9
5
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
6
|
+
Service72,
|
|
7
|
+
node76
|
|
8
|
+
} from "./file-6bg31a94.js";
|
|
9
|
+
import {
|
|
10
|
+
Service65,
|
|
11
|
+
node68
|
|
12
|
+
} from "./file-wh05710z.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service4,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer5,
|
|
28
|
+
node: () => node7
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service65;
|
|
40
|
+
const watcher = yield* Service66;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service72;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service4.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node7 = makeLocationNode({
|
|
74
|
+
service: Service4,
|
|
75
|
+
layer: layer5,
|
|
76
|
+
deps: [node68, FSUtil.node, node69, node76]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service4,
|
|
80
|
+
layer: Layer.succeed(Service4, Service4.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service4, layer5, node7, empty2, exports_source };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service65
|
|
4
|
+
} from "./file-wh05710z.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service80
|
|
7
|
+
} from "./file-n3ehebhz.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin16
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin16 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service65;
|
|
27
|
+
const output = yield* Service80;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin43 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin16, exports_tool_output };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service72
|
|
8
|
+
} from "./file-6bg31a94.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service69
|
|
11
|
+
} from "./file-xp2ajnz8.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service40
|
|
14
|
+
} from "./file-eykg37vx.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service15,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-ypy1tgyh.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service55
|
|
22
|
+
} from "./file-x5df1stp.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service41,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-b3c6xmwh.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./file-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input12,
|
|
39
|
+
Output: () => Output8,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin31,
|
|
42
|
+
name: () => name12,
|
|
43
|
+
toModelContent: () => toModelContent6
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name12 = "patch";
|
|
89
|
+
var Input12 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output8 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent6 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin31 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service69;
|
|
112
|
+
const access = yield* Service41;
|
|
113
|
+
const fileMutation = yield* Service15;
|
|
114
|
+
const formatter = yield* Service40;
|
|
115
|
+
const location = yield* Service72;
|
|
116
|
+
const permission = yield* Service55;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name12,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input12,
|
|
122
|
+
output: Output8,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin3 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent6(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -323,4 +323,4 @@ function trimDiff(diff) {
|
|
|
323
323
|
`);
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
export {
|
|
326
|
+
export { name12, Input12, Applied2, Output8, toModelContent6, Plugin31, exports_patch };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./file-wh05710z.js";
|
|
4
4
|
import {
|
|
5
5
|
Service29
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-ntp00jbn.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp = {};
|
|
13
|
+
__export(exports_mcp, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
+
Plugin: () => Plugin5,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin5 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service65;
|
|
28
28
|
const mcp = yield* Service29;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin5, register2, exports_mcp };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-69q31xtv.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make5,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -96,7 +96,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
96
96
|
return true;
|
|
97
97
|
})
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var make5 = (bus, sessionID) => Effect.gen(function* () {
|
|
100
100
|
const decide = yield* policy2(sessionID);
|
|
101
101
|
const wait = (input) => Effect.gen(function* () {
|
|
102
102
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -113,4 +113,4 @@ var make8 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
113
113
|
return { decide, wait };
|
|
114
114
|
});
|
|
115
115
|
|
|
116
|
-
export { isRetryable2, policy2, transient2,
|
|
116
|
+
export { isRetryable2, policy2, transient2, make5, exports_retry };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./file-wh05710z.js";
|
|
4
4
|
import {
|
|
5
5
|
match2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-y1fvbwt7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/policy.ts
|
|
15
15
|
var exports_policy = {};
|
|
16
16
|
__export(exports_policy, {
|
|
17
17
|
ConfigPolicyPlugin: () => exports_policy,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin11
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin11 = define({
|
|
23
23
|
id: "opencode.config.policy",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service65;
|
|
26
26
|
const loaded = yield* observe2(config, ctx.event, ctx.catalog.reload());
|
|
27
27
|
yield* ctx.catalog.transform((catalog) => {
|
|
28
28
|
const policies = loaded.entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.experimental?.policies ?? []);
|
|
@@ -35,4 +35,4 @@ var Plugin32 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin11, exports_policy };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-84tssp1s.js";
|
|
6
6
|
|
|
7
7
|
// src/plugin/provider/google-vertex.ts
|
|
8
8
|
import { Effect } from "effect";
|
|
@@ -39,7 +39,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
39
39
|
for (const item of evt.provider.list()) {
|
|
40
40
|
if (!isAISDK2(item.provider.package))
|
|
41
41
|
continue;
|
|
42
|
-
if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id ===
|
|
42
|
+
if (packageName2(item.provider.package) !== "@ai-sdk/google-vertex" && !(item.provider.id === ID16.googleVertex && packageName2(item.provider.package)?.includes("@ai-sdk/openai-compatible")))
|
|
43
43
|
continue;
|
|
44
44
|
const project = resolveProject(item.provider.settings ?? {});
|
|
45
45
|
const location = String(resolveLocation(item.provider.settings ?? {}));
|
|
@@ -56,7 +56,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
59
|
-
if (evt.model.providerID ===
|
|
59
|
+
if (evt.model.providerID === ID16.googleVertex && evt.package.includes("@ai-sdk/openai-compatible")) {
|
|
60
60
|
evt.options.fetch = authFetch(evt.options.fetch);
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
@@ -87,7 +87,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
87
87
|
});
|
|
88
88
|
}));
|
|
89
89
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
90
|
-
if (evt.model.providerID !==
|
|
90
|
+
if (evt.model.providerID !== ID16.googleVertex)
|
|
91
91
|
return;
|
|
92
92
|
evt.language = evt.sdk.languageModel(String(evt.model.modelID ?? evt.model.id).trim());
|
|
93
93
|
}));
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./file-0kzzmtkd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service42
|
|
6
|
+
} from "./file-nmpjh5tr.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error2
|
|
9
|
+
} from "./file-s3h59be2.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service80
|
|
12
|
+
} from "./file-n3ehebhz.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-b4ssmz4r.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-69q31xtv.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-h03wrkyp.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-reygygas.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -52,10 +52,10 @@ var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted"
|
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service78;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service42;
|
|
58
|
+
const toolOutput = yield* Service80;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -70,7 +70,7 @@ var make3 = Effect.gen(function* () {
|
|
|
70
70
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
71
71
|
const executeTool = (call) => {
|
|
72
72
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
73
|
-
return new
|
|
73
|
+
return new Error2({ message: "Tools are disabled after the maximum agent steps" });
|
|
74
74
|
return input.prepared.executeTool({
|
|
75
75
|
sessionID: input.sessionID,
|
|
76
76
|
agent: input.agent,
|