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

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: c6f0695ad71a12799e8ddf2c70493f988ebc09ff
6
- README.zh.md: 4d74acaadab9aa24f72e5c728fccd029206f9c16
5
+ README.md: f534c2af44255bd2a26bd4f92b6d558835952694
6
+ README.zh.md: 403f76b2378ee7b9bab0c357e416c07f79934214
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  English | [中文](README.zh.md)
4
4
 
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.
5
+ Data-only temporary patch for the official DSH source revision `fb2c4b9e698e30edb738bca4cf0618587db7d203`. 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
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
 
package/README.zh.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [English](README.md) | 中文
4
4
 
5
- 针对official DSH source revision `d347e703908d0406b7a7ef80e3a0e594d86b2215`的data-only temporary patch。它增加`WorkspaceRegistry.withStorageRestore`,在external file replacement期间关闭Workspace durable domain,并在return前通过正常initialization重开。
5
+ 针对official DSH source revision `fb2c4b9e698e30edb738bca4cf0618587db7d203`的data-only temporary patch。它增加`WorkspaceRegistry.withStorageRestore`,在external file replacement期间关闭Workspace durable domain,并在return前通过正常initialization重开。
6
6
 
7
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
 
package/package.json CHANGED
@@ -4,11 +4,11 @@
4
4
  "formatVersion": 1,
5
5
  "variants": [
6
6
  {
7
- "dsh": ">=0.1.3-alpha.1",
7
+ "dsh": ">=0.1.5-rc.2",
8
8
  "file": "./patches/workspace-storage-restore.patch",
9
9
  "id": "workspace-storage-restore",
10
10
  "target": {
11
- "baseRevision": "d347e703908d0406b7a7ef80e3a0e594d86b2215",
11
+ "baseRevision": "fb2c4b9e698e30edb738bca4cf0618587db7d203",
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.22"
38
+ "version": "0.1.0-rc.26"
39
39
  }
@@ -1,43 +1,5 @@
1
- diff --git a/packages/workspace/workspace/README.i18n.yaml b/packages/workspace/workspace/README.i18n.yaml
2
- index 5d98564e58..fbeef8cd3a 100644
3
- --- a/packages/workspace/workspace/README.i18n.yaml
4
- +++ b/packages/workspace/workspace/README.i18n.yaml
5
- @@ -2,5 +2,5 @@
6
- # side as of the last confirmed-consistent state. Both languages carry equal authority;
7
- # after editing either side, bring the other along and re-record with:
8
- # pnpm run verify-translation-pairing --write packages/workspace/workspace/README.md
9
- -README.md: eb3d2a4f89b6023d8a916a41723500186cc10d93
10
- -README.zh.md: 5059a6edd69a82bd8b0a364793ca1b5c941d67e2
11
- +README.md: b37eed59f23cda27244c0eb0605b08b0711b0846
12
- +README.zh.md: 3c0c56969c14b5404b52a16fffe49e674a6f1332
13
- diff --git a/packages/workspace/workspace/README.md b/packages/workspace/workspace/README.md
14
- index eb3d2a4f89..b37eed59f2 100644
15
- --- a/packages/workspace/workspace/README.md
16
- +++ b/packages/workspace/workspace/README.md
17
- @@ -89,6 +89,8 @@ This section explains the design decisions behind the feature and points at the
18
-
19
- The API is one small family with two owners: `WorkspaceRegistry` creates, orders, and deletes projects and manages their session accounting; the `Workspace` entity exposes the display title, directory status, and the session projection. Per-method contracts live in the code, not this README — see [src/index.ts](src/index.ts) and [src/entity.ts](src/entity.ts).
20
-
21
- +`WorkspaceRegistry.withStorageRestore` waits for current registry mutations, closes the durable domain while its caller replaces external files, and always reopens through the startup initialization path before resolving so records, archive state, and Session indexes share the restored baseline.
22
- +
23
- ### Source map
24
-
25
- | File | Role |
26
- diff --git a/packages/workspace/workspace/README.zh.md b/packages/workspace/workspace/README.zh.md
27
- index 5059a6edd6..3c0c56969c 100644
28
- --- a/packages/workspace/workspace/README.zh.md
29
- +++ b/packages/workspace/workspace/README.zh.md
30
- @@ -89,6 +89,8 @@ ctx.workspaceRegistry.list() // shows the project, newest first
31
-
32
- 该 API 是一个由两个所有者构成的小家族:`WorkspaceRegistry` 负责创建、排序与删除项目并管理其会话记账;`Workspace` 实体暴露显示标题、目录状态与会话投影。各方法的精确约定在代码中,而非本 README——参见 [src/index.ts](src/index.ts) 与 [src/entity.ts](src/entity.ts)。
33
-
34
- +`WorkspaceRegistry.withStorageRestore` 会等待当前 registry mutations,在caller替换external files期间关闭durable domain,并始终在resolve前通过startup initialization path重开,使records、archive state与Session indexes共享恢复后的baseline。
35
- +
36
- ### 源码地图
37
-
38
- | 文件 | 职责 |
39
1
  diff --git a/packages/workspace/workspace/src/index.ts b/packages/workspace/workspace/src/index.ts
40
- index 5f149adac1..e0e6942b4c 100644
2
+ index 037344fce4..7b6d915807 100644
41
3
  --- a/packages/workspace/workspace/src/index.ts
42
4
  +++ b/packages/workspace/workspace/src/index.ts
43
5
  @@ -10,7 +10,7 @@ import { stat } from 'node:fs/promises'