dsh-mnemon 0.5.12 → 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/lib/client.js +41 -20
- 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 +8 -4
|
@@ -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",
|
|
@@ -140,6 +140,7 @@
|
|
|
140
140
|
"release:check": "node scripts/release.mjs --check"
|
|
141
141
|
},
|
|
142
142
|
"dependencies": {
|
|
143
|
+
"@deepseek-ai/cosmokit": "^1.8.4",
|
|
143
144
|
"dsh-mnemon-provider-byterover": "0.5.4",
|
|
144
145
|
"dsh-mnemon-provider-hindsight": "0.5.4",
|
|
145
146
|
"dsh-mnemon-provider-holographic": "0.5.4",
|
|
@@ -158,12 +159,14 @@
|
|
|
158
159
|
"dsh-mnemon-strategy-scoped": "0.5.4",
|
|
159
160
|
"fflate": "^0.8.3",
|
|
160
161
|
"schemastery": "^3.18.0",
|
|
162
|
+
"schemastery-live": "npm:@deepseek-ai/schemastery@^3.18.3",
|
|
163
|
+
"yaml": "^2.9.0",
|
|
161
164
|
"zod": "^4.4.3"
|
|
162
165
|
},
|
|
163
166
|
"peerDependencies": {
|
|
164
167
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
165
|
-
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.5-rc.1 || ^0.1.6-alpha.2",
|
|
166
|
-
"@deepseek-ai/dsh-typert-protocol": "^0.1.5-rc.1 || ^0.1.6-alpha.2",
|
|
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",
|
|
167
170
|
"react": "^18.2.0",
|
|
168
171
|
"react-dom": "^18.2.0"
|
|
169
172
|
},
|
|
@@ -182,8 +185,8 @@
|
|
|
182
185
|
"@deepseek-ai/dsh-client-ui-layout": "0.1.5-rc.1",
|
|
183
186
|
"@deepseek-ai/dsh-client-ui-primitives": "0.1.5-rc.1",
|
|
184
187
|
"@deepseek-ai/dsh-client-ui-renderer": "0.1.5-rc.1",
|
|
185
|
-
"@deepseek-ai/dsh-client-ui-settings": "0.1.5-rc.1",
|
|
186
188
|
"@deepseek-ai/dsh-client-ui-session": "0.1.5-rc.1",
|
|
189
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.1.5-rc.1",
|
|
187
190
|
"@deepseek-ai/dsh-client-ui-slots": "0.1.5-rc.1",
|
|
188
191
|
"@deepseek-ai/dsh-client-ui-tool": "0.1.5-rc.1",
|
|
189
192
|
"@deepseek-ai/dsh-invariants": "0.1.5-rc.1",
|
|
@@ -200,6 +203,7 @@
|
|
|
200
203
|
"@deepseek-ai/dsh-tools": "0.1.5-rc.1",
|
|
201
204
|
"@deepseek-ai/dsh-typert-protocol": "0.1.5-rc.1",
|
|
202
205
|
"@deepseek-ai/dsh-typert-registry": "0.1.5-rc.1",
|
|
206
|
+
"@deepseek-ai/schemastery": "3.18.2",
|
|
203
207
|
"@shikijs/langs": "^4.3.1",
|
|
204
208
|
"@testing-library/react": "^16.3.0",
|
|
205
209
|
"@types/node": "^22.0.0",
|