@deepseek-ai/dsh-client-test-runtime 0.1.7-rc.1 → 0.1.7-rc.2
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 +66 -5
- package/lib/index.js +3 -4
- package/lib/types/workspaces.d.ts +2 -3
- package/package.json +48 -48
package/README.i18n.yaml
CHANGED
|
@@ -1,6 +1,67 @@
|
|
|
1
|
-
# Bilingual-pair consistency record (docs/i18n/README.md):
|
|
2
|
-
#
|
|
3
|
-
#
|
|
1
|
+
# Bilingual-pair consistency record for README.md (docs/i18n/README.md): per heading
|
|
2
|
+
# section, a hash of its English and Chinese blocks outside code blocks and generated regions.
|
|
3
|
+
# After editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/test-support/client-runtime/README.md
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
/:
|
|
6
|
+
en: 6fd77b7a27000bf1
|
|
7
|
+
zh: 4a9606aa75285111
|
|
8
|
+
/deepseek-ai-dsh-client-test-runtime:
|
|
9
|
+
en: edb01d7d9545062d
|
|
10
|
+
zh: de5e5ac8a9ff2f9b
|
|
11
|
+
/deepseek-ai-dsh-client-test-runtime/summary:
|
|
12
|
+
en: ff69de920b4ab273
|
|
13
|
+
zh: 225437473535326a
|
|
14
|
+
/deepseek-ai-dsh-client-test-runtime/table-of-contents:
|
|
15
|
+
en: d152484eb41ac6b4
|
|
16
|
+
zh: 09388d293f9be9cb
|
|
17
|
+
/deepseek-ai-dsh-client-test-runtime/use-this-package:
|
|
18
|
+
en: 12afbb217bc06678
|
|
19
|
+
zh: c07f001ed8bb3300
|
|
20
|
+
/deepseek-ai-dsh-client-test-runtime/use-this-package/setting-up-a-feature-spec:
|
|
21
|
+
en: db486a54e1ff92ca
|
|
22
|
+
zh: b7cbb4078eedce4e
|
|
23
|
+
/deepseek-ai-dsh-client-test-runtime/use-this-package/local-dom-snapshots:
|
|
24
|
+
en: 1abbbed6cc4cf57b
|
|
25
|
+
zh: ab3975178b589653
|
|
26
|
+
/deepseek-ai-dsh-client-test-runtime/use-this-package/scripting-remote-answers-and-failures:
|
|
27
|
+
en: cbcfc9a331783c98
|
|
28
|
+
zh: 1cc2f8e21a3d0dd4
|
|
29
|
+
/deepseek-ai-dsh-client-test-runtime/use-this-package/whole-client-tier:
|
|
30
|
+
en: 1442fc215c8128e8
|
|
31
|
+
zh: 8439861b08e46ea2
|
|
32
|
+
/deepseek-ai-dsh-client-test-runtime/use-this-package/roster-and-startup-behavior:
|
|
33
|
+
en: 964236f295b61c0c
|
|
34
|
+
zh: 863a9342b1169ad8
|
|
35
|
+
/deepseek-ai-dsh-client-test-runtime/use-this-package/when-to-use-it:
|
|
36
|
+
en: eb2f9bc90acb7a62
|
|
37
|
+
zh: cb59a2134bc83106
|
|
38
|
+
/deepseek-ai-dsh-client-test-runtime/use-this-package/what-can-go-wrong:
|
|
39
|
+
en: c6bfe837a9221cf5
|
|
40
|
+
zh: 8d8fadea54f9e295
|
|
41
|
+
/deepseek-ai-dsh-client-test-runtime/understand-the-implementation:
|
|
42
|
+
en: 70d19a7761d06ac9
|
|
43
|
+
zh: 2a3e648ee3dc51c1
|
|
44
|
+
/deepseek-ai-dsh-client-test-runtime/understand-the-implementation/design:
|
|
45
|
+
en: 3264640018c1a0e8
|
|
46
|
+
zh: d777e0b8ad8b602f
|
|
47
|
+
/deepseek-ai-dsh-client-test-runtime/understand-the-implementation/source-map:
|
|
48
|
+
en: 1c38acf76aef7251
|
|
49
|
+
zh: 6c104a965263f443
|
|
50
|
+
/deepseek-ai-dsh-client-test-runtime/understand-the-implementation/lifecycle:
|
|
51
|
+
en: b42779f364504719
|
|
52
|
+
zh: a10bad7ea1161388
|
|
53
|
+
/deepseek-ai-dsh-client-test-runtime/further-exploration:
|
|
54
|
+
en: 7da91d03f5e40b35
|
|
55
|
+
zh: c35021982fdde126
|
|
56
|
+
/deepseek-ai-dsh-client-test-runtime/model-experience:
|
|
57
|
+
en: 53b590e95981d312
|
|
58
|
+
zh: 326a89a5a4e15155
|
|
59
|
+
/deepseek-ai-dsh-client-test-runtime/model-experience/kv-cache-effect:
|
|
60
|
+
en: ca75c51c89c2c9b0
|
|
61
|
+
zh: f57cc48a1b5cbfa9
|
|
62
|
+
/deepseek-ai-dsh-client-test-runtime/known-limitations-and-deferred-work:
|
|
63
|
+
en: da5c7983453b2515
|
|
64
|
+
zh: 7f558354e84abff5
|
|
65
|
+
/deepseek-ai-dsh-client-test-runtime/known-limitations-and-deferred-work/dev-note:
|
|
66
|
+
en: e67f633dc6fe7773
|
|
67
|
+
zh: 3bb0c20c93f16f98
|
package/lib/index.js
CHANGED
|
@@ -1019,16 +1019,15 @@ var TestWorkspaces = class {
|
|
|
1019
1019
|
}
|
|
1020
1020
|
/**
|
|
1021
1021
|
* Initialize the default Workspace through a test stub; defaults to an ineligible first use.
|
|
1022
|
-
* @param request - initial directory name and title.
|
|
1023
1022
|
* @param signal - caller lifetime.
|
|
1024
1023
|
* @returns the stubbed Workspace, or undefined when initialization is ineligible.
|
|
1025
1024
|
*/
|
|
1026
|
-
async initializeDefault(
|
|
1025
|
+
async initializeDefault(signal) {
|
|
1027
1026
|
this.calls.push({
|
|
1028
1027
|
method: "initializeDefault",
|
|
1029
|
-
args: [
|
|
1028
|
+
args: [signal]
|
|
1030
1029
|
});
|
|
1031
|
-
return await this.stubs.get("initializeDefault")?.(
|
|
1030
|
+
return await this.stubs.get("initializeDefault")?.(signal);
|
|
1032
1031
|
}
|
|
1033
1032
|
/**
|
|
1034
1033
|
* Rename a Workspace (recorded). The default echoes a minimal view.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IWorkspaces, WorkspaceId,
|
|
1
|
+
import type { IWorkspaces, WorkspaceId, WorkspaceSnapshot, WorkspaceView } from '@deepseek-ai/dsh-api-workspace-controller/client';
|
|
2
2
|
import type { SessionId } from '@deepseek-ai/dsh-session/types';
|
|
3
3
|
import type { SnapshotStore } from '@deepseek-ai/dsh-client-store';
|
|
4
4
|
import type { FixtureSnapshot, Stabilizer } from './fixtures.ts';
|
|
@@ -54,11 +54,10 @@ export declare class TestWorkspaces implements IWorkspaces {
|
|
|
54
54
|
}): Promise<WorkspaceView>;
|
|
55
55
|
/**
|
|
56
56
|
* Initialize the default Workspace through a test stub; defaults to an ineligible first use.
|
|
57
|
-
* @param request - initial directory name and title.
|
|
58
57
|
* @param signal - caller lifetime.
|
|
59
58
|
* @returns the stubbed Workspace, or undefined when initialization is ineligible.
|
|
60
59
|
*/
|
|
61
|
-
initializeDefault(
|
|
60
|
+
initializeDefault(signal?: AbortSignal): Promise<WorkspaceView | undefined>;
|
|
62
61
|
/**
|
|
63
62
|
* Rename a Workspace (recorded). The default echoes a minimal view.
|
|
64
63
|
* @param workspaceId - target workspace.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-client-test-runtime",
|
|
3
3
|
"description": "Browser test runtimes: a jsdom slot bench with test-owned Session and Workspace doubles, and a whole-client tier that boots the web roster through the production bootClient over an endpoint-named Remote mock",
|
|
4
|
-
"version": "0.1.7-rc.
|
|
4
|
+
"version": "0.1.7-rc.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -31,28 +31,28 @@
|
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"react": "^18.2.0",
|
|
33
33
|
"react-dom": "^18.2.0",
|
|
34
|
-
"@deepseek-ai/cordis-plugin-include": "~1.0.9",
|
|
35
|
-
"@deepseek-ai/cordis-plugin-loader": "~1.0.5",
|
|
36
|
-
"@deepseek-ai/dsh-api-gateway": "0.1.7-rc.1",
|
|
37
|
-
"@deepseek-ai/dsh-api-session-controller": "0.1.7-rc.1",
|
|
38
|
-
"@deepseek-ai/dsh-api-workspace-controller": "0.1.7-rc.1",
|
|
39
|
-
"@deepseek-ai/dsh-attachment": "0.1.7-rc.1",
|
|
40
|
-
"@deepseek-ai/dsh-client-connection": "0.1.7-rc.1",
|
|
41
|
-
"@deepseek-ai/dsh-client-modules": "0.1.7-rc.1",
|
|
42
34
|
"@deepseek-ai/cordis": "~4.0.4",
|
|
43
|
-
"@deepseek-ai/
|
|
44
|
-
"@deepseek-ai/dsh-
|
|
45
|
-
"@deepseek-ai/dsh-
|
|
46
|
-
"@deepseek-ai/
|
|
47
|
-
"@deepseek-ai/dsh-
|
|
48
|
-
"@deepseek-ai/dsh-client-
|
|
49
|
-
"@deepseek-ai/dsh-client-
|
|
50
|
-
"@deepseek-ai/dsh-client-
|
|
51
|
-
"@deepseek-ai/dsh-
|
|
52
|
-
"@deepseek-ai/dsh-
|
|
53
|
-
"@deepseek-ai/dsh-
|
|
54
|
-
"@deepseek-ai/dsh-
|
|
55
|
-
"@deepseek-ai/dsh-
|
|
35
|
+
"@deepseek-ai/cordis-plugin-loader": "~1.0.5",
|
|
36
|
+
"@deepseek-ai/dsh-api-gateway": "0.1.7-rc.2",
|
|
37
|
+
"@deepseek-ai/dsh-api-session-controller": "0.1.7-rc.2",
|
|
38
|
+
"@deepseek-ai/cordis-plugin-include": "~1.0.9",
|
|
39
|
+
"@deepseek-ai/dsh-api-workspace-controller": "0.1.7-rc.2",
|
|
40
|
+
"@deepseek-ai/dsh-client-hmr": "0.1.7-rc.2",
|
|
41
|
+
"@deepseek-ai/dsh-client-modules": "0.1.7-rc.2",
|
|
42
|
+
"@deepseek-ai/dsh-client-store": "0.1.7-rc.2",
|
|
43
|
+
"@deepseek-ai/dsh-client-ui-chat": "0.1.7-rc.2",
|
|
44
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.1.7-rc.2",
|
|
45
|
+
"@deepseek-ai/dsh-client-connection": "0.1.7-rc.2",
|
|
46
|
+
"@deepseek-ai/dsh-attachment": "0.1.7-rc.2",
|
|
47
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.1.7-rc.2",
|
|
48
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.7-rc.2",
|
|
49
|
+
"@deepseek-ai/dsh-client-web": "0.1.7-rc.2",
|
|
50
|
+
"@deepseek-ai/dsh-remote-mock": "0.1.7-rc.2",
|
|
51
|
+
"@deepseek-ai/dsh-session": "0.1.7-rc.2",
|
|
52
|
+
"@deepseek-ai/dsh-subagent": "0.1.7-rc.2",
|
|
53
|
+
"@deepseek-ai/dsh-typert-protocol": "0.1.7-rc.2",
|
|
54
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.1.7-rc.2",
|
|
55
|
+
"@deepseek-ai/dsh-client-ui-session": "0.1.7-rc.2"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@types/js-yaml": "^4.0.9",
|
|
@@ -61,33 +61,33 @@
|
|
|
61
61
|
"react": "^18.2.0",
|
|
62
62
|
"react-dom": "^18.2.0",
|
|
63
63
|
"@deepseek-ai/cordis": "~4.0.4",
|
|
64
|
-
"@deepseek-ai/cordis-plugin-include": "~1.0.9",
|
|
65
64
|
"@deepseek-ai/cordis-plugin-loader": "~1.0.5",
|
|
66
|
-
"@deepseek-ai/dsh-api-gateway": "0.1.7-rc.
|
|
67
|
-
"@deepseek-ai/dsh-api-remotes": "0.1.7-rc.
|
|
68
|
-
"@deepseek-ai/dsh-api-session-controller": "0.1.7-rc.
|
|
69
|
-
"@deepseek-ai/
|
|
70
|
-
"@deepseek-ai/dsh-attachment": "0.1.7-rc.
|
|
71
|
-
"@deepseek-ai/dsh-base": "0.1.7-rc.
|
|
72
|
-
"@deepseek-ai/dsh-
|
|
73
|
-
"@deepseek-ai/dsh-client-
|
|
74
|
-
"@deepseek-ai/dsh-client-
|
|
75
|
-
"@deepseek-ai/dsh-client-
|
|
76
|
-
"@deepseek-ai/dsh-client-
|
|
77
|
-
"@deepseek-ai/dsh-client-
|
|
78
|
-
"@deepseek-ai/dsh-client-
|
|
79
|
-
"@deepseek-ai/dsh-client-ui-
|
|
80
|
-
"@deepseek-ai/dsh-client-ui-
|
|
81
|
-
"@deepseek-ai/dsh-client-ui-
|
|
82
|
-
"@deepseek-ai/dsh-client-ui-
|
|
83
|
-
"@deepseek-ai/dsh-client-
|
|
84
|
-
"@deepseek-ai/dsh-
|
|
85
|
-
"@deepseek-ai/dsh-
|
|
86
|
-
"@deepseek-ai/dsh-
|
|
87
|
-
"@deepseek-ai/dsh-
|
|
88
|
-
"@deepseek-ai/dsh-
|
|
89
|
-
"@deepseek-ai/dsh-
|
|
90
|
-
"@deepseek-ai/dsh-
|
|
65
|
+
"@deepseek-ai/dsh-api-gateway": "0.1.7-rc.2",
|
|
66
|
+
"@deepseek-ai/dsh-api-remotes": "0.1.7-rc.2",
|
|
67
|
+
"@deepseek-ai/dsh-api-session-controller": "0.1.7-rc.2",
|
|
68
|
+
"@deepseek-ai/cordis-plugin-include": "~1.0.9",
|
|
69
|
+
"@deepseek-ai/dsh-attachment": "0.1.7-rc.2",
|
|
70
|
+
"@deepseek-ai/dsh-base": "0.1.7-rc.2",
|
|
71
|
+
"@deepseek-ai/dsh-api-workspace-controller": "0.1.7-rc.2",
|
|
72
|
+
"@deepseek-ai/dsh-client-connection": "0.1.7-rc.2",
|
|
73
|
+
"@deepseek-ai/dsh-client-hmr": "0.1.7-rc.2",
|
|
74
|
+
"@deepseek-ai/dsh-client-locale": "0.1.7-rc.2",
|
|
75
|
+
"@deepseek-ai/dsh-client-modules": "0.1.7-rc.2",
|
|
76
|
+
"@deepseek-ai/dsh-client-store": "0.1.7-rc.2",
|
|
77
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.1.7-rc.2",
|
|
78
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.1.7-rc.2",
|
|
79
|
+
"@deepseek-ai/dsh-client-ui-chat": "0.1.7-rc.2",
|
|
80
|
+
"@deepseek-ai/dsh-client-ui-session": "0.1.7-rc.2",
|
|
81
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.1.7-rc.2",
|
|
82
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.7-rc.2",
|
|
83
|
+
"@deepseek-ai/dsh-client-ui-layout": "0.1.7-rc.2",
|
|
84
|
+
"@deepseek-ai/dsh-client-web": "0.1.7-rc.2",
|
|
85
|
+
"@deepseek-ai/dsh-remote-mock": "0.1.7-rc.2",
|
|
86
|
+
"@deepseek-ai/dsh-session": "0.1.7-rc.2",
|
|
87
|
+
"@deepseek-ai/dsh-typert-protocol": "0.1.7-rc.2",
|
|
88
|
+
"@deepseek-ai/dsh-web-app": "0.1.7-rc.2",
|
|
89
|
+
"@deepseek-ai/dsh-settings": "0.1.7-rc.2",
|
|
90
|
+
"@deepseek-ai/dsh-subagent": "0.1.7-rc.2"
|
|
91
91
|
},
|
|
92
92
|
"files": [
|
|
93
93
|
"lib/index.js",
|