@mmmbuto/qwen-code-termux 0.14.0-termux → 0.14.3-termux
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/README.md +54 -152
- package/bundled/qc-helper/docs/configuration/settings.md +41 -16
- package/bundled/qc-helper/docs/features/_meta.ts +3 -0
- package/bundled/qc-helper/docs/features/approval-mode.md +16 -8
- package/bundled/qc-helper/docs/features/code-review.md +279 -0
- package/bundled/qc-helper/docs/features/commands.md +86 -3
- package/bundled/qc-helper/docs/features/followup-suggestions.md +109 -0
- package/bundled/qc-helper/docs/features/status-line.md +235 -0
- package/bundled/qc-helper/docs/overview.md +1 -0
- package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +1 -1
- package/bundled/review/DESIGN.md +165 -0
- package/bundled/review/SKILL.md +358 -88
- package/cli.js +45987 -42820
- package/locales/de.js +29 -1
- package/locales/en.js +29 -1
- package/locales/ja.js +27 -1
- package/locales/pt.js +29 -1
- package/locales/ru.js +29 -1
- package/locales/zh.js +27 -1
- package/package.json +7 -3
- package/scripts/postinstall.cjs +12 -0
- package/bundled/qc-helper/docs/configuration.md +0 -73
package/locales/de.js
CHANGED
|
@@ -79,6 +79,7 @@ export default {
|
|
|
79
79
|
'CLI Version': 'CLI-Version',
|
|
80
80
|
'Git Commit': 'Git-Commit',
|
|
81
81
|
Model: 'Modell',
|
|
82
|
+
'Fast Model': 'Schnelles Modell',
|
|
82
83
|
Sandbox: 'Sandbox',
|
|
83
84
|
'OS Platform': 'Betriebssystem',
|
|
84
85
|
'OS Arch': 'OS-Architektur',
|
|
@@ -599,6 +600,10 @@ export default {
|
|
|
599
600
|
'Loading hooks...': 'Hooks werden geladen...',
|
|
600
601
|
'Error loading hooks:': 'Fehler beim Laden der Hooks:',
|
|
601
602
|
'Press Escape to close': 'Escape zum Schließen drücken',
|
|
603
|
+
'Press Escape, Ctrl+C, or Ctrl+D to cancel':
|
|
604
|
+
'Escape, Ctrl+C oder Ctrl+D zum Abbrechen',
|
|
605
|
+
'Press Space, Enter, or Escape to dismiss':
|
|
606
|
+
'Leertaste, Enter oder Escape zum Schließen',
|
|
602
607
|
'No hook selected': 'Kein Hook ausgewählt',
|
|
603
608
|
// Hooks - List Step
|
|
604
609
|
'No hook events found.': 'Keine Hook-Ereignisse gefunden.',
|
|
@@ -984,7 +989,10 @@ export default {
|
|
|
984
989
|
// ============================================================================
|
|
985
990
|
// Commands - Model
|
|
986
991
|
// ============================================================================
|
|
987
|
-
'Switch the model for this session
|
|
992
|
+
'Switch the model for this session (--fast for suggestion model)':
|
|
993
|
+
'Modell für diese Sitzung wechseln (--fast für Vorschlagsmodell)',
|
|
994
|
+
'Set a lighter model for prompt suggestions and speculative execution':
|
|
995
|
+
'Leichteres Modell für Eingabevorschläge und spekulative Ausführung festlegen',
|
|
988
996
|
'Content generator configuration not available.':
|
|
989
997
|
'Inhaltsgenerator-Konfiguration nicht verfügbar.',
|
|
990
998
|
'Authentication type not available.':
|
|
@@ -1177,6 +1185,8 @@ export default {
|
|
|
1177
1185
|
'Always allow for this user': 'Für diesen Benutzer immer erlauben',
|
|
1178
1186
|
'Always allow {{action}} for this user':
|
|
1179
1187
|
'{{action}} für diesen Benutzer immer erlauben',
|
|
1188
|
+
'Yes, restore previous mode ({{mode}})':
|
|
1189
|
+
'Ja, vorherigen Modus wiederherstellen ({{mode}})',
|
|
1180
1190
|
'Yes, and auto-accept edits': 'Ja, und Änderungen automatisch akzeptieren',
|
|
1181
1191
|
'Yes, and manually approve edits': 'Ja, und Änderungen manuell genehmigen',
|
|
1182
1192
|
'No, keep planning (esc)': 'Nein, weiter planen (Esc)',
|
|
@@ -1961,4 +1971,22 @@ export default {
|
|
|
1961
1971
|
'Raw-Modus nicht verfügbar. Bitte in einem interaktiven Terminal ausführen.',
|
|
1962
1972
|
'(Use ↑ ↓ arrows to navigate, Enter to select, Ctrl+C to exit)\n':
|
|
1963
1973
|
'(↑ ↓ Pfeiltasten zum Navigieren, Enter zum Auswählen, Strg+C zum Beenden)\n',
|
|
1974
|
+
compact: 'kompakt',
|
|
1975
|
+
'Hide tool output and thinking for a cleaner view (toggle with Ctrl+O).':
|
|
1976
|
+
'Tool-Ausgabe und Denkprozess ausblenden für eine übersichtlichere Ansicht (mit Strg+O umschalten).',
|
|
1977
|
+
'Press Ctrl+O to show full tool output':
|
|
1978
|
+
'Strg+O für vollständige Tool-Ausgabe drücken',
|
|
1979
|
+
|
|
1980
|
+
'Switch to plan mode or exit plan mode':
|
|
1981
|
+
'Switch to plan mode or exit plan mode',
|
|
1982
|
+
'Exited plan mode. Previous approval mode restored.':
|
|
1983
|
+
'Exited plan mode. Previous approval mode restored.',
|
|
1984
|
+
'Enabled plan mode. The agent will analyze and plan without executing tools.':
|
|
1985
|
+
'Enabled plan mode. The agent will analyze and plan without executing tools.',
|
|
1986
|
+
'Already in plan mode. Use "/plan exit" to exit plan mode.':
|
|
1987
|
+
'Already in plan mode. Use "/plan exit" to exit plan mode.',
|
|
1988
|
+
'Not in plan mode. Use "/plan" to enter plan mode first.':
|
|
1989
|
+
'Not in plan mode. Use "/plan" to enter plan mode first.',
|
|
1990
|
+
|
|
1991
|
+
"Set up Qwen Code's status line UI": "Set up Qwen Code's status line UI",
|
|
1964
1992
|
};
|
package/locales/en.js
CHANGED
|
@@ -98,6 +98,7 @@ export default {
|
|
|
98
98
|
'CLI Version': 'CLI Version',
|
|
99
99
|
'Git Commit': 'Git Commit',
|
|
100
100
|
Model: 'Model',
|
|
101
|
+
'Fast Model': 'Fast Model',
|
|
101
102
|
Sandbox: 'Sandbox',
|
|
102
103
|
'OS Platform': 'OS Platform',
|
|
103
104
|
'OS Arch': 'OS Arch',
|
|
@@ -673,6 +674,10 @@ export default {
|
|
|
673
674
|
'Loading hooks...': 'Loading hooks...',
|
|
674
675
|
'Error loading hooks:': 'Error loading hooks:',
|
|
675
676
|
'Press Escape to close': 'Press Escape to close',
|
|
677
|
+
'Press Escape, Ctrl+C, or Ctrl+D to cancel':
|
|
678
|
+
'Press Escape, Ctrl+C, or Ctrl+D to cancel',
|
|
679
|
+
'Press Space, Enter, or Escape to dismiss':
|
|
680
|
+
'Press Space, Enter, or Escape to dismiss',
|
|
676
681
|
'No hook selected': 'No hook selected',
|
|
677
682
|
// Hooks - List Step
|
|
678
683
|
'No hook events found.': 'No hook events found.',
|
|
@@ -1146,7 +1151,10 @@ export default {
|
|
|
1146
1151
|
// ============================================================================
|
|
1147
1152
|
// Commands - Model
|
|
1148
1153
|
// ============================================================================
|
|
1149
|
-
'Switch the model for this session
|
|
1154
|
+
'Switch the model for this session (--fast for suggestion model)':
|
|
1155
|
+
'Switch the model for this session (--fast for suggestion model)',
|
|
1156
|
+
'Set a lighter model for prompt suggestions and speculative execution':
|
|
1157
|
+
'Set a lighter model for prompt suggestions and speculative execution',
|
|
1150
1158
|
'Content generator configuration not available.':
|
|
1151
1159
|
'Content generator configuration not available.',
|
|
1152
1160
|
'Authentication type not available.': 'Authentication type not available.',
|
|
@@ -1230,6 +1238,8 @@ export default {
|
|
|
1230
1238
|
'Always allow for this user': 'Always allow for this user',
|
|
1231
1239
|
'Always allow {{action}} for this user':
|
|
1232
1240
|
'Always allow {{action}} for this user',
|
|
1241
|
+
'Yes, restore previous mode ({{mode}})':
|
|
1242
|
+
'Yes, restore previous mode ({{mode}})',
|
|
1233
1243
|
'Yes, and auto-accept edits': 'Yes, and auto-accept edits',
|
|
1234
1244
|
'Yes, and manually approve edits': 'Yes, and manually approve edits',
|
|
1235
1245
|
'No, keep planning (esc)': 'No, keep planning (esc)',
|
|
@@ -2002,4 +2012,22 @@ export default {
|
|
|
2002
2012
|
'Raw mode not available. Please run in an interactive terminal.',
|
|
2003
2013
|
'(Use ↑ ↓ arrows to navigate, Enter to select, Ctrl+C to exit)\n':
|
|
2004
2014
|
'(Use ↑ ↓ arrows to navigate, Enter to select, Ctrl+C to exit)\n',
|
|
2015
|
+
compact: 'compact',
|
|
2016
|
+
'Hide tool output and thinking for a cleaner view (toggle with Ctrl+O).':
|
|
2017
|
+
'Hide tool output and thinking for a cleaner view (toggle with Ctrl+O).',
|
|
2018
|
+
'Press Ctrl+O to show full tool output':
|
|
2019
|
+
'Press Ctrl+O to show full tool output',
|
|
2020
|
+
|
|
2021
|
+
'Switch to plan mode or exit plan mode':
|
|
2022
|
+
'Switch to plan mode or exit plan mode',
|
|
2023
|
+
'Exited plan mode. Previous approval mode restored.':
|
|
2024
|
+
'Exited plan mode. Previous approval mode restored.',
|
|
2025
|
+
'Enabled plan mode. The agent will analyze and plan without executing tools.':
|
|
2026
|
+
'Enabled plan mode. The agent will analyze and plan without executing tools.',
|
|
2027
|
+
'Already in plan mode. Use "/plan exit" to exit plan mode.':
|
|
2028
|
+
'Already in plan mode. Use "/plan exit" to exit plan mode.',
|
|
2029
|
+
'Not in plan mode. Use "/plan" to enter plan mode first.':
|
|
2030
|
+
'Not in plan mode. Use "/plan" to enter plan mode first.',
|
|
2031
|
+
|
|
2032
|
+
"Set up Qwen Code's status line UI": "Set up Qwen Code's status line UI",
|
|
2005
2033
|
};
|
package/locales/ja.js
CHANGED
|
@@ -66,6 +66,7 @@ export default {
|
|
|
66
66
|
'CLI Version': 'CLIバージョン',
|
|
67
67
|
'Git Commit': 'Gitコミット',
|
|
68
68
|
Model: 'モデル',
|
|
69
|
+
'Fast Model': '高速モデル',
|
|
69
70
|
Sandbox: 'サンドボックス',
|
|
70
71
|
'OS Platform': 'OSプラットフォーム',
|
|
71
72
|
'OS Arch': 'OSアーキテクチャ',
|
|
@@ -385,6 +386,9 @@ export default {
|
|
|
385
386
|
'Loading hooks...': 'フックを読み込んでいます...',
|
|
386
387
|
'Error loading hooks:': 'フックの読み込みエラー:',
|
|
387
388
|
'Press Escape to close': 'Escape キーで閉じる',
|
|
389
|
+
'Press Escape, Ctrl+C, or Ctrl+D to cancel':
|
|
390
|
+
'Escape、Ctrl+C、Ctrl+D でキャンセル',
|
|
391
|
+
'Press Space, Enter, or Escape to dismiss': 'Space、Enter、Escape で閉じる',
|
|
388
392
|
'No hook selected': 'フックが選択されていません',
|
|
389
393
|
// Hooks - List Step
|
|
390
394
|
'No hook events found.': 'フックイベントが見つかりません。',
|
|
@@ -739,7 +743,10 @@ export default {
|
|
|
739
743
|
'Failed to generate summary - no text content received from LLM response':
|
|
740
744
|
'サマリーの生成に失敗 - LLMレスポンスからテキストコンテンツを受信できませんでした',
|
|
741
745
|
// Model
|
|
742
|
-
'Switch the model for this session':
|
|
746
|
+
'Switch the model for this session (--fast for suggestion model)':
|
|
747
|
+
'このセッションのモデルを切り替え(--fast で提案モデルを設定)',
|
|
748
|
+
'Set a lighter model for prompt suggestions and speculative execution':
|
|
749
|
+
'プロンプト提案と投機的実行用の軽量モデルを設定',
|
|
743
750
|
'Content generator configuration not available.':
|
|
744
751
|
'コンテンツジェネレーター設定が利用できません',
|
|
745
752
|
'Authentication type not available.': '認証タイプが利用できません',
|
|
@@ -912,6 +919,8 @@ export default {
|
|
|
912
919
|
'このプロジェクトで{{action}}を常に許可',
|
|
913
920
|
'Always allow for this user': 'このユーザーに常に許可',
|
|
914
921
|
'Always allow {{action}} for this user': 'このユーザーに{{action}}を常に許可',
|
|
922
|
+
'Yes, restore previous mode ({{mode}})':
|
|
923
|
+
'はい、以前のモードに戻す ({{mode}})',
|
|
915
924
|
'Yes, and auto-accept edits': 'はい、編集を自動承認',
|
|
916
925
|
'Yes, and manually approve edits': 'はい、編集を手動承認',
|
|
917
926
|
'No, keep planning (esc)': 'いいえ、計画を続ける (Esc)',
|
|
@@ -1454,4 +1463,21 @@ export default {
|
|
|
1454
1463
|
'Rawモードが利用できません。インタラクティブターミナルで実行してください。',
|
|
1455
1464
|
'(Use ↑ ↓ arrows to navigate, Enter to select, Ctrl+C to exit)\n':
|
|
1456
1465
|
'(↑ ↓ 矢印キーで移動、Enter で選択、Ctrl+C で終了)\n',
|
|
1466
|
+
compact: 'コンパクト',
|
|
1467
|
+
'Hide tool output and thinking for a cleaner view (toggle with Ctrl+O).':
|
|
1468
|
+
'コンパクトモードでツール出力と思考を非表示にします(Ctrl+O で切り替え)。',
|
|
1469
|
+
'Press Ctrl+O to show full tool output': 'Ctrl+O で完全なツール出力を表示',
|
|
1470
|
+
|
|
1471
|
+
'Switch to plan mode or exit plan mode':
|
|
1472
|
+
'Switch to plan mode or exit plan mode',
|
|
1473
|
+
'Exited plan mode. Previous approval mode restored.':
|
|
1474
|
+
'Exited plan mode. Previous approval mode restored.',
|
|
1475
|
+
'Enabled plan mode. The agent will analyze and plan without executing tools.':
|
|
1476
|
+
'Enabled plan mode. The agent will analyze and plan without executing tools.',
|
|
1477
|
+
'Already in plan mode. Use "/plan exit" to exit plan mode.':
|
|
1478
|
+
'Already in plan mode. Use "/plan exit" to exit plan mode.',
|
|
1479
|
+
'Not in plan mode. Use "/plan" to enter plan mode first.':
|
|
1480
|
+
'Not in plan mode. Use "/plan" to enter plan mode first.',
|
|
1481
|
+
|
|
1482
|
+
"Set up Qwen Code's status line UI": "Set up Qwen Code's status line UI",
|
|
1457
1483
|
};
|
package/locales/pt.js
CHANGED
|
@@ -91,6 +91,7 @@ export default {
|
|
|
91
91
|
'CLI Version': 'Versão da CLI',
|
|
92
92
|
'Git Commit': 'Commit do Git',
|
|
93
93
|
Model: 'Modelo',
|
|
94
|
+
'Fast Model': 'Modelo Rápido',
|
|
94
95
|
Sandbox: 'Sandbox',
|
|
95
96
|
'OS Platform': 'Plataforma do SO',
|
|
96
97
|
'OS Arch': 'Arquitetura do SO',
|
|
@@ -604,6 +605,10 @@ export default {
|
|
|
604
605
|
'Loading hooks...': 'Carregando hooks...',
|
|
605
606
|
'Error loading hooks:': 'Erro ao carregar hooks:',
|
|
606
607
|
'Press Escape to close': 'Pressione Escape para fechar',
|
|
608
|
+
'Press Escape, Ctrl+C, or Ctrl+D to cancel':
|
|
609
|
+
'Pressione Escape, Ctrl+C ou Ctrl+D para cancelar',
|
|
610
|
+
'Press Space, Enter, or Escape to dismiss':
|
|
611
|
+
'Pressione Espaço, Enter ou Escape para dispensar',
|
|
607
612
|
'No hook selected': 'Nenhum hook selecionado',
|
|
608
613
|
// Hooks - List Step
|
|
609
614
|
'No hook events found.': 'Nenhum evento de hook encontrado.',
|
|
@@ -991,7 +996,10 @@ export default {
|
|
|
991
996
|
// ============================================================================
|
|
992
997
|
// Commands - Model
|
|
993
998
|
// ============================================================================
|
|
994
|
-
'Switch the model for this session
|
|
999
|
+
'Switch the model for this session (--fast for suggestion model)':
|
|
1000
|
+
'Trocar o modelo para esta sessão (--fast para modelo de sugestões)',
|
|
1001
|
+
'Set a lighter model for prompt suggestions and speculative execution':
|
|
1002
|
+
'Definir modelo mais leve para sugestões de prompt e execução especulativa',
|
|
995
1003
|
'Content generator configuration not available.':
|
|
996
1004
|
'Configuração do gerador de conteúdo não disponível.',
|
|
997
1005
|
'Authentication type not available.': 'Tipo de autenticação não disponível.',
|
|
@@ -1183,6 +1191,8 @@ export default {
|
|
|
1183
1191
|
'Always allow for this user': 'Sempre permitir para este usuário',
|
|
1184
1192
|
'Always allow {{action}} for this user':
|
|
1185
1193
|
'Sempre permitir {{action}} para este usuário',
|
|
1194
|
+
'Yes, restore previous mode ({{mode}})':
|
|
1195
|
+
'Sim, restaurar modo anterior ({{mode}})',
|
|
1186
1196
|
'Yes, and auto-accept edits': 'Sim, e aceitar edições automaticamente',
|
|
1187
1197
|
'Yes, and manually approve edits': 'Sim, e aprovar edições manualmente',
|
|
1188
1198
|
'No, keep planning (esc)': 'Não, continuar planejando (esc)',
|
|
@@ -1951,4 +1961,22 @@ export default {
|
|
|
1951
1961
|
'Modo raw não disponível. Execute em um terminal interativo.',
|
|
1952
1962
|
'(Use ↑ ↓ arrows to navigate, Enter to select, Ctrl+C to exit)\n':
|
|
1953
1963
|
'(Use ↑ ↓ para navegar, Enter para selecionar, Ctrl+C para sair)\n',
|
|
1964
|
+
compact: 'compacto',
|
|
1965
|
+
'Hide tool output and thinking for a cleaner view (toggle with Ctrl+O).':
|
|
1966
|
+
'Ocultar saída da ferramenta e raciocínio para uma visualização mais limpa (alternar com Ctrl+O).',
|
|
1967
|
+
'Press Ctrl+O to show full tool output':
|
|
1968
|
+
'Pressione Ctrl+O para exibir a saída completa da ferramenta',
|
|
1969
|
+
|
|
1970
|
+
'Switch to plan mode or exit plan mode':
|
|
1971
|
+
'Switch to plan mode or exit plan mode',
|
|
1972
|
+
'Exited plan mode. Previous approval mode restored.':
|
|
1973
|
+
'Exited plan mode. Previous approval mode restored.',
|
|
1974
|
+
'Enabled plan mode. The agent will analyze and plan without executing tools.':
|
|
1975
|
+
'Enabled plan mode. The agent will analyze and plan without executing tools.',
|
|
1976
|
+
'Already in plan mode. Use "/plan exit" to exit plan mode.':
|
|
1977
|
+
'Already in plan mode. Use "/plan exit" to exit plan mode.',
|
|
1978
|
+
'Not in plan mode. Use "/plan" to enter plan mode first.':
|
|
1979
|
+
'Not in plan mode. Use "/plan" to enter plan mode first.',
|
|
1980
|
+
|
|
1981
|
+
"Set up Qwen Code's status line UI": "Set up Qwen Code's status line UI",
|
|
1954
1982
|
};
|
package/locales/ru.js
CHANGED
|
@@ -99,6 +99,7 @@ export default {
|
|
|
99
99
|
'CLI Version': 'Версия CLI',
|
|
100
100
|
'Git Commit': 'Git-коммит',
|
|
101
101
|
Model: 'Модель',
|
|
102
|
+
'Fast Model': 'Быстрая модель',
|
|
102
103
|
Sandbox: 'Песочница',
|
|
103
104
|
'OS Platform': 'Платформа ОС',
|
|
104
105
|
'OS Arch': 'Архитектура ОС',
|
|
@@ -610,6 +611,10 @@ export default {
|
|
|
610
611
|
'Loading hooks...': 'Загрузка хуков...',
|
|
611
612
|
'Error loading hooks:': 'Ошибка загрузки хуков:',
|
|
612
613
|
'Press Escape to close': 'Нажмите Escape для закрытия',
|
|
614
|
+
'Press Escape, Ctrl+C, or Ctrl+D to cancel':
|
|
615
|
+
'Нажмите Escape, Ctrl+C или Ctrl+D для отмены',
|
|
616
|
+
'Press Space, Enter, or Escape to dismiss':
|
|
617
|
+
'Нажмите Пробел, Enter или Escape для закрытия',
|
|
613
618
|
'No hook selected': 'Хук не выбран',
|
|
614
619
|
// Hooks - List Step
|
|
615
620
|
'No hook events found.': 'События хуков не найдены.',
|
|
@@ -992,7 +997,10 @@ export default {
|
|
|
992
997
|
// ============================================================================
|
|
993
998
|
// Команды - Модель
|
|
994
999
|
// ============================================================================
|
|
995
|
-
'Switch the model for this session
|
|
1000
|
+
'Switch the model for this session (--fast for suggestion model)':
|
|
1001
|
+
'Переключение модели для этой сессии (--fast для модели подсказок)',
|
|
1002
|
+
'Set a lighter model for prompt suggestions and speculative execution':
|
|
1003
|
+
'Установить облегчённую модель для подсказок и спекулятивного выполнения',
|
|
996
1004
|
'Content generator configuration not available.':
|
|
997
1005
|
'Конфигурация генератора содержимого недоступна.',
|
|
998
1006
|
'Authentication type not available.': 'Тип авторизации недоступен.',
|
|
@@ -1107,6 +1115,8 @@ export default {
|
|
|
1107
1115
|
'Always allow for this user': 'Всегда разрешать для этого пользователя',
|
|
1108
1116
|
'Always allow {{action}} for this user':
|
|
1109
1117
|
'Всегда разрешать {{action}} для этого пользователя',
|
|
1118
|
+
'Yes, restore previous mode ({{mode}})':
|
|
1119
|
+
'Да, восстановить предыдущий режим ({{mode}})',
|
|
1110
1120
|
'Yes, and auto-accept edits': 'Да, и автоматически принимать правки',
|
|
1111
1121
|
'Yes, and manually approve edits': 'Да, и вручную подтверждать правки',
|
|
1112
1122
|
'No, keep planning (esc)': 'Нет, продолжить планирование (esc)',
|
|
@@ -1958,4 +1968,22 @@ export default {
|
|
|
1958
1968
|
'Raw-режим недоступен. Пожалуйста, запустите в интерактивном терминале.',
|
|
1959
1969
|
'(Use ↑ ↓ arrows to navigate, Enter to select, Ctrl+C to exit)\n':
|
|
1960
1970
|
'(↑ ↓ стрелки для навигации, Enter для выбора, Ctrl+C для выхода)\n',
|
|
1971
|
+
compact: 'компактный',
|
|
1972
|
+
'Hide tool output and thinking for a cleaner view (toggle with Ctrl+O).':
|
|
1973
|
+
'Скрывать вывод инструментов и процесс рассуждений для более чистого вида (переключить с помощью Ctrl+O).',
|
|
1974
|
+
'Press Ctrl+O to show full tool output':
|
|
1975
|
+
'Нажмите Ctrl+O для показа полного вывода инструментов',
|
|
1976
|
+
|
|
1977
|
+
'Switch to plan mode or exit plan mode':
|
|
1978
|
+
'Switch to plan mode or exit plan mode',
|
|
1979
|
+
'Exited plan mode. Previous approval mode restored.':
|
|
1980
|
+
'Exited plan mode. Previous approval mode restored.',
|
|
1981
|
+
'Enabled plan mode. The agent will analyze and plan without executing tools.':
|
|
1982
|
+
'Enabled plan mode. The agent will analyze and plan without executing tools.',
|
|
1983
|
+
'Already in plan mode. Use "/plan exit" to exit plan mode.':
|
|
1984
|
+
'Already in plan mode. Use "/plan exit" to exit plan mode.',
|
|
1985
|
+
'Not in plan mode. Use "/plan" to enter plan mode first.':
|
|
1986
|
+
'Not in plan mode. Use "/plan" to enter plan mode first.',
|
|
1987
|
+
|
|
1988
|
+
"Set up Qwen Code's status line UI": "Set up Qwen Code's status line UI",
|
|
1961
1989
|
};
|
package/locales/zh.js
CHANGED
|
@@ -96,6 +96,7 @@ export default {
|
|
|
96
96
|
'CLI Version': 'CLI 版本',
|
|
97
97
|
'Git Commit': 'Git 提交',
|
|
98
98
|
Model: '模型',
|
|
99
|
+
'Fast Model': '快速模型',
|
|
99
100
|
Sandbox: '沙箱',
|
|
100
101
|
'OS Platform': '操作系统平台',
|
|
101
102
|
'OS Arch': '操作系统架构',
|
|
@@ -637,6 +638,9 @@ export default {
|
|
|
637
638
|
'Loading hooks...': '正在加载 Hook...',
|
|
638
639
|
'Error loading hooks:': '加载 Hook 出错:',
|
|
639
640
|
'Press Escape to close': '按 Escape 关闭',
|
|
641
|
+
'Press Escape, Ctrl+C, or Ctrl+D to cancel':
|
|
642
|
+
'按 Escape、Ctrl+C 或 Ctrl+D 取消',
|
|
643
|
+
'Press Space, Enter, or Escape to dismiss': '按空格、回车或 Escape 关闭',
|
|
640
644
|
'No hook selected': '未选择 Hook',
|
|
641
645
|
// Hooks - List Step
|
|
642
646
|
'No hook events found.': '未找到 Hook 事件。',
|
|
@@ -1088,7 +1092,10 @@ export default {
|
|
|
1088
1092
|
// ============================================================================
|
|
1089
1093
|
// Commands - Model
|
|
1090
1094
|
// ============================================================================
|
|
1091
|
-
'Switch the model for this session':
|
|
1095
|
+
'Switch the model for this session (--fast for suggestion model)':
|
|
1096
|
+
'切换此会话的模型(--fast 可设置建议模型)',
|
|
1097
|
+
'Set a lighter model for prompt suggestions and speculative execution':
|
|
1098
|
+
'设置用于输入建议和推测执行的轻量模型',
|
|
1092
1099
|
'Content generator configuration not available.': '内容生成器配置不可用',
|
|
1093
1100
|
'Authentication type not available.': '认证类型不可用',
|
|
1094
1101
|
'No models available for the current authentication type ({{authType}}).':
|
|
@@ -1165,6 +1172,7 @@ export default {
|
|
|
1165
1172
|
'Always allow {{action}} in this project': '在本项目中总是允许{{action}}',
|
|
1166
1173
|
'Always allow for this user': '对该用户总是允许',
|
|
1167
1174
|
'Always allow {{action}} for this user': '对该用户总是允许{{action}}',
|
|
1175
|
+
'Yes, restore previous mode ({{mode}})': '是,恢复之前的模式 ({{mode}})',
|
|
1168
1176
|
'Yes, and auto-accept edits': '是,并自动接受编辑',
|
|
1169
1177
|
'Yes, and manually approve edits': '是,并手动批准编辑',
|
|
1170
1178
|
'No, keep planning (esc)': '否,继续规划 (esc)',
|
|
@@ -1708,6 +1716,8 @@ export default {
|
|
|
1708
1716
|
'Show context window usage breakdown.': '显示上下文窗口使用情况分解。',
|
|
1709
1717
|
'Run /context detail for per-item breakdown.':
|
|
1710
1718
|
'运行 /context detail 查看详细分解。',
|
|
1719
|
+
'Show context window usage breakdown. Use "/context detail" for per-item breakdown.':
|
|
1720
|
+
'显示上下文窗口使用情况分解。输入 "/context detail" 查看详细分解。',
|
|
1711
1721
|
'body loaded': '内容已加载',
|
|
1712
1722
|
memory: '记忆',
|
|
1713
1723
|
'{{region}} configuration updated successfully.': '{{region}} 配置更新成功。',
|
|
@@ -1808,4 +1818,20 @@ export default {
|
|
|
1808
1818
|
'原始模式不可用。请在交互式终端中运行。',
|
|
1809
1819
|
'(Use ↑ ↓ arrows to navigate, Enter to select, Ctrl+C to exit)\n':
|
|
1810
1820
|
'(使用 ↑ ↓ 箭头导航,Enter 选择,Ctrl+C 退出)\n',
|
|
1821
|
+
compact: '紧凑',
|
|
1822
|
+
'Hide tool output and thinking for a cleaner view (toggle with Ctrl+O).':
|
|
1823
|
+
'紧凑模式下隐藏工具输出和思考过程,界面更简洁(Ctrl+O 切换)。',
|
|
1824
|
+
'Press Ctrl+O to show full tool output': '按 Ctrl+O 查看详细工具调用结果',
|
|
1825
|
+
|
|
1826
|
+
'Switch to plan mode or exit plan mode': '切换到计划模式或退出计划模式',
|
|
1827
|
+
'Exited plan mode. Previous approval mode restored.':
|
|
1828
|
+
'已退出计划模式,已恢复之前的审批模式。',
|
|
1829
|
+
'Enabled plan mode. The agent will analyze and plan without executing tools.':
|
|
1830
|
+
'启用计划模式。智能体将只分析和规划,而不执行工具。',
|
|
1831
|
+
'Already in plan mode. Use "/plan exit" to exit plan mode.':
|
|
1832
|
+
'已处于计划模式。使用 "/plan exit" 退出计划模式。',
|
|
1833
|
+
'Not in plan mode. Use "/plan" to enter plan mode first.':
|
|
1834
|
+
'未处于计划模式。请先使用 "/plan" 进入计划模式。',
|
|
1835
|
+
|
|
1836
|
+
"Set up Qwen Code's status line UI": '配置 Qwen Code 的状态栏',
|
|
1811
1837
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mmmbuto/qwen-code-termux",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.3-termux",
|
|
4
4
|
"description": "Qwen Code - AI-powered coding assistant (Termux Edition for Android)",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
"bin": {
|
|
12
12
|
"qwen": "cli.js"
|
|
13
13
|
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"postinstall": "node scripts/postinstall.cjs"
|
|
16
|
+
},
|
|
14
17
|
"files": [
|
|
15
18
|
"cli.js",
|
|
16
19
|
"vendor",
|
|
@@ -18,10 +21,11 @@
|
|
|
18
21
|
"README.md",
|
|
19
22
|
"LICENSE",
|
|
20
23
|
"locales",
|
|
21
|
-
"bundled"
|
|
24
|
+
"bundled",
|
|
25
|
+
"scripts/postinstall.cjs"
|
|
22
26
|
],
|
|
23
27
|
"config": {
|
|
24
|
-
"sandboxImageUri": "ghcr.io/mmmbuto/qwen-code-termux:0.14.
|
|
28
|
+
"sandboxImageUri": "ghcr.io/mmmbuto/qwen-code-termux:0.14.3-termux"
|
|
25
29
|
},
|
|
26
30
|
"dependencies": {},
|
|
27
31
|
"optionalDependencies": {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2025 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
const os = require('node:os');
|
|
8
|
+
|
|
9
|
+
if (os.platform() === 'android' || process.env.PREFIX?.includes('com.termux')) {
|
|
10
|
+
console.log('qwen-code-termux installed successfully');
|
|
11
|
+
console.log('Run: qwen');
|
|
12
|
+
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
# Configuration
|
|
2
|
-
|
|
3
|
-
Qwen Code Termux Edition configuration is provider-neutral and follows the upstream CLI conventions.
|
|
4
|
-
|
|
5
|
-
## Quick Setup
|
|
6
|
-
|
|
7
|
-
### 1. Set your API key
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
export OPENAI_API_KEY="..."
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
### 2. Optional: Custom endpoint
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
export OPENAI_BASE_URL="https://your-gateway.example/v1"
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
### 3. Run
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
qwen
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## Common Options
|
|
26
|
-
|
|
27
|
-
### Choose a model
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
qwen -m "<model>"
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
### Non-interactive mode
|
|
34
|
-
|
|
35
|
-
```bash
|
|
36
|
-
qwen -p "your prompt here"
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
### Interactive mode
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
qwen
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
## Configuration Files
|
|
46
|
-
|
|
47
|
-
### User settings
|
|
48
|
-
|
|
49
|
-
`~/.qwen/settings.json`
|
|
50
|
-
|
|
51
|
-
### Project settings
|
|
52
|
-
|
|
53
|
-
`.qwen/settings.json` (in your project root)
|
|
54
|
-
|
|
55
|
-
## Environment Variables
|
|
56
|
-
|
|
57
|
-
| Variable | Description |
|
|
58
|
-
| ----------------- | -------------------------- |
|
|
59
|
-
| `OPENAI_API_KEY` | Your API key |
|
|
60
|
-
| `OPENAI_BASE_URL` | Custom endpoint (optional) |
|
|
61
|
-
| `OPENAI_MODEL` | Default model (optional) |
|
|
62
|
-
|
|
63
|
-
## Notes
|
|
64
|
-
|
|
65
|
-
- This Termux Edition avoids provider-specific guidance in `README.md`
|
|
66
|
-
- Keep provider details in your environment or shell aliases
|
|
67
|
-
- Upstream docs remain the reference for full CLI surface area
|
|
68
|
-
|
|
69
|
-
## See Also
|
|
70
|
-
|
|
71
|
-
- [Test Reports](../test-reports/README.md)
|
|
72
|
-
- [Patches](../patches/README.md)
|
|
73
|
-
- [Build Notes](developers/BUILDING.md)
|