@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,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-44h5tttr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./instruction-discovery-tada9jhx.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event21
|
|
10
|
+
} from "./instruction-discovery-q9dc04tf.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instruction-discovery-wc2t8fx2.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID9,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service70
|
|
20
|
+
} from "./instruction-discovery-nkcf2gs9.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID7
|
|
23
|
+
} from "./instruction-discovery-zwnr1j62.js";
|
|
24
24
|
import {
|
|
25
25
|
load2,
|
|
26
26
|
derive2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./instruction-discovery-mw0271ay.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./instruction-discovery-spq00ka2.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID16.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,8 +157,8 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
161
|
-
const bus = yield*
|
|
160
|
+
const providers = yield* Service70;
|
|
161
|
+
const bus = yield* Service83;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
164
164
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID9.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
178
|
try: () => load2(url, {
|
|
179
179
|
...provider?.headers,
|
|
@@ -194,7 +194,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID9.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID9.githubCopilot, ID7.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID9.githubCopilot, ID7.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID9.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID9.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID9.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./instruction-discovery-tada9jhx.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event20,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID17,
|
|
20
|
+
Info: () => Info33,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError11,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service81,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer25,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node85,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event20 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID17 = Form.ID;
|
|
39
|
+
var Info33 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID17
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID17
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID17
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID17,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service81 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer25 = Layer.effect(
|
|
85
|
-
const bus = yield*
|
|
84
|
+
var layer25 = Layer.effect(Service81, Effect.gen(function* () {
|
|
85
|
+
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID17.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service78, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service81.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node85 = makeLocationNode({ service: Service81, layer: layer25, deps: [node87] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID17, Info33, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service81, layer25, node85, validateAnswer2, validateFields2, exports_form, Event20 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info15
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info15 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info13 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info15, exports_command5 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./instruction-discovery-nkcf2gs9.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-hjbc5kem.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID9.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID9.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-dm1py9b3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
12
|
var exports_error2 = {};
|
|
@@ -19,7 +19,7 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError9,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
24
|
SessionErrors: () => exports_error2,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
@@ -32,7 +32,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
32
32
|
import { Skill } from "@opencode/schema/skill";
|
|
33
33
|
import { SessionError } from "@opencode/schema/session-error";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class NotFoundError9 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
36
36
|
sessionID: SessionSchema2.ID
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
@@ -123,4 +123,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
123
123
|
}) {
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
export {
|
|
126
|
+
export { NotFoundError9, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service51
|
|
3
|
+
} from "./instruction-discovery-h3egcphf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service10
|
|
6
|
+
} from "./instruction-discovery-bn0g70r0.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigCompactionPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_compaction2 = {};
|
|
16
|
+
__export(exports_compaction2, {
|
|
17
|
+
ConfigCompactionPlugin: () => exports_compaction2,
|
|
18
|
+
Plugin: () => Plugin46
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin46 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service51;
|
|
26
|
+
const compaction = yield* Service10;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin17 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin46, exports_compaction2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make21,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make21(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instruction-discovery-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instruction-discovery-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instruction-discovery-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instruction-discovery-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service79,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node83
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service79 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service79.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node83 = makeGlobalNode({ service: Service79, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service79, node83, exports_git3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-spq00ka2.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instruction-discovery-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin20,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin20 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin33 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint6, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin33 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint6, Plugin20, exports_parallel };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instruction-discovery-s38x4d8v.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instruction-discovery-epkzn4tn.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instruction-discovery-wc2t8fx2.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instruction-discovery-fyrnwbxv.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instruction-discovery-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured7,
|
|
11
|
+
layer: () => layer18,
|
|
12
|
+
make: () => make16,
|
|
13
|
+
node: () => node54,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make16()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make16(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make21(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer18 = (input) => Layer.succeed(Metadata2, make16(input));
|
|
32
|
+
var configured7 = (input) => makeGlobalNode({ service: Metadata2, layer: layer18(input), deps: [] });
|
|
33
|
+
var node54 = configured7();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make16, useragent2, layer18, configured7, node54, exports_app };
|