@cofy-x/dsh-console 0.1.0-rc.3 → 0.1.0-rc.4

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
@@ -6,12 +6,13 @@
6
6
 
7
7
  ## Install
8
8
 
9
- DSH Console requires Node.js 24 or newer, supports DeepSeek Harness `0.2.1-alpha.2` through the maximum tested version `0.2.1-alpha.2`, and needs a working DSH provider configuration. Console follows audited DSH releases; the compatible prerelease can differ from npm `latest`, so install the exact audited pair:
9
+ DSH Console requires Node.js 24 or newer and `pnpm` on `PATH` to install its DSH profile, supports DeepSeek Harness `0.2.1-rc.2` through the maximum tested version `0.2.1-rc.2`, and needs a working DSH provider configuration. Console follows audited DSH releases; the compatible prerelease can differ from npm `latest`, so install pnpm and the exact audited pair:
10
10
 
11
11
  Plugin admission on newer releases is still governed by DSH compatibility checks; Console never grants version exemptions or bypasses Host restrictions.
12
12
 
13
13
  ```sh
14
- npm install --global @deepseek-ai/dsh@0.2.1-alpha.2 @cofy-x/dsh-console@0.1.0-rc.3
14
+ npm install --global pnpm@12.15.0
15
+ npm install --global @deepseek-ai/dsh@0.2.1-rc.2 @cofy-x/dsh-console@0.1.0-rc.4
15
16
  dsh-console --prompt "hello"
16
17
  ```
17
18
 
@@ -54,6 +55,6 @@ Full-text search opens a DSH-managed, rebuildable SQLite index under `DSH_HOME`
54
55
 
55
56
  ## Existing DSH profiles
56
57
 
57
- The launcher defaults to its managed `dsh-console` profile. Select an existing DSH profile with `dsh-console --profile my-profile --prompt "hello"`, or set `DSH_CONSOLE_PROFILE=my-profile` as an environment default; the explicit option wins. Create the profile through DSH first (`dsh plugin --profile my-profile add @cofy-x/dsh-console@0.1.0-rc.3` requires `pnpm` on `PATH`). Console reconciles only its own bundle, then forwards remaining arguments to DSH. DSH owns provider, credential, package, and patch configuration. Profiles under one `DSH_HOME` share Sessions, credentials, settings, and attachments; use another `DSH_HOME` for isolation. A missing or invalid selected profile fails without falling back.
58
+ The launcher defaults to its managed `dsh-console` profile. Select an existing DSH profile with `dsh-console --profile my-profile --prompt "hello"`, or set `DSH_CONSOLE_PROFILE=my-profile` as an environment default; the explicit option wins. Create the profile through DSH first (`dsh plugin --profile my-profile add @cofy-x/dsh-console@0.1.0-rc.4` requires `pnpm` on `PATH`). Console reconciles only its own bundle, then forwards remaining arguments to DSH. DSH owns provider, credential, package, and patch configuration. Profiles under one `DSH_HOME` share Sessions, credentials, settings, and attachments; use another `DSH_HOME` for isolation. A missing or invalid selected profile fails without falling back.
58
59
 
