@ran-sh/dsh-crew 2.1.3 → 2.1.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/package.json
CHANGED
|
@@ -57,11 +57,11 @@ export async function runHistoryOperation({ crewRoot, id, acquire, release, supe
|
|
|
57
57
|
if (!alreadyStarted) {
|
|
58
58
|
if (!recover || await assertStopped(state) !== true) await checkFence(state);
|
|
59
59
|
save('STOPPING');
|
|
60
|
-
// `
|
|
60
|
+
// `refreshFrontend`: this operation rewrites `storages/workspace.json`,
|
|
61
61
|
// which the Crew-managed frontend on 3080 shares, so the launcher stops
|
|
62
62
|
// that server for the same window and starts it again afterwards. The npx
|
|
63
63
|
// lifecycle stops only 3210, because a tree swap leaves that file alone.
|
|
64
|
-
const stopped = await supervisor.stopOwnedBackend({ lease: state.lease, runtimeId: state.runtimeId,
|
|
64
|
+
const stopped = await supervisor.stopOwnedBackend({ lease: state.lease, runtimeId: state.runtimeId, refreshFrontend: true });
|
|
65
65
|
if (!stopped?.ok || await assertStopped(state) !== true) throw Error('HISTORY_STOP_NOT_VERIFIED');
|
|
66
66
|
const archiveId = state.operation === 'restore' ? state.archiveId : state.id;
|
|
67
67
|
const manifestFile = historyPath(crewRoot, `history/transactions/${archiveId}/manifest.json`);
|
package/src/runtime-identity.mjs
CHANGED
|
@@ -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 = '2.1.
|
|
39
|
+
export const RUNTIME_VERSION = '2.1.4';
|
|
40
40
|
export const HUB_PROTOCOL_VERSION = 1;
|
|
41
41
|
|
|
42
42
|
export const HUB_CAPABILITIES = Object.freeze([
|