@sparkelf/dsh-plugin-backup 0.1.0-rc.14 → 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 +2 -2
- package/README.md +1 -0
- package/README.zh.md +1 -0
- package/package.json +17 -24
- package/lib/invariant.js +0 -18
- package/lib/types/invariant.d.ts +0 -11
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 packages/plus/backup/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: 9779790a882ee3c85bda21914a77bf9048ec76b0
|
|
6
|
+
README.zh.md: 9570b2eee62259f48ec41e9f0229b7116547dbbf
|
package/README.md
CHANGED
|
@@ -66,5 +66,6 @@ Independent. Export, import, progress, and reload do not change a model request
|
|
|
66
66
|
This Dev Note is working context for maintainers; shipped behavior, limits, and rationale live in the sections above, the package code, and the linked Agent Note.
|
|
67
67
|
|
|
68
68
|
- The [Backup Agent Note](../../../.agents/notes/proposed/architecture/2026-08-30-plus-backup-plugin.md) owns archive, route, restore, and progress decisions; `src/index.ts` and `src/client/BackupSection.tsx` own current behavior.
|
|
69
|
+
- No runtime invariant companion is published because WebServer owns route registration and Workspace owns filesystem state; Backup has no independent second observation of either relationship.
|
|
69
70
|
|
|
70
71
|
</details>
|
package/README.zh.md
CHANGED
|
@@ -66,5 +66,6 @@ authenticated routes为POST `/api/backup.export.prepare?scope=all|configuration|
|
|
|
66
66
|
该开发备注是maintainer working context;shipped behavior、limits及rationale以以上sections、package code及linked Agent Note为准。
|
|
67
67
|
|
|
68
68
|
- [Backup Agent Note](../../../.agents/notes/proposed/architecture/2026-08-30-plus-backup-plugin.zh.md)持有archive、route、restore及progress decisions;`src/index.ts`和`src/client/BackupSection.tsx`持有current behavior。
|
|
69
|
+
- 该package不发布`./invariant` companion,因为WebServer持有route registration,Workspace持有filesystem state;Backup没有对任一relation的independent second observation。
|
|
69
70
|
|
|
70
71
|
</details>
|
package/package.json
CHANGED
|
@@ -7,16 +7,15 @@
|
|
|
7
7
|
"description": "Full-stack Plus user-data Backup plugin with streamed Host archive routes and Settings UI",
|
|
8
8
|
"devDependencies": {
|
|
9
9
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
10
|
-
"@deepseek-ai/dsh-client-connection": "^0.1.
|
|
11
|
-
"@deepseek-ai/dsh-client-locale": "^0.1.
|
|
12
|
-
"@deepseek-ai/dsh-client-store": "^0.1.
|
|
13
|
-
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.
|
|
14
|
-
"@deepseek-ai/dsh-client-ui-settings": "^0.1.
|
|
15
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.1.
|
|
16
|
-
"@deepseek-ai/dsh-host-webserver": "^0.1.
|
|
17
|
-
"@deepseek-ai/dsh-
|
|
18
|
-
"@deepseek-ai/dsh-
|
|
19
|
-
"@deepseek-ai/dsh-workspace": "^0.1.2-alpha.2",
|
|
10
|
+
"@deepseek-ai/dsh-client-connection": "^0.1.3-alpha.1",
|
|
11
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.3-alpha.1",
|
|
12
|
+
"@deepseek-ai/dsh-client-store": "^0.1.3-alpha.1",
|
|
13
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.3-alpha.1",
|
|
14
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.1.3-alpha.1",
|
|
15
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.3-alpha.1",
|
|
16
|
+
"@deepseek-ai/dsh-host-webserver": "^0.1.3-alpha.1",
|
|
17
|
+
"@deepseek-ai/dsh-settings": "^0.1.3-alpha.1",
|
|
18
|
+
"@deepseek-ai/dsh-workspace": "^0.1.3-alpha.1",
|
|
20
19
|
"@types/react": "~18.3.1",
|
|
21
20
|
"@types/yauzl": "^2.10.3",
|
|
22
21
|
"react": "^18.2.0"
|
|
@@ -40,15 +39,10 @@
|
|
|
40
39
|
"default": "./lib/client.js",
|
|
41
40
|
"types": "./lib/types/client/index.d.ts"
|
|
42
41
|
},
|
|
43
|
-
"./invariant": {
|
|
44
|
-
"default": "./lib/invariant.js",
|
|
45
|
-
"types": "./lib/types/invariant.d.ts"
|
|
46
|
-
},
|
|
47
42
|
"./package.json": "./package.json"
|
|
48
43
|
},
|
|
49
44
|
"files": [
|
|
50
45
|
"lib/index.js",
|
|
51
|
-
"lib/invariant.js",
|
|
52
46
|
"lib/client.js",
|
|
53
47
|
"lib/types/**/*.d.ts"
|
|
54
48
|
],
|
|
@@ -57,14 +51,13 @@
|
|
|
57
51
|
"name": "@sparkelf/dsh-plugin-backup",
|
|
58
52
|
"peerDependencies": {
|
|
59
53
|
"@deepseek-ai/cordis": ">=4.0.1",
|
|
60
|
-
"@deepseek-ai/dsh-client-locale": ">=0.1.
|
|
61
|
-
"@deepseek-ai/dsh-client-ui-renderer": ">=0.1.
|
|
62
|
-
"@deepseek-ai/dsh-client-ui-settings": ">=0.1.
|
|
63
|
-
"@deepseek-ai/dsh-client-ui-slots": ">=0.1.
|
|
64
|
-
"@deepseek-ai/dsh-host-webserver": ">=0.1.
|
|
65
|
-
"@deepseek-ai/dsh-
|
|
66
|
-
"@deepseek-ai/dsh-
|
|
67
|
-
"@deepseek-ai/dsh-workspace": ">=0.1.2-alpha.2"
|
|
54
|
+
"@deepseek-ai/dsh-client-locale": ">=0.1.3-alpha.1",
|
|
55
|
+
"@deepseek-ai/dsh-client-ui-renderer": ">=0.1.3-alpha.1",
|
|
56
|
+
"@deepseek-ai/dsh-client-ui-settings": ">=0.1.3-alpha.1",
|
|
57
|
+
"@deepseek-ai/dsh-client-ui-slots": ">=0.1.3-alpha.1",
|
|
58
|
+
"@deepseek-ai/dsh-host-webserver": ">=0.1.3-alpha.1",
|
|
59
|
+
"@deepseek-ai/dsh-settings": ">=0.1.3-alpha.1",
|
|
60
|
+
"@deepseek-ai/dsh-workspace": ">=0.1.3-alpha.1"
|
|
68
61
|
},
|
|
69
62
|
"publishConfig": {
|
|
70
63
|
"access": "public"
|
|
@@ -80,5 +73,5 @@
|
|
|
80
73
|
},
|
|
81
74
|
"type": "module",
|
|
82
75
|
"types": "lib/types/index.d.ts",
|
|
83
|
-
"version": "0.1.0-rc.
|
|
76
|
+
"version": "0.1.0-rc.22"
|
|
84
77
|
}
|
package/lib/invariant.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
//#region lib/types/invariant.js
|
|
2
|
-
/** Package invariant companion for `@sparkelf/dsh-plugin-backup`. */
|
|
3
|
-
const PACKAGE_NAME = "@sparkelf/dsh-plugin-backup";
|
|
4
|
-
const name = "plus-backup-invariant";
|
|
5
|
-
const inject = ["invariants"];
|
|
6
|
-
/**
|
|
7
|
-
* No runtime invariant: WebServer owns route registration, Workspace owns its
|
|
8
|
-
* durable/cache relation, and the browser settings slot has no Host projection.
|
|
9
|
-
*/
|
|
10
|
-
const install = () => {};
|
|
11
|
-
/**
|
|
12
|
-
* Register this package's invariant companion.
|
|
13
|
-
* @param ctx - Host context carrying the invariant registry.
|
|
14
|
-
* @returns the registration disposer.
|
|
15
|
-
*/
|
|
16
|
-
const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
|
|
17
|
-
//#endregion
|
|
18
|
-
export { apply, inject, name };
|
package/lib/types/invariant.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/** Package invariant companion for `@sparkelf/dsh-plugin-backup`. */
|
|
2
|
-
import type { Context } from '@deepseek-ai/cordis';
|
|
3
|
-
export declare const name = "plus-backup-invariant";
|
|
4
|
-
export declare const inject: string[];
|
|
5
|
-
/**
|
|
6
|
-
* Register this package's invariant companion.
|
|
7
|
-
* @param ctx - Host context carrying the invariant registry.
|
|
8
|
-
* @returns the registration disposer.
|
|
9
|
-
*/
|
|
10
|
-
export declare const apply: (ctx: Context) => Promise<() => void>;
|
|
11
|
-
//# sourceMappingURL=invariant.d.ts.map
|