@toddzheng024/dscode-desktop 0.7.36 → 0.7.38

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 CHANGED
@@ -3,7 +3,7 @@
3
3
  DSCODE adds a coding preset, browser workflows, cross-session collaboration,
4
4
  memory and task management to the official DeepSeek Harness Desktop application.
5
5
 
6
- **Version:** 0.7.36 · **Harness runtime:** 0.2.0-rc.2
6
+ **Version:** 0.7.38 · **Harness runtime:** 0.2.0-rc.2
7
7
 
8
8
  Preview release candidate; publication is a separate step.
9
9
 
@@ -48,7 +48,7 @@ public release; a candidate build alone does not publish a package.
48
48
  ## Install a published version
49
49
 
50
50
  After this version is available on npm, enter
51
- `@toddzheng024/dscode-desktop@0.7.36` in **Plugins → Add plugin**,
51
+ `@toddzheng024/dscode-desktop@0.7.38` in **Plugins → Add plugin**,
52
52
  review the installation, install, then choose **Enable now**. Using the exact
53
53
  version keeps the installation tied to these instructions and compatibility
54
54
  requirements. The `preview` tag tracks the current Desktop preview release.
package/docs/CHANGELOG.md CHANGED
@@ -6,6 +6,24 @@ Per-release notes live in [`docs/releases/`](releases/); the entries below summa
6
6
 
7
7
  <!-- Add upcoming changes under Unreleased. -->
8
8
 
9
+ ## [0.7.38] - 2026-10-10
10
+
11
+ The 0.7.37 candidate was cancelled before publication after its Node 22.19.0 coverage check failed. This release includes that upgrade and the test-fixture fix below.
12
+
13
+ ### Changed
14
+
15
+ - Upgrade the terminal Harness runtime and vendored TUI dependencies from `0.1.7-alpha.2` to `0.2.0-rc.2`, matching the existing Desktop release target. Keep exact runtime pins and patch-version guards; this does not move to the `0.2.1` alpha channel.
16
+ - Update the live DeepSeek compaction evaluator and its regression fixture for header-based authentication.
17
+ - Upgrade Computer Use to `0.3.3`, whose declared compatibility includes the new Harness. Remove the retired Settings shim so the provider receives native live configuration updates. Restoring execution tools after a saved skill load still requires reloading the skill.
18
+ - Mount the native session controller and its host dependencies so reminders can resolve live and persisted sessions on Harness 0.2. The optional loopback login server also carries authenticated native Connection routes; no browser frontend is mounted.
19
+ - Read `/schedule` from the native reminder catalog instead of historical session events, refresh it while open, and display daily, weekly and cron rules. Storage failures remain visible instead of appearing as an empty list.
20
+ - Pin newly introduced Harness packages, including the shared DeepSeek account service required by clean bundle installations. Isolate patched app-boot, Goal and subagent provider packages in verification runtimes; check Ink patches in memory and use a deterministic clock for the OpenRouter timeout regression.
21
+ - Remove the stale relative source-map directive from the in-memory Ink test fixture, which Node 22.19.0 cannot resolve against a data URL during coverage collection. The shipped Ink runtime is unaffected.
22
+
23
+ ### Added
24
+
25
+ - Document Atomic Mail as an optional stdio MCP integration with a disabled example entry. Unconfigured or disabled entries add no tools or server instructions to model context; enabling and removing the integration are covered by an offline lifecycle test.
26
+
9
27
  ## [0.7.36] - 2026-10-09
10
28
 
11
29
  ### Added
@@ -646,7 +646,7 @@ and account settings, browser preview, durable session communication, cross-sess
646
646
  memory and opt-in task scheduling together. Ordinary builds remain private;
