@dsmm/dsmm 0.2.0 → 0.2.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/README.md +38 -66
- package/agent-presets/dsmm-builder/agent.cordis.yml +10 -2015
- package/agent-presets/dsmm-clarifier/agent.cordis.yml +24 -343
- package/agent-presets/dsmm-code-search/agent.cordis.yml +19 -6
- package/agent-presets/dsmm-coding/agent.cordis.yml +19 -438
- package/agent-presets/dsmm-complex/agent.cordis.yml +23 -1009
- package/agent-presets/dsmm-creative/agent.cordis.yml +25 -442
- package/agent-presets/dsmm-cross-cutting/agent.cordis.yml +29 -1013
- package/agent-presets/dsmm-deep/agent.cordis.yml +24 -1008
- package/agent-presets/dsmm-doc-search/agent.cordis.yml +19 -6
- package/agent-presets/dsmm-documenting/agent.cordis.yml +26 -439
- package/agent-presets/dsmm-frontend/agent.cordis.yml +21 -440
- package/agent-presets/dsmm-hard-reasoning/agent.cordis.yml +22 -441
- package/agent-presets/dsmm-media-reader/agent.cordis.yml +19 -6
- package/agent-presets/dsmm-normal-task/agent.cordis.yml +19 -438
- package/agent-presets/dsmm-oracle/agent.cordis.yml +25 -340
- package/agent-presets/dsmm-oracle-2nd/agent.cordis.yml +25 -340
- package/agent-presets/dsmm-orchestrator/agent.cordis.yml +29 -2025
- package/agent-presets/dsmm-plan-critic/agent.cordis.yml +24 -341
- package/agent-presets/dsmm-planner/agent.cordis.yml +14 -344
- package/agent-presets/dsmm-quick/agent.cordis.yml +19 -6
- package/agent-presets/dsmm-research/agent.cordis.yml +23 -8
- package/agent-presets/dsmm-reviewer/agent.cordis.yml +25 -340
- package/docs/agent-presets.md +36 -52
- package/docs/compatibility.md +50 -108
- package/docs/deferred-native-approval-risk.md +19 -0
- package/docs/design.md +2 -2
- package/docs/lsp.md +11 -21
- package/docs/migration-from-ocmm.md +2 -2
- package/docs/model-routing.md +84 -59
- package/docs/native-permissions.md +35 -0
- package/docs/profiles.md +40 -87
- package/docs/releasing.md +83 -2
- package/docs/roadmap.md +71 -17
- package/docs/settings-status.md +34 -169
- package/docs/skill-sync.md +52 -15
- package/lib/child-admission-contract.d.ts +37 -0
- package/lib/child-admission-contract.js +2 -0
- package/lib/child-admission.d.ts +42 -0
- package/lib/child-admission.js +162 -0
- package/lib/child-capture.d.ts +81 -0
- package/lib/child-capture.js +203 -0
- package/lib/child-evidence.d.ts +17 -0
- package/lib/child-evidence.js +43 -0
- package/lib/client/ChildrenPanel.d.ts +43 -0
- package/lib/client/ChildrenPanel.js +82 -0
- package/lib/client/DeploymentPage.js +15 -8
- package/lib/client/EditableChoice.d.ts +17 -0
- package/lib/client/EditableChoice.js +49 -0
- package/lib/client/PermissionsPanel.d.ts +14 -0
- package/lib/client/PermissionsPanel.js +46 -0
- package/lib/client/ProfilesSection.js +30 -15
- package/lib/client/RoleAvailability.d.ts +7 -0
- package/lib/client/RoleAvailability.js +19 -0
- package/lib/client/SessionProfiles.js +27 -9
- package/lib/client/StructuredEditor.js +15 -7
- package/lib/client/children-controller.d.ts +98 -0
- package/lib/client/children-controller.js +296 -0
- package/lib/client/children-locales.d.ts +367 -0
- package/lib/client/children-locales.js +69 -0
- package/lib/client/controller.d.ts +6 -1
- package/lib/client/controller.js +14 -8
- package/lib/client/deployment-data.d.ts +2 -1
- package/lib/client/deployment-data.js +34 -5
- package/lib/client/deployment-locales.d.ts +4 -0
- package/lib/client/deployment-locales.js +11 -2
- package/lib/client/diagnostics.d.ts +14 -0
- package/lib/client/diagnostics.js +53 -0
- package/lib/client/index.d.ts +4 -0
- package/lib/client/index.js +96 -2
- package/lib/client/locales.d.ts +54 -0
- package/lib/client/locales.js +34 -16
- package/lib/client/permission-client.d.ts +16 -0
- package/lib/client/permission-client.js +38 -0
- package/lib/client/permission-controller.d.ts +62 -0
- package/lib/client/permission-controller.js +149 -0
- package/lib/client/permission-locales.d.ts +114 -0
- package/lib/client/permission-locales.js +75 -0
- package/lib/client/session-labels.js +4 -4
- package/lib/client/structured.js +19 -5
- package/lib/client/styles.d.ts +1 -1
- package/lib/client/styles.js +20 -0
- package/lib/client.js +5780 -1679
- package/lib/core-permission-authority.d.ts +18 -0
- package/lib/core-permission-authority.js +255 -0
- package/lib/core-permissions.d.ts +8 -0
- package/lib/core-permissions.js +33 -0
- package/lib/delivery-authority.d.ts +68 -0
- package/lib/delivery-authority.js +260 -0
- package/lib/deployment-config.d.ts +23 -0
- package/lib/deployment-config.js +61 -40
- package/lib/deployment-permission-rules.d.ts +55 -0
- package/lib/deployment-permission-rules.js +306 -0
- package/lib/dsh-types.d.ts +10 -4
- package/lib/guards.d.ts +1 -1
- package/lib/guards.js +29 -8
- package/lib/host-llm-startup.d.ts +41 -0
- package/lib/host-llm-startup.js +65 -0
- package/lib/host-llm.d.ts +92 -0
- package/lib/host-llm.js +325 -0
- package/lib/index.d.ts +15 -4
- package/lib/index.js +300 -47
- package/lib/legacy-child-policy.d.ts +51 -0
- package/lib/legacy-child-policy.js +123 -0
- package/lib/legacy-read-composition.d.ts +20 -0
- package/lib/legacy-read-composition.js +144 -0
- package/lib/legacy-read-contracts.d.ts +157 -0
- package/lib/legacy-read-contracts.js +39 -0
- package/lib/legacy-read-host.d.ts +19 -0
- package/lib/legacy-read-host.js +67 -0
- package/lib/legacy-read-integration.d.ts +121 -0
- package/lib/legacy-read-integration.js +522 -0
- package/lib/legacy-read-proxy.d.ts +26 -0
- package/lib/legacy-read-proxy.js +237 -0
- package/lib/live-pi-ai-owner.d.ts +18 -0
- package/lib/live-pi-ai-owner.js +144 -0
- package/lib/llm-runtime.d.ts +11 -0
- package/lib/llm-runtime.js +21 -0
- package/lib/managed-settings.d.ts +5 -0
- package/lib/managed-settings.js +14 -0
- package/lib/model-parameter-policy.d.ts +11 -0
- package/lib/model-parameter-policy.js +27 -0
- package/lib/model-routing.js +28 -17
- package/lib/modules.d.ts +13 -5
- package/lib/modules.js +17 -1
- package/lib/native-child-evidence.d.ts +42 -0
- package/lib/native-child-evidence.js +133 -0
- package/lib/native-pi-ai-wire.d.ts +37 -0
- package/lib/native-pi-ai-wire.js +261 -0
- package/lib/native-scope.js +1 -1
- package/lib/permission-bash.d.ts +6 -0
- package/lib/permission-bash.js +7 -0
- package/lib/permission-control.d.ts +73 -0
- package/lib/permission-control.js +205 -0
- package/lib/permission-controller.d.ts +68 -0
- package/lib/permission-controller.js +317 -0
- package/lib/permission-errors.d.ts +7 -0
- package/lib/permission-errors.js +21 -0
- package/lib/permission-fs-search.d.ts +5 -0
- package/lib/permission-fs-search.js +7 -0
- package/lib/permission-fs.d.ts +5 -0
- package/lib/permission-fs.js +7 -0
- package/lib/permission-native-access.d.ts +11 -0
- package/lib/permission-native-access.js +6 -0
- package/lib/permission-native-command.d.ts +10 -0
- package/lib/permission-native-command.js +93 -0
- package/lib/permission-native-rules.d.ts +75 -0
- package/lib/permission-native-rules.js +278 -0
- package/lib/permission-pwsh.d.ts +6 -0
- package/lib/permission-pwsh.js +7 -0
- package/lib/permission-remote.d.ts +26 -0
- package/lib/permission-remote.js +53 -0
- package/lib/permission-rpc.d.ts +29 -0
- package/lib/permission-rpc.js +152 -0
- package/lib/permission-rules.d.ts +115 -0
- package/lib/permission-rules.js +256 -0
- package/lib/permission-settings.d.ts +45 -0
- package/lib/permission-settings.js +48 -0
- package/lib/permission-shell.d.ts +38 -0
- package/lib/permission-shell.js +150 -0
- package/lib/permission-web.d.ts +5 -0
- package/lib/permission-web.js +7 -0
- package/lib/preset-registry.js +36 -25
- package/lib/profile-diagnostics.d.ts +45 -0
- package/lib/profile-diagnostics.js +148 -0
- package/lib/profile-locale.d.ts +3 -0
- package/lib/profile-locale.js +2 -0
- package/lib/profile-remote.d.ts +8 -0
- package/lib/profile-remote.js +163 -39
- package/lib/profile-rpc.d.ts +4 -3
- package/lib/profile-rpc.js +14 -12
- package/lib/profile-runtime.d.ts +40 -1
- package/lib/profile-runtime.js +368 -93
- package/lib/profile-store.d.ts +11 -0
- package/lib/profile-store.js +143 -11
- package/lib/profile-types.d.ts +70 -1
- package/lib/profile-types.js +1 -0
- package/lib/profiles.d.ts +16 -2
- package/lib/profiles.js +156 -79
- package/lib/prompt-content.js +1 -1
- package/lib/prompts.d.ts +37 -2
- package/lib/prompts.js +111 -9
- package/lib/recovery-policy.js +20 -7
- package/lib/role-control-remote.d.ts +38 -0
- package/lib/role-control-remote.js +211 -0
- package/lib/role-control-rpc.d.ts +51 -0
- package/lib/role-control-rpc.js +377 -0
- package/lib/role-control-types.d.ts +92 -0
- package/lib/role-control-types.js +8 -0
- package/lib/role-invocation.d.ts +47 -0
- package/lib/role-invocation.js +135 -0
- package/lib/role-llm-runtime.d.ts +17 -0
- package/lib/role-llm-runtime.js +62 -0
- package/lib/role-llm.d.ts +31 -0
- package/lib/role-llm.js +66 -0
- package/lib/role-policy.d.ts +49 -8
- package/lib/role-policy.js +437 -60
- package/lib/role-providers.d.ts +1 -1
- package/lib/role-providers.js +30 -35
- package/lib/role-routing.d.ts +11 -2
- package/lib/role-routing.js +42 -25
- package/lib/role-runs.d.ts +135 -0
- package/lib/role-runs.js +304 -0
- package/lib/role-subagents.d.ts +58 -3
- package/lib/role-subagents.js +169 -56
- package/lib/roles.d.ts +5 -6
- package/lib/roles.js +10 -39
- package/lib/route-json.d.ts +19 -0
- package/lib/route-json.js +129 -0
- package/lib/routing-policy.d.ts +2 -0
- package/lib/routing-policy.js +12 -2
- package/lib/runtime-integration.d.ts +112 -0
- package/lib/runtime-integration.js +784 -0
- package/lib/runtime-recovery.js +18 -8
- package/lib/settings.d.ts +47 -13
- package/lib/settings.js +217 -82
- package/lib/skills.js +2 -2
- package/lib/status.d.ts +10 -1
- package/lib/status.js +11 -8
- package/lib/subagent-runtime.d.ts +45 -0
- package/lib/subagent-runtime.js +131 -0
- package/package.json +106 -56
- package/patches/subagent-runtime.yml +15 -0
- package/prompts/deepseek-flash.md +1 -1
- package/prompts/deepseek-v4-pro.md +2 -2
- package/prompts/deepwork.md +27 -18
- package/prompts/source/agents/clarifier.md +5 -3
- package/prompts/source/agents/orchestrator.md +18 -9
- package/prompts/source/agents/plan-critic.md +5 -1
- package/prompts/source/agents/planner.md +4 -2
- package/prompts/source/agents/reviewer.md +6 -0
- package/prompts/source/category/complex.md +4 -4
- package/prompts/source/category/creative.md +6 -4
- package/prompts/source/category/cross-cutting.md +10 -8
- package/prompts/source/category/deep.md +5 -3
- package/prompts/source/category/documenting.md +7 -1
- package/prompts/source/category/frontend.md +2 -2
- package/prompts/source/category/hard-reasoning.md +3 -3
- package/prompts/source/category/research.md +4 -2
- package/prompts/source/deepwork/claude-opus-5.md +2 -2
- package/prompts/source/deepwork/codex.md +1 -1
- package/prompts/source/deepwork/default.md +22 -15
- package/prompts/source/deepwork/gemini.md +23 -16
- package/prompts/source/deepwork/glm.md +21 -14
- package/prompts/source/deepwork/gpt.md +12 -6
- package/prompts/source/deepwork/planner.md +8 -5
- package/prompts/source/manifest.json +178 -63
- package/prompts/source/shared/dsh-host-contract.md +5 -3
- package/prompts/source/shared/locale.md +2 -2
- package/prompts/source/terminal/orchestrator.md +1 -1
- package/scripts/cold-profile-composition.mjs +329 -0
- package/scripts/cold-profile-sources.mjs +238 -0
- package/scripts/migrate-cold-profile.mjs +315 -0
- package/skills/ast-grep/SKILL.md +7 -4
- package/skills/brainstorming/SKILL.md +43 -22
- package/skills/coding-agent-sessions/SKILL.md +7 -4
- package/skills/coding-agent-sessions/scripts/agent_sessions/pi_family.py +46 -46
- package/skills/coding-agent-sessions/scripts/tests/test_pi_family_scanners.py +130 -130
- package/skills/debugging/SKILL.md +14 -9
- package/skills/debugging/references/methodology/00-setup.md +14 -62
- package/skills/debugging/references/methodology/02-investigate.md +4 -4
- package/skills/debugging/references/methodology/03-flaky-triage.md +3 -3
- package/skills/debugging/references/methodology/04-hard-reasoning-escalation.md +2 -14
- package/skills/debugging/references/methodology/06-fix.md +6 -6
- package/skills/debugging/references/methodology/08-qa.md +5 -5
- package/skills/debugging/references/methodology/09-cleanup.md +15 -153
- package/skills/debugging/references/methodology/partial-runtime-evidence.md +3 -16
- package/skills/debugging/references/runtimes/bundled-js-binary.md +1 -16
- package/skills/debugging/references/runtimes/native-binary.md +9 -54
- package/skills/debugging/references/runtimes/node.md +4 -15
- package/skills/debugging/references/runtimes/python.md +3 -15
- package/skills/debugging/references/runtimes/rust.md +2 -18
- package/skills/debugging/references/tools/dap.md +1 -1
- package/skills/debugging/references/tools/ghidra.md +4 -15
- package/skills/debugging/references/tools/playwright-cli.md +3 -15
- package/skills/debugging/references/tools/pwntools.md +4 -16
- package/skills/dispatching-parallel-agents/SKILL.md +18 -16
- package/skills/frontend/SKILL.md +7 -4
- package/skills/frontend/references/design/react-dev-tooling-skill.md +1 -1
- package/skills/git-master/SKILL.md +7 -4
- package/skills/init-deep/SKILL.md +7 -4
- package/skills/receiving-code-review/SKILL.md +17 -12
- package/skills/remove-ai-slops/SKILL.md +39 -38
- package/skills/requesting-code-review/SKILL.md +19 -17
- package/skills/requesting-code-review/code-reviewer.md +13 -1
- package/skills/subagent-driven-development/SKILL.md +29 -26
- package/skills/subagent-driven-development/implementer-prompt.md +29 -11
- package/skills/subagent-driven-development/spec-reviewer-prompt.md +6 -1
- package/skills/using-git-worktrees/SKILL.md +7 -4
- package/skills/writing-plans/SKILL.md +29 -24
- package/skills/writing-plans/plan-document-reviewer-prompt.md +10 -1
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
export const CHILDREN_NS = "conversation.dsmm-children";
|
|
2
|
+
export const childrenEn = {
|
|
3
|
+
title: "Deepwork children", description: "Observed native runs and child conversations. Refresh for current state; receipts are not completion.",
|
|
4
|
+
refresh: "Refresh", reading: "Reading…", pending: "Request pending…", noSession: "No native session scope. Child controls are unavailable.",
|
|
5
|
+
unavailable: "Observation unavailable. Reconnect and refresh; no action was inferred.", stale: "Previous observation only. Refresh before controlling this session.", foreign: "This view does not own the current native session scope.",
|
|
6
|
+
session: "Session", epoch: "Parent admission epoch", runs: "One-shot runs", children: "Direct children", descendants: "Descendant inspection",
|
|
7
|
+
emptyRuns: "No observed runs.", emptyChildren: "No observed direct children.", emptyDescendants: "No observed descendants.", treeUnavailable: "Descendants unavailable; this is not an empty successful listing.",
|
|
8
|
+
runState: "Last observed run state", activity: "Observed residency/activity (not completion)", starting: "Starting: native invocation identity has not been published.",
|
|
9
|
+
background: "Move this run to background", backgroundHint: "Hands this exact published run to native jobs; does not start another child.",
|
|
10
|
+
role: "Role", level: "Invocation level", mode: "Mode", reportedRoute: "Reported invocation route · compatibility projection, not comparison", routeSource: "Invocation route source · compatibility projection", routeUnreported: "Not reported; no root-route inference.",
|
|
11
|
+
initialRoute: "Initial route", liveRoute: "Latest own native request route", routeUnknown: "Unknown", initialRouteSource: "Initial route source", liveRouteSource: "Latest request route source", initialRouteReason: "Initial route unknown reason", liveRouteReason: "Latest request route unknown reason",
|
|
12
|
+
comparisonUnobserved: "Route comparison has not been observed. No initial or latest request route is inferred.", routeCaptureSource: "Original invocation capture", routeOwnHeaderSource: "This child's own native request header",
|
|
13
|
+
routeMissingCapture: "Original invocation capture is missing.", routeNoOwnHeader: "No own native request header has been observed yet.", routeInvalidOwnHeader: "The observed own native request header is invalid.", routeNotObserved: "The child's own native request route was not observed.",
|
|
14
|
+
invocationUnavailable: "Invocation capture unavailable; role and level are not inferred. Native request observation is separate.",
|
|
15
|
+
runId: "Run ID", childId: "Child ID", jobId: "Job ID", toolCallId: "Tool call ID", parentId: "Direct parent ID", depth: "Depth", subtree: "Child catalog contains descendants", yes: "Yes", no: "No",
|
|
16
|
+
readonly: "Inspection only", oneShot: "One-shot children cannot be resumed or messaged.",
|
|
17
|
+
prompt: "Message this child", text: "Message", delivery: "Delivery", queue: "Queue · later turn", steer: "Steer · nearest step", send: "Send message", interrupt: "Request interrupt",
|
|
18
|
+
deliveryHint: "Queue accepts a distinct later turn; Steer targets the nearest step. Idle/cold continuable children keep the same child ID.",
|
|
19
|
+
emptyMessage: "Enter message text or choose an available image before sending.", deniedImages: "Images are currently unavailable. Remove picked images to send a text-only message; their bytes are not automatically retried.",
|
|
20
|
+
images: "Add images", imagesHint: "PNG, JPEG, WebP or GIF body bytes. Native image/model admission still applies; no durable attachment IDs are supplied.", removeImage: "Remove image", imageReading: "Reading image bytes…",
|
|
21
|
+
unknown: "Send outcome unknown. Draft retained; do not resend automatically. Check the native child conversation before allowing a new message, which may duplicate an accepted one.",
|
|
22
|
+
acknowledge: "I checked; allow a new message", promptAccepted: "Inbox accepted message {id}. Execution is not confirmed.", interruptAccepted: "Interrupt request acknowledged. Running/queued work is not reported as completed; queued work remains native-owned.",
|
|
23
|
+
backgroundReceipt: "Transition receipt: {status}; same run {id}.", unknownAction: "Outcome unknown; refresh and verify the native run/child before another action.", error: "Request unavailable/refused: {code}.", field: "Field", diagnostic: "Branch diagnostic: {reason}; no successful child result is inferred.",
|
|
24
|
+
backgroundAvailability: "Background handoff", promptAvailability: "Human messages", interruptAvailability: "Interrupts", imageAvailability: "Images", enabled: "Available", disabled: "Unavailable",
|
|
25
|
+
runtime: "Observed runtime binding", fence: "Delivery fence ready", restart: "Explicit Host restart required", composition: "Explicit DSMM composition is required; UI settings do not replace the Host runtime.", duplicate: "Duplicate provider binding; fix explicit composition before restarting.", authority: "Host admission authority is not ready.",
|
|
26
|
+
evidence: "Admission evidence", captured: "Captured original admission", legacy: "Legacy conservative evidence · not full configuration recovery", evidenceMissing: "Original admission evidence is unavailable; do not infer it from current root settings.", originalEpoch: "Original child epoch", proven: "Proven fields", limitations: "Evidence limitations", noneProven: "No proven fields reported", noLimitations: "No additional limitations reported (not a claim of restored configuration).",
|
|
27
|
+
capabilityDenied: "Capability denied", nativeDefault: "Native default, not restored", displayOnly: "Display-only evidence", missingEvidence: "Missing evidence", notPersisted: "Not persisted", unverified: "Unverified", parentDenied: "Current parent denies this capability",
|
|
28
|
+
};
|
|
29
|
+
export const childrenZh = {
|
|
30
|
+
title: "Deepwork 子任务", description: "已观察到的原生运行和子会话。刷新以获取现况;回执不代表完成。",
|
|
31
|
+
refresh: "刷新", reading: "读取中…", pending: "请求处理中…", noSession: "没有原生会话作用域,子任务控制不可用。",
|
|
32
|
+
unavailable: "无法观察当前状态。重新连接并刷新;不推断动作结果。", stale: "仅显示此前观察。请刷新后再控制当前会话。", foreign: "此视图不拥有当前原生会话作用域。",
|
|
33
|
+
session: "会话", epoch: "当前父准入 epoch", runs: "一次性运行", children: "直接子会话", descendants: "后代检查",
|
|
34
|
+
emptyRuns: "没有观察到运行。", emptyChildren: "没有观察到直接子会话。", emptyDescendants: "没有观察到后代。", treeUnavailable: "后代列表不可用;这不代表已成功读取空列表。",
|
|
35
|
+
runState: "上次观察的运行状态", activity: "已观察驻留/活动状态(非完成)", starting: "正在启动:原生调用身份尚未发布。",
|
|
36
|
+
background: "将此运行移交后台", backgroundHint: "把此已发布的同一运行移交原生 jobs;不创建另一个子会话。",
|
|
37
|
+
role: "角色", level: "调用等级", mode: "模式", reportedRoute: "报告的调用路由 · 兼容投影,非路由对比", routeSource: "调用路由来源 · 兼容投影", routeUnreported: "未报告;不推断根会话路由。",
|
|
38
|
+
initialRoute: "初始路由", liveRoute: "最近一次自身原生请求路由", routeUnknown: "未知", initialRouteSource: "初始路由来源", liveRouteSource: "最近请求路由来源", initialRouteReason: "初始路由未知原因", liveRouteReason: "最近请求路由未知原因",
|
|
39
|
+
comparisonUnobserved: "尚未观察到路由对比,不推断初始或最近请求路由。", routeCaptureSource: "原始调用捕获", routeOwnHeaderSource: "此子会话自身的原生请求 header",
|
|
40
|
+
routeMissingCapture: "缺少原始调用捕获。", routeNoOwnHeader: "尚未观察到自身原生请求 header。", routeInvalidOwnHeader: "已观察的自身原生请求 header 无效。", routeNotObserved: "未观察此子会话自身的原生请求路由。",
|
|
41
|
+
invocationUnavailable: "调用捕获不可用,不推断角色或等级;原生请求观察是独立信息。",
|
|
42
|
+
runId: "Run ID", childId: "子会话 ID", jobId: "Job ID", toolCallId: "工具调用 ID", parentId: "直接父会话 ID", depth: "深度", subtree: "子会话目录含后代", yes: "是", no: "否",
|
|
43
|
+
readonly: "仅可检查", oneShot: "一次性子会话不能恢复或接收续话。",
|
|
44
|
+
prompt: "向此子会话发送消息", text: "消息内容", delivery: "投递方式", queue: "Queue · 后续独立轮次", steer: "Steer · 最近步骤边界", send: "发送消息", interrupt: "请求中断",
|
|
45
|
+
deliveryHint: "Queue 接受新的后续轮次;Steer 在最近步骤边界接收。空闲/冷恢复的 continuable 子会话仍使用同一 ID。",
|
|
46
|
+
emptyMessage: "发送前请输入消息或选择可用图片。", deniedImages: "图片目前不可用。移除已选图片后可发送纯文本消息;不自动重试其数据。",
|
|
47
|
+
images: "添加图片", imagesHint: "PNG、JPEG、WebP 或 GIF 的真实图片数据。仍由原生图片/模型准入校验;不提供虚构持久 attachment ID。", removeImage: "移除图片", imageReading: "正在读取图片数据…",
|
|
48
|
+
unknown: "发送结果未知。保留草稿,不自动重发。允许新消息前请检查原生子会话;新发送可能重复已接受的消息。",
|
|
49
|
+
acknowledge: "我已检查,允许新消息", promptAccepted: "收件箱已接受消息 {id};尚未确认执行。", interruptAccepted: "中断请求已确认,不表示运行或队列已完成;队列仍由原生系统管理。",
|
|
50
|
+
backgroundReceipt: "移交回执:{status};同一运行 {id}。", unknownAction: "结果未知,请刷新并核实原生运行/子会话后再操作。", error: "请求不可用或被拒绝:{code}。", field: "字段", diagnostic: "分支诊断:{reason};不推断成功的子会话结果。",
|
|
51
|
+
backgroundAvailability: "后台移交", promptAvailability: "用户消息", interruptAvailability: "中断", imageAvailability: "图片", enabled: "可用", disabled: "不可用",
|
|
52
|
+
runtime: "已观察运行时绑定", fence: "投递隔离已就绪", restart: "需要显式重启 Host", composition: "需要显式 DSMM 启动组合;UI 设置不能替换 Host 运行时。", duplicate: "存在重复 provider 绑定,请修正显式启动组合后再重启。", authority: "Host 准入权威尚未就绪。",
|
|
53
|
+
evidence: "准入证据", captured: "已捕获原始准入", legacy: "旧会话保守证据 · 非完整配置恢复", evidenceMissing: "原始准入证据不可用,不从当前根会话设置推断。", originalEpoch: "子会话原始 epoch", proven: "已证明字段", limitations: "证据限制", noneProven: "未报告已证明字段", noLimitations: "未报告额外限制(不代表配置已恢复)。",
|
|
54
|
+
capabilityDenied: "此能力被拒绝", nativeDefault: "使用原生默认值,非已恢复", displayOnly: "仅供显示的证据", missingEvidence: "缺少证据", notPersisted: "未持久化", unverified: "尚未验证", parentDenied: "当前父会话拒绝此能力",
|
|
55
|
+
};
|
|
56
|
+
export const childDisabledCopy = {
|
|
57
|
+
"module-off": ["Deepwork module is off.", "Deepwork 模块已关闭。"], "role-disabled": ["Role is denied by captured/current admission.", "角色被捕获/当前准入拒绝。"],
|
|
58
|
+
"read-only": ["This child is read-only.", "此子会话为只读。"], "background-disabled": ["Captured admission does not allow background handoff.", "捕获准入不允许后台移交。"],
|
|
59
|
+
"jobs-unavailable": ["Native jobs are unavailable for this owner.", "此 owner 的原生 jobs 不可用。"], "starting": ["Native run identity has not been published.", "原生 run 身份尚未发布。"],
|
|
60
|
+
"already-background": ["This run already belongs to native background jobs.", "此运行已由原生后台 jobs 管理。"], "already-settled": ["This run is already settled.", "此运行已经结束。"],
|
|
61
|
+
cancelled: ["This run was cancelled and cannot be revived.", "此运行已取消,不能复活。"], "one-shot": ["One-shot children cannot receive follow-up messages.", "一次性子会话不能接收续话。"],
|
|
62
|
+
"unknown-mode": ["Child mode is unverified.", "子会话模式未验证。"], "not-direct-child": ["Only the exact direct parent can control this child.", "只有精确的直接父会话可控制此子会话。"],
|
|
63
|
+
"delivery-fence-unavailable": ["Managed delivery fencing is unavailable; fix explicit Host composition.", "受管投递隔离不可用,请修正显式 Host 启动组合。"],
|
|
64
|
+
"evidence-unavailable": ["Required original admission evidence is unavailable.", "必需的原始准入证据不可用。"], "legacy-capability-denied": ["Legacy evidence does not prove this capability.", "旧会话证据无法证明此能力。"],
|
|
65
|
+
unavailable: ["Capability unavailable. Refresh after reconnecting.", "此能力不可用。重新连接后刷新。"],
|
|
66
|
+
};
|
|
67
|
+
export const childrenLocaleEn = { ...childrenEn, ...Object.fromEntries(Object.entries(childDisabledCopy).map(([reason, copy]) => [`reason:${reason}`, copy[0]])) };
|
|
68
|
+
export const childrenLocaleZh = { ...childrenZh, ...Object.fromEntries(Object.entries(childDisabledCopy).map(([reason, copy]) => [`reason:${reason}`, copy[1]])) };
|
|
69
|
+
//# sourceMappingURL=children-locales.js.map
|
|
@@ -3,7 +3,7 @@ import type { HostObservable } from "@deepseek-ai/dsh-client-ui-slots";
|
|
|
3
3
|
import type { SessionEventSource } from "@deepseek-ai/dsh-api-session-controller/client";
|
|
4
4
|
import type { ModelDirectoryState } from "@deepseek-ai/dsh-client-ui-model-selection/client";
|
|
5
5
|
import type { DsmmProfilesRemote } from "../profile-remote.js";
|
|
6
|
-
import type { ProfileErrorInfo, ProfileReadResult, ProfileSnapshot } from "../profile-types.js";
|
|
6
|
+
import type { ProfileDiagnostic, ProfileDiagnosticCode, ProfileDiagnosticLocation, ProfileErrorInfo, ProfileReadResult, ProfileSnapshot } from "../profile-types.js";
|
|
7
7
|
import type { SessionProfileSnapshot } from "../profile-types.js";
|
|
8
8
|
import type { ModelCatalog, SessionSelectModelRequest, SessionSelectModelValue } from "@deepseek-ai/dsh-api-session-controller";
|
|
9
9
|
import type { JsonPath } from "./structured.js";
|
|
@@ -11,6 +11,7 @@ export interface ProfileEditor {
|
|
|
11
11
|
id: string;
|
|
12
12
|
content: string;
|
|
13
13
|
revision: string | null;
|
|
14
|
+
warnings?: ProfileDiagnostic[];
|
|
14
15
|
}
|
|
15
16
|
export interface ProfilesNotice {
|
|
16
17
|
key: "saved" | "applied" | "reset";
|
|
@@ -21,6 +22,8 @@ export interface ProfilesIssue {
|
|
|
21
22
|
code: string;
|
|
22
23
|
message?: string;
|
|
23
24
|
field?: string;
|
|
25
|
+
reason?: ProfileDiagnosticCode;
|
|
26
|
+
location?: ProfileDiagnosticLocation;
|
|
24
27
|
source?: "selection" | "profile-model";
|
|
25
28
|
}
|
|
26
29
|
export interface SessionApplyOptions {
|
|
@@ -45,8 +48,10 @@ export interface ProfilesViewSnapshot {
|
|
|
45
48
|
sessionNotice: "applied" | "reset" | "applied-with-model" | "mode-on" | "mode-off" | null;
|
|
46
49
|
invalidFields: string[];
|
|
47
50
|
editorEpoch: number;
|
|
51
|
+
validationEpoch: number;
|
|
48
52
|
}
|
|
49
53
|
export interface ProfilesActions {
|
|
54
|
+
readProfileView(): ProfilesViewSnapshot;
|
|
50
55
|
refresh(): Promise<void>;
|
|
51
56
|
open(id: string): Promise<void>;
|
|
52
57
|
create(): Promise<void>;
|
package/lib/client/controller.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { isProfileId } from "../profile-remote.js";
|
|
2
|
+
import { safeIssue } from "./diagnostics.js";
|
|
2
3
|
import { editStructuredPath, moveFallback } from "./structured.js";
|
|
3
4
|
function modelSelectionWatermark(window) {
|
|
4
5
|
let watermark = -1;
|
|
@@ -25,7 +26,7 @@ export function canReconcileSelection(snapshot) {
|
|
|
25
26
|
export class ProfilesController {
|
|
26
27
|
remote;
|
|
27
28
|
current = { snapshot: null, editor: null, dirty: false, busy: null, issue: null, notice: null, pendingEditor: null,
|
|
28
|
-
catalog: null, catalogBusy: false, catalogUnavailable: true, currentSessionId: null, session: null, sessionChoice: null, sessionBusy: null, sessionIssue: null, sessionNotice: null, invalidFields: [], editorEpoch: 0 };
|
|
29
|
+
catalog: null, catalogBusy: false, catalogUnavailable: true, currentSessionId: null, session: null, sessionChoice: null, sessionBusy: null, sessionIssue: null, sessionNotice: null, invalidFields: [], editorEpoch: 0, validationEpoch: 0 };
|
|
29
30
|
accepted = null;
|
|
30
31
|
listeners = new Set();
|
|
31
32
|
generation = 0;
|
|
@@ -58,6 +59,7 @@ export class ProfilesController {
|
|
|
58
59
|
},
|
|
59
60
|
};
|
|
60
61
|
actions = {
|
|
62
|
+
readProfileView: () => this.store.getSnapshot(),
|
|
61
63
|
refresh: () => this.refresh(), open: (id) => this.open(id), create: () => this.open(NEW_EDITOR), reload: () => this.reload(),
|
|
62
64
|
editId: (id) => this.editId(id), editContent: (content) => this.editContent(content),
|
|
63
65
|
save: () => this.save(), apply: () => this.apply(), reset: () => this.reset(),
|
|
@@ -310,7 +312,9 @@ export class ProfilesController {
|
|
|
310
312
|
try {
|
|
311
313
|
// The accepted DTO and current native view have the same validated ID;
|
|
312
314
|
// native strict codecs remain authoritative for its branded wire type.
|
|
313
|
-
|
|
315
|
+
const { provider, model, reasoningEffort } = accepted.profileModel;
|
|
316
|
+
await this.unwrap(selector.selectModel({ sessionId: id, provider, model,
|
|
317
|
+
...(reasoningEffort === undefined ? {} : { reasoningEffort }) }));
|
|
314
318
|
// Never echo the returned model locally: native projections own the
|
|
315
319
|
// actual picker, and a later native Models-tab selection must win.
|
|
316
320
|
if (live())
|
|
@@ -349,7 +353,7 @@ export class ProfilesController {
|
|
|
349
353
|
if (result.ok)
|
|
350
354
|
return result.value;
|
|
351
355
|
if (result.error.code === "dsmm-profiles/refused") {
|
|
352
|
-
throw
|
|
356
|
+
throw safeIssue(result.error.details);
|
|
353
357
|
}
|
|
354
358
|
if (["gateway/input-invalid", "gateway/arguments-invalid"].includes(String(result.error.code))) {
|
|
355
359
|
throw { kind: "domain", code: "validation", field, message: "The native Host rejected a request field. Check the profile ID and document size before retrying." };
|
|
@@ -371,8 +375,10 @@ export class ProfilesController {
|
|
|
371
375
|
await operation(live);
|
|
372
376
|
}
|
|
373
377
|
catch (error) {
|
|
374
|
-
if (live())
|
|
375
|
-
|
|
378
|
+
if (live()) {
|
|
379
|
+
const issue = this.issue(error);
|
|
380
|
+
this.publish({ issue, ...(busy === "save" && issue.kind === "domain" && issue.code === "validation" ? { validationEpoch: this.current.validationEpoch + 1 } : {}) });
|
|
381
|
+
}
|
|
376
382
|
}
|
|
377
383
|
finally {
|
|
378
384
|
if (live())
|
|
@@ -488,7 +494,7 @@ export class ProfilesController {
|
|
|
488
494
|
if (editor === null || !this.current.dirty || this.current.snapshot === null || this.current.busy !== null || this.current.pendingEditor !== null || this.current.invalidFields.length > 0)
|
|
489
495
|
return;
|
|
490
496
|
if (!isProfileId(editor.id)) {
|
|
491
|
-
this.publish({ issue: { kind: "domain", code: "validation", field: "id" }, notice: null });
|
|
497
|
+
this.publish({ issue: { kind: "domain", code: "validation", field: "id" }, notice: null, validationEpoch: this.current.validationEpoch + 1 });
|
|
492
498
|
return;
|
|
493
499
|
}
|
|
494
500
|
await this.perform("save", async (live) => {
|
|
@@ -499,7 +505,7 @@ export class ProfilesController {
|
|
|
499
505
|
// The accepted response proves save; applying remains a separate commit.
|
|
500
506
|
const old = this.current.snapshot;
|
|
501
507
|
const profiles = old.profiles.filter((item) => item.id !== document.id);
|
|
502
|
-
profiles.push({ id: document.id, revision: document.revision, ...(document.label === undefined ? {} : { label: document.label }) });
|
|
508
|
+
profiles.push({ id: document.id, revision: document.revision, ...(document.label === undefined ? {} : { label: document.label }), ...(document.warnings === undefined ? {} : { warnings: document.warnings }) });
|
|
503
509
|
profiles.sort((a, b) => a.id.localeCompare(b.id));
|
|
504
510
|
this.publish({ snapshot: { ...old, profiles }, notice: { key: "saved", id: document.id } });
|
|
505
511
|
});
|
|
@@ -526,7 +532,7 @@ export class ProfilesController {
|
|
|
526
532
|
}
|
|
527
533
|
acceptSelection(snapshot, notice) {
|
|
528
534
|
this.publish({ snapshot, notice: snapshot.selectionError === undefined ? notice : null,
|
|
529
|
-
issue: snapshot.selectionError === undefined ? null : {
|
|
535
|
+
issue: snapshot.selectionError === undefined ? null : { ...safeIssue(snapshot.selectionError), source: "selection" } });
|
|
530
536
|
}
|
|
531
537
|
}
|
|
532
538
|
//# sourceMappingURL=controller.js.map
|
|
@@ -11,6 +11,7 @@ export declare function editLayer(base: Record<string, unknown>, path: readonly
|
|
|
11
11
|
export declare function layerDiff(base: Record<string, unknown>, draft: Record<string, unknown>, prefix?: string[]): DeploymentPathEdit[];
|
|
12
12
|
export declare function validateEditorValue(value: unknown, schema: DeploymentSchemaNode, sparse?: boolean): boolean;
|
|
13
13
|
export declare function enumValues(schema: DeploymentSchemaNode): Array<string | number | boolean> | null;
|
|
14
|
-
|
|
14
|
+
export declare function visibleDeploymentPath(path: readonly string[]): boolean;
|
|
15
|
+
/** Only visible Host-projected inspector layers, never raw sparse editor input. */
|
|
15
16
|
export declare function inspectorPaths(snapshot: DeploymentEditorSnapshot, admitted: DeploymentAdmissionView | null): string[];
|
|
16
17
|
//# sourceMappingURL=deployment-data.d.ts.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { parseTree } from "jsonc-parser";
|
|
2
|
+
import { copyRouteJson, normalizeModelRouteJson } from "../route-json.js";
|
|
2
3
|
export function record(value) {
|
|
3
4
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
4
5
|
}
|
|
@@ -65,18 +66,41 @@ export function layerDiff(base, draft, prefix = []) {
|
|
|
65
66
|
});
|
|
66
67
|
}
|
|
67
68
|
export function validateEditorValue(value, schema, sparse = false) {
|
|
69
|
+
if (schema.type === "transform")
|
|
70
|
+
return schema.inner !== undefined && validateEditorValue(value, schema.inner, sparse);
|
|
71
|
+
if (schema.type === "any") {
|
|
72
|
+
try {
|
|
73
|
+
copyRouteJson(value);
|
|
74
|
+
return true;
|
|
75
|
+
}
|
|
76
|
+
catch {
|
|
77
|
+
return false;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
68
80
|
if (schema.type === "union")
|
|
69
81
|
return schema.alternatives?.some(node => validateEditorValue(value, node, sparse)) === true;
|
|
70
82
|
if (schema.type === "const")
|
|
71
83
|
return value === schema.value;
|
|
84
|
+
if (schema.type === "object" && schema.additionalProperties === "json") {
|
|
85
|
+
try {
|
|
86
|
+
if (schema.fields?.provider?.type === "string" && schema.fields.model?.type === "string") {
|
|
87
|
+
normalizeModelRouteJson(value, sparse, true);
|
|
88
|
+
return true;
|
|
89
|
+
}
|
|
90
|
+
copyRouteJson(value);
|
|
91
|
+
}
|
|
92
|
+
catch {
|
|
93
|
+
return false;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
72
96
|
if (schema.type === "object" || schema.type === "dict")
|
|
73
97
|
return record(value) && (sparse || schema.type !== "object" || Object.entries(schema.fields ?? {}).every(([key, node]) => !node.required || Object.hasOwn(value, key))) && Object.entries(value).every(([key, child]) => {
|
|
74
98
|
if (["__proto__", "prototype", "constructor"].includes(key))
|
|
75
99
|
return false;
|
|
76
100
|
if (schema.keys !== undefined && !schema.keys.includes(key))
|
|
77
101
|
return false;
|
|
78
|
-
const node = schema.type === "dict" ? schema.inner : schema.fields
|
|
79
|
-
return node !== undefined
|
|
102
|
+
const node = schema.type === "dict" ? schema.inner : schema.fields !== undefined && Object.hasOwn(schema.fields, key) ? schema.fields[key] : undefined;
|
|
103
|
+
return node !== undefined ? validateEditorValue(child, node, sparse) : schema.type === "object" && schema.additionalProperties === "json";
|
|
80
104
|
});
|
|
81
105
|
if (schema.type === "array")
|
|
82
106
|
return Array.isArray(value) && (schema.max === undefined || value.length <= schema.max) && schema.inner !== undefined && value.every(child => validateEditorValue(child, schema.inner));
|
|
@@ -90,12 +114,17 @@ export function enumValues(schema) {
|
|
|
90
114
|
return schema.type === "union" && schema.alternatives?.every(node => node.type === "const")
|
|
91
115
|
? schema.alternatives.map(node => node.value) : null;
|
|
92
116
|
}
|
|
93
|
-
|
|
117
|
+
export function visibleDeploymentPath(path) {
|
|
118
|
+
return path[0] !== "lsp" && (path[0] !== "permissionControl" || path.length === 1 || path.length === 2 && path[1] === "enabled");
|
|
119
|
+
}
|
|
120
|
+
/** Only visible Host-projected inspector layers, never raw sparse editor input. */
|
|
94
121
|
export function inspectorPaths(snapshot, admitted) {
|
|
95
122
|
const paths = new Set([...Object.keys(snapshot.sources), ...Object.keys(snapshot.startupSources ?? {}), ...Object.keys(snapshot.nextRoot?.sources ?? {}),
|
|
96
123
|
...Object.keys(snapshot.nextRoot?.captures ?? {}), ...Object.keys(admitted?.sources ?? {}), ...Object.keys(admitted?.captures ?? {})]);
|
|
97
124
|
const visit = (value, path) => {
|
|
98
|
-
if (
|
|
125
|
+
if (!visibleDeploymentPath(path))
|
|
126
|
+
return;
|
|
127
|
+
if (record(value) && Object.keys(value).length)
|
|
99
128
|
for (const [key, child] of Object.entries(value))
|
|
100
129
|
visit(child, [...path, key]);
|
|
101
130
|
else if (path.length)
|
|
@@ -104,6 +133,6 @@ export function inspectorPaths(snapshot, admitted) {
|
|
|
104
133
|
for (const value of [snapshot.desired, snapshot.startup, snapshot.nextRoot?.settings, admitted?.settings])
|
|
105
134
|
if (value !== undefined)
|
|
106
135
|
visit(value, []);
|
|
107
|
-
return [...paths].sort();
|
|
136
|
+
return [...paths].filter(path => visibleDeploymentPath(path.split("."))).sort();
|
|
108
137
|
}
|
|
109
138
|
//# sourceMappingURL=deployment-data.js.map
|
|
@@ -12,6 +12,10 @@ export declare const deploymentEn: {
|
|
|
12
12
|
ceiling: string;
|
|
13
13
|
hostUnknown: string;
|
|
14
14
|
boundaries: string;
|
|
15
|
+
core: string;
|
|
16
|
+
coreHint: string;
|
|
17
|
+
modelParametersHint: string;
|
|
18
|
+
permissionControlHint: string;
|
|
15
19
|
saveGlobal: string;
|
|
16
20
|
saveProfile: string;
|
|
17
21
|
saving: string;
|
|
@@ -8,7 +8,10 @@ export const deploymentEn = {
|
|
|
8
8
|
unavailableForm: "No verified writable form. Open this entry’s bundle or row config to edit profile overrides.",
|
|
9
9
|
ceiling: "Deepwork master is Global-only; profiles and session modes cannot lift its captured ceiling.",
|
|
10
10
|
hostUnknown: "Host bundle status: unknown (separate switch).",
|
|
11
|
-
boundaries: "New roots capture saved settings within startup capabilities. Save does not restart
|
|
11
|
+
boundaries: "New roots capture saved settings within startup capabilities. Save does not restart the Host; startup-only changes require a separate Host restart, which may cancel sessions.",
|
|
12
|
+
core: "Core", coreHint: "Core-owned desired settings. Model-parameter passthrough is ordinary config, not a subplugin. The permission-control enabled flag is startup-pinned. Save does not change current-session admission; inspect desired, startup and admitted values below. Unavailable admission stays unknown.",
|
|
13
|
+
modelParametersHint: "Default On. Off retains saved custom/opaque model parameters without forwarding them, and DSMM reasoningEffort / reasoning_effort aliases use native defaults. Standard SDK parameters and explicit native root choices remain intact. Raw JSON and exact effort values remain editable; saving desired settings does not verify provider transport readiness.",
|
|
14
|
+
permissionControlHint: "Permission-control module desired switch (default On), captured at startup. Global/native Save does not remove current protections or prove runtime coverage. Rules and exact Root approvals use the separate Permission control page; a restart remains independent.",
|
|
12
15
|
saveGlobal: "Save Global config", saveProfile: "Save profile overrides", saving: "Saving…", refresh: "Refresh", discard: "Discard and reload", dirty: "Unsaved changes", saved: "Saved",
|
|
13
16
|
inherit: "Inherit", explicit: "Override", defaultPin: "Built-in default pinned", hostPin: "Host pin remains when cleared",
|
|
14
17
|
globalSource: "Global", profileSource: "DSH profile", defaultsSource: "Built-in default", namedSource: "Named/session", startupSource: "Startup capture", deploymentCapture: "Deployment capture",
|
|
@@ -34,7 +37,10 @@ export const deploymentZh = {
|
|
|
34
37
|
unavailableForm: "没有已核验的可写表单。请打开此实例的 bundle 或条目配置以编辑覆盖。",
|
|
35
38
|
ceiling: "Deepwork 总开关仅全局可改;配置和会话模式不能突破已捕获上限。",
|
|
36
39
|
hostUnknown: "宿主整包状态:未知(独立开关)。",
|
|
37
|
-
boundaries: "
|
|
40
|
+
boundaries: "新根会话在启动能力内采用已保存设置。保存不重启宿主;仅启动时生效的更改需另行重启宿主,可能取消会话。",
|
|
41
|
+
core: "Core 核心配置", coreHint: "Core 所有的 desired 意图配置。模型参数透传为普通配置,非子插件;权限控制 enabled 仅启动时捕获。保存不改变当前会话准入;下方可检查意图、启动与准入值,不可用的准入仍为未知。",
|
|
42
|
+
modelParametersHint: "默认开启。关闭后仍保存 custom/opaque 模型参数但不发送;DSMM reasoningEffort/reasoning_effort 两种别名采用原生默认值。标准 SDK 参数与根会话原生显式选择保留。仍可编辑原始 JSON 和精确 effort 值;保存意图不代表提供商传输已就绪。",
|
|
43
|
+
permissionControlHint: "权限控制子模块 desired 开关(默认开启),仅启动时捕获。Global/native 保存不移除当前保护,也不证明运行时覆盖。规则及精确 Root 批准在独立“权限控制”页处理;重启仍为独立操作。",
|
|
38
44
|
saveGlobal: "保存全局配置", saveProfile: "保存当前配置覆盖", saving: "正在保存…", refresh: "刷新", discard: "丢弃并重载", dirty: "未保存", saved: "已保存",
|
|
39
45
|
inherit: "继承", explicit: "覆盖", defaultPin: "固定为内建默认值", hostPin: "清除后仍有宿主固定值",
|
|
40
46
|
globalSource: "全局", profileSource: "DSH 配置", defaultsSource: "内建默认", namedSource: "具名/会话", startupSource: "启动捕获", deploymentCapture: "部署捕获",
|
|
@@ -53,6 +59,8 @@ export const deploymentZh = {
|
|
|
53
59
|
};
|
|
54
60
|
/** Stable public field names stay visible alongside localized context. */
|
|
55
61
|
export const deploymentFieldLabels = {
|
|
62
|
+
modelParameters: ["Model parameters", "模型参数"], passthrough: ["Model parameter passthrough", "模型参数透传"],
|
|
63
|
+
permissionControl: ["Permission-control module", "权限控制子模块"],
|
|
56
64
|
modules: ["Modules", "子模块"], skills: ["Skills", "技能"], roles: ["Agent roles", "Agent 角色"],
|
|
57
65
|
deepwork: ["Deepwork", "Deepwork"], deepseekV4ProCalibration: ["DeepSeek V4 Pro calibration", "DeepSeek V4 Pro 校准"], deepseekV4ProDefaultReasoningEffort: ["DeepSeek V4 Pro default reasoning", "DeepSeek V4 Pro 默认推理强度"], deepseekV4ProMaxReasoningPresets: ["DeepSeek V4 Pro max presets", "DeepSeek V4 Pro 最高强度预设"], deepseekFlashCalibration: ["DeepSeek Flash calibration", "DeepSeek Flash 校准"], deepseekFlashDefaultReasoningEffort: ["DeepSeek Flash default reasoning", "DeepSeek Flash 默认推理强度"], deepseekFlashMaxReasoningPresets: ["DeepSeek Flash max presets", "DeepSeek Flash 最高强度预设"],
|
|
58
66
|
roleRouting: ["Existing-provider routes", "已有提供商路由"], runtimePolicy: ["Routing and retry policy", "路由与重试策略"],
|
|
@@ -60,6 +68,7 @@ export const deploymentFieldLabels = {
|
|
|
60
68
|
subagents: ["Subagents", "子 Agent"], lsp: ["LSP", "LSP"], presets: ["Preset materialization", "预设物化"],
|
|
61
69
|
modeName: ["Mode name", "模式名称"], section: ["Prompt section", "提示词章节"], promptOrder: ["Prompt order", "提示词顺序"], defaultActive: ["Default Deepwork mode", "默认 Deepwork 模式"],
|
|
62
70
|
enabled: ["Enabled", "启用"], materialize: ["Materialize presets", "物化预设"], scope: ["Guard scope", "保护范围"],
|
|
71
|
+
plannerRootEnabled: ["Planner main-chat preset (restart required)", "Planner 主聊天预设(需重启)"],
|
|
63
72
|
shellCommandSafety: ["Shell command safety", "Shell 命令安全"], gitWriteGuard: ["Git write policy", "Git 写入策略"],
|
|
64
73
|
toolOutputTruncation: ["Tool output truncation", "工具输出截断"], maxInlineBytes: ["Inline byte limit", "内联字节上限"],
|
|
65
74
|
planFormatValidation: ["Plan format validation", "计划格式校验"], questionLabelHelper: ["Question labels", "提问标签"], maxLabelChars: ["Label character limit", "标签字符上限"], todoDisciplineHelper: ["Todo discipline", "待办纪律"],
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { PropsLocale } from "@deepseek-ai/dsh-client-ui-slots";
|
|
2
|
+
import type { ProfileDiagnostic, ProfileErrorInfo } from "../profile-types.js";
|
|
3
|
+
import type { ProfilesIssue } from "./controller.js";
|
|
4
|
+
/** Wire grammar is checked again at presentation; raw exception text is never retained. */
|
|
5
|
+
export declare function safeIssue(info: unknown): ProfilesIssue;
|
|
6
|
+
export declare function profileWarnings(warnings: ProfileDiagnostic[] | undefined): ProfileDiagnostic[];
|
|
7
|
+
export declare function draftWarnings(content: string): ProfileDiagnostic[];
|
|
8
|
+
export declare function ProfileWarnings({ warnings, t }: PropsLocale<"settings.dsmm-profiles"> & {
|
|
9
|
+
warnings?: ProfileDiagnostic[];
|
|
10
|
+
}): import("react").JSX.Element;
|
|
11
|
+
export declare function IssueDetails({ issue, t }: PropsLocale<"settings.dsmm-profiles"> & {
|
|
12
|
+
issue: ProfilesIssue | ProfileErrorInfo;
|
|
13
|
+
}): import("react").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=diagnostics.d.ts.map
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { findNodeAtLocation } from "jsonc-parser";
|
|
3
|
+
import { diagnostic, fieldLocation, inspectJsonDocument } from "../profile-diagnostics.js";
|
|
4
|
+
import { parseProfileDiagnostic, parseProfileErrorInfo } from "../profile-remote.js";
|
|
5
|
+
/** Wire grammar is checked again at presentation; raw exception text is never retained. */
|
|
6
|
+
export function safeIssue(info) {
|
|
7
|
+
try {
|
|
8
|
+
const parsed = parseProfileErrorInfo(info);
|
|
9
|
+
return { kind: "domain", code: parsed.code, ...(parsed.field === undefined ? {} : { field: parsed.field }),
|
|
10
|
+
...(parsed.reason === undefined ? {} : { reason: parsed.reason }), ...(parsed.location === undefined ? {} : { location: parsed.location }) };
|
|
11
|
+
}
|
|
12
|
+
catch {
|
|
13
|
+
return { kind: "assembly", code: "unavailable" };
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export function profileWarnings(warnings) {
|
|
17
|
+
return (warnings ?? []).flatMap(value => {
|
|
18
|
+
try {
|
|
19
|
+
const warning = parseProfileDiagnostic(value);
|
|
20
|
+
return warning.severity === "warning" && warning.code === "blank-label" && warning.field === "label" ? [warning] : [];
|
|
21
|
+
}
|
|
22
|
+
catch {
|
|
23
|
+
return [];
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
export function draftWarnings(content) {
|
|
28
|
+
const { tree, diagnostics } = inspectJsonDocument(content);
|
|
29
|
+
if (tree?.type !== "object" || diagnostics.length !== 0)
|
|
30
|
+
return [];
|
|
31
|
+
const node = findNodeAtLocation(tree, ["label"]);
|
|
32
|
+
if (node?.type !== "string")
|
|
33
|
+
return [];
|
|
34
|
+
const label = node.value;
|
|
35
|
+
if (label.length > 120 || /[\u0000-\u001f\u007f]/u.test(label) || label.trim() !== ""
|
|
36
|
+
|| new TextDecoder("utf-8", { fatal: true, ignoreBOM: true }).decode(new TextEncoder().encode(label)) !== label)
|
|
37
|
+
return [];
|
|
38
|
+
return [diagnostic("blank-label", "label", fieldLocation(content, tree, "label"))];
|
|
39
|
+
}
|
|
40
|
+
export function ProfileWarnings({ warnings, t }) {
|
|
41
|
+
return _jsx(_Fragment, { children: profileWarnings(warnings).map(warning => _jsxs("div", { className: "dsmm-warning", "data-dsmm-warning": true, children: [_jsx("p", { children: t("warningMarker", { code: warning.code, field: warning.field }) }), _jsxs("details", { children: [_jsx("summary", { children: t("details") }), _jsx("p", { children: t("blankLabelWarning") })] })] }, `${warning.code}:${warning.field}`)) });
|
|
42
|
+
}
|
|
43
|
+
export function IssueDetails({ issue, t }) {
|
|
44
|
+
const safe = safeIssue({ code: issue.code, message: "", ...(issue.field === undefined ? {} : { field: issue.field }),
|
|
45
|
+
...(issue.reason === undefined ? {} : { reason: issue.reason }), ...(issue.location === undefined ? {} : { location: issue.location }) });
|
|
46
|
+
return _jsxs("div", { className: "dsmm-diagnostic", children: [_jsx("p", { children: t("blockingMarker", { code: safe.reason ?? safe.code, field: safe.field ?? "document" }) }), safe.location !== undefined && _jsx("p", { children: t("diagnosticLocation", { line: safe.location.line, column: safe.location.column }) }), safe.reason !== undefined && _jsxs("details", { children: [_jsx("summary", { children: t("details") }), _jsx("p", { children: t(DIAGNOSTIC_LABELS[safe.reason]) })] })] });
|
|
47
|
+
}
|
|
48
|
+
const DIAGNOSTIC_LABELS = {
|
|
49
|
+
"invalid-jsonc": "diagnosticJsonc", "duplicate-field": "diagnosticDuplicate", "unsafe-field": "diagnosticUnsafe", "unknown-field": "diagnosticUnknown",
|
|
50
|
+
"deprecated-field": "diagnosticDeprecated", "invalid-type": "diagnosticType", "unsupported-value": "diagnosticValue", "invalid-route": "diagnosticRoute",
|
|
51
|
+
"required-role": "diagnosticRequired", "deployment-ceiling": "diagnosticCeiling", "blank-label": "blankLabelWarning",
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=diagnostics.js.map
|
package/lib/client/index.d.ts
CHANGED
|
@@ -7,6 +7,10 @@ export { NS, en, zh } from "./locales.js";
|
|
|
7
7
|
export { TYPERT_REMOTE } from "../profile-remote.js";
|
|
8
8
|
export { SessionProfiles } from "./SessionProfiles.js";
|
|
9
9
|
export { structuredDocument, editStructuredPath, moveFallback } from "./structured.js";
|
|
10
|
+
export { ChildrenController } from "./children-controller.js";
|
|
11
|
+
export type { ChildrenActions, ChildrenSnapshot, ChildrenIssue } from "./children-controller.js";
|
|
12
|
+
export { ChildrenPanel } from "./ChildrenPanel.js";
|
|
13
|
+
export { ROLE_CONTROL_REMOTE } from "../role-control-remote.js";
|
|
10
14
|
/** No self-dependency on a namespace that this contribution has not mounted. */
|
|
11
15
|
export declare const inject: readonly ["slots", "locale", "remote"];
|
|
12
16
|
export declare function apply(ctx: Context): Promise<void>;
|
package/lib/client/index.js
CHANGED
|
@@ -7,18 +7,112 @@ import { SessionProfiles } from "./SessionProfiles.js";
|
|
|
7
7
|
import { DeploymentController } from "./deployment-controller.js";
|
|
8
8
|
import { DeploymentPage } from "./DeploymentPage.js";
|
|
9
9
|
import { DEPLOYMENT_NS, deploymentEn, deploymentZh } from "./deployment-locales.js";
|
|
10
|
+
import { ROLE_CONTROL_REMOTE } from "../role-control-remote.js";
|
|
11
|
+
import { ChildrenController } from "./children-controller.js";
|
|
12
|
+
import { ChildrenPanel } from "./ChildrenPanel.js";
|
|
13
|
+
import { CHILDREN_NS, childrenLocaleEn, childrenLocaleZh } from "./children-locales.js";
|
|
14
|
+
import { PERMISSION_REMOTE } from "../permission-remote.js";
|
|
15
|
+
import { permissionClient } from "./permission-client.js";
|
|
16
|
+
import { PermissionController } from "./permission-controller.js";
|
|
17
|
+
import { PermissionsPanel } from "./PermissionsPanel.js";
|
|
18
|
+
import { PERMISSIONS_NS, permissionEn, permissionZh } from "./permission-locales.js";
|
|
10
19
|
export { ProfilesController, NEW_PROFILE_CONTENT } from "./controller.js";
|
|
11
20
|
export { ProfilesSection } from "./ProfilesSection.js";
|
|
12
21
|
export { NS, en, zh } from "./locales.js";
|
|
13
22
|
export { TYPERT_REMOTE } from "../profile-remote.js";
|
|
14
23
|
export { SessionProfiles } from "./SessionProfiles.js";
|
|
15
24
|
export { structuredDocument, editStructuredPath, moveFallback } from "./structured.js";
|
|
25
|
+
export { ChildrenController } from "./children-controller.js";
|
|
26
|
+
export { ChildrenPanel } from "./ChildrenPanel.js";
|
|
27
|
+
export { ROLE_CONTROL_REMOTE } from "../role-control-remote.js";
|
|
16
28
|
/** No self-dependency on a namespace that this contribution has not mounted. */
|
|
17
29
|
export const inject = ["slots", "locale", "remote"];
|
|
18
30
|
export async function apply(ctx) {
|
|
19
31
|
await ctx.remote.$mount(TYPERT_REMOTE);
|
|
32
|
+
await ctx.remote.$mount(ROLE_CONTROL_REMOTE);
|
|
33
|
+
await ctx.remote.$mount(PERMISSION_REMOTE);
|
|
34
|
+
const permissions = new PermissionController();
|
|
35
|
+
ctx.effect(() => () => permissions.dispose(), "dsmm: permission controls");
|
|
36
|
+
ctx.effect(() => ctx.locale.register(PERMISSIONS_NS, { en: permissionEn, zh: permissionZh }), "dsmm: permission locale");
|
|
37
|
+
ctx.effect(() => {
|
|
38
|
+
const style = document.createElement("style");
|
|
39
|
+
style.dataset.dsmmPermissions = "";
|
|
40
|
+
style.textContent = PROFILE_STYLES;
|
|
41
|
+
document.head.append(style);
|
|
42
|
+
return () => style.remove();
|
|
43
|
+
}, "dsmm: permission styles");
|
|
44
|
+
const permissionInject = () => ({ controller: permissions }), permissionT = ctx.locale.bind(PERMISSIONS_NS);
|
|
45
|
+
ctx.slots.inject("settings.section", () => ctx.slots.register({ name: "settings.section", id: "dsmm-permissions", order: 35,
|
|
46
|
+
label: () => permissionT("title"), locale: PERMISSIONS_NS, inject: permissionInject }, PermissionsPanel));
|
|
47
|
+
ctx.slots.inject("conversation.view", () => ctx.slots.register({ name: "conversation.view", id: "dsmm-permissions", order: 35,
|
|
48
|
+
label: () => permissionT("title"), locale: PERMISSIONS_NS, inject: permissionInject }, PermissionsPanel));
|
|
49
|
+
void ctx.inject(["connection"], connectionCtx => {
|
|
50
|
+
const handle = connectionCtx.connection, invoke = permissionClient(handle);
|
|
51
|
+
const update = () => { const generation = handle.generation.getSnapshot(); permissions.bindConnection(generation === undefined ? null : invoke, generation); };
|
|
52
|
+
update();
|
|
53
|
+
connectionCtx.effect(() => handle.generation.subscribe(update));
|
|
54
|
+
connectionCtx.effect(() => () => permissions.bindConnection(null), "dsmm: permission connection withdrawal");
|
|
55
|
+
});
|
|
56
|
+
void ctx.inject(["uiSession", "sessions"], sessionCtx => {
|
|
57
|
+
const source = sessionCtx.uiSession.adapter.current, sessions = sessionCtx.sessions;
|
|
58
|
+
let observed, stop;
|
|
59
|
+
const update = () => {
|
|
60
|
+
const id = source.getSnapshot().key, binding = id === undefined ? undefined : sessions.binding(id);
|
|
61
|
+
if (binding !== observed) {
|
|
62
|
+
stop?.();
|
|
63
|
+
observed = binding;
|
|
64
|
+
stop = binding?.session.subscribe(update);
|
|
65
|
+
}
|
|
66
|
+
const snapshot = binding?.session.getSnapshot(), catalog = sessions.list.getSnapshot(), summary = id === undefined ? undefined : catalog.byId[id];
|
|
67
|
+
const child = snapshot?.subagent != null || summary?.origin === "subagent" || summary?.parentId !== undefined;
|
|
68
|
+
const root = id !== undefined && binding?.sessionId === id && snapshot?.sessionId === id && snapshot.openState === "open" && !snapshot.removed
|
|
69
|
+
&& catalog.ids.includes(id) && summary !== undefined && !child;
|
|
70
|
+
permissions.bindScope(id ?? null, binding ?? null, child ? "child" : root ? "root" : "unknown");
|
|
71
|
+
};
|
|
72
|
+
update();
|
|
73
|
+
sessionCtx.effect(() => source.subscribe(update));
|
|
74
|
+
sessionCtx.effect(() => sessions.list.subscribe(update));
|
|
75
|
+
sessionCtx.effect(() => () => { stop?.(); permissions.bindScope(null, null, "unknown"); }, "dsmm: permission native session withdrawal");
|
|
76
|
+
});
|
|
20
77
|
let deployment = null;
|
|
21
78
|
let profiles = null;
|
|
79
|
+
let children = null;
|
|
80
|
+
const observeChildAdmission = () => {
|
|
81
|
+
const session = profiles?.store.getSnapshot().session;
|
|
82
|
+
if (session !== null && session !== undefined)
|
|
83
|
+
children?.observeAdmission(session.sessionId, session.admissionEpoch);
|
|
84
|
+
};
|
|
85
|
+
await ctx.inject(["remote.dsmmChildren"], childCtx => {
|
|
86
|
+
const controller = new ChildrenController(childCtx.remote.dsmmChildren);
|
|
87
|
+
children = controller;
|
|
88
|
+
childCtx.effect(() => () => { children = null; controller.dispose(); }, "dsmm: child controls");
|
|
89
|
+
childCtx.effect(() => childCtx.locale.register(CHILDREN_NS, { en: childrenLocaleEn, zh: childrenLocaleZh }), "dsmm: child locale");
|
|
90
|
+
childCtx.effect(() => {
|
|
91
|
+
const style = document.createElement("style");
|
|
92
|
+
style.dataset.dsmmChildren = "";
|
|
93
|
+
style.textContent = PROFILE_STYLES;
|
|
94
|
+
document.head.append(style);
|
|
95
|
+
return () => style.remove();
|
|
96
|
+
}, "dsmm: child styles");
|
|
97
|
+
const t = childCtx.locale.bind(CHILDREN_NS);
|
|
98
|
+
childCtx.slots.inject("conversation.view", () => childCtx.slots.register({ name: "conversation.view", id: "dsmm-children", order: 30,
|
|
99
|
+
label: () => t("title"), locale: CHILDREN_NS, inject: () => ({ hooks: { children: controller.store }, ...controller.actions }) }, ChildrenPanel));
|
|
100
|
+
void childCtx.inject(["connection"], connectionCtx => {
|
|
101
|
+
const handle = connectionCtx.connection;
|
|
102
|
+
const update = () => { const generation = handle.generation.getSnapshot(); controller.bindConnection(generation === undefined ? null : handle, generation); };
|
|
103
|
+
update();
|
|
104
|
+
connectionCtx.effect(() => handle.generation.subscribe(update));
|
|
105
|
+
connectionCtx.effect(() => () => controller.bindConnection(null), "dsmm: child connection withdrawal");
|
|
106
|
+
});
|
|
107
|
+
void childCtx.inject(["uiSession", "sessions"], sessionCtx => {
|
|
108
|
+
const source = sessionCtx.uiSession.adapter.current, nativeSessions = sessionCtx.sessions;
|
|
109
|
+
const update = () => { const id = source.getSnapshot().key; controller.bindScope(id ?? null, id === undefined ? null : nativeSessions.binding(id) ?? null); observeChildAdmission(); };
|
|
110
|
+
update();
|
|
111
|
+
sessionCtx.effect(() => source.subscribe(update));
|
|
112
|
+
sessionCtx.effect(() => () => controller.bindScope(null, null), "dsmm: child session withdrawal");
|
|
113
|
+
});
|
|
114
|
+
observeChildAdmission();
|
|
115
|
+
});
|
|
22
116
|
// This core-owned graph must not depend on DW, named profiles or a session.
|
|
23
117
|
await ctx.inject(["remote.dsmmConfig"], (coreCtx) => {
|
|
24
118
|
const core = new DeploymentController(coreCtx.remote.dsmmConfig, "global");
|
|
@@ -64,7 +158,7 @@ export async function apply(ctx) {
|
|
|
64
158
|
await ctx.inject(["remote.dsmmProfiles"], (profileCtx) => {
|
|
65
159
|
const controller = new ProfilesController(profileCtx.remote.dsmmProfiles);
|
|
66
160
|
profiles = controller;
|
|
67
|
-
profileCtx.effect(() => controller.store.subscribe(() => deployment?.setSession(controller.store.getSnapshot().session)));
|
|
161
|
+
profileCtx.effect(() => controller.store.subscribe(() => { deployment?.setSession(controller.store.getSnapshot().session); observeChildAdmission(); }));
|
|
68
162
|
profileCtx.effect(() => () => { profiles = null; deployment?.setSession(null); });
|
|
69
163
|
profileCtx.effect(() => () => controller.dispose(), "dsmm: profile editor");
|
|
70
164
|
profileCtx.effect(() => profileCtx.locale.register(NS, { en, zh }), "dsmm: profile locale");
|
|
@@ -85,7 +179,7 @@ export async function apply(ctx) {
|
|
|
85
179
|
// fallback never replaces ordinary native/plugin leading navigation.
|
|
86
180
|
profileCtx.slots.inject("conversation.header.leading", () => profileCtx.slots.register({
|
|
87
181
|
name: "conversation.header.leading", priority: Number.MAX_SAFE_INTEGER, locale: NS,
|
|
88
|
-
inject: () => ({ hooks: { profiles: controller.store },
|
|
182
|
+
inject: () => ({ hooks: { profiles: controller.store }, ...controller.actions }),
|
|
89
183
|
}, SessionProfiles));
|
|
90
184
|
// Optional native services have their own lifetime. Do not await them or
|
|
91
185
|
// make sessionless Settings depend on a Conversation/session provider.
|
package/lib/client/locales.d.ts
CHANGED
|
@@ -1,5 +1,59 @@
|
|
|
1
1
|
export declare const NS = "settings.dsmm-profiles";
|
|
2
2
|
export declare const en: {
|
|
3
|
+
diagnosticJsonc: string;
|
|
4
|
+
diagnosticDuplicate: string;
|
|
5
|
+
diagnosticUnsafe: string;
|
|
6
|
+
diagnosticUnknown: string;
|
|
7
|
+
diagnosticDeprecated: string;
|
|
8
|
+
diagnosticType: string;
|
|
9
|
+
diagnosticValue: string;
|
|
10
|
+
diagnosticRoute: string;
|
|
11
|
+
diagnosticRequired: string;
|
|
12
|
+
diagnosticCeiling: string;
|
|
13
|
+
browseZone: string;
|
|
14
|
+
editZone: string;
|
|
15
|
+
savedRevision: string;
|
|
16
|
+
savedInventory: string;
|
|
17
|
+
futurePin: string;
|
|
18
|
+
noEditor: string;
|
|
19
|
+
warningMarker: string;
|
|
20
|
+
blockingMarker: string;
|
|
21
|
+
blankLabelWarning: string;
|
|
22
|
+
diagnosticLocation: string;
|
|
23
|
+
savedWarnings: string;
|
|
24
|
+
draftWarnings: string;
|
|
25
|
+
futureWarnings: string;
|
|
26
|
+
admissionWarnings: string;
|
|
27
|
+
warningProfile: string;
|
|
28
|
+
omitLabel: string;
|
|
29
|
+
businessLocale: string;
|
|
30
|
+
inheritLocale: string;
|
|
31
|
+
unsupportedLocale: string;
|
|
32
|
+
localeHint: string;
|
|
33
|
+
toolTopology: string;
|
|
34
|
+
topologyHint: string;
|
|
35
|
+
levelName: string;
|
|
36
|
+
levelMode: string;
|
|
37
|
+
levelUnconfigured: string;
|
|
38
|
+
levelEffortOnly: string;
|
|
39
|
+
levelFullRoute: string;
|
|
40
|
+
normalLevel: string;
|
|
41
|
+
orchestratorLevels: string;
|
|
42
|
+
levelsHint: string;
|
|
43
|
+
namedRole: string;
|
|
44
|
+
namedRoleHint: string;
|
|
45
|
+
availabilityUnknown: string;
|
|
46
|
+
roleRequired: string;
|
|
47
|
+
roleOptional: string;
|
|
48
|
+
roleCeiling: string;
|
|
49
|
+
roleProvenance: string;
|
|
50
|
+
roleUnavailableReason: string;
|
|
51
|
+
admittedRoles: string;
|
|
52
|
+
bindingUnknown: string;
|
|
53
|
+
bindingState: string;
|
|
54
|
+
bindingReason: string;
|
|
55
|
+
sessionModelHint: string;
|
|
56
|
+
savedOnlyHint: string;
|
|
3
57
|
centralOrigin: string;
|
|
4
58
|
legacyOrigin: string;
|
|
5
59
|
explicitOrigin: string;
|