@opencode/core 0.0.0-dev-91 → 0.0.0-dev-98
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 +87 -87
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +5 -5
- package/dist/bus.js +75 -75
- package/dist/chunks/{tool-aj7mw0zk.js → worktree-034tev2y.js} +2 -2
- package/dist/chunks/{tool-0fwfag3t.js → worktree-0a6kvvk1.js} +9 -9
- package/dist/chunks/{tool-zgd8t41s.js → worktree-0anyt1n6.js} +9 -9
- package/dist/chunks/{tool-7aerd0dr.js → worktree-0f3cfs5z.js} +5 -5
- package/dist/chunks/{tool-ex547tfp.js → worktree-0n85nhyf.js} +16 -16
- package/dist/chunks/{tool-f97eyc81.js → worktree-0n9fydpr.js} +10 -10
- package/dist/chunks/{tool-k8dvdjfn.js → worktree-0ngm2ts5.js} +4 -4
- package/dist/chunks/{tool-yc35554n.js → worktree-118agfgj.js} +2 -2
- package/dist/chunks/{tool-1q93rhva.js → worktree-16fb6946.js} +3 -3
- package/dist/chunks/{tool-7w0d3x1p.js → worktree-17ze4ean.js} +33 -33
- package/dist/chunks/{tool-q3xtnt1c.js → worktree-18z1h0b9.js} +11 -11
- package/dist/chunks/{tool-46hcmk88.js → worktree-1cwaa6j3.js} +85 -85
- package/dist/chunks/{tool-28v09jk4.js → worktree-1d5mc1c2.js} +9 -9
- package/dist/chunks/{tool-27w5k9zf.js → worktree-1ep2p91f.js} +2 -2
- package/dist/chunks/{tool-jh6e5x5q.js → worktree-1hraz18d.js} +21 -21
- package/dist/chunks/{tool-698qh926.js → worktree-1tf37zww.js} +11 -11
- package/dist/chunks/{tool-1x2knyw4.js → worktree-1x2knyw4.js} +1 -1
- package/dist/chunks/{tool-1yq9hg58.js → worktree-1yq9hg58.js} +1 -1
- package/dist/chunks/{tool-204s3925.js → worktree-204s3925.js} +1 -1
- package/dist/chunks/{tool-74zhyzb7.js → worktree-21vhc8jx.js} +6 -6
- package/dist/chunks/{tool-75c6t5n2.js → worktree-274xa1yy.js} +43 -43
- package/dist/chunks/{tool-0ahs07zn.js → worktree-2azy8kv6.js} +4 -4
- package/dist/chunks/worktree-2bz716tq.js +511 -0
- package/dist/chunks/{tool-jem635sa.js → worktree-2dhrh792.js} +7 -7
- package/dist/chunks/{tool-5571esjp.js → worktree-2jr8wvhe.js} +25 -25
- package/dist/chunks/{tool-ct12tdge.js → worktree-2xc47qz5.js} +69 -69
- package/dist/chunks/{tool-mwg5k7zj.js → worktree-2xppje48.js} +25 -25
- package/dist/chunks/{tool-9ctmy678.js → worktree-2z24bsrh.js} +33 -33
- package/dist/chunks/{tool-gcmr6tz2.js → worktree-313gsj56.js} +22 -22
- package/dist/chunks/{tool-emmmyxzw.js → worktree-362wt1pd.js} +18 -18
- package/dist/chunks/{tool-av2yj9c6.js → worktree-3b432v26.js} +11 -11
- package/dist/chunks/{tool-pg5ky8fn.js → worktree-3d73cf36.js} +6 -6
- package/dist/chunks/{tool-x1a7cwfg.js → worktree-3escd5af.js} +9 -9
- package/dist/chunks/{tool-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-7spmdhhv.js → worktree-3jb4p7sz.js} +12 -12
- package/dist/chunks/{tool-4h4e17dv.js → worktree-3kwhg78p.js} +40 -40
- package/dist/chunks/{tool-3nnrz6f6.js → worktree-3nnrz6f6.js} +1 -1
- package/dist/chunks/{tool-ee45cksz.js → worktree-3ptmacdb.js} +17 -17
- package/dist/chunks/{tool-gn34jygc.js → worktree-3z9x6b48.js} +21 -21
- package/dist/chunks/{tool-7enbyk8v.js → worktree-4601np8m.js} +12 -12
- package/dist/chunks/{tool-230veacn.js → worktree-46jh5j06.js} +10 -10
- package/dist/chunks/{tool-fhq3mczf.js → worktree-48j5p4ar.js} +17 -17
- package/dist/chunks/{tool-vkd92t59.js → worktree-4pgj6j2t.js} +35 -35
- package/dist/chunks/{tool-h3b857xk.js → worktree-4pw98qd4.js} +4 -4
- package/dist/chunks/{tool-4pyp9zr9.js → worktree-4pyp9zr9.js} +1 -1
- package/dist/chunks/{tool-xstj61st.js → worktree-4s0kbtm0.js} +15 -15
- package/dist/chunks/{tool-4v008n1t.js → worktree-4v008n1t.js} +1 -1
- package/dist/chunks/{tool-1pnwdb4n.js → worktree-4zcty71r.js} +33 -33
- package/dist/chunks/{tool-7nbypc4n.js → worktree-53phj0kz.js} +18 -18
- package/dist/chunks/{tool-vtgxp655.js → worktree-5epte933.js} +2 -2
- package/dist/chunks/{tool-j5cqker3.js → worktree-5fmzxywh.js} +7 -7
- package/dist/chunks/{tool-kx5zbgb5.js → worktree-5jnqyxbn.js} +23 -23
- package/dist/chunks/{tool-nk68y23q.js → worktree-5knecm0z.js} +5 -5
- package/dist/chunks/{tool-5m9w47nd.js → worktree-5m9w47nd.js} +1 -1
- package/dist/chunks/{tool-7jz89kf0.js → worktree-5mm8f81r.js} +5 -5
- package/dist/chunks/{tool-b6vsg801.js → worktree-5nnwax6m.js} +5 -5
- package/dist/chunks/{tool-hwp1rwn1.js → worktree-66s7d1kd.js} +15 -15
- package/dist/chunks/{tool-kfjnvpza.js → worktree-67b952gf.js} +2 -2
- package/dist/chunks/{tool-x0fjpjwd.js → worktree-6dme9bqw.js} +22 -22
- package/dist/chunks/{tool-6esdw8yj.js → worktree-6esdw8yj.js} +1 -1
- package/dist/chunks/{tool-7aawz9ta.js → worktree-6gm26dnv.js} +15 -15
- package/dist/chunks/{tool-x1wax2tm.js → worktree-6k87w37n.js} +5 -5
- package/dist/chunks/{tool-ep9ghbrk.js → worktree-6mfpzx4a.js} +11 -11
- package/dist/chunks/{tool-cqw9ekvn.js → worktree-6sqa993f.js} +9 -9
- package/dist/chunks/{tool-vrcsa8qx.js → worktree-6twykydk.js} +9 -9
- package/dist/chunks/{tool-nad4mkqt.js → worktree-6ydy7p7m.js} +8 -8
- package/dist/chunks/{tool-bw4r357a.js → worktree-6z9ynqn9.js} +9 -9
- package/dist/chunks/{tool-k91y97gc.js → worktree-711qwxwb.js} +19 -19
- package/dist/chunks/{tool-scjxmssc.js → worktree-797vxkjx.js} +7 -7
- package/dist/chunks/{tool-3ran0gcz.js → worktree-7a3mcgk4.js} +4 -4
- package/dist/chunks/{tool-1zfa644b.js → worktree-7a6mw2zv.js} +20 -20
- package/dist/chunks/{tool-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-38adaqc0.js → worktree-7d2a7xbs.js} +5 -5
- package/dist/chunks/worktree-7gwz4hhv.js +257 -0
- package/dist/chunks/{tool-3a164vj7.js → worktree-7thfwj7f.js} +20 -20
- package/dist/chunks/{tool-7w2ypzdf.js → worktree-7w2ypzdf.js} +1 -1
- package/dist/chunks/{tool-3dqda9j1.js → worktree-7we5y53n.js} +53 -53
- package/dist/chunks/{tool-3e3jqjep.js → worktree-8aj0e00m.js} +7 -7
- package/dist/chunks/{tool-s36045k5.js → worktree-8eks9rwf.js} +28 -28
- package/dist/chunks/{tool-3vschx9t.js → worktree-8f9mezn2.js} +4 -4
- package/dist/chunks/{tool-11hfp36g.js → worktree-8jztxfpf.js} +4 -4
- package/dist/chunks/{tool-7ez3gjeb.js → worktree-8rgcjn3a.js} +15 -15
- package/dist/chunks/{tool-awnpzmr9.js → worktree-8rjqw3ef.js} +16 -16
- package/dist/chunks/{tool-8wtp7s3z.js → worktree-8wtp7s3z.js} +1 -1
- package/dist/chunks/{tool-py366xq1.js → worktree-8ys4y03d.js} +14 -14
- package/dist/chunks/{tool-90zstvax.js → worktree-90zstvax.js} +1 -1
- package/dist/chunks/{tool-kpm58pge.js → worktree-9409nsbj.js} +27 -27
- package/dist/chunks/{tool-1ggxchhs.js → worktree-95ztg1a4.js} +16 -16
- package/dist/chunks/{tool-1gbxvym9.js → worktree-9dcysxpf.js} +8 -8
- package/dist/chunks/{tool-c9c3vcvh.js → worktree-9kdv0jfc.js} +6 -6
- package/dist/chunks/{tool-tzr3pa0w.js → worktree-9kf1aax8.js} +10 -10
- package/dist/chunks/{tool-v8t9vyt9.js → worktree-9kynvh8b.js} +30 -30
- package/dist/chunks/{tool-8wdz4h3x.js → worktree-9m7ybg0k.js} +28 -28
- package/dist/chunks/{tool-cmwydw43.js → worktree-9t2khtsw.js} +8 -8
- package/dist/chunks/{tool-8vdz7xys.js → worktree-a2jfm1hx.js} +11 -11
- package/dist/chunks/{tool-ra34yqmw.js → worktree-a4ww6fpm.js} +6 -6
- package/dist/chunks/worktree-a610t88q.js +18 -0
- package/dist/chunks/{tool-6wkw62dq.js → worktree-ac3qkg23.js} +20 -20
- package/dist/chunks/{tool-drvbhkez.js → worktree-agqd6nxz.js} +2 -2
- package/dist/chunks/{tool-z2e75qjb.js → worktree-as96ffcv.js} +16 -16
- package/dist/chunks/{tool-3cbjf1nt.js → worktree-ayjs7tqn.js} +2 -2
- package/dist/chunks/{tool-91gn8tjy.js → worktree-b5qegak8.js} +11 -11
- package/dist/chunks/{tool-305xqwqt.js → worktree-b77a7q8t.js} +39 -39
- package/dist/chunks/{tool-6g0tafez.js → worktree-b8fkm456.js} +18 -18
- package/dist/chunks/{tool-hed2thzz.js → worktree-bca42jyk.js} +16 -16
- package/dist/chunks/{tool-q2j9e0vw.js → worktree-bds5er22.js} +24 -24
- package/dist/chunks/{tool-gr5kqd9r.js → worktree-be2e5rnf.js} +21 -21
- package/dist/chunks/{tool-h57pbter.js → worktree-bgn2x603.js} +18 -18
- package/dist/chunks/{tool-7t6vbzys.js → worktree-bqmhzrvj.js} +26 -26
- package/dist/chunks/{tool-0ryed6y5.js → worktree-bym8k3a1.js} +22 -22
- package/dist/chunks/{tool-mfvvktb5.js → worktree-bzk881f8.js} +26 -26
- package/dist/chunks/{tool-m6s8mxr7.js → worktree-c7rwyadp.js} +12 -12
- package/dist/chunks/{tool-69xqjxg7.js → worktree-c84tv7mg.js} +4 -4
- package/dist/chunks/{tool-ssfehs1z.js → worktree-c9t2ty9q.js} +4 -4
- package/dist/chunks/{tool-tn29j0fz.js → worktree-cewv1c6c.js} +8 -8
- package/dist/chunks/{tool-z56aywt7.js → worktree-cfg92mm1.js} +16 -16
- package/dist/chunks/{tool-61q2c8gp.js → worktree-cmextvb5.js} +4 -4
- package/dist/chunks/{tool-cwrgdav8.js → worktree-cwrgdav8.js} +2 -2
- package/dist/chunks/{tool-852b9zb5.js → worktree-cy84twbn.js} +48 -48
- package/dist/chunks/{tool-6fx7ap1b.js → worktree-d1dqn4r8.js} +18 -18
- package/dist/chunks/{tool-d4v9tmah.js → worktree-d4v9tmah.js} +2 -2
- package/dist/chunks/{tool-ds7r37yp.js → worktree-ds7r37yp.js} +2 -2
- package/dist/chunks/{tool-dt77769w.js → worktree-dt77769w.js} +1 -1
- package/dist/chunks/{tool-ba26w197.js → worktree-dxn6tk5h.js} +5 -5
- package/dist/chunks/{tool-mkxa71wh.js → worktree-dzb2begy.js} +27 -27
- package/dist/chunks/{tool-4xer52tg.js → worktree-e7d3gm04.js} +11 -11
- package/dist/chunks/{tool-e834z07m.js → worktree-e834z07m.js} +1 -1
- package/dist/chunks/{tool-5wj60p4s.js → worktree-ex49bqgb.js} +11 -11
- package/dist/chunks/{tool-0j4991a9.js → worktree-ey5667np.js} +12 -12
- package/dist/chunks/{tool-n3bkb5q1.js → worktree-ez1g32xq.js} +8 -8
- package/dist/chunks/{tool-6b8745b8.js → worktree-ez2q5kwx.js} +15 -15
- package/dist/chunks/{tool-axy5ptv8.js → worktree-f10xpbr6.js} +11 -11
- package/dist/chunks/{tool-ma572n1c.js → worktree-f2ajh7mh.js} +5 -5
- package/dist/chunks/{tool-xrzs0xn3.js → worktree-f5grfhzb.js} +8 -8
- package/dist/chunks/{tool-c4x8pk91.js → worktree-fettsp85.js} +3 -3
- package/dist/chunks/{tool-fffv3p7h.js → worktree-fffv3p7h.js} +1 -1
- package/dist/chunks/{tool-5fn6dbwx.js → worktree-fg35kqc5.js} +5 -5
- package/dist/chunks/{tool-fg9p65nk.js → worktree-fg9p65nk.js} +2 -2
- package/dist/chunks/{tool-bq6jjxqp.js → worktree-fk6tkz52.js} +23 -23
- package/dist/chunks/{tool-rj977cyr.js → worktree-fknb39f2.js} +18 -18
- package/dist/chunks/{tool-pjzajrbc.js → worktree-fne0txhj.js} +54 -54
- package/dist/chunks/{tool-ztf6n3de.js → worktree-fwp9mfc9.js} +4 -4
- package/dist/chunks/{tool-5849hgw0.js → worktree-fxbc68d4.js} +23 -23
- package/dist/chunks/{tool-dp2cvfdy.js → worktree-fz81h3y8.js} +16 -16
- package/dist/chunks/{tool-9qcg53ez.js → worktree-g1ay4zd8.js} +9 -9
- package/dist/chunks/{tool-njyr3yz2.js → worktree-g897beg1.js} +191 -191
- package/dist/chunks/{tool-ep59zg61.js → worktree-gg8p9cgs.js} +3 -3
- package/dist/chunks/{tool-5phnv3yb.js → worktree-h6qfzy2w.js} +6 -6
- package/dist/chunks/{tool-krv0p5sn.js → worktree-h8jxej25.js} +11 -11
- package/dist/chunks/{tool-vz02t2s9.js → worktree-h9mpa2cp.js} +37 -37
- package/dist/chunks/{tool-k65b2vst.js → worktree-hcwqz2vp.js} +27 -27
- package/dist/chunks/{tool-gbzp4egg.js → worktree-hepvyceb.js} +18 -18
- package/dist/chunks/{tool-hpg1pkwy.js → worktree-hpg1pkwy.js} +1 -1
- package/dist/chunks/{tool-wm8ps0kb.js → worktree-hrc5qanb.js} +17 -17
- package/dist/chunks/{tool-d05zg70t.js → worktree-hwa72p18.js} +23 -23
- package/dist/chunks/{tool-ngbav3vd.js → worktree-hzn7nsdm.js} +40 -40
- package/dist/chunks/{tool-gp067yzn.js → worktree-j6gqx17m.js} +11 -11
- package/dist/chunks/{tool-7ddp8ank.js → worktree-jbs867qq.js} +32 -32
- package/dist/chunks/{tool-jfaecv01.js → worktree-jfaecv01.js} +1 -1
- package/dist/chunks/{tool-jtnps1zs.js → worktree-jtnps1zs.js} +2 -2
- package/dist/chunks/{tool-dcanc5rs.js → worktree-jv4aastz.js} +11 -11
- package/dist/chunks/{tool-zg3zhf3v.js → worktree-jvdszxx2.js} +15 -15
- package/dist/chunks/{tool-k814nvkf.js → worktree-k814nvkf.js} +1 -1
- package/dist/chunks/{tool-zkmce7rg.js → worktree-k9y3d0tp.js} +11 -11
- package/dist/chunks/{tool-k9zkdd2y.js → worktree-k9zkdd2y.js} +1 -1
- package/dist/chunks/{tool-q9z0p7gh.js → worktree-kamfaf4d.js} +18 -18
- package/dist/chunks/worktree-kc53vfpk.js +26 -0
- package/dist/chunks/{tool-vnxqy2jq.js → worktree-kmsddh9w.js} +30 -30
- package/dist/chunks/{tool-kt3bjfbg.js → worktree-kt3bjfbg.js} +1 -1
- package/dist/chunks/{tool-m1714858.js → worktree-m1714858.js} +1 -1
- package/dist/chunks/{tool-hfgk9wzg.js → worktree-m37sd98t.js} +4 -4
- package/dist/chunks/{tool-2rvkjrha.js → worktree-m4ptef75.js} +10 -10
- package/dist/chunks/{tool-by8ezbee.js → worktree-m56cjv3e.js} +17 -17
- package/dist/chunks/{tool-7aq6rx75.js → worktree-m7fnv24s.js} +47 -47
- package/dist/chunks/{tool-j1568g2c.js → worktree-m7fqq1ew.js} +9 -9
- package/dist/chunks/{tool-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-qg14jn6v.js → worktree-mhc61mdg.js} +32 -32
- package/dist/chunks/{tool-4jxvx69e.js → worktree-mhr56224.js} +3 -3
- package/dist/chunks/{tool-2x2ke6ta.js → worktree-mjc6f1aw.js} +45 -45
- package/dist/chunks/{tool-hdfrs5mg.js → worktree-mmkbt6v3.js} +9 -9
- package/dist/chunks/{tool-gk277ckk.js → worktree-mny8z6gn.js} +2 -2
- package/dist/chunks/{tool-ndtrv5vn.js → worktree-mr77yge8.js} +30 -30
- package/dist/chunks/{tool-wtjwwyta.js → worktree-mwg3qc11.js} +12 -12
- package/dist/chunks/{tool-s4g3e7mz.js → worktree-mzt2fbnn.js} +27 -27
- package/dist/chunks/{tool-68x0q3w1.js → worktree-n28y46dr.js} +20 -20
- package/dist/chunks/{tool-ja63h2sr.js → worktree-n6v2b7cw.js} +5 -5
- package/dist/chunks/{tool-7heva7vf.js → worktree-n9qdtdvs.js} +15 -15
- package/dist/chunks/{tool-770pw0s1.js → worktree-nah043kf.js} +4 -4
- package/dist/chunks/{tool-fcdhbwna.js → worktree-nqp32kgw.js} +12 -12
- package/dist/chunks/{tool-e1mb4rnk.js → worktree-ns70zq6v.js} +6 -6
- package/dist/chunks/{tool-wxf92x0x.js → worktree-nx6hk0ja.js} +1 -1
- package/dist/chunks/{tool-1t618e4c.js → worktree-nxbxez3p.js} +47 -47
- package/dist/chunks/{tool-p015t6z3.js → worktree-p015t6z3.js} +2 -2
- package/dist/chunks/{tool-14g07qkw.js → worktree-p93v64fd.js} +21 -21
- package/dist/chunks/{tool-m0jwy07f.js → worktree-pb04fmg7.js} +30 -30
- package/dist/chunks/{tool-hj8dv2fv.js → worktree-pbbktnbz.js} +4 -4
- package/dist/chunks/{tool-3xf4gmea.js → worktree-pbq8xx0j.js} +34 -34
- package/dist/chunks/{tool-72nd48f3.js → worktree-pf2pdych.js} +13 -13
- package/dist/chunks/{tool-sweqe2a6.js → worktree-pf3rwkdy.js} +13 -13
- package/dist/chunks/{tool-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{tool-zpdhy3rs.js → worktree-q66cx4q6.js} +23 -23
- package/dist/chunks/{tool-52b9nvdb.js → worktree-q8dhc66a.js} +10 -10
- package/dist/chunks/{tool-0qbg5y1h.js → worktree-qad7dvhx.js} +84 -84
- package/dist/chunks/{tool-0j8sypb1.js → worktree-qb1ewmbb.js} +28 -28
- package/dist/chunks/{tool-qp7r0hxv.js → worktree-qp7r0hxv.js} +1 -1
- package/dist/chunks/{tool-9yr7e8hg.js → worktree-qtp439t2.js} +21 -21
- package/dist/chunks/{tool-r0yr0wbs.js → worktree-r0yr0wbs.js} +1 -1
- package/dist/chunks/{tool-2kxyfk53.js → worktree-r18rdv8f.js} +1 -1
- package/dist/chunks/{tool-hghxj8gh.js → worktree-r3q41g9c.js} +24 -24
- package/dist/chunks/{tool-r542h3bh.js → worktree-r542h3bh.js} +1 -1
- package/dist/chunks/{tool-pvjefvaz.js → worktree-r66xew5k.js} +13 -13
- package/dist/chunks/{tool-ydsespw1.js → worktree-ra6js1h8.js} +8 -8
- package/dist/chunks/{tool-rb9dy4dg.js → worktree-rb9dy4dg.js} +1 -1
- package/dist/chunks/{tool-rt5dr6hb.js → worktree-rt5dr6hb.js} +1 -1
- package/dist/chunks/{tool-hq4hw89f.js → worktree-rxgbbj8k.js} +16 -16
- package/dist/chunks/{tool-hvb7rpxf.js → worktree-s54472q3.js} +17 -17
- package/dist/chunks/{tool-wzdbde40.js → worktree-s6tqy0m8.js} +20 -20
- package/dist/chunks/{tool-1svbn1jm.js → worktree-s99nkvx1.js} +4 -4
- package/dist/chunks/{tool-sa3fpqfw.js → worktree-sa3fpqfw.js} +2 -2
- package/dist/chunks/{tool-hqz3v7ac.js → worktree-snmd1rw9.js} +11 -11
- package/dist/chunks/{tool-sqjzf8x2.js → worktree-sqjzf8x2.js} +1 -1
- package/dist/chunks/{tool-sar0kh51.js → worktree-sre4ebqw.js} +4 -4
- package/dist/chunks/{tool-qb7a72fd.js → worktree-srjnrtdm.js} +10 -10
- package/dist/chunks/{tool-svcy3p9a.js → worktree-svcy3p9a.js} +1 -1
- package/dist/chunks/{tool-f3yfea70.js → worktree-sy9ykmfq.js} +3 -3
- package/dist/chunks/{tool-9pneywy4.js → worktree-szxm1cp3.js} +8 -8
- package/dist/chunks/{tool-cs175ng9.js → worktree-t21b4txv.js} +35 -35
- package/dist/chunks/{tool-x5xx62h0.js → worktree-t2wdt0at.js} +14 -14
- package/dist/chunks/{tool-0c8f71n7.js → worktree-t5qvjzk2.js} +21 -21
- package/dist/chunks/{tool-tczq8hjw.js → worktree-tczq8hjw.js} +1 -1
- package/dist/chunks/{tool-w5w2ye0s.js → worktree-tk7n563y.js} +3 -3
- package/dist/chunks/{tool-q3v7sg8t.js → worktree-tsv2z92f.js} +14 -14
- package/dist/chunks/{tool-yc9w3422.js → worktree-ttkktqdh.js} +13 -13
- package/dist/chunks/{tool-twssxy5n.js → worktree-twssxy5n.js} +2 -2
- package/dist/chunks/{tool-c50m1jnq.js → worktree-txwj3gge.js} +16 -16
- package/dist/chunks/{tool-4mfe4fpk.js → worktree-tyv518va.js} +5 -5
- package/dist/chunks/{tool-ks317rcp.js → worktree-tzyd7gqa.js} +2 -2
- package/dist/chunks/{tool-v2r1d0zg.js → worktree-v2r1d0zg.js} +1 -1
- package/dist/chunks/{tool-hn0gtwg2.js → worktree-v3xbt8j3.js} +5 -5
- package/dist/chunks/{tool-jx64hzqx.js → worktree-vcccw22k.js} +11 -11
- package/dist/chunks/{tool-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-2zp5a6yg.js → worktree-vg0erq9k.js} +3 -3
- package/dist/chunks/{tool-6khygjy4.js → worktree-vmsmp5eq.js} +17 -17
- package/dist/chunks/{tool-1ftdw7h3.js → worktree-vpvfxw07.js} +19 -19
- package/dist/chunks/{tool-7mjr8a8n.js → worktree-vpzpgvq9.js} +43 -43
- package/dist/chunks/{tool-mpe6qr53.js → worktree-vq1ppevj.js} +8 -8
- package/dist/chunks/{tool-qgtqwdmb.js → worktree-vs44t7fa.js} +14 -14
- package/dist/chunks/{tool-vaq1yek0.js → worktree-vsqvcqta.js} +6 -6
- package/dist/chunks/{tool-beyjcx72.js → worktree-w0d7zwbf.js} +4 -4
- package/dist/chunks/{tool-40za9wsf.js → worktree-w2eysc6j.js} +9 -9
- package/dist/chunks/{tool-2kg89srt.js → worktree-w35wzz9x.js} +4 -4
- package/dist/chunks/{tool-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-s631gf5j.js → worktree-w87a0wfe.js} +11 -11
- package/dist/chunks/{tool-76cb1hcw.js → worktree-w8qtt4th.js} +4 -4
- package/dist/chunks/{tool-5y20gt8q.js → worktree-wa1hcjw6.js} +5 -5
- package/dist/chunks/{tool-wakvkjy4.js → worktree-wakvkjy4.js} +1 -1
- package/dist/chunks/{tool-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{tool-860bwv8p.js → worktree-we2rejfg.js} +13 -13
- package/dist/chunks/{tool-wzcyht23.js → worktree-wk5m6zfg.js} +42 -42
- package/dist/chunks/{tool-jtj22pb2.js → worktree-wm98xywf.js} +12 -12
- package/dist/chunks/{tool-wnhgecwx.js → worktree-wnhgecwx.js} +1 -1
- package/dist/chunks/{tool-9w4n3zkz.js → worktree-wqtd6dn9.js} +3 -3
- package/dist/chunks/{tool-fznmdakp.js → worktree-wr3re1en.js} +4 -4
- package/dist/chunks/{tool-q4vfmnms.js → worktree-wsp5yfww.js} +28 -28
- package/dist/chunks/{tool-q8fk1046.js → worktree-wsr9qs6j.js} +26 -26
- package/dist/chunks/{tool-n3eppyw3.js → worktree-x16bhr4k.js} +45 -45
- package/dist/chunks/{tool-1cp227ey.js → worktree-x6ys6dqa.js} +17 -17
- package/dist/chunks/{tool-bstexjd6.js → worktree-xd9cc171.js} +5 -5
- package/dist/chunks/{tool-517jtzaa.js → worktree-xn6gceck.js} +8 -8
- package/dist/chunks/{tool-1kn6jdkn.js → worktree-xt0z8zst.js} +4 -4
- package/dist/chunks/{tool-draeheqz.js → worktree-xyq0rax3.js} +12 -12
- package/dist/chunks/{tool-zbqcyxaa.js → worktree-xyrxtpny.js} +19 -19
- package/dist/chunks/{tool-pqyr85nv.js → worktree-y6396az8.js} +30 -30
- package/dist/chunks/{tool-yqdh10qg.js → worktree-y8spwn8e.js} +10 -10
- package/dist/chunks/{tool-qkw2jr9b.js → worktree-yara3q77.js} +2 -2
- package/dist/chunks/{tool-yb20nhc3.js → worktree-yb20nhc3.js} +1 -1
- package/dist/chunks/{tool-v9m2ypfg.js → worktree-yezzex3p.js} +17 -17
- package/dist/chunks/{tool-k86ss76b.js → worktree-yfwf0v7j.js} +14 -14
- package/dist/chunks/{tool-d24g109n.js → worktree-yjbxb6qy.js} +1 -1
- package/dist/chunks/{tool-j9z4bav5.js → worktree-ymw70ds8.js} +36 -36
- package/dist/chunks/{tool-ymz7p2c9.js → worktree-ymz7p2c9.js} +3 -3
- package/dist/chunks/{tool-ysxqaady.js → worktree-ysbey0jp.js} +23 -23
- package/dist/chunks/{tool-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-z38nccrw.js → worktree-z38nccrw.js} +1 -1
- package/dist/chunks/{tool-j8rqras6.js → worktree-z6j3zz1h.js} +9 -9
- package/dist/chunks/{tool-zgkm4kzm.js → worktree-zgkm4kzm.js} +3 -3
- package/dist/chunks/{tool-5k73ne16.js → worktree-zmbtf289.js} +21 -21
- package/dist/chunks/{tool-61ennm6n.js → worktree-zzdv5d93.js} +4 -4
- 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 +89 -89
- package/dist/config/discovery.js +92 -92
- package/dist/config/integration.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +221 -221
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- 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/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.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +381 -381
- 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 +97 -97
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +99 -99
- 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 +76 -76
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- 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 +83 -83
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +112 -112
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +113 -113
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon-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 +372 -372
- package/dist/instruction-discovery.js +90 -90
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +95 -95
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +163 -163
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +369 -369
- package/dist/location.js +97 -97
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +117 -117
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +108 -108
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +143 -143
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +94 -94
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +82 -82
- package/dist/plugin/command.js +110 -110
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +225 -225
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +342 -342
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +128 -128
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +361 -361
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +230 -230
- 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 +98 -98
- package/dist/provider.js +105 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +96 -96
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +164 -164
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +228 -228
- package/dist/session/execution.js +154 -154
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +136 -136
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +154 -154
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +148 -148
- package/dist/snapshot.js +101 -101
- 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 +167 -167
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +152 -152
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +138 -138
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +222 -222
- package/dist/tool/plugin/skill.js +141 -141
- package/dist/tool/plugin/subagent.js +222 -222
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +145 -145
- package/dist/tool/plugin/websearch.js +145 -145
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +93 -93
- 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 +100 -100
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +106 -106
- package/package.json +8 -8
- package/dist/chunks/tool-00ve6mdn.js +0 -18
- package/dist/chunks/tool-axtqa2m2.js +0 -26
- package/dist/chunks/tool-hknrdqqs.js +0 -257
- package/dist/chunks/tool-s8gnseh8.js +0 -511
- /package/dist/chunks/{tool-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1jakw16s.js → worktree-1jakw16s.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2bv980vf.js → worktree-2bv980vf.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4m86bj6y.js → worktree-4m86bj6y.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-5w3e23ze.js → worktree-5w3e23ze.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-6q2bdcd1.js → worktree-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-84wd9syh.js → worktree-84wd9syh.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → worktree-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a058387c.js → worktree-a058387c.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-beh6qq61.js → worktree-beh6qq61.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cqv5kn06.js → worktree-cqv5kn06.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fkpq3x5p.js → worktree-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hcxmzztb.js → worktree-hcxmzztb.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jwr30sdr.js → worktree-jwr30sdr.js} +0 -0
- /package/dist/chunks/{tool-jze0r7bz.js → worktree-jze0r7bz.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-m18g726c.js → worktree-m18g726c.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-ncqqe42p.js → worktree-ncqqe42p.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-p71gwv9c.js → worktree-p71gwv9c.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-ve7vex1e.js → worktree-ve7vex1e.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z5v4ffb3.js → worktree-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./worktree-yezzex3p.js";
|
|
10
10
|
import {
|
|
11
11
|
Service69
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-w87a0wfe.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service68
|
|
15
|
+
} from "./worktree-4s0kbtm0.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-mhc61mdg.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service55
|
|
24
|
+
} from "./worktree-3kwhg78p.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service18
|
|
27
|
+
} from "./worktree-313gsj56.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./worktree-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input5,
|
|
37
|
+
Output: () => Output5,
|
|
38
|
+
Plugin: () => Plugin6,
|
|
39
|
+
name: () => name5,
|
|
40
|
+
toModelContent: () => toModelContent4
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name5 = "glob";
|
|
46
|
+
var Input5 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input4 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output5 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent4 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin6 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
69
|
const environment = yield* Service69;
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
70
|
+
const ripgrep = yield* Service68;
|
|
71
|
+
const location = yield* Service76;
|
|
72
|
+
const access = yield* Service18;
|
|
73
|
+
const permission = yield* Service55;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name5,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input5,
|
|
79
|
+
output: Output5,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name5,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin21 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name5, Input5, Output5, toModelContent4, Plugin6, exports_glob };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./worktree-m7fnv24s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service8
|
|
6
|
+
} from "./worktree-0anyt1n6.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-hpg1pkwy.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin30
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin30 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service60;
|
|
26
|
+
const policy = yield* Service8;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin44 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin30, exports_location_watcher2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID10,
|
|
3
|
-
|
|
3
|
+
Info13,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-5epte933.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service86,
|
|
11
11
|
node90
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-16fb6946.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service85,
|
|
16
16
|
node89
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-sre4ebqw.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service77,
|
|
20
|
+
node81
|
|
21
|
+
} from "./worktree-cy84twbn.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service44,
|
|
24
|
+
node46
|
|
25
|
+
} from "./worktree-a4ww6fpm.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./worktree-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./worktree-gg8p9cgs.js";
|
|
32
32
|
import {
|
|
33
33
|
enabled2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./worktree-21vhc8jx.js";
|
|
35
35
|
import {
|
|
36
36
|
NotFoundError8,
|
|
37
37
|
InvalidListCursorError2,
|
|
@@ -45,80 +45,80 @@ import {
|
|
|
45
45
|
BusyError2,
|
|
46
46
|
InboxConflictError2,
|
|
47
47
|
SkillNotFoundError2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./worktree-wqtd6dn9.js";
|
|
49
49
|
import {
|
|
50
50
|
current2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./worktree-pbbktnbz.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
node45,
|
|
54
54
|
listWithRefs2
|
|
55
|
-
} from "./
|
|
55
|
+
} from "./worktree-s6tqy0m8.js";
|
|
56
56
|
import {
|
|
57
57
|
snapshot2
|
|
58
|
-
} from "./
|
|
58
|
+
} from "./worktree-66s7d1kd.js";
|
|
59
59
|
import {
|
|
60
60
|
Slug2
|
|
61
|
-
} from "./
|
|
61
|
+
} from "./worktree-gebd4c9n.js";
|
|
62
62
|
import {
|
|
63
63
|
SessionAlreadyProjected2,
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
64
|
+
node27
|
|
65
|
+
} from "./worktree-be2e5rnf.js";
|
|
66
66
|
import {
|
|
67
67
|
Metadata2,
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
68
|
+
node57
|
|
69
|
+
} from "./worktree-797vxkjx.js";
|
|
70
70
|
import {
|
|
71
71
|
ListInput3,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
} from "./
|
|
72
|
+
Service56,
|
|
73
|
+
node59
|
|
74
|
+
} from "./worktree-wm98xywf.js";
|
|
75
75
|
import {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
} from "./
|
|
76
|
+
Service46,
|
|
77
|
+
node48
|
|
78
|
+
} from "./worktree-95ztg1a4.js";
|
|
79
79
|
import {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
} from "./
|
|
80
|
+
Service41,
|
|
81
|
+
node44
|
|
82
|
+
} from "./worktree-ymw70ds8.js";
|
|
83
83
|
import {
|
|
84
84
|
llmClient2
|
|
85
|
-
} from "./
|
|
85
|
+
} from "./worktree-p015t6z3.js";
|
|
86
86
|
import {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
87
|
+
Service30,
|
|
88
|
+
node34
|
|
89
|
+
} from "./worktree-a2jfm1hx.js";
|
|
90
90
|
import {
|
|
91
91
|
generate2
|
|
92
|
-
} from "./
|
|
92
|
+
} from "./worktree-cfg92mm1.js";
|
|
93
93
|
import {
|
|
94
94
|
execute2
|
|
95
|
-
} from "./
|
|
95
|
+
} from "./worktree-xn6gceck.js";
|
|
96
96
|
import {
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
Service65,
|
|
98
|
+
node68,
|
|
99
99
|
canonical3
|
|
100
|
-
} from "./
|
|
100
|
+
} from "./worktree-e7d3gm04.js";
|
|
101
101
|
import {
|
|
102
102
|
DestinationNotFoundError2,
|
|
103
103
|
DestinationNotDirectoryError2,
|
|
104
104
|
DestinationUnavailableError2,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
} from "./
|
|
105
|
+
Service22,
|
|
106
|
+
node25
|
|
107
|
+
} from "./worktree-7we5y53n.js";
|
|
108
108
|
import {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
} from "./
|
|
109
|
+
Service39,
|
|
110
|
+
node42
|
|
111
|
+
} from "./worktree-vq1ppevj.js";
|
|
112
112
|
import {
|
|
113
|
-
|
|
114
|
-
} from "./
|
|
113
|
+
make13
|
|
114
|
+
} from "./worktree-pb04fmg7.js";
|
|
115
115
|
import {
|
|
116
116
|
TurnRangeError2,
|
|
117
117
|
turn2
|
|
118
|
-
} from "./
|
|
118
|
+
} from "./worktree-1tf37zww.js";
|
|
119
119
|
import {
|
|
120
120
|
__export
|
|
121
|
-
} from "./
|
|
121
|
+
} from "./worktree-9rqn6x4v.js";
|
|
122
122
|
|
|
123
123
|
// src/session.ts
|
|
124
124
|
var exports_session = {};
|
|
@@ -132,7 +132,7 @@ __export(exports_session, {
|
|
|
132
132
|
ForkEmptyError: () => ForkEmptyError2,
|
|
133
133
|
ID: () => ID10,
|
|
134
134
|
InboxConflictError: () => InboxConflictError2,
|
|
135
|
-
Info: () =>
|
|
135
|
+
Info: () => Info13,
|
|
136
136
|
InvalidListCursorError: () => InvalidListCursorError2,
|
|
137
137
|
ListAnchor: () => ListAnchor2,
|
|
138
138
|
ListCursor: () => ListCursor2,
|
|
@@ -141,13 +141,13 @@ __export(exports_session, {
|
|
|
141
141
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
142
142
|
NotFoundError: () => NotFoundError8,
|
|
143
143
|
PromptConflictError: () => PromptConflictError2,
|
|
144
|
-
Service: () =>
|
|
144
|
+
Service: () => Service21,
|
|
145
145
|
Session: () => exports_session,
|
|
146
146
|
SessionSchema: () => SessionSchema2,
|
|
147
147
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
148
148
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
149
149
|
TurnRangeError: () => TurnRangeError2,
|
|
150
|
-
node: () =>
|
|
150
|
+
node: () => node24
|
|
151
151
|
});
|
|
152
152
|
import { DateTime, Effect, Layer, Context, Option, Stream } from "effect";
|
|
153
153
|
import { LLMClient } from "@opencode/ai/effect";
|
|
@@ -158,27 +158,27 @@ import { Node } from "@opencode/util/effect/app-node";
|
|
|
158
158
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
159
159
|
var ListInput2 = ListInput3;
|
|
160
160
|
var DefaultListLimit = 50;
|
|
161
|
-
class
|
|
161
|
+
class Service21 extends Context.Service()("@opencode/Session") {
|
|
162
162
|
}
|
|
163
|
-
var layer = Layer.effect(
|
|
163
|
+
var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
164
164
|
const app = yield* Metadata2;
|
|
165
165
|
const database = yield* Service86;
|
|
166
166
|
const db = database.db;
|
|
167
167
|
const bus = yield* Service85;
|
|
168
|
-
const projects = yield*
|
|
169
|
-
const execution = yield*
|
|
168
|
+
const projects = yield* Service77;
|
|
169
|
+
const execution = yield* Service41;
|
|
170
170
|
const llm = yield* LLMClient.Service;
|
|
171
|
-
const transport = yield*
|
|
172
|
-
const store = yield*
|
|
173
|
-
const instances = yield*
|
|
174
|
-
const moves = yield*
|
|
175
|
-
const jobs = yield*
|
|
176
|
-
const environments = yield*
|
|
177
|
-
const locations = yield*
|
|
178
|
-
const sessions = yield*
|
|
171
|
+
const transport = yield* Service30;
|
|
172
|
+
const store = yield* Service56;
|
|
173
|
+
const instances = yield* Service44;
|
|
174
|
+
const moves = yield* Service22;
|
|
175
|
+
const jobs = yield* Service46;
|
|
176
|
+
const environments = yield* Service39;
|
|
177
|
+
const locations = yield* Service65;
|
|
178
|
+
const sessions = yield* make13();
|
|
179
179
|
const keepsMediaRefs = (session) => enabled2.pipe(instances.provide(session), Effect.catch((cause) => Effect.logWarning("could not resolve experimental.media_blob; serving media inline", { cause }).pipe(Effect.as(false))));
|
|
180
180
|
const isDurableSessionEvent = (item) => Object.hasOwn(SessionEvent2.Durable.cases, item.type);
|
|
181
|
-
const result =
|
|
181
|
+
const result = Service21.of({
|
|
182
182
|
create: Effect.fn("Session.create")(function* (input) {
|
|
183
183
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
184
184
|
const recorded = yield* store.get(sessionID);
|
|
@@ -324,11 +324,11 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
324
324
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
325
325
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
326
326
|
const session = yield* result.get(input.sessionID);
|
|
327
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
327
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service44, instances), Effect.provideService(Service86, database), Effect.provideService(LLMClient.Service, llm));
|
|
328
328
|
}),
|
|
329
329
|
command: Effect.fn("Session.command")(function* (input) {
|
|
330
330
|
const session = yield* result.get(input.sessionID);
|
|
331
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
331
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service44, instances));
|
|
332
332
|
}),
|
|
333
333
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
334
334
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -372,27 +372,27 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
372
372
|
});
|
|
373
373
|
return result;
|
|
374
374
|
}));
|
|
375
|
-
var
|
|
376
|
-
service:
|
|
375
|
+
var node24 = Node.makeGlobalNode({
|
|
376
|
+
service: Service21,
|
|
377
377
|
layer,
|
|
378
378
|
deps: [
|
|
379
|
-
|
|
380
|
-
|
|
379
|
+
node48,
|
|
380
|
+
node42,
|
|
381
381
|
node90,
|
|
382
382
|
node89,
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
383
|
+
node81,
|
|
384
|
+
node44,
|
|
385
|
+
node34,
|
|
386
386
|
llmClient2,
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
387
|
+
node59,
|
|
388
|
+
node46,
|
|
389
|
+
node45,
|
|
390
|
+
node25,
|
|
391
|
+
node27,
|
|
392
|
+
node68,
|
|
393
393
|
FSUtil.node,
|
|
394
|
-
|
|
394
|
+
node57
|
|
395
395
|
]
|
|
396
396
|
});
|
|
397
397
|
|
|
398
|
-
export { ListAnchor2, ListCursor2, ListInput2,
|
|
398
|
+
export { ListAnchor2, ListCursor2, ListInput2, Service21, node24, exports_session };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
MessageDecodeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-wqtd6dn9.js";
|
|
7
7
|
import {
|
|
8
8
|
InitializationBlocked2,
|
|
9
9
|
read4
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-xt0z8zst.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionMessageTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-gg8p9cgs.js";
|
|
14
14
|
import {
|
|
15
15
|
initial2,
|
|
16
16
|
preview3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-pbbktnbz.js";
|
|
18
18
|
import {
|
|
19
19
|
User3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./worktree-fg9p65nk.js";
|
|
21
21
|
import {
|
|
22
22
|
hydrate2,
|
|
23
23
|
keepRefs2,
|
|
24
24
|
describe2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./worktree-21vhc8jx.js";
|
|
26
26
|
import {
|
|
27
27
|
messageToText2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./worktree-v2r1d0zg.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./worktree-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/history.ts
|
|
34
34
|
var exports_history = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-sre4ebqw.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-rb9dy4dg.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-cy84twbn.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service76,
|
|
15
|
+
node80
|
|
16
|
+
} from "./worktree-yezzex3p.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./worktree-204s3925.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,19 +29,19 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info10,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service52,
|
|
36
36
|
Untracked: () => Untracked2,
|
|
37
37
|
Vcs: () => exports_vcs,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node54
|
|
39
39
|
});
|
|
40
40
|
import path from "path";
|
|
41
41
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
42
42
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
43
43
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
44
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
44
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info10, Mode as Mode2, Untracked as Untracked2 } from "@opencode/schema/vcs";
|
|
45
45
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -55,11 +55,11 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service52 extends Context.Service()("@opencode/Vcs") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
61
61
|
const fs = yield* FSUtil.Service;
|
|
62
|
-
const location = yield*
|
|
62
|
+
const location = yield* Service76;
|
|
63
63
|
const bus = yield* Service85;
|
|
64
64
|
const root = yield* Effect.scope;
|
|
65
65
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
72
72
|
canonical: location.project.canonical,
|
|
73
73
|
...vcs ? { store: vcs.store } : {}
|
|
74
74
|
};
|
|
75
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
75
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info10));
|
|
76
76
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
77
77
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
78
78
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
130
130
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
131
131
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
132
132
|
}
|
|
133
|
-
return
|
|
133
|
+
return Service52.of({
|
|
134
134
|
transform: state.transform,
|
|
135
135
|
reload: state.reload,
|
|
136
136
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -189,10 +189,10 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}));
|
|
192
|
-
var
|
|
193
|
-
service:
|
|
192
|
+
var node54 = makeLocationNode({
|
|
193
|
+
service: Service52,
|
|
194
194
|
layer,
|
|
195
|
-
deps: [FSUtil.node,
|
|
195
|
+
deps: [FSUtil.node, node80, node89]
|
|
196
196
|
});
|
|
197
197
|
|
|
198
|
-
export { Base2, BranchList2, FileStatus2,
|
|
198
|
+
export { Base2, BranchList2, FileStatus2, Info10, Mode2, Untracked2, DiffError2, InitializeError2, Service52, node54, exports_vcs };
|