@dsmm/dsmm 0.3.1 → 0.3.2
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/cordis.patch.yml +9 -0
- package/docs/compatibility.md +10 -0
- package/docs/releasing.md +25 -65
- package/docs/roadmap.md +44 -2
- package/lib/client/ChildPermissions.d.ts +43 -0
- package/lib/client/ChildPermissions.js +100 -0
- package/lib/client/ChildrenPanel.d.ts +4 -1
- package/lib/client/ChildrenPanel.js +3 -3
- package/lib/client/DeploymentFields.d.ts +6 -2
- package/lib/client/DeploymentFields.js +8 -6
- package/lib/client/DeploymentPage.d.ts +4 -1
- package/lib/client/DeploymentPage.js +5 -4
- package/lib/client/HistoryContinuation.d.ts +7 -0
- package/lib/client/HistoryContinuation.js +22 -0
- package/lib/client/PermissionPanelEntry.d.ts +8 -0
- package/lib/client/PermissionPanelEntry.js +11 -0
- package/lib/client/PermissionsPanel.d.ts +3 -1
- package/lib/client/PermissionsPanel.js +3 -2
- package/lib/client/ProfilesSection.js +3 -3
- package/lib/client/RoleAvailability.js +1 -1
- package/lib/client/SessionProfiles.js +21 -18
- package/lib/client/TemporaryPermissions.d.ts +21 -0
- package/lib/client/TemporaryPermissions.js +94 -0
- package/lib/client/children-locales.d.ts +4 -4
- package/lib/client/controller.d.ts +17 -0
- package/lib/client/controller.js +101 -18
- package/lib/client/deployment-locales.js +26 -26
- package/lib/client/history-controller.d.ts +29 -0
- package/lib/client/history-controller.js +111 -0
- package/lib/client/history-entry.d.ts +11 -0
- package/lib/client/history-entry.js +106 -0
- package/lib/client/history-locales.d.ts +95 -0
- package/lib/client/history-locales.js +41 -0
- package/lib/client/index.js +16 -3
- package/lib/client/locales.d.ts +6 -0
- package/lib/client/locales.js +104 -92
- package/lib/client/permission-locales.d.ts +26 -0
- package/lib/client/permission-locales.js +55 -35
- package/lib/client/temporary-permission-client.d.ts +20 -0
- package/lib/client/temporary-permission-client.js +52 -0
- package/lib/client/temporary-permission-entry.d.ts +6 -0
- package/lib/client/temporary-permission-entry.js +56 -0
- package/lib/client.js +3881 -1981
- package/lib/history-candidates.d.ts +30 -0
- package/lib/history-candidates.js +176 -0
- package/lib/history-codec.d.ts +11 -0
- package/lib/history-codec.js +102 -0
- package/lib/history-contract.d.ts +44 -0
- package/lib/history-contract.js +2 -0
- package/lib/history-controller.d.ts +42 -0
- package/lib/history-controller.js +329 -0
- package/lib/history-policy.d.ts +4 -0
- package/lib/history-policy.js +8 -0
- package/lib/history-remote.d.ts +28 -0
- package/lib/history-remote.js +17 -0
- package/lib/history-rpc.d.ts +24 -0
- package/lib/history-rpc.js +136 -0
- package/lib/history-support.d.ts +15 -0
- package/lib/history-support.js +21 -0
- package/lib/history-types.d.ts +67 -0
- package/lib/history-types.js +2 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +24 -6
- package/lib/native-admission.d.ts +21 -0
- package/lib/native-admission.js +206 -16
- package/lib/permission-child-control.d.ts +36 -0
- package/lib/permission-child-control.js +164 -0
- package/lib/permission-control.d.ts +2 -0
- package/lib/permission-control.js +7 -0
- package/lib/permission-controller.js +2 -2
- package/lib/permission-exec-argv.d.ts +32 -0
- package/lib/permission-exec-argv.js +171 -0
- package/lib/permission-fs-search.js +2 -1
- package/lib/permission-fs.js +2 -1
- package/lib/permission-native-rules.js +3 -3
- package/lib/permission-temporary-files.d.ts +19 -0
- package/lib/permission-temporary-files.js +248 -0
- package/lib/permission-temporary-grants.d.ts +106 -0
- package/lib/permission-temporary-grants.js +198 -0
- package/lib/permission-temporary-install.d.ts +25 -0
- package/lib/permission-temporary-install.js +86 -0
- package/lib/permission-temporary-remote.d.ts +19 -0
- package/lib/permission-temporary-remote.js +75 -0
- package/lib/permission-temporary-rpc.d.ts +37 -0
- package/lib/permission-temporary-rpc.js +154 -0
- package/lib/permission-temporary-types.d.ts +47 -0
- package/lib/permission-temporary-types.js +2 -0
- package/lib/permission-temporary-web.d.ts +11 -0
- package/lib/permission-temporary-web.js +154 -0
- package/lib/permission-web.js +2 -1
- package/lib/preset-skills.d.ts +1 -1
- package/lib/preset-skills.js +2 -2
- package/lib/profile-rpc.js +2 -0
- package/lib/profile-runtime.d.ts +12 -1
- package/lib/profile-runtime.js +122 -10
- package/lib/profile-store.d.ts +2 -2
- package/lib/profile-store.js +8 -1
- package/lib/profile-types.d.ts +1 -0
- package/lib/role-invocation.d.ts +1 -1
- package/lib/role-invocation.js +2 -2
- package/lib/role-subagents.js +16 -3
- package/lib/skills.d.ts +1 -0
- package/lib/skills.js +5 -1
- package/package.json +41 -33
- package/patches/dsh-approval-settlement/@deepseek-ai__dsh-api-gateway@0.2.1-rc.2.patch +13291 -0
- package/patches/dsh-approval-settlement/@deepseek-ai__dsh-api-remotes@0.2.1-rc.2.patch +9133 -0
- package/patches/dsh-approval-settlement/@deepseek-ai__dsh-client-ui-approval@0.2.1-rc.2.patch +156 -0
- package/patches/dsh-approval-settlement/@deepseek-ai__dsh-subagent@0.2.1-rc.2.patch +3546 -0
- package/patches/dsh-approval-settlement/@deepseek-ai__dsh-user-approval@0.2.1-rc.2.patch +431 -0
- package/patches/dsh-approval-settlement/@deepseek-ai__dsh-web@0.2.1-rc.2.patch +119 -0
- package/patches/dsh-approval-settlement/README.md +41 -0
- package/patches/dsh-approval-settlement/metadata.json +10 -0
- package/patches/dsh-session-activation/@deepseek-ai__dsh-agent-loop@0.2.1-rc.2.patch +383 -0
- package/patches/dsh-session-activation/@deepseek-ai__dsh-agent-preset-registry@0.2.1-rc.2.patch +55 -0
- package/patches/dsh-session-activation/@deepseek-ai__dsh-api-session-controller@0.2.1-rc.2.patch +16673 -0
- package/patches/dsh-session-activation/@deepseek-ai__dsh-client-ui-subagent@0.2.1-rc.2.patch +29 -0
- package/patches/dsh-session-activation/@deepseek-ai__dsh-client-ui-workspace@0.2.1-rc.2.patch +196 -0
- package/patches/dsh-session-activation/@deepseek-ai__dsh-session-persistence-jsonl@0.2.1-rc.2.patch +35 -0
- package/patches/dsh-session-activation/@deepseek-ai__dsh-session-persistence@0.2.1-rc.2.patch +40 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
export declare const historyLocales: {
|
|
2
|
+
en: {
|
|
3
|
+
title: string;
|
|
4
|
+
preset: string;
|
|
5
|
+
profile: string;
|
|
6
|
+
baseline: string;
|
|
7
|
+
choose: string;
|
|
8
|
+
preview: string;
|
|
9
|
+
confirm: string;
|
|
10
|
+
refresh: string;
|
|
11
|
+
loading: string;
|
|
12
|
+
preparing: string;
|
|
13
|
+
confirming: string;
|
|
14
|
+
active: string;
|
|
15
|
+
browsing: string;
|
|
16
|
+
unknown: string;
|
|
17
|
+
pending: string;
|
|
18
|
+
pendingWarning: string;
|
|
19
|
+
consent: string;
|
|
20
|
+
migration: string;
|
|
21
|
+
effects: string;
|
|
22
|
+
model: string;
|
|
23
|
+
roles: string;
|
|
24
|
+
permissions: string;
|
|
25
|
+
differences: string;
|
|
26
|
+
project: string;
|
|
27
|
+
noPending: string;
|
|
28
|
+
nextTurn: string;
|
|
29
|
+
nextStep: string;
|
|
30
|
+
candidate: string;
|
|
31
|
+
disconnected: string;
|
|
32
|
+
reasons: {
|
|
33
|
+
validation: string;
|
|
34
|
+
"not-owned": string;
|
|
35
|
+
"not-found": string;
|
|
36
|
+
"unsupported-host": string;
|
|
37
|
+
"unsupported-backend": string;
|
|
38
|
+
unavailable: string;
|
|
39
|
+
busy: string;
|
|
40
|
+
stale: string;
|
|
41
|
+
cancelled: string;
|
|
42
|
+
"authorization-required": string;
|
|
43
|
+
"child-owner-required": string;
|
|
44
|
+
"format-unavailable": string;
|
|
45
|
+
"initialization-failed": string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
zh: {
|
|
49
|
+
title: string;
|
|
50
|
+
preset: string;
|
|
51
|
+
profile: string;
|
|
52
|
+
baseline: string;
|
|
53
|
+
choose: string;
|
|
54
|
+
preview: string;
|
|
55
|
+
confirm: string;
|
|
56
|
+
refresh: string;
|
|
57
|
+
loading: string;
|
|
58
|
+
preparing: string;
|
|
59
|
+
confirming: string;
|
|
60
|
+
active: string;
|
|
61
|
+
browsing: string;
|
|
62
|
+
unknown: string;
|
|
63
|
+
pending: string;
|
|
64
|
+
pendingWarning: string;
|
|
65
|
+
consent: string;
|
|
66
|
+
migration: string;
|
|
67
|
+
effects: string;
|
|
68
|
+
model: string;
|
|
69
|
+
roles: string;
|
|
70
|
+
permissions: string;
|
|
71
|
+
differences: string;
|
|
72
|
+
project: string;
|
|
73
|
+
noPending: string;
|
|
74
|
+
nextTurn: string;
|
|
75
|
+
nextStep: string;
|
|
76
|
+
candidate: string;
|
|
77
|
+
disconnected: string;
|
|
78
|
+
reasons: {
|
|
79
|
+
validation: string;
|
|
80
|
+
"not-owned": string;
|
|
81
|
+
"not-found": string;
|
|
82
|
+
"unsupported-host": string;
|
|
83
|
+
"unsupported-backend": string;
|
|
84
|
+
unavailable: string;
|
|
85
|
+
busy: string;
|
|
86
|
+
stale: string;
|
|
87
|
+
cancelled: string;
|
|
88
|
+
"authorization-required": string;
|
|
89
|
+
"child-owner-required": string;
|
|
90
|
+
"format-unavailable": string;
|
|
91
|
+
"initialization-failed": string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
//# sourceMappingURL=history-locales.d.ts.map
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
const en = {
|
|
2
|
+
title: "Continue this session", preset: "Current agent preset", profile: "Session configuration", baseline: "Use deployment defaults",
|
|
3
|
+
choose: "Choose a current preset", preview: "Review continuation", confirm: "Continue this session", refresh: "Refresh status",
|
|
4
|
+
loading: "Loading current configuration…", preparing: "Preparing confirmation…", confirming: "Activating session…",
|
|
5
|
+
active: "This session is active. Continue using the native conversation.", browsing: "History remains available without continuing execution.",
|
|
6
|
+
unknown: "The result is not confirmed. Refresh status before taking another action.",
|
|
7
|
+
pending: "Pending input", pendingWarning: "These stored inputs are untrusted. Continuing processes this exact pending set under current permissions; it does not restore old approvals.",
|
|
8
|
+
consent: "Process the pending inputs shown above", migration: "Publish the required native format migration and recovery entries",
|
|
9
|
+
effects: "Native recovery entries or a migration may already have been committed. History and pending input are not rolled back.",
|
|
10
|
+
model: "Current model", roles: "Current roles", permissions: "Current restrictions", differences: "Changes to execution", project: "Project",
|
|
11
|
+
noPending: "No pending inputs.", nextTurn: "Next turn", nextStep: "Next step", candidate: "Configuration to be used", disconnected: "Connect to the local Host to review continuation.",
|
|
12
|
+
reasons: {
|
|
13
|
+
validation: "The request is invalid. Refresh and review the selection.", "not-owned": "Use the current local Host operator connection.", "not-found": "The stored session is unavailable.",
|
|
14
|
+
"unsupported-host": "A compatible Host with read-only history following is required. The original Desktop has not been patched by this plugin.",
|
|
15
|
+
"unsupported-backend": "This storage backend cannot validate continuation before writing.", unavailable: "Current execution services are unavailable. History can still be inspected.",
|
|
16
|
+
busy: "An activation or other owner is already using this session. Refresh its status.", stale: "The session or current configuration changed. Review a new confirmation.",
|
|
17
|
+
cancelled: "Continuation was cancelled. Refresh before trying again.", "authorization-required": "Review the current configuration and explicitly confirm continuation.",
|
|
18
|
+
"child-owner-required": "This child can be browsed here. Continuing requires its exact live parent owner.", "format-unavailable": "The native reader could not load this format. Keep the existing history view and inspect its diagnostic.",
|
|
19
|
+
"initialization-failed": "Execution initialization failed. Refresh status; do not replay the request.",
|
|
20
|
+
},
|
|
21
|
+
};
|
|
22
|
+
export const historyLocales = { en, zh: {
|
|
23
|
+
title: "继续此会话", preset: "当前 Agent 预设", profile: "本次会话配置", baseline: "使用部署默认配置",
|
|
24
|
+
choose: "选择当前可用的预设", preview: "查看继续方案", confirm: "继续此会话", refresh: "刷新状态",
|
|
25
|
+
loading: "正在读取当前配置…", preparing: "正在准备确认信息…", confirming: "正在激活会话…",
|
|
26
|
+
active: "此会话已激活,可继续使用原生对话界面。", browsing: "不继续执行也可以浏览历史。",
|
|
27
|
+
unknown: "结果待确认。请先刷新状态,不要重复执行。",
|
|
28
|
+
pending: "待处理输入", pendingWarning: "以下历史输入是不可信内容。继续后将按当前权限处理这一组输入,不恢复旧审批。",
|
|
29
|
+
consent: "处理上方列出的待处理输入", migration: "允许发布所需的原生格式迁移和恢复记录",
|
|
30
|
+
effects: "原生恢复记录或迁移可能已经提交,不承诺回滚历史或待处理输入。",
|
|
31
|
+
model: "当前模型", roles: "当前角色", permissions: "当前限制", differences: "执行变化", project: "项目",
|
|
32
|
+
noPending: "没有待处理输入。", nextTurn: "下一轮", nextStep: "下一步", candidate: "将采用的配置", disconnected: "连接本地 Host 后可查看继续方案。",
|
|
33
|
+
reasons: {
|
|
34
|
+
validation: "请求无效,请刷新后重新查看选择。", "not-owned": "请使用当前本地 Host 的操作者连接。", "not-found": "找不到该持久化会话。",
|
|
35
|
+
"unsupported-host": "需要支持只读历史跟随的兼容 Host。仅安装插件不会修补原版 Desktop。", "unsupported-backend": "当前存储后端不能在写入前校验继续权限。",
|
|
36
|
+
unavailable: "当前执行服务不可用,仍可查看历史。", busy: "该会话正被其他执行者或激活操作使用,请刷新状态。", stale: "会话或当前配置已变化,请重新查看确认信息。",
|
|
37
|
+
cancelled: "继续操作已取消,请刷新后再试。", "authorization-required": "请查看当前配置并明确确认继续。", "child-owner-required": "此处可浏览子会话,继续执行需要其真实存活的父级所有者。",
|
|
38
|
+
"format-unavailable": "原生读取器无法加载此格式。请保留现有历史视图并查看诊断。", "initialization-failed": "执行初始化失败,请刷新状态,不要重放请求。",
|
|
39
|
+
},
|
|
40
|
+
} };
|
|
41
|
+
//# sourceMappingURL=history-locales.js.map
|
package/lib/client/index.js
CHANGED
|
@@ -14,6 +14,9 @@ import { permissionClient } from "./permission-client.js";
|
|
|
14
14
|
import { PermissionController } from "./permission-controller.js";
|
|
15
15
|
import { PERMISSIONS_NS, permissionEn, permissionZh } from "./permission-locales.js";
|
|
16
16
|
import { registerRoleToolViews } from "./RoleToolView.js";
|
|
17
|
+
import { HISTORY_REMOTE } from "../history-remote.js";
|
|
18
|
+
import { registerHistoryContinuation } from "./history-entry.js";
|
|
19
|
+
import { registerTemporaryPermissionEntry } from "./temporary-permission-entry.js";
|
|
17
20
|
export { ProfilesController, NEW_PROFILE_CONTENT } from "./controller.js";
|
|
18
21
|
export { ProfilesSection } from "./ProfilesSection.js";
|
|
19
22
|
export { NS, en, zh } from "./locales.js";
|
|
@@ -27,12 +30,14 @@ export { ROLE_CONTROL_REMOTE } from "../role-control-remote.js";
|
|
|
27
30
|
export const inject = ["slots", "locale", "remote"];
|
|
28
31
|
export async function apply(ctx) {
|
|
29
32
|
registerRoleToolViews(ctx);
|
|
30
|
-
await ctx.remote.$mount(TYPERT_REMOTE);
|
|
33
|
+
await ctx.remote.$mount({ ...TYPERT_REMOTE, descriptors: [...TYPERT_REMOTE.descriptors, ...HISTORY_REMOTE.descriptors] });
|
|
31
34
|
await ctx.remote.$mount(ROLE_CONTROL_REMOTE);
|
|
32
35
|
await ctx.remote.$mount(PERMISSION_REMOTE);
|
|
36
|
+
registerHistoryContinuation(ctx);
|
|
33
37
|
const permissions = new PermissionController();
|
|
34
38
|
ctx.effect(() => () => permissions.dispose(), "dsmm: permission controls");
|
|
35
39
|
ctx.effect(() => ctx.locale.register(PERMISSIONS_NS, { en: permissionEn, zh: permissionZh }), "dsmm: permission locale");
|
|
40
|
+
const temporaryPermissions = registerTemporaryPermissionEntry(ctx, permissions);
|
|
36
41
|
void ctx.inject(["connection"], connectionCtx => {
|
|
37
42
|
const handle = connectionCtx.connection, invoke = permissionClient(handle);
|
|
38
43
|
const update = () => { const generation = handle.generation.getSnapshot(); permissions.bindConnection(generation === undefined ? null : invoke, generation); };
|
|
@@ -83,7 +88,7 @@ export async function apply(ctx) {
|
|
|
83
88
|
document.head.append(style);
|
|
84
89
|
return () => style.remove();
|
|
85
90
|
}, "dsmm: core styles");
|
|
86
|
-
const inject = () => ({ core, remote: coreCtx.remote.dsmmConfig, workspace });
|
|
91
|
+
const inject = () => ({ core, remote: coreCtx.remote.dsmmConfig, workspace, temporaryPermissions, permissionsT: coreCtx.locale.bind(PERMISSIONS_NS) });
|
|
87
92
|
coreCtx.slots.inject("plugins.bundle.config", () => coreCtx.slots.register({ name: "plugins.bundle.config", key: "@dsmm/dsmm", locale: DEPLOYMENT_NS, inject }, DeploymentPage));
|
|
88
93
|
// The canonical bundle owner passes only view. Namespace comes from the authenticated snapshot.
|
|
89
94
|
void coreCtx.inject(["configForms"], formCtx => {
|
|
@@ -94,6 +99,11 @@ export async function apply(ctx) {
|
|
|
94
99
|
});
|
|
95
100
|
await ctx.inject(["remote.dsmmProfiles"], (profileCtx) => {
|
|
96
101
|
const controller = new ProfilesController(profileCtx.remote.dsmmProfiles);
|
|
102
|
+
void profileCtx.inject(["connection"], connectionCtx => {
|
|
103
|
+
controller.bindConnection(connectionCtx.connection.generation);
|
|
104
|
+
void controller.refresh();
|
|
105
|
+
connectionCtx.effect(() => () => controller.bindConnection(null), "dsmm: profile connection withdrawal");
|
|
106
|
+
});
|
|
97
107
|
profiles = controller;
|
|
98
108
|
profileCtx.effect(() => controller.store.subscribe(() => { deployment?.setSession(controller.store.getSnapshot().session); }));
|
|
99
109
|
profileCtx.effect(() => () => { profiles = null; deployment?.setSession(null); });
|
|
@@ -107,6 +117,10 @@ export async function apply(ctx) {
|
|
|
107
117
|
return () => style.remove();
|
|
108
118
|
}, "dsmm: profile styles");
|
|
109
119
|
const t = profileCtx.locale.bind(NS);
|
|
120
|
+
void profileCtx.inject(["conversation"], conversationCtx => {
|
|
121
|
+
controller.attachComposerBlocks(conversationCtx.conversation.blocks, () => t("sessionSelectionBlock"));
|
|
122
|
+
conversationCtx.effect(() => () => controller.attachComposerBlocks(null), "dsmm: profile composer block lifetime");
|
|
123
|
+
});
|
|
110
124
|
profileCtx.slots.inject("settings.section", () => profileCtx.slots.register({
|
|
111
125
|
name: "settings.section", id: "dsmm-profiles", order: 30,
|
|
112
126
|
label: () => t("title"), locale: NS,
|
|
@@ -158,7 +172,6 @@ export async function apply(ctx) {
|
|
|
158
172
|
modelCtx.effect(() => () => controller.attachModelInteractionSource(null, null), "dsmm: native model interaction withdrawal");
|
|
159
173
|
});
|
|
160
174
|
});
|
|
161
|
-
void controller.refresh();
|
|
162
175
|
});
|
|
163
176
|
}
|
|
164
177
|
//# sourceMappingURL=index.js.map
|
package/lib/client/locales.d.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
export declare const NS = "settings.dsmm-profiles";
|
|
2
2
|
export declare const en: {
|
|
3
|
+
sessionChooseWorkspace: string;
|
|
4
|
+
sessionSelectionBlock: string;
|
|
5
|
+
sessionCommittedRefresh: string;
|
|
6
|
+
sessionUnconfirmedRefresh: string;
|
|
7
|
+
technicalDetails: string;
|
|
3
8
|
diagnosticJsonc: string;
|
|
4
9
|
diagnosticDuplicate: string;
|
|
5
10
|
diagnosticUnsafe: string;
|
|
@@ -146,6 +151,7 @@ export declare const en: {
|
|
|
146
151
|
headerModelUnconfirmed: string;
|
|
147
152
|
headerAppliedWithModel: string;
|
|
148
153
|
headerModelChoiceChanged: string;
|
|
154
|
+
headerActionUnavailable: string;
|
|
149
155
|
headerActivationRefused: string;
|
|
150
156
|
headerSelectionRefused: string;
|
|
151
157
|
headerIssueCode: string;
|
package/lib/client/locales.js
CHANGED
|
@@ -1,133 +1,145 @@
|
|
|
1
1
|
export const NS = "settings.dsmm-profiles";
|
|
2
2
|
export const en = {
|
|
3
|
+
sessionChooseWorkspace: "Choose a workspace to start a blank session, then choose its configuration before sending.",
|
|
4
|
+
sessionSelectionBlock: "DSMM session configuration is being confirmed. Wait for selection to finish, or refresh its state.",
|
|
5
|
+
sessionCommittedRefresh: "Session configuration saved. Refresh to confirm it; do not apply again.",
|
|
6
|
+
sessionUnconfirmedRefresh: "Session configuration result unconfirmed. Refresh its state before selecting or sending; do not retry the change.",
|
|
7
|
+
technicalDetails: "Technical details",
|
|
3
8
|
diagnosticJsonc: "Correct the JSONC syntax at the indicated location.", diagnosticDuplicate: "Remove the duplicate field at this location.", diagnosticUnsafe: "Unsafe object keys are not supported; remove this field.", diagnosticUnknown: "Remove this unsupported field. Private and installation configuration belongs in native deployment settings.", diagnosticDeprecated: "This retired field is rejected. Configure explicit role levels instead; no migration is performed.", diagnosticType: "Use the declared field type and bounded value.", diagnosticValue: "Choose an explicitly supported value. Output-language choices are shown in the structured language field.", diagnosticRoute: "Use a complete provider/model route or a nonempty exact-effort override.", diagnosticRequired: "This role is required by the selected Deepwork policy and cannot be disabled.", diagnosticCeiling: "A named profile cannot enable capabilities outside its captured startup/deployment ceiling.",
|
|
4
|
-
browseZone: "
|
|
9
|
+
browseZone: "Saved profiles", editZone: "Edit profile", savedRevision: "Saved version: {revision}", savedInventory: "Profile warnings and errors", futurePin: "Default selection version: {revision}", noEditor: "Choose a profile or create one to edit.",
|
|
5
10
|
warningMarker: "Warning · nonblocking · {code} · {field}", blockingMarker: "Blocked · {code} · {field}", blankLabelWarning: "The label is blank. The profile ID is used for display; the original document can still be saved and selected.", diagnosticLocation: "JSONC line {line}, column {column}.",
|
|
6
|
-
savedWarnings: "Saved
|
|
7
|
-
omitLabel: "
|
|
8
|
-
toolTopology: "Subagent
|
|
9
|
-
levelName: "Invocation level: {level}", levelMode: "{level} override", levelUnconfigured: "
|
|
10
|
-
namedRole: "{name}
|
|
11
|
-
admittedRoles: "
|
|
12
|
-
centralOrigin: "
|
|
11
|
+
savedWarnings: "Saved profile warnings", draftWarnings: "Draft warnings", futureWarnings: "New-session default warnings", admissionWarnings: "Current-session warnings", warningProfile: "warning (nonblocking)",
|
|
12
|
+
omitLabel: "Use ID as display name", businessLocale: "Default output language", inheritLocale: "Use deployment or native language", unsupportedLocale: "Unsupported language — choose an allowed value", localeHint: "User requests take priority. Interface language stays unchanged.",
|
|
13
|
+
toolTopology: "Subagent tools", topologyHint: "per-role: one tool per role plus a category tool. parameterized: choose the role or category in the tool arguments.",
|
|
14
|
+
levelName: "Invocation level: {level}", levelMode: "{level} override", levelUnconfigured: "Use deployment level", levelEffortOnly: "Reasoning effort only", levelFullRoute: "Provider, model and effort", normalLevel: "normal · default route", orchestratorLevels: "Invocation levels are unavailable for the main orchestrator.", levelsHint: "Unconfigured levels cannot be used. Effort-only keeps the configured model; a full route replaces both model and effort.",
|
|
15
|
+
namedRole: "Enable {name}", namedRoleHint: "Required roles must stay enabled. Roles blocked by deployment settings cannot be enabled here.", availabilityUnknown: "Role availability is unknown. Refresh before changing it.", roleRequired: "Required role · {reason}", roleOptional: "Optional role", roleCeiling: "Startup: {startup}; deployment: {deployment}; captured admission: {admitted}.", roleProvenance: "Source: {source}; capture: {capture}.", roleUnavailableReason: "Availability reason: {reason}.",
|
|
16
|
+
admittedRoles: "Role availability", bindingUnknown: "Subagent readiness is unknown. Refresh to check.", bindingState: "Subagent execution ready: {ready}; restart required: {restart}.", bindingReason: "Reason: {reason}.", sessionModelHint: "Selecting a profile keeps your current model. Use profile model changes it explicitly.", savedOnlyHint: "Save changes before selecting this profile.",
|
|
17
|
+
centralOrigin: "Shared profile storage.", legacyOrigin: "Legacy profile storage (read-only).", explicitOrigin: "Custom profile storage.", readOnlyOrigin: "These legacy profiles are read-only.",
|
|
13
18
|
headerCompactProfiles: "Profiles · keep model", headerCompactRefresh: "Refresh", headerNoSession: "Select a session to make changes.",
|
|
14
|
-
sessionNewRequired: "
|
|
15
|
-
sessionModuleOff: "Deepwork is unavailable
|
|
19
|
+
sessionNewRequired: "Start a new session to change its profile. You can still save profiles and set the new-session default.",
|
|
20
|
+
sessionModuleOff: "Deepwork is unavailable in this session.",
|
|
16
21
|
headerModeEnable: "Enable Deepwork", headerModeDisable: "Disable Deepwork", headerModePreset: "Deepwork · DW preset", headerModeUnavailable: "Deepwork unavailable", headerModeOn: "Deepwork enabled.", headerModeOff: "Deepwork disabled.", headerUseCurrentModel: "Use profile model",
|
|
17
|
-
title: "Deepwork Profiles", description: "Save
|
|
18
|
-
newSessions: "
|
|
22
|
+
title: "Deepwork Profiles", description: "Save configurations and choose a default for new sessions.",
|
|
23
|
+
newSessions: "Choose a saved profile for new sessions. Existing sessions stay unchanged.",
|
|
19
24
|
editorSelect: "Profile to edit", choose: "Choose a profile", newDraft: "New unsaved profile", new: "New profile",
|
|
20
|
-
profileId: "Profile ID
|
|
21
|
-
configuration: "
|
|
22
|
-
structuralHint: "
|
|
23
|
-
save: "Save
|
|
25
|
+
profileId: "Profile ID", idHint: "1–64 lowercase letters, digits, hyphens or underscores. Cannot be changed after saving.",
|
|
26
|
+
configuration: "Configuration (JSONC)", configurationHint: "Use version: 1, the ID shown above, and settings. An optional label sets the display name.",
|
|
27
|
+
structuralHint: "Permissions, accounts and plugins are managed in application settings. Never paste passwords or keys.",
|
|
28
|
+
save: "Save", saving: "Saving…", apply: "Set as new-session default", applying: "Setting default…", reset: "Use default configuration", resetting: "Restoring default…",
|
|
24
29
|
refresh: "Refresh profiles", refreshing: "Refreshing profiles…", reload: "Reload saved profile", loading: "Loading profiles…", reading: "Reading profile…",
|
|
25
|
-
empty: "No saved profiles
|
|
26
|
-
baseline: "
|
|
27
|
-
appliedInvalid: "
|
|
28
|
-
selectionConflict: "The
|
|
29
|
-
dirty: "
|
|
30
|
-
versionObserved: "
|
|
31
|
-
saved: "Saved {id}.
|
|
30
|
+
empty: "No saved profiles. Create one to get started.",
|
|
31
|
+
baseline: "Default configuration", appliedProfile: "{id}",
|
|
32
|
+
appliedInvalid: "Default selection is unconfirmed. Resolve the error below and refresh before changing it. Existing sessions stay unchanged.",
|
|
33
|
+
selectionConflict: "The default changed elsewhere. This Host still uses the selection shown above. Select a saved profile or use default configuration to update it. Restarting adopts the stored selection.",
|
|
34
|
+
dirty: "Unsaved changes. Save or discard before selecting this profile.", savedNotApplied: "Saved; this version is not the new-session default.", savedApplied: "Saved; this version is the new-session default.",
|
|
35
|
+
versionObserved: "Available", versionAbsent: "Not saved", versionUnknown: "Unknown", savedRelationshipUnknown: "Saved; refresh to check the new-session default.", savedRefreshRequired: "Saved. Reload before editing or selecting again.",
|
|
36
|
+
saved: "Saved {id}.", applied: "New sessions will use {id}. Existing sessions stay unchanged.", resetDone: "New sessions will use default configuration. Existing sessions stay unchanged.",
|
|
32
37
|
discardPrompt: "Discard the unsaved draft before changing the editor?", discard: "Discard changes", cancel: "Cancel",
|
|
33
38
|
conflict: "The saved file or selection changed elsewhere. Your draft and the prior selection were kept. Refresh profiles, then reload the saved profile or review your draft before retrying.",
|
|
34
39
|
validation: "This profile is not valid. Correct the field below; your draft is unchanged.",
|
|
35
|
-
io: "
|
|
36
|
-
unavailable: "
|
|
37
|
-
transport: "
|
|
38
|
-
invalidProfile: "Unavailable profile: {id}", details: "
|
|
39
|
-
globalScope: "
|
|
40
|
+
io: "Could not save. Your draft is kept. Check configuration storage access and retry.",
|
|
41
|
+
unavailable: "Configuration service unavailable. Your draft is kept. Reconnect and refresh.",
|
|
42
|
+
transport: "Connection interrupted; the result is unconfirmed. Your draft is kept. Refresh before retrying.",
|
|
43
|
+
invalidProfile: "Unavailable profile: {id}", details: "Error details", retry: "Resolve the issue shown, refresh and retry.",
|
|
44
|
+
globalScope: "New-session default configuration", sessionScope: "Current-session configuration", sessionSelect: "Current-session configuration",
|
|
40
45
|
globalActionHint: "Set as future default selects only the saved revision for future sessions. It does not apply to the current session.",
|
|
41
|
-
headerProfile: "Profile", headerProfileLabel: "Current-session
|
|
42
|
-
headerLoading: "Loading profile…", headerApplying: "Applying profile…", headerApplied: "Profile applied.", headerBusy: "Session is busy.", headerUnavailable: "Profile unavailable.", headerDraft: "Save or discard the draft in Settings.", headerConflict: "The session
|
|
46
|
+
headerProfile: "Profile", headerProfileLabel: "Current-session configuration", headerCaptured: "Current configuration · profile unknown", headerSavedUnavailable: "Saved profile unavailable", headerCurrentProfile: "Current profile: {profile}", headerRefresh: "Refresh profiles and session state", headerUseModelAction: "Use profile model: {profile}",
|
|
47
|
+
headerLoading: "Loading profile…", headerApplying: "Applying profile…", headerApplied: "Profile applied.", headerBusy: "Session is busy.", headerUnavailable: "Profile unavailable.", headerDraft: "Save or discard the draft in Settings.", headerConflict: "The session configuration changed elsewhere. Refresh before retrying.", headerRefused: "Profile change unconfirmed. Check Settings.",
|
|
43
48
|
headerKeepModelGroup: "Switch profile — keep current model", headerUseModelGroup: "Switch and use profile model", headerModelDefaultHint: "Normal switching preserves the current model. Explicit switch-and-use-model also saves the native model default, like the Models tab.",
|
|
44
|
-
headerNoProfileModel: "
|
|
45
|
-
headerModelChoiceChanged: "
|
|
49
|
+
headerNoProfileModel: "No model is set for this configuration.", headerModelUnconfirmed: "Model change unconfirmed. Check model settings.", headerAppliedWithModel: "Configuration and model applied.",
|
|
50
|
+
headerModelChoiceChanged: "Your newer model selection was kept.",
|
|
51
|
+
headerActionUnavailable: "This action is unavailable. Refresh to check again.",
|
|
46
52
|
headerActivationRefused: "Profile activation was refused. Check its configuration and native model catalog.", headerSelectionRefused: "The profile change could not be confirmed.", headerIssueCode: "Reason: {code}.", headerIssueField: "Configuration field: {field}.", headerRetryHint: "Refresh profiles and current-session state, resolve the indicated issue in Settings or native Models, then retry when the session is idle.",
|
|
47
|
-
headerMaintenanceRefused: "
|
|
48
|
-
noSession: "
|
|
49
|
-
sessionUnavailable: "
|
|
50
|
-
sessionBusy: "
|
|
51
|
-
sessionState: "
|
|
52
|
-
sessionGlobalCaptured: "
|
|
53
|
-
sessionAdmittedProfile: "{id}
|
|
54
|
-
sessionConflict: "The session
|
|
55
|
-
sessionApply: "
|
|
56
|
-
sessionApplied: "Applied
|
|
53
|
+
headerMaintenanceRefused: "Another session operation is in progress. Try again shortly.", headerBusyRefused: "The session is running. Try again when it finishes.", headerCancelledRefused: "Operation cancelled. Refresh to confirm the current configuration.", headerUnavailableRefused: "Cannot read the session configuration. Reconnect and refresh.", headerWaitRetryHint: "Refresh and retry when the session is ready.",
|
|
54
|
+
noSession: "Select a session to change its configuration.",
|
|
55
|
+
sessionUnavailable: "Cannot confirm the current session. Refresh before retrying.",
|
|
56
|
+
sessionBusy: "Cannot switch: {reason}. Wait for the session to be idle, then retry.",
|
|
57
|
+
sessionState: "{profile}", sessionBaseline: "Default configuration",
|
|
58
|
+
sessionGlobalCaptured: "Current configuration (profile unknown)",
|
|
59
|
+
sessionAdmittedProfile: "{id}", sessionFutureDefault: "New-session default configuration: {profile}.",
|
|
60
|
+
sessionConflict: "The session configuration changed elsewhere. Your draft is kept. Refresh before retrying.",
|
|
61
|
+
sessionApply: "Use this profile", sessionApplying: "Applying…", sessionReset: "Use default configuration", sessionResetting: "Restoring default…", sessionRefresh: "Refresh session state",
|
|
62
|
+
sessionApplied: "Applied to this session only. New-session default and existing children stay unchanged.", sessionResetDone: "This session uses default configuration. New-session default stays unchanged.",
|
|
57
63
|
sessionAppliedWithModel: "Applied this session profile and explicitly selected its native main model. Native model-default persistence follows the Models tab; the global profile default was not changed.",
|
|
58
64
|
sessionDirty: "Save or explicitly discard the editor draft before applying a current-session choice.",
|
|
59
65
|
roleState: "Admitted route {route}; strategy {strategy}; retries {retries}; rate-limit failures {failures}; switches {switches}; total delay {delay} ms.",
|
|
60
|
-
catalogTitle: "
|
|
66
|
+
catalogTitle: "Model catalog", catalogHint: "You can enter models that are not listed.",
|
|
61
67
|
catalogUnavailable: "The native catalog is unavailable. Manual provider/model/effort fields and advanced JSONC remain available.", catalogRefresh: "Refresh model catalog", catalogRefreshing: "Refreshing model catalog…", catalogFailure: "Provider catalog unavailable: {name} ({id}).",
|
|
62
68
|
profileLabel: "Profile display label", defaultActive: "Default Deepwork mode", activeHint: "This default does not erase an explicit saved session mode.", enabled: "Enabled", disabled: "Disabled", inherit: "Inherit deployment baseline",
|
|
63
|
-
profileDefaults: "
|
|
64
|
-
strategy: "{name} strategy", inheritStrategy: "Inherit ({value})", startupLock: "
|
|
65
|
-
strategyHint: "
|
|
69
|
+
profileDefaults: "Configuration defaults", roleSelect: "Agent role to edit", rolesUnavailable: "Role list unavailable. Refresh or use the advanced editor.", roleEnabled: "Enabled in application settings", roleDisabled: "Disabled in application settings",
|
|
70
|
+
strategy: "{name} strategy", inheritStrategy: "Inherit ({value})", startupLock: "Keep the starting route", rateFallback: "Switch after repeated rate limits",
|
|
71
|
+
strategyHint: "Model switches require a rate-limit failure with no output. Authentication and quota errors stop the attempt. Leave numbers blank to inherit; zero is explicit.",
|
|
66
72
|
retryField: "{name} {field}", inheritNumber: "Inherit {value}", retryBounds: "Integer {min}–{max}; inherited value {value}.", unknownDefault: "unavailable",
|
|
67
73
|
retryCount: "retry count", initialDelay: "initial delay (ms)", maxDelay: "maximum delay (ms)", totalWait: "total wait budget (ms)", switchThreshold: "rate-limit failures before switch", maxSwitches: "maximum switches",
|
|
68
74
|
primaryMode: "{name} primary route", inheritRoute: "Inherit native/deployment route", configuredRoute: "Configure primary route", primaryName: "{name} primary",
|
|
69
75
|
fallbackMode: "{name} fallback chain", inheritChain: "Inherit deployment fallback chain", configuredChain: "Explicit ordered fallback chain", emptyChain: "Explicitly empty chain: no configured fallback routes.", fallbackName: "{name} fallback {index}", addFallback: "Add fallback for {name}", removeFallback: "Remove {name}", moveUp: "Move up {name}", moveDown: "Move down {name}",
|
|
70
76
|
routeProvider: "{name} provider", routeModel: "{name} model", routeEffort: "{name} exact effort", manualProvider: "{name} manual provider", manualModel: "{name} manual model", manualEffort: "{name} manual exact effort", manual: "Enter manual identifier", manualValue: "Manual / unlisted: {value}", unset: "not set", effortDefault: "Native default (omit exact effort)", effortChangeHint: "Changing a provider/model explicitly clears that route's exact effort. Catalog refresh preserves all configured values; choose an exact effort again if required.",
|
|
71
|
-
advanced: "Advanced JSONC", rawInvalid: "
|
|
77
|
+
advanced: "Advanced JSONC", rawInvalid: "Correct the invalid draft in Advanced JSONC to use these controls. Your draft is kept.", invalidNumber: "Enter a whole number within the limits before saving or changing roles.",
|
|
72
78
|
};
|
|
73
79
|
export const zh = {
|
|
80
|
+
sessionChooseWorkspace: "请先选择工作区创建空白会话,再选择本次配置后发送。",
|
|
81
|
+
sessionSelectionBlock: "正在确认 DSMM 本次会话配置。请等待选择完成,或刷新会话状态。",
|
|
82
|
+
sessionCommittedRefresh: "本次会话配置已保存,请刷新确认,不要再次应用。",
|
|
83
|
+
sessionUnconfirmedRefresh: "本次会话配置结果待确认。请刷新状态后再选择或发送,不要重试更改。",
|
|
84
|
+
technicalDetails: "技术详情",
|
|
74
85
|
diagnosticJsonc: "请修正所示位置的 JSONC 语法。", diagnosticDuplicate: "请删除此位置的重复字段。", diagnosticUnsafe: "不支持不安全对象键,请删除此字段。", diagnosticUnknown: "请删除不支持的字段。私有及安装配置应放在原生部署设置中。", diagnosticDeprecated: "此已退休字段被拒绝,请改用明确的角色调用等级,不自动迁移。", diagnosticType: "请使用声明的字段类型和有界数值。", diagnosticValue: "请选择明确支持的值。允许的输出语言见结构化语言字段。", diagnosticRoute: "请提供完整提供商与模型路由,或非空精确强度覆盖。", diagnosticRequired: "所选 Deepwork 策略要求此角色,不可禁用。", diagnosticCeiling: "具名配置档不能启用超出已捕获启动或部署上限的能力。",
|
|
75
|
-
browseZone: "
|
|
86
|
+
browseZone: "已保存配置", editZone: "编辑配置", savedRevision: "保存版本:{revision}", savedInventory: "配置警告与错误", futurePin: "默认选择版本:{revision}", noEditor: "选择配置或新建配置后编辑。",
|
|
76
87
|
warningMarker: "警告 · 不阻断 · {code} · {field}", blockingMarker: "已阻断 · {code} · {field}", blankLabelWarning: "显示名称为空,使用配置档 ID 显示。原文仍可保存和选择。", diagnosticLocation: "JSONC 第 {line} 行,第 {column} 列。",
|
|
77
|
-
savedWarnings: "
|
|
78
|
-
omitLabel: "使用 ID
|
|
79
|
-
toolTopology: "
|
|
80
|
-
levelName: "
|
|
81
|
-
namedRole: "{name}
|
|
82
|
-
admittedRoles: "
|
|
83
|
-
centralOrigin: "
|
|
88
|
+
savedWarnings: "已保存配置的警告", draftWarnings: "草稿警告", futureWarnings: "新会话默认配置的警告", admissionWarnings: "本次会话的警告", warningProfile: "警告(不阻断)",
|
|
89
|
+
omitLabel: "使用 ID 作为显示名称", businessLocale: "默认输出语言", inheritLocale: "使用部署或原生语言", unsupportedLocale: "语言不受支持,请选择允许值", localeHint: "用户明确要求的语言优先,界面语言不变。",
|
|
90
|
+
toolTopology: "子代理工具", topologyHint: "per-role:每个角色一个工具,另有类别工具。parameterized:通过工具参数选择角色或类别。",
|
|
91
|
+
levelName: "调用等级:{level}", levelMode: "{level} 覆盖", levelUnconfigured: "使用部署等级", levelEffortOnly: "仅推理强度", levelFullRoute: "提供商、模型与强度", normalLevel: "normal · 默认路由", orchestratorLevels: "主 orchestrator 不支持调用等级。", levelsHint: "未配置的等级不可使用。仅强度覆盖保留配置中的模型;完整路由同时替换模型和强度。",
|
|
92
|
+
namedRole: "启用 {name}", namedRoleHint: "必需角色必须保持启用;部署设置禁止的角色无法在此启用。", availabilityUnknown: "角色可用性未知,请刷新后再更改。", roleRequired: "必需角色 · {reason}", roleOptional: "可选角色", roleCeiling: "启动:{startup};部署:{deployment};捕获准入:{admitted}。", roleProvenance: "来源:{source};捕获:{capture}。", roleUnavailableReason: "可用性原因:{reason}。",
|
|
93
|
+
admittedRoles: "角色可用性", bindingUnknown: "子代理就绪状态未知,请刷新确认。", bindingState: "子代理执行就绪:{ready};需重启:{restart}。", bindingReason: "原因:{reason}。", sessionModelHint: "选择配置时保留当前模型;「使用配置中的模型」会明确切换模型。", savedOnlyHint: "选择此配置前请保存更改。",
|
|
94
|
+
centralOrigin: "共享配置存储。", legacyOrigin: "旧配置存储(只读)。", explicitOrigin: "自定义配置存储。", readOnlyOrigin: "这些旧配置只读。",
|
|
84
95
|
headerCompactProfiles: "配置档 · 保留模型", headerCompactRefresh: "刷新", headerNoSession: "选择会话后可更改。",
|
|
85
|
-
sessionNewRequired: "
|
|
86
|
-
sessionModuleOff: "
|
|
87
|
-
headerModeEnable: "启用 Deepwork", headerModeDisable: "关闭 Deepwork", headerModePreset: "Deepwork · DW 预设", headerModeUnavailable: "Deepwork 不可用", headerModeOn: "Deepwork 已启用。", headerModeOff: "Deepwork 已关闭。", headerUseCurrentModel: "
|
|
88
|
-
title: "Deepwork
|
|
89
|
-
newSessions: "
|
|
90
|
-
editorSelect: "
|
|
91
|
-
profileId: "
|
|
92
|
-
configuration: "
|
|
93
|
-
structuralHint: "
|
|
94
|
-
save: "
|
|
95
|
-
refresh: "
|
|
96
|
-
empty: "
|
|
97
|
-
baseline: "
|
|
98
|
-
appliedInvalid: "
|
|
99
|
-
selectionConflict: "
|
|
100
|
-
dirty: "
|
|
101
|
-
versionObserved: "
|
|
102
|
-
saved: "已保存 {id}
|
|
96
|
+
sessionNewRequired: "请新建会话后选择配置。仍可保存配置或设置新会话默认配置。",
|
|
97
|
+
sessionModuleOff: "此会话无法使用 Deepwork。",
|
|
98
|
+
headerModeEnable: "启用 Deepwork", headerModeDisable: "关闭 Deepwork", headerModePreset: "Deepwork · DW 预设", headerModeUnavailable: "Deepwork 不可用", headerModeOn: "Deepwork 已启用。", headerModeOff: "Deepwork 已关闭。", headerUseCurrentModel: "使用配置中的模型",
|
|
99
|
+
title: "Deepwork 配置", description: "保存配置并选择新会话的默认配置。",
|
|
100
|
+
newSessions: "选择已保存的配置供新会话使用,已有会话不变。",
|
|
101
|
+
editorSelect: "要编辑的配置", choose: "选择配置", newDraft: "未保存的新配置", new: "新建配置",
|
|
102
|
+
profileId: "配置 ID", idHint: "1–64 个小写字母、数字、连字符或下划线,保存后不可修改。",
|
|
103
|
+
configuration: "配置内容(JSONC)", configurationHint: "使用 version: 1、与上方一致的 id,以及 settings;label 可填写显示名称。",
|
|
104
|
+
structuralHint: "权限、账户、插件等由应用设置管理。请勿粘贴密码或密钥。",
|
|
105
|
+
save: "保存", saving: "正在保存…", apply: "设为新会话默认配置", applying: "正在设置默认配置…", reset: "使用默认配置", resetting: "正在恢复默认配置…",
|
|
106
|
+
refresh: "刷新配置", refreshing: "正在刷新…", reload: "重新加载已保存配置", loading: "正在加载…", reading: "正在读取…",
|
|
107
|
+
empty: "尚无已保存的配置,请先新建配置。",
|
|
108
|
+
baseline: "默认配置", appliedProfile: "{id}",
|
|
109
|
+
appliedInvalid: "默认选择未确认,请解决下方错误并刷新后再更改。已有会话不变。",
|
|
110
|
+
selectionConflict: "默认选择已在其他位置改变,此宿主仍使用上方选择。请选择已保存的配置或使用默认配置进行更新;重启将采用存储中的选择。",
|
|
111
|
+
dirty: "有未保存的更改,选择此配置前请保存或丢弃。", savedNotApplied: "已保存,此版本尚未设为新会话默认配置。", savedApplied: "已保存,此版本已设为新会话默认配置。",
|
|
112
|
+
versionObserved: "可用", versionAbsent: "未保存", versionUnknown: "未知", savedRelationshipUnknown: "已保存,请刷新确认新会话默认配置。", savedRefreshRequired: "已保存,请重新加载后再编辑或选择。",
|
|
113
|
+
saved: "已保存 {id}。", applied: "新会话将使用 {id},已有会话不变。", resetDone: "新会话将使用默认配置,已有会话不变。",
|
|
103
114
|
discardPrompt: "切换编辑器之前,是否丢弃未保存的草稿?", discard: "丢弃更改", cancel: "取消",
|
|
104
115
|
conflict: "已保存文件或选择已被其他操作修改。草稿和原选择已保留。请刷新配置档,然后重新加载已保存配置档或检查草稿后重试。",
|
|
105
116
|
validation: "此配置档无效。请修正下方字段;草稿未改变。",
|
|
106
|
-
io: "
|
|
107
|
-
unavailable: "
|
|
108
|
-
transport: "
|
|
109
|
-
invalidProfile: "
|
|
110
|
-
globalScope: "
|
|
117
|
+
io: "无法保存。草稿已保留,请检查配置存储权限后重试。",
|
|
118
|
+
unavailable: "配置服务暂不可用。草稿已保留,请重新连接后刷新。",
|
|
119
|
+
transport: "连接中断,操作结果待确认。草稿已保留,请先刷新状态。",
|
|
120
|
+
invalidProfile: "配置不可用:{id}", details: "错误详情", retry: "请处理所示问题,刷新后重试。",
|
|
121
|
+
globalScope: "新会话默认配置", sessionScope: "本次会话配置", sessionSelect: "本次会话配置",
|
|
111
122
|
globalActionHint: "「设为未来默认」只为未来会话选择已保存修订,不应用到当前会话。",
|
|
112
|
-
headerProfile: "
|
|
113
|
-
headerLoading: "
|
|
114
|
-
headerKeepModelGroup: "
|
|
115
|
-
headerModelChoiceChanged: "
|
|
123
|
+
headerProfile: "配置", headerProfileLabel: "本次会话配置", headerCaptured: "当前配置 · 来源未知", headerSavedUnavailable: "已保存的配置不可用", headerCurrentProfile: "本次配置:{profile}", headerRefresh: "刷新配置和会话状态", headerUseModelAction: "使用配置中的模型:{profile}",
|
|
124
|
+
headerLoading: "加载配置…", headerApplying: "应用配置…", headerApplied: "配置已应用。", headerBusy: "会话忙碌。", headerUnavailable: "配置不可用。", headerDraft: "请在设置中保存或丢弃草稿。", headerConflict: "会话配置已在其他位置改变,请刷新后重试。", headerRefused: "配置更改未确认,请检查设置。",
|
|
125
|
+
headerKeepModelGroup: "切换配置,保留当前模型", headerUseModelGroup: "切换配置和模型", headerModelDefaultHint: "使用配置中的模型也会更新默认模型。", headerNoProfileModel: "此配置未指定模型。", headerModelUnconfirmed: "模型更改尚未确认,请检查模型设置。", headerAppliedWithModel: "配置和模型已应用。",
|
|
126
|
+
headerModelChoiceChanged: "已保留你最新选择的模型。",
|
|
127
|
+
headerActionUnavailable: "此操作暂不可用,请刷新确认。",
|
|
116
128
|
headerActivationRefused: "配置档启用被拒绝,请检查其配置和原生模型目录。", headerSelectionRefused: "无法确认配置档更改。", headerIssueCode: "原因:{code}。", headerIssueField: "配置字段:{field}。", headerRetryHint: "请刷新配置档和当前会话状态,在设置或原生模型页解决所示问题,然后在会话空闲时重试。",
|
|
117
|
-
headerMaintenanceRefused: "
|
|
118
|
-
noSession: "
|
|
119
|
-
sessionGlobalCaptured: "
|
|
120
|
-
sessionAdmittedProfile: "{id}
|
|
121
|
-
sessionConflict: "
|
|
122
|
-
sessionApply: "
|
|
129
|
+
headerMaintenanceRefused: "会话正在处理其他操作,请稍后重试。", headerBusyRefused: "会话正在运行,请结束后重试。", headerCancelledRefused: "操作已取消,请刷新以确认当前配置。", headerUnavailableRefused: "无法读取会话配置,请重新连接后刷新。", headerWaitRetryHint: "请稍后刷新并重试。",
|
|
130
|
+
noSession: "选择会话后可更改配置。", sessionUnavailable: "无法确认当前会话,请刷新后重试。", sessionBusy: "暂不可切换:{reason}。请等待会话空闲后重试。", sessionState: "{profile}", sessionBaseline: "默认配置",
|
|
131
|
+
sessionGlobalCaptured: "当前配置(来源未知)",
|
|
132
|
+
sessionAdmittedProfile: "{id}", sessionFutureDefault: "新会话默认配置:{profile}。",
|
|
133
|
+
sessionConflict: "会话配置已在其他位置改变,草稿已保留。请刷新后重试。",
|
|
134
|
+
sessionApply: "使用此配置", sessionApplying: "正在应用…", sessionReset: "使用默认配置", sessionResetting: "正在恢复默认配置…", sessionRefresh: "刷新会话状态", sessionApplied: "已应用到本次会话,新会话默认配置和已有子会话不变。", sessionResetDone: "本次会话已使用默认配置,新会话默认配置不变。", sessionDirty: "选择本次会话配置前,请保存或丢弃草稿。",
|
|
123
135
|
sessionAppliedWithModel: "已应用此会话配置档,并明确选择其原生主模型。模型默认值像模型页一样保存;全局配置档默认值未改变。",
|
|
124
136
|
roleState: "准入路由 {route};策略 {strategy};重试 {retries};限流失败 {failures};切换 {switches};累计延迟 {delay} 毫秒。",
|
|
125
|
-
catalogTitle: "
|
|
126
|
-
profileLabel: "
|
|
127
|
-
strategy: "{name} 策略", inheritStrategy: "继承({value})", startupLock: "
|
|
137
|
+
catalogTitle: "模型目录", catalogHint: "可手动输入目录中未列出的模型。", catalogUnavailable: "模型目录不可用,可手动输入提供商、模型和推理强度。", catalogRefresh: "刷新模型目录", catalogRefreshing: "正在刷新模型目录…", catalogFailure: "提供商目录不可用:{name}({id})。",
|
|
138
|
+
profileLabel: "配置名称", defaultActive: "默认 Deepwork 模式", activeHint: "会话中明确选择的模式优先。", enabled: "启用", disabled: "禁用", inherit: "使用上层设置", profileDefaults: "配置默认值", roleSelect: "要编辑的角色", rolesUnavailable: "角色列表暂不可用,请刷新或使用高级编辑器。", roleEnabled: "应用设置已启用", roleDisabled: "应用设置已禁用",
|
|
139
|
+
strategy: "{name} 策略", inheritStrategy: "继承({value})", startupLock: "保留起始路由", rateFallback: "多次限流后切换", strategyHint: "仅在限流且没有输出时切换模型;认证或配额错误会停止尝试。数字留空表示继承,零为明确值。", retryField: "{name} {field}", inheritNumber: "继承 {value}", retryBounds: "整数 {min}–{max};继承值 {value}。", unknownDefault: "不可用",
|
|
128
140
|
retryCount: "重试次数", initialDelay: "初始延迟(毫秒)", maxDelay: "最大单次延迟(毫秒)", totalWait: "累计等待上限(毫秒)", switchThreshold: "切换前的限流失败次数", maxSwitches: "最大切换次数",
|
|
129
141
|
primaryMode: "{name} 主路由", inheritRoute: "继承原生或部署路由", configuredRoute: "配置主路由", primaryName: "{name} 主路由", fallbackMode: "{name} 备用链", inheritChain: "继承部署备用链", configuredChain: "明确的有序备用链", emptyChain: "明确为空的备用链:没有已配置备用路由。", fallbackName: "{name} 备用 {index}", addFallback: "为 {name} 添加备用路由", removeFallback: "移除 {name}", moveUp: "上移 {name}", moveDown: "下移 {name}",
|
|
130
|
-
routeProvider: "{name} 提供商", routeModel: "{name} 模型", routeEffort: "{name} 精确强度", manualProvider: "{name} 手动提供商", manualModel: "{name} 手动模型", manualEffort: "{name} 手动精确强度", manual: "输入手动标识", manualValue: "手动或未列出:{value}", unset: "未设置", effortDefault: "原生默认值(省略精确强度)", effortChangeHint: "
|
|
142
|
+
routeProvider: "{name} 提供商", routeModel: "{name} 模型", routeEffort: "{name} 精确强度", manualProvider: "{name} 手动提供商", manualModel: "{name} 手动模型", manualEffort: "{name} 手动精确强度", manual: "输入手动标识", manualValue: "手动或未列出:{value}", unset: "未设置", effortDefault: "原生默认值(省略精确强度)", effortChangeHint: "更改提供商或模型会清除该路由的推理强度,需要时请重新选择。", advanced: "高级 JSONC", rawInvalid: "请在高级 JSONC 中修正草稿后使用这些控件,草稿已保留。", invalidNumber: "保存或切换角色前,请输入范围内的整数。",
|
|
131
143
|
};
|
|
132
144
|
export const RETRY_FIELD_LABEL_KEYS = {
|
|
133
145
|
maxRetries: "retryCount", initialDelayMs: "initialDelay", maxDelayMs: "maxDelay",
|
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
export declare const PERMISSIONS_NS = "settings.dsmm-permissions";
|
|
2
2
|
export declare const permissionEn: {
|
|
3
|
+
childPermissions: string;
|
|
4
|
+
childEnable: string;
|
|
5
|
+
childRevoke: string;
|
|
6
|
+
childPermissionBoundary: string;
|
|
7
|
+
childUnavailable: string;
|
|
8
|
+
childNoPending: string;
|
|
9
|
+
childEnabled: string;
|
|
10
|
+
childDisabled: string;
|
|
11
|
+
childUnconfirmed: string;
|
|
12
|
+
childProject: string;
|
|
13
|
+
childRole: string;
|
|
14
|
+
childReadOnly: string;
|
|
15
|
+
temporaryChildSession: string;
|
|
16
|
+
temporaryWebBoundary: string;
|
|
17
|
+
temporaryTitle: string;
|
|
18
|
+
temporaryDuration: string;
|
|
19
|
+
temporaryApprove: string;
|
|
20
|
+
temporaryRevoke: string;
|
|
21
|
+
temporaryRefresh: string;
|
|
22
|
+
temporaryEmpty: string;
|
|
23
|
+
"temporary:once": string;
|
|
24
|
+
"temporary:session": string;
|
|
25
|
+
"temporary:15min": string;
|
|
26
|
+
"temporary:1h": string;
|
|
27
|
+
temporaryBoundary: string;
|
|
28
|
+
temporaryUnavailable: string;
|
|
3
29
|
title: string;
|
|
4
30
|
rules: string;
|
|
5
31
|
nativeApproval: string;
|