@sparkelf/dsh-patch-workspace-storage-restore 0.1.0-rc.13 → 0.1.0-rc.22

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.i18n.yaml CHANGED
@@ -2,5 +2,5 @@
2
2
  # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
3
  # after editing either side, bring the other along and re-record with:
4
4
  # pnpm run verify-translation-pairing --write patches/npm/workspace-storage-restore/README.md
5
- README.md: 1c1721798ac5cc3664dfcde8c9589a83cd04b7a2
6
- README.zh.md: d205997a1406f7335d4d01c7b76e64b99ef53b5a
5
+ README.md: c6f0695ad71a12799e8ddf2c70493f988ebc09ff
6
+ README.zh.md: 4d74acaadab9aa24f72e5c728fccd029206f9c16
package/README.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  English | [中文](README.zh.md)
4
4
 
5
- Data-only temporary patch for the official DSH source revision `0a53fb55bea101816fa226bb964ae2bed71c343b`. It adds `WorkspaceRegistry.withStorageRestore`, which closes the Workspace durable domain around an external file replacement and reopens through normal initialization before returning.
5
+ Data-only temporary patch for the official DSH source revision `d347e703908d0406b7a7ef80e3a0e594d86b2215`. It adds `WorkspaceRegistry.withStorageRestore`, which closes the Workspace durable domain around an external file replacement and reopens through normal initialization before returning.
6
6
 
7
- The target source revision identifies `dsh-v0.1.2-alpha.1`. That tag has no matching published `@deepseek-ai/dsh-workspace` npm artifact, so this variant cannot truthfully target an npm package version. The Plus distribution declares this exact official base revision; the materializer verifies that base is an ancestor of the Plus checkout, verifies the repository-root payload with `git apply --check`, and then builds DSH from that official source base plus the selected Plus artifacts. There is no alternate revision, fuzzy application, or runtime code in this package.
7
+ The target source revision identifies `dsh-v0.1.3-alpha.1`. That tag has no matching published `@deepseek-ai/dsh-workspace` npm artifact, so this variant cannot truthfully target an npm package version. The Plus distribution declares this exact official base revision; the materializer verifies that base is an ancestor of the Plus checkout, verifies the repository-root payload with `git apply --check`, and then builds DSH from that official source base plus the selected Plus artifacts. There is no alternate revision, fuzzy application, or runtime code in this package.
8
8
 
9
9
  Retire this package when an official DSH release exposes an equivalent Workspace storage restore operation and `@sparkelf/dsh-plugin-backup` can consume it without a local payload.
package/README.zh.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  [English](README.md) | 中文
4
4
 
5
- 针对official DSH source revision `0a53fb55bea101816fa226bb964ae2bed71c343b`的data-only temporary patch。它增加`WorkspaceRegistry.withStorageRestore`,在external file replacement期间关闭Workspace durable domain,并在return前通过正常initialization重开。
5
+ 针对official DSH source revision `d347e703908d0406b7a7ef80e3a0e594d86b2215`的data-only temporary patch。它增加`WorkspaceRegistry.withStorageRestore`,在external file replacement期间关闭Workspace durable domain,并在return前通过正常initialization重开。
6
6
 
7
- target source revision对应`dsh-v0.1.2-alpha.1`。该tag没有匹配的已发布`@deepseek-ai/dsh-workspace` npm artifact,因此该variant不能诚实地指向npm package version。Plus distribution声明这个exact official base revision;materializer验证该base是Plus checkout的ancestor,通过`git apply --check`验证repository-root payload,然后从official source base与selected Plus artifacts build DSH。本package没有alternate revision、fuzzy application或runtime code。
7
+ target source revision对应`dsh-v0.1.3-alpha.1`。该tag没有匹配的已发布`@deepseek-ai/dsh-workspace` npm artifact,因此该variant不能诚实地指向npm package version。Plus distribution声明这个exact official base revision;materializer验证该base是Plus checkout的ancestor,通过`git apply --check`验证repository-root payload,然后从official source base与selected Plus artifacts build DSH。本package没有alternate revision、fuzzy application或runtime code。
8
8
 
9
9
  当official DSH release提供等价Workspace storage restore operation,且`@sparkelf/dsh-plugin-backup`无需local payload即可消费时,retire本package。
package/package.json CHANGED
@@ -4,11 +4,11 @@
4
4
  "formatVersion": 1,
