@dsmm/dsmm 0.3.12 → 0.3.13
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 +2 -2
- package/docs/agent-presets.md +1 -1
- package/docs/compatibility.md +8 -2
- package/docs/deferred-native-approval-risk.md +1 -1
- package/docs/design.md +1 -1
- package/docs/lsp.md +1 -1
- package/docs/maintenance.md +9 -3
- package/docs/model-routing.md +1 -1
- package/docs/native-permissions.md +1 -1
- package/docs/profiles.md +21 -11
- package/docs/roadmap.md +2 -2
- package/docs/runtime-recovery.md +1 -1
- package/docs/safety-guards.md +1 -1
- package/docs/settings-status.md +1 -1
- package/docs/testing.md +85 -0
- package/lib/client/ProfileModelsDialog.d.ts +23 -0
- package/lib/client/ProfileModelsDialog.js +318 -0
- package/lib/client/ProfilesSection.js +178 -36
- package/lib/client/RoleToolView-data.d.ts +7 -0
- package/lib/client/RoleToolView-data.js +45 -0
- package/lib/client/RoleToolView-locales.d.ts +5 -0
- package/lib/client/RoleToolView-locales.js +2 -0
- package/lib/client/RoleToolView.js +33 -8
- package/lib/client/StructuredEditor.d.ts +32 -4
- package/lib/client/StructuredEditor.js +12 -40
- package/lib/client/diagnostics.d.ts +1 -0
- package/lib/client/diagnostics.js +9 -0
- package/lib/client/locales.d.ts +21 -0
- package/lib/client/locales.js +42 -0
- package/lib/client/styles.d.ts +1 -1
- package/lib/client/styles.js +89 -30
- package/lib/client.js +1940 -1024
- package/package.json +7 -2
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
DSMM (`@dsmm/dsmm`) adds native configuration, role delegation and child controls to DeepSeek Harness. **DSMM** is the Plugins page and package title; **Deepwork** is its optional workflow module. It isn't an OpenCode compatibility layer.
|
|
4
4
|
|
|
5
|
-
**DSMM 0.3.
|
|
5
|
+
**DSMM 0.3.13 targets exactly DSH `0.2.1-rc.2`** and Node.js 22 or later. The maintained source repository is [hugefiver/dsmm](https://github.com/hugefiver/dsmm).
|
|
6
6
|
|
|
7
7
|
## Configuration and profiles
|
|
8
8
|
|
|
@@ -63,4 +63,4 @@ Retired brand-specific routing fields reject rather than migrate. Unsupported co
|
|
|
63
63
|
|
|
64
64
|
## Development and release
|
|
65
65
|
|
|
66
|
-
The checked-in `src/`, `prompts/`, and `skills/` trees are the standalone maintenance sources. Build, test, role generation, frontend provenance, and package checks do not read a sibling repository.
|
|
66
|
+
The checked-in `src/`, `prompts/`, and `skills/` trees are the standalone maintenance sources. Build, test, role generation, frontend provenance, and package checks do not read a sibling repository. Development and final acceptance use the affected module and interface suites rather than a full test run; see [testing](docs/testing.md), [maintenance](docs/maintenance.md), and [release policy](docs/releasing.md).
|
package/docs/agent-presets.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Deepwork Agent presets and child control
|
|
2
2
|
|
|
3
|
-
DSMM 0.3.
|
|
3
|
+
DSMM 0.3.13 targets exactly DSH `0.2.1-rc.2`. Native package composition and callable admission are separate requirements.
|
|
4
4
|
|
|
5
5
|
## Roles and composition
|
|
6
6
|
|
package/docs/compatibility.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# DSMM compatibility and upgrade boundaries
|
|
2
2
|
|
|
3
|
-
**DSMM 0.3.
|
|
3
|
+
**DSMM 0.3.13 targets exactly DSH `0.2.1-rc.2`** and Node.js 22 or later. Older SDKs and automatically drifting versions aren't supported targets.
|
|
4
4
|
|
|
5
5
|
## Supported integration
|
|
6
6
|
|
|
@@ -10,6 +10,12 @@ Native Web surfaces are Plugins bundle configuration, Settings Profiles, the com
|
|
|
10
10
|
|
|
11
11
|
`preset-skills` is internal Agent-scoped installation, not a public Loader plugin. DSMM-managed external LSP stays disabled even with stored `lsp.enabled:true`; native DSH LSP and independently configured MCP remain unaffected. See [LSP boundary](lsp.md).
|
|
12
12
|
|
|
13
|
+
### Conversation process summaries
|
|
14
|
+
|
|
15
|
+
DSH `0.2.1-rc.2` classifies message-level process summaries by tool name: only `subagent` and `subagent_*` enter its subagent category. DSMM delegation tools therefore appear under the generic tools summary even when their individual call cards display the native subagent icon. The separate turn-level delegation classifier has the same name restriction.
|
|
16
|
+
|
|
17
|
+
The public tool-view slot controls individual call cards, not these summary classifiers. This Host version exposes no dedicated classification contribution or process-group header extension; DSMM retains the native summary behavior. Correct subagent grouping requires a public tool-category contribution consumed by both classifiers, or native recognition of DSMM delegation tools. Recheck in-progress and completed summaries during an authorized DSH upgrade; card appearance alone is not evidence of correct grouping.
|
|
18
|
+
|
|
13
19
|
## Configuration and actions
|
|
14
20
|
|
|
15
21
|
Core configuration and native permissions work without a session or active Deepwork. Resolution is defaults → sparse Global → explicit native entry/profile → admitted immutable named overlay. Objects merge, arrays replace, and false/empty/same-default pins remain explicit. Unset only removes the edited layer.
|
|
@@ -44,7 +50,7 @@ Standard supported model calls use native prepared calls. Raw/custom and Pi-AI s
|
|
|
44
50
|
|
|
45
51
|
## Retired compatibility surfaces
|
|
46
52
|
|
|
47
|
-
No old SDK branch, legacy-read host, cold-profile migration, session repair or custom-owner selector is a 0.3.
|
|
53
|
+
No old SDK branch, legacy-read host, cold-profile migration, session repair or custom-owner selector is a 0.3.13 activation path. Old libraries, captures and unmarked history aren't copied, rewritten, repaired or adopted by same-name fallback. Retired brand calibration/default-effort and MaxReasoningPresets fields reject with `deprecated-field`; edit configuration deliberately using generic routes and parameters.
|
|
48
54
|
|
|
49
55
|
Published **0.3.0 retains its rc.1 identity**, immutable tag, package, assets and version-bound receipt grammar. Historical release controls interpret those records under their original identity, not as a runtime compatibility branch.
|
|
50
56
|
|
package/docs/design.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# DSMM native architecture
|
|
2
2
|
|
|
3
|
-
DSMM 0.3.
|
|
3
|
+
DSMM 0.3.13 targets exactly DSH `0.2.1-rc.2`. It supplies Core configuration and native permission integration plus optional Deepwork roles, routing and skills.
|
|
4
4
|
|
|
5
5
|
## Native integration boundary
|
|
6
6
|
|
package/docs/lsp.md
CHANGED
|
@@ -39,6 +39,6 @@ An independently mounted native MCP client using `serverName: dsmm_lsp` uses the
|
|
|
39
39
|
|
|
40
40
|
DSMM's read-only role restrictions don't grant rename or format permission. The retained `lspRuntime` status interface reports bounded state, diagnostic codes and tool names, not executable paths, arguments or environment values. Tool discovery alone doesn't prove language-server availability or a successful symbol query.
|
|
41
41
|
|
|
42
|
-
DSMM 0.3.
|
|
42
|
+
DSMM 0.3.13 targets exactly DSH `0.2.1-rc.2`. Automatic external LSP mounting isn't delivered; the retained interface inventory isn't an activation path.
|
|
43
43
|
|
|
44
44
|
DSH's native definition/references/implementation/hover surface isn't a promise of diagnostics, rename or format. The retained external interface above doesn't expand that native scope. Independently managed MCP users must verify actual executable and language-server availability; DSMM doesn't certify or repair that environment.
|
package/docs/maintenance.md
CHANGED
|
@@ -16,14 +16,20 @@ Common checks:
|
|
|
16
16
|
```powershell
|
|
17
17
|
pnpm run typecheck
|
|
18
18
|
pnpm run build
|
|
19
|
-
pnpm run test:
|
|
19
|
+
pnpm run test:list
|
|
20
|
+
pnpm run test:module -- <module> [module...]
|
|
21
|
+
pnpm run test:integration -- <group> [group...]
|
|
20
22
|
pnpm run check:frontend
|
|
21
23
|
pnpm run check:roles
|
|
22
24
|
pnpm pack --pack-destination <approved-output-directory>
|
|
23
25
|
```
|
|
24
26
|
|
|
25
|
-
`pnpm test` remains the convenient build-plus-
|
|
26
|
-
|
|
27
|
+
`pnpm test` remains the convenient build-plus-fast-smoke command. CI and release
|
|
28
|
+
also use that smoke entry after build and typecheck, alongside frontend, generated
|
|
29
|
+
role and package checks. Development and final acceptance select only affected
|
|
30
|
+
module suites and interface integrations; the explicit full diagnostic is not a
|
|
31
|
+
default gate. See [testing](testing.md). Dependency installation and lockfile
|
|
32
|
+
maintenance are separate authorized operations.
|
|
27
33
|
|
|
28
34
|
## Generated role assets
|
|
29
35
|
|
package/docs/model-routing.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Providers, accounts and credentials remain native DSH configuration, never named-profile contents.
|
|
4
4
|
|
|
5
|
-
DSMM 0.3.
|
|
5
|
+
DSMM 0.3.13 targets exactly DSH `0.2.1-rc.2`. Standard calls use native prepared calls. The public Pi-AI completions seam supports self-contained literal and explicit model-mapping raw configurations; unsupported catalog-backed raw combinations are rejected without affecting standard calls.
|
|
6
6
|
|
|
7
7
|
## Native roots and child defaults
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Native permissions
|
|
2
2
|
|
|
3
|
-
DSMM 0.3.
|
|
3
|
+
DSMM 0.3.13 targets exactly DSH `0.2.1-rc.2`. DSH owns approval; DSMM composes policy into the native tool pipeline without a second approval queue or UI. DSMM command-rule approval memory is limited to the exact live Agent and is distinct from native once grants.
|
|
4
4
|
|
|
5
5
|
## Full access and approval
|
|
6
6
|
|
package/docs/profiles.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Deepwork runtime profiles
|
|
2
2
|
|
|
3
|
-
DSMM 0.3.
|
|
3
|
+
DSMM 0.3.13 targets exactly DSH `0.2.1-rc.2`. See [compatibility](compatibility.md) for installation boundaries.
|
|
4
4
|
|
|
5
5
|
A named Deepwork profile is a runtime-policy document, not a native deployment profile or Agent preset. Open **Settings → Deepwork Profiles** to browse and edit it. Native **Plugins → DSMM** edits deployment layers instead, as described in [settings and status](settings-status.md).
|
|
6
6
|
|
|
@@ -21,29 +21,39 @@ The compact Conversation header menu shows the current admission separately from
|
|
|
21
21
|
|
|
22
22
|
## Named profiles interface layout
|
|
23
23
|
|
|
24
|
-
The redesigned Named Profiles page (`.dsmm-profiles.dsmm-named-profiles`) organizes editing into a scannable
|
|
24
|
+
The redesigned Named Profiles page (`.dsmm-profiles.dsmm-named-profiles`) organizes editing into a streamlined, scannable flow with a wide multi-agent configuration dialog:
|
|
25
25
|
|
|
26
26
|
1. **Header browse row** — Select profile, New draft, and Refresh inventory buttons alongside a real-time status badge (`data-dsmm-editor-state`) tracking dirty, saved, refresh-required, and applied states.
|
|
27
27
|
2. **Effective summary card** — Visible summary of future default (with inline Set as future default button) and current session admission (with a quick-locate button targeting the session settings section).
|
|
28
|
-
3. **Secondary actions** — Collapsed disclosure containing future default reset ("新会话使用插件默认" / "Use baseline for future sessions") and current-session scope controls.
|
|
28
|
+
3. **Secondary actions** — Collapsed disclosure containing future default reset ("新会话使用插件默认" / "Use baseline for future sessions") and current-session scope controls, preserving four independent transactions (Save profile, Set as future default, Session admission, and Model-only activation).
|
|
29
29
|
4. **Basic settings** — Flat, uncollapsed section in normal flow:
|
|
30
30
|
- Profile name (`label`) with optional omit action.
|
|
31
31
|
- Profile ID (`id`), locked for saved revisions.
|
|
32
|
-
- Orchestrator primary model (`roleRouting.dsmm-orchestrator.primary` only), with provider/model/effort selection and
|
|
32
|
+
- Orchestrator primary model shortcut (`roleRouting.dsmm-orchestrator.primary` only), with provider/model/effort selection and note that orchestrator levels are not provided.
|
|
33
|
+
- "Configure all Agent models" ("配置全部 Agent 模型") button opening the Multi-Agent Dialog.
|
|
33
34
|
- Business output language (`settings.locale`).
|
|
34
35
|
- Deepwork default active (`settings.defaultActive`).
|
|
35
36
|
- If raw JSONC syntax is invalid, a clear notice is shown here with a button to expand and focus the JSONC source.
|
|
36
|
-
5. **
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
37
|
+
5. **Multi-Agent Dialog (`ProfileModelsDialog`)** — Wide responsive modal dialog (~1040px max width, internal scroll) reusing DSH Modal primitives:
|
|
38
|
+
- Background inert isolation applied to document body siblings while open.
|
|
39
|
+
- Dialog filter bar with role search input (by role name/ID) and toggle for explicit model overrides only (including explicit empty fallback chains `[]`).
|
|
40
|
+
- Role cards listing each role from `snapshot.roles` with inline primary route (provider, model, reasoning effort).
|
|
41
|
+
- Expandable calling levels (`low`, `high`, `max`) with accurate configuration summary (absent for orchestrator).
|
|
42
|
+
- Expandable fallback chains (up to 32 items with safe focus management on add/move/remove).
|
|
43
|
+
- Collapsed non-model role settings (`enabled`, `retry`) with inheritance summary using known data.
|
|
44
|
+
- Single JSONC draft shared with main page; closing dialog via Esc or close button preserves dirty/invalid drafts without extra discard confirmation.
|
|
45
|
+
6. **Advanced execution settings** — Collapsed `<details>` disclosure for global execution settings:
|
|
46
|
+
- Profile defaults: Default strategy and rate-limit bounds (`settings.runtimePolicy`).
|
|
40
47
|
- Git write protection: Sparse `settings.guards.gitWriteGuard` (`ask` | `deny` | `off`) and `settings.guards.gitWriteScope` (`all-writes` | `high-risk`). When guard is `off`, the scope control is disabled with an explanatory note ("保护已关闭,检查范围暂不生效"), while Unset/inherit remains accessible.
|
|
41
|
-
- Subagent tools:
|
|
42
|
-
|
|
48
|
+
- Subagent tools: `settings.subagents.toolTopology` (`per-role` | `parameterized`).
|
|
49
|
+
7. **Advanced JSONC source editor** — Collapsed `<details className="dsmm-advanced">` disclosure:
|
|
43
50
|
- Full JSONC source editor preserving comments, whitespace, and unprojected parameters.
|
|
44
51
|
- User-triggered validation refusals expand disclosures and select the exact UTF-16 character range with reduced-motion support.
|
|
45
|
-
|
|
52
|
+
8. **Save bar with Actionable Save-Lock Locator** — In normal document flow at the bottom:
|
|
46
53
|
- Status message and blocking issues.
|
|
54
|
+
- When save is locked due to invalid fields, actionable locator buttons directly navigate to the target:
|
|
55
|
+
- For role-scoped invalid fields, automatically opens the dialog, clears filters, expands the target details group, and focuses the invalid field.
|
|
56
|
+
- For ID or unmapped errors, focuses the field or expands JSONC with exact UTF-16 character range selection.
|
|
47
57
|
- Save button (enabled only when dirty and valid).
|
|
48
58
|
- Discard button (triggers confirmation when dirty or when invalid fields exist).
|
|
49
59
|
- Reload button (available when clean).
|
package/docs/roadmap.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## Version policy
|
|
4
4
|
|
|
5
|
-
**DSMM 0.3.
|
|
5
|
+
**DSMM 0.3.13 targets exactly DSH `0.2.1-rc.2`.** Each DSMM version targets the published DSH RC or stable release selected for that version. Older SDKs and old configuration schemas aren't runtime compatibility targets. Loading sessions created by DSMM `0.2.x` is a required compatibility target, separate from retaining old runtime implementations or execution behavior. A newer upstream release requires deliberate reassessment, not an automatic dependency or runtime switch.
|
|
6
6
|
|
|
7
7
|
Published `0.3.0` retains its original rc.1 package, tag, assets and version-bound release identity.
|
|
8
8
|
|
|
@@ -95,4 +95,4 @@ Existing [Fake-IP fetch](web-fetch-fakeip.md) protections remain in force.
|
|
|
95
95
|
|
|
96
96
|
## Publication and Desktop installation
|
|
97
97
|
|
|
98
|
-
0.3.
|
|
98
|
+
0.3.13 publication uses the version-bound [release controls](releasing.md). Desktop plugin installation follows publication, uses the Desktop-owned carrier and requires exact DSH `0.2.1-rc.2`. Installation doesn't authorize upgrading the Host, changing credentials or real sessions, altering unrelated configuration, or restarting active work. An incompatible Host or required data migration blocks installation rather than expanding its scope.
|
package/docs/runtime-recovery.md
CHANGED
package/docs/safety-guards.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# DSMM Safety Guards
|
|
2
2
|
|
|
3
|
-
DSMM 0.3.
|
|
3
|
+
DSMM 0.3.13 targets exactly DSH `0.2.1-rc.2`. Its guards use `tools/pre-execute` for allow, deny and ask decisions, and `tools/post-execute` for accepted-result truncation. They don't use OpenCode hook names or mutate tool arguments. Deployment overrides belong in the `id: dsmm` Loader entry's `config` object, not a settings.yaml namespace.
|
|
4
4
|
|
|
5
5
|
## Scope
|
|
6
6
|
|
package/docs/settings-status.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Deepwork settings and status
|
|
2
2
|
|
|
3
|
-
DSMM 0.3.
|
|
3
|
+
DSMM 0.3.13 targets exactly DSH `0.2.1-rc.2`. Named policy is covered in [profiles](profiles.md), routing in [model routing](model-routing.md), and child authority in [Agent presets](agent-presets.md).
|
|
4
4
|
|
|
5
5
|
## Deployment layers and native editors
|
|
6
6
|
|
package/docs/testing.md
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# DSMM testing
|
|
2
|
+
|
|
3
|
+
DSMM keeps fast default verification separate from module and integration
|
|
4
|
+
coverage. All entry points use Node's built-in test runner with file concurrency
|
|
5
|
+
fixed at one. They do not infer affected tests from Git state, cache results, or
|
|
6
|
+
change individual test timeouts.
|
|
7
|
+
|
|
8
|
+
## Entry points
|
|
9
|
+
|
|
10
|
+
```powershell
|
|
11
|
+
# Build and run the small default smoke selection.
|
|
12
|
+
pnpm test
|
|
13
|
+
|
|
14
|
+
# Show available module and integration names without running tests.
|
|
15
|
+
pnpm run test:list
|
|
16
|
+
|
|
17
|
+
# Run one or more affected quick modules after building current sources as needed.
|
|
18
|
+
pnpm run test:module -- permissions config-profiles
|
|
19
|
+
|
|
20
|
+
# Run one or more explicit integration groups.
|
|
21
|
+
pnpm run test:integration -- native-runtime
|
|
22
|
+
|
|
23
|
+
# Run every TypeScript test wrapper only for dedicated diagnosis.
|
|
24
|
+
pnpm run test:diagnostic:all
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
`test:run` is the smoke-only test command used after build by CI and release. It
|
|
28
|
+
contains representative permission, configuration/profile, recovery, routing,
|
|
29
|
+
frontend/package and workflow-resource checks, but it does not invoke every module.
|
|
30
|
+
CI and release retain source typecheck, build, frontend resource verification,
|
|
31
|
+
generated-role verification and package creation as separate gates.
|
|
32
|
+
|
|
33
|
+
The full diagnostic command preserves the former all-wrapper surface. It is not a
|
|
34
|
+
commit, release, CI or final-acceptance default. Do not use it as a substitute for
|
|
35
|
+
choosing the interfaces affected by a change.
|
|
36
|
+
|
|
37
|
+
## Quick modules
|
|
38
|
+
|
|
39
|
+
| Module | Primary coverage |
|
|
40
|
+
| --- | --- |
|
|
41
|
+
| `permissions` | Permission rules and settings, approval and command guards, managed/native permission consumers, shell and fetch policy. |
|
|
42
|
+
| `config-profiles` | Deployment configuration, named profiles, profile stores/RPC, Settings data, presets and module state. |
|
|
43
|
+
| `native-runtime` | Native lifecycle, persistence, recovery, session ownership, runtime contracts and LSP boundary. |
|
|
44
|
+
| `routing-model` | Model family/selection, route codecs and authority, role catalog/invocation, root eligibility and child control. |
|
|
45
|
+
| `frontend-package` | Client controllers and views, browser-independent UI behavior, package exports/assets and generated delivery resources. |
|
|
46
|
+
| `workflow-resources` | Prompts, skills and plan/workflow validation. |
|
|
47
|
+
|
|
48
|
+
Quick modules intentionally exclude every file assigned to an integration group.
|
|
49
|
+
Some quick files belong to more than one module where they exercise a real shared
|
|
50
|
+
boundary. Selecting several modules deduplicates those files and still runs them
|
|
51
|
+
serially.
|
|
52
|
+
|
|
53
|
+
## Integration groups
|
|
54
|
+
|
|
55
|
+
| Group | Primary coverage and prerequisites |
|
|
56
|
+
| --- | --- |
|
|
57
|
+
| `native-runtime` | Multi-step Host/runtime, resume, module admission, real shell safety and native SDK/CLI wrappers. Some cases require `DSMM_TEST_DSH_ENTRY` or `DSMM_COLD_PROFILE_SDK_ANCHOR`. |
|
|
58
|
+
| `frontend` | Real browser deployment/profile/editable-choice flows and native role cards. Browser cases require both `DSMM_TEST_DSH_ENTRY` and `DSMM_TEST_PLAYWRIGHT_ENTRY`. |
|
|
59
|
+
| `delivery` | Actual package/frontend materialization and full native/ordinary module delivery. Native cases require an explicit DSH anchor. |
|
|
60
|
+
|
|
61
|
+
Missing anchors produce explicit skips. A skipped integration case is unavailable
|
|
62
|
+
coverage, not a pass, and must be reported as such. The wrapper files remain the
|
|
63
|
+
entry points for their `.mjs` fixtures so the underlying Host, CLI, approval and
|
|
64
|
+
browser scenarios are not orphaned.
|
|
65
|
+
|
|
66
|
+
## Selecting affected coverage
|
|
67
|
+
|
|
68
|
+
Run the module containing the changed implementation and every module whose public
|
|
69
|
+
or ownership boundary is affected. For example:
|
|
70
|
+
|
|
71
|
+
- permission-backed configuration changes require `permissions` and
|
|
72
|
+
`config-profiles`;
|
|
73
|
+
- role route or model admission changes require `routing-model` and
|
|
74
|
+
`native-runtime`, plus the `native-runtime` integration group when Host ownership
|
|
75
|
+
or persisted sessions are involved;
|
|
76
|
+
- deployment UI changes require `frontend-package` and `config-profiles`, plus the
|
|
77
|
+
`frontend` integration group when browser behavior changes;
|
|
78
|
+
- shipped resources or package entry changes require `frontend-package` and the
|
|
79
|
+
`delivery` integration group.
|
|
80
|
+
|
|
81
|
+
Use the narrowest relevant typecheck/build/resource/package checks in addition to
|
|
82
|
+
those suites. Final acceptance follows the same affected-surface rule and does not
|
|
83
|
+
run the full diagnostic by default. Do not delete valid safety or protocol
|
|
84
|
+
regressions, weaken assertions, increase timeouts, or enable file concurrency as a
|
|
85
|
+
performance shortcut.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { RefObject } from "react";
|
|
2
|
+
import type { PropsLocale } from "@deepseek-ai/dsh-client-ui-slots";
|
|
3
|
+
import type { ProfilesActions, ProfilesViewSnapshot } from "./controller.js";
|
|
4
|
+
import type { StructuredDocument } from "./structured.js";
|
|
5
|
+
type Locale = PropsLocale<"settings.dsmm-profiles">;
|
|
6
|
+
export declare function hasExplicitModelOverride(roleId: string, doc: StructuredDocument | null): boolean;
|
|
7
|
+
export interface ProfileModelsDialogProps extends Locale {
|
|
8
|
+
open: boolean;
|
|
9
|
+
onClose: () => void;
|
|
10
|
+
state: ProfilesViewSnapshot;
|
|
11
|
+
actions: ProfilesActions;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
document: StructuredDocument | null;
|
|
14
|
+
isInvalidProjection?: boolean;
|
|
15
|
+
triggerRef?: RefObject<HTMLElement | null>;
|
|
16
|
+
targetRoleId?: string | null;
|
|
17
|
+
targetField?: string | null;
|
|
18
|
+
onTargetLocated?: () => void;
|
|
19
|
+
onJumpToJsonc?: () => void;
|
|
20
|
+
}
|
|
21
|
+
export declare function ProfileModelsDialog({ open, onClose, state, actions, disabled, document: doc, isInvalidProjection, triggerRef, targetRoleId, targetField, onTargetLocated, onJumpToJsonc, t, }: ProfileModelsDialogProps): import("react").JSX.Element;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=ProfileModelsDialog.d.ts.map
|