@opencode/core 0.0.0-dev-98 → 0.0.0-dev-106
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 +85 -85
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +7 -7
- package/dist/bus.js +75 -75
- package/dist/chunks/{worktree-8aj0e00m.js → file-retention-00ensp01.js} +7 -7
- package/dist/chunks/{worktree-4zcty71r.js → file-retention-01cw0x8c.js} +25 -25
- package/dist/chunks/{worktree-034tev2y.js → file-retention-034tev2y.js} +2 -2
- package/dist/chunks/{worktree-0a6kvvk1.js → file-retention-05acc43v.js} +6 -6
- package/dist/chunks/{worktree-x16bhr4k.js → file-retention-0d5wzp0a.js} +46 -46
- package/dist/chunks/{worktree-g1ay4zd8.js → file-retention-0gbb59p9.js} +9 -9
- package/dist/chunks/{worktree-srjnrtdm.js → file-retention-0geb145b.js} +10 -10
- package/dist/chunks/{worktree-274xa1yy.js → file-retention-10fq91z6.js} +44 -44
- package/dist/chunks/{worktree-ez2q5kwx.js → file-retention-11b27yxh.js} +15 -15
- package/dist/chunks/{worktree-mhr56224.js → file-retention-11fnx5ad.js} +3 -3
- package/dist/chunks/{worktree-67b952gf.js → file-retention-13ebf3mq.js} +2 -2
- package/dist/chunks/{worktree-f10xpbr6.js → file-retention-17qfb74n.js} +11 -11
- package/dist/chunks/{worktree-6ydy7p7m.js → file-retention-18fr36ja.js} +8 -8
- package/dist/chunks/{worktree-qb1ewmbb.js → file-retention-1bazgwy0.js} +28 -28
- package/dist/chunks/{worktree-x6ys6dqa.js → file-retention-1dmvqq8e.js} +17 -17
- package/dist/chunks/{worktree-1ep2p91f.js → file-retention-1ep2p91f.js} +2 -2
- package/dist/chunks/{worktree-wk5m6zfg.js → file-retention-1gc92e9b.js} +40 -40
- package/dist/chunks/{worktree-xt0z8zst.js → file-retention-1kn6jdkn.js} +4 -4
- package/dist/chunks/{worktree-5knecm0z.js → file-retention-1npk31dn.js} +5 -5
- package/dist/chunks/{worktree-6mfpzx4a.js → file-retention-1p7ae65c.js} +11 -11
- package/dist/chunks/{worktree-7we5y53n.js → file-retention-1tpd8jbg.js} +55 -55
- package/dist/chunks/{worktree-1x2knyw4.js → file-retention-1x2knyw4.js} +1 -1
- package/dist/chunks/{worktree-w0d7zwbf.js → file-retention-1xawp968.js} +4 -4
- package/dist/chunks/{worktree-1yq9hg58.js → file-retention-1yq9hg58.js} +1 -1
- package/dist/chunks/{worktree-204s3925.js → file-retention-204s3925.js} +1 -1
- package/dist/chunks/{worktree-2xppje48.js → file-retention-213ntr4e.js} +27 -27
- package/dist/chunks/{worktree-fknb39f2.js → file-retention-220xmsjv.js} +18 -18
- package/dist/chunks/{worktree-4s0kbtm0.js → file-retention-257338nf.js} +14 -14
- package/dist/chunks/{worktree-vsqvcqta.js → file-retention-26x8chrq.js} +6 -6
- package/dist/chunks/{worktree-6k87w37n.js → file-retention-284vr7mk.js} +5 -5
- package/dist/chunks/{worktree-711qwxwb.js → file-retention-2djfsmxs.js} +21 -21
- package/dist/chunks/{worktree-95ztg1a4.js → file-retention-2hrs92et.js} +16 -16
- package/dist/chunks/{worktree-b5qegak8.js → file-retention-2jznjq70.js} +11 -11
- package/dist/chunks/{worktree-mny8z6gn.js → file-retention-2n2jra7h.js} +2 -2
- package/dist/chunks/{worktree-0n85nhyf.js → file-retention-2ny0ezjb.js} +21 -21
- package/dist/chunks/{worktree-q66cx4q6.js → file-retention-2v29ms50.js} +23 -23
- package/dist/chunks/{worktree-mwg3qc11.js → file-retention-3cbzjvxf.js} +70 -25
- package/dist/chunks/{worktree-ymz7p2c9.js → file-retention-3cgskxpq.js} +3 -3
- package/dist/chunks/{worktree-9m7ybg0k.js → file-retention-3ctwxhf6.js} +21 -21
- package/dist/chunks/{worktree-1tf37zww.js → file-retention-3grw85tc.js} +11 -11
- package/dist/chunks/{worktree-cewv1c6c.js → file-retention-3gxdekad.js} +8 -8
- package/dist/chunks/{worktree-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-3nnrz6f6.js → file-retention-3nnrz6f6.js} +1 -1
- package/dist/chunks/{worktree-2azy8kv6.js → file-retention-3ryz99p0.js} +4 -4
- package/dist/chunks/{worktree-2jr8wvhe.js → file-retention-3t7s1jht.js} +23 -23
- package/dist/chunks/{worktree-s6tqy0m8.js → file-retention-4app0d5h.js} +22 -22
- package/dist/chunks/{worktree-797vxkjx.js → file-retention-4en8p6w3.js} +8 -8
- package/dist/chunks/{worktree-2xc47qz5.js → file-retention-4exy2tgb.js} +70 -70
- package/dist/chunks/{worktree-9dcysxpf.js → file-retention-4p3hg7qr.js} +8 -8
- package/dist/chunks/{worktree-4pyp9zr9.js → file-retention-4pyp9zr9.js} +1 -1
- package/dist/chunks/{worktree-pf2pdych.js → file-retention-4tsasp0w.js} +17 -17
- package/dist/chunks/{worktree-4v008n1t.js → file-retention-4v008n1t.js} +1 -1
- package/dist/chunks/{worktree-a4ww6fpm.js → file-retention-51d35nkj.js} +6 -6
- package/dist/chunks/{worktree-fne0txhj.js → file-retention-530qnn32.js} +54 -54
- package/dist/chunks/{worktree-q8dhc66a.js → file-retention-5c35a5tr.js} +9 -9
- package/dist/chunks/{worktree-w2eysc6j.js → file-retention-5enarcya.js} +6 -6
- package/dist/chunks/{worktree-pbbktnbz.js → file-retention-5gyja307.js} +4 -4
- package/dist/chunks/{worktree-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
- package/dist/chunks/{worktree-d1dqn4r8.js → file-retention-6617bgsd.js} +19 -19
- package/dist/chunks/{worktree-bzk881f8.js → file-retention-6d987nwp.js} +32 -32
- package/dist/chunks/{worktree-6esdw8yj.js → file-retention-6esdw8yj.js} +1 -1
- package/dist/chunks/{worktree-fxbc68d4.js → file-retention-6mc65ctj.js} +23 -23
- package/dist/chunks/{worktree-9kynvh8b.js → file-retention-6pnx88k5.js} +31 -31
- package/dist/chunks/{worktree-0f3cfs5z.js → file-retention-6qcwe8h6.js} +7 -7
- package/dist/chunks/{worktree-4pw98qd4.js → file-retention-6ss6ngz0.js} +4 -4
- package/dist/chunks/{worktree-n6v2b7cw.js → file-retention-6y263vp8.js} +5 -5
- package/dist/chunks/{worktree-kmsddh9w.js → file-retention-6y6e3gcj.js} +28 -28
- package/dist/chunks/{worktree-s99nkvx1.js → file-retention-70qgk999.js} +4 -4
- package/dist/chunks/{worktree-wm98xywf.js → file-retention-79gnnek8.js} +12 -12
- package/dist/chunks/{worktree-h8jxej25.js → file-retention-7b491anb.js} +12 -12
- package/dist/chunks/{worktree-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-b77a7q8t.js → file-retention-7c1hejwc.js} +41 -41
- package/dist/chunks/{worktree-9kdv0jfc.js → file-retention-7hgt5e5w.js} +3 -3
- package/dist/chunks/{worktree-m4ptef75.js → file-retention-7kf2nsex.js} +10 -10
- package/dist/chunks/{worktree-7w2ypzdf.js → file-retention-7w2ypzdf.js} +1 -1
- package/dist/chunks/{worktree-tzyd7gqa.js → file-retention-7yect7x1.js} +2 -2
- package/dist/chunks/{worktree-362wt1pd.js → file-retention-82kem97q.js} +18 -18
- package/dist/chunks/{worktree-yezzex3p.js → file-retention-858yc3fz.js} +17 -17
- package/dist/chunks/{worktree-17ze4ean.js → file-retention-8dnm6rqe.js} +29 -29
- package/dist/chunks/{worktree-pb04fmg7.js → file-retention-8h66evbt.js} +29 -29
- package/dist/chunks/{worktree-r66xew5k.js → file-retention-8jwdpn38.js} +8 -8
- package/dist/chunks/{worktree-8jztxfpf.js → file-retention-8jztxfpf.js} +1 -1
- package/dist/chunks/{worktree-hwa72p18.js → file-retention-8p9z5v1r.js} +22 -22
- package/dist/chunks/{worktree-fwp9mfc9.js → file-retention-8r9nj4s8.js} +4 -4
- package/dist/chunks/{worktree-ttkktqdh.js → file-retention-8w2sjm13.js} +13 -13
- package/dist/chunks/{worktree-8wtp7s3z.js → file-retention-8wtp7s3z.js} +1 -1
- package/dist/chunks/{worktree-0anyt1n6.js → file-retention-8yhc7zrg.js} +9 -9
- package/dist/chunks/{worktree-90zstvax.js → file-retention-90zstvax.js} +1 -1
- package/dist/chunks/{worktree-jvdszxx2.js → file-retention-94khjvtj.js} +28 -28
- package/dist/chunks/{worktree-8ys4y03d.js → file-retention-97vq97zw.js} +12 -12
- package/dist/chunks/{worktree-dxn6tk5h.js → file-retention-9c0sbrgq.js} +5 -5
- package/dist/chunks/{worktree-ez1g32xq.js → file-retention-9grvd76r.js} +8 -8
- package/dist/chunks/{worktree-w35wzz9x.js → file-retention-9q8g9sv8.js} +4 -4
- package/dist/chunks/{worktree-46jh5j06.js → file-retention-9qyfvz4m.js} +10 -10
- package/dist/chunks/{worktree-y8spwn8e.js → file-retention-aahkq6z2.js} +10 -10
- package/dist/chunks/{worktree-fettsp85.js → file-retention-abwhxwyy.js} +3 -8
- package/dist/chunks/{worktree-f2ajh7mh.js → file-retention-akjr89gm.js} +3 -3
- package/dist/chunks/{worktree-ac3qkg23.js → file-retention-ant32n8a.js} +14 -14
- package/dist/chunks/{worktree-we2rejfg.js → file-retention-at3ha3gd.js} +13 -13
- package/dist/chunks/{worktree-xyq0rax3.js → file-retention-atk704ss.js} +12 -12
- package/dist/chunks/{worktree-313gsj56.js → file-retention-aw4q487d.js} +25 -25
- package/dist/chunks/{worktree-ayjs7tqn.js → file-retention-ayjs7tqn.js} +2 -2
- package/dist/chunks/{worktree-fk6tkz52.js → file-retention-b27sr8xw.js} +19 -19
- package/dist/chunks/{worktree-b8fkm456.js → file-retention-b2e3mpfn.js} +18 -18
- package/dist/chunks/{worktree-cmextvb5.js → file-retention-b4fxnh5x.js} +4 -4
- package/dist/chunks/{worktree-5nnwax6m.js → file-retention-b6vsg801.js} +5 -5
- package/dist/chunks/{worktree-8rjqw3ef.js → file-retention-b78pvnk0.js} +18 -18
- package/dist/chunks/{worktree-t21b4txv.js → file-retention-bdady26x.js} +35 -35
- package/dist/chunks/{worktree-bqmhzrvj.js → file-retention-bdxrme4x.js} +22 -22
- package/dist/chunks/{worktree-hrc5qanb.js → file-retention-bewng5xt.js} +16 -16
- package/dist/chunks/{worktree-s54472q3.js → file-retention-bg4dmm5d.js} +17 -17
- package/dist/chunks/{worktree-zzdv5d93.js → file-retention-bjhzkqyk.js} +4 -4
- package/dist/chunks/{worktree-as96ffcv.js → file-retention-bqhtr9km.js} +16 -16
- package/dist/chunks/{worktree-xd9cc171.js → file-retention-bstexjd6.js} +5 -5
- package/dist/chunks/{worktree-qad7dvhx.js → file-retention-bzk4ydrv.js} +83 -83
- package/dist/chunks/{worktree-h9mpa2cp.js → file-retention-c0wmmjhw.js} +40 -40
- package/dist/chunks/{worktree-szxm1cp3.js → file-retention-cap58psb.js} +11 -11
- package/dist/chunks/{worktree-kamfaf4d.js → file-retention-cbn5qz6c.js} +16 -16
- package/dist/chunks/{worktree-5mm8f81r.js → file-retention-ce8850xx.js} +5 -5
- package/dist/chunks/{worktree-cwrgdav8.js → file-retention-cwrgdav8.js} +2 -2
- package/dist/chunks/{worktree-8eks9rwf.js → file-retention-d0hcg7jd.js} +28 -28
- package/dist/chunks/{worktree-c9t2ty9q.js → file-retention-d2887f8n.js} +4 -4
- package/dist/chunks/{worktree-d4v9tmah.js → file-retention-d4v9tmah.js} +2 -2
- package/dist/chunks/{worktree-n28y46dr.js → file-retention-d6bett94.js} +26 -26
- package/dist/chunks/{worktree-e7d3gm04.js → file-retention-dnphr175.js} +11 -11
- package/dist/chunks/{worktree-pbq8xx0j.js → file-retention-dskmn5nd.js} +32 -32
- package/dist/chunks/{worktree-dt77769w.js → file-retention-dt77769w.js} +1 -1
- package/dist/chunks/{worktree-53phj0kz.js → file-retention-dvpav3c8.js} +18 -18
- package/dist/chunks/{worktree-mr77yge8.js → file-retention-dzpz9w51.js} +28 -28
- package/dist/chunks/{worktree-yjbxb6qy.js → file-retention-e0h4m4ge.js} +4 -4
- package/dist/chunks/{worktree-m56cjv3e.js → file-retention-e2mp0d97.js} +19 -19
- package/dist/chunks/{worktree-fg35kqc5.js → file-retention-e486tjyp.js} +5 -5
- package/dist/chunks/{worktree-m7fqq1ew.js → file-retention-e684jnvx.js} +9 -9
- package/dist/chunks/{worktree-e834z07m.js → file-retention-e834z07m.js} +1 -1
- package/dist/chunks/{worktree-v3xbt8j3.js → file-retention-ectwy8nt.js} +5 -5
- package/dist/chunks/{worktree-y6396az8.js → file-retention-ed1jg8md.js} +28 -28
- package/dist/chunks/{worktree-zmbtf289.js → file-retention-ed1x3daz.js} +21 -21
- package/dist/chunks/{worktree-ymw70ds8.js → file-retention-ek5b82yj.js} +37 -37
- package/dist/chunks/{worktree-vpvfxw07.js → file-retention-ep2aybfb.js} +15 -15
- package/dist/chunks/{worktree-k9zkdd2y.js → file-retention-epbqh0vp.js} +4 -4
- package/dist/chunks/{worktree-hepvyceb.js → file-retention-exqnczdn.js} +18 -18
- package/dist/chunks/{worktree-t2wdt0at.js → file-retention-f6n5e1dm.js} +14 -14
- package/dist/chunks/file-retention-f8ma18fn.js +18 -0
- package/dist/chunks/{worktree-5jnqyxbn.js → file-retention-f9nn1sjd.js} +21 -21
- package/dist/chunks/file-retention-fb3r9cnw.js +26 -0
- package/dist/chunks/{worktree-8f9mezn2.js → file-retention-fd09956s.js} +4 -4
- package/dist/chunks/{worktree-fffv3p7h.js → file-retention-fffv3p7h.js} +1 -1
- package/dist/chunks/{worktree-fg9p65nk.js → file-retention-fg9p65nk.js} +2 -2
- package/dist/chunks/{worktree-j6gqx17m.js → file-retention-fng6wk28.js} +11 -11
- package/dist/chunks/{worktree-bym8k3a1.js → file-retention-fz3avstq.js} +16 -16
- package/dist/chunks/{worktree-agqd6nxz.js → file-retention-g6dfma3d.js} +6 -6
- package/dist/chunks/{worktree-gg8p9cgs.js → file-retention-gg8p9cgs.js} +3 -3
- package/dist/chunks/{worktree-r3q41g9c.js → file-retention-gk998fjy.js} +29 -29
- package/dist/chunks/{worktree-wa1hcjw6.js → file-retention-gwb4hjpw.js} +5 -5
- package/dist/chunks/{worktree-3b432v26.js → file-retention-h3hvekyy.js} +11 -11
- package/dist/chunks/{worktree-tk7n563y.js → file-retention-h4v9p5rq.js} +3 -3
- package/dist/chunks/{worktree-be2e5rnf.js → file-retention-h5tttybt.js} +21 -21
- package/dist/chunks/{worktree-6sqa993f.js → file-retention-h6t0znmf.js} +9 -9
- package/dist/chunks/{worktree-mzt2fbnn.js → file-retention-h9awvcw8.js} +35 -35
- package/dist/chunks/{worktree-ds7r37yp.js → file-retention-haf3v3hy.js} +5 -5
- package/dist/chunks/{worktree-mmkbt6v3.js → file-retention-hdfrs5mg.js} +9 -9
- package/dist/chunks/{worktree-hpg1pkwy.js → file-retention-hpg1pkwy.js} +1 -1
- package/dist/chunks/{worktree-vg0erq9k.js → file-retention-hqxkkta1.js} +3 -3
- package/dist/chunks/{worktree-16fb6946.js → file-retention-hrgy1ehp.js} +3 -3
- package/dist/chunks/{worktree-w87a0wfe.js → file-retention-hrzny8v8.js} +24 -24
- package/dist/chunks/{worktree-p93v64fd.js → file-retention-htrvxm7y.js} +21 -21
- package/dist/chunks/{worktree-mjc6f1aw.js → file-retention-hwg9r3t9.js} +45 -45
- package/dist/chunks/{worktree-3d73cf36.js → file-retention-jb9hj9nr.js} +6 -6
- package/dist/chunks/{worktree-xyrxtpny.js → file-retention-je0z6vt0.js} +19 -19
- package/dist/chunks/{worktree-jfaecv01.js → file-retention-jfaecv01.js} +1 -1
- package/dist/chunks/{worktree-jtnps1zs.js → file-retention-jtnps1zs.js} +2 -2
- package/dist/chunks/{worktree-2z24bsrh.js → file-retention-jyq1zm3m.js} +35 -35
- package/dist/chunks/{worktree-118agfgj.js → file-retention-jz9sppn7.js} +4 -4
- package/dist/chunks/{worktree-k814nvkf.js → file-retention-k814nvkf.js} +1 -1
- package/dist/chunks/{worktree-4601np8m.js → file-retention-kexjjz2s.js} +32 -32
- package/dist/chunks/{worktree-c7rwyadp.js → file-retention-ksbsws88.js} +12 -12
- package/dist/chunks/{worktree-kt3bjfbg.js → file-retention-kt3bjfbg.js} +1 -1
- package/dist/chunks/{worktree-m1714858.js → file-retention-m1714858.js} +1 -1
- package/dist/chunks/{worktree-pf3rwkdy.js → file-retention-m37mrzs7.js} +10 -10
- package/dist/chunks/{worktree-m37sd98t.js → file-retention-m37sd98t.js} +1 -1
- package/dist/chunks/{worktree-wqtd6dn9.js → file-retention-m4qbnc51.js} +6 -6
- package/dist/chunks/{worktree-hcwqz2vp.js → file-retention-m5z5bky1.js} +27 -27
- package/dist/chunks/{worktree-sy9ykmfq.js → file-retention-m8d78p9r.js} +3 -3
- package/dist/chunks/{worktree-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-ns70zq6v.js → file-retention-ma8y8rx5.js} +6 -6
- package/dist/chunks/{worktree-7a3mcgk4.js → file-retention-mc71x809.js} +4 -4
- package/dist/chunks/{worktree-sre4ebqw.js → file-retention-mq7hpmjw.js} +4 -4
- package/dist/chunks/{worktree-z6j3zz1h.js → file-retention-mqr8efz6.js} +9 -9
- package/dist/chunks/{worktree-nqp32kgw.js → file-retention-mxhqtbmm.js} +12 -12
- package/dist/chunks/{worktree-vcccw22k.js → file-retention-mz3668s9.js} +20 -20
- package/dist/chunks/{worktree-nxbxez3p.js → file-retention-n4mbpr34.js} +52 -52
- package/dist/chunks/{worktree-7thfwj7f.js → file-retention-n4q7tcga.js} +19 -19
- package/dist/chunks/{worktree-nah043kf.js → file-retention-nah043kf.js} +1 -1
- package/dist/chunks/{worktree-snmd1rw9.js → file-retention-nbbcay66.js} +11 -11
- package/dist/chunks/{worktree-2dhrh792.js → file-retention-nd9x6dx5.js} +7 -7
- package/dist/chunks/{worktree-ey5667np.js → file-retention-nspspvnz.js} +20 -20
- package/dist/chunks/{worktree-vq1ppevj.js → file-retention-nwyfjcs7.js} +8 -8
- package/dist/chunks/{worktree-p015t6z3.js → file-retention-p015t6z3.js} +2 -2
- package/dist/chunks/{worktree-bgn2x603.js → file-retention-p2dy9dmh.js} +15 -15
- package/dist/chunks/file-retention-p44nm9sv.js +257 -0
- package/dist/chunks/{worktree-bds5er22.js → file-retention-pdbk0b84.js} +25 -25
- package/dist/chunks/{worktree-rxgbbj8k.js → file-retention-pg7tzw83.js} +22 -22
- package/dist/chunks/{worktree-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-9t2khtsw.js → file-retention-pnwsrq7c.js} +8 -8
- package/dist/chunks/{worktree-18z1h0b9.js → file-retention-pqz8f4xz.js} +11 -11
- package/dist/chunks/{worktree-48j5p4ar.js → file-retention-prdb4jtf.js} +15 -15
- package/dist/chunks/{worktree-3jb4p7sz.js → file-retention-ptdgs7e1.js} +14 -14
- package/dist/chunks/{worktree-n9qdtdvs.js → file-retention-pxsskgvr.js} +7 -7
- package/dist/chunks/{worktree-tyv518va.js → file-retention-q2a1qg4p.js} +5 -5
- package/dist/chunks/{worktree-yfwf0v7j.js → file-retention-qc86zz63.js} +5 -5
- package/dist/chunks/{worktree-vs44t7fa.js → file-retention-qerk2cbg.js} +12 -12
- package/dist/chunks/{worktree-0ngm2ts5.js → file-retention-qjdvspq8.js} +4 -4
- package/dist/chunks/{worktree-3kwhg78p.js → file-retention-qp0h8mz4.js} +37 -37
- package/dist/chunks/{worktree-qp7r0hxv.js → file-retention-qp7r0hxv.js} +1 -1
- package/dist/chunks/{worktree-xn6gceck.js → file-retention-qtgtdkvq.js} +8 -8
- package/dist/chunks/{worktree-h6qfzy2w.js → file-retention-qymv4vqy.js} +6 -6
- package/dist/chunks/{worktree-3escd5af.js → file-retention-qz7zdzmc.js} +9 -9
- package/dist/chunks/{worktree-r0yr0wbs.js → file-retention-r0yr0wbs.js} +1 -1
- package/dist/chunks/{worktree-r542h3bh.js → file-retention-r542h3bh.js} +1 -1
- package/dist/chunks/{worktree-m7fnv24s.js → file-retention-r67zf7b0.js} +42 -42
- package/dist/chunks/{worktree-txwj3gge.js → file-retention-r8c7z53f.js} +16 -16
- package/dist/chunks/{worktree-rb9dy4dg.js → file-retention-rb9dy4dg.js} +1 -1
- package/dist/chunks/{worktree-6twykydk.js → file-retention-rmt6m6se.js} +9 -9
- package/dist/chunks/{worktree-fz81h3y8.js → file-retention-rnnfdfqg.js} +25 -25
- package/dist/chunks/{worktree-rt5dr6hb.js → file-retention-rt5dr6hb.js} +1 -1
- package/dist/chunks/{worktree-wsr9qs6j.js → file-retention-ryddx2hx.js} +26 -26
- package/dist/chunks/{worktree-sa3fpqfw.js → file-retention-sa3fpqfw.js} +2 -2
- package/dist/chunks/{worktree-ysbey0jp.js → file-retention-saqfpqv7.js} +20 -20
- package/dist/chunks/file-retention-sd7aqspp.js +511 -0
- package/dist/chunks/{worktree-sqjzf8x2.js → file-retention-sqjzf8x2.js} +1 -1
- package/dist/chunks/{worktree-svcy3p9a.js → file-retention-svcy3p9a.js} +1 -1
- package/dist/chunks/{worktree-cfg92mm1.js → file-retention-t9vygg4h.js} +12 -12
- package/dist/chunks/{worktree-tczq8hjw.js → file-retention-tczq8hjw.js} +1 -1
- package/dist/chunks/{worktree-hzn7nsdm.js → file-retention-tpm8y58e.js} +42 -42
- package/dist/chunks/{worktree-66s7d1kd.js → file-retention-tv6nmqg6.js} +13 -13
- package/dist/chunks/{worktree-a2jfm1hx.js → file-retention-tvbcxp3f.js} +11 -11
- package/dist/chunks/{worktree-twssxy5n.js → file-retention-twssxy5n.js} +2 -2
- package/dist/chunks/{worktree-mhc61mdg.js → file-retention-tya21j9a.js} +30 -30
- package/dist/chunks/{worktree-tsv2z92f.js → file-retention-tzm99g9n.js} +11 -11
- package/dist/chunks/{worktree-v2r1d0zg.js → file-retention-v2r1d0zg.js} +1 -1
- package/dist/chunks/{worktree-21vhc8jx.js → file-retention-v5h34zxn.js} +6 -6
- package/dist/chunks/{worktree-9kf1aax8.js → file-retention-va65z9ez.js} +10 -10
- package/dist/chunks/{worktree-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-9409nsbj.js → file-retention-vfqzwbd6.js} +27 -27
- package/dist/chunks/{worktree-ex49bqgb.js → file-retention-vh7hpp0n.js} +11 -11
- package/dist/chunks/{worktree-5epte933.js → file-retention-vpm8vpz0.js} +2 -2
- package/dist/chunks/{worktree-7a6mw2zv.js → file-retention-vtftkppy.js} +32 -32
- package/dist/chunks/{worktree-bca42jyk.js → file-retention-w046pjj9.js} +16 -16
- package/dist/chunks/{worktree-1cwaa6j3.js → file-retention-w1ampmdn.js} +85 -85
- package/dist/chunks/{worktree-qtp439t2.js → file-retention-w1n8wyt0.js} +20 -20
- package/dist/chunks/{worktree-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-wr3re1en.js → file-retention-w687dnns.js} +4 -4
- package/dist/chunks/{worktree-w8qtt4th.js → file-retention-w8qtt4th.js} +1 -1
- package/dist/chunks/{worktree-jv4aastz.js → file-retention-w9g7809j.js} +11 -11
- package/dist/chunks/{worktree-wakvkjy4.js → file-retention-wakvkjy4.js} +1 -1
- package/dist/chunks/{worktree-dzb2begy.js → file-retention-wc3hvwsb.js} +23 -23
- package/dist/chunks/{worktree-8rgcjn3a.js → file-retention-wcjz4gw8.js} +15 -15
- package/dist/chunks/{worktree-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-4pgj6j2t.js → file-retention-wdj410na.js} +29 -29
- package/dist/chunks/{worktree-f5grfhzb.js → file-retention-wdx8z5j2.js} +8 -8
- package/dist/chunks/{worktree-1d5mc1c2.js → file-retention-wevd75am.js} +9 -9
- package/dist/chunks/{worktree-jbs867qq.js → file-retention-wmrfeaxa.js} +34 -34
- package/dist/chunks/{worktree-wnhgecwx.js → file-retention-wnhgecwx.js} +1 -1
- package/dist/chunks/{worktree-vmsmp5eq.js → file-retention-x08t3gav.js} +17 -17
- package/dist/chunks/{worktree-t5qvjzk2.js → file-retention-x38q2hx0.js} +19 -19
- package/dist/chunks/{worktree-c84tv7mg.js → file-retention-xaz3vqte.js} +4 -4
- package/dist/chunks/{worktree-3z9x6b48.js → file-retention-xdjf2s1h.js} +21 -21
- package/dist/chunks/{worktree-3ptmacdb.js → file-retention-xkjzrxhz.js} +17 -17
- package/dist/chunks/{worktree-g897beg1.js → file-retention-xm94g0fx.js} +188 -188
- package/dist/chunks/{worktree-cy84twbn.js → file-retention-xmt6n58z.js} +48 -48
- package/dist/chunks/{worktree-6dme9bqw.js → file-retention-xwfc5a9y.js} +22 -22
- package/dist/chunks/{worktree-yara3q77.js → file-retention-yara3q77.js} +2 -2
- package/dist/chunks/{worktree-yb20nhc3.js → file-retention-yb20nhc3.js} +1 -1
- package/dist/chunks/{worktree-ra6js1h8.js → file-retention-ydsespw1.js} +8 -8
- package/dist/chunks/{worktree-6gm26dnv.js → file-retention-yes5e36g.js} +15 -15
- package/dist/chunks/{worktree-vpzpgvq9.js → file-retention-yjq04dxh.js} +44 -44
- package/dist/chunks/{worktree-k9y3d0tp.js → file-retention-ymetyeqh.js} +11 -11
- package/dist/chunks/{worktree-nx6hk0ja.js → file-retention-ys5044sq.js} +1 -1
- package/dist/chunks/{worktree-5fmzxywh.js → file-retention-yztxn572.js} +4 -4
- package/dist/chunks/{worktree-1hraz18d.js → file-retention-z04zt6pc.js} +18 -18
- package/dist/chunks/{worktree-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-z38nccrw.js → file-retention-z38nccrw.js} +1 -1
- package/dist/chunks/{worktree-wsp5yfww.js → file-retention-z6te0x2y.js} +35 -35
- package/dist/chunks/{worktree-0n9fydpr.js → file-retention-z9rbxwes.js} +5 -5
- package/dist/chunks/{worktree-zgkm4kzm.js → file-retention-zgkm4kzm.js} +3 -3
- package/dist/chunks/{worktree-6z9ynqn9.js → file-retention-zhvf8v5k.js} +9 -9
- package/dist/chunks/{worktree-r18rdv8f.js → file-retention-zqfva1zy.js} +1 -1
- package/dist/chunks/{worktree-7d2a7xbs.js → file-retention-zw4pk1bw.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +219 -219
- 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 +128 -128
- 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 +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- 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 +122 -122
- 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 +122 -122
- 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 +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.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 +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -103
- 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 +100 -100
- 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 +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +110 -110
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +91 -91
- 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 +107 -107
- 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 +88 -88
- 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 +107 -107
- 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 +116 -116
- 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 +141 -141
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +108 -108
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +227 -227
- 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 +4 -4
- 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 +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +123 -123
- 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 +6 -6
- 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 +236 -236
- 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 +106 -106
- package/dist/reference/instructions.js +94 -94
- package/dist/reference.js +94 -94
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +103 -103
- 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 +5 -5
- 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 +188 -188
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +138 -138
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- 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 +170 -170
- 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 +1 -1
- 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 +221 -221
- 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 +7 -7
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +141 -141
- package/dist/skill.js +144 -144
- package/dist/snapshot.js +99 -99
- 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 +163 -163
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +156 -156
- package/dist/tool/plugin/grep.js +158 -158
- 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 +224 -224
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +224 -224
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +147 -147
- 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 +12 -12
- package/dist/types/model.d.ts +3 -13
- 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 +4 -4
- 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 +95 -95
- package/dist/voice.js +92 -92
- package/dist/websearch.js +90 -90
- 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 +86 -86
- 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 +108 -108
- package/package.json +8 -8
- package/dist/chunks/worktree-2bz716tq.js +0 -511
- package/dist/chunks/worktree-7gwz4hhv.js +0 -257
- package/dist/chunks/worktree-a610t88q.js +0 -18
- package/dist/chunks/worktree-kc53vfpk.js +0 -26
- /package/dist/chunks/{worktree-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1jakw16s.js → file-retention-1jakw16s.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4m86bj6y.js → file-retention-4m86bj6y.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-5w3e23ze.js → file-retention-5w3e23ze.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a058387c.js → file-retention-a058387c.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-beh6qq61.js → file-retention-beh6qq61.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cqv5kn06.js → file-retention-cqv5kn06.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fkpq3x5p.js → file-retention-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jwr30sdr.js → file-retention-jwr30sdr.js} +0 -0
- /package/dist/chunks/{worktree-jze0r7bz.js → file-retention-jze0r7bz.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-m18g726c.js → file-retention-m18g726c.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-ncqqe42p.js → file-retention-ncqqe42p.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-p71gwv9c.js → file-retention-p71gwv9c.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-4en8p6w3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-mq7hpmjw.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service75
|
|
11
|
+
} from "./file-retention-1bazgwy0.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID13,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-d0hcg7jd.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID12,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-z6te0x2y.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID11,
|
|
22
22
|
VariantID2,
|
|
23
23
|
Info21
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-retention-6pnx88k5.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-retention-yb20nhc3.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-retention-3nnrz6f6.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-retention-qymv4vqy.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID12.openai;
|
|
47
|
+
var integrationID = ID13.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -182,7 +182,7 @@ var ChatGPTPlugin2 = define({
|
|
|
182
182
|
id: "opencode.provider.chatgpt",
|
|
183
183
|
effect: Effect.fn(function* (ctx) {
|
|
184
184
|
const bus = yield* Service85;
|
|
185
|
-
const credentials = yield*
|
|
185
|
+
const credentials = yield* Service75;
|
|
186
186
|
const loading = Semaphore.makeUnsafe(1);
|
|
187
187
|
let chatgpt;
|
|
188
188
|
let source;
|
|
@@ -197,7 +197,7 @@ var ChatGPTPlugin2 = define({
|
|
|
197
197
|
yield* ctx.integration.transform((editor) => {
|
|
198
198
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
199
199
|
});
|
|
200
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
200
|
+
yield* Effect.forEach(yield* credentials.list(ID13.make("openai")), (entry) => {
|
|
201
201
|
const value = entry.value;
|
|
202
202
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
203
203
|
return Effect.void;
|
|
@@ -270,7 +270,7 @@ var ChatGPTPlugin2 = define({
|
|
|
270
270
|
}
|
|
271
271
|
});
|
|
272
272
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
273
|
-
yield* bus.subscribe(
|
|
273
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
274
274
|
})
|
|
275
275
|
});
|
|
276
276
|
function headers(app) {
|
|
@@ -327,7 +327,7 @@ function deriveModels2(remote, existing) {
|
|
|
327
327
|
const found = byID.get(model.modelID);
|
|
328
328
|
return found ? [deriveModel(found, model)] : [];
|
|
329
329
|
}),
|
|
330
|
-
...remote.filter((model) => !known.has(
|
|
330
|
+
...remote.filter((model) => !known.has(ID11.make(model.slug))).map((model) => deriveModel(model, Info21.default(ID12.openai, ID11.make(model.slug))))
|
|
331
331
|
];
|
|
332
332
|
}
|
|
333
333
|
function deriveModel(remote, previous) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/delete.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/environment/unavailable.ts
|
|
6
6
|
var exports_unavailable = {};
|
|
7
7
|
__export(exports_unavailable, {
|
|
8
8
|
EnvironmentUnavailable: () => exports_unavailable,
|
|
9
|
-
layer: () =>
|
|
9
|
+
layer: () => layer6,
|
|
10
10
|
spawner: () => spawner2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Layer, PlatformError } from "effect";
|
|
@@ -17,6 +17,6 @@ var spawner2 = make(() => Effect.fail(PlatformError.systemError({
|
|
|
17
17
|
method: "spawn",
|
|
18
18
|
description: "This location has no execution plane: no workspace is attached and the host cannot spawn processes"
|
|
19
19
|
})));
|
|
20
|
-
var
|
|
20
|
+
var layer6 = Layer.succeed(ChildProcessSpawner, spawner2);
|
|
21
21
|
|
|
22
|
-
export { spawner2,
|
|
22
|
+
export { spawner2, layer6, exports_unavailable };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service67
|
|
4
|
+
} from "./file-retention-r67zf7b0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service57
|
|
7
|
+
} from "./file-retention-fng6wk28.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-hpg1pkwy.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin13
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin13 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service67;
|
|
27
|
+
const output = yield* Service57;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin31 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin13, exports_tool_output };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service82,
|
|
6
|
+
node86
|
|
7
|
+
} from "./file-retention-858yc3fz.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service79,
|
|
10
|
+
node82
|
|
11
|
+
} from "./file-retention-257338nf.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
14
|
names4
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-w8qtt4th.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service78,
|
|
25
25
|
configured: () => configured10,
|
|
26
26
|
fffLayer: () => fffLayer2,
|
|
27
27
|
makeFffLayer: () => makeFffLayer2,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node81
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import path from "path";
|
|
@@ -33,7 +33,7 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Scope } from "effect
|
|
|
33
33
|
import { Fff } from "#fff";
|
|
34
34
|
import fuzzysort from "fuzzysort";
|
|
35
35
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
36
|
-
class
|
|
36
|
+
class Service78 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
37
37
|
}
|
|
38
38
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
39
39
|
function emptyIndex() {
|
|
@@ -52,9 +52,9 @@ function search(index, input) {
|
|
|
52
52
|
});
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
|
-
var ripgrepLayer = Layer.effect(
|
|
56
|
-
const location = yield*
|
|
57
|
-
const ripgrep = yield*
|
|
55
|
+
var ripgrepLayer = Layer.effect(Service78, Effect.gen(function* () {
|
|
56
|
+
const location = yield* Service82;
|
|
57
|
+
const ripgrep = yield* Service79;
|
|
58
58
|
const scope = yield* Scope.Scope;
|
|
59
59
|
const clock = yield* Clock.Clock;
|
|
60
60
|
const home = isHome2(location.directory);
|
|
@@ -99,7 +99,7 @@ var ripgrepLayer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
99
99
|
Deferred.doneUnsafe(attempt, exit);
|
|
100
100
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
101
101
|
});
|
|
102
|
-
return
|
|
102
|
+
return Service78.of({
|
|
103
103
|
find: (input) => Effect.gen(function* () {
|
|
104
104
|
yield* refresh;
|
|
105
105
|
return search(index, input);
|
|
@@ -119,8 +119,8 @@ function createPicker(create, directory) {
|
|
|
119
119
|
return { ok: false, error };
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
var makeFffLayer2 = (create) => Layer.effect(
|
|
123
|
-
const location = yield*
|
|
122
|
+
var makeFffLayer2 = (create) => Layer.effect(Service78, Effect.gen(function* () {
|
|
123
|
+
const location = yield* Service82;
|
|
124
124
|
let state;
|
|
125
125
|
yield* Effect.addFinalizer(() => Effect.sync(() => {
|
|
126
126
|
if (typeof state === "object" && state.result.ok)
|
|
@@ -152,7 +152,7 @@ var makeFffLayer2 = (create) => Layer.effect(Service67, Effect.gen(function* ()
|
|
|
152
152
|
}
|
|
153
153
|
return current.result.value;
|
|
154
154
|
});
|
|
155
|
-
return
|
|
155
|
+
return Service78.of({
|
|
156
156
|
find: (input) => Effect.gen(function* () {
|
|
157
157
|
const finder = yield* picker;
|
|
158
158
|
if (!finder)
|
|
@@ -200,7 +200,7 @@ var makeFffLayer2 = (create) => Layer.effect(Service67, Effect.gen(function* ()
|
|
|
200
200
|
}));
|
|
201
201
|
var fffLayer2 = makeFffLayer2(Fff.create);
|
|
202
202
|
var layer = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
203
|
-
const location = yield*
|
|
203
|
+
const location = yield* Service82;
|
|
204
204
|
if (location.workspaceID)
|
|
205
205
|
return ripgrepLayer;
|
|
206
206
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
@@ -208,8 +208,8 @@ var layer = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
|
208
208
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer;
|
|
209
209
|
}));
|
|
210
210
|
function configured10(options) {
|
|
211
|
-
return makeLocationNode({ service:
|
|
211
|
+
return makeLocationNode({ service: Service78, layer: layer(options), deps: [node86, node82] });
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var node81 = configured10();
|
|
214
214
|
|
|
215
|
-
export {
|
|
215
|
+
export { Service78, makeFffLayer2, fffLayer2, configured10, node81, exports_search };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./file-retention-858yc3fz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service67
|
|
9
|
+
} from "./file-retention-r67zf7b0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service15
|
|
12
|
+
} from "./file-retention-xdjf2s1h.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-hpg1pkwy.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin11
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin11 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const location = yield*
|
|
33
|
+
const config = yield* Service67;
|
|
34
|
+
const location = yield* Service82;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service15;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin33 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin11, exports_worktree };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getViewSelectedFieldsRuntime2,
|
|
3
3
|
orderSelectedFields2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-emrn6kk6.js";
|
|
5
5
|
|
|
6
6
|
// src/database/drizzle/sqlite-core/effect/select.ts
|
|
7
7
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-mq7hpmjw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service31,
|
|
7
|
+
node34
|
|
8
|
+
} from "./file-retention-n4mbpr34.js";
|
|
9
9
|
import {
|
|
10
10
|
isTextual2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-retention-4pyp9zr9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service63,
|
|
14
|
+
node66
|
|
15
|
+
} from "./file-retention-qp0h8mz4.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service61,
|
|
18
|
+
node64
|
|
19
|
+
} from "./file-retention-8p9z5v1r.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service57,
|
|
22
|
+
node60
|
|
23
|
+
} from "./file-retention-fng6wk28.js";
|
|
24
24
|
import {
|
|
25
25
|
MEDIA_MIMES2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-retention-6617bgsd.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/tool/mcp.ts
|
|
32
32
|
var exports_mcp3 = {};
|
|
33
33
|
__export(exports_mcp3, {
|
|
34
34
|
McpTool: () => exports_mcp3,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service30,
|
|
36
36
|
layer: () => layer12,
|
|
37
37
|
name: () => name14,
|
|
38
38
|
namespace: () => namespace2,
|
|
39
|
-
node: () =>
|
|
39
|
+
node: () => node33
|
|
40
40
|
});
|
|
41
41
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
42
42
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -47,14 +47,14 @@ var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown
|
|
|
47
47
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
48
48
|
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service30 extends Context.Service()("@opencode/McpTool") {
|
|
51
51
|
}
|
|
52
|
-
var layer12 = Layer.effect(
|
|
53
|
-
const mcp = yield*
|
|
54
|
-
const tools = yield*
|
|
52
|
+
var layer12 = Layer.effect(Service30, Effect.gen(function* () {
|
|
53
|
+
const mcp = yield* Service31;
|
|
54
|
+
const tools = yield* Service61;
|
|
55
55
|
const bus = yield* Service85;
|
|
56
|
-
const permission = yield*
|
|
57
|
-
const toolOutput = yield*
|
|
56
|
+
const permission = yield* Service63;
|
|
57
|
+
const toolOutput = yield* Service57;
|
|
58
58
|
const lock = Semaphore.makeUnsafe(1);
|
|
59
59
|
let discovered = [];
|
|
60
60
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -124,7 +124,7 @@ var layer12 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
124
124
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
125
125
|
const updates = yield* PubSub.subscribe(changes);
|
|
126
126
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
127
|
-
return
|
|
127
|
+
return Service30.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
128
128
|
}));
|
|
129
129
|
var toContent = Effect.fnUntraced(function* (part, toolOutput) {
|
|
130
130
|
if (part.type === "text")
|
|
@@ -144,10 +144,10 @@ ${bytes.toString("utf8")}` };
|
|
|
144
144
|
text: `[Binary resource ${label} (${part.mimeType}, ${bytes.byteLength} bytes) saved to ${file}]`
|
|
145
145
|
};
|
|
146
146
|
});
|
|
147
|
-
var
|
|
148
|
-
service:
|
|
147
|
+
var node33 = makeLocationNode({
|
|
148
|
+
service: Service30,
|
|
149
149
|
layer: layer12,
|
|
150
|
-
deps: [
|
|
150
|
+
deps: [node64, node34, node89, node66, node60]
|
|
151
151
|
});
|
|
152
152
|
|
|
153
|
-
export { namespace2, name14,
|
|
153
|
+
export { namespace2, name14, Service30, layer12, node33, exports_mcp3 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-z6te0x2y.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service70
|
|
6
|
+
} from "./file-retention-6pnx88k5.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin35,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -27,10 +27,10 @@ var gateways = new Set([
|
|
|
27
27
|
"@opencode/ai/providers/vercel-ai-gateway",
|
|
28
28
|
aisdk2("@ai-sdk/gateway")
|
|
29
29
|
]);
|
|
30
|
-
var
|
|
30
|
+
var Plugin35 = define({
|
|
31
31
|
id: "opencode.prompt.verbosity",
|
|
32
32
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
33
|
-
const models = yield*
|
|
33
|
+
const models = yield* Service70;
|
|
34
34
|
const hook = (event) => Effect.gen(function* () {
|
|
35
35
|
if (event.options.textVerbosity !== undefined)
|
|
36
36
|
return;
|
|
@@ -70,4 +70,4 @@ function openAIModelID(model) {
|
|
|
70
70
|
return id.slice("openai/".length);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Plugin35, exports_verbosity };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
MessageDecodeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-m4qbnc51.js";
|
|
7
7
|
import {
|
|
8
8
|
InitializationBlocked2,
|
|
9
9
|
read4
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-1kn6jdkn.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionMessageTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-gg8p9cgs.js";
|
|
14
14
|
import {
|
|
15
15
|
initial2,
|
|
16
16
|
preview3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-retention-5gyja307.js";
|
|
18
18
|
import {
|
|
19
19
|
User3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-fg9p65nk.js";
|
|
21
21
|
import {
|
|
22
22
|
hydrate2,
|
|
23
23
|
keepRefs2,
|
|
24
24
|
describe2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./file-retention-v5h34zxn.js";
|
|
26
26
|
import {
|
|
27
27
|
messageToText2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-retention-v2r1d0zg.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/history.ts
|
|
34
34
|
var exports_history = {};
|