dsh-mnemon 0.5.11 → 0.5.13
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.md +1 -1
- package/README.zh-CN.md +1 -1
- package/lib/client.js +108 -53
- package/lib/index.js +852 -204
- package/lib/types/src/client/extension-sdk.d.ts +1 -1
- package/lib/types/src/client/locales.d.ts +2 -4
- package/lib/types/src/client/ui-icons.d.ts +4 -0
- package/lib/types/src/host/live-config.d.ts +11 -0
- package/lib/types/src/host/plugin.d.ts +4 -3
- package/lib/types/src/host/protocol.d.ts +4 -0
- package/package.json +9 -3
|
@@ -7,4 +7,4 @@ export { MnemonLogo } from './MnemonLogo.tsx';
|
|
|
7
7
|
export { useRequestVersion } from './use-request-version.ts';
|
|
8
8
|
export { appearanceClass } from './view-styles.ts';
|
|
9
9
|
export { translateEn, translateZh, type MnemonKey, type MnemonTranslate } from './locales.ts';
|
|
10
|
-
export { IconChevronLeftOutline14 } from '
|
|
10
|
+
export { IconChevronLeftOutline14 } from './ui-icons.ts';
|
|
@@ -297,8 +297,7 @@ export declare const zh: {
|
|
|
297
297
|
'config.description': string;
|
|
298
298
|
'config.unsaved': string;
|
|
299
299
|
'config.ready': string;
|
|
300
|
-
'config.
|
|
301
|
-
'config.noticeAfter': string;
|
|
300
|
+
'config.notice': string;
|
|
302
301
|
'config.displayTitle': string;
|
|
303
302
|
'config.displayDescription': string;
|
|
304
303
|
'config.displayAria': string;
|
|
@@ -1296,8 +1295,7 @@ export declare const en: {
|
|
|
1296
1295
|
'config.description': string;
|
|
1297
1296
|
'config.unsaved': string;
|
|
1298
1297
|
'config.ready': string;
|
|
1299
|
-
'config.
|
|
1300
|
-
'config.noticeAfter': string;
|
|
1298
|
+
'config.notice': string;
|
|
1301
1299
|
'config.displayTitle': string;
|
|
1302
1300
|
'config.displayDescription': string;
|
|
1303
1301
|
'config.displayAria': string;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as primitives from '@deepseek-ai/dsh-client-ui-primitives';
|
|
2
|
+
import type { ComponentType } from 'react';
|
|
3
|
+
export declare const IconChevronLeftOutline14: ComponentType<primitives.IconProps>;
|
|
4
|
+
export declare const IconDataOutline16: ComponentType<primitives.IconProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type Volatile } from '@deepseek-ai/cosmokit';
|
|
2
|
+
import type z from 'schemastery';
|
|
3
|
+
import { type Config } from './config.ts';
|
|
4
|
+
/** DSH keeps these references stable while committing live profile edits. */
|
|
5
|
+
export type LiveHostConfig = {
|
|
6
|
+
[Key in keyof Config]-?: Key extends 'remoteAccess' ? Config[Key] : Volatile<Config[Key]>;
|
|
7
|
+
};
|
|
8
|
+
/** Read a detached configuration snapshot from either DSH generation. */
|
|
9
|
+
export declare function plainHostConfig(value?: unknown): Config;
|
|
10
|
+
/** Profile Config for live forms; transport authority retains normal remounts. */
|
|
11
|
+
export declare const LiveConfig: z<import("./protocol.ts").Config, LiveHostConfig>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type Config as MnemonConfig } from './config.ts';
|
|
2
|
+
import { type LiveHostConfig } from './live-config.ts';
|
|
2
3
|
export declare const name = "dsh-mnemon";
|
|
3
4
|
export declare const provide: string[];
|
|
4
5
|
export declare const inject: string[];
|
|
5
|
-
export { Config };
|
|
6
|
+
export { LiveConfig as Config } from './live-config.ts';
|
|
6
7
|
export type { MnemonConfig };
|
|
7
8
|
/** DSH owns assembly; this Host only wires scope, phases and user preferences. */
|
|
8
|
-
export declare function apply(rawContext: unknown,
|
|
9
|
+
export declare function apply(rawContext: unknown, rawConfig?: MnemonConfig | LiveHostConfig): void;
|
|
@@ -207,6 +207,10 @@ export interface Config {
|
|
|
207
207
|
/** Optional DSH-owned overrides injected into every Mnemon CLI process. */
|
|
208
208
|
embedding?: MnemonEmbeddingConfig;
|
|
209
209
|
memoryTopology?: MemoryTopologyConfig;
|
|
210
|
+
/** Profile-owned plugin choices on DSH 0.1.7 and newer. */
|
|
211
|
+
memoryView?: import('./view-protocol.ts').MemoryViewPreferences;
|
|
212
|
+
/** Successful import of this profile's removed settings namespaces. */
|
|
213
|
+
legacySettingsImported?: boolean;
|
|
210
214
|
recallQuality?: RecallQualityConfig;
|
|
211
215
|
routingGuidance?: boolean;
|
|
212
216
|
/** Entry placement only. Legacy `buildin` input is migrated to `builtin`. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-mnemon",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.13",
|
|
4
4
|
"description": "Composable three-tier memory control plane for DeepSeek Harness: persistent runtime context, searchable project documents, pluggable long-term memory, guarded strategies, WebUI, and headless tools.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek-harness",
|
|
@@ -110,6 +110,7 @@
|
|
|
110
110
|
"@deepseek-ai/dsh-client-ui-conversation",
|
|
111
111
|
"@deepseek-ai/dsh-client-ui-renderer",
|
|
112
112
|
"@deepseek-ai/dsh-client-ui-settings",
|
|
113
|
+
"@deepseek-ai/dsh-client-ui-session",
|
|
113
114
|
"@deepseek-ai/dsh-client-locale"
|
|
114
115
|
],
|
|
115
116
|
"platform": "web"
|
|
@@ -139,6 +140,7 @@
|
|
|
139
140
|
"release:check": "node scripts/release.mjs --check"
|
|
140
141
|
},
|
|
141
142
|
"dependencies": {
|
|
143
|
+
"@deepseek-ai/cosmokit": "^1.8.4",
|
|
142
144
|
"dsh-mnemon-provider-byterover": "0.5.4",
|
|
143
145
|
"dsh-mnemon-provider-hindsight": "0.5.4",
|
|
144
146
|
"dsh-mnemon-provider-holographic": "0.5.4",
|
|
@@ -157,12 +159,14 @@
|
|
|
157
159
|
"dsh-mnemon-strategy-scoped": "0.5.4",
|
|
158
160
|
"fflate": "^0.8.3",
|
|
159
161
|
"schemastery": "^3.18.0",
|
|
162
|
+
"schemastery-live": "npm:@deepseek-ai/schemastery@^3.18.3",
|
|
163
|
+
"yaml": "^2.9.0",
|
|
160
164
|
"zod": "^4.4.3"
|
|
161
165
|
},
|
|
162
166
|
"peerDependencies": {
|
|
163
167
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
164
|
-
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.
|
|
165
|
-
"@deepseek-ai/dsh-typert-protocol": "^0.1.
|
|
168
|
+
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.5-rc.1 || ^0.1.6-alpha.2 || ^0.1.7-alpha.1",
|
|
169
|
+
"@deepseek-ai/dsh-typert-protocol": "^0.1.5-rc.1 || ^0.1.6-alpha.2 || ^0.1.7-alpha.1",
|
|
166
170
|
"react": "^18.2.0",
|
|
167
171
|
"react-dom": "^18.2.0"
|
|
168
172
|
},
|
|
@@ -181,6 +185,7 @@
|
|
|
181
185
|
"@deepseek-ai/dsh-client-ui-layout": "0.1.5-rc.1",
|
|
182
186
|
"@deepseek-ai/dsh-client-ui-primitives": "0.1.5-rc.1",
|
|
183
187
|
"@deepseek-ai/dsh-client-ui-renderer": "0.1.5-rc.1",
|
|
188
|
+
"@deepseek-ai/dsh-client-ui-session": "0.1.5-rc.1",
|
|
184
189
|
"@deepseek-ai/dsh-client-ui-settings": "0.1.5-rc.1",
|
|
185
190
|
"@deepseek-ai/dsh-client-ui-slots": "0.1.5-rc.1",
|
|
186
191
|
"@deepseek-ai/dsh-client-ui-tool": "0.1.5-rc.1",
|
|
@@ -198,6 +203,7 @@
|
|
|
198
203
|
"@deepseek-ai/dsh-tools": "0.1.5-rc.1",
|
|
199
204
|
"@deepseek-ai/dsh-typert-protocol": "0.1.5-rc.1",
|
|
200
205
|
"@deepseek-ai/dsh-typert-registry": "0.1.5-rc.1",
|
|
206
|
+
"@deepseek-ai/schemastery": "3.18.2",
|
|
201
207
|
"@shikijs/langs": "^4.3.1",
|
|
202
208
|
"@testing-library/react": "^16.3.0",
|
|
203
209
|
"@types/node": "^22.0.0",
|