@opencode/core 0.0.0-dev-19503 → 0.0.0-dev-19504
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 +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/catalog.js +84 -84
- package/dist/chunks/{file-wpmxaqyc.js → state-020j3mp2.js} +6 -6
- package/dist/chunks/{file-gt8btckc.js → state-02r6fh77.js} +32 -32
- package/dist/chunks/{file-aq71ck84.js → state-0h5yhx5j.js} +11 -11
- package/dist/chunks/{file-z9qams9d.js → state-0j4ba8d2.js} +11 -11
- package/dist/chunks/{file-hp075dpy.js → state-0kcg9p5c.js} +12 -12
- package/dist/chunks/{file-f8vm562w.js → state-0mtbxaje.js} +5 -5
- package/dist/chunks/{file-2t17ewj5.js → state-0nds4myn.js} +18 -18
- package/dist/chunks/{file-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-0q0f95c6.js → state-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-6fex6vem.js → state-17zkjcfx.js} +6 -6
- package/dist/chunks/{file-verq85zk.js → state-1av7y6ck.js} +4 -4
- package/dist/chunks/{file-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-bw0vgseb.js → state-1fcrsx1q.js} +8 -8
- package/dist/chunks/{file-fzxbqhyn.js → state-1xrbsc5y.js} +38 -38
- package/dist/chunks/{file-21r38tys.js → state-21r38tys.js} +1 -1
- package/dist/chunks/{file-2zpcf09p.js → state-22yx3c6v.js} +11 -11
- package/dist/chunks/{file-6h73sxmp.js → state-2402vzrj.js} +5 -5
- package/dist/chunks/{file-4d8pxj8c.js → state-24c7t6kx.js} +26 -26
- package/dist/chunks/{file-29x78va6.js → state-29x78va6.js} +2 -2
- package/dist/chunks/{file-zpjvc3ac.js → state-2a3r6032.js} +12 -12
- package/dist/chunks/{file-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-6jnybvqn.js → state-2bt6bea8.js} +9 -9
- package/dist/chunks/{file-ydn3gg3r.js → state-2jpz28ss.js} +10 -10
- package/dist/chunks/{file-7dqw4kz8.js → state-2k8khapm.js} +5 -5
- package/dist/chunks/{file-szbdehq3.js → state-395j3mj5.js} +29 -29
- package/dist/chunks/{file-8n54f2ta.js → state-3cdpbzjx.js} +18 -18
- package/dist/chunks/{file-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-cyf7cx3n.js → state-3h7zsync.js} +13 -13
- package/dist/chunks/{file-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-an7cqtb7.js → state-3j8sdtpz.js} +4 -4
- package/dist/chunks/{file-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-rq9x2xtg.js → state-3vc92cpq.js} +28 -28
- package/dist/chunks/{file-3w2b2yj4.js → state-3w2b2yj4.js} +2 -2
- package/dist/chunks/{file-8cbmhaq5.js → state-3zevfmxv.js} +1 -1
- package/dist/chunks/{file-akadabsh.js → state-3zre7qs9.js} +15 -15
- package/dist/chunks/{file-g4adkwgc.js → state-4127wp21.js} +6 -6
- package/dist/chunks/{file-865r9qcv.js → state-474mxxx0.js} +8 -8
- package/dist/chunks/{file-y9n3sh8b.js → state-480wnwqj.js} +11 -11
- package/dist/chunks/{file-4y66k410.js → state-4y66k410.js} +2 -2
- package/dist/chunks/{file-jjcqt8zt.js → state-51wwr1cb.js} +7 -7
- package/dist/chunks/{file-pndtw5qe.js → state-567n0deq.js} +42 -42
- package/dist/chunks/{file-56gdpj1q.js → state-56gdpj1q.js} +2 -2
- package/dist/chunks/{file-2ve45fd6.js → state-5ahh7ntp.js} +5 -5
- package/dist/chunks/{file-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{file-ax4359t5.js → state-5gg839bz.js} +20 -20
- package/dist/chunks/{file-pnfpsavj.js → state-5m22982g.js} +5 -5
- package/dist/chunks/{file-jtq2znwy.js → state-5p8mw0dr.js} +14 -14
- package/dist/chunks/{file-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-vsp1fds9.js → state-5wtwrezn.js} +4 -4
- package/dist/chunks/{file-gbe8bvty.js → state-60vppwb8.js} +8 -8
- package/dist/chunks/{file-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{file-fbm4qtpf.js → state-6b54yabr.js} +22 -22
- package/dist/chunks/{file-5f2tz19k.js → state-6cdctt69.js} +15 -15
- package/dist/chunks/{file-qpcnk2ce.js → state-6cqjqb7p.js} +71 -71
- package/dist/chunks/{file-yqfy31rq.js → state-6h1zhsq5.js} +16 -16
- package/dist/chunks/{file-nv5vn7qx.js → state-6kyz0a76.js} +4 -4
- package/dist/chunks/{file-6msgmcgs.js → state-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-t8eheybj.js → state-6v46vta9.js} +28 -28
- package/dist/chunks/{file-r9030hxj.js → state-6vzv0tsa.js} +9 -9
- package/dist/chunks/{file-14vdq9mv.js → state-6x116pq4.js} +20 -20
- package/dist/chunks/{file-71q4at8m.js → state-71q4at8m.js} +1 -1
- package/dist/chunks/{file-z91f3yc5.js → state-72417vrk.js} +19 -19
- package/dist/chunks/{file-3kff94q5.js → state-73v7pdd7.js} +8 -8
- package/dist/chunks/{file-7s83vr9a.js → state-76fbqq5t.js} +23 -23
- package/dist/chunks/{file-e17bkqjz.js → state-79w795fr.js} +1 -1
- package/dist/chunks/{file-844ef7ks.js → state-7b15y959.js} +8 -8
- package/dist/chunks/{file-vczh7xgt.js → state-7b9bpmhc.js} +18 -18
- package/dist/chunks/{file-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-j7w4f3hr.js → state-7f4vqfyd.js} +25 -25
- package/dist/chunks/{file-fschw3aw.js → state-7mjs49hv.js} +7 -7
- package/dist/chunks/{file-hbakxq5y.js → state-7p0agkh3.js} +19 -19
- package/dist/chunks/{file-d678zc2k.js → state-7rntk513.js} +18 -18
- package/dist/chunks/{file-3yjg5mh2.js → state-7w99qc9d.js} +3 -3
- package/dist/chunks/{file-e3z6xmzm.js → state-7z0hag3q.js} +7 -7
- package/dist/chunks/{file-y67y16g8.js → state-87shza1g.js} +28 -28
- package/dist/chunks/{file-g0m6rrr1.js → state-8c0s05bc.js} +21 -21
- package/dist/chunks/{file-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-pfjv880m.js → state-8dx2amnv.js} +39 -39
- package/dist/chunks/{file-zts5fb25.js → state-8hgfhrm0.js} +5 -5
- package/dist/chunks/{file-8p4f9s12.js → state-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-yz3h3ntp.js → state-8qt13rrk.js} +15 -15
- package/dist/chunks/{file-pg0dvyvk.js → state-8zfw07st.js} +12 -12
- package/dist/chunks/{file-qefhz522.js → state-99630avw.js} +9 -9
- package/dist/chunks/{file-qp9w0mn5.js → state-9e1pnjm1.js} +13 -13
- package/dist/chunks/{file-yq0x5dd5.js → state-9jnamvjf.js} +11 -11
- package/dist/chunks/{file-2kpnaqjr.js → state-9yth8x6d.js} +26 -26
- package/dist/chunks/{file-a1bz86dw.js → state-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{file-embw8kgh.js → state-ag4rn41e.js} +4 -4
- package/dist/chunks/{file-v32yr9d8.js → state-agndh9mm.js} +3 -3
- package/dist/chunks/{file-2nv7jv6x.js → state-awmfrrxt.js} +13 -13
- package/dist/chunks/{file-x9vpcgg3.js → state-ays70j4r.js} +30 -30
- package/dist/chunks/{file-7r53ar6y.js → state-azk23wr2.js} +7 -7
- package/dist/chunks/{file-nd9hg1xj.js → state-b1bqv7zk.js} +19 -19
- package/dist/chunks/{file-0p2zh9q8.js → state-b1qcv6s7.js} +36 -36
- package/dist/chunks/{file-qmy7xtej.js → state-b2vqmjat.js} +1 -1
- package/dist/chunks/{file-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-88sz8qcd.js → state-bccb6npm.js} +4 -4
- package/dist/chunks/{file-dxpt5v4a.js → state-bgmc37vk.js} +287 -287
- package/dist/chunks/{file-b4ssmz4r.js → state-bjmdedkt.js} +3 -3
- package/dist/chunks/{file-egqavg4q.js → state-bz250d8h.js} +13 -13
- package/dist/chunks/{file-8cypfrbh.js → state-bz97kxjr.js} +6 -6
- package/dist/chunks/state-c54z827e.js +247 -0
- package/dist/chunks/{file-cfpkc3c9.js → state-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-szgy4byf.js → state-cq37gk0t.js} +4 -4
- package/dist/chunks/{file-aksfce1s.js → state-csx0xmef.js} +18 -18
- package/dist/chunks/{file-km5917gx.js → state-cwd529yg.js} +40 -40
- package/dist/chunks/{file-sp0cj90t.js → state-cz2f50e6.js} +20 -20
- package/dist/chunks/{file-6jyhw6dt.js → state-czcnay43.js} +30 -30
- package/dist/chunks/{file-0p4j4cv0.js → state-d09006c3.js} +9 -9
- package/dist/chunks/{file-w727stb0.js → state-d0j044cp.js} +41 -41
- package/dist/chunks/{file-yt0fqk68.js → state-d2aac7k2.js} +5 -5
- package/dist/chunks/{file-3tc3fw1n.js → state-d3tbzqxc.js} +20 -20
- package/dist/chunks/{file-ec8389mk.js → state-d8nc1xcx.js} +4 -4
- package/dist/chunks/{file-ktw3pdy7.js → state-daf1qynx.js} +30 -30
- package/dist/chunks/{file-5trk58xb.js → state-ddx3tg71.js} +8 -8
- package/dist/chunks/{file-0x6jhfyd.js → state-dexh071n.js} +32 -32
- package/dist/chunks/{file-z51k40g3.js → state-dfem2sdx.js} +2 -2
- package/dist/chunks/{file-jwcy2c2z.js → state-dpkg50ah.js} +4 -4
- package/dist/chunks/{file-c4a2d4g2.js → state-drtnac5g.js} +5 -5
- package/dist/chunks/{file-cn0yhb7k.js → state-dsn4nv59.js} +11 -11
- package/dist/chunks/{file-7ek6x336.js → state-dw22x083.js} +170 -170
- package/dist/chunks/{file-4t8p017q.js → state-dwepz7tb.js} +13 -13
- package/dist/chunks/{file-map7vc9e.js → state-dwmj5nv1.js} +4 -4
- package/dist/chunks/{file-jfqp9qt8.js → state-e3wbf25j.js} +7 -7
- package/dist/chunks/{file-nhy5jxhy.js → state-e82z9tr0.js} +7 -7
- package/dist/chunks/{file-wgpg5g3d.js → state-ea29dqtj.js} +22 -22
- package/dist/chunks/{file-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-yp2x3t23.js → state-f2n192rq.js} +4 -4
- package/dist/chunks/{file-1r0yq1wn.js → state-f76jjjy7.js} +12 -12
- package/dist/chunks/{file-f828m53h.js → state-f828m53h.js} +2 -2
- package/dist/chunks/{file-n3ehebhz.js → state-fkd2ewj5.js} +12 -12
- package/dist/chunks/{file-ea0j55ct.js → state-fm9p4f6k.js} +4 -4
- package/dist/chunks/{file-737983wq.js → state-frwpyczr.js} +4 -4
- package/dist/chunks/{file-9fvpfb58.js → state-fwqtep5n.js} +8 -8
- package/dist/chunks/{file-fxbjtjnd.js → state-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-zbqyvn6w.js → state-gezceyq7.js} +12 -12
- package/dist/chunks/{file-8trdseqr.js → state-ghbh3tzz.js} +30 -30
- package/dist/chunks/{file-2hpfm54d.js → state-gp1cy6hf.js} +10 -10
- package/dist/chunks/{file-3ra6k2ma.js → state-gqazmv2c.js} +9 -9
- package/dist/chunks/{file-dw1fjyb0.js → state-gqrsst1j.js} +5 -5
- package/dist/chunks/{file-pp59n8pp.js → state-gtdtpweg.js} +22 -22
- package/dist/chunks/{file-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-vmtte7pc.js → state-gy2qaxq4.js} +46 -46
- package/dist/chunks/{file-h03wrkyp.js → state-h03wrkyp.js} +2 -2
- package/dist/chunks/state-h47he10w.js +4 -0
- package/dist/chunks/{file-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-qryaexwa.js → state-h93d5vc1.js} +28 -28
- package/dist/chunks/{file-9p11ca5c.js → state-hrtt5x04.js} +25 -25
- package/dist/chunks/{file-q043d12m.js → state-hzm9egg4.js} +11 -11
- package/dist/chunks/{file-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{file-axvk3tbf.js → state-j7hrck8q.js} +20 -20
- package/dist/chunks/{file-t6xdqw2p.js → state-jajsdnd6.js} +9 -9
- package/dist/chunks/{file-0gjrpm4q.js → state-jdzvy3yq.js} +17 -17
- package/dist/chunks/{file-v4cav7rx.js → state-jgar8g47.js} +26 -26
- package/dist/chunks/{file-amkbtr58.js → state-jk1nvzjp.js} +13 -13
- package/dist/chunks/{file-f4d4r4a6.js → state-jkhk5v10.js} +14 -14
- package/dist/chunks/{file-h60zwq4m.js → state-js4jadbf.js} +4 -4
- package/dist/chunks/{file-epq9ds0r.js → state-kb4h31ft.js} +45 -45
- package/dist/chunks/{file-gptjq5xf.js → state-kez3kbfw.js} +35 -35
- package/dist/chunks/{file-kg06axw8.js → state-kg06axw8.js} +1 -1
- package/dist/chunks/{file-s3h59be2.js → state-kjmahcfy.js} +25 -25
- package/dist/chunks/{file-4sv526vh.js → state-ks9k8xvt.js} +11 -11
- package/dist/chunks/{file-7j62yvdk.js → state-m370rjbg.js} +17 -17
- package/dist/chunks/{file-0pnmq97r.js → state-m6v0m1sd.js} +32 -32
- package/dist/chunks/{file-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-rxe92ft5.js → state-mcqvnant.js} +27 -27
- package/dist/chunks/{file-3yknbgq7.js → state-mdzsfjay.js} +13 -13
- package/dist/chunks/{file-2rnktxfb.js → state-mjmpm5gf.js} +44 -44
- package/dist/chunks/{file-4nwkg5vr.js → state-mkgf31e5.js} +4 -4
- package/dist/chunks/{file-87deq66t.js → state-mvfdckk2.js} +6 -6
- package/dist/chunks/{file-y2vrj84a.js → state-mwjh8pk4.js} +10 -10
- package/dist/chunks/{file-hnjcq03z.js → state-mwyv3scv.js} +20 -20
- package/dist/chunks/{file-t83d2b0d.js → state-my545s4e.js} +9 -9
- package/dist/chunks/{file-xv4b1b4q.js → state-n36sd619.js} +47 -47
- package/dist/chunks/{file-2n6t0d3f.js → state-n78mb8y2.js} +13 -13
- package/dist/chunks/{file-gzbkpp9m.js → state-n8c291r7.js} +6 -6
- package/dist/chunks/{file-cwq9bbm8.js → state-nhf2dmd1.js} +25 -25
- package/dist/chunks/{file-svxygcjw.js → state-nng2ktcm.js} +2 -2
- package/dist/chunks/{file-egqspz5t.js → state-nrs119em.js} +15 -15
- package/dist/chunks/{file-da2mbxce.js → state-nyp6vdzn.js} +17 -17
- package/dist/chunks/{file-vj15hgm9.js → state-nztktr68.js} +7 -7
- package/dist/chunks/{file-3yycxr83.js → state-p1pqv18t.js} +11 -11
- package/dist/chunks/{file-jeanpfns.js → state-pd4btrn7.js} +1 -1
- package/dist/chunks/{file-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{file-hp277x20.js → state-pmy40cdq.js} +25 -25
- package/dist/chunks/{file-y4x12v72.js → state-q1ayw5n1.js} +10 -10
- package/dist/chunks/{file-nze65y9n.js → state-q82h00rj.js} +47 -47
- package/dist/chunks/{file-r12ptjs8.js → state-q85bd21y.js} +24 -24
- package/dist/chunks/{file-neb913ap.js → state-qfbccd5t.js} +5 -5
- package/dist/chunks/{file-r1m6q3fm.js → state-qjc5s0tw.js} +16 -16
- package/dist/chunks/{file-7ebn0nc0.js → state-qqtwvk4z.js} +6 -6
- package/dist/chunks/{file-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{file-91p1v22t.js → state-qtkzm0vp.js} +8 -8
- package/dist/chunks/{file-7yh4e7ss.js → state-r5x6zcsm.js} +3 -3
- package/dist/chunks/{file-r9mregkx.js → state-r9mregkx.js} +2 -2
- package/dist/chunks/{file-8x96bj0m.js → state-ratrq7cm.js} +7 -7
- package/dist/chunks/{file-9m3d1h1h.js → state-rf90sz53.js} +4 -4
- package/dist/chunks/{file-cf9snega.js → state-rgadkmpr.js} +32 -32
- package/dist/chunks/{file-631z4xzt.js → state-rgqj86dy.js} +41 -41
- package/dist/chunks/{file-t550f9t1.js → state-rhjbct0v.js} +4 -4
- package/dist/chunks/{file-81swgkk7.js → state-rk0rec3h.js} +9 -9
- package/dist/chunks/{file-s4enseaf.js → state-s4enseaf.js} +2 -2
- package/dist/chunks/{file-ma15yhyh.js → state-s857ash9.js} +5 -5
- package/dist/chunks/{file-dcbb9xhy.js → state-s9x7wzdz.js} +11 -11
- package/dist/chunks/{file-4p8799rk.js → state-sbsepnww.js} +14 -14
- package/dist/chunks/{file-3fj0ehej.js → state-sbv6zvrh.js} +31 -31
- package/dist/chunks/{file-tgqjfyja.js → state-sc497s7j.js} +3 -3
- package/dist/chunks/{file-c9n252bm.js → state-seh8ndws.js} +11 -11
- package/dist/chunks/{file-7yzymgne.js → state-semaaj5d.js} +15 -15
- package/dist/chunks/{file-79xwf2jn.js → state-sjr35f5n.js} +12 -12
- package/dist/chunks/{file-zjsxw8xc.js → state-sndc8avh.js} +23 -23
- package/dist/chunks/{file-4zj9va87.js → state-sr06zkx8.js} +24 -24
- package/dist/chunks/{file-9gy04t1n.js → state-sshbytzt.js} +62 -62
- package/dist/chunks/{file-9bj2cvf7.js → state-sygp3w95.js} +9 -9
- package/dist/chunks/{file-g3n6es57.js → state-t0x5rdq8.js} +9 -9
- package/dist/chunks/{file-4j7j5868.js → state-t1pxv65t.js} +3 -3
- package/dist/chunks/{file-b3wkxfg9.js → state-t23qze4t.js} +1 -1
- package/dist/chunks/{file-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-tcezcvh9.js → state-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{file-tvtrv512.js → state-tvtrv512.js} +1 -1
- package/dist/chunks/{file-9524tstc.js → state-txxgpxvq.js} +3 -3
- package/dist/chunks/{file-x060fdep.js → state-tz09nfgs.js} +87 -87
- package/dist/chunks/{file-cvfevwhc.js → state-v0q79tc7.js} +11 -11
- package/dist/chunks/{file-bd7brtc3.js → state-v6697qd3.js} +11 -11
- package/dist/chunks/{file-g6nh8byg.js → state-v7vg1ys9.js} +7 -7
- package/dist/chunks/{file-j9n5fxav.js → state-v8fxnnqy.js} +16 -16
- package/dist/chunks/{file-d4jn0akt.js → state-vahdp9z8.js} +28 -28
- package/dist/chunks/{file-fepbzpny.js → state-vb1kjdsx.js} +20 -20
- package/dist/chunks/{file-5m8ed8y5.js → state-ven90c16.js} +20 -20
- package/dist/chunks/{file-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{file-5dmv5s4a.js → state-vmkrf3gm.js} +32 -32
- package/dist/chunks/{file-p1nm93x7.js → state-vmq7ehpy.js} +5 -5
- package/dist/chunks/state-vnkjks7b.js +18 -0
- package/dist/chunks/{file-qbejwr8p.js → state-vt73cr5y.js} +28 -28
- package/dist/chunks/{file-24a117tm.js → state-vtzq9px0.js} +9 -9
- package/dist/chunks/{file-j3ktvrzf.js → state-vv4zqvpf.js} +26 -26
- package/dist/chunks/{file-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-fcnjngqh.js → state-w1sbw24p.js} +31 -31
- package/dist/chunks/{file-q4jqhhxd.js → state-w3thrybb.js} +86 -86
- package/dist/chunks/{file-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-vsctkjm2.js → state-w6pwrz03.js} +18 -18
- package/dist/chunks/{file-6djd1gzm.js → state-w9m3yqhf.js} +6 -6
- package/dist/chunks/{file-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{file-fxtthhfd.js → state-wgpywka8.js} +28 -28
- package/dist/chunks/{file-hq8zt1th.js → state-wmnxc830.js} +6 -6
- package/dist/chunks/{file-4786se8r.js → state-wqgnyshj.js} +1 -1
- package/dist/chunks/{file-tw0jne9w.js → state-wsyr7wz2.js} +14 -14
- package/dist/chunks/{file-qrdc2j4b.js → state-ww2wa7se.js} +23 -23
- package/dist/chunks/{file-1j7qs22q.js → state-wyxd6c79.js} +34 -34
- package/dist/chunks/{file-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-rry1cpvn.js → state-x1rq2d5e.js} +15 -15
- package/dist/chunks/{file-wjtjjmd0.js → state-x3cpe7dn.js} +11 -11
- package/dist/chunks/{file-1ac4bme3.js → state-x58wvrnc.js} +3 -3
- package/dist/chunks/{file-7hkvzewv.js → state-x6fpxd14.js} +10 -10
- package/dist/chunks/{file-cza9j1er.js → state-xc0y5txa.js} +1 -1
- package/dist/chunks/{file-g14zqp48.js → state-xnqxh1k4.js} +6 -6
- package/dist/chunks/{file-9pgc3c9f.js → state-xvssc1kt.js} +17 -17
- package/dist/chunks/{file-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-r6x8jqph.js → state-y38bkm5v.js} +28 -28
- package/dist/chunks/{file-ea8nv0r7.js → state-y6fqbdb6.js} +2 -2
- package/dist/chunks/{file-dc8d22k9.js → state-y8swrd1p.js} +19 -19
- package/dist/chunks/{file-fzsrmebp.js → state-y8w077mg.js} +21 -21
- package/dist/chunks/{file-j6frhm8p.js → state-yfdtkgec.js} +5 -5
- package/dist/chunks/{file-drjkjrg9.js → state-yjy17zka.js} +6 -6
- package/dist/chunks/{file-1sxt24ag.js → state-ym3mvm7f.js} +31 -31
- package/dist/chunks/{file-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-v65drjb8.js → state-ysz0c65e.js} +11 -11
- package/dist/chunks/{file-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-ah6b56rd.js → state-z6cnzstw.js} +9 -9
- package/dist/chunks/{file-zeh9ct20.js → state-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-wpqth83p.js → state-zgew93s5.js} +2 -2
- package/dist/chunks/{file-0gw11f53.js → state-zjcnng30.js} +25 -25
- package/dist/chunks/{file-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +112 -112
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +116 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +73 -73
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.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 +361 -361
- 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 +87 -87
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +89 -89
- 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 +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +92 -92
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +352 -352
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- 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 +132 -132
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +349 -349
- package/dist/location.js +83 -83
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +103 -103
- 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 +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +130 -130
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +338 -338
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +5 -5
- 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 +95 -95
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +83 -83
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- 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 +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +89 -89
- 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 +116 -116
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +119 -119
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +3 -3
- package/dist/v1/config/attachment.js +2 -2
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- 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 +4 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +76 -76
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +73 -73
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/file-0mesazry.js +0 -4
- package/dist/chunks/file-h591h6nq.js +0 -247
- package/dist/chunks/file-ht5y0zrb.js +0 -18
- /package/dist/chunks/{file-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{file-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{file-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{file-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{file-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-922hggd3.js → state-922hggd3.js} +0 -0
- /package/dist/chunks/{file-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{file-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{file-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{file-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{file-hrnqkpcd.js → state-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-j935v87r.js → state-j935v87r.js} +0 -0
- /package/dist/chunks/{file-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-twg0f83k.js → state-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{file-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -1,128 +1,128 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
+
node42
|
|
4
|
+
} from "./state-hzm9egg4.js";
|
|
5
|
+
import {
|
|
6
|
+
Service79,
|
|
3
7
|
node84
|
|
4
|
-
} from "./
|
|
8
|
+
} from "./state-w6pwrz03.js";
|
|
5
9
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
10
|
+
ID8,
|
|
11
|
+
Service47,
|
|
12
|
+
node51
|
|
13
|
+
} from "./state-q85bd21y.js";
|
|
9
14
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
node61
|
|
13
|
-
} from "./file-r12ptjs8.js";
|
|
15
|
+
ID17
|
|
16
|
+
} from "./state-xnqxh1k4.js";
|
|
14
17
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
18
|
+
Service50,
|
|
19
|
+
node54
|
|
20
|
+
} from "./state-v6697qd3.js";
|
|
17
21
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./file-bd7brtc3.js";
|
|
21
|
-
import {
|
|
22
|
-
ID15
|
|
23
|
-
} from "./file-hp075dpy.js";
|
|
22
|
+
ID16
|
|
23
|
+
} from "./state-0kcg9p5c.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID18,
|
|
26
26
|
OAuth3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./state-wyxd6c79.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
ID14,
|
|
30
30
|
MethodID2,
|
|
31
31
|
AttemptID2,
|
|
32
32
|
Method2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
36
|
-
import {
|
|
37
|
-
Service59,
|
|
38
|
-
node62
|
|
39
|
-
} from "./file-fxtthhfd.js";
|
|
33
|
+
Service76,
|
|
34
|
+
node81
|
|
35
|
+
} from "./state-395j3mj5.js";
|
|
40
36
|
import {
|
|
41
37
|
Service75,
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
38
|
+
node80
|
|
39
|
+
} from "./state-wgpywka8.js";
|
|
44
40
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
41
|
+
Service37,
|
|
42
|
+
node40
|
|
43
|
+
} from "./state-3vc92cpq.js";
|
|
44
|
+
import {
|
|
45
|
+
Service67,
|
|
46
|
+
node71
|
|
47
|
+
} from "./state-9e1pnjm1.js";
|
|
48
48
|
import {
|
|
49
49
|
AbsolutePath2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./state-922hggd3.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
Info26,
|
|
53
|
+
Ref2,
|
|
54
54
|
Service72,
|
|
55
|
-
|
|
56
|
-
} from "./
|
|
57
|
-
import {
|
|
58
|
-
Service53,
|
|
59
|
-
node56
|
|
60
|
-
} from "./file-y4x12v72.js";
|
|
55
|
+
node77
|
|
56
|
+
} from "./state-f76jjjy7.js";
|
|
61
57
|
import {
|
|
62
|
-
|
|
63
|
-
|
|
58
|
+
Service60,
|
|
59
|
+
node64
|
|
60
|
+
} from "./state-q1ayw5n1.js";
|
|
64
61
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./file-vmtte7pc.js";
|
|
62
|
+
ID11
|
|
63
|
+
} from "./state-72417vrk.js";
|
|
68
64
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
65
|
+
Service27,
|
|
66
|
+
node31
|
|
67
|
+
} from "./state-gy2qaxq4.js";
|
|
72
68
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
69
|
+
Service68,
|
|
70
|
+
node72
|
|
71
|
+
} from "./state-ddx3tg71.js";
|
|
76
72
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
} from "./
|
|
73
|
+
Service44,
|
|
74
|
+
node48
|
|
75
|
+
} from "./state-kb4h31ft.js";
|
|
80
76
|
import {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./file-hp277x20.js";
|
|
77
|
+
Service54,
|
|
78
|
+
node58
|
|
79
|
+
} from "./state-kjmahcfy.js";
|
|
85
80
|
import {
|
|
86
|
-
|
|
81
|
+
Source4,
|
|
87
82
|
Service39,
|
|
88
83
|
node43
|
|
89
|
-
} from "./
|
|
84
|
+
} from "./state-pmy40cdq.js";
|
|
90
85
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
86
|
+
Info5,
|
|
87
|
+
Service36,
|
|
88
|
+
node39
|
|
89
|
+
} from "./state-87shza1g.js";
|
|
94
90
|
import {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
} from "./
|
|
91
|
+
Service15,
|
|
92
|
+
node19
|
|
93
|
+
} from "./state-tz09nfgs.js";
|
|
98
94
|
import {
|
|
99
95
|
Service33,
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
96
|
+
node36
|
|
97
|
+
} from "./state-24c7t6kx.js";
|
|
102
98
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
99
|
+
Service42,
|
|
100
|
+
node46
|
|
101
|
+
} from "./state-mwyv3scv.js";
|
|
106
102
|
import {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
103
|
+
Service41,
|
|
104
|
+
node45
|
|
105
|
+
} from "./state-8c0s05bc.js";
|
|
106
|
+
import {
|
|
107
|
+
ID3,
|
|
108
|
+
Service14,
|
|
109
|
+
node18
|
|
110
|
+
} from "./state-y38bkm5v.js";
|
|
111
111
|
import {
|
|
112
112
|
StrategyID2,
|
|
113
|
-
|
|
113
|
+
Info12,
|
|
114
114
|
ListEntry3,
|
|
115
115
|
UnsupportedLocationError2,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
} from "./
|
|
116
|
+
Service48,
|
|
117
|
+
node52
|
|
118
|
+
} from "./state-rgqj86dy.js";
|
|
119
119
|
import {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
} from "./
|
|
120
|
+
Service13,
|
|
121
|
+
node17
|
|
122
|
+
} from "./state-ven90c16.js";
|
|
123
123
|
import {
|
|
124
124
|
__export
|
|
125
|
-
} from "./
|
|
125
|
+
} from "./state-9rqn6x4v.js";
|
|
126
126
|
|
|
127
127
|
// src/plugin/host.ts
|
|
128
128
|
var exports_host = {};
|
|
@@ -140,36 +140,36 @@ var mutable = (value) => value;
|
|
|
140
140
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
141
141
|
var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
142
142
|
const app = yield* Metadata2;
|
|
143
|
-
const agents = yield*
|
|
144
|
-
const aisdk = yield*
|
|
145
|
-
const catalog = yield*
|
|
146
|
-
const commands = yield*
|
|
147
|
-
const bus = yield*
|
|
148
|
-
const integration = yield*
|
|
149
|
-
const kv = yield*
|
|
150
|
-
const mcp = yield*
|
|
143
|
+
const agents = yield* Service47;
|
|
144
|
+
const aisdk = yield* Service50;
|
|
145
|
+
const catalog = yield* Service75;
|
|
146
|
+
const commands = yield* Service37;
|
|
147
|
+
const bus = yield* Service79;
|
|
148
|
+
const integration = yield* Service76;
|
|
149
|
+
const kv = yield* Service67;
|
|
150
|
+
const mcp = yield* Service27;
|
|
151
151
|
const location = yield* Service72;
|
|
152
|
-
const reference = yield*
|
|
153
|
-
const rpc = yield*
|
|
154
|
-
const skill = yield*
|
|
155
|
-
const tools = yield*
|
|
156
|
-
const vcs = yield*
|
|
157
|
-
const websearch = yield*
|
|
158
|
-
const generate = yield*
|
|
159
|
-
const permission = yield*
|
|
160
|
-
const hooks = yield*
|
|
161
|
-
const sessions = yield*
|
|
162
|
-
const persistentPty = yield*
|
|
163
|
-
const locations = yield*
|
|
164
|
-
const worktrees = yield*
|
|
165
|
-
const locationInfo = () => new
|
|
152
|
+
const reference = yield* Service39;
|
|
153
|
+
const rpc = yield* Service42;
|
|
154
|
+
const skill = yield* Service36;
|
|
155
|
+
const tools = yield* Service54;
|
|
156
|
+
const vcs = yield* Service41;
|
|
157
|
+
const websearch = yield* Service14;
|
|
158
|
+
const generate = yield* Service13;
|
|
159
|
+
const permission = yield* Service44;
|
|
160
|
+
const hooks = yield* Service68;
|
|
161
|
+
const sessions = yield* Service15;
|
|
162
|
+
const persistentPty = yield* Service33;
|
|
163
|
+
const locations = yield* Service60;
|
|
164
|
+
const worktrees = yield* Service48;
|
|
165
|
+
const locationInfo = () => new Info26({
|
|
166
166
|
directory: location.directory,
|
|
167
167
|
workspaceID: location.workspaceID,
|
|
168
168
|
project: location.project
|
|
169
169
|
});
|
|
170
|
-
const locationRef = (input) => input?.location === undefined ? undefined :
|
|
170
|
+
const locationRef = (input) => input?.location === undefined ? undefined : Ref2.make({
|
|
171
171
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
172
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
172
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID11.make(input.location.workspace)
|
|
173
173
|
});
|
|
174
174
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
175
175
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
@@ -181,18 +181,18 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
181
181
|
return Effect.gen(function* () {
|
|
182
182
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
183
183
|
const plugins = yield* Plugin.Service;
|
|
184
|
-
const target = yield*
|
|
184
|
+
const target = yield* Service48;
|
|
185
185
|
yield* plugins.awaitActivation;
|
|
186
186
|
return yield* run(target);
|
|
187
187
|
}).pipe(Effect.provide(locations.get(ref)));
|
|
188
188
|
};
|
|
189
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
189
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info12);
|
|
190
190
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
191
191
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
192
192
|
const location = yield* Service72;
|
|
193
|
-
const agents = yield*
|
|
193
|
+
const agents = yield* Service47;
|
|
194
194
|
return {
|
|
195
|
-
location: new
|
|
195
|
+
location: new Info26({
|
|
196
196
|
directory: location.directory,
|
|
197
197
|
workspaceID: location.workspaceID,
|
|
198
198
|
project: location.project
|
|
@@ -224,10 +224,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
224
224
|
transform: (callback) => agents.transform((editor) => {
|
|
225
225
|
callback({
|
|
226
226
|
list: () => mutable(editor.list()),
|
|
227
|
-
get: (id) => mutable(editor.get(
|
|
228
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
229
|
-
update: (id, update) => editor.update(
|
|
230
|
-
remove: (id) => editor.remove(
|
|
227
|
+
get: (id) => mutable(editor.get(ID8.make(id))),
|
|
228
|
+
default: (id) => editor.default(id === undefined ? undefined : ID8.make(id)),
|
|
229
|
+
update: (id, update) => editor.update(ID8.make(id), update),
|
|
230
|
+
remove: (id) => editor.remove(ID8.make(id))
|
|
231
231
|
});
|
|
232
232
|
})
|
|
233
233
|
},
|
|
@@ -262,7 +262,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
262
262
|
catalog: {
|
|
263
263
|
provider: {
|
|
264
264
|
list: () => response(catalog.provider.available()),
|
|
265
|
-
get: (input) => catalog.provider.get(
|
|
265
|
+
get: (input) => catalog.provider.get(ID17.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider))))
|
|
266
266
|
},
|
|
267
267
|
model: {
|
|
268
268
|
list: () => response(catalog.model.available()),
|
|
@@ -273,17 +273,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
273
273
|
callback({
|
|
274
274
|
provider: {
|
|
275
275
|
list: () => mutable(editor.provider.list()),
|
|
276
|
-
get: (id) => mutable(editor.provider.get(
|
|
277
|
-
update: (id, update) => editor.provider.update(
|
|
278
|
-
remove: (id) => editor.provider.remove(
|
|
276
|
+
get: (id) => mutable(editor.provider.get(ID17.make(id))),
|
|
277
|
+
update: (id, update) => editor.provider.update(ID17.make(id), update),
|
|
278
|
+
remove: (id) => editor.provider.remove(ID17.make(id))
|
|
279
279
|
},
|
|
280
280
|
model: {
|
|
281
|
-
get: (providerID, modelID) => mutable(editor.model.get(
|
|
282
|
-
update: (providerID, modelID, update) => editor.model.update(
|
|
283
|
-
remove: (providerID, modelID) => editor.model.remove(
|
|
281
|
+
get: (providerID, modelID) => mutable(editor.model.get(ID17.make(providerID), ID16.make(modelID))),
|
|
282
|
+
update: (providerID, modelID, update) => editor.model.update(ID17.make(providerID), ID16.make(modelID), update),
|
|
283
|
+
remove: (providerID, modelID) => editor.model.remove(ID17.make(providerID), ID16.make(modelID)),
|
|
284
284
|
default: {
|
|
285
285
|
get: editor.model.default.get,
|
|
286
|
-
set: (providerID, modelID) => editor.model.default.set(
|
|
286
|
+
set: (providerID, modelID) => editor.model.default.set(ID17.make(providerID), ID16.make(modelID))
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
289
|
});
|
|
@@ -307,10 +307,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
307
307
|
},
|
|
308
308
|
integration: {
|
|
309
309
|
list: () => response(integration.list()),
|
|
310
|
-
get: (input) => response(integration.get(
|
|
310
|
+
get: (input) => response(integration.get(ID14.make(input.integrationID))),
|
|
311
311
|
connect: {
|
|
312
312
|
key: (input) => integration.connection.key({
|
|
313
|
-
integrationID:
|
|
313
|
+
integrationID: ID14.make(input.integrationID),
|
|
314
314
|
key: input.key,
|
|
315
315
|
answer: input.answer,
|
|
316
316
|
label: input.label
|
|
@@ -318,55 +318,55 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
318
318
|
},
|
|
319
319
|
oauth: {
|
|
320
320
|
connect: (input) => response(integration.oauth.connect({
|
|
321
|
-
integrationID:
|
|
321
|
+
integrationID: ID14.make(input.integrationID),
|
|
322
322
|
methodID: MethodID2.make(input.methodID),
|
|
323
323
|
answer: input.answer,
|
|
324
324
|
label: input.label
|
|
325
325
|
})),
|
|
326
326
|
status: (input) => response(integration.oauth.status({
|
|
327
|
-
integrationID:
|
|
327
|
+
integrationID: ID14.make(input.integrationID),
|
|
328
328
|
attemptID: AttemptID2.make(input.attemptID)
|
|
329
329
|
})),
|
|
330
330
|
complete: (input) => integration.oauth.complete({
|
|
331
|
-
integrationID:
|
|
331
|
+
integrationID: ID14.make(input.integrationID),
|
|
332
332
|
attemptID: AttemptID2.make(input.attemptID),
|
|
333
333
|
code: input.code
|
|
334
334
|
}),
|
|
335
335
|
cancel: (input) => integration.oauth.cancel({
|
|
336
|
-
integrationID:
|
|
336
|
+
integrationID: ID14.make(input.integrationID),
|
|
337
337
|
attemptID: AttemptID2.make(input.attemptID)
|
|
338
338
|
})
|
|
339
339
|
},
|
|
340
340
|
command: {
|
|
341
341
|
connect: (input) => response(integration.command.connect({
|
|
342
|
-
integrationID:
|
|
342
|
+
integrationID: ID14.make(input.integrationID),
|
|
343
343
|
methodID: MethodID2.make(input.methodID),
|
|
344
344
|
label: input.label
|
|
345
345
|
})),
|
|
346
346
|
status: (input) => response(integration.command.status({
|
|
347
|
-
integrationID:
|
|
347
|
+
integrationID: ID14.make(input.integrationID),
|
|
348
348
|
attemptID: AttemptID2.make(input.attemptID)
|
|
349
349
|
})),
|
|
350
350
|
cancel: (input) => integration.command.cancel({
|
|
351
|
-
integrationID:
|
|
351
|
+
integrationID: ID14.make(input.integrationID),
|
|
352
352
|
attemptID: AttemptID2.make(input.attemptID)
|
|
353
353
|
})
|
|
354
354
|
},
|
|
355
355
|
reload: integration.reload,
|
|
356
356
|
connection: {
|
|
357
|
-
active: (id) => integration.connection.active(
|
|
358
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
357
|
+
active: (id) => integration.connection.active(ID14.make(id)),
|
|
358
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID18.make(connection.id) } : connection)
|
|
359
359
|
},
|
|
360
360
|
transform: (callback) => integration.transform((editor) => {
|
|
361
361
|
callback({
|
|
362
362
|
list: () => mutable(editor.list()),
|
|
363
|
-
get: (id) => mutable(editor.get(
|
|
364
|
-
update: (id, update) => editor.update(
|
|
365
|
-
remove: (id) => editor.remove(
|
|
363
|
+
get: (id) => mutable(editor.get(ID14.make(id))),
|
|
364
|
+
update: (id, update) => editor.update(ID14.make(id), update),
|
|
365
|
+
remove: (id) => editor.remove(ID14.make(id)),
|
|
366
366
|
method: {
|
|
367
|
-
list: (id) => editor.method.list(
|
|
367
|
+
list: (id) => editor.method.list(ID14.make(id)),
|
|
368
368
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
369
|
-
remove: (id, method) => editor.method.remove(
|
|
369
|
+
remove: (id, method) => editor.method.remove(ID14.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
370
370
|
}
|
|
371
371
|
});
|
|
372
372
|
})
|
|
@@ -377,9 +377,9 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
377
377
|
if (ref && !isCurrentLocation(ref))
|
|
378
378
|
return Effect.gen(function* () {
|
|
379
379
|
const location = yield* Service72;
|
|
380
|
-
const mcp = yield*
|
|
380
|
+
const mcp = yield* Service27;
|
|
381
381
|
return {
|
|
382
|
-
location: new
|
|
382
|
+
location: new Info26({
|
|
383
383
|
directory: location.directory,
|
|
384
384
|
workspaceID: location.workspaceID,
|
|
385
385
|
project: location.project
|
|
@@ -415,7 +415,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
415
415
|
reload: reference.reload,
|
|
416
416
|
transform: (callback) => reference.transform((editor) => {
|
|
417
417
|
callback({
|
|
418
|
-
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(
|
|
418
|
+
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source4)(source)),
|
|
419
419
|
remove: editor.remove,
|
|
420
420
|
list: editor.list,
|
|
421
421
|
get: editor.get
|
|
@@ -429,7 +429,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
429
429
|
callback({
|
|
430
430
|
list: () => mutable(editor.list()),
|
|
431
431
|
get: editor.get,
|
|
432
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
432
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info5)(value)),
|
|
433
433
|
update: editor.update,
|
|
434
434
|
remove: editor.remove
|
|
435
435
|
});
|
|
@@ -457,19 +457,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
457
457
|
providers: () => response(websearch.providers()),
|
|
458
458
|
query: (input) => response(websearch.query({
|
|
459
459
|
query: input.query,
|
|
460
|
-
providerID: input.providerID === undefined ? undefined :
|
|
460
|
+
providerID: input.providerID === undefined ? undefined : ID3.make(input.providerID)
|
|
461
461
|
})),
|
|
462
462
|
reload: websearch.reload,
|
|
463
463
|
transform: (callback) => websearch.transform((editor) => {
|
|
464
464
|
callback({
|
|
465
465
|
add: (definition) => editor.add({
|
|
466
|
-
id:
|
|
466
|
+
id: ID3.make(definition.id),
|
|
467
467
|
name: definition.name,
|
|
468
468
|
execute: definition.execute
|
|
469
469
|
}),
|
|
470
470
|
default: {
|
|
471
471
|
get: editor.default.get,
|
|
472
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
472
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID3.make(selection))
|
|
473
473
|
}
|
|
474
474
|
});
|
|
475
475
|
})
|
|
@@ -498,7 +498,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
498
498
|
model: input?.model,
|
|
499
499
|
metadata: input?.metadata,
|
|
500
500
|
permissions: input?.permissions,
|
|
501
|
-
location: input?.location ??
|
|
501
|
+
location: input?.location ?? Ref2.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
502
502
|
}),
|
|
503
503
|
get: (input) => sessions.get(input.sessionID),
|
|
504
504
|
switchAgent: sessions.switchAgent,
|
|
@@ -517,29 +517,29 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
517
517
|
return context;
|
|
518
518
|
});
|
|
519
519
|
var requirements3 = LayerNode.group([
|
|
520
|
+
node42,
|
|
521
|
+
node51,
|
|
522
|
+
node54,
|
|
523
|
+
node80,
|
|
524
|
+
node40,
|
|
520
525
|
node84,
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
node79,
|
|
525
|
-
node82,
|
|
526
|
-
node63,
|
|
526
|
+
node81,
|
|
527
|
+
node71,
|
|
528
|
+
node31,
|
|
527
529
|
node77,
|
|
528
|
-
node33,
|
|
529
|
-
node76,
|
|
530
|
-
node38,
|
|
531
|
-
node37,
|
|
532
530
|
node43,
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
node49,
|
|
536
|
-
node36,
|
|
537
|
-
node35,
|
|
531
|
+
node46,
|
|
532
|
+
node39,
|
|
538
533
|
node58,
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
534
|
+
node45,
|
|
535
|
+
node18,
|
|
536
|
+
node52,
|
|
537
|
+
node17,
|
|
538
|
+
node48,
|
|
539
|
+
node72,
|
|
540
|
+
node19,
|
|
541
|
+
node36,
|
|
542
|
+
node64
|
|
543
543
|
]);
|
|
544
544
|
function storage2(kv, pluginID) {
|
|
545
545
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -566,7 +566,7 @@ function methodImplementation(input) {
|
|
|
566
566
|
if ("authorize" in input) {
|
|
567
567
|
const refresh = input.refresh;
|
|
568
568
|
return {
|
|
569
|
-
integrationID:
|
|
569
|
+
integrationID: ID14.make(input.integrationID),
|
|
570
570
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
571
571
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
572
572
|
if (authorization.mode === "auto") {
|
|
@@ -586,18 +586,18 @@ function methodImplementation(input) {
|
|
|
586
586
|
}
|
|
587
587
|
if (input.method.type === "env") {
|
|
588
588
|
return {
|
|
589
|
-
integrationID:
|
|
589
|
+
integrationID: ID14.make(input.integrationID),
|
|
590
590
|
method: input.method
|
|
591
591
|
};
|
|
592
592
|
}
|
|
593
593
|
if (input.method.type === "command") {
|
|
594
594
|
return {
|
|
595
|
-
integrationID:
|
|
595
|
+
integrationID: ID14.make(input.integrationID),
|
|
596
596
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
597
597
|
};
|
|
598
598
|
}
|
|
599
599
|
return {
|
|
600
|
-
integrationID:
|
|
600
|
+
integrationID: ID14.make(input.integrationID),
|
|
601
601
|
method: input.method
|
|
602
602
|
};
|
|
603
603
|
}
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service49,
|
|
9
|
+
node53
|
|
10
|
+
} from "./state-d0j044cp.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./state-7w99qc9d.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service31,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node34,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service31 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
websocket: options.websocket ?? false
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
76
|
-
const resolver = yield*
|
|
77
|
-
return
|
|
75
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
76
|
+
const resolver = yield* Service49;
|
|
77
|
+
return Service31.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node34 = makeLocationNode({ service: Service31, layer, deps: [node53] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service31, resolved2, node34, exports_model };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./state-bjmdedkt.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./state-kb4h31ft.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./state-395j3mj5.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 "./state-dwepz7tb.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|