zcode-pro 1.11.0 → 1.12.0
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.en.md +11 -4
- package/README.md +11 -4
- package/dist/inject.js +1895 -482
- package/package.json +2 -2
- package/src/host/helper.mjs +2412 -184
- package/src/host/hot-swap.mjs +76 -0
- package/src/host/main.mjs +35 -13
- package/src/host/prompt-inject.mjs +174 -0
- package/src/host/provider-proxy.mjs +298 -72
- package/src/host/proxy-chain.mjs +137 -0
- package/src/host/setup.mjs +39 -14
- package/src/host/taskIndex.mjs +7 -2
- package/src/host/tool-name-check.mjs +43 -12
- package/src/host/translate-lib.mjs +1 -1
- package/src/inject/core.js +240 -19
- package/src/inject/features/auto-continue.js +17 -15
- package/src/inject/features/hr-notice.js +70 -20
- package/src/inject/features/proxy-chain-notice.js +215 -0
- package/src/inject/features/settings-dialog.js +769 -338
- package/src/inject/features/status-bar.js +17 -6
- package/src/inject/features/turn-usage.js +22 -3
- package/src/inject/index.js +3 -0
- package/src/inject/locales/ja.js +121 -6
- package/src/inject/locales/ko.js +121 -6
- package/src/inject/locales/ru.js +121 -6
- package/src/inject/provider-model-thinking.js +142 -0
- package/src/inject/thinking-levels.js +12 -6
- package/src/inject/ui.js +113 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zcode-pro",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
4
|
"description": "ZCode Pro 是 ZCode 桌面版的增强包:壁纸引擎(图片/视频/网页)、皮肤主题、会话快捷切换、状态栏统计等三十余项界面与功能增强。不修改客户端文件,用 ZCode Pro 快捷方式或终端命令 zcode-pro 启动即可生效,从原 ZCode 入口启动就是不带增强的原版。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"build": "esbuild src/inject/index.js --bundle --format=iife --target=chrome120 --outfile=dist/inject.js",
|
|
11
|
-
"test": "node scripts/test-usage-stats.mjs && node scripts/test-session-link.mjs && node scripts/test-err-codes.mjs && node scripts/test-sync-docs.mjs && node scripts/test-config.mjs && node scripts/test-task-order.mjs && node scripts/test-inject-logic.mjs && node scripts/test-locales.mjs && node scripts/test-task-index.mjs && node scripts/test-webdav.mjs && node scripts/test-wallpaper-setup.mjs && node scripts/test-headroom.mjs && node scripts/test-concurrency.mjs && node scripts/test-plugin-install.mjs && node scripts/test-plugin-autoupdate.mjs && node scripts/test-session-import.mjs && node scripts/test-idle-busy.mjs && node scripts/test-session-ancestors.mjs && node scripts/test-setup-run.mjs && node scripts/test-translate.mjs",
|
|
11
|
+
"test": "node scripts/test-usage-stats.mjs && node scripts/test-session-link.mjs && node scripts/test-err-codes.mjs && node scripts/test-sync-docs.mjs && node scripts/test-config.mjs && node scripts/test-task-order.mjs && node scripts/test-inject-logic.mjs && node scripts/test-locales.mjs && node scripts/test-task-index.mjs && node scripts/test-webdav.mjs && node scripts/test-wallpaper-setup.mjs && node scripts/test-headroom.mjs && node scripts/test-concurrency.mjs && node scripts/test-plugin-install.mjs && node scripts/test-plugin-autoupdate.mjs && node scripts/test-session-import.mjs && node scripts/test-idle-busy.mjs && node scripts/test-session-ancestors.mjs && node scripts/test-setup-run.mjs && node scripts/test-translate.mjs && node scripts/test-prompt-inject.mjs && node scripts/test-prompt-inject-e2e.mjs && node scripts/test-proxy-chain.mjs && node scripts/test-proxy-chain-e2e.mjs && node scripts/test-chains.mjs && node scripts/test-ensure-isolation.mjs && node scripts/test-chain-entry.mjs && node scripts/test-upstream-path.mjs && node scripts/test-chain-vm.mjs && node scripts/test-hot-swap.mjs && node scripts/test-provider-precedence.mjs && node scripts/test-chain-only.mjs && node scripts/test-notices.mjs",
|
|
12
12
|
"prepack": "npm run build",
|
|
13
13
|
"start": "./bin/zcode-pro"
|
|
14
14
|
},
|