@dsmm/dsmm 0.1.8 → 0.1.9
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 +11 -9
- package/docs/compatibility.md +9 -7
- package/docs/profiles.md +2 -2
- package/docs/releasing.md +23 -21
- package/docs/settings-status.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Deepwork adapts ocmm's deepwork workflow to DeepSeek Harness. Its package remains `@dsmm/dsmm`: a DSH-native Cordis bundle, not an OpenCode compatibility layer.
|
|
4
4
|
|
|
5
|
-
This package targets `@deepseek-ai/dsh@0.2.0-rc.2`, the npm `latest` resolved on 2026-10-03. The prospective `0.1.
|
|
5
|
+
This package targets `@deepseek-ai/dsh@0.2.0-rc.2`, the npm `latest` resolved on 2026-10-03. The prospective `0.1.9` source contract retains 0.1.8's durable Deepwork toggle and simplified existing icon-only native profile menu in sessionless, blank and active conversation views, while preserving native root-model authority, structured native route controls, independent session profiles and delegated-role route strategies. Human-facing names remain **Deepwork** and **DW Role**. 0.1.9 publication and Desktop acceptance remain pending. The completed 0.1.5 publication and completed 0.1.6 publication/continuation are immutable historical evidence, not proof for 0.1.9; older identities, including 0.1.4's separately controlled published-origin continuation, stay unchanged. Package, configuration, tool and role IDs retain the `dsmm` namespace.
|
|
6
6
|
|
|
7
|
-
0.1.7 is already npm published and locally installed in Desktop, but it is not a completed GitHub Release. Its immutable `dsmm-scoped-v0.1.7` source is `1ca0bf6e89916d17ddc663e1e06f6c15256cf453`; original run `37312038470/1` failed verification, its GitHub job was skipped, and terminal evidence remained `UNRESOLVED`/`FAILED`. Preserve that package, tag, source and failed history. The authorized successor is `@dsmm/dsmm@0.1.
|
|
7
|
+
0.1.7 is already npm published and locally installed in Desktop, but it is not a completed GitHub Release. Its immutable `dsmm-scoped-v0.1.7` source is `1ca0bf6e89916d17ddc663e1e06f6c15256cf453`; original run `37312038470/1` failed verification, its GitHub job was skipped, and terminal evidence remained `UNRESOLVED`/`FAILED`. Preserve that package, tag, source and failed history. The authorized successor is `@dsmm/dsmm@0.1.9` / `dsmm-scoped-v0.1.9`; its Desktop installation waits for its own terminal `COMPLETED` proof.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
0.1.8 is genuinely npm published, but not a completed GitHub Release. Its immutable `dsmm-scoped-v0.1.8` source is `569eb8398cd6082d2c59679a0adc0198aeeb883e`, with confirmed published tarball SHA256 `803117222bff06af977752a3a421f4975bc3a511a61e7914960219132e31e301`. Original run `37350981167/1` ended terminal `FAILED`, with GitHub skipped: the old shared 300-second visibility budget expired before npm's record `2026-10-05T18:01:24.500Z`, after the publication job at `17:52:09` on 2026-10-05. Preserve its tag, source, package, provenance, bytes and failed receipt; no old-tag mutation, republishing, rerun, receipt adoption or in-place repair is authorized. Desktop remains on 0.1.7 and CLI/TUI on 0.1.6, unchanged. The prospective 0.1.9 keeps the same plugin behavior as 0.1.8 and changes only release Action verification controls to one shared 20-minute 404 visibility budget and a 45-minute verify job; its Desktop rollout still waits for its own terminal `COMPLETED`.
|
|
10
|
+
|
|
11
|
+
The immutable `dsmm-scoped-v0.1.3` tag remains at `2bdea4b`. Its CI run `37235817488` failed before packing or publication because pnpm 11 ignored the required esbuild/koffi build scripts. The later 0.1.4 origin published accepted bytes but its original verification saw a registry 404; its completed fixed-origin continuation preserves that failed original CI history. The stopped 0.1.2 frozen tag/artifact and draft Release remain untouched and unpublished. The successor target is 0.1.9; none of these facts authorizes rewriting earlier identities.
|
|
10
12
|
|
|
11
13
|
## Current functionality
|
|
12
14
|
|
|
@@ -29,16 +31,16 @@ Durable session metadata requires explicit deployment-only `sessionPersistence:
|
|
|
29
31
|
|
|
30
32
|
## Install and configure
|
|
31
33
|
|
|
32
|
-
Install the exact registry version after terminal verified publication with `dsh plugin --profile <profile> add @dsmm/dsmm@0.1.
|
|
34
|
+
Install the exact registry version after terminal verified publication with `dsh plugin --profile <profile> add @dsmm/dsmm@0.1.9`. For isolated development verification, use a built and packed artifact:
|
|
33
35
|
|
|
34
|
-
Desktop and CLI/TUI have independent native deployment profiles. Installing into `desktop` does not install into `dsh-tui`. The existing official CLI/TUI `@dsmm/dsmm@0.1.6` installation is already verified and enabled with `defaultActive: true`; it is not unfinished rollout work and this Desktop upgrade does not repeat TUI setup. For a separately authorized future TUI upgrade after 0.1.
|
|
36
|
+
Desktop and CLI/TUI have independent native deployment profiles. Installing into `desktop` does not install into `dsh-tui`. The existing official CLI/TUI `@dsmm/dsmm@0.1.6` installation is already verified and enabled with `defaultActive: true`; it is not unfinished rollout work and this Desktop upgrade does not repeat TUI setup. For a separately authorized future TUI upgrade after 0.1.9 terminal completion, the exact-version command is `dsh plugin --profile dsh-tui add @dsmm/dsmm@0.1.9 --save-exact`. Launch with `dsh --profile dsh-tui` (or the TUI launcher); a bare `dsh` does not select the Desktop profile. Keep the existing TUI bundle, provider, model, effort and environment-based preset/resume settings. Do not copy Desktop credentials or providers. When enabling durable Deepwork metadata, also follow the single-provider [persistence startup procedure](docs/compatibility.md#session-persistence-compatibility), preserving the existing root and compression. Merely adding the package does not activate Deepwork.
|
|
35
37
|
|
|
36
38
|
```powershell
|
|
37
39
|
pnpm --dir dsmm build
|
|
38
40
|
pnpm --dir dsmm pack --pack-destination <temporary-artifact-directory>
|
|
39
41
|
$env:DSH_HOME = "<disposable-test-home>"
|
|
40
42
|
dsh --profile <profile> --from-default-profile headless --dump-config
|
|
41
|
-
dsh plugin --profile <profile> add <absolute-path-to-dsmm-dsmm-0.1.
|
|
43
|
+
dsh plugin --profile <profile> add <absolute-path-to-dsmm-dsmm-0.1.9.tgz>
|
|
42
44
|
dsh --profile <profile> --dump-config
|
|
43
45
|
```
|
|
44
46
|
|
|
@@ -60,7 +62,7 @@ This runtime-baseline example is not the full durable-persistence patch. Native
|
|
|
60
62
|
|
|
61
63
|
Do not copy the old `settings.yaml` namespace or preset-discovery roots into the new host. Runtime drafts instead live at `<profileContext.dir>/dsmm-profiles/<id>.jsonc`; there is no embedded profiles object in plugin config. See [runtime profiles](docs/profiles.md), [settings/status](docs/settings-status.md), and [agent roles](docs/agent-presets.md).
|
|
62
64
|
|
|
63
|
-
The [historical 0.1.1 migration guide](docs/migration-from-ocmm.md) explains the earlier ocmm/DSH adapter migration; use the current profile and upgrade guides above for 0.1.
|
|
65
|
+
The [historical 0.1.1 migration guide](docs/migration-from-ocmm.md) explains the earlier ocmm/DSH adapter migration; use the current profile and upgrade guides above for 0.1.9 behavior.
|
|
64
66
|
|
|
65
67
|
For a delegated-role model, configure `roleRouting.dsmm-reviewer.primary` with native `provider`, `model`, and optional `reasoningEffort`, then choose its strategy/retry policy where needed. These policies do not silently replace the ordinary root's native model; using a profile's main-model choice is an explicit user action. There are no built-in provider routes or API keys. See [model routing](docs/model-routing.md) and [runtime recovery](docs/runtime-recovery.md) for admission, bounded RATE_LIMIT rollover and migration from old generic automatic fallback.
|
|
66
68
|
|
|
@@ -75,7 +77,7 @@ pnpm --dir dsmm check:release
|
|
|
75
77
|
pnpm --dir dsmm smoke:docker
|
|
76
78
|
```
|
|
77
79
|
|
|
78
|
-
A separately authorized credentialed, packed real-model diagnostic is also available from this checkout. It is **not** the independent 0.1.
|
|
80
|
+
A separately authorized credentialed, packed real-model diagnostic is also available from this checkout. It is **not** the independent 0.1.9 Docker/UI release gate; that gate must not copy credentials, sessions, Desktop configuration or browser authentication:
|
|
79
81
|
|
|
80
82
|
```powershell
|
|
81
83
|
node dsmm/scripts/live-dsh-smoke.mjs --runtime <npm-prefix-with-pinned-dsh> --package <packed-dsmm.tgz> --provider deepseek-account --credentials <existing-dsh-credentials-file> --receipt <sanitized-receipt.json>
|
|
@@ -85,4 +87,4 @@ Add `--delegate` to verify the actual `dsmm_reviewer` child persona, inherited F
|
|
|
85
87
|
|
|
86
88
|
The test copies only native account records into a temporary home, verifies a real read/write/model round-trip, checks the exact route and DSMM prompt, and removes temporary credentials and sessions. It does not print reasoning or credentials, log into a browser, modify the original credential file, or silently use a different model. API-key testing uses `--provider deepseek-official` and an existing `DEEPSEEK_API_KEY` environment variable.
|
|
87
89
|
|
|
88
|
-
These commands are verification procedures, not a claim they have passed for the final 0.1.
|
|
90
|
+
These commands are verification procedures, not a claim they have passed for the final 0.1.9 artifact. The dedicated DSMM workflow builds a fresh CI tarball with pnpm, Docker-gates its exact bytes, and publishes through OIDC with genuine provenance; the old 0.1.2 bootstrap is not used. See [compatibility](docs/compatibility.md) and [release policy](docs/releasing.md) for the exact shared visibility budget, terminal publication and later Desktop evidence boundaries.
|
package/docs/compatibility.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
# Deepwork 0.1.
|
|
1
|
+
# Deepwork 0.1.9 Compatibility and Upgrade
|
|
2
2
|
|
|
3
|
-
This document describes the prospective 0.1.
|
|
3
|
+
This document describes the prospective 0.1.9 source contract and required acceptance evidence. It does not claim that the final 0.1.9 artifact has passed Docker, been published, or been activated in Desktop. Completed 0.1.5 and 0.1.6 publication/continuation evidence stays immutable and does not prove 0.1.9. Historical 0.1.1 checks and the stopped 0.1.2 frozen draft are not substitute evidence for this update; the old 0.1.2 tag/artifact/draft stay untouched and unpublished. The 0.1.9 plugin behavior is unchanged from 0.1.8; only release Action verification controls change to an exact shared 20-minute 404 visibility budget and a 45-minute verify job. The 0.1.8 npm publication is genuine but its original terminal receipt failed with GitHub skipped; Desktop remains on 0.1.7 and CLI/TUI on 0.1.6 until a separately completed successor rollout.
|
|
4
4
|
|
|
5
|
-
0.1.7 is npm published and Desktop installed, but not a completed GitHub Release. Preserve immutable tag `dsmm-scoped-v0.1.7`, package and source `1ca0bf6e89916d17ddc663e1e06f6c15256cf453`; original run `37312038470/1` failed verification, GitHub was skipped, and terminal evidence remained `UNRESOLVED`/`FAILED`. Neither installation nor registry presence supplies completion authority. The authorized 0.1.
|
|
5
|
+
0.1.7 is npm published and Desktop installed, but not a completed GitHub Release. Preserve immutable tag `dsmm-scoped-v0.1.7`, package and source `1ca0bf6e89916d17ddc663e1e06f6c15256cf453`; original run `37312038470/1` failed verification, GitHub was skipped, and terminal evidence remained `UNRESOLVED`/`FAILED`. Neither installation nor registry presence supplies completion authority. The authorized 0.1.9 Desktop upgrade waits for the new identity's terminal `COMPLETED` evidence, while the existing CLI/TUI 0.1.6 installation remains untouched.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
0.1.8 is genuinely npm published, but not a completed GitHub Release. Its immutable `dsmm-scoped-v0.1.8` source is `569eb8398cd6082d2c59679a0adc0198aeeb883e`, with confirmed published tarball SHA256 `803117222bff06af977752a3a421f4975bc3a511a61e7914960219132e31e301`. Original run `37350981167/1` ended terminal `FAILED`, with GitHub skipped: the old shared 300-second visibility budget expired before npm's record `2026-10-05T18:01:24.500Z`, after the publication job at `17:52:09` on 2026-10-05. Preserve its tag, source, package, provenance, bytes and failed receipt; no old-tag mutation, republishing, rerun, receipt adoption or in-place repair is authorized. Desktop remains on 0.1.7 and CLI/TUI on 0.1.6, unchanged. The prospective 0.1.9 keeps the same plugin behavior as 0.1.8 and changes only release Action verification visibility/deadline controls; its Desktop rollout still waits for its own terminal `COMPLETED`.
|
|
8
|
+
|
|
9
|
+
The immutable 0.1.3 tag at `2bdea4b` is also preserved. Its run `37235817488` failed before pack/publish on pnpm 11's ignored esbuild/koffi build scripts. 0.1.4's published-origin bytes and failed original verify/404 history are preserved by their separate fixed continuation controls, not rewritten by a successor. The 0.1.9 gate requires fresh clean Linux installation/build evidence; existing compiled output is not a substitute.
|
|
8
10
|
|
|
9
11
|
Deepwork is the native plugin title in both exported metadata locales, with localized descriptions. Profiles are displayed as **Deepwork Profiles** / **Deepwork 配置档**, and twelve roles as `DW …`. Package `@dsmm/dsmm`, Loader `dsmm`, role/tool/provider IDs, commands, schemas and persistence vocabulary remain compatible. Native metadata-reader and actual UI evidence must prove the display names; a manifest `displayName` is not a supported substitute.
|
|
10
12
|
|
|
@@ -29,7 +31,7 @@ The installation contracts include `@deepseek-ai/cordis@~4.0.4`, `@deepseek-ai/s
|
|
|
29
31
|
| macOS | `Node >=22` | supported by contract |
|
|
30
32
|
| Native Settings | additive Deepwork Profiles client and authenticated RPC | compiled UI/RPC/storage and actual Desktop are separate proofs |
|
|
31
33
|
| Headless | deployment config and native role tools | no Agent preset selection in the one-shot runner |
|
|
32
|
-
| TUI | `DSH 0.2.0-rc.2` | existing official 0.1.6 CLI/TUI installation verified; new 0.1.
|
|
34
|
+
| TUI | `DSH 0.2.0-rc.2` | existing official 0.1.6 CLI/TUI installation verified; new 0.1.9 menu proof is Web/Desktop only |
|
|
33
35
|
| LSP/MCP | `external ocmm-lsp mcp` | optional |
|
|
34
36
|
| Runtime recovery | `process-local` | optional |
|
|
35
37
|
| Per-role model/effort/fallback policy | native request, subagent and descriptor seams | opt-in; exact configured capability required |
|
|
@@ -42,7 +44,7 @@ The installation contracts include `@deepseek-ai/cordis@~4.0.4`, `@deepseek-ai/s
|
|
|
42
44
|
|
|
43
45
|
`/deepwork` and `/dsmm-status` are host-adapter commands, not headless task-text commands. The current native client provides Settings → Deepwork Profiles without replacing native navigation, provider/account UI, or the Agent preset selector. There are no model-visible profile-management tools or anonymous file endpoints.
|
|
44
46
|
|
|
45
|
-
The 0.1.
|
|
47
|
+
The 0.1.9 Web/Desktop header contributes one icon-only native profile menu in sessionless, blank and active views, yielding to native navigation ownership. One profile list handles normal profile switching that keeps the current model and invokes no native model selection. One `@use-model` **Use profile model** action reads the current admitted immutable profile model without reapplying a later saved revision; successful profile CAS remains authoritative for profile changes, not a prerequisite repeated by this independent model action. It retains native-default persistence like the Models tab and existing manual-model-intent race fencing. Disabled mutations leave the menu inspectable and refreshable. Successes are accessible live announcements only, not visible success prose; short sanitized refusal details use allowlisted codes/fields and refresh/retry guidance, never raw messages or paths. No verbose normal-menu descriptions or duplicate profile-model list remains. These are required new-menu contracts, not a claim of authenticated Desktop acceptance; the historical 0.1.6 SELECT and 0.1.7 menu proof contracts remain unchanged.
|
|
46
48
|
|
|
47
49
|
The menu's **Deepwork** toggle applies to other native presets. Official minimal mode defaults off unless saved explicit `deepwork/mode` intent exists; a same-default choice still persists that intent, which survives profile changes and reopen. Standing DW presets show a locked enabled label, not an off action. Sessionless/busy/unavailable mutations fail closed; mode never creates a session or changes native preset, model or global runtime default.
|
|
48
50
|
|
|
@@ -99,7 +101,7 @@ Global/system Desktop migration is the **third phase**: independent frozen-artif
|
|
|
99
101
|
|
|
100
102
|
The Linux packed-lifecycle smoke pins pnpm `12.8.1` and retains DSH's native `nodeLinker: hoisted` profile layout. On Linux Node 22, pnpm `11.9.0` with that layout and DSMM's auto-installed peer graph can print `Done` after removal without exiting; the same failure was reproduced directly without DSH, while `12.8.1` returned normally. A printed `Done` is not uninstall completion. This does not claim the same failure on Windows or modify a user's existing package manager or profile. The smoke enforces a bounded fail-closed timeout and checks actual remove/reinstall exits and profile state.
|
|
101
103
|
|
|
102
|
-
The matrix separates required 0.1.
|
|
104
|
+
The matrix separates required 0.1.9 evidence from historical CLI/configuration, source-contract and credentialed model evidence. A version string or unit test alone establishes neither native preset health nor UI/runtime behavior. Windows, Linux, Web, and macOS evidence are not interchangeable. The already verified official CLI/TUI 0.1.6 installation is not unfinished rollout work and must not be repeated as part of the new Desktop upgrade.
|
|
103
105
|
|
|
104
106
|
The independent Docker gate installs the exact frozen tarball into a fresh pinned native runtime/home and verifies root selection, actual read-only child denials, aliased-parent route preflight, runtime snapshot behavior, and the **same compiled DSMM UI** using native client/slots/RPC and real profile storage. A supported composition-owned in-process operator/Gateway carrier and test-owned browser bridge provide no-credential native component/RPC/storage proof. No user login, copied cookie, launcher token, browser state, Desktop data, account records or authentication bypass is permitted. This proof is not authenticated Desktop/Web-launch proof; actual Desktop mounting and authorized operations remain the later check.
|
|
105
107
|
|
package/docs/profiles.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Deepwork runtime profiles (0.1.
|
|
1
|
+
# Deepwork runtime profiles (0.1.9 source contract)
|
|
2
2
|
|
|
3
|
-
This guide describes the prospective 0.1.
|
|
3
|
+
This guide describes the prospective 0.1.9 source contract. It is not evidence of a published 0.1.9 package or completed Docker/Desktop acceptance; see [releasing](releasing.md). Deepwork is the display name; package, storage and configuration IDs retain `dsmm` for compatibility. Historical release identities and completed 0.1.4/0.1.6 continuation evidence stay immutable. The already published and Desktop-installed 0.1.7 has failed terminal verification, not a completed GitHub Release; it remains immutable. The 0.1.9 plugin behavior is unchanged from 0.1.8; only release Action verification controls change to an exact shared 20-minute 404 visibility budget and a 45-minute verify job. The 0.1.8 npm publication is genuine but its original terminal receipt failed with GitHub skipped; Desktop remains on 0.1.7 and CLI/TUI on 0.1.6 until a separately completed successor rollout.
|
|
4
4
|
|
|
5
5
|
A Deepwork runtime profile is a named file containing runtime policy, not a native deployment profile or an Agent role preset. Native Settings → **Deepwork Profiles** / **Deepwork 配置档** provides create/read/edit/save, explicit apply, and reset to the deployment baseline. The native Agent preset selector remains a separate role selector, displaying `DW …` names under unchanged `dsmm-*` IDs.
|
|
6
6
|
|
package/docs/releasing.md
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
# Deepwork 0.1.
|
|
1
|
+
# Deepwork 0.1.9 Release and Rollback
|
|
2
2
|
|
|
3
|
-
This is a prospective procedure for the explicitly authorized 0.1.
|
|
3
|
+
This is a prospective procedure for the explicitly authorized 0.1.9 commit, new release and later local Desktop installation, not a completed-release receipt. The new identities are `@dsmm/dsmm@0.1.9`, tag `dsmm-scoped-v0.1.9`, and `dsmm-dsmm-0.1.9.tgz`. Deepwork/DW display names do not rename package or protocol IDs. Existing 0.1.1 and older releases remain immutable. The stopped 0.1.2 tag, frozen artifact and draft Release remain untouched and unpublished: do not dispatch its bootstrap publisher, finalize its draft, overwrite its bytes or move/delete/recreate its tag.
|
|
4
4
|
|
|
5
|
-
0.1.7 is already npm published and locally installed in Desktop, but not a completed GitHub Release. Preserve immutable `@dsmm/dsmm@0.1.7`, tag `dsmm-scoped-v0.1.7` and source `1ca0bf6e89916d17ddc663e1e06f6c15256cf453`. Original run `37312038470/1` failed verification, the GitHub job was skipped, and terminal evidence remained `UNRESOLVED`/`FAILED`. Do not move/delete/recreate that tag, overwrite package/assets, repair the release in place or relabel installation as completion. New 0.1.
|
|
5
|
+
0.1.7 is already npm published and locally installed in Desktop, but not a completed GitHub Release. Preserve immutable `@dsmm/dsmm@0.1.7`, tag `dsmm-scoped-v0.1.7` and source `1ca0bf6e89916d17ddc663e1e06f6c15256cf453`. Original run `37312038470/1` failed verification, the GitHub job was skipped, and terminal evidence remained `UNRESOLVED`/`FAILED`. Do not move/delete/recreate that tag, overwrite package/assets, repair the release in place or relabel installation as completion. New 0.1.9 authority does not authorize a 0.1.7 continuation/rerun. Local Desktop upgrade waits for the new terminal completion; CLI/TUI 0.1.6 stays untouched.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
0.1.8 is genuinely npm published, but not a completed GitHub Release. Its immutable `dsmm-scoped-v0.1.8` source is `569eb8398cd6082d2c59679a0adc0198aeeb883e`, with confirmed published tarball SHA256 `803117222bff06af977752a3a421f4975bc3a511a61e7914960219132e31e301`. Original run `37350981167/1` ended terminal `FAILED`, with GitHub skipped: the old shared 300-second visibility budget expired before npm's record `2026-10-05T18:01:24.500Z`, after the publication job at `17:52:09` on 2026-10-05. Preserve its tag, source, package, provenance, bytes and failed receipt; no old-tag mutation, republishing, rerun, receipt adoption or in-place repair is authorized. Desktop remains on 0.1.7 and CLI/TUI on 0.1.6, unchanged. The prospective 0.1.9 keeps the same plugin behavior as 0.1.8 and changes only release Action verification visibility/deadline controls; its Desktop rollout still waits for its own terminal `COMPLETED`.
|
|
8
8
|
|
|
9
|
-
The
|
|
9
|
+
The `dsmm-scoped-v0.1.3` tag at `2bdea4b` is immutable too. Run `37235817488` failed **before pack/publish** because pnpm 11 ignored esbuild/koffi build scripts. Preserve that tag and its historical plan; do not reroute it to the successor. 0.1.9 must obtain its own fresh source, clean Linux build, packed bytes and receipt.
|
|
10
|
+
|
|
11
|
+
The completed 0.1.4 publication and its separately authorized continuation remain historical evidence: original run `37240470628/1` and continuation `37243216939/1` are not 0.1.9 proof. Their exact fourteen UI checks and nine installed compiled-file checks remain unchanged. The completed 0.1.5 publication and completed 0.1.6 publication/continuation, immutable packages/tags/accepted bytes and their own terminal completion evidence also remain historical; do not republish them or relabel their receipts as 0.1.9 acceptance. New proof requirements are version-gated, never retroactively applied to completed identities. The 0.1.6 SELECT receipt grammar remains valid for that historical identity, not for the new native-menu proof.
|
|
10
12
|
|
|
11
13
|
The mandatory sequence is **fresh CI pack → independent frozen-byte Docker acceptance → verified OIDC npm/GitHub publication and terminal completion → authorized official-carrier Desktop rollout**. No global/system DSH, Desktop configuration, account/provider, credential, or real-session writes may occur before terminal verified publication. Local readiness alone does not authorize publication or migration.
|
|
12
14
|
|
|
@@ -33,11 +35,11 @@ The root typecheck, test and build must pass before committing. Build before gen
|
|
|
33
35
|
|
|
34
36
|
Use pnpm for actual install/build/test/**pack/publish**. The `npm pack --dry-run --json` above is only the existing read-only, size-rich metadata diagnostic, not release packaging. Do not blindly substitute pnpm's differently shaped preview JSON or fabricate missing size fields. Source-checkout Docker runs are development evidence; final acceptance must use the CI-frozen artifact and expected SHA256 without building or repacking. A checker or successful install is not runtime, UI, publication or Desktop proof.
|
|
35
37
|
|
|
36
|
-
For 0.1.
|
|
38
|
+
For 0.1.9, clean Linux install/build verification must exercise the reviewed pnpm `allowBuilds` policy for exactly `esbuild@0.25.12` and `koffi@3.1.1`, with `strictDepBuilds: true`. A cached native binary or pre-existing `lib` tree cannot establish that the ignored-script failure is repaired. This is distinct from the deliberately script-free metadata dry-run above; do not weaken that diagnostic's lifecycle-script protection or approve all dependency scripts.
|
|
37
39
|
|
|
38
40
|
## Phase 1: frozen artifact and independent Docker gate
|
|
39
41
|
|
|
40
|
-
Use the dedicated `.github/workflows/dsmm-release.yml` **future tag path** for the authorized `dsmm-scoped-v0.1.
|
|
42
|
+
Use the dedicated `.github/workflows/dsmm-release.yml` **future tag path** for the authorized `dsmm-scoped-v0.1.9` push, not the old bootstrap dispatch. Tag/version, peeled source commit, control commit and event identity must agree. CI uses pinned Node 24 / pnpm 11.9.0, checks/builds the exact source, verifies generated assets, and packs **one new actual tarball** with pnpm. Inspect `dsmm-dsmm-0.1.9.tgz`, record its actual size/SHA256/SHA1/SHA512 integrity, and freeze it. Never reuse the old 0.1.2 hash/receipt/artifact or any completed successor's bytes.
|
|
41
43
|
|
|
42
44
|
Run the full independent Docker runner with that **explicit artifact path and expected SHA256**, required compiled-UI hook and trusted support files. It must fail closed if required inputs are missing/mismatched and must not build, repack, or silently choose another tarball. The new completed receipt's `packedSha256` must match the fresh frozen file and its run/attempt/source identity. Only these accepted unchanged bytes may proceed to publish.
|
|
43
45
|
|
|
@@ -53,13 +55,13 @@ Successor acceptance additionally requires the compiled structured editor's nati
|
|
|
53
55
|
|
|
54
56
|
Actual native `followup/whenIdle` requests must prove primary/first-available startup locks, finite same-route rate-limit exhaustion, threshold-ordered rollover, same-profile/different-role and different-profile isolation, first-request unavailable versus partial/later refusal, and both strategies' partial-text/tool-fragment no-retry fences. Bind each real provider call to its native request header, live attempt ID, matching durable stream and settlement; successful outputs and terminal outcomes must agree. A competing native always-retry handler must remain unused and tools must not replay. The added native model-selection scenario must invoke strict public `session/selectModel`, demonstrate a route different from the Orchestrator profile primary, exact effort-only changes and subsequent-request retention, and validate the final native headers rather than an acknowledgement alone.
|
|
55
57
|
|
|
56
|
-
Ordinary roots remain native-owned in 0.1.
|
|
58
|
+
Ordinary roots remain native-owned in 0.1.9: their initial provider/model/exact effort remain authoritative even before any explicit model-selection event. Profile-role primary and fallback chains apply to genuinely owned delegated children, not silently to the root. Prove this with actual native request headers before and after explicit model/effort changes, profile reapply and cold resume; retain supported explicit child overrides and native read-only permissions. Startup failure evidence must identify the failed `installProfiles` child through its public parent-fiber ownership of the actual Loader entry, preserve the native failure exit, and observe absent runtime/zero request preparations/tools; never fabricate an outer Loader failure or accept a foreign failed fiber.
|
|
57
59
|
|
|
58
60
|
Exercise one icon-only native profile menu in sessionless, blank and active native conversation views, with one profile list and exactly one `@use-model` **Use profile model** action. Normal profile switching keeps the current model and native model default unchanged, with zero `session/selectModel` calls; successful profile CAS remains its authority. The independent model action reads the current admitted immutable profile's main model without reapplying a later saved draft revision, changing its epoch or writing a profile sidecar. It calls native `session/selectModel` and has the same native-default persistence consequence as the Models tab, with existing manual-model-intent race fencing. Prove later-draft isolation, missing profile primary, unconfirmed model changes and newer native choices, including effort-only/same-value intent, without undoing an admitted profile or silently overriding the newer choice. Successes use accessible live announcements only; visible errors are short sanitized codes/fields. Remove the old duplicate profile-model list and verbose normal-menu descriptions. Global-default Apply and draft Save retain their separate scopes. Owned component/endpoint proof does not establish authenticated Desktop or production model-picker interaction; retain explicit nonclaims for any unexercised surface.
|
|
59
61
|
|
|
60
62
|
Prove the **Deepwork** toggle on other native presets: official minimal mode defaults off without saved explicit `deepwork/mode`; saved intent wins over profile `defaultActive`, including explicit same-default choices that persist intent. Real native durable events, profile changes and fresh-process reopen must agree. Standing DW presets are locked enabled with a clear label, never an actionable off choice. Exercise sessionless/busy/unavailable refusals and preserve admission, model and mode on failed writes; no session creation or global-default change belongs to this action.
|
|
61
63
|
|
|
62
|
-
The trusted artifact version alone chooses the proof contract: historical 0.1.6 SELECT and 0.1.7 native-menu grammars remain unchanged;
|
|
64
|
+
The trusted artifact version alone chooses the proof contract: historical 0.1.6 SELECT and 0.1.7 native-menu grammars remain unchanged; compact-menu/mode proof is version-gated to reviewed 0.1.8 and 0.1.9 only, never applied retroactively. The 0.1.9 successor requires its own fresh identity-bound evidence for that unchanged plugin contract; 0.1.8 bytes or receipts are not adopted. Later versions require their own explicitly reviewed proof contract and fail closed until reviewed. Reject a relabelled old receipt, SELECT-only/old-slot evidence, missing states or mismatched digest/version; retain every native request/header/projection, CAS-ordering, race, busy, partial-model-failure, no-model and cleanup check. Use the installed native `Menu` through pointer and keyboard open/close/focus/arrow actions and refresh/session withdrawal. At widths 375, 768 and 1280, require one visible icon trigger, zero header SELECTs, one profile list, exactly one model action, bounded focus/header geometry, readable long labels/errors in a viewport-contained portal, and sessionless/blank coverage before any request. Pending CAS and refusals preserve admission/model and show only allowlisted codes/fields with refresh/retry guidance, never arbitrary wire messages, provider/credential identifiers or paths. Successful actions must have accessible live announcements without visible success prose.
|
|
63
65
|
|
|
64
66
|
Bind the hook and every trusted support module explicitly, including `profile-ui-harness-server.mjs`, `profile-ui-harness-browser.mjs`, `profile-ui-harness-native.mjs` and the `native-picker-{harness,browser,proof}.mjs` modules. The successor receipt's exact check and installed compiled-file inventories are version-gated; historical receipt grammars are not expanded. CI source/pack/publish/installed verification uses Node 24 / pnpm 11.9.0; the independent borrowed Docker runtime uses its recorded Node 22 / pnpm 12.8.1 environment. These are distinct evidence surfaces, not interchangeable build claims. Use supported native artifact installation and normal public dependency provisioning in owned Docker homes; offline exploratory A–F startup limitations are not the final gate or native browser proof.
|
|
65
67
|
|
|
@@ -67,9 +69,9 @@ The native component/RPC/storage test uses a supported composition-owned in-proc
|
|
|
67
69
|
|
|
68
70
|
## Phase 2: authorized immutable publication
|
|
69
71
|
|
|
70
|
-
Publication requires explicit authorization for the new identity. Recheck `@dsmm/dsmm@0.1.
|
|
72
|
+
Publication requires explicit authorization for the new identity. Recheck `@dsmm/dsmm@0.1.9` and `dsmm-scoped-v0.1.9` are absent. Confirm the one-time npm Trusted Publisher registration for repository `hugefiver/ocmm`, workflow filename `dsmm-release.yml`, with direct publish allowed. If supported setup/MFA is still missing, request that step; do not add a static token fallback or recurring manual release gate. The main ocmm workflow/checker does not cover DSMM: its dedicated workflow and DSMM terminal checker do.
|
|
71
73
|
|
|
72
|
-
The earlier unscoped `dsmm-v0.1.0` GitHub release, scoped 0.1.0 release and scoped 0.1.1 release stay intact. A new-release authorization covers ordinary parent-owned commit/push/tag/npm/GitHub actions for 0.1.
|
|
74
|
+
The earlier unscoped `dsmm-v0.1.0` GitHub release, scoped 0.1.0 release and scoped 0.1.1 release stay intact. A new-release authorization covers ordinary parent-owned commit/push/tag/npm/GitHub actions for 0.1.9 only, not rewriting prior publications, the old 0.1.2 draft, app upgrades, global package-manager changes or authentication workarounds. The separately authorized official-carrier Desktop DSMM upgrade still waits for terminal completion of this exact new identity; the already verified official CLI/TUI 0.1.6 installation is not unfinished rollout work.
|
|
73
75
|
|
|
74
76
|
The future publish job revalidates the accepted run/attempt-bound bytes and publishes **that exact tarball with native pnpm**, public npmjs access, lifecycle scripts ignored, OIDC and genuine provenance enabled. Do not forge GitHub identity variables, use the old bootstrap's `provenance=false`, or repack after acceptance. Preserve non-canceling package-wide publication concurrency and least-permission separated jobs. Registry byte/integrity and fresh installed-package verification precede non-overwriting public GitHub finalization with the same tarball and `SHA256SUMS.txt`.
|
|
75
77
|
|
|
@@ -77,7 +79,7 @@ Treat both identities as immutable: never overwrite an npm version and never mov
|
|
|
77
79
|
|
|
78
80
|
### Publication identity verification
|
|
79
81
|
|
|
80
|
-
The prospective 0.1.
|
|
82
|
+
The prospective 0.1.9 release Action verifier gives public metadata, the exact tarball URL and genuine provenance one shared 20-minute (1,200-second / `1200000` ms) visibility deadline, with the `verify` job bounded to 45 minutes. The visibility budget is shared across all three read surfaces, never reset for each stage. Only HTTP 404 reads may wait within that budget; transport failures, other HTTP statuses, wrong bytes, altered source/run identities and invalid provenance still fail closed. This never retries publishing or weakens publisher absence checks. Failures expose only finite stage/code/HTTP-status diagnostics, never raw credentials or provider errors. The old 0.1.8 300-second budget and failed receipt stay immutable; the new controls apply only to the separately authorized new 0.1.9 identity. The original 0.1.7 CI cause remains unproven; this visibility hardening does not repair or reinterpret its failed receipt.
|
|
81
83
|
|
|
82
84
|
Verify the tag's peeled commit, exact npm name/version and `dist.integrity`, genuine provenance, downloaded registry archive bytes, GitHub asset bytes and checksum list against the frozen artifact. Use a fresh isolated `DSH_HOME` for exact registry installation. Check all seven exports, including both metadata JSON resources, resolve and match bytes from the **installed registry package**, never the checkout. Native `readPluginMeta` must yield Deepwork; JSON resources are metadata, not executable code. The Loader row remains `id: dsmm`. Initialize a fresh headless deployment profile first; `/deepwork` and `/dsmm-status` are not headless task text.
|
|
83
85
|
|
|
@@ -85,16 +87,16 @@ After the matching workflow terminates, run `scripts/check-dsmm-release-completi
|
|
|
85
87
|
|
|
86
88
|
```powershell
|
|
87
89
|
$env:DSH_HOME = "<fresh-task-owned-verification-home>"
|
|
88
|
-
dsh --profile dsmm-0.1.
|
|
89
|
-
dsh plugin --profile dsmm-0.1.
|
|
90
|
-
dsh plugin --profile dsmm-0.1.
|
|
91
|
-
dsh --profile dsmm-0.1.
|
|
92
|
-
npm view @dsmm/dsmm@0.1.
|
|
90
|
+
dsh --profile dsmm-0.1.9-verify --from-default-profile headless --dump-config
|
|
91
|
+
dsh plugin --profile dsmm-0.1.9-verify add @dsmm/dsmm@0.1.9
|
|
92
|
+
dsh plugin --profile dsmm-0.1.9-verify list
|
|
93
|
+
dsh --profile dsmm-0.1.9-verify --dump-config
|
|
94
|
+
npm view @dsmm/dsmm@0.1.9 dist.integrity --registry "https://registry.npmjs.org/"
|
|
93
95
|
```
|
|
94
96
|
|
|
95
97
|
### Published 0.1.6 continuation (separately authorized)
|
|
96
98
|
|
|
97
|
-
Historical audit reference only: this completed 0.1.6 publication/continuation remains immutable. Do not dispatch it again, republish its package or substitute its completion for the prospective 0.1.
|
|
99
|
+
Historical audit reference only: this completed 0.1.6 publication/continuation remains immutable. Do not dispatch it again, republish its package or substitute its completion for the prospective 0.1.9 gate. The preserved identities and original failed history below belong only to 0.1.6.
|
|
98
100
|
|
|
99
101
|
The original `dsmm-scoped-v0.1.6` publication run `37281521750/1` published the immutable npm bytes but failed its verify job; its GitHub Release job was skipped. Preserve that failed history, original source/tag at `d2e499b3a61ef76033d417efbec3402a4739a8fe`, and original npm provenance. Supplemental verification does not rerun that workflow or republish npm.
|
|
100
102
|
|
|
@@ -106,17 +108,17 @@ After the dedicated run terminates, use its actual run/attempt/control SHA and a
|
|
|
106
108
|
node scripts/check-dsmm-release-completion.mjs terminal-continuation --origin-version 0.1.6 --run-id <actual-continuation-run> --run-attempt <actual-attempt> --control-sha <trusted-continuation-control-sha> --receipt <new-016-continuation-receipt.json>
|
|
107
109
|
```
|
|
108
110
|
|
|
109
|
-
Only exit `0` with `COMPLETED` establishes that historical two-run terminal proof for 0.1.6, not permission for the new 0.1.
|
|
111
|
+
Only exit `0` with `COMPLETED` establishes that historical two-run terminal proof for 0.1.6, not permission for the new 0.1.9 rollout below. A green supplemental run alone is insufficient; `FAILED`/`UNRESOLVED` preserve immutable partial state. The omitted-selector APIs/CLI and old continuation workflow remain fixed to historical 0.1.4; neither that receipt nor its archive/provenance can establish 0.1.6 completion.
|
|
110
112
|
|
|
111
113
|
## Phase 3: official installed-carrier Desktop rollout
|
|
112
114
|
|
|
113
|
-
Only after terminal 0.1.
|
|
115
|
+
Only after terminal 0.1.9 completion may authorized global migration begin. First perform the separately bounded isolated real-model/tool check against the exact registry package. Coordinate a fully quit Desktop, recheck concurrent edits, and preserve a recoverable local snapshot of only task-changed package-manager/DSMM-owned files—not the entire credential or session store. Use the exact installed official Desktop carrier to install `@dsmm/dsmm@0.1.9`. It may manage packages while the app is quit; it may **not** boot/dump the reserved Desktop profile. Never substitute standalone npm DSH, a renamed/copied profile, checkout imports, `app.asar` patches, global PATH/pnpm changes, or auth bypasses. Preserve the enabled state and do not repeat unrelated CLI/TUI installation.
|
|
114
116
|
|
|
115
117
|
Preserve base/web bundles, deployment roles/skills, all configured policies, disabled Builder, active mode, provider/model catalog, account state and UI preferences. Saving supported baseline settings as a runtime draft is explicit and reversible; it does not change structural configuration. Disclose committed-sidecar versus absent-sidecar cold resume and the unknown removed auxiliary-root ID limitation in [compatibility](compatibility.md) before rollout. Do not silently substitute personas or delete history.
|
|
116
118
|
|
|
117
119
|
Any old unmarked-log repair remains a separately authorized exact private target, native-lease-held, same-directory backup-first, metadata-only operation with concurrency checks and actual installed-reader parity. The naming release does not itself authorize session edits, and an old observed digest is not permission to overwrite newer history.
|
|
118
120
|
|
|
119
|
-
After a supported restart, verify actual Desktop package 0.1.
|
|
121
|
+
After a supported restart, verify actual Desktop package 0.1.9 activation, native Deepwork metadata, healthy selectable DW root names, retained auxiliary delegation/read-only denial, and actual Deepwork Profiles UI create/edit/save/apply/reset with independent file/pointer bytes. Verify live even-blank Agents remain unchanged on global Apply and current pinned selection persists across restart. Check one icon-only native profile menu in sessionless, blank and active views, safe refusal feedback and explicit model/effort authority: one normal profile list, one admitted-revision **Use profile model** action, durable Deepwork toggle intent on other presets, and standing DW locked enabled. Confirm accessible-only successes and short sanitized errors. Check unrelated deployment/provider/account/UI state remained intact. If authenticated native Desktop behavior cannot be observed, report that pending boundary; disk files, native metadata reads, headless tests and Docker component proof alone are insufficient for complete integration.
|
|
120
122
|
|
|
121
123
|
## Rollback
|
|
122
124
|
|
package/docs/settings-status.md
CHANGED
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
`/deepwork [off|message]` changes the receiving session's mode. `/dsmm-status` reports bounded normalized state; `/dsmm-status json` returns a defensive JSON snapshot with version 1. Other input returns `Usage: /dsmm-status [json]`.
|
|
6
6
|
|
|
7
|
-
Human-facing status/mode copy uses Deepwork. The technical commands, JSON fields, namespace and configurable `modeName` remain unchanged. The prospective 0.1.
|
|
7
|
+
Human-facing status/mode copy uses Deepwork. The technical commands, JSON fields, namespace and configurable `modeName` remain unchanged. The prospective 0.1.9 menu retains a **Deepwork** toggle for other native presets; it defaults off in official minimal conversations unless a saved explicit `deepwork/mode` says otherwise. Even a same-default choice is persisted. This mode intent survives profile changes and reopen. Standing DW presets show a locked enabled label rather than an off action; sessionless, busy and unavailable mutations fail closed. These source requirements do not claim 0.1.9 publication or Desktop acceptance. The 0.1.9 plugin behavior is unchanged from 0.1.8; only release Action verification controls change to an exact shared 20-minute 404 visibility budget and a 45-minute verify job. The 0.1.8 npm publication is genuine but its original terminal receipt failed with GitHub skipped; Desktop remains on 0.1.7 and CLI/TUI on 0.1.6 until a separately completed successor rollout.
|
|
8
8
|
|
|
9
9
|
Commands belong to the native command adapter. Headless task text is not a slash-command invocation.
|
|
10
10
|
|
|
11
11
|
## DSH 0.2 deployment configuration
|
|
12
12
|
|
|
13
|
-
The Loader plugin entry remains the deployment baseline. Structural fields are **restart-scoped**; the prospective 0.1.
|
|
13
|
+
The Loader plugin entry remains the deployment baseline. Structural fields are **restart-scoped**; the prospective 0.1.9 source contract includes runtime-only file overlays for newly admitted Agents. The removed `settings.register()` service and old `$DSH_HOME/settings.yaml` namespace are not used by DSH 0.2. Copy deployment values into the profile's `cordis.patch.yml`, restart, and inspect `--dump-config` and status:
|
|
14
14
|
|
|
15
15
|
```yaml
|
|
16
16
|
- id: dsmm
|
|
@@ -30,7 +30,7 @@ The Loader plugin entry remains the deployment baseline. Structural fields are *
|
|
|
30
30
|
enabled: false
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
The prospective 0.1.
|
|
33
|
+
The prospective 0.1.9 source contract includes the additive native Settings **Deepwork Profiles** / **Deepwork 配置档** section through the native client/authorized RPC surface. It is not a volatile SettingsForms projection and does not turn structural fields into live references. Create/read/edit/save/apply/reset operate on independent files under `<profileContext.dir>/dsmm-profiles/`; neither a Settings schema nor these docs prove completed Desktop activation. See [runtime profiles](profiles.md) for the exact allowlist, file formats and pending acceptance boundary.
|
|
34
34
|
|
|
35
35
|
Save changes only the draft. Global Apply pins an immutable revision for **new unscoped Agents only**; existing even-blank Agents retain their admissions. The separate current-session selector uses the native view's actual session ID and idle maintenance/CAS/epoch fences. It changes only that ordinary root and future children; old children retain their old epoch. Cold resume honors an explicit sidecar or, when absent, the current global default. Global reset and session baseline pinning are distinct and leave drafts intact.
|
|
36
36
|
|