dsh-mnemon 0.3.5 → 0.4.0
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 +4 -2
- package/README.zh-CN.md +4 -2
- package/cordis.patch.yml +0 -1
- package/lib/client.js +2706 -3344
- package/lib/index.js +380 -151
- package/lib/kernel.js +47 -0
- package/lib/types/packages/kernel/src/view.d.ts +11 -0
- package/lib/types/src/agent-memory-turn.d.ts +42 -0
- package/lib/types/src/client/MnemonView.d.ts +0 -2
- package/lib/types/src/client/anchor.d.ts +2 -2
- package/lib/types/src/client/locales.d.ts +18 -84
- package/lib/types/src/client/view-styles.d.ts +2 -0
- package/lib/types/src/config-values.d.ts +1 -1
- package/lib/types/src/config.d.ts +1 -1
- package/lib/types/src/contracts.d.ts +18 -2
- package/lib/types/src/guidance.d.ts +1 -0
- package/lib/types/src/lifecycle.d.ts +4 -0
- package/lib/types/src/live-runtime.d.ts +1 -1
- package/lib/types/src/shared/contracts.d.ts +16 -2
- package/lib/types/src/subagent.d.ts +2 -2
- package/lib/types/src/tools.d.ts +1 -1
- package/package.json +10 -1
- package/lib/types/src/client/MnemonViewAppearance.d.ts +0 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-mnemon",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
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",
|
|
@@ -152,6 +152,8 @@
|
|
|
152
152
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
153
153
|
"@deepseek-ai/cordis": "^4.0.1",
|
|
154
154
|
"@deepseek-ai/dsh": "0.1.1-rc.2",
|
|
155
|
+
"@deepseek-ai/dsh-agent": "0.1.1-rc.2",
|
|
156
|
+
"@deepseek-ai/dsh-agent-loop": "0.1.1-rc.2",
|
|
155
157
|
"@deepseek-ai/dsh-client-connection": "0.1.1-rc.2",
|
|
156
158
|
"@deepseek-ai/dsh-client-locale": "0.1.1-rc.2",
|
|
157
159
|
"@deepseek-ai/dsh-client-ui-conversation": "0.1.1-rc.2",
|
|
@@ -160,7 +162,14 @@
|
|
|
160
162
|
"@deepseek-ai/dsh-client-ui-settings": "0.1.1-rc.2",
|
|
161
163
|
"@deepseek-ai/dsh-client-ui-slots": "0.1.1-rc.2",
|
|
162
164
|
"@deepseek-ai/dsh-client-ui-tool": "0.1.1-rc.2",
|
|
165
|
+
"@deepseek-ai/dsh-llm": "0.1.1-rc.2",
|
|
166
|
+
"@deepseek-ai/dsh-session": "0.1.1-rc.2",
|
|
167
|
+
"@deepseek-ai/dsh-session-persistence-jsonl": "0.1.1-rc.2",
|
|
168
|
+
"@deepseek-ai/dsh-session-query": "0.1.1-rc.2",
|
|
169
|
+
"@deepseek-ai/dsh-subagent": "0.1.1-rc.2",
|
|
170
|
+
"@deepseek-ai/dsh-subagent-spawn-in-process": "0.1.1-rc.2",
|
|
163
171
|
"@deepseek-ai/dsh-system-prompt": "0.1.1-rc.2",
|
|
172
|
+
"@deepseek-ai/dsh-tools": "0.1.1-rc.2",
|
|
164
173
|
"@testing-library/react": "^16.3.0",
|
|
165
174
|
"@types/node": "^22.0.0",
|
|
166
175
|
"@types/react": "^18.3.0",
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { MnemonTranslate } from './locales.ts';
|
|
2
|
-
export type MnemonViewSurface = 'buildin' | 'sidebar';
|
|
3
|
-
type AppearanceSlot = 'shell' | 'masthead' | 'brand' | 'headerActions' | 'workspacePicker' | 'statusCluster' | 'workspaceMismatch' | 'topNavigation' | 'nav' | 'navGroup' | 'memoryWorkspace' | 'memoryNavigation' | 'memoryTabs' | 'memoryWriteButton' | 'bodyCardHeader' | 'bodyDirectoryActions' | 'bodyCardIdentity' | 'bodyCardMeta' | 'bodyCardFooter' | 'bodyCardStats' | 'itemActionButton' | 'itemEditAction' | 'itemDangerAction' | 'modalBackdrop' | 'modal' | 'canvas' | 'pageHeader' | 'inspectorGlyph';
|
|
4
|
-
export interface MnemonViewAppearance {
|
|
5
|
-
surface: MnemonViewSurface;
|
|
6
|
-
title: string;
|
|
7
|
-
showLogo: boolean;
|
|
8
|
-
showTelemetry: boolean;
|
|
9
|
-
showNavigationGlyphs: boolean;
|
|
10
|
-
showNavigationDetails: boolean;
|
|
11
|
-
showNavigationDividers: boolean;
|
|
12
|
-
showSpaceSummary: boolean;
|
|
13
|
-
classes: Partial<Record<AppearanceSlot, string | undefined>>;
|
|
14
|
-
}
|
|
15
|
-
/** Appearance is a surface concern; every data flow and workspace action stays shared. */
|
|
16
|
-
export declare function resolveMnemonViewAppearance(surface: MnemonViewSurface, t: MnemonTranslate): MnemonViewAppearance;
|
|
17
|
-
export declare const MnemonViewAppearanceProvider: import("react").Provider<MnemonViewAppearance>;
|
|
18
|
-
export declare function useMnemonViewAppearance(): MnemonViewAppearance;
|
|
19
|
-
export declare function appearanceClass(base: string | undefined, variant: string | undefined): string;
|
|
20
|
-
export {};
|