@openagents-org/agent-launcher 0.2.210 → 0.2.211
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/icons/mimo-code.svg +1 -0
- package/icons/qoder-cn.svg +1 -0
- package/icons/qoder.svg +1 -0
- package/icons/qwen-code.svg +1 -0
- package/package.json +1 -1
- package/registry.json +374 -2
- package/src/adapters/base.js +25 -4
- package/src/adapters/deepseek.js +21 -3
- package/src/adapters/index.js +13 -1
- package/src/adapters/kimi-stream.js +6 -5
- package/src/adapters/mimo-code-runtime.js +266 -0
- package/src/adapters/mimo-code.js +581 -0
- package/src/adapters/opencode.js +21 -16
- package/src/adapters/pi.js +91 -8
- package/src/adapters/qoder-cn.js +24 -0
- package/src/adapters/qoder-runtime.js +611 -0
- package/src/adapters/qoder.js +946 -0
- package/src/adapters/qwen-code-stream.js +735 -0
- package/src/adapters/qwen-code.js +1125 -0
- package/src/agent-login.js +93 -0
- package/src/cli-models.js +45 -2
- package/src/cli.js +94 -0
- package/src/daemon.js +80 -4
- package/src/env.js +3 -0
- package/src/installer.js +49 -17
- package/src/paths.js +21 -0
- package/src/probe.js +44 -1
- package/src/workspace-client.js +12 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg fill="currentColor" fill-rule="evenodd" height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg"><title>XiaomiMiMo</title><path d="M.958 15.936a.459.459 0 01.459.44v2.729a.46.46 0 01-.918 0v-2.729a.459.459 0 01.459-.44zm4.814-2.035a.46.46 0 01.553.45v4.754a.458.458 0 11-.918 0V15.48L3.74 17.202a.462.462 0 01-.655.016.462.462 0 01-.065-.082L.628 14.67a.459.459 0 01.658-.637l2.124 2.187 2.127-2.188a.46.46 0 01.235-.13zm2.068.004a.46.46 0 01.458.445v4.755a.46.46 0 01-.458.458.459.459 0 01-.458-.458V14.35a.459.459 0 01.458-.445zm1.973 2.014a.46.46 0 01.46.457v2.729a.46.46 0 01-.784.324.46.46 0 01-.134-.324v-2.729a.46.46 0 01.458-.458zm.002-2.045a.458.458 0 01.328.157l2.127 2.19 2.125-2.19a.459.459 0 01.784.318v4.756a.46.46 0 01-.455.458.46.46 0 01-.458-.458V15.48l-1.667 1.723a.46.46 0 01-.65.008l-.005-.005c0-.002-.002-.002-.004-.003l-2.455-2.534a.46.46 0 01-.008-.667.461.461 0 01.338-.128zm6.797 1.206a.46.46 0 01.53.651A1.966 1.966 0 0019.81 18.4a.462.462 0 01.623.18.46.46 0 01-.181.624 2.863 2.863 0 01-1.38.353l-.142-.004a2.88 2.88 0 01-2.393-4.263.461.461 0 01.274-.21zm.864-.931a2.884 2.884 0 013.915 3.914.46.46 0 01-.402.24l-.057-.004a.458.458 0 01-.164-.055.46.46 0 01-.182-.622 1.967 1.967 0 00-2.669-2.67.459.459 0 11-.441-.803zM9.59 6.368c1.481 0 1.696 1.202 1.696 1.654v2.648h-.917v-.432c-.26.346-.792.535-1.36.535-.133 0-1.289-.03-1.384-1.136-.082-.932.675-1.61 2.053-1.61h.691c0-.563-.367-.886-.983-.886-.44.013-.864.174-1.2.458l-.36-.664c.484-.379 1.012-.567 1.764-.567zm4.427.1c1.263 0 2.082.97 2.083 2.15 0 1.181-.824 2.154-2.083 2.154-1.26 0-2.084-.972-2.084-2.152 0-1.18.82-2.153 2.084-2.153zm6.801.015c.68 0 1.202.465 1.197 1.548v2.642H21.1V8.29c0-.312-.002-.98-.63-.98s-.628.667-.628.838v2.524h-.89V8.148c0-.17-.001-.838-.63-.838-.628 0-.628.668-.628.98v2.383h-.917v-4.03h.917V7a1.22 1.22 0 01.947-.516c.398 0 .76.193.982.686a1.321 1.321 0 011.195-.686zm-18.093.872l1.457-1.772H5.32L3.311 8.07l2.14 2.602H4.24L2.725 8.796 1.21 10.672H0L2.138 8.07.13 5.583h1.138l1.458 1.772zm4.149 3.317h-.916V6.644h.916v4.028zm16.99 0h-.916V6.644h.916v4.028zM9.925 8.71c-1.055 0-1.359.412-1.326.742.032.329.324.537.757.537a1.013 1.013 0 001.014-.968l.002-.31h-.447zM14.018 7.3c-.663 0-1.184.487-1.184 1.32 0 .832.52 1.32 1.184 1.32.662 0 1.182-.49 1.182-1.32 0-.832-.52-1.32-1.182-1.32zM6.417 5.001a.568.568 0 01.587.582.588.588 0 01-1.175 0A.57.57 0 016.417 5zm16.991 0a.57.57 0 01.592.582.588.588 0 01-1.174 0 .57.57 0 01.357-.542.572.572 0 01.225-.04z"></path></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" role="img" style="flex:none;line-height:1"><title>Qoder</title><rect width="24" height="24" rx="5.5" fill="#111418"/><g transform="translate(4 4) scale(0.6667)"><path d="M23.376 14.458v-4.056c0-2.304-1.003-4.154-2.748-5.075L11.612.574l-.046.086-.045.086c1.68.886 2.644 2.673 2.644 4.902v4.056a7.928 7.928 0 01-.014.454l-.005.061c-.005.081-.01.164-.018.245a4.897 4.897 0 01-.011.1l-.01.076c-.008.068-.015.135-.025.203l-.018.113-.01.058a9.99 9.99 0 01-.098.513l-.007.03a7.209 7.209 0 01-.074.294l-.024.086c-.027.099-.056.197-.087.296l-.027.085a9.592 9.592 0 01-.111.323l-.033.085-.018.046c-.032.082-.064.166-.098.248-.019.048-.04.096-.061.145l-.007.017a6 6 0 01-.084.187c-.024.056-.05.11-.077.165-.03.061-.058.122-.089.182a9.423 9.423 0 01-.176.332c-.03.056-.062.111-.094.167-.031.053-.062.108-.095.16-.033.055-.066.11-.101.164-.033.053-.065.104-.1.155-.034.055-.07.107-.111.169l-.099.144a15.193 15.193 0 01-.34.457c-.04.05-.08.102-.121.151l-.107.128-.007.008a6.987 6.987 0 01-.262.298l-.149.16-.116.12a9.562 9.562 0 01-.204.198l-.03.03-.072.069a9.05 9.05 0 01-.263.235l-.025.022-.029.026-.042.035a11.7 11.7 0 01-.22.18l-.07.055-.018.013a8.904 8.904 0 01-.194.146c-.029.02-.057.042-.086.063a7.7 7.7 0 01-.22.152l-.057.04a8.865 8.865 0 01-.293.185l-.062.037a10.424 10.424 0 01-.307.173l-.037.02-.196.103-.108.052-.012.006a6.196 6.196 0 01-.315.143c-.065.028-.13.054-.196.08l-.035.014-.086.034c-.07.026-.143.05-.215.075l-.039.014-.064.023a8.056 8.056 0 01-.323.097l-.63.173a7.285 7.285 0 01-.33.08l-.07.015c-.053.012-.104.023-.157.032l-.065.011-.085.015a2.332 2.332 0 01-.194.027l-.085.01a4.715 4.715 0 01-.16.018l-.034.003a4.861 4.861 0 01-.246.016h-.033a2.714 2.714 0 01-.155.005h-.106a3.384 3.384 0 01-.225-.007H4.86l-.15-.012-.066-.006a5.586 5.586 0 01-.187-.02l-.04-.005a5.14 5.14 0 01-.219-.035l-.054-.01a6.943 6.943 0 01-.347-.082l-.03-.008-.038-.01a5.034 5.034 0 01-.269-.086l-.063-.023a4.216 4.216 0 01-.188-.073l-.071-.031-.016-.007a4.959 4.959 0 01-.16-.074l-.026-.013a.164.164 0 00-.014-.007l-.671-.351.486.486h.016l8.995 4.742.093.048.03.014.02.01c.056.026.111.052.169.076l.016.008.073.032.195.076.022.008a.718.718 0 01.03.012l.014.004a4.693 4.693 0 00.323.1l.027.007c.073.02.147.038.22.055l.018.004.027.006.066.013.088.016c.075.014.15.026.226.038l.042.004c.064.009.128.016.193.022l.126.012.06.003.05.002.098.005c.046.002.094.002.14.003h.12c.05 0 .1-.002.161-.005h.033l.07-.004a6.17 6.17 0 00.184-.014l.033-.003a.753.753 0 00.058-.005l.108-.012.081-.01.08-.01.129-.021.082-.014.071-.012c.054-.01.107-.021.16-.033l.066-.013.059-.013c.096-.022.192-.046.287-.073l.63-.172a7.354 7.354 0 00.397-.122l.04-.015c.075-.025.149-.051.222-.078.032-.011.062-.024.093-.037l.03-.012c.067-.027.135-.054.2-.082l.128-.056.195-.09.021-.01.102-.05c.068-.034.135-.069.202-.105l.037-.02.073-.038c.08-.044.16-.092.24-.139l.026-.015a8.086 8.086 0 00.322-.2l.065-.045 1.98.902a1.748 1.748 0 002.472-1.59v-7.33l.004.004z" fill="#2ADB5C"/><path d="M11.617.576a3.904 3.904 0 00-.093-.047c-.016-.009-.033-.016-.05-.024a5.854 5.854 0 00-.166-.077l-.09-.04a4.094 4.094 0 00-.194-.074c-.017-.006-.035-.015-.053-.02l-.013-.005a5.18 5.18 0 00-.277-.088l-.07-.019a4.034 4.034 0 00-.219-.053c-.015-.003-.03-.008-.044-.012L10.253.1l-.057-.011a5.177 5.177 0 00-.225-.036L9.928.047a5.972 5.972 0 00-.191-.022L9.669.02a1.33 1.33 0 00-.058-.005L9.515.009a4.058 4.058 0 00-.111-.005C9.354 0 9.304 0 9.254 0h-.109c-.052 0-.106.004-.16.004L8.884.01A5.32 5.32 0 008.7.022l-.083.006h-.008c-.05.005-.1.013-.15.019l-.12.014c-.056.008-.112.018-.169.028-.037.006-.074.011-.11.018a7.054 7.054 0 00-.572.133l-.63.172c-.111.031-.22.064-.33.1-.037.011-.072.025-.108.037a12.91 12.91 0 00-.345.126c-.067.027-.133.054-.2.083l-.128.055a11.916 11.916 0 00-.318.15 7.376 7.376 0 00-.311.163c-.082.045-.16.092-.24.14a9.424 9.424 0 00-.35.218l-.016.01-.06.04a9.242 9.242 0 00-.51.37 12.54 12.54 0 00-.315.254l-.043.034-.01.007-.045.041c-.09.078-.18.158-.268.24l-.106.101c-.07.067-.139.135-.207.204l-.056.054-.063.067-.153.164-.12.133-.148.17c-.024.03-.049.057-.073.086l-.043.053a5.96 5.96 0 00-.123.155l-.118.151c-.04.053-.08.106-.118.16l-.075.101-.038.056-.107.155-.11.164a9.91 9.91 0 00-.168.265c-.012.02-.023.043-.037.063a12.43 12.43 0 00-.192.335l-.09.168c-.019.034-.04.07-.057.105-.011.022-.02.043-.032.065l-.092.188-.08.167a19.15 19.15 0 00-.083.192c-.017.038-.035.076-.05.115-.008.016-.014.034-.021.051-.035.083-.067.167-.1.253l-.051.134c-.04.11-.077.22-.113.33l-.02.057c0 .002 0 .005-.002.007l-.008.026c-.032.1-.06.2-.09.301l-.023.089c-.027.1-.052.2-.075.301l-.007.03a7.63 7.63 0 00-.057.267l-.008.048c-.015.074-.026.148-.038.223L.082 8.4c-.011.078-.02.156-.029.234-.006.051-.013.103-.017.154a6.57 6.57 0 00-.02.26c-.003.044-.007.086-.009.13-.004.128-.007.257-.007.386v4.056c0 1.478.42 2.741 1.138 3.692A4.75 4.75 0 002.73 18.67l9.015 4.753c-1.656-.874-2.728-2.685-2.73-5.051v-4.056c0-.13.004-.26.01-.39.002-.043.006-.085.01-.128.005-.088.01-.174.019-.261l.017-.155c.01-.077.018-.155.029-.234l.026-.164c.013-.074.025-.15.039-.223.02-.105.04-.21.064-.313l.008-.031c.023-.1.048-.201.075-.301l.023-.088c.028-.1.058-.202.09-.302l.008-.025.021-.063c.036-.11.073-.22.113-.33l.052-.134c.031-.085.065-.169.1-.253.022-.056.047-.111.07-.166a13.856 13.856 0 01.164-.358c.03-.063.06-.126.092-.188l.088-.172a9.22 9.22 0 01.187-.338l.096-.164c.034-.057.069-.112.104-.168l.1-.159a10.49 10.49 0 01.567-.786l.123-.155.116-.139c.05-.057.098-.115.148-.171a14.092 14.092 0 01.272-.297 9.706 9.706 0 01.432-.425c.088-.083.177-.163.268-.241l.054-.048a10.08 10.08 0 01.553-.435l.092-.068c.075-.053.15-.105.226-.156.019-.013.038-.028.06-.04a9.18 9.18 0 01.362-.227c.08-.047.16-.094.241-.139l.11-.058a7.643 7.643 0 01.521-.256l.126-.056a7.509 7.509 0 01.546-.208l.107-.037c.11-.036.22-.069.33-.1l.63-.172c.095-.026.191-.05.287-.072l.097-.02c.062-.014.125-.029.187-.04l.114-.018c.055-.01.11-.02.166-.028.04-.006.08-.01.12-.014.053-.007.105-.014.157-.019l.083-.006c.061-.005.123-.01.184-.013.034-.003.067-.003.101-.004l.16-.006h.11a3.187 3.187 0 01.261.008l.153.01.067.007c.064.006.128.013.192.022l.043.005a5.232 5.232 0 01.281.047l.141.03c.073.016.146.035.218.053l.07.019c.094.026.187.055.278.087l.067.025a4.326 4.326 0 01.449.19l.143.072L11.617.576z" fill="#FFFFFF"/></g></svg>
|
package/icons/qoder.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" role="img" style="flex:none;line-height:1"><title>Qoder</title><rect width="24" height="24" rx="5.5" fill="#111418"/><g transform="translate(4 4) scale(0.6667)"><path d="M23.376 14.458v-4.056c0-2.304-1.003-4.154-2.748-5.075L11.612.574l-.046.086-.045.086c1.68.886 2.644 2.673 2.644 4.902v4.056a7.928 7.928 0 01-.014.454l-.005.061c-.005.081-.01.164-.018.245a4.897 4.897 0 01-.011.1l-.01.076c-.008.068-.015.135-.025.203l-.018.113-.01.058a9.99 9.99 0 01-.098.513l-.007.03a7.209 7.209 0 01-.074.294l-.024.086c-.027.099-.056.197-.087.296l-.027.085a9.592 9.592 0 01-.111.323l-.033.085-.018.046c-.032.082-.064.166-.098.248-.019.048-.04.096-.061.145l-.007.017a6 6 0 01-.084.187c-.024.056-.05.11-.077.165-.03.061-.058.122-.089.182a9.423 9.423 0 01-.176.332c-.03.056-.062.111-.094.167-.031.053-.062.108-.095.16-.033.055-.066.11-.101.164-.033.053-.065.104-.1.155-.034.055-.07.107-.111.169l-.099.144a15.193 15.193 0 01-.34.457c-.04.05-.08.102-.121.151l-.107.128-.007.008a6.987 6.987 0 01-.262.298l-.149.16-.116.12a9.562 9.562 0 01-.204.198l-.03.03-.072.069a9.05 9.05 0 01-.263.235l-.025.022-.029.026-.042.035a11.7 11.7 0 01-.22.18l-.07.055-.018.013a8.904 8.904 0 01-.194.146c-.029.02-.057.042-.086.063a7.7 7.7 0 01-.22.152l-.057.04a8.865 8.865 0 01-.293.185l-.062.037a10.424 10.424 0 01-.307.173l-.037.02-.196.103-.108.052-.012.006a6.196 6.196 0 01-.315.143c-.065.028-.13.054-.196.08l-.035.014-.086.034c-.07.026-.143.05-.215.075l-.039.014-.064.023a8.056 8.056 0 01-.323.097l-.63.173a7.285 7.285 0 01-.33.08l-.07.015c-.053.012-.104.023-.157.032l-.065.011-.085.015a2.332 2.332 0 01-.194.027l-.085.01a4.715 4.715 0 01-.16.018l-.034.003a4.861 4.861 0 01-.246.016h-.033a2.714 2.714 0 01-.155.005h-.106a3.384 3.384 0 01-.225-.007H4.86l-.15-.012-.066-.006a5.586 5.586 0 01-.187-.02l-.04-.005a5.14 5.14 0 01-.219-.035l-.054-.01a6.943 6.943 0 01-.347-.082l-.03-.008-.038-.01a5.034 5.034 0 01-.269-.086l-.063-.023a4.216 4.216 0 01-.188-.073l-.071-.031-.016-.007a4.959 4.959 0 01-.16-.074l-.026-.013a.164.164 0 00-.014-.007l-.671-.351.486.486h.016l8.995 4.742.093.048.03.014.02.01c.056.026.111.052.169.076l.016.008.073.032.195.076.022.008a.718.718 0 01.03.012l.014.004a4.693 4.693 0 00.323.1l.027.007c.073.02.147.038.22.055l.018.004.027.006.066.013.088.016c.075.014.15.026.226.038l.042.004c.064.009.128.016.193.022l.126.012.06.003.05.002.098.005c.046.002.094.002.14.003h.12c.05 0 .1-.002.161-.005h.033l.07-.004a6.17 6.17 0 00.184-.014l.033-.003a.753.753 0 00.058-.005l.108-.012.081-.01.08-.01.129-.021.082-.014.071-.012c.054-.01.107-.021.16-.033l.066-.013.059-.013c.096-.022.192-.046.287-.073l.63-.172a7.354 7.354 0 00.397-.122l.04-.015c.075-.025.149-.051.222-.078.032-.011.062-.024.093-.037l.03-.012c.067-.027.135-.054.2-.082l.128-.056.195-.09.021-.01.102-.05c.068-.034.135-.069.202-.105l.037-.02.073-.038c.08-.044.16-.092.24-.139l.026-.015a8.086 8.086 0 00.322-.2l.065-.045 1.98.902a1.748 1.748 0 002.472-1.59v-7.33l.004.004z" fill="#2ADB5C"/><path d="M11.617.576a3.904 3.904 0 00-.093-.047c-.016-.009-.033-.016-.05-.024a5.854 5.854 0 00-.166-.077l-.09-.04a4.094 4.094 0 00-.194-.074c-.017-.006-.035-.015-.053-.02l-.013-.005a5.18 5.18 0 00-.277-.088l-.07-.019a4.034 4.034 0 00-.219-.053c-.015-.003-.03-.008-.044-.012L10.253.1l-.057-.011a5.177 5.177 0 00-.225-.036L9.928.047a5.972 5.972 0 00-.191-.022L9.669.02a1.33 1.33 0 00-.058-.005L9.515.009a4.058 4.058 0 00-.111-.005C9.354 0 9.304 0 9.254 0h-.109c-.052 0-.106.004-.16.004L8.884.01A5.32 5.32 0 008.7.022l-.083.006h-.008c-.05.005-.1.013-.15.019l-.12.014c-.056.008-.112.018-.169.028-.037.006-.074.011-.11.018a7.054 7.054 0 00-.572.133l-.63.172c-.111.031-.22.064-.33.1-.037.011-.072.025-.108.037a12.91 12.91 0 00-.345.126c-.067.027-.133.054-.2.083l-.128.055a11.916 11.916 0 00-.318.15 7.376 7.376 0 00-.311.163c-.082.045-.16.092-.24.14a9.424 9.424 0 00-.35.218l-.016.01-.06.04a9.242 9.242 0 00-.51.37 12.54 12.54 0 00-.315.254l-.043.034-.01.007-.045.041c-.09.078-.18.158-.268.24l-.106.101c-.07.067-.139.135-.207.204l-.056.054-.063.067-.153.164-.12.133-.148.17c-.024.03-.049.057-.073.086l-.043.053a5.96 5.96 0 00-.123.155l-.118.151c-.04.053-.08.106-.118.16l-.075.101-.038.056-.107.155-.11.164a9.91 9.91 0 00-.168.265c-.012.02-.023.043-.037.063a12.43 12.43 0 00-.192.335l-.09.168c-.019.034-.04.07-.057.105-.011.022-.02.043-.032.065l-.092.188-.08.167a19.15 19.15 0 00-.083.192c-.017.038-.035.076-.05.115-.008.016-.014.034-.021.051-.035.083-.067.167-.1.253l-.051.134c-.04.11-.077.22-.113.33l-.02.057c0 .002 0 .005-.002.007l-.008.026c-.032.1-.06.2-.09.301l-.023.089c-.027.1-.052.2-.075.301l-.007.03a7.63 7.63 0 00-.057.267l-.008.048c-.015.074-.026.148-.038.223L.082 8.4c-.011.078-.02.156-.029.234-.006.051-.013.103-.017.154a6.57 6.57 0 00-.02.26c-.003.044-.007.086-.009.13-.004.128-.007.257-.007.386v4.056c0 1.478.42 2.741 1.138 3.692A4.75 4.75 0 002.73 18.67l9.015 4.753c-1.656-.874-2.728-2.685-2.73-5.051v-4.056c0-.13.004-.26.01-.39.002-.043.006-.085.01-.128.005-.088.01-.174.019-.261l.017-.155c.01-.077.018-.155.029-.234l.026-.164c.013-.074.025-.15.039-.223.02-.105.04-.21.064-.313l.008-.031c.023-.1.048-.201.075-.301l.023-.088c.028-.1.058-.202.09-.302l.008-.025.021-.063c.036-.11.073-.22.113-.33l.052-.134c.031-.085.065-.169.1-.253.022-.056.047-.111.07-.166a13.856 13.856 0 01.164-.358c.03-.063.06-.126.092-.188l.088-.172a9.22 9.22 0 01.187-.338l.096-.164c.034-.057.069-.112.104-.168l.1-.159a10.49 10.49 0 01.567-.786l.123-.155.116-.139c.05-.057.098-.115.148-.171a14.092 14.092 0 01.272-.297 9.706 9.706 0 01.432-.425c.088-.083.177-.163.268-.241l.054-.048a10.08 10.08 0 01.553-.435l.092-.068c.075-.053.15-.105.226-.156.019-.013.038-.028.06-.04a9.18 9.18 0 01.362-.227c.08-.047.16-.094.241-.139l.11-.058a7.643 7.643 0 01.521-.256l.126-.056a7.509 7.509 0 01.546-.208l.107-.037c.11-.036.22-.069.33-.1l.63-.172c.095-.026.191-.05.287-.072l.097-.02c.062-.014.125-.029.187-.04l.114-.018c.055-.01.11-.02.166-.028.04-.006.08-.01.12-.014.053-.007.105-.014.157-.019l.083-.006c.061-.005.123-.01.184-.013.034-.003.067-.003.101-.004l.16-.006h.11a3.187 3.187 0 01.261.008l.153.01.067.007c.064.006.128.013.192.022l.043.005a5.232 5.232 0 01.281.047l.141.03c.073.016.146.035.218.053l.07.019c.094.026.187.055.278.087l.067.025a4.326 4.326 0 01.449.19l.143.072L11.617.576z" fill="#FFFFFF"/></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24" role="img" style="flex:none;line-height:1"><title>Qwen Code</title><path d="M12.604 1.34c.393.69.784 1.382 1.174 2.075a.18.18 0 00.157.091h5.552c.174 0 .322.11.446.327l1.454 2.57c.19.337.24.478.024.837-.26.43-.513.864-.76 1.3l-.367.658c-.106.196-.223.28-.04.512l2.652 4.637c.172.301.111.494-.043.77-.437.785-.882 1.564-1.335 2.34-.159.272-.352.375-.68.37-.777-.016-1.552-.01-2.327.016a.099.099 0 00-.081.05 575.097 575.097 0 01-2.705 4.74c-.169.293-.38.363-.725.364-.997.003-2.002.004-3.017.002a.537.537 0 01-.465-.271l-1.335-2.323a.09.09 0 00-.083-.049H4.982c-.285.03-.553-.001-.805-.092l-1.603-2.77a.543.543 0 01-.002-.54l1.207-2.12a.198.198 0 000-.197 550.951 550.951 0 01-1.875-3.272l-.79-1.395c-.16-.31-.173-.496.095-.965.465-.813.927-1.625 1.387-2.436.132-.234.304-.334.584-.335a338.3 338.3 0 012.589-.001.124.124 0 00.107-.063l2.806-4.895a.488.488 0 01.422-.246c.524-.001 1.053 0 1.583-.006L11.704 1c.341-.003.724.032.9.34zm-3.432.403a.06.06 0 00-.052.03L6.254 6.788a.157.157 0 01-.135.078H3.253c-.056 0-.07.025-.041.074l5.81 10.156c.025.042.013.062-.034.063l-2.795.015a.218.218 0 00-.2.116l-1.32 2.31c-.044.078-.021.118.068.118l5.716.008c.046 0 .08.02.104.061l1.403 2.454c.046.081.092.082.139 0l5.006-8.76.783-1.382a.055.055 0 01.096 0l1.424 2.53a.122.122 0 00.107.062l2.763-.02a.04.04 0 00.035-.02.041.041 0 000-.04l-2.9-5.086a.108.108 0 010-.113l.293-.507 1.12-1.977c.024-.041.012-.062-.035-.062H9.2c-.059 0-.073-.026-.043-.077l1.434-2.505a.107.107 0 000-.114L9.225 1.774a.06.06 0 00-.053-.031zm6.29 8.02c.046 0 .058.02.034.06l-.832 1.465-2.613 4.585a.056.056 0 01-.05.029.058.058 0 01-.05-.029L8.498 9.841c-.02-.034-.01-.052.028-.054l.216-.012 6.722-.012z" fill="url(#qwen-code-gradient)" fill-rule="nonzero"></path><defs><linearGradient id="qwen-code-gradient" x1="0%" x2="100%" y1="0%" y2="0%"><stop offset="0%" stop-color="#6336E7" stop-opacity=".84"></stop><stop offset="100%" stop-color="#6F69F7" stop-opacity=".84"></stop></linearGradient></defs></svg>
|
package/package.json
CHANGED
package/registry.json
CHANGED
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"creds_file": "~/.claude/.credentials.json",
|
|
55
55
|
"creds_key": "claudeAiOauth",
|
|
56
56
|
"keychain_service": "Claude Code-credentials",
|
|
57
|
-
"not_ready_message": "Not logged in. Run: claude login",
|
|
58
|
-
"login_command": "claude login",
|
|
57
|
+
"not_ready_message": "Not logged in. Run: claude auth login",
|
|
58
|
+
"login_command": "claude auth login",
|
|
59
59
|
"alt_check": "claude --print hi",
|
|
60
60
|
"status_args": [
|
|
61
61
|
"auth",
|
|
@@ -2362,5 +2362,377 @@
|
|
|
2362
2362
|
],
|
|
2363
2363
|
"not_ready_message": "Needs a Huawei Cloud access key — set CODEARTS_CLI_AK and CODEARTS_CLI_SK in Configure. Create one at https://codearts.huaweicloud.com/portal/settings/cli-auth."
|
|
2364
2364
|
}
|
|
2365
|
+
},
|
|
2366
|
+
{
|
|
2367
|
+
"name": "mimo-code",
|
|
2368
|
+
"label": "MiMo Code",
|
|
2369
|
+
"description": "Xiaomi's terminal coding agent for MiMo models, driven headless",
|
|
2370
|
+
"homepage": "https://github.com/XiaomiMiMo/MiMo-Code",
|
|
2371
|
+
"tags": [
|
|
2372
|
+
"xiaomi",
|
|
2373
|
+
"mimo",
|
|
2374
|
+
"coding",
|
|
2375
|
+
"cli",
|
|
2376
|
+
"headless"
|
|
2377
|
+
],
|
|
2378
|
+
"featured": false,
|
|
2379
|
+
"order": 999,
|
|
2380
|
+
"catalog": true,
|
|
2381
|
+
"vendor": "Xiaomi MiMo",
|
|
2382
|
+
"tagline": "Xiaomi's terminal coding agent, on a Xiaomi account sign-in, a MiMo API key or any OpenAI-compatible endpoint. Installed by Xiaomi's own script.",
|
|
2383
|
+
"logo": {
|
|
2384
|
+
"key": "mimo-code"
|
|
2385
|
+
},
|
|
2386
|
+
"builtin": true,
|
|
2387
|
+
"support": {
|
|
2388
|
+
"install": true,
|
|
2389
|
+
"workspace": true,
|
|
2390
|
+
"collaboration": true
|
|
2391
|
+
},
|
|
2392
|
+
"install": {
|
|
2393
|
+
"binary": "mimo",
|
|
2394
|
+
"verify": "mimo --version",
|
|
2395
|
+
"verify_win": "mimo --version",
|
|
2396
|
+
"macos": "curl -fsSL https://mimo.xiaomi.com/install | bash",
|
|
2397
|
+
"linux": "curl -fsSL https://mimo.xiaomi.com/install | bash",
|
|
2398
|
+
"windows": "irm https://mimo.xiaomi.com/install.ps1 | iex"
|
|
2399
|
+
},
|
|
2400
|
+
"uninstall": null,
|
|
2401
|
+
"adapter": {
|
|
2402
|
+
"module": "openagents.adapters.mimo_code",
|
|
2403
|
+
"class": "MiMoCodeAdapter"
|
|
2404
|
+
},
|
|
2405
|
+
"launch": null,
|
|
2406
|
+
"check_ready": {
|
|
2407
|
+
"min_version": "0.1.14",
|
|
2408
|
+
"env_vars": [
|
|
2409
|
+
"LLM_API_KEY"
|
|
2410
|
+
],
|
|
2411
|
+
"saved_env_key": "LLM_API_KEY",
|
|
2412
|
+
"creds_file": "~/.local/share/mimocode/auth.json",
|
|
2413
|
+
"creds_xdg_data_file": "mimocode/auth.json",
|
|
2414
|
+
"creds_home_env": "MIMOCODE_HOME",
|
|
2415
|
+
"creds_home_env_file": "data/auth.json",
|
|
2416
|
+
"creds_key": "xiaomi",
|
|
2417
|
+
"login_command": "mimo providers login -p xiaomi",
|
|
2418
|
+
"not_ready_message": "Not configured — sign in with a Xiaomi account (mimo providers login -p xiaomi), or set an API key (press e). A MiMo API key works with the prefilled base URL; create one at https://platform.xiaomimimo.com."
|
|
2419
|
+
},
|
|
2420
|
+
"env_config": [
|
|
2421
|
+
{
|
|
2422
|
+
"name": "LLM_API_KEY",
|
|
2423
|
+
"description": "API key — leave blank to run on the Xiaomi account signed in to MiMo Code. Otherwise a MiMo API key from https://platform.xiaomimimo.com, a MiMo Token Plan key (with its Token Plan base URL), or a key for any OpenAI-compatible endpoint set below.",
|
|
2424
|
+
"required": false,
|
|
2425
|
+
"password": true
|
|
2426
|
+
},
|
|
2427
|
+
{
|
|
2428
|
+
"name": "LLM_BASE_URL",
|
|
2429
|
+
"description": "OpenAI-compatible base URL for the API key above, prefilled with MiMo's API. MiMo Token Plan: https://token-plan-cn.xiaomimimo.com/v1 (Europe: token-plan-ams, Singapore: token-plan-sgp). Any other OpenAI-compatible endpoint works too. Not used with a Xiaomi account sign-in.",
|
|
2430
|
+
"required": false,
|
|
2431
|
+
"default": "https://api.xiaomimimo.com/v1",
|
|
2432
|
+
"placeholder": "https://api.xiaomimimo.com/v1"
|
|
2433
|
+
},
|
|
2434
|
+
{
|
|
2435
|
+
"name": "LLM_MODEL",
|
|
2436
|
+
"description": "Model id, e.g. mimo-v2.6-pro. Optional on MiMo's API and with a Xiaomi sign-in, where a blank one runs the first pro model MiMo lists; required for any other endpoint. The list is loaded from the endpoint.",
|
|
2437
|
+
"required": false,
|
|
2438
|
+
"placeholder": "mimo-v2.6-pro"
|
|
2439
|
+
}
|
|
2440
|
+
],
|
|
2441
|
+
"workspace_model": true
|
|
2442
|
+
},
|
|
2443
|
+
{
|
|
2444
|
+
"name": "qoder",
|
|
2445
|
+
"label": "Qoder CLI",
|
|
2446
|
+
"description": "Qoder's terminal coding agent (qoder.com), driven headless",
|
|
2447
|
+
"homepage": "https://qoder.com/cli",
|
|
2448
|
+
"tags": [
|
|
2449
|
+
"coding",
|
|
2450
|
+
"cli",
|
|
2451
|
+
"headless"
|
|
2452
|
+
],
|
|
2453
|
+
"featured": false,
|
|
2454
|
+
"order": 999,
|
|
2455
|
+
"catalog": true,
|
|
2456
|
+
"vendor": "Qoder",
|
|
2457
|
+
"tagline": "Qoder's terminal coding agent, on a Qoder account sign-in or a personal access token. Installed by Qoder's own script.",
|
|
2458
|
+
"logo": {
|
|
2459
|
+
"key": "qoder"
|
|
2460
|
+
},
|
|
2461
|
+
"builtin": true,
|
|
2462
|
+
"support": {
|
|
2463
|
+
"install": true,
|
|
2464
|
+
"workspace": true,
|
|
2465
|
+
"collaboration": true
|
|
2466
|
+
},
|
|
2467
|
+
"install": {
|
|
2468
|
+
"binary": "qodercli",
|
|
2469
|
+
"verify": "qodercli --version",
|
|
2470
|
+
"verify_win": "qodercli --version",
|
|
2471
|
+
"macos": "curl -fsSL https://qoder.com/install | bash",
|
|
2472
|
+
"linux": "curl -fsSL https://qoder.com/install | bash",
|
|
2473
|
+
"windows": "irm https://qoder.com/install.ps1 | iex"
|
|
2474
|
+
},
|
|
2475
|
+
"uninstall": null,
|
|
2476
|
+
"adapter": {
|
|
2477
|
+
"module": "openagents.adapters.qoder",
|
|
2478
|
+
"class": "QoderAdapter"
|
|
2479
|
+
},
|
|
2480
|
+
"launch": null,
|
|
2481
|
+
"check_ready": {
|
|
2482
|
+
"min_version": "1.0.45",
|
|
2483
|
+
"env_vars": [
|
|
2484
|
+
"QODER_PERSONAL_ACCESS_TOKEN"
|
|
2485
|
+
],
|
|
2486
|
+
"saved_env_key": "QODER_PERSONAL_ACCESS_TOKEN",
|
|
2487
|
+
"login_command": "qodercli login",
|
|
2488
|
+
"status_args": [
|
|
2489
|
+
"status",
|
|
2490
|
+
"-o",
|
|
2491
|
+
"json"
|
|
2492
|
+
],
|
|
2493
|
+
"logged_in_pattern": "\"logged_in\":\\s*true",
|
|
2494
|
+
"logged_out_pattern": "\"logged_in\":\\s*false",
|
|
2495
|
+
"not_ready_message": "Not signed in — sign in with `qodercli login` (it opens a browser), or paste a personal access token from https://qoder.com/account/integrations (press e). A Qoder CN (qoder.cn) account belongs to the qoder-cn agent instead."
|
|
2496
|
+
},
|
|
2497
|
+
"env_config": [
|
|
2498
|
+
{
|
|
2499
|
+
"name": "QODER_PERSONAL_ACCESS_TOKEN",
|
|
2500
|
+
"description": "Personal access token from https://qoder.com/account/integrations. Leave blank to use the account signed in with `qodercli login` on this machine; a token set here always takes precedence over that sign-in.",
|
|
2501
|
+
"required": false,
|
|
2502
|
+
"password": true
|
|
2503
|
+
},
|
|
2504
|
+
{
|
|
2505
|
+
"name": "QODER_MODEL",
|
|
2506
|
+
"description": "Model for each run — auto, lite, performance, or a key from `qodercli --list-models`. Leave blank for the account default. Other providers' API keys do not work here: models come from the Qoder account.",
|
|
2507
|
+
"required": false,
|
|
2508
|
+
"placeholder": "auto"
|
|
2509
|
+
}
|
|
2510
|
+
],
|
|
2511
|
+
"models": [
|
|
2512
|
+
{
|
|
2513
|
+
"id": "auto",
|
|
2514
|
+
"label": "Auto",
|
|
2515
|
+
"category": "chat"
|
|
2516
|
+
},
|
|
2517
|
+
{
|
|
2518
|
+
"id": "lite",
|
|
2519
|
+
"label": "Lite",
|
|
2520
|
+
"category": "chat"
|
|
2521
|
+
},
|
|
2522
|
+
{
|
|
2523
|
+
"id": "performance",
|
|
2524
|
+
"label": "Performance",
|
|
2525
|
+
"category": "chat"
|
|
2526
|
+
}
|
|
2527
|
+
],
|
|
2528
|
+
"resolve_env": {
|
|
2529
|
+
"rules": [
|
|
2530
|
+
{
|
|
2531
|
+
"from": "LLM_API_KEY",
|
|
2532
|
+
"to": "QODER_PERSONAL_ACCESS_TOKEN"
|
|
2533
|
+
},
|
|
2534
|
+
{
|
|
2535
|
+
"from": "LLM_MODEL",
|
|
2536
|
+
"to": "QODER_MODEL"
|
|
2537
|
+
}
|
|
2538
|
+
]
|
|
2539
|
+
},
|
|
2540
|
+
"workspace_model": true,
|
|
2541
|
+
"provider_locked": true
|
|
2542
|
+
},
|
|
2543
|
+
{
|
|
2544
|
+
"name": "qoder-cn",
|
|
2545
|
+
"label": "Qoder CLI CN",
|
|
2546
|
+
"description": "Qoder's terminal coding agent, China edition (qoder.com.cn), driven headless",
|
|
2547
|
+
"homepage": "https://qoder.com.cn/cli",
|
|
2548
|
+
"tags": [
|
|
2549
|
+
"coding",
|
|
2550
|
+
"cli",
|
|
2551
|
+
"headless",
|
|
2552
|
+
"china"
|
|
2553
|
+
],
|
|
2554
|
+
"featured": false,
|
|
2555
|
+
"order": 999,
|
|
2556
|
+
"catalog": true,
|
|
2557
|
+
"vendor": "Qoder",
|
|
2558
|
+
"tagline": "The China edition of Qoder's terminal agent, on a Qoder CN account (qoder.cn) sign-in or a personal access token. Installed by Qoder's own script.",
|
|
2559
|
+
"logo": {
|
|
2560
|
+
"key": "qoder-cn"
|
|
2561
|
+
},
|
|
2562
|
+
"builtin": true,
|
|
2563
|
+
"support": {
|
|
2564
|
+
"install": true,
|
|
2565
|
+
"workspace": true,
|
|
2566
|
+
"collaboration": true
|
|
2567
|
+
},
|
|
2568
|
+
"install": {
|
|
2569
|
+
"binary": "qoderclicn",
|
|
2570
|
+
"verify": "qoderclicn --version",
|
|
2571
|
+
"verify_win": "qoderclicn --version",
|
|
2572
|
+
"macos": "curl -fsSL https://qoder.com.cn/install | bash",
|
|
2573
|
+
"linux": "curl -fsSL https://qoder.com.cn/install | bash",
|
|
2574
|
+
"windows": "irm https://qoder.com.cn/install.ps1 | iex"
|
|
2575
|
+
},
|
|
2576
|
+
"uninstall": null,
|
|
2577
|
+
"adapter": {
|
|
2578
|
+
"module": "openagents.adapters.qoder_cn",
|
|
2579
|
+
"class": "QoderCnAdapter"
|
|
2580
|
+
},
|
|
2581
|
+
"launch": null,
|
|
2582
|
+
"check_ready": {
|
|
2583
|
+
"min_version": "1.0.45",
|
|
2584
|
+
"env_vars": [
|
|
2585
|
+
"QODERCN_PERSONAL_ACCESS_TOKEN"
|
|
2586
|
+
],
|
|
2587
|
+
"saved_env_key": "QODERCN_PERSONAL_ACCESS_TOKEN",
|
|
2588
|
+
"login_command": "qoderclicn login",
|
|
2589
|
+
"status_args": [
|
|
2590
|
+
"status",
|
|
2591
|
+
"-o",
|
|
2592
|
+
"json"
|
|
2593
|
+
],
|
|
2594
|
+
"logged_in_pattern": "\"logged_in\":\\s*true",
|
|
2595
|
+
"logged_out_pattern": "\"logged_in\":\\s*false",
|
|
2596
|
+
"not_ready_message": "Not signed in — sign in with `qoderclicn login` (it opens a browser), or paste a personal access token from https://qoder.cn/account/integrations (press e). A qoder.com account does not work here: the China edition signs in to qoder.cn."
|
|
2597
|
+
},
|
|
2598
|
+
"env_config": [
|
|
2599
|
+
{
|
|
2600
|
+
"name": "QODERCN_PERSONAL_ACCESS_TOKEN",
|
|
2601
|
+
"description": "Personal access token from https://qoder.cn/account/integrations. Leave blank to use the account signed in with `qoderclicn login` on this machine; a token set here always takes precedence over that sign-in.",
|
|
2602
|
+
"required": false,
|
|
2603
|
+
"password": true
|
|
2604
|
+
},
|
|
2605
|
+
{
|
|
2606
|
+
"name": "QODERCN_MODEL",
|
|
2607
|
+
"description": "Model for each run — auto, lite, performance, or a key from `qoderclicn --list-models`. Leave blank for the account default. Other providers' API keys do not work here: models come from the Qoder account.",
|
|
2608
|
+
"required": false,
|
|
2609
|
+
"placeholder": "auto"
|
|
2610
|
+
}
|
|
2611
|
+
],
|
|
2612
|
+
"models": [
|
|
2613
|
+
{
|
|
2614
|
+
"id": "auto",
|
|
2615
|
+
"label": "Auto",
|
|
2616
|
+
"category": "chat"
|
|
2617
|
+
},
|
|
2618
|
+
{
|
|
2619
|
+
"id": "lite",
|
|
2620
|
+
"label": "Lite",
|
|
2621
|
+
"category": "chat"
|
|
2622
|
+
},
|
|
2623
|
+
{
|
|
2624
|
+
"id": "performance",
|
|
2625
|
+
"label": "Performance",
|
|
2626
|
+
"category": "chat"
|
|
2627
|
+
}
|
|
2628
|
+
],
|
|
2629
|
+
"resolve_env": {
|
|
2630
|
+
"rules": [
|
|
2631
|
+
{
|
|
2632
|
+
"from": "LLM_API_KEY",
|
|
2633
|
+
"to": "QODERCN_PERSONAL_ACCESS_TOKEN"
|
|
2634
|
+
},
|
|
2635
|
+
{
|
|
2636
|
+
"from": "LLM_MODEL",
|
|
2637
|
+
"to": "QODERCN_MODEL"
|
|
2638
|
+
}
|
|
2639
|
+
]
|
|
2640
|
+
},
|
|
2641
|
+
"workspace_model": true,
|
|
2642
|
+
"provider_locked": true
|
|
2643
|
+
},
|
|
2644
|
+
{
|
|
2645
|
+
"name": "qwen-code",
|
|
2646
|
+
"label": "Qwen Code",
|
|
2647
|
+
"description": "Alibaba's open-source terminal coding agent for Qwen models, driven headless",
|
|
2648
|
+
"homepage": "https://github.com/QwenLM/qwen-code",
|
|
2649
|
+
"tags": [
|
|
2650
|
+
"coding",
|
|
2651
|
+
"cli",
|
|
2652
|
+
"open-source",
|
|
2653
|
+
"headless"
|
|
2654
|
+
],
|
|
2655
|
+
"featured": false,
|
|
2656
|
+
"order": 999,
|
|
2657
|
+
"builtin": true,
|
|
2658
|
+
"logo": {
|
|
2659
|
+
"key": "qwen-code"
|
|
2660
|
+
},
|
|
2661
|
+
"support": {
|
|
2662
|
+
"install": true,
|
|
2663
|
+
"workspace": true,
|
|
2664
|
+
"collaboration": true
|
|
2665
|
+
},
|
|
2666
|
+
"install": {
|
|
2667
|
+
"binary": "qwen",
|
|
2668
|
+
"npm_package": "@qwen-code/qwen-code",
|
|
2669
|
+
"requires": [
|
|
2670
|
+
"nodejs"
|
|
2671
|
+
],
|
|
2672
|
+
"verify": "qwen --version",
|
|
2673
|
+
"verify_win": "qwen --version",
|
|
2674
|
+
"macos": "npm install -g @qwen-code/qwen-code",
|
|
2675
|
+
"linux": "npm install -g @qwen-code/qwen-code",
|
|
2676
|
+
"windows": "npm install -g @qwen-code/qwen-code"
|
|
2677
|
+
},
|
|
2678
|
+
"uninstall": {
|
|
2679
|
+
"macos": "npm uninstall -g @qwen-code/qwen-code",
|
|
2680
|
+
"linux": "npm uninstall -g @qwen-code/qwen-code",
|
|
2681
|
+
"windows": "npm uninstall -g @qwen-code/qwen-code"
|
|
2682
|
+
},
|
|
2683
|
+
"adapter": {
|
|
2684
|
+
"module": "openagents.adapters.qwen_code",
|
|
2685
|
+
"class": "QwenCodeAdapter"
|
|
2686
|
+
},
|
|
2687
|
+
"launch": null,
|
|
2688
|
+
"check_ready": {
|
|
2689
|
+
"min_version": "0.16.0",
|
|
2690
|
+
"env_vars": [
|
|
2691
|
+
"OPENAI_API_KEY"
|
|
2692
|
+
],
|
|
2693
|
+
"saved_env_key": "LLM_API_KEY",
|
|
2694
|
+
"not_ready_message": "Not configured — set an API key and a model (press e). Qwen Code has no CLI sign-in; a Model Studio (DashScope) key works with the prefilled base URL."
|
|
2695
|
+
},
|
|
2696
|
+
"env_config": [
|
|
2697
|
+
{
|
|
2698
|
+
"name": "LLM_API_KEY",
|
|
2699
|
+
"description": "API key for an OpenAI-compatible endpoint — a Model Studio (DashScope) key, or a Bailian Coding Plan key together with its own base URL.",
|
|
2700
|
+
"required": true,
|
|
2701
|
+
"password": true
|
|
2702
|
+
},
|
|
2703
|
+
{
|
|
2704
|
+
"name": "LLM_BASE_URL",
|
|
2705
|
+
"description": "OpenAI-compatible base URL, prefilled with Model Studio China. International: https://dashscope-intl.aliyuncs.com/compatible-mode/v1 — Coding Plan: https://coding.dashscope.aliyuncs.com/v1 (international: https://coding-intl.dashscope.aliyuncs.com/v1)",
|
|
2706
|
+
"required": true,
|
|
2707
|
+
"default": "https://dashscope.aliyuncs.com/compatible-mode/v1",
|
|
2708
|
+
"placeholder": "https://dashscope.aliyuncs.com/compatible-mode/v1"
|
|
2709
|
+
},
|
|
2710
|
+
{
|
|
2711
|
+
"name": "LLM_MODEL",
|
|
2712
|
+
"description": "Model id, e.g. qwen3.8-flash. Pick one the base URL serves — Coding Plan offers a shorter list than Model Studio.",
|
|
2713
|
+
"required": true,
|
|
2714
|
+
"placeholder": "qwen3.8-flash"
|
|
2715
|
+
}
|
|
2716
|
+
],
|
|
2717
|
+
"catalog": true,
|
|
2718
|
+
"workspace_model": true,
|
|
2719
|
+
"resolve_env": {
|
|
2720
|
+
"rules": [
|
|
2721
|
+
{
|
|
2722
|
+
"from": "LLM_API_KEY",
|
|
2723
|
+
"to": "OPENAI_API_KEY"
|
|
2724
|
+
},
|
|
2725
|
+
{
|
|
2726
|
+
"from": "LLM_BASE_URL",
|
|
2727
|
+
"to": "OPENAI_BASE_URL"
|
|
2728
|
+
},
|
|
2729
|
+
{
|
|
2730
|
+
"from": "LLM_MODEL",
|
|
2731
|
+
"to": "OPENAI_MODEL"
|
|
2732
|
+
}
|
|
2733
|
+
]
|
|
2734
|
+
},
|
|
2735
|
+
"vendor": "Alibaba Qwen",
|
|
2736
|
+
"tagline": "Qwen's terminal coding agent, on your Model Studio or Coding Plan key."
|
|
2365
2737
|
}
|
|
2366
2738
|
]
|
package/src/adapters/base.js
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
'use strict';
|
|
19
19
|
|
|
20
|
+
const crypto = require('crypto');
|
|
20
21
|
const { WorkspaceClient, SessionRevokedError } = require('../workspace-client');
|
|
21
22
|
const { generateSessionTitle, SESSION_DEFAULT_RE, redactSecrets, secretValues } = require('./utils');
|
|
22
23
|
const { defaultAgentWorkdir } = require('../paths');
|
|
@@ -947,6 +948,8 @@ class BaseAdapter {
|
|
|
947
948
|
const installer = require('../skill-installer');
|
|
948
949
|
const skill = (payload && payload.skill) || null;
|
|
949
950
|
const skillId = skill && (skill.id || skill.skill_id);
|
|
951
|
+
const reportSkillId = skill && (skill.registry_skill_id || skill.registrySkillId) || skillId;
|
|
952
|
+
const versionId = skill && (skill.version_id || skill.versionId);
|
|
950
953
|
if (!skillId) {
|
|
951
954
|
this._log('skill.install: missing skill metadata in payload — ignoring');
|
|
952
955
|
return;
|
|
@@ -957,7 +960,7 @@ class BaseAdapter {
|
|
|
957
960
|
// initial DB write from the request hasn't propagated to this client.
|
|
958
961
|
try {
|
|
959
962
|
await this.client.reportSkillStatus(this.workspaceId, this.agentName, this.token, {
|
|
960
|
-
skillId, state: 'installing',
|
|
963
|
+
skillId: reportSkillId, state: 'installing', versionId,
|
|
961
964
|
});
|
|
962
965
|
} catch (e) {
|
|
963
966
|
this._log(`skill.install: could not report 'installing' (non-fatal): ${e && e.message ? e.message : e}`, 'warn');
|
|
@@ -981,6 +984,22 @@ class BaseAdapter {
|
|
|
981
984
|
workingDir: this.workingDir,
|
|
982
985
|
log: (m) => this._log(`skill.install: ${m}`),
|
|
983
986
|
});
|
|
987
|
+
} else if (sourceType === 'registry') {
|
|
988
|
+
if (!versionId) throw new Error('registry skill is missing version_id');
|
|
989
|
+
this._log(`skill.install: downloading registry version ${versionId}`);
|
|
990
|
+
const buffer = await this.client.readRegistryVersion(versionId, this.token);
|
|
991
|
+
if (!buffer || buffer.length === 0) throw new Error('registry artifact is empty');
|
|
992
|
+
const expected = skill.content_sha256 || skill.contentSha256;
|
|
993
|
+
const actual = crypto.createHash('sha256').update(buffer).digest('hex');
|
|
994
|
+
if (!expected || actual !== expected) {
|
|
995
|
+
throw new Error(`registry artifact sha256 mismatch (expected ${expected || 'missing'}, got ${actual})`);
|
|
996
|
+
}
|
|
997
|
+
result = installer.installUploadedSkill({
|
|
998
|
+
skill, buffer,
|
|
999
|
+
agentType: this.agentType,
|
|
1000
|
+
workingDir: this.workingDir,
|
|
1001
|
+
log: (m) => this._log(`skill.install: ${m}`),
|
|
1002
|
+
});
|
|
984
1003
|
} else {
|
|
985
1004
|
result = installer.installSkill({
|
|
986
1005
|
skill,
|
|
@@ -991,7 +1010,8 @@ class BaseAdapter {
|
|
|
991
1010
|
}
|
|
992
1011
|
try {
|
|
993
1012
|
await this.client.reportSkillStatus(this.workspaceId, this.agentName, this.token, {
|
|
994
|
-
skillId, state: 'installed', path: result.path,
|
|
1013
|
+
skillId: reportSkillId, state: 'installed', path: result.path,
|
|
1014
|
+
partial: result.partial === true, versionId,
|
|
995
1015
|
});
|
|
996
1016
|
} catch (e) {
|
|
997
1017
|
this._log(`skill.install: installed on disk but failed to report 'installed': ${e && e.message ? e.message : e}`, 'warn');
|
|
@@ -1003,7 +1023,7 @@ class BaseAdapter {
|
|
|
1003
1023
|
this._log(`skill.install: FAILED "${skillId}": ${msg}`, 'error');
|
|
1004
1024
|
try {
|
|
1005
1025
|
await this.client.reportSkillStatus(this.workspaceId, this.agentName, this.token, {
|
|
1006
|
-
skillId, state: 'failed', error: msg,
|
|
1026
|
+
skillId: reportSkillId, state: 'failed', error: msg, versionId,
|
|
1007
1027
|
});
|
|
1008
1028
|
} catch (e2) {
|
|
1009
1029
|
this._log(`skill.install: also failed to report 'failed': ${e2 && e2.message ? e2.message : e2}`, 'warn');
|
|
@@ -1018,6 +1038,7 @@ class BaseAdapter {
|
|
|
1018
1038
|
const installer = require('../skill-installer');
|
|
1019
1039
|
const skill = (payload && payload.skill) || null;
|
|
1020
1040
|
const skillId = skill && (skill.id || skill.skill_id);
|
|
1041
|
+
const reportSkillId = skill && (skill.registry_skill_id || skill.registrySkillId) || skillId;
|
|
1021
1042
|
if (!skillId) {
|
|
1022
1043
|
this._log('skill.uninstall: missing skill metadata in payload — ignoring');
|
|
1023
1044
|
return;
|
|
@@ -1032,7 +1053,7 @@ class BaseAdapter {
|
|
|
1032
1053
|
this._log(`skill.uninstall: "${skillId}" removed=${result.removed}`);
|
|
1033
1054
|
try {
|
|
1034
1055
|
await this.client.reportSkillStatus(this.workspaceId, this.agentName, this.token, {
|
|
1035
|
-
skillId, state: 'uninstalled',
|
|
1056
|
+
skillId: reportSkillId, state: 'uninstalled',
|
|
1036
1057
|
});
|
|
1037
1058
|
} catch (e) {
|
|
1038
1059
|
this._log(`skill.uninstall: failed to report status: ${e && e.message ? e.message : e}`, 'warn');
|
package/src/adapters/deepseek.js
CHANGED
|
@@ -54,7 +54,7 @@ const { execFileSync, execSync } = require('child_process');
|
|
|
54
54
|
const { spawn } = require('../wsl');
|
|
55
55
|
|
|
56
56
|
const BaseAdapter = require('./base');
|
|
57
|
-
const { whichBinary, getEnhancedEnv } = require('../paths');
|
|
57
|
+
const { whichBinary, getEnhancedEnv, resolveManagedNpmBinary } = require('../paths');
|
|
58
58
|
const { formatAttachmentsForPrompt } = require('./utils');
|
|
59
59
|
const { buildDeepSeekTaskFile } = require('./workspace-prompt');
|
|
60
60
|
const { sampleRecap } = require('./decision-log');
|
|
@@ -252,7 +252,14 @@ class DeepSeekAdapter extends BaseAdapter {
|
|
|
252
252
|
* when nothing resolves.
|
|
253
253
|
*/
|
|
254
254
|
_resolveDshCommand() {
|
|
255
|
-
|
|
255
|
+
// The launcher-managed copy first, the same Tier 0 the installer uses. A
|
|
256
|
+
// plain PATH lookup ranks every global npm prefix above
|
|
257
|
+
// ~/.openagents/runtimes, so an old global dsh (a 0.1.0-rc.6 left from
|
|
258
|
+
// before the pin moved) shadowed the managed pinned one: the launcher
|
|
259
|
+
// reported the pinned version with nothing to update, while every start
|
|
260
|
+
// refused the global copy as unsupported.
|
|
261
|
+
const bin = resolveManagedNpmBinary('deepseek', '@deepseek-ai/dsh', 'dsh')
|
|
262
|
+
|| whichBinary('dsh');
|
|
256
263
|
if (!bin) return null;
|
|
257
264
|
const nodeBin = this._findNodeBin();
|
|
258
265
|
|
|
@@ -273,6 +280,15 @@ class DeepSeekAdapter extends BaseAdapter {
|
|
|
273
280
|
return null;
|
|
274
281
|
}
|
|
275
282
|
|
|
283
|
+
/**
|
|
284
|
+
* Drop the resolved dsh so the next preflight resolves it afresh — after the
|
|
285
|
+
* daemon installed the pinned version into the managed prefix.
|
|
286
|
+
*/
|
|
287
|
+
forgetRuntime() {
|
|
288
|
+
this._nodeBin = null;
|
|
289
|
+
this._jsEntry = null;
|
|
290
|
+
}
|
|
291
|
+
|
|
276
292
|
/** `dsh -V` output, or null. Synchronous: preflight() is a sync contract. */
|
|
277
293
|
_readDshVersion() {
|
|
278
294
|
if (!this._jsEntry) return null;
|
|
@@ -363,7 +379,9 @@ class DeepSeekAdapter extends BaseAdapter {
|
|
|
363
379
|
|| defaultInstallCommand(supported);
|
|
364
380
|
const gate = classifyDshVersion(this._readDshVersion(), supported, installCmd);
|
|
365
381
|
if (gate.compatible === false || gate.compatible === null) {
|
|
366
|
-
|
|
382
|
+
// repairable: the daemon installs the pinned version and asks again
|
|
383
|
+
// (see Daemon._repairRuntime), so a stale dsh never reaches the user.
|
|
384
|
+
return { ok: false, reason: REASON.VERSION_INCOMPATIBLE, message: gate.message, repairable: true };
|
|
367
385
|
}
|
|
368
386
|
|
|
369
387
|
if (!this._apiKey()) {
|
package/src/adapters/index.js
CHANGED
|
@@ -27,6 +27,10 @@ const CommandCodeAdapter = require('./commandcode');
|
|
|
27
27
|
const OpenWorkerAdapter = require('./openworker');
|
|
28
28
|
const CodeBuddyAdapter = require('./codebuddy');
|
|
29
29
|
const CodeArtsAdapter = require('./codearts');
|
|
30
|
+
const MiMoCodeAdapter = require('./mimo-code');
|
|
31
|
+
const QoderAdapter = require('./qoder');
|
|
32
|
+
const QoderCnAdapter = require('./qoder-cn');
|
|
33
|
+
const QwenCodeAdapter = require('./qwen-code');
|
|
30
34
|
|
|
31
35
|
const ADAPTER_MAP = {
|
|
32
36
|
openclaw: OpenClawAdapter,
|
|
@@ -51,11 +55,15 @@ const ADAPTER_MAP = {
|
|
|
51
55
|
openworker: OpenWorkerAdapter,
|
|
52
56
|
codebuddy: CodeBuddyAdapter,
|
|
53
57
|
codearts: CodeArtsAdapter,
|
|
58
|
+
'mimo-code': MiMoCodeAdapter,
|
|
59
|
+
qoder: QoderAdapter,
|
|
60
|
+
'qoder-cn': QoderCnAdapter,
|
|
61
|
+
'qwen-code': QwenCodeAdapter,
|
|
54
62
|
};
|
|
55
63
|
|
|
56
64
|
/**
|
|
57
65
|
* Create an adapter instance for the given agent type.
|
|
58
|
-
* @param {string} type - Agent type (openclaw, claude, codex, opencode, nanoclaw, cursor, hermes, gemini, kimi, aider, goose, copilot, cline, amp, mini-swe-agent, pi, deepseek, antigravity, commandcode, openworker, codebuddy, codearts)
|
|
66
|
+
* @param {string} type - Agent type (openclaw, claude, codex, opencode, nanoclaw, cursor, hermes, gemini, kimi, aider, goose, copilot, cline, amp, mini-swe-agent, pi, deepseek, antigravity, commandcode, openworker, codebuddy, codearts, mimo-code, qoder, qoder-cn, qwen-code)
|
|
59
67
|
* @param {object} opts - Adapter constructor options
|
|
60
68
|
* @returns {BaseAdapter}
|
|
61
69
|
*/
|
|
@@ -90,6 +98,10 @@ module.exports = {
|
|
|
90
98
|
CommandCodeAdapter,
|
|
91
99
|
OpenWorkerAdapter,
|
|
92
100
|
CodeArtsAdapter,
|
|
101
|
+
MiMoCodeAdapter,
|
|
102
|
+
QoderAdapter,
|
|
103
|
+
QoderCnAdapter,
|
|
104
|
+
QwenCodeAdapter,
|
|
93
105
|
createAdapter,
|
|
94
106
|
ADAPTER_MAP,
|
|
95
107
|
};
|
|
@@ -19,9 +19,10 @@
|
|
|
19
19
|
* 1 permanent failure (config/auth/quota), 75 transient (retryable).
|
|
20
20
|
*
|
|
21
21
|
* IMPORTANT product distinction: two Moonshot products install a `kimi`
|
|
22
|
-
* binary. Kimi Code CLI (npm `@moonshot-ai/kimi-code`) versions are 0.x
|
|
23
|
-
* the legacy Python `kimi-cli` (PyPI) is 1.x and has a
|
|
24
|
-
* interface. A 1.x `kimi --version` therefore means the
|
|
22
|
+
* binary. Kimi Code CLI (npm `@moonshot-ai/kimi-code`) versions are 0.x and
|
|
23
|
+
* 2.x+ (current line); the legacy Python `kimi-cli` (PyPI) is 1.x and has a
|
|
24
|
+
* DIFFERENT headless interface. A 1.x `kimi --version` therefore means the
|
|
25
|
+
* WRONG product.
|
|
25
26
|
*/
|
|
26
27
|
|
|
27
28
|
'use strict';
|
|
@@ -42,7 +43,7 @@ function parseKimiVersion(raw) {
|
|
|
42
43
|
/**
|
|
43
44
|
* Classify `kimi --version` output into a product identity.
|
|
44
45
|
* @returns {{version: string|null, product: 'kimi-code'|'legacy'|null}}
|
|
45
|
-
* 'kimi-code' → the real Kimi Code CLI (0.x) this adapter drives
|
|
46
|
+
* 'kimi-code' → the real Kimi Code CLI (0.x, 2.x+) this adapter drives
|
|
46
47
|
* 'legacy' → the wound-down Python kimi-cli (1.x) — incompatible
|
|
47
48
|
* null → undetermined (unparseable output); proceed leniently
|
|
48
49
|
*/
|
|
@@ -50,7 +51,7 @@ function classifyKimiVersion(rawVersion) {
|
|
|
50
51
|
const version = parseKimiVersion(rawVersion);
|
|
51
52
|
if (!version) return { version: null, product: null };
|
|
52
53
|
const major = parseInt(version.split('.')[0], 10);
|
|
53
|
-
return { version, product: major ===
|
|
54
|
+
return { version, product: major === 1 ? 'legacy' : 'kimi-code' };
|
|
54
55
|
}
|
|
55
56
|
|
|
56
57
|
// ---------------------------------------------------------------------------
|