@opencode/core 0.0.0-dev-19363 → 0.0.0-dev-19366
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/agent.js +61 -61
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +52 -52
- package/dist/catalog.js +65 -65
- package/dist/chunks/{workspace-xwy4v95w.js → workspace-01dfavc6.js} +12 -12
- package/dist/chunks/{workspace-3aq545f1.js → workspace-055djz7r.js} +9 -9
- package/dist/chunks/{workspace-wt5gx8pc.js → workspace-05b1y4dr.js} +3 -3
- package/dist/chunks/{workspace-gd9thf3n.js → workspace-0dwqbmss.js} +5 -5
- package/dist/chunks/{workspace-e4tyy19d.js → workspace-0fv2a53w.js} +10 -10
- package/dist/chunks/{workspace-1c2ybwbd.js → workspace-0h1q2yx7.js} +19 -19
- package/dist/chunks/{workspace-5qatf9sn.js → workspace-0h28z8dy.js} +19 -19
- package/dist/chunks/{workspace-1dfhrqqs.js → workspace-0hpxrkyb.js} +3 -3
- package/dist/chunks/{workspace-qq43q54h.js → workspace-0j9apay6.js} +8 -8
- package/dist/chunks/{workspace-ar8qnkc3.js → workspace-0qxam8dj.js} +5 -5
- package/dist/chunks/{workspace-7as7932t.js → workspace-0tsbjazj.js} +17 -17
- package/dist/chunks/{workspace-9b8ps0g9.js → workspace-0v9511cz.js} +1 -1
- package/dist/chunks/{workspace-54qh477g.js → workspace-12fqpsjm.js} +5 -5
- package/dist/chunks/{workspace-hdcqa9dy.js → workspace-1465h0t2.js} +11 -11
- package/dist/chunks/{workspace-ngmftgzk.js → workspace-1567wc0x.js} +3 -3
- package/dist/chunks/{workspace-rhraev7y.js → workspace-1acjjqhc.js} +3 -3
- package/dist/chunks/{workspace-76q5vzcy.js → workspace-1as5dk3f.js} +33 -33
- package/dist/chunks/{workspace-73tb2d7t.js → workspace-1bbkgx8g.js} +2 -2
- package/dist/chunks/{workspace-vzw5ftch.js → workspace-1d4zzn34.js} +1 -1
- package/dist/chunks/{workspace-cy2x3s5a.js → workspace-1rt1vv51.js} +16 -16
- package/dist/chunks/{workspace-ag2v6e19.js → workspace-1tm9pjvd.js} +27 -27
- package/dist/chunks/{workspace-9sh4wc5j.js → workspace-1x11rq2a.js} +4 -4
- package/dist/chunks/{workspace-8e1b1gzh.js → workspace-258tza17.js} +5 -5
- package/dist/chunks/{workspace-7hhc48cv.js → workspace-27e5hy5h.js} +23 -23
- package/dist/chunks/{workspace-y7e11ang.js → workspace-2cyhzmz0.js} +9 -9
- package/dist/chunks/{workspace-zt9y4nc3.js → workspace-2edf0jda.js} +13 -13
- package/dist/chunks/{workspace-bbyyrkpa.js → workspace-2hen7mrw.js} +4 -4
- package/dist/chunks/{workspace-b8s0s4ee.js → workspace-2p2zqrax.js} +14 -14
- package/dist/chunks/{workspace-934ndfrr.js → workspace-2rfrm4z4.js} +6 -6
- package/dist/chunks/{workspace-1ygqh575.js → workspace-33w4ejhs.js} +4 -4
- package/dist/chunks/{workspace-3w0fmcng.js → workspace-37s12vcn.js} +3 -3
- package/dist/chunks/{workspace-vz7ss3k3.js → workspace-3ajnb1r9.js} +9 -9
- package/dist/chunks/{workspace-sd1b9zfd.js → workspace-3z3b48hc.js} +12 -12
- package/dist/chunks/{workspace-4gzagvey.js → workspace-4akkya8d.js} +164 -164
- package/dist/chunks/{workspace-kr986s70.js → workspace-4bbqj5xy.js} +9 -9
- package/dist/chunks/{workspace-5892jdtn.js → workspace-4c8bw516.js} +3 -3
- package/dist/chunks/{workspace-8ncewq7h.js → workspace-4q3av0ca.js} +30 -30
- package/dist/chunks/{workspace-hzn56yvs.js → workspace-50sffj9r.js} +9 -9
- package/dist/chunks/{workspace-xj890rb7.js → workspace-5jc7ttfy.js} +32 -32
- package/dist/chunks/{workspace-2y34zzjz.js → workspace-5phqnecy.js} +8 -8
- package/dist/chunks/{workspace-0b1gpwwb.js → workspace-5wmcj197.js} +19 -19
- package/dist/chunks/{workspace-7vp5pahf.js → workspace-5x5s5b61.js} +20 -20
- package/dist/chunks/{workspace-feth5zyx.js → workspace-5xnbg0mq.js} +6 -6
- package/dist/chunks/{workspace-f9ps9yx5.js → workspace-64bnszwh.js} +17 -17
- package/dist/chunks/{workspace-wn4xj15b.js → workspace-68379k58.js} +4 -4
- package/dist/chunks/{workspace-njh9zcvs.js → workspace-684x0ekb.js} +16 -16
- package/dist/chunks/{workspace-t0x5rdq8.js → workspace-6d9mz4vp.js} +7 -7
- package/dist/chunks/{workspace-4tmag8pw.js → workspace-6dea3a60.js} +15 -15
- package/dist/chunks/{workspace-k9q45n45.js → workspace-6f3r6k6b.js} +4 -4
- package/dist/chunks/{workspace-3yd4wcry.js → workspace-6nr3zpgp.js} +8 -8
- package/dist/chunks/{workspace-4gqpqfcq.js → workspace-6pskpce9.js} +21 -21
- package/dist/chunks/{workspace-byfykep1.js → workspace-6qhdzbt8.js} +13 -13
- package/dist/chunks/{workspace-mdncrv3b.js → workspace-7bkv6sw9.js} +20 -20
- package/dist/chunks/{workspace-w9ytv6gf.js → workspace-7c2a2ky2.js} +10 -10
- package/dist/chunks/{workspace-v1v9n7kj.js → workspace-7c97gcr8.js} +16 -16
- package/dist/chunks/{workspace-e369tct8.js → workspace-7d7shxsk.js} +22 -22
- package/dist/chunks/{workspace-g84khnv4.js → workspace-7gwg4kr4.js} +14 -14
- package/dist/chunks/{workspace-cekxsej1.js → workspace-7qvw1jpc.js} +26 -26
- package/dist/chunks/{workspace-2s56tc45.js → workspace-7s8v9cx8.js} +9 -9
- package/dist/chunks/{workspace-ytp44yw2.js → workspace-7t7bkwb4.js} +11 -11
- package/dist/chunks/{workspace-scdhnzv1.js → workspace-81hk8rr5.js} +6 -6
- package/dist/chunks/{workspace-94z0cytz.js → workspace-86vtd0nm.js} +16 -16
- package/dist/chunks/{workspace-r9kqtr81.js → workspace-86wx2jpn.js} +12 -12
- package/dist/chunks/{workspace-1kaepe8y.js → workspace-8ebnt9d0.js} +28 -28
- package/dist/chunks/{workspace-hb1af40t.js → workspace-8yq5wvgp.js} +35 -35
- package/dist/chunks/{workspace-t1bhcjx3.js → workspace-96yt6zt0.js} +1 -1
- package/dist/chunks/{workspace-d3mk2n0c.js → workspace-9cn3k246.js} +17 -17
- package/dist/chunks/{workspace-skchca7t.js → workspace-9gdjw15m.js} +19 -19
- package/dist/chunks/{workspace-ahkdt7e5.js → workspace-9gwdy3qe.js} +47 -47
- package/dist/chunks/{workspace-hadkhv8d.js → workspace-9sfejfyp.js} +30 -30
- package/dist/chunks/{workspace-ggqdnky6.js → workspace-a4xtd93v.js} +10 -10
- package/dist/chunks/{workspace-6qgms2qw.js → workspace-a5ctevk9.js} +17 -17
- package/dist/chunks/{workspace-0ebyrbpf.js → workspace-a5rsm3jn.js} +13 -13
- package/dist/chunks/{workspace-n0rxe8qg.js → workspace-a6awqz4k.js} +5 -5
- package/dist/chunks/{workspace-bt0wtns8.js → workspace-a9c6fzfx.js} +9 -9
- package/dist/chunks/{workspace-exzp4pnr.js → workspace-aatqeffd.js} +3 -3
- package/dist/chunks/{workspace-6ccptkaw.js → workspace-abq5c8yx.js} +4 -4
- package/dist/chunks/{workspace-f79e7acg.js → workspace-bcnz578n.js} +1 -1
- package/dist/chunks/{workspace-jc1vbcaj.js → workspace-bp2xefs4.js} +10 -10
- package/dist/chunks/{workspace-zjw1qxrj.js → workspace-bvycm81b.js} +21 -21
- package/dist/chunks/{workspace-b281zsyd.js → workspace-ckekgx3g.js} +1 -1
- package/dist/chunks/{workspace-hfdr1yjj.js → workspace-cq37gk0t.js} +1 -1
- package/dist/chunks/{workspace-2vz4t0z4.js → workspace-cqexvzst.js} +6 -6
- package/dist/chunks/{workspace-y418223f.js → workspace-czshjawf.js} +9 -9
- package/dist/chunks/{workspace-4m2pmvxz.js → workspace-d0k1g5nx.js} +5 -5
- package/dist/chunks/{workspace-rqz552e7.js → workspace-d2f1arkd.js} +17 -17
- package/dist/chunks/{workspace-xwq8n2sh.js → workspace-dc2s3mgf.js} +8 -8
- package/dist/chunks/{workspace-1wh2xykj.js → workspace-deb8jze3.js} +7 -7
- package/dist/chunks/{workspace-s74e6q5b.js → workspace-dphh6hs8.js} +17 -17
- package/dist/chunks/{workspace-abn48psr.js → workspace-dw2zxk3m.js} +16 -16
- package/dist/chunks/{workspace-ab9238g2.js → workspace-e6hd9jay.js} +5 -5
- package/dist/chunks/{workspace-cgybpxck.js → workspace-ebxmy4ff.js} +23 -23
- package/dist/chunks/{workspace-kfjdjtta.js → workspace-exa2hqft.js} +30 -30
- package/dist/chunks/{workspace-devz3we5.js → workspace-eym9gh87.js} +33 -33
- package/dist/chunks/{workspace-ntbm31a4.js → workspace-ez2cwskb.js} +8 -8
- package/dist/chunks/{workspace-n5zjdcc0.js → workspace-f8q7mv7a.js} +1 -1
- package/dist/chunks/{workspace-qedhf8hd.js → workspace-fd7by8kg.js} +12 -12
- package/dist/chunks/{workspace-fkab44b1.js → workspace-ff9kr7s1.js} +18 -18
- package/dist/chunks/{workspace-eebjtjym.js → workspace-ffxvb7x8.js} +4 -4
- package/dist/chunks/{workspace-hjsw513e.js → workspace-fg152w5z.js} +4 -4
- package/dist/chunks/{workspace-1fa9ans5.js → workspace-fgh0kbhd.js} +1 -1
- package/dist/chunks/{workspace-qtwarjwz.js → workspace-fhtb8t9m.js} +12 -12
- package/dist/chunks/{workspace-sdh12dq5.js → workspace-fpmcemdk.js} +32 -32
- package/dist/chunks/{workspace-skyymkrr.js → workspace-fqka1xvk.js} +2 -2
- package/dist/chunks/{workspace-fmmn8x74.js → workspace-fygdb7h7.js} +3 -3
- package/dist/chunks/{workspace-jw80jp6b.js → workspace-g190xswt.js} +3 -3
- package/dist/chunks/{workspace-kfch808q.js → workspace-g71q580a.js} +20 -20
- package/dist/chunks/{workspace-02nph5r6.js → workspace-g8pejf11.js} +37 -37
- package/dist/chunks/{workspace-c8bfydn7.js → workspace-g95j7xq8.js} +10 -10
- package/dist/chunks/{workspace-hkp1h9sy.js → workspace-g9t14tcv.js} +17 -17
- package/dist/chunks/{workspace-3fsqj4j0.js → workspace-ganp6fse.js} +2 -2
- package/dist/chunks/{workspace-gg212e6z.js → workspace-gatrstrm.js} +25 -25
- package/dist/chunks/workspace-gbadjzag.js +4 -0
- package/dist/chunks/{workspace-3ssv6kad.js → workspace-gbx0czrk.js} +21 -21
- package/dist/chunks/{workspace-vx0nbd5a.js → workspace-gfwy2ztq.js} +11 -11
- package/dist/chunks/{workspace-33w8fzr9.js → workspace-ggfsfb11.js} +23 -23
- package/dist/chunks/{workspace-jg036ky1.js → workspace-gmhy8ckh.js} +3 -3
- package/dist/chunks/{workspace-hz4vbhnm.js → workspace-gqag2b6m.js} +86 -86
- package/dist/chunks/{workspace-w1ad28wa.js → workspace-gqawmzqm.js} +7 -7
- package/dist/chunks/{workspace-nyqyjq7f.js → workspace-gqd8n12r.js} +58 -58
- package/dist/chunks/{workspace-59wgq1a5.js → workspace-h3eefm4q.js} +17 -17
- package/dist/chunks/{workspace-0gr7cw0d.js → workspace-h6z8d5tn.js} +3 -3
- package/dist/chunks/{workspace-sxgqf9nr.js → workspace-hgdbqd39.js} +23 -23
- package/dist/chunks/{workspace-wjjfysat.js → workspace-hk7s8mmx.js} +8 -8
- package/dist/chunks/{workspace-xcxg3sjd.js → workspace-hpxc2jmf.js} +7 -7
- package/dist/chunks/{workspace-9cmgy7cp.js → workspace-hqs1dran.js} +22 -22
- package/dist/chunks/{workspace-ytjkbs5q.js → workspace-hs4grwgg.js} +36 -36
- package/dist/chunks/{workspace-fwv3dbt3.js → workspace-hwddf2sa.js} +2 -2
- package/dist/chunks/{workspace-010ejnzv.js → workspace-hxjrgpwf.js} +20 -20
- package/dist/chunks/{workspace-et6333e0.js → workspace-j6bg8t1s.js} +15 -15
- package/dist/chunks/{workspace-yam58fy8.js → workspace-jgpaqraz.js} +14 -14
- package/dist/chunks/{workspace-0n1qmxwe.js → workspace-jjk9g4c9.js} +12 -12
- package/dist/chunks/{workspace-2bt6bea8.js → workspace-jjs74g98.js} +7 -7
- package/dist/chunks/{workspace-3t9wsyj4.js → workspace-jr28ye0q.js} +10 -10
- package/dist/chunks/{workspace-qssq5wvh.js → workspace-k16ay38w.js} +1 -1
- package/dist/chunks/{workspace-ggrs6r08.js → workspace-k5asd96r.js} +8 -8
- package/dist/chunks/{workspace-f73rjn58.js → workspace-k76fn4kw.js} +3 -3
- package/dist/chunks/{workspace-krapsz8s.js → workspace-kbb8b4mk.js} +7 -7
- package/dist/chunks/{workspace-pawwnp4a.js → workspace-kcwrj79s.js} +11 -11
- package/dist/chunks/{workspace-2r9a3wfp.js → workspace-kmhfjgd2.js} +4 -4
- package/dist/chunks/{workspace-hf8cnsjw.js → workspace-ksz0h0wp.js} +1 -1
- package/dist/chunks/{workspace-5ys1ttr6.js → workspace-kwp6s08a.js} +27 -27
- package/dist/chunks/{workspace-dsfjtjtn.js → workspace-kyhv7p5a.js} +15 -15
- package/dist/chunks/{workspace-ccq2df5x.js → workspace-kz97c3qe.js} +2 -2
- package/dist/chunks/{workspace-dt849bc4.js → workspace-m27pyyd3.js} +5 -5
- package/dist/chunks/{workspace-1qa7sx05.js → workspace-m4z3bx3m.js} +17 -17
- package/dist/chunks/{workspace-wh7dthar.js → workspace-m6866ypp.js} +51 -51
- package/dist/chunks/{workspace-d23qetaw.js → workspace-mbzcxd5j.js} +9 -9
- package/dist/chunks/{workspace-dxk9f402.js → workspace-mq2071pb.js} +12 -12
- package/dist/chunks/{workspace-5c0f1prt.js → workspace-msq0jde0.js} +3 -3
- package/dist/chunks/{workspace-f7ehr2sm.js → workspace-n37c4crj.js} +3 -3
- package/dist/chunks/workspace-n3pe30h6.js +247 -0
- package/dist/chunks/{workspace-43yx1h7c.js → workspace-n42231gp.js} +9 -9
- package/dist/chunks/{workspace-6jex2xta.js → workspace-n76fdqym.js} +5 -5
- package/dist/chunks/{workspace-709qmd4f.js → workspace-nckzcwnb.js} +34 -34
- package/dist/chunks/{workspace-kzzsz8rg.js → workspace-nh3pjw8e.js} +19 -19
- package/dist/chunks/{workspace-rcq5765c.js → workspace-p03qjtav.js} +13 -13
- package/dist/chunks/{workspace-b3t12aqp.js → workspace-p33ejz0k.js} +1 -1
- package/dist/chunks/{workspace-rq6x4r74.js → workspace-p8xg97qz.js} +14 -14
- package/dist/chunks/{workspace-fv9ed2xt.js → workspace-pbah22gf.js} +39 -39
- package/dist/chunks/{workspace-c3m0xs4s.js → workspace-ppkj2x0s.js} +14 -14
- package/dist/chunks/{workspace-b6bb7nct.js → workspace-ptyvps10.js} +17 -17
- package/dist/chunks/{workspace-7we4r9ew.js → workspace-px077m8m.js} +9 -9
- package/dist/chunks/{workspace-7b15y959.js → workspace-q26tgv94.js} +7 -7
- package/dist/chunks/workspace-q6ers3ks.js +22 -0
- package/dist/chunks/{workspace-jwye7syw.js → workspace-qba6esk9.js} +7 -7
- package/dist/chunks/{workspace-7dqw4kz8.js → workspace-qgn6gcr1.js} +4 -4
- package/dist/chunks/{workspace-hnr5yq9h.js → workspace-qjnxxf51.js} +3 -3
- package/dist/chunks/{workspace-gqap5j9g.js → workspace-qnwdymmb.js} +10 -10
- package/dist/chunks/{workspace-3b1wqxak.js → workspace-qybt8qf6.js} +24 -24
- package/dist/chunks/{workspace-b1t2am26.js → workspace-r43pzhmb.js} +29 -29
- package/dist/chunks/{workspace-494yeyrp.js → workspace-r8xbn976.js} +7 -7
- package/dist/chunks/{workspace-7s02b6me.js → workspace-r9babyk8.js} +1 -1
- package/dist/chunks/{workspace-a2ew8a62.js → workspace-ratrq7cm.js} +3 -3
- package/dist/chunks/{workspace-s8d7rejh.js → workspace-rhjbct0v.js} +3 -3
- package/dist/chunks/{workspace-v7bsnapp.js → workspace-rpkqhkgh.js} +35 -35
- package/dist/chunks/{workspace-022adzae.js → workspace-s2qmceks.js} +7 -7
- package/dist/chunks/{workspace-gt0apk7z.js → workspace-sheztqmg.js} +18 -18
- package/dist/chunks/{workspace-z52w236g.js → workspace-ssc9de04.js} +1 -1
- package/dist/chunks/{workspace-n4yapsk0.js → workspace-st1a0ccc.js} +29 -29
- package/dist/chunks/{workspace-f5wfqm5e.js → workspace-sxst59p4.js} +10 -10
- package/dist/chunks/{workspace-pv643edj.js → workspace-tfbymgd2.js} +4 -4
- package/dist/chunks/{workspace-gcvj5pa8.js → workspace-thgpzxma.js} +15 -15
- package/dist/chunks/{workspace-fsnw1hqv.js → workspace-tj06h6ge.js} +11 -11
- package/dist/chunks/{workspace-8a435q9z.js → workspace-tzbf48v6.js} +22 -22
- package/dist/chunks/{workspace-tjedsf1z.js → workspace-v4n861w0.js} +1 -1
- package/dist/chunks/{workspace-hd29wc17.js → workspace-v5w9803s.js} +7 -7
- package/dist/chunks/{workspace-pz5qb3qt.js → workspace-v7z8j5fb.js} +5 -5
- package/dist/chunks/{workspace-s8t4qsw4.js → workspace-v8g8r3p5.js} +4 -4
- package/dist/chunks/{workspace-j83byb14.js → workspace-vncycja5.js} +3 -3
- package/dist/chunks/{workspace-g5q0e61f.js → workspace-vw5rdzwq.js} +1 -1
- package/dist/chunks/{workspace-jp51bnyt.js → workspace-vwszadwz.js} +29 -29
- package/dist/chunks/{workspace-gp8tcjp2.js → workspace-w5qg2wfr.js} +11 -11
- package/dist/chunks/{workspace-any60g97.js → workspace-wc290t49.js} +10 -10
- package/dist/chunks/{workspace-9asg0y97.js → workspace-wceej830.js} +15 -15
- package/dist/chunks/{workspace-910asfwy.js → workspace-wf0sjdq3.js} +2 -2
- package/dist/chunks/{workspace-eamgkqma.js → workspace-wx969pk2.js} +9 -9
- package/dist/chunks/{workspace-cf42bz4p.js → workspace-x1szhx45.js} +16 -16
- package/dist/chunks/{workspace-zmmw47s9.js → workspace-x9snh48m.js} +6 -6
- package/dist/chunks/{workspace-8bg05p2k.js → workspace-xj5pk8z5.js} +19 -19
- package/dist/chunks/{workspace-6wjp1q1r.js → workspace-xkza7d0m.js} +36 -36
- package/dist/chunks/{workspace-685qrrxy.js → workspace-xqrcwaxh.js} +25 -25
- package/dist/chunks/{workspace-8bt8kjwe.js → workspace-xwemxn4q.js} +7 -7
- package/dist/chunks/{workspace-yeaw3623.js → workspace-xxdmnr1j.js} +22 -22
- package/dist/chunks/{workspace-pb37c83a.js → workspace-xygnmwgx.js} +10 -10
- package/dist/chunks/{workspace-58aqtfam.js → workspace-y9ynd60w.js} +20 -20
- package/dist/chunks/{workspace-srqbxy54.js → workspace-yhqzjv42.js} +19 -19
- package/dist/chunks/{workspace-8dp3tmf6.js → workspace-ymqqjkft.js} +26 -26
- package/dist/chunks/{workspace-jndyp0t0.js → workspace-yn0159c4.js} +75 -75
- package/dist/chunks/{workspace-7f2qwqcj.js → workspace-yrdykp8a.js} +23 -23
- package/dist/chunks/{workspace-a78mx8ke.js → workspace-ys34w47p.js} +9 -9
- package/dist/chunks/{workspace-pecb0brz.js → workspace-yt0fqk68.js} +3 -3
- package/dist/chunks/{workspace-wtknh6p7.js → workspace-z3b2s73f.js} +1 -1
- package/dist/chunks/{workspace-2ee8pmxs.js → workspace-z69s9t6b.js} +4 -4
- package/dist/chunks/{workspace-c2s6b9jx.js → workspace-z97qt971.js} +288 -288
- package/dist/chunks/{workspace-kwb80b5k.js → workspace-za4pw5w1.js} +6 -6
- package/dist/chunks/{workspace-2wb4awa6.js → workspace-zm6nb732.js} +20 -20
- package/dist/chunks/{workspace-krye8wkr.js → workspace-znttyky5.js} +10 -10
- package/dist/codemode/instructions.js +8 -8
- package/dist/command.js +65 -65
- package/dist/config/discovery.js +56 -56
- package/dist/config/normalize.js +16 -16
- package/dist/config/plugin/agent.js +85 -85
- package/dist/config/plugin/command.js +167 -167
- package/dist/config/plugin/compaction.js +117 -117
- package/dist/config/plugin/formatter.js +85 -85
- package/dist/config/plugin/image.js +85 -85
- package/dist/config/plugin/instruction.js +62 -62
- package/dist/config/plugin/location-watcher.js +87 -87
- package/dist/config/plugin/mcp.js +94 -94
- package/dist/config/plugin/policy.js +83 -83
- package/dist/config/plugin/provider.js +83 -83
- package/dist/config/plugin/reference.js +87 -87
- package/dist/config/plugin/shell.js +86 -86
- package/dist/config/plugin/skill-file.js +71 -71
- package/dist/config/plugin/skill.js +100 -100
- package/dist/config/plugin/snapshot.js +85 -85
- package/dist/config/plugin/source.js +87 -87
- package/dist/config/plugin/tool-output.js +86 -86
- package/dist/config/plugin/websearch.js +83 -83
- package/dist/config/plugin/worktree.js +86 -86
- package/dist/config.js +90 -90
- package/dist/credential.js +57 -57
- package/dist/database/database.js +51 -51
- package/dist/database/drizzle/effect-sqlite/driver.js +9 -9
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +8 -8
- package/dist/database/drizzle/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/db.js +6 -6
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +7 -7
- package/dist/database/drizzle.js +10 -10
- package/dist/database/migration.gen.js +35 -35
- package/dist/database/migration.js +36 -36
- package/dist/database/v1-migration.bun.js +9 -9
- package/dist/effect/app-node-builder.js +229 -229
- package/dist/environment/environment.js +64 -64
- package/dist/environment/index.js +66 -66
- package/dist/event-logger.js +9 -9
- package/dist/file-access.js +74 -74
- package/dist/file-mutation.js +65 -65
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +181 -181
- package/dist/filesystem/search.js +73 -73
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +74 -74
- package/dist/form.js +57 -57
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +63 -63
- package/dist/generate.js +71 -71
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +5 -5
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +301 -301
- package/dist/instruction-discovery.js +66 -66
- package/dist/instructions/builtins.js +61 -61
- package/dist/instructions/index.js +3 -3
- package/dist/integration.js +60 -60
- package/dist/job.js +60 -60
- package/dist/kv.js +56 -56
- package/dist/location-activity.js +53 -53
- package/dist/location-mutation.js +29 -29
- package/dist/location-service-map.js +60 -60
- package/dist/location-services.js +299 -299
- package/dist/location.js +63 -63
- package/dist/mcp/client.js +16 -16
- package/dist/mcp/index.js +77 -77
- package/dist/mcp/instructions.js +90 -90
- package/dist/mcp/stdio.js +61 -61
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +68 -68
- package/dist/model.js +8 -8
- package/dist/models-dev.js +69 -69
- package/dist/permission/saved.js +60 -60
- package/dist/permission.js +79 -79
- package/dist/persistent-pty/index.js +66 -66
- package/dist/persistent-pty.js +54 -54
- package/dist/plugin/agent.js +72 -72
- package/dist/plugin/command.js +68 -68
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +172 -172
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +273 -273
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +58 -58
- package/dist/plugin/module.js +4 -4
- package/dist/plugin/plan.js +72 -72
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +88 -88
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +87 -87
- package/dist/plugin/provider/cloudflare-workers-ai.js +87 -87
- package/dist/plugin/provider/configured.js +85 -85
- package/dist/plugin/provider/digitalocean.js +60 -60
- package/dist/plugin/provider/github-copilot.js +62 -62
- 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 +58 -58
- package/dist/plugin/provider/lmstudio.js +88 -88
- package/dist/plugin/provider/modal.js +61 -61
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +88 -88
- package/dist/plugin/provider/openai.js +59 -59
- package/dist/plugin/provider/opencode.js +60 -60
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/poe.js +57 -57
- package/dist/plugin/provider/sap-ai-core.js +2 -2
- package/dist/plugin/provider/snowflake-cortex.js +87 -87
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +88 -88
- package/dist/plugin/provider/xai.js +59 -59
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +123 -123
- package/dist/plugin/sdk.js +59 -59
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +100 -100
- package/dist/plugin/supervisor.js +291 -291
- package/dist/plugin/update.js +3 -3
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +60 -60
- package/dist/plugin/vcs/hg.js +60 -60
- package/dist/plugin/warming.js +83 -83
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +7 -7
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +179 -179
- package/dist/project/schema.js +5 -5
- package/dist/project.js +62 -62
- package/dist/provider.js +5 -5
- package/dist/pty/schema.js +3 -3
- package/dist/pty.js +72 -72
- package/dist/reference/instructions.js +65 -65
- package/dist/reference.js +67 -67
- package/dist/repository-cache.js +58 -58
- package/dist/ripgrep.js +68 -68
- package/dist/rpc.js +60 -60
- package/dist/session/command.js +56 -56
- package/dist/session/compaction.js +98 -98
- package/dist/session/context.js +113 -113
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +4 -4
- package/dist/session/execution/restart.js +114 -114
- package/dist/session/execution.js +94 -94
- package/dist/session/generate.js +114 -114
- package/dist/session/history.js +6 -6
- package/dist/session/inbox.js +66 -66
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +59 -59
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +68 -68
- package/dist/session/message-updater.js +3 -3
- package/dist/session/model-request.js +85 -85
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +97 -97
- package/dist/session/projector.js +61 -61
- package/dist/session/prompt.js +74 -74
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +61 -61
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +181 -181
- package/dist/session/runner/model.js +68 -68
- package/dist/session/runner/retry.js +83 -83
- package/dist/session/runner/step.js +89 -89
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +133 -133
- package/dist/session/shell.js +100 -100
- package/dist/session/skill.js +73 -73
- package/dist/session/stats.js +8 -8
- package/dist/session/store.js +63 -63
- package/dist/session/subagent-job.js +165 -165
- package/dist/session/title.js +116 -116
- package/dist/session/to-session-error.js +80 -80
- package/dist/session/transfer.js +109 -109
- package/dist/session.js +172 -172
- package/dist/shell/parse.js +3 -3
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +99 -99
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +77 -77
- package/dist/skill.js +80 -80
- package/dist/snapshot.js +65 -65
- package/dist/tool/mcp.js +87 -87
- package/dist/tool/plugin/edit.js +86 -86
- package/dist/tool/plugin/glob.js +84 -84
- package/dist/tool/plugin/grep.js +88 -88
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +88 -88
- package/dist/tool/plugin/question.js +73 -73
- package/dist/tool/plugin/read.js +88 -88
- package/dist/tool/plugin/shell.js +171 -171
- package/dist/tool/plugin/skill.js +83 -83
- package/dist/tool/plugin/subagent.js +170 -170
- package/dist/tool/plugin/webfetch.js +78 -78
- package/dist/tool/plugin/websearch.js +80 -80
- package/dist/tool/plugin/write.js +88 -88
- package/dist/tool/read-filesystem.js +69 -69
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +9 -9
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +3 -3
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/skills.js +3 -3
- package/dist/vcs.js +63 -63
- package/dist/websearch.js +65 -65
- package/dist/wellknown/plugin.js +57 -57
- package/dist/wellknown.js +60 -60
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +63 -63
- package/dist/worktree/refresh.js +290 -290
- package/dist/worktree.js +67 -67
- package/package.json +8 -8
- package/dist/chunks/workspace-7er8a3we.js +0 -247
- package/dist/chunks/workspace-a93wq46y.js +0 -22
- package/dist/chunks/workspace-qapv375x.js +0 -4
- /package/dist/chunks/{workspace-4pwxaf10.js → workspace-bqvjxhzq.js} +0 -0
- /package/dist/chunks/{workspace-xhnnpr23.js → workspace-cvcrrxw9.js} +0 -0
- /package/dist/chunks/{workspace-ma15yhyh.js → workspace-vrpz8t5t.js} +0 -0
- /package/dist/chunks/{workspace-4ne4chy4.js → workspace-yrxxjksg.js} +0 -0
|
@@ -1,125 +1,125 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./workspace-
|
|
3
|
+
node73
|
|
4
|
+
} from "./workspace-7c2a2ky2.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./workspace-
|
|
8
|
+
} from "./workspace-v4n861w0.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./workspace-
|
|
10
|
+
ID11,
|
|
11
|
+
Service65,
|
|
12
|
+
node69
|
|
13
|
+
} from "./workspace-m4z3bx3m.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./workspace-
|
|
15
|
+
ID18
|
|
16
|
+
} from "./workspace-m27pyyd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./workspace-
|
|
18
|
+
Service59,
|
|
19
|
+
node62
|
|
20
|
+
} from "./workspace-g95j7xq8.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./workspace-
|
|
22
|
+
ID14
|
|
23
|
+
} from "./workspace-tj06h6ge.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID17,
|
|
26
26
|
OAuth3
|
|
27
|
-
} from "./workspace-
|
|
27
|
+
} from "./workspace-7t7bkwb4.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
29
|
+
ID15,
|
|
30
30
|
MethodID2,
|
|
31
31
|
AttemptID2,
|
|
32
32
|
Method2,
|
|
33
33
|
Service76,
|
|
34
34
|
node81
|
|
35
|
-
} from "./workspace-
|
|
35
|
+
} from "./workspace-czshjawf.js";
|
|
36
36
|
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./workspace-
|
|
37
|
+
Service75,
|
|
38
|
+
node80
|
|
39
|
+
} from "./workspace-y9ynd60w.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./workspace-
|
|
41
|
+
Service34,
|
|
42
|
+
node38
|
|
43
|
+
} from "./workspace-0h28z8dy.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./workspace-
|
|
45
|
+
Service71,
|
|
46
|
+
node76
|
|
47
|
+
} from "./workspace-dc2s3mgf.js";
|
|
48
48
|
import {
|
|
49
49
|
AbsolutePath2
|
|
50
50
|
} from "./workspace-922hggd3.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
} from "./workspace-
|
|
57
|
-
import {
|
|
58
|
-
Service62,
|
|
59
|
-
node67
|
|
60
|
-
} from "./workspace-hzn56yvs.js";
|
|
52
|
+
Info25,
|
|
53
|
+
Ref2,
|
|
54
|
+
Service67,
|
|
55
|
+
node71
|
|
56
|
+
} from "./workspace-684x0ekb.js";
|
|
61
57
|
import {
|
|
62
|
-
|
|
63
|
-
|
|
58
|
+
Service56,
|
|
59
|
+
node59
|
|
60
|
+
} from "./workspace-50sffj9r.js";
|
|
64
61
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./workspace-6wjp1q1r.js";
|
|
62
|
+
ID7
|
|
63
|
+
} from "./workspace-27e5hy5h.js";
|
|
68
64
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./workspace-
|
|
65
|
+
Service24,
|
|
66
|
+
node29
|
|
67
|
+
} from "./workspace-xkza7d0m.js";
|
|
72
68
|
import {
|
|
73
|
-
|
|
69
|
+
Service64,
|
|
74
70
|
node68
|
|
75
|
-
} from "./workspace-
|
|
76
|
-
import {
|
|
77
|
-
Service40,
|
|
78
|
-
node44
|
|
79
|
-
} from "./workspace-1c2ybwbd.js";
|
|
80
|
-
import {
|
|
81
|
-
Source4,
|
|
82
|
-
Service51,
|
|
83
|
-
node56
|
|
84
|
-
} from "./workspace-yeaw3623.js";
|
|
71
|
+
} from "./workspace-v5w9803s.js";
|
|
85
72
|
import {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
} from "./workspace-7vp5pahf.js";
|
|
73
|
+
Service61,
|
|
74
|
+
node65
|
|
75
|
+
} from "./workspace-9gwdy3qe.js";
|
|
90
76
|
import {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
} from "./workspace-
|
|
77
|
+
Service33,
|
|
78
|
+
node37
|
|
79
|
+
} from "./workspace-0h1q2yx7.js";
|
|
94
80
|
import {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
81
|
+
Source5,
|
|
82
|
+
Service69,
|
|
83
|
+
node74
|
|
84
|
+
} from "./workspace-xxdmnr1j.js";
|
|
98
85
|
import {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
86
|
+
Info6,
|
|
87
|
+
Service37,
|
|
88
|
+
node41
|
|
89
|
+
} from "./workspace-5x5s5b61.js";
|
|
102
90
|
import {
|
|
103
91
|
Service18,
|
|
104
92
|
node22
|
|
105
|
-
} from "./workspace-
|
|
93
|
+
} from "./workspace-yn0159c4.js";
|
|
106
94
|
import {
|
|
107
|
-
ID14,
|
|
108
95
|
Service73,
|
|
109
96
|
node78
|
|
110
|
-
} from "./workspace-
|
|
97
|
+
} from "./workspace-g71q580a.js";
|
|
98
|
+
import {
|
|
99
|
+
Service15,
|
|
100
|
+
node19
|
|
101
|
+
} from "./workspace-sheztqmg.js";
|
|
102
|
+
import {
|
|
103
|
+
Service66,
|
|
104
|
+
node70
|
|
105
|
+
} from "./workspace-g9t14tcv.js";
|
|
106
|
+
import {
|
|
107
|
+
ID3,
|
|
108
|
+
Service14,
|
|
109
|
+
node18
|
|
110
|
+
} from "./workspace-yrdykp8a.js";
|
|
111
111
|
import {
|
|
112
112
|
StrategyID2,
|
|
113
|
-
|
|
113
|
+
Info3,
|
|
114
114
|
ListEntry3,
|
|
115
115
|
UnsupportedLocationError2,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
} from "./workspace-
|
|
116
|
+
Service16,
|
|
117
|
+
node20
|
|
118
|
+
} from "./workspace-ggfsfb11.js";
|
|
119
119
|
import {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
} from "./workspace-
|
|
120
|
+
Service57,
|
|
121
|
+
node60
|
|
122
|
+
} from "./workspace-ff9kr7s1.js";
|
|
123
123
|
import {
|
|
124
124
|
__export
|
|
125
125
|
} from "./workspace-9rqn6x4v.js";
|
|
@@ -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*
|
|
143
|
+
const agents = yield* Service65;
|
|
144
|
+
const aisdk = yield* Service59;
|
|
145
|
+
const catalog = yield* Service75;
|
|
146
|
+
const commands = yield* Service34;
|
|
147
147
|
const bus = yield* Service79;
|
|
148
148
|
const integration = yield* Service76;
|
|
149
|
-
const kv = yield*
|
|
150
|
-
const mcp = yield*
|
|
151
|
-
const location = yield*
|
|
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
|
|
149
|
+
const kv = yield* Service71;
|
|
150
|
+
const mcp = yield* Service24;
|
|
151
|
+
const location = yield* Service67;
|
|
152
|
+
const reference = yield* Service69;
|
|
153
|
+
const rpc = yield* Service15;
|
|
154
|
+
const skill = yield* Service37;
|
|
155
|
+
const tools = yield* Service33;
|
|
156
|
+
const vcs = yield* Service66;
|
|
157
|
+
const websearch = yield* Service14;
|
|
158
|
+
const generate = yield* Service57;
|
|
159
|
+
const permission = yield* Service61;
|
|
160
|
+
const hooks = yield* Service64;
|
|
161
|
+
const sessions = yield* Service18;
|
|
162
|
+
const persistentPty = yield* Service73;
|
|
163
|
+
const locations = yield* Service56;
|
|
164
|
+
const worktrees = yield* Service16;
|
|
165
|
+
const locationInfo = () => new Info25({
|
|
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 : ID7.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* Service16;
|
|
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(Info3);
|
|
190
190
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
|
|
191
191
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
192
|
-
const location = yield*
|
|
193
|
-
const agents = yield*
|
|
192
|
+
const location = yield* Service67;
|
|
193
|
+
const agents = yield* Service65;
|
|
194
194
|
return {
|
|
195
|
-
location: new
|
|
195
|
+
location: new Info25({
|
|
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(ID11.make(id))),
|
|
228
|
+
default: (id) => editor.default(id === undefined ? undefined : ID11.make(id)),
|
|
229
|
+
update: (id, update) => editor.update(ID11.make(id), update),
|
|
230
|
+
remove: (id) => editor.remove(ID11.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(ID18.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(ID18.make(id))),
|
|
277
|
+
update: (id, update) => editor.provider.update(ID18.make(id), update),
|
|
278
|
+
remove: (id) => editor.provider.remove(ID18.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(ID18.make(providerID), ID14.make(modelID))),
|
|
282
|
+
update: (providerID, modelID, update) => editor.model.update(ID18.make(providerID), ID14.make(modelID), update),
|
|
283
|
+
remove: (providerID, modelID) => editor.model.remove(ID18.make(providerID), ID14.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(ID18.make(providerID), ID14.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(ID15.make(input.integrationID))),
|
|
311
311
|
connect: {
|
|
312
312
|
key: (input) => integration.connection.key({
|
|
313
|
-
integrationID:
|
|
313
|
+
integrationID: ID15.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: ID15.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: ID15.make(input.integrationID),
|
|
328
328
|
attemptID: AttemptID2.make(input.attemptID)
|
|
329
329
|
})),
|
|
330
330
|
complete: (input) => integration.oauth.complete({
|
|
331
|
-
integrationID:
|
|
331
|
+
integrationID: ID15.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: ID15.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: ID15.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: ID15.make(input.integrationID),
|
|
348
348
|
attemptID: AttemptID2.make(input.attemptID)
|
|
349
349
|
})),
|
|
350
350
|
cancel: (input) => integration.command.cancel({
|
|
351
|
-
integrationID:
|
|
351
|
+
integrationID: ID15.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(ID15.make(id)),
|
|
358
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID17.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(ID15.make(id))),
|
|
364
|
+
update: (id, update) => editor.update(ID15.make(id), update),
|
|
365
|
+
remove: (id) => editor.remove(ID15.make(id)),
|
|
366
366
|
method: {
|
|
367
|
-
list: (id) => editor.method.list(
|
|
367
|
+
list: (id) => editor.method.list(ID15.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(ID15.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
370
370
|
}
|
|
371
371
|
});
|
|
372
372
|
})
|
|
@@ -376,10 +376,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
376
376
|
const ref = locationRef(input);
|
|
377
377
|
if (ref && !isCurrentLocation(ref))
|
|
378
378
|
return Effect.gen(function* () {
|
|
379
|
-
const location = yield*
|
|
380
|
-
const mcp = yield*
|
|
379
|
+
const location = yield* Service67;
|
|
380
|
+
const mcp = yield* Service24;
|
|
381
381
|
return {
|
|
382
|
-
location: new
|
|
382
|
+
location: new Info25({
|
|
383
383
|
directory: location.directory,
|
|
384
384
|
workspaceID: location.workspaceID,
|
|
385
385
|
project: location.project
|
|
@@ -414,7 +414,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
414
414
|
reload: reference.reload,
|
|
415
415
|
transform: (callback) => reference.transform((editor) => {
|
|
416
416
|
callback({
|
|
417
|
-
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(
|
|
417
|
+
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source5)(source)),
|
|
418
418
|
remove: editor.remove,
|
|
419
419
|
list: editor.list,
|
|
420
420
|
get: editor.get
|
|
@@ -428,7 +428,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
428
428
|
callback({
|
|
429
429
|
list: () => mutable(editor.list()),
|
|
430
430
|
get: editor.get,
|
|
431
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
431
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info6)(value)),
|
|
432
432
|
update: editor.update,
|
|
433
433
|
remove: editor.remove
|
|
434
434
|
});
|
|
@@ -456,19 +456,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
456
456
|
providers: () => response(websearch.providers()),
|
|
457
457
|
query: (input) => response(websearch.query({
|
|
458
458
|
query: input.query,
|
|
459
|
-
providerID: input.providerID === undefined ? undefined :
|
|
459
|
+
providerID: input.providerID === undefined ? undefined : ID3.make(input.providerID)
|
|
460
460
|
})),
|
|
461
461
|
reload: websearch.reload,
|
|
462
462
|
transform: (callback) => websearch.transform((editor) => {
|
|
463
463
|
callback({
|
|
464
464
|
add: (definition) => editor.add({
|
|
465
|
-
id:
|
|
465
|
+
id: ID3.make(definition.id),
|
|
466
466
|
name: definition.name,
|
|
467
467
|
execute: definition.execute
|
|
468
468
|
}),
|
|
469
469
|
default: {
|
|
470
470
|
get: editor.default.get,
|
|
471
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
471
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID3.make(selection))
|
|
472
472
|
}
|
|
473
473
|
});
|
|
474
474
|
})
|
|
@@ -495,7 +495,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
495
495
|
title: input?.title,
|
|
496
496
|
agent: input?.agent,
|
|
497
497
|
model: input?.model,
|
|
498
|
-
location: input?.location ??
|
|
498
|
+
location: input?.location ?? Ref2.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
499
499
|
}),
|
|
500
500
|
get: (input) => sessions.get(input.sessionID),
|
|
501
501
|
switchAgent: sessions.switchAgent,
|
|
@@ -514,29 +514,29 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
514
514
|
return context;
|
|
515
515
|
});
|
|
516
516
|
var requirements3 = LayerNode.group([
|
|
517
|
-
|
|
518
|
-
|
|
517
|
+
node73,
|
|
518
|
+
node69,
|
|
519
|
+
node62,
|
|
519
520
|
node80,
|
|
520
|
-
|
|
521
|
-
node52,
|
|
521
|
+
node38,
|
|
522
522
|
node84,
|
|
523
523
|
node81,
|
|
524
|
-
|
|
524
|
+
node76,
|
|
525
|
+
node29,
|
|
526
|
+
node71,
|
|
527
|
+
node74,
|
|
528
|
+
node19,
|
|
525
529
|
node41,
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
530
|
+
node37,
|
|
531
|
+
node70,
|
|
532
|
+
node18,
|
|
533
|
+
node20,
|
|
534
|
+
node60,
|
|
535
|
+
node65,
|
|
536
|
+
node68,
|
|
531
537
|
node22,
|
|
532
538
|
node78,
|
|
533
|
-
|
|
534
|
-
node21,
|
|
535
|
-
node68,
|
|
536
|
-
node72,
|
|
537
|
-
node30,
|
|
538
|
-
node29,
|
|
539
|
-
node67
|
|
539
|
+
node59
|
|
540
540
|
]);
|
|
541
541
|
function storage2(kv, pluginID) {
|
|
542
542
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -563,7 +563,7 @@ function methodImplementation(input) {
|
|
|
563
563
|
if ("authorize" in input) {
|
|
564
564
|
const refresh = input.refresh;
|
|
565
565
|
return {
|
|
566
|
-
integrationID:
|
|
566
|
+
integrationID: ID15.make(input.integrationID),
|
|
567
567
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
568
568
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
569
569
|
if (authorization.mode === "auto") {
|
|
@@ -583,18 +583,18 @@ function methodImplementation(input) {
|
|
|
583
583
|
}
|
|
584
584
|
if (input.method.type === "env") {
|
|
585
585
|
return {
|
|
586
|
-
integrationID:
|
|
586
|
+
integrationID: ID15.make(input.integrationID),
|
|
587
587
|
method: input.method
|
|
588
588
|
};
|
|
589
589
|
}
|
|
590
590
|
if (input.method.type === "command") {
|
|
591
591
|
return {
|
|
592
|
-
integrationID:
|
|
592
|
+
integrationID: ID15.make(input.integrationID),
|
|
593
593
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
594
594
|
};
|
|
595
595
|
}
|
|
596
596
|
return {
|
|
597
|
-
integrationID:
|
|
597
|
+
integrationID: ID15.make(input.integrationID),
|
|
598
598
|
method: input.method
|
|
599
599
|
};
|
|
600
600
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./workspace-
|
|
2
|
+
Service44
|
|
3
|
+
} from "./workspace-nckzcwnb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./workspace-
|
|
5
|
+
Service36
|
|
6
|
+
} from "./workspace-qba6esk9.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
9
|
} from "./workspace-qsdy395h.js";
|
|
@@ -15,15 +15,15 @@ import {
|
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin37
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin37 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service44;
|
|
26
|
+
const image = yield* Service36;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin39 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin37, exports_image };
|
|
@@ -7,7 +7,7 @@ var exports_environment = {};
|
|
|
7
7
|
__export(exports_environment, {
|
|
8
8
|
Service: () => Service43,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node47
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service43, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node47 = makeGlobalNode({ service: Service43, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export { Service43,
|
|
31
|
+
export { Service43, node47, exports_environment };
|