59
60
  See the [GitHub repository](https://github.com/cofy-x/dsh-console) for source development, architecture, release-candidate boundaries, and license attribution details.
package/cordis.patch.yml CHANGED
@@ -9,12 +9,70 @@
9
9
  path: !!js dshHomePath('dsh-console-session-search.sqlite')
10
10
  openAt: first-search
11
11
 
12
+ # Official presets own these Agent-scoped tools and policies. Retaining the
13
+ # base's process-wide rows would expose them even in the minimal preset.
14
+ # Shared registries, persistence, and execution providers remain Host-owned.
15
+ - id: tool-plugin-manager
16
+ disabled: true
17
+ - id: tool-bash
18
+ disabled: true
19
+ - id: tool-pwsh
20
+ disabled: true
21
+ - id: tool-jobs
22
+ disabled: true
23
+ - id: tool-fs
24
+ disabled: true
25
+ - id: tool-fs-search
26
+ disabled: true
27
+ - id: skill-filesystem
28
+ disabled: true
29
+ - id: tool-skill
30
+ disabled: true
31
+ - id: command-goal
32
+ disabled: true
33
+ - id: tool-goal
34
+ disabled: true
35
+ - id: plan-mode
36
+ disabled: true
37
+ - id: compaction-basic
38
+ disabled: true
39
+ - id: command-compact
40
+ disabled: true
41
+ - id: tool-result-pruner
42
+ disabled: true
43
+ - id: tool-subagent-control
44
+ disabled: true
45
+ - id: tool-subagent-list-agents
46
+ disabled: true
47
+ - id: tool-subagent
48
+ disabled: true
49
+ - id: tool-subagent-fork
50
+ disabled: true
51
+ - id: workflow-ptc
52
+ disabled: true
53
+ - id: tool-workflow
54
+ disabled: true
55
+ - id: agent-instructions
56
+ disabled: true
57
+ - id: tool-todo
58
+ disabled: true
59
+ - id: tool-web
60
+ disabled: true
61
+
12
62
  - insert:
13
63
  # Standard and Cordis presets sample this Host-owned setting when they
14
64
  # install delegation tools for a Session.
15
65
  - id: subagent-model-selection-settings
16
66
  name: '@deepseek-ai/dsh-tool-subagent/model-selection-settings'
17
67
 
68
+ # The Cordis preset consumes the same public Host inspect services as the
69
+ # official Web composition. Providers register once for all Sessions.
70
+ - id: cordis-host-runner
71
+ name: '@deepseek-ai/dsh-cordis-host-runner'
72
+
73
+ - id: cordis-inspect-providers
74
+ name: '@deepseek-ai/dsh-tool-cordis/host'
75
+
18
76
  # Console owns a per-Session Agent composition, including its scoped Skills.
19
77
  # dsh-base does not mount the preset roster, so the Console bundle must.
20
78
  - id: agent-preset-registry
package/dist/CHANGELOG.md CHANGED
@@ -6,6 +6,33 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.1.0-rc.4] - 2026-10-23
10
+
11
+ ### Security
12
+
13
+ - Upgrade the documentation site's Astro dependency to `7.3.3`, fixing JSX/MDX script and style content injection (GHSA-98hj-9722-w3j8) and View Transition CSS injection (GHSA-mpr7-6m5w-76rw) within the existing Starlight compatibility range.
14
+ - Upgrade Vitest and its V8 coverage tooling to `4.1.12`, fixing unauthenticated manual mock registration and Windows traversal issues in `@vitest/mocker` (GHSA-qxg6-89mg-rqv8 and GHSA-xp26-3454-mjgp) within the existing major version.
15
+
16
+ ### Changed
17
+
18
+ - Require the latest published DSH `0.2.1-rc.2`, aligning exact runtime peers, development dependencies, and the audited source endpoint at immutable commit `687f282e8625c6b8d11ff58211a90524be2e4317`.
19
+ - Package the official rc.2 Agent presets unchanged and keep Agent execution, Session migration, models, and credential precedence owned by DSH.
20
+ - Synchronize English and Chinese installation and troubleshooting documentation with the new SDK baseline and writable credential sources.
21
+ - Upgrade the pinned development and CI package manager to pnpm `12.15.0`, with `pnpm start` for daily startup and `pnpm build-start:cli` after source changes through the same Console launcher.
22
+
23
+ ### Fixed
24
+
25
+ - Keep preset tools and policies scoped to their Session so that the minimal preset cannot inherit the Host's global execution or delegation tools; provide the official shared inspection services for the Cordis preset.
26
+ - Preserve failed and retried Assistant attempt usage during Session replay, and use the public SDK helpers for stream timing.
27
+ - Keep streaming replies and tool states live in the normal terminal buffer, committing a completed turn to static history only after its final presentation is applied.
28
+ - Verify the actual audited source commit and clean checkout before selecting or testing the source endpoint, and reject source links during the registry endpoint gate.
29
+ - Route `pnpm debug` through the Console launcher with diagnostics enabled, replacing the obsolete standalone entry point.
30
+
31
+ ### Known upstream issues
32
+
33
+ - DSH `0.2.1-rc.2` pins `@modelcontextprotocol/client` to `2.2.0`, which is affected by [GHSA-6prh-2h8m-c8cw](https://github.com/modelcontextprotocol/typescript-sdk/security/advisories/GHSA-6prh-2h8m-c8cw). Configured HTTP MCP connections can disclose custom headers through cross-origin redirects; `307` and `308` redirects can also resend request bodies. The default Console profile configures no MCP servers, and stdio transport is unaffected by this issue. Temporarily disable HTTP MCP connections or use stdio. DSH has not incorporated the upstream fix; Console preserves its official dependency graph without an override.
34
+ - DSH's `@deepseek-ai/libreoffice-kit@0.1.5` pins `fflate` to `0.8.2`, which is affected by [GHSA-px8p-9vwx-vf98](https://github.com/advisories/GHSA-px8p-9vwx-vf98). Inspecting a malformed ZIP64 document can hang synchronous archive parsing. Avoid untrusted Office archives until DSH adopts the patched dependency; this rc.4 release retains the official SDK graph and discloses the remaining risk.
35
+
9
36
  ## [0.1.0-rc.3] - 2026-10-10
10
37
 
11
38
  ### Security
@@ -291,7 +318,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
291
318
  - Keep debug diagnostics aligned within the existing footer row and preserve structured logs in the debug console.
292
319
  - Address initial CodeQL findings, dependency advisories, CI concurrency issues, and release build ordering.
293
320
 
294
- [Unreleased]: https://github.com/cofy-x/dsh-console/compare/v0.1.0-alpha.19...HEAD
321
+ [Unreleased]: https://github.com/cofy-x/dsh-console/compare/v0.1.0-rc.4...HEAD
322
+ [0.1.0-rc.4]: https://github.com/cofy-x/dsh-console/compare/v0.1.0-rc.3...v0.1.0-rc.4
323
+ [0.1.0-rc.3]: https://github.com/cofy-x/dsh-console/compare/v0.1.0-rc.2...v0.1.0-rc.3
324
+ [0.1.0-rc.2]: https://github.com/cofy-x/dsh-console/compare/v0.1.0-rc.1...v0.1.0-rc.2
325
+ [0.1.0-rc.1]: https://github.com/cofy-x/dsh-console/compare/v0.1.0-alpha.21...v0.1.0-rc.1
326
+ [0.1.0-alpha.21]: https://github.com/cofy-x/dsh-console/compare/v0.1.0-alpha.20...v0.1.0-alpha.21
327
+ [0.1.0-alpha.20]: https://github.com/cofy-x/dsh-console/compare/v0.1.0-alpha.19...v0.1.0-alpha.20
295
328
  [0.1.0-alpha.19]: https://github.com/cofy-x/dsh-console/compare/v0.1.0-alpha.18...v0.1.0-alpha.19
296
329
  [0.1.0-alpha.18]: https://github.com/cofy-x/dsh-console/compare/v0.1.0-alpha.17...v0.1.0-alpha.18
297
330
  [0.1.0-alpha.17]: https://github.com/cofy-x/dsh-console/compare/v0.1.0-alpha.16...v0.1.0-alpha.17