@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,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./instruction-discovery-tada9jhx.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service77,
|
|
7
|
+
node81
|
|
8
|
+
} from "./instruction-discovery-3f0yr7fv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID12,
|
|
11
|
+
Service75,
|
|
12
|
+
node79
|
|
13
|
+
} from "./instruction-discovery-dgt1m6jj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError9
|
|
16
|
+
} from "./instruction-discovery-s38x4d8v.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service73,
|
|
19
|
+
node77
|
|
20
|
+
} from "./instruction-discovery-b4nfcdv5.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instruction-discovery-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service74,
|
|
26
|
+
node78
|
|
27
|
+
} from "./instruction-discovery-hgxtd65q.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service76,
|
|
30
|
+
node80
|
|
31
|
+
} from "./instruction-discovery-fqtvmpfq.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,29 +42,29 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
45
|
+
Event: () => Event16,
|
|
46
|
+
ID: () => ID10,
|
|
47
|
+
NotFoundError: () => NotFoundError8,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
51
|
+
Request: () => Request3,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service72,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node76
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event16 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID10 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
77
|
+
var Request3 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID10.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID12.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID10,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID10,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID10
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service72 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
130
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service83;
|
|
132
|
+
const location = yield* Service77;
|
|
133
|
+
const agents = yield* Service75;
|
|
134
|
+
const sessions = yield* Service73;
|
|
135
|
+
const saved = yield* Service74;
|
|
136
|
+
const hooks = yield* Service76;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError9({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID10.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID10.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError8({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service72.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node76 = makeLocationNode({
|
|
303
|
+
service: Service72,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [
|
|
305
|
+
deps: [node87, node81, node79, node77, node78, node80]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID10, Source5, Request3, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service72, node76, exports_permission2, Rule3, Ruleset2, Event16 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service57,
|
|
10
|
+
node: () => node60
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service57 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node60 = LayerNode.unbound(Service57, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service57, node60, exports_service2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-tdstcens.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/publish-llm-event.ts
|
|
9
9
|
import { Effect, Fiber, Iterable } from "effect";
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node81
|
|
4
|
+
} from "./instruction-discovery-3f0yr7fv.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
7
|
+
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-s8d7rejh.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service35,
|
|
19
|
+
node: () => node39
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service35 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service77;
|
|
29
|
+
return Service35.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make21({
|
|
32
32
|
key: Key3.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
@@ -49,7 +49,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
49
49
|
`)
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
|
-
|
|
52
|
+
make21({
|
|
53
53
|
key: Key3.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node39 = makeLocationNode({ service: Service35, layer, deps: [Global.node, node81] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service35, node39, exports_builtins };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./instruction-discovery-sjf3tctt.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
|
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service79;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-8p4f9s12.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instruction-discovery-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service68,
|
|
8
|
+
node71
|
|
9
|
+
} from "./instruction-discovery-pg3xm6en.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service19,
|
|
24
|
+
node: () => node21
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service19 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service68;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service19.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node21 = makeLocationNode({ service: Service19, layer, deps: [node71, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error2, InvalidPatternError2,
|
|
180
|
+
export { Error2, InvalidPatternError2, Service19, node21, exports_ripgrep };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./instruction-discovery-eqkxs06z.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-jqh9b0xq.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-s38x4d8v.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service47
|
|
12
|
+
} from "./instruction-discovery-bq1752a3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service57;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service47), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service76,
|
|
10
|
+
node: () => node80
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service76 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service76.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node80 = makeLocationNode({ service: Service76, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service76, node80, exports_hooks };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event11,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options8,
|
|
17
|
+
Service: () => Service52,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured9,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer20,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node56,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event11 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options8 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service52 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer20 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service52.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer17 = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service52.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer20().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service52).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service52, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured9(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service52, layer: layer20(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node56 = configured9();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event11, hasNativeBinding2, Native3, Options8, Service52, Test3, layer20, testLayer3, nativeLayer2, nativeNode2, configured9, node56, exports_watcher };
|