dsh-update-status 0.4.7 → 0.5.0
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/CHANGELOG.md +24 -0
- package/README.md +101 -87
- package/README.zh.md +104 -89
- package/docs/RELEASING.md +10 -10
- package/lib/client.js +239 -117
- package/lib/client.js.map +1 -1
- package/lib/index.d.ts +35 -23
- package/lib/index.js +86 -74
- package/package.json +1 -16
package/lib/index.d.ts
CHANGED
|
@@ -26,17 +26,16 @@ interface UpdateStatusConfig {
|
|
|
26
26
|
export declare const Config: z<UpdateStatusConfig, Record<string, unknown>>;
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/shared/types.d.ts
|
|
29
|
-
type ReleaseCompatibility = 'verified' | 'unverified' | 'incompatible';
|
|
30
29
|
/**
|
|
31
30
|
* Severity of `warning`, so a surface can tell "the plugin could not determine
|
|
32
31
|
* the update state" from "here is something worth knowing".
|
|
33
32
|
*
|
|
34
33
|
* - `failure`: no usable answer — a failed registry read, or a version SemVer
|
|
35
34
|
* cannot compare. This is what justifies repainting the sidebar chip.
|
|
36
|
-
* - `notice`: the answer is complete and usable; the text is advisory, e.g.
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
35
|
+
* - `notice`: the answer is complete and usable; the text is advisory, e.g. the
|
|
36
|
+
* Host resolved a stale copy of a shared library. The chip must NOT repaint for
|
|
37
|
+
* this — an operator upgrading DSH ahead of the plugin would otherwise see the
|
|
38
|
+
* chip turn red for a plugin-side bookkeeping fact.
|
|
40
39
|
*
|
|
41
40
|
* Optional on purpose: a Host older than this field leaves it `undefined`, and
|
|
42
41
|
* the client then falls back to treating any warning as a failure.
|
|
@@ -52,11 +51,6 @@ type UpdateWarning = {
|
|
|
52
51
|
currentVersion: string;
|
|
53
52
|
latestVersion: string;
|
|
54
53
|
} |
|
|
55
|
-
/** A newer release exists, but this bundle has not been tested against it. */
|
|
56
|
-
{
|
|
57
|
-
code: 'version-unverified';
|
|
58
|
-
version: string;
|
|
59
|
-
} |
|
|
60
54
|
/**
|
|
61
55
|
* The Host resolved a `@deepseek-ai/schemastery` that DSH does not ship, so the
|
|
62
56
|
* Loader's volatile projection is unavailable and the preference fields cannot
|
|
@@ -69,6 +63,24 @@ type UpdateWarning = {
|
|
|
69
63
|
path: string;
|
|
70
64
|
nodeModulesDir: string | null;
|
|
71
65
|
};
|
|
66
|
+
/**
|
|
67
|
+
* One published version that is newer than the running one.
|
|
68
|
+
*
|
|
69
|
+
* The plugin's only job is to say "a newer version exists, here is how to get
|
|
70
|
+
* it", so a candidate carries the version, the npm dist-tag that publishes it,
|
|
71
|
+
* when it was published, its release line, and a copy-only command when the
|
|
72
|
+
* detected installation kind actually accepts one.
|
|
73
|
+
*/
|
|
74
|
+
interface ReleaseCandidate {
|
|
75
|
+
version: string;
|
|
76
|
+
/** The npm dist-tag carrying this version; null when the Host could not tell. */
|
|
77
|
+
tag: string | null;
|
|
78
|
+
publishedAt: string | null;
|
|
79
|
+
/** Numeric release line, e.g. `0.2.1` for `0.2.1-rc.4`. */
|
|
80
|
+
line: string;
|
|
81
|
+
/** Copy-only upgrade command, or null when this installation cannot be upgraded that way. */
|
|
82
|
+
command: string | null;
|
|
83
|
+
}
|
|
72
84
|
/**
|
|
73
85
|
* A lossless, JSON-serializable snapshot used by both browser surfaces.
|
|
74
86
|
* Nulls are intentional: a failed first check must still render a truthful
|
|
@@ -76,11 +88,12 @@ type UpdateWarning = {
|
|
|
76
88
|
*/
|
|
77
89
|
interface UpdateStatus {
|
|
78
90
|
currentVersion: string;
|
|
79
|
-
/**
|
|
80
|
-
|
|
91
|
+
/**
|
|
92
|
+
* Every published version strictly newer than `currentVersion`, highest first.
|
|
93
|
+
* Empty means "you are on the newest published version" — never a placeholder.
|
|
94
|
+
*/
|
|
95
|
+
releases: ReleaseCandidate[];
|
|
81
96
|
hasUpdate: boolean;
|
|
82
|
-
/** Whether this bundle was verified against `latestVersion`. */
|
|
83
|
-
compatibility: ReleaseCompatibility;
|
|
84
97
|
cached: boolean;
|
|
85
98
|
checkedAt: string | null;
|
|
86
99
|
/** English fallback for older clients; current clients localize `warnings`. */
|
|
@@ -90,10 +103,8 @@ interface UpdateStatus {
|
|
|
90
103
|
/** Structured warning facts; absent from a Host older than this field. */
|
|
91
104
|
warnings?: UpdateWarning[];
|
|
92
105
|
installKind: InstallKind;
|
|
93
|
-
upgradeCommand: string;
|
|
94
106
|
releaseUrl: string;
|
|
95
107
|
changelogUrl: string;
|
|
96
|
-
publishedAt: string | null;
|
|
97
108
|
packageName: string;
|
|
98
109
|
/** Phase 1 is informational only; the GUI must never apply an update. */
|
|
99
110
|
canApplyInPlace: false;
|
|
@@ -108,16 +119,17 @@ interface InstallationInfo {
|
|
|
108
119
|
}
|
|
109
120
|
//#endregion
|
|
110
121
|
//#region src/host/update-status.d.ts
|
|
111
|
-
/**
|
|
112
|
-
interface
|
|
122
|
+
/** One tagged version from the registry, before it is compared with the running version. */
|
|
123
|
+
interface RegistryCandidate {
|
|
113
124
|
version: string;
|
|
125
|
+
tag: string | null;
|
|
114
126
|
publishedAt: string | null;
|
|
115
|
-
compatibility: ReleaseCompatibility;
|
|
116
127
|
}
|
|
117
|
-
|
|
118
|
-
|
|
128
|
+
/** Every version the registry publishes under a dist-tag, newest first. */
|
|
129
|
+
interface RegistrySnapshot {
|
|
130
|
+
releases: RegistryCandidate[];
|
|
119
131
|
}
|
|
120
|
-
type RegistryFetcher = () => Promise<
|
|
132
|
+
type RegistryFetcher = () => Promise<RegistrySnapshot>;
|
|
121
133
|
interface UpdateStatusServiceOptions {
|
|
122
134
|
installation: InstallationInfo;
|
|
123
135
|
fetchLatest?: RegistryFetcher;
|
|
@@ -143,7 +155,7 @@ export declare class UpdateStatusService {
|
|
|
143
155
|
getStatus(cacheTtlMinutes?: number): Promise<UpdateStatus>;
|
|
144
156
|
/** `force` bypasses TTL but still joins any registry check already in flight. */
|
|
145
157
|
check(force?: boolean, cacheTtlMinutes?: number): Promise<UpdateStatus>;
|
|
146
|
-
private
|
|
158
|
+
private refreshReleases;
|
|
147
159
|
private statusAfterFailure;
|
|
148
160
|
private statusFromCache;
|
|
149
161
|
private statusWithoutRemoteRelease;
|
package/lib/index.js
CHANGED
|
@@ -9,25 +9,6 @@ import { execFile } from "node:child_process";
|
|
|
9
9
|
const PACKAGE_NAME = "@deepseek-ai/dsh";
|
|
10
10
|
/** Shared Connection RPC channel. Custom prefixes 405 on the SPA fallback. */
|
|
11
11
|
const UPDATE_STATUS_CHANNEL = "/api";
|
|
12
|
-
/**
|
|
13
|
-
* DSH releases this bundle has actually been verified against. The same list is
|
|
14
|
-
* declared in package.json's `dsh.compatibility.dshReleases`, and every other
|
|
15
|
-
* release the registry reports stays `unverified` — the plugin never claims a
|
|
16
|
-
* compatibility nobody checked.
|
|
17
|
-
*/
|
|
18
|
-
const VERIFIED_DSH_VERSIONS = [
|
|
19
|
-
"0.1.7-alpha.2",
|
|
20
|
-
"0.1.7-rc.1",
|
|
21
|
-
"0.1.7-rc.2",
|
|
22
|
-
"0.2.0-rc.1",
|
|
23
|
-
"0.2.0-rc.2",
|
|
24
|
-
"0.2.1-alpha.1",
|
|
25
|
-
"0.2.1-alpha.3",
|
|
26
|
-
"0.2.1-alpha.4",
|
|
27
|
-
"0.2.1-alpha.5",
|
|
28
|
-
"0.2.1-rc.2",
|
|
29
|
-
"0.2.1-rc.3"
|
|
30
|
-
];
|
|
31
12
|
function isCacheTtlMinutes(value) {
|
|
32
13
|
return typeof value === "number" && Number.isInteger(value) && value >= 30 && value <= 1440;
|
|
33
14
|
}
|
|
@@ -1226,21 +1207,6 @@ function compareSemver(leftValue, rightValue) {
|
|
|
1226
1207
|
}
|
|
1227
1208
|
return 0;
|
|
1228
1209
|
}
|
|
1229
|
-
/**
|
|
1230
|
-
* Highest version in a list, preserving the spelling of the winner.
|
|
1231
|
-
*
|
|
1232
|
-
* Unparsable entries are skipped rather than failing the whole list: a registry
|
|
1233
|
-
* that adds one odd tag must not hide the release line behind it. Returns
|
|
1234
|
-
* undefined when nothing in the list is valid SemVer.
|
|
1235
|
-
*/
|
|
1236
|
-
function newestSemver(versions) {
|
|
1237
|
-
let winner;
|
|
1238
|
-
for (const candidate of versions) {
|
|
1239
|
-
if (parseSemver(candidate) === void 0) continue;
|
|
1240
|
-
if (winner === void 0 || compareSemver(candidate, winner) > 0) winner = candidate;
|
|
1241
|
-
}
|
|
1242
|
-
return winner;
|
|
1243
|
-
}
|
|
1244
1210
|
//#endregion
|
|
1245
1211
|
//#region src/host/update-status.ts
|
|
1246
1212
|
const REGISTRY_URL = "https://registry.npmjs.org/@deepseek-ai%2Fdsh";
|
|
@@ -1255,7 +1221,6 @@ function describeWarning(warning) {
|
|
|
1255
1221
|
switch (warning.code) {
|
|
1256
1222
|
case "registry-unavailable": return `Unable to check the npm registry: ${warning.detail}`;
|
|
1257
1223
|
case "version-incomparable": return `Unable to compare the current version ${warning.currentVersion} with the published version ${warning.latestVersion} using SemVer.`;
|
|
1258
|
-
case "version-unverified": return `Version ${warning.version} is newer than this plugin has been verified against.`;
|
|
1259
1224
|
case "stale-schemastery": {
|
|
1260
1225
|
const version = warning.version === null ? "" : ` ${warning.version}`;
|
|
1261
1226
|
const remedy = warning.nodeModulesDir === null ? `Remove the stale ${SCHEMASTERY_NAME} directory there and restart DSH.` : `Remove the stale copy and restart DSH: rm -rf ${warning.nodeModulesDir}`;
|
|
@@ -1273,7 +1238,7 @@ function warningFallback(warnings) {
|
|
|
1273
1238
|
* and only the settings form is degraded, so repainting the brand row would
|
|
1274
1239
|
* misreport a plugin-runtime fact as a failed update check.
|
|
1275
1240
|
*/
|
|
1276
|
-
const ADVISORY_CODES = ["
|
|
1241
|
+
const ADVISORY_CODES = ["stale-schemastery"];
|
|
1277
1242
|
function warningKindOf(warnings) {
|
|
1278
1243
|
if (warnings.length === 0) return null;
|
|
1279
1244
|
return warnings.every((warning) => ADVISORY_CODES.includes(warning.code)) ? "notice" : "failure";
|
|
@@ -1283,29 +1248,62 @@ function dateOrNull(value) {
|
|
|
1283
1248
|
const time = Date.parse(value);
|
|
1284
1249
|
return Number.isFinite(time) ? new Date(time).toISOString() : null;
|
|
1285
1250
|
}
|
|
1286
|
-
|
|
1287
|
-
|
|
1251
|
+
/** The numeric release line of a version: `0.2.1-rc.4` belongs to line `0.2.1`. */
|
|
1252
|
+
function releaseLineOf(version) {
|
|
1253
|
+
return version.split("-", 1)[0] ?? version;
|
|
1254
|
+
}
|
|
1255
|
+
/** Tag preference when two tags point at the same version; npm's own vocabulary leads. */
|
|
1256
|
+
const TAG_PRIORITY = [
|
|
1257
|
+
"latest",
|
|
1258
|
+
"next",
|
|
1259
|
+
"alpha",
|
|
1260
|
+
"beta",
|
|
1261
|
+
"rc"
|
|
1262
|
+
];
|
|
1263
|
+
function preferredTag(left, right) {
|
|
1264
|
+
const rank = (tag) => {
|
|
1265
|
+
const index = TAG_PRIORITY.indexOf(tag);
|
|
1266
|
+
return index === -1 ? TAG_PRIORITY.length : index;
|
|
1267
|
+
};
|
|
1268
|
+
return rank(left) <= rank(right) ? left : right;
|
|
1288
1269
|
}
|
|
1289
1270
|
/**
|
|
1290
|
-
* Reduce one registry document to
|
|
1271
|
+
* Reduce one registry document to every tagged version, newest first.
|
|
1291
1272
|
*
|
|
1292
1273
|
* Every dist-tag contributes, not a fixed `latest`/`next`/`alpha` triple: npm
|
|
1293
1274
|
* tags are the registry's own vocabulary, and a version published under a tag
|
|
1294
|
-
* this plugin has never heard of is still a version users can install.
|
|
1275
|
+
* this plugin has never heard of is still a version users can install. A version
|
|
1276
|
+
* carried by several tags keeps the most specific tag name (latest > next >
|
|
1277
|
+
* alpha > …), and an unparsable version is dropped rather than rendered as a
|
|
1278
|
+
* card nobody can compare.
|
|
1295
1279
|
*/
|
|
1296
|
-
function
|
|
1280
|
+
function registryReleasesOf(value) {
|
|
1297
1281
|
if (value === null || typeof value !== "object" || Array.isArray(value)) throw new Error("npm registry returned an invalid document");
|
|
1298
1282
|
const record = value;
|
|
1299
1283
|
const tags = record["dist-tags"];
|
|
1300
1284
|
if (tags === null || typeof tags !== "object" || Array.isArray(tags)) throw new Error("npm registry response has no dist-tags");
|
|
1301
|
-
const version = newestSemver(Object.values(tags).filter((version) => typeof version === "string" && version.trim() !== "").map((version) => version.trim()));
|
|
1302
|
-
if (version === void 0) throw new Error("npm registry response has no comparable dist-tags");
|
|
1303
1285
|
const time = record.time;
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1286
|
+
const timeRecord = time !== null && typeof time === "object" && !Array.isArray(time) ? time : {};
|
|
1287
|
+
/** version -> tag, keeping one deterministic tag per version. */
|
|
1288
|
+
const byVersion = /* @__PURE__ */ new Map();
|
|
1289
|
+
for (const [tag, raw] of Object.entries(tags)) {
|
|
1290
|
+
if (typeof raw !== "string" || raw.trim() === "") continue;
|
|
1291
|
+
const version = raw.trim();
|
|
1292
|
+
const existing = byVersion.get(version);
|
|
1293
|
+
byVersion.set(version, existing === void 0 ? tag : preferredTag(existing, tag));
|
|
1294
|
+
}
|
|
1295
|
+
const releases = [];
|
|
1296
|
+
for (const [version, tag] of byVersion) {
|
|
1297
|
+
if (parseSemver(version) === void 0) continue;
|
|
1298
|
+
releases.push({
|
|
1299
|
+
version,
|
|
1300
|
+
tag,
|
|
1301
|
+
publishedAt: dateOrNull(timeRecord[version])
|
|
1302
|
+
});
|
|
1303
|
+
}
|
|
1304
|
+
releases.sort((left, right) => compareSemver(right.version, left.version) ?? 0);
|
|
1305
|
+
if (releases.length === 0) throw new Error("npm registry response has no comparable dist-tags");
|
|
1306
|
+
return { releases };
|
|
1309
1307
|
}
|
|
1310
1308
|
/** Only the explicitly approved HTTPS npm Registry authority may be contacted. */
|
|
1311
1309
|
function assertApprovedRegistryUrl(raw) {
|
|
@@ -1330,7 +1328,7 @@ function createRegistryFetcher(timeoutMs = DEFAULT_TIMEOUT_MS) {
|
|
|
1330
1328
|
headers: { accept: "application/json" }
|
|
1331
1329
|
});
|
|
1332
1330
|
if (!response.ok) throw new Error(`npm registry returned HTTP ${response.status}`);
|
|
1333
|
-
return
|
|
1331
|
+
return registryReleasesOf(await response.json());
|
|
1334
1332
|
} catch (error) {
|
|
1335
1333
|
if (controller.signal.aborted) throw new Error(`npm registry timed out after ${boundedTimeout}ms`);
|
|
1336
1334
|
throw error;
|
|
@@ -1339,6 +1337,15 @@ function createRegistryFetcher(timeoutMs = DEFAULT_TIMEOUT_MS) {
|
|
|
1339
1337
|
}
|
|
1340
1338
|
};
|
|
1341
1339
|
}
|
|
1340
|
+
/**
|
|
1341
|
+
* A copyable command is only honest for a package-manager installation; a source
|
|
1342
|
+
* checkout and an unknown installation get guidance text instead of a command
|
|
1343
|
+
* that would not work.
|
|
1344
|
+
*/
|
|
1345
|
+
function copyableCommand(installation, version) {
|
|
1346
|
+
if (installation.installKind !== "npm-global" && installation.installKind !== "pnpm-global") return null;
|
|
1347
|
+
return upgradeCommandFor(installation.installKind, installation.packageName || "@deepseek-ai/dsh", version);
|
|
1348
|
+
}
|
|
1342
1349
|
var UpdateStatusService = class {
|
|
1343
1350
|
installation;
|
|
1344
1351
|
fetchLatest;
|
|
@@ -1369,7 +1376,7 @@ var UpdateStatusService = class {
|
|
|
1369
1376
|
} catch (error) {
|
|
1370
1377
|
return this.statusAfterFailure(error);
|
|
1371
1378
|
}
|
|
1372
|
-
const run = this.
|
|
1379
|
+
const run = this.refreshReleases();
|
|
1373
1380
|
this.inFlight = run;
|
|
1374
1381
|
try {
|
|
1375
1382
|
return this.statusFromCache(await run, false, []);
|
|
@@ -1379,9 +1386,9 @@ var UpdateStatusService = class {
|
|
|
1379
1386
|
if (this.inFlight === run) this.inFlight = void 0;
|
|
1380
1387
|
}
|
|
1381
1388
|
}
|
|
1382
|
-
async
|
|
1389
|
+
async refreshReleases() {
|
|
1383
1390
|
const cache = {
|
|
1384
|
-
|
|
1391
|
+
releases: (await this.fetchLatest()).releases,
|
|
1385
1392
|
checkedAtMs: this.now()
|
|
1386
1393
|
};
|
|
1387
1394
|
this.cache = cache;
|
|
@@ -1395,35 +1402,43 @@ var UpdateStatusService = class {
|
|
|
1395
1402
|
return this.cache === void 0 ? this.statusWithoutRemoteRelease(warnings) : this.statusFromCache(this.cache, true, warnings);
|
|
1396
1403
|
}
|
|
1397
1404
|
statusFromCache(cache, cached, initialWarnings) {
|
|
1398
|
-
const
|
|
1399
|
-
const comparison = selected === null ? void 0 : compareSemver(this.installation.currentVersion, selected.version);
|
|
1400
|
-
const hasUpdate = comparison !== void 0 && comparison < 0;
|
|
1405
|
+
const current = this.installation.currentVersion;
|
|
1401
1406
|
const warnings = [...initialWarnings];
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
}
|
|
1407
|
+
const releases = [];
|
|
1408
|
+
if (parseSemver(current) === void 0) {
|
|
1409
|
+
const newest = cache.releases[0];
|
|
1410
|
+
if (newest !== void 0) warnings.push({
|
|
1411
|
+
code: "version-incomparable",
|
|
1412
|
+
currentVersion: current,
|
|
1413
|
+
latestVersion: newest.version
|
|
1414
|
+
});
|
|
1415
|
+
} else {
|
|
1416
|
+
for (const candidate of cache.releases) {
|
|
1417
|
+
const comparison = compareSemver(current, candidate.version);
|
|
1418
|
+
if (comparison === void 0 || comparison >= 0) continue;
|
|
1419
|
+
releases.push({
|
|
1420
|
+
version: candidate.version,
|
|
1421
|
+
tag: candidate.tag,
|
|
1422
|
+
publishedAt: candidate.publishedAt,
|
|
1423
|
+
line: releaseLineOf(candidate.version),
|
|
1424
|
+
command: copyableCommand(this.installation, candidate.version)
|
|
1425
|
+
});
|
|
1426
|
+
}
|
|
1427
|
+
releases.sort((left, right) => compareSemver(right.version, left.version) ?? 0);
|
|
1428
|
+
}
|
|
1411
1429
|
warnings.push(...this.runtimeWarnings);
|
|
1412
1430
|
return {
|
|
1413
|
-
currentVersion:
|
|
1414
|
-
|
|
1415
|
-
hasUpdate,
|
|
1416
|
-
compatibility: selected?.compatibility ?? "unverified",
|
|
1431
|
+
currentVersion: current,
|
|
1432
|
+
releases,
|
|
1433
|
+
hasUpdate: releases.length > 0,
|
|
1417
1434
|
cached,
|
|
1418
1435
|
checkedAt: new Date(cache.checkedAtMs).toISOString(),
|
|
1419
1436
|
warning: warningFallback(warnings),
|
|
1420
1437
|
warningKind: warningKindOf(warnings),
|
|
1421
1438
|
warnings,
|
|
1422
1439
|
installKind: this.installation.installKind,
|
|
1423
|
-
upgradeCommand: upgradeCommandFor(this.installation.installKind, this.installation.packageName || "@deepseek-ai/dsh", selected?.version ?? null),
|
|
1424
1440
|
releaseUrl: this.releaseUrl,
|
|
1425
1441
|
changelogUrl: this.releaseUrl,
|
|
1426
|
-
publishedAt: selected?.publishedAt ?? null,
|
|
1427
1442
|
packageName: this.installation.packageName || "@deepseek-ai/dsh",
|
|
1428
1443
|
canApplyInPlace: false
|
|
1429
1444
|
};
|
|
@@ -1432,19 +1447,16 @@ var UpdateStatusService = class {
|
|
|
1432
1447
|
const combined = [...warnings, ...this.runtimeWarnings];
|
|
1433
1448
|
return {
|
|
1434
1449
|
currentVersion: this.installation.currentVersion,
|
|
1435
|
-
|
|
1450
|
+
releases: [],
|
|
1436
1451
|
hasUpdate: false,
|
|
1437
|
-
compatibility: "unverified",
|
|
1438
1452
|
cached: false,
|
|
1439
1453
|
checkedAt: null,
|
|
1440
1454
|
warning: warningFallback(combined),
|
|
1441
1455
|
warningKind: warningKindOf(combined),
|
|
1442
1456
|
warnings: combined,
|
|
1443
1457
|
installKind: this.installation.installKind,
|
|
1444
|
-
upgradeCommand: upgradeCommandFor(this.installation.installKind, this.installation.packageName || "@deepseek-ai/dsh", null),
|
|
1445
1458
|
releaseUrl: this.releaseUrl,
|
|
1446
1459
|
changelogUrl: this.releaseUrl,
|
|
1447
|
-
publishedAt: null,
|
|
1448
1460
|
packageName: this.installation.packageName || "@deepseek-ai/dsh",
|
|
1449
1461
|
canApplyInPlace: false
|
|
1450
1462
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-update-status",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "DeepSeek Harness Web plugin for version status, copy-only upgrade guidance, and safe restart when an explicit user-level supervisor is installed.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -63,21 +63,6 @@
|
|
|
63
63
|
"@deepseek-ai/dsh-client-ui-settings",
|
|
64
64
|
"@deepseek-ai/dsh-client-ui-settings-general"
|
|
65
65
|
]
|
|
66
|
-
},
|
|
67
|
-
"compatibility": {
|
|
68
|
-
"dshReleases": {
|
|
69
|
-
"0.1.7-alpha.2": "compatible",
|
|
70
|
-
"0.1.7-rc.1": "compatible",
|
|
71
|
-
"0.1.7-rc.2": "compatible",
|
|
72
|
-
"0.2.0-rc.1": "compatible",
|
|
73
|
-
"0.2.0-rc.2": "compatible",
|
|
74
|
-
"0.2.1-alpha.1": "compatible",
|
|
75
|
-
"0.2.1-alpha.3": "compatible",
|
|
76
|
-
"0.2.1-alpha.4": "compatible",
|
|
77
|
-
"0.2.1-alpha.5": "compatible",
|
|
78
|
-
"0.2.1-rc.2": "compatible",
|
|
79
|
-
"0.2.1-rc.3": "compatible"
|
|
80
|
-
}
|
|
81
66
|
}
|
|
82
67
|
},
|
|
83
68
|
"keywords": [
|