@khorsheed/dsh-client-message-tools 0.3.1 → 0.3.3
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/CHANGELOG.md +10 -0
- package/README.en.md +6 -6
- package/README.i18n.yaml +2 -2
- package/README.md +6 -6
- package/lib/client.js +2356 -1192
- package/lib/types/client/index.js +5 -1
- package/package.json +12 -12
|
@@ -15,8 +15,12 @@ const EMPTY_MODEL_DIRECTORY = {
|
|
|
15
15
|
getSnapshot: () => EMPTY_MODEL_DIRECTORY_STATE,
|
|
16
16
|
subscribe: () => () => { },
|
|
17
17
|
};
|
|
18
|
+
// No `: ModelDirectoryState` annotation on purpose: the literal must satisfy both
|
|
19
|
+
// the 0.1.7-rc.1 shape (no `pending` yet — a fresh literal would trip the excess
|
|
20
|
+
// check) and rc.2's (which made `pending` required). A non-fresh binding is
|
|
21
|
+
// checked structurally, so both lines accept it.
|
|
18
22
|
const EMPTY_MODEL_DIRECTORY_STATE = Object.freeze({
|
|
19
|
-
current: null, routable: null, groups: [], failures: [], status: 'idle', error: null,
|
|
23
|
+
current: null, routable: null, groups: [], failures: [], status: 'idle', pending: null, error: null,
|
|
20
24
|
});
|
|
21
25
|
/**
|
|
22
26
|
* Required services: slots, sessions, the remote channel, the scope-addressed
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"cordis",
|
|
8
8
|
"messages"
|
|
9
9
|
],
|
|
10
|
-
"version": "0.3.
|
|
10
|
+
"version": "0.3.3",
|
|
11
11
|
"type": "module",
|
|
12
12
|
"main": "lib/index.js",
|
|
13
13
|
"types": "lib/types/index.d.ts",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
},
|
|
56
56
|
"compat": {
|
|
57
57
|
"minHost": "0.1.5-rc.1",
|
|
58
|
-
"verifiedHost": "0.1.7-rc.
|
|
58
|
+
"verifiedHost": "0.1.7-rc.2"
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
"license": "MIT",
|
|
@@ -64,16 +64,16 @@
|
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
67
|
-
"@deepseek-ai/dsh-api-remotes": "^0.1.0-rc.6",
|
|
68
|
-
"@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6",
|
|
69
|
-
"@deepseek-ai/dsh-client-ui-conversation": "^0.1.0-rc.6",
|
|
70
|
-
"@deepseek-ai/dsh-client-ui-model-selection": "^0.1.0-rc.6",
|
|
71
|
-
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.0-rc.6",
|
|
72
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6",
|
|
73
|
-
"@deepseek-ai/dsh-invariants": "^0.1.0-rc.6",
|
|
74
|
-
"@deepseek-ai/dsh-llm": "^0.1.0-rc.6",
|
|
75
|
-
"@deepseek-ai/dsh-session": "^0.1.0-rc.6",
|
|
76
|
-
"@deepseek-ai/dsh-typert-protocol": "^0.1.0-rc.6",
|
|
67
|
+
"@deepseek-ai/dsh-api-remotes": "^0.1.0-rc.6 || ^0.2.0-rc.1",
|
|
68
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6 || ^0.2.0-rc.1",
|
|
69
|
+
"@deepseek-ai/dsh-client-ui-conversation": "^0.1.0-rc.6 || ^0.2.0-rc.1",
|
|
70
|
+
"@deepseek-ai/dsh-client-ui-model-selection": "^0.1.0-rc.6 || ^0.2.0-rc.1",
|
|
71
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.0-rc.6 || ^0.2.0-rc.1",
|
|
72
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6 || ^0.2.0-rc.1",
|
|
73
|
+
"@deepseek-ai/dsh-invariants": "^0.1.0-rc.6 || ^0.2.0-rc.1",
|
|
74
|
+
"@deepseek-ai/dsh-llm": "^0.1.0-rc.6 || ^0.2.0-rc.1",
|
|
75
|
+
"@deepseek-ai/dsh-session": "^0.1.0-rc.6 || ^0.2.0-rc.1",
|
|
76
|
+
"@deepseek-ai/dsh-typert-protocol": "^0.1.0-rc.6 || ^0.2.0-rc.1",
|
|
77
77
|
"react": "^18.2.0"
|
|
78
78
|
},
|
|
79
79
|
"files": [
|