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/dist/inject.js
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"tabProxy": "\u30D7\u30ED\u30AD\u30B7",
|
|
21
21
|
"tabBehavior": "\u52D5\u4F5C",
|
|
22
22
|
"tabAgents": "\u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30ED\u30F3\u30D7\u30C8",
|
|
23
|
-
"tabZcode": "
|
|
23
|
+
"tabZcode": "\u5B9F\u884C\u6642\u74B0\u5883",
|
|
24
24
|
"zcodeDesc": "ZCode \u81EA\u4F53\u306E\u52D5\u4F5C\u8A2D\u5B9A\uFF08~/.zcode/cli/config.json \u306B\u66F8\u304D\u8FBC\u307F\uFF09\u3002\u4FDD\u5B58\u5F8C\u3001\u65B0\u3057\u3044\u30BB\u30C3\u30B7\u30E7\u30F3\u304B\u3089\u53CD\u6620\u3055\u308C\u307E\u3059\u3002",
|
|
25
25
|
"zcodeStatsTitle": "\u30B9\u30AD\u30EB\u4E00\u89A7\u306E\u78BA\u8A8D",
|
|
26
26
|
"zcodeStatsCounts": "\u30B9\u30AD\u30EB {total} \u4EF6\uFF08\u30ED\u30FC\u30AB\u30EB {user} \xB7 \u30D7\u30E9\u30B0\u30A4\u30F3 {plugin}\uFF09",
|
|
@@ -58,6 +58,17 @@
|
|
|
58
58
|
"agentsSave": "\u4FDD\u5B58",
|
|
59
59
|
"agentsSaved": "\u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30ED\u30F3\u30D7\u30C8\u3092\u4FDD\u5B58\u3057\u307E\u3057\u305F",
|
|
60
60
|
"agentsLoadFailed": "\u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30ED\u30F3\u30D7\u30C8\u306E\u8AAD\u307F\u8FBC\u307F\u306B\u5931\u6557\u3057\u307E\u3057\u305F",
|
|
61
|
+
"injectTitle": "\u30D7\u30ED\u30F3\u30D7\u30C8\u6CE8\u5165",
|
|
62
|
+
"injectDesc": "\u30EA\u30AF\u30A8\u30B9\u30C8\u3092\u8EE2\u9001\u3059\u308B\u3068\u304D\u306B\u3001\u4E0B\u306E\u30C6\u30AD\u30B9\u30C8\u3092\u30B7\u30B9\u30C6\u30E0\u30D7\u30ED\u30F3\u30D7\u30C8\u306E\u672B\u5C3E\u306B\u8FFD\u8A18\u3057\u307E\u3059\u3002\u6BCE\u30BF\u30FC\u30F3\u305D\u308C\u304C\u4ED8\u3044\u3066\u304D\u307E\u3059\u3002\u4E0A\u306E\u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30ED\u30F3\u30D7\u30C8\u3068\u9055\u3044\u3001\u4F1A\u8A71\u5C64\u3067\u306F\u306A\u304F\u30B7\u30B9\u30C6\u30E0\u5C64\u306B\u5165\u308A\u307E\u3059\u3002\u30ED\u30FC\u30AB\u30EB\u8EE2\u9001\u3092\u6709\u52B9\u306B\u3057\u305F\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306B\u306E\u307F\u9069\u7528\u3055\u308C\u3001\u6CE8\u5165\u3092\u6709\u52B9\u306B\u3059\u308B\u3068\u6709\u52B9\u306A\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306E\u8EE2\u9001\u3082\u81EA\u52D5\u3067\u30AA\u30F3\u306B\u306A\u308A\u307E\u3059\u3002",
|
|
63
|
+
"injectPlaceholder": "\u30E2\u30C7\u30EB\u306B\u6BCE\u30BF\u30FC\u30F3\u5B88\u3063\u3066\u307B\u3057\u3044\u30EB\u30FC\u30EB\u3092\u5165\u529B\u3057\u307E\u3059\u3002\u7A7A\u306B\u3057\u3066\u4FDD\u5B58\u3059\u308B\u3068\u6CE8\u5165\u304C\u6B62\u307E\u308A\u307E\u3059",
|
|
64
|
+
"injectEnable": "\u6CE8\u5165\u3092\u6709\u52B9\u5316",
|
|
65
|
+
"injectDisable": "\u6CE8\u5165\u3092\u505C\u6B62",
|
|
66
|
+
"injectSaved": "\u30D7\u30ED\u30F3\u30D7\u30C8\u6CE8\u5165\u3092\u4FDD\u5B58\u3057\u307E\u3057\u305F",
|
|
67
|
+
"injectChars": "{n} \u6587\u5B57",
|
|
68
|
+
"injectLongHint": "\u5185\u5BB9\u304C\u9577\u304F\u3001\u4F1A\u8A71\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u3092\u304B\u306A\u308A\u6D88\u8CBB\u3057\u307E\u3059",
|
|
69
|
+
"injectSubagents": "\u30B5\u30D6\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u306B\u3082\u6CE8\u5165",
|
|
70
|
+
"injectChainStatus": "\u3001{providers} \u4EF6\u4E2D {active} \u4EF6\u306B\u53CD\u6620\u4E2D",
|
|
71
|
+
"injectChainNone": "\u3001\u6709\u52B9\u306A\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u304C\u306A\u3044",
|
|
61
72
|
"proxyDesc": "ZCode Pro \u306E\u30ED\u30FC\u30AB\u30EB\u30D8\u30EB\u30D1\u30FC\u304C\u884C\u3046\u30CD\u30C3\u30C8\u30EF\u30FC\u30AF\u30A2\u30AF\u30BB\u30B9\u306B HTTP \u30D7\u30ED\u30AD\u30B7\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002\u30D7\u30E9\u30B0\u30A4\u30F3\u30DE\u30FC\u30B1\u30C3\u30C8\u306E\u66F4\u65B0\u3068\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3001\u30D7\u30E9\u30B0\u30A4\u30F3\u4F9D\u5B58\u30BD\u30D5\u30C8\u306E\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3068\u30A2\u30C3\u30D7\u30B0\u30EC\u30FC\u30C9\u3001WebDAV \u540C\u671F\u3067\u3053\u306E\u30D7\u30ED\u30AD\u30B7\u3092\u5229\u7528\u3067\u304D\u307E\u3059\u3002\u9069\u7528\u7BC4\u56F2\u306F\u4E0B\u306E\u30B9\u30A4\u30C3\u30C1\u3067\u9078\u629E\u3057\u307E\u3059\u3002ZCode \u30A2\u30D7\u30EA\u672C\u4F53\u3068\u30E2\u30C7\u30EB\u3078\u306E\u30EA\u30AF\u30A8\u30B9\u30C8\u306B\u306F\u5F71\u97FF\u3057\u307E\u305B\u3093\u3002",
|
|
62
73
|
"proxyPlaceholder": "http://127.0.0.1:7890",
|
|
63
74
|
"proxySave": "\u4FDD\u5B58",
|
|
@@ -77,6 +88,78 @@
|
|
|
77
88
|
"proxySubVendor": "\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u30D7\u30ED\u30AD\u30B7",
|
|
78
89
|
"proxyVendorDesc": "\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3054\u3068\u306B\u8A2D\u5B9A\u3057\u307E\u3059\u3002\u30AA\u30F3\u306B\u3059\u308B\u3068\u3001\u305D\u306E\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3078\u306E\u30E2\u30C7\u30EB\u30EA\u30AF\u30A8\u30B9\u30C8\u306F\u307E\u305A\u30ED\u30FC\u30AB\u30EB\u306E\u8EE2\u9001\u30DD\u30FC\u30C8\u306B\u5C4A\u304D\u3001\u6307\u5B9A\u3057\u305F\u30D7\u30ED\u30AD\u30B7\u7D4C\u7531\u3067\u9001\u4FE1\u3055\u308C\u307E\u3059\u3002\u30AA\u30D5\u306E\u3068\u304D\u306F\u5143\u306E\u30A2\u30C9\u30EC\u30B9\u306E\u307E\u307E\u76F4\u63A5\u63A5\u7D9A\u3057\u307E\u3059\u3002ZCode \u306E\u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30ED\u30AD\u30B7\u306F\u5909\u66F4\u305B\u305A\u3001\u4ED6\u306E\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306B\u3082\u5F71\u97FF\u3057\u307E\u305B\u3093\u3002\u30D7\u30ED\u30AD\u30B7\u30A2\u30C9\u30EC\u30B9\u3092\u7A7A\u6B04\u306B\u3059\u308B\u3068\u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30ED\u30AD\u30B7\u306B\u5F93\u3044\u307E\u3059\u3002",
|
|
79
90
|
"proxyVendorEmpty": "\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u30D7\u30ED\u30AD\u30B7\u306F\u307E\u3060\u8FFD\u52A0\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u4E0B\u306E\u300C\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3092\u8FFD\u52A0\u300D\u304B\u3089\u9078\u3076\u3068\u6709\u52B9\u306B\u306A\u308A\u307E\u3059\u3002",
|
|
91
|
+
"proxySharedTitle": "\u5171\u6709\u30D7\u30ED\u30AD\u30B7",
|
|
92
|
+
"proxySharedDesc": "\u3088\u304F\u4F7F\u3046\u30D7\u30ED\u30AD\u30B7\u3092\u3053\u3053\u3067\u5B9A\u7FA9\u3059\u308B\u3068\u3001\u4E0B\u306E\u5404\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306E\u4EE3\u7406\u30C1\u30A7\u30FC\u30F3\u304B\u3089\u9078\u3079\u307E\u3059\u3002\u3053\u3053\u3067\u4F4F\u6240\u3092\u5909\u3048\u308B\u3068\u3001\u53C2\u7167\u3057\u3066\u3044\u308B\u5168\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306B\u53CD\u6620\u3055\u308C\u307E\u3059\u3002",
|
|
93
|
+
"proxySharedEmpty": "\u5171\u6709\u30D7\u30ED\u30AD\u30B7\u306F\u307E\u3060\u3042\u308A\u307E\u305B\u3093\u3002",
|
|
94
|
+
"proxySharedAdd": "\u5171\u6709\u30D7\u30ED\u30AD\u30B7\u3092\u8FFD\u52A0",
|
|
95
|
+
"proxySharedDelete": "\u524A\u9664",
|
|
96
|
+
"proxySharedName": "\u540D\u524D",
|
|
97
|
+
"proxySharedInvalid": "\u30D7\u30ED\u30AD\u30B7\u4F4F\u6240\u306F http://127.0.0.1:7890 \u306E\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",
|
|
98
|
+
"chainDesc": "\u4EE3\u7406\u30C1\u30A7\u30FC\u30F3\u306F\u30EA\u30AF\u30A8\u30B9\u30C8\u3092\u30CE\u30FC\u30C9\u306E\u9806\u756A\u3067\u51E6\u7406\u3057\u307E\u3059\uFF1Aheadroom \u5727\u7E2E\u3001\u30D7\u30ED\u30F3\u30D7\u30C8\u6CE8\u5165\u3001\u30AB\u30B9\u30BF\u30E0\u30D7\u30ED\u30AD\u30B7\u3067\u51FA\u7DB2\u3002\u4E00\u3064\u306E\u30C1\u30A7\u30FC\u30F3\u306B\u8907\u6570\u306E\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3092\u95A2\u9023\u4ED8\u3051\u3089\u308C\u3001\u8A2D\u5B9A\u3068\u8EE2\u9001\u30DD\u30FC\u30C8\u3092\u5171\u6709\u3057\u307E\u3059\u3002\u51FA\u7DB2\u30D7\u30ED\u30AD\u30B7\uFF08clash \u306A\u3069\uFF09\u306F\u30C1\u30A7\u30FC\u30F3\u306E\u6700\u5F8C\u306B\u7F6E\u3044\u3066\u304F\u3060\u3055\u3044\u3002\u901A\u5E38\u306E\u30D7\u30ED\u30AD\u30B7\u306F\u30ED\u30FC\u30AB\u30EB\u30DD\u30FC\u30C8\u3078\u306E\u8EE2\u9001\u3092\u62D2\u5426\u3059\u308B\u305F\u3081\u3001headroom \u306E\u524D\u306B\u7F6E\u304F\u3068\u5931\u6557\u3057\u307E\u3059\u3002",
|
|
99
|
+
"chainMasterSwitch": "\u4EE3\u7406\u30C1\u30A7\u30FC\u30F3\u306E\u30DE\u30B9\u30BF\u30FC\u30B9\u30A4\u30C3\u30C1",
|
|
100
|
+
"chainMasterSwitchDesc": "\u30AA\u30D5\uFF1A\u30EF\u30F3\u30AF\u30EA\u30C3\u30AF\u3067\u5FA9\u5143\u3002\u30C1\u30A7\u30FC\u30F3\u8A2D\u5B9A\u306F\u4FDD\u6301\u3055\u308C\u3001\u30C1\u30A7\u30C3\u30AF\u6E08\u307F\u306E\u5168\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306E\u4F4F\u6240\u306F\u5B9F\u969B\u306E\u4E0A\u6D41\u306B\u623B\u308A\u3001\u8EE2\u9001\u306F\u505C\u6B62\u3057\u307E\u3059\u3002\u30AA\u30F3\uFF1A\u30C1\u30A7\u30C3\u30AF\u6E08\u307F\u306E\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306E\u4F4F\u6240\u306F\u30C1\u30A7\u30FC\u30F3\u304C\u7BA1\u7406\u3057\u307E\u3059\u3002",
|
|
101
|
+
"chainMasterOffHint": "\u30DE\u30B9\u30BF\u30FC\u30B9\u30A4\u30C3\u30C1\u304C\u30AA\u30D5\u3067\u3059\uFF1A\u30C1\u30A7\u30FC\u30F3\u8A2D\u5B9A\u306F\u4FDD\u6301\u3055\u308C\u3001\u30C1\u30A7\u30C3\u30AF\u6E08\u307F\u306E\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306F\u76F4\u63A5\u63A5\u7D9A\u306B\u623B\u3063\u3066\u3044\u307E\u3059\u3002",
|
|
102
|
+
"chainGoCompat": "OpenCode Go \u4E92\u63DB",
|
|
103
|
+
"chainGoCompatDesc": "\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u304C\u30C1\u30A7\u30FC\u30F3\u3092\u7D4C\u7531\u3059\u308B\u3068\u304D\u3001OpenCode Go \u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u3078\u306E\u30EA\u30AF\u30A8\u30B9\u30C8\u306B zcode-pro \u304C\u30BB\u30C3\u30B7\u30E7\u30F3\u30D8\u30C3\u30C0\u30FC\u3092\u88DC\u3044\u307E\u3059\u3002\u30AA\u30D5\u306B\u3059\u308B\u3068 OpenCode Go \u306E\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306F\u30C1\u30A7\u30FC\u30F3\u7D4C\u7531\u3067\u62D2\u5426\u3055\u308C\u308B\u305F\u3081\u3001\u76F4\u63A5\u63A5\u7D9A\u306B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
104
|
+
"chainDeleteConfirmTitle": "\u3053\u306E\u30C1\u30A7\u30FC\u30F3\u3092\u524A\u9664\u3057\u307E\u3059\u304B\uFF1F",
|
|
105
|
+
"chainDeleteConfirmDesc": "\u30C1\u30A7\u30FC\u30F3\u3067\u30C1\u30A7\u30C3\u30AF\u6E08\u307F\u306E {n} \u793E\u306E\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306F\u76F4\u63A5\u63A5\u7D9A\u306B\u623B\u308A\u3001headroom \u306E\u5727\u7E2E\u304B\u3089\u5916\u308C\u307E\u3059\u3002",
|
|
106
|
+
"chainDeleteConfirmDescEmpty": "\u3053\u306E\u30C1\u30A7\u30FC\u30F3\u306B\u306F\u30C1\u30A7\u30C3\u30AF\u6E08\u307F\u306E\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u304C\u3042\u308A\u307E\u305B\u3093\u3002",
|
|
107
|
+
"chainDeleteConfirmGo": "\u524A\u9664",
|
|
108
|
+
"injectGoChain": "\u30D7\u30ED\u30AD\u30B7\u30C1\u30A7\u30FC\u30F3\u3092\u958B\u304F",
|
|
109
|
+
"injectChainHint": "\u201C\u30D7\u30ED\u30AD\u30B7 \u2192 \u30D7\u30ED\u30AD\u30B7\u30C1\u30A7\u30FC\u30F3\u201D\u3067\u30C1\u30A7\u30C3\u30AF\u3057\u305F\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306B\u306E\u307F\u6709\u52B9\u3067\u3059",
|
|
110
|
+
"chainProvidersHint": "\u30C1\u30A7\u30C3\u30AF\uFF1Dzcode-pro \u3092\u7D4C\u7531\uFF08\u5727\u7E2E\u30FB\u6CE8\u5165\u30FB\u30D7\u30ED\u30AD\u30B7\uFF09\u3001\u4F4F\u6240\u306F\u30C1\u30A7\u30FC\u30F3\u304C\u7BA1\u7406\uFF1B\u30C1\u30A7\u30C3\u30AF\u3092\u5916\u3059\uFF1D\u76F4\u63A5\u63A5\u7D9A\u306B\u623B\u3057\u3001\u305D\u306E\u307E\u307E\u7DAD\u6301\u3002",
|
|
111
|
+
"chainManualEditHint": "\u4F4F\u6240\u304C\u5225\u306E\u5024\u306B\u5909\u308F\u308B\u3068\uFF08ZCode \u3067\u624B\u52D5\u5909\u66F4\u3001\u307E\u305F\u306F\u5225\u306E\u30C7\u30D0\u30A4\u30B9\u304B\u3089\u540C\u671F\uFF09\u3001\u81EA\u52D5\u7684\u306B\u30C1\u30A7\u30FC\u30F3\u304B\u3089\u5916\u308C\u3001\u5909\u66F4\u5F8C\u306E\u4F4F\u6240\u304C\u4FDD\u6301\u3055\u308C\u307E\u3059\u3002\u53F3\u4E0B\u306B\u30AB\u30FC\u30C9\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002",
|
|
112
|
+
"noticeAutoUncheckedTitle": "\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u304C\u81EA\u52D5\u7684\u306B\u30C1\u30A7\u30FC\u30F3\u304B\u3089\u5916\u308C\u307E\u3057\u305F",
|
|
113
|
+
"noticeAutoUncheckedDesc": "\u6B21\u306E\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306F\u30C1\u30A7\u30FC\u30F3\u3067\u30C1\u30A7\u30C3\u30AF\u3055\u308C\u3066\u3044\u307E\u3057\u305F\u304C\u3001\u4F4F\u6240\u304C\u5909\u308F\u308A\u307E\u3057\u305F\uFF08ZCode \u3067\u624B\u52D5\u5909\u66F4\u3001\u307E\u305F\u306F\u5225\u306E\u30C7\u30D0\u30A4\u30B9\u304B\u3089\u540C\u671F\uFF09\u3002\u81EA\u52D5\u7684\u306B\u30C1\u30A7\u30FC\u30F3\u304B\u3089\u5916\u308C\u3001\u5727\u7E2E\u3068\u30D7\u30ED\u30F3\u30D7\u30C8\u6CE8\u5165\u3092\u7D4C\u7531\u3057\u306A\u304F\u306A\u308A\u307E\u3057\u305F\uFF1A",
|
|
114
|
+
"noticeAutoUncheckedItem": "{name} \u2192 {url}\uFF08\u3082\u3068\u306E\u30C1\u30A7\u30FC\u30F3\uFF1A\u201C{chain}\u201D\uFF09",
|
|
115
|
+
"noticeAutoUncheckedHow": "\u518D\u5EA6\u5727\u7E2E\u3068\u30D7\u30ED\u30F3\u30D7\u30C8\u6CE8\u5165\u3092\u901A\u3059\u306B\u306F\u3001\u201C\u8A2D\u5B9A \u2192 \u30D7\u30ED\u30AD\u30B7 \u2192 \u30D7\u30ED\u30AD\u30B7\u30C1\u30A7\u30FC\u30F3\u201D\u3067\u518D\u3073\u30C1\u30A7\u30C3\u30AF\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
116
|
+
"noticeGoChain": "\u30D7\u30ED\u30AD\u30B7\u30C1\u30A7\u30FC\u30F3\u3092\u958B\u304F",
|
|
117
|
+
"noticeHealthTitle": "\u30D7\u30ED\u30AD\u30B7\u30C1\u30A7\u30FC\u30F3\u306E\u5DE1\u56DE\u30C1\u30A7\u30C3\u30AF\u3067\u7570\u5E38\u3092\u691C\u51FA",
|
|
118
|
+
"noticeHealthDesc": "30 \u79D2\u3054\u3068\u306E\u5DE1\u56DE\u30C1\u30A7\u30C3\u30AF\u3067\u554F\u984C\u3092\u898B\u3064\u3051\u3001\u81EA\u52D5\u3067\u51E6\u7406\u3057\u307E\u3057\u305F\uFF1A",
|
|
119
|
+
"noticeHealthForwarder": "\u30D5\u30A9\u30EF\u30FC\u30C0\u30FC 127.0.0.1:{ports} \u304C\u5F85\u3061\u53D7\u3051\u3057\u3066\u3044\u307E\u305B\u3093\u3002\u518D\u69CB\u6210\u3057\u307E\u3057\u305F",
|
|
120
|
+
"noticeHealthForwarderDown": "\uFF08\u307E\u3060\u5FA9\u65E7\u3057\u3066\u3044\u307E\u305B\u3093\uFF09",
|
|
121
|
+
"noticeHealthInstance": "Headroom \u306E\u5727\u7E2E\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9 127.0.0.1:{ports} \u304C\u5F85\u3061\u53D7\u3051\u3057\u3066\u3044\u307E\u305B\u3093\u3002headroom \u306B\u518D\u8D77\u52D5\u3092\u4F9D\u983C\u3057\u307E\u3057\u305F",
|
|
122
|
+
"noticeHealthRouter": "Headroom \u306E\u5727\u7E2E\u30EB\u30FC\u30BF\u30FC 127.0.0.1:{ports} \u304C\u5F85\u3061\u53D7\u3051\u3057\u3066\u3044\u307E\u305B\u3093\u3002headroom \u306B\u518D\u8D77\u52D5\u3092\u4F9D\u983C\u3057\u307E\u3057\u305F",
|
|
123
|
+
"noticeHealthInstanceFailed": "\u3001\u51E6\u7406\u306B\u5931\u6557\uFF1A{error}",
|
|
124
|
+
"noticeHealthHint": "\u5727\u7E2E\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u306E\u8D77\u52D5\u306B\u306F\u5341\u6570\u79D2\u304B\u304B\u308A\u307E\u3059\u3002\u305D\u306E\u9593\u3001\u5727\u7E2E\u30EB\u30FC\u30BF\u30FC\u3092\u7D4C\u7531\u3059\u308B\u30EA\u30AF\u30A8\u30B9\u30C8\u306F\u5931\u6557\u3059\u308B\u3053\u3068\u304C\u3042\u308A\u307E\u3059\u3002\u3057\u3070\u3089\u304F\u3057\u3066\u304B\u3089\u3084\u308A\u76F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
125
|
+
"noticeHealthGoHeadroom": "Headroom \u3092\u958B\u304F",
|
|
126
|
+
"noticeTitleGenTitle": "\u30BF\u30B9\u30AF\u540D\u306E\u751F\u6210\u306B\u5931\u6557\u3057\u307E\u3057\u305F",
|
|
127
|
+
"noticeTitleGenDesc": "\u65B0\u3057\u3044\u30BB\u30C3\u30B7\u30E7\u30F3\u306E\u540D\u524D\u3092\u30E2\u30C7\u30EB\u306B\u4ED8\u3051\u3066\u3082\u3089\u3046\u51E6\u7406\u304C\u6210\u529F\u3057\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u30BB\u30C3\u30B7\u30E7\u30F3\u540D\u306F ZCode \u306E\u65E2\u5B9A\u306E\u307E\u307E\u3067\u3059\u3002",
|
|
128
|
+
"noticeTitleGenItem": "{provider} \u306E {model}\uFF1A{error}",
|
|
129
|
+
"noticeTitleGenSession": "\u30BB\u30C3\u30B7\u30E7\u30F3\u306E\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC",
|
|
130
|
+
"noticeTitleGenHow": "\u300C\u8A2D\u5B9A \u2192 \u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30ED\u30F3\u30D7\u30C8 \u2192 \u81EA\u52D5\u30EA\u30CD\u30FC\u30E0\u300D\u3067\u3001\u305D\u306E\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u304C\u5BFE\u5FDC\u3057\u3066\u3044\u308B\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3084\u30E2\u30C7\u30EB\u306B\u5909\u3048\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
131
|
+
"noticeTitleGenGo": "\u81EA\u52D5\u30EA\u30CD\u30FC\u30E0\u306E\u8A2D\u5B9A\u3092\u958B\u304F",
|
|
132
|
+
"noticeToolNameTitle": "\u30C4\u30FC\u30EB\u540D\u30C1\u30A7\u30C3\u30AF\uFF1A\u5909\u66F4\u3067\u304D\u306A\u3044\u30D5\u30A1\u30A4\u30EB\u304C\u3042\u308A\u307E\u3059",
|
|
133
|
+
"noticeToolNameDesc": "\u6B21\u306E\u30D5\u30A1\u30A4\u30EB\u306E\u30B5\u30FC\u30D0\u30FC\u540D\u3092\u77ED\u7E2E\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u307B\u304B\u306E\u30D5\u30A1\u30A4\u30EB\u306F\u901A\u5E38\u3069\u304A\u308A\u51E6\u7406\u3057\u3066\u3044\u307E\u3059\uFF1A",
|
|
134
|
+
"noticeToolNameItem": "{file}\uFF08{changes} \u3092\u77ED\u304F\u3057\u3088\u3046\u3068\u3057\u305F\uFF09\uFF1A{error}",
|
|
135
|
+
"noticeToolNameNoPerm": "\u66F8\u304D\u8FBC\u307F\u6A29\u9650\u304C\u3042\u308A\u307E\u305B\u3093",
|
|
136
|
+
"noticeToolNameFix": "\u30D5\u30A1\u30A4\u30EB\u304C\u8AAD\u307F\u53D6\u308A\u5C02\u7528\u3067\u3059\uFF08\u30B7\u30B9\u30C6\u30E0\u306E\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u30D5\u30A9\u30EB\u30C0\u5185\u3001\u591A\u304F\u306F root \u6240\u6709\uFF09\u3002\u6B21\u306E\u884C\u3092\u30BF\u30FC\u30DF\u30CA\u30EB\u306B\u8CBC\u308A\u4ED8\u3051\u3066\u5B9F\u884C\u3059\u308B\u3068\u66F8\u304D\u8FBC\u307F\u6A29\u9650\u304C\u4ED8\u304D\u307E\u3059\uFF1A",
|
|
137
|
+
"noticeToolNameFixNoCmd": "\u30D5\u30A1\u30A4\u30EB\u304C\u8AAD\u307F\u53D6\u308A\u5C02\u7528\u3067\u3059\uFF08\u30B7\u30B9\u30C6\u30E0\u306E\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u30D5\u30A9\u30EB\u30C0\u5185\uFF09\u3002\u7BA1\u7406\u8005\u6A29\u9650\u3067\u66F8\u304D\u8FBC\u307F\u6A29\u9650\u3092\u4ED8\u3051\u3066\u304F\u3060\u3055\u3044\u3002\u8D77\u52D5\u306E\u305F\u3073\u306B\u518D\u8A66\u884C\u3057\u307E\u3059\u3002",
|
|
138
|
+
"noticeToolNameAfter": "\u6A29\u9650\u304C\u4ED8\u3051\u3070\u8D77\u52D5\u306E\u305F\u3073\u306B\u81EA\u52D5\u3067\u77ED\u7E2E\u3055\u308C\u307E\u3059\u3002ZCode \u306E\u66F4\u65B0\u3067\u6A29\u9650\u304C\u623B\u3063\u305F\u3089\u3001\u3053\u306E\u884C\u3092\u3082\u3046\u4E00\u5EA6\u5B9F\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
|
|
139
|
+
"noticeToolNameGo": "\u5B9F\u884C\u6642\u74B0\u5883\u306E\u8A2D\u5B9A\u3092\u958B\u304F",
|
|
140
|
+
"chainAutoUnchecked": "\u4F4F\u6240\u304C\u624B\u52D5\u3067\u5909\u66F4\u3055\u308C\u305F\u305F\u3081\u3001\u81EA\u52D5\u7684\u306B\u30C1\u30A7\u30FC\u30F3\u304B\u3089\u5916\u308C\u307E\u3057\u305F\uFF1A{list}",
|
|
141
|
+
"chainEmpty": "\u4EE3\u7406\u30C1\u30A7\u30FC\u30F3\u306F\u307E\u3060\u3042\u308A\u307E\u305B\u3093\u3002\u4E0B\u306E\u300C\u65B0\u898F\u4EE3\u7406\u30C1\u30A7\u30FC\u30F3\u300D\u304B\u3089\u4F5C\u6210\u3067\u304D\u307E\u3059\u3002",
|
|
142
|
+
"chainAdd": "\u65B0\u898F\u4EE3\u7406\u30C1\u30A7\u30FC\u30F3",
|
|
143
|
+
"chainDefaultName": "\u65B0\u898F\u30C1\u30A7\u30FC\u30F3",
|
|
144
|
+
"chainNodePinned": "\u3053\u306E\u6BB5\u968E\u306E\u9806\u756A\u306F\u30C1\u30A7\u30FC\u30F3\u5074\u3067\u6C7A\u307E\u308A\u307E\u3059\u3002\u77E2\u5370\u3067\u79FB\u52D5\u3067\u304D\u307E\u3059",
|
|
145
|
+
"chainSwitchHint": "\u30AA\u30D5\u306B\u3059\u308B\u3068\u30C1\u30A7\u30FC\u30F3\u5168\u4F53\u304C\u7121\u52B9\u306B\u306A\u308A\u307E\u3059",
|
|
146
|
+
"chainProvidersLabel": "\u95A2\u9023\u3059\u308B\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC",
|
|
147
|
+
"chainNoProviders": "\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u4E00\u89A7\u306F\u307E\u3060\u8AAD\u307F\u8FBC\u307E\u308C\u3066\u3044\u307E\u305B\u3093",
|
|
148
|
+
"chainOwnedByOther": "\u5225\u306E\u30C1\u30A7\u30FC\u30F3\u306B\u95A2\u9023\u4ED8\u304D\u6E08\u307F",
|
|
149
|
+
"chainForwardPort": "\u8EE2\u9001\u30DD\u30FC\u30C8",
|
|
150
|
+
"proxyChainInjection": "\u30D7\u30ED\u30F3\u30D7\u30C8\u6CE8\u5165",
|
|
151
|
+
"proxyChainUpstream": "\u4E0A\u6D41",
|
|
152
|
+
"proxyChainCustom": "\u30AB\u30B9\u30BF\u30E0",
|
|
153
|
+
"proxyChainUseShared": "\u5171\u6709\u3092\u4F7F\u7528",
|
|
154
|
+
"proxyChainAddNode": "\u30D7\u30ED\u30AD\u30B7\u3092\u8FFD\u52A0",
|
|
155
|
+
"proxyChainOnChain": "\u30C1\u30A7\u30FC\u30F3\u4E0A",
|
|
156
|
+
"proxyChainNotInstalled": "\u672A\u542F\u7528",
|
|
157
|
+
"proxyChainPinnedHint": "\u3053\u306E\u6BB5\u968E\u306F\u5BFE\u5FDC\u3059\u308B\u6A5F\u80FD\u304C\u6C7A\u3081\u308B\u305F\u3081\u3001\u3053\u3053\u3067\u306F\u5909\u66F4\u3067\u304D\u307E\u305B\u3093",
|
|
158
|
+
"proxyChainSwitchHint": "\u30AA\u30D5\u306B\u3059\u308B\u3068\u30C1\u30A7\u30FC\u30F3\u5168\u4F53\u304C\u7121\u52B9\u306B\u306A\u308A\u307E\u3059",
|
|
159
|
+
"proxyChainHeadroomBlocksProxy": "headroom \u304C\u30C1\u30A7\u30FC\u30F3\u4E0A\u306B\u3042\u308B\u9593\u306F\u3001\u30AB\u30B9\u30BF\u30E0\u30D7\u30ED\u30AD\u30B7\u306F\u52B9\u304D\u307E\u305B\u3093\uFF08headroom \u304C\u76F4\u63A5\u4E0A\u6D41\u3078\u9001\u308A\u307E\u3059\uFF09",
|
|
160
|
+
"proxyChainMultiNotEffective": "2 \u500B\u76EE\u4EE5\u964D\u306F\u672A\u5BFE\u5FDC\uFF08\u591A\u6BB5\u30D7\u30ED\u30AD\u30B7\u306F\u672A\u5B9F\u88C5\uFF09",
|
|
161
|
+
"proxyChainUpstreamViaHeadroom": "\u3053\u306E\u4E0A\u6D41\u306F headroom \u304C\u6C7A\u3081\u307E\u3059",
|
|
162
|
+
"proxyChainSharedGone": "\u53C2\u7167\u3057\u3066\u3044\u308B\u5171\u6709\u30D7\u30ED\u30AD\u30B7\u306F\u524A\u9664\u3055\u308C\u307E\u3057\u305F",
|
|
80
163
|
"proxyVendorAdd": "\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u3092\u8FFD\u52A0",
|
|
81
164
|
"proxyVendorRemove": "\u524A\u9664",
|
|
82
165
|
"proxyVendorUseGlobal": "\u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30ED\u30AD\u30B7\u306B\u5F93\u3046",
|
|
@@ -410,6 +493,8 @@
|
|
|
410
493
|
"sbLabelOut": "\u51FA\u529B",
|
|
411
494
|
"sbLabelCache": "\u30AD\u30E3\u30C3\u30B7\u30E5",
|
|
412
495
|
"sbLabelTps": "\u51FA\u529B tok/s",
|
|
496
|
+
"sbLabelTtft": "\u521D\u56DE",
|
|
497
|
+
"sbLabelReasoning": "\u601D\u8003",
|
|
413
498
|
"sbLabelInOut": "\u5165\u529B/\u51FA\u529B",
|
|
414
499
|
"sbLabelHit": "\u5E73\u5747\u30D2\u30C3\u30C8",
|
|
415
500
|
"turnUsageTitle": "\u4ECA\u56DE\u306E\u30C8\u30FC\u30AF\u30F3",
|
|
@@ -417,6 +502,8 @@
|
|
|
417
502
|
"sbItemTodayTokens": "\u4ECA\u65E5\u306E\u30C8\u30FC\u30AF\u30F3",
|
|
418
503
|
"sbItemTasks": "\u30BF\u30B9\u30AF\u7DCF\u6570",
|
|
419
504
|
"sbLabelCtx": "\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8",
|
|
505
|
+
"sbTipTools": "\u30C4\u30FC\u30EB\u5B9A\u7FA9",
|
|
506
|
+
"sbTipToolCount": " \u4EF6\u306E\u30C4\u30FC\u30EB",
|
|
420
507
|
"sbLabelTurns": "\u547C\u3073\u51FA\u3057",
|
|
421
508
|
"sbLabelToday": "\u4ECA\u65E5",
|
|
422
509
|
"sbLabelTasks": "\u30BF\u30B9\u30AF",
|
|
@@ -570,13 +657,11 @@
|
|
|
570
657
|
"acEnabled": "\u6709\u52B9",
|
|
571
658
|
"acPrompt": "\u7D99\u7D9A\u30D7\u30ED\u30F3\u30D7\u30C8",
|
|
572
659
|
"acMaxRetries": "\u81EA\u52D5\u7D99\u7D9A\u306E\u6700\u5927\u56DE\u6570",
|
|
573
|
-
"acMaxRetriesHint": "30 \u5206\u9593\u306B\
|
|
574
|
-
"acCooldown": "\u9023\u7D9A\u5931\u6557\u6642\u306E\u30D0\u30C3\u30AF\u30AA\u30D5\u57FA\u6570\uFF08\u79D2\uFF09",
|
|
575
|
-
"acCooldownHint": "2 \u5206\u4EE5\u5185\u306B\u7D99\u7D9A\u6E08\u307F\u306E\u5834\u5408\u306F\u9023\u7D9A\u5931\u6557\u3068\u307F\u306A\u3057\u3001\u9593\u9694\u3092 2 \u500D\u305A\u3064\u5897\u3084\u3057\u3066\u4E0A\u9650 60 \u79D2\u3068\u3057\u307E\u3059\u3002\u5358\u767A\u306E\u5931\u6557\u3067\u306F\u753B\u9762\u304C\u843D\u3061\u7740\u304F\u307E\u3067 3 \u79D2\u3060\u3051\u5F85\u3061\u307E\u3059\u3002",
|
|
660
|
+
"acMaxRetriesHint": "30 \u5206\u9593\u306B\u81EA\u52D5\u7D99\u7D9A\u3067\u304D\u308B\u56DE\u6570\u306E\u4E0A\u9650\u3067\u3059\u3002\u4E0A\u9650\u306B\u9054\u3059\u308B\u3068\u505C\u6B62\u3057\u307E\u3059\u3002",
|
|
576
661
|
"acStuckAfterMin": "\u5FDC\u7B54\u505C\u6B62\u306E\u5224\u5B9A\uFF08\u5206\uFF09",
|
|
577
|
-
"acStuckAfterMinHint": "\u30D0\u30C3\u30AF\u30B0\u30E9\u30A6\u30F3\u30C9\
|
|
662
|
+
"acStuckAfterMinHint": "\u30D0\u30C3\u30AF\u30B0\u30E9\u30A6\u30F3\u30C9\u30BF\u30B9\u30AF\u3001\u30B5\u30D6\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u3001\u30E1\u30A4\u30F3\u306E\u30BF\u30FC\u30F3\u304C\u3053\u306E\u6642\u9593\u3060\u3051\u9759\u304B\u306A\u3068\u304D\u306B\u30AB\u30FC\u30C9\u3067\u901A\u77E5\u3057\u307E\u3059",
|
|
578
663
|
"acFailedAfterMin": "\u5931\u6557\u5F8C\u306E\u81EA\u52D5\u7D99\u7D9A\uFF08\u5206\uFF09",
|
|
579
|
-
"acFailedAfterMinHint": "\u30BF\u30FC\u30F3\
|
|
664
|
+
"acFailedAfterMinHint": "\u30BF\u30FC\u30F3\u5931\u6557\u5F8C\u3001\u3053\u306E\u6642\u9593\u3060\u3051\u9759\u304B\u306A\u307E\u307E\u3060\u3068\u81EA\u52D5\u3067\u7D99\u7D9A\u3057\u307E\u3059",
|
|
580
665
|
"acLoadFailed": "\u81EA\u52D5\u7D99\u7D9A\u306E\u8A2D\u5B9A\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F",
|
|
581
666
|
"acCardKindSubagent": "\u30B5\u30D6\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u5FDC\u7B54\u306A\u3057",
|
|
582
667
|
"acCardKindTurn": "\u30E1\u30A4\u30F3\u306E\u30BF\u30FC\u30F3\u5FDC\u7B54\u306A\u3057",
|
|
@@ -671,7 +756,28 @@
|
|
|
671
756
|
"headroomLoadFailed": "Headroom \u8A2D\u5B9A\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F",
|
|
672
757
|
"headroomStatusTitle": "\u5B9F\u884C\u72B6\u614B",
|
|
673
758
|
"hrInstRunning": "\u5B9F\u884C\u4E2D",
|
|
759
|
+
"acContinueDelay": "\u7D9A\u884C\u524D\u306E\u5F85\u6A5F\uFF08\u79D2\uFF09",
|
|
760
|
+
"acContinueDelayHint": "\u30BF\u30FC\u30F3\u5931\u6557\u5F8C\u3001\u3053\u306E\u6642\u9593\u3060\u3051\u5F85\u3063\u3066\u304B\u3089\u7D99\u7D9A\u3092\u9001\u308A\u307E\u3059\u3002\u4E00\u6642\u7684\u306A\u969C\u5BB3\u304C\u53CE\u307E\u308B\u306E\u3092\u5F85\u3064\u305F\u3081\u3067\u3059",
|
|
761
|
+
"acContinueDelayFactor": "\u9045\u5EF6\u306E\u5897\u52A0\u500D\u7387",
|
|
762
|
+
"acContinueDelayFactorHint": "\u9023\u7D9A\u5931\u6557\u306E\u305F\u3073\u306B\u5F85\u6A5F\u6642\u9593\u3092\u3053\u306E\u500D\u7387\u3067\u5897\u3084\u3057\u307E\u3059\uFF081.3 \u2192 2\u5206\u30012.6\u5206\u30013.4\u5206\u2026\uFF09\u30021 \u3067\u56FA\u5B9A",
|
|
674
763
|
"hrInstStopped": "\u505C\u6B62",
|
|
764
|
+
"hrInstChain": "\u30C1\u30A7\u30FC\u30F3",
|
|
765
|
+
"hrInstUpstreams": "\u4E0A\u6D41",
|
|
766
|
+
"hrInstVia": "\u7D4C\u7531",
|
|
767
|
+
"hrInstProviders": "\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC",
|
|
768
|
+
"hrInstRestore": "{vals[0]}",
|
|
769
|
+
"hrRestoreFailed": "{vals[1]}",
|
|
770
|
+
"hrRestoreDone": "{vals[2]}",
|
|
771
|
+
"hrRestoreHint": "\u3053\u308C\u3089\u306E\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u306E API \u30A2\u30C9\u30EC\u30B9\u3092\u623B\u3057\u307E\u3059\uFF1A\u30C1\u30A7\u30FC\u30F3\u4E0A\u306A\u3089\u623B\u3057\u5148\u3092\u9078\u3079\u307E\u3059",
|
|
772
|
+
"hrRestoreConfirmTitle": "\u30A2\u30C9\u30EC\u30B9\u3092\u623B\u3057\u307E\u3059\u304B\uFF1F",
|
|
773
|
+
"hrRestoreConfirmDesc": "{names} \u306F\u30D7\u30ED\u30AD\u30B7\u30C1\u30A7\u30FC\u30F3\u4E0A\u3067\u3059",
|
|
774
|
+
"hrRestoreNext": "\u6B21\u3078",
|
|
775
|
+
"hrRestoreChooseTitle": "\u3069\u3053\u3078\u623B\u3057\u307E\u3059\u304B\uFF1F",
|
|
776
|
+
"hrRestoreChooseDesc": "{names} \u306F\u30D7\u30ED\u30AD\u30B7\u30C1\u30A7\u30FC\u30F3\u4E0A\u3067\u3059",
|
|
777
|
+
"hrRestoreOptChain": "\u30C1\u30A7\u30FC\u30F3\u306E\u30A2\u30C9\u30EC\u30B9\u3078\uFF08\u30C1\u30A7\u30FC\u30F3\u306B\u6B8B\u308B\uFF09",
|
|
778
|
+
"hrRestoreOptDirect": "\u5B9F\u30A2\u30C9\u30EC\u30B9\u3078\u76F4\u7D50\uFF08\u30C1\u30A7\u30FC\u30F3\u304B\u3089\u5916\u308C\u308B\uFF09",
|
|
779
|
+
"hrRestoreChainDone": "\u30A2\u30C9\u30EC\u30B9\u3092\u30C1\u30A7\u30FC\u30F3\u5165\u53E3\u3078\u623B\u3057\u307E\u3057\u305F",
|
|
780
|
+
"chainLeaveHint": "\u9000\u51FA\u5727\u7E2E\u6642\u306B headroom \u767B\u8A18\u306E\u30AF\u30EA\u30A2\u306B\u5931\u6557\uFF08\u518D\u30C1\u30A7\u30C3\u30AF\u3067\u5FA9\u5143\u3067\u304D\u307E\u3059\uFF09",
|
|
675
781
|
"headroomStatusLoadFailed": "\u5B9F\u884C\u72B6\u614B\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F",
|
|
676
782
|
"headroomProxyUp": "\u30D7\u30ED\u30AD\u30B7\u5B9F\u884C\u4E2D",
|
|
677
783
|
"headroomProxyDown": "\u30D7\u30ED\u30AD\u30B7\u505C\u6B62",
|
|
@@ -832,6 +938,8 @@
|
|
|
832
938
|
"vision-test": "\u8996\u899A\u30D7\u30ED\u30AD\u30B7\u306E\u30C6\u30B9\u30C8\u306B\u5931\u6557\u3057\u307E\u3057\u305F",
|
|
833
939
|
"proxy-invalid": "\u30D7\u30ED\u30AD\u30B7\u306F http://127.0.0.1:7890 \u306E\u3088\u3046\u306A URL \u304B\u7A7A\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059",
|
|
834
940
|
"provider-proxy-invalid": "\u30D7\u30ED\u30D0\u30A4\u30C0\u30FC\u30D7\u30ED\u30AD\u30B7\u306E\u8A2D\u5B9A\u304C\u7121\u52B9\u3067\u3059\u3002\u30D7\u30ED\u30AD\u30B7\u306F http://127.0.0.1:7890 \u306E\u3088\u3046\u306A URL \u304B\u3001\u7A7A\uFF08\u30B0\u30ED\u30FC\u30D0\u30EB\u30D7\u30ED\u30AD\u30B7\u306B\u5F93\u3046\uFF09\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059",
|
|
941
|
+
"shared-proxy-invalid": "\u5171\u6709\u30D7\u30ED\u30AD\u30B7\u306B\u7121\u52B9\u306A\u9805\u76EE\u304C\u3042\u308A\u307E\u3059\u3002\u540D\u524D\u306F\u5FC5\u9808\u3067\u3001\u4F4F\u6240\u306F http://127.0.0.1:7890 \u306E\u5F62\u5F0F\u3001id \u306F\u91CD\u8907\u3067\u304D\u307E\u305B\u3093",
|
|
942
|
+
"proxy-chain-invalid": "\u4EE3\u7406\u30C1\u30A7\u30FC\u30F3\u306B\u7121\u52B9\u306A\u9805\u76EE\u304C\u3042\u308A\u307E\u3059\u3002id \u306F\u5FC5\u9808\u3001\u30CE\u30FC\u30C9\u306F headroom / inject / \u30AB\u30B9\u30BF\u30E0\u30D7\u30ED\u30AD\u30B7\u306E\u3044\u305A\u308C\u304B\u3001\u30D7\u30ED\u30AD\u30B7\u4F4F\u6240\u306F http://127.0.0.1:7890 \u306E\u5F62\u5F0F\u3067\u3059",
|
|
835
943
|
"headroom-proxy-invalid": "headroom \u306E\u4E0A\u6D41\u30D7\u30ED\u30AD\u30B7\u306F http://127.0.0.1:7890 \u306E\u3088\u3046\u306A URL \u304B\u7A7A\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059",
|
|
836
944
|
"tool-name-check": "\u30C4\u30FC\u30EB\u540D\u306E\u6E96\u62E0\u30C1\u30A7\u30C3\u30AF\u306B\u5931\u6557\u3057\u307E\u3057\u305F",
|
|
837
945
|
"proxy-not-set": "\u5148\u306B\u30D7\u30ED\u30AD\u30B7\u306E\u30A2\u30C9\u30EC\u30B9\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",
|
|
@@ -909,7 +1017,7 @@
|
|
|
909
1017
|
"tabProxy": "\uD504\uB85D\uC2DC",
|
|
910
1018
|
"tabBehavior": "\uB3D9\uC791",
|
|
911
1019
|
"tabAgents": "\uC804\uC5ED \uD504\uB86C\uD504\uD2B8",
|
|
912
|
-
"tabZcode": "
|
|
1020
|
+
"tabZcode": "\uB7F0\uD0C0\uC784",
|
|
913
1021
|
"zcodeDesc": "ZCode \uC790\uCCB4 \uB3D9\uC791 \uC124\uC815(~/.zcode/cli/config.json\uC5D0 \uAE30\uB85D). \uC800\uC7A5 \uD6C4 \uC0C8 \uC138\uC158\uBD80\uD130 \uC801\uC6A9\uB429\uB2C8\uB2E4.",
|
|
914
1022
|
"zcodeStatsTitle": "\uC2A4\uD0AC \uBAA9\uB85D \uD655\uC778",
|
|
915
1023
|
"zcodeStatsCounts": "\uC2A4\uD0AC {total}\uAC1C(\uB85C\uCEEC {user} \xB7 \uD50C\uB7EC\uADF8\uC778 {plugin})",
|
|
@@ -947,6 +1055,17 @@
|
|
|
947
1055
|
"agentsSave": "\uC800\uC7A5",
|
|
948
1056
|
"agentsSaved": "\uC804\uC5ED \uD504\uB86C\uD504\uD2B8\uB97C \uC800\uC7A5\uD588\uC2B5\uB2C8\uB2E4",
|
|
949
1057
|
"agentsLoadFailed": "\uC804\uC5ED \uD504\uB86C\uD504\uD2B8\uB97C \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4",
|
|
1058
|
+
"injectTitle": "\uD504\uB86C\uD504\uD2B8 \uC8FC\uC785",
|
|
1059
|
+
"injectDesc": "\uC694\uCCAD\uC744 \uC804\uB2EC\uD560 \uB54C \uC544\uB798 \uAE00\uC744 \uC2DC\uC2A4\uD15C \uD504\uB86C\uD504\uD2B8 \uB05D\uC5D0 \uB367\uBD99\uC785\uB2C8\uB2E4. \uADF8\uB798\uC11C \uB9E4 \uD134\uB9C8\uB2E4 \uD568\uAED8 \uC804\uB2EC\uB429\uB2C8\uB2E4. \uC704\uC758 \uC804\uC5ED \uD504\uB86C\uD504\uD2B8\uC640 \uB2EC\uB9AC \uB300\uD654 \uACC4\uCE35\uC774 \uC544\uB2C8\uB77C \uC2DC\uC2A4\uD15C \uACC4\uCE35\uC5D0 \uB4E4\uC5B4\uAC11\uB2C8\uB2E4. \uB85C\uCEEC \uC804\uB2EC\uC744 \uCF20 \uACF5\uAE09\uC790\uC5D0\uB9CC \uC801\uC6A9\uB418\uBA70, \uC8FC\uC785\uC744 \uCF1C\uBA74 \uC0AC\uC6A9 \uC911\uC778 \uACF5\uAE09\uC790\uC758 \uC804\uB2EC\uB3C4 \uC790\uB3D9\uC73C\uB85C \uCF1C\uC9D1\uB2C8\uB2E4.",
|
|
1060
|
+
"injectPlaceholder": "\uBAA8\uB378\uC774 \uB9E4 \uD134 \uC9C0\uCF30\uC73C\uBA74 \uD558\uB294 \uADDC\uCE59\uC744 \uC785\uB825\uD558\uC138\uC694. \uBE44\uC6B0\uACE0 \uC800\uC7A5\uD558\uBA74 \uC8FC\uC785\uC774 \uC911\uB2E8\uB429\uB2C8\uB2E4",
|
|
1061
|
+
"injectEnable": "\uC8FC\uC785 \uCF1C\uAE30",
|
|
1062
|
+
"injectDisable": "\uC8FC\uC785 \uB044\uAE30",
|
|
1063
|
+
"injectSaved": "\uD504\uB86C\uD504\uD2B8 \uC8FC\uC785\uC744 \uC800\uC7A5\uD588\uC2B5\uB2C8\uB2E4",
|
|
1064
|
+
"injectChars": "{n}\uC790",
|
|
1065
|
+
"injectLongHint": "\uB0B4\uC6A9\uC774 \uAE38\uC5B4 \uB300\uD654 \uCEE8\uD14D\uC2A4\uD2B8\uB97C \uC0C1\uB2F9\uD788 \uCC28\uC9C0\uD569\uB2C8\uB2E4",
|
|
1066
|
+
"injectSubagents": "\uD558\uC704 \uC5D0\uC774\uC804\uD2B8\uC5D0\uB3C4 \uC8FC\uC785",
|
|
1067
|
+
"injectChainStatus": ", \uC0AC\uC6A9 \uC911\uC778 \uACF5\uAE09\uC790 {providers}\uAC1C \uC911 {active}\uAC1C\uC5D0 \uC801\uC6A9 \uC911",
|
|
1068
|
+
"injectChainNone": ", \uC0AC\uC6A9 \uC911\uC778 \uACF5\uAE09\uC790\uAC00 \uC5C6\uC74C",
|
|
950
1069
|
"proxyDesc": "ZCode Pro \uB85C\uCEEC \uB3C4\uC6B0\uBBF8\uAC00 \uC218\uD589\uD558\uB294 \uB124\uD2B8\uC6CC\uD06C \uC561\uC138\uC2A4\uC5D0 HTTP \uD504\uB85D\uC2DC\uB97C \uC124\uC815\uD569\uB2C8\uB2E4. \uD50C\uB7EC\uADF8\uC778 \uB9C8\uCF13 \uC5C5\uB370\uC774\uD2B8\uC640 \uC124\uCE58, \uD50C\uB7EC\uADF8\uC778 \uC885\uC18D \uC18C\uD504\uD2B8\uC6E8\uC5B4 \uC124\uCE58\uC640 \uC5C5\uADF8\uB808\uC774\uB4DC, WebDAV \uB3D9\uAE30\uD654\uC5D0 \uC774 \uD504\uB85D\uC2DC\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC788\uC73C\uBA70 \uC801\uC6A9 \uBC94\uC704\uB294 \uC544\uB798 \uC2A4\uC704\uCE58\uB85C \uC120\uD0DD\uD569\uB2C8\uB2E4. ZCode \uC571 \uC790\uCCB4\uC640 \uBAA8\uB378 \uC694\uCCAD\uC5D0\uB294 \uC601\uD5A5\uC744 \uC8FC\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",
|
|
951
1070
|
"proxyPlaceholder": "http://127.0.0.1:7890",
|
|
952
1071
|
"proxySave": "\uC800\uC7A5",
|
|
@@ -966,6 +1085,78 @@
|
|
|
966
1085
|
"proxySubVendor": "\uACF5\uAE09\uC790 \uD504\uB85D\uC2DC",
|
|
967
1086
|
"proxyVendorDesc": "\uACF5\uAE09\uC790\uBCC4\uB85C \uC124\uC815\uD569\uB2C8\uB2E4. \uCF1C\uBA74 \uD574\uB2F9 \uACF5\uAE09\uC790\uC758 \uBAA8\uB378 \uC694\uCCAD\uC774 \uBA3C\uC800 \uB85C\uCEEC \uC804\uB2EC \uD3EC\uD2B8\uC5D0 \uB3C4\uCC29\uD55C \uB4A4 \uC9C0\uC815\uD55C \uD504\uB85D\uC2DC\uB97C \uAC70\uCCD0 \uB098\uAC11\uB2C8\uB2E4. \uB044\uBA74 \uC6D0\uB798 \uC8FC\uC18C \uADF8\uB300\uB85C \uC9C1\uC811 \uC5F0\uACB0\uD569\uB2C8\uB2E4. ZCode \uC804\uC5ED \uD504\uB85D\uC2DC\uB294 \uBC14\uAFB8\uC9C0 \uC54A\uC73C\uBA70 \uB2E4\uB978 \uACF5\uAE09\uC790\uC5D0\uB3C4 \uC601\uD5A5\uC744 \uC8FC\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uD504\uB85D\uC2DC \uC8FC\uC18C\uB97C \uBE44\uC6B0\uBA74 \uC804\uC5ED \uD504\uB85D\uC2DC\uB97C \uB530\uB985\uB2C8\uB2E4.",
|
|
968
1087
|
"proxyVendorEmpty": "\uC544\uC9C1 \uACF5\uAE09\uC790 \uD504\uB85D\uC2DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4. \uC544\uB798 '\uACF5\uAE09\uC790 \uCD94\uAC00'\uC5D0\uC11C \uC120\uD0DD\uD558\uBA74 \uC801\uC6A9\uB429\uB2C8\uB2E4.",
|
|
1088
|
+
"proxySharedTitle": "\uACF5\uC720 \uD504\uB85D\uC2DC",
|
|
1089
|
+
"proxySharedDesc": "\uC790\uC8FC \uC4F0\uB294 \uD504\uB85D\uC2DC\uB97C \uC5EC\uAE30\uC11C \uC815\uC758\uD558\uBA74 \uC544\uB798 \uAC01 \uACF5\uAE09\uC790\uC758 \uD504\uB85D\uC2DC \uCCB4\uC778\uC5D0\uC11C \uC120\uD0DD\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC5EC\uAE30 \uC8FC\uC18C\uB97C \uBC14\uAFB8\uBA74 \uC774\uB97C \uCC38\uC870\uD558\uB294 \uBAA8\uB4E0 \uACF5\uAE09\uC790\uC5D0 \uBC18\uC601\uB429\uB2C8\uB2E4.",
|
|
1090
|
+
"proxySharedEmpty": "\uACF5\uC720 \uD504\uB85D\uC2DC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
1091
|
+
"proxySharedAdd": "\uACF5\uC720 \uD504\uB85D\uC2DC \uCD94\uAC00",
|
|
1092
|
+
"proxySharedDelete": "\uC0AD\uC81C",
|
|
1093
|
+
"proxySharedName": "\uC774\uB984",
|
|
1094
|
+
"proxySharedInvalid": "\uD504\uB85D\uC2DC \uC8FC\uC18C\uB294 http://127.0.0.1:7890 \uD615\uC2DD\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4",
|
|
1095
|
+
"chainDesc": "\uD504\uB85D\uC2DC \uCCB4\uC778\uC740 \uC694\uCCAD\uC744 \uB178\uB4DC \uC21C\uC11C\uB300\uB85C \uCC98\uB9AC\uD569\uB2C8\uB2E4: headroom \uC555\uCD95, \uD504\uB86C\uD504\uD2B8 \uC8FC\uC785, \uC0AC\uC6A9\uC790 \uC9C0\uC815 \uD504\uB85D\uC2DC\uB85C \uCD9C\uB124\uD2B8. \uD558\uB098\uC758 \uCCB4\uC778\uC5D0 \uC5EC\uB7EC \uACF5\uAE09\uC790\uB97C \uC5F0\uACB0\uD560 \uC218 \uC788\uC73C\uBA70 \uC124\uC815\uACFC \uC804\uC1A1 \uD3EC\uD2B8\uB97C \uACF5\uC720\uD569\uB2C8\uB2E4. \uCD9C\uB124\uD2B8 \uD504\uB85D\uC2DC(\uC608: clash)\uB294 \uCCB4\uC778 \uB9E8 \uB05D\uC5D0 \uB450\uC138\uC694. \uC77C\uBC18 \uD504\uB85D\uC2DC\uB294 \uB85C\uCEEC \uD3EC\uD2B8\uB85C\uC758 \uC804\uC1A1\uC744 \uAC70\uBD80\uD558\uBBC0\uB85C headroom \uC55E\uC5D0 \uB450\uBA74 \uC2E4\uD328\uD569\uB2C8\uB2E4.",
|
|
1096
|
+
"chainMasterSwitch": "\uD504\uB85D\uC2DC \uCCB4\uC778 \uB9C8\uC2A4\uD130 \uC2A4\uC704\uCE58",
|
|
1097
|
+
"chainMasterSwitchDesc": "\uB054: \uC6D0\uD074\uB9AD \uBCF5\uC6D0. \uCCB4\uC778 \uC124\uC815\uC740 \uC720\uC9C0\uB418\uACE0, \uCCB4\uD06C\uB41C \uBAA8\uB4E0 \uACF5\uAE09\uC790\uC758 \uC8FC\uC18C\uAC00 \uC2E4\uC81C \uC5C5\uC2A4\uD2B8\uB9BC \uC8FC\uC18C\uB85C \uB3CC\uC544\uAC00\uBA70 \uC804\uC1A1\uC774 \uC911\uB2E8\uB429\uB2C8\uB2E4. \uCF2C: \uCCB4\uD06C\uB41C \uACF5\uAE09\uC790\uC758 \uC8FC\uC18C\uB294 \uCCB4\uC778\uC774 \uAD00\uB9AC\uD569\uB2C8\uB2E4.",
|
|
1098
|
+
"chainMasterOffHint": "\uB9C8\uC2A4\uD130 \uC2A4\uC704\uCE58\uAC00 \uAEBC\uC838 \uC788\uC2B5\uB2C8\uB2E4: \uCCB4\uC778 \uC124\uC815\uC740 \uC720\uC9C0\uB418\uACE0 \uCCB4\uD06C\uB41C \uACF5\uAE09\uC790\uB294 \uC9C1\uC811 \uC5F0\uACB0\uB85C \uB3CC\uC544\uAC14\uC2B5\uB2C8\uB2E4.",
|
|
1099
|
+
"chainGoCompat": "OpenCode Go \uD638\uD658",
|
|
1100
|
+
"chainGoCompatDesc": "\uACF5\uAE09\uC790\uAC00 \uCCB4\uC778\uC744 \uACBD\uC720\uD560 \uB54C OpenCode Go \uC5D4\uB4DC\uD3EC\uC778\uD2B8\uB85C \uAC00\uB294 \uC694\uCCAD\uC5D0 zcode-pro\uAC00 \uC138\uC158 \uD5E4\uB354\uB97C \uCD94\uAC00\uD569\uB2C8\uB2E4. \uB044\uBA74 OpenCode Go \uACF5\uAE09\uC790\uB294 \uCCB4\uC778 \uACBD\uB85C\uC5D0\uC11C \uAC70\uBD80\uB418\uBBC0\uB85C \uC9C1\uC811 \uC5F0\uACB0\uB85C \uC0AC\uC6A9\uD574\uC57C \uD569\uB2C8\uB2E4.",
|
|
1101
|
+
"chainDeleteConfirmTitle": "\uC774 \uCCB4\uC778\uC744 \uC0AD\uC81C\uD560\uAE4C\uC694?",
|
|
1102
|
+
"chainDeleteConfirmDesc": "\uCCB4\uC778\uC5D0\uC11C \uCCB4\uD06C\uB41C {n}\uAC1C \uACF5\uAE09\uC790\uAC00 \uC9C1\uC811 \uC5F0\uACB0\uB85C \uBCF5\uC6D0\uB418\uACE0 headroom \uC555\uCD95\uC5D0\uC11C \uBE60\uC9D1\uB2C8\uB2E4.",
|
|
1103
|
+
"chainDeleteConfirmDescEmpty": "\uC774 \uCCB4\uC778\uC5D0\uB294 \uCCB4\uD06C\uB41C \uACF5\uAE09\uC790\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.",
|
|
1104
|
+
"chainDeleteConfirmGo": "\uC0AD\uC81C",
|
|
1105
|
+
"injectGoChain": "\uD504\uB85D\uC2DC \uCCB4\uC778 \uC5F4\uAE30",
|
|
1106
|
+
"injectChainHint": "\u201C\uD504\uB85D\uC2DC \u2192 \uD504\uB85D\uC2DC \uCCB4\uC778\u201D\uC5D0\uC11C \uCCB4\uD06C\uD55C \uACF5\uAE09\uC790\uC5D0\uB9CC \uC801\uC6A9\uB429\uB2C8\uB2E4",
|
|
1107
|
+
"chainProvidersHint": "\uCCB4\uD06C = zcode-pro \uACBD\uC720(\uC555\uCD95\xB7\uC8FC\uC785\xB7\uD504\uB85D\uC2DC), \uC8FC\uC18C\uB294 \uCCB4\uC778\uC774 \uAD00\uB9AC; \uCCB4\uD06C \uD574\uC81C = \uC9C1\uC811 \uC5F0\uACB0\uB85C \uBCF5\uC6D0\uB41C \uB4A4 \uADF8\uB300\uB85C \uC720\uC9C0.",
|
|
1108
|
+
"chainManualEditHint": "\uC8FC\uC18C\uAC00 \uB2E4\uB978 \uAC12\uC73C\uB85C \uBC14\uB00C\uBA74(ZCode\uC5D0\uC11C \uC218\uB3D9 \uBCC0\uACBD \uB610\uB294 \uB2E4\uB978 \uAE30\uAE30\uC5D0\uC11C \uB3D9\uAE30\uD654) \uC790\uB3D9\uC73C\uB85C \uCCB4\uC778\uC5D0\uC11C \uBE60\uC9C0\uACE0 \uBC14\uB010 \uC8FC\uC18C\uAC00 \uC720\uC9C0\uB418\uBA70, \uC624\uB978\uCABD \uC544\uB798\uC5D0 \uCE74\uB4DC\uAC00 \uD45C\uC2DC\uB429\uB2C8\uB2E4.",
|
|
1109
|
+
"noticeAutoUncheckedTitle": "\uACF5\uAE09\uC790\uAC00 \uC790\uB3D9\uC73C\uB85C \uCCB4\uC778\uC5D0\uC11C \uBE60\uC84C\uC2B5\uB2C8\uB2E4",
|
|
1110
|
+
"noticeAutoUncheckedDesc": "\uC544\uB798 \uACF5\uAE09\uC790\uB294 \uCCB4\uC778\uC5D0 \uCCB4\uD06C\uB418\uC5B4 \uC788\uC5C8\uC9C0\uB9CC \uC8FC\uC18C\uAC00 \uBC14\uB00C\uC5C8\uC2B5\uB2C8\uB2E4(ZCode\uC5D0\uC11C \uC218\uB3D9 \uBCC0\uACBD \uB610\uB294 \uB2E4\uB978 \uAE30\uAE30\uC5D0\uC11C \uB3D9\uAE30\uD654). \uC790\uB3D9\uC73C\uB85C \uCCB4\uC778\uC5D0\uC11C \uBE60\uC84C\uACE0 \uB354 \uC774\uC0C1 \uC555\uCD95\uACFC \uD504\uB86C\uD504\uD2B8 \uC8FC\uC785\uC744 \uAC70\uCE58\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4:",
|
|
1111
|
+
"noticeAutoUncheckedItem": "{name} \u2192 {url} (\uC6D0\uB798 \uCCB4\uC778: \u201C{chain}\u201D)",
|
|
1112
|
+
"noticeAutoUncheckedHow": "\uB2E4\uC2DC \uC555\uCD95\uACFC \uD504\uB86C\uD504\uD2B8 \uC8FC\uC785\uC744 \uAC70\uCE58\uAC8C \uD558\uB824\uBA74 \u201C\uC124\uC815 \u2192 \uD504\uB85D\uC2DC \u2192 \uD504\uB85D\uC2DC \uCCB4\uC778\u201D\uC5D0\uC11C \uB2E4\uC2DC \uCCB4\uD06C\uD558\uC138\uC694.",
|
|
1113
|
+
"noticeGoChain": "\uD504\uB85D\uC2DC \uCCB4\uC778 \uC5F4\uAE30",
|
|
1114
|
+
"noticeHealthTitle": "\uD504\uB85D\uC2DC \uCCB4\uC778 \uC810\uAC80\uC5D0\uC11C \uBB38\uC81C\uB97C \uCC3E\uC558\uC2B5\uB2C8\uB2E4",
|
|
1115
|
+
"noticeHealthDesc": "30\uCD08\uB9C8\uB2E4 \uD558\uB294 \uC810\uAC80\uC5D0\uC11C \uBB38\uC81C\uB97C \uCC3E\uC544 \uC790\uB3D9\uC73C\uB85C \uCC98\uB9AC\uD588\uC2B5\uB2C8\uB2E4:",
|
|
1116
|
+
"noticeHealthForwarder": "\uD3EC\uC6CC\uB354 127.0.0.1:{ports}\uAC00 \uC218\uC2E0 \uB300\uAE30 \uC911\uC774 \uC544\uB2D9\uB2C8\uB2E4. \uB2E4\uC2DC \uC815\uB9AC\uD588\uC2B5\uB2C8\uB2E4",
|
|
1117
|
+
"noticeHealthForwarderDown": "(\uC544\uC9C1 \uBCF5\uAD6C\uB418\uC9C0 \uC54A\uC74C)",
|
|
1118
|
+
"noticeHealthInstance": "Headroom \uC555\uCD95 \uC778\uC2A4\uD134\uC2A4 127.0.0.1:{ports}\uAC00 \uC218\uC2E0 \uB300\uAE30 \uC911\uC774 \uC544\uB2D9\uB2C8\uB2E4. headroom\uC5D0 \uC7AC\uC2DC\uC791\uC744 \uC694\uCCAD\uD588\uC2B5\uB2C8\uB2E4",
|
|
1119
|
+
"noticeHealthRouter": "Headroom \uC555\uCD95 \uB77C\uC6B0\uD130 127.0.0.1:{ports}\uAC00 \uC218\uC2E0 \uB300\uAE30 \uC911\uC774 \uC544\uB2D9\uB2C8\uB2E4. headroom\uC5D0 \uC7AC\uC2DC\uC791\uC744 \uC694\uCCAD\uD588\uC2B5\uB2C8\uB2E4",
|
|
1120
|
+
"noticeHealthInstanceFailed": ", \uCC98\uB9AC \uC2E4\uD328: {error}",
|
|
1121
|
+
"noticeHealthHint": "\uC555\uCD95 \uC778\uC2A4\uD134\uC2A4\uB294 \uC2DC\uC791\uD558\uB294 \uB370 10\uCD08\uCBE4 \uAC78\uB9BD\uB2C8\uB2E4. \uADF8\uB3D9\uC548 \uC555\uCD95 \uB77C\uC6B0\uD130\uB97C \uAC70\uCE58\uB294 \uC694\uCCAD\uC740 \uC2E4\uD328\uD560 \uC218 \uC788\uC73C\uB2C8 \uC7A0\uC2DC \uD6C4 \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC138\uC694.",
|
|
1122
|
+
"noticeHealthGoHeadroom": "Headroom \uC5F4\uAE30",
|
|
1123
|
+
"noticeTitleGenTitle": "\uC791\uC5C5 \uC774\uB984 \uC0DD\uC131 \uC2E4\uD328",
|
|
1124
|
+
"noticeTitleGenDesc": "\uC0C8 \uC138\uC158\uC758 \uC774\uB984\uC744 \uBAA8\uB378\uC5D0\uAC8C \uC9C0\uC5B4 \uB2EC\uB77C\uB294 \uC694\uCCAD\uC774 \uC2E4\uD328\uD574 \uC138\uC158 \uC774\uB984\uC774 ZCode \uAE30\uBCF8\uAC12\uC73C\uB85C \uB0A8\uC558\uC2B5\uB2C8\uB2E4.",
|
|
1125
|
+
"noticeTitleGenItem": "{provider}\uC758 {model}: {error}",
|
|
1126
|
+
"noticeTitleGenSession": "\uC138\uC158\uC758 \uACF5\uAE09\uC790",
|
|
1127
|
+
"noticeTitleGenHow": "\u201C\uC124\uC815 \u2192 \uC804\uC5ED \uD504\uB86C\uD504\uD2B8 \u2192 \uC790\uB3D9 \uC774\uB984 \uBCC0\uACBD\u201D\uC5D0\uC11C \uC5D4\uB4DC\uD3EC\uC778\uD2B8\uAC00 \uC9C0\uC6D0\uD558\uB294 \uACF5\uAE09\uC790\uB098 \uBAA8\uB378\uB85C \uBC14\uAFB8\uC138\uC694.",
|
|
1128
|
+
"noticeTitleGenGo": "\uC790\uB3D9 \uC774\uB984 \uBCC0\uACBD \uC124\uC815 \uC5F4\uAE30",
|
|
1129
|
+
"noticeToolNameTitle": "\uB3C4\uAD6C \uC774\uB984 \uAC80\uC0AC: \uBC14\uAFC0 \uC218 \uC5C6\uB294 \uD30C\uC77C\uC774 \uC788\uC2B5\uB2C8\uB2E4",
|
|
1130
|
+
"noticeToolNameDesc": "\uB2E4\uC74C \uD30C\uC77C\uC758 \uC11C\uBC84 \uC774\uB984\uC744 \uC904\uC774\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4. \uB2E4\uB978 \uD30C\uC77C\uC740 \uD3C9\uC18C\uB300\uB85C \uCC98\uB9AC\uD588\uC2B5\uB2C8\uB2E4:",
|
|
1131
|
+
"noticeToolNameItem": "{file}({changes}\uC744(\uB97C) \uC904\uC774\uB824 \uD568): {error}",
|
|
1132
|
+
"noticeToolNameNoPerm": "\uC4F0\uAE30 \uAD8C\uD55C \uC5C6\uC74C",
|
|
1133
|
+
"noticeToolNameFix": "\uD30C\uC77C\uC774 \uC77D\uAE30 \uC804\uC6A9\uC785\uB2C8\uB2E4(\uC2DC\uC2A4\uD15C \uC124\uCE58 \uD3F4\uB354 \uC548, \uB300\uBD80\uBD84 root \uC18C\uC720). \uB2E4\uC74C \uC904\uC744 \uD130\uBBF8\uB110\uC5D0 \uBD99\uC5EC\uB123\uC5B4 \uC2E4\uD589\uD558\uBA74 \uC4F0\uAE30 \uAD8C\uD55C\uC774 \uC0DD\uAE41\uB2C8\uB2E4:",
|
|
1134
|
+
"noticeToolNameFixNoCmd": "\uD30C\uC77C\uC774 \uC77D\uAE30 \uC804\uC6A9\uC785\uB2C8\uB2E4(\uC2DC\uC2A4\uD15C \uC124\uCE58 \uD3F4\uB354 \uC548). \uAD00\uB9AC\uC790 \uAD8C\uD55C\uC73C\uB85C \uC4F0\uAE30 \uAD8C\uD55C\uC744 \uC8FC\uC138\uC694. \uC2DC\uC791\uD560 \uB54C\uB9C8\uB2E4 \uB2E4\uC2DC \uC2DC\uB3C4\uD569\uB2C8\uB2E4.",
|
|
1135
|
+
"noticeToolNameAfter": "\uAD8C\uD55C\uC774 \uC0DD\uAE30\uBA74 \uC2DC\uC791\uD560 \uB54C\uB9C8\uB2E4 \uC790\uB3D9\uC73C\uB85C \uC904\uC5B4\uB4ED\uB2C8\uB2E4. ZCode \uC5C5\uB370\uC774\uD2B8\uB85C \uAD8C\uD55C\uC774 \uB418\uB3CC\uC544\uAC00\uBA74 \uC774 \uC904\uC744 \uB2E4\uC2DC \uC2E4\uD589\uD558\uC138\uC694.",
|
|
1136
|
+
"noticeToolNameGo": "\uB7F0\uD0C0\uC784 \uC124\uC815 \uC5F4\uAE30",
|
|
1137
|
+
"chainAutoUnchecked": "\uC8FC\uC18C\uAC00 \uC218\uB3D9\uC73C\uB85C \uBCC0\uACBD\uB418\uC5B4 \uC790\uB3D9\uC73C\uB85C \uCCB4\uC778\uC5D0\uC11C \uBE60\uC84C\uC2B5\uB2C8\uB2E4: {list}",
|
|
1138
|
+
"chainEmpty": "\uC544\uC9C1 \uD504\uB85D\uC2DC \uCCB4\uC778\uC774 \uC5C6\uC2B5\uB2C8\uB2E4. \uC544\uB798 \uC0C8 \uD504\uB85D\uC2DC \uCCB4\uC778\uC744 \uB9CC\uB4DC\uC138\uC694.",
|
|
1139
|
+
"chainAdd": "\uC0C8 \uD504\uB85D\uC2DC \uCCB4\uC778",
|
|
1140
|
+
"chainDefaultName": "\uC0C8 \uCCB4\uC778",
|
|
1141
|
+
"chainNodePinned": "\uC774 \uB2E8\uACC4\uC758 \uC21C\uC11C\uB294 \uCCB4\uC778\uC774 \uACB0\uC815\uD569\uB2C8\uB2E4. \uD654\uC0B4\uD45C\uB85C \uC62C\uAE38 \uC218 \uC788\uC2B5\uB2C8\uB2E4",
|
|
1142
|
+
"chainSwitchHint": "\uB044\uBA74 \uCCB4\uC778 \uC804\uCCB4\uAC00 \uC801\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4",
|
|
1143
|
+
"chainProvidersLabel": "\uC5F0\uACB0\uB41C \uACF5\uAE09\uC790",
|
|
1144
|
+
"chainNoProviders": "\uACF5\uAE09\uC790 \uBAA9\uB85D\uC744 \uC544\uC9C1 \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4",
|
|
1145
|
+
"chainOwnedByOther": "\uB2E4\uB978 \uCCB4\uC778\uC5D0 \uC5F0\uACB0\uB428",
|
|
1146
|
+
"chainForwardPort": "\uC804\uC1A1 \uD3EC\uD2B8",
|
|
1147
|
+
"proxyChainInjection": "\uD504\uB86C\uD504\uD2B8 \uC8FC\uC785",
|
|
1148
|
+
"proxyChainUpstream": "\uC5C5\uC2A4\uD2B8\uB9BC",
|
|
1149
|
+
"proxyChainCustom": "\uC0AC\uC6A9\uC790 \uC9C0\uC815",
|
|
1150
|
+
"proxyChainUseShared": "\uACF5\uC720 \uC0AC\uC6A9",
|
|
1151
|
+
"proxyChainAddNode": "\uD504\uB85D\uC2DC \uCD94\uAC00",
|
|
1152
|
+
"proxyChainOnChain": "\uCCB4\uC778\uC5D0 \uC788\uC74C",
|
|
1153
|
+
"proxyChainNotInstalled": "\uC0AC\uC6A9 \uC548 \uD568",
|
|
1154
|
+
"proxyChainPinnedHint": "\uC774 \uB2E8\uACC4\uB294 \uD574\uB2F9 \uAE30\uB2A5\uC774 \uACB0\uC815\uD558\uBBC0\uB85C \uC5EC\uAE30\uC11C \uBC14\uAFC0 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4",
|
|
1155
|
+
"proxyChainSwitchHint": "\uB044\uBA74 \uCCB4\uC778 \uC804\uCCB4\uAC00 \uC801\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4",
|
|
1156
|
+
"proxyChainHeadroomBlocksProxy": "headroom\uC774 \uCCB4\uC778\uC5D0 \uC788\uB294 \uB3D9\uC548 \uC0AC\uC6A9\uC790 \uC9C0\uC815 \uD504\uB85D\uC2DC\uB294 \uC801\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4(headroom\uC774 \uC9C1\uC811 \uC5C5\uC2A4\uD2B8\uB9BC\uC73C\uB85C \uBCF4\uB0C5\uB2C8\uB2E4)",
|
|
1157
|
+
"proxyChainMultiNotEffective": "\uB450 \uBC88\uC9F8\uBD80\uD130\uB294 \uC544\uC9C1 \uC801\uC6A9\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4(\uB2E4\uB2E8 \uD504\uB85D\uC2DC \uBBF8\uC9C0\uC6D0)",
|
|
1158
|
+
"proxyChainUpstreamViaHeadroom": "headroom\uC774 \uACB0\uC815\uD569\uB2C8\uB2E4",
|
|
1159
|
+
"proxyChainSharedGone": "\uCC38\uC870\uD558\uB294 \uACF5\uC720 \uD504\uB85D\uC2DC\uAC00 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4",
|
|
969
1160
|
"proxyVendorAdd": "\uACF5\uAE09\uC790 \uCD94\uAC00",
|
|
970
1161
|
"proxyVendorRemove": "\uC0AD\uC81C",
|
|
971
1162
|
"proxyVendorUseGlobal": "\uC804\uC5ED \uD504\uB85D\uC2DC \uB530\uB974\uAE30",
|
|
@@ -1299,6 +1490,8 @@
|
|
|
1299
1490
|
"sbLabelOut": "\uCD9C\uB825",
|
|
1300
1491
|
"sbLabelCache": "\uCE90\uC2DC",
|
|
1301
1492
|
"sbLabelTps": "\uCD9C\uB825 tok/s",
|
|
1493
|
+
"sbLabelTtft": "\uCCAB \uD1A0\uD070",
|
|
1494
|
+
"sbLabelReasoning": "\uC0AC\uACE0",
|
|
1302
1495
|
"sbLabelInOut": "\uC785\uB825/\uCD9C\uB825",
|
|
1303
1496
|
"sbLabelHit": "\uD3C9\uADE0 \uC801\uC911",
|
|
1304
1497
|
"turnUsageTitle": "\uC774\uBC88 \uD134 \uD1A0\uD070",
|
|
@@ -1306,6 +1499,8 @@
|
|
|
1306
1499
|
"sbItemTodayTokens": "\uC624\uB298 token",
|
|
1307
1500
|
"sbItemTasks": "\uC804\uCCB4 \uC791\uC5C5 \uC218",
|
|
1308
1501
|
"sbLabelCtx": "\uCEE8\uD14D\uC2A4\uD2B8",
|
|
1502
|
+
"sbTipTools": "\uB3C4\uAD6C \uC815\uC758",
|
|
1503
|
+
"sbTipToolCount": "\uAC1C \uB3C4\uAD6C",
|
|
1309
1504
|
"sbLabelTurns": "\uD638\uCD9C",
|
|
1310
1505
|
"sbLabelToday": "\uC624\uB298",
|
|
1311
1506
|
"sbLabelTasks": "\uC791\uC5C5",
|
|
@@ -1459,13 +1654,11 @@
|
|
|
1459
1654
|
"acEnabled": "\uC0AC\uC6A9",
|
|
1460
1655
|
"acPrompt": "\uACC4\uC18D \uD504\uB86C\uD504\uD2B8",
|
|
1461
1656
|
"acMaxRetries": "\uCD5C\uB300 \uC790\uB3D9 \uACC4\uC18D \uD69F\uC218",
|
|
1462
|
-
"acMaxRetriesHint": "30\uBD84 \
|
|
1463
|
-
"acCooldown": "\uC5F0\uC18D \uC2E4\uD328 \uBC31\uC624\uD504 \uAE30\uC900\uAC12(\uCD08)",
|
|
1464
|
-
"acCooldownHint": "2\uBD84 \uC774\uB0B4\uC5D0 \uACC4\uC18D\uD55C \uC801\uC774 \uC788\uC73C\uBA74 \uC5F0\uC18D \uC2E4\uD328\uB85C \uAC04\uC8FC\uD558\uC5EC \uAC04\uACA9\uC744 2\uBC30\uC529 \uB298\uB9AC\uACE0 \uCD5C\uB300 60\uCD08\uB85C \uC81C\uD55C\uD569\uB2C8\uB2E4. \uB2E8\uC77C \uC2E4\uD328\uB294 \uD654\uBA74\uC774 \uC548\uC815\uB420 \uB54C\uAE4C\uC9C0 3\uCD08\uB9CC \uAE30\uB2E4\uB9BD\uB2C8\uB2E4.",
|
|
1657
|
+
"acMaxRetriesHint": "30\uBD84 \uB3D9\uC548 \uC790\uB3D9 \uACC4\uC18D\uD560 \uC218 \uC788\uB294 \uCD5C\uB300 \uD69F\uC218\uC774\uBA70, \uC0C1\uD55C\uC5D0 \uB3C4\uB2EC\uD558\uBA74 \uBA48\uCDA5\uB2C8\uB2E4",
|
|
1465
1658
|
"acStuckAfterMin": "\uBA48\uCDA4 \uD310\uC815(\uBD84)",
|
|
1466
|
-
"acStuckAfterMinHint": "\uBC31\uADF8\uB77C\uC6B4\uB4DC \
|
|
1659
|
+
"acStuckAfterMinHint": "\uBC31\uADF8\uB77C\uC6B4\uB4DC \uC791\uC5C5, \uC11C\uBE0C\uC5D0\uC774\uC804\uD2B8 \uB610\uB294 \uBA54\uC778 \uD134\uC774 \uC774 \uC2DC\uAC04 \uB3D9\uC548 \uC870\uC6A9\uD558\uBA74 \uCE74\uB4DC\uB85C \uC54C\uB824 \uC90D\uB2C8\uB2E4",
|
|
1467
1660
|
"acFailedAfterMin": "\uC2E4\uD328 \uD6C4 \uC790\uB3D9 \uACC4\uC18D(\uBD84)",
|
|
1468
|
-
"acFailedAfterMinHint": "\uD134
|
|
1661
|
+
"acFailedAfterMinHint": "\uD134 \uC2E4\uD328 \uD6C4 \uC774 \uC2DC\uAC04 \uB3D9\uC548 \uC870\uC6A9\uD558\uBA74 \uC790\uB3D9\uC73C\uB85C \uACC4\uC18D\uD569\uB2C8\uB2E4",
|
|
1469
1662
|
"acLoadFailed": "\uC790\uB3D9 \uACC4\uC18D \uC124\uC815\uC744 \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4",
|
|
1470
1663
|
"acCardKindSubagent": "\uC11C\uBE0C\uC5D0\uC774\uC804\uD2B8 \uBA48\uCDA4",
|
|
1471
1664
|
"acCardKindTurn": "\uBA54\uC778 \uD134 \uBA48\uCDA4",
|
|
@@ -1560,7 +1753,28 @@
|
|
|
1560
1753
|
"headroomLoadFailed": "Headroom \uC124\uC815\uC744 \uC77D\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4",
|
|
1561
1754
|
"headroomStatusTitle": "\uC2E4\uD589 \uC0C1\uD0DC",
|
|
1562
1755
|
"hrInstRunning": "\uC2E4\uD589 \uC911",
|
|
1756
|
+
"acContinueDelay": "\uACC4\uC18D\uD558\uAE30 \uC804 \uC9C0\uC5F0(\uCD08)",
|
|
1757
|
+
"acContinueDelayHint": "\uD134 \uC2E4\uD328 \uD6C4 \uC774 \uC2DC\uAC04\uB9CC\uD07C \uAE30\uB2E4\uB838\uB2E4\uAC00 \uACC4\uC18D\uC744 \uBCF4\uB0C5\uB2C8\uB2E4. \uC77C\uC2DC\uC801 \uC7A5\uC560\uAC00 \uC9C0\uB098\uAC00\uAE30\uB97C \uAE30\uB2E4\uB9BD\uB2C8\uB2E4",
|
|
1758
|
+
"acContinueDelayFactor": "\uC9C0\uC5F0 \uC99D\uAC00 \uBC30\uC218",
|
|
1759
|
+
"acContinueDelayFactorHint": "\uC5F0\uC18D \uC2E4\uD328 \uC2DC\uB9C8\uB2E4 \uB300\uAE30 \uC2DC\uAC04\uC5D0 \uC774 \uBC30\uC218\uB97C \uACF1\uD569\uB2C8\uB2E4(1.3 \u2192 2\uBD84, 2.6\uBD84, 3.4\uBD84\u2026). 1\uC774\uBA74 \uACE0\uC815",
|
|
1563
1760
|
"hrInstStopped": "\uC911\uC9C0\uB428",
|
|
1761
|
+
"hrInstChain": "\uCCB4\uC778",
|
|
1762
|
+
"hrInstUpstreams": "\uC5C5\uC2A4\uD2B8\uB9BC",
|
|
1763
|
+
"hrInstVia": "\uACBD\uC720",
|
|
1764
|
+
"hrInstProviders": "\uACF5\uAE09\uC790",
|
|
1765
|
+
"hrInstRestore": "{vals[0]}",
|
|
1766
|
+
"hrRestoreFailed": "{vals[1]}",
|
|
1767
|
+
"hrRestoreDone": "{vals[2]}",
|
|
1768
|
+
"hrRestoreHint": "\uC774 \uACF5\uAE09\uC790\uB4E4\uC758 API \uC8FC\uC18C\uB97C \uBCF5\uC6D0\uD569\uB2C8\uB2E4: \uCCB4\uC778\uC5D0 \uC788\uC73C\uBA74 \uBCF5\uC6D0 \uC704\uCE58\uB97C \uC120\uD0DD\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4",
|
|
1769
|
+
"hrRestoreConfirmTitle": "\uC8FC\uC18C\uB97C \uBCF5\uC6D0\uD560\uAE4C\uC694?",
|
|
1770
|
+
"hrRestoreConfirmDesc": "{names}",
|
|
1771
|
+
"hrRestoreNext": "\uB2E4\uC74C",
|
|
1772
|
+
"hrRestoreChooseTitle": "\uC5B4\uB514\uB85C \uBCF5\uC6D0\uD560\uAE4C\uC694?",
|
|
1773
|
+
"hrRestoreChooseDesc": "{names} \uC740(\uB294) \uD504\uB85D\uC2DC \uCCB4\uC778\uC5D0 \uC788\uC2B5\uB2C8\uB2E4",
|
|
1774
|
+
"hrRestoreOptChain": "\uCCB4\uC778 \uC8FC\uC18C\uB85C (\uCCB4\uC778 \uC720\uC9C0)",
|
|
1775
|
+
"hrRestoreOptDirect": "\uC2E4\uC81C \uC8FC\uC18C\uB85C \uC9C1\uC811 (\uCCB4\uC778\uC5D0\uC11C \uC81C\uC678)",
|
|
1776
|
+
"hrRestoreChainDone": "\uC8FC\uC18C\uB97C \uCCB4\uC778 \uC785\uAD6C\uB85C \uBCF5\uC6D0\uD588\uC2B5\uB2C8\uB2E4",
|
|
1777
|
+
"chainLeaveHint": "\uC555\uCD95 \uD574\uC81C \uC2DC headroom \uB4F1\uB85D \uC815\uB9AC\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4 (\uB2E4\uC2DC \uCCB4\uD06C\uD558\uBA74 \uBCF5\uAD6C\uB429\uB2C8\uB2E4)",
|
|
1564
1778
|
"headroomStatusLoadFailed": "\uC2E4\uD589 \uC0C1\uD0DC\uB97C \uC77D\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4",
|
|
1565
1779
|
"headroomProxyUp": "\uD504\uB85D\uC2DC \uC2E4\uD589 \uC911",
|
|
1566
1780
|
"headroomProxyDown": "\uD504\uB85D\uC2DC \uC911\uC9C0\uB428",
|
|
@@ -1721,6 +1935,8 @@
|
|
|
1721
1935
|
"vision-test": "\uBE44\uC804 \uD504\uB85D\uC2DC \uD14C\uC2A4\uD2B8\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",
|
|
1722
1936
|
"proxy-invalid": "\uD504\uB85D\uC2DC\uB294 http://127.0.0.1:7890\uACFC \uAC19\uC740 URL\uC774\uAC70\uB098 \uBE44\uC5B4 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4",
|
|
1723
1937
|
"provider-proxy-invalid": "\uACF5\uAE09\uC790 \uD504\uB85D\uC2DC \uC124\uC815\uC774 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uD504\uB85D\uC2DC\uB294 http://127.0.0.1:7890\uACFC \uAC19\uC740 URL\uC774\uAC70\uB098 \uBE44\uC5B4 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4(\uC804\uC5ED \uD504\uB85D\uC2DC \uB530\uB974\uAE30)",
|
|
1938
|
+
"shared-proxy-invalid": "\uACF5\uC720 \uD504\uB85D\uC2DC\uC5D0 \uC798\uBABB\uB41C \uD56D\uBAA9\uC774 \uC788\uC2B5\uB2C8\uB2E4. \uC774\uB984\uC740 \uBE44\uC6B8 \uC218 \uC5C6\uACE0, \uC8FC\uC18C\uB294 http://127.0.0.1:7890 \uD615\uC2DD\uC774\uC5B4\uC57C \uD558\uBA70, id\uB294 \uC911\uBCF5\uB420 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4",
|
|
1939
|
+
"proxy-chain-invalid": "\uD504\uB85D\uC2DC \uCCB4\uC778\uC5D0 \uC798\uBABB\uB41C \uD56D\uBAA9\uC774 \uC788\uC2B5\uB2C8\uB2E4. id\uAC00 \uD544\uC694\uD558\uACE0, \uB178\uB4DC\uB294 headroom / inject / \uC0AC\uC6A9\uC790 \uC9C0\uC815 \uD504\uB85D\uC2DC \uC911 \uD558\uB098\uC774\uBA70, \uD504\uB85D\uC2DC \uC8FC\uC18C\uB294 http://127.0.0.1:7890 \uD615\uC2DD\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4",
|
|
1724
1940
|
"headroom-proxy-invalid": "headroom \uC5C5\uC2A4\uD2B8\uB9BC \uD504\uB85D\uC2DC\uB294 http://127.0.0.1:7890\uACFC \uAC19\uC740 URL\uC774\uAC70\uB098 \uBE44\uC5B4 \uC788\uC5B4\uC57C \uD569\uB2C8\uB2E4",
|
|
1725
1941
|
"tool-name-check": "\uB3C4\uAD6C \uC774\uB984 \uC900\uC218 \uAC80\uC0AC\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",
|
|
1726
1942
|
"proxy-not-set": "\uBA3C\uC800 \uD504\uB85D\uC2DC \uC8FC\uC18C\uB97C \uC124\uC815\uD558\uC138\uC694",
|
|
@@ -1798,7 +2014,7 @@
|
|
|
1798
2014
|
"tabProxy": "\u041F\u0440\u043E\u043A\u0441\u0438",
|
|
1799
2015
|
"tabBehavior": "\u041F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435",
|
|
1800
2016
|
"tabAgents": "\u0413\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u0440\u043E\u043C\u043F\u0442",
|
|
1801
|
-
"tabZcode": "
|
|
2017
|
+
"tabZcode": "\u0421\u0440\u0435\u0434\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F",
|
|
1802
2018
|
"zcodeDesc": "\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0441\u0430\u043C\u043E\u0433\u043E ZCode (\u0437\u0430\u043F\u0438\u0441\u044B\u0432\u0430\u044E\u0442\u0441\u044F \u0432 ~/.zcode/cli/config.json). \u041F\u043E\u0441\u043B\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F \u043F\u0440\u0438\u043C\u0435\u043D\u044F\u044E\u0442\u0441\u044F \u043A \u043D\u043E\u0432\u044B\u043C \u0441\u0435\u0441\u0441\u0438\u044F\u043C.",
|
|
1803
2019
|
"zcodeStatsTitle": "\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u0441\u043F\u0438\u0441\u043A\u0430 \u043D\u0430\u0432\u044B\u043A\u043E\u0432",
|
|
1804
2020
|
"zcodeStatsCounts": "\u041D\u0430\u0432\u044B\u043A\u043E\u0432: {total} (\u043B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0445 {user} \xB7 \u0438\u0437 \u043F\u043B\u0430\u0433\u0438\u043D\u043E\u0432 {plugin})",
|
|
@@ -1836,6 +2052,17 @@
|
|
|
1836
2052
|
"agentsSave": "\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C",
|
|
1837
2053
|
"agentsSaved": "\u0413\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u0440\u043E\u043C\u043F\u0442 \u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D",
|
|
1838
2054
|
"agentsLoadFailed": "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u0440\u043E\u043C\u043F\u0442",
|
|
2055
|
+
"injectTitle": "\u0412\u043D\u0435\u0434\u0440\u0435\u043D\u0438\u0435 \u043F\u0440\u043E\u043C\u043F\u0442\u0430",
|
|
2056
|
+
"injectDesc": "\u041F\u0440\u0438 \u043F\u0435\u0440\u0435\u0441\u044B\u043B\u043A\u0435 \u0437\u0430\u043F\u0440\u043E\u0441\u0430 \u043F\u0440\u0438\u0432\u0435\u0434\u0451\u043D\u043D\u044B\u0439 \u043D\u0438\u0436\u0435 \u0442\u0435\u043A\u0441\u0442 \u0434\u043E\u0431\u0430\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0432 \u043A\u043E\u043D\u0435\u0446 \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u043E\u0433\u043E \u043F\u0440\u043E\u043C\u043F\u0442\u0430, \u043F\u043E\u044D\u0442\u043E\u043C\u0443 \u043E\u043D \u043F\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0432 \u043A\u0430\u0436\u0434\u043E\u043C \u0445\u043E\u0434\u0435. \u0412 \u043E\u0442\u043B\u0438\u0447\u0438\u0435 \u043E\u0442 \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u043F\u0440\u043E\u043C\u043F\u0442\u0430 \u0432\u044B\u0448\u0435, \u043E\u043D \u043F\u043E\u043F\u0430\u0434\u0430\u0435\u0442 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u044B\u0439 \u0441\u043B\u043E\u0439, \u0430 \u043D\u0435 \u0432 \u0441\u043B\u043E\u0439 \u0434\u0438\u0430\u043B\u043E\u0433\u0430. \u0414\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u043E\u043B\u044C\u043A\u043E \u0434\u043B\u044F \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u043E\u0432 \u0441 \u0432\u043A\u043B\u044E\u0447\u0451\u043D\u043D\u043E\u0439 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u043E\u0439 \u043F\u0435\u0440\u0435\u0441\u044B\u043B\u043A\u043E\u0439; \u043F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u0432\u043D\u0435\u0434\u0440\u0435\u043D\u0438\u044F \u043F\u0435\u0440\u0435\u0441\u044B\u043B\u043A\u0430 \u0432\u043A\u043B\u044E\u0447\u0430\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u0432\u0441\u0435\u0445 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u043E\u0432.",
|
|
2057
|
+
"injectPlaceholder": "\u041F\u0440\u0430\u0432\u0438\u043B\u0430, \u043A\u043E\u0442\u043E\u0440\u044B\u043C \u043C\u043E\u0434\u0435\u043B\u044C \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u044C \u0432 \u043A\u0430\u0436\u0434\u043E\u043C \u0445\u043E\u0434\u0435; \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u0435 \u0438 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u0435\u043A\u0440\u0430\u0442\u0438\u0442\u044C \u0432\u043D\u0435\u0434\u0440\u0435\u043D\u0438\u0435",
|
|
2058
|
+
"injectEnable": "\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0432\u043D\u0435\u0434\u0440\u0435\u043D\u0438\u0435",
|
|
2059
|
+
"injectDisable": "\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0432\u043D\u0435\u0434\u0440\u0435\u043D\u0438\u0435",
|
|
2060
|
+
"injectSaved": "\u0412\u043D\u0435\u0434\u0440\u0435\u043D\u0438\u0435 \u043F\u0440\u043E\u043C\u043F\u0442\u0430 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u043E",
|
|
2061
|
+
"injectChars": "{n} \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432",
|
|
2062
|
+
"injectLongHint": "\u0422\u0435\u043A\u0441\u0442 \u0434\u043B\u0438\u043D\u043D\u044B\u0439 \u0438 \u0437\u0430\u043C\u0435\u0442\u043D\u043E \u0441\u043E\u043A\u0440\u0430\u0442\u0438\u0442 \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442 \u0434\u0438\u0430\u043B\u043E\u0433\u0430",
|
|
2063
|
+
"injectSubagents": "\u0412\u043D\u0435\u0434\u0440\u044F\u0442\u044C \u0438 \u0432 \u0441\u0443\u0431\u0430\u0433\u0435\u043D\u0442\u043E\u0432",
|
|
2064
|
+
"injectChainStatus": ", \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 \u0434\u043B\u044F {active} \u0438\u0437 {providers} \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u043E\u0432",
|
|
2065
|
+
"injectChainNone": ", \u043D\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0445 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u043E\u0432",
|
|
1839
2066
|
"proxyDesc": "\u0417\u0430\u0434\u0430\u0439\u0442\u0435 HTTP-\u043F\u0440\u043E\u043A\u0441\u0438 \u0434\u043B\u044F \u0441\u0435\u0442\u0435\u0432\u044B\u0445 \u0437\u0430\u043F\u0440\u043E\u0441\u043E\u0432 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u043F\u043E\u043C\u043E\u0449\u043D\u0438\u043A\u0430 ZCode Pro: \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u0438 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0430 \u0438\u0437 \u043C\u0430\u0433\u0430\u0437\u0438\u043D\u0430 \u043F\u043B\u0430\u0433\u0438\u043D\u043E\u0432, \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0430 \u0438 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u0435\u0439 \u043F\u043B\u0430\u0433\u0438\u043D\u043E\u0432, \u0441\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0430\u0446\u0438\u044F WebDAV \u043C\u043E\u0433\u0443\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u044D\u0442\u043E\u0442 \u043F\u0440\u043E\u043A\u0441\u0438; \u043E\u0431\u043B\u0430\u0441\u0442\u0438 \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0432\u044B\u0431\u0438\u0440\u0430\u044E\u0442\u0441\u044F \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u0435\u043B\u044F\u043C\u0438 \u043D\u0438\u0436\u0435. \u041D\u0435 \u0432\u043B\u0438\u044F\u0435\u0442 \u043D\u0430 \u0441\u0430\u043C\u043E \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435 ZCode \u0438 \u043D\u0430 \u0437\u0430\u043F\u0440\u043E\u0441\u044B \u043A \u043C\u043E\u0434\u0435\u043B\u044F\u043C.",
|
|
1840
2067
|
"proxyPlaceholder": "http://127.0.0.1:7890",
|
|
1841
2068
|
"proxySave": "\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C",
|
|
@@ -1855,6 +2082,78 @@
|
|
|
1855
2082
|
"proxySubVendor": "\u041F\u0440\u043E\u043A\u0441\u0438 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u043E\u0432",
|
|
1856
2083
|
"proxyVendorDesc": "\u041D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043A\u0430\u0436\u0434\u043E\u0433\u043E \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u0430. \u041F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u0437\u0430\u043F\u0440\u043E\u0441\u044B \u043A \u043C\u043E\u0434\u0435\u043B\u044F\u043C \u044D\u0442\u043E\u0433\u043E \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u043F\u0440\u0438\u0445\u043E\u0434\u044F\u0442 \u043D\u0430 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u043E\u0440\u0442 \u043F\u0435\u0440\u0435\u0441\u044B\u043B\u043A\u0438 \u0438 \u0443\u0445\u043E\u0434\u044F\u0442 \u0447\u0435\u0440\u0435\u0437 \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u044B\u0439 \u043F\u0440\u043E\u043A\u0441\u0438; \u043F\u0440\u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u0430\u0434\u0440\u0435\u0441 \u043E\u0441\u0442\u0430\u0451\u0442\u0441\u044F \u043F\u0440\u0435\u0436\u043D\u0438\u043C \u0438 \u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0435 \u043F\u0440\u044F\u043C\u043E\u0435. \u0413\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u0440\u043E\u043A\u0441\u0438 ZCode \u043D\u0435 \u043C\u0435\u043D\u044F\u0435\u0442\u0441\u044F, \u0434\u0440\u0443\u0433\u0438\u0435 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u044B \u043D\u0435 \u0437\u0430\u0442\u0440\u0430\u0433\u0438\u0432\u0430\u044E\u0442\u0441\u044F. \u041F\u0443\u0441\u0442\u043E\u0439 \u0430\u0434\u0440\u0435\u0441 \u043F\u0440\u043E\u043A\u0441\u0438 = \u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u044C \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u043E\u043C\u0443 \u043F\u0440\u043E\u043A\u0441\u0438.",
|
|
1857
2084
|
"proxyVendorEmpty": "\u041F\u0440\u043E\u043A\u0441\u0438 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u043E\u0432 \u0435\u0449\u0451 \u043D\u0435 \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u044B. \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u0447\u0435\u0440\u0435\u0437 \xAB\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u0430\xBB \u043D\u0438\u0436\u0435 \u2014 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u043D\u0430\u0447\u043D\u0451\u0442 \u0434\u0435\u0439\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u043F\u043E\u0441\u043B\u0435 \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u044F.",
|
|
2085
|
+
"proxySharedTitle": "\u041E\u0431\u0449\u0438\u0435 \u043F\u0440\u043E\u043A\u0441\u0438",
|
|
2086
|
+
"proxySharedDesc": "\u0417\u0430\u0434\u0430\u0439\u0442\u0435 \u043F\u0440\u043E\u043A\u0441\u0438 \u0437\u0434\u0435\u0441\u044C \u0438 \u0432\u044B\u0431\u0438\u0440\u0430\u0439\u0442\u0435 \u0438\u0445 \u0432 \u0446\u0435\u043F\u043E\u0447\u043A\u0435 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u043D\u0438\u0436\u0435.",
|
|
2087
|
+
"proxySharedEmpty": "\u041E\u0431\u0449\u0438\u0445 \u043F\u0440\u043E\u043A\u0441\u0438 \u043F\u043E\u043A\u0430 \u043D\u0435\u0442.",
|
|
2088
|
+
"proxySharedAdd": "\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043E\u0431\u0449\u0438\u0439 \u043F\u0440\u043E\u043A\u0441\u0438",
|
|
2089
|
+
"proxySharedDelete": "\u0423\u0434\u0430\u043B\u0438\u0442\u044C",
|
|
2090
|
+
"proxySharedName": "\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",
|
|
2091
|
+
"proxySharedInvalid": "\u0410\u0434\u0440\u0435\u0441 \u043F\u0440\u043E\u043A\u0441\u0438 \u0434\u043E\u043B\u0436\u0435\u043D \u0432\u044B\u0433\u043B\u044F\u0434\u0435\u0442\u044C \u043A\u0430\u043A http://127.0.0.1:7890",
|
|
2092
|
+
"chainDesc": "\u0426\u0435\u043F\u043E\u0447\u043A\u0430 \u043F\u0440\u043E\u043A\u0441\u0438 \u043E\u0431\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u0435\u0442 \u0437\u0430\u043F\u0440\u043E\u0441 \u043F\u043E \u0443\u0437\u043B\u0430\u043C \u043F\u043E \u043F\u043E\u0440\u044F\u0434\u043A\u0443: \u0441\u0436\u0430\u0442\u0438\u0435 headroom, \u0432\u043D\u0435\u0434\u0440\u0435\u043D\u0438\u0435 \u043F\u0440\u043E\u043C\u043F\u0442\u0430, \u0432\u044B\u0445\u043E\u0434 \u0447\u0435\u0440\u0435\u0437 \u0441\u0432\u043E\u0439 \u043F\u0440\u043E\u043A\u0441\u0438. \u041E\u0434\u043D\u0430 \u0446\u0435\u043F\u043E\u0447\u043A\u0430 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0441\u0432\u044F\u0437\u0430\u043D\u0430 \u0441 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u0438\u043C\u0438 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u0430\u043C\u0438 \u0438 \u043E\u043D\u0438 \u0440\u0430\u0437\u0434\u0435\u043B\u044F\u044E\u0442 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0438 \u043F\u043E\u0440\u0442. \u041F\u0440\u043E\u043A\u0441\u0438 \u0432\u044B\u0445\u043E\u0434\u0430 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, clash) \u0440\u0430\u0437\u043C\u0435\u0449\u0430\u0439\u0442\u0435 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0446\u0435\u043F\u043E\u0447\u043A\u0438: \u043E\u0431\u044B\u0447\u043D\u044B\u0435 \u043F\u0440\u043E\u043A\u0441\u0438 \u043E\u0431\u044B\u0447\u043D\u043E \u043E\u0442\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u043E\u0431\u0440\u0430\u0441\u044B\u0432\u0430\u0442\u044C \u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F \u043D\u0430 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0435 \u043F\u043E\u0440\u0442\u044B, \u043F\u043E\u044D\u0442\u043E\u043C\u0443 \u043F\u0435\u0440\u0435\u0434 headroom \u0442\u0430\u043A\u043E\u0439 \u0443\u0437\u0435\u043B \u043D\u0435 \u0441\u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442.",
|
|
2093
|
+
"chainMasterSwitch": "\u0413\u043B\u0430\u0432\u043D\u044B\u0439 \u0432\u044B\u043A\u043B\u044E\u0447\u0430\u0442\u0435\u043B\u044C \u0446\u0435\u043F\u043E\u0447\u0435\u043A \u043F\u0440\u043E\u043A\u0441\u0438",
|
|
2094
|
+
"chainMasterSwitchDesc": "\u0412\u044B\u043A\u043B: \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u0432 \u043E\u0434\u0438\u043D \u043A\u043B\u0438\u043A. \u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0446\u0435\u043F\u043E\u0447\u0435\u043A \u0441\u043E\u0445\u0440\u0430\u043D\u044F\u044E\u0442\u0441\u044F, \u0430\u0434\u0440\u0435\u0441\u0430 \u0432\u0441\u0435\u0445 \u043E\u0442\u043C\u0435\u0447\u0435\u043D\u043D\u044B\u0445 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u043E\u0432 \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u044E\u0442\u0441\u044F \u043A \u0440\u0435\u0430\u043B\u044C\u043D\u044B\u043C \u0430\u0434\u0440\u0435\u0441\u0430\u043C, \u043F\u0435\u0440\u0435\u0441\u044B\u043B\u043A\u0430 \u043E\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442\u0441\u044F. \u0412\u043A\u043B: \u0430\u0434\u0440\u0435\u0441\u0430 \u043E\u0442\u043C\u0435\u0447\u0435\u043D\u043D\u044B\u0445 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u043E\u0432 \u0432\u0435\u0434\u0451\u0442 \u0446\u0435\u043F\u043E\u0447\u043A\u0430.",
|
|
2095
|
+
"chainMasterOffHint": "\u0413\u043B\u0430\u0432\u043D\u044B\u0439 \u0432\u044B\u043A\u043B\u044E\u0447\u0430\u0442\u0435\u043B\u044C \u0432\u044B\u043A\u043B\u044E\u0447\u0435\u043D: \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0446\u0435\u043F\u043E\u0447\u0435\u043A \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u044B, \u043E\u0442\u043C\u0435\u0447\u0435\u043D\u043D\u044B\u0435 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u044B \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0435\u043D\u044B \u043A \u043F\u0440\u044F\u043C\u043E\u043C\u0443 \u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044E.",
|
|
2096
|
+
"chainGoCompat": "\u0421\u043E\u0432\u043C\u0435\u0441\u0442\u0438\u043C\u043E\u0441\u0442\u044C \u0441 OpenCode Go",
|
|
2097
|
+
"chainGoCompatDesc": "\u041A\u043E\u0433\u0434\u0430 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440 \u043F\u0440\u043E\u0445\u043E\u0434\u0438\u0442 \u0447\u0435\u0440\u0435\u0437 \u0446\u0435\u043F\u043E\u0447\u043A\u0443, zcode-pro \u0434\u043E\u0431\u0430\u0432\u043B\u044F\u0435\u0442 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u0441\u0435\u0430\u043D\u0441\u0430, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043A\u043E\u043D\u0435\u0447\u043D\u0430\u044F \u0442\u043E\u0447\u043A\u0430 OpenCode Go. \u0415\u0441\u043B\u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C, \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u044B OpenCode Go \u0431\u0443\u0434\u0443\u0442 \u043E\u0442\u043A\u043B\u043E\u043D\u044F\u0442\u044C\u0441\u044F \u0447\u0435\u0440\u0435\u0437 \u0446\u0435\u043F\u043E\u0447\u043A\u0443 \u2014 \u043E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u0438\u0445 \u043D\u0430 \u043F\u0440\u044F\u043C\u043E\u043C \u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u0438.",
|
|
2098
|
+
"chainDeleteConfirmTitle": "\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u044D\u0442\u0443 \u0446\u0435\u043F\u043E\u0447\u043A\u0443?",
|
|
2099
|
+
"chainDeleteConfirmDesc": "\u041E\u0442\u043C\u0435\u0447\u0435\u043D\u043D\u044B\u0435 \u0432 \u043D\u0435\u0439 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u044B ({n}) \u0432\u0435\u0440\u043D\u0443\u0442\u0441\u044F \u043A \u043F\u0440\u044F\u043C\u043E\u043C\u0443 \u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044E \u0438 \u0432\u044B\u0439\u0434\u0443\u0442 \u0438\u0437 \u0441\u0436\u0430\u0442\u0438\u044F headroom.",
|
|
2100
|
+
"chainDeleteConfirmDescEmpty": "\u0412 \u044D\u0442\u043E\u0439 \u0446\u0435\u043F\u043E\u0447\u043A\u0435 \u043D\u0435\u0442 \u043E\u0442\u043C\u0435\u0447\u0435\u043D\u043D\u044B\u0445 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u043E\u0432.",
|
|
2101
|
+
"chainDeleteConfirmGo": "\u0423\u0434\u0430\u043B\u0438\u0442\u044C",
|
|
2102
|
+
"injectGoChain": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0446\u0435\u043F\u043E\u0447\u043A\u0438 \u043F\u0440\u043E\u043A\u0441\u0438",
|
|
2103
|
+
"injectChainHint": "\u0414\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u043E\u043B\u044C\u043A\u043E \u043D\u0430 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u043E\u0432, \u043E\u0442\u043C\u0435\u0447\u0435\u043D\u043D\u044B\u0445 \u0432 \u201C\u041F\u0440\u043E\u043A\u0441\u0438 \u2192 \u0426\u0435\u043F\u043E\u0447\u043A\u0438 \u043F\u0440\u043E\u043A\u0441\u0438\u201D",
|
|
2104
|
+
"chainProvidersHint": "\u041E\u0442\u043C\u0435\u0447\u0435\u043D\u043E = \u0437\u0430\u043F\u0440\u043E\u0441\u044B \u0438\u0434\u0443\u0442 \u0447\u0435\u0440\u0435\u0437 zcode-pro (\u0441\u0436\u0430\u0442\u0438\u0435, \u0432\u0441\u0442\u0430\u0432\u043A\u0430, \u043F\u0440\u043E\u043A\u0441\u0438), \u0430\u0434\u0440\u0435\u0441\u043E\u043C \u0443\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0446\u0435\u043F\u043E\u0447\u043A\u0430; \u0441\u043D\u044F\u0442\u043E = \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0435\u043D\u043E \u043A \u043F\u0440\u044F\u043C\u043E\u043C\u0443 \u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044E \u0438 \u043E\u0441\u0442\u0430\u0451\u0442\u0441\u044F \u0442\u0430\u043A",
|
|
2105
|
+
"chainManualEditHint": "\u0415\u0441\u043B\u0438 \u0430\u0434\u0440\u0435\u0441 \u0438\u0437\u043C\u0435\u043D\u0438\u0442\u0441\u044F \u043D\u0430 \u0434\u0440\u0443\u0433\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 (\u0432\u0440\u0443\u0447\u043D\u0443\u044E \u0432 ZCode \u0438\u043B\u0438 \u043F\u0440\u0438 \u0441\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0430\u0446\u0438\u0438 \u0441 \u0434\u0440\u0443\u0433\u043E\u0433\u043E \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430), \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0432\u044B\u0439\u0434\u0435\u0442 \u0438\u0437 \u0446\u0435\u043F\u043E\u0447\u043A\u0438 \u0438 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u0441\u044F \u043D\u043E\u0432\u044B\u0439 \u0430\u0434\u0440\u0435\u0441; \u0432 \u0443\u0433\u043B\u0443 \u043F\u043E\u044F\u0432\u0438\u0442\u0441\u044F \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0430.",
|
|
2106
|
+
"noticeAutoUncheckedTitle": "\u041F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u044B \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0432\u044B\u0448\u043B\u0438 \u0438\u0437 \u0446\u0435\u043F\u043E\u0447\u043A\u0438 \u043F\u0440\u043E\u043A\u0441\u0438",
|
|
2107
|
+
"noticeAutoUncheckedDesc": "\u042D\u0442\u0438 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u044B \u0431\u044B\u043B\u0438 \u043E\u0442\u043C\u0435\u0447\u0435\u043D\u044B \u0432 \u0446\u0435\u043F\u043E\u0447\u043A\u0435, \u043D\u043E \u0438\u0445 \u0430\u0434\u0440\u0435\u0441 \u0438\u0437\u043C\u0435\u043D\u0438\u043B\u0441\u044F (\u0432\u0440\u0443\u0447\u043D\u0443\u044E \u0432 ZCode \u0438\u043B\u0438 \u043F\u0440\u0438 \u0441\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0430\u0446\u0438\u0438 \u0441 \u0434\u0440\u0443\u0433\u043E\u0433\u043E \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430). \u041E\u043D\u0438 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0432\u044B\u0448\u043B\u0438 \u0438\u0437 \u0446\u0435\u043F\u043E\u0447\u043A\u0438 \u0438 \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435 \u043F\u0440\u043E\u0445\u043E\u0434\u044F\u0442 \u0441\u0436\u0430\u0442\u0438\u0435 \u0438 \u0432\u0441\u0442\u0430\u0432\u043A\u0443 \u043F\u0440\u043E\u043C\u043F\u0442\u0430:",
|
|
2108
|
+
"noticeAutoUncheckedItem": "{name} \u2192 {url} (\u0431\u044B\u043B \u0432 \u0446\u0435\u043F\u043E\u0447\u043A\u0435 \u201C{chain}\u201D)",
|
|
2109
|
+
"noticeAutoUncheckedHow": "\u0427\u0442\u043E\u0431\u044B \u0441\u043D\u043E\u0432\u0430 \u043F\u0440\u043E\u043F\u0443\u0441\u043A\u0430\u0442\u044C \u0438\u0445 \u0447\u0435\u0440\u0435\u0437 \u0441\u0436\u0430\u0442\u0438\u0435 \u0438 \u0432\u0441\u0442\u0430\u0432\u043A\u0443 \u043F\u0440\u043E\u043C\u043F\u0442\u0430, \u043E\u0442\u043C\u0435\u0442\u044C\u0442\u0435 \u0438\u0445 \u0441\u043D\u043E\u0432\u0430 \u0432 \u201C\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u2192 \u041F\u0440\u043E\u043A\u0441\u0438 \u2192 \u0426\u0435\u043F\u043E\u0447\u043A\u0438 \u043F\u0440\u043E\u043A\u0441\u0438\u201D.",
|
|
2110
|
+
"noticeGoChain": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0446\u0435\u043F\u043E\u0447\u043A\u0438 \u043F\u0440\u043E\u043A\u0441\u0438",
|
|
2111
|
+
"noticeHealthTitle": "\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F \u0446\u0435\u043F\u043E\u0447\u043A\u0438 \u043F\u0440\u043E\u043A\u0441\u0438 \u043D\u0430\u0448\u043B\u0430 \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0443",
|
|
2112
|
+
"noticeHealthDesc": "\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u0440\u0430\u0437 \u0432 30 \u0441\u0435\u043A\u0443\u043D\u0434 \u043D\u0430\u0448\u043B\u0430 \u043F\u0440\u043E\u0431\u043B\u0435\u043C\u0443 \u0438 \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0430\u043B\u0430 \u0435\u0451 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438:",
|
|
2113
|
+
"noticeHealthForwarder": "\u0424\u043E\u0440\u0432\u0430\u0440\u0434\u0435\u0440\u044B 127.0.0.1:{ports} \u043D\u0435 \u0441\u043B\u0443\u0448\u0430\u044E\u0442 \u043F\u043E\u0440\u0442, \u0432\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043E \u0437\u0430\u043D\u043E\u0432\u043E",
|
|
2114
|
+
"noticeHealthForwarderDown": " (\u0432\u0441\u0451 \u0435\u0449\u0451 \u043D\u0435 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442)",
|
|
2115
|
+
"noticeHealthInstance": "\u041A\u043E\u043C\u043F\u0440\u0435\u0441\u0441-\u0438\u043D\u0441\u0442\u0430\u043D\u0441 Headroom 127.0.0.1:{ports} \u043D\u0435 \u0441\u043B\u0443\u0448\u0430\u0435\u0442 \u043F\u043E\u0440\u0442, headroom \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0443\u0441\u043A\u0430\u0435\u0442 \u0435\u0433\u043E",
|
|
2116
|
+
"noticeHealthRouter": "\u041C\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043E\u0440 \u0441\u0436\u0430\u0442\u0438\u044F Headroom 127.0.0.1:{ports} \u043D\u0435 \u0441\u043B\u0443\u0448\u0430\u0435\u0442 \u043F\u043E\u0440\u0442, headroom \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0443\u0441\u043A\u0430\u0435\u0442 \u0435\u0433\u043E",
|
|
2117
|
+
"noticeHealthInstanceFailed": ", \u043D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C: {error}",
|
|
2118
|
+
"noticeHealthHint": "\u0417\u0430\u043F\u0443\u0441\u043A \u043A\u043E\u043C\u043F\u0440\u0435\u0441\u0441-\u0438\u043D\u0441\u0442\u0430\u043D\u0441\u0430 \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 \u043E\u043A\u043E\u043B\u043E \u0434\u0435\u0441\u044F\u0442\u0438 \u0441\u0435\u043A\u0443\u043D\u0434; \u0437\u0430\u043F\u0440\u043E\u0441\u044B \u0447\u0435\u0440\u0435\u0437 \u043A\u043E\u043C\u043F\u0440\u0435\u0441\u0441-\u043C\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0442\u043E\u0440 \u0432 \u044D\u0442\u043E \u0432\u0440\u0435\u043C\u044F \u043C\u043E\u0433\u0443\u0442 \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u0442\u044C\u0441\u044F \u043E\u0448\u0438\u0431\u043A\u043E\u0439. \u041F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u043F\u043E\u0437\u0436\u0435.",
|
|
2119
|
+
"noticeHealthGoHeadroom": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C Headroom",
|
|
2120
|
+
"noticeTitleGenTitle": "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u0433\u0435\u043D\u0435\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u043C\u044F \u0437\u0430\u0434\u0430\u0447\u0438",
|
|
2121
|
+
"noticeTitleGenDesc": "\u0417\u0430\u043F\u0440\u043E\u0441 \u043A \u043C\u043E\u0434\u0435\u043B\u0438 \u0434\u043B\u044F \u0438\u043C\u0435\u043D\u0438 \u043D\u043E\u0432\u043E\u0433\u043E \u0441\u0435\u0430\u043D\u0441\u0430 \u043D\u0435 \u0443\u0434\u0430\u043B\u0441\u044F, \u0441\u0435\u0430\u043D\u0441 \u043E\u0441\u0442\u0430\u043B\u0441\u044F \u0441 \u0438\u043C\u0435\u043D\u0435\u043C ZCode \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E.",
|
|
2122
|
+
"noticeTitleGenItem": "{provider}, \u043C\u043E\u0434\u0435\u043B\u044C {model}: {error}",
|
|
2123
|
+
"noticeTitleGenSession": "\u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440 \u0441\u0435\u0430\u043D\u0441\u0430",
|
|
2124
|
+
"noticeTitleGenHow": "\u0421\u043C\u0435\u043D\u0438\u0442\u0435 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u0438\u043B\u0438 \u043C\u043E\u0434\u0435\u043B\u044C \u043D\u0430 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043C\u044B\u0435 \u0432 \xAB\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u2192 \u0413\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u0440\u043E\u043C\u043F\u0442 \u2192 \u0410\u0432\u0442\u043E\u043F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435\xBB.",
|
|
2125
|
+
"noticeTitleGenGo": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0430\u0432\u0442\u043E\u043F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u044F",
|
|
2126
|
+
"noticeToolNameTitle": "\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u0438\u043C\u0451\u043D \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432: \u0447\u0430\u0441\u0442\u044C \u0444\u0430\u0439\u043B\u043E\u0432 \u043D\u0435 \u0438\u0437\u043C\u0435\u043D\u0438\u0442\u044C",
|
|
2127
|
+
"noticeToolNameDesc": "\u0421\u043E\u043A\u0440\u0430\u0442\u0438\u0442\u044C \u0438\u043C\u0435\u043D\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u043E\u0432 \u0432 \u044D\u0442\u0438\u0445 \u0444\u0430\u0439\u043B\u0430\u0445 \u043D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C, \u043E\u0441\u0442\u0430\u043B\u044C\u043D\u044B\u0435 \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u0430\u043D\u044B \u043A\u0430\u043A \u043E\u0431\u044B\u0447\u043D\u043E:",
|
|
2128
|
+
"noticeToolNameItem": "{file} (\u043D\u0443\u0436\u043D\u043E \u0431\u044B\u043B\u043E \u0441\u043E\u043A\u0440\u0430\u0442\u0438\u0442\u044C {changes}): {error}",
|
|
2129
|
+
"noticeToolNameNoPerm": "\u043D\u0435\u0442 \u043F\u0440\u0430\u0432 \u043D\u0430 \u0437\u0430\u043F\u0438\u0441\u044C",
|
|
2130
|
+
"noticeToolNameFix": "\u0424\u0430\u0439\u043B\u044B \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B \u0442\u043E\u043B\u044C\u043A\u043E \u0434\u043B\u044F \u0447\u0442\u0435\u043D\u0438\u044F (\u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u043E\u0439 \u043F\u0430\u043F\u043A\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438, \u043E\u0431\u044B\u0447\u043D\u043E \u0432\u043B\u0430\u0434\u0435\u043B\u0435\u0446 root). \u0421\u043A\u043E\u043F\u0438\u0440\u0443\u0439\u0442\u0435 \u044D\u0442\u0443 \u0441\u0442\u0440\u043E\u043A\u0443 \u0432 \u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B, \u0447\u0442\u043E\u0431\u044B \u0434\u0430\u0442\u044C \u043F\u0440\u0430\u0432\u0430 \u043D\u0430 \u0437\u0430\u043F\u0438\u0441\u044C:",
|
|
2131
|
+
"noticeToolNameFixNoCmd": "\u0424\u0430\u0439\u043B\u044B \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B \u0442\u043E\u043B\u044C\u043A\u043E \u0434\u043B\u044F \u0447\u0442\u0435\u043D\u0438\u044F (\u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u043E\u0439 \u043F\u0430\u043F\u043A\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438). \u0414\u0430\u0439\u0442\u0435 \u0438\u043C \u043F\u0440\u0430\u0432\u0430 \u043D\u0430 \u0437\u0430\u043F\u0438\u0441\u044C \u043E\u0442 \u0438\u043C\u0435\u043D\u0438 \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0430; \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u0435\u0442\u0441\u044F \u043F\u0440\u0438 \u043A\u0430\u0436\u0434\u043E\u043C \u0437\u0430\u043F\u0443\u0441\u043A\u0435.",
|
|
2132
|
+
"noticeToolNameAfter": "\u0421 \u043F\u0440\u0430\u0432\u0430\u043C\u0438 \u0437\u0430\u043F\u0438\u0441\u044C \u0441\u043E\u043A\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043F\u0440\u0438 \u043A\u0430\u0436\u0434\u043E\u043C \u0437\u0430\u043F\u0443\u0441\u043A\u0435; \u0435\u0441\u043B\u0438 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 ZCode \u0432\u0435\u0440\u043D\u0451\u0442 \u043F\u0440\u0430\u0432\u0430, \u043F\u043E\u0432\u0442\u043E\u0440\u0438\u0442\u0435 \u044D\u0442\u0443 \u0441\u0442\u0440\u043E\u043A\u0443.",
|
|
2133
|
+
"noticeToolNameGo": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0441\u0440\u0435\u0434\u044B \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F",
|
|
2134
|
+
"chainAutoUnchecked": "\u0410\u0434\u0440\u0435\u0441 \u0431\u044B\u043B \u0438\u0437\u043C\u0435\u043D\u0451\u043D \u0432\u0440\u0443\u0447\u043D\u0443\u044E; \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0432\u044B\u0448\u0435\u043B \u0438\u0437 \u0446\u0435\u043F\u043E\u0447\u043A\u0438: {list}",
|
|
2135
|
+
"chainEmpty": "\u0426\u0435\u043F\u043E\u0447\u0435\u043A \u043F\u043E\u043A\u0430 \u043D\u0435\u0442. \u0421\u043E\u0437\u0434\u0430\u0439\u0442\u0435 \u043D\u0438\u0436\u0435.",
|
|
2136
|
+
"chainAdd": "\u041D\u043E\u0432\u0430\u044F \u0446\u0435\u043F\u043E\u0447\u043A\u0430",
|
|
2137
|
+
"chainDefaultName": "\u041D\u043E\u0432\u0430\u044F \u0446\u0435\u043F\u043E\u0447\u043A\u0430",
|
|
2138
|
+
"chainNodePinned": "\u041F\u043E\u0440\u044F\u0434\u043E\u043A \u0443\u0437\u043B\u043E\u0432 \u0437\u0430\u0434\u0430\u0451\u0442\u0441\u044F \u0446\u0435\u043F\u043E\u0447\u043A\u043E\u0439, \u043C\u0435\u043D\u044F\u0439\u0442\u0435 \u0441\u0442\u0440\u0435\u043B\u043A\u0430\u043C\u0438",
|
|
2139
|
+
"chainSwitchHint": "\u041F\u0440\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u0446\u0435\u043F\u043E\u0447\u043A\u0430 \u043D\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442",
|
|
2140
|
+
"chainProvidersLabel": "\u0421\u0432\u044F\u0437\u0430\u043D\u043D\u044B\u0435 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u044B",
|
|
2141
|
+
"chainNoProviders": "\u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u043E\u0432 \u0435\u0449\u0451 \u043D\u0435 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043D",
|
|
2142
|
+
"chainOwnedByOther": "\u0423\u0436\u0435 \u0441\u0432\u044F\u0437\u0430\u043D \u0441 \u0434\u0440\u0443\u0433\u043E\u0439 \u0446\u0435\u043F\u043E\u0447\u043A\u043E\u0439",
|
|
2143
|
+
"chainForwardPort": "\u041F\u043E\u0440\u0442 \u043F\u0435\u0440\u0435\u0441\u044B\u043B\u043A\u0438",
|
|
2144
|
+
"proxyChainInjection": "\u0412\u043D\u0435\u0434\u0440\u0435\u043D\u0438\u0435 \u043F\u0440\u043E\u043C\u043F\u0442\u0430",
|
|
2145
|
+
"proxyChainUpstream": "\u0412\u044B\u0448\u0435\u0441\u0442\u043E\u044F\u0449\u0438\u0439",
|
|
2146
|
+
"proxyChainCustom": "\u0421\u0432\u043E\u0439",
|
|
2147
|
+
"proxyChainUseShared": "\u041E\u0431\u0449\u0438\u0439",
|
|
2148
|
+
"proxyChainAddNode": "\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0440\u043E\u043A\u0441\u0438",
|
|
2149
|
+
"proxyChainOnChain": "\u0432 \u0446\u0435\u043F\u043E\u0447\u043A\u0435",
|
|
2150
|
+
"proxyChainNotInstalled": "\u043D\u0435 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043E",
|
|
2151
|
+
"proxyChainPinnedHint": "\u042D\u0442\u043E\u0442 \u0448\u0430\u0433 \u0437\u0430\u0434\u0430\u0451\u0442\u0441\u044F \u0441\u0432\u043E\u0435\u0439 \u0444\u0443\u043D\u043A\u0446\u0438\u0435\u0439, \u0437\u0434\u0435\u0441\u044C \u0435\u0433\u043E \u043D\u0435 \u0438\u0437\u043C\u0435\u043D\u0438\u0442\u044C",
|
|
2152
|
+
"proxyChainSwitchHint": "\u041F\u0440\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u0432\u0441\u044F \u0446\u0435\u043F\u043E\u0447\u043A\u0430 \u043D\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442",
|
|
2153
|
+
"proxyChainHeadroomBlocksProxy": "\u041F\u043E\u043A\u0430 headroom \u0432 \u0446\u0435\u043F\u043E\u0447\u043A\u0435, \u0441\u0432\u043E\u0438 \u043F\u0440\u043E\u043A\u0441\u0438 \u043D\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044E\u0442 (headroom \u0441\u0430\u043C \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442 \u0437\u0430\u043F\u0440\u043E\u0441 \u043D\u0430\u0432\u0435\u0440\u0445)",
|
|
2154
|
+
"proxyChainMultiNotEffective": "\u0421\u043E \u0432\u0442\u043E\u0440\u043E\u0433\u043E \u043F\u0440\u043E\u043A\u0441\u0438 \u043D\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 (\u043C\u043D\u043E\u0433\u043E\u0443\u0440\u043E\u0432\u043D\u0435\u0432\u044B\u0435 \u043F\u0440\u043E\u043A\u0441\u0438 \u043F\u043E\u043A\u0430 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044E\u0442\u0441\u044F)",
|
|
2155
|
+
"proxyChainUpstreamViaHeadroom": "\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442\u0441\u044F headroom",
|
|
2156
|
+
"proxyChainSharedGone": "\u0421\u0441\u044B\u043B\u043A\u0430 \u043D\u0430 \u043E\u0431\u0449\u0438\u0439 \u043F\u0440\u043E\u043A\u0441\u0438 \u0443\u0434\u0430\u043B\u0435\u043D\u0430",
|
|
1858
2157
|
"proxyVendorAdd": "\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u0430",
|
|
1859
2158
|
"proxyVendorRemove": "\u0423\u0434\u0430\u043B\u0438\u0442\u044C",
|
|
1860
2159
|
"proxyVendorUseGlobal": "\u0421\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u044C \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u043E\u043C\u0443 \u043F\u0440\u043E\u043A\u0441\u0438",
|
|
@@ -2204,6 +2503,10 @@
|
|
|
2204
2503
|
"sbMoveDown": "\u0412\u043D\u0438\u0437",
|
|
2205
2504
|
"sbVisible": "\u043F\u043E\u043A\u0430\u0437\u0430\u043D\u043E",
|
|
2206
2505
|
"sbHidden": "\u0441\u043A\u0440\u044B\u0442\u043E",
|
|
2506
|
+
"sbLabelTtft": "\u043F\u0435\u0440\u0432\u044B\u0439 \u0442\u043E\u043A\u0435\u043D",
|
|
2507
|
+
"sbLabelReasoning": "\u0440\u0430\u0441\u0441\u0443\u0436\u0434\u0435\u043D\u0438\u0435",
|
|
2508
|
+
"sbTipTools": "\u0441\u0445\u0435\u043C\u044B \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432",
|
|
2509
|
+
"sbTipToolCount": " \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432",
|
|
2207
2510
|
"tabShortcuts": "\u0413\u043E\u0440\u044F\u0447\u0438\u0435 \u043A\u043B\u0430\u0432\u0438\u0448\u0438",
|
|
2208
2511
|
"hkTitle": "\u0411\u044B\u0441\u0442\u0440\u043E\u0435 \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0441\u0435\u0441\u0441\u0438\u0439",
|
|
2209
2512
|
"hkAltZ": "\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043C\u0435\u0436\u0434\u0443 \u0442\u0435\u043A\u0443\u0449\u0435\u0439 \u0438 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u0439 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u043D\u043E\u0439 \u0441\u0435\u0441\u0441\u0438\u0435\u0439",
|
|
@@ -2348,13 +2651,11 @@
|
|
|
2348
2651
|
"acEnabled": "\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C",
|
|
2349
2652
|
"acPrompt": "\u041F\u0440\u043E\u043C\u043F\u0442 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0435\u043D\u0438\u044F",
|
|
2350
2653
|
"acMaxRetries": "\u041C\u0430\u043A\u0441\u0438\u043C\u0443\u043C \u0430\u0432\u0442\u043E\u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0435\u043D\u0438\u0439",
|
|
2351
|
-
"acMaxRetriesHint": "\
|
|
2352
|
-
"acCooldown": "\u0411\u0430\u0437\u043E\u0432\u0430\u044F \u0437\u0430\u0434\u0435\u0440\u0436\u043A\u0430 \u043F\u0440\u0438 \u0441\u0435\u0440\u0438\u0438 \u0441\u0431\u043E\u0435\u0432 (\u0441)",
|
|
2353
|
-
"acCooldownHint": "\u0415\u0441\u043B\u0438 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0435\u043D\u0438\u0435 \u0443\u0436\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u043B\u043E\u0441\u044C \u0432 \u0442\u0435\u0447\u0435\u043D\u0438\u0435 2 \u043C\u0438\u043D\u0443\u0442, \u044D\u0442\u043E \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044F \u0441\u0435\u0440\u0438\u0435\u0439 \u0441\u0431\u043E\u0435\u0432: \u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B \u0443\u0434\u0432\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u0434\u043E 60 \u0441\u0435\u043A\u0443\u043D\u0434; \u043F\u0440\u0438 \u0435\u0434\u0438\u043D\u0438\u0447\u043D\u043E\u043C \u0441\u0431\u043E\u0435 \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u0435 \u0441\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 \u0432\u0441\u0435\u0433\u043E 3 \u0441\u0435\u043A\u0443\u043D\u0434\u044B \u0434\u043B\u044F \u0441\u0442\u0430\u0431\u0438\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430.",
|
|
2654
|
+
"acMaxRetriesHint": "\u0421\u043A\u043E\u043B\u044C\u043A\u043E \u0440\u0430\u0437 \u0430\u0432\u0442\u043E\u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0435\u043D\u0438\u0435 \u043C\u043E\u0436\u0435\u0442 \u0441\u0440\u0430\u0431\u043E\u0442\u0430\u0442\u044C \u0437\u0430 30 \u043C\u0438\u043D\u0443\u0442; \u043F\u0440\u0438 \u0434\u043E\u0441\u0442\u0438\u0436\u0435\u043D\u0438\u0438 \u043F\u0440\u0435\u0434\u0435\u043B\u0430 \u043E\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442\u0441\u044F",
|
|
2354
2655
|
"acStuckAfterMin": "\u041F\u043E\u0440\u043E\u0433 \u0437\u0430\u0432\u0438\u0441\u0430\u043D\u0438\u044F (\u043C\u0438\u043D)",
|
|
2355
|
-
"acStuckAfterMinHint": "\
|
|
2656
|
+
"acStuckAfterMinHint": "\u0415\u0441\u043B\u0438 \u0444\u043E\u043D\u043E\u0432\u0430\u044F \u0437\u0430\u0434\u0430\u0447\u0430, \u0441\u0443\u0431\u0430\u0433\u0435\u043D\u0442 \u0438\u043B\u0438 \u043E\u0441\u043D\u043E\u0432\u043D\u043E\u0439 \u0445\u043E\u0434 \u043C\u043E\u043B\u0447\u0438\u0442 \u0441\u0442\u043E\u043B\u044C\u043A\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u0438, \u043F\u043E\u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0430-\u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0435",
|
|
2356
2657
|
"acFailedAfterMin": "\u0410\u0432\u0442\u043E\u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0435\u043D\u0438\u0435 \u043F\u043E\u0441\u043B\u0435 \u0441\u0431\u043E\u044F (\u043C\u0438\u043D)",
|
|
2357
|
-
"acFailedAfterMinHint": "\u0427\u0435\u0440\u0435\u0437 \u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043F\u043E\u0441\u043B\u0435 \u0441\u0431\u043E\u044F \u0445\u043E\u0434\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442\u0441\u044F \u0430\u0432\u0442\u043E\u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0435\u043D\u0438\u0435
|
|
2658
|
+
"acFailedAfterMinHint": "\u0427\u0435\u0440\u0435\u0437 \u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0442\u0438\u0448\u0438\u043D\u044B \u043F\u043E\u0441\u043B\u0435 \u0441\u0431\u043E\u044F \u0445\u043E\u0434\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442\u0441\u044F \u0430\u0432\u0442\u043E\u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0435\u043D\u0438\u0435",
|
|
2358
2659
|
"acLoadFailed": "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0430\u0432\u0442\u043E\u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0435\u043D\u0438\u044F",
|
|
2359
2660
|
"acCardKindSubagent": "\u0421\u0443\u0431\u0430\u0433\u0435\u043D\u0442 \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D",
|
|
2360
2661
|
"acCardKindTurn": "\u041E\u0441\u043D\u043E\u0432\u043D\u043E\u0439 \u0445\u043E\u0434 \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D",
|
|
@@ -2449,7 +2750,28 @@
|
|
|
2449
2750
|
"headroomLoadFailed": "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044E Headroom",
|
|
2450
2751
|
"headroomStatusTitle": "\u0421\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435",
|
|
2451
2752
|
"hrInstRunning": "\u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442",
|
|
2753
|
+
"acContinueDelay": "\u0417\u0430\u0434\u0435\u0440\u0436\u043A\u0430 \u043F\u0435\u0440\u0435\u0434 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0435\u043D\u0438\u0435\u043C (\u0441)",
|
|
2754
|
+
"acContinueDelayHint": "\u041F\u043E\u0441\u043B\u0435 \u0441\u0431\u043E\u044F \u0445\u043E\u0434\u0430 \u043F\u043E\u0434\u043E\u0436\u0434\u0430\u0442\u044C \u044D\u0442\u043E \u0432\u0440\u0435\u043C\u044F \u043F\u0435\u0440\u0435\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043A\u043E\u0439 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0435\u043D\u0438\u044F, \u0447\u0442\u043E\u0431\u044B \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0439 \u0441\u0431\u043E\u0439 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u043F\u0440\u043E\u0448\u0451\u043B \u0441\u0430\u043C",
|
|
2755
|
+
"acContinueDelayFactor": "\u041C\u043D\u043E\u0436\u0438\u0442\u0435\u043B\u044C \u0440\u043E\u0441\u0442\u0430 \u0437\u0430\u0434\u0435\u0440\u0436\u043A\u0438",
|
|
2756
|
+
"acContinueDelayFactorHint": "\u041F\u0440\u0438 \u043A\u0430\u0436\u0434\u043E\u0439 \u043D\u0435\u0443\u0434\u0430\u0447\u0435 \u043F\u043E\u0434\u0440\u044F\u0434 \u0437\u0430\u0434\u0435\u0440\u0436\u043A\u0430 \u0443\u043C\u043D\u043E\u0436\u0430\u0435\u0442\u0441\u044F \u043D\u0430 \u044D\u0442\u043E\u0442 \u043C\u043D\u043E\u0436\u0438\u0442\u0435\u043B\u044C (1,3 \u2192 2 \u043C\u0438\u043D, 2,6 \u043C\u0438\u043D, 3,4 \u043C\u0438\u043D\u2026). 1 = \u0431\u0435\u0437 \u0440\u043E\u0441\u0442\u0430",
|
|
2452
2757
|
"hrInstStopped": "\u043D\u0435 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442",
|
|
2758
|
+
"hrInstChain": "\u0446\u0435\u043F\u043E\u0447\u043A\u0430",
|
|
2759
|
+
"hrInstUpstreams": "\u0432\u044B\u0448\u0435\u0441\u0442\u043E\u044F\u0449\u0438\u0435",
|
|
2760
|
+
"hrInstVia": "\u0447\u0435\u0440\u0435\u0437",
|
|
2761
|
+
"hrInstProviders": "\u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u044B",
|
|
2762
|
+
"hrInstRestore": "{vals[0]}",
|
|
2763
|
+
"hrRestoreFailed": "{vals[1]}",
|
|
2764
|
+
"hrRestoreDone": "{vals[2]}",
|
|
2765
|
+
"hrRestoreHint": "\u0412\u0435\u0440\u043D\u0443\u0442\u044C API-\u0430\u0434\u0440\u0435\u0441 \u044D\u0442\u0438\u0445 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u043E\u0432: \u043D\u0430 \u0446\u0435\u043F\u043E\u0447\u043A\u0435 \u043C\u043E\u0436\u043D\u043E \u0432\u044B\u0431\u0440\u0430\u0442\u044C, \u043A\u0443\u0434\u0430 \u0432\u0435\u0440\u043D\u0443\u0442\u044C",
|
|
2766
|
+
"hrRestoreConfirmTitle": "\u0412\u0435\u0440\u043D\u0443\u0442\u044C \u0430\u0434\u0440\u0435\u0441?",
|
|
2767
|
+
"hrRestoreConfirmDesc": "{names}",
|
|
2768
|
+
"hrRestoreNext": "\u0414\u0430\u043B\u0435\u0435",
|
|
2769
|
+
"hrRestoreChooseTitle": "\u041A\u0443\u0434\u0430 \u0432\u0435\u0440\u043D\u0443\u0442\u044C?",
|
|
2770
|
+
"hrRestoreChooseDesc": "{names} \u043D\u0430\u0445\u043E\u0434\u044F\u0442\u0441\u044F \u0432 \u043F\u0440\u043E\u043A\u0441\u0438-\u0446\u0435\u043F\u043E\u0447\u043A\u0430\u0445",
|
|
2771
|
+
"hrRestoreOptChain": "\u0410\u0434\u0440\u0435\u0441 \u0446\u0435\u043F\u043E\u0447\u043A\u0438 (\u043E\u0441\u0442\u0430\u0442\u044C\u0441\u044F \u0432 \u0446\u0435\u043F\u043E\u0447\u043A\u0430\u0445)",
|
|
2772
|
+
"hrRestoreOptDirect": "\u041D\u0430\u043F\u0440\u044F\u043C\u0443\u044E \u043A \u0440\u0435\u0430\u043B\u044C\u043D\u043E\u043C\u0443 \u0430\u043F\u0441\u0442\u0440\u0438\u043C\u0443 (\u0432\u044B\u0439\u0442\u0438 \u0438\u0437 \u0446\u0435\u043F\u043E\u0447\u0435\u043A)",
|
|
2773
|
+
"hrRestoreChainDone": "\u0410\u0434\u0440\u0435\u0441 \u0432\u043E\u0437\u0432\u0440\u0430\u0449\u0451\u043D \u043A \u0432\u0445\u043E\u0434\u0443 \u0446\u0435\u043F\u043E\u0447\u043A\u0438",
|
|
2774
|
+
"chainLeaveHint": "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0440\u0435\u0435\u0441\u0442\u0440 headroom \u043F\u0440\u0438 \u0432\u044B\u0445\u043E\u0434\u0435 \u0438\u0437 \u0441\u0436\u0430\u0442\u0438\u044F (\u043F\u043E\u0432\u0442\u043E\u0440\u043D\u0430\u044F \u043E\u0442\u043C\u0435\u0442\u043A\u0430 \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442)",
|
|
2453
2775
|
"headroomStatusLoadFailed": "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435",
|
|
2454
2776
|
"headroomProxyUp": "\u041F\u0440\u043E\u043A\u0441\u0438 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442",
|
|
2455
2777
|
"headroomProxyDown": "\u041F\u0440\u043E\u043A\u0441\u0438 \u043D\u0435 \u0440\u0430\u0431\u043E\u0442\u0430\u0435\u0442",
|
|
@@ -2610,6 +2932,8 @@
|
|
|
2610
2932
|
"vision-test": "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0443 \u0432\u0438\u0437\u0443\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u043F\u0440\u043E\u043A\u0441\u0438",
|
|
2611
2933
|
"proxy-invalid": "\u041F\u0440\u043E\u043A\u0441\u0438 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C URL \u0432\u0438\u0434\u0430 http://127.0.0.1:7890 \u0438\u043B\u0438 \u043F\u0443\u0441\u0442\u043E\u0439 \u0441\u0442\u0440\u043E\u043A\u043E\u0439.",
|
|
2612
2934
|
"provider-proxy-invalid": "\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u043F\u0440\u043E\u043A\u0441\u0438 \u043F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u043D\u0435\u0432\u0435\u0440\u043D\u0430: \u043F\u0440\u043E\u043A\u0441\u0438 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C URL \u0432\u0438\u0434\u0430 http://127.0.0.1:7890 (\u0438\u043B\u0438 \u043F\u0443\u0441\u0442\u044B\u043C, \u0447\u0442\u043E\u0431\u044B \u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u044C \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u043E\u043C\u0443 \u043F\u0440\u043E\u043A\u0441\u0438).",
|
|
2935
|
+
"shared-proxy-invalid": "\u0412 \u043E\u0431\u0449\u0438\u0445 \u043F\u0440\u043E\u043A\u0441\u0438 \u0435\u0441\u0442\u044C \u043D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0437\u0430\u043F\u0438\u0441\u044C: \u0438\u043C\u044F \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u043F\u0443\u0441\u0442\u044B\u043C, \u0430\u0434\u0440\u0435\u0441 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u0432\u0438\u0434\u0430 http://127.0.0.1:7890, \u0438 id \u043D\u0435 \u0434\u043E\u043B\u0436\u043D\u044B \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u0442\u044C\u0441\u044F",
|
|
2936
|
+
"proxy-chain-invalid": "\u0412 \u0446\u0435\u043F\u043E\u0447\u043A\u0435 \u043F\u0440\u043E\u043A\u0441\u0438 \u0435\u0441\u0442\u044C \u043D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0437\u0430\u043F\u0438\u0441\u044C: \u043D\u0443\u0436\u0435\u043D id, \u0443\u0437\u043B\u044B \u0442\u043E\u043B\u044C\u043A\u043E headroom / inject / \u0441\u0432\u043E\u0439 \u043F\u0440\u043E\u043A\u0441\u0438, \u0430\u0434\u0440\u0435\u0441 \u043F\u0440\u043E\u043A\u0441\u0438 \u0432\u0438\u0434\u0430 http://127.0.0.1:7890",
|
|
2613
2937
|
"headroom-proxy-invalid": "\u0412\u044B\u0448\u0435\u0441\u0442\u043E\u044F\u0449\u0438\u0439 \u043F\u0440\u043E\u043A\u0441\u0438 headroom \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C URL \u0432\u0438\u0434\u0430 http://127.0.0.1:7890 \u0438\u043B\u0438 \u043F\u0443\u0441\u0442\u043E\u0439 \u0441\u0442\u0440\u043E\u043A\u043E\u0439.",
|
|
2614
2938
|
"tool-name-check": "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0443 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044F \u0438\u043C\u0451\u043D \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432",
|
|
2615
2939
|
"proxy-not-set": "\u0421\u043D\u0430\u0447\u0430\u043B\u0430 \u0443\u043A\u0430\u0436\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 \u043F\u0440\u043E\u043A\u0441\u0438",
|
|
@@ -2886,8 +3210,12 @@
|
|
|
2886
3210
|
// 输出
|
|
2887
3211
|
{ id: "turnTps", on: true },
|
|
2888
3212
|
// TPS(输出 ÷ 净生成秒数,官方口径)
|
|
2889
|
-
{ id: "turnCache", on: true }
|
|
3213
|
+
{ id: "turnCache", on: true },
|
|
2890
3214
|
// 缓存命中率
|
|
3215
|
+
{ id: "turnTtft", on: true },
|
|
3216
|
+
// 首 token 延迟(本轮首个请求)
|
|
3217
|
+
{ id: "turnReasoning", on: true }
|
|
3218
|
+
// 思考 token(含在输出里)
|
|
2891
3219
|
];
|
|
2892
3220
|
DEFAULT_STATUS_ITEMS = [
|
|
2893
3221
|
{ id: "tokRate", on: true },
|
|
@@ -2915,7 +3243,7 @@
|
|
|
2915
3243
|
tabProxy: "\u4EE3\u7406",
|
|
2916
3244
|
tabBehavior: "\u884C\u4E3A",
|
|
2917
3245
|
tabAgents: "\u5168\u5C40\u63D0\u793A\u8BCD",
|
|
2918
|
-
tabZcode: "
|
|
3246
|
+
tabZcode: "\u8FD0\u884C\u65F6",
|
|
2919
3247
|
zcodeDesc: "ZCode \u81EA\u8EAB\u7684\u884C\u4E3A\u914D\u7F6E\uFF08\u5199\u5165 ~/.zcode/cli/config.json\uFF09\uFF0C\u4FDD\u5B58\u540E\u5BF9\u65B0\u4F1A\u8BDD\u751F\u6548\u3002",
|
|
2920
3248
|
zcodeStatsTitle: "\u6280\u80FD\u6E05\u5355\u68C0\u67E5",
|
|
2921
3249
|
zcodeStatsCounts: "\u6280\u80FD {total} \u4E2A\uFF08\u672C\u5730 {user} \xB7 \u63D2\u4EF6 {plugin}\uFF09",
|
|
@@ -2953,6 +3281,18 @@
|
|
|
2953
3281
|
agentsSave: "\u4FDD\u5B58",
|
|
2954
3282
|
agentsSaved: "\u5168\u5C40\u63D0\u793A\u8BCD\u5DF2\u4FDD\u5B58",
|
|
2955
3283
|
agentsLoadFailed: "\u8BFB\u53D6\u5168\u5C40\u63D0\u793A\u8BCD\u5931\u8D25",
|
|
3284
|
+
injectTitle: "\u63D0\u793A\u8BCD\u6CE8\u5165",
|
|
3285
|
+
injectDesc: "\u8F6C\u53D1\u8BF7\u6C42\u65F6\u628A\u4E0B\u9762\u8FD9\u6BB5\u6587\u5B57\u8FFD\u52A0\u5230\u7CFB\u7EDF\u63D0\u793A\u8BCD\u672B\u5C3E\uFF0C\u6BCF\u4E00\u8F6E\u5BF9\u8BDD\u90FD\u5E26\u7740\u5B83\u3002\u4E0E\u4E0A\u9762\u7684\u5168\u5C40\u63D0\u793A\u8BCD\u4E0D\u540C\uFF0C\u5B83\u8FDB\u7684\u662F\u7CFB\u7EDF\u5C42\u800C\u4E0D\u662F\u5BF9\u8BDD\u5C42\u3002\u53EA\u5BF9\u5F00\u542F\u4E86\u672C\u673A\u8F6C\u53D1\u7684\u4F9B\u5E94\u5546\u751F\u6548\uFF1B\u5F00\u542F\u6CE8\u5165\u65F6\u4F1A\u81EA\u52A8\u4E3A\u5DF2\u542F\u7528\u7684\u4F9B\u5E94\u5546\u6253\u5F00\u8F6C\u53D1\u3002",
|
|
3286
|
+
injectPlaceholder: "\u586B\u5199\u5E0C\u671B\u6A21\u578B\u6BCF\u4E00\u8F6E\u90FD\u9075\u5B88\u7684\u89C4\u5219\uFF1B\u6E05\u7A7A\u5E76\u4FDD\u5B58\u5373\u505C\u6B62\u6CE8\u5165",
|
|
3287
|
+
injectEnable: "\u542F\u7528\u6CE8\u5165",
|
|
3288
|
+
injectDisable: "\u505C\u7528\u6CE8\u5165",
|
|
3289
|
+
injectSaved: "\u63D0\u793A\u8BCD\u6CE8\u5165\u5DF2\u4FDD\u5B58",
|
|
3290
|
+
injectChars: "{n} \u5B57\u7B26",
|
|
3291
|
+
injectLongHint: "\u5185\u5BB9\u8F83\u957F\uFF0C\u4F1A\u660E\u663E\u5360\u7528\u5BF9\u8BDD\u4E0A\u4E0B\u6587",
|
|
3292
|
+
injectSubagents: "\u4E5F\u6CE8\u5165\u5B50\u4EE3\u7406",
|
|
3293
|
+
// 接在 injectChainHint 后面的三种状态,句读包含在文案里,拼起来是一句完整的话
|
|
3294
|
+
injectChainStatus: "\uFF0C\u5DF2\u751F\u6548 {active}/{providers} \u4E2A\u4F9B\u5E94\u5546",
|
|
3295
|
+
injectChainNone: "\uFF0C\u6CA1\u6709\u5DF2\u542F\u7528\u7684\u4F9B\u5E94\u5546",
|
|
2956
3296
|
proxyDesc: "\u4E3A ZCode Pro \u672C\u5730\u52A9\u624B\u53D1\u8D77\u7684\u7F51\u7EDC\u8BBF\u95EE\u8BBE\u7F6E HTTP \u4EE3\u7406\uFF1A\u63D2\u4EF6\u5E02\u573A\u7684\u66F4\u65B0\u4E0E\u5B89\u88C5\u3001\u63D2\u4EF6\u4F9D\u8D56\u8F6F\u4EF6\u7684\u5B89\u88C5\u4E0E\u5347\u7EA7\u3001WebDAV \u540C\u6B65\u90FD\u53EF\u8D70\u8BE5\u4EE3\u7406\uFF0C\u7528\u4E0B\u65B9\u5F00\u5173\u9009\u62E9\u751F\u6548\u8303\u56F4\u3002\u4E0D\u5F71\u54CD ZCode \u5E94\u7528\u672C\u8EAB\u4E0E\u6A21\u578B\u8BF7\u6C42\u3002",
|
|
2957
3297
|
proxyPlaceholder: "http://127.0.0.1:7890",
|
|
2958
3298
|
proxySave: "\u4FDD\u5B58",
|
|
@@ -2969,9 +3309,84 @@
|
|
|
2969
3309
|
proxyScopeSync: "\u540C\u6B65",
|
|
2970
3310
|
proxyScopeSyncDesc: "WebDAV \u4E0A\u4F20\u4E0E\u4E0B\u8F7D\u8D70\u4EE3\u7406\u3002",
|
|
2971
3311
|
proxySubSoftware: "\u8F6F\u4EF6\u4EE3\u7406",
|
|
2972
|
-
proxySubVendor: "\
|
|
2973
|
-
proxyVendorDesc: "\u6309\u4F9B\u5E94\u5546\u5355\u72EC\u8BBE\u7F6E\uFF1A\u6253\u5F00\u540E\u8BE5\u4F9B\u5E94\u5546\u7684\u6A21\u578B\u8BF7\u6C42\u5148\u5230\u672C\u673A\u8F6C\u53D1\u7AEF\u53E3\uFF0C\u518D\
|
|
3312
|
+
proxySubVendor: "\u4EE3\u7406\u94FE",
|
|
3313
|
+
proxyVendorDesc: "\u6309\u4F9B\u5E94\u5546\u5355\u72EC\u8BBE\u7F6E\uFF1A\u6253\u5F00\u540E\u8BE5\u4F9B\u5E94\u5546\u7684\u6A21\u578B\u8BF7\u6C42\u5148\u5230\u672C\u673A\u8F6C\u53D1\u7AEF\u53E3\uFF0C\u518D\u6309\u5361\u7247\u91CC\u7684\u4EE3\u7406\u94FE\u9010\u7EA7\u53D1\u51FA\uFF1B\u5173\u95ED\u65F6\u4FDD\u6301\u539F\u5730\u5740\u76F4\u8FDE\u3002\u4E0D\u6539 ZCode \u5168\u5C40\u4EE3\u7406\uFF0C\u4E5F\u4E0D\u5F71\u54CD\u5176\u4ED6\u4F9B\u5E94\u5546\u3002",
|
|
2974
3314
|
proxyVendorEmpty: "\u8FD8\u6CA1\u6709\u6DFB\u52A0\u4F9B\u5E94\u5546\u4EE3\u7406\u3002\u70B9\u4E0B\u65B9\u201C\u6DFB\u52A0\u4F9B\u5E94\u5546\u201D\u9009\u62E9\u8981\u8D70\u4EE3\u7406\u7684\u4F9B\u5E94\u5546\uFF0C\u6DFB\u52A0\u540E\u624D\u4F1A\u751F\u6548\u3002",
|
|
3315
|
+
proxySharedTitle: "\u5171\u4EAB\u4EE3\u7406",
|
|
3316
|
+
proxySharedDesc: "\u5728\u8FD9\u91CC\u5B9A\u4E49\u51E0\u4E2A\u5E38\u7528\u4EE3\u7406\uFF0C\u4E0B\u9762\u6BCF\u4E2A\u4F9B\u5E94\u5546\u7684\u4EE3\u7406\u94FE\u91CC\u53EF\u4EE5\u76F4\u63A5\u9009\u7528\u3002\u6539\u8FD9\u91CC\u7684\u5730\u5740\u4F1A\u8FDE\u5E26\u5F71\u54CD\u6240\u6709\u5F15\u7528\u5B83\u7684\u4F9B\u5E94\u5546\u3002",
|
|
3317
|
+
proxySharedEmpty: "\u8FD8\u6CA1\u6709\u5171\u4EAB\u4EE3\u7406\u3002",
|
|
3318
|
+
proxySharedAdd: "\u6DFB\u52A0\u5171\u4EAB\u4EE3\u7406",
|
|
3319
|
+
proxySharedDelete: "\u5220\u9664",
|
|
3320
|
+
proxySharedName: "\u540D\u79F0",
|
|
3321
|
+
proxySharedInvalid: "\u4EE3\u7406\u5730\u5740\u9700\u5F62\u5982 http://127.0.0.1:7890",
|
|
3322
|
+
chainDesc: "\u4EE3\u7406\u94FE\u6309\u8282\u70B9\u987A\u5E8F\u5904\u7406\u8BF7\u6C42\uFF1Aheadroom \u538B\u7F29 \u2192 \u63D0\u793A\u8BCD\u6CE8\u5165 \u2192 \u81EA\u5B9A\u4E49\u4EE3\u7406\u51FA\u7F51\u3002\u4E00\u6761\u94FE\u53EF\u5173\u8054\u591A\u4E2A\u4F9B\u5E94\u5546\uFF0C\u5171\u7528\u4E00\u4EFD\u914D\u7F6E\u548C\u4E00\u4E2A\u8F6C\u53D1\u5668\u3002\u51FA\u7F51\u4EE3\u7406\uFF08\u5982 clash\uFF09\u5EFA\u8BAE\u653E\u94FE\u7684\u6700\u540E\uFF1A\u666E\u901A\u4EE3\u7406\u901A\u5E38\u4E0D\u8F6C\u53D1\u672C\u673A\u7AEF\u53E3\uFF0C\u653E\u5728 headroom \u4E4B\u524D\u4F1A\u5931\u8D25\u3002",
|
|
3323
|
+
chainMasterSwitch: "\u4EE3\u7406\u94FE\u603B\u5F00\u5173",
|
|
3324
|
+
chainMasterSwitchDesc: "\u5173\uFF1A\u4E00\u952E\u8FD8\u539F\u3002\u94FE\u914D\u7F6E\u4FDD\u7559\uFF0C\u6240\u6709\u52FE\u9009\u4F9B\u5E94\u5546\u7684\u5730\u5740\u8FD8\u539F\u4E3A\u771F\u5B9E\u4E0A\u6E38\u3001\u505C\u6B62\u8F6C\u53D1\u3002\u5F00\uFF1A\u52FE\u9009\u7684\u4F9B\u5E94\u5546\u7531\u94FE\u63A5\u7BA1\u5730\u5740\u3002",
|
|
3325
|
+
chainMasterOffHint: "\u603B\u5F00\u5173\u5DF2\u5173\u95ED\uFF1A\u94FE\u914D\u7F6E\u4FDD\u7559\uFF0C\u52FE\u9009\u7684\u4F9B\u5E94\u5546\u90FD\u5DF2\u8FD8\u539F\u4E3A\u76F4\u8FDE\u3002",
|
|
3326
|
+
chainGoCompat: "OpenCode Go \u517C\u5BB9",
|
|
3327
|
+
chainGoCompatDesc: "\u4F9B\u5E94\u5546\u8D70\u94FE\u65F6\uFF0C\u53D1\u5F80 OpenCode Go \u7AEF\u70B9\u7684\u8BF7\u6C42\u7531 zcode-pro \u8865\u4E0A\u4F1A\u8BDD\u8BF7\u6C42\u5934\u3002\u5173\u6389\u540E OpenCode Go \u5957\u9910\u7684\u4F9B\u5E94\u5546\u7ECF\u94FE\u4F1A\u88AB\u62D2\u7EDD\uFF0C\u53EA\u80FD\u76F4\u8FDE\u3002",
|
|
3328
|
+
chainDeleteConfirmTitle: "\u5220\u9664\u8FD9\u6761\u94FE\uFF1F",
|
|
3329
|
+
chainDeleteConfirmDesc: "\u94FE\u4E0A\u52FE\u9009\u7684 {n} \u5BB6\u4F9B\u5E94\u5546\u4F1A\u8FD8\u539F\u6210\u76F4\u8FDE\uFF0C\u5E76\u9000\u51FA headroom \u538B\u7F29\u3002",
|
|
3330
|
+
chainDeleteConfirmDescEmpty: "\u8FD9\u6761\u94FE\u4E0A\u6CA1\u6709\u52FE\u9009\u7684\u4F9B\u5E94\u5546\u3002",
|
|
3331
|
+
chainDeleteConfirmGo: "\u5220\u9664",
|
|
3332
|
+
injectGoChain: "\u53BB\u4EE3\u7406\u94FE\u52FE\u9009",
|
|
3333
|
+
injectChainHint: "\u53EA\u5BF9\u5728\u201C\u4EE3\u7406 \u2192 \u4EE3\u7406\u94FE\u201D\u91CC\u52FE\u9009\u7684\u4F9B\u5E94\u5546\u751F\u6548",
|
|
3334
|
+
chainProvidersHint: "\u52FE\u9009\uFF1D\u7ECF\u8FC7 zcode-pro\uFF08\u538B\u7F29\u3001\u6CE8\u5165\u3001\u4EE3\u7406\uFF09\uFF0C\u5730\u5740\u7531\u94FE\u7BA1\u7406\uFF1B\u53D6\u6D88\u52FE\u9009\uFF1D\u8FD8\u539F\u4E3A\u76F4\u8FDE\u5E76\u4FDD\u6301\u3002",
|
|
3335
|
+
chainManualEditHint: "\u5730\u5740\u88AB\u6539\u6210\u522B\u7684\u503C\uFF08\u5728 ZCode \u91CC\u624B\u52A8\u6539\u7684\uFF0C\u6216\u4ECE\u522B\u7684\u8BBE\u5907\u540C\u6B65\u6765\u7684\uFF09\u4F1A\u81EA\u52A8\u9000\u51FA\u94FE\u3001\u4FDD\u6301\u6539\u540E\u7684\u5730\u5740\uFF0C\u53F3\u4E0B\u89D2\u6709\u63D0\u793A\u3002",
|
|
3336
|
+
noticeAutoUncheckedTitle: "\u6709\u4F9B\u5E94\u5546\u81EA\u52A8\u9000\u51FA\u4E86\u4EE3\u7406\u94FE",
|
|
3337
|
+
noticeAutoUncheckedDesc: "\u8FD9\u4E9B\u4F9B\u5E94\u5546\u52FE\u9009\u5728\u94FE\u4E0A\uFF0C\u4F46\u5730\u5740\u53D8\u4E86\uFF08\u5728 ZCode \u91CC\u624B\u52A8\u6539\u7684\uFF0C\u6216\u4ECE\u522B\u7684\u8BBE\u5907\u540C\u6B65\u6765\u7684\uFF09\u3002\u5DF2\u81EA\u52A8\u9000\u51FA\u94FE\uFF0C\u4E0D\u518D\u7ECF\u8FC7\u538B\u7F29\u548C\u63D0\u793A\u8BCD\u6CE8\u5165\uFF1A",
|
|
3338
|
+
noticeAutoUncheckedItem: "{name} \u2192 {url}\uFF08\u539F\u5728\u201C{chain}\u201D\u94FE\uFF09",
|
|
3339
|
+
noticeAutoUncheckedHow: "\u60F3\u8BA9\u5B83\u4EEC\u91CD\u65B0\u7ECF\u8FC7\u538B\u7F29\u548C\u63D0\u793A\u8BCD\u6CE8\u5165\uFF0C\u5230\u201C\u8BBE\u7F6E \u2192 \u4EE3\u7406 \u2192 \u4EE3\u7406\u94FE\u201D\u91CD\u65B0\u52FE\u9009\u3002",
|
|
3340
|
+
noticeGoChain: "\u53BB\u4EE3\u7406\u94FE",
|
|
3341
|
+
// 巡检发现问题时的右下角卡片(转发器不在监听 / 走链的 headroom 实例不在监听)
|
|
3342
|
+
noticeHealthTitle: "\u4EE3\u7406\u94FE\u5DE1\u68C0\u53D1\u73B0\u5F02\u5E38",
|
|
3343
|
+
noticeHealthDesc: "\u6BCF 30 \u79D2\u4E00\u6B21\u7684\u5DE1\u68C0\u53D1\u73B0\u95EE\u9898\uFF0C\u5DF2\u7ECF\u81EA\u52A8\u5904\u7406\uFF1A",
|
|
3344
|
+
noticeHealthForwarder: "\u8F6C\u53D1\u5668 127.0.0.1:{ports} \u4E0D\u5728\u76D1\u542C\uFF0C\u5DF2\u91CD\u65B0\u5BF9\u9F50",
|
|
3345
|
+
noticeHealthForwarderDown: "\uFF0C\u4ECD\u672A\u6062\u590D",
|
|
3346
|
+
noticeHealthInstance: "Headroom \u538B\u7F29\u5B9E\u4F8B 127.0.0.1:{ports} \u4E0D\u5728\u76D1\u542C\uFF0C\u5DF2\u8BA9 headroom \u8865\u8D77",
|
|
3347
|
+
noticeHealthRouter: "Headroom \u538B\u7F29\u8DEF\u7531 127.0.0.1:{ports} \u4E0D\u5728\u76D1\u542C\uFF0C\u5DF2\u8BA9 headroom \u91CD\u542F",
|
|
3348
|
+
noticeHealthInstanceFailed: "\uFF0C\u5904\u7406\u5931\u8D25\uFF1A{error}",
|
|
3349
|
+
noticeHealthHint: "\u538B\u7F29\u5B9E\u4F8B\u8865\u8D77\u6765\u8981\u5341\u51E0\u79D2\uFF0C\u8FD9\u671F\u95F4\u7ECF\u8FC7\u538B\u7F29\u8DEF\u7531\u7684\u8BF7\u6C42\u53EF\u80FD\u5931\u8D25\uFF0C\u7A0D\u540E\u91CD\u8BD5\u5373\u53EF\u3002",
|
|
3350
|
+
noticeHealthGoHeadroom: "\u53BB Headroom \u9875",
|
|
3351
|
+
// 任务名生成失败的右下角卡片(title-gen-notice.json)
|
|
3352
|
+
noticeTitleGenTitle: "\u4EFB\u52A1\u540D\u751F\u6210\u5931\u8D25",
|
|
3353
|
+
noticeTitleGenDesc: "\u65B0\u4F1A\u8BDD\u5F00\u59CB\u65F6\u8BA9\u6A21\u578B\u8D77\u540D\u5B57\uFF0C\u8FD9\u6B21\u6CA1\u6709\u6210\u529F\uFF0C\u4F1A\u8BDD\u540D\u8FD8\u662F ZCode \u9ED8\u8BA4\u7684\u540D\u5B57\u3002",
|
|
3354
|
+
noticeTitleGenItem: "{provider} \u7684 {model}\uFF1A{error}",
|
|
3355
|
+
noticeTitleGenSession: "\u4F1A\u8BDD\u7528\u7684\u4F9B\u5E94\u5546",
|
|
3356
|
+
noticeTitleGenHow: "\u5230\u201C\u8BBE\u7F6E \u2192 \u5168\u5C40\u63D0\u793A\u8BCD \u2192 \u81EA\u52A8\u91CD\u547D\u540D\u201D\u6362\u4E00\u4E2A\u63A5\u53E3\u652F\u6301\u7684\u4F9B\u5E94\u5546\u6216\u6A21\u578B\u3002",
|
|
3357
|
+
noticeTitleGenGo: "\u53BB\u81EA\u52A8\u91CD\u547D\u540D\u8BBE\u7F6E",
|
|
3358
|
+
// 工具名检查有文件改不了的右下角卡片(tool-name-notice.json)
|
|
3359
|
+
noticeToolNameTitle: "\u5DE5\u5177\u540D\u5408\u89C4\u68C0\u67E5\uFF1A\u6709\u6587\u4EF6\u6539\u4E0D\u4E86",
|
|
3360
|
+
noticeToolNameDesc: "\u8FD9\u4E9B\u6587\u4EF6\u91CC\u7684\u670D\u52A1\u5668\u540D\u6CA1\u80FD\u6539\u77ED\uFF0C\u5176\u4ED6\u6587\u4EF6\u7167\u5E38\u5904\u7406\uFF1A",
|
|
3361
|
+
noticeToolNameItem: "{file}\uFF08\u60F3\u628A {changes} \u6539\u77ED\uFF09\uFF1A{error}",
|
|
3362
|
+
noticeToolNameNoPerm: "\u6CA1\u6709\u5199\u5165\u6743\u9650",
|
|
3363
|
+
noticeToolNameFix: "\u6587\u4EF6\u53EA\u8BFB\uFF08\u5728\u7CFB\u7EDF\u5B89\u88C5\u76EE\u5F55\u91CC\uFF0C\u591A\u5C5E\u4E8E root\uFF09\u3002\u628A\u4E0B\u9762\u8FD9\u884C\u590D\u5236\u5230\u7EC8\u7AEF\u8FD0\u884C\uFF0C\u52A0\u4E0A\u5199\u6743\u9650\uFF1A",
|
|
3364
|
+
noticeToolNameFixNoCmd: "\u6587\u4EF6\u53EA\u8BFB\uFF08\u5728\u7CFB\u7EDF\u5B89\u88C5\u76EE\u5F55\u91CC\uFF09\u3002\u7528\u7BA1\u7406\u5458\u6743\u9650\u7ED9\u8FD9\u4E9B\u6587\u4EF6\u52A0\u4E0A\u5199\u6743\u9650\uFF0C\u6BCF\u6B21\u542F\u52A8\u90FD\u4F1A\u518D\u8BD5\u4E00\u6B21\u3002",
|
|
3365
|
+
noticeToolNameAfter: "\u52A0\u4E0A\u6743\u9650\u540E\u6BCF\u6B21\u542F\u52A8\u90FD\u4F1A\u81EA\u52A8\u6539\u77ED\uFF1BZCode \u66F4\u65B0\u82E5\u628A\u6743\u9650\u6539\u56DE\uFF0C\u91CD\u590D\u8FD0\u884C\u8FD9\u884C\u5373\u53EF\u3002",
|
|
3366
|
+
noticeToolNameGo: "\u53BB\u8FD0\u884C\u65F6\u8BBE\u7F6E",
|
|
3367
|
+
chainAutoUnchecked: "\u5730\u5740\u88AB\u624B\u52A8\u6539\u8FC7\uFF0C\u5DF2\u81EA\u52A8\u9000\u51FA\u94FE\uFF1A{list}",
|
|
3368
|
+
chainEmpty: "\u8FD8\u6CA1\u6709\u4EE3\u7406\u94FE\u3002\u70B9\u4E0B\u65B9\u201C\u65B0\u5EFA\u4EE3\u7406\u94FE\u201D\u5F00\u59CB\uFF0C\u9ED8\u8BA4\u5E26\u63D0\u793A\u8BCD\u6CE8\u5165\u8282\u70B9\uFF08\u88C5\u4E86 headroom \u63D2\u4EF6\u8FD8\u5E26\u538B\u7F29\u8282\u70B9\uFF09\u3002",
|
|
3369
|
+
chainAdd: "\u65B0\u5EFA\u4EE3\u7406\u94FE",
|
|
3370
|
+
chainDefaultName: "\u65B0\u4EE3\u7406\u94FE",
|
|
3371
|
+
chainNodePinned: "\u8FD9\u4E00\u8282\u7531\u94FE\u4E0A\u987A\u5E8F\u51B3\u5B9A\uFF0C\u7528\u4E0A\u4E0B\u7BAD\u5934\u8C03\u6574",
|
|
3372
|
+
chainSwitchHint: "\u5173\u6389\u540E\u6574\u6761\u94FE\u4E0D\u751F\u6548",
|
|
3373
|
+
chainProvidersLabel: "\u5173\u8054\u7684\u4F9B\u5E94\u5546",
|
|
3374
|
+
chainNoProviders: "\u4F9B\u5E94\u5546\u5217\u8868\u8FD8\u6CA1\u52A0\u8F7D\u51FA\u6765",
|
|
3375
|
+
chainOwnedByOther: "\u5DF2\u5173\u8054\u5230\u522B\u7684\u94FE",
|
|
3376
|
+
chainForwardPort: "\u8F6C\u53D1\u7AEF\u53E3",
|
|
3377
|
+
proxyChainInjection: "\u63D0\u793A\u8BCD\u6CE8\u5165",
|
|
3378
|
+
proxyChainUpstream: "\u4E0A\u6E38",
|
|
3379
|
+
proxyChainCustom: "\u81EA\u5B9A\u4E49",
|
|
3380
|
+
proxyChainUseShared: "\u7528\u5171\u4EAB",
|
|
3381
|
+
proxyChainAddNode: "\u6DFB\u52A0\u4EE3\u7406",
|
|
3382
|
+
proxyChainOnChain: "\u5728\u94FE\u4E0A",
|
|
3383
|
+
proxyChainNotInstalled: "\u672A\u542F\u7528",
|
|
3384
|
+
proxyChainPinnedHint: "\u8FD9\u4E00\u73AF\u7531\u5BF9\u5E94\u529F\u80FD\u51B3\u5B9A\uFF0C\u5728\u4EE3\u7406\u9875\u6539\u4E0D\u4E86",
|
|
3385
|
+
proxyChainSwitchHint: "\u5173\u6389\u540E\u6574\u6761\u4EE3\u7406\u94FE\u4E0D\u751F\u6548",
|
|
3386
|
+
proxyChainHeadroomBlocksProxy: "headroom \u5728\u94FE\u4E0A\u65F6\uFF0C\u81EA\u5B9A\u4E49\u4EE3\u7406\u6682\u4E0D\u751F\u6548\uFF08\u8BF7\u6C42\u7531 headroom \u76F4\u63A5\u53D1\u5F80\u4E0A\u6E38\uFF09",
|
|
3387
|
+
proxyChainMultiNotEffective: "\u7B2C 2 \u4E2A\u8D77\u6682\u4E0D\u751F\u6548\uFF08\u591A\u7EA7\u4EE3\u7406\u5C1A\u672A\u652F\u6301\uFF09",
|
|
3388
|
+
proxyChainUpstreamViaHeadroom: "\u7531 headroom \u51B3\u5B9A",
|
|
3389
|
+
proxyChainSharedGone: "\u5F15\u7528\u7684\u5171\u4EAB\u4EE3\u7406\u5DF2\u88AB\u5220\u9664",
|
|
2975
3390
|
proxyVendorAdd: "\u6DFB\u52A0\u4F9B\u5E94\u5546",
|
|
2976
3391
|
proxyVendorRemove: "\u5220\u9664",
|
|
2977
3392
|
proxyVendorUseGlobal: "\u8DDF\u968F\u5168\u5C40\u4EE3\u7406",
|
|
@@ -3306,6 +3721,8 @@
|
|
|
3306
3721
|
sbLabelOut: "\u8F93\u51FA",
|
|
3307
3722
|
sbLabelCache: "\u7F13\u5B58",
|
|
3308
3723
|
sbLabelTps: "\u8F93\u51FA tok/s",
|
|
3724
|
+
sbLabelTtft: "\u9996\u5B57",
|
|
3725
|
+
sbLabelReasoning: "\u601D\u8003",
|
|
3309
3726
|
sbLabelInOut: "\u8F93\u5165/\u8F93\u51FA",
|
|
3310
3727
|
sbLabelHit: "\u5E73\u5747\u547D\u4E2D",
|
|
3311
3728
|
turnUsageTitle: "\u672C\u8F6E token",
|
|
@@ -3313,6 +3730,8 @@
|
|
|
3313
3730
|
sbItemTodayTokens: "\u4ECA\u65E5 token",
|
|
3314
3731
|
sbItemTasks: "\u4EFB\u52A1\u603B\u6570",
|
|
3315
3732
|
sbLabelCtx: "\u4E0A\u4E0B\u6587",
|
|
3733
|
+
sbTipTools: "\u5DE5\u5177\u5B9A\u4E49",
|
|
3734
|
+
sbTipToolCount: " \u4E2A\u5DE5\u5177",
|
|
3316
3735
|
sbLabelTurns: "\u8C03\u7528",
|
|
3317
3736
|
sbLabelToday: "\u4ECA\u65E5",
|
|
3318
3737
|
sbLabelTasks: "\u4EFB\u52A1",
|
|
@@ -3466,13 +3885,15 @@
|
|
|
3466
3885
|
acEnabled: "\u542F\u7528",
|
|
3467
3886
|
acPrompt: "\u7EE7\u7EED\u63D0\u793A\u8BCD",
|
|
3468
3887
|
acMaxRetries: "\u6700\u591A\u7EE7\u7EED\u6B21\u6570",
|
|
3469
|
-
acMaxRetriesHint: "30 \u5206\u949F\u5185\u81EA\u52A8\u7EE7\u7EED\
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3888
|
+
acMaxRetriesHint: "30 \u5206\u949F\u5185\u6700\u591A\u81EA\u52A8\u7EE7\u7EED\u51E0\u6B21\uFF0C\u5230\u4E0A\u9650\u5C31\u505C",
|
|
3889
|
+
acContinueDelay: "\u7EE7\u7EED\u524D\u7B49\u5F85\uFF08\u79D2\uFF09",
|
|
3890
|
+
acContinueDelayHint: "\u56DE\u5408\u5931\u8D25\u540E\u5148\u7B49\u8FD9\u4E48\u4E45\u518D\u53D1\u7EE7\u7EED\uFF0C\u8BA9\u4F9B\u5E94\u5546\u7684\u4E34\u65F6\u6545\u969C\u81EA\u5DF1\u8FC7\u53BB",
|
|
3891
|
+
acContinueDelayFactor: "\u8FDE\u7EED\u5931\u8D25\u7FFB\u500D\u500D\u6570",
|
|
3892
|
+
acContinueDelayFactorHint: "\u8FDE\u7EED\u5931\u8D25\u65F6\u7B49\u5F85\u65F6\u95F4\u6309\u6B64\u500D\u6570\u589E\u957F\uFF0C\u5982 1.3 \u5C31\u662F 2 \u5206\u949F\u30012.6 \u5206\u949F\u30013.4 \u5206\u949F\uFF1B\u586B 1 \u8868\u793A\u56FA\u5B9A\u4E0D\u589E\u957F",
|
|
3893
|
+
acStuckAfterMin: "\u5361\u6B7B\u63D0\u793A\uFF08\u5206\u949F\uFF09",
|
|
3894
|
+
acStuckAfterMinHint: "\u540E\u53F0\u4EFB\u52A1\u3001\u5B50\u4EE3\u7406\u6216\u4E3B\u56DE\u5408\u9759\u9ED8\u8FD9\u4E48\u4E45\u540E\uFF0C\u5F39\u63D0\u793A\u5361\u7247\u63D0\u9192\u4F60",
|
|
3895
|
+
acFailedAfterMin: "\u5931\u8D25\u540E\u591A\u4E45\u81EA\u52A8\u7EED\uFF08\u5206\u949F\uFF09",
|
|
3896
|
+
acFailedAfterMinHint: "\u56DE\u5408\u5931\u8D25\u540E\uFF0C\u9759\u9ED8\u8FD9\u4E48\u4E45\u4ECD\u6CA1\u4EBA\u5904\u7406\u5C31\u81EA\u52A8\u7EE7\u7EED",
|
|
3476
3897
|
acLoadFailed: "\u8BFB\u53D6\u81EA\u52A8\u7EE7\u7EED\u914D\u7F6E\u5931\u8D25",
|
|
3477
3898
|
acCardKindSubagent: "\u5B50\u4EE3\u7406\u5361\u6B7B",
|
|
3478
3899
|
acCardKindTurn: "\u4E3B\u8F6E\u5361\u6B7B",
|
|
@@ -3568,6 +3989,23 @@
|
|
|
3568
3989
|
headroomStatusTitle: "\u8FD0\u884C\u72B6\u6001",
|
|
3569
3990
|
hrInstRunning: "\u8FD0\u884C\u4E2D",
|
|
3570
3991
|
hrInstStopped: "\u672A\u8FD0\u884C",
|
|
3992
|
+
hrInstChain: "\u94FE",
|
|
3993
|
+
hrInstUpstreams: "\u4E0A\u6E38",
|
|
3994
|
+
hrInstVia: "\u51FA\u7F51",
|
|
3995
|
+
hrInstProviders: "\u4F9B\u5E94\u5546",
|
|
3996
|
+
hrInstRestore: "\u8FD8\u539F",
|
|
3997
|
+
hrRestoreFailed: "\u8FD8\u539F\u5931\u8D25",
|
|
3998
|
+
hrRestoreDone: "\u5DF2\u8FD8\u539F\u4E3A\u76F4\u8FDE",
|
|
3999
|
+
hrRestoreHint: "\u8FD8\u539F\u8FD9\u4E9B\u4F9B\u5E94\u5546\u7684 API \u5730\u5740\uFF1A\u5728\u94FE\u4E0A\u53EF\u9009\u8FD8\u539F\u5230\u94FE\u5730\u5740\u6216\u76F4\u8FDE\uFF08\u9000\u51FA\u94FE\uFF09",
|
|
4000
|
+
hrRestoreConfirmTitle: "\u8FD8\u539F\u5730\u5740\uFF1F",
|
|
4001
|
+
hrRestoreConfirmDesc: "\u5C06\u5904\u7406\uFF1A{names}",
|
|
4002
|
+
hrRestoreNext: "\u4E0B\u4E00\u6B65",
|
|
4003
|
+
hrRestoreChooseTitle: "\u8FD8\u539F\u5230\u54EA\u91CC\uFF1F",
|
|
4004
|
+
hrRestoreChooseDesc: "{names} \u5728\u4EE3\u7406\u94FE\u4E0A",
|
|
4005
|
+
hrRestoreOptChain: "\u8FD8\u539F\u4E3A\u94FE\u5730\u5740\uFF08\u4FDD\u7559\u5728\u94FE\u4E0A\uFF09",
|
|
4006
|
+
hrRestoreOptDirect: "\u76F4\u8FDE\u771F\u5B9E\u5730\u5740\uFF08\u540C\u65F6\u9000\u51FA\u94FE\uFF09",
|
|
4007
|
+
hrRestoreChainDone: "\u5730\u5740\u5DF2\u5F52\u4F4D\u5230\u94FE\u5165\u53E3",
|
|
4008
|
+
chainLeaveHint: "\u9000\u51FA\u538B\u7F29\u65F6\u6E05\u7406 headroom \u767B\u8BB0\u5931\u8D25\uFF08\u91CD\u65B0\u52FE\u9009\u53EF\u6062\u590D\uFF09",
|
|
3571
4009
|
headroomStatusLoadFailed: "\u8BFB\u53D6\u8FD0\u884C\u72B6\u6001\u5931\u8D25",
|
|
3572
4010
|
headroomProxyUp: "\u4EE3\u7406\u8FD0\u884C\u4E2D",
|
|
3573
4011
|
headroomProxyDown: "\u4EE3\u7406\u672A\u8FD0\u884C",
|
|
@@ -3693,7 +4131,7 @@
|
|
|
3693
4131
|
tabProxy: "Proxy",
|
|
3694
4132
|
tabBehavior: "Behavior",
|
|
3695
4133
|
tabAgents: "Global Prompt",
|
|
3696
|
-
tabZcode: "
|
|
4134
|
+
tabZcode: "Runtime",
|
|
3697
4135
|
zcodeDesc: "ZCode behavior settings (written to ~/.zcode/cli/config.json); takes effect for new sessions.",
|
|
3698
4136
|
zcodeStatsTitle: "Skill listing check",
|
|
3699
4137
|
zcodeStatsCounts: "{total} skills ({user} local \xB7 {plugin} from plugins)",
|
|
@@ -3731,6 +4169,17 @@
|
|
|
3731
4169
|
agentsSave: "Save",
|
|
3732
4170
|
agentsSaved: "Global prompt saved.",
|
|
3733
4171
|
agentsLoadFailed: "Failed to load the global prompt",
|
|
4172
|
+
injectTitle: "Prompt injection",
|
|
4173
|
+
injectDesc: "Appended to the end of the system prompt as requests are forwarded, so it rides along with every turn. Unlike the global prompt above, this lands in the system layer rather than the conversation layer. It only applies to providers whose requests are forwarded locally; enabling injection turns forwarding on for every enabled provider.",
|
|
4174
|
+
injectPlaceholder: "Rules the model should follow on every turn; leave empty and save to stop injecting",
|
|
4175
|
+
injectEnable: "Enable injection",
|
|
4176
|
+
injectDisable: "Disable injection",
|
|
4177
|
+
injectSaved: "Prompt injection saved.",
|
|
4178
|
+
injectChars: "{n} characters",
|
|
4179
|
+
injectLongHint: "This is long and will take a noticeable bite out of the conversation context.",
|
|
4180
|
+
injectSubagents: "Also inject into subagents",
|
|
4181
|
+
injectChainStatus: ", active on {active} of {providers} providers",
|
|
4182
|
+
injectChainNone: ", no enabled providers yet",
|
|
3734
4183
|
proxyDesc: "Set an HTTP proxy for network access made by the local helper: plugin marketplace updates and installs, plugin dependency installs and upgrades, and WebDAV sync can all use it \u2014 pick the scopes with the toggles below. Does not affect the ZCode app itself or model requests.",
|
|
3735
4184
|
proxyPlaceholder: "http://127.0.0.1:7890",
|
|
3736
4185
|
proxySave: "Save",
|
|
@@ -3747,9 +4196,81 @@
|
|
|
3747
4196
|
proxyScopeSync: "Sync",
|
|
3748
4197
|
proxyScopeSyncDesc: "WebDAV upload and download go through the proxy.",
|
|
3749
4198
|
proxySubSoftware: "Software proxy",
|
|
3750
|
-
proxySubVendor: "
|
|
3751
|
-
proxyVendorDesc: "Per provider: when on, that provider's model requests hit a local forward port and leave through the
|
|
4199
|
+
proxySubVendor: "Proxy chains",
|
|
4200
|
+
proxyVendorDesc: "Per provider: when on, that provider's model requests hit a local forward port and then leave through the proxy chain shown on its card; when off, its address stays as-is. Does not change ZCode's global proxy or affect other providers.",
|
|
3752
4201
|
proxyVendorEmpty: "No provider proxies added yet. Use \u201CAdd provider\u201D below to pick a provider; it takes effect once added.",
|
|
4202
|
+
proxySharedTitle: "Shared proxies",
|
|
4203
|
+
proxySharedDesc: "Define a few proxies here, then pick them inside each provider's proxy chain below. Changing an address here affects every provider that references it.",
|
|
4204
|
+
proxySharedEmpty: "No shared proxies yet.",
|
|
4205
|
+
proxySharedAdd: "Add shared proxy",
|
|
4206
|
+
proxySharedDelete: "Delete",
|
|
4207
|
+
proxySharedName: "Name",
|
|
4208
|
+
proxySharedInvalid: "The proxy address must look like http://127.0.0.1:7890",
|
|
4209
|
+
chainDesc: "A proxy chain processes each request through its nodes in order: headroom compression, prompt injection, custom proxy for egress. One chain can be linked to several providers, which share its settings and a single forwarder. Egress proxies (e.g. clash) belong at the end of the chain: ordinary proxies usually refuse to forward to local ports, so placing one before headroom will fail.",
|
|
4210
|
+
chainMasterSwitch: "Proxy chain master switch",
|
|
4211
|
+
chainMasterSwitchDesc: "Off: one-click restore. Chain settings are kept; all checked providers go back to their real upstream addresses and forwarding stops. On: checked providers are managed by their chain.",
|
|
4212
|
+
chainMasterOffHint: "Master switch is off: chain settings are kept and checked providers are back on direct connections.",
|
|
4213
|
+
chainGoCompat: "OpenCode Go compatibility",
|
|
4214
|
+
chainGoCompatDesc: "When a provider goes through a chain, zcode-pro adds the session header required by the OpenCode Go endpoint. Turn it off and OpenCode Go providers will be rejected through a chain; keep them direct instead.",
|
|
4215
|
+
chainDeleteConfirmTitle: "Delete this chain?",
|
|
4216
|
+
chainDeleteConfirmDesc: "The {n} checked providers will be restored to direct connections and leave headroom compression.",
|
|
4217
|
+
chainDeleteConfirmDescEmpty: "No providers are checked in this chain.",
|
|
4218
|
+
chainDeleteConfirmGo: "Delete",
|
|
4219
|
+
injectGoChain: "Open proxy chains",
|
|
4220
|
+
injectChainHint: "Only takes effect on providers checked under \u201CProxy \u2192 Proxy chains\u201D",
|
|
4221
|
+
chainProvidersHint: "Checked = requests go through zcode-pro (compression, injection, proxies) and the address is managed by the chain; unchecked = restored to a direct connection and kept.",
|
|
4222
|
+
chainManualEditHint: "If the address changes to another value (edited in ZCode or synced from another device), the provider automatically leaves the chain and keeps the new address; a card appears in the corner.",
|
|
4223
|
+
noticeAutoUncheckedTitle: "Providers left the proxy chain automatically",
|
|
4224
|
+
noticeAutoUncheckedDesc: "These providers were checked in a chain, but their address changed (edited in ZCode or synced from another device). They left the chain and no longer go through compression or prompt injection:",
|
|
4225
|
+
noticeAutoUncheckedItem: "{name} \u2192 {url} (was in the \u201C{chain}\u201D chain)",
|
|
4226
|
+
noticeAutoUncheckedHow: "To send them through compression and prompt injection again, check them again under \u201CSettings \u2192 Proxy \u2192 Proxy chains\u201D.",
|
|
4227
|
+
noticeGoChain: "Open proxy chains",
|
|
4228
|
+
noticeHealthTitle: "Proxy chain health check found a problem",
|
|
4229
|
+
noticeHealthDesc: "The 30-second health check found a problem and handled it automatically:",
|
|
4230
|
+
noticeHealthForwarder: "Forwarder 127.0.0.1:{ports} is not listening; realigned",
|
|
4231
|
+
noticeHealthForwarderDown: ", still down",
|
|
4232
|
+
noticeHealthInstance: "Headroom instance 127.0.0.1:{ports} is not listening; asked headroom to restart it",
|
|
4233
|
+
noticeHealthRouter: "The Headroom compression router 127.0.0.1:{ports} is not listening; asked headroom to restart it",
|
|
4234
|
+
noticeHealthInstanceFailed: ", failed: {error}",
|
|
4235
|
+
noticeHealthHint: "Restarting the compression instance takes about ten seconds; requests through the compression router may fail meanwhile. Retry later.",
|
|
4236
|
+
noticeHealthGoHeadroom: "Open Headroom",
|
|
4237
|
+
noticeTitleGenTitle: "Task title generation failed",
|
|
4238
|
+
noticeTitleGenDesc: "The model call that names a new session did not succeed, so the session keeps the default ZCode name.",
|
|
4239
|
+
noticeTitleGenItem: "{provider} with {model}: {error}",
|
|
4240
|
+
noticeTitleGenSession: "the session provider",
|
|
4241
|
+
noticeTitleGenHow: "Switch to a provider or model the endpoint supports under \u201CSettings \u2192 Global Prompt \u2192 Auto rename\u201D.",
|
|
4242
|
+
noticeTitleGenGo: "Open auto rename settings",
|
|
4243
|
+
noticeToolNameTitle: "Tool name check: some files could not be changed",
|
|
4244
|
+
noticeToolNameDesc: "The server names in these files were not shortened; other files were handled as usual:",
|
|
4245
|
+
noticeToolNameItem: "{file} (wanted to shorten {changes}): {error}",
|
|
4246
|
+
noticeToolNameNoPerm: "no write permission",
|
|
4247
|
+
noticeToolNameFix: "The files are read-only (in the system install folder, usually owned by root). Copy this line into a terminal to grant write permission:",
|
|
4248
|
+
noticeToolNameFixNoCmd: "The files are read-only (in the system install folder). Grant write permission to them with administrator rights; the check retries on every launch.",
|
|
4249
|
+
noticeToolNameAfter: "With permission granted they are shortened automatically on every launch; if a ZCode update restores the permissions, run this line again.",
|
|
4250
|
+
noticeToolNameGo: "Open runtime settings",
|
|
4251
|
+
chainAutoUnchecked: "Address was changed manually; left the chain automatically: {list}",
|
|
4252
|
+
chainEmpty: "No proxy chains yet. Use \u201CNew proxy chain\u201D below; it starts with a prompt-injection node (plus a headroom node when the headroom plugin is installed).",
|
|
4253
|
+
chainAdd: "New proxy chain",
|
|
4254
|
+
chainDefaultName: "New chain",
|
|
4255
|
+
chainNodePinned: "This hop is ordered by the chain; use the arrows to move it",
|
|
4256
|
+
chainSwitchHint: "Turning this off disables the whole chain",
|
|
4257
|
+
chainProvidersLabel: "Linked providers",
|
|
4258
|
+
chainNoProviders: "The provider list has not loaded yet",
|
|
4259
|
+
chainOwnedByOther: "Already linked to another chain",
|
|
4260
|
+
chainForwardPort: "Forward port",
|
|
4261
|
+
proxyChainInjection: "Prompt injection",
|
|
4262
|
+
proxyChainUpstream: "Upstream",
|
|
4263
|
+
proxyChainCustom: "Custom",
|
|
4264
|
+
proxyChainUseShared: "Shared",
|
|
4265
|
+
proxyChainAddNode: "Add proxy",
|
|
4266
|
+
proxyChainOnChain: "on chain",
|
|
4267
|
+
proxyChainNotInstalled: "not enabled",
|
|
4268
|
+
proxyChainPinnedHint: "This hop is decided by its own feature; it cannot be changed here",
|
|
4269
|
+
proxyChainSwitchHint: "Turning this off disables the whole chain",
|
|
4270
|
+
proxyChainHeadroomBlocksProxy: "While headroom is on the chain, custom proxies do not take effect (headroom sends the request upstream itself)",
|
|
4271
|
+
proxyChainMultiNotEffective: "Only the first proxy takes effect; chained proxies are not supported yet",
|
|
4272
|
+
proxyChainUpstreamViaHeadroom: "decided by headroom",
|
|
4273
|
+
proxyChainSharedGone: "The referenced shared proxy was deleted",
|
|
3753
4274
|
proxyVendorAdd: "Add provider",
|
|
3754
4275
|
proxyVendorRemove: "Remove",
|
|
3755
4276
|
proxyVendorUseGlobal: "Follow the global proxy",
|
|
@@ -4083,6 +4604,8 @@
|
|
|
4083
4604
|
sbLabelOut: "out",
|
|
4084
4605
|
sbLabelCache: "cache",
|
|
4085
4606
|
sbLabelTps: "out tok/s",
|
|
4607
|
+
sbLabelTtft: "ttft",
|
|
4608
|
+
sbLabelReasoning: "think",
|
|
4086
4609
|
sbLabelInOut: "in/out",
|
|
4087
4610
|
sbLabelHit: "avg hit",
|
|
4088
4611
|
turnUsageTitle: "Turn tokens",
|
|
@@ -4090,6 +4613,8 @@
|
|
|
4090
4613
|
sbItemTodayTokens: "Tokens today",
|
|
4091
4614
|
sbItemTasks: "Tasks",
|
|
4092
4615
|
sbLabelCtx: "ctx",
|
|
4616
|
+
sbTipTools: "tool schemas",
|
|
4617
|
+
sbTipToolCount: " tools",
|
|
4093
4618
|
sbLabelTurns: "calls",
|
|
4094
4619
|
sbLabelToday: "today",
|
|
4095
4620
|
sbLabelTasks: "tasks",
|
|
@@ -4243,13 +4768,15 @@
|
|
|
4243
4768
|
acEnabled: "Enable",
|
|
4244
4769
|
acPrompt: "Continue prompt",
|
|
4245
4770
|
acMaxRetries: "Max auto-continues",
|
|
4246
|
-
acMaxRetriesHint: "
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4771
|
+
acMaxRetriesHint: "How many times auto-continue may fire within 30 minutes; stops at the cap",
|
|
4772
|
+
acContinueDelay: "Wait before continue (s)",
|
|
4773
|
+
acContinueDelayHint: "After a failed turn, wait this long before sending continue so transient provider errors can clear",
|
|
4774
|
+
acContinueDelayFactor: "Growth factor for repeat failures",
|
|
4775
|
+
acContinueDelayFactorHint: "Each consecutive failure grows the wait by this factor (1.3 \u2192 2 min, 2.6 min, 3.4 min\u2026); 1 = stay fixed",
|
|
4776
|
+
acStuckAfterMin: "Stuck alert (min)",
|
|
4777
|
+
acStuckAfterMinHint: "A background task, subagent or main turn silent this long raises the reminder card",
|
|
4251
4778
|
acFailedAfterMin: "Auto-continue after failure (min)",
|
|
4252
|
-
acFailedAfterMinHint: "
|
|
4779
|
+
acFailedAfterMinHint: "Resume automatically when a failed turn has stayed silent this long",
|
|
4253
4780
|
acLoadFailed: "Failed to load the auto-continue config",
|
|
4254
4781
|
acCardKindSubagent: "Subagent stuck",
|
|
4255
4782
|
acCardKindTurn: "Main turn stuck",
|
|
@@ -4345,6 +4872,23 @@
|
|
|
4345
4872
|
headroomStatusTitle: "Status",
|
|
4346
4873
|
hrInstRunning: "running",
|
|
4347
4874
|
hrInstStopped: "down",
|
|
4875
|
+
hrInstChain: "chain",
|
|
4876
|
+
hrInstUpstreams: "upstreams",
|
|
4877
|
+
hrInstVia: "via",
|
|
4878
|
+
hrInstProviders: "providers",
|
|
4879
|
+
hrInstRestore: "Restore",
|
|
4880
|
+
hrRestoreFailed: "Restore failed",
|
|
4881
|
+
hrRestoreDone: "Restored to direct",
|
|
4882
|
+
hrRestoreHint: "Restore these providers API address: on chains choose chain entry or direct (leaving chains)",
|
|
4883
|
+
hrRestoreConfirmTitle: "Restore address?",
|
|
4884
|
+
hrRestoreConfirmDesc: "Providers: {names}",
|
|
4885
|
+
hrRestoreNext: "Next",
|
|
4886
|
+
hrRestoreChooseTitle: "Restore to where?",
|
|
4887
|
+
hrRestoreChooseDesc: "{names} are on proxy chains",
|
|
4888
|
+
hrRestoreOptChain: "Chain address (stay on chains)",
|
|
4889
|
+
hrRestoreOptDirect: "Direct to real upstream (leave chains)",
|
|
4890
|
+
hrRestoreChainDone: "Address restored to chain entry",
|
|
4891
|
+
chainLeaveHint: "Failed to clean headroom registry on leaving (re-check to restore)",
|
|
4348
4892
|
headroomStatusLoadFailed: "Failed to load the status",
|
|
4349
4893
|
headroomProxyUp: "Proxy running",
|
|
4350
4894
|
headroomProxyDown: "Proxy down",
|
|
@@ -4509,6 +5053,9 @@
|
|
|
4509
5053
|
"translate-empty": "The translation model returned no text",
|
|
4510
5054
|
"proxy-invalid": "The proxy must be a URL like http://127.0.0.1:7890, or be empty",
|
|
4511
5055
|
"provider-proxy-invalid": "Provider proxy setting is invalid: the proxy must be a URL like http://127.0.0.1:7890 (or empty to follow the global proxy)",
|
|
5056
|
+
"shared-proxy-invalid": "Shared proxies contain an invalid entry: name cannot be empty, the address must be a URL like http://127.0.0.1:7890, and ids must be unique",
|
|
5057
|
+
"proxy-chain-invalid": "A proxy chain entry is invalid: each chain needs an id, nodes must be headroom / inject / custom proxy, and a custom proxy address must be a URL like http://127.0.0.1:7890",
|
|
5058
|
+
"headroom-restore": "Failed to restore providers from the chain (check headroom.json)",
|
|
4512
5059
|
"headroom-proxy-invalid": "The headroom upstream proxy must be a URL like http://127.0.0.1:7890, or be empty",
|
|
4513
5060
|
"tool-name-check": "Tool name compliance check failed",
|
|
4514
5061
|
"proxy-not-set": "Set the proxy address first",
|
|
@@ -4644,6 +5191,74 @@
|
|
|
4644
5191
|
cornerCards.set(position, card);
|
|
4645
5192
|
return { close: () => closeCornerCard(position) };
|
|
4646
5193
|
}
|
|
5194
|
+
function confirmTip(anchorEl, { title, desc = "", confirmLabel, onConfirm, buttons } = {}) {
|
|
5195
|
+
closeConfirmTip();
|
|
5196
|
+
if (!anchorEl || !anchorEl.isConnected) return () => {
|
|
5197
|
+
};
|
|
5198
|
+
ensureStyle();
|
|
5199
|
+
const el = h(
|
|
5200
|
+
"div",
|
|
5201
|
+
{ class: "zcodepro-confirm-tip", role: "dialog" },
|
|
5202
|
+
h("div", { class: "zcodepro-tip-arrow", "aria-hidden": "true" })
|
|
5203
|
+
);
|
|
5204
|
+
const body = h("div", { style: "padding:10px 12px;min-width:200px;max-width:300px;" });
|
|
5205
|
+
if (title) body.append(h("div", { style: "font-weight:600;margin-bottom:2px;" }, String(title)));
|
|
5206
|
+
if (desc) body.append(h("div", { style: "opacity:.85;white-space:pre-wrap;margin-bottom:8px;" }, String(desc)));
|
|
5207
|
+
const row = h("div", { style: "display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;" });
|
|
5208
|
+
const mkBtn = (label, primary, onClick) => h("button", {
|
|
5209
|
+
type: "button",
|
|
5210
|
+
style: primary ? "cursor:pointer;border:none;border-radius:8px;padding:4px 10px;background:var(--color-brand, #4a7cf7);color:#fff;font-size:12px;" : "cursor:pointer;border-radius:8px;padding:4px 10px;background:transparent;border:1px solid var(--color-border, #666);color:inherit;font-size:12px;",
|
|
5211
|
+
onclick: () => {
|
|
5212
|
+
closeConfirmTip();
|
|
5213
|
+
onClick && onClick();
|
|
5214
|
+
}
|
|
5215
|
+
}, String(label));
|
|
5216
|
+
if (Array.isArray(buttons) && buttons.length) {
|
|
5217
|
+
for (const b of buttons) {
|
|
5218
|
+
if (b && typeof b.label === "string") row.append(mkBtn(b.label, !!b.primary, b.onClick));
|
|
5219
|
+
}
|
|
5220
|
+
} else {
|
|
5221
|
+
row.append(mkBtn("\u53D6\u6D88", false, null), mkBtn(confirmLabel || "\u786E\u8BA4", true, onConfirm));
|
|
5222
|
+
}
|
|
5223
|
+
body.append(row);
|
|
5224
|
+
el.append(body);
|
|
5225
|
+
document.body.append(el);
|
|
5226
|
+
tipEl = el;
|
|
5227
|
+
const r = anchorEl.getBoundingClientRect();
|
|
5228
|
+
const w = el.offsetWidth;
|
|
5229
|
+
let left = r.left + r.width / 2 - w / 2;
|
|
5230
|
+
left = Math.max(8, Math.min(left, window.innerWidth - w - 8));
|
|
5231
|
+
el.style.left = `${Math.round(left)}px`;
|
|
5232
|
+
el.style.top = `${Math.round(r.bottom + 8)}px`;
|
|
5233
|
+
el.style.setProperty("--tip-arrow-x", `${Math.round(Math.min(Math.max(r.left + r.width / 2 - left, 10), w - 10))}px`);
|
|
5234
|
+
const onDown = (e) => {
|
|
5235
|
+
if (tipEl && !tipEl.contains(e.target)) closeConfirmTip();
|
|
5236
|
+
};
|
|
5237
|
+
const onKey = (e) => {
|
|
5238
|
+
if (e.key === "Escape") closeConfirmTip();
|
|
5239
|
+
};
|
|
5240
|
+
const onSettingsClosed = () => closeConfirmTip();
|
|
5241
|
+
setTimeout(() => {
|
|
5242
|
+
document.addEventListener("mousedown", onDown);
|
|
5243
|
+
document.addEventListener("keydown", onKey);
|
|
5244
|
+
window.addEventListener("zcodepro:settings-closed", onSettingsClosed);
|
|
5245
|
+
}, 0);
|
|
5246
|
+
tipEl.__cleanup = () => {
|
|
5247
|
+
document.removeEventListener("mousedown", onDown);
|
|
5248
|
+
document.removeEventListener("keydown", onKey);
|
|
5249
|
+
window.removeEventListener("zcodepro:settings-closed", onSettingsClosed);
|
|
5250
|
+
};
|
|
5251
|
+
return closeConfirmTip;
|
|
5252
|
+
}
|
|
5253
|
+
function closeConfirmTip() {
|
|
5254
|
+
if (!tipEl) return;
|
|
5255
|
+
try {
|
|
5256
|
+
tipEl.__cleanup && tipEl.__cleanup();
|
|
5257
|
+
} catch {
|
|
5258
|
+
}
|
|
5259
|
+
tipEl.remove();
|
|
5260
|
+
tipEl = null;
|
|
5261
|
+
}
|
|
4647
5262
|
function closeCornerCard(position = "br") {
|
|
4648
5263
|
cornerCards.get(position)?.remove();
|
|
4649
5264
|
cornerCards.delete(position);
|
|
@@ -5493,12 +6108,15 @@
|
|
|
5493
6108
|
opacity: 0.3;
|
|
5494
6109
|
margin: 0 2px;
|
|
5495
6110
|
}
|
|
5496
|
-
/* \u6BCF\u9879\u5185\u90E8\u7528 flex \u5BF9\u9F50\uFF1A\u56FE\u6807\u3001\u6807\u7B7E\u3001\u6570\u503C\u5782\u76F4\u5C45\u4E2D\uFF0C\u95F4\u8DDD\u7EDF\u4E00
|
|
6111
|
+
/* \u6BCF\u9879\u5185\u90E8\u7528 flex \u5BF9\u9F50\uFF1A\u56FE\u6807\u3001\u6807\u7B7E\u3001\u6570\u503C\u5782\u76F4\u5C45\u4E2D\uFF0C\u95F4\u8DDD\u7EDF\u4E00\u3002
|
|
6112
|
+
pointer-events \u5FC5\u987B\u663E\u5F0F\u6062\u590D\uFF1A\u5BB9\u5668\u8BBE none \u662F\u4E3A\u4E86\u4E0D\u6321\u4F4F\u8F93\u5165\u6846\u533A\u57DF\u7684\u70B9\u51FB\uFF0C
|
|
6113
|
+
\u4F46 none \u4F1A\u88AB\u5B50\u9879\u7EE7\u627F\uFF0C\u539F\u751F title \u63D0\u793A\u5C31\u6C38\u8FDC\u5F39\u4E0D\u51FA\u6765\uFF08\u6240\u6709\u9879\u7684\u60AC\u505C\u8BF4\u660E\u90FD\u5931\u6548\uFF09 */
|
|
5497
6114
|
.zcodepro-statusbar span[title] {
|
|
5498
6115
|
display: inline-flex;
|
|
5499
6116
|
align-items: center;
|
|
5500
6117
|
gap: 3px;
|
|
5501
6118
|
white-space: nowrap;
|
|
6119
|
+
pointer-events: auto;
|
|
5502
6120
|
}
|
|
5503
6121
|
.zcodepro-sb-icon {
|
|
5504
6122
|
width: 12px;
|
|
@@ -5667,6 +6285,42 @@
|
|
|
5667
6285
|
.zcodepro-pin-collapsed > :is(ul, div):has(li[data-task-item-key]) { display: none !important; }
|
|
5668
6286
|
/* \u6298\u53E0\u540E\u53BB\u6389\u6807\u9898\u81EA\u5E26\u7684\u5E95\u90E8\u7559\u767D\uFF0C\u4E0E\u4E0B\u4E00\u5206\u533A\u7684\u95F4\u9694\u548C\u5176\u4ED6\u5206\u533A\u8282\u594F\u4E00\u81F4 */
|
|
5669
6287
|
.zcodepro-pin-collapsed .zcodepro-pin-head { padding-bottom: 0; }
|
|
6288
|
+
/* \u786E\u8BA4\u5C0F\u5F39\u7A97\uFF08\u5B9E\u4F8B\u884C\u300C\u8FD8\u539F\u300D\u7B49\u5371\u9669\u64CD\u4F5C\u7528\uFF09\uFF1A\u4E0E\u5212\u8BCD\u7FFB\u8BD1\u9762\u677F\u540C\u4E00\u5957\u89C6\u89C9
|
|
6289
|
+
\uFF08popover \u914D\u8272/\u5706\u89D2/\u9634\u5F71/\u5C16\u89D2\uFF09\uFF0C\u8D34\u5728\u89E6\u53D1\u6309\u94AE\u4E0B\u65B9 */
|
|
6290
|
+
.zcodepro-confirm-tip {
|
|
6291
|
+
position: fixed;
|
|
6292
|
+
z-index: 2147483000;
|
|
6293
|
+
background: var(--color-popover, #fff);
|
|
6294
|
+
color: var(--color-foreground, #222);
|
|
6295
|
+
border: 1px solid var(--color-border, rgba(0, 0, 0, 0.12));
|
|
6296
|
+
border-radius: 12px;
|
|
6297
|
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
|
|
6298
|
+
font-size: 13px;
|
|
6299
|
+
line-height: 1.6;
|
|
6300
|
+
animation: zcodepro-fade-in .12s ease;
|
|
6301
|
+
}
|
|
6302
|
+
/* \u5C16\u89D2\u8D34\u9876\u8FB9\u671D\u4E0A\uFF0C\u6307\u5411\u89E6\u53D1\u6309\u94AE\uFF1A--tip-arrow-x \u7531\u5B9A\u4F4D\u51FD\u6570\u6309\u6309\u94AE\u4E2D\u5FC3\u53CD\u7B97 */
|
|
6303
|
+
.zcodepro-confirm-tip .zcodepro-tip-arrow {
|
|
6304
|
+
position: absolute;
|
|
6305
|
+
top: -8px;
|
|
6306
|
+
width: 0;
|
|
6307
|
+
height: 0;
|
|
6308
|
+
left: var(--tip-arrow-x, 50%);
|
|
6309
|
+
transform: translateX(-50%);
|
|
6310
|
+
pointer-events: none;
|
|
6311
|
+
border-left: 8px solid transparent;
|
|
6312
|
+
border-right: 8px solid transparent;
|
|
6313
|
+
border-bottom: 8px solid var(--color-border, rgba(0, 0, 0, 0.12));
|
|
6314
|
+
}
|
|
6315
|
+
.zcodepro-confirm-tip .zcodepro-tip-arrow::after {
|
|
6316
|
+
content: '';
|
|
6317
|
+
position: absolute;
|
|
6318
|
+
left: -7px;
|
|
6319
|
+
top: 1px;
|
|
6320
|
+
border-left: 7px solid transparent;
|
|
6321
|
+
border-right: 7px solid transparent;
|
|
6322
|
+
border-bottom: 7px solid var(--color-popover, #fff);
|
|
6323
|
+
}
|
|
5670
6324
|
/* \u5212\u8BCD\u7FFB\u8BD1\u9762\u677F\uFF1Afixed \u6D6E\u5C42\uFF08\u53F3\u952E\u83DC\u5355\u540C\u7EA7\u7684\u6700\u9AD8\u5C42\uFF09\uFF0C\u914D\u8272\u5168\u8D70\u4E3B\u9898\u53D8\u91CF */
|
|
5671
6325
|
.zcodepro-translate-panel {
|
|
5672
6326
|
position: fixed;
|
|
@@ -5854,7 +6508,7 @@
|
|
|
5854
6508
|
.zcodepro-tr-histtext { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
5855
6509
|
`));
|
|
5856
6510
|
}
|
|
5857
|
-
var toastTimer, TOAST_KINDS, cornerCards, CORNER_POS, overlayClass, overlayClassBare, contentClass, dialogStack;
|
|
6511
|
+
var toastTimer, TOAST_KINDS, cornerCards, CORNER_POS, tipEl, overlayClass, overlayClassBare, contentClass, dialogStack;
|
|
5858
6512
|
var init_ui = __esm({
|
|
5859
6513
|
"src/inject/ui.js"() {
|
|
5860
6514
|
init_core();
|
|
@@ -5872,6 +6526,7 @@
|
|
|
5872
6526
|
tl: "left:16px;top:16px;",
|
|
5873
6527
|
tr: "right:16px;top:16px;"
|
|
5874
6528
|
};
|
|
6529
|
+
tipEl = null;
|
|
5875
6530
|
overlayClass = "fixed inset-0 isolate z-50 flex items-start justify-center bg-black/60 supports-backdrop-filter:backdrop-blur-xs duration-100 p-4 platform-linux-desktop:top-12";
|
|
5876
6531
|
overlayClassBare = "fixed inset-0 isolate z-50 flex items-start justify-center duration-100 p-4 platform-linux-desktop:top-12";
|
|
5877
6532
|
contentClass = "w-full sm:max-w-md rounded-2xl border-none bg-popover/98 p-5 text-ui-base/relaxed text-foreground ring-border shadow-2xl";
|
|
@@ -6019,12 +6674,12 @@
|
|
|
6019
6674
|
return null;
|
|
6020
6675
|
}
|
|
6021
6676
|
}
|
|
6022
|
-
function listActiveIdsCached(base,
|
|
6677
|
+
function listActiveIdsCached(base, fresh2 = false) {
|
|
6023
6678
|
const key = String(base).replace(/[\\/]+$/, "");
|
|
6024
6679
|
const now = Date.now();
|
|
6025
6680
|
const hit = activeIdsCache.get(key);
|
|
6026
6681
|
if (hit && hit.pending) return hit.pending;
|
|
6027
|
-
if (!
|
|
6682
|
+
if (!fresh2 && hit && now - hit.doneAt < ACTIVE_IDS_TTL_MS) return Promise.resolve(hit.ids);
|
|
6028
6683
|
const services2 = findServices();
|
|
6029
6684
|
const ts = services2 && services2.zcodeTaskService;
|
|
6030
6685
|
if (!ts || typeof ts.listActiveTaskIds !== "function") return Promise.resolve(null);
|
|
@@ -8389,6 +9044,9 @@
|
|
|
8389
9044
|
return v === "" || v !== "session" && !providers2.some((p) => p.id === v);
|
|
8390
9045
|
}
|
|
8391
9046
|
|
|
9047
|
+
// src/inject/provider-model-thinking.js
|
|
9048
|
+
init_core();
|
|
9049
|
+
|
|
8392
9050
|
// src/inject/thinking-levels.js
|
|
8393
9051
|
function thinkingLabel(level, L) {
|
|
8394
9052
|
const key = "translateThinking_" + level;
|
|
@@ -8407,12 +9065,16 @@
|
|
|
8407
9065
|
return null;
|
|
8408
9066
|
}
|
|
8409
9067
|
const entry = (providers2 || []).find((p) => p && p.id === providerId);
|
|
8410
|
-
|
|
8411
|
-
const
|
|
9068
|
+
if (!entry) return null;
|
|
9069
|
+
const models = Array.isArray(entry.models) ? entry.models : [];
|
|
9070
|
+
const want = String(model || "").trim();
|
|
9071
|
+
const modelInEntry = want && models.some((m) => String(m).toLowerCase() === want.toLowerCase());
|
|
9072
|
+
const effModel = modelInEntry ? want : models[0] || want;
|
|
9073
|
+
const rr = effModel ? entry.modelReasoning?.[effModel] : null;
|
|
8412
9074
|
if (rr && Array.isArray(rr.variants) && rr.variants.length) {
|
|
8413
9075
|
return { variants: rr.variants.slice(), defaultVariant: rr.defaultVariant || rr.variants[0], supported: true };
|
|
8414
9076
|
}
|
|
8415
|
-
if (
|
|
9077
|
+
if (effModel && modelInEntry) return { variants: [], defaultVariant: "off", supported: false };
|
|
8416
9078
|
return null;
|
|
8417
9079
|
}
|
|
8418
9080
|
var ALL_THINKING_VARIANTS = ["off", "minimal", "low", "medium", "high", "xhigh", "max"];
|
|
@@ -8454,6 +9116,109 @@
|
|
|
8454
9116
|
return { variants, current: cur, display: cur, unsupported: false, sessionModelId: "" };
|
|
8455
9117
|
}
|
|
8456
9118
|
|
|
9119
|
+
// src/inject/provider-model-thinking.js
|
|
9120
|
+
function fieldBlock(labelText, node) {
|
|
9121
|
+
return h(
|
|
9122
|
+
"label",
|
|
9123
|
+
{ class: "block min-w-0" },
|
|
9124
|
+
h("span", { class: "mb-1 block text-ui-xs font-medium text-foreground-subtle" }, labelText),
|
|
9125
|
+
node
|
|
9126
|
+
);
|
|
9127
|
+
}
|
|
9128
|
+
function providerModelThinkingFields({
|
|
9129
|
+
providers: providers2,
|
|
9130
|
+
L,
|
|
9131
|
+
provider = "",
|
|
9132
|
+
model = "",
|
|
9133
|
+
thinking = "off",
|
|
9134
|
+
sessionInfo: sessionInfo2 = null,
|
|
9135
|
+
withManual = true,
|
|
9136
|
+
labels,
|
|
9137
|
+
onChange,
|
|
9138
|
+
requestRender = null
|
|
9139
|
+
}) {
|
|
9140
|
+
const field = fieldBlock;
|
|
9141
|
+
const LBL = labels || {
|
|
9142
|
+
provider: L.titleGenProvider,
|
|
9143
|
+
model: L.titleGenModel,
|
|
9144
|
+
thinking: L.translateThinking
|
|
9145
|
+
};
|
|
9146
|
+
const state = { provider, model, thinking };
|
|
9147
|
+
const providerOpts = withManual ? providerOptionsOf(providers2, L) : [
|
|
9148
|
+
{ value: "session", label: L.titleGenProviderSession },
|
|
9149
|
+
...providers2.map((p) => ({ value: p.id, label: p.name }))
|
|
9150
|
+
];
|
|
9151
|
+
const providerCombo = comboField(
|
|
9152
|
+
state.provider || "",
|
|
9153
|
+
providerOpts,
|
|
9154
|
+
(v, src) => {
|
|
9155
|
+
state.provider = v;
|
|
9156
|
+
if (v === "session") state.model = "";
|
|
9157
|
+
const opts2 = resolveThinkingOptions(providers2, state, sessionInfo2);
|
|
9158
|
+
state.thinking = opts2.current;
|
|
9159
|
+
onChange({ provider: state.provider, model: state.model, thinking: state.thinking });
|
|
9160
|
+
if (src === "select" && requestRender) requestRender();
|
|
9161
|
+
},
|
|
9162
|
+
{ placeholder: L.titleGenProviderSession, staleLabel: L.titleGenProviderDeleted }
|
|
9163
|
+
);
|
|
9164
|
+
const modelCombo = comboField(
|
|
9165
|
+
state.model || "",
|
|
9166
|
+
modelOptionsOf(state.provider, providers2, {
|
|
9167
|
+
followSession: (state.provider || "").trim() === "session",
|
|
9168
|
+
followSessionLabel: L.titleGenModelFollowSession
|
|
9169
|
+
}),
|
|
9170
|
+
(v, src) => {
|
|
9171
|
+
state.model = v.trim();
|
|
9172
|
+
const opts2 = resolveThinkingOptions(providers2, state, sessionInfo2);
|
|
9173
|
+
state.thinking = opts2.current;
|
|
9174
|
+
onChange({ provider: state.provider, model: state.model, thinking: state.thinking });
|
|
9175
|
+
if (src === "select" && requestRender) requestRender();
|
|
9176
|
+
},
|
|
9177
|
+
{
|
|
9178
|
+
placeholder: modelPlaceholderOf(state.provider, L),
|
|
9179
|
+
emptyLabel: (state.provider || "").trim() === "session" ? L.titleGenModelFollowSession : L.titleGenModelEmpty
|
|
9180
|
+
}
|
|
9181
|
+
);
|
|
9182
|
+
const opts = resolveThinkingOptions(providers2, state, sessionInfo2);
|
|
9183
|
+
const variants = opts.variants.length ? opts.variants : ["off"];
|
|
9184
|
+
const thinkSel = h(
|
|
9185
|
+
"select",
|
|
9186
|
+
{
|
|
9187
|
+
class: "h-8 w-full rounded-lg border border-border bg-input px-2.5 text-ui-sm text-foreground outline-none transition-shadow focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/40",
|
|
9188
|
+
title: opts.unsupported ? L.translateThinkingUnsupported : L.translateThinking,
|
|
9189
|
+
disabled: opts.unsupported ? true : void 0
|
|
9190
|
+
},
|
|
9191
|
+
...variants.map((k) => {
|
|
9192
|
+
const o = h("option", { value: k }, thinkingLabel(k, L));
|
|
9193
|
+
if (opts.display === k) o.selected = true;
|
|
9194
|
+
return o;
|
|
9195
|
+
})
|
|
9196
|
+
);
|
|
9197
|
+
thinkSel.addEventListener("change", () => {
|
|
9198
|
+
state.thinking = thinkSel.value;
|
|
9199
|
+
onChange({ provider: state.provider, model: state.model, thinking: state.thinking });
|
|
9200
|
+
});
|
|
9201
|
+
const providerFieldEl = field(LBL.provider, providerCombo);
|
|
9202
|
+
const modelFieldEl = field(LBL.model, modelCombo);
|
|
9203
|
+
const thinkingFieldEl = field(LBL.thinking, thinkSel);
|
|
9204
|
+
return {
|
|
9205
|
+
fields: [providerFieldEl, modelFieldEl, thinkingFieldEl],
|
|
9206
|
+
// 外部(如拿到新的 sessionInfo 后)可调用它重新算一次档位并回写
|
|
9207
|
+
syncThinking() {
|
|
9208
|
+
const o = resolveThinkingOptions(providers2, state, sessionInfo2);
|
|
9209
|
+
if (o.current !== state.thinking) {
|
|
9210
|
+
state.thinking = o.current;
|
|
9211
|
+
onChange({ provider: state.provider, model: state.model, thinking: state.thinking });
|
|
9212
|
+
}
|
|
9213
|
+
return o.current;
|
|
9214
|
+
},
|
|
9215
|
+
getState() {
|
|
9216
|
+
return { ...state };
|
|
9217
|
+
},
|
|
9218
|
+
isManual: () => isManualConn(state.provider, providers2)
|
|
9219
|
+
};
|
|
9220
|
+
}
|
|
9221
|
+
|
|
8457
9222
|
// src/inject/features/alias-migration.js
|
|
8458
9223
|
init_core();
|
|
8459
9224
|
init_ui();
|
|
@@ -8463,7 +9228,7 @@
|
|
|
8463
9228
|
function waitFor(getter, timeoutMs, step) {
|
|
8464
9229
|
const start = Date.now();
|
|
8465
9230
|
return new Promise((resolve, reject) => {
|
|
8466
|
-
const
|
|
9231
|
+
const tick10 = () => {
|
|
8467
9232
|
let v = null;
|
|
8468
9233
|
try {
|
|
8469
9234
|
v = getter();
|
|
@@ -8477,9 +9242,9 @@
|
|
|
8477
9242
|
reject(new Error(step));
|
|
8478
9243
|
return;
|
|
8479
9244
|
}
|
|
8480
|
-
setTimeout(
|
|
9245
|
+
setTimeout(tick10, 120);
|
|
8481
9246
|
};
|
|
8482
|
-
|
|
9247
|
+
tick10();
|
|
8483
9248
|
});
|
|
8484
9249
|
}
|
|
8485
9250
|
function setReactInputValue(input, value) {
|
|
@@ -8895,9 +9660,9 @@
|
|
|
8895
9660
|
if (!focused) return;
|
|
8896
9661
|
if (migrateLockFresh()) return;
|
|
8897
9662
|
await waitFor(() => document.querySelector(".zcodepro-overlay") ? null : true, 12e4, "dialog-busy");
|
|
8898
|
-
const
|
|
8899
|
-
const still = Object.values(
|
|
8900
|
-
if (still && !(
|
|
9663
|
+
const fresh2 = await getConfig(true);
|
|
9664
|
+
const still = Object.values(fresh2.aliases || {}).some((a) => String(a || "").trim());
|
|
9665
|
+
if (still && !(fresh2.migrations && fresh2.migrations.aliasRenameDismissed)) openMigrationDialog();
|
|
8901
9666
|
} catch {
|
|
8902
9667
|
}
|
|
8903
9668
|
})();
|
|
@@ -10076,9 +10841,9 @@
|
|
|
10076
10841
|
clearWallpaper();
|
|
10077
10842
|
return;
|
|
10078
10843
|
}
|
|
10079
|
-
const
|
|
10080
|
-
wpTickFn =
|
|
10081
|
-
|
|
10844
|
+
const tick10 = () => showFile(files[nextIdx(files.length)], "folder");
|
|
10845
|
+
wpTickFn = tick10;
|
|
10846
|
+
tick10();
|
|
10082
10847
|
armRotateTimer(bg);
|
|
10083
10848
|
return;
|
|
10084
10849
|
}
|
|
@@ -10173,8 +10938,8 @@
|
|
|
10173
10938
|
clearInterval(st.timer);
|
|
10174
10939
|
st.timer = null;
|
|
10175
10940
|
}
|
|
10176
|
-
const setState = (image,
|
|
10177
|
-
regionState[region] = { sig, image, tick:
|
|
10941
|
+
const setState = (image, tick10) => {
|
|
10942
|
+
regionState[region] = { sig, image, tick: tick10, timer: null, interval: 0 };
|
|
10178
10943
|
if (image) addRule(region, image);
|
|
10179
10944
|
};
|
|
10180
10945
|
const drop = () => {
|
|
@@ -10391,10 +11156,11 @@
|
|
|
10391
11156
|
var DEFAULTS = {
|
|
10392
11157
|
enabled: true,
|
|
10393
11158
|
continueText: "",
|
|
10394
|
-
maxRetries:
|
|
10395
|
-
|
|
10396
|
-
|
|
10397
|
-
|
|
11159
|
+
maxRetries: 10,
|
|
11160
|
+
continueDelaySec: 120,
|
|
11161
|
+
// 连续失败时继续延迟每次乘以这个倍数(1.3 → 2 分钟、2.6 分钟、3.4 分钟…);
|
|
11162
|
+
// 1 = 不递增。连续次数按 30 分钟窗口统计,隔久了重新从基础延迟算
|
|
11163
|
+
continueDelayFactor: 1.3,
|
|
10398
11164
|
stuckAfterMin: 30,
|
|
10399
11165
|
failedAfterMin: 3,
|
|
10400
11166
|
truncationContinueText: "",
|
|
@@ -10524,10 +11290,6 @@
|
|
|
10524
11290
|
const cutoff = Date.now() - 30 * 60 * 1e3;
|
|
10525
11291
|
continueTimes = continueTimes.filter((t2) => t2 >= cutoff);
|
|
10526
11292
|
}
|
|
10527
|
-
function recentWithin(ms) {
|
|
10528
|
-
const cutoff = Date.now() - ms;
|
|
10529
|
-
return continueTimes.filter((t2) => t2 >= cutoff).length;
|
|
10530
|
-
}
|
|
10531
11293
|
function sleep2(ms) {
|
|
10532
11294
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
10533
11295
|
}
|
|
@@ -10574,9 +11336,10 @@
|
|
|
10574
11336
|
return false;
|
|
10575
11337
|
}
|
|
10576
11338
|
function delayFor(dense, cfg2) {
|
|
10577
|
-
|
|
10578
|
-
const
|
|
10579
|
-
|
|
11339
|
+
const base = Math.max(0, cfg2.continueDelaySec ?? DEFAULTS.continueDelaySec);
|
|
11340
|
+
const factor = Math.max(1, cfg2.continueDelayFactor ?? DEFAULTS.continueDelayFactor);
|
|
11341
|
+
const times = Math.max(1, dense);
|
|
11342
|
+
return Math.round(base * Math.pow(factor, times - 1) * 1e3);
|
|
10580
11343
|
}
|
|
10581
11344
|
function brokenTail() {
|
|
10582
11345
|
const rows = [...document.querySelectorAll('[data-testid^="v4-row-"]')];
|
|
@@ -10631,7 +11394,7 @@
|
|
|
10631
11394
|
return;
|
|
10632
11395
|
}
|
|
10633
11396
|
el.dataset.zcodeproAc = "pending";
|
|
10634
|
-
await sleep2(delayFor(
|
|
11397
|
+
await sleep2(delayFor(continueTimes.length + 1, cfg2));
|
|
10635
11398
|
if (!el.isConnected || document.querySelector(STOP_SEL)) {
|
|
10636
11399
|
el.dataset.zcodeproAc = "skip";
|
|
10637
11400
|
return;
|
|
@@ -10783,6 +11546,8 @@
|
|
|
10783
11546
|
const more = stuckQueue.length > 1;
|
|
10784
11547
|
const card = document.createElement("div");
|
|
10785
11548
|
card.style.cssText = "position:fixed;right:16px;bottom:16px;z-index:2147483000;max-width:360px;padding:12px;border-radius:12px;border:1px solid var(--color-border, #666);background:var(--color-surface, #222);color:var(--color-foreground, #eee);font-size:13px;line-height:1.5;box-shadow:0 4px 24px rgba(0,0,0,.4)";
|
|
11549
|
+
card.className = "zcodepro-corner-card";
|
|
11550
|
+
card.setAttribute("data-zcodepro-corner", "br");
|
|
10786
11551
|
const title = document.createElement("div");
|
|
10787
11552
|
title.style.cssText = "font-weight:600;margin-bottom:4px";
|
|
10788
11553
|
title.textContent = (task.failedMsg ? L.acCardFailedTitle : kinds.map((k) => kindLabel(k)).join(L.acCardKindSep)) + (more ? L.acCardMore.replaceAll("{n}", String(stuckQueue.length - 1)) : "");
|
|
@@ -11396,7 +12161,7 @@
|
|
|
11396
12161
|
setState(L.upgradeFound.replaceAll("{v}", res.latest || ""));
|
|
11397
12162
|
btn.textContent = L.upgradeNow;
|
|
11398
12163
|
};
|
|
11399
|
-
const
|
|
12164
|
+
const tick10 = async () => {
|
|
11400
12165
|
const res = await rpc(endpoint + "/upgrade");
|
|
11401
12166
|
if (!res.ok) {
|
|
11402
12167
|
stopPoll();
|
|
@@ -11436,9 +12201,9 @@
|
|
|
11436
12201
|
btn.textContent = L.upgradeStop;
|
|
11437
12202
|
setState(L.upgradeRunning);
|
|
11438
12203
|
timer = setInterval(() => {
|
|
11439
|
-
void
|
|
12204
|
+
void tick10();
|
|
11440
12205
|
}, 1500);
|
|
11441
|
-
void
|
|
12206
|
+
void tick10();
|
|
11442
12207
|
};
|
|
11443
12208
|
void (async () => {
|
|
11444
12209
|
const res = await rpc(endpoint + "/upgrade");
|
|
@@ -11447,7 +12212,32 @@
|
|
|
11447
12212
|
setState("");
|
|
11448
12213
|
return { btn, state, stop: stopPoll };
|
|
11449
12214
|
}
|
|
11450
|
-
|
|
12215
|
+
var SETTINGS_TAB_KEY = "zcodepro-settings-tab";
|
|
12216
|
+
var SETTINGS_SUBTAB_KEY = "zcodepro-settings-subtab";
|
|
12217
|
+
function readTabMemory(key) {
|
|
12218
|
+
try {
|
|
12219
|
+
const v = JSON.parse(localStorage.getItem(key) || "null");
|
|
12220
|
+
return v && typeof v === "object" ? v : {};
|
|
12221
|
+
} catch {
|
|
12222
|
+
return {};
|
|
12223
|
+
}
|
|
12224
|
+
}
|
|
12225
|
+
function writeTabMemory(key, patch) {
|
|
12226
|
+
try {
|
|
12227
|
+
const cur = readTabMemory(key);
|
|
12228
|
+
localStorage.setItem(key, JSON.stringify({ ...cur, ...patch }));
|
|
12229
|
+
} catch {
|
|
12230
|
+
}
|
|
12231
|
+
}
|
|
12232
|
+
var openSettingsHandle = null;
|
|
12233
|
+
function openSettingsDialog(initialTab = "", initialSub = "") {
|
|
12234
|
+
if (openSettingsHandle && document.contains(openSettingsHandle.el)) {
|
|
12235
|
+
try {
|
|
12236
|
+
openSettingsHandle.close();
|
|
12237
|
+
} catch {
|
|
12238
|
+
}
|
|
12239
|
+
openSettingsHandle = null;
|
|
12240
|
+
}
|
|
11451
12241
|
ensureStyle();
|
|
11452
12242
|
const L = t();
|
|
11453
12243
|
let hrUpgradePollStop = null;
|
|
@@ -11467,6 +12257,7 @@
|
|
|
11467
12257
|
sizeKey: "settings",
|
|
11468
12258
|
dismissOnOutside: false,
|
|
11469
12259
|
onClose: () => {
|
|
12260
|
+
openSettingsHandle = null;
|
|
11470
12261
|
if (hrUpgradePollStop) hrUpgradePollStop();
|
|
11471
12262
|
if (rtkUpgradePollStop) rtkUpgradePollStop();
|
|
11472
12263
|
window.dispatchEvent(new CustomEvent("zcodepro:settings-closed"));
|
|
@@ -11796,8 +12587,13 @@
|
|
|
11796
12587
|
}
|
|
11797
12588
|
)
|
|
11798
12589
|
);
|
|
11799
|
-
|
|
12590
|
+
const explicitTab = typeof initialTab === "string" && initialTab ? initialTab : "";
|
|
12591
|
+
const tabMemory = readTabMemory(SETTINGS_TAB_KEY);
|
|
12592
|
+
let activeTab = explicitTab || (typeof tabMemory.last === "string" ? tabMemory.last : "") || "features";
|
|
11800
12593
|
const subTabBars = {};
|
|
12594
|
+
const subMemory = readTabMemory(SETTINGS_SUBTAB_KEY);
|
|
12595
|
+
const savedSub = (key, fallback) => typeof subMemory[key] === "string" && subMemory[key] || fallback;
|
|
12596
|
+
const rememberSub = (key, value) => writeTabMemory(SETTINGS_SUBTAB_KEY, { [key]: value });
|
|
11801
12597
|
const paneFeatures = h(
|
|
11802
12598
|
"div",
|
|
11803
12599
|
{ role: "tabpanel", class: "mt-2" },
|
|
@@ -12027,6 +12823,7 @@
|
|
|
12027
12823
|
});
|
|
12028
12824
|
const switchTab = (name) => {
|
|
12029
12825
|
activeTab = name;
|
|
12826
|
+
writeTabMemory(SETTINGS_TAB_KEY, { last: name });
|
|
12030
12827
|
if (name !== "shortcuts" && hkRecording) stopHkRecording();
|
|
12031
12828
|
for (const [id, pane] of Object.entries(panes)) pane.style.display = id === name ? "" : "none";
|
|
12032
12829
|
for (const [id, bar] of Object.entries(subTabBars)) bar.style.display = id === name ? "" : "none";
|
|
@@ -12038,8 +12835,8 @@
|
|
|
12038
12835
|
} catch {
|
|
12039
12836
|
}
|
|
12040
12837
|
};
|
|
12041
|
-
|
|
12042
|
-
|
|
12838
|
+
openSettingsHandle = { el: content.closest(".zcodepro-overlay") || content, close };
|
|
12839
|
+
activeTab = tabDefs.some(([id]) => id === activeTab) ? activeTab : "features";
|
|
12043
12840
|
const savedStyles = config.styles || {};
|
|
12044
12841
|
let saveTimer = null;
|
|
12045
12842
|
let pendingStyles = {};
|
|
@@ -12355,7 +13152,7 @@
|
|
|
12355
13152
|
let masterRow = null;
|
|
12356
13153
|
const renderMaster = () => {
|
|
12357
13154
|
const next = masterRow ? !((config.features || {}).statusBar !== false) : (config.features || {}).statusBar !== false;
|
|
12358
|
-
const
|
|
13155
|
+
const fresh2 = settingRow(L.sbMaster, L.sbMasterDesc, (config.features || {}).statusBar !== false, async () => {
|
|
12359
13156
|
const to = !((config.features || {}).statusBar !== false);
|
|
12360
13157
|
const res = await rpc("/config", { method: "POST", body: { features: { statusBar: to } } });
|
|
12361
13158
|
clearConfigCache();
|
|
@@ -12365,9 +13162,9 @@
|
|
|
12365
13162
|
window.dispatchEvent(new CustomEvent("zcodepro:config-changed"));
|
|
12366
13163
|
renderMaster();
|
|
12367
13164
|
});
|
|
12368
|
-
|
|
12369
|
-
if (masterRow) masterRow.replaceWith(
|
|
12370
|
-
masterRow =
|
|
13165
|
+
fresh2.setAttribute("data-zcodepro-sb-master", "1");
|
|
13166
|
+
if (masterRow) masterRow.replaceWith(fresh2);
|
|
13167
|
+
masterRow = fresh2;
|
|
12371
13168
|
};
|
|
12372
13169
|
renderMaster();
|
|
12373
13170
|
paneStylesSub2.append(
|
|
@@ -12426,7 +13223,11 @@
|
|
|
12426
13223
|
custom: patch.custom !== void 0 ? patch.custom : themeCfg.custom,
|
|
12427
13224
|
bg: { ...themeCfg.bg, ...patch.bg || {} }
|
|
12428
13225
|
};
|
|
12429
|
-
const
|
|
13226
|
+
const bodyTheme = {};
|
|
13227
|
+
if (patch.skin !== void 0) bodyTheme.skin = themeCfg.skin;
|
|
13228
|
+
if (patch.custom !== void 0) bodyTheme.custom = themeCfg.custom;
|
|
13229
|
+
if (patch.bg && Object.keys(patch.bg).length) bodyTheme.bg = patch.bg;
|
|
13230
|
+
const res = await rpc("/config", { method: "POST", body: Object.keys(bodyTheme).length ? { theme: bodyTheme } : {} });
|
|
12430
13231
|
clearConfigCache();
|
|
12431
13232
|
window.dispatchEvent(new CustomEvent("zcodepro:config-changed"));
|
|
12432
13233
|
if (!res.ok) showToast(L.failed + ": " + errText(res), "error");
|
|
@@ -12643,15 +13444,15 @@
|
|
|
12643
13444
|
}
|
|
12644
13445
|
sel.value = cur && cur.file || "";
|
|
12645
13446
|
sel.addEventListener("change", () => {
|
|
12646
|
-
const
|
|
12647
|
-
if (
|
|
13447
|
+
const fresh2 = themeCfg.bg.regions[region];
|
|
13448
|
+
if (fresh2) setRegion(region, { ...fresh2, file: sel.value });
|
|
12648
13449
|
});
|
|
12649
13450
|
valueCtrl = sel;
|
|
12650
13451
|
} else if (mode === "folder") {
|
|
12651
13452
|
const inp = h("input", { type: "text", value: cur && cur.folder || "", class: themeInputCls.replace("h-8", "h-7"), placeholder: "/path/to/wallpapers" });
|
|
12652
13453
|
inp.addEventListener("change", () => {
|
|
12653
|
-
const
|
|
12654
|
-
if (
|
|
13454
|
+
const fresh2 = themeCfg.bg.regions[region];
|
|
13455
|
+
if (fresh2) setRegion(region, { ...fresh2, folder: inp.value.trim() });
|
|
12655
13456
|
});
|
|
12656
13457
|
valueCtrl = inp;
|
|
12657
13458
|
} else if (mode === "url") {
|
|
@@ -12663,8 +13464,8 @@
|
|
|
12663
13464
|
renderThemeBg();
|
|
12664
13465
|
return;
|
|
12665
13466
|
}
|
|
12666
|
-
const
|
|
12667
|
-
if (
|
|
13467
|
+
const fresh2 = themeCfg.bg.regions[region];
|
|
13468
|
+
if (fresh2) setRegion(region, { ...fresh2, url: v });
|
|
12668
13469
|
});
|
|
12669
13470
|
valueCtrl = inp;
|
|
12670
13471
|
}
|
|
@@ -12673,8 +13474,8 @@
|
|
|
12673
13474
|
class: "zcodepro-tab",
|
|
12674
13475
|
"data-state": (cur && cur.fit ? cur.fit === id : id === "") ? "active" : "inactive",
|
|
12675
13476
|
onClick: () => {
|
|
12676
|
-
const
|
|
12677
|
-
if (
|
|
13477
|
+
const fresh2 = themeCfg.bg.regions[region];
|
|
13478
|
+
if (fresh2) setRegion(region, { ...fresh2, fit: id || null });
|
|
12678
13479
|
}
|
|
12679
13480
|
}, text);
|
|
12680
13481
|
const maskFollow = !(cur && cur.maskOpacity != null);
|
|
@@ -12695,8 +13496,8 @@
|
|
|
12695
13496
|
maskValLabel.textContent = v + "%";
|
|
12696
13497
|
clearTimeout(regionMaskTimers[region]);
|
|
12697
13498
|
regionMaskTimers[region] = setTimeout(() => {
|
|
12698
|
-
const
|
|
12699
|
-
if (
|
|
13499
|
+
const fresh2 = themeCfg.bg.regions[region];
|
|
13500
|
+
if (fresh2) setRegion(region, { ...fresh2, maskOpacity: v / 100 });
|
|
12700
13501
|
}, 300);
|
|
12701
13502
|
});
|
|
12702
13503
|
const maskChip = h("button", {
|
|
@@ -12707,8 +13508,8 @@
|
|
|
12707
13508
|
onClick: () => {
|
|
12708
13509
|
if (maskFollow) return;
|
|
12709
13510
|
clearTimeout(regionMaskTimers[region]);
|
|
12710
|
-
const
|
|
12711
|
-
if (
|
|
13511
|
+
const fresh2 = themeCfg.bg.regions[region];
|
|
13512
|
+
if (fresh2) setRegion(region, { ...fresh2, maskOpacity: null });
|
|
12712
13513
|
}
|
|
12713
13514
|
}, L.themeBgFollowGlobal);
|
|
12714
13515
|
return h(
|
|
@@ -13158,7 +13959,8 @@
|
|
|
13158
13959
|
renderThemeBg();
|
|
13159
13960
|
void refreshBgFiles();
|
|
13160
13961
|
void refreshFolderInfo();
|
|
13161
|
-
|
|
13962
|
+
const STYLES_SUBS = ["bgimg", "colors", "styles", "status"];
|
|
13963
|
+
let stylesSubTab = STYLES_SUBS.includes(savedSub("styles", "")) ? savedSub("styles", "") : "bgimg";
|
|
13162
13964
|
const stylesSubTablist = h("div", { role: "tablist", "aria-orientation": "horizontal", class: "zcodepro-tablist" });
|
|
13163
13965
|
const renderStylesSubTabs = () => stylesSubTablist.replaceChildren(...[
|
|
13164
13966
|
["bgimg", L.themeBgPane],
|
|
@@ -13173,6 +13975,7 @@
|
|
|
13173
13975
|
"data-state": stylesSubTab === id ? "active" : "inactive",
|
|
13174
13976
|
onClick: () => {
|
|
13175
13977
|
stylesSubTab = id;
|
|
13978
|
+
rememberSub("styles", id);
|
|
13176
13979
|
paneStylesSub1.style.display = id === "styles" ? "" : "none";
|
|
13177
13980
|
paneStylesSub2.style.display = id === "status" ? "" : "none";
|
|
13178
13981
|
paneStylesSub3.style.display = id === "colors" ? "" : "none";
|
|
@@ -13180,6 +13983,10 @@
|
|
|
13180
13983
|
renderStylesSubTabs();
|
|
13181
13984
|
}
|
|
13182
13985
|
}, label)));
|
|
13986
|
+
paneStylesSub1.style.display = stylesSubTab === "styles" ? "" : "none";
|
|
13987
|
+
paneStylesSub2.style.display = stylesSubTab === "status" ? "" : "none";
|
|
13988
|
+
paneStylesSub3.style.display = stylesSubTab === "colors" ? "" : "none";
|
|
13989
|
+
paneStylesSub4.style.display = stylesSubTab === "bgimg" ? "" : "none";
|
|
13183
13990
|
renderStylesSubTabs();
|
|
13184
13991
|
subTabBars.styles = stylesSubTablist;
|
|
13185
13992
|
paneStyles.append(paneStylesSub1, paneStylesSub2, paneStylesSub3, paneStylesSub4);
|
|
@@ -13236,6 +14043,62 @@
|
|
|
13236
14043
|
agentsSaveBtn.disabled = false;
|
|
13237
14044
|
}
|
|
13238
14045
|
};
|
|
14046
|
+
const toolNameState = h("p", { class: "mt-2 text-ui-xs/relaxed text-foreground-subtle" });
|
|
14047
|
+
let toolNameBusy = false;
|
|
14048
|
+
const toolNameBtn = btnSmall(L.toolNameCheckBtn, () => {
|
|
14049
|
+
void runToolNameCheck();
|
|
14050
|
+
}, "shrink-0", "primary");
|
|
14051
|
+
const runToolNameCheck = async () => {
|
|
14052
|
+
if (toolNameBusy) return;
|
|
14053
|
+
toolNameBusy = true;
|
|
14054
|
+
toolNameBtn.disabled = true;
|
|
14055
|
+
toolNameBtn.textContent = L.toolNameCheckRunning;
|
|
14056
|
+
toolNameState.textContent = "";
|
|
14057
|
+
toolNameState.className = "mt-2 text-ui-xs/relaxed text-foreground-subtle";
|
|
14058
|
+
const res = await rpc("/tool-names/check", { method: "POST", body: {} });
|
|
14059
|
+
toolNameBusy = false;
|
|
14060
|
+
toolNameBtn.disabled = false;
|
|
14061
|
+
toolNameBtn.textContent = L.toolNameCheckBtn;
|
|
14062
|
+
if (!res.ok) {
|
|
14063
|
+
toolNameState.className = "mt-2 text-ui-xs/relaxed text-destructive";
|
|
14064
|
+
toolNameState.textContent = L.toolNameCheckFailed + ": " + errText(res);
|
|
14065
|
+
return;
|
|
14066
|
+
}
|
|
14067
|
+
toolNameState.className = "mt-2 text-ui-xs/relaxed " + (res.warnings && res.warnings.length ? "text-amber-500" : "text-foreground-subtle");
|
|
14068
|
+
toolNameState.textContent = res.summary || "";
|
|
14069
|
+
};
|
|
14070
|
+
let toolNameAutoOn = config.toolNameAuto !== false;
|
|
14071
|
+
const toolNameAutoWrap = h("div", { class: "ml-auto flex shrink-0 items-center gap-1.5" });
|
|
14072
|
+
const renderToolNameAuto = () => {
|
|
14073
|
+
const toggle2 = async () => {
|
|
14074
|
+
const next = !toolNameAutoOn;
|
|
14075
|
+
const res = await rpc("/config", { method: "POST", body: { toolNameAuto: next } });
|
|
14076
|
+
if (!res.ok) {
|
|
14077
|
+
showToast(L.failed + ": " + errText(res), "error");
|
|
14078
|
+
return;
|
|
14079
|
+
}
|
|
14080
|
+
toolNameAutoOn = res.config && typeof res.config.toolNameAuto === "boolean" ? res.config.toolNameAuto : next;
|
|
14081
|
+
renderToolNameAuto();
|
|
14082
|
+
};
|
|
14083
|
+
toolNameAutoWrap.replaceChildren(
|
|
14084
|
+
h("span", { class: "text-ui-xs text-foreground-subtle", title: L.toolNameAutoDesc }, L.toolNameAuto),
|
|
14085
|
+
h("button", {
|
|
14086
|
+
type: "button",
|
|
14087
|
+
role: "switch",
|
|
14088
|
+
"aria-checked": String(toolNameAutoOn),
|
|
14089
|
+
class: "relative inline-flex shrink-0 cursor-pointer items-center",
|
|
14090
|
+
title: L.toolNameAutoDesc,
|
|
14091
|
+
onClick: () => {
|
|
14092
|
+
void toggle2();
|
|
14093
|
+
}
|
|
14094
|
+
}, h(
|
|
14095
|
+
"span",
|
|
14096
|
+
{ class: "zcodepro-switch", "data-zcodepro-switch": "", "data-state": toolNameAutoOn ? "on" : "off" },
|
|
14097
|
+
h("span", { class: "zcodepro-switch-knob" })
|
|
14098
|
+
))
|
|
14099
|
+
);
|
|
14100
|
+
};
|
|
14101
|
+
renderToolNameAuto();
|
|
13239
14102
|
const paneZcode = h("div", { class: "mt-2" });
|
|
13240
14103
|
let snap = zcodeConfigRes;
|
|
13241
14104
|
const setZcode = async (body2) => {
|
|
@@ -13357,17 +14220,136 @@
|
|
|
13357
14220
|
h("div", { class: "mt-0.5 text-ui-xs/relaxed text-foreground-subtle" }, L.zcodeSkillRootsDesc),
|
|
13358
14221
|
h("div", { class: "mt-2" }, rootsArea),
|
|
13359
14222
|
h("div", { class: "mt-2 flex justify-end" }, rootsSaveBtn)
|
|
14223
|
+
),
|
|
14224
|
+
h(
|
|
14225
|
+
"div",
|
|
14226
|
+
{ class: "mt-2 rounded-xl border border-border p-3" },
|
|
14227
|
+
h("div", { class: "text-ui-sm font-medium text-foreground" }, L.toolNameCheckTitle),
|
|
14228
|
+
h("p", { class: "mt-1 text-ui-xs/relaxed text-foreground-subtle" }, L.toolNameCheckDesc),
|
|
14229
|
+
h("div", { class: "mt-2 flex items-center gap-2" }, toolNameBtn, toolNameAutoWrap),
|
|
14230
|
+
toolNameState
|
|
13360
14231
|
)
|
|
13361
14232
|
);
|
|
13362
14233
|
}
|
|
14234
|
+
const piCfg = config && config.promptInjection || { text: "", subagents: false };
|
|
14235
|
+
let piText = typeof piCfg.text === "string" ? piCfg.text : "";
|
|
14236
|
+
let piSubagents = piCfg.subagents === true;
|
|
14237
|
+
const piChainHintText = h("span", { class: "min-w-0 flex-1 text-ui-xs/relaxed text-foreground-subtle" }, L.injectChainHint);
|
|
14238
|
+
const piSwitch = (checked) => h("button", {
|
|
14239
|
+
type: "button",
|
|
14240
|
+
role: "switch",
|
|
14241
|
+
"aria-checked": String(checked),
|
|
14242
|
+
class: "relative inline-flex shrink-0 cursor-pointer items-center"
|
|
14243
|
+
}, h(
|
|
14244
|
+
"span",
|
|
14245
|
+
{ class: "zcodepro-switch", "data-zcodepro-switch": "", "data-state": checked ? "on" : "off" },
|
|
14246
|
+
h("span", { class: "zcodepro-switch-knob" })
|
|
14247
|
+
));
|
|
14248
|
+
const piCard = (titleText, body2) => h(
|
|
14249
|
+
"div",
|
|
14250
|
+
{ class: "rounded-xl border border-border p-3" },
|
|
14251
|
+
h("div", { class: "text-ui-sm font-medium text-foreground" }, titleText),
|
|
14252
|
+
body2
|
|
14253
|
+
);
|
|
14254
|
+
const piCount = h("span", { class: "text-ui-xs text-foreground-subtle" });
|
|
14255
|
+
const piLongHint = h("span", { class: "text-ui-xs text-foreground-subtle" }, L.injectLongHint);
|
|
14256
|
+
const piArea = h("textarea", {
|
|
14257
|
+
class: "zcodepro-textarea zcodepro-textarea-lg",
|
|
14258
|
+
placeholder: L.injectPlaceholder,
|
|
14259
|
+
spellcheck: "false"
|
|
14260
|
+
});
|
|
14261
|
+
piArea.value = piText;
|
|
14262
|
+
const piSaveBtn = btnSmall(L.agentsSave, () => {
|
|
14263
|
+
void saveInjectionText();
|
|
14264
|
+
}, "", "primary");
|
|
14265
|
+
const renderPiMeta = () => {
|
|
14266
|
+
piCount.textContent = L.injectChars.replace("{n}", String(piArea.value.length));
|
|
14267
|
+
piLongHint.style.display = piArea.value.length > 2e4 ? "" : "none";
|
|
14268
|
+
piSaveBtn.disabled = piArea.value === piText;
|
|
14269
|
+
};
|
|
14270
|
+
piArea.addEventListener("input", renderPiMeta);
|
|
14271
|
+
renderPiMeta();
|
|
14272
|
+
const refreshPiStatus = async () => {
|
|
14273
|
+
const st = await rpc("/prompt-injection/status");
|
|
14274
|
+
if (!st.ok) {
|
|
14275
|
+
piChainHintText.textContent = L.injectChainHint;
|
|
14276
|
+
return;
|
|
14277
|
+
}
|
|
14278
|
+
let extra;
|
|
14279
|
+
if (!st.providers) extra = L.injectChainNone;
|
|
14280
|
+
else extra = L.injectChainStatus.replace("{active}", String(st.active || 0)).replace("{providers}", String(st.providers));
|
|
14281
|
+
piChainHintText.textContent = L.injectChainHint + extra;
|
|
14282
|
+
};
|
|
14283
|
+
const saveInjection = async (patch) => {
|
|
14284
|
+
const res = await rpc("/config", { method: "POST", body: { promptInjection: patch } });
|
|
14285
|
+
if (!res.ok) {
|
|
14286
|
+
showToast(L.failed + ": " + errText(res), "error");
|
|
14287
|
+
return false;
|
|
14288
|
+
}
|
|
14289
|
+
clearConfigCache();
|
|
14290
|
+
if (res.config && res.config.promptInjection) {
|
|
14291
|
+
piText = typeof res.config.promptInjection.text === "string" ? res.config.promptInjection.text : piText;
|
|
14292
|
+
piSubagents = res.config.promptInjection.subagents === true;
|
|
14293
|
+
}
|
|
14294
|
+
setTimeout(() => {
|
|
14295
|
+
void refreshPiStatus();
|
|
14296
|
+
}, 1200);
|
|
14297
|
+
return true;
|
|
14298
|
+
};
|
|
14299
|
+
const saveInjectionText = async () => {
|
|
14300
|
+
piSaveBtn.disabled = true;
|
|
14301
|
+
if (await saveInjection({ text: piArea.value })) {
|
|
14302
|
+
piText = piArea.value;
|
|
14303
|
+
showToast(L.injectSaved, "success");
|
|
14304
|
+
}
|
|
14305
|
+
renderPiMeta();
|
|
14306
|
+
};
|
|
14307
|
+
const piSubLabel = h("span", {}, L.injectSubagents);
|
|
14308
|
+
const piSubKnob = h("span", {}, piSwitch(piSubagents));
|
|
14309
|
+
const renderPiSub = () => piSubKnob.replaceChildren(piSwitch(piSubagents));
|
|
14310
|
+
const piSubRow = h("div", {
|
|
14311
|
+
class: "mt-2 flex cursor-pointer items-center gap-2 text-ui-sm text-foreground-subtle",
|
|
14312
|
+
onClick: () => {
|
|
14313
|
+
piSubagents = !piSubagents;
|
|
14314
|
+
renderPiSub();
|
|
14315
|
+
void saveInjection({ subagents: piSubagents });
|
|
14316
|
+
}
|
|
14317
|
+
}, piSubLabel, piSubKnob);
|
|
14318
|
+
void refreshPiStatus();
|
|
14319
|
+
const piChainGo = btnSmall(L.injectGoChain, () => {
|
|
14320
|
+
showProxySub("vendor");
|
|
14321
|
+
switchTab("proxy");
|
|
14322
|
+
}, "shrink-0");
|
|
14323
|
+
const injectBlock = piCard(L.injectTitle, h(
|
|
14324
|
+
"div",
|
|
14325
|
+
{ class: "mt-1" },
|
|
14326
|
+
h("p", { class: "text-ui-sm/relaxed text-foreground-subtle" }, L.injectDesc),
|
|
14327
|
+
h(
|
|
14328
|
+
"div",
|
|
14329
|
+
{ class: "mt-2 flex items-center justify-between gap-2" },
|
|
14330
|
+
piChainHintText,
|
|
14331
|
+
piChainGo
|
|
14332
|
+
),
|
|
14333
|
+
h("div", { class: "mt-3" }, piArea),
|
|
14334
|
+
h(
|
|
14335
|
+
"div",
|
|
14336
|
+
{ class: "mt-2 flex items-center justify-between gap-2" },
|
|
14337
|
+
h("div", { class: "flex items-center gap-2" }, piCount, piLongHint),
|
|
14338
|
+
piSaveBtn
|
|
14339
|
+
),
|
|
14340
|
+
piSubRow
|
|
14341
|
+
));
|
|
13363
14342
|
const agentsPromptPane = h("div", { class: "mt-2" });
|
|
13364
14343
|
agentsPromptPane.append(
|
|
13365
14344
|
h("p", { class: "text-ui-sm/relaxed text-foreground-subtle" }, L.agentsDesc),
|
|
13366
14345
|
...agentsFailed ? [h("p", { class: "mt-2 text-ui-sm text-destructive" }, L.agentsLoadFailed + ": " + errText(agentsRes))] : [],
|
|
13367
14346
|
h("div", { class: "mt-3" }, agentsArea),
|
|
13368
|
-
h("div", { class: "mt-3 flex justify-end" }, agentsSaveBtn)
|
|
14347
|
+
h("div", { class: "mt-3 flex justify-end" }, agentsSaveBtn),
|
|
14348
|
+
h("div", { class: "mt-5" }, injectBlock)
|
|
13369
14349
|
);
|
|
13370
|
-
|
|
14350
|
+
const AGENTS_SUBS = ["zcode", "prompt", "titleGen", "autoContinue"];
|
|
14351
|
+
const wantedAgentsSub = initialTab === "agents" && AGENTS_SUBS.includes(initialSub) ? initialSub : savedSub("agents", "");
|
|
14352
|
+
let agentsSubTab = AGENTS_SUBS.includes(wantedAgentsSub) ? wantedAgentsSub : "zcode";
|
|
13371
14353
|
const agentsSubPanes = { zcode: paneZcode, prompt: agentsPromptPane, titleGen: paneTitleGen, autoContinue: paneAutoContinue };
|
|
13372
14354
|
const agentsSubList = h("div", { role: "tablist", "aria-orientation": "horizontal", class: "zcodepro-tablist" });
|
|
13373
14355
|
const renderAgentsSubTabs = () => {
|
|
@@ -13384,6 +14366,7 @@
|
|
|
13384
14366
|
"data-state": agentsSubTab === id ? "active" : "inactive",
|
|
13385
14367
|
onClick: () => {
|
|
13386
14368
|
agentsSubTab = id;
|
|
14369
|
+
rememberSub("agents", id);
|
|
13387
14370
|
for (const [pid, pane] of Object.entries(agentsSubPanes)) pane.style.display = pid === id ? "" : "none";
|
|
13388
14371
|
renderAgentsSubTabs();
|
|
13389
14372
|
}
|
|
@@ -13473,10 +14456,12 @@
|
|
|
13473
14456
|
);
|
|
13474
14457
|
};
|
|
13475
14458
|
renderProxyScopes();
|
|
13476
|
-
|
|
14459
|
+
const PROXY_SUBS = ["software", "vendor"];
|
|
14460
|
+
const wantedProxySub = initialTab === "proxy" && PROXY_SUBS.includes(initialSub) ? initialSub : savedSub("proxy", "");
|
|
14461
|
+
let proxySubTab = PROXY_SUBS.includes(wantedProxySub) ? wantedProxySub : "software";
|
|
13477
14462
|
const proxySubTablist = h("div", { role: "tablist", "aria-orientation": "horizontal", class: "zcodepro-tablist" });
|
|
13478
14463
|
const paneProxySoftware = h("div", { class: "mt-2" });
|
|
13479
|
-
const
|
|
14464
|
+
const proxyChainPane = h("div", { class: "mt-2" });
|
|
13480
14465
|
const renderProxySubTabs = () => proxySubTablist.replaceChildren(...[
|
|
13481
14466
|
["software", L.proxySubSoftware],
|
|
13482
14467
|
["vendor", L.proxySubVendor]
|
|
@@ -13486,18 +14471,28 @@
|
|
|
13486
14471
|
class: "zcodepro-tab",
|
|
13487
14472
|
"aria-selected": String(proxySubTab === id),
|
|
13488
14473
|
"data-state": proxySubTab === id ? "active" : "inactive",
|
|
13489
|
-
onClick: () =>
|
|
13490
|
-
proxySubTab = id;
|
|
13491
|
-
paneProxySoftware.style.display = id === "software" ? "" : "none";
|
|
13492
|
-
paneProxyVendor.style.display = id === "vendor" ? "" : "none";
|
|
13493
|
-
if (id === "vendor") void refreshVendorProxyStatus();
|
|
13494
|
-
renderProxySubTabs();
|
|
13495
|
-
}
|
|
14474
|
+
onClick: () => showProxySub(id)
|
|
13496
14475
|
}, label)));
|
|
14476
|
+
const showProxySub = (id) => {
|
|
14477
|
+
if (!PROXY_SUBS.includes(id)) return;
|
|
14478
|
+
proxySubTab = id;
|
|
14479
|
+
rememberSub("proxy", id);
|
|
14480
|
+
paneProxySoftware.style.display = id === "software" ? "" : "none";
|
|
14481
|
+
proxyChainPane.style.display = id === "vendor" ? "" : "none";
|
|
14482
|
+
if (id === "vendor") void refreshChainStatus();
|
|
14483
|
+
renderProxySubTabs();
|
|
14484
|
+
};
|
|
13497
14485
|
renderProxySubTabs();
|
|
13498
14486
|
subTabBars.proxy = proxySubTablist;
|
|
13499
|
-
paneProxy.append(proxySubTablist, paneProxySoftware,
|
|
13500
|
-
|
|
14487
|
+
paneProxy.append(proxySubTablist, paneProxySoftware, proxyChainPane);
|
|
14488
|
+
paneProxySoftware.style.display = proxySubTab === "software" ? "" : "none";
|
|
14489
|
+
proxyChainPane.style.display = proxySubTab === "vendor" ? "" : "none";
|
|
14490
|
+
if (proxySubTab === "vendor") queueMicrotask(() => {
|
|
14491
|
+
try {
|
|
14492
|
+
void refreshChainStatus();
|
|
14493
|
+
} catch {
|
|
14494
|
+
}
|
|
14495
|
+
});
|
|
13501
14496
|
paneProxySoftware.append(
|
|
13502
14497
|
h("p", { class: "text-ui-sm/relaxed text-foreground-subtle" }, L.proxyDesc),
|
|
13503
14498
|
h(
|
|
@@ -13511,267 +14506,459 @@
|
|
|
13511
14506
|
proxyTestState,
|
|
13512
14507
|
h("div", { class: "mt-3 divide-y divide-border rounded-xl border border-border" }, proxyScopeWrap)
|
|
13513
14508
|
);
|
|
13514
|
-
let
|
|
13515
|
-
let
|
|
13516
|
-
let
|
|
13517
|
-
|
|
13518
|
-
|
|
13519
|
-
|
|
13520
|
-
|
|
14509
|
+
let chainProviders = [];
|
|
14510
|
+
let chainList = Array.isArray(config.proxyChains) ? JSON.parse(JSON.stringify(config.proxyChains)) : [];
|
|
14511
|
+
let chainShared = Array.isArray(config.sharedProxies) ? [...config.sharedProxies] : [];
|
|
14512
|
+
let chainLastRun = null;
|
|
14513
|
+
let chainHeadroomPort = 8787;
|
|
14514
|
+
let chainPorts = /* @__PURE__ */ new Map();
|
|
14515
|
+
const chainStatusText = h("p", { class: "mt-2 text-ui-xs/relaxed text-foreground-subtle" });
|
|
14516
|
+
const chainListWrap = h("div", { class: "mt-3 flex flex-col gap-2" });
|
|
14517
|
+
const chainMasterWrap = h("div", {});
|
|
14518
|
+
const renderChainMaster = () => {
|
|
14519
|
+
chainMasterWrap.replaceChildren(
|
|
14520
|
+
settingRow(L.chainMasterSwitch, L.chainMasterSwitchDesc, config.proxyChainEnabled === true, async () => {
|
|
14521
|
+
const next = config.proxyChainEnabled !== true;
|
|
14522
|
+
const res = await rpc("/config", { method: "POST", body: { proxyChainEnabled: next } });
|
|
14523
|
+
if (res.ok && res.config) {
|
|
14524
|
+
config.proxyChainEnabled = res.config.proxyChainEnabled === true;
|
|
14525
|
+
clearConfigCache();
|
|
14526
|
+
} else {
|
|
14527
|
+
showToast(L.failed + ": " + errText(res), "error");
|
|
14528
|
+
}
|
|
14529
|
+
renderChainMaster();
|
|
14530
|
+
setTimeout(() => {
|
|
14531
|
+
void refreshChainStatus();
|
|
14532
|
+
}, 1200);
|
|
14533
|
+
})
|
|
14534
|
+
);
|
|
14535
|
+
};
|
|
14536
|
+
renderChainMaster();
|
|
14537
|
+
const chainGoWrap = h("div", {});
|
|
14538
|
+
const renderChainGo = () => {
|
|
14539
|
+
chainGoWrap.replaceChildren(
|
|
14540
|
+
settingRow(L.chainGoCompat, L.chainGoCompatDesc, config.opencodeGoCompat !== false, async () => {
|
|
14541
|
+
const next = config.opencodeGoCompat === false;
|
|
14542
|
+
const res = await rpc("/config", { method: "POST", body: { opencodeGoCompat: next } });
|
|
14543
|
+
if (res.ok && res.config) {
|
|
14544
|
+
config.opencodeGoCompat = res.config.opencodeGoCompat !== false;
|
|
14545
|
+
clearConfigCache();
|
|
14546
|
+
} else {
|
|
14547
|
+
showToast(L.failed + ": " + errText(res), "error");
|
|
14548
|
+
}
|
|
14549
|
+
renderChainGo();
|
|
14550
|
+
})
|
|
14551
|
+
);
|
|
14552
|
+
};
|
|
14553
|
+
renderChainGo();
|
|
14554
|
+
const fieldCls = "h-7 rounded-lg border border-border bg-input px-2 text-ui-xs text-foreground outline-none transition-shadow placeholder:text-foreground-subtle focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/40";
|
|
14555
|
+
const providerName = (id) => (chainProviders.find((x) => x.id === id) || {}).name || id;
|
|
14556
|
+
const chainPortOf = (c) => chainPorts.get(c.id) || c.port || null;
|
|
14557
|
+
const proxyFields = ({ url = "", onCommit }) => {
|
|
14558
|
+
const parsed = /^(https?):\/\/([^/:]+):(\d+)$/.exec(url || "");
|
|
14559
|
+
const protoSel = h(
|
|
14560
|
+
"select",
|
|
14561
|
+
{ class: fieldCls + " shrink-0" },
|
|
14562
|
+
h("option", { value: "http" }, "http"),
|
|
14563
|
+
h("option", { value: "https" }, "https")
|
|
14564
|
+
);
|
|
14565
|
+
protoSel.value = parsed ? parsed[1] : "http";
|
|
14566
|
+
const hostInput = h("input", {
|
|
14567
|
+
type: "text",
|
|
14568
|
+
value: parsed ? parsed[2] : "",
|
|
14569
|
+
placeholder: "127.0.0.1",
|
|
14570
|
+
spellcheck: "false",
|
|
14571
|
+
class: fieldCls + " min-w-0 flex-1"
|
|
14572
|
+
});
|
|
14573
|
+
const portInput = h("input", {
|
|
14574
|
+
type: "text",
|
|
14575
|
+
value: parsed ? parsed[3] : "",
|
|
14576
|
+
placeholder: "7890",
|
|
14577
|
+
spellcheck: "false",
|
|
14578
|
+
class: fieldCls + " w-16 shrink-0"
|
|
14579
|
+
});
|
|
14580
|
+
const commit = () => {
|
|
14581
|
+
const host = hostInput.value.trim();
|
|
14582
|
+
const portText = portInput.value.trim();
|
|
14583
|
+
if (!host && !portText) return;
|
|
14584
|
+
if (!host) {
|
|
14585
|
+
showToast(L.failed + ": " + L.proxySharedInvalid, "error");
|
|
14586
|
+
return;
|
|
14587
|
+
}
|
|
14588
|
+
const portNum = portText === "" ? 7890 : Number(portText);
|
|
14589
|
+
if (portText !== "" && (!/^\d+$/.test(portText) || !Number.isInteger(portNum) || portNum < 1 || portNum > 65535)) {
|
|
14590
|
+
showToast(L.failed + ": " + L.proxySharedInvalid, "error");
|
|
14591
|
+
return;
|
|
14592
|
+
}
|
|
14593
|
+
onCommit(`${protoSel.value}://${host}:${portNum}`);
|
|
14594
|
+
};
|
|
14595
|
+
protoSel.addEventListener("change", commit);
|
|
14596
|
+
hostInput.addEventListener("change", commit);
|
|
14597
|
+
portInput.addEventListener("change", commit);
|
|
14598
|
+
return h("div", { class: "flex min-w-0 flex-1 items-center gap-1" }, protoSel, hostInput, portInput);
|
|
14599
|
+
};
|
|
14600
|
+
const sharedWrap = h("div", { class: "flex flex-col gap-1.5" });
|
|
14601
|
+
const saveShared = async (mutate) => {
|
|
14602
|
+
const cur = await rpc("/config");
|
|
14603
|
+
const fresh2 = cur.ok && cur.config && Array.isArray(cur.config.sharedProxies) ? JSON.parse(JSON.stringify(cur.config.sharedProxies)) : chainShared.map((e) => JSON.parse(JSON.stringify(e)));
|
|
14604
|
+
const list = mutate(fresh2);
|
|
14605
|
+
const res = await rpc("/config", { method: "POST", body: { sharedProxies: list } });
|
|
13521
14606
|
if (!res.ok) {
|
|
13522
14607
|
showToast(L.failed + ": " + errText(res), "error");
|
|
13523
|
-
return;
|
|
14608
|
+
return false;
|
|
13524
14609
|
}
|
|
13525
|
-
|
|
13526
|
-
if (
|
|
13527
|
-
|
|
13528
|
-
|
|
13529
|
-
|
|
13530
|
-
void refreshVendorProxyStatus();
|
|
13531
|
-
}, 400);
|
|
14610
|
+
chainShared = Array.isArray(res.config && res.config.sharedProxies) ? res.config.sharedProxies : list;
|
|
14611
|
+
if (res.config && Array.isArray(res.config.proxyChains)) chainList = res.config.proxyChains;
|
|
14612
|
+
renderShared();
|
|
14613
|
+
renderChains();
|
|
14614
|
+
return true;
|
|
13532
14615
|
};
|
|
13533
|
-
const
|
|
13534
|
-
const
|
|
13535
|
-
|
|
13536
|
-
|
|
14616
|
+
const renderShared = () => {
|
|
14617
|
+
const rows2 = chainShared.map((sp) => {
|
|
14618
|
+
const displayName = sp.name && sp.name !== sp.url ? sp.name : "";
|
|
14619
|
+
const nameInput = h("input", { type: "text", value: displayName, placeholder: L.proxySharedName, spellcheck: "false", class: fieldCls + " w-24 shrink-0" });
|
|
14620
|
+
const fields = proxyFields({
|
|
14621
|
+
url: sp.url || "",
|
|
14622
|
+
onCommit: (url) => {
|
|
14623
|
+
const name = nameInput.value.trim();
|
|
14624
|
+
void saveShared((fresh2) => fresh2.map((e) => e.id === sp.id ? { ...e, name: name || url, url } : e));
|
|
14625
|
+
}
|
|
14626
|
+
});
|
|
14627
|
+
nameInput.addEventListener("change", () => {
|
|
14628
|
+
const name = nameInput.value.trim();
|
|
14629
|
+
if (name === displayName) return;
|
|
14630
|
+
void saveShared((fresh2) => fresh2.map((e) => e.id === sp.id ? { ...e, name: name || e.url, url: e.url } : e));
|
|
14631
|
+
});
|
|
14632
|
+
return h(
|
|
14633
|
+
"div",
|
|
14634
|
+
{ class: "flex items-center gap-1.5" },
|
|
14635
|
+
nameInput,
|
|
14636
|
+
fields,
|
|
14637
|
+
btnSmall(L.proxySharedDelete, () => {
|
|
14638
|
+
void saveShared((fresh2) => fresh2.filter((e) => e.id !== sp.id));
|
|
14639
|
+
}, "shrink-0")
|
|
14640
|
+
);
|
|
14641
|
+
});
|
|
14642
|
+
sharedWrap.replaceChildren(
|
|
14643
|
+
...rows2,
|
|
14644
|
+
...chainShared.length ? [] : [h("p", { class: "text-ui-xs/relaxed text-foreground-subtle" }, L.proxySharedEmpty)],
|
|
14645
|
+
h(
|
|
14646
|
+
"div",
|
|
14647
|
+
{ class: "flex justify-end" },
|
|
14648
|
+
btnSmall("+ " + L.proxySharedAdd, () => {
|
|
14649
|
+
const id = `sp${Date.now().toString(36)}`;
|
|
14650
|
+
void saveShared((fresh2) => [...fresh2, { id, name: "", url: "http://127.0.0.1:7890" }]);
|
|
14651
|
+
}, "shrink-0")
|
|
14652
|
+
)
|
|
14653
|
+
);
|
|
14654
|
+
};
|
|
14655
|
+
const saveChains = async (mutate) => {
|
|
14656
|
+
const cur = await rpc("/config");
|
|
14657
|
+
const fresh2 = cur.ok && cur.config && Array.isArray(cur.config.proxyChains) ? JSON.parse(JSON.stringify(cur.config.proxyChains)) : chainList.map((c) => JSON.parse(JSON.stringify(c)));
|
|
14658
|
+
const list = mutate(fresh2);
|
|
14659
|
+
const removed = [];
|
|
14660
|
+
for (const before of fresh2) {
|
|
14661
|
+
const after = list.find((c) => c.id === before.id);
|
|
14662
|
+
if (!after) {
|
|
14663
|
+
for (const pid of before.providers || []) {
|
|
14664
|
+
if (!removed.includes(pid)) removed.push(pid);
|
|
14665
|
+
}
|
|
14666
|
+
continue;
|
|
14667
|
+
}
|
|
14668
|
+
for (const pid of before.providers || []) {
|
|
14669
|
+
if (!(after.providers || []).includes(pid) && !removed.includes(pid)) removed.push(pid);
|
|
14670
|
+
}
|
|
14671
|
+
}
|
|
14672
|
+
const res = await rpc("/config", { method: "POST", body: { proxyChains: list } });
|
|
13537
14673
|
if (!res.ok) {
|
|
13538
14674
|
showToast(L.failed + ": " + errText(res), "error");
|
|
13539
14675
|
return false;
|
|
13540
14676
|
}
|
|
13541
|
-
|
|
13542
|
-
if (
|
|
13543
|
-
|
|
13544
|
-
|
|
13545
|
-
|
|
13546
|
-
|
|
13547
|
-
|
|
13548
|
-
refreshVendorView();
|
|
14677
|
+
chainList = Array.isArray(res.config && res.config.proxyChains) ? res.config.proxyChains : list;
|
|
14678
|
+
if (removed.length) {
|
|
14679
|
+
void rpc("/headroom/restore", { method: "POST", body: { ids: removed } }).then((r) => {
|
|
14680
|
+
if (!r.ok) showToast(L.chainLeaveHint + ": " + errText(r), "warning");
|
|
14681
|
+
});
|
|
14682
|
+
}
|
|
14683
|
+
renderChains();
|
|
13549
14684
|
setTimeout(() => {
|
|
13550
|
-
void
|
|
13551
|
-
},
|
|
14685
|
+
void refreshChainStatus();
|
|
14686
|
+
}, 1200);
|
|
14687
|
+
return true;
|
|
13552
14688
|
};
|
|
13553
|
-
|
|
14689
|
+
const updateChain = (id, patch) => saveChains((fresh2) => fresh2.map((c) => c.id === id ? { ...c, ...patch } : c));
|
|
14690
|
+
const confirmDeleteChain = (c, anchor) => {
|
|
14691
|
+
const n = (c.providers || []).length;
|
|
14692
|
+
confirmTip(anchor, {
|
|
14693
|
+
title: L.chainDeleteConfirmTitle,
|
|
14694
|
+
desc: n > 0 ? L.chainDeleteConfirmDesc.replace("{n}", String(n)) : L.chainDeleteConfirmDescEmpty,
|
|
14695
|
+
confirmLabel: L.chainDeleteConfirmGo,
|
|
14696
|
+
onConfirm: () => {
|
|
14697
|
+
void saveChains((fresh2) => fresh2.filter((x) => x.id !== c.id));
|
|
14698
|
+
}
|
|
14699
|
+
});
|
|
13554
14700
|
};
|
|
13555
|
-
const
|
|
13556
|
-
if (!
|
|
13557
|
-
|
|
13558
|
-
return;
|
|
13559
|
-
}
|
|
13560
|
-
const added = Object.keys(vendorProxyState);
|
|
13561
|
-
if (!added.length) {
|
|
13562
|
-
vendorListWrap.replaceChildren(h("p", { class: "px-3 py-3 text-ui-sm text-foreground-subtle" }, L.proxyVendorEmpty));
|
|
14701
|
+
const renderChains = () => {
|
|
14702
|
+
if (!chainList.length) {
|
|
14703
|
+
chainListWrap.replaceChildren(h("p", { class: "rounded-xl border border-border px-3 py-3 text-ui-sm text-foreground-subtle" }, L.chainEmpty));
|
|
13563
14704
|
return;
|
|
13564
14705
|
}
|
|
13565
|
-
|
|
13566
|
-
|
|
13567
|
-
const
|
|
13568
|
-
const
|
|
13569
|
-
|
|
13570
|
-
|
|
13571
|
-
|
|
13572
|
-
|
|
13573
|
-
h("
|
|
13574
|
-
h("
|
|
14706
|
+
chainListWrap.replaceChildren(...chainList.map((c) => {
|
|
14707
|
+
const nodes = Array.isArray(c.nodes) ? c.nodes : [];
|
|
14708
|
+
const chainRows = [];
|
|
14709
|
+
const rowEl2 = (index, label, right, opts = {}) => h(
|
|
14710
|
+
"div",
|
|
14711
|
+
{
|
|
14712
|
+
class: "flex items-center gap-2 rounded-lg px-2 py-0.5 " + (opts.muted ? "opacity-50" : "")
|
|
14713
|
+
},
|
|
14714
|
+
h("span", { class: "w-4 shrink-0 text-ui-xs text-foreground-subtle" }, String(index)),
|
|
14715
|
+
h("span", { class: "w-24 shrink-0 text-ui-xs text-foreground-subtle" }, label),
|
|
14716
|
+
h("div", { class: "min-w-0 flex-1" }, right),
|
|
14717
|
+
...opts.actions || []
|
|
13575
14718
|
);
|
|
13576
|
-
|
|
13577
|
-
|
|
13578
|
-
|
|
13579
|
-
|
|
13580
|
-
|
|
13581
|
-
|
|
13582
|
-
|
|
13583
|
-
|
|
13584
|
-
|
|
13585
|
-
|
|
13586
|
-
|
|
13587
|
-
|
|
13588
|
-
|
|
13589
|
-
|
|
13590
|
-
|
|
13591
|
-
|
|
13592
|
-
|
|
13593
|
-
|
|
13594
|
-
|
|
13595
|
-
|
|
13596
|
-
|
|
13597
|
-
|
|
13598
|
-
|
|
13599
|
-
|
|
13600
|
-
|
|
13601
|
-
|
|
13602
|
-
|
|
13603
|
-
|
|
14719
|
+
const lockIcon = () => {
|
|
14720
|
+
const svg = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
14721
|
+
svg.setAttribute("viewBox", "0 0 24 24");
|
|
14722
|
+
svg.setAttribute("fill", "none");
|
|
14723
|
+
svg.setAttribute("stroke", "currentColor");
|
|
14724
|
+
svg.setAttribute("stroke-width", "2");
|
|
14725
|
+
svg.setAttribute("stroke-linecap", "round");
|
|
14726
|
+
svg.setAttribute("stroke-linejoin", "round");
|
|
14727
|
+
svg.setAttribute("width", "12");
|
|
14728
|
+
svg.setAttribute("height", "12");
|
|
14729
|
+
svg.setAttribute("aria-hidden", "true");
|
|
14730
|
+
svg.innerHTML = '<rect width="18" height="11" x="3" y="11" rx="2" ry="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/>';
|
|
14731
|
+
return svg;
|
|
14732
|
+
};
|
|
14733
|
+
const pinned3 = () => h("span", { class: "inline-flex shrink-0 items-center opacity-40", title: L.chainNodePinned }, lockIcon());
|
|
14734
|
+
nodes.forEach((n, i) => {
|
|
14735
|
+
const move = async (delta) => {
|
|
14736
|
+
const j = i + delta;
|
|
14737
|
+
if (j < 0 || j >= nodes.length) return;
|
|
14738
|
+
const list = nodes.slice();
|
|
14739
|
+
[list[i], list[j]] = [list[j], list[i]];
|
|
14740
|
+
await updateChain(c.id, { nodes: list });
|
|
14741
|
+
};
|
|
14742
|
+
const actions = [
|
|
14743
|
+
btnSmall("\u2191", () => {
|
|
14744
|
+
void move(-1);
|
|
14745
|
+
}, "shrink-0" + (i === 0 ? " opacity-30" : "")),
|
|
14746
|
+
btnSmall("\u2193", () => {
|
|
14747
|
+
void move(1);
|
|
14748
|
+
}, "shrink-0" + (i === nodes.length - 1 ? " opacity-30" : "")),
|
|
14749
|
+
btnSmall(L.proxyVendorRemove, () => {
|
|
14750
|
+
void updateChain(c.id, { nodes: nodes.filter((_, k) => k !== i) });
|
|
14751
|
+
}, "shrink-0")
|
|
14752
|
+
];
|
|
14753
|
+
if (n.type === "headroom") {
|
|
14754
|
+
chainRows.push(rowEl2(
|
|
14755
|
+
chainRows.length + 1,
|
|
14756
|
+
"headroom",
|
|
14757
|
+
h("span", { class: "text-ui-xs text-foreground-subtle" }, `127.0.0.1:${chainHeadroomPort}`),
|
|
14758
|
+
{ actions }
|
|
14759
|
+
));
|
|
13604
14760
|
return;
|
|
13605
14761
|
}
|
|
13606
|
-
|
|
13607
|
-
|
|
13608
|
-
showToast(L.failed + ": " + L.proxyVendorPortInvalid, "error");
|
|
13609
|
-
portInput.focus();
|
|
14762
|
+
if (n.type === "inject") {
|
|
14763
|
+
chainRows.push(rowEl2(chainRows.length + 1, L.proxyChainInjection, null, { actions }));
|
|
13610
14764
|
return;
|
|
13611
14765
|
}
|
|
13612
|
-
const
|
|
13613
|
-
|
|
13614
|
-
|
|
13615
|
-
|
|
13616
|
-
|
|
13617
|
-
|
|
13618
|
-
|
|
13619
|
-
|
|
13620
|
-
|
|
13621
|
-
|
|
13622
|
-
|
|
14766
|
+
const hit = n.proxyId ? chainShared.find((e) => e.id === n.proxyId) : null;
|
|
14767
|
+
const sel = h(
|
|
14768
|
+
"select",
|
|
14769
|
+
{ class: fieldCls + " w-28 shrink-0" },
|
|
14770
|
+
h("option", { value: "" }, L.proxyChainCustom),
|
|
14771
|
+
...chainShared.map((sp) => h("option", { value: "sp:" + sp.id }, sp.name || sp.url))
|
|
14772
|
+
);
|
|
14773
|
+
sel.value = n.proxyId ? "sp:" + n.proxyId : "";
|
|
14774
|
+
const sharedView = h("span", {
|
|
14775
|
+
class: "min-w-0 flex-1 truncate text-ui-xs text-foreground-subtle",
|
|
14776
|
+
title: hit ? hit.url : ""
|
|
14777
|
+
}, hit ? hit.url : n.proxyId ? L.proxyChainSharedGone : "");
|
|
14778
|
+
const fields = proxyFields({
|
|
14779
|
+
url: n.proxyId ? "" : n.proxy || "",
|
|
14780
|
+
onCommit: (v) => {
|
|
14781
|
+
const list = nodes.slice();
|
|
14782
|
+
list[i] = { type: "custom", proxy: v };
|
|
14783
|
+
void updateChain(c.id, { nodes: list });
|
|
14784
|
+
}
|
|
14785
|
+
});
|
|
14786
|
+
fields.style.display = n.proxyId ? "none" : "";
|
|
14787
|
+
sharedView.style.display = n.proxyId ? "" : "none";
|
|
14788
|
+
sel.addEventListener("change", () => {
|
|
14789
|
+
const list = nodes.slice();
|
|
14790
|
+
list[i] = sel.value ? { type: "custom", proxyId: sel.value.slice(3) } : { type: "custom", proxy: "" };
|
|
14791
|
+
void updateChain(c.id, { nodes: list });
|
|
14792
|
+
});
|
|
14793
|
+
chainRows.push(h(
|
|
14794
|
+
"div",
|
|
14795
|
+
{ class: "flex items-center gap-2 rounded-lg px-2 py-0.5" },
|
|
14796
|
+
h("span", { class: "w-4 shrink-0 text-ui-xs text-foreground-subtle" }, String(chainRows.length + 1)),
|
|
14797
|
+
sel,
|
|
14798
|
+
h("div", { class: "flex min-w-0 flex-1 items-center gap-1.5" }, sharedView, fields),
|
|
14799
|
+
...actions
|
|
14800
|
+
));
|
|
14801
|
+
});
|
|
14802
|
+
const owner = /* @__PURE__ */ new Map();
|
|
14803
|
+
for (const other of chainList) {
|
|
14804
|
+
for (const pid of other.providers || []) owner.set(pid, other.id);
|
|
14805
|
+
}
|
|
14806
|
+
const selectableProviders = chainProviders.filter((p) => !String(p.id || "").startsWith("builtin:") || (c.providers || []).includes(p.id));
|
|
14807
|
+
const provBox = h(
|
|
13623
14808
|
"div",
|
|
13624
|
-
{
|
|
13625
|
-
|
|
13626
|
-
|
|
14809
|
+
{ class: "mt-1 flex flex-wrap gap-x-3 gap-y-1" },
|
|
14810
|
+
...selectableProviders.map((p) => {
|
|
14811
|
+
const ownedByOther = owner.has(p.id) && owner.get(p.id) !== c.id;
|
|
14812
|
+
const box = h("input", {
|
|
14813
|
+
type: "checkbox",
|
|
14814
|
+
...ownedByOther ? { disabled: "true", title: L.chainOwnedByOther } : {}
|
|
14815
|
+
});
|
|
14816
|
+
box.checked = (c.providers || []).includes(p.id);
|
|
14817
|
+
box.addEventListener("change", () => {
|
|
14818
|
+
void saveChains((fresh2) => fresh2.map((ch) => {
|
|
14819
|
+
if (ch.id !== c.id) return ch;
|
|
14820
|
+
const cur = new Set(ch.providers || []);
|
|
14821
|
+
if (box.checked) cur.add(p.id);
|
|
14822
|
+
else cur.delete(p.id);
|
|
14823
|
+
return { ...ch, providers: [...cur] };
|
|
14824
|
+
}));
|
|
14825
|
+
});
|
|
14826
|
+
return h(
|
|
14827
|
+
"label",
|
|
14828
|
+
{ class: "flex items-center gap-1 text-ui-xs" + (ownedByOther ? " opacity-40" : "") },
|
|
14829
|
+
box,
|
|
14830
|
+
h("span", {}, p.name || p.id)
|
|
14831
|
+
);
|
|
14832
|
+
}),
|
|
14833
|
+
...selectableProviders.length ? [] : [h("span", { class: "text-ui-xs text-foreground-subtle" }, L.chainNoProviders)]
|
|
14834
|
+
);
|
|
14835
|
+
const head = h(
|
|
14836
|
+
"div",
|
|
14837
|
+
{ class: "flex items-center gap-2" },
|
|
14838
|
+
h("input", {
|
|
14839
|
+
type: "text",
|
|
14840
|
+
value: c.name || c.id,
|
|
14841
|
+
spellcheck: "false",
|
|
14842
|
+
class: "min-w-0 flex-1 rounded-lg border border-border bg-input px-2 py-1 text-ui-sm font-medium text-foreground outline-none"
|
|
14843
|
+
}).also?.() || h("input", {
|
|
14844
|
+
type: "text",
|
|
14845
|
+
value: c.name || c.id,
|
|
14846
|
+
spellcheck: "false",
|
|
14847
|
+
class: "min-w-0 flex-1 rounded-lg border border-border bg-input px-2 py-1 text-ui-sm font-medium text-foreground outline-none",
|
|
14848
|
+
onChange: (e) => {
|
|
14849
|
+
void updateChain(c.id, { name: e.target.value.trim() || c.id });
|
|
13627
14850
|
}
|
|
13628
|
-
},
|
|
13629
|
-
h("div", { class: "min-w-0 flex-1 text-ui-sm font-medium text-foreground" }, nameOf2(id)),
|
|
14851
|
+
}),
|
|
13630
14852
|
h("button", {
|
|
13631
14853
|
type: "button",
|
|
13632
14854
|
role: "switch",
|
|
13633
|
-
"aria-checked": String(
|
|
14855
|
+
"aria-checked": String(c.enabled !== false),
|
|
14856
|
+
title: L.chainSwitchHint,
|
|
13634
14857
|
class: "relative inline-flex shrink-0 cursor-pointer items-center",
|
|
13635
|
-
onClick:
|
|
13636
|
-
|
|
13637
|
-
const next = !st.enabled;
|
|
13638
|
-
if (await saveVendorProxy(id, { enabled: next })) {
|
|
13639
|
-
refreshVendorView();
|
|
13640
|
-
setTimeout(() => {
|
|
13641
|
-
void refreshVendorProxyStatus();
|
|
13642
|
-
}, 400);
|
|
13643
|
-
}
|
|
14858
|
+
onClick: () => {
|
|
14859
|
+
void updateChain(c.id, { enabled: c.enabled === false });
|
|
13644
14860
|
}
|
|
13645
14861
|
}, h(
|
|
13646
14862
|
"span",
|
|
13647
|
-
{ class: "zcodepro-switch", "data-zcodepro-switch": "", "data-state":
|
|
14863
|
+
{ class: "zcodepro-switch", "data-zcodepro-switch": "", "data-state": c.enabled !== false ? "on" : "off" },
|
|
13648
14864
|
h("span", { class: "zcodepro-switch-knob" })
|
|
13649
14865
|
)),
|
|
13650
|
-
|
|
13651
|
-
|
|
13652
|
-
void removeVendorProxy(id);
|
|
14866
|
+
btnSmall(L.proxyVendorRemove, (e) => {
|
|
14867
|
+
confirmDeleteChain(c, e.currentTarget);
|
|
13653
14868
|
}, "shrink-0")
|
|
13654
14869
|
);
|
|
14870
|
+
const addNode = (type) => {
|
|
14871
|
+
const list = nodes.slice();
|
|
14872
|
+
list.push(type === "custom" ? { type: "custom", proxy: "" } : { type });
|
|
14873
|
+
void updateChain(c.id, { nodes: list });
|
|
14874
|
+
};
|
|
14875
|
+
const addRow = h(
|
|
14876
|
+
"div",
|
|
14877
|
+
{ class: "mt-1 flex flex-wrap items-center justify-end gap-1.5" },
|
|
14878
|
+
...nodes.some((n) => n.type === "headroom") ? [] : [btnSmall("+ headroom", () => addNode("headroom"), "shrink-0")],
|
|
14879
|
+
...nodes.some((n) => n.type === "inject") ? [] : [btnSmall("+ " + L.proxyChainInjection, () => addNode("inject"), "shrink-0")],
|
|
14880
|
+
btnSmall("+ " + L.proxyChainAddNode, () => addNode("custom"), "shrink-0")
|
|
14881
|
+
);
|
|
13655
14882
|
return h(
|
|
13656
14883
|
"div",
|
|
13657
|
-
{ class: "px-2 py-
|
|
13658
|
-
|
|
13659
|
-
h("div", { class: "mt-1 flex
|
|
14884
|
+
{ class: "rounded-xl border border-border px-2.5 py-2" },
|
|
14885
|
+
head,
|
|
14886
|
+
h("div", { class: "mt-1 flex flex-col" }, ...chainRows),
|
|
14887
|
+
addRow,
|
|
14888
|
+
h(
|
|
14889
|
+
"div",
|
|
14890
|
+
{ class: "mt-2 border-t border-border pt-1.5" },
|
|
14891
|
+
h("div", { class: "text-ui-xs text-foreground-subtle" }, L.chainProvidersLabel),
|
|
14892
|
+
provBox
|
|
14893
|
+
),
|
|
14894
|
+
h(
|
|
14895
|
+
"div",
|
|
14896
|
+
{ class: "mt-1 text-ui-xs text-foreground-subtle" },
|
|
14897
|
+
`${L.chainForwardPort} ${chainPortOf(c) || "\u2014"}`
|
|
14898
|
+
)
|
|
13660
14899
|
);
|
|
13661
14900
|
}));
|
|
13662
14901
|
};
|
|
13663
|
-
const
|
|
14902
|
+
const refreshChainStatus = async () => {
|
|
13664
14903
|
const res = await rpc("/provider-proxies/status");
|
|
13665
14904
|
if (!res.ok) return;
|
|
13666
|
-
|
|
13667
|
-
|
|
13668
|
-
|
|
13669
|
-
|
|
13670
|
-
|
|
13671
|
-
|
|
13672
|
-
|
|
13673
|
-
let toolNameBusy = false;
|
|
13674
|
-
const toolNameBtn = btnSmall(L.toolNameCheckBtn, () => {
|
|
13675
|
-
void runToolNameCheck();
|
|
13676
|
-
}, "shrink-0", "primary");
|
|
13677
|
-
const runToolNameCheck = async () => {
|
|
13678
|
-
if (toolNameBusy) return;
|
|
13679
|
-
toolNameBusy = true;
|
|
13680
|
-
toolNameBtn.disabled = true;
|
|
13681
|
-
toolNameBtn.textContent = L.toolNameCheckRunning;
|
|
13682
|
-
toolNameState.textContent = "";
|
|
13683
|
-
toolNameState.className = "mt-2 text-ui-xs/relaxed text-foreground-subtle";
|
|
13684
|
-
const res = await rpc("/tool-names/check", { method: "POST", body: {} });
|
|
13685
|
-
toolNameBusy = false;
|
|
13686
|
-
toolNameBtn.disabled = false;
|
|
13687
|
-
toolNameBtn.textContent = L.toolNameCheckBtn;
|
|
13688
|
-
if (!res.ok) {
|
|
13689
|
-
toolNameState.className = "mt-2 text-ui-xs/relaxed text-destructive";
|
|
13690
|
-
toolNameState.textContent = L.toolNameCheckFailed + ": " + errText(res);
|
|
13691
|
-
return;
|
|
13692
|
-
}
|
|
13693
|
-
toolNameState.className = "mt-2 text-ui-xs/relaxed " + (res.warnings && res.warnings.length ? "text-amber-500" : "text-foreground-subtle");
|
|
13694
|
-
toolNameState.textContent = res.summary || "";
|
|
13695
|
-
};
|
|
13696
|
-
let toolNameAutoOn = config.toolNameAuto !== false;
|
|
13697
|
-
const toolNameAutoWrap = h("div", { class: "ml-auto flex shrink-0 items-center gap-1.5" });
|
|
13698
|
-
const renderToolNameAuto = () => {
|
|
13699
|
-
const toggle2 = async () => {
|
|
13700
|
-
const next = !toolNameAutoOn;
|
|
13701
|
-
const res = await rpc("/config", { method: "POST", body: { toolNameAuto: next } });
|
|
13702
|
-
if (!res.ok) {
|
|
13703
|
-
showToast(L.failed + ": " + errText(res), "error");
|
|
13704
|
-
return;
|
|
13705
|
-
}
|
|
13706
|
-
toolNameAutoOn = res.config && typeof res.config.toolNameAuto === "boolean" ? res.config.toolNameAuto : next;
|
|
13707
|
-
renderToolNameAuto();
|
|
13708
|
-
};
|
|
13709
|
-
toolNameAutoWrap.replaceChildren(
|
|
13710
|
-
h("span", { class: "text-ui-xs text-foreground-subtle", title: L.toolNameAutoDesc }, L.toolNameAuto),
|
|
13711
|
-
h("button", {
|
|
13712
|
-
type: "button",
|
|
13713
|
-
role: "switch",
|
|
13714
|
-
"aria-checked": String(toolNameAutoOn),
|
|
13715
|
-
class: "relative inline-flex shrink-0 cursor-pointer items-center",
|
|
13716
|
-
title: L.toolNameAutoDesc,
|
|
13717
|
-
onClick: () => {
|
|
13718
|
-
void toggle2();
|
|
13719
|
-
}
|
|
13720
|
-
}, h(
|
|
13721
|
-
"span",
|
|
13722
|
-
{ class: "zcodepro-switch", "data-zcodepro-switch": "", "data-state": toolNameAutoOn ? "on" : "off" },
|
|
13723
|
-
h("span", { class: "zcodepro-switch-knob" })
|
|
13724
|
-
))
|
|
13725
|
-
);
|
|
13726
|
-
};
|
|
13727
|
-
renderToolNameAuto();
|
|
13728
|
-
const addVendorWrap = h("div", { class: "mt-2" });
|
|
13729
|
-
const renderAddVendor = () => {
|
|
13730
|
-
const available = vendorProviders.filter((p) => !vendorProxyState[p.id]);
|
|
13731
|
-
if (!available.length) {
|
|
13732
|
-
addVendorWrap.replaceChildren();
|
|
13733
|
-
return;
|
|
14905
|
+
chainLastRun = res.chainLastRun || null;
|
|
14906
|
+
const cfgRes = await rpc("/config");
|
|
14907
|
+
if (cfgRes.ok && cfgRes.config && Array.isArray(cfgRes.config.proxyChains)) chainList = cfgRes.config.proxyChains;
|
|
14908
|
+
if (Number.isFinite(Number(res.headroomPort))) chainHeadroomPort = Number(res.headroomPort);
|
|
14909
|
+
chainPorts = /* @__PURE__ */ new Map();
|
|
14910
|
+
for (const s of chainLastRun && chainLastRun.started || []) {
|
|
14911
|
+
if (s && s.id && Number.isFinite(Number(s.port))) chainPorts.set(s.id, Number(s.port));
|
|
13734
14912
|
}
|
|
13735
|
-
|
|
13736
|
-
|
|
13737
|
-
|
|
13738
|
-
|
|
13739
|
-
|
|
13740
|
-
|
|
13741
|
-
...available.map((p) => h("option", { value: p.id }, p.name || p.id))
|
|
13742
|
-
);
|
|
13743
|
-
sel.addEventListener("change", async () => {
|
|
13744
|
-
const id = sel.value;
|
|
13745
|
-
if (!id) return;
|
|
13746
|
-
await addVendorProxy(id);
|
|
13747
|
-
renderAddVendor();
|
|
13748
|
-
});
|
|
13749
|
-
addVendorWrap.replaceChildren(sel);
|
|
14913
|
+
renderChains();
|
|
14914
|
+
const errs = chainLastRun && chainLastRun.errors || [];
|
|
14915
|
+
chainStatusText.className = "mt-2 text-ui-xs/relaxed " + (errs.length ? "text-amber-500" : "text-foreground-subtle");
|
|
14916
|
+
const auto = chainLastRun && chainLastRun.autoUnchecked || [];
|
|
14917
|
+
const autoText = auto.length ? L.chainAutoUnchecked.replace("{list}", auto.map((a) => `${providerName(a.id)} \u2192 ${a.url}`).join("\uFF1B")) : "";
|
|
14918
|
+
chainStatusText.textContent = errs.length ? errs.join("\uFF1B") : config.proxyChainEnabled !== true ? L.chainMasterOffHint : autoText;
|
|
13750
14919
|
};
|
|
13751
|
-
|
|
13752
|
-
|
|
13753
|
-
|
|
13754
|
-
|
|
13755
|
-
|
|
13756
|
-
h("
|
|
13757
|
-
|
|
13758
|
-
|
|
13759
|
-
vendorStatusText,
|
|
14920
|
+
proxyChainPane.append(
|
|
14921
|
+
// 说明放最上面(二级页签正下方):链怎么工作 + 勾选的规则都在这一块,全页只写一次
|
|
14922
|
+
//(以前这两行规则挂在每条链下,几条链就重复几遍)
|
|
14923
|
+
h("p", { class: "mt-2 text-ui-sm/relaxed text-foreground-subtle" }, L.chainDesc),
|
|
14924
|
+
h("div", { class: "mt-1 text-ui-xs/relaxed text-foreground-subtle" }, L.chainProvidersHint),
|
|
14925
|
+
h("div", { class: "text-ui-xs/relaxed text-foreground-subtle" }, L.chainManualEditHint),
|
|
14926
|
+
h("div", { class: "mt-3 rounded-xl border border-border p-1" }, chainMasterWrap),
|
|
14927
|
+
h("div", { class: "mt-2 rounded-xl border border-border p-1" }, chainGoWrap),
|
|
13760
14928
|
h(
|
|
13761
14929
|
"div",
|
|
13762
|
-
{ class: "mt-
|
|
13763
|
-
h("div", { class: "text-ui-sm font-medium text-foreground" }, L.
|
|
13764
|
-
h("p", { class: "mt-1 text-ui-xs/relaxed text-foreground-subtle" }, L.
|
|
13765
|
-
h("div", { class: "mt-2
|
|
13766
|
-
|
|
13767
|
-
|
|
14930
|
+
{ class: "mt-3 rounded-xl border border-border p-3" },
|
|
14931
|
+
h("div", { class: "text-ui-sm font-medium text-foreground" }, L.proxySharedTitle),
|
|
14932
|
+
h("p", { class: "mt-1 text-ui-xs/relaxed text-foreground-subtle" }, L.proxySharedDesc),
|
|
14933
|
+
h("div", { class: "mt-2" }, sharedWrap)
|
|
14934
|
+
),
|
|
14935
|
+
chainListWrap,
|
|
14936
|
+
h(
|
|
14937
|
+
"div",
|
|
14938
|
+
{ class: "mt-2 flex justify-end" },
|
|
14939
|
+
btnSmall("+ " + L.chainAdd, () => {
|
|
14940
|
+
const id = `chain${Date.now().toString(36)}`;
|
|
14941
|
+
void (async () => {
|
|
14942
|
+
let nodes = [{ type: "headroom" }, { type: "inject" }];
|
|
14943
|
+
try {
|
|
14944
|
+
const meta = await rpc("/headroom");
|
|
14945
|
+
if (meta && meta.ok && !meta.hook) nodes = [{ type: "inject" }];
|
|
14946
|
+
} catch {
|
|
14947
|
+
}
|
|
14948
|
+
void saveChains((fresh2) => [...fresh2, { id, name: L.chainDefaultName, providers: [], nodes, enabled: true }]);
|
|
14949
|
+
})();
|
|
14950
|
+
}, "shrink-0", "primary")
|
|
14951
|
+
),
|
|
14952
|
+
chainStatusText
|
|
13768
14953
|
);
|
|
14954
|
+
renderShared();
|
|
14955
|
+
renderChains();
|
|
13769
14956
|
void (async () => {
|
|
13770
|
-
const
|
|
13771
|
-
if (provRes.ok && Array.isArray(provRes.providers))
|
|
13772
|
-
|
|
13773
|
-
refreshVendorView();
|
|
14957
|
+
const provRes = await rpc("/title-gen/providers");
|
|
14958
|
+
if (provRes.ok && Array.isArray(provRes.providers)) chainProviders = provRes.providers;
|
|
14959
|
+
renderChains();
|
|
13774
14960
|
})();
|
|
14961
|
+
void refreshChainStatus();
|
|
13775
14962
|
const perfToggleWrap = h("div");
|
|
13776
14963
|
const renderPerfToggle = () => {
|
|
13777
14964
|
const f = config.features || {};
|
|
@@ -14547,39 +15734,26 @@
|
|
|
14547
15734
|
renderVision();
|
|
14548
15735
|
})
|
|
14549
15736
|
),
|
|
14550
|
-
|
|
14551
|
-
|
|
14552
|
-
|
|
14553
|
-
|
|
14554
|
-
|
|
14555
|
-
|
|
14556
|
-
p.
|
|
14557
|
-
|
|
14558
|
-
|
|
14559
|
-
|
|
14560
|
-
|
|
14561
|
-
|
|
14562
|
-
|
|
14563
|
-
|
|
14564
|
-
)),
|
|
14565
|
-
// 跟随会话时模型下拉头部有“跟随当前会话当前模型”(值为空,
|
|
14566
|
-
// 插件 ≥1.6.1 在调用时解析为会话当前模型);具体供应商为其模型列表
|
|
14567
|
-
field(L.visionModel, comboField(
|
|
14568
|
-
p.model || "",
|
|
14569
|
-
modelOptionsOf(p.useProvider, titleGenProviders, {
|
|
14570
|
-
followSession: (p.useProvider || "").trim() === "session",
|
|
14571
|
-
followSessionLabel: L.titleGenModelFollowSession
|
|
14572
|
-
}),
|
|
14573
|
-
(v) => {
|
|
14574
|
-
p.model = v;
|
|
15737
|
+
(() => {
|
|
15738
|
+
const pmt = providerModelThinkingFields({
|
|
15739
|
+
providers: titleGenProviders,
|
|
15740
|
+
L,
|
|
15741
|
+
provider: p.useProvider || "",
|
|
15742
|
+
model: p.model || "",
|
|
15743
|
+
thinking: p.thinking || "off",
|
|
15744
|
+
sessionInfo: translateSessionRes.ok ? translateSessionRes.session : null,
|
|
15745
|
+
withManual: true,
|
|
15746
|
+
labels: { provider: L.visionUseProvider, model: L.visionModel, thinking: L.translateThinking },
|
|
15747
|
+
onChange: (patch) => {
|
|
15748
|
+
p.useProvider = patch.provider;
|
|
15749
|
+
p.model = patch.model;
|
|
15750
|
+
p.thinking = patch.thinking;
|
|
14575
15751
|
saveVisionSoon();
|
|
14576
15752
|
},
|
|
14577
|
-
|
|
14578
|
-
|
|
14579
|
-
|
|
14580
|
-
|
|
14581
|
-
))
|
|
14582
|
-
),
|
|
15753
|
+
requestRender: () => renderVision()
|
|
15754
|
+
});
|
|
15755
|
+
return h("div", { class: "mt-2 grid grid-cols-1 gap-2 sm:grid-cols-3" }, ...pmt.fields);
|
|
15756
|
+
})(),
|
|
14583
15757
|
...manualConnCard,
|
|
14584
15758
|
(() => {
|
|
14585
15759
|
const n = h("textarea", { class: "zcodepro-textarea zcodepro-textarea-sm", rows: "3", placeholder: L.visionPrompt });
|
|
@@ -14588,7 +15762,9 @@
|
|
|
14588
15762
|
p.prompt = n.value;
|
|
14589
15763
|
saveVisionSoon();
|
|
14590
15764
|
});
|
|
14591
|
-
|
|
15765
|
+
const f = field(L.visionPrompt, n);
|
|
15766
|
+
f.classList.add("mt-2");
|
|
15767
|
+
return f;
|
|
14592
15768
|
})()
|
|
14593
15769
|
]);
|
|
14594
15770
|
});
|
|
@@ -14812,30 +15988,6 @@
|
|
|
14812
15988
|
const panel0 = tr.panel || {};
|
|
14813
15989
|
const history0 = tr.history || {};
|
|
14814
15990
|
const chNow = () => translateRes.config && translateRes.config.channel || {};
|
|
14815
|
-
const providerField = field(L.translateProvider, comboField(
|
|
14816
|
-
chNow().provider || "session",
|
|
14817
|
-
[{ value: "session", label: L.titleGenProviderSession }, ...titleGenProviders.map((p) => ({ value: p.id, label: p.name }))],
|
|
14818
|
-
(v, src) => {
|
|
14819
|
-
const c = chNow();
|
|
14820
|
-
persist({ channel: { ...c, type: "llm", provider: v, model: v === "session" ? "" : c.model } });
|
|
14821
|
-
if (src === "select") renderTranslate();
|
|
14822
|
-
},
|
|
14823
|
-
{ staleLabel: L.titleGenProviderDeleted }
|
|
14824
|
-
));
|
|
14825
|
-
const modelField = field(L.translateModelLabel, comboField(
|
|
14826
|
-
chNow().model || "",
|
|
14827
|
-
modelOptionsOf(chNow().provider || "session", titleGenProviders, {
|
|
14828
|
-
followSession: (chNow().provider || "session") === "session",
|
|
14829
|
-
followSessionLabel: L.titleGenModelFollowSession
|
|
14830
|
-
}),
|
|
14831
|
-
(v, src) => {
|
|
14832
|
-
const cur = chNow();
|
|
14833
|
-
translateRes.config = { ...translateRes.config, channel: { ...cur, model: v.trim() } };
|
|
14834
|
-
persist({ channel: { ...cur, model: v.trim() } });
|
|
14835
|
-
if (src === "select") renderTranslate();
|
|
14836
|
-
},
|
|
14837
|
-
{ placeholder: modelPlaceholderOf(chNow().provider || "session", L) }
|
|
14838
|
-
));
|
|
14839
15991
|
const ch0 = chNow();
|
|
14840
15992
|
const isLlm = ch0.type !== "mt";
|
|
14841
15993
|
const setChannel = (patch) => {
|
|
@@ -14860,21 +16012,27 @@
|
|
|
14860
16012
|
if (v === "llm") setChannel({ type: "llm" });
|
|
14861
16013
|
else setChannel({ type: "mt", service: v });
|
|
14862
16014
|
});
|
|
16015
|
+
const translatePmt = providerModelThinkingFields({
|
|
16016
|
+
providers: titleGenProviders,
|
|
16017
|
+
L,
|
|
16018
|
+
provider: ch0.provider || "session",
|
|
16019
|
+
model: ch0.model || "",
|
|
16020
|
+
thinking: ch0.thinking || "off",
|
|
16021
|
+
sessionInfo: translateSessionRes.ok ? translateSessionRes.session : null,
|
|
16022
|
+
// 翻译通道不提供“不跟随(自填地址)”:只认 会话/供应商 两种来源
|
|
16023
|
+
withManual: false,
|
|
16024
|
+
labels: { provider: L.translateProvider, model: L.translateModelLabel, thinking: L.translateThinking },
|
|
16025
|
+
onChange: (patch) => {
|
|
16026
|
+
const merged = { ...chNow(), type: "llm", ...patch };
|
|
16027
|
+
translateRes.config = { ...translateRes.config, channel: merged };
|
|
16028
|
+
persist({ channel: merged });
|
|
16029
|
+
},
|
|
16030
|
+
requestRender: () => renderTranslate()
|
|
16031
|
+
});
|
|
14863
16032
|
const engineArea = isLlm ? h(
|
|
14864
16033
|
"div",
|
|
14865
16034
|
{ class: "mt-2 grid grid-cols-1 gap-3 sm:grid-cols-3" },
|
|
14866
|
-
|
|
14867
|
-
modelField,
|
|
14868
|
-
field(L.translateThinking, (() => {
|
|
14869
|
-
const smi = translateSessionRes.ok ? translateSessionRes.session : null;
|
|
14870
|
-
const opts = resolveThinkingOptions(titleGenProviders, ch0, smi);
|
|
14871
|
-
return selIn(
|
|
14872
|
-
opts.display,
|
|
14873
|
-
opts.variants.map((k) => [k, thinkingLabel(k, L)]),
|
|
14874
|
-
(v) => setChannel({ type: "llm", thinking: v }),
|
|
14875
|
-
opts.unsupported ? L.translateThinkingUnsupported : ""
|
|
14876
|
-
);
|
|
14877
|
-
})())
|
|
16035
|
+
...translatePmt.fields
|
|
14878
16036
|
) : (() => {
|
|
14879
16037
|
const mtCur = tr.mt && tr.mt.services && tr.mt.services[mtSvc] || {};
|
|
14880
16038
|
return h(
|
|
@@ -15354,18 +16512,37 @@
|
|
|
15354
16512
|
fact(L.headroomSaverDetect, HR_DETECT[s.saverDetect] || s.saverDetect)
|
|
15355
16513
|
);
|
|
15356
16514
|
const insts = Array.isArray(s.instances) ? s.instances : [];
|
|
15357
|
-
|
|
15358
|
-
|
|
15359
|
-
|
|
15360
|
-
|
|
15361
|
-
|
|
15362
|
-
|
|
15363
|
-
|
|
15364
|
-
`${
|
|
15365
|
-
|
|
15366
|
-
|
|
15367
|
-
|
|
15368
|
-
|
|
16515
|
+
const outletOf = (it) => it.onChain ? `${L.hrInstChain} ${it.target}` : it.upstream;
|
|
16516
|
+
const outletTitle = (it) => {
|
|
16517
|
+
const lines = [];
|
|
16518
|
+
if (it.onChain) {
|
|
16519
|
+
lines.push(`${L.hrInstChain} ${it.target}`);
|
|
16520
|
+
const ups = Array.isArray(it.upstreams) && it.upstreams.length ? it.upstreams : [it.upstream];
|
|
16521
|
+
lines.push(`${L.hrInstUpstreams}: ${ups.join("\u3001")}`);
|
|
16522
|
+
if (Array.isArray(it.proxies) && it.proxies.length) lines.push(`${L.hrInstVia}: ${it.proxies.join("\u3001")}`);
|
|
16523
|
+
} else {
|
|
16524
|
+
lines.push(`${L.hrInstUpstreams}: ${it.upstream}`);
|
|
16525
|
+
}
|
|
16526
|
+
lines.push(`${L.hrInstProviders}: ${it.providers}`);
|
|
16527
|
+
return lines.join("\n");
|
|
16528
|
+
};
|
|
16529
|
+
hrInstList.replaceChildren(...insts.map((it) => {
|
|
16530
|
+
const ups = Array.isArray(it.upstreams) ? it.upstreams.filter(Boolean) : [];
|
|
16531
|
+
const many = ups.length > 1;
|
|
16532
|
+
return h(
|
|
16533
|
+
"div",
|
|
16534
|
+
{ class: "flex min-w-0 items-center gap-2" },
|
|
16535
|
+
h("span", { class: "shrink-0 font-mono text-ui-xs text-foreground-subtle" }, `:${it.port}`),
|
|
16536
|
+
h(
|
|
16537
|
+
"span",
|
|
16538
|
+
{ class: "min-w-0 flex-1 truncate text-ui-xs text-foreground-subtle", title: outletTitle(it) },
|
|
16539
|
+
`${it.format} \u2192 ${outletOf(it)}${many ? ` (+${ups.length - 1})` : ""}`
|
|
16540
|
+
),
|
|
16541
|
+
h("span", { class: "max-w-[40%] shrink-0 truncate text-ui-xs text-foreground-subtle/70", title: it.providers }, it.providers),
|
|
16542
|
+
h("span", { class: "shrink-0 text-ui-xs " + (it.up ? "text-emerald-600" : "text-destructive") }, it.up ? L.hrInstRunning : L.hrInstStopped),
|
|
16543
|
+
...rb ? [rb] : []
|
|
16544
|
+
);
|
|
16545
|
+
}));
|
|
15369
16546
|
hrInstList.style.display = insts.length ? "" : "none";
|
|
15370
16547
|
hrHintLine.textContent = s.saverHint || "";
|
|
15371
16548
|
hrHintLine.style.display = s.saverHint ? "" : "none";
|
|
@@ -15635,35 +16812,26 @@
|
|
|
15635
16812
|
node
|
|
15636
16813
|
);
|
|
15637
16814
|
const showInlineConn = isManualConn(titleGenCfg.provider, titleGenProviders);
|
|
15638
|
-
const
|
|
15639
|
-
|
|
15640
|
-
|
|
15641
|
-
|
|
15642
|
-
|
|
15643
|
-
|
|
15644
|
-
|
|
15645
|
-
|
|
15646
|
-
|
|
15647
|
-
|
|
15648
|
-
|
|
15649
|
-
|
|
15650
|
-
|
|
15651
|
-
titleGenCfg.model || "",
|
|
15652
|
-
// 跟随会话时选项表头部有“跟随当前会话当前模型”(值为空,生成时用
|
|
15653
|
-
// 会话当前模型),选了具体模型后也能再切回它
|
|
15654
|
-
modelOptionsOf(titleGenCfg.provider, titleGenProviders, {
|
|
15655
|
-
followSession: true,
|
|
15656
|
-
followSessionLabel: L.titleGenModelFollowSession
|
|
15657
|
-
}),
|
|
15658
|
-
(v) => {
|
|
15659
|
-
titleGenCfg.model = v;
|
|
16815
|
+
const titleGenPmt = providerModelThinkingFields({
|
|
16816
|
+
providers: titleGenProviders,
|
|
16817
|
+
L,
|
|
16818
|
+
provider: titleGenCfg.provider || "",
|
|
16819
|
+
model: titleGenCfg.model || "",
|
|
16820
|
+
thinking: titleGenCfg.thinking || "off",
|
|
16821
|
+
sessionInfo: translateSessionRes.ok ? translateSessionRes.session : null,
|
|
16822
|
+
withManual: true,
|
|
16823
|
+
labels: { provider: L.titleGenProvider, model: L.titleGenModel, thinking: L.translateThinking },
|
|
16824
|
+
onChange: (patch) => {
|
|
16825
|
+
titleGenCfg.provider = patch.provider;
|
|
16826
|
+
titleGenCfg.model = patch.model;
|
|
16827
|
+
titleGenCfg.thinking = patch.thinking;
|
|
15660
16828
|
saveTitleGenSoon();
|
|
15661
16829
|
},
|
|
15662
|
-
{
|
|
15663
|
-
|
|
15664
|
-
|
|
16830
|
+
requestRender: () => {
|
|
16831
|
+
void persistTitleGen();
|
|
16832
|
+
renderTitleGenPane();
|
|
15665
16833
|
}
|
|
15666
|
-
);
|
|
16834
|
+
});
|
|
15667
16835
|
const textIn = (value, onInput, { type = "text", placeholder = "" } = {}) => {
|
|
15668
16836
|
const n = h("input", { type, value: value || "", placeholder, class: inputCls });
|
|
15669
16837
|
n.addEventListener("input", () => onInput(n.value));
|
|
@@ -15744,12 +16912,11 @@
|
|
|
15744
16912
|
renderTitleGenPane();
|
|
15745
16913
|
}))
|
|
15746
16914
|
),
|
|
15747
|
-
// 供应商 + 模型
|
|
16915
|
+
// 供应商 + 模型 + 思考级别
|
|
15748
16916
|
h(
|
|
15749
16917
|
"div",
|
|
15750
|
-
{ class: "mt-2 grid grid-cols-1 gap-2 rounded-xl border border-border p-2 sm:grid-cols-
|
|
15751
|
-
|
|
15752
|
-
field(L.titleGenModel, modelCombo)
|
|
16918
|
+
{ class: "mt-2 grid grid-cols-1 gap-2 rounded-xl border border-border p-2 sm:grid-cols-3" },
|
|
16919
|
+
...titleGenPmt.fields
|
|
15753
16920
|
),
|
|
15754
16921
|
inlineConnCard,
|
|
15755
16922
|
// 提示词 + 载入默认
|
|
@@ -15851,29 +17018,39 @@
|
|
|
15851
17018
|
// 空的已保存值保持为空:改其它开关时不能把当前语言的默认提示词写进配置,
|
|
15852
17019
|
// 否则之后切换语言就不会再跟随(运行时空值才取当前语言默认)
|
|
15853
17020
|
continueText: typeof raw.continueText === "string" && raw.continueText.trim() ? raw.continueText : "",
|
|
15854
|
-
maxRetries: Number.isFinite(raw.maxRetries) ? raw.maxRetries :
|
|
15855
|
-
|
|
17021
|
+
maxRetries: Number.isFinite(raw.maxRetries) ? raw.maxRetries : 10,
|
|
17022
|
+
continueDelaySec: Number.isFinite(raw.continueDelaySec) ? raw.continueDelaySec : 120,
|
|
17023
|
+
continueDelayFactor: Number.isFinite(raw.continueDelayFactor) ? raw.continueDelayFactor : 1.3,
|
|
15856
17024
|
stuckAfterMin: Number.isFinite(raw.stuckAfterMin) ? raw.stuckAfterMin : 30,
|
|
15857
17025
|
failedAfterMin: Number.isFinite(raw.failedAfterMin) ? raw.failedAfterMin : 3
|
|
15858
17026
|
};
|
|
15859
17027
|
}
|
|
15860
|
-
const numRow = (labelText, hint, value, min, max, commit) => h(
|
|
15861
|
-
"
|
|
17028
|
+
const numRow = (labelText, hint, value, min, max, commit, step = 1) => h(
|
|
17029
|
+
"div",
|
|
15862
17030
|
{
|
|
15863
|
-
class: "flex
|
|
15864
|
-
title: hint
|
|
17031
|
+
class: "flex items-center gap-2 p-2"
|
|
15865
17032
|
},
|
|
15866
|
-
h(
|
|
15867
|
-
|
|
15868
|
-
|
|
15869
|
-
|
|
15870
|
-
|
|
15871
|
-
|
|
15872
|
-
|
|
15873
|
-
|
|
15874
|
-
|
|
15875
|
-
|
|
15876
|
-
|
|
17033
|
+
h(
|
|
17034
|
+
"div",
|
|
17035
|
+
{ class: "min-w-0 flex-1" },
|
|
17036
|
+
h("div", { class: "text-ui-sm font-medium text-foreground" }, labelText),
|
|
17037
|
+
hint ? h("div", { class: "mt-0.5 text-ui-xs/relaxed text-foreground-subtle", title: hint }, hint) : null
|
|
17038
|
+
),
|
|
17039
|
+
h(
|
|
17040
|
+
"div",
|
|
17041
|
+
{ class: "shrink-0" },
|
|
17042
|
+
numberField({
|
|
17043
|
+
value,
|
|
17044
|
+
fallback: value,
|
|
17045
|
+
min,
|
|
17046
|
+
max,
|
|
17047
|
+
step,
|
|
17048
|
+
onCommit: (v) => {
|
|
17049
|
+
commit(v);
|
|
17050
|
+
saveAcSoon();
|
|
17051
|
+
}
|
|
17052
|
+
}).el
|
|
17053
|
+
)
|
|
15877
17054
|
);
|
|
15878
17055
|
const area = h("textarea", { class: "zcodepro-textarea zcodepro-textarea-sm", rows: "3", placeholder: L.acPrompt, title: L.acPrompt });
|
|
15879
17056
|
area.value = acCfg.continueText || defaultContinueText();
|
|
@@ -15903,18 +17080,21 @@
|
|
|
15903
17080
|
),
|
|
15904
17081
|
h(
|
|
15905
17082
|
"div",
|
|
15906
|
-
{ class: "mt-2
|
|
17083
|
+
{ class: "mt-2 divide-y divide-border rounded-xl border border-border" },
|
|
15907
17084
|
numRow(L.acMaxRetries, L.acMaxRetriesHint, acCfg.maxRetries, 1, 50, (v) => {
|
|
15908
17085
|
acCfg.maxRetries = v;
|
|
15909
17086
|
}),
|
|
15910
|
-
numRow(L.
|
|
15911
|
-
acCfg.
|
|
15912
|
-
}),
|
|
15913
|
-
numRow(L.acStuckAfterMin, L.acStuckAfterMinHint, acCfg.stuckAfterMin, 5, 720, (v) => {
|
|
15914
|
-
acCfg.stuckAfterMin = v;
|
|
17087
|
+
numRow(L.acContinueDelay, L.acContinueDelayHint, acCfg.continueDelaySec, 0, 3600, (v) => {
|
|
17088
|
+
acCfg.continueDelaySec = v;
|
|
15915
17089
|
}),
|
|
17090
|
+
numRow(L.acContinueDelayFactor, L.acContinueDelayFactorHint, acCfg.continueDelayFactor, 1, 10, (v) => {
|
|
17091
|
+
acCfg.continueDelayFactor = v;
|
|
17092
|
+
}, 0.1),
|
|
15916
17093
|
numRow(L.acFailedAfterMin, L.acFailedAfterMinHint, acCfg.failedAfterMin, 1, 60, (v) => {
|
|
15917
17094
|
acCfg.failedAfterMin = v;
|
|
17095
|
+
}),
|
|
17096
|
+
numRow(L.acStuckAfterMin, L.acStuckAfterMinHint, acCfg.stuckAfterMin, 5, 720, (v) => {
|
|
17097
|
+
acCfg.stuckAfterMin = v;
|
|
15918
17098
|
})
|
|
15919
17099
|
)
|
|
15920
17100
|
);
|
|
@@ -15945,6 +17125,7 @@
|
|
|
15945
17125
|
paneRtk,
|
|
15946
17126
|
paneDebug
|
|
15947
17127
|
);
|
|
17128
|
+
switchTab(activeTab);
|
|
15948
17129
|
}
|
|
15949
17130
|
});
|
|
15950
17131
|
}
|
|
@@ -16502,9 +17683,12 @@
|
|
|
16502
17683
|
if (dom) {
|
|
16503
17684
|
const pct = Math.round(dom.used / dom.size * 1e3) / 10;
|
|
16504
17685
|
const tone = pct >= 95 ? "danger" : pct >= 80 ? "warn" : "";
|
|
17686
|
+
const cs = lastStats && statsSid === selectedSessionId() ? lastStats.ctxShape : null;
|
|
17687
|
+
const sep = isCjkLocale() ? "\uFF0C" : ", ";
|
|
17688
|
+
const shapeTip = cs && cs.toolsTokens > 0 ? sep + `${L.sbTipTools} \u2248${fmtNum(cs.toolsTokens)}${isCjkLocale() ? "\uFF08" : " ("}${cs.toolCount}${L.sbTipToolCount}` + (dom.used ? sep + (isCjkLocale() ? "\u5360\u5DF2\u7528 " : "of used ") + Math.round(cs.toolsTokens / dom.used * 1e3) / 10 + "%" : "") + `${isCjkLocale() ? "\uFF09" : ")"}` : "";
|
|
16505
17689
|
return {
|
|
16506
17690
|
html: sbIcon("ctx") + label(L.sbLabelCtx) + `<b>${fmtNum(dom.used)}/${fmtNum(dom.size)}${isCjkLocale() ? "\uFF08" : "("}${pct}%${isCjkLocale() ? "\uFF09" : ")"}</b>`,
|
|
16507
|
-
title: `${L.sbItemCtx}${isCjkLocale() ? "\uFF1A" : ": "}${dom.used.toLocaleString()} / ${dom.size.toLocaleString()}`,
|
|
17691
|
+
title: `${L.sbItemCtx}${isCjkLocale() ? "\uFF1A" : ": "}${dom.used.toLocaleString()} / ${dom.size.toLocaleString()}${shapeTip}`,
|
|
16508
17692
|
tone
|
|
16509
17693
|
};
|
|
16510
17694
|
}
|
|
@@ -16653,8 +17837,9 @@
|
|
|
16653
17837
|
if (!enabled4 || document.hidden) return;
|
|
16654
17838
|
refreshOfficial();
|
|
16655
17839
|
const wantRate = items.some((it) => it.on && it.id === "tokRate");
|
|
16656
|
-
const
|
|
16657
|
-
|
|
17840
|
+
const wantSession = wantRate || items.some((it) => it.on && it.id === "ctx");
|
|
17841
|
+
const sid = wantSession ? selectedSessionId() : "";
|
|
17842
|
+
if (!official || wantSession && sid) {
|
|
16658
17843
|
if (sid !== lastSid) {
|
|
16659
17844
|
lastSid = sid;
|
|
16660
17845
|
lastStats = null;
|
|
@@ -16725,7 +17910,9 @@
|
|
|
16725
17910
|
{ id: "turnIn", on: true },
|
|
16726
17911
|
{ id: "turnOut", on: true },
|
|
16727
17912
|
{ id: "turnTps", on: true },
|
|
16728
|
-
{ id: "turnCache", on: true }
|
|
17913
|
+
{ id: "turnCache", on: true },
|
|
17914
|
+
{ id: "turnTtft", on: true },
|
|
17915
|
+
{ id: "turnReasoning", on: true }
|
|
16729
17916
|
];
|
|
16730
17917
|
var refreshTurnItems = () => {
|
|
16731
17918
|
void getConfig().then((cfg2) => {
|
|
@@ -16743,7 +17930,9 @@
|
|
|
16743
17930
|
cache: '<path d="m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z"/><path d="m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65"/><path d="m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65"/>',
|
|
16744
17931
|
// 与状态栏“输出”同款(gauge):计数段与速度段共用
|
|
16745
17932
|
// 墨迹在 24 格视图里垂直居中且不出框(旧字形 U 弧画到框底,描边被裁看着偏下)
|
|
16746
|
-
out: '<path d="m12 11 4-4"/><path d="M3.34 16a10 10 0 1 1 17.32 0"/>'
|
|
17933
|
+
out: '<path d="m12 11 4-4"/><path d="M3.34 16a10 10 0 1 1 17.32 0"/>',
|
|
17934
|
+
ttft: '<circle cx="12" cy="14" r="8"/><path d="M12 10v4l3 2"/><path d="M9 2h6"/>',
|
|
17935
|
+
reasoning: '<path d="M9 18h6"/><path d="M10 22h4"/><path d="M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1.3.5 2.6 1.5 3.5.8.8 1.3 1.5 1.5 2.5"/>'
|
|
16747
17936
|
};
|
|
16748
17937
|
var icon = (name) => `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="width:11px;height:11px;opacity:.6">${ICONS[name]}</svg>`;
|
|
16749
17938
|
function fmt(n) {
|
|
@@ -16792,6 +17981,8 @@
|
|
|
16792
17981
|
const L = t();
|
|
16793
17982
|
const cachePct = bucket.in > 0 && bucket.cacheRead > 0 ? (bucket.cacheRead / bucket.in * 100).toFixed(2) : "";
|
|
16794
17983
|
const tps = bucket.genMs > 0 ? bucket.tpsOut / (bucket.genMs / 1e3) : null;
|
|
17984
|
+
const ttft = bucket.ttft > 0 ? Math.round(bucket.ttft / 100) / 10 : null;
|
|
17985
|
+
const reasoning = bucket.reasoning > 0 ? bucket.reasoning : null;
|
|
16795
17986
|
const group = (html2) => `<span style="display:inline-flex;align-items:center;gap:2px">${html2}</span>`;
|
|
16796
17987
|
const em = (text) => `<em style="font-style:normal;opacity:.75">${text}</em>`;
|
|
16797
17988
|
const DOT = '<span style="opacity:.45">\xB7</span>';
|
|
@@ -16802,6 +17993,8 @@
|
|
|
16802
17993
|
else if (s.id === "turnOut") sections.push(group(icon("out") + em(L.sbLabelOut) + fmt(bucket.out)));
|
|
16803
17994
|
else if (s.id === "turnTps" && tps != null) sections.push(group(icon("out") + em(L.sbLabelOut) + Math.round(tps * 10) / 10 + " tok/s"));
|
|
16804
17995
|
else if (s.id === "turnCache" && cachePct) sections.push(group(icon("cache") + em(L.sbLabelCache) + cachePct + "%"));
|
|
17996
|
+
else if (s.id === "turnTtft" && ttft != null) sections.push(group(icon("ttft") + em(L.sbLabelTtft) + ttft + "s"));
|
|
17997
|
+
else if (s.id === "turnReasoning" && reasoning != null) sections.push(group(icon("reasoning") + em(L.sbLabelReasoning) + fmt(reasoning)));
|
|
16805
17998
|
}
|
|
16806
17999
|
const old = row.querySelector("[data-zcodepro-turn-span]");
|
|
16807
18000
|
if (!sections.length) {
|
|
@@ -16825,7 +18018,7 @@
|
|
|
16825
18018
|
el.style.gap = "4px";
|
|
16826
18019
|
el.style.marginLeft = "10px";
|
|
16827
18020
|
el.innerHTML = html;
|
|
16828
|
-
el.title = `${L.turnUsageTitle}${isCjkLocale() ? "\uFF1A" : ": "}${L.sbLabelIn} ${bucket.in.toLocaleString()} / ${L.sbLabelOut} ${bucket.out.toLocaleString()}` + (tps != null ? ` / ${L.sbLabelOut} ${Math.round(tps * 10) / 10} tok/s` : "") + (bucket.cacheRead > 0 ? ` / ${L.sbLabelCache} ${bucket.cacheRead.toLocaleString()}` : "");
|
|
18021
|
+
el.title = `${L.turnUsageTitle}${isCjkLocale() ? "\uFF1A" : ": "}${L.sbLabelIn} ${bucket.in.toLocaleString()} / ${L.sbLabelOut} ${bucket.out.toLocaleString()}` + (tps != null ? ` / ${L.sbLabelOut} ${Math.round(tps * 10) / 10} tok/s` : "") + (reasoning != null ? ` / ${L.sbLabelReasoning} ${reasoning.toLocaleString()}` : "") + (ttft != null ? ` / ${L.sbLabelTtft} ${bucket.ttft.toLocaleString()} ms` : "") + (bucket.cacheRead > 0 ? ` / ${L.sbLabelCache} ${bucket.cacheRead.toLocaleString()}` : "");
|
|
16829
18022
|
row.dataset.zcodeproTurn = "1";
|
|
16830
18023
|
row.append(el);
|
|
16831
18024
|
}
|
|
@@ -16901,7 +18094,7 @@
|
|
|
16901
18094
|
for (const r of rows) clearRow(r.row);
|
|
16902
18095
|
return;
|
|
16903
18096
|
}
|
|
16904
|
-
const agg = rows.map(() => ({ in: 0, out: 0, cacheRead: 0, tpsOut: 0, genMs: 0 }));
|
|
18097
|
+
const agg = rows.map(() => ({ in: 0, out: 0, cacheRead: 0, tpsOut: 0, genMs: 0, reasoning: 0, ttft: 0 }));
|
|
16905
18098
|
if (rounds.some((r) => r.startAt != null)) {
|
|
16906
18099
|
const used = /* @__PURE__ */ new Set();
|
|
16907
18100
|
for (const b of rounds) {
|
|
@@ -16924,6 +18117,8 @@
|
|
|
16924
18117
|
agg[owner].in += b.in;
|
|
16925
18118
|
agg[owner].out += b.out;
|
|
16926
18119
|
agg[owner].cacheRead += b.cacheRead;
|
|
18120
|
+
agg[owner].reasoning += b.reasoning || 0;
|
|
18121
|
+
if (!agg[owner].ttft && b.ttft) agg[owner].ttft = b.ttft;
|
|
16927
18122
|
if (b.genMs) {
|
|
16928
18123
|
agg[owner].tpsOut += b.out;
|
|
16929
18124
|
agg[owner].genMs += b.genMs;
|
|
@@ -16937,6 +18132,8 @@
|
|
|
16937
18132
|
agg[owner].in += b.in;
|
|
16938
18133
|
agg[owner].out += b.out;
|
|
16939
18134
|
agg[owner].cacheRead += b.cacheRead;
|
|
18135
|
+
agg[owner].reasoning += b.reasoning || 0;
|
|
18136
|
+
if (!agg[owner].ttft && b.ttft) agg[owner].ttft = b.ttft;
|
|
16940
18137
|
if (b.genMs) {
|
|
16941
18138
|
agg[owner].tpsOut += b.out;
|
|
16942
18139
|
agg[owner].genMs += b.genMs;
|
|
@@ -16960,6 +18157,8 @@
|
|
|
16960
18157
|
agg[owner].in += b.in;
|
|
16961
18158
|
agg[owner].out += b.out;
|
|
16962
18159
|
agg[owner].cacheRead += b.cacheRead;
|
|
18160
|
+
agg[owner].reasoning += b.reasoning || 0;
|
|
18161
|
+
if (!agg[owner].ttft && b.ttft) agg[owner].ttft = b.ttft;
|
|
16963
18162
|
if (b.genMs) {
|
|
16964
18163
|
agg[owner].tpsOut += b.out;
|
|
16965
18164
|
agg[owner].genMs += b.genMs;
|
|
@@ -17133,9 +18332,9 @@
|
|
|
17133
18332
|
seenRows.add(item);
|
|
17134
18333
|
continue;
|
|
17135
18334
|
}
|
|
17136
|
-
const
|
|
18335
|
+
const fresh2 = !seenRows.has(item);
|
|
17137
18336
|
seenRows.add(item);
|
|
17138
|
-
scheduleEnforce(key, { immediate:
|
|
18337
|
+
scheduleEnforce(key, { immediate: fresh2 });
|
|
17139
18338
|
}
|
|
17140
18339
|
}
|
|
17141
18340
|
var inTaskRow2 = (node) => !!(node instanceof Element && node.closest && node.closest(TASK_SEL2));
|
|
@@ -17166,9 +18365,9 @@
|
|
|
17166
18365
|
var mapRefreshTimer = 0;
|
|
17167
18366
|
function refreshMapSoon() {
|
|
17168
18367
|
if (mapRefreshTimer) return;
|
|
17169
|
-
const
|
|
18368
|
+
const tick10 = () => {
|
|
17170
18369
|
if (document.hidden) {
|
|
17171
|
-
mapRefreshTimer = setTimeout(
|
|
18370
|
+
mapRefreshTimer = setTimeout(tick10, 1e4);
|
|
17172
18371
|
return;
|
|
17173
18372
|
}
|
|
17174
18373
|
mapRefreshTimer = 0;
|
|
@@ -17176,7 +18375,7 @@
|
|
|
17176
18375
|
if (m) scan4();
|
|
17177
18376
|
});
|
|
17178
18377
|
};
|
|
17179
|
-
mapRefreshTimer = setTimeout(
|
|
18378
|
+
mapRefreshTimer = setTimeout(tick10, MAP_REFRESH_MS);
|
|
17180
18379
|
}
|
|
17181
18380
|
var editingKey = null;
|
|
17182
18381
|
var bootDelay = 0;
|
|
@@ -19461,8 +20660,8 @@
|
|
|
19461
20660
|
else showToast(t().failed + ": " + errText(res), "error");
|
|
19462
20661
|
if (rerender && panel) {
|
|
19463
20662
|
const old = panel.querySelector(".zcodepro-tr-toolbar");
|
|
19464
|
-
const
|
|
19465
|
-
if (old) old.replaceWith(
|
|
20663
|
+
const fresh2 = buildToolbar();
|
|
20664
|
+
if (old) old.replaceWith(fresh2);
|
|
19466
20665
|
retryCurrent();
|
|
19467
20666
|
}
|
|
19468
20667
|
}
|
|
@@ -20465,7 +21664,7 @@
|
|
|
20465
21664
|
pendingEdit = false;
|
|
20466
21665
|
const target = modelBeforeEdit;
|
|
20467
21666
|
let checks = 0;
|
|
20468
|
-
const
|
|
21667
|
+
const tick10 = () => {
|
|
20469
21668
|
if (!enabled16 || !document.querySelector(EDIT_BAR_SEL)) return;
|
|
20470
21669
|
const current2 = currentModelValue();
|
|
20471
21670
|
if (current2 && current2 !== target) {
|
|
@@ -20482,9 +21681,9 @@
|
|
|
20482
21681
|
return;
|
|
20483
21682
|
}
|
|
20484
21683
|
checks += 1;
|
|
20485
|
-
if (checks < 16) setTimeout(
|
|
21684
|
+
if (checks < 16) setTimeout(tick10, 50);
|
|
20486
21685
|
};
|
|
20487
|
-
setTimeout(
|
|
21686
|
+
setTimeout(tick10, 60);
|
|
20488
21687
|
}
|
|
20489
21688
|
function startComposerEditModel() {
|
|
20490
21689
|
if (installed12 || typeof document === "undefined") return;
|
|
@@ -20512,28 +21711,40 @@
|
|
|
20512
21711
|
init_core();
|
|
20513
21712
|
init_ui();
|
|
20514
21713
|
var POLL_MS2 = 15e3;
|
|
21714
|
+
var LAUNCH_KEY = "zcodeproHrNoticeShownAt";
|
|
21715
|
+
var LAUNCH_WINDOW_MS = 8 * 60 * 60 * 1e3;
|
|
20515
21716
|
var SEEN_KEY2 = "zcodeproHrNoticeSeen";
|
|
20516
|
-
var
|
|
20517
|
-
|
|
21717
|
+
var MAX_AGE_FIXED_MS = 10 * 60 * 1e3;
|
|
21718
|
+
var MAX_AGE_PENDING_MS = 24 * 60 * 60 * 1e3;
|
|
21719
|
+
function readStore(kind, key) {
|
|
20518
21720
|
try {
|
|
20519
|
-
return String(sessionStorage.getItem(
|
|
21721
|
+
return String((kind === "local" ? localStorage : sessionStorage).getItem(key) || "");
|
|
20520
21722
|
} catch {
|
|
20521
21723
|
return "";
|
|
20522
21724
|
}
|
|
20523
21725
|
}
|
|
20524
|
-
function
|
|
21726
|
+
function writeStore(kind, key, value) {
|
|
20525
21727
|
try {
|
|
20526
|
-
sessionStorage.setItem(
|
|
21728
|
+
(kind === "local" ? localStorage : sessionStorage).setItem(key, String(value ?? ""));
|
|
20527
21729
|
} catch {
|
|
20528
21730
|
}
|
|
20529
21731
|
}
|
|
21732
|
+
function alreadyShownThisLaunch() {
|
|
21733
|
+
const raw = readStore("local", LAUNCH_KEY);
|
|
21734
|
+
if (!raw) return false;
|
|
21735
|
+
const at = Number(raw);
|
|
21736
|
+
if (!Number.isFinite(at) || at <= 0) return false;
|
|
21737
|
+
const age = Date.now() - at;
|
|
21738
|
+
return age >= 0 && age < LAUNCH_WINDOW_MS;
|
|
21739
|
+
}
|
|
20530
21740
|
function cardOf(notice) {
|
|
20531
21741
|
const fixed = Array.isArray(notice?.fixed) ? notice.fixed : [];
|
|
20532
21742
|
const pending = Array.isArray(notice?.pending) ? notice.pending : [];
|
|
20533
21743
|
if (!fixed.length && !pending.length) return null;
|
|
20534
21744
|
const parts = [];
|
|
20535
21745
|
if (fixed.length) {
|
|
20536
|
-
const
|
|
21746
|
+
const ACTION_LABEL = { key: "\u66F4\u65B0\u5BC6\u94A5", rename: "\u5DF2\u540C\u6B65\u540D\u79F0", removed: "\u5DF2\u5220\u9664\u767B\u8BB0" };
|
|
21747
|
+
const items2 = fixed.map((x) => `${x.name}\uFF1A${ACTION_LABEL[x.action] || "\u8865\u767B\u8BB0"}`);
|
|
20537
21748
|
parts.push(`\u5DF2\u81EA\u52A8\u540C\u6B65\u4F9B\u5E94\u5546\u767B\u8BB0\uFF1A${items2.join("\uFF1B")}`);
|
|
20538
21749
|
}
|
|
20539
21750
|
if (pending.length) {
|
|
@@ -20546,7 +21757,12 @@
|
|
|
20546
21757
|
};
|
|
20547
21758
|
}
|
|
20548
21759
|
var shownAt = null;
|
|
21760
|
+
var shownThisLaunch = false;
|
|
21761
|
+
function brOccupied() {
|
|
21762
|
+
return !!document.querySelector('.zcodepro-corner-card[data-zcodepro-corner="br"]');
|
|
21763
|
+
}
|
|
20549
21764
|
async function tick8() {
|
|
21765
|
+
if (shownThisLaunch || alreadyShownThisLaunch()) return;
|
|
20550
21766
|
const cfg2 = await getConfig();
|
|
20551
21767
|
if ((cfg2.features || {}).hrNotice === false) return;
|
|
20552
21768
|
const res = await rpc("/headroom/reconcile-notice");
|
|
@@ -20554,24 +21770,217 @@
|
|
|
20554
21770
|
const notice = res.notice;
|
|
20555
21771
|
if (!notice || !notice.at) return;
|
|
20556
21772
|
const at = Date.parse(notice.at);
|
|
20557
|
-
if (!Number.isFinite(at)
|
|
20558
|
-
|
|
21773
|
+
if (!Number.isFinite(at)) return;
|
|
21774
|
+
const pendingList = Array.isArray(notice.pending) ? notice.pending : [];
|
|
21775
|
+
const age = Date.now() - at;
|
|
21776
|
+
if (age > (pendingList.length ? MAX_AGE_PENDING_MS : MAX_AGE_FIXED_MS)) return;
|
|
21777
|
+
if (notice.at === shownAt || notice.at === readStore(SEEN_KEY2)) return;
|
|
20559
21778
|
const card = cardOf(notice);
|
|
20560
21779
|
if (!card) return;
|
|
21780
|
+
if (brOccupied()) return;
|
|
20561
21781
|
shownAt = notice.at;
|
|
20562
|
-
|
|
20563
|
-
|
|
21782
|
+
shownThisLaunch = true;
|
|
21783
|
+
writeStore("local", LAUNCH_KEY, String(Date.now()));
|
|
21784
|
+
writeStore("session", SEEN_KEY2, notice.at);
|
|
21785
|
+
showCornerCard({
|
|
21786
|
+
position: "br",
|
|
21787
|
+
...card,
|
|
21788
|
+
actions: [{ label: "\u77E5\u9053\u4E86", primary: true, onClick: () => closeCornerCard("br") }]
|
|
21789
|
+
});
|
|
20564
21790
|
}
|
|
20565
21791
|
function startHrNotice() {
|
|
21792
|
+
if (shownThisLaunch || alreadyShownThisLaunch()) return;
|
|
20566
21793
|
const run = () => {
|
|
20567
21794
|
tick8().catch(() => {
|
|
20568
21795
|
});
|
|
20569
21796
|
};
|
|
20570
21797
|
run();
|
|
20571
21798
|
setInterval(() => {
|
|
21799
|
+
if (shownThisLaunch) return;
|
|
20572
21800
|
if (document.hidden) return;
|
|
20573
21801
|
run();
|
|
20574
21802
|
}, POLL_MS2);
|
|
21803
|
+
document.addEventListener("visibilitychange", () => {
|
|
21804
|
+
if (!document.hidden && !shownThisLaunch) run();
|
|
21805
|
+
});
|
|
21806
|
+
}
|
|
21807
|
+
|
|
21808
|
+
// src/inject/features/proxy-chain-notice.js
|
|
21809
|
+
init_core();
|
|
21810
|
+
init_ui();
|
|
21811
|
+
var POLL_MS3 = 1e4;
|
|
21812
|
+
var MAX_AGE_MS = 10 * 60 * 1e3;
|
|
21813
|
+
function storeGet(key) {
|
|
21814
|
+
try {
|
|
21815
|
+
return String(sessionStorage.getItem(key) || "");
|
|
21816
|
+
} catch {
|
|
21817
|
+
return "";
|
|
21818
|
+
}
|
|
21819
|
+
}
|
|
21820
|
+
function storeSet(key, at) {
|
|
21821
|
+
try {
|
|
21822
|
+
sessionStorage.setItem(key, String(at || ""));
|
|
21823
|
+
} catch {
|
|
21824
|
+
}
|
|
21825
|
+
}
|
|
21826
|
+
function fresh(atStr) {
|
|
21827
|
+
const at = Date.parse(atStr);
|
|
21828
|
+
return Number.isFinite(at) && Date.now() - at <= MAX_AGE_MS;
|
|
21829
|
+
}
|
|
21830
|
+
function cornerBusy() {
|
|
21831
|
+
return !!document.querySelector('.zcodepro-corner-card[data-zcodepro-corner="br"]');
|
|
21832
|
+
}
|
|
21833
|
+
var listSep = () => isCjkLocale() ? "\u3001" : ", ";
|
|
21834
|
+
function showAutoUnchecked(notice, L) {
|
|
21835
|
+
const items2 = (Array.isArray(notice.items) ? notice.items : []).filter((it) => it && typeof it === "object");
|
|
21836
|
+
const lines = items2.map((it) => L.noticeAutoUncheckedItem.replace("{name}", String(it.name || it.id || "")).replace("{url}", String(it.url || "")).replace("{chain}", String(it.chain || "")));
|
|
21837
|
+
showCornerCard({
|
|
21838
|
+
position: "br",
|
|
21839
|
+
kind: "info",
|
|
21840
|
+
title: L.noticeAutoUncheckedTitle,
|
|
21841
|
+
desc: [L.noticeAutoUncheckedDesc, ...lines, L.noticeAutoUncheckedHow].join("\n\n"),
|
|
21842
|
+
actions: [{
|
|
21843
|
+
label: L.noticeGoChain,
|
|
21844
|
+
primary: true,
|
|
21845
|
+
onClick: () => {
|
|
21846
|
+
closeCornerCard("br");
|
|
21847
|
+
openSettingsDialog("proxy", "vendor");
|
|
21848
|
+
}
|
|
21849
|
+
}]
|
|
21850
|
+
});
|
|
21851
|
+
}
|
|
21852
|
+
function showMigration(notice) {
|
|
21853
|
+
const cleared = Array.isArray(notice.cleared) ? notice.cleared : [];
|
|
21854
|
+
const rebuilt = Array.isArray(notice.rebuilt) ? notice.rebuilt : [];
|
|
21855
|
+
const parts = ["\u4F9B\u5E94\u5546\u4EE3\u7406\u5DF2\u6539\u4E3A\u6309\u4EE3\u7406\u94FE\u5C55\u793A\uFF0C\u539F\u6709\u914D\u7F6E\u5DF2\u91CD\u7F6E\u3002"];
|
|
21856
|
+
if (rebuilt.length) parts.push(`\u5DF2\u91CD\u5EFA\uFF1A${rebuilt.join("\u3001")}`);
|
|
21857
|
+
if (cleared.length) parts.push(`\u5DF2\u8FD8\u539F\u4E3A\u76F4\u8FDE\u6216 headroom\uFF1A${cleared.join("\u3001")}`);
|
|
21858
|
+
parts.push("\u8BF7\u5230 \u8BBE\u7F6E \u2192 \u4EE3\u7406 \u2192 \u4F9B\u5E94\u5546\u4EE3\u7406 \u91CD\u65B0\u914D\u7F6E\u3002");
|
|
21859
|
+
showCornerCard({
|
|
21860
|
+
position: "br",
|
|
21861
|
+
kind: "warning",
|
|
21862
|
+
title: "\u4F9B\u5E94\u5546\u4EE3\u7406\u914D\u7F6E\u5DF2\u91CD\u7F6E",
|
|
21863
|
+
desc: parts.join("\n\n"),
|
|
21864
|
+
actions: [{ label: "\u77E5\u9053\u4E86", primary: true, onClick: () => closeCornerCard("br") }]
|
|
21865
|
+
});
|
|
21866
|
+
}
|
|
21867
|
+
function showChainNotice(notice, L) {
|
|
21868
|
+
if (notice.kind === "auto-unchecked") showAutoUnchecked(notice, L);
|
|
21869
|
+
else showMigration(notice);
|
|
21870
|
+
}
|
|
21871
|
+
function showHealth(health, L) {
|
|
21872
|
+
const items2 = (Array.isArray(health.items) ? health.items : []).filter((it) => it && typeof it === "object");
|
|
21873
|
+
if (!items2.length) return;
|
|
21874
|
+
const ports = (list) => (Array.isArray(list) ? list : []).map(String).join(listSep());
|
|
21875
|
+
const lines = items2.map((it) => {
|
|
21876
|
+
if (it.type === "router" || it.type === "headroom") {
|
|
21877
|
+
const tpl = it.type === "router" ? L.noticeHealthRouter : L.noticeHealthInstance;
|
|
21878
|
+
return tpl.replace("{ports}", ports(it.ports)) + (it.failed ? L.noticeHealthInstanceFailed.replace("{error}", String(it.error || "")) : "");
|
|
21879
|
+
}
|
|
21880
|
+
return L.noticeHealthForwarder.replace("{ports}", ports(it.ports)) + (it.stillDown ? L.noticeHealthForwarderDown : "");
|
|
21881
|
+
});
|
|
21882
|
+
const hasHeadroom = items2.some((it) => it.type === "headroom" || it.type === "router");
|
|
21883
|
+
const parts = [L.noticeHealthDesc, ...lines];
|
|
21884
|
+
if (hasHeadroom) parts.push(L.noticeHealthHint);
|
|
21885
|
+
const toHeadroom = hasHeadroom && items2.every((it) => it.type === "headroom" || it.type === "router");
|
|
21886
|
+
showCornerCard({
|
|
21887
|
+
position: "br",
|
|
21888
|
+
kind: "warning",
|
|
21889
|
+
title: L.noticeHealthTitle,
|
|
21890
|
+
desc: parts.join("\n\n"),
|
|
21891
|
+
actions: [{
|
|
21892
|
+
label: toHeadroom ? L.noticeHealthGoHeadroom : L.noticeGoChain,
|
|
21893
|
+
primary: true,
|
|
21894
|
+
onClick: () => {
|
|
21895
|
+
closeCornerCard("br");
|
|
21896
|
+
if (toHeadroom) openSettingsDialog("headroom");
|
|
21897
|
+
else openSettingsDialog("proxy", "vendor");
|
|
21898
|
+
}
|
|
21899
|
+
}]
|
|
21900
|
+
});
|
|
21901
|
+
}
|
|
21902
|
+
function showTitleGen(notice, L) {
|
|
21903
|
+
const provider = String(notice.providerName || "") || L.noticeTitleGenSession;
|
|
21904
|
+
const item = L.noticeTitleGenItem.replace("{provider}", provider).replace("{model}", String(notice.model || "\u2014")).replace("{error}", String(notice.error || ""));
|
|
21905
|
+
showCornerCard({
|
|
21906
|
+
position: "br",
|
|
21907
|
+
kind: "error",
|
|
21908
|
+
title: L.noticeTitleGenTitle,
|
|
21909
|
+
desc: [L.noticeTitleGenDesc, item, L.noticeTitleGenHow].join("\n\n"),
|
|
21910
|
+
actions: [{
|
|
21911
|
+
label: L.noticeTitleGenGo,
|
|
21912
|
+
primary: true,
|
|
21913
|
+
onClick: () => {
|
|
21914
|
+
closeCornerCard("br");
|
|
21915
|
+
openSettingsDialog("agents", "titleGen");
|
|
21916
|
+
}
|
|
21917
|
+
}]
|
|
21918
|
+
});
|
|
21919
|
+
}
|
|
21920
|
+
function showToolName(notice, L) {
|
|
21921
|
+
const items2 = (Array.isArray(notice.items) ? notice.items : []).filter((it) => it && typeof it === "object");
|
|
21922
|
+
if (!items2.length) return;
|
|
21923
|
+
const errText2 = (raw) => {
|
|
21924
|
+
const s = String(raw || "");
|
|
21925
|
+
if (/EACCES|EPERM/i.test(s)) return L.noticeToolNameNoPerm;
|
|
21926
|
+
return s.length > 120 ? s.slice(0, 120) + "\u2026" : s;
|
|
21927
|
+
};
|
|
21928
|
+
const lines = items2.map((it) => {
|
|
21929
|
+
const renames = (Array.isArray(it.renames) ? it.renames : []).map((x) => `${String(x && x.from || "")} \u2192 ${String(x && x.to || "")}`).join(listSep());
|
|
21930
|
+
return L.noticeToolNameItem.replace("{file}", String(it.file || "")).replace("{changes}", renames).replace("{error}", errText2(it.error));
|
|
21931
|
+
});
|
|
21932
|
+
const cmd = String(notice.command || "").trim();
|
|
21933
|
+
const parts = [L.noticeToolNameDesc, lines.join("\n")];
|
|
21934
|
+
if (cmd) parts.push(L.noticeToolNameFix, cmd, L.noticeToolNameAfter);
|
|
21935
|
+
else parts.push(L.noticeToolNameFixNoCmd);
|
|
21936
|
+
showCornerCard({
|
|
21937
|
+
position: "br",
|
|
21938
|
+
kind: "warning",
|
|
21939
|
+
title: L.noticeToolNameTitle,
|
|
21940
|
+
desc: parts.join("\n\n"),
|
|
21941
|
+
actions: [{
|
|
21942
|
+
label: L.noticeToolNameGo,
|
|
21943
|
+
primary: true,
|
|
21944
|
+
onClick: () => {
|
|
21945
|
+
closeCornerCard("br");
|
|
21946
|
+
openSettingsDialog("agents", "zcode");
|
|
21947
|
+
}
|
|
21948
|
+
}]
|
|
21949
|
+
});
|
|
21950
|
+
}
|
|
21951
|
+
var KINDS = [
|
|
21952
|
+
{ field: "notice", seenKey: "zcodeproProxyChainNoticeSeen", show: showChainNotice },
|
|
21953
|
+
{ field: "health", seenKey: "zcodeproProxyHealthNoticeSeen", show: showHealth },
|
|
21954
|
+
{ field: "titleGen", seenKey: "zcodeproTitleGenNoticeSeen", show: showTitleGen },
|
|
21955
|
+
{ field: "toolName", seenKey: "zcodeproToolNameNoticeSeen", show: showToolName }
|
|
21956
|
+
];
|
|
21957
|
+
var shownBy = {};
|
|
21958
|
+
async function tick9() {
|
|
21959
|
+
const cfg2 = await getConfig();
|
|
21960
|
+
if ((cfg2.features || {}).proxyChainNotice === false) return;
|
|
21961
|
+
const res = await rpc("/provider-proxies/migration-notice");
|
|
21962
|
+
if (!res || res.ok === false) return;
|
|
21963
|
+
for (const kind of KINDS) {
|
|
21964
|
+
const n = res[kind.field];
|
|
21965
|
+
if (!n || !n.at || !fresh(n.at)) continue;
|
|
21966
|
+
if (n.at === shownBy[kind.field] || n.at === storeGet(kind.seenKey)) continue;
|
|
21967
|
+
if (cornerBusy()) return;
|
|
21968
|
+
shownBy[kind.field] = n.at;
|
|
21969
|
+
storeSet(kind.seenKey, n.at);
|
|
21970
|
+
kind.show(n, t());
|
|
21971
|
+
return;
|
|
21972
|
+
}
|
|
21973
|
+
}
|
|
21974
|
+
function startProxyChainNotice() {
|
|
21975
|
+
const run = () => {
|
|
21976
|
+
tick9().catch(() => {
|
|
21977
|
+
});
|
|
21978
|
+
};
|
|
21979
|
+
run();
|
|
21980
|
+
setInterval(() => {
|
|
21981
|
+
if (document.hidden) return;
|
|
21982
|
+
run();
|
|
21983
|
+
}, POLL_MS3);
|
|
20575
21984
|
document.addEventListener("visibilitychange", () => {
|
|
20576
21985
|
if (!document.hidden) run();
|
|
20577
21986
|
});
|
|
@@ -20745,6 +22154,10 @@
|
|
|
20745
22154
|
startHrNotice();
|
|
20746
22155
|
} catch {
|
|
20747
22156
|
}
|
|
22157
|
+
try {
|
|
22158
|
+
startProxyChainNotice();
|
|
22159
|
+
} catch {
|
|
22160
|
+
}
|
|
20748
22161
|
try {
|
|
20749
22162
|
void startPluginUpdateCheck();
|
|
20750
22163
|
} catch {
|