@mmmbuto/qwen-code-termux 0.16.1-termux → 0.18.0-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 +79 -109
- package/bundled/new-app/SKILL.md +22 -0
- package/bundled/qc-helper/SKILL.md +29 -24
- package/bundled/qc-helper/docs/_meta.ts +1 -0
- package/bundled/qc-helper/docs/configuration/_meta.ts +0 -3
- package/bundled/qc-helper/docs/configuration/settings.md +37 -31
- package/bundled/qc-helper/docs/configuration/themes.md +39 -0
- package/bundled/qc-helper/docs/features/_meta.ts +1 -3
- package/bundled/qc-helper/docs/features/approval-mode.md +35 -35
- package/bundled/qc-helper/docs/features/auto-mode.md +54 -9
- package/bundled/qc-helper/docs/features/channels/_meta.ts +1 -0
- package/bundled/qc-helper/docs/features/channels/feishu.md +170 -0
- package/bundled/qc-helper/docs/features/commands.md +115 -35
- package/bundled/qc-helper/docs/features/followup-suggestions.md +2 -2
- package/bundled/qc-helper/docs/features/headless.md +32 -0
- package/bundled/qc-helper/docs/features/markdown-rendering.md +21 -1
- package/bundled/qc-helper/docs/features/memory.md +22 -5
- package/bundled/qc-helper/docs/features/scheduled-tasks.md +1 -1
- package/bundled/qc-helper/docs/features/status-line.md +168 -32
- package/bundled/qc-helper/docs/features/sub-agents.md +60 -0
- package/bundled/qc-helper/docs/features/worktree.md +345 -0
- package/bundled/qc-helper/docs/overview.md +4 -4
- package/bundled/qc-helper/docs/quickstart.md +4 -4
- package/bundled/qc-helper/docs/qwen-serve-deploy-local.md +221 -0
- package/bundled/qc-helper/docs/qwen-serve.md +234 -24
- package/bundled/qc-helper/docs/reference/keyboard-shortcuts.md +16 -0
- package/bundled/qc-helper/docs/support/Uninstall.md +19 -1
- package/bundled/qc-helper/docs/support/troubleshooting.md +2 -1
- package/bundled/simplify/SKILL.md +123 -0
- package/chunks/agent-IDS4HMOX.js +56 -0
- package/chunks/agent-headless-5Q2EUSPS.js +50 -0
- package/chunks/{anthropicContentGenerator-SSGKR6DO.js → anthropicContentGenerator-2HBRNQ3B.js} +52 -9
- package/chunks/{askUserQuestion-PJWUUXKN.js → askUserQuestion-75TDJVK2.js} +45 -3
- package/chunks/{ca-UZ7BANMN.js → ca-BARBRL6N.js} +89 -5
- package/chunks/{chunk-GGNTZ2NH.js → chunk-2Y5SYSD3.js} +368 -597
- package/chunks/{chunk-2LA2TREA.js → chunk-3AA2DK35.js} +1448 -207
- package/chunks/{chunk-I2V5WXHJ.js → chunk-3AUHFMSK.js} +80 -38
- package/chunks/chunk-3DHXZ6EV.js +241 -0
- package/chunks/{chunk-PR4T27R7.js → chunk-3HTIVKZE.js} +42 -8
- package/chunks/chunk-3HX5LZ6R.js +1798 -0
- package/chunks/chunk-3PJXIDKI.js +2517 -0
- package/chunks/{chunk-MYAKAFEC.js → chunk-55ZMG67I.js} +7451 -3517
- package/chunks/{chunk-66CXYE4B.js → chunk-5IFG2VC4.js} +293 -242
- package/chunks/chunk-64WXLC72.js +98 -0
- package/chunks/{chunk-C6WMLUNB.js → chunk-72LDN5PP.js} +1 -1
- package/chunks/{chunk-F23NCRJ2.js → chunk-A7B4ISQP.js} +1 -1
- package/chunks/chunk-B7HXHOHU.js +393 -0
- package/chunks/{chunk-XEGHDASV.js → chunk-D3RHSPAS.js} +435 -540
- package/chunks/{chunk-XKS5KBFJ.js → chunk-EYENRK4D.js} +694 -384
- package/chunks/chunk-H6BD2ELD.js +36 -0
- package/chunks/{chunk-XP27SJMH.js → chunk-HR7SV7AY.js} +79 -48
- package/chunks/{chunk-D5NTAHYL.js → chunk-IDX6COTE.js} +7 -2
- package/chunks/{chunk-SHT4VJWU.js → chunk-IWKSG2AR.js} +2 -2
- package/chunks/chunk-J37FGIOA.js +1623 -0
- package/chunks/chunk-J5MDQKJL.js +2230 -0
- package/chunks/{chunk-USE2VQ5P.js → chunk-JTQAQBTV.js} +21 -0
- package/chunks/{chunk-NCTLV2NB.js → chunk-KQJMQJPI.js} +1 -1
- package/chunks/{chunk-5FBA5XC2.js → chunk-KRIHGKNA.js} +1 -1
- package/chunks/chunk-LD2XBG6Z.js +102 -0
- package/chunks/{chunk-MAY32HXD.js → chunk-M6VTDSVR.js} +3 -1
- package/chunks/chunk-MRO43B25.js +30 -0
- package/chunks/{chunk-N4WOREMD.js → chunk-NVFMZBX2.js} +43 -3
- package/chunks/chunk-OHEGWO4L.js +264 -0
- package/chunks/{chunk-K6O2NBMF.js → chunk-OQ7NJIY7.js} +4604 -6397
- package/chunks/chunk-QQDPRDVW.js +25 -0
- package/chunks/{chunk-KXZ4TJB4.js → chunk-SEGYWKIH.js} +1 -1
- package/chunks/chunk-SKBPNJEW.js +45 -0
- package/chunks/{chunk-4AOCVI6J.js → chunk-SNGELLWX.js} +52 -6
- package/chunks/{chunk-3OCRHZA3.js → chunk-TD4OPI4T.js} +56742 -44104
- package/chunks/{chunk-DQ4QTG7E.js → chunk-VV4F63BD.js} +11 -11
- package/chunks/chunk-XBY7E2FX.js +605 -0
- package/chunks/{chunk-JKMBWLFB.js → chunk-YILFYI5W.js} +48 -26
- package/chunks/chunk-YOGAOMYB.js +159 -0
- package/chunks/{chunk-QWSRH265.js → chunk-Z2Z3GUXZ.js} +777 -776
- package/chunks/{chunk-SDHRQFOS.js → chunk-ZTZ4DDQE.js} +2 -2
- package/chunks/computer-use-W2TYQNEE.js +825 -0
- package/chunks/contextCommand-6FGX3A7J.js +52 -0
- package/chunks/{cron-create-3ZBBN7WB.js → cron-create-APL5LU6I.js} +3 -3
- package/chunks/{cron-delete-NAGKKIIG.js → cron-delete-4SBJSCN4.js} +3 -3
- package/chunks/{cron-list-PAGRXNAI.js → cron-list-2AMGOMVO.js} +3 -3
- package/chunks/{de-V4IE2OOZ.js → de-YGKK2BC4.js} +89 -5
- package/chunks/{devtools-TWVXEJQB.js → devtools-FM6GJPYG.js} +2 -1
- package/chunks/{dist-4L54HRX2.js → dist-4LXD6L6X.js} +24 -5
- package/chunks/dist-H6ONXVLG.js +94146 -0
- package/chunks/{dist-XKWIWPWQ.js → dist-KAZ3SEBX.js} +1083 -3856
- package/chunks/{dist-BXDUQ2QY.js → dist-PK7DFCAW.js} +1 -1
- package/chunks/{edit-NVO3FOAK.js → edit-ZCEZC264.js} +30 -22
- package/chunks/{en-HGJ2SPLM.js → en-DHGYHIHX.js} +127 -6
- package/chunks/{enter-worktree-UEBG4WFC.js → enter-worktree-BBHCFCHG.js} +30 -20
- package/chunks/enterPlanMode-3M6KTD3B.js +158 -0
- package/chunks/{exit-worktree-UZ3MAQZN.js → exit-worktree-73YPIEQO.js} +27 -19
- package/chunks/exitPlanMode-TYZM6BAE.js +703 -0
- package/chunks/{fr-CJULI7ZX.js → fr-JXBKPJKQ.js} +89 -5
- package/chunks/{geminiContentGenerator-3UZFXGNT.js → geminiContentGenerator-7N2V3VW2.js} +8 -6
- package/chunks/{getMachineId-bsd-JXOSIJV2.js → getMachineId-bsd-4CASPIU4.js} +4 -4
- package/chunks/{getMachineId-darwin-TE4QRR42.js → getMachineId-darwin-HPQPEMZR.js} +4 -4
- package/chunks/{getMachineId-linux-S3OL52XK.js → getMachineId-linux-AUARKYHL.js} +3 -3
- package/chunks/{getMachineId-unsupported-DWUSBAPX.js → getMachineId-unsupported-S32ZDA2T.js} +3 -3
- package/chunks/{getMachineId-win-AAC5P3AP.js → getMachineId-win-4EFLHYIJ.js} +4 -4
- package/chunks/{glob-KNHSFFFG.js → glob-5XBCPQ2A.js} +27 -19
- package/chunks/{grep-LACWDZW4.js → grep-VIUU3A7X.js} +30 -19
- package/chunks/{ja-L7CHRQEW.js → ja-TGPZSP2B.js} +89 -5
- package/chunks/{keychain-token-storage-335UOLJ6.js → keychain-token-storage-6IU6ORQN.js} +3 -3
- package/chunks/{ls-AGXQOKSG.js → ls-JRGYIGLY.js} +4 -4
- package/chunks/{lsp-UDMUHNPA.js → lsp-SHMKFOAC.js} +3 -3
- package/chunks/{monitor-ETKWPJEH.js → monitor-6R4LIJL5.js} +40 -25
- package/chunks/{multipart-parser-3QWGTLK3.js → multipart-parser-AJ4WASWR.js} +2 -2
- package/chunks/{notebook-edit-QJJLPNYT.js → notebook-edit-5E7ULDVQ.js} +28 -20
- package/chunks/{openaiContentGenerator-CNNN424U.js → openaiContentGenerator-ZVHFKM3O.js} +17 -14
- package/chunks/{pt-M6JULLEQ.js → pt-TIBG6BIO.js} +89 -5
- package/chunks/{qwenContentGenerator-BOLCGK3R.js → qwenContentGenerator-B2VTVSPJ.js} +31 -23
- package/chunks/{qwenOAuth2-EEJGROP7.js → qwenOAuth2-2KCKWDCF.js} +6 -4
- package/chunks/read-file-GIT7BCDR.js +27 -0
- package/chunks/ripGrep-MWKFVYMS.js +48 -0
- package/chunks/{ru-QILM4HBC.js → ru-JBCHCK4L.js} +89 -5
- package/chunks/scheduler-5VOOYGBH.js +308 -0
- package/chunks/send-message-4QNWQJF4.js +244 -0
- package/chunks/{serve-OLSI7WSR.js → serve-MN6HZBWN.js} +14262 -7414
- package/chunks/shell-NQZQGFM2.js +56 -0
- package/chunks/{skill-D6YRHTTI.js → skill-WCFW4644.js} +145 -119
- package/chunks/{src-TMOD5X6F.js → src-7XL4G4DC.js} +88 -46
- package/chunks/{src-4QH4FZ6I.js → src-IHA6DTUV.js} +452 -62
- package/chunks/{syntheticOutput-5PVFDDJ4.js → syntheticOutput-YTYS2ZMQ.js} +4 -4
- package/chunks/task-create-MPORPYN6.js +19 -0
- package/chunks/task-list-R2YDYPZT.js +151 -0
- package/chunks/{task-stop-AJKPSR6R.js → task-stop-SYWJYBCM.js} +3 -3
- package/chunks/task-update-E4NSLKMQ.js +408 -0
- package/chunks/team-create-7R7KA5IP.js +314 -0
- package/chunks/team-delete-25OIWUPN.js +116 -0
- package/chunks/{todoWrite-VLAUG4CA.js → todoWrite-4YHMIF4X.js} +16 -5
- package/chunks/{tool-search-MZGHUUKD.js → tool-search-YBRVZCLI.js} +29 -11
- package/chunks/{tts-notification-K3X7X7MN.js → tts-notification-7SOEMQK4.js} +5 -4
- package/chunks/{web-fetch-OILB464A.js → web-fetch-MFIRHIHI.js} +5 -5
- package/chunks/workflow-5RIKVCIE.js +960 -0
- package/chunks/{write-file-BIQAA57V.js → write-file-DMQTJZOM.js} +32 -24
- package/chunks/{zh-PWL2NKY3.js → zh-7H5OQC4I.js} +135 -11
- package/chunks/{zh-TW-S3YGWICZ.js → zh-TW-P4IDHD3M.js} +128 -11
- package/cli.js +45402 -20570
- package/examples/agent/agents/diary.md +86 -0
- package/examples/agent/qwen-extension.json +5 -0
- package/examples/commands/commands/fs/grep-code.md +3 -0
- package/examples/commands/qwen-extension.json +5 -0
- package/examples/context/QWEN.md +8 -0
- package/examples/context/qwen-extension.json +5 -0
- package/examples/mcp-server/example.ts +60 -0
- package/examples/mcp-server/package.json +18 -0
- package/examples/mcp-server/qwen-extension.json +12 -0
- package/examples/mcp-server/tsconfig.json +13 -0
- package/examples/skills/qwen-extension.json +5 -0
- package/examples/skills/skills/synonyms/SKILL.md +48 -0
- package/examples/starter/QWEN.md +30 -0
- package/examples/starter/README.md +59 -0
- package/examples/starter/agents/diary.md +86 -0
- package/examples/starter/commands/writing/polish.md +13 -0
- package/examples/starter/example.ts +64 -0
- package/examples/starter/package.json +18 -0
- package/examples/starter/qwen-extension.json +12 -0
- package/examples/starter/skills/synonyms/SKILL.md +48 -0
- package/examples/starter/tsconfig.json +13 -0
- package/fzfWorker.js +1083 -0
- package/locales/ca.js +118 -5
- package/locales/de.js +117 -5
- package/locales/en.js +169 -7
- package/locales/fr.js +119 -5
- package/locales/ja.js +114 -5
- package/locales/pt.js +117 -5
- package/locales/ru.js +116 -5
- package/locales/zh-TW.js +161 -12
- package/locales/zh.js +169 -12
- package/package.json +4 -2
- package/scripts/postinstall.cjs +2 -1
- package/bundled/qc-helper/docs/features/checkpointing.md +0 -77
- package/chunks/agent-7ZN3CRHR.js +0 -48
- package/chunks/chunk-6PCB2DEF.js +0 -434
- package/chunks/chunk-EM6ETG2K.js +0 -60
- package/chunks/chunk-G7YTSRES.js +0 -150
- package/chunks/contextCommand-7IBASARL.js +0 -44
- package/chunks/exitPlanMode-PZAMWIRW.js +0 -227
- package/chunks/multipart-parser-IXGBIOIN.js +0 -384
- package/chunks/read-file-CCUEUFG2.js +0 -24
- package/chunks/ripGrep-TADOH2HK.js +0 -40
- package/chunks/send-message-YL44UZFC.js +0 -151
- package/chunks/shell-7KKKC5G7.js +0 -48
- package/chunks/src-IPWIHNMI.js +0 -1406
- package/chunks/undici-F6ZOXSS5.js +0 -8
package/locales/zh-TW.js
CHANGED
|
@@ -20,6 +20,7 @@ export default {
|
|
|
20
20
|
'@src/myFile.ts': '@src/myFile.ts',
|
|
21
21
|
'Shell mode': 'Shell 模式',
|
|
22
22
|
'YOLO mode': 'YOLO 模式',
|
|
23
|
+
'Auto mode': 'Auto 模式',
|
|
23
24
|
'plan mode': '規劃模式',
|
|
24
25
|
'auto-accept edits': '自動接受編輯',
|
|
25
26
|
'Accepting edits': '接受編輯',
|
|
@@ -97,7 +98,40 @@ export default {
|
|
|
97
98
|
'分析項目並創建定製的 QWEN.md 檔案',
|
|
98
99
|
'List available Qwen Code tools. Usage: /tools [desc]':
|
|
99
100
|
'列出可用的 Qwen Code 工具。用法:/tools [desc]',
|
|
100
|
-
'
|
|
101
|
+
'Open the skills panel (browse, search, toggle, pick).':
|
|
102
|
+
'開啟技能面板(瀏覽、搜尋、啟停、選擇)。',
|
|
103
|
+
'Move this session to a new working directory': '將此會話移動到新的工作目錄',
|
|
104
|
+
'Manage Skills': '管理技能',
|
|
105
|
+
'Skills configuration saved.': '技能設定已儲存。',
|
|
106
|
+
'Skills configuration saved, but refresh failed: {{error}}. Restart to ensure the new state is applied.':
|
|
107
|
+
'技能設定已儲存,但重新整理失敗:{{error}}。請重新啟動以確保新狀態生效。',
|
|
108
|
+
'Workspace is untrusted; workspace settings are ignored by the merged config. Run /trust first to persist skills changes here, or edit ~/.qwen/settings.json directly to manage skills at user scope.':
|
|
109
|
+
'目前工作區未受信任,工作區設定會被合併設定忽略。請先執行 /trust,或直接編輯 ~/.qwen/settings.json 在使用者範圍管理技能。',
|
|
110
|
+
'SkillManager not available.': 'SkillManager 不可用。',
|
|
111
|
+
'Loading skills…': '正在載入技能…',
|
|
112
|
+
'Failed to load skills: {{error}}': '載入技能失敗:{{error}}',
|
|
113
|
+
'Failed to save skills configuration: {{error}}':
|
|
114
|
+
'儲存技能設定失敗:{{error}}',
|
|
115
|
+
'All available skills are disabled. Edit ~/.qwen/settings.json or .qwen/settings.json (skills.disabled) to re-enable.':
|
|
116
|
+
'所有可用技能皆已停用。請編輯 ~/.qwen/settings.json 或 .qwen/settings.json(skills.disabled)以重新啟用。',
|
|
117
|
+
'Press esc to close.': '按 Esc 關閉。',
|
|
118
|
+
'{{count}} skills · ': '{{count}} 個技能 · ',
|
|
119
|
+
'{{matched}} / {{total}} skills · ': '{{matched}} / {{total}} 個技能 · ',
|
|
120
|
+
'Space toggle · Enter pick (fill input) · Esc save & exit · workspace scope':
|
|
121
|
+
'空白鍵 啟停 · 回車 選取(填入輸入框) · Esc 儲存並離開 · 工作區範圍',
|
|
122
|
+
'Search:': '搜尋:',
|
|
123
|
+
'type to filter…': '輸入以篩選…',
|
|
124
|
+
'No skills are currently available.': '目前沒有可用的技能。',
|
|
125
|
+
'All available skills are locked at a higher scope (see below).':
|
|
126
|
+
'所有可用技能都被更高範圍鎖定(詳見下方)。',
|
|
127
|
+
'No skills match the search.': '沒有符合搜尋條件的技能。',
|
|
128
|
+
'Locked by higher-scope settings (cannot toggle here):':
|
|
129
|
+
'被更高範圍設定鎖定(此處無法切換):',
|
|
130
|
+
'higher scope': '更高範圍',
|
|
131
|
+
' {{name}} {{description}} [locked: {{scope}}]':
|
|
132
|
+
' {{name}} {{description}} [已鎖定:{{scope}}]',
|
|
133
|
+
'↑/↓ navigate · backspace edits search': '↑/↓ 導覽 · 倒退 編輯搜尋',
|
|
134
|
+
Bundled: '內建',
|
|
101
135
|
'Available Qwen Code CLI tools:': '可用的 Qwen Code CLI 工具:',
|
|
102
136
|
'No tools available': '沒有可用工具',
|
|
103
137
|
'View or change the approval mode for tool usage':
|
|
@@ -169,12 +203,14 @@ export default {
|
|
|
169
203
|
'Clear conversation history and free up context': '清除對話歷史並釋放上下文',
|
|
170
204
|
'Compresses the context by replacing it with a summary.':
|
|
171
205
|
'通過摘要替換來壓縮上下文',
|
|
206
|
+
'Fast context compression without AI. Strips old tool outputs and thinking parts.':
|
|
207
|
+
'無需 AI 的快速上下文壓縮。清理舊工具輸出並剝離思考過程。',
|
|
172
208
|
'open full Qwen Code documentation in your browser':
|
|
173
209
|
'在瀏覽器中打開完整的 Qwen Code 文檔',
|
|
174
210
|
'Configuration not available.': '配置不可用',
|
|
175
211
|
'Connect an LLM provider': '連接 LLM 提供商',
|
|
176
|
-
'Copy the last
|
|
177
|
-
'
|
|
212
|
+
'Copy the last AI response to clipboard (/copy N for Nth-latest)':
|
|
213
|
+
'將最近的 AI 回應複製到剪貼簿(/copy N 複製倒數第 N 則)',
|
|
178
214
|
'Show working-tree change stats versus HEAD':
|
|
179
215
|
'顯示工作區相對 HEAD 的變更統計',
|
|
180
216
|
'Could not determine current working directory.': '無法確定當前工作目錄。',
|
|
@@ -414,12 +450,10 @@ export default {
|
|
|
414
450
|
Text: '文本',
|
|
415
451
|
JSON: 'JSON',
|
|
416
452
|
Plan: '規劃',
|
|
417
|
-
|
|
453
|
+
'Ask permissions': '請求授權',
|
|
418
454
|
'Auto Edit': '自動編輯',
|
|
419
455
|
YOLO: 'YOLO',
|
|
420
456
|
'toggle vim mode on/off': '切換 vim 模式開關',
|
|
421
|
-
'check session stats. Usage: /stats [model|tools]':
|
|
422
|
-
'檢查會話統計信息。用法:/stats [model|tools]',
|
|
423
457
|
'Show model-specific usage statistics.': '顯示模型相關的使用統計信息',
|
|
424
458
|
'Show tool-specific usage statistics.': '顯示工具相關的使用統計信息',
|
|
425
459
|
'exit the cli': '退出命令行界面',
|
|
@@ -514,6 +548,7 @@ export default {
|
|
|
514
548
|
'The name of the extension to update.': '要更新的擴展名稱。',
|
|
515
549
|
'Either an extension name or --all must be provided':
|
|
516
550
|
'必須提供擴展名稱或 --all',
|
|
551
|
+
'List installed extensions': '列出已安裝的擴展',
|
|
517
552
|
'Lists installed extensions.': '列出已安裝的擴展。',
|
|
518
553
|
'Path:': '路徑:',
|
|
519
554
|
'Source:': '來源:',
|
|
@@ -651,6 +686,7 @@ export default {
|
|
|
651
686
|
'After tool execution fails': '工具執行失敗後',
|
|
652
687
|
'When notifications are sent': '發送通知時',
|
|
653
688
|
'When the user submits a prompt': '用戶提交提示時',
|
|
689
|
+
'When a slash command expands into a prompt': '斜線命令展開為提示時',
|
|
654
690
|
'When a new session is started': '新會話開始時',
|
|
655
691
|
'Right before Qwen Code concludes its response': 'Qwen Code 結束響應之前',
|
|
656
692
|
'When a subagent (Agent tool call) is started':
|
|
@@ -669,6 +705,8 @@ export default {
|
|
|
669
705
|
'命令輸入為包含通知消息和類型的 JSON。',
|
|
670
706
|
'Input to command is JSON with original user prompt text.':
|
|
671
707
|
'命令輸入為包含原始用戶提示文本的 JSON。',
|
|
708
|
+
'Input to command is JSON with command_name, command_args, and expanded prompt text.':
|
|
709
|
+
'命令輸入為包含 command_name、command_args 和展開後提示文本的 JSON。',
|
|
672
710
|
'Input to command is JSON with session start source.':
|
|
673
711
|
'命令輸入為包含會話啟動來源的 JSON。',
|
|
674
712
|
'Input to command is JSON with session end reason.':
|
|
@@ -691,6 +729,8 @@ export default {
|
|
|
691
729
|
'僅向用戶顯示 stderr 但繼續工具調用',
|
|
692
730
|
'block processing, erase original prompt, and show stderr to user only':
|
|
693
731
|
'阻止處理,擦除原始提示,僅向用戶顯示 stderr',
|
|
732
|
+
'block expanded prompt submission and show stderr to user only':
|
|
733
|
+
'阻止提交展開後的提示,並僅向用戶顯示 stderr',
|
|
694
734
|
'stdout shown to Qwen': '向 Qwen 顯示 stdout',
|
|
695
735
|
'show stderr to user only (blocking errors ignored)':
|
|
696
736
|
'僅向用戶顯示 stderr(忽略阻塞錯誤)',
|
|
@@ -718,6 +758,22 @@ export default {
|
|
|
718
758
|
'根據你的聊天記錄生成個性化編程洞察',
|
|
719
759
|
'Resume a previous session': '恢復先前會話',
|
|
720
760
|
'Fork the current conversation into a new session': '將目前對話分支到新會話',
|
|
761
|
+
'Spawn a background agent that inherits the full conversation':
|
|
762
|
+
'啟動繼承完整對話的背景智能體',
|
|
763
|
+
'Please provide a directive. Usage: /fork <directive>':
|
|
764
|
+
'請提供指令。用法:/fork <指令>',
|
|
765
|
+
'Cannot fork while a response or tool call is in progress. Wait for it to finish or resolve the pending tool call.':
|
|
766
|
+
'回應或工具呼叫正在進行時無法分支。請等待其完成或處理待確認的工具呼叫。',
|
|
767
|
+
'Cannot fork before the first conversation turn.': '首次對話輪次前無法分支。',
|
|
768
|
+
'The /fork command requires the fork feature gate. Set QWEN_CODE_ENABLE_FORK_SUBAGENT=1 to enable it.':
|
|
769
|
+
'/fork 命令需要啟用 fork 功能開關。設定 QWEN_CODE_ENABLE_FORK_SUBAGENT=1 以啟用。',
|
|
770
|
+
'The agent tool is unavailable; cannot fork.': 'Agent 工具不可用;無法分支。',
|
|
771
|
+
'Failed to launch fork: {{error}}': '啟動分支失敗:{{error}}',
|
|
772
|
+
'the background agent could not be started.': '背景智能體無法啟動。',
|
|
773
|
+
'User launched a background fork via /fork: {{directive}}':
|
|
774
|
+
'使用者透過 /fork 啟動了背景分支:{{directive}}',
|
|
775
|
+
'Forked into a background agent. It inherits this conversation and runs without blocking — track it in the background tasks panel; it reports back when done.':
|
|
776
|
+
'已分支到背景智能體。它會繼承此對話並以非阻塞方式執行,可在背景任務面板中追蹤;完成後會回報結果。',
|
|
721
777
|
'Cannot branch while a response or tool call is in progress. Wait for it to finish or resolve the pending tool call.':
|
|
722
778
|
'回應或工具呼叫正在進行時無法分支。請等待其完成或處理待確認的工具呼叫。',
|
|
723
779
|
'No conversation to branch.': '沒有可分支的對話。',
|
|
@@ -753,12 +809,13 @@ export default {
|
|
|
753
809
|
'Available options:': '可用選項:',
|
|
754
810
|
'Set UI language to {{name}}': '將 UI 語言設置為 {{name}}',
|
|
755
811
|
'Tool Approval Mode': '工具審批模式',
|
|
756
|
-
'{{mode}} mode': '{{mode}} 模式',
|
|
757
812
|
'Analyze only, do not modify files or execute commands':
|
|
758
813
|
'僅分析,不修改檔案或執行命令',
|
|
759
814
|
'Require approval for file edits or shell commands':
|
|
760
815
|
'需要批准檔案編輯或 shell 命令',
|
|
761
816
|
'Automatically approve file edits': '自動批准檔案編輯',
|
|
817
|
+
'Use classifier to automatically approve safe tool calls':
|
|
818
|
+
'使用分類器自動批准安全的工具調用',
|
|
762
819
|
'Automatically approve all tools': '自動批准所有工具',
|
|
763
820
|
'Workspace approval mode exists and takes priority. User-level change will have no effect.':
|
|
764
821
|
'工作區審批模式已存在並具有優先級。用戶級別的更改將無效。',
|
|
@@ -768,6 +825,7 @@ export default {
|
|
|
768
825
|
'Auto-memory: {{status}}': '自動記憶:{{status}}',
|
|
769
826
|
'Auto-dream: {{status}} · {{lastDream}} · /dream to run':
|
|
770
827
|
'自動整理:{{status}} · {{lastDream}} · /dream 立即運行',
|
|
828
|
+
'Auto-skill: {{status}}': '自動技能:{{status}}',
|
|
771
829
|
never: '從未',
|
|
772
830
|
on: '開',
|
|
773
831
|
off: '關',
|
|
@@ -1008,7 +1066,7 @@ export default {
|
|
|
1008
1066
|
'Time remaining:': '剩餘時間:',
|
|
1009
1067
|
'Qwen OAuth Authentication Timeout': 'Qwen OAuth 認證超時',
|
|
1010
1068
|
'OAuth token expired (over {{seconds}} seconds). Please select authentication method again.':
|
|
1011
|
-
'OAuth
|
|
1069
|
+
'OAuth token 已過期(超過 {{seconds}} 秒)。請重新選擇認證方法',
|
|
1012
1070
|
'Press any key to return to authentication type selection.':
|
|
1013
1071
|
'按任意鍵返回認證類型選擇',
|
|
1014
1072
|
'Waiting for Qwen OAuth authentication...': '正在等待 Qwen OAuth 認證...',
|
|
@@ -1207,22 +1265,41 @@ export default {
|
|
|
1207
1265
|
'Tool Time:': '工具時間:',
|
|
1208
1266
|
'Session Stats': '會話統計',
|
|
1209
1267
|
'Model Usage': '模型使用情況',
|
|
1210
|
-
Reqs: '請求數',
|
|
1211
1268
|
'Input Tokens': '輸入 token 數',
|
|
1212
1269
|
'Output Tokens': '輸出 token 數',
|
|
1213
1270
|
'Savings Highlight:': '節省亮點:',
|
|
1214
1271
|
'of input tokens were served from the cache, reducing costs.':
|
|
1215
1272
|
'從緩存載入 token ,降低了成本',
|
|
1216
1273
|
'Tip: For a full token breakdown, run `/stats model`.':
|
|
1217
|
-
'
|
|
1274
|
+
'提示:要查看完整的 token 明細,請運行 `/stats model`',
|
|
1218
1275
|
'Model Stats For Nerds': '模型統計(技術細節)',
|
|
1219
1276
|
'Tool Stats For Nerds': '工具統計(技術細節)',
|
|
1220
1277
|
Metric: '指標',
|
|
1221
1278
|
API: 'API',
|
|
1279
|
+
Session: '會話',
|
|
1280
|
+
Activity: '概覽',
|
|
1281
|
+
Efficiency: '性能',
|
|
1282
|
+
Success: '成功率',
|
|
1283
|
+
Today: '今天',
|
|
1284
|
+
'Token Trend': 'Token 趨勢',
|
|
1285
|
+
'Cache Hit Rate': '緩存命中率',
|
|
1286
|
+
'Tool Success': '工具成功率',
|
|
1287
|
+
'Tool Leaderboard': '工具排行',
|
|
1288
|
+
Calls: '調用次數',
|
|
1289
|
+
Time: '耗時',
|
|
1290
|
+
Reqs: '請求',
|
|
1291
|
+
Cache: '緩存',
|
|
1292
|
+
Latency: '延遲',
|
|
1293
|
+
'In/Out': '輸入/輸出',
|
|
1294
|
+
'Code Impact': '代碼變更',
|
|
1295
|
+
'Failed to load stats. Press r to retry.': '載入統計失敗,按 r 重試。',
|
|
1296
|
+
net: '淨增',
|
|
1297
|
+
streak: '連續',
|
|
1298
|
+
best: '最長',
|
|
1222
1299
|
Requests: '請求數',
|
|
1223
1300
|
Errors: '錯誤數',
|
|
1224
1301
|
'Avg Latency': '平均延遲',
|
|
1225
|
-
Tokens: '
|
|
1302
|
+
Tokens: 'Token',
|
|
1226
1303
|
Total: '總計',
|
|
1227
1304
|
Prompt: '提示',
|
|
1228
1305
|
Cached: '緩存',
|
|
@@ -1231,7 +1308,6 @@ export default {
|
|
|
1231
1308
|
'No API calls have been made in this session.':
|
|
1232
1309
|
'本次會話中未進行任何 API 調用',
|
|
1233
1310
|
'Tool Name': '工具名稱',
|
|
1234
|
-
Calls: '調用次數',
|
|
1235
1311
|
'Success Rate': '成功率',
|
|
1236
1312
|
'Avg Duration': '平均耗時',
|
|
1237
1313
|
'User Decision Summary': '用戶決策摘要',
|
|
@@ -1484,6 +1560,18 @@ export default {
|
|
|
1484
1560
|
// === Core: added from PR #3328 ===
|
|
1485
1561
|
'Open the memory manager.': '打開記憶管理器。',
|
|
1486
1562
|
'Show current process memory diagnostics': '顯示目前程序的內存診斷。',
|
|
1563
|
+
'Record a CPU profile for Chrome DevTools analysis':
|
|
1564
|
+
'錄製 CPU 效能分析檔案,用於 Chrome DevTools 分析',
|
|
1565
|
+
'Roll back a standalone update to the previous version':
|
|
1566
|
+
'將獨立安裝回滾到上一個版本',
|
|
1567
|
+
'Rollback is not available in ACP mode.': '回滾在 ACP 模式下不可用。',
|
|
1568
|
+
'Rollback is only available for standalone installations.':
|
|
1569
|
+
'回滾僅適用於獨立安裝。',
|
|
1570
|
+
'Rollback successful. Restart your terminal to use the previous version.':
|
|
1571
|
+
'回滾成功。請重啟終端以使用上一個版本。',
|
|
1572
|
+
'Rollback failed:': '回滾失敗:',
|
|
1573
|
+
'Rollback on Windows requires manual intervention. Rename qwen-code.old to qwen-code in your installation directory.':
|
|
1574
|
+
'在 Windows 上回滾需要手動操作。請將安裝目錄中的 qwen-code.old 重新命名為 qwen-code。',
|
|
1487
1575
|
'Save a durable memory to the memory system.': '將持久記憶保存到記憶系統。',
|
|
1488
1576
|
'Ask a quick side question without affecting the main conversation':
|
|
1489
1577
|
'在不影響主對話的情況下快速提問旁支問題',
|
|
@@ -1579,7 +1667,68 @@ export default {
|
|
|
1579
1667
|
"The scheduler gate did not see this dream's timestamp; the next dream cycle may re-fire sooner than usual.":
|
|
1580
1668
|
'排程門控未看到本次記憶整理的時間戳;下一輪記憶整理可能會比平時更早重新觸發。',
|
|
1581
1669
|
|
|
1670
|
+
// Stats Dashboard — Category 2 (missing from zh-TW)
|
|
1671
|
+
'Activity Heatmap': '活動熱力圖',
|
|
1672
|
+
Less: '少',
|
|
1673
|
+
More: '多',
|
|
1674
|
+
Sessions: '會話數',
|
|
1675
|
+
Duration: '時長',
|
|
1676
|
+
Projects: '專案統計',
|
|
1677
|
+
'Loading stats...': '載入統計...',
|
|
1678
|
+
'(no data)': '(暫無資料)',
|
|
1679
|
+
d: '天',
|
|
1680
|
+
h: '時',
|
|
1681
|
+
m: '分',
|
|
1682
|
+
Input: '輸入',
|
|
1683
|
+
Models: '模型',
|
|
1684
|
+
'All time': '所有時間',
|
|
1685
|
+
'Last 7 days': '最近 7 天',
|
|
1686
|
+
'Last 30 days': '最近 30 天',
|
|
1687
|
+
'Show usage statistics dashboard.': '顯示使用統計面板。',
|
|
1688
|
+
|
|
1689
|
+
// Stats Dashboard — keyboard hints (not translated)
|
|
1690
|
+
'tab \xB7 esc': 'tab \xB7 esc',
|
|
1691
|
+
'tab \xB7 r dates \xB7 \u2190\u2192 month \xB7 esc':
|
|
1692
|
+
'tab \xB7 r dates \xB7 \u2190\u2192 month \xB7 esc',
|
|
1693
|
+
'tab \xB7 r dates \xB7 esc': 'tab \xB7 r dates \xB7 esc',
|
|
1694
|
+
|
|
1695
|
+
// Stats Dashboard — missing labels
|
|
1696
|
+
'API Requests': 'API 請求',
|
|
1697
|
+
'Tool Calls': '工具呼叫',
|
|
1698
|
+
'Success rate': '成功率',
|
|
1699
|
+
'Code Changes': '程式碼變更',
|
|
1700
|
+
Tool: '工具',
|
|
1701
|
+
reqs: '請求',
|
|
1702
|
+
in: '輸入',
|
|
1703
|
+
out: '輸出',
|
|
1704
|
+
|
|
1705
|
+
// statsCommand non-interactive output
|
|
1706
|
+
'API requests: {{count}}': 'API 請求:{{count}}',
|
|
1707
|
+
'Code changes': '程式碼變更',
|
|
1708
|
+
Cost: '費用',
|
|
1709
|
+
'Estimated cost: ${{cost}}': '預估費用:${{cost}}',
|
|
1710
|
+
'Files: +{{added}} / -{{removed}} lines':
|
|
1711
|
+
'檔案:+{{added}} / -{{removed}} 行',
|
|
1712
|
+
'N/A': 'N/A',
|
|
1713
|
+
Name: '名稱',
|
|
1714
|
+
'No model usage data yet.': '尚無模型使用資料。',
|
|
1715
|
+
'No tool usage data yet.': '尚無工具使用資料。',
|
|
1716
|
+
'Prompts: {{count}}': '提示:{{count}}',
|
|
1717
|
+
'Session duration: {{duration}}': '會話時長:{{duration}}',
|
|
1718
|
+
'Tokens \u2014 prompt: {{prompt}}, output: {{output}}':
|
|
1719
|
+
'Token — 輸入:{{prompt}},輸出:{{output}}',
|
|
1720
|
+
'Tool calls': '工具呼叫',
|
|
1721
|
+
'Tool calls: {{total}} ({{success}} ok, {{fail}} fail)':
|
|
1722
|
+
'工具呼叫:{{total}}({{success}} 成功,{{fail}} 失敗)',
|
|
1723
|
+
cached: '快取',
|
|
1724
|
+
days: '天',
|
|
1725
|
+
output: '輸出',
|
|
1726
|
+
prompt: '輸入',
|
|
1727
|
+
'\u2191 tabs \u00B7 r to cycle dates \u00B7 esc to close':
|
|
1728
|
+
'\u2191 tab 切換標籤 \u00B7 r 切換時間範圍 \u00B7 esc 關閉',
|
|
1729
|
+
|
|
1582
1730
|
// === Same-as-English optimization ===
|
|
1583
1731
|
' (not in model registry)': '(不在模型註冊表中)',
|
|
1584
1732
|
'start server': '啟動伺服器',
|
|
1733
|
+
'No compression needed.': '無需壓縮。',
|
|
1585
1734
|
};
|
package/locales/zh.js
CHANGED
|
@@ -22,6 +22,7 @@ export default {
|
|
|
22
22
|
'@src/myFile.ts': '@src/myFile.ts',
|
|
23
23
|
'Shell mode': 'Shell 模式',
|
|
24
24
|
'YOLO mode': 'YOLO 模式',
|
|
25
|
+
'Auto mode': 'Auto 模式',
|
|
25
26
|
'plan mode': '规划模式',
|
|
26
27
|
'auto-accept edits': '自动接受编辑',
|
|
27
28
|
'Accepting edits': '接受编辑',
|
|
@@ -108,7 +109,44 @@ export default {
|
|
|
108
109
|
'分析项目并创建定制的 QWEN.md 文件',
|
|
109
110
|
'List available Qwen Code tools. Usage: /tools [desc]':
|
|
110
111
|
'列出可用的 Qwen Code 工具。用法:/tools [desc]',
|
|
111
|
-
'
|
|
112
|
+
'Open the skills panel (browse, search, toggle, pick).':
|
|
113
|
+
'打开技能面板(浏览、搜索、启停、选择)。',
|
|
114
|
+
'Move this session to a new working directory': '将此会话移动到新的工作目录',
|
|
115
|
+
// SkillsManagerDialog (`/skills` 弹出的面板)
|
|
116
|
+
'Manage Skills': '管理技能',
|
|
117
|
+
'Skills configuration saved.': '技能配置已保存。',
|
|
118
|
+
'Skills configuration saved, but refresh failed: {{error}}. Restart to ensure the new state is applied.':
|
|
119
|
+
'技能配置已保存,但刷新失败:{{error}}。请重启以确保新状态生效。',
|
|
120
|
+
'Workspace is untrusted; workspace settings are ignored by the merged config. Run /trust first to persist skills changes here, or edit ~/.qwen/settings.json directly to manage skills at user scope.':
|
|
121
|
+
'当前工作区未受信任,工作区设置会被合并配置忽略。请先执行 /trust,或直接编辑 ~/.qwen/settings.json 在用户范围管理技能。',
|
|
122
|
+
'SkillManager not available.': 'SkillManager 不可用。',
|
|
123
|
+
'Loading skills…': '正在加载技能…',
|
|
124
|
+
'Failed to load skills: {{error}}': '加载技能失败:{{error}}',
|
|
125
|
+
'Failed to save skills configuration: {{error}}':
|
|
126
|
+
'保存技能配置失败:{{error}}',
|
|
127
|
+
'All available skills are disabled. Edit ~/.qwen/settings.json or .qwen/settings.json (skills.disabled) to re-enable.':
|
|
128
|
+
'所有可用技能均已禁用。请编辑 ~/.qwen/settings.json 或 .qwen/settings.json(skills.disabled)以重新启用。',
|
|
129
|
+
'Press esc to close.': '按 Esc 关闭。',
|
|
130
|
+
'{{count}} skills · ': '{{count}} 个技能 · ',
|
|
131
|
+
'{{matched}} / {{total}} skills · ': '{{matched}} / {{total}} 个技能 · ',
|
|
132
|
+
'Space toggle · Enter pick (fill input) · Esc save & exit · workspace scope':
|
|
133
|
+
'空格 启停 · 回车 选中(填入输入框) · Esc 保存并退出 · 工作区范围',
|
|
134
|
+
'Search:': '搜索:',
|
|
135
|
+
'type to filter…': '输入以过滤…',
|
|
136
|
+
'No skills are currently available.': '当前没有可用的技能。',
|
|
137
|
+
'All available skills are locked at a higher scope (see below).':
|
|
138
|
+
'所有可用技能都被更高范围锁定(详见下方)。',
|
|
139
|
+
'No skills match the search.': '没有匹配搜索的技能。',
|
|
140
|
+
'Locked by higher-scope settings (cannot toggle here):':
|
|
141
|
+
'被更高范围设置锁定(此处无法切换):',
|
|
142
|
+
'higher scope': '更高范围',
|
|
143
|
+
' {{name}} {{description}} [locked: {{scope}}]':
|
|
144
|
+
' {{name}} {{description}} [已锁定:{{scope}}]',
|
|
145
|
+
'↑/↓ navigate · backspace edits search': '↑/↓ 导航 · 退格 编辑搜索',
|
|
146
|
+
// Note: Project / User / Extension are already translated elsewhere in
|
|
147
|
+
// this file. `Bundled` is new — only the SkillsManagerDialog uses it
|
|
148
|
+
// as a level label so far.
|
|
149
|
+
Bundled: '内置',
|
|
112
150
|
'Available Qwen Code CLI tools:': '可用的 Qwen Code CLI 工具:',
|
|
113
151
|
'No tools available': '没有可用工具',
|
|
114
152
|
'View or change the approval mode for tool usage':
|
|
@@ -180,12 +218,14 @@ export default {
|
|
|
180
218
|
'Clear conversation history and free up context': '清除对话历史并释放上下文',
|
|
181
219
|
'Compresses the context by replacing it with a summary.':
|
|
182
220
|
'通过摘要替换来压缩上下文',
|
|
221
|
+
'Fast context compression without AI. Strips old tool outputs and thinking parts.':
|
|
222
|
+
'无需 AI 的快速上下文压缩。清理旧工具输出并剥离思考过程。',
|
|
183
223
|
'open full Qwen Code documentation in your browser':
|
|
184
224
|
'在浏览器中打开完整的 Qwen Code 文档',
|
|
185
225
|
'Configuration not available.': '配置不可用',
|
|
186
226
|
'Connect an LLM provider': '连接 LLM 提供商',
|
|
187
|
-
'Copy the last
|
|
188
|
-
'
|
|
227
|
+
'Copy the last AI response to clipboard (/copy N for Nth-latest)':
|
|
228
|
+
'将最近的 AI 回复复制到剪贴板(/copy N 复制倒数第 N 条)',
|
|
189
229
|
'Show working-tree change stats versus HEAD':
|
|
190
230
|
'显示工作区相对 HEAD 的变更统计',
|
|
191
231
|
'Could not determine current working directory.': '无法确定当前工作目录。',
|
|
@@ -451,12 +491,11 @@ export default {
|
|
|
451
491
|
Text: '文本',
|
|
452
492
|
JSON: 'JSON',
|
|
453
493
|
Plan: '规划',
|
|
454
|
-
|
|
494
|
+
'Ask permissions': '请求授权',
|
|
455
495
|
'Auto Edit': '自动编辑',
|
|
456
496
|
YOLO: 'YOLO',
|
|
457
497
|
'toggle vim mode on/off': '切换 vim 模式开关',
|
|
458
|
-
'
|
|
459
|
-
'检查会话统计信息。用法:/stats [model|tools]',
|
|
498
|
+
'Show usage statistics dashboard.': '显示使用统计面板。',
|
|
460
499
|
'Show model-specific usage statistics.': '显示模型相关的使用统计信息',
|
|
461
500
|
'Show tool-specific usage statistics.': '显示工具相关的使用统计信息',
|
|
462
501
|
'exit the cli': '退出命令行界面',
|
|
@@ -551,6 +590,7 @@ export default {
|
|
|
551
590
|
'The name of the extension to update.': '要更新的扩展名称。',
|
|
552
591
|
'Either an extension name or --all must be provided':
|
|
553
592
|
'必须提供扩展名称或 --all',
|
|
593
|
+
'List installed extensions': '列出已安装的扩展',
|
|
554
594
|
'Lists installed extensions.': '列出已安装的扩展。',
|
|
555
595
|
'Path:': '路径:',
|
|
556
596
|
'Source:': '来源:',
|
|
@@ -701,6 +741,7 @@ export default {
|
|
|
701
741
|
'After tool execution fails': '工具执行失败后',
|
|
702
742
|
'When notifications are sent': '发送通知时',
|
|
703
743
|
'When the user submits a prompt': '用户提交提示时',
|
|
744
|
+
'When a slash command expands into a prompt': '斜杠命令展开为提示时',
|
|
704
745
|
'When a new session is started': '新会话开始时',
|
|
705
746
|
'Right before Qwen Code concludes its response': 'Qwen Code 结束响应之前',
|
|
706
747
|
'When a subagent (Agent tool call) is started':
|
|
@@ -722,6 +763,8 @@ export default {
|
|
|
722
763
|
'命令输入为包含通知消息和类型的 JSON。',
|
|
723
764
|
'Input to command is JSON with original user prompt text.':
|
|
724
765
|
'命令输入为包含原始用户提示文本的 JSON。',
|
|
766
|
+
'Input to command is JSON with command_name, command_args, and expanded prompt text.':
|
|
767
|
+
'命令输入为包含 command_name、command_args 和展开后提示文本的 JSON。',
|
|
725
768
|
'Input to command is JSON with session start source.':
|
|
726
769
|
'命令输入为包含会话启动来源的 JSON。',
|
|
727
770
|
'Input to command is JSON with session end reason.':
|
|
@@ -749,6 +792,8 @@ export default {
|
|
|
749
792
|
'仅向用户显示 stderr 但继续工具调用',
|
|
750
793
|
'block processing, erase original prompt, and show stderr to user only':
|
|
751
794
|
'阻止处理,擦除原始提示,仅向用户显示 stderr',
|
|
795
|
+
'block expanded prompt submission and show stderr to user only':
|
|
796
|
+
'阻止提交展开后的提示,并仅向用户显示 stderr',
|
|
752
797
|
'stdout shown to Qwen': '向 Qwen 显示 stdout',
|
|
753
798
|
'show stderr to user only (blocking errors ignored)':
|
|
754
799
|
'仅向用户显示 stderr(忽略阻塞错误)',
|
|
@@ -794,6 +839,22 @@ export default {
|
|
|
794
839
|
// ============================================================================
|
|
795
840
|
'Resume a previous session': '恢复先前会话',
|
|
796
841
|
'Fork the current conversation into a new session': '将当前对话分支到新会话',
|
|
842
|
+
'Spawn a background agent that inherits the full conversation':
|
|
843
|
+
'启动继承完整对话的后台智能体',
|
|
844
|
+
'Please provide a directive. Usage: /fork <directive>':
|
|
845
|
+
'请提供指令。用法:/fork <指令>',
|
|
846
|
+
'Cannot fork while a response or tool call is in progress. Wait for it to finish or resolve the pending tool call.':
|
|
847
|
+
'响应或工具调用正在进行时无法分支。请等待其完成或处理待确认的工具调用。',
|
|
848
|
+
'Cannot fork before the first conversation turn.': '首次对话轮次前无法分支。',
|
|
849
|
+
'The /fork command requires the fork feature gate. Set QWEN_CODE_ENABLE_FORK_SUBAGENT=1 to enable it.':
|
|
850
|
+
'/fork 命令需要启用 fork 功能开关。设置 QWEN_CODE_ENABLE_FORK_SUBAGENT=1 以启用。',
|
|
851
|
+
'The agent tool is unavailable; cannot fork.': 'Agent 工具不可用;无法分支。',
|
|
852
|
+
'Failed to launch fork: {{error}}': '启动分支失败:{{error}}',
|
|
853
|
+
'the background agent could not be started.': '后台智能体无法启动。',
|
|
854
|
+
'User launched a background fork via /fork: {{directive}}':
|
|
855
|
+
'用户通过 /fork 启动了后台分支:{{directive}}',
|
|
856
|
+
'Forked into a background agent. It inherits this conversation and runs without blocking — track it in the background tasks panel; it reports back when done.':
|
|
857
|
+
'已分支到后台智能体。它会继承此对话并以非阻塞方式运行,可在后台任务面板中跟踪;完成后会回报结果。',
|
|
797
858
|
'Cannot branch while a response or tool call is in progress. Wait for it to finish or resolve the pending tool call.':
|
|
798
859
|
'响应或工具调用正在进行时无法分支。请等待其完成或处理待确认的工具调用。',
|
|
799
860
|
'No conversation to branch.': '没有可分支的对话。',
|
|
@@ -837,12 +898,13 @@ export default {
|
|
|
837
898
|
// Commands - Approval Mode
|
|
838
899
|
// ============================================================================
|
|
839
900
|
'Tool Approval Mode': '工具审批模式',
|
|
840
|
-
'{{mode}} mode': '{{mode}} 模式',
|
|
841
901
|
'Analyze only, do not modify files or execute commands':
|
|
842
902
|
'仅分析,不修改文件或执行命令',
|
|
843
903
|
'Require approval for file edits or shell commands':
|
|
844
904
|
'需要批准文件编辑或 shell 命令',
|
|
845
905
|
'Automatically approve file edits': '自动批准文件编辑',
|
|
906
|
+
'Use classifier to automatically approve safe tool calls':
|
|
907
|
+
'使用分类器自动批准安全的工具调用',
|
|
846
908
|
'Automatically approve all tools': '自动批准所有工具',
|
|
847
909
|
'Workspace approval mode exists and takes priority. User-level change will have no effect.':
|
|
848
910
|
'工作区审批模式已存在并具有优先级。用户级别的更改将无效。',
|
|
@@ -852,6 +914,7 @@ export default {
|
|
|
852
914
|
'Auto-memory: {{status}}': '自动记忆:{{status}}',
|
|
853
915
|
'Auto-dream: {{status}} · {{lastDream}} · /dream to run':
|
|
854
916
|
'自动整理:{{status}} · {{lastDream}} · /dream 立即运行',
|
|
917
|
+
'Auto-skill: {{status}}': '自动技能:{{status}}',
|
|
855
918
|
never: '从未',
|
|
856
919
|
on: '开',
|
|
857
920
|
off: '关',
|
|
@@ -1140,7 +1203,7 @@ export default {
|
|
|
1140
1203
|
'Time remaining:': '剩余时间:',
|
|
1141
1204
|
'Qwen OAuth Authentication Timeout': 'Qwen OAuth 认证超时',
|
|
1142
1205
|
'OAuth token expired (over {{seconds}} seconds). Please select authentication method again.':
|
|
1143
|
-
'OAuth
|
|
1206
|
+
'OAuth token 已过期(超过 {{seconds}} 秒)。请重新选择认证方法',
|
|
1144
1207
|
'Press any key to return to authentication type selection.':
|
|
1145
1208
|
'按任意键返回认证类型选择',
|
|
1146
1209
|
'Waiting for Qwen OAuth authentication...': '正在等待 Qwen OAuth 认证...',
|
|
@@ -1363,22 +1426,41 @@ export default {
|
|
|
1363
1426
|
'Tool Time:': '工具时间:',
|
|
1364
1427
|
'Session Stats': '会话统计',
|
|
1365
1428
|
'Model Usage': '模型使用情况',
|
|
1366
|
-
Reqs: '请求数',
|
|
1367
1429
|
'Input Tokens': '输入 token 数',
|
|
1368
1430
|
'Output Tokens': '输出 token 数',
|
|
1369
1431
|
'Savings Highlight:': '节省亮点:',
|
|
1370
1432
|
'of input tokens were served from the cache, reducing costs.':
|
|
1371
1433
|
'从缓存载入 token ,降低了成本',
|
|
1372
1434
|
'Tip: For a full token breakdown, run `/stats model`.':
|
|
1373
|
-
'
|
|
1435
|
+
'提示:要查看完整的 token 明细,请运行 `/stats model`',
|
|
1374
1436
|
'Model Stats For Nerds': '模型统计(技术细节)',
|
|
1375
1437
|
'Tool Stats For Nerds': '工具统计(技术细节)',
|
|
1376
1438
|
Metric: '指标',
|
|
1377
1439
|
API: 'API',
|
|
1440
|
+
Session: '会话',
|
|
1441
|
+
Activity: '概览',
|
|
1442
|
+
Efficiency: '性能',
|
|
1443
|
+
Success: '成功率',
|
|
1444
|
+
Today: '今天',
|
|
1445
|
+
'Token Trend': 'Token 趋势',
|
|
1446
|
+
'Cache Hit Rate': '缓存命中率',
|
|
1447
|
+
'Tool Success': '工具成功率',
|
|
1448
|
+
'Tool Leaderboard': '工具排行',
|
|
1449
|
+
Calls: '调用次数',
|
|
1450
|
+
Time: '耗时',
|
|
1451
|
+
Reqs: '请求',
|
|
1452
|
+
Cache: '缓存',
|
|
1453
|
+
Latency: '延迟',
|
|
1454
|
+
'In/Out': '输入/输出',
|
|
1455
|
+
'Code Impact': '代码变更',
|
|
1456
|
+
'Failed to load stats. Press r to retry.': '加载统计失败,按 r 重试。',
|
|
1457
|
+
net: '净增',
|
|
1458
|
+
streak: '连续',
|
|
1459
|
+
best: '最长',
|
|
1378
1460
|
Requests: '请求数',
|
|
1379
1461
|
Errors: '错误数',
|
|
1380
1462
|
'Avg Latency': '平均延迟',
|
|
1381
|
-
Tokens: '
|
|
1463
|
+
Tokens: 'Token',
|
|
1382
1464
|
Total: '总计',
|
|
1383
1465
|
Prompt: '提示',
|
|
1384
1466
|
Cached: '缓存',
|
|
@@ -1387,7 +1469,6 @@ export default {
|
|
|
1387
1469
|
'No API calls have been made in this session.':
|
|
1388
1470
|
'本次会话中未进行任何 API 调用',
|
|
1389
1471
|
'Tool Name': '工具名称',
|
|
1390
|
-
Calls: '调用次数',
|
|
1391
1472
|
'Success Rate': '成功率',
|
|
1392
1473
|
'Avg Duration': '平均耗时',
|
|
1393
1474
|
'User Decision Summary': '用户决策摘要',
|
|
@@ -1719,6 +1800,18 @@ export default {
|
|
|
1719
1800
|
'Loading suggestions...': '正在加载建议...',
|
|
1720
1801
|
'Open the memory manager.': '打开记忆管理器。',
|
|
1721
1802
|
'Show current process memory diagnostics': '显示当前进程的内存诊断。',
|
|
1803
|
+
'Record a CPU profile for Chrome DevTools analysis':
|
|
1804
|
+
'录制 CPU 性能分析文件,用于 Chrome DevTools 分析',
|
|
1805
|
+
'Roll back a standalone update to the previous version':
|
|
1806
|
+
'将独立安装回滚到上一个版本',
|
|
1807
|
+
'Rollback is not available in ACP mode.': '回滚在 ACP 模式下不可用。',
|
|
1808
|
+
'Rollback is only available for standalone installations.':
|
|
1809
|
+
'回滚仅适用于独立安装。',
|
|
1810
|
+
'Rollback successful. Restart your terminal to use the previous version.':
|
|
1811
|
+
'回滚成功。请重启终端以使用上一个版本。',
|
|
1812
|
+
'Rollback failed:': '回滚失败:',
|
|
1813
|
+
'Rollback on Windows requires manual intervention. Rename qwen-code.old to qwen-code in your installation directory.':
|
|
1814
|
+
'在 Windows 上回滚需要手动操作。请将安装目录中的 qwen-code.old 重命名为 qwen-code。',
|
|
1722
1815
|
'Save a durable memory to the memory system.':
|
|
1723
1816
|
'将一条持久记忆保存到记忆系统。',
|
|
1724
1817
|
'Show per-item context usage breakdown.': '显示按项目划分的上下文使用详情。',
|
|
@@ -1768,10 +1861,74 @@ export default {
|
|
|
1768
1861
|
"The scheduler gate did not see this dream's timestamp; the next dream cycle may re-fire sooner than usual.":
|
|
1769
1862
|
'调度门控未看到本次记忆整理的时间戳;下一轮记忆整理可能会比平时更早重新触发。',
|
|
1770
1863
|
|
|
1864
|
+
// ============================================================================
|
|
1865
|
+
// Stats
|
|
1866
|
+
// ============================================================================
|
|
1867
|
+
|
|
1868
|
+
// statsCommand non-interactive output
|
|
1869
|
+
'Session duration: {{duration}}': '会话时长:{{duration}}',
|
|
1870
|
+
'Prompts: {{count}}': '提示次数:{{count}}',
|
|
1871
|
+
'API requests: {{count}}': 'API 请求数:{{count}}',
|
|
1872
|
+
'Tokens — prompt: {{prompt}}, output: {{output}}':
|
|
1873
|
+
'Tokens — 输入:{{prompt}},输出:{{output}}',
|
|
1874
|
+
'Tool calls: {{total}} ({{success}} ok, {{fail}} fail)':
|
|
1875
|
+
'工具调用:{{total}}({{success}} 成功,{{fail}} 失败)',
|
|
1876
|
+
'Files: +{{added}} / -{{removed}} lines':
|
|
1877
|
+
'文件:+{{added}} / -{{removed}} 行',
|
|
1878
|
+
prompt: '输入',
|
|
1879
|
+
output: '输出',
|
|
1880
|
+
cached: '缓存',
|
|
1881
|
+
'Estimated cost: ${{cost}}': '预估费用:${{cost}}',
|
|
1882
|
+
'No model usage data yet.': '暂无模型使用数据。',
|
|
1883
|
+
'No tool usage data yet.': '暂无工具使用数据。',
|
|
1884
|
+
|
|
1885
|
+
// StatsDialog
|
|
1886
|
+
Models: '模型',
|
|
1887
|
+
'All time': '所有时间',
|
|
1888
|
+
'Last 7 days': '最近 7 天',
|
|
1889
|
+
'Last 30 days': '最近 30 天',
|
|
1890
|
+
'N/A': '无',
|
|
1891
|
+
Sessions: '会话数',
|
|
1892
|
+
days: '天',
|
|
1893
|
+
Input: '输入',
|
|
1894
|
+
'Tool calls': '工具调用',
|
|
1895
|
+
'Code changes': '代码变更',
|
|
1896
|
+
Projects: '项目统计',
|
|
1897
|
+
Name: '名称',
|
|
1898
|
+
Duration: '时长',
|
|
1899
|
+
'Activity Heatmap': '用量热力统计',
|
|
1900
|
+
'Loading stats...': '加载统计数据...',
|
|
1901
|
+
'\u2191 tabs \u00b7 r to cycle dates \u00b7 esc to close':
|
|
1902
|
+
'\u2191 tab 切换标签 \u00b7 r 切换时间范围 \u00b7 esc 关闭',
|
|
1903
|
+
Cost: '费用',
|
|
1904
|
+
Less: '少',
|
|
1905
|
+
More: '多',
|
|
1906
|
+
'(no data)': '(无数据)',
|
|
1907
|
+
d: '天',
|
|
1908
|
+
h: '时',
|
|
1909
|
+
m: '分',
|
|
1910
|
+
|
|
1911
|
+
// Stats Dashboard — keyboard hints (not translated)
|
|
1912
|
+
'tab \xB7 esc': 'tab \xB7 esc',
|
|
1913
|
+
'tab \xB7 r dates \xB7 \u2190\u2192 month \xB7 esc':
|
|
1914
|
+
'tab \xB7 r dates \xB7 \u2190\u2192 month \xB7 esc',
|
|
1915
|
+
'tab \xB7 r dates \xB7 esc': 'tab \xB7 r dates \xB7 esc',
|
|
1916
|
+
|
|
1917
|
+
// Stats Dashboard — missing labels
|
|
1918
|
+
'API Requests': 'API 请求',
|
|
1919
|
+
'Tool Calls': '工具调用',
|
|
1920
|
+
'Success rate': '成功率',
|
|
1921
|
+
'Code Changes': '代码变更',
|
|
1922
|
+
Tool: '工具',
|
|
1923
|
+
reqs: '请求',
|
|
1924
|
+
in: '输入',
|
|
1925
|
+
out: '输出',
|
|
1926
|
+
|
|
1771
1927
|
// === Same-as-English optimization ===
|
|
1772
1928
|
' (not in model registry)': '(不在模型注册表中)',
|
|
1773
1929
|
'start server': '启动服务器',
|
|
1774
1930
|
'中国 (China)': '中国',
|
|
1775
1931
|
'中国 (China) - 阿里云百炼': '中国 - 阿里云百炼',
|
|
1776
1932
|
'阿里云百炼 (aliyun.com)': '阿里云百炼(aliyun.com)',
|
|
1933
|
+
'No compression needed.': '无需压缩。',
|
|
1777
1934
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mmmbuto/qwen-code-termux",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0-termux",
|
|
4
4
|
"description": "Qwen Code - AI-powered coding assistant (Termux Edition for Android)",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,17 +16,19 @@
|
|
|
16
16
|
},
|
|
17
17
|
"files": [
|
|
18
18
|
"cli.js",
|
|
19
|
+
"fzfWorker.js",
|
|
19
20
|
"chunks",
|
|
20
21
|
"vendor",
|
|
21
22
|
"*.sb",
|
|
22
23
|
"README.md",
|
|
23
24
|
"LICENSE",
|
|
24
25
|
"locales",
|
|
26
|
+
"examples",
|
|
25
27
|
"bundled",
|
|
26
28
|
"scripts/postinstall.cjs"
|
|
27
29
|
],
|
|
28
30
|
"config": {
|
|
29
|
-
"sandboxImageUri": "ghcr.io/mmmbuto/qwen-code-termux:0.
|
|
31
|
+
"sandboxImageUri": "ghcr.io/mmmbuto/qwen-code-termux:0.18.0-termux"
|
|
30
32
|
},
|
|
31
33
|
"dependencies": {},
|
|
32
34
|
"optionalDependencies": {
|