chatluna-plugin-livingmemory 0.0.0-stage → 0.0.2
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/LICENSE +661 -0
- package/README.md +93 -3
- package/client/index.ts +21 -0
- package/client/locales/en.yml +128 -0
- package/client/locales/zh.yml +128 -0
- package/client/memory-deletion-dialog.tsx +72 -0
- package/client/memory-entry-editor.tsx +186 -0
- package/client/page.tsx +1021 -0
- package/client/preset-actions.tsx +120 -0
- package/dist/.vite/manifest.json +17 -0
- package/dist/client.css +2 -0
- package/dist/client.js +1 -0
- package/dist/page-IsLg0kiw.js +3 -0
- package/lib/contracts/memory.d.ts +273 -0
- package/lib/contracts/memory.d.ts.map +1 -0
- package/lib/contracts/rpc.d.ts +41 -0
- package/lib/contracts/rpc.d.ts.map +1 -0
- package/lib/contracts/vector_index.d.ts +118 -0
- package/lib/contracts/vector_index.d.ts.map +1 -0
- package/lib/contracts/webui.d.ts +107 -0
- package/lib/contracts/webui.d.ts.map +1 -0
- package/lib/contracts/webui_live.d.ts +116 -0
- package/lib/contracts/webui_live.d.ts.map +1 -0
- package/lib/contracts/workflows.d.ts +156 -0
- package/lib/contracts/workflows.d.ts.map +1 -0
- package/lib/dream-semantic-worker.mjs +511 -0
- package/lib/index.d.ts +18 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +8640 -0
- package/lib/index.js.map +1 -0
- package/lib/query.d.ts +17 -0
- package/lib/query.d.ts.map +1 -0
- package/lib/routing.d.ts +33 -0
- package/lib/routing.d.ts.map +1 -0
- package/lib/service/app/admin_service.d.ts +80 -0
- package/lib/service/app/admin_service.d.ts.map +1 -0
- package/lib/service/app/commands.d.ts +8 -0
- package/lib/service/app/commands.d.ts.map +1 -0
- package/lib/service/app/config_status.d.ts +6 -0
- package/lib/service/app/config_status.d.ts.map +1 -0
- package/lib/service/app/maintenance.d.ts +33 -0
- package/lib/service/app/maintenance.d.ts.map +1 -0
- package/lib/service/app/memory_providers.d.ts +38 -0
- package/lib/service/app/memory_providers.d.ts.map +1 -0
- package/lib/service/app/mutation_service.d.ts +93 -0
- package/lib/service/app/mutation_service.d.ts.map +1 -0
- package/lib/service/app/query_projections.d.ts +6 -0
- package/lib/service/app/query_projections.d.ts.map +1 -0
- package/lib/service/app/webui.d.ts +16 -0
- package/lib/service/app/webui.d.ts.map +1 -0
- package/lib/service/chat_history.d.ts +48 -0
- package/lib/service/chat_history.d.ts.map +1 -0
- package/lib/service/conversation_hooks.d.ts +59 -0
- package/lib/service/conversation_hooks.d.ts.map +1 -0
- package/lib/service/logging/logger.d.ts +39 -0
- package/lib/service/logging/logger.d.ts.map +1 -0
- package/lib/service/logging/model_calls.d.ts +8 -0
- package/lib/service/logging/model_calls.d.ts.map +1 -0
- package/lib/service/memory/entry_fields.d.ts +19 -0
- package/lib/service/memory/entry_fields.d.ts.map +1 -0
- package/lib/service/memory/errors.d.ts +3 -0
- package/lib/service/memory/errors.d.ts.map +1 -0
- package/lib/service/memory/helpers.d.ts +27 -0
- package/lib/service/memory/helpers.d.ts.map +1 -0
- package/lib/service/memory/origins/source_origins.d.ts +6 -0
- package/lib/service/memory/origins/source_origins.d.ts.map +1 -0
- package/lib/service/memory/preset_persona.d.ts +93 -0
- package/lib/service/memory/preset_persona.d.ts.map +1 -0
- package/lib/service/memory/snapshot/snapshot_text.d.ts +3 -0
- package/lib/service/memory/snapshot/snapshot_text.d.ts.map +1 -0
- package/lib/service/memory/speaker_identity.d.ts +20 -0
- package/lib/service/memory/speaker_identity.d.ts.map +1 -0
- package/lib/service/memory/tools/index.d.ts +17 -0
- package/lib/service/memory/tools/index.d.ts.map +1 -0
- package/lib/service/memory/tools/memory_tools.d.ts +24 -0
- package/lib/service/memory/tools/memory_tools.d.ts.map +1 -0
- package/lib/service/memory/tools/search_memory_tool.d.ts +14 -0
- package/lib/service/memory/tools/search_memory_tool.d.ts.map +1 -0
- package/lib/service/memory/tools/tool_runtime.d.ts +48 -0
- package/lib/service/memory/tools/tool_runtime.d.ts.map +1 -0
- package/lib/service/persistence/entries.d.ts +111 -0
- package/lib/service/persistence/entries.d.ts.map +1 -0
- package/lib/service/persistence/jobs.d.ts +25 -0
- package/lib/service/persistence/jobs.d.ts.map +1 -0
- package/lib/service/persistence/normalizers.d.ts +11 -0
- package/lib/service/persistence/normalizers.d.ts.map +1 -0
- package/lib/service/persistence/preset_personas.d.ts +23 -0
- package/lib/service/persistence/preset_personas.d.ts.map +1 -0
- package/lib/service/persistence/repository.d.ts +159 -0
- package/lib/service/persistence/repository.d.ts.map +1 -0
- package/lib/service/persistence/snapshots.d.ts +17 -0
- package/lib/service/persistence/snapshots.d.ts.map +1 -0
- package/lib/service/persistence/speaker_reconciliation.d.ts +16 -0
- package/lib/service/persistence/speaker_reconciliation.d.ts.map +1 -0
- package/lib/service/persistence/tables.d.ts +16 -0
- package/lib/service/persistence/tables.d.ts.map +1 -0
- package/lib/service/persistence/types.d.ts +16 -0
- package/lib/service/persistence/types.d.ts.map +1 -0
- package/lib/service/persistence/user_profiles.d.ts +31 -0
- package/lib/service/persistence/user_profiles.d.ts.map +1 -0
- package/lib/service/prompts/agentic_recall.d.ts +9 -0
- package/lib/service/prompts/agentic_recall.d.ts.map +1 -0
- package/lib/service/prompts/dream.d.ts +8 -0
- package/lib/service/prompts/dream.d.ts.map +1 -0
- package/lib/service/prompts/extraction.d.ts +15 -0
- package/lib/service/prompts/extraction.d.ts.map +1 -0
- package/lib/service/prompts/memory_entries.d.ts +20 -0
- package/lib/service/prompts/memory_entries.d.ts.map +1 -0
- package/lib/service/prompts/memory_tools.d.ts +88 -0
- package/lib/service/prompts/memory_tools.d.ts.map +1 -0
- package/lib/service/prompts/persona_card.d.ts +13 -0
- package/lib/service/prompts/persona_card.d.ts.map +1 -0
- package/lib/service/prompts/prompt_format.d.ts +7 -0
- package/lib/service/prompts/prompt_format.d.ts.map +1 -0
- package/lib/service/prompts/schema.d.ts +46 -0
- package/lib/service/prompts/schema.d.ts.map +1 -0
- package/lib/service/prompts/user_profile.d.ts +15 -0
- package/lib/service/prompts/user_profile.d.ts.map +1 -0
- package/lib/service/shared/serial_task_queue.d.ts +6 -0
- package/lib/service/shared/serial_task_queue.d.ts.map +1 -0
- package/lib/service/shared/utils.d.ts +19 -0
- package/lib/service/shared/utils.d.ts.map +1 -0
- package/lib/service/transcript/element_text.d.ts +6 -0
- package/lib/service/transcript/element_text.d.ts.map +1 -0
- package/lib/service/transcript/message_formatter.d.ts +6 -0
- package/lib/service/transcript/message_formatter.d.ts.map +1 -0
- package/lib/service/transcript/origin_context.d.ts +17 -0
- package/lib/service/transcript/origin_context.d.ts.map +1 -0
- package/lib/service/transcript/source_serializer.d.ts +4 -0
- package/lib/service/transcript/source_serializer.d.ts.map +1 -0
- package/lib/service/transcript/transcript_message.d.ts +31 -0
- package/lib/service/transcript/transcript_message.d.ts.map +1 -0
- package/lib/service/transcript/transcript_renderer.d.ts +4 -0
- package/lib/service/transcript/transcript_renderer.d.ts.map +1 -0
- package/lib/service/user_profile.d.ts +46 -0
- package/lib/service/user_profile.d.ts.map +1 -0
- package/lib/service/vector_index/directory_switch.d.ts +30 -0
- package/lib/service/vector_index/directory_switch.d.ts.map +1 -0
- package/lib/service/vector_index/documents.d.ts +4 -0
- package/lib/service/vector_index/documents.d.ts.map +1 -0
- package/lib/service/vector_index/embedding.d.ts +16 -0
- package/lib/service/vector_index/embedding.d.ts.map +1 -0
- package/lib/service/vector_index/errors.d.ts +16 -0
- package/lib/service/vector_index/errors.d.ts.map +1 -0
- package/lib/service/vector_index/generation_coordinator.d.ts +6 -0
- package/lib/service/vector_index/generation_coordinator.d.ts.map +1 -0
- package/lib/service/vector_index/hashes.d.ts +9 -0
- package/lib/service/vector_index/hashes.d.ts.map +1 -0
- package/lib/service/vector_index/job_runner.d.ts +15 -0
- package/lib/service/vector_index/job_runner.d.ts.map +1 -0
- package/lib/service/vector_index/maintenance.d.ts +57 -0
- package/lib/service/vector_index/maintenance.d.ts.map +1 -0
- package/lib/service/vector_index/mutation_builder.d.ts +5 -0
- package/lib/service/vector_index/mutation_builder.d.ts.map +1 -0
- package/lib/service/vector_index/operation_gate.d.ts +25 -0
- package/lib/service/vector_index/operation_gate.d.ts.map +1 -0
- package/lib/service/vector_index/rebuild.d.ts +28 -0
- package/lib/service/vector_index/rebuild.d.ts.map +1 -0
- package/lib/service/vector_index/reconcile.d.ts +23 -0
- package/lib/service/vector_index/reconcile.d.ts.map +1 -0
- package/lib/service/vector_index/service.d.ts +80 -0
- package/lib/service/vector_index/service.d.ts.map +1 -0
- package/lib/service/vector_index/status_store.d.ts +28 -0
- package/lib/service/vector_index/status_store.d.ts.map +1 -0
- package/lib/service/vector_index/worker/database.d.ts +59 -0
- package/lib/service/vector_index/worker/database.d.ts.map +1 -0
- package/lib/service/vector_index/worker/dream_ann.d.ts +8 -0
- package/lib/service/vector_index/worker/dream_ann.d.ts.map +1 -0
- package/lib/service/vector_index/worker/entry.d.ts +2 -0
- package/lib/service/vector_index/worker/entry.d.ts.map +1 -0
- package/lib/service/vector_index/worker/mutations.d.ts +13 -0
- package/lib/service/vector_index/worker/mutations.d.ts.map +1 -0
- package/lib/service/vector_index/worker/ownership_endpoint.d.ts +7 -0
- package/lib/service/vector_index/worker/ownership_endpoint.d.ts.map +1 -0
- package/lib/service/vector_index/worker/queries.d.ts +8 -0
- package/lib/service/vector_index/worker/queries.d.ts.map +1 -0
- package/lib/service/vector_index/worker/runtime.d.ts +13 -0
- package/lib/service/vector_index/worker/runtime.d.ts.map +1 -0
- package/lib/service/vector_index/worker/schema.d.ts +7 -0
- package/lib/service/vector_index/worker/schema.d.ts.map +1 -0
- package/lib/service/vector_index/worker/vector_values.d.ts +4 -0
- package/lib/service/vector_index/worker/vector_values.d.ts.map +1 -0
- package/lib/service/vector_index/worker_client.d.ts +50 -0
- package/lib/service/vector_index/worker_client.d.ts.map +1 -0
- package/lib/service/vector_index/worker_protocol.d.ts +224 -0
- package/lib/service/vector_index/worker_protocol.d.ts.map +1 -0
- package/lib/service/workflows/dream/clustering.d.ts +12 -0
- package/lib/service/workflows/dream/clustering.d.ts.map +1 -0
- package/lib/service/workflows/dream/coordinator.d.ts +23 -0
- package/lib/service/workflows/dream/coordinator.d.ts.map +1 -0
- package/lib/service/workflows/dream/job_runner.d.ts +13 -0
- package/lib/service/workflows/dream/job_runner.d.ts.map +1 -0
- package/lib/service/workflows/dream/post_extraction.d.ts +16 -0
- package/lib/service/workflows/dream/post_extraction.d.ts.map +1 -0
- package/lib/service/workflows/dream/semantic/bisect.d.ts +11 -0
- package/lib/service/workflows/dream/semantic/bisect.d.ts.map +1 -0
- package/lib/service/workflows/dream/semantic/candidates.d.ts +20 -0
- package/lib/service/workflows/dream/semantic/candidates.d.ts.map +1 -0
- package/lib/service/workflows/dream/semantic/graph.d.ts +4 -0
- package/lib/service/workflows/dream/semantic/graph.d.ts.map +1 -0
- package/lib/service/workflows/dream/semantic/refine.d.ts +12 -0
- package/lib/service/workflows/dream/semantic/refine.d.ts.map +1 -0
- package/lib/service/workflows/dream/semantic/types.d.ts +60 -0
- package/lib/service/workflows/dream/semantic/types.d.ts.map +1 -0
- package/lib/service/workflows/dream/semantic/validate.d.ts +3 -0
- package/lib/service/workflows/dream/semantic/validate.d.ts.map +1 -0
- package/lib/service/workflows/dream/service.d.ts +44 -0
- package/lib/service/workflows/dream/service.d.ts.map +1 -0
- package/lib/service/workflows/dream/session/history.d.ts +37 -0
- package/lib/service/workflows/dream/session/history.d.ts.map +1 -0
- package/lib/service/workflows/dream/session/runner.d.ts +30 -0
- package/lib/service/workflows/dream/session/runner.d.ts.map +1 -0
- package/lib/service/workflows/dream/session/state.d.ts +40 -0
- package/lib/service/workflows/dream/session/state.d.ts.map +1 -0
- package/lib/service/workflows/dream/session/tools.d.ts +20 -0
- package/lib/service/workflows/dream/session/tools.d.ts.map +1 -0
- package/lib/service/workflows/dream/types.d.ts +36 -0
- package/lib/service/workflows/dream/types.d.ts.map +1 -0
- package/lib/service/workflows/dream/worker/client.d.ts +24 -0
- package/lib/service/workflows/dream/worker/client.d.ts.map +1 -0
- package/lib/service/workflows/dream/worker/entry.d.ts +2 -0
- package/lib/service/workflows/dream/worker/entry.d.ts.map +1 -0
- package/lib/service/workflows/dream/worker/protocol.d.ts +54 -0
- package/lib/service/workflows/dream/worker/protocol.d.ts.map +1 -0
- package/lib/service/workflows/extraction/coordinator.d.ts +66 -0
- package/lib/service/workflows/extraction/coordinator.d.ts.map +1 -0
- package/lib/service/workflows/extraction/extractor.d.ts +30 -0
- package/lib/service/workflows/extraction/extractor.d.ts.map +1 -0
- package/lib/service/workflows/job_tracker.d.ts +10 -0
- package/lib/service/workflows/job_tracker.d.ts.map +1 -0
- package/lib/service/workflows/recall/agentic_recall.d.ts +33 -0
- package/lib/service/workflows/recall/agentic_recall.d.ts.map +1 -0
- package/lib/service/workflows/recall/coordinator.d.ts +41 -0
- package/lib/service/workflows/recall/coordinator.d.ts.map +1 -0
- package/lib/service/workflows/recall/indexed_entries.d.ts +4 -0
- package/lib/service/workflows/recall/indexed_entries.d.ts.map +1 -0
- package/lib/service/workflows/recall/memory_search_engine.d.ts +23 -0
- package/lib/service/workflows/recall/memory_search_engine.d.ts.map +1 -0
- package/lib/service/workflows/structured_output.d.ts +36 -0
- package/lib/service/workflows/structured_output.d.ts.map +1 -0
- package/lib/service/workflows/tool_call.d.ts +28 -0
- package/lib/service/workflows/tool_call.d.ts.map +1 -0
- package/lib/service/workflows/tool_loop.d.ts +55 -0
- package/lib/service/workflows/tool_loop.d.ts.map +1 -0
- package/lib/service.d.ts +71 -0
- package/lib/service.d.ts.map +1 -0
- package/lib/vector-index-worker.mjs +974 -0
- package/lib/worker_artifacts.d.ts +2 -0
- package/lib/worker_artifacts.d.ts.map +1 -0
- package/package.json +96 -5
- package/src/contracts/memory.ts +335 -0
- package/src/contracts/rpc.ts +55 -0
- package/src/contracts/vector_index.ts +163 -0
- package/src/contracts/webui.ts +123 -0
- package/src/contracts/webui_live.ts +100 -0
- package/src/contracts/workflows.ts +265 -0
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import type { LivingMemoryEntriesParams, LivingMemoryEntriesSnapshot, LivingMemoryJobView, LivingMemoryPersonaView, LivingMemoryProfilesSnapshot, LivingMemorySearchHitView, LivingMemorySpeakerView, LivingMemorySnapshotsSnapshot, LivingMemoryStatusSnapshot } from './webui.ts';
|
|
2
|
+
import type { LivingMemorySearchMemoryType, MemoryEntryRecord, MemoryMutationInput, MemorySearchStatus } from './memory.ts';
|
|
3
|
+
import type { MemoryListFilter } from './rpc.ts';
|
|
4
|
+
import type { DreamTriggerResult } from './workflows.ts';
|
|
5
|
+
type EntryInput = MemoryMutationInput & {
|
|
6
|
+
speakerKeys?: string[];
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* WebUI 的 live state 与 action 声明。
|
|
10
|
+
*
|
|
11
|
+
* 单独成文件,供服务端注册与客户端页面共用:服务端只从这里取 key 与入参
|
|
12
|
+
* 类型,页面从这里取返回值类型。`@chatluna/ui-client/client` 的模块增强
|
|
13
|
+
* 必须在使用 `chatluna_webui.state/action` 的编译单元里可见,否则 key 会被
|
|
14
|
+
* 约束成内置的几个名字。
|
|
15
|
+
*/
|
|
16
|
+
declare module '@chatluna/ui-client/client' {
|
|
17
|
+
interface States {
|
|
18
|
+
'livingmemory.entries': LivingMemoryEntriesSnapshot;
|
|
19
|
+
'livingmemory.speakers': LivingMemorySpeakerView[];
|
|
20
|
+
'livingmemory.jobs': LivingMemoryJobView[];
|
|
21
|
+
'livingmemory.persona': {
|
|
22
|
+
persona: LivingMemoryPersonaView | null;
|
|
23
|
+
};
|
|
24
|
+
'livingmemory.profiles': LivingMemoryProfilesSnapshot;
|
|
25
|
+
'livingmemory.snapshots': LivingMemorySnapshotsSnapshot;
|
|
26
|
+
'livingmemory.status': LivingMemoryStatusSnapshot;
|
|
27
|
+
}
|
|
28
|
+
interface Actions {
|
|
29
|
+
'livingmemory.create'(input: EntryInput & {
|
|
30
|
+
presetId: string;
|
|
31
|
+
conversationId?: string;
|
|
32
|
+
userId?: string;
|
|
33
|
+
channelId?: string;
|
|
34
|
+
}): {
|
|
35
|
+
id: string;
|
|
36
|
+
};
|
|
37
|
+
'livingmemory.update'(input: Partial<EntryInput> & {
|
|
38
|
+
id: string;
|
|
39
|
+
}): void;
|
|
40
|
+
'livingmemory.listMemorySelection'(filter: MemoryListFilter): Pick<MemoryEntryRecord, 'id' | 'status'>[];
|
|
41
|
+
'livingmemory.archiveMemories'(input: {
|
|
42
|
+
presetId: string;
|
|
43
|
+
ids: string[];
|
|
44
|
+
}): {
|
|
45
|
+
archived: number;
|
|
46
|
+
};
|
|
47
|
+
'livingmemory.deleteMemories'(input: {
|
|
48
|
+
presetId: string;
|
|
49
|
+
ids: string[];
|
|
50
|
+
}): {
|
|
51
|
+
deleted: number;
|
|
52
|
+
};
|
|
53
|
+
'livingmemory.search'(input: {
|
|
54
|
+
presetId: string;
|
|
55
|
+
searchTexts: string[];
|
|
56
|
+
searchKeywords?: string[];
|
|
57
|
+
memoryTypes?: LivingMemorySearchMemoryType[];
|
|
58
|
+
memoryStatus?: MemorySearchStatus;
|
|
59
|
+
}): {
|
|
60
|
+
hits: LivingMemorySearchHitView[];
|
|
61
|
+
};
|
|
62
|
+
'livingmemory.dream'(input: {
|
|
63
|
+
presetId: string;
|
|
64
|
+
}): DreamTriggerResult;
|
|
65
|
+
'livingmemory.savePersona'(input: {
|
|
66
|
+
presetId: string;
|
|
67
|
+
card: string;
|
|
68
|
+
}): void;
|
|
69
|
+
'livingmemory.resetPersona'(input: {
|
|
70
|
+
presetId: string;
|
|
71
|
+
}): void;
|
|
72
|
+
'livingmemory.deleteSnapshot'(input: {
|
|
73
|
+
id: string;
|
|
74
|
+
}): void;
|
|
75
|
+
'livingmemory.updateProfile'(input: {
|
|
76
|
+
id: string;
|
|
77
|
+
content: string;
|
|
78
|
+
}): void;
|
|
79
|
+
'livingmemory.deleteProfile'(input: {
|
|
80
|
+
id: string;
|
|
81
|
+
}): void;
|
|
82
|
+
'livingmemory.regenerateProfile'(input: {
|
|
83
|
+
presetId: string;
|
|
84
|
+
speakerKey: string;
|
|
85
|
+
}): void;
|
|
86
|
+
'livingmemory.exportPreset'(input: {
|
|
87
|
+
presetId: string;
|
|
88
|
+
}): {
|
|
89
|
+
data: unknown;
|
|
90
|
+
};
|
|
91
|
+
'livingmemory.importPreset'(input: {
|
|
92
|
+
presetId: string;
|
|
93
|
+
data: unknown;
|
|
94
|
+
}): {
|
|
95
|
+
entries: number;
|
|
96
|
+
userProfiles: number;
|
|
97
|
+
presetSpeakers: number;
|
|
98
|
+
indexJobId: string;
|
|
99
|
+
};
|
|
100
|
+
'livingmemory.rebuildIndex'(input: {
|
|
101
|
+
presetId: string;
|
|
102
|
+
}): void;
|
|
103
|
+
'livingmemory.clearPreset'(input: {
|
|
104
|
+
presetId: string;
|
|
105
|
+
}): void;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
export type { LivingMemoryEntriesParams };
|
|
109
|
+
declare module 'cordis' {
|
|
110
|
+
interface Events<C = any> {
|
|
111
|
+
/** 管理页的刷新信号:记忆、画像或任务发生变化。 */
|
|
112
|
+
'livingmemory/change'(): void;
|
|
113
|
+
'livingmemory/job-change'(): void;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
//# sourceMappingURL=webui_live.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webui_live.d.ts","sourceRoot":"","sources":["../../src/contracts/webui_live.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACR,yBAAyB,EACzB,2BAA2B,EAC3B,mBAAmB,EACnB,uBAAuB,EACvB,4BAA4B,EAC5B,yBAAyB,EACzB,uBAAuB,EACvB,6BAA6B,EAC7B,0BAA0B,EAC7B,MAAM,YAAY,CAAA;AACnB,OAAO,KAAK,EACR,4BAA4B,EAC5B,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EACrB,MAAM,aAAa,CAAA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AAO,CAAA;SAChB,CAAA;QACD,2BAA2B,CAAC,KAAK,EAAE;YAC/B,QAAQ,EAAE,MAAM,CAAA;YAChB,IAAI,EAAE,OAAO,CAAA;SAChB,GAAG;YACA,OAAO,EAAE,MAAM,CAAA;YACf,YAAY,EAAE,MAAM,CAAA;YACpB,cAAc,EAAE,MAAM,CAAA;YACtB,UAAU,EAAE,MAAM,CAAA;SACrB,CAAA;QACD,2BAA2B,CAAC,KAAK,EAAE;YAAE,QAAQ,EAAE,MAAM,CAAA;SAAE,GAAG,IAAI,CAAA;QAC9D,0BAA0B,CAAC,KAAK,EAAE;YAAE,QAAQ,EAAE,MAAM,CAAA;SAAE,GAAG,IAAI,CAAA;KAChE;CACJ;AAED,YAAY,EAAE,yBAAyB,EAAE,CAAA;AAEzC,OAAO,QAAQ,QAAQ,CAAC;IACpB,UAAU,MAAM,CAAC,CAAC,GAAG,GAAG;QACpB,6BAA6B;QAC7B,qBAAqB,IAAI,IAAI,CAAA;QAC7B,yBAAyB,IAAI,IAAI,CAAA;KACpC;CACJ"}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import type { AgenticMemorySnapshotItem, LivingMemorySearchInput, LivingMemorySearchResult, LivingMemoryGetMessagesMemory, MemoryEntryRecord, MemoryEntryType, MemoryJobKind, MemoryJobRecord, MemoryMutationInput, MemoryUpdatePatch, MemoryScope, MemorySnapshotRecord, MemorySourceMessage, PresetSpeakerInput, PresetSpeakerRecord, UserProfileInput, UserProfileRecord } from './memory.ts';
|
|
2
|
+
import type { MemoryVectorIndexStatus } from './vector_index.ts';
|
|
3
|
+
export interface DreamTriggerResult {
|
|
4
|
+
success: true;
|
|
5
|
+
started: boolean;
|
|
6
|
+
reason?: 'preset-locked' | 'insufficient-memories';
|
|
7
|
+
runningJobId?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface DreamMemoryEntryRecord {
|
|
10
|
+
id: string;
|
|
11
|
+
presetId: string;
|
|
12
|
+
speakerKeys: string[];
|
|
13
|
+
type: MemoryEntryType;
|
|
14
|
+
content: string;
|
|
15
|
+
keywords: string[];
|
|
16
|
+
summary: string | null;
|
|
17
|
+
sentiment: string | null;
|
|
18
|
+
importance: number | null;
|
|
19
|
+
sourceLabel: string | null;
|
|
20
|
+
createdAt: Date;
|
|
21
|
+
updatedAt: Date;
|
|
22
|
+
}
|
|
23
|
+
export type MemoryConfigWarningCode = 'recall-model-missing' | 'embedding-model-missing' | 'extract-model-missing';
|
|
24
|
+
export interface MemoryConfigWarning {
|
|
25
|
+
code: MemoryConfigWarningCode;
|
|
26
|
+
field: string;
|
|
27
|
+
message: string;
|
|
28
|
+
}
|
|
29
|
+
export interface MemoryServiceStatus {
|
|
30
|
+
warnings: MemoryConfigWarning[];
|
|
31
|
+
vectorIndex: MemoryVectorIndexStatus;
|
|
32
|
+
}
|
|
33
|
+
export interface ExtractedMemoryItem {
|
|
34
|
+
type: MemoryEntryType;
|
|
35
|
+
content: string;
|
|
36
|
+
keywords: string[];
|
|
37
|
+
summary: string;
|
|
38
|
+
sentiment: string;
|
|
39
|
+
importance: number;
|
|
40
|
+
speakerLabels: string[];
|
|
41
|
+
}
|
|
42
|
+
export interface AttributedMemoryItem extends Omit<ExtractedMemoryItem, 'speakerLabels'> {
|
|
43
|
+
speakerKeys: string[];
|
|
44
|
+
}
|
|
45
|
+
export interface ExtractionPayload {
|
|
46
|
+
input: string;
|
|
47
|
+
sourceOriginMessages: MemorySourceMessage[];
|
|
48
|
+
speakers: Array<{
|
|
49
|
+
speakerLabel: string;
|
|
50
|
+
speakerKey: string;
|
|
51
|
+
}>;
|
|
52
|
+
}
|
|
53
|
+
/** 配置里可选的记忆工具名;与服务端注册的工具定义同名。 */
|
|
54
|
+
export type LivingMemoryToolName = 'living_memory_search' | 'living_memory_get_messages' | 'living_memory_create_memory' | 'living_memory_update_memory' | 'living_memory_merge_memories' | 'living_memory_split_memory' | 'living_memory_delete_memory';
|
|
55
|
+
export interface LivingMemoryConfig {
|
|
56
|
+
enableUserProfileGeneration: boolean;
|
|
57
|
+
enableDreamUserProfileGeneration: boolean;
|
|
58
|
+
mainModel: string;
|
|
59
|
+
subModel: string;
|
|
60
|
+
userProfileMinMemoryCount: number;
|
|
61
|
+
userProfileMemoryLimit: number;
|
|
62
|
+
embeddingModel: string;
|
|
63
|
+
rerankModel: string;
|
|
64
|
+
memorySearchToolMaxResults: number;
|
|
65
|
+
memorySearchMinSimilarity: number;
|
|
66
|
+
enabledMemoryTools: LivingMemoryToolName[];
|
|
67
|
+
memoryCreateToolMaxMemories: number;
|
|
68
|
+
debug: boolean;
|
|
69
|
+
}
|
|
70
|
+
export interface RecallRepository {
|
|
71
|
+
getSearchEntriesByPresetAndIds(presetId: string, ids: string[]): Promise<LivingMemorySearchResult[]>;
|
|
72
|
+
}
|
|
73
|
+
export interface LivingMemorySearchProvider {
|
|
74
|
+
searchMemories(presetId: string, input: LivingMemorySearchInput, conversationId?: string): Promise<LivingMemorySearchResult[]>;
|
|
75
|
+
}
|
|
76
|
+
export interface LivingMemorySourceProvider {
|
|
77
|
+
getMemorySourceMessages(presetId: string, memoryId: string): Promise<LivingMemoryGetMessagesMemory | null>;
|
|
78
|
+
}
|
|
79
|
+
export interface LivingMemoryCreationProvider {
|
|
80
|
+
listPresetSpeakers(presetId: string): Promise<PresetSpeakerRecord[]>;
|
|
81
|
+
createMemory(scope: MemoryScope, input: MemoryMutationInput, speakerKeys: string[]): Promise<MemoryEntryRecord>;
|
|
82
|
+
}
|
|
83
|
+
export interface LivingMemoryUpdateProvider {
|
|
84
|
+
listPresetSpeakers(presetId: string): Promise<PresetSpeakerRecord[]>;
|
|
85
|
+
updateActiveMemory(presetId: string, memoryId: string, patch: Omit<MemoryUpdatePatch, 'status'>): Promise<MemoryEntryRecord | null>;
|
|
86
|
+
}
|
|
87
|
+
export interface LivingMemoryMergeProvider {
|
|
88
|
+
listPresetSpeakers(presetId: string): Promise<PresetSpeakerRecord[]>;
|
|
89
|
+
mergeActiveMemories(presetId: string, sourceMemoryIds: string[], memory: AttributedMemoryItem): Promise<{
|
|
90
|
+
memory: MemoryEntryRecord;
|
|
91
|
+
warnings: string[];
|
|
92
|
+
}>;
|
|
93
|
+
}
|
|
94
|
+
export interface LivingMemorySplitProvider {
|
|
95
|
+
listPresetSpeakers(presetId: string): Promise<PresetSpeakerRecord[]>;
|
|
96
|
+
splitActiveMemory(presetId: string, sourceMemoryId: string, memories: AttributedMemoryItem[]): Promise<{
|
|
97
|
+
memories: MemoryEntryRecord[];
|
|
98
|
+
warnings: string[];
|
|
99
|
+
}>;
|
|
100
|
+
}
|
|
101
|
+
export interface LivingMemoryArchiveProvider {
|
|
102
|
+
archiveActiveMemories(presetId: string, memoryIds: string[]): Promise<{
|
|
103
|
+
archived: number;
|
|
104
|
+
}>;
|
|
105
|
+
}
|
|
106
|
+
export interface SnapshotRepository {
|
|
107
|
+
getLatestSnapshotByScope(scope: Pick<MemoryScope, 'presetId' | 'conversationId'>): Promise<MemorySnapshotRecord | undefined>;
|
|
108
|
+
listSnapshotsByPreset(presetId: string): Promise<MemorySnapshotRecord[]>;
|
|
109
|
+
upsertSnapshot(scope: MemoryScope, query: string, items: AgenticMemorySnapshotItem[]): Promise<void>;
|
|
110
|
+
deleteSnapshot(snapshotId: string): Promise<MemorySnapshotRecord | undefined>;
|
|
111
|
+
deleteSnapshotsByConversation(conversationId: string): Promise<MemorySnapshotRecord[]>;
|
|
112
|
+
}
|
|
113
|
+
export interface JobRepository {
|
|
114
|
+
createJob(scope: MemoryScope, kind: MemoryJobKind, input: string): Promise<MemoryJobRecord>;
|
|
115
|
+
createFailedJob(scope: MemoryScope, kind: MemoryJobKind, input: string, error: unknown, startedAt: Date): Promise<MemoryJobRecord>;
|
|
116
|
+
updateJob(id: string, patch: Partial<MemoryJobRecord>): Promise<void>;
|
|
117
|
+
listJobsByPreset(presetId: string): Promise<MemoryJobRecord[]>;
|
|
118
|
+
/** 订阅任务行变化;返回注销函数。 */
|
|
119
|
+
watchJobs(listener: (job: MemoryJobRecord) => void): () => void;
|
|
120
|
+
markStaleRunningJobsAsFailed(options?: {
|
|
121
|
+
presetId?: string;
|
|
122
|
+
kind?: MemoryJobKind;
|
|
123
|
+
}, reason?: string): Promise<MemoryJobRecord[]>;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* 提取落库面:由应用变更服务实现——windowSpeakers 的注册与记忆追加必须
|
|
127
|
+
* 在同一预设级队列操作内完成,持久化仓储的 appendMemories 只负责事实
|
|
128
|
+
* 写入、不维护注册表覆盖。方法与仓储 appendMemories 刻意不同名:
|
|
129
|
+
* TypeScript 少参方法可结构化兼容多参接口,同名注入会把 windowSpeakers
|
|
130
|
+
* 静默丢弃,缺行回归无法在类型层拦截。windowSpeakers 必填:省略即绕过
|
|
131
|
+
* 铸键不变量,无关联时由调用方显式传空数组。
|
|
132
|
+
*/
|
|
133
|
+
export interface ExtractionMemoryWriter {
|
|
134
|
+
appendExtractedMemories(scope: MemoryScope, sourceOriginMessages: MemorySourceMessage[], extracted: AttributedMemoryItem[], sourceLabel: string | null, windowSpeakers: ExtractionPayload['speakers']): Promise<{
|
|
135
|
+
memories: MemoryEntryRecord[];
|
|
136
|
+
warnings: string[];
|
|
137
|
+
}>;
|
|
138
|
+
}
|
|
139
|
+
/** 按消费方命名:画像生成需要的记忆查询,实现在记忆仓储。 */
|
|
140
|
+
export interface UserProfileMemoryRepository {
|
|
141
|
+
getEntriesWithSources(presetId: string, ids: string[]): Promise<MemoryEntryRecord[]>;
|
|
142
|
+
listActiveMemorySpeakerLinks(presetId: string, speakerKeys: string[]): Promise<Array<{
|
|
143
|
+
speakerKey: string;
|
|
144
|
+
memoryId: string;
|
|
145
|
+
}>>;
|
|
146
|
+
}
|
|
147
|
+
export interface UserProfileRepository {
|
|
148
|
+
listPresetSpeakers(presetId: string): Promise<PresetSpeakerRecord[]>;
|
|
149
|
+
upsertPresetSpeaker(input: PresetSpeakerInput): Promise<void>;
|
|
150
|
+
listUserProfilesByPreset(presetId: string): Promise<UserProfileRecord[]>;
|
|
151
|
+
listUserProfilesBySpeakerKeys(presetId: string, speakerKeys: string[]): Promise<UserProfileRecord[]>;
|
|
152
|
+
replaceUserProfile(presetId: string, profile: UserProfileInput): Promise<void>;
|
|
153
|
+
markUserProfileReviewed(profileId: string, sourceMemoryIds: string[]): Promise<void>;
|
|
154
|
+
deleteUserProfile(profileId: string): Promise<void>;
|
|
155
|
+
}
|
|
156
|
+
//# sourceMappingURL=workflows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../src/contracts/workflows.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,yBAAyB,EACzB,uBAAuB,EACvB,wBAAwB,EACxB,6BAA6B,EAC7B,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,WAAW,EACX,oBAAoB,EACpB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACpB,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAEhE,MAAM,WAAW,kBAAkB;IAC/B,OAAO,EAAE,IAAI,CAAA;IACb,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,eAAe,GAAG,uBAAuB,CAAA;IAClD,YAAY,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,MAAM,WAAW,sBAAsB;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,EAAE,CAAA;IACrB,IAAI,EAAE,eAAe,CAAA;IACrB,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,EAAE,CAAA;IAClB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,UAAU,EAAE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