tokenmix 1.4.16 → 1.4.17
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/commands/doctor.js +9 -0
- package/dist/i18n/messages.js +6 -6
- package/package.json +1 -1
package/dist/commands/doctor.js
CHANGED
|
@@ -40,6 +40,15 @@ export async function doctorCommand() {
|
|
|
40
40
|
console.log(chalk.bold(t('doctor.agentStatus')));
|
|
41
41
|
for (const a of AGENTS) {
|
|
42
42
|
const r = await a.installCheck();
|
|
43
|
+
// Config-only agents (VSCode extensions) have no binary of their own to install,
|
|
44
|
+
// so installCheck always reports installed:true — labeling them "installed" is
|
|
45
|
+
// misleading. Show their install mode instead, matching `tokenmix list`.
|
|
46
|
+
if (a.installMode === 'manual-vscode') {
|
|
47
|
+
logger.success(`${a.displayName.padEnd(14)} ${chalk.dim(t('list.modeManualVscode'))}`);
|
|
48
|
+
if (r.hint)
|
|
49
|
+
console.log(` ${chalk.dim(r.hint)}`);
|
|
50
|
+
continue;
|
|
51
|
+
}
|
|
43
52
|
if (r.installed) {
|
|
44
53
|
logger.success(`${a.displayName.padEnd(14)} ${t('doctor.installed')}${r.version ? ` (${chalk.dim(r.version)})` : ''}`);
|
|
45
54
|
if (r.hint)
|
package/dist/i18n/messages.js
CHANGED
|
@@ -102,7 +102,7 @@ export const en = {
|
|
|
102
102
|
// install hints
|
|
103
103
|
'install.willInstallVia': 'Will install via: {cmd}',
|
|
104
104
|
'aider.hintNeedPython': 'Aider requires Python 3. Install Python 3 from https://python.org/downloads, then come back and run `tokenmix aider` again.',
|
|
105
|
-
'aider.hintNotInstalled': 'Aider is not installed. Run this in another terminal:\n {cmd}
|
|
105
|
+
'aider.hintNotInstalled': 'Aider is not installed. Run this in another terminal:\n {cmd}',
|
|
106
106
|
// opencode configure notes
|
|
107
107
|
'opencode.noteModel': 'Default model set to tokenmix/{model}',
|
|
108
108
|
'opencode.noteSwitch': 'To switch models, run `tokenmix models` or use `/connect` inside OpenCode.',
|
|
@@ -279,7 +279,7 @@ export const zh = {
|
|
|
279
279
|
// install hints
|
|
280
280
|
'install.willInstallVia': '将自动安装:{cmd}',
|
|
281
281
|
'aider.hintNeedPython': 'Aider 需要 Python 3。请从 https://python.org/downloads 安装 Python 3,然后重新运行 `tokenmix aider`。',
|
|
282
|
-
'aider.hintNotInstalled': 'Aider 尚未安装。请在另一个终端运行:\n {cmd}
|
|
282
|
+
'aider.hintNotInstalled': 'Aider 尚未安装。请在另一个终端运行:\n {cmd}',
|
|
283
283
|
// opencode configure notes
|
|
284
284
|
'opencode.noteModel': '默认模型已设为 tokenmix/{model}',
|
|
285
285
|
'opencode.noteSwitch': '切换模型:运行 `tokenmix models`,或在 OpenCode 内使用 `/connect`。',
|
|
@@ -439,7 +439,7 @@ export const ja = {
|
|
|
439
439
|
'desc.openhands': 'All-Hands-AI/OpenHands — 自律型コーディング agent(OpenAI 互換)',
|
|
440
440
|
'install.willInstallVia': '次の方法でインストールします:{cmd}',
|
|
441
441
|
'aider.hintNeedPython': 'Aider には Python 3 が必要です。https://python.org/downloads から Python 3 をインストールし、再度 `tokenmix aider` を実行してください。',
|
|
442
|
-
'aider.hintNotInstalled': 'Aider はインストールされていません。別のターミナルで次を実行してください:\n {cmd}
|
|
442
|
+
'aider.hintNotInstalled': 'Aider はインストールされていません。別のターミナルで次を実行してください:\n {cmd}',
|
|
443
443
|
'opencode.noteModel': 'デフォルトモデルを tokenmix/{model} に設定しました',
|
|
444
444
|
'opencode.noteSwitch': 'モデルを切り替えるには `tokenmix models` を実行するか、OpenCode 内で `/connect` を使用してください。',
|
|
445
445
|
'claude.noteModels': 'tokenmix 経由で利用できる Claude モデル:claude-opus-4.7、claude-sonnet-4.6、claude-haiku-4.5',
|
|
@@ -594,7 +594,7 @@ export const ko = {
|
|
|
594
594
|
'desc.openhands': 'All-Hands-AI/OpenHands — 자율 코딩 agent (OpenAI 호환)',
|
|
595
595
|
'install.willInstallVia': '다음 방법으로 설치합니다: {cmd}',
|
|
596
596
|
'aider.hintNeedPython': 'Aider에는 Python 3가 필요합니다. https://python.org/downloads 에서 Python 3를 설치한 뒤 다시 `tokenmix aider`를 실행하세요.',
|
|
597
|
-
'aider.hintNotInstalled': 'Aider가 설치되어 있지 않습니다. 다른 터미널에서 다음을 실행하세요:\n {cmd}
|
|
597
|
+
'aider.hintNotInstalled': 'Aider가 설치되어 있지 않습니다. 다른 터미널에서 다음을 실행하세요:\n {cmd}',
|
|
598
598
|
'opencode.noteModel': '기본 모델을 tokenmix/{model}(으)로 설정했습니다',
|
|
599
599
|
'opencode.noteSwitch': '모델을 바꾸려면 `tokenmix models`를 실행하거나 OpenCode 안에서 `/connect`를 사용하세요.',
|
|
600
600
|
'claude.noteModels': 'tokenmix를 통해 사용할 수 있는 Claude 모델: claude-opus-4.7, claude-sonnet-4.6, claude-haiku-4.5',
|
|
@@ -749,7 +749,7 @@ export const es = {
|
|
|
749
749
|
'desc.openhands': 'All-Hands-AI/OpenHands — agente de programación autónomo (compatible con OpenAI)',
|
|
750
750
|
'install.willInstallVia': 'Se instalará mediante: {cmd}',
|
|
751
751
|
'aider.hintNeedPython': 'Aider requiere Python 3. Instala Python 3 desde https://python.org/downloads y vuelve a ejecutar `tokenmix aider`.',
|
|
752
|
-
'aider.hintNotInstalled': 'Aider no está instalado. Ejecuta esto en otra terminal:\n {cmd}
|
|
752
|
+
'aider.hintNotInstalled': 'Aider no está instalado. Ejecuta esto en otra terminal:\n {cmd}',
|
|
753
753
|
'opencode.noteModel': 'Modelo predeterminado establecido en tokenmix/{model}',
|
|
754
754
|
'opencode.noteSwitch': 'Para cambiar de modelo, ejecuta `tokenmix models` o usa `/connect` dentro de OpenCode.',
|
|
755
755
|
'claude.noteModels': 'Modelos de Claude disponibles vía tokenmix: claude-opus-4.7, claude-sonnet-4.6, claude-haiku-4.5',
|
|
@@ -904,7 +904,7 @@ export const fr = {
|
|
|
904
904
|
'desc.openhands': 'All-Hands-AI/OpenHands — agent de codage autonome (compatible OpenAI)',
|
|
905
905
|
'install.willInstallVia': 'Sera installé via : {cmd}',
|
|
906
906
|
'aider.hintNeedPython': 'Aider nécessite Python 3. Installez Python 3 depuis https://python.org/downloads, puis relancez `tokenmix aider`.',
|
|
907
|
-
'aider.hintNotInstalled': 'Aider n’est pas installé. Exécutez ceci dans un autre terminal :\n {cmd}
|
|
907
|
+
'aider.hintNotInstalled': 'Aider n’est pas installé. Exécutez ceci dans un autre terminal :\n {cmd}',
|
|
908
908
|
'opencode.noteModel': 'Modèle par défaut défini sur tokenmix/{model}',
|
|
909
909
|
'opencode.noteSwitch': 'Pour changer de modèle, exécutez `tokenmix models` ou utilisez `/connect` dans OpenCode.',
|
|
910
910
|
'claude.noteModels': 'Modèles Claude disponibles via tokenmix : claude-opus-4.7, claude-sonnet-4.6, claude-haiku-4.5',
|