@opencode/core 0.0.0-dev-228 → 0.0.0-dev-233
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 +86 -86
- package/dist/aisdk-native.js +100 -100
- package/dist/aisdk.js +106 -106
- package/dist/app.js +9 -9
- package/dist/bus.js +78 -78
- package/dist/chunks/bus-00ve6mdn.js +18 -0
- package/dist/chunks/{form-aj7mw0zk.js → bus-034tev2y.js} +2 -2
- package/dist/chunks/{form-n8wrw86q.js → bus-04pp57dr.js} +8 -8
- package/dist/chunks/{form-bd3ag47v.js → bus-06t14ddp.js} +5 -5
- package/dist/chunks/{form-hjb7zt8b.js → bus-07m51zyr.js} +12 -12
- package/dist/chunks/{form-zgd8t41s.js → bus-0anyt1n6.js} +9 -9
- package/dist/chunks/{form-w0sctsdt.js → bus-0azq8fy9.js} +2 -2
- package/dist/chunks/{form-6kwb0ym8.js → bus-0cqzd7yx.js} +4 -4
- package/dist/chunks/{form-xg4acpkm.js → bus-0es81n8q.js} +10 -10
- package/dist/chunks/{form-1r7af8ee.js → bus-0f8tg23y.js} +3 -3
- package/dist/chunks/{form-xp63w1t0.js → bus-0vx0x5fb.js} +16 -16
- package/dist/chunks/{form-yk574f7x.js → bus-0znsw351.js} +17 -17
- package/dist/chunks/{form-nb176vr9.js → bus-11gkgbrz.js} +2 -2
- package/dist/chunks/{form-tzhe5vps.js → bus-12yrf7jb.js} +5 -5
- package/dist/chunks/{form-k0fqk4b8.js → bus-158gwrne.js} +18 -18
- package/dist/chunks/{form-9r0x1bva.js → bus-162nfr0g.js} +9 -9
- package/dist/chunks/{form-27w5k9zf.js → bus-1ep2p91f.js} +2 -2
- package/dist/chunks/{form-1x2knyw4.js → bus-1x2knyw4.js} +1 -1
- package/dist/chunks/{form-p570ajbq.js → bus-1y1sdcvs.js} +15 -15
- package/dist/chunks/{form-204s3925.js → bus-204s3925.js} +1 -1
- package/dist/chunks/{form-8e5p19qn.js → bus-21m1qx2d.js} +24 -24
- package/dist/chunks/{form-25h84942.js → bus-25h84942.js} +1 -1
- package/dist/chunks/{form-afhpfagb.js → bus-2cgds78d.js} +21 -21
- package/dist/chunks/{form-pe0xbfng.js → bus-2jr2kyhh.js} +5 -5
- package/dist/chunks/{form-362tp65q.js → bus-2qe92jhz.js} +6 -6
- package/dist/chunks/{form-w7bcyz89.js → bus-2s6jkv91.js} +9 -9
- package/dist/chunks/{form-9w8yvhv2.js → bus-2ty01zvd.js} +10 -10
- package/dist/chunks/{form-37zkny6h.js → bus-32z24wxs.js} +24 -24
- package/dist/chunks/{form-e2ne77ac.js → bus-36qx82yz.js} +4 -4
- package/dist/chunks/{form-0tt1jdqx.js → bus-3carsgcx.js} +3 -3
- package/dist/chunks/{form-4j43s0xr.js → bus-3es65w47.js} +48 -48
- package/dist/chunks/{form-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-3nnrz6f6.js → bus-3nnrz6f6.js} +1 -1
- package/dist/chunks/{form-c8t4rycs.js → bus-3rbyhj39.js} +87 -87
- package/dist/chunks/{form-c6x7d2ts.js → bus-3ryz99p0.js} +4 -4
- package/dist/chunks/{form-tv1hegq9.js → bus-3wk2baz8.js} +14 -14
- package/dist/chunks/{form-4cejxtdq.js → bus-3zjzp6xn.js} +19 -19
- package/dist/chunks/{form-mk9n97wy.js → bus-4dkdeg3x.js} +30 -30
- package/dist/chunks/{form-s3gj3rj3.js → bus-4pnq7323.js} +6 -6
- package/dist/chunks/{form-4pyp9zr9.js → bus-4pyp9zr9.js} +1 -1
- package/dist/chunks/{form-4v008n1t.js → bus-4v008n1t.js} +1 -1
- package/dist/chunks/{form-kmfe92z1.js → bus-5hvj3cgw.js} +25 -25
- package/dist/chunks/{form-8r9ywtx6.js → bus-5kkktyrc.js} +8 -8
- package/dist/chunks/{form-5m9w47nd.js → bus-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-fdgtx545.js → bus-5qpycfhf.js} +15 -15
- package/dist/chunks/{form-tt1vkc1g.js → bus-67sqxw17.js} +16 -16
- package/dist/chunks/{form-r1n5a4qe.js → bus-69fgec3f.js} +33 -33
- package/dist/chunks/{form-8y0bcag5.js → bus-6drdq4m3.js} +39 -39
- package/dist/chunks/{form-1de26m2d.js → bus-6eetqezh.js} +13 -13
- package/dist/chunks/{form-6esdw8yj.js → bus-6esdw8yj.js} +1 -1
- package/dist/chunks/{form-ze5pwfxf.js → bus-6mq5ryr8.js} +4 -4
- package/dist/chunks/{form-f1s2vndp.js → bus-6rqscc3n.js} +22 -22
- package/dist/chunks/{form-9x19j16c.js → bus-6yence91.js} +37 -37
- package/dist/chunks/{form-em6z47bx.js → bus-72a16mc2.js} +19 -19
- package/dist/chunks/{form-py7k5n7n.js → bus-74e79trj.js} +28 -28
- package/dist/chunks/{form-w8qtt4th.js → bus-76cb1hcw.js} +4 -4
- package/dist/chunks/{form-x07e5g67.js → bus-76k1r7sv.js} +16 -16
- package/dist/chunks/{form-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-6848bbxa.js → bus-7cgnmsnz.js} +11 -11
- package/dist/chunks/{form-y2wa3a8s.js → bus-7kprcbad.js} +5 -5
- package/dist/chunks/{form-hdh1880y.js → bus-7p8y1xew.js} +19 -19
- package/dist/chunks/{form-wpnjmb41.js → bus-7r82pzna.js} +35 -35
- package/dist/chunks/{form-7w2ypzdf.js → bus-7w2ypzdf.js} +1 -1
- package/dist/chunks/{form-1xfzm2bk.js → bus-7x554r32.js} +9 -9
- package/dist/chunks/{form-h4p3pyf8.js → bus-818eymrz.js} +6 -6
- package/dist/chunks/{form-6d7rzhz6.js → bus-8edw0cf2.js} +28 -28
- package/dist/chunks/{form-8jztxfpf.js → bus-8jztxfpf.js} +1 -1
- package/dist/chunks/{form-j0cfz84q.js → bus-8pkhhaa7.js} +39 -39
- package/dist/chunks/{form-796fpssb.js → bus-8vm3c4cx.js} +24 -24
- package/dist/chunks/{form-8wtp7s3z.js → bus-8wtp7s3z.js} +1 -1
- package/dist/chunks/{form-90zstvax.js → bus-90zstvax.js} +1 -1
- package/dist/chunks/{form-rafkt0z2.js → bus-92vky5wk.js} +11 -11
- package/dist/chunks/{form-jxhxxqgb.js → bus-961m4qdm.js} +9 -9
- package/dist/chunks/{form-pxdh3f58.js → bus-9agry0mm.js} +2 -2
- package/dist/chunks/{form-0tqaar2n.js → bus-9n8z28yy.js} +14 -14
- package/dist/chunks/{form-ybdj6tkq.js → bus-9nx9hf51.js} +6 -6
- package/dist/chunks/{form-cmr431hx.js → bus-a0qb2paf.js} +13 -13
- package/dist/chunks/{form-ty3g7dye.js → bus-a38ksn3m.js} +32 -32
- package/dist/chunks/{form-vr5v59hp.js → bus-agvxwjff.js} +13 -13
- package/dist/chunks/{form-kv3vzdmy.js → bus-amzzn6zg.js} +9 -9
- package/dist/chunks/{form-3cbjf1nt.js → bus-ayjs7tqn.js} +2 -2
- package/dist/chunks/bus-aykdwqbv.js +257 -0
- package/dist/chunks/{form-adepxgxt.js → bus-b1gj8ygw.js} +4 -4
- package/dist/chunks/{form-b6vsg801.js → bus-b6vsg801.js} +2 -2
- package/dist/chunks/{form-knkdmrq8.js → bus-bgyx9ygv.js} +23 -23
- package/dist/chunks/{form-8x6dz44a.js → bus-bj6adykh.js} +5 -5
- package/dist/chunks/{form-12a87htm.js → bus-bqzcd44k.js} +8 -8
- package/dist/chunks/{form-bstexjd6.js → bus-bstexjd6.js} +1 -1
- package/dist/chunks/{form-0ce6qdts.js → bus-by25n89t.js} +45 -45
- package/dist/chunks/{form-cdwpjm32.js → bus-byj473rn.js} +8 -8
- package/dist/chunks/{form-e471twwt.js → bus-c1a686j5.js} +8 -8
- package/dist/chunks/{form-av5v11km.js → bus-c3fg13fa.js} +3 -3
- package/dist/chunks/{form-7wstq74c.js → bus-c6k5p5tb.js} +12 -12
- package/dist/chunks/{form-477xfj3c.js → bus-c8ph4e1p.js} +19 -19
- package/dist/chunks/{form-6wv6k331.js → bus-ca947eq7.js} +3 -3
- package/dist/chunks/{form-ts85mjsk.js → bus-cdtqhjvm.js} +8 -8
- package/dist/chunks/{form-yb37bm60.js → bus-ceqqxneb.js} +9 -9
- package/dist/chunks/{form-7ktxa382.js → bus-cf4c2abg.js} +9 -9
- package/dist/chunks/{form-hced1q2j.js → bus-cpe35zww.js} +4 -4
- package/dist/chunks/{form-0y84vv13.js → bus-cwa3fr09.js} +57 -57
- package/dist/chunks/{form-a7y0hmbq.js → bus-cwkz8rb4.js} +15 -15
- package/dist/chunks/{form-cwrgdav8.js → bus-cwrgdav8.js} +2 -2
- package/dist/chunks/{form-gn8tkhbf.js → bus-d4v9tmah.js} +2 -2
- package/dist/chunks/{form-9c4f3png.js → bus-d80gpe23.js} +16 -16
- package/dist/chunks/{form-00qhjgh5.js → bus-d96p21aj.js} +12 -12
- package/dist/chunks/bus-dasb3jjm.js +26 -0
- package/dist/chunks/{form-ryfpe5sz.js → bus-de3kd59v.js} +45 -45
- package/dist/chunks/{form-8cz13j6a.js → bus-dhg7g0zf.js} +22 -22
- package/dist/chunks/{form-vbggds6s.js → bus-dhp97qke.js} +11 -11
- package/dist/chunks/{form-rx6qpc9d.js → bus-ds7r37yp.js} +2 -2
- package/dist/chunks/{form-dt77769w.js → bus-dt77769w.js} +1 -1
- package/dist/chunks/{form-9se3w9ew.js → bus-dwemer89.js} +20 -20
- package/dist/chunks/{form-56hw1ah1.js → bus-dy9zc4pe.js} +8 -8
- package/dist/chunks/{form-s1efnn68.js → bus-e63fs6m1.js} +51 -51
- package/dist/chunks/{form-e834z07m.js → bus-e834z07m.js} +1 -1
- package/dist/chunks/{form-tptvq6v6.js → bus-eahpwh8e.js} +4 -4
- package/dist/chunks/{form-05c1xqfa.js → bus-ebkm765p.js} +30 -30
- package/dist/chunks/{form-ch3dpehw.js → bus-ec14ztk4.js} +3 -3
- package/dist/chunks/{form-jy2czfqv.js → bus-erjptbv1.js} +4 -4
- package/dist/chunks/{form-nzqym5fn.js → bus-esn455wh.js} +13 -13
- package/dist/chunks/{form-bdked8mr.js → bus-f8smm1h8.js} +40 -40
- package/dist/chunks/{form-pz1n0gq8.js → bus-f9nwn4tf.js} +3 -3
- package/dist/chunks/{form-mspzpz50.js → bus-faz7t49j.js} +10 -10
- package/dist/chunks/{form-fffv3p7h.js → bus-fffv3p7h.js} +1 -1
- package/dist/chunks/{form-fg9p65nk.js → bus-fg9p65nk.js} +2 -2
- package/dist/chunks/{form-h50dg4rv.js → bus-fnrcf1wj.js} +20 -20
- package/dist/chunks/{form-4asfahx2.js → bus-fpgy7th3.js} +20 -20
- package/dist/chunks/{form-np3f7rt0.js → bus-fypmhnps.js} +2 -2
- package/dist/chunks/{form-a5y5z42n.js → bus-fyyp424t.js} +31 -31
- package/dist/chunks/{form-780gjtmn.js → bus-g4wezt3f.js} +8 -8
- package/dist/chunks/{form-f8p7x3za.js → bus-gbhvr811.js} +34 -34
- package/dist/chunks/{form-aakxnvea.js → bus-gcjdgkn2.js} +9 -9
- package/dist/chunks/{form-8m5e40h7.js → bus-gckdc5ay.js} +16 -16
- package/dist/chunks/{form-432wqttw.js → bus-h1ygv866.js} +3 -3
- package/dist/chunks/{form-cvgy9b2f.js → bus-h9vwxdya.js} +31 -31
- package/dist/chunks/{form-3c96x8ty.js → bus-ha5nk7p4.js} +15 -15
- package/dist/chunks/{form-bwcgh3pa.js → bus-hbrjs09v.js} +7 -7
- package/dist/chunks/{form-rsdjsbxj.js → bus-hh14ynr9.js} +31 -31
- package/dist/chunks/{form-p0m7jsqr.js → bus-hkjbyznq.js} +10 -10
- package/dist/chunks/{form-sq4s6wq1.js → bus-hn4sj8vd.js} +6 -6
- package/dist/chunks/{form-hpg1pkwy.js → bus-hpg1pkwy.js} +1 -1
- package/dist/chunks/{form-9spex28b.js → bus-hpyv6m3b.js} +337 -337
- package/dist/chunks/{form-wvr8z8p1.js → bus-hwrm0jef.js} +28 -28
- package/dist/chunks/{form-zht7fzxj.js → bus-hx97nj8x.js} +27 -27
- package/dist/chunks/{form-kw7y9j0p.js → bus-j5txmjyq.js} +9 -9
- package/dist/chunks/{form-c7h4rvjw.js → bus-j8w82mf5.js} +13 -13
- package/dist/chunks/{form-zk53j53a.js → bus-ja63h2sr.js} +5 -5
- package/dist/chunks/{form-fha4hq43.js → bus-jaan4nhy.js} +45 -45
- package/dist/chunks/{form-jfaecv01.js → bus-jfaecv01.js} +1 -1
- package/dist/chunks/{form-0we704hm.js → bus-jfvq35wr.js} +27 -27
- package/dist/chunks/{form-jtnps1zs.js → bus-jtnps1zs.js} +2 -2
- package/dist/chunks/{form-dx8q40th.js → bus-jvqz6y9c.js} +11 -11
- package/dist/chunks/{form-g4y5gz37.js → bus-jxr5ks98.js} +6 -6
- package/dist/chunks/{form-9yj11fn9.js → bus-jzv5rqjm.js} +11 -11
- package/dist/chunks/{form-y28d2ctz.js → bus-k1p2a49w.js} +9 -9
- package/dist/chunks/{form-xyj2z7t9.js → bus-k5xdymkf.js} +15 -15
- package/dist/chunks/{form-qnz6w04z.js → bus-k7xg2xms.js} +9 -9
- package/dist/chunks/{form-k814nvkf.js → bus-k814nvkf.js} +1 -1
- package/dist/chunks/{form-e5m5ahke.js → bus-k89jh6dj.js} +16 -16
- package/dist/chunks/{form-y2gpst6y.js → bus-kkfw1ty8.js} +11 -11
- package/dist/chunks/{form-kt3bjfbg.js → bus-kt3bjfbg.js} +1 -1
- package/dist/chunks/{form-1vgxrmdj.js → bus-ktr6pf1t.js} +36 -36
- package/dist/chunks/{form-asvv9q89.js → bus-m0cjf5xp.js} +16 -16
- package/dist/chunks/{form-xhfzgzgf.js → bus-m0dqqhg5.js} +8 -8
- package/dist/chunks/{form-m1714858.js → bus-m1714858.js} +1 -1
- package/dist/chunks/{form-y7t1ke69.js → bus-m4sdr4hs.js} +34 -34
- package/dist/chunks/{form-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-8z6m94af.js → bus-mb7mbhnz.js} +3 -3
- package/dist/chunks/{form-x46kzptm.js → bus-mmp59vtg.js} +48 -48
- package/dist/chunks/{form-vx3jgdek.js → bus-mtpeagzc.js} +3 -3
- package/dist/chunks/{form-jqchfgzz.js → bus-mttwgft7.js} +20 -20
- package/dist/chunks/{form-p5e49205.js → bus-my7b4af9.js} +40 -40
- package/dist/chunks/{form-nbm1wd8w.js → bus-mz1qqpv3.js} +9 -9
- package/dist/chunks/{form-mktg3r47.js → bus-n5eh1rap.js} +87 -87
- package/dist/chunks/{form-8hcvae60.js → bus-n9d26gdb.js} +10 -10
- package/dist/chunks/{form-qh4ws9d6.js → bus-n9rn6xa3.js} +11 -11
- package/dist/chunks/{form-nah043kf.js → bus-nah043kf.js} +1 -1
- package/dist/chunks/{form-fddmw01z.js → bus-ndsna3c1.js} +28 -28
- package/dist/chunks/{form-p015t6z3.js → bus-p015t6z3.js} +2 -2
- package/dist/chunks/{form-1yq9hg58.js → bus-p7vhpwh8.js} +5 -5
- package/dist/chunks/{form-4th82h6j.js → bus-p9k333b6.js} +11 -11
- package/dist/chunks/{form-53rsp81d.js → bus-per0mbyz.js} +17 -17
- package/dist/chunks/{form-rzrq5kss.js → bus-pfb4yznh.js} +11 -11
- package/dist/chunks/{form-caez4nff.js → bus-pfsn56gn.js} +17 -17
- package/dist/chunks/{form-v8gahvqg.js → bus-phaw4w7g.js} +5 -5
- package/dist/chunks/{form-7jncsexd.js → bus-pkdrh1qv.js} +4 -4
- package/dist/chunks/{form-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{form-0a6594q4.js → bus-prhcv6dr.js} +18 -18
- package/dist/chunks/{form-yjkwyrer.js → bus-ptc9r7kc.js} +35 -35
- package/dist/chunks/{form-6m6e0fq6.js → bus-pyjsgtqa.js} +9 -9
- package/dist/chunks/{form-spfg18b2.js → bus-pzbysshh.js} +81 -81
- package/dist/chunks/{form-p965jgwx.js → bus-qn5zf4nr.js} +29 -29
- package/dist/chunks/{form-qp7r0hxv.js → bus-qp7r0hxv.js} +1 -1
- package/dist/chunks/{form-3vn6803g.js → bus-qpgx3sd4.js} +8 -8
- package/dist/chunks/{form-qqvy8y24.js → bus-qqvy8y24.js} +1 -1
- package/dist/chunks/{form-7c2qna5p.js → bus-qyny2w4y.js} +18 -18
- package/dist/chunks/{form-a73hjx22.js → bus-r082yccm.js} +19 -19
- package/dist/chunks/{form-r0yr0wbs.js → bus-r0yr0wbs.js} +1 -1
- package/dist/chunks/{form-r542h3bh.js → bus-r542h3bh.js} +1 -1
- package/dist/chunks/{form-7a96kwdb.js → bus-r9fybn2k.js} +41 -41
- package/dist/chunks/{form-gp6fvya6.js → bus-rb1rz6cd.js} +28 -28
- package/dist/chunks/{form-rb9dy4dg.js → bus-rb9dy4dg.js} +1 -1
- package/dist/chunks/{form-5ew4vg0t.js → bus-rdajxzmj.js} +11 -11
- package/dist/chunks/{form-54qbttzm.js → bus-rf3ew56q.js} +36 -36
- package/dist/chunks/{form-z1yb6k18.js → bus-rg52mm6z.js} +25 -25
- package/dist/chunks/{form-dnf86brd.js → bus-rgdq8gvk.js} +13 -13
- package/dist/chunks/{form-dyd2a8eg.js → bus-rkrna9hn.js} +17 -17
- package/dist/chunks/{form-t16hmx8j.js → bus-rr54y859.js} +4 -4
- package/dist/chunks/{form-rt5dr6hb.js → bus-rt5dr6hb.js} +1 -1
- package/dist/chunks/{form-jr332ax1.js → bus-rwdwt89q.js} +9 -9
- package/dist/chunks/{form-s7gmm2q3.js → bus-s7gmm2q3.js} +3 -3
- package/dist/chunks/{form-y7w06ryq.js → bus-s9m7w1wa.js} +13 -13
- package/dist/chunks/{form-sa3fpqfw.js → bus-sa3fpqfw.js} +2 -2
- package/dist/chunks/{form-6dwjznsx.js → bus-sag1960s.js} +4 -4
- package/dist/chunks/{form-hep9bk35.js → bus-sbg8j0vj.js} +9 -9
- package/dist/chunks/{form-tcrj48nm.js → bus-sbr89z4j.js} +30 -30
- package/dist/chunks/{form-w8xr7nv8.js → bus-sfkj0ta1.js} +5 -5
- package/dist/chunks/{form-sqjzf8x2.js → bus-sqjzf8x2.js} +1 -1
- package/dist/chunks/{form-hx5er68a.js → bus-srxxcest.js} +30 -30
- package/dist/chunks/{form-d2887f8n.js → bus-ssfehs1z.js} +4 -4
- package/dist/chunks/{form-svcy3p9a.js → bus-svcy3p9a.js} +1 -1
- package/dist/chunks/{form-yfcr1se9.js → bus-svwybv69.js} +9 -9
- package/dist/chunks/{form-wjs5qw55.js → bus-sz9w62cr.js} +19 -19
- package/dist/chunks/{form-j7trztcj.js → bus-t0mx6v2s.js} +21 -21
- package/dist/chunks/{form-yfj8kv93.js → bus-t1dw8cfv.js} +11 -11
- package/dist/chunks/{form-tczq8hjw.js → bus-tczq8hjw.js} +1 -1
- package/dist/chunks/{form-kkbdeg4e.js → bus-tvhr4amm.js} +4 -4
- package/dist/chunks/{form-1apr90yy.js → bus-twj077f6.js} +1 -1
- package/dist/chunks/{form-twssxy5n.js → bus-twssxy5n.js} +2 -2
- package/dist/chunks/{form-h725q1tb.js → bus-txa2na18.js} +19 -19
- package/dist/chunks/{form-c7a65p05.js → bus-v0sdba08.js} +12 -12
- package/dist/chunks/{form-mmx1mfjr.js → bus-v0t96s7a.js} +4 -4
- package/dist/chunks/{form-v2r1d0zg.js → bus-v2r1d0zg.js} +1 -1
- package/dist/chunks/{form-2m0d1k40.js → bus-v3kn2g9y.js} +5 -5
- package/dist/chunks/{form-tg1vr1qt.js → bus-v5hpj9dd.js} +8 -8
- package/dist/chunks/{form-h4rvxyzb.js → bus-v75c35rk.js} +13 -13
- package/dist/chunks/{form-3ecf3tng.js → bus-v7hm3t8n.js} +5 -5
- package/dist/chunks/{form-1psxqbrq.js → bus-va1w8a24.js} +13 -13
- package/dist/chunks/{form-2zp5a6yg.js → bus-vb80j1wh.js} +3 -3
- package/dist/chunks/{form-g7esga4v.js → bus-vmfhgzt5.js} +5 -5
- package/dist/chunks/{form-vaq1yek0.js → bus-vsqvcqta.js} +6 -6
- package/dist/chunks/{form-b2mp8qdf.js → bus-vxdc9hjx.js} +23 -23
- package/dist/chunks/{form-0rvjqh0v.js → bus-vzv0sjvt.js} +20 -20
- package/dist/chunks/{form-rr09v45e.js → bus-vzvgxy56.js} +29 -29
- package/dist/chunks/{form-5enarcya.js → bus-w2eysc6j.js} +6 -6
- package/dist/chunks/{form-rkbnve9v.js → bus-w2gtp0cp.js} +25 -25
- package/dist/chunks/{form-e07q2w5p.js → bus-w307e9wj.js} +4 -4
- package/dist/chunks/{form-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-4ggvzfz0.js → bus-w4650645.js} +7 -7
- package/dist/chunks/{form-pbcq83b8.js → bus-w5v2k2bw.js} +5 -5
- package/dist/chunks/{form-wakvkjy4.js → bus-wakvkjy4.js} +1 -1
- package/dist/chunks/{form-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{form-wnhgecwx.js → bus-wnhgecwx.js} +1 -1
- package/dist/chunks/{form-fznmdakp.js → bus-wr3re1en.js} +4 -4
- package/dist/chunks/{form-4hmxtsmg.js → bus-wrjnae0d.js} +189 -189
- package/dist/chunks/{form-jv2xnyk0.js → bus-wwgpyqzb.js} +9 -9
- package/dist/chunks/{form-e2zffr00.js → bus-wxpy059d.js} +8 -8
- package/dist/chunks/{form-ggwxx8z6.js → bus-wzq1kmgq.js} +26 -26
- package/dist/chunks/{form-n72e3dxd.js → bus-x48bv8h6.js} +5 -5
- package/dist/chunks/{form-xeygv81t.js → bus-x73g3dsh.js} +5 -5
- package/dist/chunks/{form-t6cg7awe.js → bus-x9e94t11.js} +20 -20
- package/dist/chunks/{form-749j9bem.js → bus-xdfy1vac.js} +11 -11
- package/dist/chunks/{form-xymnhqkr.js → bus-xk2zn0cv.js} +4 -4
- package/dist/chunks/{form-bb58r61a.js → bus-xqxcdqkj.js} +13 -13
- package/dist/chunks/{form-11p2wct5.js → bus-xrtynsxf.js} +35 -35
- package/dist/chunks/{form-xt0z8zst.js → bus-xt0z8zst.js} +1 -1
- package/dist/chunks/{form-r0b5cv65.js → bus-xzr1gvfw.js} +16 -16
- package/dist/chunks/{form-ey5xajk0.js → bus-y02x7m19.js} +13 -13
- package/dist/chunks/{form-e6k079pp.js → bus-y2ngtz71.js} +12 -12
- package/dist/chunks/{form-j2wws855.js → bus-y2whjd1m.js} +11 -11
- package/dist/chunks/{form-zm2ek9rr.js → bus-y78kkv0p.js} +15 -15
- package/dist/chunks/{form-kwdd41eq.js → bus-y7ehhw0v.js} +28 -28
- package/dist/chunks/{form-pxtfkpje.js → bus-yara3q77.js} +2 -2
- package/dist/chunks/{form-yb20nhc3.js → bus-yb20nhc3.js} +1 -1
- package/dist/chunks/{form-h921yzda.js → bus-yca54qy5.js} +32 -32
- package/dist/chunks/{form-c0q18wbz.js → bus-ydm7wqfm.js} +20 -20
- package/dist/chunks/{form-bs9ntfbp.js → bus-ye07msm6.js} +21 -21
- package/dist/chunks/{form-jf0vywae.js → bus-yfa3dy01.js} +4 -4
- package/dist/chunks/{form-vr11s0jh.js → bus-ykvdctq4.js} +4 -4
- package/dist/chunks/{form-ztf6n3de.js → bus-yqveydy6.js} +4 -4
- package/dist/chunks/{form-4n77906h.js → bus-yydbrnd5.js} +40 -40
- package/dist/chunks/{form-va23bk0p.js → bus-yyhgbx7d.js} +4 -4
- package/dist/chunks/{form-9q4bej68.js → bus-z2twcj9c.js} +38 -38
- package/dist/chunks/{form-z38nccrw.js → bus-z38nccrw.js} +1 -1
- package/dist/chunks/{form-8x57f01e.js → bus-z7930y0h.js} +28 -28
- package/dist/chunks/{form-5xm8fbgh.js → bus-zhaxkft9.js} +6 -6
- package/dist/chunks/{form-tr0vf8pp.js → bus-zkkkregz.js} +12 -12
- package/dist/chunks/{form-k2btearr.js → bus-znxhc1zm.js} +27 -27
- package/dist/chunks/{form-r21czkj7.js → bus-zq5c9s7v.js} +21 -21
- package/dist/chunks/{form-wzhs16ph.js → bus-zsh677ft.js} +40 -40
- package/dist/chunks/{form-kvvghrks.js → bus-zsjwhcwr.js} +19 -19
- package/dist/chunks/{form-n2fn6n16.js → bus-ztz0q9zh.js} +5 -5
- package/dist/chunks/{form-42s34a0z.js → bus-zyydwx25.js} +18 -18
- 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 +92 -92
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +110 -110
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +222 -222
- package/dist/config/plugin/compaction.js +165 -165
- package/dist/config/plugin/compatibility.js +143 -143
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +125 -125
- package/dist/config/plugin/image.js +124 -124
- package/dist/config/plugin/instruction.js +124 -124
- package/dist/config/plugin/location-watcher.js +126 -126
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +126 -126
- package/dist/config/plugin/provider.js +125 -125
- package/dist/config/plugin/reference.js +126 -126
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +141 -141
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +146 -146
- package/dist/config/plugin/snapshot.js +124 -124
- package/dist/config/plugin/source.js +127 -127
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +126 -126
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- package/dist/database/database.js +75 -75
- 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/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration.gen.js +58 -58
- package/dist/database/migration.js +60 -60
- 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 +103 -103
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +388 -388
- 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 +104 -104
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +106 -106
- 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 +79 -79
- package/dist/file-access.js +151 -151
- package/dist/file-mutation.js +105 -105
- 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/file-watch.js +84 -84
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +237 -237
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +110 -110
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +113 -113
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +98 -98
- package/dist/generate.js +116 -116
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +110 -110
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +1 -1
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +379 -379
- package/dist/instruction-discovery.js +91 -91
- package/dist/instructions/builtins.js +98 -98
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job.js +87 -87
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +82 -82
- package/dist/location-activity.js +163 -163
- package/dist/location-lifecycle.js +145 -145
- package/dist/location-service-map.js +97 -97
- package/dist/location-services.js +376 -376
- package/dist/location.js +100 -100
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +102 -102
- package/dist/mcp/index.js +116 -116
- package/dist/mcp/instructions.js +169 -169
- package/dist/mcp/oauth.js +87 -87
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +101 -101
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +110 -110
- package/dist/model-resolver.js +110 -110
- package/dist/model-retry.js +1 -1
- package/dist/model.js +109 -109
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +119 -119
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +89 -89
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +144 -144
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +84 -84
- package/dist/plugin/agent.js +83 -83
- package/dist/plugin/command.js +111 -111
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +228 -228
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +349 -349
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +108 -108
- package/dist/plugin/module.js +126 -126
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +141 -141
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +102 -102
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +124 -124
- package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -122
- package/dist/plugin/provider/cloudflare-workers-ai.js +122 -122
- package/dist/plugin/provider/configured.js +120 -120
- package/dist/plugin/provider/credential-settings.js +83 -83
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +104 -104
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +106 -106
- package/dist/plugin/provider/gitlab.js +105 -105
- package/dist/plugin/provider/google-vertex.js +121 -121
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +87 -87
- package/dist/plugin/provider/lmstudio.js +133 -133
- package/dist/plugin/provider/local.js +130 -130
- package/dist/plugin/provider/modal.js +103 -103
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +133 -133
- package/dist/plugin/provider/openai-context-caps.js +101 -101
- package/dist/plugin/provider/openai.js +124 -124
- package/dist/plugin/provider/opencode.js +127 -127
- package/dist/plugin/provider/openrouter.js +102 -102
- package/dist/plugin/provider/poe.js +88 -88
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +102 -102
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +123 -123
- package/dist/plugin/provider/vllm.js +133 -133
- package/dist/plugin/provider/xai.js +102 -102
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +83 -83
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +144 -144
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +367 -367
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +97 -97
- package/dist/plugin/vcs/hg.js +97 -97
- package/dist/plugin/verbosity.js +104 -104
- package/dist/plugin/warming.js +122 -122
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +235 -235
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +101 -101
- package/dist/provider.js +108 -108
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +109 -109
- package/dist/reference/instructions.js +97 -97
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +91 -91
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +108 -108
- package/dist/rpc.js +97 -97
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +232 -232
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +123 -123
- package/dist/session/command.js +83 -83
- package/dist/session/compaction.js +165 -165
- package/dist/session/context.js +191 -191
- package/dist/session/diff.js +99 -99
- 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 +231 -231
- package/dist/session/execution.js +155 -155
- package/dist/session/generate.js +193 -193
- package/dist/session/history.js +130 -130
- package/dist/session/inbox.js +139 -139
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +131 -131
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +158 -158
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +159 -159
- package/dist/session/projector.js +137 -137
- package/dist/session/prompt.js +143 -143
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +133 -133
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +242 -242
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +109 -109
- package/dist/session/runner/publish-llm-event.js +144 -144
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +157 -157
- package/dist/session/runner/to-llm-message.js +131 -131
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +175 -175
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +142 -142
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +82 -82
- package/dist/session/store.js +136 -136
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +218 -218
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +195 -195
- package/dist/session/to-session-error.js +143 -143
- package/dist/session/transfer.js +230 -230
- package/dist/session/usage.js +1 -1
- package/dist/session.js +228 -228
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +146 -146
- package/dist/skill.js +147 -147
- package/dist/snapshot.js +104 -104
- 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 +168 -168
- package/dist/tool/plugin/edit.js +159 -159
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +163 -163
- package/dist/tool/plugin/grep.js +163 -163
- package/dist/tool/plugin/image-generate.js +224 -224
- package/dist/tool/plugin/mcp-resource.js +157 -157
- package/dist/tool/plugin/opencode.js +156 -156
- package/dist/tool/plugin/patch.js +161 -161
- package/dist/tool/plugin/question.js +141 -141
- package/dist/tool/plugin/read.js +162 -162
- package/dist/tool/plugin/schedule.js +222 -222
- package/dist/tool/plugin/shell.js +225 -225
- package/dist/tool/plugin/skill.js +152 -152
- package/dist/tool/plugin/subagent.js +229 -229
- package/dist/tool/plugin/todo.js +148 -148
- package/dist/tool/plugin/webfetch.js +152 -152
- package/dist/tool/plugin/websearch.js +148 -148
- package/dist/tool/plugin/write.js +161 -161
- package/dist/tool/read-filesystem.js +111 -111
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/usage-limits.js +98 -98
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +103 -103
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -100
- package/dist/voice.js +97 -97
- package/dist/websearch.js +95 -95
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +88 -88
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +91 -91
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +100 -100
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/form-acn20bfg.js +0 -26
- package/dist/chunks/form-aeq1g8b0.js +0 -257
- package/dist/chunks/form-d77dj7jw.js +0 -18
- /package/dist/chunks/{form-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1jakw16s.js → bus-1jakw16s.js} +0 -0
- /package/dist/chunks/{form-1kah00gy.js → bus-1kah00gy.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → bus-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5w3e23ze.js → bus-5w3e23ze.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → bus-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → bus-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a058387c.js → bus-a058387c.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-beh6qq61.js → bus-beh6qq61.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cqv5kn06.js → bus-cqv5kn06.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fkpq3x5p.js → bus-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hcxmzztb.js → bus-hcxmzztb.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jwr30sdr.js → bus-jwr30sdr.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → bus-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → bus-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-ncqqe42p.js → bus-ncqqe42p.js} +0 -0
- /package/dist/chunks/{form-nh4v3znn.js → bus-nh4v3znn.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-p71gwv9c.js → bus-p71gwv9c.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qgfkghh1.js → bus-qgfkghh1.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ty7weeps.js → bus-ty7weeps.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → bus-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → bus-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-yyhgbx7d.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node84
|
|
8
|
+
} from "./bus-rkrna9hn.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service62,
|
|
11
|
+
node65
|
|
12
|
+
} from "./bus-8vm3c4cx.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-tczq8hjw.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service76,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node80
|
|
20
|
+
} from "./bus-sz9w62cr.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service60,
|
|
23
|
+
node63
|
|
24
|
+
} from "./bus-c1a686j5.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service30,
|
|
27
|
+
node33
|
|
28
|
+
} from "./bus-bqzcd44k.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./bus-mtpeagzc.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
34
|
Service65,
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
node69
|
|
36
|
+
} from "./bus-zsh677ft.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./bus-dhp97qke.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./bus-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError4,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service29,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node32
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service29 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,14 +87,14 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
90
|
+
var layer = () => Layer.effect(Service29, Effect.gen(function* () {
|
|
91
91
|
const bus = yield* Service86;
|
|
92
|
-
const location = yield*
|
|
92
|
+
const location = yield* Service80;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
94
|
+
const shell = yield* Service76;
|
|
95
|
+
const environment = yield* Service62;
|
|
96
|
+
const hooks = yield* Service60;
|
|
97
|
+
const environments = yield* Service30;
|
|
98
98
|
const config = yield* Service65;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError4({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError4({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
if (command.info.status === "running")
|
|
135
135
|
yield* bus.publish(Shell.Event.Exited, { id, status: "killed" });
|
|
@@ -336,22 +336,22 @@ var layer = () => Layer.effect(Service41, Effect.gen(function* () {
|
|
|
336
336
|
const command = yield* Deferred.await(ready);
|
|
337
337
|
return command.info;
|
|
338
338
|
});
|
|
339
|
-
return
|
|
339
|
+
return Service29.of({ create, list, get, wait, result, timeout, output, remove });
|
|
340
340
|
}));
|
|
341
|
-
var
|
|
342
|
-
service:
|
|
341
|
+
var node32 = makeLocationNode({
|
|
342
|
+
service: Service29,
|
|
343
343
|
layer: layer(),
|
|
344
344
|
deps: [
|
|
345
345
|
node90,
|
|
346
|
-
|
|
346
|
+
node84,
|
|
347
347
|
Global.node,
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
348
|
+
node80,
|
|
349
|
+
node65,
|
|
350
|
+
node63,
|
|
351
|
+
node33,
|
|
352
|
+
node69,
|
|
353
353
|
cleanupNode
|
|
354
354
|
]
|
|
355
355
|
});
|
|
356
356
|
|
|
357
|
-
export {
|
|
357
|
+
export { NotFoundError4, RETENTION2, DIRECTORY2, Service29, cleanup2, node32, exports_shell4 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./bus-rkrna9hn.js";
|
|
7
7
|
import {
|
|
8
8
|
NotFound3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-svcy3p9a.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service56
|
|
12
|
+
} from "./bus-5hvj3cgw.js";
|
|
13
13
|
import {
|
|
14
14
|
Service9
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-2ty01zvd.js";
|
|
16
16
|
import {
|
|
17
17
|
BinaryFileError2,
|
|
18
18
|
MediaIngestLimitError2,
|
|
@@ -22,26 +22,26 @@ import {
|
|
|
22
22
|
FileContent2,
|
|
23
23
|
TextPage2,
|
|
24
24
|
ListPage2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service24
|
|
26
|
+
} from "./bus-ha5nk7p4.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./bus-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/plugin/read.ts
|
|
32
32
|
var exports_read = {};
|
|
33
33
|
__export(exports_read, {
|
|
34
|
-
Input: () =>
|
|
35
|
-
Plugin: () =>
|
|
34
|
+
Input: () => Input7,
|
|
35
|
+
Plugin: () => Plugin26,
|
|
36
36
|
ReadTool: () => exports_read,
|
|
37
|
-
name: () =>
|
|
37
|
+
name: () => name7,
|
|
38
38
|
toModelContent: () => toModelContent3
|
|
39
39
|
});
|
|
40
40
|
import { basename, dirname, join } from "path";
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { Effect, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
|
-
var
|
|
44
|
+
var name7 = "read";
|
|
45
45
|
var FILENAME = "AGENTS.md";
|
|
46
46
|
var LocationInput = Schema.Struct({
|
|
47
47
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -52,21 +52,21 @@ var LocationInput = Schema.Struct({
|
|
|
52
52
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input7 = LocationInput;
|
|
56
56
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
57
|
-
var
|
|
57
|
+
var Plugin26 = {
|
|
58
58
|
id: "opencode.tool.read",
|
|
59
59
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
60
|
-
const reader = yield*
|
|
61
|
-
const access = yield*
|
|
60
|
+
const reader = yield* Service24;
|
|
61
|
+
const access = yield* Service56;
|
|
62
62
|
const sessionInstructions = yield* Service9;
|
|
63
63
|
const fs = yield* FSUtil.Service;
|
|
64
|
-
const location = yield*
|
|
64
|
+
const location = yield* Service80;
|
|
65
65
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
66
|
-
name:
|
|
66
|
+
name: name7,
|
|
67
67
|
options: { codemode: false },
|
|
68
68
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
69
|
-
input:
|
|
69
|
+
input: Input7,
|
|
70
70
|
output: Output,
|
|
71
71
|
execute: (input, context) => {
|
|
72
72
|
return Effect.gen(function* () {
|
|
@@ -179,4 +179,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
179
179
|
`);
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
export {
|
|
182
|
+
export { name7, Input7, Plugin26, toModelContent3, exports_read };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-tczq8hjw.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-204s3925.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service49,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node52
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service49 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service49.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node52 = makeLocationNode({
|
|
143
|
+
service: Service49,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service49, node52, exports_tool_output2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-pfb4yznh.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./bus-yyhgbx7d.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./bus-rb1rz6cd.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./bus-xk2zn0cv.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID17,
|
|
16
16
|
MethodID2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./bus-8edw0cf2.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID11,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service72
|
|
22
|
+
} from "./bus-hx97nj8x.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
ID10,
|
|
25
25
|
Info21
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./bus-vzvgxy56.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./bus-yb20nhc3.js";
|
|
31
31
|
import {
|
|
32
32
|
credentialSettings2,
|
|
33
33
|
metadataSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./bus-g4wezt3f.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/gitlab.ts
|
|
37
37
|
import os from "os";
|
|
@@ -39,8 +39,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
|
|
|
39
39
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
40
40
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
41
41
|
import { Form } from "@opencode/schema/form";
|
|
42
|
-
var providerID =
|
|
43
|
-
var integrationID =
|
|
42
|
+
var providerID = ID11.gitlab;
|
|
43
|
+
var integrationID = ID17.make("gitlab");
|
|
44
44
|
var methodID = MethodID2.make("pkce");
|
|
45
45
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
46
46
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -61,7 +61,7 @@ var refreshRetention = 60000;
|
|
|
61
61
|
var GitLabPlugin2 = define({
|
|
62
62
|
id: "opencode.provider.gitlab",
|
|
63
63
|
effect: Effect.fn(function* (ctx) {
|
|
64
|
-
const providers = yield*
|
|
64
|
+
const providers = yield* Service72;
|
|
65
65
|
const bus = yield* Service86;
|
|
66
66
|
const http = yield* HttpClient.HttpClient;
|
|
67
67
|
const loading = Semaphore.makeUnsafe(1);
|
|
@@ -194,7 +194,7 @@ var GitLabPlugin2 = define({
|
|
|
194
194
|
models: [
|
|
195
195
|
...item.models.values(),
|
|
196
196
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
197
|
-
...Info21.default(providerID,
|
|
197
|
+
...Info21.default(providerID, ID10.make(model.id)),
|
|
198
198
|
name: `Agent Platform (${model.name})`,
|
|
199
199
|
package: aisdk2("gitlab-ai-provider"),
|
|
200
200
|
settings: { workflowRef: model.ref },
|
|
@@ -205,7 +205,7 @@ var GitLabPlugin2 = define({
|
|
|
205
205
|
});
|
|
206
206
|
});
|
|
207
207
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
208
|
-
yield* bus.subscribe(
|
|
208
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
209
209
|
yield* refresh().pipe(Effect.forkScoped);
|
|
210
210
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
211
211
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -228,7 +228,7 @@ var GitLabPlugin2 = define({
|
|
|
228
228
|
});
|
|
229
229
|
}));
|
|
230
230
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
231
|
-
if (evt.model.providerID !==
|
|
231
|
+
if (evt.model.providerID !== ID11.gitlab)
|
|
232
232
|
return;
|
|
233
233
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
234
234
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info20
|
|
7
|
+
} from "./bus-v0t96s7a.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
ConfigAgentV1: () => exports_agent4,
|
|
16
|
-
Info: () =>
|
|
16
|
+
Info: () => Info16
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info20)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info16 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info16, exports_agent4 };
|