@opencode/core 0.0.0-dev-127 → 0.0.0-dev-142
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 +85 -85
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +7 -7
- package/dist/bus.js +81 -81
- package/dist/chunks/{vcs-nd2tnrer.js → model-resolver-00j2jq49.js} +21 -21
- package/dist/chunks/{vcs-b0sg3wpe.js → model-resolver-00vhvht6.js} +9 -9
- package/dist/chunks/{vcs-w40n4gsv.js → model-resolver-02912v3r.js} +23 -23
- package/dist/chunks/{vcs-034tev2y.js → model-resolver-034tev2y.js} +2 -2
- package/dist/chunks/{vcs-rkmk5vwv.js → model-resolver-03p96rzt.js} +23 -23
- package/dist/chunks/{vcs-gym2h9a5.js → model-resolver-06bhh52d.js} +37 -37
- package/dist/chunks/{vcs-rba8nkkd.js → model-resolver-08h64782.js} +31 -31
- package/dist/chunks/{vcs-nyvrwfsp.js → model-resolver-0e6cmbb1.js} +7 -7
- package/dist/chunks/model-resolver-0rvmmz3p.js +511 -0
- package/dist/chunks/{vcs-qnx4qqef.js → model-resolver-0wjsrq6g.js} +32 -32
- package/dist/chunks/{vcs-e5nq3gw7.js → model-resolver-0yd77tsv.js} +32 -32
- package/dist/chunks/{vcs-vmb9fjk7.js → model-resolver-0yjd96ev.js} +14 -14
- package/dist/chunks/{vcs-1c18fjk2.js → model-resolver-1c18fjk2.js} +3 -3
- package/dist/chunks/{vcs-avnfhq9f.js → model-resolver-1eg9cpxp.js} +18 -18
- package/dist/chunks/{vcs-1ep2p91f.js → model-resolver-1ep2p91f.js} +2 -2
- package/dist/chunks/{vcs-8n846smm.js → model-resolver-1hcx3tbe.js} +2 -2
- package/dist/chunks/{vcs-1kn6jdkn.js → model-resolver-1kn6jdkn.js} +1 -1
- package/dist/chunks/{vcs-nq68ds7k.js → model-resolver-1tte1mx1.js} +13 -13
- package/dist/chunks/{vcs-pm2h99rs.js → model-resolver-1wnedb0q.js} +5 -5
- package/dist/chunks/{vcs-1x2knyw4.js → model-resolver-1x2knyw4.js} +1 -1
- package/dist/chunks/{vcs-1yq9hg58.js → model-resolver-1yq9hg58.js} +1 -1
- package/dist/chunks/{vcs-204s3925.js → model-resolver-204s3925.js} +1 -1
- package/dist/chunks/{vcs-3643rqcq.js → model-resolver-20xwdmdm.js} +31 -31
- package/dist/chunks/{vcs-4dc0m2yj.js → model-resolver-20yqreeg.js} +19 -19
- package/dist/chunks/{vcs-zvcf8251.js → model-resolver-22frdqra.js} +17 -17
- package/dist/chunks/{vcs-gqw7tsj2.js → model-resolver-259dfg4a.js} +17 -17
- package/dist/chunks/{vcs-vsqvcqta.js → model-resolver-26x8chrq.js} +6 -6
- package/dist/chunks/{vcs-pp35y9ja.js → model-resolver-2gmf4cwd.js} +14 -14
- package/dist/chunks/{vcs-40wjcqjb.js → model-resolver-2jz3h0mg.js} +13 -13
- package/dist/chunks/{vcs-prd8gnhb.js → model-resolver-2mbjfaxd.js} +4 -4
- package/dist/chunks/{vcs-e7ncz2ep.js → model-resolver-30q9anfd.js} +2 -2
- package/dist/chunks/{vcs-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{vcs-cgcy5cf3.js → model-resolver-3j6nq55v.js} +5 -5
- package/dist/chunks/{vcs-3nnrz6f6.js → model-resolver-3nnrz6f6.js} +1 -1
- package/dist/chunks/{vcs-c6x7d2ts.js → model-resolver-3ryz99p0.js} +4 -4
- package/dist/chunks/{vcs-w2eysc6j.js → model-resolver-40za9wsf.js} +9 -9
- package/dist/chunks/{vcs-e7a6aess.js → model-resolver-48a83rgb.js} +11 -11
- package/dist/chunks/{vcs-xk9q3ejh.js → model-resolver-4dmkk8ef.js} +4 -4
- package/dist/chunks/{vcs-4pyp9zr9.js → model-resolver-4pyp9zr9.js} +1 -1
- package/dist/chunks/{vcs-qbbn7fzb.js → model-resolver-4s4jqh0r.js} +3 -3
- package/dist/chunks/{vcs-ttq9z2mv.js → model-resolver-4sy33n8r.js} +29 -29
- package/dist/chunks/{vcs-4v008n1t.js → model-resolver-4v008n1t.js} +1 -1
- package/dist/chunks/{vcs-xddcb79t.js → model-resolver-4zqw3v5h.js} +8 -8
- package/dist/chunks/{vcs-7eybfgds.js → model-resolver-5a5y8bey.js} +37 -37
- package/dist/chunks/{vcs-vpm8vpz0.js → model-resolver-5ect6tx9.js} +3 -3
- package/dist/chunks/{vcs-qvp421yx.js → model-resolver-5h3ym5d6.js} +12 -12
- package/dist/chunks/{vcs-zpmqt7v6.js → model-resolver-5k083j4m.js} +12 -12
- package/dist/chunks/{vcs-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
- package/dist/chunks/{vcs-7fqk2rn8.js → model-resolver-5ser1zg9.js} +12 -12
- package/dist/chunks/{vcs-5x26af84.js → model-resolver-5x26af84.js} +4 -4
- package/dist/chunks/{vcs-qzvrv7jr.js → model-resolver-5yypp707.js} +20 -20
- package/dist/chunks/{vcs-9px9s5en.js → model-resolver-6551djh0.js} +21 -21
- package/dist/chunks/{vcs-cjbgqqwx.js → model-resolver-68aa2d0k.js} +34 -34
- package/dist/chunks/{vcs-b7pj09ek.js → model-resolver-69zcgx44.js} +24 -24
- package/dist/chunks/{vcs-5671gcv1.js → model-resolver-6bsbxh19.js} +24 -24
- package/dist/chunks/{vcs-49n1pyc7.js → model-resolver-6d7x7hha.js} +26 -26
- package/dist/chunks/{vcs-6xxsd0pz.js → model-resolver-6eh6zpt5.js} +3 -3
- package/dist/chunks/{vcs-6esdw8yj.js → model-resolver-6esdw8yj.js} +1 -1
- package/dist/chunks/{vcs-01vd1a4d.js → model-resolver-6pvfyazw.js} +9 -9
- package/dist/chunks/model-resolver-6zjm2phc.js +18 -0
- package/dist/chunks/{vcs-hstvx0fp.js → model-resolver-70q4g7fy.js} +13 -13
- package/dist/chunks/{vcs-g1sr3cxe.js → model-resolver-72dm1bvs.js} +6 -6
- package/dist/chunks/{vcs-2jzrs42d.js → model-resolver-74xmswmc.js} +11 -11
- package/dist/chunks/{vcs-76cb1hcw.js → model-resolver-76cb1hcw.js} +1 -1
- package/dist/chunks/{vcs-bhy91ayb.js → model-resolver-77gzjyfx.js} +30 -30
- package/dist/chunks/{vcs-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{vcs-xa3f19ed.js → model-resolver-7dh73bnv.js} +5 -5
- package/dist/chunks/{vcs-r2tmvqhf.js → model-resolver-7dz079pe.js} +4 -4
- package/dist/chunks/{vcs-gd9bhszy.js → model-resolver-7fpmdzjk.js} +18 -18
- package/dist/chunks/{vcs-4fp9at6s.js → model-resolver-7j5kte3m.js} +9 -9
- package/dist/chunks/{vcs-hdfrs5mg.js → model-resolver-7ktdj9mm.js} +9 -9
- package/dist/chunks/{vcs-yqdscqzd.js → model-resolver-7qjfmraz.js} +60 -60
- package/dist/chunks/{vcs-rxr97xxp.js → model-resolver-7re6vdtc.js} +5 -5
- package/dist/chunks/{vcs-bekv3p3z.js → model-resolver-7s7rdm9s.js} +22 -22
- package/dist/chunks/{vcs-7w2ypzdf.js → model-resolver-7w2ypzdf.js} +1 -1
- package/dist/chunks/{vcs-4g637f85.js → model-resolver-810xvjsv.js} +13 -13
- package/dist/chunks/{vcs-hzkgd62h.js → model-resolver-83sq6nks.js} +10 -10
- package/dist/chunks/{vcs-vqyvghz1.js → model-resolver-86xcj867.js} +14 -14
- package/dist/chunks/{vcs-bdbkn0ax.js → model-resolver-8anaanvs.js} +6 -6
- package/dist/chunks/{vcs-11hfp36g.js → model-resolver-8jztxfpf.js} +4 -4
- package/dist/chunks/{vcs-phvm2phv.js → model-resolver-8pd54nv5.js} +29 -29
- package/dist/chunks/{vcs-s3d0e3hj.js → model-resolver-8qp8tat4.js} +22 -22
- package/dist/chunks/{vcs-d85wcx0m.js → model-resolver-8vkd6pwc.js} +14 -14
- package/dist/chunks/{vcs-8wtp7s3z.js → model-resolver-8wtp7s3z.js} +1 -1
- package/dist/chunks/{vcs-445zs8vc.js → model-resolver-8xq2wskz.js} +9 -9
- package/dist/chunks/{vcs-90zstvax.js → model-resolver-90zstvax.js} +1 -1
- package/dist/chunks/{vcs-a9czvbcv.js → model-resolver-92p41aee.js} +1 -1
- package/dist/chunks/{vcs-2338945t.js → model-resolver-9615vp9a.js} +1 -1
- package/dist/chunks/{vcs-j183yw35.js → model-resolver-99vf0hqv.js} +25 -25
- package/dist/chunks/{vcs-4ygfw4eq.js → model-resolver-9ndb8058.js} +89 -89
- package/dist/chunks/{vcs-w35wzz9x.js → model-resolver-9q8g9sv8.js} +4 -4
- package/dist/chunks/{vcs-mfpkpefx.js → model-resolver-9r0x1bva.js} +9 -9
- package/dist/chunks/{vcs-g5dwm102.js → model-resolver-9vjgnb2r.js} +9 -9
- package/dist/chunks/{vcs-rfy1qsv0.js → model-resolver-9y0knddb.js} +5 -5
- package/dist/chunks/{vcs-b8r1m2ts.js → model-resolver-a8pfnwqf.js} +56 -45
- package/dist/chunks/{vcs-y1d2ygm2.js → model-resolver-a8xdst61.js} +9 -9
- package/dist/chunks/{vcs-afpnaekc.js → model-resolver-aafmq595.js} +22 -22
- package/dist/chunks/{vcs-xaz3vqte.js → model-resolver-ahzfx2tk.js} +4 -4
- package/dist/chunks/{vcs-36nwmxg8.js → model-resolver-ahzmq0a0.js} +12 -12
- package/dist/chunks/{vcs-h4fbvc3r.js → model-resolver-akhh771z.js} +16 -16
- package/dist/chunks/{vcs-nqr97zc9.js → model-resolver-axj80nt7.js} +28 -28
- package/dist/chunks/{vcs-ayjs7tqn.js → model-resolver-ayjs7tqn.js} +2 -2
- package/dist/chunks/{vcs-ete78w2g.js → model-resolver-b1acbdmy.js} +21 -21
- package/dist/chunks/{vcs-b6vsg801.js → model-resolver-b6vsg801.js} +2 -2
- package/dist/chunks/{vcs-wr3re1en.js → model-resolver-b6z35kmf.js} +4 -4
- package/dist/chunks/{vcs-z7qjx3kd.js → model-resolver-bc7wy6df.js} +33 -33
- package/dist/chunks/{vcs-7epxgbgt.js → model-resolver-bhvs01y7.js} +6 -6
- package/dist/chunks/{vcs-e8c50cbj.js → model-resolver-bjyz8pkd.js} +26 -26
- package/dist/chunks/{vcs-6cahmqzr.js → model-resolver-bk7xq8bh.js} +8 -8
- package/dist/chunks/{vcs-18m8fffx.js → model-resolver-bn4d6q1b.js} +26 -26
- package/dist/chunks/{vcs-mayam77x.js → model-resolver-bnfkacme.js} +27 -27
- package/dist/chunks/{vcs-hembwb5d.js → model-resolver-bpeyfd4s.js} +34 -34
- package/dist/chunks/{vcs-bstexjd6.js → model-resolver-bstexjd6.js} +1 -1
- package/dist/chunks/{vcs-c7zhh4za.js → model-resolver-bxkqm08j.js} +6 -6
- package/dist/chunks/{vcs-8052wv3e.js → model-resolver-c1p828ba.js} +20 -20
- package/dist/chunks/{vcs-vx6ny987.js → model-resolver-c5jkhswj.js} +4 -4
- package/dist/chunks/{vcs-dpq8g4fp.js → model-resolver-c7r1w9rw.js} +6 -6
- package/dist/chunks/{vcs-texq708e.js → model-resolver-cd00wddm.js} +5 -5
- package/dist/chunks/{vcs-f62xyz39.js → model-resolver-cg5ng5tz.js} +43 -43
- package/dist/chunks/{vcs-psx2s2js.js → model-resolver-crafzxe9.js} +5 -5
- package/dist/chunks/{vcs-cwrgdav8.js → model-resolver-cwrgdav8.js} +2 -2
- package/dist/chunks/{vcs-1z2ee6fc.js → model-resolver-cyy83wr4.js} +21 -21
- package/dist/chunks/{vcs-ssfehs1z.js → model-resolver-d2887f8n.js} +4 -4
- package/dist/chunks/{vcs-d4v9tmah.js → model-resolver-d4v9tmah.js} +2 -2
- package/dist/chunks/{vcs-xj4wy132.js → model-resolver-d94amd98.js} +17 -17
- package/dist/chunks/{vcs-3kdbrncp.js → model-resolver-dbmp929s.js} +5 -5
- package/dist/chunks/{vcs-hcw7brhb.js → model-resolver-dem1p0gt.js} +38 -38
- package/dist/chunks/{vcs-fkdj66dg.js → model-resolver-dgc1n24t.js} +51 -51
- package/dist/chunks/{vcs-cy4s1jp1.js → model-resolver-dh6wd5j1.js} +19 -19
- package/dist/chunks/{vcs-jh7yqtmb.js → model-resolver-djh43rh9.js} +21 -21
- package/dist/chunks/{vcs-xp4gxavp.js → model-resolver-dndg0yrt.js} +20 -20
- package/dist/chunks/{vcs-jppd208a.js → model-resolver-ds91jzkj.js} +20 -20
- package/dist/chunks/{vcs-dt77769w.js → model-resolver-dt77769w.js} +1 -1
- package/dist/chunks/{vcs-xxtgb6sa.js → model-resolver-dt8bs7ka.js} +3 -3
- package/dist/chunks/{vcs-q6x07d23.js → model-resolver-dx3ks3p5.js} +4 -4
- package/dist/chunks/{vcs-tnh07hxx.js → model-resolver-dy0t2s89.js} +10 -10
- package/dist/chunks/{vcs-31zrf5rt.js → model-resolver-e2ber9ej.js} +4 -4
- package/dist/chunks/{vcs-7sdtxe0n.js → model-resolver-e2ne77ac.js} +2 -2
- package/dist/chunks/{vcs-e834z07m.js → model-resolver-e834z07m.js} +1 -1
- package/dist/chunks/{vcs-7874zhk8.js → model-resolver-e9fd3qhg.js} +38 -38
- package/dist/chunks/model-resolver-ean10rq4.js +26 -0
- package/dist/chunks/{vcs-an9k1q61.js → model-resolver-edqmm4mg.js} +4 -4
- package/dist/chunks/{vcs-6zmsqwr6.js → model-resolver-ee456nc6.js} +14 -14
- package/dist/chunks/{vcs-5d4ztx9q.js → model-resolver-ejjd5knb.js} +35 -35
- package/dist/chunks/{vcs-whphkcrj.js → model-resolver-ejmp5hdk.js} +30 -30
- package/dist/chunks/{vcs-2qjpg97e.js → model-resolver-emg3vk42.js} +77 -77
- package/dist/chunks/{vcs-ds7r37yp.js → model-resolver-f01y088k.js} +5 -5
- package/dist/chunks/{vcs-fffv3p7h.js → model-resolver-fffv3p7h.js} +1 -1
- package/dist/chunks/{vcs-fg9p65nk.js → model-resolver-fg9p65nk.js} +2 -2
- package/dist/chunks/{vcs-0rxw2bhj.js → model-resolver-fmxr4jhz.js} +5 -5
- package/dist/chunks/model-resolver-ft16aaq7.js +257 -0
- package/dist/chunks/{vcs-z6shv5en.js → model-resolver-g1rms717.js} +55 -55
- package/dist/chunks/{vcs-fzqd52s1.js → model-resolver-g75vtk68.js} +37 -37
- package/dist/chunks/{vcs-xnh55p1t.js → model-resolver-g7esga4v.js} +4 -4
- package/dist/chunks/{vcs-smfcvx02.js → model-resolver-gcjdgkn2.js} +9 -9
- package/dist/chunks/{vcs-gg8p9cgs.js → model-resolver-gg8p9cgs.js} +3 -3
- package/dist/chunks/{vcs-0xkwsahe.js → model-resolver-gjvqgy9h.js} +18 -18
- package/dist/chunks/{vcs-hq2efw4x.js → model-resolver-gnzrdma1.js} +17 -17
- package/dist/chunks/{vcs-d206m7xv.js → model-resolver-gqa9d39q.js} +5 -5
- package/dist/chunks/{vcs-bpnannhc.js → model-resolver-gzdqjbk7.js} +45 -45
- package/dist/chunks/{vcs-7yect7x1.js → model-resolver-h7gvp0tv.js} +2 -2
- package/dist/chunks/{vcs-2cgj4t74.js → model-resolver-h88vzpmf.js} +3 -3
- package/dist/chunks/{vcs-48g74nrn.js → model-resolver-h9tajytd.js} +12 -12
- package/dist/chunks/{vcs-snefxbbk.js → model-resolver-heqsf106.js} +17 -17
- package/dist/chunks/{vcs-fm7mve24.js → model-resolver-hkrnt7ft.js} +25 -25
- package/dist/chunks/{vcs-hpg1pkwy.js → model-resolver-hpg1pkwy.js} +1 -1
- package/dist/chunks/{vcs-8y5149m8.js → model-resolver-htryym1w.js} +32 -32
- package/dist/chunks/{vcs-k4a4wn9h.js → model-resolver-hyn2hf34.js} +5 -5
- package/dist/chunks/{vcs-tkpvnbjr.js → model-resolver-j2xzb38w.js} +8 -8
- package/dist/chunks/{vcs-hpfdwx7h.js → model-resolver-j99dhamb.js} +6 -6
- package/dist/chunks/{vcs-v0ry4a9f.js → model-resolver-jd9t7fpz.js} +54 -54
- package/dist/chunks/{vcs-jfaecv01.js → model-resolver-jfaecv01.js} +1 -1
- package/dist/chunks/{vcs-vb80j1wh.js → model-resolver-jh74jycr.js} +3 -3
- package/dist/chunks/{vcs-mtph0mrj.js → model-resolver-jszp152f.js} +19 -19
- package/dist/chunks/{vcs-jtnps1zs.js → model-resolver-jtnps1zs.js} +2 -2
- package/dist/chunks/{vcs-y0nndy60.js → model-resolver-jv8ma802.js} +19 -19
- package/dist/chunks/{vcs-zzt9btdd.js → model-resolver-k4003xxm.js} +28 -28
- package/dist/chunks/{vcs-k814nvkf.js → model-resolver-k814nvkf.js} +1 -1
- package/dist/chunks/{vcs-k9zkdd2y.js → model-resolver-k9zkdd2y.js} +1 -1
- package/dist/chunks/{vcs-etk98kh7.js → model-resolver-kk6hjsv6.js} +54 -25
- package/dist/chunks/{vcs-9kg5w032.js → model-resolver-kmzgegqq.js} +8 -8
- package/dist/chunks/{vcs-kt3bjfbg.js → model-resolver-kt3bjfbg.js} +1 -1
- package/dist/chunks/{vcs-d93zgrjq.js → model-resolver-m0rc5tkg.js} +43 -43
- package/dist/chunks/{vcs-m1714858.js → model-resolver-m1714858.js} +1 -1
- package/dist/chunks/{vcs-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{vcs-f0kndmgd.js → model-resolver-mbv30hgw.js} +25 -25
- package/dist/chunks/{vcs-bxp5xmbx.js → model-resolver-mbwkpxg7.js} +7 -7
- package/dist/chunks/{vcs-w68dkr85.js → model-resolver-mdmwbg8j.js} +14 -14
- package/dist/chunks/{vcs-4g7evqcq.js → model-resolver-mef9jdgh.js} +13 -13
- package/dist/chunks/{vcs-zrhp7mek.js → model-resolver-mfc2a6rt.js} +33 -33
- package/dist/chunks/{vcs-mpe6qr53.js → model-resolver-mpe6qr53.js} +1 -1
- package/dist/chunks/{vcs-n0bgtmah.js → model-resolver-mrsvesd2.js} +4 -4
- package/dist/chunks/{vcs-fzvj6npn.js → model-resolver-mxjcs2d4.js} +12 -12
- package/dist/chunks/{vcs-dr0gyvs8.js → model-resolver-mznqryyf.js} +13 -13
- package/dist/chunks/{vcs-fbjqxkhq.js → model-resolver-n3bkb5q1.js} +8 -8
- package/dist/chunks/{vcs-yya0ytvb.js → model-resolver-n3vkcfay.js} +27 -27
- package/dist/chunks/{vcs-95knjzp6.js → model-resolver-n70b5eav.js} +7 -7
- package/dist/chunks/{vcs-jf5qn0eb.js → model-resolver-n8jrpgc8.js} +7 -7
- package/dist/chunks/{vcs-nah043kf.js → model-resolver-nah043kf.js} +1 -1
- package/dist/chunks/{vcs-yps7hgha.js → model-resolver-nd9ab5g5.js} +29 -29
- package/dist/chunks/{vcs-m2dzna08.js → model-resolver-nq2cxg20.js} +11 -11
- package/dist/chunks/{vcs-p015t6z3.js → model-resolver-p015t6z3.js} +2 -2
- package/dist/chunks/{vcs-qega9mgr.js → model-resolver-p1d2jd5s.js} +32 -32
- package/dist/chunks/{vcs-30fw0aaf.js → model-resolver-p2f2xnf4.js} +8 -8
- package/dist/chunks/{vcs-yynrf4vj.js → model-resolver-p4j4rdzm.js} +3 -3
- package/dist/chunks/{vcs-srn70nxn.js → model-resolver-p9fz6enw.js} +11 -11
- package/dist/chunks/{vcs-6tznm3hm.js → model-resolver-pc07gvhs.js} +17 -17
- package/dist/chunks/{vcs-ckhqsxvy.js → model-resolver-pje2jx9t.js} +16 -16
- package/dist/chunks/{vcs-3x3z7tjb.js → model-resolver-pkmmfap2.js} +11 -11
- package/dist/chunks/{vcs-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{vcs-9t2khtsw.js → model-resolver-pnwsrq7c.js} +8 -8
- package/dist/chunks/{vcs-zgd8t41s.js → model-resolver-q4fcarhy.js} +9 -9
- package/dist/chunks/{vcs-d1zgnyfs.js → model-resolver-q5mn4ggq.js} +16 -16
- package/dist/chunks/{vcs-zgkm4kzm.js → model-resolver-q63cb7ap.js} +4 -4
- package/dist/chunks/{vcs-yefmbngg.js → model-resolver-q6jh4k34.js} +24 -24
- package/dist/chunks/{vcs-2kf70v8x.js → model-resolver-q6vrwb3q.js} +33 -33
- package/dist/chunks/{vcs-0gybmwtw.js → model-resolver-qc8cfte5.js} +28 -28
- package/dist/chunks/{vcs-f27me0yd.js → model-resolver-qd123m2a.js} +12 -12
- package/dist/chunks/{vcs-5mam38w3.js → model-resolver-qjxc6f6y.js} +20 -20
- package/dist/chunks/{vcs-qp7r0hxv.js → model-resolver-qp7r0hxv.js} +1 -1
- package/dist/chunks/{vcs-r0yr0wbs.js → model-resolver-r0yr0wbs.js} +1 -1
- package/dist/chunks/{vcs-ckwa8jkx.js → model-resolver-r119az03.js} +40 -40
- package/dist/chunks/{vcs-6xwsggmf.js → model-resolver-r2d4vn47.js} +19 -19
- package/dist/chunks/{vcs-r542h3bh.js → model-resolver-r542h3bh.js} +1 -1
- package/dist/chunks/{vcs-rb9dy4dg.js → model-resolver-rb9dy4dg.js} +1 -1
- package/dist/chunks/{vcs-df75hh45.js → model-resolver-reccgsd2.js} +11 -11
- package/dist/chunks/{vcs-ppb36cfr.js → model-resolver-rq55acke.js} +15 -15
- package/dist/chunks/{vcs-bjhzkqyk.js → model-resolver-rrad2nt9.js} +4 -4
- package/dist/chunks/{vcs-rt5dr6hb.js → model-resolver-rt5dr6hb.js} +1 -1
- package/dist/chunks/{vcs-cbc4taa6.js → model-resolver-rvyhr33k.js} +11 -11
- package/dist/chunks/{vcs-8n62zpbp.js → model-resolver-s0pcnr2w.js} +17 -17
- package/dist/chunks/{vcs-k3cw2t6y.js → model-resolver-s2pfznc4.js} +6 -6
- package/dist/chunks/{vcs-0py4zw7v.js → model-resolver-s4wznsg5.js} +9 -9
- package/dist/chunks/{vcs-1q5awywt.js → model-resolver-s857ash9.js} +5 -5
- package/dist/chunks/{vcs-sa3fpqfw.js → model-resolver-sa3fpqfw.js} +2 -2
- package/dist/chunks/{vcs-sh7z0vsf.js → model-resolver-smna7vm8.js} +16 -16
- package/dist/chunks/{vcs-sqjzf8x2.js → model-resolver-sqjzf8x2.js} +1 -1
- package/dist/chunks/{vcs-jnpgd2qz.js → model-resolver-stbdvqqm.js} +15 -15
- package/dist/chunks/{vcs-svcy3p9a.js → model-resolver-svcy3p9a.js} +1 -1
- package/dist/chunks/{vcs-5r0vv638.js → model-resolver-t4139yy5.js} +25 -25
- package/dist/chunks/{vcs-tamjj6bd.js → model-resolver-t7qjyp6j.js} +20 -20
- package/dist/chunks/{vcs-dz8d6p0s.js → model-resolver-t8vm8f3g.js} +12 -12
- package/dist/chunks/{vcs-tczq8hjw.js → model-resolver-tczq8hjw.js} +1 -1
- package/dist/chunks/{vcs-fcs1vx3s.js → model-resolver-tmvkcy0b.js} +22 -22
- package/dist/chunks/{vcs-qxt327x0.js → model-resolver-trw4ad51.js} +13 -13
- package/dist/chunks/{vcs-twssxy5n.js → model-resolver-twssxy5n.js} +2 -2
- package/dist/chunks/{vcs-hyj4a2ag.js → model-resolver-txtenhwq.js} +13 -13
- package/dist/chunks/{vcs-v2r1d0zg.js → model-resolver-v2r1d0zg.js} +1 -1
- package/dist/chunks/{vcs-ysprf8xe.js → model-resolver-vdvshhtc.js} +10 -10
- package/dist/chunks/{vcs-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{vcs-55pzwtf4.js → model-resolver-vngnyhcg.js} +4 -4
- package/dist/chunks/{vcs-nhfnx0yz.js → model-resolver-vtc2wvc2.js} +4 -4
- package/dist/chunks/{vcs-ym045bap.js → model-resolver-vwa15b14.js} +31 -31
- package/dist/chunks/{vcs-bayttsv6.js → model-resolver-vxfbx2fx.js} +24 -24
- package/dist/chunks/{vcs-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{vcs-6eerc732.js → model-resolver-w4pg5caa.js} +44 -44
- package/dist/chunks/{vcs-ccky80qd.js → model-resolver-w4wn8erh.js} +22 -22
- package/dist/chunks/{vcs-wakvkjy4.js → model-resolver-wakvkjy4.js} +1 -1
- package/dist/chunks/{vcs-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{vcs-0g7k9xcb.js → model-resolver-we6d48z7.js} +5 -5
- package/dist/chunks/{vcs-zeckgh37.js → model-resolver-wgdwbctn.js} +9 -9
- package/dist/chunks/{vcs-g4p48r8x.js → model-resolver-wmv5c24e.js} +188 -188
- package/dist/chunks/{vcs-wnhgecwx.js → model-resolver-wnhgecwx.js} +1 -1
- package/dist/chunks/{vcs-zr0s6khg.js → model-resolver-wtt1w7za.js} +25 -25
- package/dist/chunks/{vcs-39g43sx8.js → model-resolver-wx4czxg4.js} +5 -5
- package/dist/chunks/{vcs-4h5f6qna.js → model-resolver-wy5mgfg9.js} +71 -71
- package/dist/chunks/{vcs-c8qdcmh0.js → model-resolver-wz5dzc00.js} +25 -25
- package/dist/chunks/{vcs-bq2x6ppg.js → model-resolver-x05mt2vr.js} +31 -31
- package/dist/chunks/{vcs-6e8fzyj6.js → model-resolver-x634fp5p.js} +11 -11
- package/dist/chunks/{vcs-jmg6ybda.js → model-resolver-x8c03df4.js} +3 -3
- package/dist/chunks/{vcs-9nckg20m.js → model-resolver-xetz8apg.js} +35 -35
- package/dist/chunks/{vcs-78tx5zvz.js → model-resolver-xg4yp5ky.js} +11 -11
- package/dist/chunks/{vcs-bmx1m787.js → model-resolver-xkpx6s0s.js} +15 -15
- package/dist/chunks/{vcs-kfg4vbkh.js → model-resolver-xwjvc1xc.js} +9 -9
- package/dist/chunks/{vcs-dds9zz6p.js → model-resolver-y00x4xpa.js} +4 -4
- package/dist/chunks/{vcs-cadx8dpa.js → model-resolver-y872wdn3.js} +25 -25
- package/dist/chunks/{vcs-yara3q77.js → model-resolver-yara3q77.js} +2 -2
- package/dist/chunks/{vcs-yb20nhc3.js → model-resolver-yb20nhc3.js} +1 -1
- package/dist/chunks/{vcs-ymz7p2c9.js → model-resolver-ymz7p2c9.js} +3 -3
- package/dist/chunks/{vcs-t0kxd7r7.js → model-resolver-yw72hv1j.js} +4 -4
- package/dist/chunks/{vcs-sme6xn3k.js → model-resolver-yxbkj6h6.js} +11 -11
- package/dist/chunks/{vcs-7fg5f906.js → model-resolver-yzg01fn7.js} +12 -12
- package/dist/chunks/{vcs-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{vcs-z38nccrw.js → model-resolver-z38nccrw.js} +1 -1
- package/dist/chunks/{vcs-h5qv78he.js → model-resolver-z5c5swc0.js} +18 -18
- package/dist/chunks/{vcs-t0jmwydf.js → model-resolver-zebg8dr3.js} +6 -6
- package/dist/chunks/{vcs-j989h8xf.js → model-resolver-zfjyz62k.js} +25 -25
- package/dist/chunks/{vcs-nh3dh1yv.js → model-resolver-zt8d8h0y.js} +8 -8
- 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 +89 -89
- package/dist/config/discovery.js +90 -90
- package/dist/config/integration.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +221 -221
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +72 -72
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +381 -381
- 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 +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +101 -101
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +80 -80
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +102 -102
- package/dist/file-retention.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/file-watch.js +86 -86
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +110 -110
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +113 -113
- package/dist/git.js +11 -11
- 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 +107 -107
- 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/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +372 -372
- package/dist/instruction-discovery.js +90 -90
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +95 -95
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +166 -166
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +369 -369
- package/dist/location.js +97 -97
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +117 -117
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +107 -107
- package/dist/model-resolver.js +105 -105
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +145 -145
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +82 -82
- package/dist/plugin/command.js +110 -110
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +225 -225
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +342 -342
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- 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 +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +121 -121
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +361 -361
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +236 -236
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +98 -98
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +104 -104
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +103 -103
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +162 -162
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +231 -231
- package/dist/session/execution.js +154 -154
- package/dist/session/generate.js +188 -188
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +138 -138
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +128 -128
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +154 -154
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +215 -215
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +227 -227
- package/dist/session/usage.js +1 -1
- package/dist/session.js +225 -225
- 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 +3 -3
- package/dist/shell.js +131 -131
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +150 -150
- package/dist/snapshot.js +101 -101
- 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 +165 -165
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +156 -156
- package/dist/tool/plugin/question.js +136 -136
- package/dist/tool/plugin/read.js +161 -161
- package/dist/tool/plugin/shell.js +222 -222
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +149 -147
- package/dist/tool/plugin/websearch.js +145 -145
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +110 -110
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +3 -3
- package/dist/tool.js +14 -14
- package/dist/types/permission.d.ts +2 -0
- package/dist/types/tool/plugin/webfetch.d.ts +1 -0
- package/dist/usage-limits.js +95 -95
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- 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/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +90 -90
- package/dist/websearch.js +88 -88
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +85 -85
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +106 -106
- package/package.json +8 -8
- package/dist/chunks/vcs-2dkjcnxp.js +0 -18
- package/dist/chunks/vcs-3wfcjg2y.js +0 -257
- package/dist/chunks/vcs-d4p81mds.js +0 -26
- package/dist/chunks/vcs-gkt07kmn.js +0 -511
- /package/dist/chunks/{vcs-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{vcs-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{vcs-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{vcs-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{vcs-1jakw16s.js → model-resolver-1jakw16s.js} +0 -0
- /package/dist/chunks/{vcs-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{vcs-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{vcs-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
- /package/dist/chunks/{vcs-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{vcs-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{vcs-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{vcs-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{vcs-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{vcs-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{vcs-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{vcs-4m86bj6y.js → model-resolver-4m86bj6y.js} +0 -0
- /package/dist/chunks/{vcs-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{vcs-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{vcs-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{vcs-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{vcs-5w3e23ze.js → model-resolver-5w3e23ze.js} +0 -0
- /package/dist/chunks/{vcs-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{vcs-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{vcs-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{vcs-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{vcs-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{vcs-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
- /package/dist/chunks/{vcs-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{vcs-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{vcs-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{vcs-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{vcs-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{vcs-a058387c.js → model-resolver-a058387c.js} +0 -0
- /package/dist/chunks/{vcs-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{vcs-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{vcs-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{vcs-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{vcs-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{vcs-beh6qq61.js → model-resolver-beh6qq61.js} +0 -0
- /package/dist/chunks/{vcs-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{vcs-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{vcs-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{vcs-cqv5kn06.js → model-resolver-cqv5kn06.js} +0 -0
- /package/dist/chunks/{vcs-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{vcs-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{vcs-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{vcs-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{vcs-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{vcs-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{vcs-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{vcs-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{vcs-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{vcs-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{vcs-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{vcs-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{vcs-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{vcs-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{vcs-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{vcs-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{vcs-fkpq3x5p.js → model-resolver-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{vcs-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{vcs-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{vcs-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{vcs-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{vcs-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
- /package/dist/chunks/{vcs-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{vcs-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{vcs-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{vcs-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{vcs-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{vcs-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{vcs-jwr30sdr.js → model-resolver-jwr30sdr.js} +0 -0
- /package/dist/chunks/{vcs-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
- /package/dist/chunks/{vcs-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{vcs-m18g726c.js → model-resolver-m18g726c.js} +0 -0
- /package/dist/chunks/{vcs-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{vcs-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{vcs-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{vcs-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{vcs-ncqqe42p.js → model-resolver-ncqqe42p.js} +0 -0
- /package/dist/chunks/{vcs-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{vcs-p71gwv9c.js → model-resolver-p71gwv9c.js} +0 -0
- /package/dist/chunks/{vcs-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{vcs-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{vcs-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{vcs-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{vcs-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{vcs-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{vcs-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{vcs-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{vcs-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{vcs-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{vcs-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
- /package/dist/chunks/{vcs-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{vcs-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{vcs-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{vcs-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{vcs-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{vcs-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{vcs-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{vcs-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{vcs-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{vcs-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{vcs-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{vcs-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./model-resolver-0yjd96ev.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-vxfbx2fx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service50,
|
|
9
|
+
Event7
|
|
10
|
+
} from "./model-resolver-dem1p0gt.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -38,8 +38,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
38
38
|
var ModelsDevPlugin2 = define({
|
|
39
39
|
id: "opencode.models.dev",
|
|
40
40
|
effect: Effect.fn(function* (ctx) {
|
|
41
|
-
const modelsDev = yield*
|
|
42
|
-
const bus = yield*
|
|
41
|
+
const modelsDev = yield* Service50;
|
|
42
|
+
const bus = yield* Service84;
|
|
43
43
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
44
44
|
yield* ctx.integration.transform((integrations) => {
|
|
45
45
|
for (const provider of loaded.data) {
|
|
@@ -72,7 +72,7 @@ var ModelsDevPlugin2 = define({
|
|
|
72
72
|
loaded.data = snapshots(data);
|
|
73
73
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
74
74
|
};
|
|
75
|
-
yield* bus.subscribe(
|
|
75
|
+
yield* bus.subscribe(Event7.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
76
76
|
const latest = yield* modelsDev.get();
|
|
77
77
|
if (snapshots(latest) !== loaded.data)
|
|
78
78
|
yield* apply(latest);
|
|
@@ -1,138 +1,138 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node53
|
|
4
|
+
} from "./model-resolver-83sq6nks.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service84,
|
|
7
|
+
node87
|
|
8
|
+
} from "./model-resolver-0yjd96ev.js";
|
|
9
9
|
import {
|
|
10
10
|
ID8,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service62,
|
|
12
|
+
node65
|
|
13
|
+
} from "./model-resolver-1eg9cpxp.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID17,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-20xwdmdm.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID15,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service81,
|
|
24
|
+
node84
|
|
25
|
+
} from "./model-resolver-x05mt2vr.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
30
|
+
Info23,
|
|
31
|
+
Ref4,
|
|
32
|
+
Service76,
|
|
33
|
+
node79
|
|
34
|
+
} from "./model-resolver-pc07gvhs.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
36
|
+
ID11,
|
|
37
37
|
Service75,
|
|
38
38
|
node78
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./model-resolver-wtt1w7za.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service64,
|
|
42
|
+
node67
|
|
43
|
+
} from "./model-resolver-ahzmq0a0.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
45
|
+
Service33,
|
|
46
|
+
node36
|
|
47
|
+
} from "./model-resolver-wz5dzc00.js";
|
|
48
48
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
49
|
+
Service80,
|
|
50
|
+
node83
|
|
51
|
+
} from "./model-resolver-dy0t2s89.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service57,
|
|
54
|
+
node60
|
|
55
|
+
} from "./model-resolver-xg4yp5ky.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
57
|
+
ID10,
|
|
58
58
|
Service74,
|
|
59
59
|
node77
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./model-resolver-vxfbx2fx.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
62
|
+
ID18
|
|
63
|
+
} from "./model-resolver-k4003xxm.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./
|
|
65
|
+
Service29,
|
|
66
|
+
node32
|
|
67
|
+
} from "./model-resolver-g1rms717.js";
|
|
68
68
|
import {
|
|
69
69
|
Key2,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
70
|
+
Service23,
|
|
71
|
+
node27
|
|
72
|
+
} from "./model-resolver-70q4g7fy.js";
|
|
73
73
|
import {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
74
|
+
Service72,
|
|
75
|
+
node75
|
|
76
|
+
} from "./model-resolver-bk7xq8bh.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
78
|
+
Service59,
|
|
79
|
+
node62
|
|
80
|
+
} from "./model-resolver-a8pfnwqf.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
} from "./
|
|
82
|
+
Service41,
|
|
83
|
+
node44,
|
|
84
|
+
Error3
|
|
85
|
+
} from "./model-resolver-aafmq595.js";
|
|
86
86
|
import {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
87
|
+
Source3,
|
|
88
|
+
Service34,
|
|
89
|
+
node37
|
|
90
|
+
} from "./model-resolver-8pd54nv5.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
} from "./
|
|
92
|
+
Info9,
|
|
93
|
+
Service39,
|
|
94
|
+
node42
|
|
95
|
+
} from "./model-resolver-4sy33n8r.js";
|
|
96
96
|
import {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
} from "./
|
|
97
|
+
Service18,
|
|
98
|
+
node21
|
|
99
|
+
} from "./model-resolver-9ndb8058.js";
|
|
100
100
|
import {
|
|
101
101
|
Service43,
|
|
102
|
-
|
|
103
|
-
} from "./
|
|
102
|
+
node46
|
|
103
|
+
} from "./model-resolver-hkrnt7ft.js";
|
|
104
104
|
import {
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
Service40,
|
|
106
|
+
node43,
|
|
107
107
|
eventDefinition2
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./model-resolver-6551djh0.js";
|
|
109
109
|
import {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
} from "./
|
|
110
|
+
Service37,
|
|
111
|
+
node40
|
|
112
|
+
} from "./model-resolver-q6jh4k34.js";
|
|
113
113
|
import {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
} from "./
|
|
114
|
+
ID14,
|
|
115
|
+
Service79,
|
|
116
|
+
node82
|
|
117
|
+
} from "./model-resolver-6d7x7hha.js";
|
|
118
118
|
import {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
} from "./
|
|
119
|
+
Service56,
|
|
120
|
+
node59
|
|
121
|
+
} from "./model-resolver-00j2jq49.js";
|
|
122
122
|
import {
|
|
123
123
|
StrategyID2,
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
Service18,
|
|
127
|
-
node21
|
|
128
|
-
} from "./vcs-d93zgrjq.js";
|
|
129
|
-
import {
|
|
124
|
+
Info12,
|
|
125
|
+
ListEntry3,
|
|
130
126
|
Service55,
|
|
131
127
|
node58
|
|
132
|
-
} from "./
|
|
128
|
+
} from "./model-resolver-m0rc5tkg.js";
|
|
129
|
+
import {
|
|
130
|
+
Service38,
|
|
131
|
+
node41
|
|
132
|
+
} from "./model-resolver-69zcgx44.js";
|
|
133
133
|
import {
|
|
134
134
|
__export
|
|
135
|
-
} from "./
|
|
135
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
136
136
|
|
|
137
137
|
// src/plugin/host.ts
|
|
138
138
|
var exports_host = {};
|
|
@@ -152,51 +152,51 @@ var isRpcEvent = (event) => isRpcType(event.type);
|
|
|
152
152
|
var isPublicEvent = (event) => EventManifest.isServer(event) || isRpcEvent(event);
|
|
153
153
|
var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
154
154
|
const app = yield* Metadata2;
|
|
155
|
-
const agents = yield*
|
|
156
|
-
const aisdk = yield*
|
|
155
|
+
const agents = yield* Service62;
|
|
156
|
+
const aisdk = yield* Service64;
|
|
157
157
|
const providers = yield* Service75;
|
|
158
158
|
const models = yield* Service74;
|
|
159
|
-
const commands = yield*
|
|
160
|
-
const bus = yield*
|
|
161
|
-
const integration = yield*
|
|
162
|
-
const kv = yield*
|
|
163
|
-
const mcp = yield*
|
|
164
|
-
const location = yield*
|
|
165
|
-
const reference = yield*
|
|
166
|
-
const rpc = yield*
|
|
167
|
-
const skill = yield*
|
|
168
|
-
const tools = yield*
|
|
169
|
-
const vcs = yield*
|
|
170
|
-
const websearch = yield*
|
|
171
|
-
const generate = yield*
|
|
159
|
+
const commands = yield* Service33;
|
|
160
|
+
const bus = yield* Service84;
|
|
161
|
+
const integration = yield* Service81;
|
|
162
|
+
const kv = yield* Service80;
|
|
163
|
+
const mcp = yield* Service29;
|
|
164
|
+
const location = yield* Service76;
|
|
165
|
+
const reference = yield* Service34;
|
|
166
|
+
const rpc = yield* Service40;
|
|
167
|
+
const skill = yield* Service39;
|
|
168
|
+
const tools = yield* Service41;
|
|
169
|
+
const vcs = yield* Service37;
|
|
170
|
+
const websearch = yield* Service79;
|
|
171
|
+
const generate = yield* Service38;
|
|
172
172
|
const generateText = (input) => generate.text(input).pipe(Effect.map((text) => ({ text })));
|
|
173
|
-
const permission = yield*
|
|
174
|
-
const hooks = yield*
|
|
175
|
-
const sessions = yield*
|
|
176
|
-
const instructionEntries = yield*
|
|
173
|
+
const permission = yield* Service59;
|
|
174
|
+
const hooks = yield* Service72;
|
|
175
|
+
const sessions = yield* Service18;
|
|
176
|
+
const instructionEntries = yield* Service23;
|
|
177
177
|
const persistentPty = yield* Service43;
|
|
178
|
-
const locations = yield*
|
|
179
|
-
const worktrees = yield*
|
|
180
|
-
const worktreeStrategies = yield*
|
|
178
|
+
const locations = yield* Service57;
|
|
179
|
+
const worktrees = yield* Service55;
|
|
180
|
+
const worktreeStrategies = yield* Service56;
|
|
181
181
|
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
182
|
-
const locationInfo = () => new
|
|
182
|
+
const locationInfo = () => new Info23({
|
|
183
183
|
directory: location.directory,
|
|
184
184
|
workspaceID: location.workspaceID,
|
|
185
185
|
project: location.project
|
|
186
186
|
});
|
|
187
|
-
const locationRef = (input) => input?.location === undefined ? undefined :
|
|
187
|
+
const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
|
|
188
188
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
189
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
189
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID18.make(input.location.workspace)
|
|
190
190
|
});
|
|
191
191
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
192
192
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
193
|
-
const decodeWorktree = Schema.decodeUnknownEffect(
|
|
194
|
-
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(
|
|
193
|
+
const decodeWorktree = Schema.decodeUnknownEffect(Info12);
|
|
194
|
+
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
195
195
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
196
|
-
const location = yield*
|
|
197
|
-
const agents = yield*
|
|
196
|
+
const location = yield* Service76;
|
|
197
|
+
const agents = yield* Service62;
|
|
198
198
|
return {
|
|
199
|
-
location: new
|
|
199
|
+
location: new Info23({
|
|
200
200
|
directory: location.directory,
|
|
201
201
|
workspaceID: location.workspaceID,
|
|
202
202
|
project: location.project
|
|
@@ -265,22 +265,22 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
265
265
|
},
|
|
266
266
|
provider: {
|
|
267
267
|
list: () => response(providers.available()),
|
|
268
|
-
get: (input) => providers.get(
|
|
268
|
+
get: (input) => providers.get(ID11.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
|
|
269
269
|
reload: providers.reload,
|
|
270
270
|
transform: (callback) => providers.transform((editor) => {
|
|
271
271
|
callback({
|
|
272
272
|
list: editor.list,
|
|
273
|
-
get: (id) => editor.get(
|
|
273
|
+
get: (id) => editor.get(ID11.make(id)),
|
|
274
274
|
add: (definition) => editor.add({
|
|
275
275
|
...definition,
|
|
276
|
-
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id:
|
|
276
|
+
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID17.make(definition.sourceConnection.id) } : definition.sourceConnection
|
|
277
277
|
}),
|
|
278
|
-
update: (id, update) => editor.update(
|
|
279
|
-
remove: (id) => editor.remove(
|
|
278
|
+
update: (id, update) => editor.update(ID11.make(id), update),
|
|
279
|
+
remove: (id) => editor.remove(ID11.make(id)),
|
|
280
280
|
models: {
|
|
281
|
-
set: (id, models) => editor.models.set(
|
|
282
|
-
update: (providerID, modelID, update) => editor.models.update(
|
|
283
|
-
remove: (providerID, modelID) => editor.models.remove(
|
|
281
|
+
set: (id, models) => editor.models.set(ID11.make(id), models),
|
|
282
|
+
update: (providerID, modelID, update) => editor.models.update(ID11.make(providerID), ID10.make(modelID), update),
|
|
283
|
+
remove: (providerID, modelID) => editor.models.remove(ID11.make(providerID), ID10.make(modelID))
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
286
|
})
|
|
@@ -290,17 +290,17 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
290
290
|
default: () => response(models.default()),
|
|
291
291
|
reload: models.reload,
|
|
292
292
|
transform: (callback) => models.transform((editor) => callback({
|
|
293
|
-
list: (providerID) => editor.list(providerID === undefined ? undefined :
|
|
294
|
-
get: (providerID, modelID) => editor.get(
|
|
295
|
-
update: (providerID, modelID, update) => editor.update(
|
|
296
|
-
remove: (providerID, modelID) => editor.remove(
|
|
293
|
+
list: (providerID) => editor.list(providerID === undefined ? undefined : ID11.make(providerID)),
|
|
294
|
+
get: (providerID, modelID) => editor.get(ID11.make(providerID), ID10.make(modelID)),
|
|
295
|
+
update: (providerID, modelID, update) => editor.update(ID11.make(providerID), ID10.make(modelID), update),
|
|
296
|
+
remove: (providerID, modelID) => editor.remove(ID11.make(providerID), ID10.make(modelID)),
|
|
297
297
|
default: {
|
|
298
298
|
get: editor.default.get,
|
|
299
|
-
set: (providerID, modelID) => editor.default.set(
|
|
299
|
+
set: (providerID, modelID) => editor.default.set(ID11.make(providerID), ID10.make(modelID))
|
|
300
300
|
},
|
|
301
301
|
provider: {
|
|
302
302
|
list: editor.provider.list,
|
|
303
|
-
get: (id) => editor.provider.get(
|
|
303
|
+
get: (id) => editor.provider.get(ID11.make(id))
|
|
304
304
|
}
|
|
305
305
|
}))
|
|
306
306
|
},
|
|
@@ -347,20 +347,20 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
347
347
|
integration: {
|
|
348
348
|
list: () => response(integration.list()),
|
|
349
349
|
get: Effect.fn(function* (input) {
|
|
350
|
-
const item = yield* integration.get(
|
|
350
|
+
const item = yield* integration.get(ID15.make(input.integrationID));
|
|
351
351
|
if (!item)
|
|
352
352
|
return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
|
|
353
353
|
return yield* response(Effect.succeed(item));
|
|
354
354
|
}),
|
|
355
355
|
connect: {
|
|
356
356
|
key: (input) => integration.connection.key({
|
|
357
|
-
integrationID:
|
|
357
|
+
integrationID: ID15.make(input.integrationID),
|
|
358
358
|
key: input.key,
|
|
359
359
|
answer: input.answer,
|
|
360
360
|
label: input.label
|
|
361
361
|
}),
|
|
362
362
|
external: (input) => integration.connection.external({
|
|
363
|
-
integrationID:
|
|
363
|
+
integrationID: ID15.make(input.integrationID),
|
|
364
364
|
methodID: MethodID2.make(input.methodID),
|
|
365
365
|
answer: input.answer,
|
|
366
366
|
label: input.label
|
|
@@ -368,60 +368,60 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
368
368
|
},
|
|
369
369
|
oauth: {
|
|
370
370
|
connect: (input) => response(integration.oauth.connect({
|
|
371
|
-
integrationID:
|
|
371
|
+
integrationID: ID15.make(input.integrationID),
|
|
372
372
|
methodID: MethodID2.make(input.methodID),
|
|
373
373
|
answer: input.answer,
|
|
374
374
|
label: input.label
|
|
375
375
|
})),
|
|
376
376
|
status: (input) => response(integration.oauth.status({
|
|
377
|
-
integrationID:
|
|
377
|
+
integrationID: ID15.make(input.integrationID),
|
|
378
378
|
attemptID: AttemptID2.make(input.attemptID)
|
|
379
379
|
})),
|
|
380
380
|
complete: (input) => integration.oauth.complete({
|
|
381
|
-
integrationID:
|
|
381
|
+
integrationID: ID15.make(input.integrationID),
|
|
382
382
|
attemptID: AttemptID2.make(input.attemptID),
|
|
383
383
|
code: input.code
|
|
384
384
|
}),
|
|
385
385
|
cancel: (input) => integration.oauth.cancel({
|
|
386
|
-
integrationID:
|
|
386
|
+
integrationID: ID15.make(input.integrationID),
|
|
387
387
|
attemptID: AttemptID2.make(input.attemptID)
|
|
388
388
|
})
|
|
389
389
|
},
|
|
390
390
|
command: {
|
|
391
391
|
connect: (input) => response(integration.command.connect({
|
|
392
|
-
integrationID:
|
|
392
|
+
integrationID: ID15.make(input.integrationID),
|
|
393
393
|
methodID: MethodID2.make(input.methodID),
|
|
394
394
|
label: input.label
|
|
395
395
|
})),
|
|
396
396
|
status: (input) => response(integration.command.status({
|
|
397
|
-
integrationID:
|
|
397
|
+
integrationID: ID15.make(input.integrationID),
|
|
398
398
|
attemptID: AttemptID2.make(input.attemptID)
|
|
399
399
|
})),
|
|
400
400
|
cancel: (input) => integration.command.cancel({
|
|
401
|
-
integrationID:
|
|
401
|
+
integrationID: ID15.make(input.integrationID),
|
|
402
402
|
attemptID: AttemptID2.make(input.attemptID)
|
|
403
403
|
})
|
|
404
404
|
},
|
|
405
405
|
reload: integration.reload,
|
|
406
406
|
connection: {
|
|
407
|
-
active: (id) => integration.connection.active(
|
|
408
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
407
|
+
active: (id) => integration.connection.active(ID15.make(id)),
|
|
408
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID17.make(connection.id) } : connection),
|
|
409
409
|
status: (input) => integration.connection.status({
|
|
410
|
-
integrationID:
|
|
411
|
-
connection: input.connection.type === "credential" ? { ...input.connection, id:
|
|
410
|
+
integrationID: ID15.make(input.integrationID),
|
|
411
|
+
connection: input.connection.type === "credential" ? { ...input.connection, id: ID17.make(input.connection.id) } : input.connection,
|
|
412
412
|
status: input.status
|
|
413
413
|
})
|
|
414
414
|
},
|
|
415
415
|
transform: (callback) => integration.transform((editor) => {
|
|
416
416
|
callback({
|
|
417
417
|
list: editor.list,
|
|
418
|
-
get: (id) => editor.get(
|
|
419
|
-
update: (id, update) => editor.update(
|
|
420
|
-
remove: (id) => editor.remove(
|
|
418
|
+
get: (id) => editor.get(ID15.make(id)),
|
|
419
|
+
update: (id, update) => editor.update(ID15.make(id), update),
|
|
420
|
+
remove: (id) => editor.remove(ID15.make(id)),
|
|
421
421
|
method: {
|
|
422
|
-
list: (id) => editor.method.list(
|
|
422
|
+
list: (id) => editor.method.list(ID15.make(id)),
|
|
423
423
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
424
|
-
remove: (id, method) => editor.method.remove(
|
|
424
|
+
remove: (id, method) => editor.method.remove(ID15.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
425
425
|
}
|
|
426
426
|
});
|
|
427
427
|
})
|
|
@@ -431,10 +431,10 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
431
431
|
const ref = locationRef(input);
|
|
432
432
|
if (ref && !isCurrentLocation(ref))
|
|
433
433
|
return Effect.gen(function* () {
|
|
434
|
-
const location = yield*
|
|
435
|
-
const mcp = yield*
|
|
434
|
+
const location = yield* Service76;
|
|
435
|
+
const mcp = yield* Service29;
|
|
436
436
|
return {
|
|
437
|
-
location: new
|
|
437
|
+
location: new Info23({
|
|
438
438
|
directory: location.directory,
|
|
439
439
|
workspaceID: location.workspaceID,
|
|
440
440
|
project: location.project
|
|
@@ -461,9 +461,9 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
461
461
|
get: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? Effect.succeed(request) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`)))),
|
|
462
462
|
reply: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? permission.reply({ requestID: input.requestID, reply: input.decision, message: input.message }) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`)))),
|
|
463
463
|
assert: (input) => permission.assert(input).pipe(Effect.catchTags({
|
|
464
|
-
"Permission.BlockedError": (error) => Effect.fail(new
|
|
465
|
-
"Permission.CorrectedError": (error) => Effect.fail(new
|
|
466
|
-
"Session.NotFoundError": (error) => Effect.fail(new
|
|
464
|
+
"Permission.BlockedError": (error) => Effect.fail(new Error3({ message: error.message, error })),
|
|
465
|
+
"Permission.CorrectedError": (error) => Effect.fail(new Error3({ message: error.feedback, error })),
|
|
466
|
+
"Session.NotFoundError": (error) => Effect.fail(new Error3({ message: `Session not found: ${error.sessionID}`, error }))
|
|
467
467
|
}))
|
|
468
468
|
},
|
|
469
469
|
plugin: {
|
|
@@ -474,7 +474,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
474
474
|
reload: reference.reload,
|
|
475
475
|
transform: (callback) => reference.transform((editor) => {
|
|
476
476
|
callback({
|
|
477
|
-
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(
|
|
477
|
+
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
|
|
478
478
|
remove: editor.remove,
|
|
479
479
|
list: editor.list,
|
|
480
480
|
get: editor.get
|
|
@@ -488,7 +488,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
488
488
|
callback({
|
|
489
489
|
list: () => mutable(editor.list()),
|
|
490
490
|
get: editor.get,
|
|
491
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
491
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info9)(value)),
|
|
492
492
|
update: editor.update,
|
|
493
493
|
remove: editor.remove
|
|
494
494
|
});
|
|
@@ -519,19 +519,19 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
519
519
|
providers: () => response(websearch.providers()),
|
|
520
520
|
query: (input) => response(websearch.query({
|
|
521
521
|
query: input.query,
|
|
522
|
-
providerID: input.providerID === undefined ? undefined :
|
|
522
|
+
providerID: input.providerID === undefined ? undefined : ID14.make(input.providerID)
|
|
523
523
|
})),
|
|
524
524
|
reload: websearch.reload,
|
|
525
525
|
transform: (callback) => websearch.transform((editor) => {
|
|
526
526
|
callback({
|
|
527
527
|
add: (definition) => editor.add({
|
|
528
|
-
id:
|
|
528
|
+
id: ID14.make(definition.id),
|
|
529
529
|
name: definition.name,
|
|
530
530
|
execute: definition.execute
|
|
531
531
|
}),
|
|
532
532
|
default: {
|
|
533
533
|
get: editor.default.get,
|
|
534
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
534
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID14.make(selection))
|
|
535
535
|
}
|
|
536
536
|
});
|
|
537
537
|
})
|
|
@@ -562,7 +562,7 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
562
562
|
metadata: input?.metadata,
|
|
563
563
|
permissions: input?.permissions,
|
|
564
564
|
...input?.parentID === undefined ? {
|
|
565
|
-
location: input?.location ??
|
|
565
|
+
location: input?.location ?? Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
566
566
|
} : { parentID: input.parentID }
|
|
567
567
|
}),
|
|
568
568
|
get: (input) => sessions.get(input.sessionID),
|
|
@@ -610,32 +610,32 @@ var make12 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
610
610
|
return context;
|
|
611
611
|
});
|
|
612
612
|
var requirements3 = LayerNode.group([
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
613
|
+
node53,
|
|
614
|
+
node65,
|
|
615
|
+
node67,
|
|
616
616
|
node78,
|
|
617
617
|
node77,
|
|
618
|
-
|
|
619
|
-
|
|
618
|
+
node36,
|
|
619
|
+
node87,
|
|
620
|
+
node84,
|
|
621
|
+
node83,
|
|
622
|
+
node32,
|
|
620
623
|
node79,
|
|
621
|
-
node76,
|
|
622
624
|
node37,
|
|
623
|
-
|
|
624
|
-
node66,
|
|
625
|
-
node53,
|
|
626
|
-
node54,
|
|
625
|
+
node43,
|
|
627
626
|
node42,
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
node22,
|
|
627
|
+
node44,
|
|
628
|
+
node40,
|
|
629
|
+
node82,
|
|
632
630
|
node58,
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
631
|
+
node59,
|
|
632
|
+
node41,
|
|
633
|
+
node62,
|
|
634
|
+
node75,
|
|
635
|
+
node21,
|
|
636
|
+
node27,
|
|
637
|
+
node46,
|
|
638
|
+
node60
|
|
639
639
|
]);
|
|
640
640
|
function storage2(kv, pluginID) {
|
|
641
641
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -662,7 +662,7 @@ function methodImplementation(input) {
|
|
|
662
662
|
if ("authorize" in input) {
|
|
663
663
|
const refresh = input.refresh;
|
|
664
664
|
return {
|
|
665
|
-
integrationID:
|
|
665
|
+
integrationID: ID15.make(input.integrationID),
|
|
666
666
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
667
667
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
668
668
|
if (authorization.mode === "auto") {
|
|
@@ -682,24 +682,24 @@ function methodImplementation(input) {
|
|
|
682
682
|
}
|
|
683
683
|
if (input.method.type === "env") {
|
|
684
684
|
return {
|
|
685
|
-
integrationID:
|
|
685
|
+
integrationID: ID15.make(input.integrationID),
|
|
686
686
|
method: input.method
|
|
687
687
|
};
|
|
688
688
|
}
|
|
689
689
|
if (input.method.type === "command") {
|
|
690
690
|
return {
|
|
691
|
-
integrationID:
|
|
691
|
+
integrationID: ID15.make(input.integrationID),
|
|
692
692
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
693
693
|
};
|
|
694
694
|
}
|
|
695
695
|
if (input.method.type === "external") {
|
|
696
696
|
return {
|
|
697
|
-
integrationID:
|
|
697
|
+
integrationID: ID15.make(input.integrationID),
|
|
698
698
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
699
699
|
};
|
|
700
700
|
}
|
|
701
701
|
return {
|
|
702
|
-
integrationID:
|
|
702
|
+
integrationID: ID15.make(input.integrationID),
|
|
703
703
|
method: input.method
|
|
704
704
|
};
|
|
705
705
|
}
|