@opencode/core 0.0.0-dev-19863 → 0.0.0-dev-19869
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{file-access-7nag52br.js → worktree-0787dcsh.js} +16 -16
- package/dist/chunks/{file-access-4fxenty0.js → worktree-0k4c1wrr.js} +18 -18
- package/dist/chunks/{file-access-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-access-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-access-80vay0ye.js → worktree-0w85qfcj.js} +8 -8
- package/dist/chunks/{file-access-2ehxpneg.js → worktree-11s59a84.js} +12 -12
- package/dist/chunks/{file-access-vykcaabf.js → worktree-1218kfkx.js} +6 -6
- package/dist/chunks/{file-access-fekv09bf.js → worktree-19x32724.js} +89 -89
- package/dist/chunks/{file-access-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-access-6br953sr.js → worktree-1mrwszqa.js} +4 -4
- package/dist/chunks/{file-access-nbbbac21.js → worktree-1rc4386p.js} +22 -22
- package/dist/chunks/{file-access-tr06x23f.js → worktree-1rk9t83t.js} +10 -10
- package/dist/chunks/{file-access-749gjf0k.js → worktree-1sqm6k0j.js} +3 -3
- package/dist/chunks/{file-access-1ygqh575.js → worktree-1ygqh575.js} +2 -2
- package/dist/chunks/{file-access-9z5eege9.js → worktree-218c6ez9.js} +9 -9
- package/dist/chunks/{file-access-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{file-access-2402vzrj.js → worktree-2402vzrj.js} +1 -1
- package/dist/chunks/{file-access-cg505evj.js → worktree-2463j9pj.js} +15 -15
- package/dist/chunks/{file-access-m8pm17pr.js → worktree-246ka326.js} +16 -16
- package/dist/chunks/{file-access-dkycemac.js → worktree-24ddpwsm.js} +13 -13
- package/dist/chunks/{file-access-g8mfynjh.js → worktree-28544jz8.js} +5 -5
- package/dist/chunks/{file-access-7rhez3ay.js → worktree-287pmr97.js} +13 -13
- package/dist/chunks/{file-access-990r0brb.js → worktree-28cf9raz.js} +43 -43
- package/dist/chunks/{file-access-z63w68vq.js → worktree-29x78va6.js} +6 -6
- package/dist/chunks/{file-access-gmdq7e7c.js → worktree-29xxxnfh.js} +16 -16
- package/dist/chunks/{file-access-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-access-xc4ptd00.js → worktree-2dwhn3my.js} +23 -23
- package/dist/chunks/{file-access-57ez7d0k.js → worktree-2w6fc0zt.js} +7 -7
- package/dist/chunks/{file-access-ymhwy2dz.js → worktree-34g626t1.js} +26 -26
- package/dist/chunks/{file-access-3801kdgp.js → worktree-3801kdgp.js} +2 -2
- package/dist/chunks/{file-access-73kdj4zj.js → worktree-3a83a0n4.js} +8 -8
- package/dist/chunks/{file-access-3t104818.js → worktree-3bpj6ceb.js} +11 -11
- package/dist/chunks/{file-access-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-access-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-access-myjzxhnr.js → worktree-3j8s7hm7.js} +7 -7
- package/dist/chunks/{file-access-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-access-6ngywp90.js → worktree-3t8frjm5.js} +4 -4
- package/dist/chunks/{file-access-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-access-c78bbtc9.js → worktree-3w2b2yj4.js} +5 -5
- package/dist/chunks/{file-access-8s8mxddj.js → worktree-3ythc6yv.js} +4 -4
- package/dist/chunks/{file-access-bjr5keq3.js → worktree-45fhr245.js} +22 -22
- package/dist/chunks/{file-access-ct4e4g17.js → worktree-49asqp28.js} +20 -20
- package/dist/chunks/{file-access-gg9g55xx.js → worktree-4jk0qxj4.js} +8 -8
- package/dist/chunks/{file-access-dmaq6vaq.js → worktree-4xkxc3t4.js} +12 -12
- package/dist/chunks/{file-access-9gea571p.js → worktree-51f5btjf.js} +6 -6
- package/dist/chunks/{file-access-gqx40acz.js → worktree-54ptgeb2.js} +26 -26
- package/dist/chunks/{file-access-f71ryja2.js → worktree-57a2pt8j.js} +11 -11
- package/dist/chunks/{file-access-y47hdg98.js → worktree-59km82at.js} +26 -26
- package/dist/chunks/{file-access-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{file-access-nhy1v657.js → worktree-5gczjwyk.js} +24 -24
- package/dist/chunks/{file-access-b09hzw3k.js → worktree-5nb2d01r.js} +2 -2
- package/dist/chunks/{file-access-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-access-9hn6k4tm.js → worktree-5xtgfte3.js} +8 -8
- package/dist/chunks/{file-access-76eeqvp0.js → worktree-64mbz47k.js} +6 -6
- package/dist/chunks/{file-access-669tq793.js → worktree-669tq793.js} +1 -1
- package/dist/chunks/{file-access-yw9d9gv0.js → worktree-6a90knky.js} +11 -11
- package/dist/chunks/{file-access-by699wbx.js → worktree-6d4vre1e.js} +33 -33
- package/dist/chunks/{file-access-587z1aba.js → worktree-6h7j3cy3.js} +57 -57
- package/dist/chunks/{file-access-p20b49vp.js → worktree-6hqwt1nw.js} +15 -15
- package/dist/chunks/{file-access-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-access-qwc1ntf4.js → worktree-6srgc5f7.js} +26 -26
- package/dist/chunks/{file-access-h2r7bbkd.js → worktree-6stnv1c0.js} +11 -11
- package/dist/chunks/{file-access-pjk7etnw.js → worktree-6tm94hss.js} +5 -5
- package/dist/chunks/worktree-6zs4aaxp.js +252 -0
- package/dist/chunks/{file-access-cfvwxf1e.js → worktree-6zwr9q5m.js} +53 -53
- package/dist/chunks/{file-access-zbt6ewdw.js → worktree-70eyy827.js} +16 -16
- package/dist/chunks/{file-access-ywtj6b3p.js → worktree-70x5mss4.js} +32 -32
- package/dist/chunks/{file-access-hcjxfz2r.js → worktree-71a6hfp5.js} +20 -20
- package/dist/chunks/{file-access-na55b3aj.js → worktree-75ah400z.js} +27 -27
- package/dist/chunks/{file-access-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-access-wargq46t.js → worktree-7k0xwvvh.js} +8 -8
- package/dist/chunks/{file-access-ymy3mzn4.js → worktree-7kdkzndg.js} +35 -35
- package/dist/chunks/{file-access-320sf96d.js → worktree-7kxej2em.js} +19 -19
- package/dist/chunks/{file-access-bqgqs8e0.js → worktree-7zsm68gg.js} +10 -10
- package/dist/chunks/{file-access-55bxwjz5.js → worktree-8b4cgdt8.js} +27 -27
- package/dist/chunks/{file-access-hs4q6rma.js → worktree-8d55p9gd.js} +43 -43
- package/dist/chunks/{file-access-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-access-cpzp4n4f.js → worktree-8dz1vcbc.js} +21 -21
- package/dist/chunks/{file-access-65amc4wc.js → worktree-8emwh38k.js} +17 -17
- package/dist/chunks/{file-access-dj2t23y0.js → worktree-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-access-qsm0cf7x.js → worktree-90wr37ay.js} +5 -5
- package/dist/chunks/{file-access-j81snqjq.js → worktree-9pj1d4f4.js} +33 -33
- package/dist/chunks/{file-access-hbffz1ak.js → worktree-9racvqph.js} +22 -26
- package/dist/chunks/{file-access-8dh3tjm7.js → worktree-9w5k7bqz.js} +5 -5
- package/dist/chunks/{file-access-zkhjfb6b.js → worktree-9ymcqn9e.js} +6 -6
- package/dist/chunks/{file-access-5c4hm403.js → worktree-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-access-7qdpe4cb.js → worktree-a881zpfh.js} +9 -9
- package/dist/chunks/{file-access-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{file-access-b9kgzdcb.js → worktree-agnb6b4y.js} +3 -3
- package/dist/chunks/{file-access-sgyk931h.js → worktree-am5t4rbj.js} +43 -43
- package/dist/chunks/{file-access-cjdw8dac.js → worktree-ank7hx1v.js} +18 -18
- package/dist/chunks/{file-access-v5dkyp31.js → worktree-at5d07az.js} +4 -4
- package/dist/chunks/{file-access-cv01vac5.js → worktree-aw0v1j7y.js} +7 -7
- package/dist/chunks/{file-access-4fqyk320.js → worktree-axxg5j10.js} +27 -27
- package/dist/chunks/{file-access-g64s1pw7.js → worktree-b0twfynp.js} +14 -14
- package/dist/chunks/{file-access-83whvwx3.js → worktree-b1wsctr3.js} +17 -17
- package/dist/chunks/{file-access-4cd0e9e2.js → worktree-b512ytgh.js} +3 -3
- package/dist/chunks/{file-access-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-access-fa4s9qj6.js → worktree-b6rq28qr.js} +5 -5
- package/dist/chunks/{file-access-x9mtwtp0.js → worktree-baasw9zs.js} +4 -4
- package/dist/chunks/{file-access-fab8hzt3.js → worktree-bajakh74.js} +4 -4
- package/dist/chunks/{file-access-msq0jde0.js → worktree-bccb6npm.js} +4 -4
- package/dist/chunks/worktree-bdmzhav8.js +26 -0
- package/dist/chunks/{file-access-753eeyv7.js → worktree-bjb9b4mn.js} +20 -20
- package/dist/chunks/{file-access-539f8y6e.js → worktree-bkcnheq0.js} +26 -26
- package/dist/chunks/{file-access-633q10n3.js → worktree-bmpcrrg0.js} +17 -17
- package/dist/chunks/{file-access-q2fxn82f.js → worktree-bmpepz07.js} +5 -5
- package/dist/chunks/{file-access-acgtajkt.js → worktree-bnw2aka3.js} +32 -32
- package/dist/chunks/{file-access-3e46v5sb.js → worktree-bs95t40t.js} +11 -11
- package/dist/chunks/{file-access-zvph5cmm.js → worktree-c4gmtxpm.js} +27 -27
- package/dist/chunks/{file-access-cpneeje0.js → worktree-c765mh8b.js} +8 -8
- package/dist/chunks/{file-access-f29kztmg.js → worktree-c7t7ttxe.js} +26 -26
- package/dist/chunks/{file-access-7bvyxnqv.js → worktree-ccmdabta.js} +3 -3
- package/dist/chunks/{file-access-m0jqrx5p.js → worktree-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-access-v9n4nm77.js → worktree-ckdz0ad0.js} +9 -9
- package/dist/chunks/{file-access-fgdyrx1e.js → worktree-cwn9cw75.js} +20 -20
- package/dist/chunks/{file-access-99sjx0yd.js → worktree-cy5zkmv9.js} +26 -26
- package/dist/chunks/{file-access-zrbnsv4e.js → worktree-cye10yf4.js} +15 -15
- package/dist/chunks/{file-access-j20k1wmq.js → worktree-czf046f0.js} +9 -9
- package/dist/chunks/{file-access-84b5617d.js → worktree-czys4tjs.js} +10 -10
- package/dist/chunks/worktree-d34gzn5d.js +326 -0
- package/dist/chunks/{file-access-vaxycq8g.js → worktree-de7zd4tj.js} +11 -11
- package/dist/chunks/{file-access-ajspsemm.js → worktree-dkgmj00c.js} +11 -11
- package/dist/chunks/{file-access-429753mr.js → worktree-dtfx1akz.js} +11 -11
- package/dist/chunks/{file-access-5qd3pb7m.js → worktree-e3qxr5gk.js} +2 -2
- package/dist/chunks/{file-access-4r3fv45v.js → worktree-e5fd240w.js} +8 -8
- package/dist/chunks/{file-access-nnbww75a.js → worktree-e6r8tc5b.js} +24 -24
- package/dist/chunks/{file-access-qb83d845.js → worktree-e982br48.js} +4 -4
- package/dist/chunks/{file-access-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-access-dycq19tv.js → worktree-efkf1zjd.js} +13 -13
- package/dist/chunks/{file-access-1bbkgx8g.js → worktree-eq1pz5kg.js} +3 -3
- package/dist/chunks/{file-access-erw5rpbs.js → worktree-erw5rpbs.js} +2 -2
- package/dist/chunks/{file-access-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-access-f6gdkqfj.js → worktree-exg3tbdv.js} +17 -17
- package/dist/chunks/{file-access-hdnk95c8.js → worktree-f828m53h.js} +2 -2
- package/dist/chunks/{file-access-x822bj3k.js → worktree-f9yrz0nb.js} +11 -11
- package/dist/chunks/{file-access-anf4g2xw.js → worktree-fc1cvdk9.js} +19 -19
- package/dist/chunks/{file-access-7dqw4kz8.js → worktree-fcrkznn8.js} +5 -5
- package/dist/chunks/{file-access-xk747vep.js → worktree-fhs97t90.js} +8 -8
- package/dist/chunks/{file-access-d6n1kzbs.js → worktree-fs0skkb3.js} +24 -24
- package/dist/chunks/{file-access-e6hmchc5.js → worktree-fvsyg6qk.js} +5 -5
- package/dist/chunks/{file-access-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-access-dnwybsw8.js → worktree-g0t6d1hq.js} +13 -13
- package/dist/chunks/{file-access-bb29ry6c.js → worktree-g3mn8s68.js} +2 -2
- package/dist/chunks/{file-access-aymn0ca3.js → worktree-g5x507wm.js} +176 -176
- package/dist/chunks/{file-access-5dkxrwgc.js → worktree-g8hymqtc.js} +29 -29
- package/dist/chunks/{file-access-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-access-c1bpz4ww.js → worktree-gjnhxr8h.js} +15 -15
- package/dist/chunks/{file-access-b91g9yem.js → worktree-gmkwjvek.js} +25 -25
- package/dist/chunks/{file-access-973t1awa.js → worktree-gna9rzrz.js} +11 -11
- package/dist/chunks/{file-access-73j3stez.js → worktree-gqyhxdpp.js} +23 -23
- package/dist/chunks/{file-access-8e2h7wda.js → worktree-gr3j20z5.js} +10 -10
- package/dist/chunks/{file-access-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-access-07xdjdg8.js → worktree-gxgynv4w.js} +20 -20
- package/dist/chunks/{file-access-z6as0dsg.js → worktree-h21m3h6n.js} +6 -6
- package/dist/chunks/{file-access-p789xr5w.js → worktree-h36ryfv7.js} +24 -24
- package/dist/chunks/{file-access-xkezg9v4.js → worktree-h51w75cp.js} +39 -39
- package/dist/chunks/{file-access-h6r3nrb9.js → worktree-h6r3nrb9.js} +1 -1
- package/dist/chunks/{file-access-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-access-d4we50a8.js → worktree-has2vgfm.js} +5 -5
- package/dist/chunks/{file-access-nzh1nzfe.js → worktree-hb7v7ywc.js} +7 -7
- package/dist/chunks/{file-access-e4kmf4qy.js → worktree-ht4gnk1k.js} +6 -6
- package/dist/chunks/worktree-ht5y0zrb.js +18 -0
- package/dist/chunks/{file-access-a694798e.js → worktree-j34dxvpb.js} +5 -5
- package/dist/chunks/{file-access-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{file-access-3mkra18j.js → worktree-jjm18tvm.js} +70 -70
- package/dist/chunks/{file-access-psbckgmn.js → worktree-jthyzkpc.js} +6 -6
- package/dist/chunks/{file-access-f73rjn58.js → worktree-jvf3yq6v.js} +4 -4
- package/dist/chunks/{file-access-c1gs3dh6.js → worktree-jyetza0x.js} +44 -44
- package/dist/chunks/{file-access-1vvm1q8g.js → worktree-jzrbce6w.js} +21 -25
- package/dist/chunks/{file-access-7vxmp99d.js → worktree-k5xfnnfv.js} +11 -11
- package/dist/chunks/{file-access-cdafskgp.js → worktree-k8zyetr0.js} +30 -30
- package/dist/chunks/{file-access-8jkn9f9x.js → worktree-kcyks54t.js} +8 -8
- package/dist/chunks/{file-access-3r15nznh.js → worktree-kt1vcyar.js} +14 -14
- package/dist/chunks/{file-access-hmdtv3hb.js → worktree-kvshrfkj.js} +1 -1
- package/dist/chunks/{file-access-hx57yszd.js → worktree-ky8bwrva.js} +12 -12
- package/dist/chunks/{file-access-2t5vnt8a.js → worktree-m1njnqbf.js} +5 -5
- package/dist/chunks/{file-access-m3fdjcah.js → worktree-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-access-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-access-5hrwwz9b.js → worktree-mgn7rzyp.js} +9 -9
- package/dist/chunks/{file-access-21mxbb5z.js → worktree-mkccyhb3.js} +8 -8
- package/dist/chunks/{file-access-tqxh9sy6.js → worktree-mpmcaacv.js} +10 -10
- package/dist/chunks/{file-access-ehm8cjhm.js → worktree-mtqf31pt.js} +10 -10
- package/dist/chunks/{file-access-bdqw341w.js → worktree-mwwsh29t.js} +9 -9
- package/dist/chunks/{file-access-j8zzr2am.js → worktree-n8c291r7.js} +4 -4
- package/dist/chunks/{file-access-6f0f4x0a.js → worktree-n9ktaep2.js} +11 -11
- package/dist/chunks/{file-access-b6ae6k6t.js → worktree-nm76w6gv.js} +14 -14
- package/dist/chunks/{file-access-8wtbgtx1.js → worktree-nrkjg2yg.js} +3 -3
- package/dist/chunks/{file-access-pykkax91.js → worktree-ns90ddce.js} +20 -20
- package/dist/chunks/{file-access-y6kaprky.js → worktree-nvkemvkp.js} +18 -18
- package/dist/chunks/{file-access-nzks3jc8.js → worktree-nzks3jc8.js} +3 -3
- package/dist/chunks/{file-access-p28j5sbe.js → worktree-p28j5sbe.js} +2 -2
- package/dist/chunks/{file-access-r55eyngd.js → worktree-p3d2pjj7.js} +24 -24
- package/dist/chunks/{file-access-qy4kp7rq.js → worktree-p3xeg7xc.js} +10 -10
- package/dist/chunks/{file-access-x343n0eb.js → worktree-pd15fgp8.js} +20 -20
- package/dist/chunks/{file-access-2k71kv7p.js → worktree-ph842b28.js} +4 -4
- package/dist/chunks/{file-access-pgd7th8y.js → worktree-pjgmd77a.js} +17 -17
- package/dist/chunks/{file-access-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-access-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{file-access-jk18z2h0.js → worktree-pvrysvhk.js} +47 -47
- package/dist/chunks/{file-access-8mp2c53x.js → worktree-q5ampng9.js} +44 -44
- package/dist/chunks/{file-access-6ra6d4eb.js → worktree-q60qjx67.js} +17 -17
- package/dist/chunks/{file-access-r5vpk0b1.js → worktree-qmwxv1vq.js} +4 -4
- package/dist/chunks/{file-access-57b9ws8p.js → worktree-qqeeq2t9.js} +4 -4
- package/dist/chunks/{file-access-w4arg62q.js → worktree-qqtwvk4z.js} +4 -4
- package/dist/chunks/{file-access-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{file-access-mh6swfa3.js → worktree-qxds82wp.js} +18 -18
- package/dist/chunks/{file-access-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-access-y6f0p4jw.js → worktree-rj6d5p5e.js} +3 -3
- package/dist/chunks/{file-access-pstg3rfm.js → worktree-ryt7pzqc.js} +1 -1
- package/dist/chunks/{file-access-r9t00hsy.js → worktree-s0agc963.js} +6 -6
- package/dist/chunks/{file-access-q77h0pfr.js → worktree-s197j8aa.js} +1 -1
- package/dist/chunks/{file-access-06pazpd1.js → worktree-s1pqek41.js} +10 -10
- package/dist/chunks/{file-access-yrznvahk.js → worktree-s4enseaf.js} +2 -2
- package/dist/chunks/{file-access-vnk9czdx.js → worktree-sbd1zx3a.js} +3 -3
- package/dist/chunks/{file-access-jf9anmv7.js → worktree-sjf3tctt.js} +12 -12
- package/dist/chunks/{file-access-w3x9v1nk.js → worktree-sm965ndy.js} +8 -8
- package/dist/chunks/{file-access-pecb0brz.js → worktree-sra9araw.js} +5 -5
- package/dist/chunks/{file-access-k6fwxkkf.js → worktree-sxnvhwv1.js} +9 -9
- package/dist/chunks/{file-access-hnxgzxxa.js → worktree-t0fn9gk0.js} +17 -17
- package/dist/chunks/{file-access-ed2prt79.js → worktree-t192gekf.js} +18 -18
- package/dist/chunks/{file-access-hqe9mxx7.js → worktree-t3jywk8f.js} +9 -9
- package/dist/chunks/{file-access-jw80jp6b.js → worktree-t51qk8jz.js} +21 -21
- package/dist/chunks/{file-access-rhjbct0v.js → worktree-t550f9t1.js} +4 -4
- package/dist/chunks/{file-access-3kd4kkpe.js → worktree-t9v9zp6z.js} +24 -24
- package/dist/chunks/{file-access-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-access-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-access-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{file-access-qbw71bk2.js → worktree-tj6nafm8.js} +4 -4
- package/dist/chunks/{file-access-wqbdqa8s.js → worktree-tjhrsaf7.js} +24 -24
- package/dist/chunks/{file-access-amt0nx1c.js → worktree-tnk6yr9e.js} +11 -11
- package/dist/chunks/{file-access-07z80f2r.js → worktree-tnp1bzfj.js} +38 -38
- package/dist/chunks/{file-access-ddbmfv8e.js → worktree-ttca00zt.js} +22 -22
- package/dist/chunks/{file-access-m0t09dx6.js → worktree-tvfyrrh0.js} +11 -11
- package/dist/chunks/{file-access-tvtrv512.js → worktree-tvtrv512.js} +1 -1
- package/dist/chunks/{file-access-71wn7kdp.js → worktree-vay95fzq.js} +19 -19
- package/dist/chunks/{file-access-8p86mmx1.js → worktree-vcxwaaxe.js} +41 -41
- package/dist/chunks/{file-access-t9zs3egg.js → worktree-ve4pfa0n.js} +4 -4
- package/dist/chunks/{file-access-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{file-access-xdbpqf0a.js → worktree-vm7xxkph.js} +47 -47
- package/dist/chunks/{file-access-tr6q4q7a.js → worktree-vtmgncrs.js} +296 -296
- package/dist/chunks/{file-access-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-access-f4kahraq.js → worktree-w16pgjcx.js} +30 -30
- package/dist/chunks/{file-access-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-access-e7fqda9w.js → worktree-w4sgba9p.js} +30 -30
- package/dist/chunks/{file-access-rdqmx1a9.js → worktree-w9wca7t8.js} +15 -15
- package/dist/chunks/{file-access-qzhf7ync.js → worktree-w9y6772s.js} +4 -4
- package/dist/chunks/{file-access-jjfctqnb.js → worktree-wbgjk9hv.js} +21 -21
- package/dist/chunks/{file-access-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{file-access-x5wzxpg9.js → worktree-wfsp5hpn.js} +15 -15
- package/dist/chunks/{file-access-11dqjexa.js → worktree-wk5z6jzv.js} +9 -9
- package/dist/chunks/{file-access-t68dv28a.js → worktree-wt5y36s4.js} +25 -25
- package/dist/chunks/{file-access-hp80zfgt.js → worktree-wxkrd8sq.js} +14 -14
- package/dist/chunks/{file-access-2b61h377.js → worktree-wxqxrmdn.js} +25 -25
- package/dist/chunks/{file-access-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-access-xw30s5m2.js → worktree-x7vm5fej.js} +18 -18
- package/dist/chunks/{file-access-e7rbx3sh.js → worktree-xbgsghrj.js} +15 -15
- package/dist/chunks/{file-access-hjc52t7v.js → worktree-xbp7gjm9.js} +12 -12
- package/dist/chunks/{file-access-s138ptrs.js → worktree-xgpk3fc4.js} +23 -23
- package/dist/chunks/{file-access-33kn07h9.js → worktree-xp0zd8np.js} +26 -26
- package/dist/chunks/{file-access-bwckxjxx.js → worktree-xp1ejmsr.js} +11 -11
- package/dist/chunks/{file-access-k99v8nfg.js → worktree-xsny6hxq.js} +15 -15
- package/dist/chunks/{file-access-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-access-zbcka3qa.js → worktree-y23sf9zr.js} +5 -5
- package/dist/chunks/{file-access-nvyr67dc.js → worktree-y3eyw53f.js} +4 -4
- package/dist/chunks/{file-access-984xje6x.js → worktree-y6a4cmqh.js} +9 -9
- package/dist/chunks/{file-access-dpkg50ah.js → worktree-y71avatq.js} +4 -4
- package/dist/chunks/{file-access-w66yan3f.js → worktree-yasnnz0a.js} +24 -24
- package/dist/chunks/{file-access-32dd2556.js → worktree-yfaww8xg.js} +11 -11
- package/dist/chunks/{file-access-1acjjqhc.js → worktree-yp2x3t23.js} +4 -4
- package/dist/chunks/{file-access-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-access-fyfy8w34.js → worktree-yrmashwv.js} +92 -91
- package/dist/chunks/{file-access-50ta80k7.js → worktree-yy256scs.js} +33 -33
- package/dist/chunks/{file-access-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-access-qs81an5k.js → worktree-z1y70ee3.js} +10 -10
- package/dist/chunks/{file-access-ghfx7cxe.js → worktree-z8j5hfwf.js} +6 -6
- package/dist/chunks/{file-access-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-access-0qthdtb2.js → worktree-zjp9qjhq.js} +38 -38
- package/dist/chunks/{file-access-3tq5qxbk.js → worktree-zqx8wcya.js} +6 -6
- package/dist/chunks/{file-access-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-access-g7tjr95a.js → worktree-zvffvgzw.js} +7 -7
- package/dist/chunks/{file-access-sr7sk3ee.js → worktree-zxj82hcj.js} +31 -31
- package/dist/chunks/{file-access-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- 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 +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +100 -100
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +97 -97
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/compaction.js +130 -130
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +2 -2
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +96 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +92 -92
- 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 +126 -126
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/types/mcp/instructions.d.ts +3 -2
- package/dist/types/skill/instructions.d.ts +3 -2
- package/dist/types/skill.d.ts +2 -2
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/file-access-76fbbr1w.js +0 -326
- package/dist/chunks/file-access-7wwxh8rt.js +0 -252
- package/dist/chunks/file-access-dxj72tfx.js +0 -18
- package/dist/chunks/file-access-w7r2hqeb.js +0 -26
- /package/dist/chunks/{file-access-0mesazry.js → worktree-0mesazry.js} +0 -0
- /package/dist/chunks/{file-access-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-access-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-access-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-access-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-access-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-access-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-access-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-access-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-access-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-access-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-access-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{file-access-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-access-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-access-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-access-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-access-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-access-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-access-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-access-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{file-access-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-access-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{file-access-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-access-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-access-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{file-access-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-access-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-access-922hggd3.js → worktree-922hggd3.js} +0 -0
- /package/dist/chunks/{file-access-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-access-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-access-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-access-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-access-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-access-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-access-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-access-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-access-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-access-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-access-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-access-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-access-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-access-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-access-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-access-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{file-access-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-access-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-access-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-access-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-access-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-access-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-access-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-access-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-access-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-access-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-access-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-access-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-access-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{file-access-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-access-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{file-access-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-access-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{file-access-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-access-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-access-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-access-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-access-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-access-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-access-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-access-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-access-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-access-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-access-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-access-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-access-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-access-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-access-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-access-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-access-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-access-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-access-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-access-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-access-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-access-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-access-twg0f83k.js → worktree-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-access-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-access-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-access-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-access-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-access-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-access-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{file-access-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-access-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-access-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-access-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-access-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-access-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-t51qk8jz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info17
|
|
9
|
+
} from "./worktree-6stnv1c0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info19
|
|
12
|
+
} from "./worktree-3w2b2yj4.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info24
|
|
15
|
+
} from "./worktree-at5d07az.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info21
|
|
18
|
+
} from "./worktree-sra9araw.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-fcrkznn8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info25
|
|
24
|
+
} from "./worktree-fvsyg6qk.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info16
|
|
27
|
+
} from "./worktree-8d55p9gd.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./worktree-w9y6772s.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./worktree-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info16.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info19, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info24, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info17, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info17, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info21, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info25, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-qxds82wp.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-b512ytgh.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-e982br48.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./worktree-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./worktree-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event18,
|
|
24
24
|
ID: () => ID15,
|
|
25
|
-
Info: () =>
|
|
25
|
+
Info: () => Info31,
|
|
26
26
|
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service74,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node78
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
@@ -38,9 +38,9 @@ var ID15 = Credential.ID;
|
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event18 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Info31 extends Schema.Class("Credential.Info")({
|
|
44
44
|
id: ID15,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
@@ -48,16 +48,16 @@ class Info30 extends Schema.Class("Credential.Info")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service74 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service83).db;
|
|
55
55
|
const bus = yield* Service82;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info31({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service74.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,7 +76,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
79
|
+
const credential = new Info31({
|
|
80
80
|
id: ID15.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node78 = makeGlobalNode({ service: Service74, layer, deps: [node87, node86] });
|
|
197
197
|
|
|
198
|
-
export { ID15, OAuth3, Key4, Value2,
|
|
198
|
+
export { ID15, OAuth3, Key4, Value2, Event18, Info31, Service74, node78, exports_credential };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-rj6d5p5e.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-y6a4cmqh.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-t550f9t1.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./worktree-a1bz86dw.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./worktree-bajakh74.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./worktree-bccb6npm.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./worktree-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load4,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-b512ytgh.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./worktree-e982br48.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service48,
|
|
11
|
+
node50
|
|
12
|
+
} from "./worktree-8emwh38k.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service44,
|
|
15
|
+
node46
|
|
16
|
+
} from "./worktree-51f5btjf.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make16
|
|
22
|
+
} from "./worktree-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service42
|
|
26
|
+
} from "./worktree-jvf3yq6v.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./worktree-y6a4cmqh.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service58,
|
|
32
|
+
node61
|
|
33
|
+
} from "./worktree-246ka326.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./worktree-1mrwszqa.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./worktree-yasnnz0a.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./worktree-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service41,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
51
|
-
noopLayer: () =>
|
|
49
|
+
layer: () => layer17,
|
|
50
|
+
node: () => node44,
|
|
51
|
+
noopLayer: () => noopLayer3,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service41 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
68
|
+
var layer17 = Layer.effect(Service41, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service58;
|
|
70
|
+
const instances = yield* Service44;
|
|
71
71
|
const bus = yield* Service82;
|
|
72
|
-
const jobs = yield*
|
|
72
|
+
const jobs = yield* Service48;
|
|
73
73
|
const db = (yield* Service83).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -82,14 +82,14 @@ var layer21 = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service42.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
89
89
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
90
90
|
});
|
|
91
91
|
});
|
|
92
|
-
const coordinator = yield*
|
|
92
|
+
const coordinator = yield* make16({
|
|
93
93
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
94
94
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
95
95
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -110,7 +110,7 @@ var layer21 = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
110
110
|
}, releaseOnCommit(sessionID));
|
|
111
111
|
}))
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service41.of({
|
|
114
114
|
active: coordinator.active,
|
|
115
115
|
isActive: coordinator.isActive,
|
|
116
116
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -129,12 +129,12 @@ var layer21 = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
129
129
|
awaitIdle: coordinator.awaitIdle
|
|
130
130
|
});
|
|
131
131
|
}));
|
|
132
|
-
var
|
|
133
|
-
service:
|
|
134
|
-
layer:
|
|
135
|
-
deps: [
|
|
132
|
+
var node44 = makeGlobalNode({
|
|
133
|
+
service: Service41,
|
|
134
|
+
layer: layer17,
|
|
135
|
+
deps: [node61, node46, node86, node87, node50]
|
|
136
136
|
});
|
|
137
|
-
var
|
|
137
|
+
var noopLayer3 = Layer.succeed(Service41, Service41.of({
|
|
138
138
|
active: Effect.succeed(new Set),
|
|
139
139
|
isActive: () => Effect.succeed(false),
|
|
140
140
|
resume: () => Effect.void,
|
|
@@ -143,4 +143,4 @@ var noopLayer2 = Layer.succeed(Service56, Service56.of({
|
|
|
143
143
|
awaitIdle: () => Effect.void
|
|
144
144
|
}));
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { Service41, terminal2, layer17, node44, noopLayer3, exports_execution };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./worktree-6h7j3cy3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID5,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service40
|
|
10
|
+
} from "./worktree-gqyhxdpp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill3 = {};
|
|
17
17
|
__export(exports_skill3, {
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
18
|
+
Input: () => Input2,
|
|
19
|
+
Output: () => Output2,
|
|
20
|
+
Plugin: () => Plugin38,
|
|
21
21
|
SkillTool: () => exports_skill3,
|
|
22
22
|
description: () => description2,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name2,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name2 = "skill";
|
|
30
|
+
var Input2 = Schema.Struct({
|
|
31
|
+
id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output2 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
@@ -43,25 +43,25 @@ var description2 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin38 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service40;
|
|
51
|
+
const permission = yield* Service56;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name2,
|
|
54
54
|
options: { codemode: false },
|
|
55
55
|
description: description2,
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
56
|
+
input: Input2,
|
|
57
|
+
output: Output2,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name2,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin37 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name2, Input2, Output2, description2, toModelOutput2, Plugin38, exports_skill3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service33,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node36
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service33 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -360,11 +360,11 @@ var makeLayer2 = (connector) => Layer.effect(Service41, Effect.gen(function* ()
|
|
|
360
360
|
}, { discard: true });
|
|
361
361
|
});
|
|
362
362
|
yield* Effect.addFinalizer(() => closeAll);
|
|
363
|
-
return
|
|
363
|
+
return Service33.of({ bind, close, closeAll });
|
|
364
364
|
}));
|
|
365
|
-
var
|
|
365
|
+
var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
366
366
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
367
367
|
})));
|
|
368
|
-
var
|
|
368
|
+
var node36 = makeGlobalNode({ service: Service33, layer: layer14, deps: [webSocketConstructor2] });
|
|
369
369
|
|
|
370
|
-
export {
|
|
370
|
+
export { Service33, makeLayer2, layer14, node36, exports_model_transport };
|