dsh-daoing-memory 0.1.7 → 0.1.8
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/lib/client.js +306 -113
- package/lib/client.js.map +1 -1
- package/lib/index.js +256 -6
- package/lib/typert.host.js +184 -64
- package/lib/typert.remote-client.d.ts +6 -0
- package/lib/typert.remote-client.js +167 -61
- package/lib/types/core.d.ts +31 -0
- package/lib/types/core.js +93 -0
- package/lib/types/index.d.ts +4 -0
- package/lib/types/index.js +5 -0
- package/lib/types/service.d.ts +22 -1
- package/lib/types/service.js +104 -1
- package/lib/types/store.d.ts +16 -0
- package/lib/types/store.js +33 -0
- package/lib/types/types.d.ts +2 -0
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
17
17
|
extractionLogCount: (agentId: SessionId) => Promise<RemoteResult<number>>
|
|
18
18
|
family: (agentId: SessionId, id: string) => Promise<RemoteResult<ExperienceSnapshot[]>>
|
|
19
19
|
get: (agentId: SessionId, id: string, revision?: number) => Promise<RemoteResult<ExperienceSnapshot | undefined>>
|
|
20
|
+
getDeletionFeedback: (agentId: SessionId) => Promise<RemoteResult<ExperienceSnapshot | null>>
|
|
20
21
|
getDiaryByIds: (agentId: SessionId, ids: string[]) => Promise<RemoteResult<DiaryEntry[]>>
|
|
21
22
|
humanAckDiary: (agentId: SessionId, request: HumanAckDiaryRequest) => Promise<RemoteResult<DiaryEntry>>
|
|
22
23
|
humanAddExperience: (agentId: SessionId, request: HumanAddExperienceRequest) => Promise<RemoteResult<ExperienceSnapshot>>
|
|
@@ -47,6 +48,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
47
48
|
report: (agentId: SessionId, request: ReportUseRequest) => Promise<RemoteResult<ReportUseResult>>
|
|
48
49
|
revise: (agentId: SessionId, request: ReviseExperienceRequest) => Promise<RemoteResult<ExperienceSnapshot>>
|
|
49
50
|
rollback: (agentId: SessionId, request: RollbackExperienceRequest) => Promise<RemoteResult<ExperienceSnapshot>>
|
|
51
|
+
runDeletionFeedback: (agentId: SessionId) => Promise<RemoteResult<{ ran: boolean; summary?: string; }>>
|
|
50
52
|
stats: (agentId: SessionId) => Promise<RemoteResult<MemoryStats>>
|
|
51
53
|
verifyLedger: (agentId: SessionId) => Promise<RemoteResult<LedgerIntegrityResult>>
|
|
52
54
|
verifyShadow: (agentId: SessionId, request: VerifyShadowRequest) => Promise<RemoteResult<VerifyShadowResult>>
|
|
@@ -62,6 +64,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
62
64
|
'memory/extractionLogCount': (agentId: SessionId) => Promise<RemoteResult<number>>
|
|
63
65
|
'memory/family': (agentId: SessionId, id: string) => Promise<RemoteResult<ExperienceSnapshot[]>>
|
|
64
66
|
'memory/get': (agentId: SessionId, id: string, revision?: number) => Promise<RemoteResult<ExperienceSnapshot | undefined>>
|
|
67
|
+
'memory/getDeletionFeedback': (agentId: SessionId) => Promise<RemoteResult<ExperienceSnapshot | null>>
|
|
65
68
|
'memory/getDiaryByIds': (agentId: SessionId, ids: string[]) => Promise<RemoteResult<DiaryEntry[]>>
|
|
66
69
|
'memory/humanAckDiary': (agentId: SessionId, request: HumanAckDiaryRequest) => Promise<RemoteResult<DiaryEntry>>
|
|
67
70
|
'memory/humanAddExperience': (agentId: SessionId, request: HumanAddExperienceRequest) => Promise<RemoteResult<ExperienceSnapshot>>
|
|
@@ -92,6 +95,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
92
95
|
'memory/report': (agentId: SessionId, request: ReportUseRequest) => Promise<RemoteResult<ReportUseResult>>
|
|
93
96
|
'memory/revise': (agentId: SessionId, request: ReviseExperienceRequest) => Promise<RemoteResult<ExperienceSnapshot>>
|
|
94
97
|
'memory/rollback': (agentId: SessionId, request: RollbackExperienceRequest) => Promise<RemoteResult<ExperienceSnapshot>>
|
|
98
|
+
'memory/runDeletionFeedback': (agentId: SessionId) => Promise<RemoteResult<{ ran: boolean; summary?: string; }>>
|
|
95
99
|
'memory/stats': (agentId: SessionId) => Promise<RemoteResult<MemoryStats>>
|
|
96
100
|
'memory/verifyLedger': (agentId: SessionId) => Promise<RemoteResult<LedgerIntegrityResult>>
|
|
97
101
|
'memory/verifyShadow': (agentId: SessionId, request: VerifyShadowRequest) => Promise<RemoteResult<VerifyShadowResult>>
|
|
@@ -110,6 +114,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
110
114
|
'agent:memory/extractionLogCount': () => Promise<RemoteResult<number>>
|
|
111
115
|
'agent:memory/family': (id: string) => Promise<RemoteResult<ExperienceSnapshot[]>>
|
|
112
116
|
'agent:memory/get': (id: string, revision?: number) => Promise<RemoteResult<ExperienceSnapshot | undefined>>
|
|
117
|
+
'agent:memory/getDeletionFeedback': () => Promise<RemoteResult<ExperienceSnapshot | null>>
|
|
113
118
|
'agent:memory/getDiaryByIds': (ids: string[]) => Promise<RemoteResult<DiaryEntry[]>>
|
|
114
119
|
'agent:memory/humanAckDiary': (request: HumanAckDiaryRequest) => Promise<RemoteResult<DiaryEntry>>
|
|
115
120
|
'agent:memory/humanAddExperience': (request: HumanAddExperienceRequest) => Promise<RemoteResult<ExperienceSnapshot>>
|
|
@@ -140,6 +145,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
140
145
|
'agent:memory/report': (request: ReportUseRequest) => Promise<RemoteResult<ReportUseResult>>
|
|
141
146
|
'agent:memory/revise': (request: ReviseExperienceRequest) => Promise<RemoteResult<ExperienceSnapshot>>
|
|
142
147
|
'agent:memory/rollback': (request: RollbackExperienceRequest) => Promise<RemoteResult<ExperienceSnapshot>>
|
|
148
|
+
'agent:memory/runDeletionFeedback': () => Promise<RemoteResult<{ ran: boolean; summary?: string; }>>
|
|
143
149
|
'agent:memory/stats': () => Promise<RemoteResult<MemoryStats>>
|
|
144
150
|
'agent:memory/verifyLedger': () => Promise<RemoteResult<LedgerIntegrityResult>>
|
|
145
151
|
'agent:memory/verifyShadow': (request: VerifyShadowRequest) => Promise<RemoteResult<VerifyShadowResult>>
|