@ran-sh/dsh-crew 1.6.1 → 1.6.2

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-crew",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "Dispatch subtasks to DeepSeek Harness (DSH) agents as native subagents with live progress",
5
5
  "author": {
6
6
  "name": "ZSeven-W"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ran-sh/dsh-crew",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "type": "module",
5
5
  "main": "./src/hub/entry.mjs",
6
6
  "bin": {
@@ -11,7 +11,8 @@ export * from './zcode.mjs';
11
11
  import { existsSync, mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from 'node:fs';
12
12
  import { basename, dirname, join } from 'node:path';
13
13
  import { homedir } from 'node:os';
14
- import * as legacy from './install-legacy.mjs';
14
+ import * as legacy from './install-legacy.mjs';
15
+ import { REMOVED_MULTIMODAL_KEYS } from './install-legacy.mjs';
15
16
  import { normalizeModelPriority } from '../model-routing.mjs';
16
17
  import { normalizeModelSchedule } from '../model-schedule.mjs';
17
18
  import { runtimeActivationMetadata } from '../runtime-controls.mjs';
@@ -129,6 +130,16 @@ function migrateHubUrl(config, { legacyUrl = CREW_LEGACY_HUB_URL, dedicatedUrl =
129
130
  export function mergeStoredGlobalConfig(stored) {
130
131
  if (!validObject(stored)) return freshConfig();
131
132
 
133
+ // Drop the keys that belonged to the removed vision / image-generation
134
+ // bridge before either branch below, so a canonical config is cleaned as
135
+ // well as a legacy one. Both branches spread the stored object, and the
136
+ // merge deliberately keeps unknown keys, so without this the dead keys
137
+ // would survive every read. Only these known-dead keys go; a genuinely
138
+ // unknown key from a newer release is still preserved.
139
+ stored = Object.fromEntries(
140
+ Object.entries(stored).filter(([key]) => !REMOVED_MULTIMODAL_KEYS.includes(key)),
141
+ );
142
+
132
143
  const version = sourceVersion(stored);
133
144
  if (configHasCanonicalAuthority(stored)) {
134
145
  const merged = { ...CREW_GLOBAL_CONFIG_DEFAULTS, ...stored };
@@ -36,7 +36,7 @@ export {
36
36
  // included in the identity contract.
37
37
  const RUNTIME_ID = randomUUID();
38
38
 
39
- export const RUNTIME_VERSION = '1.6.1';
39
+ export const RUNTIME_VERSION = '1.6.2';
40
40
  export const HUB_PROTOCOL_VERSION = 1;
41
41
 
42
42
  export const HUB_CAPABILITIES = Object.freeze([