chatluna-plugin-livingmemory 0.0.3 → 0.0.5
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 +2 -0
- package/client/locales/en.yml +1 -2
- package/client/locales/zh.yml +1 -2
- package/client/page.tsx +13 -14
- package/client/preset-actions.tsx +120 -120
- package/dist/.vite/manifest.json +1 -1
- package/dist/client.css +1 -1
- package/dist/client.js +1 -1
- package/dist/{page-CQcDlyjD.js → page-kxmLRgbo.js} +2 -2
- package/lib/contracts/memory.d.ts +12 -4
- package/lib/contracts/memory.d.ts.map +1 -1
- package/lib/contracts/webui.d.ts +2 -2
- package/lib/contracts/webui.d.ts.map +1 -1
- package/lib/contracts/workflows.d.ts +5 -17
- package/lib/contracts/workflows.d.ts.map +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +389 -288
- package/lib/index.js.map +1 -1
- package/lib/routing.d.ts +2 -0
- package/lib/routing.d.ts.map +1 -1
- package/lib/service/app/admin_service.d.ts +10 -2
- package/lib/service/app/admin_service.d.ts.map +1 -1
- package/lib/service/app/mutation_service.d.ts +1 -2
- package/lib/service/app/mutation_service.d.ts.map +1 -1
- package/lib/service/app/query_projections.d.ts +2 -2
- package/lib/service/app/query_projections.d.ts.map +1 -1
- package/lib/service/chat_history.d.ts +13 -7
- package/lib/service/chat_history.d.ts.map +1 -1
- package/lib/service/conversation_hooks.d.ts +25 -14
- package/lib/service/conversation_hooks.d.ts.map +1 -1
- package/lib/service/memory/conversation_sources.d.ts +20 -0
- package/lib/service/memory/conversation_sources.d.ts.map +1 -0
- package/lib/service/memory/helpers.d.ts +7 -8
- package/lib/service/memory/helpers.d.ts.map +1 -1
- package/lib/service/memory/tools/index.d.ts +2 -2
- package/lib/service/memory/tools/index.d.ts.map +1 -1
- package/lib/service/memory/tools/memory_tools.d.ts +2 -1
- package/lib/service/memory/tools/memory_tools.d.ts.map +1 -1
- package/lib/service/memory/tools/search_memory_tool.d.ts +2 -2
- package/lib/service/memory/tools/search_memory_tool.d.ts.map +1 -1
- package/lib/service/memory/tools/tool_runtime.d.ts +13 -1
- package/lib/service/memory/tools/tool_runtime.d.ts.map +1 -1
- package/lib/service/persistence/entries.d.ts +12 -10
- package/lib/service/persistence/entries.d.ts.map +1 -1
- package/lib/service/persistence/normalizers.d.ts.map +1 -1
- package/lib/service/persistence/repository.d.ts +22 -14
- package/lib/service/persistence/repository.d.ts.map +1 -1
- package/lib/service/persistence/source_migration.d.ts +6 -0
- package/lib/service/persistence/source_migration.d.ts.map +1 -0
- package/lib/service/persistence/tables.d.ts +3 -1
- package/lib/service/persistence/tables.d.ts.map +1 -1
- package/lib/service/prompts/dream.d.ts +2 -2
- package/lib/service/prompts/dream.d.ts.map +1 -1
- package/lib/service/prompts/memory_entries.d.ts +5 -13
- package/lib/service/prompts/memory_entries.d.ts.map +1 -1
- package/lib/service/prompts/user_profile.d.ts +2 -3
- package/lib/service/prompts/user_profile.d.ts.map +1 -1
- package/lib/service/transcript/header.d.ts +4 -0
- package/lib/service/transcript/header.d.ts.map +1 -0
- package/lib/service/user_profile.d.ts.map +1 -1
- package/lib/service/workflows/dream/session/runner.d.ts.map +1 -1
- package/lib/service/workflows/extraction/coordinator.d.ts.map +1 -1
- package/lib/service/workflows/recall/coordinator.d.ts +2 -2
- package/lib/service/workflows/recall/coordinator.d.ts.map +1 -1
- package/lib/service.d.ts.map +1 -1
- package/package.json +4 -3
- package/src/contracts/memory.ts +14 -4
- package/src/contracts/webui.ts +2 -2
- package/src/contracts/workflows.ts +17 -16
- package/lib/service/transcript/origin_context.d.ts +0 -17
- package/lib/service/transcript/origin_context.d.ts.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Context } from 'cordis';
|
|
2
|
-
import type { AgenticMemorySnapshotItem, LivingMemoryPresetExport, LivingMemoryPresetImportSummary, MemoryEntryRecord, MemoryJobKind, MemoryJobRecord, MemoryMutationInput, MemoryScope, MemorySnapshotRecord, SnapshotScope, MemorySourceMessage, MemoryUpdatePatch, PresetSpeakerInput, PresetSpeakerRecord, UserProfileInput, UserProfileRecord } from '../../contracts/memory.ts';
|
|
2
|
+
import type { AgenticMemorySnapshotItem, LivingMemoryPresetExport, LivingMemoryPresetExportV6, LivingMemoryPresetImportSummary, MemoryEntryRecord, MemoryJobKind, MemoryJobRecord, MemoryMutationInput, MemoryScope, MemorySnapshotRecord, SnapshotScope, MemorySourceMessage, MemoryUpdatePatch, PresetSpeakerInput, PresetSpeakerRecord, UserProfileInput, UserProfileRecord } from '../../contracts/memory.ts';
|
|
3
3
|
import type { MemoryIndexSourceRecord } from '../../contracts/vector_index.ts';
|
|
4
|
-
import type { AttributedMemoryItem,
|
|
4
|
+
import type { AttributedMemoryItem, JobRepository, RecallRepository, SnapshotRepository, UserProfileMemoryRepository, UserProfileRepository } from '../../contracts/workflows.ts';
|
|
5
5
|
import { type PresetPersonaWriteInput } from './preset_personas.ts';
|
|
6
6
|
export declare class LivingMemoryRepository implements RecallRepository, SnapshotRepository, JobRepository, UserProfileMemoryRepository, UserProfileRepository {
|
|
7
7
|
private readonly ctx;
|
|
@@ -20,15 +20,21 @@ export declare class LivingMemoryRepository implements RecallRepository, Snapsho
|
|
|
20
20
|
deletePresetPersona(presetId: string): Promise<void>;
|
|
21
21
|
defineTables(): void;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* 运行期仓储事务的入口。单连接数据库无法并发开启事务,因此这些事务共用一条
|
|
24
24
|
* 串行链;这是驱动限制的变通,不是一致性机制本身——一致性来自事务边界,
|
|
25
25
|
* 上层的预设级串行队列不得因此被移除。
|
|
26
26
|
*/
|
|
27
27
|
private runTransaction;
|
|
28
|
-
withSourceLabels<T extends Pick<MemoryEntryRecord, 'sourceConversationId'
|
|
28
|
+
withSourceLabels<T extends Pick<MemoryEntryRecord, 'sourceConversationId'>>(entries: T[]): Promise<(T & {
|
|
29
|
+
sourceLabel: `来源 · ${string}`;
|
|
30
|
+
})[]>;
|
|
29
31
|
listEntriesByPreset(presetId: string): Promise<MemoryEntryRecord[]>;
|
|
30
|
-
listArchivedEntriesBefore(presetId: string, updatedBefore: Date): Promise<import("koishi").FlatPick<MemoryEntryRecord
|
|
31
|
-
|
|
32
|
+
listArchivedEntriesBefore(presetId: string, updatedBefore: Date): Promise<import("koishi").FlatPick<MemoryEntryRecord & {
|
|
33
|
+
sourceLabel: string | null;
|
|
34
|
+
}, "id" | "importance" | "updatedAt">[]>;
|
|
35
|
+
listDreamEntriesByPreset(presetId: string): Promise<import("koishi").FlatPick<MemoryEntryRecord & {
|
|
36
|
+
sourceLabel: string | null;
|
|
37
|
+
}, "content" | "id" | "importance" | "keywords" | "presetId" | "sentiment" | "sourceConversationId" | "speakerKeys" | "summary" | "type" | "updatedAt">[]>;
|
|
32
38
|
listActiveMemorySpeakerKeys(presetId: string): Promise<string[]>;
|
|
33
39
|
listActiveMemorySpeakerLinks(presetId: string, speakerKeys: string[]): Promise<import("koishi").FlatPick<import("./types.ts").LivingMemoryEntrySpeakerRecord, "memoryId" | "speakerKey">[]>;
|
|
34
40
|
listEntryIndexSourcePage(afterId: string | null, limit: number): Promise<MemoryIndexSourceRecord[]>;
|
|
@@ -39,16 +45,21 @@ export declare class LivingMemoryRepository implements RecallRepository, Snapsho
|
|
|
39
45
|
countActiveEntries(presetId: string): Promise<number>;
|
|
40
46
|
getEntryById(id: string): Promise<MemoryEntryRecord | undefined>;
|
|
41
47
|
getEntriesByPresetAndIds(presetId: string, ids: string[]): Promise<MemoryEntryRecord[]>;
|
|
42
|
-
getEntriesWithSources(presetId: string, ids: string[]): Promise<MemoryEntryRecord
|
|
43
|
-
|
|
44
|
-
|
|
48
|
+
getEntriesWithSources(presetId: string, ids: string[]): Promise<(MemoryEntryRecord & {
|
|
49
|
+
sourceLabel: `来源 · ${string}`;
|
|
50
|
+
})[]>;
|
|
51
|
+
getSearchEntriesByPresetAndIds(presetId: string, ids: string[]): Promise<(import("koishi").FlatPick<MemoryEntryRecord & {
|
|
52
|
+
sourceLabel: string | null;
|
|
53
|
+
}, keyof MemoryEntryRecord> & {
|
|
54
|
+
sourceLabel: `来源 · ${string}`;
|
|
55
|
+
})[]>;
|
|
56
|
+
appendMemories(scope: MemoryScope, sourceOriginMessages: MemorySourceMessage[], extracted: AttributedMemoryItem[]): Promise<MemoryEntryRecord[]>;
|
|
45
57
|
createMemory(scope: MemoryScope, input: MemoryMutationInput, speakerKeys?: string[]): Promise<MemoryEntryRecord>;
|
|
46
58
|
updateMemory(id: string, patch: MemoryUpdatePatch): Promise<{
|
|
47
59
|
record: {
|
|
48
60
|
id: string;
|
|
49
61
|
presetId: string;
|
|
50
62
|
sourceConversationId: string | null;
|
|
51
|
-
sourceLabel: string | null;
|
|
52
63
|
sourceOrigins: import("../../contracts/memory.ts").MemorySourceOrigin[];
|
|
53
64
|
createdAt: Date;
|
|
54
65
|
updatedAt: Date;
|
|
@@ -74,7 +85,6 @@ export declare class LivingMemoryRepository implements RecallRepository, Snapsho
|
|
|
74
85
|
sentiment: string | null;
|
|
75
86
|
importance: number | null;
|
|
76
87
|
sourceConversationId: string | null;
|
|
77
|
-
sourceLabel: string | null;
|
|
78
88
|
sourceOrigins: import("../../contracts/memory.ts").MemorySourceOrigin[];
|
|
79
89
|
createdAt: Date;
|
|
80
90
|
status: 'archived';
|
|
@@ -93,7 +103,6 @@ export declare class LivingMemoryRepository implements RecallRepository, Snapsho
|
|
|
93
103
|
sentiment: string | null;
|
|
94
104
|
importance: number | null;
|
|
95
105
|
sourceConversationId: string | null;
|
|
96
|
-
sourceLabel: string | null;
|
|
97
106
|
sourceOrigins: import("../../contracts/memory.ts").MemorySourceOrigin[];
|
|
98
107
|
createdAt: Date;
|
|
99
108
|
status: 'archived';
|
|
@@ -113,7 +122,6 @@ export declare class LivingMemoryRepository implements RecallRepository, Snapsho
|
|
|
113
122
|
sentiment: string | null;
|
|
114
123
|
importance: number | null;
|
|
115
124
|
sourceConversationId: string | null;
|
|
116
|
-
sourceLabel: string | null;
|
|
117
125
|
sourceOrigins: import("../../contracts/memory.ts").MemorySourceOrigin[];
|
|
118
126
|
createdAt: Date;
|
|
119
127
|
status: 'archived';
|
|
@@ -151,7 +159,7 @@ export declare class LivingMemoryRepository implements RecallRepository, Snapsho
|
|
|
151
159
|
markUserProfileReviewed(profileId: string, sourceMemoryIds: string[]): Promise<void>;
|
|
152
160
|
deleteUserProfile(profileId: string): Promise<void>;
|
|
153
161
|
clearAllByPreset(presetId: string): Promise<void>;
|
|
154
|
-
exportPresetData(presetId: string): Promise<
|
|
162
|
+
exportPresetData(presetId: string): Promise<LivingMemoryPresetExportV6>;
|
|
155
163
|
importPresetData(targetPresetId: string, data: LivingMemoryPresetExport): Promise<LivingMemoryPresetImportSummary>;
|
|
156
164
|
private buildPresetImportRows;
|
|
157
165
|
listDistinctPresetIds(): Promise<string[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../../src/service/persistence/repository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AACrC,OAAO,KAAK,EACR,yBAAyB,EACzB,wBAAwB,EAExB,+BAA+B,EAC/B,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,mBAAmB,EACnB,WAAW,EACX,oBAAoB,EACpB,aAAa,EACb,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACpB,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAA;AAC9E,OAAO,KAAK,EACR,oBAAoB,EACpB,
|
|
1
|
+
{"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../../src/service/persistence/repository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AACrC,OAAO,KAAK,EACR,yBAAyB,EACzB,wB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AY,EAAE,MAAM,CAAA;KAAE,CAAC,GAC9D,OAAO,CAAC,IAAI,CAAC,CAKf;IAEK,sBAAsB,CAAC,KAAK,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAQrE;IAED,wBAAwB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAEvE;IAED,6BAA6B,CACzB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EAAE,GACtB,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAK9B;IAED,kBAAkB,CACd,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,gBAAgB,GAC1B,OAAO,CAAC,IAAI,CAAC,CAEf;IAED,wBAAwB,CACpB,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,MAAM,GAChB,OAAO,CAAC,IAAI,CAAC,CAEf;IAED,uBAAuB,CACnB,SAAS,EAAE,MAAM,EACjB,eAAe,EAAE,MAAM,EAAE,GAC1B,OAAO,CAAC,IAAI,CAAC,CAKf;IAED,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAElD;IAEK,gBAAgB,CAAC,QAAQ,EAAE,MAAM,iBAStC;IAEK,gBAAgB,CAClB,QAAQ,EAAE,MAAM,GACjB,OAAO,CAAC,0BAA0B,CAAC,CA6CrC;IAEK,gBAAgB,CAClB,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,wBAAwB,GAC/B,OAAO,CAAC,+BAA+B,CAAC,CA8F1C;IAED,OAAO,CAAC,qBAAqB;IAmFvB,qBAAqB,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAgC/C;CACJ"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Context } from 'cordis';
|
|
2
|
+
/** 有旧群号或用户号时枚举一次普通路由;多个账号或频道匹配同一旧键时归入全局。 */
|
|
3
|
+
export declare function resolveImportedSources(ctx: Context, ids: readonly (string | null)[]): Promise<Map<string | null, string | null>>;
|
|
4
|
+
/** 启动索引对账前更新主库,沿用原有向量,只同步新的会话归属。 */
|
|
5
|
+
export declare function migrateLegacySources(ctx: Context): Promise<void>;
|
|
6
|
+
//# sourceMappingURL=source_migration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"source_migration.d.ts","sourceRoot":"","sources":["../../../src/service/persistence/source_migration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AAUrC,4CAA4C;AAC5C,wBAAsB,sBAAsB,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,SAAS,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE,8CA8BzF;AAED,oCAAoC;AACpC,wBAAsB,oBAAoB,CAAC,GAAG,EAAE,OAAO,iBAYtD"}
|
|
@@ -4,7 +4,9 @@ export declare const inject: string[];
|
|
|
4
4
|
export declare function defineLivingMemoryTables(ctx: Context): void;
|
|
5
5
|
declare module '@cordisjs/plugin-database' {
|
|
6
6
|
interface Tables {
|
|
7
|
-
living_memory_entry: import('../../contracts/memory.ts').MemoryEntryRecord
|
|
7
|
+
living_memory_entry: import('../../contracts/memory.ts').MemoryEntryRecord & {
|
|
8
|
+
sourceLabel: string | null;
|
|
9
|
+
};
|
|
8
10
|
living_memory_snapshot: import('../../contracts/memory.ts').MemorySnapshotRecord;
|
|
9
11
|
living_memory_entry_speaker: import('./types.ts').LivingMemoryEntrySpeakerRecord;
|
|
10
12
|
living_memory_job: import('../../contracts/memory.ts').MemoryJobRecord;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tables.d.ts","sourceRoot":"","sources":["../../../src/service/persistence/tables.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AAGrC,eAAO,MAAM,IAAI,mCAAmC,CAAA;AACpD,eAAO,MAAM,MAAM,UAAwB,CAAA;AAE3C,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,OAAO,QA0MpD;AAED,OAAO,QAAQ,2BAA2B,CAAC;IACzC,UAAU,MAAM;QACd,mBAAmB,EAAE,OAAO,2BAA2B,EAAE,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"tables.d.ts","sourceRoot":"","sources":["../../../src/service/persistence/tables.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AAGrC,eAAO,MAAM,IAAI,mCAAmC,CAAA;AACpD,eAAO,MAAM,MAAM,UAAwB,CAAA;AAE3C,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,OAAO,QA0MpD;AAED,OAAO,QAAQ,2BAA2B,CAAC;IACzC,UAAU,MAAM;QACd,mBAAmB,EAAE,OAAO,2BAA2B,EAAE,iBAAiB,GAAG;YAAE,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;SAAE,CAAA;QAC3G,sBAAsB,EAAE,OAAO,2BAA2B,EAAE,oBAAoB,CAAA;QAChF,2BAA2B,EAAE,OAAO,YAAY,EAAE,8BAA8B,CAAA;QAChF,iBAAiB,EAAE,OAAO,2BAA2B,EAAE,eAAe,CAAA;QACtE,0BAA0B,EAAE,OAAO,2BAA2B,EAAE,iBAAiB,CAAA;QACjF,4BAA4B,EAAE,OAAO,YAAY,EAAE,wBAAwB,CAAA;QAC3E,4BAA4B,EAAE,OAAO,2BAA2B,EAAE,mBAAmB,CAAA;KACtF;CACF"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { DreamBatch } from '../workflows/dream/types.ts';
|
|
2
1
|
import type { PresetSpeakerRecord } from '../../contracts/memory.ts';
|
|
2
|
+
import { type DreamPromptEntry } from './memory_entries.ts';
|
|
3
3
|
import { type PromptMessages } from './prompt_format.ts';
|
|
4
|
-
export declare const buildDreamMemoryBatchPrompt: (
|
|
4
|
+
export declare const buildDreamMemoryBatchPrompt: (entries: readonly DreamPromptEntry[], speakers: readonly PresetSpeakerRecord[]) => string;
|
|
5
5
|
export declare const buildDreamSystemPrompt: (assistantLabel: string, presetPrompt: string) => string;
|
|
6
6
|
export declare const buildDreamTurnFeedbackPrompt: (pendingMemoryIds: string[], feedback: string) => string;
|
|
7
7
|
export declare const buildDreamHistorySummaryPrompts: (transcript: string) => PromptMessages;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dream.d.ts","sourceRoot":"","sources":["../../../src/service/prompts/dream.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"dream.d.ts","sourceRoot":"","sources":["../../../src/service/prompts/dream.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AACpE,OAAO,EAAuB,KAAK,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAChF,OAAO,EAGH,KAAK,cAAc,EACtB,MAAM,oBAAoB,CAAA;AAE3B,eAAO,MAAM,2BAA2B,YAC3B,SAAS,gBAAgB,EAAE,YAC1B,SAAS,mBAAmB,EAAE,WAU3C,CAAA;AAED,eAAO,MAAM,sBAAsB,mBACf,MAAM,gBACR,MAAM,WAyCR,CAAA;AAEhB,eAAO,MAAM,4BAA4B,qBACnB,MAAM,EAAE,YAChB,MAAM,WAQJ,CAAA;AAEhB,eAAO,MAAM,+BAA+B,eAC5B,MAAM,KACnB,cAYD,CAAA"}
|
|
@@ -1,16 +1,8 @@
|
|
|
1
|
-
import type { LivingMemoryGetMessagesMemory,
|
|
2
|
-
type
|
|
3
|
-
type
|
|
4
|
-
export declare
|
|
5
|
-
export declare
|
|
6
|
-
export declare const searchMemoryFields: readonly ["id", "type", "updatedAt", "sentiment", "sourceLabel", "content"];
|
|
7
|
-
export declare function renderMemoriesForModel(entries: readonly ModelMemoryView[], options: {
|
|
8
|
-
fields: readonly (keyof ModelMemoryView)[];
|
|
9
|
-
}): string;
|
|
10
|
-
export declare function renderMemoriesForModel(entries: readonly (ModelMemoryView & Pick<MemoryEntryRecord, 'speakerKeys'>)[], options: {
|
|
11
|
-
fields: readonly MemoryModelField[];
|
|
12
|
-
speakers: readonly PresetSpeakerRecord[];
|
|
13
|
-
}): string;
|
|
1
|
+
import type { LivingMemoryGetMessagesMemory, MemoryEntryWithSource, PresetSpeakerRecord } from '../../contracts/memory.ts';
|
|
2
|
+
type ContextEntry = Pick<MemoryEntryWithSource, 'id' | 'type' | 'updatedAt' | 'sentiment' | 'sourceLabel' | 'content'>;
|
|
3
|
+
export type DreamPromptEntry = ContextEntry & Pick<MemoryEntryWithSource, 'importance' | 'keywords' | 'summary' | 'speakerKeys'>;
|
|
4
|
+
export declare function renderMemoriesForModel(entries: readonly ContextEntry[], includeIds?: boolean): string;
|
|
5
|
+
export declare function renderDreamMemories(entries: readonly DreamPromptEntry[], speakers: readonly PresetSpeakerRecord[]): string;
|
|
14
6
|
/**
|
|
15
7
|
* 来源消息是提取工作流输入与 `<chat_history>` 注入共用的原始格式,
|
|
16
8
|
* `transcriptLines` 由来源消息序列化时写入并随数据持久化,直接作为模型视图复用。
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory_entries.d.ts","sourceRoot":"","sources":["../../../src/service/prompts/memory_entries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,
|
|
1
|
+
{"version":3,"file":"memory_entries.d.ts","sourceRoot":"","sources":["../../../src/service/prompts/memory_entries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAE1H,KAAK,YAAY,GAAG,IAAI,CAAC,qBAAqB,EAAE,IAAI,GAAG,MAAM,GAAG,WAAW,GAAG,WAAW,GAAG,aAAa,GAAG,SAAS,CAAC,CAAA;AACtH,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,IAAI,CAAC,qBAAqB,EAAE,YAAY,GAAG,UAAU,GAAG,SAAS,GAAG,aAAa,CAAC,CAAA;AAWhI,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,SAAS,YAAY,EAAE,EAAE,UAAU,UAAQ,UAE1F;AAED,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,SAAS,gBAAgB,EAAE,EAAE,QAAQ,EAAE,SAAS,mBAAmB,EAAE,UAUjH;AAED;;;GAGG;AACH,eAAO,MAAM,kCAAkC,WAAY,6BAA6B,WAiBvF,CAAA"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import type { UserProfileRecord } from '../../contracts/memory.ts';
|
|
2
|
-
import type { DreamMemoryEntryRecord } from '../../contracts/workflows.ts';
|
|
1
|
+
import type { MemoryEntryWithSource, UserProfileRecord } from '../../contracts/memory.ts';
|
|
3
2
|
import { type PromptMessages } from './prompt_format.ts';
|
|
4
3
|
export interface UserProfilePromptInput {
|
|
5
4
|
assistantLabel: string;
|
|
6
5
|
presetPrompt: string;
|
|
7
6
|
group: {
|
|
8
7
|
speakerLabel: string;
|
|
9
|
-
entries:
|
|
8
|
+
entries: MemoryEntryWithSource[];
|
|
10
9
|
matchedEntryCount: number;
|
|
11
10
|
existingProfile?: UserProfileRecord;
|
|
12
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user_profile.d.ts","sourceRoot":"","sources":["../../../src/service/prompts/user_profile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"user_profile.d.ts","sourceRoot":"","sources":["../../../src/service/prompts/user_profile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAEzF,OAAO,EAGH,KAAK,cAAc,EACtB,MAAM,oBAAoB,CAAA;AAG3B,MAAM,WAAW,sBAAsB;IACnC,cAAc,EAAE,MAAM,CAAA;IACtB,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE;QACH,YAAY,EAAE,MAAM,CAAA;QACpB,OAAO,EAAE,qBAAqB,EAAE,CAAA;QAChC,iBAAiB,EAAE,MAAM,CAAA;QACzB,eAAe,CAAC,EAAE,iBAAiB,CAAA;KACtC,CAAA;CACJ;AAED,eAAO,MAAM,uBAAuB,UACzB,sBAAsB,KAC9B,cA4DF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"header.d.ts","sourceRoot":"","sources":["../../../src/service/transcript/header.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AACrC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAG1D,wBAAsB,sBAAsB,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,gBAAgB,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAchH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user_profile.d.ts","sourceRoot":"","sources":["../../src/service/user_profile.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AACrC,OAAO,KAAK,EACR,6BAA6B,
|
|
1
|
+
{"version":3,"file":"user_profile.d.ts","sourceRoot":"","sources":["../../src/service/user_profile.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AACrC,OAAO,KAAK,EACR,6BAA6B,EAE7B,qBAAqB,EAExB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,KAAK,EACR,kBAAkB,EAClB,2BAA2B,EAC3B,qBAAqB,EACxB,MAAM,2BAA2B,CAAA;AAKlC,OAAO,EAAkB,KAAK,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AAI7E,eAAO,MAAM,iCAAiC,YAAa,MAAM,WAMhE,CAAA;AAED,KAAK,6BAA6B,GAAG,IAAI,CACrC,kBAAkB,EAChB,2BAA2B,GAC3B,wBA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"file":"runner.d.ts","sourceRoot":"","sources":["../../../../../src/service/workflows/dream/session/runner.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AACrC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAA;AAC1E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;
|
|
1
|
+
{"version":3,"file":"runner.d.ts","sourceRoot":"","sources":["../../../../../src/service/workflows/dream/session/runner.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AACrC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAA;AAC1E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AAUpE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAE7C,OAAO,EAKH,KAAK,iBAAiB,EACzB,MAAM,YAAY,CAAA;AAMnB,UAAU,oBAAoB;IAC1B,GAAG,EAAE,OAAO,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,4BAA4B;IAC5B,aAAa,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,YAAY,EAAE,MAAM,CAAA;IACpB,QAAQ,EAAE,SAAS,mBAAmB,EAAE,CAAA;IACxC,KAAK,EAAE,iBAAiB,CAAA;IACxB,KAAK,EAAE,SAAS,oBAAoB,EAAE,CAAA;IACtC,MAAM,EAAE,kBAAkB,CAAA;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,OAAO,CACpC;QAAE,OAAO,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC;QAAC,QAAQ,EAAE,mBAAmB,EAAE,CAAA;KAAE,GACnE,SAAS,CACd,CAAA;CACJ;AAED;;GAEG;AACH,wBAAsB,eAAe,CAAC,KAAK,EAAE,oBAAoB,iBA6HhE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coordinator.d.ts","sourceRoot":"","sources":["../../../../src/service/workflows/extraction/coordinator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAA;AAC3D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAA;AACzF,OAAO,EAAE,KAAK,sBAAsB,
|
|
1
|
+
{"version":3,"file":"coordinator.d.ts","sourceRoot":"","sources":["../../../../src/service/workflows/extraction/coordinator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAA;AAC3D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAA;AACzF,OAAO,EAAE,KAAK,sBAAsB,EAA4B,MAAM,yBAAyB,CAAA;AAC/F,OAAO,KAAK,EACR,sBAAsB,EACtB,aAAa,EAChB,MAAM,iCAAiC,CAAA;AACxC,OAAO,KAAK,EAER,qBAAqB,EACxB,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAAkB,KAAK,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAEjF,OAAO,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAA;AAExG,KAAK,mBAAmB,GAAG,IAAI,CAC3B,4BAA4B,EAC5B,qBAAqB,CACxB,CAAA;AACD,KAAK,eAAe,GAAG,IAAI,CAAC,qBAAqB,EAAE,SAAS,CAAC,CAAA;AAE7D,sBAAsB;AACtB,MAAM,MAAM,oBAAoB,GAAG,IAAI,CAAC,uBAAuB,EAAE,OAAO,GAAG,MAAM,CAAC,CAAA;AAqBlF,MAAM,MAAM,uBAAuB,GAAG,IA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T;IAED,QAAQ,SAEP;IAED,mBAAmB,CAAC,cAAc,EAAE,MAAM,QAMzC;YAEa,KAAK;IAoDnB;;;;OAIG;YACW,cAAc;IAsD5B;;;;OAIG;YACW,kBAAkB;YAuClB,GAAG;YA+FH,sBAAsB;CAcvC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type RouteSettings } from '../../../routing.ts';
|
|
2
2
|
import { type LivingMemoryLogger } from '../../logging/logger.ts';
|
|
3
3
|
import type { LivingMemoryAgenticRecallExecutor } from './agentic_recall.ts';
|
|
4
4
|
import type { JobRepository, SnapshotRepository } from '../../../contracts/workflows.ts';
|
|
@@ -24,7 +24,7 @@ export declare class LivingMemoryRecallCoordinator {
|
|
|
24
24
|
private readonly controller;
|
|
25
25
|
private readonly tasks;
|
|
26
26
|
constructor(subModel: string, messageLog: RecallMessageLog, repository: RecallWorkflowRepository, agenticRecall: RecallAgenticExecutor, logger: LivingMemoryLogger);
|
|
27
|
-
queue(settings: RecallSettings, scope: ChatHistoryScope, chatHistory: LivingMemoryTranscriptMessage[], currentPosition: number): Promise<void>;
|
|
27
|
+
queue(settings: RecallSettings, scope: ChatHistoryScope, chatHistory: LivingMemoryTranscriptMessage[], currentPosition: number, routeId?: string): Promise<void>;
|
|
28
28
|
/** 停止接收新触发并取消在途召回,等待运行收尾。 */
|
|
29
29
|
stop(): Promise<void>;
|
|
30
30
|
clearByConversation(conversationId: string): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"coordinator.d.ts","sourceRoot":"","sources":["../../../../src/service/workflows/recall/coordinator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"coordinator.d.ts","sourceRoot":"","sources":["../../../../src/service/workflows/recall/coordinator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAI9E,OAAO,EAAkB,KAAK,kBAAkB,EAAE,MAA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AkB,EAC3C;IAEE,KAAK,CACP,QAAQ,EAAE,cAAc,EACxB,KAAK,EAAE,gBAAgB,EACvB,WAAW,EAAE,6BAA6B,EAAE,EAC5C,eAAe,EAAE,MAAM,EACvB,OAAO,CAAC,EAAE,MAAM,iBAyEnB;IAED,6BAA6B;IACvB,IAAI,kBAIT;IAED,mBAAmB,CAAC,cAAc,EAAE,MAAM,QAMzC;YAEa,GAAG;CA+DpB"}
|
package/lib/service.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAA;AAIxC,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAA;AAC/E,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAA;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAGhE,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAA;
|
|
1
|
+
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAA;AAIxC,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAA;AAC/E,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAA;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAGhE,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAA;AAG5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AACnE,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,C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BAAwB,CAAA;IACxC,QAAQ,CAAC,WAAW,EAAE,uBAAuB,CAAA;IAC7C,QAAQ,CAAC,SAAS,EAAE,2BAA2B,CAAA;IAC/C,QAAQ,CAAC,MAAM,EAAE,kBAAkB,CAAA;IACnC,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAA+B;IACjE,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA+B;IAC3D,OAAO,CAAC,QAAQ,CAAC,KAAK,CAA0B;IAChD,OAAO,CAAC,MAAM,CAA2B;IAEzC,YAAY,GAAG,EAAE,OAAO,EAAE,MAAM,GAAE,yBAA0C,EA8H3E;IAED;;;OAGG;YACW,mBAAmB;IAKjC,sCAAsC;IACtC,OAAO,CAAC,QAAQ;IAoBhB;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IASxB;;;OAGG;IACH,OAAO,CAAC,aAAa;IA0BrB;;;;;OAKG;IACG,KAAK,IAAI,OAAO,CAAC,UAAU,CAAC,CAmCjC;CACJ"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chatluna-plugin-livingmemory",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
|
-
"description": "
|
|
8
|
+
"description": "让 AI 以第一人称的叙事记忆,记录下与你共度的时光。",
|
|
9
9
|
"type": "module",
|
|
10
10
|
"engines": {
|
|
11
11
|
"node": ">=24.0.0"
|
|
@@ -94,7 +94,8 @@
|
|
|
94
94
|
},
|
|
95
95
|
"cordis": {
|
|
96
96
|
"description": {
|
|
97
|
-
"
|
|
97
|
+
"zh": "让 AI 以第一人称的叙事记忆,记录下与你共度的时光。",
|
|
98
|
+
"en": "Let the AI record the time spent with you as a first-person narrative memory."
|
|
98
99
|
}
|
|
99
100
|
}
|
|
100
101
|
}
|
package/src/contracts/memory.ts
CHANGED
|
@@ -26,6 +26,8 @@ export interface LivingMemorySearchInput {
|
|
|
26
26
|
memoryStatus?: MemorySearchStatus
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
export type MemorySourceLabel = `来源 · ${string}`
|
|
30
|
+
|
|
29
31
|
export interface LivingMemorySearchResult extends Pick<
|
|
30
32
|
MemoryEntryRecord,
|
|
31
33
|
| 'id'
|
|
@@ -35,10 +37,11 @@ export interface LivingMemorySearchResult extends Pick<
|
|
|
35
37
|
| 'summary'
|
|
36
38
|
| 'sentiment'
|
|
37
39
|
| 'importance'
|
|
38
|
-
| 'sourceLabel'
|
|
39
40
|
| 'createdAt'
|
|
40
41
|
| 'updatedAt'
|
|
41
|
-
> {
|
|
42
|
+
> {
|
|
43
|
+
sourceLabel: MemorySourceLabel
|
|
44
|
+
}
|
|
42
45
|
|
|
43
46
|
export interface LivingMemorySearchDetailedResult extends LivingMemorySearchResult {
|
|
44
47
|
cosineScore: number
|
|
@@ -91,7 +94,7 @@ export interface MemorySourceOrigin {
|
|
|
91
94
|
|
|
92
95
|
export interface LivingMemoryGetMessagesMemory {
|
|
93
96
|
id: string
|
|
94
|
-
sourceLabel:
|
|
97
|
+
sourceLabel: MemorySourceLabel
|
|
95
98
|
sourceOrigins: MemorySourceOrigin[]
|
|
96
99
|
}
|
|
97
100
|
|
|
@@ -115,12 +118,13 @@ export interface MemoryEntryRecord {
|
|
|
115
118
|
sentiment: string | null
|
|
116
119
|
importance: number | null
|
|
117
120
|
sourceConversationId: string | null
|
|
118
|
-
sourceLabel: string | null
|
|
119
121
|
sourceOrigins: MemorySourceOrigin[]
|
|
120
122
|
createdAt: Date
|
|
121
123
|
updatedAt: Date
|
|
122
124
|
}
|
|
123
125
|
|
|
126
|
+
export type MemoryEntryWithSource = MemoryEntryRecord & { sourceLabel: MemorySourceLabel }
|
|
127
|
+
|
|
124
128
|
export interface SnapshotScope {
|
|
125
129
|
presetId: string
|
|
126
130
|
/** null 表示该预设的共享快照。 */
|
|
@@ -321,12 +325,18 @@ export interface LivingMemoryPresetExportV5 extends LivingMemoryPresetExportBase
|
|
|
321
325
|
entries: LivingMemoryPresetExportEntryV4[]
|
|
322
326
|
}
|
|
323
327
|
|
|
328
|
+
export interface LivingMemoryPresetExportV6 extends LivingMemoryPresetExportBase {
|
|
329
|
+
version: 6
|
|
330
|
+
entries: LivingMemoryPresetExportEntryV3[]
|
|
331
|
+
}
|
|
332
|
+
|
|
324
333
|
export type LivingMemoryPresetExport =
|
|
325
334
|
| LivingMemoryPresetExportV1
|
|
326
335
|
| LivingMemoryPresetExportV2
|
|
327
336
|
| LivingMemoryPresetExportV3
|
|
328
337
|
| LivingMemoryPresetExportV4
|
|
329
338
|
| LivingMemoryPresetExportV5
|
|
339
|
+
| LivingMemoryPresetExportV6
|
|
330
340
|
|
|
331
341
|
export interface LivingMemoryPresetImportSummary {
|
|
332
342
|
entries: number
|
package/src/contracts/webui.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MemoryEntryRecord, MemoryJobRecord, PresetPersonaSource } from './memory.ts'
|
|
1
|
+
import type { MemoryEntryRecord, MemorySourceLabel, MemoryJobRecord, PresetPersonaSource } from './memory.ts'
|
|
2
2
|
import type { MemoryListQuery } from './rpc.ts'
|
|
3
3
|
import type { DreamTriggerResult, MemoryServiceStatus } from './workflows.ts'
|
|
4
4
|
|
|
@@ -13,7 +13,7 @@ export interface LivingMemoryEntryView {
|
|
|
13
13
|
keywords: string[]
|
|
14
14
|
speakerKeys: string[]
|
|
15
15
|
importance: number | null
|
|
16
|
-
sourceLabel:
|
|
16
|
+
sourceLabel: MemorySourceLabel
|
|
17
17
|
createdAt: number
|
|
18
18
|
updatedAt: number
|
|
19
19
|
}
|
|
@@ -4,6 +4,7 @@ import type {
|
|
|
4
4
|
LivingMemorySearchResult,
|
|
5
5
|
LivingMemoryGetMessagesMemory,
|
|
6
6
|
MemoryEntryRecord,
|
|
7
|
+
MemoryEntryWithSource,
|
|
7
8
|
MemoryEntryType,
|
|
8
9
|
MemoryJobKind,
|
|
9
10
|
MemoryJobRecord,
|
|
@@ -27,20 +28,21 @@ export interface DreamTriggerResult {
|
|
|
27
28
|
runningJobId?: string
|
|
28
29
|
}
|
|
29
30
|
|
|
30
|
-
export
|
|
31
|
-
id
|
|
32
|
-
presetId
|
|
33
|
-
speakerKeys
|
|
34
|
-
type
|
|
35
|
-
content
|
|
36
|
-
keywords
|
|
37
|
-
summary
|
|
38
|
-
sentiment
|
|
39
|
-
importance
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
31
|
+
export const dreamEntryFields = [
|
|
32
|
+
'id',
|
|
33
|
+
'presetId',
|
|
34
|
+
'speakerKeys',
|
|
35
|
+
'type',
|
|
36
|
+
'content',
|
|
37
|
+
'keywords',
|
|
38
|
+
'summary',
|
|
39
|
+
'sentiment',
|
|
40
|
+
'importance',
|
|
41
|
+
'sourceConversationId',
|
|
42
|
+
'updatedAt'
|
|
43
|
+
] satisfies (keyof MemoryEntryRecord)[]
|
|
44
|
+
|
|
45
|
+
export type DreamMemoryEntryRecord = Pick<MemoryEntryRecord, (typeof dreamEntryFields)[number]>
|
|
44
46
|
|
|
45
47
|
export type MemoryConfigWarningCode =
|
|
46
48
|
| 'recall-model-missing'
|
|
@@ -229,7 +231,6 @@ export interface ExtractionMemoryWriter {
|
|
|
229
231
|
scope: MemoryScope,
|
|
230
232
|
sourceOriginMessages: MemorySourceMessage[],
|
|
231
233
|
extracted: AttributedMemoryItem[],
|
|
232
|
-
sourceLabel: string | null,
|
|
233
234
|
windowSpeakers: ExtractionPayload['speakers']
|
|
234
235
|
): Promise<{ memories: MemoryEntryRecord[]; warnings: string[] }>
|
|
235
236
|
}
|
|
@@ -239,7 +240,7 @@ export interface UserProfileMemoryRepository {
|
|
|
239
240
|
getEntriesWithSources(
|
|
240
241
|
presetId: string,
|
|
241
242
|
ids: string[]
|
|
242
|
-
): Promise<
|
|
243
|
+
): Promise<MemoryEntryWithSource[]>
|
|
243
244
|
listActiveMemorySpeakerLinks(
|
|
244
245
|
presetId: string,
|
|
245
246
|
speakerKeys: string[]
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { Context } from 'cordis';
|
|
2
|
-
import type { ChatHistoryEntry } from '../chat_history.ts';
|
|
3
|
-
export interface MemoryTranscriptOrigin {
|
|
4
|
-
header: string;
|
|
5
|
-
sourceLabel: string | null;
|
|
6
|
-
}
|
|
7
|
-
export interface SourcePeer {
|
|
8
|
-
key: string;
|
|
9
|
-
id: string;
|
|
10
|
-
kind: 'guild' | 'user';
|
|
11
|
-
name?: string | undefined;
|
|
12
|
-
}
|
|
13
|
-
export declare const formatSource: (peer: SourcePeer) => string;
|
|
14
|
-
/** 仅当群/用户本身可生成这条标准路由时才补名称;共享会话记录的是首个联系人。 */
|
|
15
|
-
export declare function resolveConversationSources(ctx: Context, conversationIds: readonly string[]): Promise<Map<string, SourcePeer>>;
|
|
16
|
-
export declare function resolveTranscriptOrigin(ctx: Context, entries: readonly ChatHistoryEntry[]): Promise<MemoryTranscriptOrigin>;
|
|
17
|
-
//# sourceMappingURL=origin_context.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"origin_context.d.ts","sourceRoot":"","sources":["../../../src/service/transcript/origin_context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AAErC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAE1D,MAAM,WAAW,sBAAsB;IACnC,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;CAC7B;AAED,MAAM,WAAW,UAAU;IACvB,GAAG,EAAE,MAAM,CAAA;IACX,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,OAAO,GAAG,MAAM,CAAA;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAC5B;AAED,eAAO,MAAM,YAAY,SAAU,UAAU,WAG5C,CAAA;AAmBD,4CAA4C;AAC5C,wBAAsB,0BAA0B,CAAC,GAAG,EAAE,OAAO,EAAE,eAAe,EAAE,SAAS,MAAM,EAAE,oCAoBhG;AAED,wBAAsB,uBAAuB,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,gBAAgB,EAAE,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAejI"}
|