647
647
  the separate [release process](hub-distribution.md#desktop-release-candidate-and-publication)
648
648
  qualifies a public candidate for 0.2.0-rc.2. The Desktop preview is published on npm as
649
- `@toddzheng024/dscode-desktop@0.7.35`. The package does
649
+ `@toddzheng024/dscode-desktop@0.7.38`. The package does
650
650
  not yet include all DSCODE Host services. Its experimental
651
651
  [native Computer Use adapter](computer-use.md) has passed helper and lifecycle
652
652
  checks; window observation, screenshots and input await qualification with
package/docs/email.md CHANGED
@@ -17,6 +17,79 @@ directory is `~/.dscode/email`; `DSCODE_EMAIL_DIR` overrides it. New directories
17
17
  use mode 0700 and messages use 0600. Message content enters session history only
18
18
  when selected with Enter. Existing composer drafts and attachments are preserved.
19
19
 
20
+ ## Atomic Mail via MCP
21
+
22
+ [Atomic Mail](https://github.com/Atomic-Mail/atomic-mail-agentic) provides a
23
+ separate mailbox for an agent through a local stdio MCP server. This optional
24
+ integration uses DSCODE's existing MCP bridge; it does not populate the built-in
25
+ `/email` inbox or use its `send_email` receipts and contact aliases.
26
+
27
+ Atomic Mail is absent from the default preset and dependencies. Without a local
28
+ MCP entry, no Atomic Mail process, tool schemas or server instructions load.
29
+ The entry in [the example configuration](https://github.com/qiz029/dscode/blob/main/config/mcp.local.example.yml) is
30
+ disabled, so copying that file alone does not enable it. There is no always-on
31
+ Atomic Mail skill or prompt section.
32
+
33
+ ### Enable the server
34
+
35
+ For a source checkout or unpacked release, edit `config/mcp.local.yml` in the
36
+ installation directory. For the npm/Hub launcher, edit
37
+ `~/.local/share/dscode-hub/config/mcp.local.yml` (or
38
+ `$DSCODE_HOME/config/mcp.local.yml` when overridden). Create the directory and
39
+ file if needed. Add this row to the existing `insert` list, or use the complete
40
+ patch below for a new file:
41
+
42
+ ```yaml
43
+ - insert:
44
+ - id: mcp-atomicmail
45
+ name: '@deepseek-ai/dsh-mcp-client'
46
+ config:
47
+ serverName: atomicmail
48
+ transport: stdio
49
+ command: npx
50
+ args: ['--yes', '@atomicmail/mcp@0.3.31']
51
+ failOnStartupError: true
52
+ ```
53
+
54
+ Node and `npx` must be available; the first enabled launch downloads the pinned
55
+ package from npm. Restart DSCODE, then run `/mcp` and
56
+ `/mcp tools mcp-atomicmail`. A successful connection exposes
57
+ `mcp__atomicmail__register`, `mcp__atomicmail__jmap_request` and
58
+ `mcp__atomicmail__help`, together with the server's own instructions.
59
+
60
+ ### Use and disable the mailbox
61
+
62
+ Ask the agent to call Atomic Mail's `help` before using the mailbox. Registration
63
+ requires your chosen username and a `watch` preference: `on-demand` reads mail
64
+ when requested; `scheduled` requires a separately configured recurring agent
65
+ task. Enabling the MCP entry does not register an account, send mail or create
66
+ a schedule. Follow the installed server's help for registration and JMAP
67
+ operations; the [upstream MCP guide](https://github.com/Atomic-Mail/atomic-mail-agentic/blob/main/docs/mcp.md)
68
+ describes the service.
69
+
70
+ Credentials default to `~/.atomicmail`; set `ATOMIC_MAIL_CREDENTIALS_DIR` in
71
+ the row's `config.env` to use a separate absolute directory. Keep credentials
72
+ out of the configuration and version control. Mail arriving through this MCP
73
+ remains external content, and outgoing actions follow the active MCP tool
74
+ permission policy.
75
+
76
+ With all agents idle, `/mcp disable mcp-atomicmail` removes the connection,
77
+ tools and server prompt contribution for the current process. Set
78
+ `disabled: true` on the row, or remove it, to keep it off after restart.
79
+ Disabling does not erase messages or tool results already in session history;
80
+ start a new session for a conversation without that earlier context. Any
81
+ separately configured schedule must also be disabled separately.
82
+
83
+ The native bridge was checked with `@atomicmail/mcp@0.3.31` for initialization,
84
+ discovery of all three tools, server instructions and a read-only `help` call
85
+ using an isolated credential directory. An offline MCP fixture checks that
86
+ absent and disabled entries contribute no context, enabling adds tools and
87
+ instructions, and disabling or removing the entry removes both.
88
+
89
+ This recipe covers the terminal launcher's local stdio integration. Hosted
90
+ OAuth and integration with the built-in inbox are outside its scope. Mailbox
91
+ registration and real mail delivery were not tested.
92
+
20
93
  ## Experimental Desktop inbox
21
94
 
22
95
  The combined Desktop package adds **Open right sidebar → Email inbox**. It reads
@@ -7,7 +7,7 @@
7
7
  - `@toddzheng024/dscode-desktop`: the extension for official Harness Desktop, published under the npm `preview` tag. It has its own exact runtime compatibility and Hub listing, and is not part of the terminal Hub profile.
8
8
  - Hub profile `dscode`: the exact versions and integrity hashes of the bundle and the DSH runtime.
9
9
 
10
- The complete bundle pins the shared DSH dependencies and the vendored terminal's runtime dependencies explicitly, using the repository lockfile. The terminal's workspace package is compiled into the bundle; its dependencies must still be installed, including `chalk` and `ink`. Do not stack it with another base/TUI bundle in one profile: installing several root bundles in Hub order resolves a wide transitive dependency to the other rc line first. A standalone profile's pnpm hoisted + autoInstallPeers=false is the verified installation path. A direct `npm install` of the bundle hits Computer Use's old peer range; end users install through the launcher.
10
+ The complete bundle pins the shared DSH dependencies and the vendored terminal's runtime dependencies explicitly, using the repository lockfile. The terminal's workspace package is compiled into the bundle; its dependencies must still be installed, including `chalk` and `ink`. Do not stack it with another base/TUI bundle in one profile: installing several root bundles in Hub order resolves a wide transitive dependency to the other rc line first. A standalone profile's pnpm hoisted + autoInstallPeers=false is the verified installation path. Computer Use 0.3.3 declares compatibility with the pinned Harness runtime. End users install through the launcher, which supplies the verified profile layout and installation settings.
11
11
 
12
12
  ## User
13
13
 
@@ -37,7 +37,7 @@ A user who already has dsh-hub installed can apply directly, but must use pnpm 1
37
37
 
38
38
  Install the official Harness Desktop application with embedded runtime
39
39
  0.2.0-rc.2. In **Plugins → Add plugin**, enter
40
- `@toddzheng024/dscode-desktop@0.7.35`, review and install, then choose
40
+ `@toddzheng024/dscode-desktop@0.7.38`, review and install, then choose
41
41
  **Enable now**. Fully quit and reopen Desktop, enable **Show coding view** and
42
42
  **Agent presets**, then create a DSCODE session and choose an existing model.
43
43
  The Desktop preview is qualified on macOS Apple Silicon. See
@@ -46,7 +46,7 @@ for archive checksums, migration and removal, and [Plugin Hub](plugin-hub.md)
46
46
  for the separation between DSCODE and Hub.
47
47
 
48
48
  Version 0.7.34 fixes the 0.7.33 activation error “4 entries did not activate”
49
- when Desktop starts without `DSH_HOME`. Update to the current 0.7.35 package and
49
+ when Desktop starts without `DSH_HOME`. Update to the current 0.7.38 package and
50
50
  enable it again; exporting a shell variable is unnecessary. Default Desktop
51
51
  state uses `~/.dsh`, as resolved by Harness. Publication now verifies installation
52
52
  and the affected components with that default environment.
@@ -26,7 +26,7 @@ sessions. Their installation handoff delegates to the official plugin manager;
26
26
  enabling, configuration and removal stay in **Settings → Plugins**.
27
27
 
28
28
  Installing or reinstalling 0.7.34 will therefore not remove the bundled Hub.
29
- Update to `@toddzheng024/dscode-desktop@0.7.35` using the [Desktop installation guide](browser-use.md#install-the-experimental-combined-desktop-package).
29
+ Update to `@toddzheng024/dscode-desktop@0.7.38` using the [Desktop installation guide](browser-use.md#install-the-experimental-combined-desktop-package).
30
30
  Fully quit and reopen Desktop after updating; an already running Host may keep
31
31
  the old plugin modules loaded.
32
32
 
@@ -0,0 +1,17 @@
1
+ # DSCODE 0.7.37
2
+
3
+ Status: unpublished candidate. Its workflow was cancelled before publication after the Node 22.19.0 coverage job exposed a test-fixture source-map error. Superseded by [0.7.38](0.7.38.md).
4
+
5
+ This release upgrades the terminal to Harness 0.2.0-rc.2, restores native reminder integration, and documents optional Atomic Mail MCP support.
6
+
7
+ - **Aligned runtime:** the terminal and vendored TUI now use Harness `0.2.0-rc.2`, matching the existing Desktop target. All installed Harness packages have exact override pins, including the newly introduced shared account service. Existing DSCODE runtime patches retain their exact-version guards. The DeepSeek compaction evaluator uses the new header-based authentication interface; this release does not move to the `0.2.1` alpha channel.
8
+ - **Native reminders:** the terminal mounts the session controller and its host dependencies so the scheduler can deliver to live sessions and resume persisted sessions while the Host runs. `/schedule` reads the current reminder catalog instead of historical session events, refreshes while open, displays daily, weekly and cron rules, and surfaces read failures. The optional loopback login server also carries authenticated native Connection routes; no browser frontend is mounted. The host services also work with that listener disabled.
9
+ - **Computer Use compatibility:** update to `0.3.3`, whose declared compatibility includes the new Harness, and remove the retired Settings shim so the provider handles native configuration updates. The upstream saved-skill restoration limitation remains: after resuming a session, reload the Computer Use skill if its execution tools are absent. The activation tool remains available.
10
+ - **Optional Atomic Mail:** the [email guide](../email.md) and disabled example MCP row show how to opt in. Unconfigured or disabled rows start no Atomic Mail process and add no tools or server instructions to model context. Disabling or removing a configured row removes its current tools and instructions; it does not erase previous conversation history. This is a separate MCP integration and does not replace the existing email tools.
11
+ - **Reliable verification:** isolated test runtimes now carry the app-boot, Goal and subagent provider packages they exercise. Ink patch tests work in memory and OpenRouter timeout tests use a controlled clock. Fresh installs no longer depend on a previously patched developer tree. Installed-bundle probes include native live and cold-session reminder delivery.
12
+
13
+ Update with `npm install -g @toddzheng024/dscode@latest`, then run `dscode update` for an existing Hub profile. Fresh installs provision their matching profile on first launch. The Desktop extension remains qualified separately for official Harness 0.2.0-rc.2 on macOS Apple Silicon; its exact release archive is revalidated by the release workflow.
14
+
15
+ Verification of this change passed a clean `npm ci --ignore-scripts` and `npm run check`: lint, both TypeScript checks, 1,091 unit/component tests, native integration and package checks, and 63 offline evaluation tests. Measured first-party `.mjs` line coverage was 80.37%; the TypeScript terminal is outside that metric. Real Chrome checks passed. The macOS doctor passed preset activation, worktrees, shell persistence, approvals, compaction and session resume; an isolated run with `DSCODE_ACCOUNT_LOGIN=0` also passed live and cold-session reminder delivery. Computer Use helper 0.3.3 passed initialization and its health handshake. Linux arm64 on Node 22.23.3 passed all seven end-to-end stages, including installed bundle execution, failed-upgrade preservation and successful upgrade/rollback. Documentation, lint and tag-version checks are repeated for the version bump, and CI requalifies the exact versioned terminal and Desktop archives before publication.
16
+
17
+ Real provider inference, live OAuth login, interactive desktop actions and real mail delivery have no automated case in this release. Fixture success establishes runtime and transport behavior, not model quality or those external account flows.
@@ -0,0 +1,17 @@
1
+ # DSCODE 0.7.38
2
+
3
+ This release upgrades the terminal to Harness 0.2.0-rc.2, restores native reminder integration, and documents optional Atomic Mail MCP support.
4
+
5
+ The 0.7.37 candidate was cancelled before npm or Hub publication when its Node 22.19.0 coverage check failed. This version retains the upgrade and removes a stale source-map reference from the in-memory Ink test fixture. The failure was reproduced locally on Node 22.19.0; all 1,091 unit/component tests and coverage checks passed on that exact runtime after the fix. The original tag remains unchanged.
6
+
7
+ - **Aligned runtime:** the terminal and vendored TUI now use Harness `0.2.0-rc.2`, matching the existing Desktop target. All installed Harness packages have exact override pins, including the newly introduced shared account service. Existing DSCODE runtime patches retain their exact-version guards. The DeepSeek compaction evaluator uses the new header-based authentication interface; this release does not move to the `0.2.1` alpha channel.
8
+ - **Native reminders:** the terminal mounts the session controller and its host dependencies so the scheduler can deliver to live sessions and resume persisted sessions while the Host runs. `/schedule` reads the current reminder catalog instead of historical session events, refreshes while open, displays daily, weekly and cron rules, and surfaces read failures. The optional loopback login server also carries authenticated native Connection routes; no browser frontend is mounted. The host services also work with that listener disabled.
9
+ - **Computer Use compatibility:** update to `0.3.3`, whose declared compatibility includes the new Harness, and remove the retired Settings shim so the provider handles native configuration updates. The upstream saved-skill restoration limitation remains: after resuming a session, reload the Computer Use skill if its execution tools are absent. The activation tool remains available.
10
+ - **Optional Atomic Mail:** the [email guide](../email.md) and disabled example MCP row show how to opt in. Unconfigured or disabled rows start no Atomic Mail process and add no tools or server instructions to model context. Disabling or removing a configured row removes its current tools and instructions; it does not erase previous conversation history. This is a separate MCP integration and does not replace the existing email tools.
11
+ - **Reliable verification:** isolated test runtimes now carry the app-boot, Goal and subagent provider packages they exercise. Ink patch tests work in memory and OpenRouter timeout tests use a controlled clock. Fresh installs no longer depend on a previously patched developer tree. Installed-bundle probes include native live and cold-session reminder delivery.
12
+
13
+ Update with `npm install -g @toddzheng024/dscode@latest`, then run `dscode update` for an existing Hub profile. Fresh installs provision their matching profile on first launch. The Desktop extension remains qualified separately for official Harness 0.2.0-rc.2 on macOS Apple Silicon; its exact release archive is revalidated by the release workflow.
14
+
15
+ Verification of this change passed a clean `npm ci --ignore-scripts` and `npm run check`: lint, both TypeScript checks, 1,091 unit/component tests, native integration and package checks, and 63 offline evaluation tests. Measured first-party `.mjs` line coverage was 80.37%; the TypeScript terminal is outside that metric. Real Chrome checks passed. The macOS doctor passed preset activation, worktrees, shell persistence, approvals, compaction and session resume; an isolated run with `DSCODE_ACCOUNT_LOGIN=0` also passed live and cold-session reminder delivery. Computer Use helper 0.3.3 passed initialization and its health handshake. Linux arm64 on Node 22.23.3 passed all seven end-to-end stages, including installed bundle execution, failed-upgrade preservation and successful upgrade/rollback. Documentation, lint and tag-version checks are repeated for the version bump, and CI requalifies the exact versioned terminal and Desktop archives before publication.
16
+
17
+ Real provider inference, live OAuth login, interactive desktop actions and real mail delivery have no automated case in this release. Fixture success establishes runtime and transport behavior, not model quality or those external account flows.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toddzheng024/dscode-desktop",
3
- "version": "0.7.36",
3
+ "version": "0.7.38",
4
4
  "private": false,
5
5
  "description": "DSCODE for Harness Desktop: coding collaboration, session memory, browser workflows and task management.",
6
6
  "license": "MIT",
@@ -1,37 +1,7 @@
1
- /**
2
- * Computer Use, mounted through DSCODE so a retired settings API still resolves.
3
- *
4
- * `@anionex/dsh-computer-use` reads its configuration with `ctx.settings.register`, an API
5
- * DSH removed in 0.1.7: Settings now projects forms from the profile entry itself, and the
6
- * missing method made the whole Computer Use bundle fail to activate. The package is
7
- * pinned at 0.3.2 with no newer release, so this row restores the method — as a read-only
8
- * view over the composition config, which is where DSCODE configures Computer Use anyway —
9
- * and then mounts the upstream bundle as its child, which is what makes the order
10
- * dependable: the shim is installed before the provider's constructor runs.
11
- *
12
- * Retire this wrapper when the package reads volatile configuration, and mount
13
- * `@anionex/dsh-computer-use` directly again.
14
- *
15
- * @module dscode-computer-use
16
- */
17
-
1
+ /** Mount the compatible upstream provider with DSCODE interaction defaults. */
18
2
  import ComputerUseBundle from '@anionex/dsh-computer-use';
19
3
 
20
4
  export const name = 'dscode-computer-use';
21
- export const inject = ['settings'];
22
-
23
- /** Section handle the 0.3.x provider expects: one read of the composition config, no live writes. */
24
- function staticSection(base) {
25
- return { get: () => base, watch: () => () => {} };
26
- }
27
-
28
5
  export function apply(ctx, config = {}) {
29
- const settings = ctx.settings;
30
- // Only ever adds what upstream no longer defines; a Settings service that carries its
31
- // own `register` again is left untouched, and the shim is dropped with this row.
32
- if (typeof settings.register !== 'function') {
33
- settings.register = (_namespace, _schema, options = {}) => staticSection(options.base ?? {});
34
- ctx.effect(() => () => { delete settings.register; });
35
- }
36
6
  ctx.plugin(ComputerUseBundle, config);
37
7
  }