dsh-mnemon 0.4.7 → 0.5.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 +10 -20
- package/README.zh-CN.md +10 -20
- package/SECURITY.md +8 -8
- package/cordis.patch.yml +42 -0
- package/lib/client.js +2360 -6843
- package/lib/contracts.js +16 -17
- package/lib/core.js +11 -0
- package/lib/definitions-j0FLgE0-.js +251 -0
- package/lib/extension-sdk.js +93 -229
- package/lib/index.js +3730 -6330
- package/lib/runtime-AtIOTeP1.js +1316 -0
- package/lib/storage-lock-Bqrhkyag.js +20 -0
- package/lib/testing.js +231 -0
- package/lib/types/src/client/extension-sdk.d.ts +10 -0
- package/lib/types/src/client/index.d.ts +1 -0
- package/lib/types/src/client/locales.d.ts +84 -0
- package/lib/types/src/client/page-client.d.ts +15 -0
- package/lib/types/src/client/page-kit.d.ts +40 -0
- package/lib/types/src/client/source-contracts.d.ts +46 -0
- package/lib/types/src/client/source-pages.d.ts +83 -0
- package/lib/types/src/core/contracts/index.d.ts +40 -0
- package/lib/types/src/core/contracts/plugin.d.ts +32 -0
- package/lib/types/src/core/contracts/view.d.ts +416 -0
- package/lib/types/src/core/definitions.d.ts +16 -0
- package/lib/types/src/core/plugin.d.ts +6 -0
- package/lib/types/src/{config-values.d.ts → host/config-values.d.ts} +7 -7
- package/lib/types/src/{config.d.ts → host/config.d.ts} +4 -1
- package/lib/types/src/{shared → host}/display-mode.d.ts +1 -1
- package/lib/types/src/host/plugin.d.ts +8 -0
- package/lib/types/src/host/protocol.d.ts +549 -0
- package/lib/types/src/host/view-protocol.d.ts +123 -0
- package/lib/types/src/index.d.ts +2 -21
- package/lib/types/src/sdk/index.d.ts +9 -0
- package/lib/types/src/sdk/input.d.ts +11 -0
- package/lib/types/src/sdk/install.d.ts +7 -0
- package/lib/types/src/sdk/service.d.ts +31 -0
- package/lib/types/src/sdk/storage-lock.d.ts +6 -0
- package/lib/types/src/sdk/strategy-configuration.d.ts +31 -0
- package/lib/types/src/sdk/testing.d.ts +70 -0
- package/package.json +46 -35
- package/lib/kernel.js +0 -1173
- package/lib/layers/documents.js +0 -31
- package/lib/layers/memory-spaces.js +0 -34
- package/lib/layers/runtime.js +0 -27
- package/lib/provider-sdk.js +0 -2
- package/lib/registry-B9SdBRLo.js +0 -2423
- package/lib/strategy-default-three-tier.js +0 -99
- package/lib/strategy-sdk.js +0 -56
- package/lib/types/packages/contracts/src/index.d.ts +0 -221
- package/lib/types/packages/extension-sdk/src/index.d.ts +0 -54
- package/lib/types/packages/kernel/src/access.d.ts +0 -14
- package/lib/types/packages/kernel/src/catalog.d.ts +0 -42
- package/lib/types/packages/kernel/src/index.d.ts +0 -5
- package/lib/types/packages/kernel/src/kernel.d.ts +0 -46
- package/lib/types/packages/kernel/src/topology.d.ts +0 -25
- package/lib/types/packages/kernel/src/view.d.ts +0 -89
- package/lib/types/packages/layer-documents/src/index.d.ts +0 -4
- package/lib/types/packages/layer-memory-spaces/src/index.d.ts +0 -4
- package/lib/types/packages/layer-runtime/src/index.d.ts +0 -4
- package/lib/types/packages/provider-sdk/src/index.d.ts +0 -19
- package/lib/types/packages/strategy-default-three-tier/src/index.d.ts +0 -7
- package/lib/types/packages/strategy-sdk/src/index.d.ts +0 -35
- package/lib/types/src/activity.d.ts +0 -16
- package/lib/types/src/agent-memory-turn.d.ts +0 -42
- package/lib/types/src/channels.d.ts +0 -1
- package/lib/types/src/client/GlobalLocationSetting.d.ts +0 -19
- package/lib/types/src/client/MnemonPackSection.d.ts +0 -13
- package/lib/types/src/client/MnemonSaveAction.d.ts +0 -13
- package/lib/types/src/client/MnemonSettingsCard.d.ts +0 -16
- package/lib/types/src/client/MnemonTurnTail.d.ts +0 -21
- package/lib/types/src/client/MnemonView.d.ts +0 -26
- package/lib/types/src/client/ProviderIcon.d.ts +0 -8
- package/lib/types/src/client/ProviderSettingsSection.d.ts +0 -16
- package/lib/types/src/client/anchor.d.ts +0 -27
- package/lib/types/src/client/api.d.ts +0 -83
- package/lib/types/src/client/better-sidebar.d.ts +0 -13
- package/lib/types/src/client/dsh-compat.d.ts +0 -51
- package/lib/types/src/client/settings.d.ts +0 -23
- package/lib/types/src/client/sidebar-entry.d.ts +0 -5
- package/lib/types/src/client/subagent-token-usage.d.ts +0 -23
- package/lib/types/src/client/workspace-controller.d.ts +0 -14
- package/lib/types/src/client/workspace-mount.d.ts +0 -20
- package/lib/types/src/commands.d.ts +0 -13
- package/lib/types/src/contracts.d.ts +0 -316
- package/lib/types/src/documents.d.ts +0 -77
- package/lib/types/src/git-branch.d.ts +0 -6
- package/lib/types/src/guidance.d.ts +0 -29
- package/lib/types/src/lifecycle.d.ts +0 -80
- package/lib/types/src/live-runtime.d.ts +0 -92
- package/lib/types/src/memory-bodies.d.ts +0 -57
- package/lib/types/src/memory-receipts.d.ts +0 -21
- package/lib/types/src/memory-system/access.d.ts +0 -2
- package/lib/types/src/memory-system/catalog.d.ts +0 -2
- package/lib/types/src/memory-system/contracts.d.ts +0 -2
- package/lib/types/src/memory-system/defaults.d.ts +0 -6
- package/lib/types/src/memory-system/index.d.ts +0 -7
- package/lib/types/src/memory-system/kernel.d.ts +0 -2
- package/lib/types/src/memory-system/topology.d.ts +0 -2
- package/lib/types/src/memory-system/view.d.ts +0 -2
- package/lib/types/src/memory-view.d.ts +0 -21
- package/lib/types/src/pack.d.ts +0 -29
- package/lib/types/src/process.d.ts +0 -16
- package/lib/types/src/provider-placement.d.ts +0 -26
- package/lib/types/src/provider-sdk.d.ts +0 -4
- package/lib/types/src/providers/byterover.d.ts +0 -32
- package/lib/types/src/providers/catalog.d.ts +0 -23
- package/lib/types/src/providers/hindsight.d.ts +0 -20
- package/lib/types/src/providers/holographic.d.ts +0 -23
- package/lib/types/src/providers/honcho.d.ts +0 -18
- package/lib/types/src/providers/http.d.ts +0 -32
- package/lib/types/src/providers/mem0.d.ts +0 -18
- package/lib/types/src/providers/memory-system.d.ts +0 -6
- package/lib/types/src/providers/openviking.d.ts +0 -32
- package/lib/types/src/providers/provider.d.ts +0 -46
- package/lib/types/src/providers/registry.d.ts +0 -23
- package/lib/types/src/providers/retaindb.d.ts +0 -17
- package/lib/types/src/providers/supermemory.d.ts +0 -17
- package/lib/types/src/recall-quality/contracts.d.ts +0 -32
- package/lib/types/src/recall-quality/engine.d.ts +0 -13
- package/lib/types/src/recall-quality/index.d.ts +0 -4
- package/lib/types/src/recall-quality/policies.d.ts +0 -5
- package/lib/types/src/recall-quality/registry.d.ts +0 -10
- package/lib/types/src/review-activity.d.ts +0 -19
- package/lib/types/src/rpc.d.ts +0 -22
- package/lib/types/src/runner.d.ts +0 -41
- package/lib/types/src/runtime-memory.d.ts +0 -90
- package/lib/types/src/search-tokens.d.ts +0 -5
- package/lib/types/src/service.d.ts +0 -113
- package/lib/types/src/session-events.d.ts +0 -8
- package/lib/types/src/settings.d.ts +0 -6
- package/lib/types/src/shared/contracts.d.ts +0 -1008
- package/lib/types/src/storage-scope.d.ts +0 -12
- package/lib/types/src/subagent-token-usage.d.ts +0 -53
- package/lib/types/src/subagent.d.ts +0 -124
- package/lib/types/src/tools.d.ts +0 -10
- package/lib/types/src/version-updates.d.ts +0 -37
package/lib/layers/documents.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
const DOCUMENTS_MEMORY_LAYER = Object.freeze({
|
|
2
|
-
id: "documents",
|
|
3
|
-
label: "Documents",
|
|
4
|
-
description: "Versioned narrative documents searched first and read in full on demand.",
|
|
5
|
-
role: "narrative",
|
|
6
|
-
order: 200,
|
|
7
|
-
capabilities: [
|
|
8
|
-
"status",
|
|
9
|
-
"project",
|
|
10
|
-
"recall",
|
|
11
|
-
"search",
|
|
12
|
-
"read",
|
|
13
|
-
"browse",
|
|
14
|
-
"write",
|
|
15
|
-
"archive",
|
|
16
|
-
"maintain",
|
|
17
|
-
"export",
|
|
18
|
-
"import"
|
|
19
|
-
]
|
|
20
|
-
});
|
|
21
|
-
function registerDocumentsMemoryLayer(catalog, registration = {}) {
|
|
22
|
-
return catalog.registerLayer({
|
|
23
|
-
descriptor: {
|
|
24
|
-
...DOCUMENTS_MEMORY_LAYER,
|
|
25
|
-
capabilities: [...DOCUMENTS_MEMORY_LAYER.capabilities]
|
|
26
|
-
},
|
|
27
|
-
...registration
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
//#endregion
|
|
31
|
-
export { DOCUMENTS_MEMORY_LAYER, registerDocumentsMemoryLayer };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
const MEMORY_SPACES_LAYER = Object.freeze({
|
|
2
|
-
id: "memory-spaces",
|
|
3
|
-
label: "Memory Spaces",
|
|
4
|
-
description: "Provider-backed durable evidence recalled across tasks and sessions.",
|
|
5
|
-
role: "durable-evidence",
|
|
6
|
-
order: 300,
|
|
7
|
-
capabilities: [
|
|
8
|
-
"status",
|
|
9
|
-
"project",
|
|
10
|
-
"recall",
|
|
11
|
-
"search",
|
|
12
|
-
"read",
|
|
13
|
-
"browse",
|
|
14
|
-
"write",
|
|
15
|
-
"graph",
|
|
16
|
-
"related",
|
|
17
|
-
"link",
|
|
18
|
-
"forget",
|
|
19
|
-
"maintain",
|
|
20
|
-
"export",
|
|
21
|
-
"import"
|
|
22
|
-
]
|
|
23
|
-
});
|
|
24
|
-
function registerMemorySpacesLayer(catalog, registration = {}) {
|
|
25
|
-
return catalog.registerLayer({
|
|
26
|
-
descriptor: {
|
|
27
|
-
...MEMORY_SPACES_LAYER,
|
|
28
|
-
capabilities: [...MEMORY_SPACES_LAYER.capabilities]
|
|
29
|
-
},
|
|
30
|
-
...registration
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
//#endregion
|
|
34
|
-
export { MEMORY_SPACES_LAYER, registerMemorySpacesLayer };
|
package/lib/layers/runtime.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
const RUNTIME_MEMORY_LAYER = Object.freeze({
|
|
2
|
-
id: "runtime",
|
|
3
|
-
label: "Runtime Memory",
|
|
4
|
-
description: "Bounded, deterministic memory projected into every eligible turn.",
|
|
5
|
-
role: "working-context",
|
|
6
|
-
order: 100,
|
|
7
|
-
capabilities: [
|
|
8
|
-
"status",
|
|
9
|
-
"project",
|
|
10
|
-
"read",
|
|
11
|
-
"write",
|
|
12
|
-
"maintain",
|
|
13
|
-
"export",
|
|
14
|
-
"import"
|
|
15
|
-
]
|
|
16
|
-
});
|
|
17
|
-
function registerRuntimeMemoryLayer(catalog, registration = {}) {
|
|
18
|
-
return catalog.registerLayer({
|
|
19
|
-
descriptor: {
|
|
20
|
-
...RUNTIME_MEMORY_LAYER,
|
|
21
|
-
capabilities: [...RUNTIME_MEMORY_LAYER.capabilities]
|
|
22
|
-
},
|
|
23
|
-
...registration
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
//#endregion
|
|
27
|
-
export { RUNTIME_MEMORY_LAYER, registerRuntimeMemoryLayer };
|
package/lib/provider-sdk.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { a as MemoryAdapterFactoryRegistry, i as registerMemoryProviderAdapterFactory, n as createBuiltinMemoryProviderAdapterRegistry, o as defineMemoryAdapterDescriptor, r as memoryProviderAdapterFactories, t as MemoryProviderAdapterRegistry } from "./registry-B9SdBRLo.js";
|
|
2
|
-
export { MemoryAdapterFactoryRegistry, MemoryProviderAdapterRegistry, createBuiltinMemoryProviderAdapterRegistry, defineMemoryAdapterDescriptor, memoryProviderAdapterFactories, registerMemoryProviderAdapterFactory };
|