@opencode/core 0.0.0-dev-19995 → 0.0.0-dev-19996
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/instruction-discovery-04hxy07f.js +503 -0
- package/dist/chunks/{event-logger-rfz948x8.js → instruction-discovery-09mc3296.js} +6 -6
- package/dist/chunks/{event-logger-3d8yq8v2.js → instruction-discovery-0a6azg2e.js} +41 -41
- package/dist/chunks/{event-logger-3pt4dhyb.js → instruction-discovery-0hagtbv7.js} +7 -7
- package/dist/chunks/instruction-discovery-0mesazry.js +4 -0
- package/dist/chunks/{event-logger-0paq2nw3.js → instruction-discovery-0paq2nw3.js} +1 -1
- package/dist/chunks/{event-logger-0q0f95c6.js → instruction-discovery-0q0f95c6.js} +1 -1
- package/dist/chunks/{event-logger-22km69g0.js → instruction-discovery-0w62qmxp.js} +8 -8
- package/dist/chunks/{event-logger-63zxpw7x.js → instruction-discovery-0xrqra36.js} +11 -11
- package/dist/chunks/{event-logger-aehm52e9.js → instruction-discovery-160eg20p.js} +25 -25
- package/dist/chunks/{event-logger-1acjjqhc.js → instruction-discovery-1acjjqhc.js} +1 -1
- package/dist/chunks/{event-logger-1dazxqgg.js → instruction-discovery-1dazxqgg.js} +2 -2
- package/dist/chunks/{event-logger-h304gee5.js → instruction-discovery-1fp4wcab.js} +18 -18
- package/dist/chunks/{event-logger-n2gg5p8t.js → instruction-discovery-1h03kfwc.js} +40 -40
- package/dist/chunks/{event-logger-05zq6f59.js → instruction-discovery-1yv1a62b.js} +17 -17
- package/dist/chunks/{event-logger-cna5mhkg.js → instruction-discovery-1zckm8jh.js} +24 -24
- package/dist/chunks/{event-logger-21r38tys.js → instruction-discovery-21r38tys.js} +1 -1
- package/dist/chunks/{event-logger-2402vzrj.js → instruction-discovery-2402vzrj.js} +1 -1
- package/dist/chunks/{event-logger-2a5m3afh.js → instruction-discovery-2a5m3afh.js} +1 -1
- package/dist/chunks/{event-logger-6cztnhhd.js → instruction-discovery-2aq7ecr3.js} +10 -10
- package/dist/chunks/{event-logger-tmdm8nhe.js → instruction-discovery-2dt7wr4s.js} +16 -16
- package/dist/chunks/{event-logger-h6xepb87.js → instruction-discovery-2gkn9qbw.js} +7 -7
- package/dist/chunks/{event-logger-5byqfvby.js → instruction-discovery-2kxk86ay.js} +23 -23
- package/dist/chunks/{event-logger-56gdpj1q.js → instruction-discovery-33w4ejhs.js} +6 -6
- package/dist/chunks/{event-logger-0s976vq3.js → instruction-discovery-35a9k02a.js} +19 -19
- package/dist/chunks/{event-logger-29y626x8.js → instruction-discovery-35vbf9tc.js} +11 -11
- package/dist/chunks/{event-logger-j33cj7c0.js → instruction-discovery-361b9f49.js} +11 -11
- package/dist/chunks/{event-logger-s89ehdyp.js → instruction-discovery-371kvkjf.js} +28 -28
- package/dist/chunks/{event-logger-b7b4ctej.js → instruction-discovery-3bc8czyk.js} +5 -5
- package/dist/chunks/{event-logger-x383x7h2.js → instruction-discovery-3daw6e4n.js} +11 -11
- package/dist/chunks/{event-logger-tcyr2mjb.js → instruction-discovery-3f0yr7fv.js} +17 -17
- package/dist/chunks/{event-logger-3fc6dm20.js → instruction-discovery-3fc6dm20.js} +1 -1
- package/dist/chunks/{event-logger-3hepkmqq.js → instruction-discovery-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-3smtnn6g.js → instruction-discovery-3smtnn6g.js} +1 -1
- package/dist/chunks/{event-logger-3tvqynh2.js → instruction-discovery-3tvqynh2.js} +1 -1
- package/dist/chunks/{event-logger-tn0aqsam.js → instruction-discovery-3w2b2yj4.js} +5 -5
- package/dist/chunks/{event-logger-erhakd9y.js → instruction-discovery-43kbj8b8.js} +29 -29
- package/dist/chunks/{event-logger-h6r3nrb9.js → instruction-discovery-44h5tttr.js} +4 -4
- package/dist/chunks/{event-logger-k9kj6xed.js → instruction-discovery-44ke2mar.js} +6 -6
- package/dist/chunks/{event-logger-v4ck12m0.js → instruction-discovery-473ftn0x.js} +11 -11
- package/dist/chunks/{event-logger-qc9cscmv.js → instruction-discovery-4ernrsx0.js} +94 -94
- package/dist/chunks/{event-logger-qq78z515.js → instruction-discovery-4f2w252g.js} +13 -13
- package/dist/chunks/{event-logger-eydrgtxh.js → instruction-discovery-4fp7zs02.js} +12 -12
- package/dist/chunks/{event-logger-wzz0kxab.js → instruction-discovery-4gycnsfp.js} +9 -9
- package/dist/chunks/{event-logger-kh4f7xrt.js → instruction-discovery-4hkj21w9.js} +29 -29
- package/dist/chunks/{event-logger-2bvs29qf.js → instruction-discovery-4tc1hqha.js} +26 -26
- package/dist/chunks/{event-logger-mjymc32g.js → instruction-discovery-50mzsvk4.js} +4 -4
- package/dist/chunks/{event-logger-qjnxxf51.js → instruction-discovery-510m7gjw.js} +5 -5
- package/dist/chunks/{event-logger-w6gc61s9.js → instruction-discovery-59d1t1kc.js} +11 -11
- package/dist/chunks/{event-logger-8hb4xbhy.js → instruction-discovery-5cd0sxeq.js} +23 -23
- package/dist/chunks/{event-logger-5daktx2q.js → instruction-discovery-5daktx2q.js} +1 -1
- package/dist/chunks/{event-logger-5ekn9679.js → instruction-discovery-5ekn9679.js} +1 -1
- package/dist/chunks/{event-logger-03y4ksfc.js → instruction-discovery-5nxd8dws.js} +32 -32
- package/dist/chunks/{event-logger-9b5kt93f.js → instruction-discovery-5sp2y267.js} +11 -11
- package/dist/chunks/{event-logger-5t3nmthw.js → instruction-discovery-5t3nmthw.js} +2 -2
- package/dist/chunks/{event-logger-y0v406da.js → instruction-discovery-5w0cxjq0.js} +6 -6
- package/dist/chunks/{event-logger-zc733s3z.js → instruction-discovery-5x7tnjhw.js} +3 -3
- package/dist/chunks/{event-logger-cmwkp3r5.js → instruction-discovery-5xtgfte3.js} +8 -8
- package/dist/chunks/{event-logger-669tq793.js → instruction-discovery-669tq793.js} +1 -1
- package/dist/chunks/{event-logger-wp991nc2.js → instruction-discovery-680db922.js} +12 -12
- package/dist/chunks/{event-logger-yjrjdv4d.js → instruction-discovery-6h1myzs3.js} +20 -20
- package/dist/chunks/{event-logger-6msgmcgs.js → instruction-discovery-6msgmcgs.js} +1 -1
- package/dist/chunks/{event-logger-s9h2g6by.js → instruction-discovery-74y2pqnj.js} +7 -7
- package/dist/chunks/{event-logger-7bmhse3q.js → instruction-discovery-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-0jwsre1p.js → instruction-discovery-7dqw4kz8.js} +5 -5
- package/dist/chunks/{event-logger-9aj2ewm7.js → instruction-discovery-7fns08e8.js} +37 -37
- package/dist/chunks/{event-logger-zc6f29a8.js → instruction-discovery-7h64qcjn.js} +11 -11
- package/dist/chunks/{event-logger-yvvvp4gn.js → instruction-discovery-7j2qha59.js} +8 -8
- package/dist/chunks/{event-logger-syzk9dn2.js → instruction-discovery-7q27d8ak.js} +12 -12
- package/dist/chunks/{event-logger-kxy3zzmf.js → instruction-discovery-80az21bw.js} +4 -4
- package/dist/chunks/{event-logger-evxjfsf1.js → instruction-discovery-80vnhx64.js} +33 -33
- package/dist/chunks/{event-logger-kfyt32eg.js → instruction-discovery-87ryhpkm.js} +44 -44
- package/dist/chunks/instruction-discovery-8cfmw7g8.js +26 -0
- package/dist/chunks/{event-logger-8d7r5vzw.js → instruction-discovery-8d7r5vzw.js} +1 -1
- package/dist/chunks/{event-logger-mhvcgc0n.js → instruction-discovery-8hvkh9qd.js} +26 -26
- package/dist/chunks/{event-logger-c83phvx3.js → instruction-discovery-8jx8k6qg.js} +7 -7
- package/dist/chunks/{event-logger-dj2t23y0.js → instruction-discovery-8p4f9s12.js} +2 -2
- package/dist/chunks/{event-logger-zs2egq8y.js → instruction-discovery-8s5eshva.js} +2 -2
- package/dist/chunks/{event-logger-fzb6eg2k.js → instruction-discovery-8t3r44sf.js} +5 -5
- package/dist/chunks/{event-logger-x9zc6e4m.js → instruction-discovery-9hs7fs45.js} +3 -3
- package/dist/chunks/{event-logger-cnkdetzb.js → instruction-discovery-9v27psqe.js} +22 -22
- package/dist/chunks/{event-logger-5c4hm403.js → instruction-discovery-a1bz86dw.js} +3 -3
- package/dist/chunks/{event-logger-1aarw4wd.js → instruction-discovery-a2jb2751.js} +30 -30
- package/dist/chunks/{event-logger-aaet6srn.js → instruction-discovery-aaet6srn.js} +2 -2
- package/dist/chunks/{event-logger-57ez7d0k.js → instruction-discovery-aamtrqep.js} +9 -9
- package/dist/chunks/{event-logger-e4g6rnfs.js → instruction-discovery-ajzsbz6h.js} +9 -9
- package/dist/chunks/{event-logger-q89ms4w2.js → instruction-discovery-ap1tgj32.js} +15 -15
- package/dist/chunks/{event-logger-sbev2xd4.js → instruction-discovery-asznntn8.js} +22 -22
- package/dist/chunks/{event-logger-j5vdtgek.js → instruction-discovery-b1ek0wtw.js} +4 -4
- package/dist/chunks/{event-logger-svenvbs2.js → instruction-discovery-b4nfcdv5.js} +15 -15
- package/dist/chunks/{event-logger-b6gygkdw.js → instruction-discovery-b6gygkdw.js} +2 -2
- package/dist/chunks/{event-logger-kkjk0k92.js → instruction-discovery-b8bvc04a.js} +1 -1
- package/dist/chunks/{event-logger-f8mrt3yx.js → instruction-discovery-bbxr6jw3.js} +46 -46
- package/dist/chunks/{event-logger-j83byb14.js → instruction-discovery-bct739vz.js} +4 -4
- package/dist/chunks/{event-logger-xz4b9fm1.js → instruction-discovery-bd8btjtc.js} +11 -11
- package/dist/chunks/{event-logger-mwaasxsj.js → instruction-discovery-bkskqsty.js} +11 -11
- package/dist/chunks/{event-logger-t2c2xhgk.js → instruction-discovery-bm1prq2q.js} +5 -5
- package/dist/chunks/{event-logger-2gjby33x.js → instruction-discovery-bn0g70r0.js} +30 -30
- package/dist/chunks/{event-logger-9m2wgq44.js → instruction-discovery-bnvayccf.js} +9 -9
- package/dist/chunks/{event-logger-vnqs7r77.js → instruction-discovery-bq1752a3.js} +28 -28
- package/dist/chunks/{event-logger-gjdnp5j1.js → instruction-discovery-bvx85a4w.js} +1 -1
- package/dist/chunks/{event-logger-3q6gaar1.js → instruction-discovery-c49f7yek.js} +9 -9
- package/dist/chunks/{event-logger-a3j10mfs.js → instruction-discovery-ca8qvqpq.js} +15 -15
- package/dist/chunks/{event-logger-xcwej3ej.js → instruction-discovery-cbany252.js} +11 -11
- package/dist/chunks/{event-logger-m0jqrx5p.js → instruction-discovery-cfpkc3c9.js} +2 -2
- package/dist/chunks/{event-logger-zav06jzw.js → instruction-discovery-ckf8nxjz.js} +4 -4
- package/dist/chunks/{event-logger-1qd6ctcj.js → instruction-discovery-cr59q9qa.js} +4 -4
- package/dist/chunks/{event-logger-4mqqaehj.js → instruction-discovery-ctak4ngs.js} +6 -6
- package/dist/chunks/{event-logger-0jcgjgb0.js → instruction-discovery-ctq3xf59.js} +47 -47
- package/dist/chunks/{event-logger-c765mh8b.js → instruction-discovery-cwa6csj7.js} +9 -9
- package/dist/chunks/{event-logger-p44d8wdy.js → instruction-discovery-d2aac7k2.js} +5 -5
- package/dist/chunks/{event-logger-jmdk0q61.js → instruction-discovery-d5b773r5.js} +66 -66
- package/dist/chunks/{event-logger-k6p1ynt8.js → instruction-discovery-d6g71415.js} +21 -21
- package/dist/chunks/{event-logger-xsgk3b13.js → instruction-discovery-d737nyfv.js} +9 -9
- package/dist/chunks/{event-logger-5t8sa872.js → instruction-discovery-d89ah0rb.js} +30 -30
- package/dist/chunks/{event-logger-rvhy2x5j.js → instruction-discovery-dbgp4r1w.js} +33 -33
- package/dist/chunks/{event-logger-w2dp7ehs.js → instruction-discovery-dd9zjddp.js} +13 -13
- package/dist/chunks/{event-logger-fqcgpcra.js → instruction-discovery-depwzj9d.js} +9 -9
- package/dist/chunks/{event-logger-wpn6b2y7.js → instruction-discovery-dgt1m6jj.js} +24 -24
- package/dist/chunks/{event-logger-6t38r8tw.js → instruction-discovery-dhst5bzj.js} +20 -20
- package/dist/chunks/{event-logger-m9jeb0dg.js → instruction-discovery-dj5cbr0h.js} +28 -28
- package/dist/chunks/{event-logger-k6yq57aq.js → instruction-discovery-dm1py9b3.js} +3 -3
- package/dist/chunks/{event-logger-cpy6gm2a.js → instruction-discovery-e6hd9jay.js} +6 -6
- package/dist/chunks/{event-logger-z31xfknp.js → instruction-discovery-eesx3r1b.js} +20 -20
- package/dist/chunks/{event-logger-ef5x83kb.js → instruction-discovery-ef5x83kb.js} +1 -1
- package/dist/chunks/{event-logger-623f9wzm.js → instruction-discovery-enwy0czq.js} +32 -32
- package/dist/chunks/{event-logger-vqrb12cs.js → instruction-discovery-epkzn4tn.js} +55 -55
- package/dist/chunks/{event-logger-h896pcm5.js → instruction-discovery-eqkxs06z.js} +6 -6
- package/dist/chunks/{event-logger-erw5rpbs.js → instruction-discovery-erw5rpbs.js} +2 -2
- package/dist/chunks/{event-logger-ng0pqa5s.js → instruction-discovery-eth0681n.js} +16 -16
- package/dist/chunks/{event-logger-etq0c3wd.js → instruction-discovery-etq0c3wd.js} +1 -1
- package/dist/chunks/{event-logger-p6dvmy6m.js → instruction-discovery-ex0ne5y8.js} +5 -5
- package/dist/chunks/{event-logger-hdnk95c8.js → instruction-discovery-f828m53h.js} +2 -2
- package/dist/chunks/{event-logger-v0rpwjyq.js → instruction-discovery-fck4aavc.js} +14 -14
- package/dist/chunks/{event-logger-1sm4aczp.js → instruction-discovery-ff6mr1mq.js} +9 -9
- package/dist/chunks/{event-logger-c27esgm9.js → instruction-discovery-fqtvmpfq.js} +8 -8
- package/dist/chunks/{event-logger-fjvrebxd.js → instruction-discovery-fqzyqcjh.js} +22 -22
- package/dist/chunks/{event-logger-m2tgckte.js → instruction-discovery-fxbvhs05.js} +27 -27
- package/dist/chunks/{event-logger-04t6yav5.js → instruction-discovery-fy1gvxag.js} +62 -62
- package/dist/chunks/{event-logger-7xyrrtj6.js → instruction-discovery-fyjp43ss.js} +5 -5
- package/dist/chunks/{event-logger-g7a140t9.js → instruction-discovery-fyrnwbxv.js} +13 -13
- package/dist/chunks/{event-logger-c5be9zdx.js → instruction-discovery-fyx1rh07.js} +17 -17
- package/dist/chunks/{event-logger-h2dzxg9q.js → instruction-discovery-g0w0m6c8.js} +11 -11
- package/dist/chunks/{event-logger-6sh8n07q.js → instruction-discovery-g6jcgrmn.js} +4 -4
- package/dist/chunks/{event-logger-gc5zyen6.js → instruction-discovery-g7mym6m5.js} +18 -18
- package/dist/chunks/{event-logger-wqc6684y.js → instruction-discovery-g84cjvn9.js} +2 -2
- package/dist/chunks/{event-logger-gd4qta3r.js → instruction-discovery-gd4qta3r.js} +1 -1
- package/dist/chunks/{event-logger-m67nz9rk.js → instruction-discovery-gd8x6j3n.js} +10 -10
- package/dist/chunks/{event-logger-tc9wmbbt.js → instruction-discovery-gegj32p6.js} +23 -23
- package/dist/chunks/{event-logger-mw934p8z.js → instruction-discovery-gqawmzqm.js} +8 -8
- package/dist/chunks/{event-logger-nwn8438d.js → instruction-discovery-gsae7mzx.js} +3 -3
- package/dist/chunks/{event-logger-gv6a8nnw.js → instruction-discovery-gv6a8nnw.js} +2 -2
- package/dist/chunks/{event-logger-mdeam199.js → instruction-discovery-gzybrnwp.js} +29 -29
- package/dist/chunks/{event-logger-k8a7jxk0.js → instruction-discovery-h25pynb9.js} +3 -3
- package/dist/chunks/{event-logger-pjv5g3we.js → instruction-discovery-h35wg768.js} +44 -44
- package/dist/chunks/{event-logger-8wfyked2.js → instruction-discovery-h3egcphf.js} +45 -45
- package/dist/chunks/{event-logger-h6vf3j39.js → instruction-discovery-h6vf3j39.js} +1 -1
- package/dist/chunks/{event-logger-020j3mp2.js → instruction-discovery-h7e5g0tn.js} +6 -6
- package/dist/chunks/{event-logger-s3r0q333.js → instruction-discovery-hesh0yqh.js} +15 -15
- package/dist/chunks/{event-logger-jmphe03k.js → instruction-discovery-hfdr1yjj.js} +4 -4
- package/dist/chunks/{event-logger-tz6evg4p.js → instruction-discovery-hgxtd65q.js} +18 -18
- package/dist/chunks/{event-logger-pstg3rfm.js → instruction-discovery-hqmr0w3b.js} +1 -1
- package/dist/chunks/{event-logger-vj3n20x5.js → instruction-discovery-hrcn0nnf.js} +14 -14
- package/dist/chunks/{event-logger-f5gy8qwh.js → instruction-discovery-hz0q9sdq.js} +8 -8
- package/dist/chunks/{event-logger-3dntjpwz.js → instruction-discovery-j0a35shb.js} +44 -44
- package/dist/chunks/{event-logger-gxcntcf7.js → instruction-discovery-j2z2bynw.js} +8 -8
- package/dist/chunks/{event-logger-j56e64zr.js → instruction-discovery-j56e64zr.js} +1 -1
- package/dist/chunks/{event-logger-wj76ss2k.js → instruction-discovery-j5rxtxht.js} +4 -4
- package/dist/chunks/{event-logger-qrbdfc2y.js → instruction-discovery-j7zkqwjr.js} +5 -5
- package/dist/chunks/{event-logger-1xbk51d1.js → instruction-discovery-ja7gyv8y.js} +6 -6
- package/dist/chunks/{event-logger-5e07j1hz.js → instruction-discovery-jkypvzfq.js} +22 -22
- package/dist/chunks/{event-logger-8k5j04yw.js → instruction-discovery-jppyavat.js} +28 -28
- package/dist/chunks/{event-logger-kshh6723.js → instruction-discovery-jq7r7x4m.js} +20 -20
- package/dist/chunks/instruction-discovery-jqh9b0xq.js +18 -0
- package/dist/chunks/{event-logger-jxqwwkf3.js → instruction-discovery-jth2zfp5.js} +5 -5
- package/dist/chunks/{event-logger-k3c624dm.js → instruction-discovery-k3c624dm.js} +3 -3
- package/dist/chunks/{event-logger-bzngrnjc.js → instruction-discovery-k9mx7t5w.js} +18 -18
- package/dist/chunks/{event-logger-tm7zr4pr.js → instruction-discovery-keat3kjn.js} +4 -4
- package/dist/chunks/{event-logger-420mfcd1.js → instruction-discovery-kgpwsj74.js} +29 -29
- package/dist/chunks/{event-logger-ye8vvjpm.js → instruction-discovery-m2tc1n0a.js} +34 -34
- package/dist/chunks/{event-logger-m3fdjcah.js → instruction-discovery-m3fdjcah.js} +1 -1
- package/dist/chunks/{event-logger-m9w0rfyh.js → instruction-discovery-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-50xdy9sd.js → instruction-discovery-madhy2we.js} +30 -30
- package/dist/chunks/{event-logger-r5x6zcsm.js → instruction-discovery-mhkvc446.js} +3 -3
- package/dist/chunks/{event-logger-wtd95fmx.js → instruction-discovery-mw0271ay.js} +11 -11
- package/dist/chunks/{event-logger-grbsccpx.js → instruction-discovery-mw65zyef.js} +17 -17
- package/dist/chunks/{event-logger-2hbp1rqv.js → instruction-discovery-n0mnd67y.js} +9 -9
- package/dist/chunks/{event-logger-6nkg1aef.js → instruction-discovery-n1fe3aty.js} +16 -16
- package/dist/chunks/{event-logger-ahpsrzsw.js → instruction-discovery-n74rpst0.js} +13 -13
- package/dist/chunks/{event-logger-qaczxe84.js → instruction-discovery-nanpb4nb.js} +189 -189
- package/dist/chunks/{event-logger-tdhe5xga.js → instruction-discovery-nbzsj80d.js} +8 -8
- package/dist/chunks/{event-logger-4j1b3dvz.js → instruction-discovery-nkcf2gs9.js} +35 -35
- package/dist/chunks/{event-logger-048w8w2y.js → instruction-discovery-np6jcka8.js} +15 -15
- package/dist/chunks/{event-logger-9fc3v4re.js → instruction-discovery-nqyhrfcc.js} +4 -4
- package/dist/chunks/{event-logger-p28j5sbe.js → instruction-discovery-p28j5sbe.js} +2 -2
- package/dist/chunks/{event-logger-x1pyywdt.js → instruction-discovery-pfk7g78r.js} +5 -5
- package/dist/chunks/{event-logger-ncxpewm0.js → instruction-discovery-pg3xm6en.js} +24 -24
- package/dist/chunks/{event-logger-gg2pcgrz.js → instruction-discovery-pjcxmf6n.js} +13 -13
- package/dist/chunks/{event-logger-pjvnvgmy.js → instruction-discovery-pjvnvgmy.js} +1 -1
- package/dist/chunks/{event-logger-pknna89w.js → instruction-discovery-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-jjs74g98.js → instruction-discovery-pnv527nz.js} +9 -9
- package/dist/chunks/{event-logger-5gs23kxp.js → instruction-discovery-psx79z8s.js} +22 -22
- package/dist/chunks/{event-logger-2mfwfczk.js → instruction-discovery-pvv2cx45.js} +89 -89
- package/dist/chunks/{event-logger-46efvg8p.js → instruction-discovery-pw383ktz.js} +8 -8
- package/dist/chunks/{event-logger-hekjtj0c.js → instruction-discovery-py17fkfh.js} +24 -24
- package/dist/chunks/{event-logger-6kgmyewg.js → instruction-discovery-q1enjrf6.js} +25 -25
- package/dist/chunks/{event-logger-zqawtfk0.js → instruction-discovery-q9dc04tf.js} +33 -33
- package/dist/chunks/{event-logger-zxnbmr45.js → instruction-discovery-qe92z5eg.js} +21 -21
- package/dist/chunks/{event-logger-2fxf5vq5.js → instruction-discovery-qkb3xxtm.js} +5 -5
- package/dist/chunks/{event-logger-qsdy395h.js → instruction-discovery-qsdy395h.js} +1 -1
- package/dist/chunks/{event-logger-zsb94mss.js → instruction-discovery-qz0c158j.js} +15 -15
- package/dist/chunks/{event-logger-g2yqed36.js → instruction-discovery-qz1pxh76.js} +18 -18
- package/dist/chunks/{event-logger-myqhxg9v.js → instruction-discovery-r5yv3mt8.js} +8 -8
- package/dist/chunks/instruction-discovery-r6ma33hb.js +65 -0
- package/dist/chunks/{event-logger-czm3bm87.js → instruction-discovery-r910kxjq.js} +28 -28
- package/dist/chunks/{event-logger-zfwjcr3k.js → instruction-discovery-r991r44t.js} +26 -26
- package/dist/chunks/{event-logger-6hh8tjw2.js → instruction-discovery-ratrq7cm.js} +4 -4
- package/dist/chunks/{event-logger-rdw6cm16.js → instruction-discovery-rdw6cm16.js} +1 -1
- package/dist/chunks/{event-logger-dfrss5yb.js → instruction-discovery-rnym2nbx.js} +5 -5
- package/dist/chunks/{event-logger-nv6sgpkb.js → instruction-discovery-s38x4d8v.js} +6 -6
- package/dist/chunks/{event-logger-rz38yymz.js → instruction-discovery-s59wxs1e.js} +14 -14
- package/dist/chunks/{event-logger-t550f9t1.js → instruction-discovery-s8d7rejh.js} +4 -4
- package/dist/chunks/{event-logger-965ggptx.js → instruction-discovery-sjf3tctt.js} +12 -12
- package/dist/chunks/{event-logger-p7zm1bbg.js → instruction-discovery-skt6pyyf.js} +9 -9
- package/dist/chunks/{event-logger-s6qg0f85.js → instruction-discovery-sp1y3784.js} +4 -4
- package/dist/chunks/{event-logger-mzrbxmyd.js → instruction-discovery-spq00ka2.js} +11 -11
- package/dist/chunks/{event-logger-j710vash.js → instruction-discovery-srp1awq4.js} +12 -12
- package/dist/chunks/{event-logger-kzqssey1.js → instruction-discovery-sw51tshd.js} +47 -47
- package/dist/chunks/{event-logger-76cvkgxg.js → instruction-discovery-sy6tmz81.js} +25 -25
- package/dist/chunks/{event-logger-fpwjxwx3.js → instruction-discovery-t2schhr1.js} +47 -47
- package/dist/chunks/instruction-discovery-t37sa7x6.js +252 -0
- package/dist/chunks/{event-logger-jcaaevbk.js → instruction-discovery-t9msbx01.js} +5 -5
- package/dist/chunks/{event-logger-pfcenzjn.js → instruction-discovery-tada9jhx.js} +16 -16
- package/dist/chunks/{event-logger-tazgh4e4.js → instruction-discovery-tazgh4e4.js} +1 -1
- package/dist/chunks/{event-logger-tcezcvh9.js → instruction-discovery-tcezcvh9.js} +1 -1
- package/dist/chunks/{event-logger-74epjytj.js → instruction-discovery-tdmmsys1.js} +30 -30
- package/dist/chunks/{event-logger-tdstcens.js → instruction-discovery-tdstcens.js} +1 -1
- package/dist/chunks/{event-logger-e2gcv4mp.js → instruction-discovery-terz056s.js} +25 -25
- package/dist/chunks/{event-logger-z5z1z32e.js → instruction-discovery-tmd7t4g3.js} +19 -19
- package/dist/chunks/{event-logger-tvtrv512.js → instruction-discovery-tvtrv512.js} +1 -1
- package/dist/chunks/{event-logger-1jna24v5.js → instruction-discovery-vamaa9zs.js} +11 -11
- package/dist/chunks/{event-logger-yevqhp4e.js → instruction-discovery-vc32h82s.js} +22 -22
- package/dist/chunks/{event-logger-f9xxq0qt.js → instruction-discovery-vc6yd4eg.js} +32 -32
- package/dist/chunks/{event-logger-veqvce7d.js → instruction-discovery-veqvce7d.js} +1 -1
- package/dist/chunks/{event-logger-14yc5bzp.js → instruction-discovery-vfykb72z.js} +23 -23
- package/dist/chunks/{event-logger-kfj42dqf.js → instruction-discovery-vgajfqke.js} +15 -15
- package/dist/chunks/{event-logger-v1h7w5qd.js → instruction-discovery-vgn79txg.js} +20 -20
- package/dist/chunks/{event-logger-msq0jde0.js → instruction-discovery-vj81g6vn.js} +4 -4
- package/dist/chunks/{event-logger-f9th4ctt.js → instruction-discovery-vqj9jm8c.js} +4 -4
- package/dist/chunks/{event-logger-tr6395rv.js → instruction-discovery-vvwd60y4.js} +43 -43
- package/dist/chunks/{event-logger-vzcthcp8.js → instruction-discovery-vzcthcp8.js} +1 -1
- package/dist/chunks/{event-logger-vrhc7fs1.js → instruction-discovery-w0ymwcrh.js} +27 -27
- package/dist/chunks/{event-logger-w3wsvvr9.js → instruction-discovery-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-q5rsr9t9.js → instruction-discovery-wbx60fzd.js} +8 -8
- package/dist/chunks/{event-logger-7wymycec.js → instruction-discovery-wc2t8fx2.js} +30 -30
- package/dist/chunks/{event-logger-wd87259q.js → instruction-discovery-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-v7ax8jwn.js → instruction-discovery-wgg9hn2t.js} +17 -17
- package/dist/chunks/{event-logger-ch15aacc.js → instruction-discovery-wr9vyhw1.js} +53 -53
- package/dist/chunks/{event-logger-x1ezjp6w.js → instruction-discovery-x1ezjp6w.js} +1 -1
- package/dist/chunks/{event-logger-1pd680f0.js → instruction-discovery-x647g243.js} +19 -19
- package/dist/chunks/{event-logger-8kecht9x.js → instruction-discovery-xekc3gqk.js} +28 -28
- package/dist/chunks/{event-logger-xfkkasph.js → instruction-discovery-xfkkasph.js} +1 -1
- package/dist/chunks/{event-logger-3qvcabr8.js → instruction-discovery-xp7ms4x7.js} +12 -12
- package/dist/chunks/{event-logger-y1fvbwt7.js → instruction-discovery-y1fvbwt7.js} +1 -1
- package/dist/chunks/{event-logger-5jrr3pva.js → instruction-discovery-y5588qvg.js} +3 -3
- package/dist/chunks/{event-logger-dpkg50ah.js → instruction-discovery-y71avatq.js} +4 -4
- package/dist/chunks/{event-logger-4686z1cc.js → instruction-discovery-ya8gxsn0.js} +9 -9
- package/dist/chunks/{event-logger-6ws21zwn.js → instruction-discovery-yazjenkk.js} +13 -13
- package/dist/chunks/{event-logger-qk9s13pt.js → instruction-discovery-yhwbjxcp.js} +19 -19
- package/dist/chunks/{event-logger-jccvzjq0.js → instruction-discovery-yntgqbj8.js} +33 -33
- package/dist/chunks/{event-logger-yrhqyw5v.js → instruction-discovery-yrhqyw5v.js} +1 -1
- package/dist/chunks/{event-logger-yrznvahk.js → instruction-discovery-yrznvahk.js} +2 -2
- package/dist/chunks/{event-logger-ryxmxgzp.js → instruction-discovery-z08gb817.js} +10 -10
- package/dist/chunks/{event-logger-z0bkrqjs.js → instruction-discovery-z0bkrqjs.js} +1 -1
- package/dist/chunks/{event-logger-cscxsbct.js → instruction-discovery-z429czhs.js} +13 -13
- package/dist/chunks/{event-logger-z63w68vq.js → instruction-discovery-z63w68vq.js} +2 -2
- package/dist/chunks/{event-logger-hvf0hqz1.js → instruction-discovery-zat6j6wm.js} +11 -11
- package/dist/chunks/{event-logger-zeh9ct20.js → instruction-discovery-zeh9ct20.js} +2 -2
- package/dist/chunks/{event-logger-pnezrcsm.js → instruction-discovery-zh8g02qs.js} +5 -5
- package/dist/chunks/{event-logger-4b54kahm.js → instruction-discovery-zhs5mbww.js} +8 -8
- package/dist/chunks/{event-logger-zr2ceqn5.js → instruction-discovery-zr2ceqn5.js} +1 -1
- package/dist/chunks/{event-logger-eq2cdp10.js → instruction-discovery-zs220xh7.js} +41 -41
- package/dist/chunks/{event-logger-j485hse2.js → instruction-discovery-zwnr1j62.js} +33 -33
- package/dist/chunks/{event-logger-zxq2ej10.js → instruction-discovery-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- 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 +123 -123
- 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 +82 -82
- package/dist/database/database.js +69 -69
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +73 -73
- package/dist/file-access.js +101 -101
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +101 -101
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- 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 +90 -90
- 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 +360 -360
- 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 +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +101 -101
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +88 -88
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- 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 +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +99 -99
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- 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 +331 -331
- 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 +119 -119
- 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 +93 -93
- 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 +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +86 -86
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- 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 +111 -111
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- 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 +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +15 -15
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- 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 +14 -14
- 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 +5 -5
- 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 +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +92 -92
- 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 +80 -80
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/event-logger-0qa5p3hq.js +0 -65
- package/dist/chunks/event-logger-9kfwgk0g.js +0 -252
- package/dist/chunks/event-logger-km01z7yn.js +0 -26
- package/dist/chunks/event-logger-rap9a73h.js +0 -18
- package/dist/chunks/event-logger-xrsqh21y.js +0 -4
- package/dist/chunks/event-logger-xwd8wj01.js +0 -503
- /package/dist/chunks/{event-logger-0qkdqm5v.js → instruction-discovery-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → instruction-discovery-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → instruction-discovery-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → instruction-discovery-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-1kg9ymc8.js → instruction-discovery-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{event-logger-24dcb14g.js → instruction-discovery-24dcb14g.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → instruction-discovery-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2axfhc9x.js → instruction-discovery-2axfhc9x.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → instruction-discovery-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → instruction-discovery-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3asan66x.js → instruction-discovery-3asan66x.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → instruction-discovery-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-3w5fmr99.js → instruction-discovery-3w5fmr99.js} +0 -0
- /package/dist/chunks/{event-logger-3wcehsnq.js → instruction-discovery-3wcehsnq.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → instruction-discovery-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → instruction-discovery-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4vcrnpx2.js → instruction-discovery-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{event-logger-4y7fprxs.js → instruction-discovery-4y7fprxs.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → instruction-discovery-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-550bvhaj.js → instruction-discovery-550bvhaj.js} +0 -0
- /package/dist/chunks/{event-logger-5qd3pb7m.js → instruction-discovery-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → instruction-discovery-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → instruction-discovery-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → instruction-discovery-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → instruction-discovery-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → instruction-discovery-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → instruction-discovery-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-922hggd3.js → instruction-discovery-922hggd3.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → instruction-discovery-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → instruction-discovery-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-a6k6eb26.js → instruction-discovery-a6k6eb26.js} +0 -0
- /package/dist/chunks/{event-logger-af5trqkr.js → instruction-discovery-af5trqkr.js} +0 -0
- /package/dist/chunks/{event-logger-afrmfg78.js → instruction-discovery-afrmfg78.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → instruction-discovery-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → instruction-discovery-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → instruction-discovery-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → instruction-discovery-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → instruction-discovery-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → instruction-discovery-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → instruction-discovery-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → instruction-discovery-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-dajrwvna.js → instruction-discovery-dajrwvna.js} +0 -0
- /package/dist/chunks/{event-logger-dap0rakb.js → instruction-discovery-dap0rakb.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → instruction-discovery-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → instruction-discovery-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → instruction-discovery-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-e73j6tqm.js → instruction-discovery-e73j6tqm.js} +0 -0
- /package/dist/chunks/{event-logger-ec1grn59.js → instruction-discovery-ec1grn59.js} +0 -0
- /package/dist/chunks/{event-logger-eh3zwz77.js → instruction-discovery-eh3zwz77.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → instruction-discovery-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → instruction-discovery-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → instruction-discovery-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → instruction-discovery-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → instruction-discovery-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-fxgpk5d8.js → instruction-discovery-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{event-logger-g4wezp1m.js → instruction-discovery-g4wezp1m.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → instruction-discovery-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → instruction-discovery-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-gftt206x.js → instruction-discovery-gftt206x.js} +0 -0
- /package/dist/chunks/{event-logger-hjbc5kem.js → instruction-discovery-hjbc5kem.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → instruction-discovery-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → instruction-discovery-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-j5zkgpj8.js → instruction-discovery-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{event-logger-jjkms2e6.js → instruction-discovery-jjkms2e6.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → instruction-discovery-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → instruction-discovery-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → instruction-discovery-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → instruction-discovery-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → instruction-discovery-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → instruction-discovery-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → instruction-discovery-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → instruction-discovery-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → instruction-discovery-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → instruction-discovery-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qaymkmh1.js → instruction-discovery-qaymkmh1.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → instruction-discovery-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → instruction-discovery-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qg3g05ea.js → instruction-discovery-qg3g05ea.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → instruction-discovery-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → instruction-discovery-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → instruction-discovery-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-sk3qaz4a.js → instruction-discovery-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → instruction-discovery-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-twg0f83k.js → instruction-discovery-twg0f83k.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → instruction-discovery-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wc3fc9cn.js → instruction-discovery-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → instruction-discovery-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → instruction-discovery-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x0ckcb58.js → instruction-discovery-x0ckcb58.js} +0 -0
- /package/dist/chunks/{event-logger-x61499pn.js → instruction-discovery-x61499pn.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → instruction-discovery-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8cydn3q.js → instruction-discovery-y8cydn3q.js} +0 -0
- /package/dist/chunks/{event-logger-y8f7s663.js → instruction-discovery-y8f7s663.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → instruction-discovery-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-ym463w8f.js → instruction-discovery-ym463w8f.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → instruction-discovery-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node83
|
|
6
|
+
} from "./instruction-discovery-sjf3tctt.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service77,
|
|
9
|
+
node81
|
|
10
|
+
} from "./instruction-discovery-3f0yr7fv.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
make12
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instruction-discovery-ex0ne5y8.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service27,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node30
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,10 +31,10 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service27 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service77;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const git = yield* make12;
|
|
40
40
|
const state = create3({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service27.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node30 = makeLocationNode({
|
|
61
|
+
service: Service27,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node81, Global.node, node83, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service27, node30, exports_strategies };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service79,
|
|
9
|
+
node83
|
|
10
|
+
} from "./instruction-discovery-sjf3tctt.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service77,
|
|
13
|
+
node81
|
|
14
|
+
} from "./instruction-discovery-3f0yr7fv.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instruction-discovery-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service43,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node46,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service43 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service79;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service77;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service43.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node46 = makeLocationNode({
|
|
144
|
+
service: Service43,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node83, Global.node, node81]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service43, Service43.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service62, Service62.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error3({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID5, Error3, Service43, node46, noopLayer2, exports_snapshot2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
InvalidError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-z63w68vq.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/config/variable.ts
|
|
9
9
|
var exports_variable = {};
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service77
|
|
13
|
+
} from "./instruction-discovery-3f0yr7fv.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./instruction-discovery-gegj32p6.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin15,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin15 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
|
-
const location = yield*
|
|
34
|
+
const location = yield* Service77;
|
|
35
35
|
if (location.vcs?.type !== "git")
|
|
36
36
|
return;
|
|
37
37
|
const processes = yield* AppProcess.Service;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin15, exports_git };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./instruction-discovery-473ftn0x.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service63,
|
|
17
|
+
node: () => node66
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service63 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
25
|
-
const db = (yield*
|
|
26
|
-
return
|
|
24
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
25
|
+
const db = (yield* Service84).db;
|
|
26
|
+
return Service63.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node66 = makeGlobalNode({ service: Service63, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service63, node66, exports_kv };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-2axfhc9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/error.ts
|
|
9
9
|
var exports_error = {};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./instruction-discovery-1yv1a62b.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service30
|
|
6
|
+
} from "./instruction-discovery-4ernrsx0.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make8
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make8 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service30;
|
|
24
|
+
const jobs = yield* Service62;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make4 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make8, exports_subagent_job };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/server.ts
|
|
9
9
|
var exports_server = {};
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instruction-discovery-bvx85a4w.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-ja7gyv8y.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make23,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service37
|
|
3
|
-
} from "./event-logger-76cvkgxg.js";
|
|
4
1
|
import {
|
|
5
2
|
Service50
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-sy6tmz81.js";
|
|
4
|
+
import {
|
|
5
|
+
Service57
|
|
6
|
+
} from "./instruction-discovery-eqkxs06z.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-jqh9b0xq.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service57;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service50), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,59 +1,59 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./instruction-discovery-473ftn0x.js";
|
|
1
5
|
import {
|
|
2
6
|
Service83,
|
|
3
7
|
node87
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service82,
|
|
7
|
-
node86
|
|
8
|
-
} from "./event-logger-pfcenzjn.js";
|
|
8
|
+
} from "./instruction-discovery-tada9jhx.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service62,
|
|
11
|
+
node65
|
|
12
|
+
} from "./instruction-discovery-1yv1a62b.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service57,
|
|
15
|
+
node60
|
|
16
|
+
} from "./instruction-discovery-eqkxs06z.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./instruction-discovery-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
make17
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./instruction-discovery-1acjjqhc.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service55
|
|
26
|
+
} from "./instruction-discovery-ckf8nxjz.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./instruction-discovery-s38x4d8v.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service73,
|
|
32
|
+
node77
|
|
33
|
+
} from "./instruction-discovery-b4nfcdv5.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./instruction-discovery-sp1y3784.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./instruction-discovery-madhy2we.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service54,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
51
|
-
noopLayer: () =>
|
|
49
|
+
layer: () => layer21,
|
|
50
|
+
node: () => node58,
|
|
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 Service54 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,12 +65,12 @@ 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*
|
|
71
|
-
const bus = yield*
|
|
72
|
-
const jobs = yield*
|
|
73
|
-
const db = (yield*
|
|
68
|
+
var layer21 = Layer.effect(Service54, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service73;
|
|
70
|
+
const instances = yield* Service57;
|
|
71
|
+
const bus = yield* Service83;
|
|
72
|
+
const jobs = yield* Service62;
|
|
73
|
+
const db = (yield* Service84).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) => ({
|
|
76
76
|
commit: () => store.claim(sessionID)
|
|
@@ -82,7 +82,7 @@ var layer18 = Layer.effect(Service47, 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* Service55.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),
|
|
@@ -110,7 +110,7 @@ var layer18 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
110
110
|
}, releaseOnCommit(sessionID));
|
|
111
111
|
}))
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service54.of({
|
|
114
114
|
active: coordinator.active,
|
|
115
115
|
isActive: coordinator.isActive,
|
|
116
116
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -129,12 +129,12 @@ var layer18 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
129
129
|
awaitIdle: coordinator.awaitIdle
|
|
130
130
|
});
|
|
131
131
|
}));
|
|
132
|
-
var
|
|
133
|
-
service:
|
|
134
|
-
layer:
|
|
135
|
-
deps: [
|
|
132
|
+
var node58 = makeGlobalNode({
|
|
133
|
+
service: Service54,
|
|
134
|
+
layer: layer21,
|
|
135
|
+
deps: [node77, node60, node87, node88, node65]
|
|
136
136
|
});
|
|
137
|
-
var
|
|
137
|
+
var noopLayer3 = Layer.succeed(Service54, Service54.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(Service47, Service47.of({
|
|
|
143
143
|
awaitIdle: () => Effect.void
|
|
144
144
|
}));
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { Service54, terminal2, layer21, node58, noopLayer3, exports_execution };
|