dsh-mnemon 0.5.42 → 0.5.43
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/bundle.js +1 -1
- package/lib/client.js +139 -78
- package/lib/extension-sdk.js +39 -1
- package/lib/index.js +550 -96
- package/lib/{starter-resolution-B5mdKlvf.js → starter-resolution-CTY14Exj.js} +7 -7
- package/lib/starter.js +1 -1
- package/lib/types/src/client/locales.d.ts +10 -0
- package/lib/types/src/host/protocol.d.ts +5 -0
- package/lib/types/src/sdk/index.d.ts +1 -0
- package/lib/types/src/sdk/projection-reservation.d.ts +3 -0
- package/package.json +9 -8
|
@@ -5,22 +5,22 @@ var name = "dsh-mnemon";
|
|
|
5
5
|
var dependencies = {
|
|
6
6
|
"@deepseek-ai/cosmokit": "^1.8.5",
|
|
7
7
|
"@deepseek-ai/schemastery": "^3.18.4",
|
|
8
|
-
"dsh-mnemon-provider-byterover": "0.5.
|
|
8
|
+
"dsh-mnemon-provider-byterover": "0.5.7",
|
|
9
9
|
"dsh-mnemon-provider-hindsight": "0.5.7",
|
|
10
10
|
"dsh-mnemon-provider-holographic": "0.5.7",
|
|
11
11
|
"dsh-mnemon-provider-honcho": "0.5.5",
|
|
12
12
|
"dsh-mnemon-provider-mem0": "0.5.5",
|
|
13
|
-
"dsh-mnemon-provider-mnemon-native": "0.5.
|
|
13
|
+
"dsh-mnemon-provider-mnemon-native": "0.5.11",
|
|
14
14
|
"dsh-mnemon-provider-openviking": "0.5.10",
|
|
15
15
|
"dsh-mnemon-provider-retaindb": "0.5.6",
|
|
16
16
|
"dsh-mnemon-provider-supermemory": "0.5.5",
|
|
17
17
|
"dsh-mnemon-source-documents": "0.6.0",
|
|
18
|
-
"dsh-mnemon-source-memory-spaces": "0.5.
|
|
19
|
-
"dsh-mnemon-source-runtime": "0.5.
|
|
20
|
-
"dsh-mnemon-source-skills": "0.5.
|
|
18
|
+
"dsh-mnemon-source-memory-spaces": "0.5.26",
|
|
19
|
+
"dsh-mnemon-source-runtime": "0.5.19",
|
|
20
|
+
"dsh-mnemon-source-skills": "0.5.10",
|
|
21
21
|
"dsh-mnemon-strategy-auto-capture": "0.5.5",
|
|
22
|
-
"dsh-mnemon-strategy-default-three-tier": "0.5.
|
|
23
|
-
"dsh-mnemon-strategy-general": "0.5.
|
|
22
|
+
"dsh-mnemon-strategy-default-three-tier": "0.5.13",
|
|
23
|
+
"dsh-mnemon-strategy-general": "0.5.2",
|
|
24
24
|
"dsh-mnemon-strategy-light-context": "0.5.6",
|
|
25
25
|
"dsh-mnemon-strategy-scoped": "0.5.5",
|
|
26
26
|
"fflate": "^0.8.3",
|
package/lib/starter.js
CHANGED
|
@@ -354,6 +354,8 @@ export declare const zh: {
|
|
|
354
354
|
'config.workspaceScopeHint': string;
|
|
355
355
|
'config.dataDirectory': string;
|
|
356
356
|
'config.runtimeUserScopeTitle': string;
|
|
357
|
+
'config.runtimeInheritance': string;
|
|
358
|
+
'config.runtimeInheritanceHint': string;
|
|
357
359
|
'config.runtimeUserScopeStorage': string;
|
|
358
360
|
'config.runtimeUserScopeStorageHint': string;
|
|
359
361
|
'config.runtimeUserScopeGlobal': string;
|
|
@@ -791,6 +793,8 @@ export declare const zh: {
|
|
|
791
793
|
'skills.targetScope.project': string;
|
|
792
794
|
'skills.targetScope.storage': string;
|
|
793
795
|
'skills.evolutionHint': string;
|
|
796
|
+
'skills.autoAdopt': string;
|
|
797
|
+
'skills.autoAdoptHint': string;
|
|
794
798
|
'skills.autoBacktest': string;
|
|
795
799
|
'skills.autoBacktestHint': string;
|
|
796
800
|
'skills.parameters': string;
|
|
@@ -1420,6 +1424,12 @@ export declare const zh: {
|
|
|
1420
1424
|
"runtime.result.localArchive": string;
|
|
1421
1425
|
"runtime.readOnly": string;
|
|
1422
1426
|
"runtime.footnote": string;
|
|
1427
|
+
"runtime.pinned": string;
|
|
1428
|
+
"runtime.pin": string;
|
|
1429
|
+
"runtime.unpin": string;
|
|
1430
|
+
"runtime.pinnedNotice": string;
|
|
1431
|
+
"runtime.unpinnedNotice": string;
|
|
1432
|
+
"runtime.pinBudget": string;
|
|
1423
1433
|
};
|
|
1424
1434
|
export type MnemonKey = keyof typeof zh;
|
|
1425
1435
|
export declare const en: Record<MnemonKey, string>;
|
|
@@ -220,6 +220,8 @@ export interface CustomPackConfig {
|
|
|
220
220
|
dataDir: string;
|
|
221
221
|
}
|
|
222
222
|
export interface RuntimeMemoryConfig {
|
|
223
|
+
/** Automatically project Runtime memory into newly created child Agents; off by default. */
|
|
224
|
+
inheritToSubagents?: boolean;
|
|
223
225
|
/** Maximum UTF-8 bytes projected into MEMORY.md. */
|
|
224
226
|
memoryLimitBytes?: number;
|
|
225
227
|
/** Maximum UTF-8 bytes projected into USER.md. */
|
|
@@ -228,6 +230,7 @@ export interface RuntimeMemoryConfig {
|
|
|
228
230
|
maintenanceMaxTokens?: number;
|
|
229
231
|
}
|
|
230
232
|
export interface ResolvedRuntimeMemoryConfig {
|
|
233
|
+
inheritToSubagents: boolean;
|
|
231
234
|
memoryLimitBytes: number;
|
|
232
235
|
userLimitBytes: number;
|
|
233
236
|
maintenanceMaxTokens: number;
|
|
@@ -389,6 +392,8 @@ export interface ResolvedSkillsConfig {
|
|
|
389
392
|
targetScope: 'storage' | 'user' | 'project';
|
|
390
393
|
/** Backtest a draft against the current version as soon as it is written. */
|
|
391
394
|
autoBacktest: boolean;
|
|
395
|
+
/** Opt-in automatic drafting and evaluated adoption of new idle-review suggestions. */
|
|
396
|
+
autoAdopt: boolean;
|
|
392
397
|
/** Output budget for a complete skill draft, including model reasoning. */
|
|
393
398
|
draftMaxTokens: number;
|
|
394
399
|
/** One fresh attempt after truncation, only when larger than draftMaxTokens. */
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { reserveMemoryProjection } from './projection-reservation.ts';
|
|
1
2
|
export { installMemory } from './install.ts';
|
|
2
3
|
export type { MnemonMemoryService, InstallMemoryOptions, MemoryInstallContribution } from './service.ts';
|
|
3
4
|
export { defineMemoryPlugin, defineMemorySource, defineMemoryStrategy, defineMemoryStrategyExtension } from '../core/definitions.ts';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { MemorySourceFacts, MemoryViewSpec } from '../core/contracts/index.ts';
|
|
2
|
+
/** Reserve complete Source-declared resident data inside the existing View ceiling. */
|
|
3
|
+
export declare function reserveMemoryProjection(spec: MemoryViewSpec, sources: readonly MemorySourceFacts[], budget: number): MemoryViewSpec;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-mnemon",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.43",
|
|
4
4
|
"description": "Composable, view-based context for DeepSeek Harness. Pluggable sources and strategies, with layered memory and self-evolving skills out of the box.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek-harness",
|
|
@@ -130,6 +130,7 @@
|
|
|
130
130
|
}
|
|
131
131
|
},
|
|
132
132
|
"scripts": {
|
|
133
|
+
"verify:windows-pnpm": "node --experimental-strip-types scripts/verify-windows-pnpm.mjs",
|
|
133
134
|
"build": "tsdown && tsc -p tsconfig.types.json && node scripts/link-bundle-declarations.mjs",
|
|
134
135
|
"prepublishOnly": "pnpm run verify",
|
|
135
136
|
"lint:package": "publint --strict && attw --pack . --profile esm-only --quiet",
|
|
@@ -155,22 +156,22 @@
|
|
|
155
156
|
"dependencies": {
|
|
156
157
|
"@deepseek-ai/cosmokit": "^1.8.5",
|
|
157
158
|
"@deepseek-ai/schemastery": "^3.18.4",
|
|
158
|
-
"dsh-mnemon-provider-byterover": "0.5.
|
|
159
|
+
"dsh-mnemon-provider-byterover": "0.5.7",
|
|
159
160
|
"dsh-mnemon-provider-hindsight": "0.5.7",
|
|
160
161
|
"dsh-mnemon-provider-holographic": "0.5.7",
|
|
161
162
|
"dsh-mnemon-provider-honcho": "0.5.5",
|
|
162
163
|
"dsh-mnemon-provider-mem0": "0.5.5",
|
|
163
|
-
"dsh-mnemon-provider-mnemon-native": "0.5.
|
|
164
|
+
"dsh-mnemon-provider-mnemon-native": "0.5.11",
|
|
164
165
|
"dsh-mnemon-provider-openviking": "0.5.10",
|
|
165
166
|
"dsh-mnemon-provider-retaindb": "0.5.6",
|
|
166
167
|
"dsh-mnemon-provider-supermemory": "0.5.5",
|
|
167
168
|
"dsh-mnemon-source-documents": "0.6.0",
|
|
168
|
-
"dsh-mnemon-source-memory-spaces": "0.5.
|
|
169
|
-
"dsh-mnemon-source-runtime": "0.5.
|
|
170
|
-
"dsh-mnemon-source-skills": "0.5.
|
|
169
|
+
"dsh-mnemon-source-memory-spaces": "0.5.26",
|
|
170
|
+
"dsh-mnemon-source-runtime": "0.5.19",
|
|
171
|
+
"dsh-mnemon-source-skills": "0.5.10",
|
|
171
172
|
"dsh-mnemon-strategy-auto-capture": "0.5.5",
|
|
172
|
-
"dsh-mnemon-strategy-default-three-tier": "0.5.
|
|
173
|
-
"dsh-mnemon-strategy-general": "0.5.
|
|
173
|
+
"dsh-mnemon-strategy-default-three-tier": "0.5.13",
|
|
174
|
+
"dsh-mnemon-strategy-general": "0.5.2",
|
|
174
175
|
"dsh-mnemon-strategy-light-context": "0.5.6",
|
|
175
176
|
"dsh-mnemon-strategy-scoped": "0.5.5",
|
|
176
177
|
"fflate": "^0.8.3",
|