5
5
  "variants": [
6
6
  {
7
- "dsh": ">=0.1.2-alpha.2",
7
+ "dsh": ">=0.1.3-alpha.1",
8
8
  "file": "./patches/workspace-storage-restore.patch",
9
9
  "id": "workspace-storage-restore",
10
10
  "target": {
11
- "baseRevision": "0a53fb55bea101816fa226bb964ae2bed71c343b",
11
+ "baseRevision": "d347e703908d0406b7a7ef80e3a0e594d86b2215",
12
12
  "kind": "dsh-source",
13
13
  "paths": [
14
14
  "packages/workspace/workspace/"
@@ -35,5 +35,5 @@
35
35
  "url": "git+https://github.com/SparkElf/deepseek-harness-plus.git"
36
36
  },
37
37
  "type": "module",
38
- "version": "0.1.0-rc.13"
38
+ "version": "0.1.0-rc.22"
39
39
  }
@@ -1,17 +1,17 @@
1
1
  diff --git a/packages/workspace/workspace/README.i18n.yaml b/packages/workspace/workspace/README.i18n.yaml
2
- index 70a99f420d..1a1479948e 100644
2
+ index 5d98564e58..fbeef8cd3a 100644
3
3
  --- a/packages/workspace/workspace/README.i18n.yaml
4
4
  +++ b/packages/workspace/workspace/README.i18n.yaml
5
5
  @@ -2,5 +2,5 @@
6
6
  # side as of the last confirmed-consistent state. Both languages carry equal authority;
7
7
  # after editing either side, bring the other along and re-record with:
8
8
  # pnpm run verify-translation-pairing --write packages/workspace/workspace/README.md
9
- -README.md: 49ca861742fe9ea5f36edbaeb8d9700c475b1d50
10
- -README.zh.md: 707044970b716577d2f1f95e558c341e217985c4
11
- +README.md: daa779bee34760eacc222341bfcc09fb1052cb00
12
- +README.zh.md: 989f81fc6bedcc5e2616e8ea90452c40ee63ea85
9
+ -README.md: eb3d2a4f89b6023d8a916a41723500186cc10d93
10
+ -README.zh.md: 5059a6edd69a82bd8b0a364793ca1b5c941d67e2
11
+ +README.md: b37eed59f23cda27244c0eb0605b08b0711b0846
12
+ +README.zh.md: 3c0c56969c14b5404b52a16fffe49e674a6f1332
13
13
  diff --git a/packages/workspace/workspace/README.md b/packages/workspace/workspace/README.md
14
- index 49ca861742..daa779bee3 100644
14
+ index eb3d2a4f89..b37eed59f2 100644
15
15
  --- a/packages/workspace/workspace/README.md
16
16
  +++ b/packages/workspace/workspace/README.md
17
17
  @@ -89,6 +89,8 @@ This section explains the design decisions behind the feature and points at the
@@ -24,7 +24,7 @@ index 49ca861742..daa779bee3 100644
24
24
 
25
25
  | File | Role |
26
26
  diff --git a/packages/workspace/workspace/README.zh.md b/packages/workspace/workspace/README.zh.md
27
- index 707044970b..989f81fc6b 100644
27
+ index 5059a6edd6..3c0c56969c 100644
28
28
  --- a/packages/workspace/workspace/README.zh.md
29
29
  +++ b/packages/workspace/workspace/README.zh.md
30
30
  @@ -89,6 +89,8 @@ ctx.workspaceRegistry.list() // shows the project, newest first
@@ -37,10 +37,10 @@ index 707044970b..989f81fc6b 100644
37
37
 
38
38
  | 文件 | 职责 |
39
39
  diff --git a/packages/workspace/workspace/src/index.ts b/packages/workspace/workspace/src/index.ts
40
- index 87edb28cad..2f6d57b8ab 100644
40
+ index 5f149adac1..e0e6942b4c 100644
41
41
  --- a/packages/workspace/workspace/src/index.ts
42
42
  +++ b/packages/workspace/workspace/src/index.ts
43
- @@ -11,7 +11,7 @@ import { basename } from 'node:path'
43
+ @@ -10,7 +10,7 @@ import { stat } from 'node:fs/promises'
44
44
  import { Context, Service } from '@deepseek-ai/cordis'
45
45
  import type { SessionHeader, SessionId } from '@deepseek-ai/dsh-session'
46
46
  import type {} from '@deepseek-ai/dsh-session-persistence'
@@ -49,7 +49,7 @@ index 87edb28cad..2f6d57b8ab 100644
49
49
  import { WorkspaceEntity } from './entity.ts'
50
50
  import type { WorkspaceEntityHost } from './entity.ts'
51
51
 
52
- @@ -92,6 +92,7 @@ const compareHeaders = (left: SessionHeader, right: SessionHeader): number =>
52
+ @@ -91,6 +91,7 @@ const compareHeaders = (left: SessionHeader, right: SessionHeader): number =>
53
53
  export class WorkspaceRegistry extends Service {
54
54
  static inject = ['storageDomain', 'sessionPersistence']
55
55
 
@@ -57,7 +57,7 @@ index 87edb28cad..2f6d57b8ab 100644
57
57
  private table?: KvTable<WorkspaceId, WorkspaceRecord>
58
58
  private global?: DomainGlobal<WorkspaceDomainState>
59
59
  private state?: WorkspaceDomainState
60
- @@ -117,8 +118,51 @@ export class WorkspaceRegistry extends Service {
60
+ @@ -116,8 +117,51 @@ export class WorkspaceRegistry extends Service {
61
61
 
62
62
  /** Open the domain, finish bootstrap when required, and rebuild the ordered cache. */
63
63
  protected async [Service.init](): Promise<void> {