@foggy-projects/deepseek-harness-plugin 0.4.4-rc.1 → 0.4.5-rc.1

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
@@ -10,8 +10,8 @@ when the plugin package is upgraded.
10
10
  The Foggy settings tab includes a **Tutorial** entry linking to
11
11
  [Foggy AI Data tutorials](https://ai-data.qlfloor.com/).
12
12
 
13
- The `0.4.4-rc.1` compatibility candidate targets DeepSeek Harness `0.2.1-rc.2`
14
- and requires a system Node.js `>=24.0.0`. Foggy's Java Launcher uses a system
13
+ The `0.4.5-rc.1` compatibility candidate targets DeepSeek Harness `0.2.2-rc.3`
14
+ and requires a system Node.js `>=24.9.0`. Foggy's Java Launcher uses a system
15
15
  Java 17+. Foggy manages its own pinned Python 3.12 runtime
16
16
  inside the per-user component directory; it does not require a system Python,
17
17
  modify `PATH`, or register Python globally. Advanced users may explicitly set
@@ -20,26 +20,26 @@ modify `PATH`, or register Python globally. Advanced users may explicitly set
20
20
  ## Local release-candidate installation
21
21
 
22
22
  ```powershell
23
- dsh plugin --profile web add --workspace-root ./foggy-projects-deepseek-harness-plugin-0.4.4-rc.1.tgz
23
+ dsh plugin --profile web add --workspace-root ./foggy-projects-deepseek-harness-plugin-0.4.5-rc.1.tgz
24
24
  ```
25
25
 
26
26
  Restart `dsh web`, use the browser it opens (or the complete printed URL,
27
27
  including `?token=...`), open Settings → Built-in plugins → Foggy Data Analysis, and
28
28
  initialize the components from there. Do not share the launch-token URL.
29
29
 
30
- After the version is available on npm, install the exact DSH 0.2.1-rc.2
30
+ After the version is available on npm, install the exact DSH 0.2.2-rc.3
31
31
  compatibility candidate so the stable `beta` channel is not changed:
32
32
 
33
33
  ```powershell
34
- dsh plugin --profile web add --workspace-root @foggy-projects/deepseek-harness-plugin@0.4.4-rc.1
34
+ dsh plugin --profile web add --workspace-root @foggy-projects/deepseek-harness-plugin@0.4.5-rc.1
35
35
  ```
36
36
 
37
- DSH 0.2.1 candidates use the `dsh021` npm dist-tag. Check that the tag resolves
37
+ DSH 0.2.2 candidates use the `dsh022` npm dist-tag. Check that the tag resolves
38
38
  to the version you intend to install before using it. GitHub's published
39
39
  tarball can be installed directly when registry publication is still pending:
40
40
 
41
41
  ```powershell
42
- dsh plugin --profile web add --workspace-root @foggy-projects/deepseek-harness-plugin@dsh021
42
+ dsh plugin --profile web add --workspace-root @foggy-projects/deepseek-harness-plugin@dsh022
43
43
  ```
44
44
 
45
45
  The earlier DSH `0.1.7-rc.2` and `0.1.5-rc.2` candidates remain available as
@@ -196,8 +196,10 @@ rollback plan.
196
196
 
197
197
  See [`docs/PUBLIC-BETA-READINESS.md`](./docs/PUBLIC-BETA-READINESS.md) for the
198
198
  tested public Beta scope, release gates, and stable-release blockers.
199
- The DSH 0.2.1-rc.2 compatibility candidate is documented in
200
- [`docs/RELEASE-CANDIDATE-0.4.3-DSH-0.2.0-RC.1.md`](./docs/RELEASE-CANDIDATE-0.4.3-DSH-0.2.0-RC.1.md).
199
+ The current DSH 0.2.2-rc.3 compatibility candidate is documented in
200
+ [`docs/RELEASE-CANDIDATE-0.4.5-DSH-0.2.2-RC.1.md`](./docs/RELEASE-CANDIDATE-0.4.5-DSH-0.2.2-RC.1.md).
201
+ The previous DSH 0.2.1-rc.2 compatibility candidate is documented in
202
+ [`docs/RELEASE-CANDIDATE-0.4.4-DSH-0.2.1-RC.1.md`](./docs/RELEASE-CANDIDATE-0.4.4-DSH-0.2.1-RC.1.md).
201
203
  The previous DSH 0.1.7-rc.2 candidate is documented in
202
204
  [`docs/RELEASE-CANDIDATE-0.4.2-DSH-0.1.7-RC.2.md`](./docs/RELEASE-CANDIDATE-0.4.2-DSH-0.1.7-RC.2.md).
203
205
  The earlier DSH 0.1.5-rc.2 candidate is documented in
@@ -0,0 +1,45 @@
1
+ # Foggy DeepSeek Harness plugin 0.4.5-rc.1
2
+
3
+ This compatibility candidate targets DeepSeek Harness `0.2.2-rc.3`, currently
4
+ the newest npm `next` release, and requires Node.js `>=24.9.0`. Harness `0.2.2`
5
+ updates Cordis and its plugin/SDK contracts and raises the minimum Node version.
6
+ The candidate updates the DSH engine and peer dependency ranges to that release
7
+ line and aligns the Cordis peer range with `~4.1.0`.
8
+
9
+ The managed Foggy component targets remain Launcher `0.1.46`, CLI `0.1.25`, and
10
+ the `0.1.18` analysis Skills. This plugin update does not silently switch any
11
+ already installed Foggy component.
12
+
13
+ Install the packed candidate in an isolated Harness `0.2.2-rc.3` profile or
14
+ workspace:
15
+
16
+ ```powershell
17
+ dsh plugin --profile web add --workspace-root ./foggy-projects-deepseek-harness-plugin-0.4.5-rc.1.tgz
18
+ ```
19
+
20
+ Restart `dsh web`, open Settings → Built-in plugins → Foggy Data Analysis, and
21
+ initialize the components. Harness `0.2.2-rc.3` requires Node.js `>=24.9.0`.
22
+
23
+ ## Compatibility acceptance
24
+
25
+ Accepted on 2026-11-14 against the public npm package
26
+ `@deepseek-ai/dsh@0.2.2-rc.3`, installed into an isolated profile and launched
27
+ with Node.js `24.22.1`:
28
+
29
+ - The Harness web host returned HTTP 200, and the installed plugin appeared in
30
+ the Plugins view with version `0.4.5-rc.1`.
31
+ - Settings → Built-in plugins loaded the native **Foggy Data Analysis** tab.
32
+ The tutorial link, Launcher/CLI version selectors, and update actions rendered.
33
+ - Automatic release checks resolved Launcher `0.1.46` and CLI `0.1.25`, matching
34
+ the plugin-verified versions. No component download or update was triggered.
35
+ - The compatibility and package suite passed: 67 tests, 0 failures.
36
+
37
+ The current npm dist-tags are `latest: 0.2.2-rc.1` and `next: 0.2.2-rc.3`;
38
+ this candidate targets the newest `next` pre-release. No stable Harness release
39
+ was available in that channel check.
40
+
41
+ ## References
42
+
43
+ - [DeepSeek Harness v0.2.2-rc.1 release notes](https://github.com/deepseek-ai/deepseek-harness/releases/tag/dsh-v0.2.2-rc.1)
44
+ - [DeepSeek Harness v0.2.2-rc.3 release](https://github.com/deepseek-ai/deepseek-harness/releases/tag/dsh-v0.2.2-rc.3)
45
+ - [DeepSeek Harness release history](https://github.com/deepseek-ai/deepseek-harness/releases)
@@ -5,7 +5,7 @@ It has been designed for Ubuntu 22.04/24.04 x86_64 and WSL2.
5
5
 
6
6
  ## Prerequisites
7
7
 
8
- - Node.js `>=24.0.0` (the DSH 0.2.1-rc.2 compatibility candidate)
8
+ - Node.js `>=24.9.0` (the DSH 0.2.2-rc.3 compatibility candidate)
9
9
  - Java 17 or newer
10
10
  - Git, npm, and `tar`
11
11
  - At least 4 GiB free disk space and 2 GiB available memory; 4 GiB memory is recommended
@@ -22,7 +22,7 @@ bash experience/linux/prepare.sh --dry-run
22
22
  bash experience/linux/prepare.sh
23
23
  ```
24
24
 
25
- The script installs pinned pnpm and DeepSeek Harness 0.2.1-rc.2 inside
25
+ The script installs pinned pnpm and DeepSeek Harness 0.2.2-rc.3 inside
26
26
  `~/.local/share/foggy-deepseek-harness-experience`, clones and packs the public Foggy Bundle, and
27
27
  adds it to a clean DSH web profile. It does not use `sudo`, install operating-system packages, write
28
28
  model credentials, initialize Foggy components, or start the web process.
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env bash
2
2
  set -euo pipefail
3
3
 
4
- DSH_VERSION="0.2.1-rc.2"
4
+ DSH_VERSION="0.2.2-rc.3"
5
5
  PNPM_VERSION="11.7.0"
6
- PLUGIN_VERSION="0.4.4-rc.1"
6
+ PLUGIN_VERSION="0.4.5-rc.1"
7
7
  PLUGIN_REF="v${PLUGIN_VERSION}"
8
8
  PLUGIN_REPOSITORY="https://github.com/foggy-projects/foggy-deepseek-harness-plugin.git"
9
9
 
@@ -73,8 +73,8 @@ require_command git
73
73
  require_command df
74
74
  require_command tar
75
75
 
76
- node -e 'const [major] = process.versions.node.split(".").map(Number); if (major < 24) process.exit(1)' \
77
- || fail "Node >=24 required for DeepSeek Harness ${DSH_VERSION}; detected $(node --version 2>/dev/null || echo unknown)"
76
+ node -e 'const [major, minor] = process.versions.node.split(".").map(Number); if (major < 24 || (major === 24 && minor < 9)) process.exit(1)' \
77
+ || fail "Node >=24.9 required for DeepSeek Harness ${DSH_VERSION}; detected $(node --version 2>/dev/null || echo unknown)"
78
78
 
79
79
  java_major="$(java -version 2>&1 | awk -F'[\".]' '/version/ { print $2; exit }')"
80
80
  [[ "$java_major" =~ ^[0-9]+$ ]] || fail "could not detect Java version"
package/lib/index.js CHANGED
@@ -179,7 +179,7 @@ async function runOnboarding(args, timeout = 15 * 60_000, options = {}) {
179
179
 
180
180
  async function assertSystemPrerequisites(kind) {
181
181
  if (kind === 'initialize' && !compatibleNode(process.versions.node)) {
182
- throw new Error(`This DeepSeek Harness plugin requires Node.js >=24.0.0; detected ${process.versions.node}`)
182
+ throw new Error(`This DeepSeek Harness plugin requires Node.js >=24.9.0; detected ${process.versions.node}`)
183
183
  }
184
184
  if (kind === 'initialize' || kind === 'runtime-start') {
185
185
  const java = compatible(await commandVersion(process.env.JAVA_EXE || 'java', ['-version']), '17.0')
package/lib/version.js CHANGED
@@ -15,6 +15,6 @@ export function compatible(probe, minimum) {
15
15
  }
16
16
 
17
17
  export function compatibleNode(version) {
18
- const [major] = String(version).split('.').map(Number)
19
- return major >= 24
18
+ const [major, minor] = String(version).split('.').map(Number)
19
+ return major > 24 || (major === 24 && minor >= 9)
20
20
  }
@@ -10,13 +10,19 @@ export async function createViewerPreview({ model, namespace, payload }, tools,
10
10
  if (!identifier.test(model) || !identifier.test(namespace)) throw new Error('Invalid model or namespace')
11
11
  const matches = tools.schemas().filter(tool => /^mcp__.+__dataset_open_in_viewer(?:_[a-f0-9]+)?$/.test(tool.name))
12
12
  if (matches.length !== 1) throw new Error('Configure exactly one Foggy MCP connector with dataset.open_in_viewer')
13
+ const callId = randomUUID()
13
14
  const outcome = await tools.execute({
14
- callId: randomUUID(), name: matches[0].name,
15
- arguments: { model, namespace, title: `${model} · Harness preview`, payload: previewPayload(payload) },
15
+ calls: [{
16
+ type: 'tool-call',
17
+ id: callId,
18
+ name: matches[0].name,
19
+ arguments: JSON.stringify({ model, namespace, title: `${model} · Harness preview`, payload: previewPayload(payload) }),
20
+ }],
16
21
  signal: AbortSignal.timeout(30_000),
17
22
  })
18
- if (outcome.isError || !outcome.value) throw new Error('The authorized MCP viewer tool rejected this query')
19
- const value = outcome.value
23
+ const settled = outcome.results?.find((item) => item.callId === callId)?.result
24
+ if (!settled || settled.isError || !settled.value) throw new Error('The authorized MCP viewer tool rejected this query')
25
+ const value = settled.value
20
26
  let result = value.structuredContent
21
27
  if (!result) {
22
28
  try { result = JSON.parse(value.content?.find(item => item.type === 'text')?.text || '') }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foggy-projects/deepseek-harness-plugin",
3
- "version": "0.4.4-rc.1",
3
+ "version": "0.4.5-rc.1",
4
4
  "description": "Foggy Java data analysis engine integration for DeepSeek Harness",
5
5
  "keywords": [
6
6
  "deepseek-harness",
@@ -50,12 +50,13 @@
50
50
  "THIRD-PARTY-RUNTIME-NOTICES.md",
51
51
  "README.md",
52
52
  "docs/RELEASE-CANDIDATE-0.4.3-DSH-0.2.0-RC.1.md",
53
- "docs/RELEASE-CANDIDATE-0.4.4-DSH-0.2.1-RC.1.md"
53
+ "docs/RELEASE-CANDIDATE-0.4.4-DSH-0.2.1-RC.1.md",
54
+ "docs/RELEASE-CANDIDATE-0.4.5-DSH-0.2.2-RC.1.md"
54
55
  ],
55
56
  "license": "Apache-2.0",
56
57
  "engines": {
57
- "node": ">=24.0.0",
58
- "dsh": "^0.2.1-rc.2"
58
+ "node": ">=24.9.0",
59
+ "dsh": "^0.2.2-rc.3"
59
60
  },
60
61
  "dsh": {
61
62
  "bundle": {
@@ -79,17 +80,17 @@
79
80
  "zod": "^4.4.3"
80
81
  },
81
82
  "peerDependencies": {
82
- "@deepseek-ai/cordis": "^4.0.5",
83
- "@deepseek-ai/dsh-api-remotes": "^0.2.1-rc.2",
84
- "@deepseek-ai/dsh-client-locale": "^0.2.1-rc.2",
85
- "@deepseek-ai/dsh-client-ui-settings": "^0.2.1-rc.2",
86
- "@deepseek-ai/dsh-client-ui-settings-plugins": "^0.2.1-rc.2",
87
- "@deepseek-ai/dsh-client-ui-tool": "^0.2.1-rc.2",
88
- "@deepseek-ai/dsh-client-ui-conversation": "^0.2.1-rc.2",
89
- "@deepseek-ai/dsh-client-ui-chat": "^0.2.1-rc.2",
90
- "@deepseek-ai/dsh-api-session-controller": "^0.2.1-rc.2",
91
- "@deepseek-ai/dsh-skill": "^0.2.1-rc.2",
92
- "@deepseek-ai/dsh-typert-protocol": "^0.2.1-rc.2"
83
+ "@deepseek-ai/cordis": "~4.1.0",
84
+ "@deepseek-ai/dsh-api-remotes": "^0.2.2-rc.3",
85
+ "@deepseek-ai/dsh-client-locale": "^0.2.2-rc.3",
86
+ "@deepseek-ai/dsh-client-ui-settings": "^0.2.2-rc.3",
87
+ "@deepseek-ai/dsh-client-ui-settings-plugins": "^0.2.2-rc.3",
88
+ "@deepseek-ai/dsh-client-ui-tool": "^0.2.2-rc.3",
89
+ "@deepseek-ai/dsh-client-ui-conversation": "^0.2.2-rc.3",
90
+ "@deepseek-ai/dsh-client-ui-chat": "^0.2.2-rc.3",
91
+ "@deepseek-ai/dsh-api-session-controller": "^0.2.2-rc.3",
92
+ "@deepseek-ai/dsh-skill": "^0.2.2-rc.3",
93
+ "@deepseek-ai/dsh-typert-protocol": "^0.2.2-rc.3"
93
94
  },
94
95
  "scripts": {
95
96
  "check": "node --check lib/index.js && node --check lib/component-releases.js && node --check lib/component-manager.js && node --check lib/operation-lock.js && node --check lib/query-tool.js && node --check lib/viewer-preview.js && node --check lib/atomic-json.js && node --check lib/diagnostics.js && node --check lib/python-runtime.js && node --check lib/runtime-settings.js && node --check lib/skill-provider.js && node --check lib/client.js && node --check lib/typert.js && node --check lib/remote.js",
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "schemaVersion": "foggy-deepseek-onboarding-versions/v1",
3
- "packageVersion": "0.4.4-rc.1",
4
- "validatedAt": "2026-10-27",
3
+ "packageVersion": "0.4.5-rc.1",
4
+ "validatedAt": "2026-11-14",
5
5
  "components": {
6
6
  "deepseekHarness": {
7
- "version": "0.2.1-rc.2",
8
- "minimumNodeVersion": "24.0.0"
7
+ "version": "0.2.2-rc.3",
8
+ "minimumNodeVersion": "24.9.0"
9
9
  },
10
10
  "python": {
11
11
  "version": "3.12.13",