dsh-daoing-memory 0.1.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.
Files changed (80) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +91 -0
  3. package/README.zh-CN.md +91 -0
  4. package/cordis.patch.yml +22 -0
  5. package/lib/client.js +10339 -0
  6. package/lib/client.js.map +1 -0
  7. package/lib/index.js +3138 -0
  8. package/lib/invariant.js +33 -0
  9. package/lib/tools.js +1472 -0
  10. package/lib/typert.host.d.ts +3 -0
  11. package/lib/typert.host.js +4058 -0
  12. package/lib/typert.remote-client.d.ts +149 -0
  13. package/lib/typert.remote-client.d.ts.map +1 -0
  14. package/lib/typert.remote-client.js +3167 -0
  15. package/lib/types/client/ExperiencePage.d.ts +15 -0
  16. package/lib/types/client/ExperiencePage.d.ts.map +1 -0
  17. package/lib/types/client/ExperiencePage.js +117 -0
  18. package/lib/types/client/ExperiencePage.js.map +1 -0
  19. package/lib/types/client/FactDiaryPage.d.ts +17 -0
  20. package/lib/types/client/FactDiaryPage.d.ts.map +1 -0
  21. package/lib/types/client/FactDiaryPage.js +155 -0
  22. package/lib/types/client/FactDiaryPage.js.map +1 -0
  23. package/lib/types/client/HumanOpsPage.d.ts +16 -0
  24. package/lib/types/client/HumanOpsPage.d.ts.map +1 -0
  25. package/lib/types/client/HumanOpsPage.js +208 -0
  26. package/lib/types/client/HumanOpsPage.js.map +1 -0
  27. package/lib/types/client/LedgerPage.d.ts +13 -0
  28. package/lib/types/client/LedgerPage.d.ts.map +1 -0
  29. package/lib/types/client/LedgerPage.js +113 -0
  30. package/lib/types/client/LedgerPage.js.map +1 -0
  31. package/lib/types/client/MemoryNavSection.d.ts +20 -0
  32. package/lib/types/client/MemoryNavSection.d.ts.map +1 -0
  33. package/lib/types/client/MemoryNavSection.js +23 -0
  34. package/lib/types/client/MemoryNavSection.js.map +1 -0
  35. package/lib/types/client/Workbench.d.ts +23 -0
  36. package/lib/types/client/Workbench.d.ts.map +1 -0
  37. package/lib/types/client/Workbench.js +140 -0
  38. package/lib/types/client/Workbench.js.map +1 -0
  39. package/lib/types/client/actions.d.ts +165 -0
  40. package/lib/types/client/actions.d.ts.map +1 -0
  41. package/lib/types/client/actions.js +51 -0
  42. package/lib/types/client/actions.js.map +1 -0
  43. package/lib/types/client/index.d.ts +24 -0
  44. package/lib/types/client/index.d.ts.map +1 -0
  45. package/lib/types/client/index.js +103 -0
  46. package/lib/types/client/index.js.map +1 -0
  47. package/lib/types/client/navStore.d.ts +45 -0
  48. package/lib/types/client/navStore.d.ts.map +1 -0
  49. package/lib/types/client/navStore.js +36 -0
  50. package/lib/types/client/navStore.js.map +1 -0
  51. package/lib/types/core.d.ts +195 -0
  52. package/lib/types/core.d.ts.map +1 -0
  53. package/lib/types/core.js +1304 -0
  54. package/lib/types/core.js.map +1 -0
  55. package/lib/types/index.d.ts +71 -0
  56. package/lib/types/index.d.ts.map +1 -0
  57. package/lib/types/index.js +97 -0
  58. package/lib/types/index.js.map +1 -0
  59. package/lib/types/invariant.d.ts +21 -0
  60. package/lib/types/invariant.d.ts.map +1 -0
  61. package/lib/types/invariant.js +33 -0
  62. package/lib/types/invariant.js.map +1 -0
  63. package/lib/types/service.d.ts +130 -0
  64. package/lib/types/service.d.ts.map +1 -0
  65. package/lib/types/service.js +417 -0
  66. package/lib/types/service.js.map +1 -0
  67. package/lib/types/store.d.ts +244 -0
  68. package/lib/types/store.d.ts.map +1 -0
  69. package/lib/types/store.js +864 -0
  70. package/lib/types/store.js.map +1 -0
  71. package/lib/types/tools.d.ts +25 -0
  72. package/lib/types/tools.d.ts.map +1 -0
  73. package/lib/types/tools.js +1144 -0
  74. package/lib/types/tools.js.map +1 -0
  75. package/lib/types/types.d.ts +836 -0
  76. package/lib/types/types.d.ts.map +1 -0
  77. package/lib/types/types.js +8 -0
  78. package/lib/types/types.js.map +1 -0
  79. package/package.json +106 -0
  80. package/skill/memory-extraction.md +62 -0
@@ -0,0 +1,3167 @@
1
+ /* Generated by @deepseek-ai/dsh-typert-generator from the Host FaceModel — do not edit. */
2
+ import { z } from 'zod'
3
+
4
+ const _deepseek_ai_dsh_memory_memory_appendDiary_parameter_0$schema = z.intersection(z.string(), z.unknown())
5
+ const _deepseek_ai_dsh_memory_memory_appendDiary_parameter_1$schema = z.object({
6
+ 'kind': z.union([z.literal("other"), z.literal("said"), z.literal("delegated"), z.literal("promised"), z.literal("happened"), z.literal("preference")]),
7
+ 'content': z.string(),
8
+ 'sessionRef': z.string().optional(),
9
+ 'tags': z.array(z.string()).optional(),
10
+ })
11
+ const _deepseek_ai_dsh_memory_memory_appendDiary_result$schema = z.object({
12
+ 'entry': z.object({
13
+ 'id': z.string(),
14
+ 'ts': z.number(),
15
+ 'kind': z.union([z.literal("other"), z.literal("said"), z.literal("delegated"), z.literal("promised"), z.literal("happened"), z.literal("preference")]),
16
+ 'content': z.string(),
17
+ 'sessionRef': z.string().optional(),
18
+ 'tags': z.array(z.string()),
19
+ 'extracted': z.boolean(),
20
+ }),
21
+ 'extractionDue': z.boolean(),
22
+ 'pendingDiary': z.array(z.object({
23
+ 'id': z.string(),
24
+ 'ts': z.number(),
25
+ 'kind': z.union([z.literal("other"), z.literal("said"), z.literal("delegated"), z.literal("promised"), z.literal("happened"), z.literal("preference")]),
26
+ 'content': z.string(),
27
+ 'sessionRef': z.string().optional(),
28
+ 'tags': z.array(z.string()),
29
+ 'extracted': z.boolean(),
30
+ })).optional(),
31
+ })
32
+ const _deepseek_ai_dsh_memory_memory_consolidate_parameter_0$schema = z.intersection(z.string(), z.unknown())
33
+ const _deepseek_ai_dsh_memory_memory_consolidate_parameter_1$schema = z.object({
34
+ 'merges': z.array(z.object({
35
+ 'family': z.string(),
36
+ 'kind': z.union([z.literal("positive"), z.literal("negative")]),
37
+ 'gist': z.string(),
38
+ 'situation': z.array(z.string()),
39
+ 'path': z.array(z.string()),
40
+ 'reasoning': z.string(),
41
+ 'limits': z.array(z.string()),
42
+ 'sourceIds': z.array(z.string()),
43
+ 'note': z.string().optional(),
44
+ })),
45
+ 'note': z.string().optional(),
46
+ })
47
+ const _deepseek_ai_dsh_memory_memory_consolidate_result$schema = z.object({
48
+ 'consolidated': z.number(),
49
+ 'archived': z.number(),
50
+ 'skipped': z.array(z.object({
51
+ 'sourceIds': z.array(z.string()),
52
+ 'reason': z.string(),
53
+ })),
54
+ })
55
+ const _deepseek_ai_dsh_memory_memory_consolidationDue_parameter_0$schema = z.intersection(z.string(), z.unknown())
56
+ const _deepseek_ai_dsh_memory_memory_consolidationDue_result$schema = z.object({
57
+ 'due': z.boolean(),
58
+ 'lastTs': z.number(),
59
+ 'newSince': z.number(),
60
+ 'hoursSince': z.number(),
61
+ })
62
+ const _deepseek_ai_dsh_memory_memory_exportLibrary_parameter_0$schema = z.intersection(z.string(), z.unknown())
63
+ const _deepseek_ai_dsh_memory_memory_exportLibrary_result$schema = z.object({
64
+ 'exportedAt': z.number(),
65
+ 'schemaVersion': z.number(),
66
+ 'experiences': z.array(z.object({
67
+ 'id': z.string(),
68
+ 'revision': z.number(),
69
+ 'kind': z.union([z.literal("positive"), z.literal("negative")]),
70
+ 'source': z.union([z.literal("agent"), z.literal("human")]),
71
+ 'family': z.string(),
72
+ 'gist': z.string(),
73
+ 'situation': z.array(z.string()),
74
+ 'path': z.array(z.object({
75
+ 'order': z.number(),
76
+ 'action': z.string(),
77
+ })),
78
+ 'reasoning': z.string(),
79
+ 'limits': z.array(z.string()),
80
+ 'status': z.union([z.literal("candidate"), z.literal("live"), z.literal("challenged"), z.literal("superseded"), z.literal("archived"), z.literal("cold")]),
81
+ 'alpha': z.number(),
82
+ 'beta': z.number(),
83
+ 'samples': z.number(),
84
+ 'trust': z.number(),
85
+ 'weightedTrust': z.number(),
86
+ 'lastVerifiedAt': z.number().optional(),
87
+ 'pinned': z.boolean(),
88
+ 'tokensSaved': z.number(),
89
+ 'tokensSpent': z.number(),
90
+ 'parentRevision': z.number().optional(),
91
+ 'failureReason': z.string().optional(),
92
+ 'evidence': z.object({
93
+ 'traceRef': z.string().optional(),
94
+ 'sessionRef': z.string().optional(),
95
+ 'note': z.string().optional(),
96
+ }).optional(),
97
+ 'challengeReason': z.string().optional(),
98
+ 'context': z.string(),
99
+ 'verifiedCount': z.number(),
100
+ 'rejectCount': z.number(),
101
+ 'globalFlag': z.boolean(),
102
+ 'createdAt': z.number(),
103
+ 'updatedAt': z.number(),
104
+ })),
105
+ 'reports': z.array(z.object({
106
+ 'id': z.string(),
107
+ 'experienceId': z.string(),
108
+ 'revision': z.number(),
109
+ 'outcome': z.union([z.literal("success"), z.literal("fail")]),
110
+ 'attribution': z.union([z.literal("experience"), z.literal("environment"), z.literal("unrelated"), z.literal("unknown")]),
111
+ 'counted': z.union([z.literal("alpha"), z.literal("beta"), z.literal("none")]),
112
+ 'evidence': z.object({
113
+ 'traceRef': z.string().optional(),
114
+ 'sessionRef': z.string().optional(),
115
+ 'note': z.string().optional(),
116
+ }).optional(),
117
+ 'dedupeKey': z.string().optional(),
118
+ 'ts': z.number(),
119
+ })),
120
+ 'diary': z.array(z.object({
121
+ 'id': z.string(),
122
+ 'ts': z.number(),
123
+ 'kind': z.union([z.literal("other"), z.literal("said"), z.literal("delegated"), z.literal("promised"), z.literal("happened"), z.literal("preference")]),
124
+ 'content': z.string(),
125
+ 'sessionRef': z.string().optional(),
126
+ 'tags': z.array(z.string()),
127
+ 'extracted': z.boolean(),
128
+ })),
129
+ 'facts': z.array(z.object({
130
+ 'id': z.string(),
131
+ 'category': z.union([z.literal("other"), z.literal("preference"), z.literal("identity"), z.literal("communication"), z.literal("habit"), z.literal("thinking"), z.literal("value"), z.literal("delegation"), z.literal("background")]),
132
+ 'factKey': z.string(),
133
+ 'value': z.string(),
134
+ 'origin': z.union([z.literal("human"), z.literal("extraction"), z.literal("supersede")]),
135
+ 'sourceDiaryIds': z.array(z.string()),
136
+ 'corroboration': z.number(),
137
+ 'validFrom': z.number(),
138
+ 'validTo': z.number().optional(),
139
+ 'recordedAt': z.number(),
140
+ 'supersededBy': z.string().optional(),
141
+ 'locked': z.boolean(),
142
+ 'deleted': z.boolean(),
143
+ 'conflictPending': z.boolean(),
144
+ })),
145
+ 'extractions': z.array(z.object({
146
+ 'id': z.string(),
147
+ 'ts': z.number(),
148
+ 'trigger': z.union([z.literal("cadence"), z.literal("manual")]),
149
+ 'summary': z.string(),
150
+ 'producedFactIds': z.array(z.string()),
151
+ 'diaryCount': z.number(),
152
+ })),
153
+ 'recalls': z.array(z.object({
154
+ 'id': z.string(),
155
+ 'ts': z.number(),
156
+ 'situation': z.string(),
157
+ 'injectedIds': z.array(z.string()),
158
+ 'none': z.boolean(),
159
+ })),
160
+ 'ledger': z.array(z.object({
161
+ 'seq': z.number(),
162
+ 'ts': z.number(),
163
+ 'op': z.string(),
164
+ 'objectType': z.union([z.literal("experience"), z.literal("fact"), z.literal("diary"), z.literal("library"), z.literal("concern")]),
165
+ 'objectId': z.string(),
166
+ 'actor': z.string(),
167
+ 'reason': z.string().optional(),
168
+ 'payload': z.string(),
169
+ 'prevHash': z.string(),
170
+ 'hash': z.string(),
171
+ })),
172
+ })
173
+ const _deepseek_ai_dsh_memory_memory_extract_parameter_0$schema = z.intersection(z.string(), z.unknown())
174
+ const _deepseek_ai_dsh_memory_memory_extract_parameter_1$schema = z.object({
175
+ 'proposals': z.array(z.object({
176
+ 'category': z.union([z.literal("other"), z.literal("preference"), z.literal("identity"), z.literal("communication"), z.literal("habit"), z.literal("thinking"), z.literal("value"), z.literal("delegation"), z.literal("background")]),
177
+ 'factKey': z.string(),
178
+ 'value': z.string(),
179
+ 'sourceDiaryIds': z.array(z.string()),
180
+ 'note': z.string().optional(),
181
+ })),
182
+ 'concerns': z.array(z.object({
183
+ 'action': z.union([z.literal("new"), z.literal("mention"), z.literal("status")]),
184
+ 'title': z.string().optional(),
185
+ 'background': z.string().optional(),
186
+ 'kind': z.union([z.literal("other"), z.literal("thinking"), z.literal("todo"), z.literal("idea"), z.literal("question"), z.literal("decision"), z.literal("commitment")]).optional(),
187
+ 'status': z.union([z.literal("paused"), z.literal("ongoing"), z.literal("concluded"), z.literal("recurring")]).optional(),
188
+ 'concernId': z.string().optional(),
189
+ 'sourceDiaryIds': z.array(z.string()),
190
+ 'context': z.string().optional(),
191
+ })).optional(),
192
+ 'summary': z.string(),
193
+ })
194
+ const _deepseek_ai_dsh_memory_memory_extract_result$schema = z.object({
195
+ 'applied': z.array(z.object({
196
+ 'id': z.string(),
197
+ 'category': z.union([z.literal("other"), z.literal("preference"), z.literal("identity"), z.literal("communication"), z.literal("habit"), z.literal("thinking"), z.literal("value"), z.literal("delegation"), z.literal("background")]),
198
+ 'factKey': z.string(),
199
+ 'value': z.string(),
200
+ 'origin': z.union([z.literal("human"), z.literal("extraction"), z.literal("supersede")]),
201
+ 'sourceDiaryIds': z.array(z.string()),
202
+ 'corroboration': z.number(),
203
+ 'validFrom': z.number(),
204
+ 'validTo': z.number().optional(),
205
+ 'recordedAt': z.number(),
206
+ 'supersededBy': z.string().optional(),
207
+ 'locked': z.boolean(),
208
+ 'deleted': z.boolean(),
209
+ 'conflictPending': z.boolean(),
210
+ })),
211
+ 'conflicts': z.array(z.object({
212
+ 'id': z.string(),
213
+ 'category': z.union([z.literal("other"), z.literal("preference"), z.literal("identity"), z.literal("communication"), z.literal("habit"), z.literal("thinking"), z.literal("value"), z.literal("delegation"), z.literal("background")]),
214
+ 'factKey': z.string(),
215
+ 'value': z.string(),
216
+ 'origin': z.union([z.literal("human"), z.literal("extraction"), z.literal("supersede")]),
217
+ 'sourceDiaryIds': z.array(z.string()),
218
+ 'corroboration': z.number(),
219
+ 'validFrom': z.number(),
220
+ 'validTo': z.number().optional(),
221
+ 'recordedAt': z.number(),
222
+ 'supersededBy': z.string().optional(),
223
+ 'locked': z.boolean(),
224
+ 'deleted': z.boolean(),
225
+ 'conflictPending': z.boolean(),
226
+ })),
227
+ 'rejected': z.array(z.object({
228
+ 'proposal': z.object({
229
+ 'category': z.union([z.literal("other"), z.literal("preference"), z.literal("identity"), z.literal("communication"), z.literal("habit"), z.literal("thinking"), z.literal("value"), z.literal("delegation"), z.literal("background")]),
230
+ 'factKey': z.string(),
231
+ 'value': z.string(),
232
+ 'sourceDiaryIds': z.array(z.string()),
233
+ 'note': z.string().optional(),
234
+ }),
235
+ 'reason': z.string(),
236
+ })),
237
+ 'appliedConcerns': z.number(),
238
+ })
239
+ const _deepseek_ai_dsh_memory_memory_extractionLog_parameter_0$schema = z.intersection(z.string(), z.unknown())
240
+ const _deepseek_ai_dsh_memory_memory_extractionLog_parameter_1$schema = z.number()
241
+ const _deepseek_ai_dsh_memory_memory_extractionLog_parameter_2$schema = z.number()
242
+ const _deepseek_ai_dsh_memory_memory_extractionLog_result$schema = z.array(z.object({
243
+ 'id': z.string(),
244
+ 'ts': z.number(),
245
+ 'trigger': z.union([z.literal("cadence"), z.literal("manual")]),
246
+ 'summary': z.string(),
247
+ 'producedFactIds': z.array(z.string()),
248
+ 'diaryCount': z.number(),
249
+ }))
250
+ const _deepseek_ai_dsh_memory_memory_extractionLogCount_parameter_0$schema = z.intersection(z.string(), z.unknown())
251
+ const _deepseek_ai_dsh_memory_memory_extractionLogCount_result$schema = z.number()
252
+ const _deepseek_ai_dsh_memory_memory_family_parameter_0$schema = z.intersection(z.string(), z.unknown())
253
+ const _deepseek_ai_dsh_memory_memory_family_parameter_1$schema = z.string()
254
+ const _deepseek_ai_dsh_memory_memory_family_result$schema = z.array(z.object({
255
+ 'id': z.string(),
256
+ 'revision': z.number(),
257
+ 'kind': z.union([z.literal("positive"), z.literal("negative")]),
258
+ 'source': z.union([z.literal("agent"), z.literal("human")]),
259
+ 'family': z.string(),
260
+ 'gist': z.string(),
261
+ 'situation': z.array(z.string()),
262
+ 'path': z.array(z.object({
263
+ 'order': z.number(),
264
+ 'action': z.string(),
265
+ })),
266
+ 'reasoning': z.string(),
267
+ 'limits': z.array(z.string()),
268
+ 'status': z.union([z.literal("candidate"), z.literal("live"), z.literal("challenged"), z.literal("superseded"), z.literal("archived"), z.literal("cold")]),
269
+ 'alpha': z.number(),
270
+ 'beta': z.number(),
271
+ 'samples': z.number(),
272
+ 'trust': z.number(),
273
+ 'weightedTrust': z.number(),
274
+ 'lastVerifiedAt': z.number().optional(),
275
+ 'pinned': z.boolean(),
276
+ 'tokensSaved': z.number(),
277
+ 'tokensSpent': z.number(),
278
+ 'parentRevision': z.number().optional(),
279
+ 'failureReason': z.string().optional(),
280
+ 'evidence': z.object({
281
+ 'traceRef': z.string().optional(),
282
+ 'sessionRef': z.string().optional(),
283
+ 'note': z.string().optional(),
284
+ }).optional(),
285
+ 'challengeReason': z.string().optional(),
286
+ 'context': z.string(),
287
+ 'verifiedCount': z.number(),
288
+ 'rejectCount': z.number(),
289
+ 'globalFlag': z.boolean(),
290
+ 'createdAt': z.number(),
291
+ 'updatedAt': z.number(),
292
+ }))
293
+ const _deepseek_ai_dsh_memory_memory_get_parameter_0$schema = z.intersection(z.string(), z.unknown())
294
+ const _deepseek_ai_dsh_memory_memory_get_parameter_1$schema = z.string()
295
+ const _deepseek_ai_dsh_memory_memory_get_parameter_2$schema = z.union([z.undefined(), z.number()])
296
+ const _deepseek_ai_dsh_memory_memory_get_result$schema = z.union([z.undefined(), z.object({
297
+ 'id': z.string(),
298
+ 'revision': z.number(),
299
+ 'kind': z.union([z.literal("positive"), z.literal("negative")]),
300
+ 'source': z.union([z.literal("agent"), z.literal("human")]),
301
+ 'family': z.string(),
302
+ 'gist': z.string(),
303
+ 'situation': z.array(z.string()),
304
+ 'path': z.array(z.object({
305
+ 'order': z.number(),
306
+ 'action': z.string(),
307
+ })),
308
+ 'reasoning': z.string(),
309
+ 'limits': z.array(z.string()),
310
+ 'status': z.union([z.literal("candidate"), z.literal("live"), z.literal("challenged"), z.literal("superseded"), z.literal("archived"), z.literal("cold")]),
311
+ 'alpha': z.number(),
312
+ 'beta': z.number(),
313
+ 'samples': z.number(),
314
+ 'trust': z.number(),
315
+ 'weightedTrust': z.number(),
316
+ 'lastVerifiedAt': z.number().optional(),
317
+ 'pinned': z.boolean(),
318
+ 'tokensSaved': z.number(),
319
+ 'tokensSpent': z.number(),
320
+ 'parentRevision': z.number().optional(),
321
+ 'failureReason': z.string().optional(),
322
+ 'evidence': z.object({
323
+ 'traceRef': z.string().optional(),
324
+ 'sessionRef': z.string().optional(),
325
+ 'note': z.string().optional(),
326
+ }).optional(),
327
+ 'challengeReason': z.string().optional(),
328
+ 'context': z.string(),
329
+ 'verifiedCount': z.number(),
330
+ 'rejectCount': z.number(),
331
+ 'globalFlag': z.boolean(),
332
+ 'createdAt': z.number(),
333
+ 'updatedAt': z.number(),
334
+ })])
335
+ const _deepseek_ai_dsh_memory_memory_getDiaryByIds_parameter_0$schema = z.intersection(z.string(), z.unknown())
336
+ const _deepseek_ai_dsh_memory_memory_getDiaryByIds_parameter_1$schema = z.array(z.string())
337
+ const _deepseek_ai_dsh_memory_memory_getDiaryByIds_result$schema = z.array(z.object({
338
+ 'id': z.string(),
339
+ 'ts': z.number(),
340
+ 'kind': z.union([z.literal("other"), z.literal("said"), z.literal("delegated"), z.literal("promised"), z.literal("happened"), z.literal("preference")]),
341
+ 'content': z.string(),
342
+ 'sessionRef': z.string().optional(),
343
+ 'tags': z.array(z.string()),
344
+ 'extracted': z.boolean(),
345
+ }))
346
+ const _deepseek_ai_dsh_memory_memory_humanAckDiary_parameter_0$schema = z.intersection(z.string(), z.unknown())
347
+ const _deepseek_ai_dsh_memory_memory_humanAckDiary_parameter_1$schema = z.object({
348
+ 'diaryId': z.string(),
349
+ 'reason': z.string(),
350
+ })
351
+ const _deepseek_ai_dsh_memory_memory_humanAckDiary_result$schema = z.object({
352
+ 'id': z.string(),
353
+ 'ts': z.number(),
354
+ 'kind': z.union([z.literal("other"), z.literal("said"), z.literal("delegated"), z.literal("promised"), z.literal("happened"), z.literal("preference")]),
355
+ 'content': z.string(),
356
+ 'sessionRef': z.string().optional(),
357
+ 'tags': z.array(z.string()),
358
+ 'extracted': z.boolean(),
359
+ })
360
+ const _deepseek_ai_dsh_memory_memory_humanAddExperience_parameter_0$schema = z.intersection(z.string(), z.unknown())
361
+ const _deepseek_ai_dsh_memory_memory_humanAddExperience_parameter_1$schema = z.object({
362
+ 'kind': z.union([z.literal("positive"), z.literal("negative")]),
363
+ 'family': z.string(),
364
+ 'gist': z.string(),
365
+ 'situation': z.array(z.string()),
366
+ 'path': z.array(z.object({
367
+ 'order': z.number(),
368
+ 'action': z.string(),
369
+ })),
370
+ 'reasoning': z.string(),
371
+ 'limits': z.array(z.string()),
372
+ 'failureReason': z.string().optional(),
373
+ 'context': z.string().optional(),
374
+ 'reason': z.string(),
375
+ })
376
+ const _deepseek_ai_dsh_memory_memory_humanAddExperience_result$schema = z.object({
377
+ 'id': z.string(),
378
+ 'revision': z.number(),
379
+ 'kind': z.union([z.literal("positive"), z.literal("negative")]),
380
+ 'source': z.union([z.literal("agent"), z.literal("human")]),
381
+ 'family': z.string(),
382
+ 'gist': z.string(),
383
+ 'situation': z.array(z.string()),
384
+ 'path': z.array(z.object({
385
+ 'order': z.number(),
386
+ 'action': z.string(),
387
+ })),
388
+ 'reasoning': z.string(),
389
+ 'limits': z.array(z.string()),
390
+ 'status': z.union([z.literal("candidate"), z.literal("live"), z.literal("challenged"), z.literal("superseded"), z.literal("archived"), z.literal("cold")]),
391
+ 'alpha': z.number(),
392
+ 'beta': z.number(),
393
+ 'samples': z.number(),
394
+ 'trust': z.number(),
395
+ 'weightedTrust': z.number(),
396
+ 'lastVerifiedAt': z.number().optional(),
397
+ 'pinned': z.boolean(),
398
+ 'tokensSaved': z.number(),
399
+ 'tokensSpent': z.number(),
400
+ 'parentRevision': z.number().optional(),
401
+ 'failureReason': z.string().optional(),
402
+ 'evidence': z.object({
403
+ 'traceRef': z.string().optional(),
404
+ 'sessionRef': z.string().optional(),
405
+ 'note': z.string().optional(),
406
+ }).optional(),
407
+ 'challengeReason': z.string().optional(),
408
+ 'context': z.string(),
409
+ 'verifiedCount': z.number(),
410
+ 'rejectCount': z.number(),
411
+ 'globalFlag': z.boolean(),
412
+ 'createdAt': z.number(),
413
+ 'updatedAt': z.number(),
414
+ })
415
+ const _deepseek_ai_dsh_memory_memory_humanAddFact_parameter_0$schema = z.intersection(z.string(), z.unknown())
416
+ const _deepseek_ai_dsh_memory_memory_humanAddFact_parameter_1$schema = z.object({
417
+ 'category': z.union([z.literal("other"), z.literal("preference"), z.literal("identity"), z.literal("communication"), z.literal("habit"), z.literal("thinking"), z.literal("value"), z.literal("delegation"), z.literal("background")]),
418
+ 'factKey': z.string(),
419
+ 'value': z.string(),
420
+ 'locked': z.boolean().optional(),
421
+ 'reason': z.string(),
422
+ })
423
+ const _deepseek_ai_dsh_memory_memory_humanAddFact_result$schema = z.object({
424
+ 'id': z.string(),
425
+ 'category': z.union([z.literal("other"), z.literal("preference"), z.literal("identity"), z.literal("communication"), z.literal("habit"), z.literal("thinking"), z.literal("value"), z.literal("delegation"), z.literal("background")]),
426
+ 'factKey': z.string(),
427
+ 'value': z.string(),
428
+ 'origin': z.union([z.literal("human"), z.literal("extraction"), z.literal("supersede")]),
429
+ 'sourceDiaryIds': z.array(z.string()),
430
+ 'corroboration': z.number(),
431
+ 'validFrom': z.number(),
432
+ 'validTo': z.number().optional(),
433
+ 'recordedAt': z.number(),
434
+ 'supersededBy': z.string().optional(),
435
+ 'locked': z.boolean(),
436
+ 'deleted': z.boolean(),
437
+ 'conflictPending': z.boolean(),
438
+ })
439
+ const _deepseek_ai_dsh_memory_memory_humanConfirmFact_parameter_0$schema = z.intersection(z.string(), z.unknown())
440
+ const _deepseek_ai_dsh_memory_memory_humanConfirmFact_parameter_1$schema = z.object({
441
+ 'factId': z.string(),
442
+ 'locked': z.boolean(),
443
+ 'reason': z.string(),
444
+ })
445
+ const _deepseek_ai_dsh_memory_memory_humanConfirmFact_result$schema = z.object({
446
+ 'id': z.string(),
447
+ 'category': z.union([z.literal("other"), z.literal("preference"), z.literal("identity"), z.literal("communication"), z.literal("habit"), z.literal("thinking"), z.literal("value"), z.literal("delegation"), z.literal("background")]),
448
+ 'factKey': z.string(),
449
+ 'value': z.string(),
450
+ 'origin': z.union([z.literal("human"), z.literal("extraction"), z.literal("supersede")]),
451
+ 'sourceDiaryIds': z.array(z.string()),
452
+ 'corroboration': z.number(),
453
+ 'validFrom': z.number(),
454
+ 'validTo': z.number().optional(),
455
+ 'recordedAt': z.number(),
456
+ 'supersededBy': z.string().optional(),
457
+ 'locked': z.boolean(),
458
+ 'deleted': z.boolean(),
459
+ 'conflictPending': z.boolean(),
460
+ })
461
+ const _deepseek_ai_dsh_memory_memory_humanDeleteConcern_parameter_0$schema = z.intersection(z.string(), z.unknown())
462
+ const _deepseek_ai_dsh_memory_memory_humanDeleteConcern_parameter_1$schema = z.object({
463
+ 'id': z.string(),
464
+ 'reason': z.string(),
465
+ })
466
+ const _deepseek_ai_dsh_memory_memory_humanDeleteConcern_result$schema = z.object({
467
+ 'deleted': z.literal(true),
468
+ })
469
+ const _deepseek_ai_dsh_memory_memory_humanDeleteExperience_parameter_0$schema = z.intersection(z.string(), z.unknown())
470
+ const _deepseek_ai_dsh_memory_memory_humanDeleteExperience_parameter_1$schema = z.object({
471
+ 'id': z.string(),
472
+ 'reason': z.string(),
473
+ })
474
+ const _deepseek_ai_dsh_memory_memory_humanDeleteExperience_result$schema = z.object({
475
+ 'deleted': z.literal(true),
476
+ })
477
+ const _deepseek_ai_dsh_memory_memory_humanDeleteFact_parameter_0$schema = z.intersection(z.string(), z.unknown())
478
+ const _deepseek_ai_dsh_memory_memory_humanDeleteFact_parameter_1$schema = z.object({
479
+ 'factId': z.string(),
480
+ 'reason': z.string(),
481
+ })
482
+ const _deepseek_ai_dsh_memory_memory_humanDeleteFact_result$schema = z.object({
483
+ 'deleted': z.literal(true),
484
+ })
485
+ const _deepseek_ai_dsh_memory_memory_humanEditExperience_parameter_0$schema = z.intersection(z.string(), z.unknown())
486
+ const _deepseek_ai_dsh_memory_memory_humanEditExperience_parameter_1$schema = z.object({
487
+ 'id': z.string(),
488
+ 'reason': z.string(),
489
+ 'gist': z.string().optional(),
490
+ 'situation': z.array(z.string()).optional(),
491
+ 'path': z.array(z.object({
492
+ 'order': z.number(),
493
+ 'action': z.string(),
494
+ })).optional(),
495
+ 'reasoning': z.string().optional(),
496
+ 'limits': z.array(z.string()).optional(),
497
+ 'family': z.string().optional(),
498
+ 'context': z.string().optional(),
499
+ 'globalFlag': z.boolean().optional(),
500
+ })
501
+ const _deepseek_ai_dsh_memory_memory_humanEditExperience_result$schema = z.object({
502
+ 'id': z.string(),
503
+ 'revision': z.number(),
504
+ 'kind': z.union([z.literal("positive"), z.literal("negative")]),
505
+ 'source': z.union([z.literal("agent"), z.literal("human")]),
506
+ 'family': z.string(),
507
+ 'gist': z.string(),
508
+ 'situation': z.array(z.string()),
509
+ 'path': z.array(z.object({
510
+ 'order': z.number(),
511
+ 'action': z.string(),
512
+ })),
513
+ 'reasoning': z.string(),
514
+ 'limits': z.array(z.string()),
515
+ 'status': z.union([z.literal("candidate"), z.literal("live"), z.literal("challenged"), z.literal("superseded"), z.literal("archived"), z.literal("cold")]),
516
+ 'alpha': z.number(),
517
+ 'beta': z.number(),
518
+ 'samples': z.number(),
519
+ 'trust': z.number(),
520
+ 'weightedTrust': z.number(),
521
+ 'lastVerifiedAt': z.number().optional(),
522
+ 'pinned': z.boolean(),
523
+ 'tokensSaved': z.number(),
524
+ 'tokensSpent': z.number(),
525
+ 'parentRevision': z.number().optional(),
526
+ 'failureReason': z.string().optional(),
527
+ 'evidence': z.object({
528
+ 'traceRef': z.string().optional(),
529
+ 'sessionRef': z.string().optional(),
530
+ 'note': z.string().optional(),
531
+ }).optional(),
532
+ 'challengeReason': z.string().optional(),
533
+ 'context': z.string(),
534
+ 'verifiedCount': z.number(),
535
+ 'rejectCount': z.number(),
536
+ 'globalFlag': z.boolean(),
537
+ 'createdAt': z.number(),
538
+ 'updatedAt': z.number(),
539
+ })
540
+ const _deepseek_ai_dsh_memory_memory_humanEditFact_parameter_0$schema = z.intersection(z.string(), z.unknown())
541
+ const _deepseek_ai_dsh_memory_memory_humanEditFact_parameter_1$schema = z.object({
542
+ 'factId': z.string(),
543
+ 'value': z.string(),
544
+ 'reason': z.string(),
545
+ })
546
+ const _deepseek_ai_dsh_memory_memory_humanEditFact_result$schema = z.object({
547
+ 'id': z.string(),
548
+ 'category': z.union([z.literal("other"), z.literal("preference"), z.literal("identity"), z.literal("communication"), z.literal("habit"), z.literal("thinking"), z.literal("value"), z.literal("delegation"), z.literal("background")]),
549
+ 'factKey': z.string(),
550
+ 'value': z.string(),
551
+ 'origin': z.union([z.literal("human"), z.literal("extraction"), z.literal("supersede")]),
552
+ 'sourceDiaryIds': z.array(z.string()),
553
+ 'corroboration': z.number(),
554
+ 'validFrom': z.number(),
555
+ 'validTo': z.number().optional(),
556
+ 'recordedAt': z.number(),
557
+ 'supersededBy': z.string().optional(),
558
+ 'locked': z.boolean(),
559
+ 'deleted': z.boolean(),
560
+ 'conflictPending': z.boolean(),
561
+ })
562
+ const _deepseek_ai_dsh_memory_memory_humanPin_parameter_0$schema = z.intersection(z.string(), z.unknown())
563
+ const _deepseek_ai_dsh_memory_memory_humanPin_parameter_1$schema = z.object({
564
+ 'id': z.string(),
565
+ 'pinned': z.boolean(),
566
+ 'reason': z.string(),
567
+ })
568
+ const _deepseek_ai_dsh_memory_memory_humanPin_result$schema = z.object({
569
+ 'id': z.string(),
570
+ 'revision': z.number(),
571
+ 'kind': z.union([z.literal("positive"), z.literal("negative")]),
572
+ 'source': z.union([z.literal("agent"), z.literal("human")]),
573
+ 'family': z.string(),
574
+ 'gist': z.string(),
575
+ 'situation': z.array(z.string()),
576
+ 'path': z.array(z.object({
577
+ 'order': z.number(),
578
+ 'action': z.string(),
579
+ })),
580
+ 'reasoning': z.string(),
581
+ 'limits': z.array(z.string()),
582
+ 'status': z.union([z.literal("candidate"), z.literal("live"), z.literal("challenged"), z.literal("superseded"), z.literal("archived"), z.literal("cold")]),
583
+ 'alpha': z.number(),
584
+ 'beta': z.number(),
585
+ 'samples': z.number(),
586
+ 'trust': z.number(),
587
+ 'weightedTrust': z.number(),
588
+ 'lastVerifiedAt': z.number().optional(),
589
+ 'pinned': z.boolean(),
590
+ 'tokensSaved': z.number(),
591
+ 'tokensSpent': z.number(),
592
+ 'parentRevision': z.number().optional(),
593
+ 'failureReason': z.string().optional(),
594
+ 'evidence': z.object({
595
+ 'traceRef': z.string().optional(),
596
+ 'sessionRef': z.string().optional(),
597
+ 'note': z.string().optional(),
598
+ }).optional(),
599
+ 'challengeReason': z.string().optional(),
600
+ 'context': z.string(),
601
+ 'verifiedCount': z.number(),
602
+ 'rejectCount': z.number(),
603
+ 'globalFlag': z.boolean(),
604
+ 'createdAt': z.number(),
605
+ 'updatedAt': z.number(),
606
+ })
607
+ const _deepseek_ai_dsh_memory_memory_humanPromote_parameter_0$schema = z.intersection(z.string(), z.unknown())
608
+ const _deepseek_ai_dsh_memory_memory_humanPromote_parameter_1$schema = z.string()
609
+ const _deepseek_ai_dsh_memory_memory_humanPromote_parameter_2$schema = z.string()
610
+ const _deepseek_ai_dsh_memory_memory_humanPromote_result$schema = z.object({
611
+ 'id': z.string(),
612
+ 'revision': z.number(),
613
+ 'kind': z.union([z.literal("positive"), z.literal("negative")]),
614
+ 'source': z.union([z.literal("agent"), z.literal("human")]),
615
+ 'family': z.string(),
616
+ 'gist': z.string(),
617
+ 'situation': z.array(z.string()),
618
+ 'path': z.array(z.object({
619
+ 'order': z.number(),
620
+ 'action': z.string(),
621
+ })),
622
+ 'reasoning': z.string(),
623
+ 'limits': z.array(z.string()),
624
+ 'status': z.union([z.literal("candidate"), z.literal("live"), z.literal("challenged"), z.literal("superseded"), z.literal("archived"), z.literal("cold")]),
625
+ 'alpha': z.number(),
626
+ 'beta': z.number(),
627
+ 'samples': z.number(),
628
+ 'trust': z.number(),
629
+ 'weightedTrust': z.number(),
630
+ 'lastVerifiedAt': z.number().optional(),
631
+ 'pinned': z.boolean(),
632
+ 'tokensSaved': z.number(),
633
+ 'tokensSpent': z.number(),
634
+ 'parentRevision': z.number().optional(),
635
+ 'failureReason': z.string().optional(),
636
+ 'evidence': z.object({
637
+ 'traceRef': z.string().optional(),
638
+ 'sessionRef': z.string().optional(),
639
+ 'note': z.string().optional(),
640
+ }).optional(),
641
+ 'challengeReason': z.string().optional(),
642
+ 'context': z.string(),
643
+ 'verifiedCount': z.number(),
644
+ 'rejectCount': z.number(),
645
+ 'globalFlag': z.boolean(),
646
+ 'createdAt': z.number(),
647
+ 'updatedAt': z.number(),
648
+ })
649
+ const _deepseek_ai_dsh_memory_memory_humanReleaseCold_parameter_0$schema = z.intersection(z.string(), z.unknown())
650
+ const _deepseek_ai_dsh_memory_memory_humanReleaseCold_parameter_1$schema = z.object({
651
+ 'id': z.string(),
652
+ 'reason': z.string(),
653
+ })
654
+ const _deepseek_ai_dsh_memory_memory_humanReleaseCold_result$schema = z.object({
655
+ 'id': z.string(),
656
+ 'revision': z.number(),
657
+ 'kind': z.union([z.literal("positive"), z.literal("negative")]),
658
+ 'source': z.union([z.literal("agent"), z.literal("human")]),
659
+ 'family': z.string(),
660
+ 'gist': z.string(),
661
+ 'situation': z.array(z.string()),
662
+ 'path': z.array(z.object({
663
+ 'order': z.number(),
664
+ 'action': z.string(),
665
+ })),
666
+ 'reasoning': z.string(),
667
+ 'limits': z.array(z.string()),
668
+ 'status': z.union([z.literal("candidate"), z.literal("live"), z.literal("challenged"), z.literal("superseded"), z.literal("archived"), z.literal("cold")]),
669
+ 'alpha': z.number(),
670
+ 'beta': z.number(),
671
+ 'samples': z.number(),
672
+ 'trust': z.number(),
673
+ 'weightedTrust': z.number(),
674
+ 'lastVerifiedAt': z.number().optional(),
675
+ 'pinned': z.boolean(),
676
+ 'tokensSaved': z.number(),
677
+ 'tokensSpent': z.number(),
678
+ 'parentRevision': z.number().optional(),
679
+ 'failureReason': z.string().optional(),
680
+ 'evidence': z.object({
681
+ 'traceRef': z.string().optional(),
682
+ 'sessionRef': z.string().optional(),
683
+ 'note': z.string().optional(),
684
+ }).optional(),
685
+ 'challengeReason': z.string().optional(),
686
+ 'context': z.string(),
687
+ 'verifiedCount': z.number(),
688
+ 'rejectCount': z.number(),
689
+ 'globalFlag': z.boolean(),
690
+ 'createdAt': z.number(),
691
+ 'updatedAt': z.number(),
692
+ })
693
+ const _deepseek_ai_dsh_memory_memory_humanRollback_parameter_0$schema = z.intersection(z.string(), z.unknown())
694
+ const _deepseek_ai_dsh_memory_memory_humanRollback_parameter_1$schema = z.object({
695
+ 'id': z.string(),
696
+ 'toRevision': z.number(),
697
+ 'reason': z.string(),
698
+ })
699
+ const _deepseek_ai_dsh_memory_memory_humanRollback_result$schema = z.object({
700
+ 'id': z.string(),
701
+ 'revision': z.number(),
702
+ 'kind': z.union([z.literal("positive"), z.literal("negative")]),
703
+ 'source': z.union([z.literal("agent"), z.literal("human")]),
704
+ 'family': z.string(),
705
+ 'gist': z.string(),
706
+ 'situation': z.array(z.string()),
707
+ 'path': z.array(z.object({
708
+ 'order': z.number(),
709
+ 'action': z.string(),
710
+ })),
711
+ 'reasoning': z.string(),
712
+ 'limits': z.array(z.string()),
713
+ 'status': z.union([z.literal("candidate"), z.literal("live"), z.literal("challenged"), z.literal("superseded"), z.literal("archived"), z.literal("cold")]),
714
+ 'alpha': z.number(),
715
+ 'beta': z.number(),
716
+ 'samples': z.number(),
717
+ 'trust': z.number(),
718
+ 'weightedTrust': z.number(),
719
+ 'lastVerifiedAt': z.number().optional(),
720
+ 'pinned': z.boolean(),
721
+ 'tokensSaved': z.number(),
722
+ 'tokensSpent': z.number(),
723
+ 'parentRevision': z.number().optional(),
724
+ 'failureReason': z.string().optional(),
725
+ 'evidence': z.object({
726
+ 'traceRef': z.string().optional(),
727
+ 'sessionRef': z.string().optional(),
728
+ 'note': z.string().optional(),
729
+ }).optional(),
730
+ 'challengeReason': z.string().optional(),
731
+ 'context': z.string(),
732
+ 'verifiedCount': z.number(),
733
+ 'rejectCount': z.number(),
734
+ 'globalFlag': z.boolean(),
735
+ 'createdAt': z.number(),
736
+ 'updatedAt': z.number(),
737
+ })
738
+ const _deepseek_ai_dsh_memory_memory_humanSetConcernStatus_parameter_0$schema = z.intersection(z.string(), z.unknown())
739
+ const _deepseek_ai_dsh_memory_memory_humanSetConcernStatus_parameter_1$schema = z.object({
740
+ 'id': z.string(),
741
+ 'status': z.union([z.literal("paused"), z.literal("ongoing"), z.literal("concluded"), z.literal("recurring")]),
742
+ 'reason': z.string(),
743
+ })
744
+ const _deepseek_ai_dsh_memory_memory_humanSetConcernStatus_result$schema = z.object({
745
+ 'ok': z.literal(true),
746
+ })
747
+ const _deepseek_ai_dsh_memory_memory_ingest_parameter_0$schema = z.intersection(z.string(), z.unknown())
748
+ const _deepseek_ai_dsh_memory_memory_ingest_parameter_1$schema = z.object({
749
+ 'sourceType': z.union([z.literal("conversation"), z.literal("document"), z.literal("skill"), z.literal("book"), z.literal("note"), z.literal("other")]),
750
+ 'sourceRef': z.string(),
751
+ 'context': z.string().optional(),
752
+ 'experiences': z.array(z.object({
753
+ 'kind': z.union([z.literal("positive"), z.literal("negative")]),
754
+ 'family': z.string(),
755
+ 'gist': z.string(),
756
+ 'situation': z.array(z.string()),
757
+ 'path': z.array(z.object({
758
+ 'order': z.number(),
759
+ 'action': z.string(),
760
+ })),
761
+ 'reasoning': z.string(),
762
+ 'limits': z.array(z.string()),
763
+ 'failureReason': z.string().optional(),
764
+ })),
765
+ 'note': z.string().optional(),
766
+ })
767
+ const _deepseek_ai_dsh_memory_memory_ingest_result$schema = z.object({
768
+ 'accepted': z.array(z.object({
769
+ 'id': z.string(),
770
+ 'revision': z.number(),
771
+ 'kind': z.union([z.literal("positive"), z.literal("negative")]),
772
+ 'source': z.union([z.literal("agent"), z.literal("human")]),
773
+ 'family': z.string(),
774
+ 'gist': z.string(),
775
+ 'situation': z.array(z.string()),
776
+ 'path': z.array(z.object({
777
+ 'order': z.number(),
778
+ 'action': z.string(),
779
+ })),
780
+ 'reasoning': z.string(),
781
+ 'limits': z.array(z.string()),
782
+ 'status': z.union([z.literal("candidate"), z.literal("live"), z.literal("challenged"), z.literal("superseded"), z.literal("archived"), z.literal("cold")]),
783
+ 'alpha': z.number(),
784
+ 'beta': z.number(),
785
+ 'samples': z.number(),
786
+ 'trust': z.number(),
787
+ 'weightedTrust': z.number(),
788
+ 'lastVerifiedAt': z.number().optional(),
789
+ 'pinned': z.boolean(),
790
+ 'tokensSaved': z.number(),
791
+ 'tokensSpent': z.number(),
792
+ 'parentRevision': z.number().optional(),
793
+ 'failureReason': z.string().optional(),
794
+ 'evidence': z.object({
795
+ 'traceRef': z.string().optional(),
796
+ 'sessionRef': z.string().optional(),
797
+ 'note': z.string().optional(),
798
+ }).optional(),
799
+ 'challengeReason': z.string().optional(),
800
+ 'context': z.string(),
801
+ 'verifiedCount': z.number(),
802
+ 'rejectCount': z.number(),
803
+ 'globalFlag': z.boolean(),
804
+ 'createdAt': z.number(),
805
+ 'updatedAt': z.number(),
806
+ })),
807
+ 'rejected': z.array(z.object({
808
+ 'gist': z.string(),
809
+ 'reason': z.string(),
810
+ })),
811
+ 'sourcePrior': z.object({
812
+ 'alpha': z.number(),
813
+ 'beta': z.number(),
814
+ }),
815
+ })
816
+ const _deepseek_ai_dsh_memory_memory_ledgerQuery_parameter_0$schema = z.intersection(z.string(), z.unknown())
817
+ const _deepseek_ai_dsh_memory_memory_ledgerQuery_parameter_1$schema = z.object({
818
+ 'objectType': z.union([z.literal("experience"), z.literal("fact"), z.literal("diary"), z.literal("library"), z.literal("concern")]).optional(),
819
+ 'objectId': z.string().optional(),
820
+ 'op': z.string().optional(),
821
+ 'limit': z.number().optional(),
822
+ 'offset': z.number().optional(),
823
+ 'seqFrom': z.number().optional(),
824
+ 'seqTo': z.number().optional(),
825
+ })
826
+ const _deepseek_ai_dsh_memory_memory_ledgerQuery_result$schema = z.array(z.object({
827
+ 'seq': z.number(),
828
+ 'ts': z.number(),
829
+ 'op': z.string(),
830
+ 'objectType': z.union([z.literal("experience"), z.literal("fact"), z.literal("diary"), z.literal("library"), z.literal("concern")]),
831
+ 'objectId': z.string(),
832
+ 'actor': z.string(),
833
+ 'reason': z.string().optional(),
834
+ 'payload': z.string(),
835
+ 'prevHash': z.string(),
836
+ 'hash': z.string(),
837
+ }))
838
+ const _deepseek_ai_dsh_memory_memory_ledgerQueryCount_parameter_0$schema = z.intersection(z.string(), z.unknown())
839
+ const _deepseek_ai_dsh_memory_memory_ledgerQueryCount_parameter_1$schema = z.object({
840
+ 'objectType': z.union([z.literal("experience"), z.literal("fact"), z.literal("diary"), z.literal("library"), z.literal("concern")]).optional(),
841
+ 'objectId': z.string().optional(),
842
+ 'op': z.string().optional(),
843
+ 'limit': z.number().optional(),
844
+ 'offset': z.number().optional(),
845
+ 'seqFrom': z.number().optional(),
846
+ 'seqTo': z.number().optional(),
847
+ })
848
+ const _deepseek_ai_dsh_memory_memory_ledgerQueryCount_result$schema = z.number()
849
+ const _deepseek_ai_dsh_memory_memory_list_parameter_0$schema = z.intersection(z.string(), z.unknown())
850
+ const _deepseek_ai_dsh_memory_memory_list_parameter_1$schema = z.object({
851
+ 'status': z.union([z.literal("candidate"), z.literal("live"), z.literal("challenged"), z.literal("superseded"), z.literal("archived"), z.literal("cold")]).optional(),
852
+ 'kind': z.union([z.literal("positive"), z.literal("negative")]).optional(),
853
+ 'family': z.string().optional(),
854
+ 'context': z.string().optional(),
855
+ })
856
+ const _deepseek_ai_dsh_memory_memory_list_result$schema = z.array(z.object({
857
+ 'id': z.string(),
858
+ 'revision': z.number(),
859
+ 'kind': z.union([z.literal("positive"), z.literal("negative")]),
860
+ 'source': z.union([z.literal("agent"), z.literal("human")]),
861
+ 'family': z.string(),
862
+ 'gist': z.string(),
863
+ 'situation': z.array(z.string()),
864
+ 'path': z.array(z.object({
865
+ 'order': z.number(),
866
+ 'action': z.string(),
867
+ })),
868
+ 'reasoning': z.string(),
869
+ 'limits': z.array(z.string()),
870
+ 'status': z.union([z.literal("candidate"), z.literal("live"), z.literal("challenged"), z.literal("superseded"), z.literal("archived"), z.literal("cold")]),
871
+ 'alpha': z.number(),
872
+ 'beta': z.number(),
873
+ 'samples': z.number(),
874
+ 'trust': z.number(),
875
+ 'weightedTrust': z.number(),
876
+ 'lastVerifiedAt': z.number().optional(),
877
+ 'pinned': z.boolean(),
878
+ 'tokensSaved': z.number(),
879
+ 'tokensSpent': z.number(),
880
+ 'parentRevision': z.number().optional(),
881
+ 'failureReason': z.string().optional(),
882
+ 'evidence': z.object({
883
+ 'traceRef': z.string().optional(),
884
+ 'sessionRef': z.string().optional(),
885
+ 'note': z.string().optional(),
886
+ }).optional(),
887
+ 'challengeReason': z.string().optional(),
888
+ 'context': z.string(),
889
+ 'verifiedCount': z.number(),
890
+ 'rejectCount': z.number(),
891
+ 'globalFlag': z.boolean(),
892
+ 'createdAt': z.number(),
893
+ 'updatedAt': z.number(),
894
+ }))
895
+ const _deepseek_ai_dsh_memory_memory_listConcerns_parameter_0$schema = z.intersection(z.string(), z.unknown())
896
+ const _deepseek_ai_dsh_memory_memory_listConcerns_parameter_1$schema = z.string()
897
+ const _deepseek_ai_dsh_memory_memory_listConcerns_parameter_2$schema = z.string()
898
+ const _deepseek_ai_dsh_memory_memory_listConcerns_parameter_3$schema = z.number()
899
+ const _deepseek_ai_dsh_memory_memory_listConcerns_parameter_4$schema = z.number()
900
+ const _deepseek_ai_dsh_memory_memory_listConcerns_result$schema = z.array(z.object({
901
+ 'concern': z.object({
902
+ 'id': z.string(),
903
+ 'parentId': z.string().optional(),
904
+ 'title': z.string(),
905
+ 'background': z.string().optional(),
906
+ 'kind': z.union([z.literal("other"), z.literal("thinking"), z.literal("todo"), z.literal("idea"), z.literal("question"), z.literal("decision"), z.literal("commitment")]).optional(),
907
+ 'status': z.union([z.literal("paused"), z.literal("ongoing"), z.literal("concluded"), z.literal("recurring")]).optional(),
908
+ 'ts': z.number(),
909
+ 'sourceDiaryIds': z.array(z.string()),
910
+ 'context': z.string().optional(),
911
+ 'deleted': z.boolean(),
912
+ }),
913
+ 'mentions': z.array(z.object({
914
+ 'id': z.string(),
915
+ 'parentId': z.string().optional(),
916
+ 'title': z.string(),
917
+ 'background': z.string().optional(),
918
+ 'kind': z.union([z.literal("other"), z.literal("thinking"), z.literal("todo"), z.literal("idea"), z.literal("question"), z.literal("decision"), z.literal("commitment")]).optional(),
919
+ 'status': z.union([z.literal("paused"), z.literal("ongoing"), z.literal("concluded"), z.literal("recurring")]).optional(),
920
+ 'ts': z.number(),
921
+ 'sourceDiaryIds': z.array(z.string()),
922
+ 'context': z.string().optional(),
923
+ 'deleted': z.boolean(),
924
+ })),
925
+ }))
926
+ const _deepseek_ai_dsh_memory_memory_listConcernsCount_parameter_0$schema = z.intersection(z.string(), z.unknown())
927
+ const _deepseek_ai_dsh_memory_memory_listConcernsCount_parameter_1$schema = z.string()
928
+ const _deepseek_ai_dsh_memory_memory_listConcernsCount_parameter_2$schema = z.string()
929
+ const _deepseek_ai_dsh_memory_memory_listConcernsCount_result$schema = z.number()
930
+ const _deepseek_ai_dsh_memory_memory_listDiary_parameter_0$schema = z.intersection(z.string(), z.unknown())
931
+ const _deepseek_ai_dsh_memory_memory_listDiary_parameter_1$schema = z.number()
932
+ const _deepseek_ai_dsh_memory_memory_listDiary_parameter_2$schema = z.number()
933
+ const _deepseek_ai_dsh_memory_memory_listDiary_parameter_3$schema = z.boolean()
934
+ const _deepseek_ai_dsh_memory_memory_listDiary_result$schema = z.array(z.object({
935
+ 'id': z.string(),
936
+ 'ts': z.number(),
937
+ 'kind': z.union([z.literal("other"), z.literal("said"), z.literal("delegated"), z.literal("promised"), z.literal("happened"), z.literal("preference")]),
938
+ 'content': z.string(),
939
+ 'sessionRef': z.string().optional(),
940
+ 'tags': z.array(z.string()),
941
+ 'extracted': z.boolean(),
942
+ }))
943
+ const _deepseek_ai_dsh_memory_memory_listFacts_parameter_0$schema = z.intersection(z.string(), z.unknown())
944
+ const _deepseek_ai_dsh_memory_memory_listFacts_parameter_1$schema = z.string()
945
+ const _deepseek_ai_dsh_memory_memory_listFacts_parameter_2$schema = z.boolean()
946
+ const _deepseek_ai_dsh_memory_memory_listFacts_parameter_3$schema = z.number()
947
+ const _deepseek_ai_dsh_memory_memory_listFacts_parameter_4$schema = z.number()
948
+ const _deepseek_ai_dsh_memory_memory_listFacts_result$schema = z.array(z.object({
949
+ 'id': z.string(),
950
+ 'category': z.union([z.literal("other"), z.literal("preference"), z.literal("identity"), z.literal("communication"), z.literal("habit"), z.literal("thinking"), z.literal("value"), z.literal("delegation"), z.literal("background")]),
951
+ 'factKey': z.string(),
952
+ 'value': z.string(),
953
+ 'origin': z.union([z.literal("human"), z.literal("extraction"), z.literal("supersede")]),
954
+ 'sourceDiaryIds': z.array(z.string()),
955
+ 'corroboration': z.number(),
956
+ 'validFrom': z.number(),
957
+ 'validTo': z.number().optional(),
958
+ 'recordedAt': z.number(),
959
+ 'supersededBy': z.string().optional(),
960
+ 'locked': z.boolean(),
961
+ 'deleted': z.boolean(),
962
+ 'conflictPending': z.boolean(),
963
+ }))
964
+ const _deepseek_ai_dsh_memory_memory_listFactsCount_parameter_0$schema = z.intersection(z.string(), z.unknown())
965
+ const _deepseek_ai_dsh_memory_memory_listFactsCount_parameter_1$schema = z.string()
966
+ const _deepseek_ai_dsh_memory_memory_listFactsCount_parameter_2$schema = z.boolean()
967
+ const _deepseek_ai_dsh_memory_memory_listFactsCount_result$schema = z.number()
968
+ const _deepseek_ai_dsh_memory_memory_recall_parameter_0$schema = z.intersection(z.string(), z.unknown())
969
+ const _deepseek_ai_dsh_memory_memory_recall_parameter_1$schema = z.object({
970
+ 'situation': z.string(),
971
+ 'topK': z.number().optional(),
972
+ 'budgetTokens': z.number().optional(),
973
+ 'deep': z.boolean().optional(),
974
+ 'context': z.string().optional(),
975
+ 'includeTrials': z.boolean().optional(),
976
+ })
977
+ const _deepseek_ai_dsh_memory_memory_recall_result$schema = z.object({
978
+ 'items': z.array(z.object({
979
+ 'experience': z.object({
980
+ 'id': z.string(),
981
+ 'revision': z.number(),
982
+ 'kind': z.union([z.literal("positive"), z.literal("negative")]),
983
+ 'source': z.union([z.literal("agent"), z.literal("human")]),
984
+ 'family': z.string(),
985
+ 'gist': z.string(),
986
+ 'situation': z.array(z.string()),
987
+ 'path': z.array(z.object({
988
+ 'order': z.number(),
989
+ 'action': z.string(),
990
+ })),
991
+ 'reasoning': z.string(),
992
+ 'limits': z.array(z.string()),
993
+ 'status': z.union([z.literal("candidate"), z.literal("live"), z.literal("challenged"), z.literal("superseded"), z.literal("archived"), z.literal("cold")]),
994
+ 'alpha': z.number(),
995
+ 'beta': z.number(),
996
+ 'samples': z.number(),
997
+ 'trust': z.number(),
998
+ 'weightedTrust': z.number(),
999
+ 'lastVerifiedAt': z.number().optional(),
1000
+ 'pinned': z.boolean(),
1001
+ 'tokensSaved': z.number(),
1002
+ 'tokensSpent': z.number(),
1003
+ 'parentRevision': z.number().optional(),
1004
+ 'failureReason': z.string().optional(),
1005
+ 'evidence': z.object({
1006
+ 'traceRef': z.string().optional(),
1007
+ 'sessionRef': z.string().optional(),
1008
+ 'note': z.string().optional(),
1009
+ }).optional(),
1010
+ 'challengeReason': z.string().optional(),
1011
+ 'context': z.string(),
1012
+ 'verifiedCount': z.number(),
1013
+ 'rejectCount': z.number(),
1014
+ 'globalFlag': z.boolean(),
1015
+ 'createdAt': z.number(),
1016
+ 'updatedAt': z.number(),
1017
+ }),
1018
+ 'score': z.number(),
1019
+ 'verdict': z.union([z.literal("direct"), z.literal("reference"), z.literal("clue")]),
1020
+ 'conflicts': z.array(z.string()),
1021
+ })),
1022
+ 'none': z.boolean(),
1023
+ 'reason': z.string().optional(),
1024
+ 'omitted': z.number(),
1025
+ 'estimatedTokens': z.number(),
1026
+ 'candidateTrials': z.array(z.object({
1027
+ 'experience': z.object({
1028
+ 'id': z.string(),
1029
+ 'revision': z.number(),
1030
+ 'kind': z.union([z.literal("positive"), z.literal("negative")]),
1031
+ 'source': z.union([z.literal("agent"), z.literal("human")]),
1032
+ 'family': z.string(),
1033
+ 'gist': z.string(),
1034
+ 'situation': z.array(z.string()),
1035
+ 'path': z.array(z.object({
1036
+ 'order': z.number(),
1037
+ 'action': z.string(),
1038
+ })),
1039
+ 'reasoning': z.string(),
1040
+ 'limits': z.array(z.string()),
1041
+ 'status': z.union([z.literal("candidate"), z.literal("live"), z.literal("challenged"), z.literal("superseded"), z.literal("archived"), z.literal("cold")]),
1042
+ 'alpha': z.number(),
1043
+ 'beta': z.number(),
1044
+ 'samples': z.number(),
1045
+ 'trust': z.number(),
1046
+ 'weightedTrust': z.number(),
1047
+ 'lastVerifiedAt': z.number().optional(),
1048
+ 'pinned': z.boolean(),
1049
+ 'tokensSaved': z.number(),
1050
+ 'tokensSpent': z.number(),
1051
+ 'parentRevision': z.number().optional(),
1052
+ 'failureReason': z.string().optional(),
1053
+ 'evidence': z.object({
1054
+ 'traceRef': z.string().optional(),
1055
+ 'sessionRef': z.string().optional(),
1056
+ 'note': z.string().optional(),
1057
+ }).optional(),
1058
+ 'challengeReason': z.string().optional(),
1059
+ 'context': z.string(),
1060
+ 'verifiedCount': z.number(),
1061
+ 'rejectCount': z.number(),
1062
+ 'globalFlag': z.boolean(),
1063
+ 'createdAt': z.number(),
1064
+ 'updatedAt': z.number(),
1065
+ }),
1066
+ 'score': z.number(),
1067
+ })),
1068
+ 'consolidationDue': z.boolean(),
1069
+ })
1070
+ const _deepseek_ai_dsh_memory_memory_refine_parameter_0$schema = z.intersection(z.string(), z.unknown())
1071
+ const _deepseek_ai_dsh_memory_memory_refine_parameter_1$schema = z.object({
1072
+ 'kind': z.union([z.literal("positive"), z.literal("negative")]),
1073
+ 'family': z.string(),
1074
+ 'gist': z.string(),
1075
+ 'situation': z.array(z.string()),
1076
+ 'path': z.array(z.object({
1077
+ 'order': z.number(),
1078
+ 'action': z.string(),
1079
+ })),
1080
+ 'reasoning': z.string(),
1081
+ 'limits': z.array(z.string()),
1082
+ 'failureReason': z.string().optional(),
1083
+ 'evidence': z.object({
1084
+ 'traceRef': z.string().optional(),
1085
+ 'sessionRef': z.string().optional(),
1086
+ 'note': z.string().optional(),
1087
+ }),
1088
+ 'complexity': z.object({
1089
+ 'tokens': z.number().optional(),
1090
+ 'steps': z.number().optional(),
1091
+ 'hadFailure': z.boolean().optional(),
1092
+ }),
1093
+ 'humanMarked': z.boolean().optional(),
1094
+ 'context': z.string().optional(),
1095
+ })
1096
+ const _deepseek_ai_dsh_memory_memory_refine_result$schema = z.object({
1097
+ 'accepted': z.boolean(),
1098
+ 'reason': z.string().optional(),
1099
+ 'experience': z.object({
1100
+ 'id': z.string(),
1101
+ 'revision': z.number(),
1102
+ 'kind': z.union([z.literal("positive"), z.literal("negative")]),
1103
+ 'source': z.union([z.literal("agent"), z.literal("human")]),
1104
+ 'family': z.string(),
1105
+ 'gist': z.string(),
1106
+ 'situation': z.array(z.string()),
1107
+ 'path': z.array(z.object({
1108
+ 'order': z.number(),
1109
+ 'action': z.string(),
1110
+ })),
1111
+ 'reasoning': z.string(),
1112
+ 'limits': z.array(z.string()),
1113
+ 'status': z.union([z.literal("candidate"), z.literal("live"), z.literal("challenged"), z.literal("superseded"), z.literal("archived"), z.literal("cold")]),
1114
+ 'alpha': z.number(),
1115
+ 'beta': z.number(),
1116
+ 'samples': z.number(),
1117
+ 'trust': z.number(),
1118
+ 'weightedTrust': z.number(),
1119
+ 'lastVerifiedAt': z.number().optional(),
1120
+ 'pinned': z.boolean(),
1121
+ 'tokensSaved': z.number(),
1122
+ 'tokensSpent': z.number(),
1123
+ 'parentRevision': z.number().optional(),
1124
+ 'failureReason': z.string().optional(),
1125
+ 'evidence': z.object({
1126
+ 'traceRef': z.string().optional(),
1127
+ 'sessionRef': z.string().optional(),
1128
+ 'note': z.string().optional(),
1129
+ }).optional(),
1130
+ 'challengeReason': z.string().optional(),
1131
+ 'context': z.string(),
1132
+ 'verifiedCount': z.number(),
1133
+ 'rejectCount': z.number(),
1134
+ 'globalFlag': z.boolean(),
1135
+ 'createdAt': z.number(),
1136
+ 'updatedAt': z.number(),
1137
+ }).optional(),
1138
+ 'corroboratedId': z.string().optional(),
1139
+ })
1140
+ const _deepseek_ai_dsh_memory_memory_report_parameter_0$schema = z.intersection(z.string(), z.unknown())
1141
+ const _deepseek_ai_dsh_memory_memory_report_parameter_1$schema = z.object({
1142
+ 'id': z.string(),
1143
+ 'revision': z.number().optional(),
1144
+ 'outcome': z.union([z.literal("success"), z.literal("fail")]),
1145
+ 'attribution': z.union([z.literal("experience"), z.literal("environment"), z.literal("unrelated"), z.literal("unknown")]).optional(),
1146
+ 'evidence': z.object({
1147
+ 'traceRef': z.string().optional(),
1148
+ 'sessionRef': z.string().optional(),
1149
+ 'note': z.string().optional(),
1150
+ }).optional(),
1151
+ 'tokensUsed': z.number().optional(),
1152
+ 'tokensSaved': z.number().optional(),
1153
+ 'dedupeKey': z.string().optional(),
1154
+ })
1155
+ const _deepseek_ai_dsh_memory_memory_report_result$schema = z.object({
1156
+ 'snapshot': z.object({
1157
+ 'id': z.string(),
1158
+ 'revision': z.number(),
1159
+ 'kind': z.union([z.literal("positive"), z.literal("negative")]),
1160
+ 'source': z.union([z.literal("agent"), z.literal("human")]),
1161
+ 'family': z.string(),
1162
+ 'gist': z.string(),
1163
+ 'situation': z.array(z.string()),
1164
+ 'path': z.array(z.object({
1165
+ 'order': z.number(),
1166
+ 'action': z.string(),
1167
+ })),
1168
+ 'reasoning': z.string(),
1169
+ 'limits': z.array(z.string()),
1170
+ 'status': z.union([z.literal("candidate"), z.literal("live"), z.literal("challenged"), z.literal("superseded"), z.literal("archived"), z.literal("cold")]),
1171
+ 'alpha': z.number(),
1172
+ 'beta': z.number(),
1173
+ 'samples': z.number(),
1174
+ 'trust': z.number(),
1175
+ 'weightedTrust': z.number(),
1176
+ 'lastVerifiedAt': z.number().optional(),
1177
+ 'pinned': z.boolean(),
1178
+ 'tokensSaved': z.number(),
1179
+ 'tokensSpent': z.number(),
1180
+ 'parentRevision': z.number().optional(),
1181
+ 'failureReason': z.string().optional(),
1182
+ 'evidence': z.object({
1183
+ 'traceRef': z.string().optional(),
1184
+ 'sessionRef': z.string().optional(),
1185
+ 'note': z.string().optional(),
1186
+ }).optional(),
1187
+ 'challengeReason': z.string().optional(),
1188
+ 'context': z.string(),
1189
+ 'verifiedCount': z.number(),
1190
+ 'rejectCount': z.number(),
1191
+ 'globalFlag': z.boolean(),
1192
+ 'createdAt': z.number(),
1193
+ 'updatedAt': z.number(),
1194
+ }),
1195
+ 'counted': z.union([z.literal("alpha"), z.literal("beta"), z.literal("none")]),
1196
+ 'attributionApplied': z.union([z.literal("experience"), z.literal("environment"), z.literal("unrelated"), z.literal("unknown")]),
1197
+ 'overrideNote': z.string().optional(),
1198
+ 'challenged': z.boolean(),
1199
+ 'promoted': z.boolean(),
1200
+ 'adopted': z.boolean(),
1201
+ 'cooled': z.boolean().optional(),
1202
+ })
1203
+ const _deepseek_ai_dsh_memory_memory_revise_parameter_0$schema = z.intersection(z.string(), z.unknown())
1204
+ const _deepseek_ai_dsh_memory_memory_revise_parameter_1$schema = z.object({
1205
+ 'id': z.string(),
1206
+ 'reason': z.string(),
1207
+ 'gist': z.string().optional(),
1208
+ 'situation': z.array(z.string()).optional(),
1209
+ 'path': z.array(z.object({
1210
+ 'order': z.number(),
1211
+ 'action': z.string(),
1212
+ })).optional(),
1213
+ 'reasoning': z.string().optional(),
1214
+ 'limits': z.array(z.string()).optional(),
1215
+ })
1216
+ const _deepseek_ai_dsh_memory_memory_revise_result$schema = z.object({
1217
+ 'id': z.string(),
1218
+ 'revision': z.number(),
1219
+ 'kind': z.union([z.literal("positive"), z.literal("negative")]),
1220
+ 'source': z.union([z.literal("agent"), z.literal("human")]),
1221
+ 'family': z.string(),
1222
+ 'gist': z.string(),
1223
+ 'situation': z.array(z.string()),
1224
+ 'path': z.array(z.object({
1225
+ 'order': z.number(),
1226
+ 'action': z.string(),
1227
+ })),
1228
+ 'reasoning': z.string(),
1229
+ 'limits': z.array(z.string()),
1230
+ 'status': z.union([z.literal("candidate"), z.literal("live"), z.literal("challenged"), z.literal("superseded"), z.literal("archived"), z.literal("cold")]),
1231
+ 'alpha': z.number(),
1232
+ 'beta': z.number(),
1233
+ 'samples': z.number(),
1234
+ 'trust': z.number(),
1235
+ 'weightedTrust': z.number(),
1236
+ 'lastVerifiedAt': z.number().optional(),
1237
+ 'pinned': z.boolean(),
1238
+ 'tokensSaved': z.number(),
1239
+ 'tokensSpent': z.number(),
1240
+ 'parentRevision': z.number().optional(),
1241
+ 'failureReason': z.string().optional(),
1242
+ 'evidence': z.object({
1243
+ 'traceRef': z.string().optional(),
1244
+ 'sessionRef': z.string().optional(),
1245
+ 'note': z.string().optional(),
1246
+ }).optional(),
1247
+ 'challengeReason': z.string().optional(),
1248
+ 'context': z.string(),
1249
+ 'verifiedCount': z.number(),
1250
+ 'rejectCount': z.number(),
1251
+ 'globalFlag': z.boolean(),
1252
+ 'createdAt': z.number(),
1253
+ 'updatedAt': z.number(),
1254
+ })
1255
+ const _deepseek_ai_dsh_memory_memory_rollback_parameter_0$schema = z.intersection(z.string(), z.unknown())
1256
+ const _deepseek_ai_dsh_memory_memory_rollback_parameter_1$schema = z.object({
1257
+ 'id': z.string(),
1258
+ 'toRevision': z.number(),
1259
+ 'reason': z.string(),
1260
+ })
1261
+ const _deepseek_ai_dsh_memory_memory_rollback_result$schema = z.object({
1262
+ 'id': z.string(),
1263
+ 'revision': z.number(),
1264
+ 'kind': z.union([z.literal("positive"), z.literal("negative")]),
1265
+ 'source': z.union([z.literal("agent"), z.literal("human")]),
1266
+ 'family': z.string(),
1267
+ 'gist': z.string(),
1268
+ 'situation': z.array(z.string()),
1269
+ 'path': z.array(z.object({
1270
+ 'order': z.number(),
1271
+ 'action': z.string(),
1272
+ })),
1273
+ 'reasoning': z.string(),
1274
+ 'limits': z.array(z.string()),
1275
+ 'status': z.union([z.literal("candidate"), z.literal("live"), z.literal("challenged"), z.literal("superseded"), z.literal("archived"), z.literal("cold")]),
1276
+ 'alpha': z.number(),
1277
+ 'beta': z.number(),
1278
+ 'samples': z.number(),
1279
+ 'trust': z.number(),
1280
+ 'weightedTrust': z.number(),
1281
+ 'lastVerifiedAt': z.number().optional(),
1282
+ 'pinned': z.boolean(),
1283
+ 'tokensSaved': z.number(),
1284
+ 'tokensSpent': z.number(),
1285
+ 'parentRevision': z.number().optional(),
1286
+ 'failureReason': z.string().optional(),
1287
+ 'evidence': z.object({
1288
+ 'traceRef': z.string().optional(),
1289
+ 'sessionRef': z.string().optional(),
1290
+ 'note': z.string().optional(),
1291
+ }).optional(),
1292
+ 'challengeReason': z.string().optional(),
1293
+ 'context': z.string(),
1294
+ 'verifiedCount': z.number(),
1295
+ 'rejectCount': z.number(),
1296
+ 'globalFlag': z.boolean(),
1297
+ 'createdAt': z.number(),
1298
+ 'updatedAt': z.number(),
1299
+ })
1300
+ const _deepseek_ai_dsh_memory_memory_stats_parameter_0$schema = z.intersection(z.string(), z.unknown())
1301
+ const _deepseek_ai_dsh_memory_memory_stats_result$schema = z.object({
1302
+ 'experiences': z.object({
1303
+ 'total': z.number(),
1304
+ 'byStatus': z.object({
1305
+ 'candidate': z.number(),
1306
+ 'live': z.number(),
1307
+ 'challenged': z.number(),
1308
+ 'superseded': z.number(),
1309
+ 'archived': z.number(),
1310
+ 'cold': z.number(),
1311
+ }),
1312
+ 'byKind': z.object({
1313
+ 'positive': z.number(),
1314
+ 'negative': z.number(),
1315
+ }),
1316
+ 'pinned': z.number(),
1317
+ 'avgTrust': z.number(),
1318
+ }),
1319
+ 'facts': z.object({
1320
+ 'total': z.number(),
1321
+ 'current': z.number(),
1322
+ 'locked': z.number(),
1323
+ 'conflictPending': z.number(),
1324
+ }),
1325
+ 'diary': z.object({
1326
+ 'total': z.number(),
1327
+ 'unextracted': z.number(),
1328
+ 'extractions': z.number(),
1329
+ }),
1330
+ 'ledgerBlocks': z.number(),
1331
+ 'recall': z.object({
1332
+ 'events': z.number(),
1333
+ 'negative': z.number(),
1334
+ 'reportsAfterRecall': z.number(),
1335
+ }),
1336
+ 'consolidation': z.object({
1337
+ 'lastTs': z.number(),
1338
+ 'due': z.boolean(),
1339
+ 'newSince': z.number(),
1340
+ }),
1341
+ })
1342
+ const _deepseek_ai_dsh_memory_memory_verifyLedger_parameter_0$schema = z.intersection(z.string(), z.unknown())
1343
+ const _deepseek_ai_dsh_memory_memory_verifyLedger_result$schema = z.object({
1344
+ 'ok': z.boolean(),
1345
+ 'checked': z.number(),
1346
+ 'brokenAt': z.number().optional(),
1347
+ })
1348
+ const _deepseek_ai_dsh_memory_memory_verifyShadow_parameter_0$schema = z.intersection(z.string(), z.unknown())
1349
+ const _deepseek_ai_dsh_memory_memory_verifyShadow_parameter_1$schema = z.object({
1350
+ 'id': z.string(),
1351
+ 'revision': z.number(),
1352
+ 'samples': z.array(z.object({
1353
+ 'situation': z.string(),
1354
+ 'expected': z.union([z.literal("success"), z.literal("fail")]),
1355
+ })),
1356
+ })
1357
+ const _deepseek_ai_dsh_memory_memory_verifyShadow_result$schema = z.object({
1358
+ 'passed': z.boolean(),
1359
+ 'agreement': z.number(),
1360
+ 'snapshot': z.object({
1361
+ 'id': z.string(),
1362
+ 'revision': z.number(),
1363
+ 'kind': z.union([z.literal("positive"), z.literal("negative")]),
1364
+ 'source': z.union([z.literal("agent"), z.literal("human")]),
1365
+ 'family': z.string(),
1366
+ 'gist': z.string(),
1367
+ 'situation': z.array(z.string()),
1368
+ 'path': z.array(z.object({
1369
+ 'order': z.number(),
1370
+ 'action': z.string(),
1371
+ })),
1372
+ 'reasoning': z.string(),
1373
+ 'limits': z.array(z.string()),
1374
+ 'status': z.union([z.literal("candidate"), z.literal("live"), z.literal("challenged"), z.literal("superseded"), z.literal("archived"), z.literal("cold")]),
1375
+ 'alpha': z.number(),
1376
+ 'beta': z.number(),
1377
+ 'samples': z.number(),
1378
+ 'trust': z.number(),
1379
+ 'weightedTrust': z.number(),
1380
+ 'lastVerifiedAt': z.number().optional(),
1381
+ 'pinned': z.boolean(),
1382
+ 'tokensSaved': z.number(),
1383
+ 'tokensSpent': z.number(),
1384
+ 'parentRevision': z.number().optional(),
1385
+ 'failureReason': z.string().optional(),
1386
+ 'evidence': z.object({
1387
+ 'traceRef': z.string().optional(),
1388
+ 'sessionRef': z.string().optional(),
1389
+ 'note': z.string().optional(),
1390
+ }).optional(),
1391
+ 'challengeReason': z.string().optional(),
1392
+ 'context': z.string(),
1393
+ 'verifiedCount': z.number(),
1394
+ 'rejectCount': z.number(),
1395
+ 'globalFlag': z.boolean(),
1396
+ 'createdAt': z.number(),
1397
+ 'updatedAt': z.number(),
1398
+ }).optional(),
1399
+ 'reason': z.string().optional(),
1400
+ })
1401
+ const _deepseek_ai_dsh_memory_memory_workbenchInfo_parameter_0$schema = z.intersection(z.string(), z.unknown())
1402
+ const _deepseek_ai_dsh_memory_memory_workbenchInfo_result$schema = z.object({
1403
+ 'workspacePath': z.string(),
1404
+ 'workspaceTitle': z.string(),
1405
+ 'databasePath': z.string(),
1406
+ 'diaryExtractEvery': z.number(),
1407
+ 'injectionBudgetTokens': z.number(),
1408
+ })
1409
+
1410
+ export const TYPERT_REMOTE = {
1411
+ package: 'dsh-daoing-memory',
1412
+ descriptors: [
1413
+ {
1414
+ id: 'dsh-daoing-memory#memory/appendDiary',
1415
+ service: 'memory',
1416
+ namespace: 'memory',
1417
+ method: 'appendDiary',
1418
+ invocation: { kind: 'direct' },
1419
+ scope: {
1420
+ context: 'agent',
1421
+ wire: 'agentId',
1422
+ },
1423
+ parameters: [
1424
+ {
1425
+ name: 'agent',
1426
+ wire: 'agentId',
1427
+ source: 'lookup',
1428
+ lookup: 'agent',
1429
+ codec: {
1430
+ mode: 'strict',
1431
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1432
+ schema: _deepseek_ai_dsh_memory_memory_appendDiary_parameter_0$schema,
1433
+ },
1434
+ },
1435
+ {
1436
+ name: 'request',
1437
+ wire: 'request',
1438
+ source: 'json',
1439
+ codec: {
1440
+ mode: 'strict',
1441
+ typeSymbol: 'dsh-daoing-memory/types#DiaryAppendRequest',
1442
+ schema: _deepseek_ai_dsh_memory_memory_appendDiary_parameter_1$schema,
1443
+ },
1444
+ },
1445
+ ],
1446
+ result: {
1447
+ mode: 'strict',
1448
+ typeSymbol: 'dsh-daoing-memory/types#DiaryAppendResult',
1449
+ schema: _deepseek_ai_dsh_memory_memory_appendDiary_result$schema,
1450
+ },
1451
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":145,"column":3},
1452
+ },
1453
+ {
1454
+ id: 'dsh-daoing-memory#memory/consolidate',
1455
+ service: 'memory',
1456
+ namespace: 'memory',
1457
+ method: 'consolidate',
1458
+ invocation: { kind: 'direct' },
1459
+ scope: {
1460
+ context: 'agent',
1461
+ wire: 'agentId',
1462
+ },
1463
+ parameters: [
1464
+ {
1465
+ name: 'agent',
1466
+ wire: 'agentId',
1467
+ source: 'lookup',
1468
+ lookup: 'agent',
1469
+ codec: {
1470
+ mode: 'strict',
1471
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1472
+ schema: _deepseek_ai_dsh_memory_memory_consolidate_parameter_0$schema,
1473
+ },
1474
+ },
1475
+ {
1476
+ name: 'request',
1477
+ wire: 'request',
1478
+ source: 'json',
1479
+ codec: {
1480
+ mode: 'strict',
1481
+ typeSymbol: 'dsh-daoing-memory/types#ConsolidateRequest',
1482
+ schema: _deepseek_ai_dsh_memory_memory_consolidate_parameter_1$schema,
1483
+ },
1484
+ },
1485
+ ],
1486
+ result: {
1487
+ mode: 'strict',
1488
+ typeSymbol: 'dsh-daoing-memory/types#ConsolidateResult',
1489
+ schema: _deepseek_ai_dsh_memory_memory_consolidate_result$schema,
1490
+ },
1491
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":218,"column":3},
1492
+ },
1493
+ {
1494
+ id: 'dsh-daoing-memory#memory/consolidationDue',
1495
+ service: 'memory',
1496
+ namespace: 'memory',
1497
+ method: 'consolidationDue',
1498
+ invocation: { kind: 'direct' },
1499
+ scope: {
1500
+ context: 'agent',
1501
+ wire: 'agentId',
1502
+ },
1503
+ parameters: [
1504
+ {
1505
+ name: 'agent',
1506
+ wire: 'agentId',
1507
+ source: 'lookup',
1508
+ lookup: 'agent',
1509
+ codec: {
1510
+ mode: 'strict',
1511
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1512
+ schema: _deepseek_ai_dsh_memory_memory_consolidationDue_parameter_0$schema,
1513
+ },
1514
+ },
1515
+ ],
1516
+ result: {
1517
+ mode: 'strict',
1518
+ typeSymbol: 'dsh-daoing-memory#memory/consolidationDue:result',
1519
+ schema: _deepseek_ai_dsh_memory_memory_consolidationDue_result$schema,
1520
+ },
1521
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":225,"column":3},
1522
+ },
1523
+ {
1524
+ id: 'dsh-daoing-memory#memory/exportLibrary',
1525
+ service: 'memory',
1526
+ namespace: 'memory',
1527
+ method: 'exportLibrary',
1528
+ invocation: { kind: 'direct' },
1529
+ scope: {
1530
+ context: 'agent',
1531
+ wire: 'agentId',
1532
+ },
1533
+ parameters: [
1534
+ {
1535
+ name: 'agent',
1536
+ wire: 'agentId',
1537
+ source: 'lookup',
1538
+ lookup: 'agent',
1539
+ codec: {
1540
+ mode: 'strict',
1541
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1542
+ schema: _deepseek_ai_dsh_memory_memory_exportLibrary_parameter_0$schema,
1543
+ },
1544
+ },
1545
+ ],
1546
+ result: {
1547
+ mode: 'strict',
1548
+ typeSymbol: 'dsh-daoing-memory/types#MemoryExport',
1549
+ schema: _deepseek_ai_dsh_memory_memory_exportLibrary_result$schema,
1550
+ },
1551
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":267,"column":3},
1552
+ },
1553
+ {
1554
+ id: 'dsh-daoing-memory#memory/extract',
1555
+ service: 'memory',
1556
+ namespace: 'memory',
1557
+ method: 'extract',
1558
+ invocation: { kind: 'direct' },
1559
+ scope: {
1560
+ context: 'agent',
1561
+ wire: 'agentId',
1562
+ },
1563
+ parameters: [
1564
+ {
1565
+ name: 'agent',
1566
+ wire: 'agentId',
1567
+ source: 'lookup',
1568
+ lookup: 'agent',
1569
+ codec: {
1570
+ mode: 'strict',
1571
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1572
+ schema: _deepseek_ai_dsh_memory_memory_extract_parameter_0$schema,
1573
+ },
1574
+ },
1575
+ {
1576
+ name: 'request',
1577
+ wire: 'request',
1578
+ source: 'json',
1579
+ codec: {
1580
+ mode: 'strict',
1581
+ typeSymbol: 'dsh-daoing-memory/types#ExtractFactsRequest',
1582
+ schema: _deepseek_ai_dsh_memory_memory_extract_parameter_1$schema,
1583
+ },
1584
+ },
1585
+ ],
1586
+ result: {
1587
+ mode: 'strict',
1588
+ typeSymbol: 'dsh-daoing-memory/types#ExtractFactsResult',
1589
+ schema: _deepseek_ai_dsh_memory_memory_extract_result$schema,
1590
+ },
1591
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":151,"column":3},
1592
+ },
1593
+ {
1594
+ id: 'dsh-daoing-memory#memory/extractionLog',
1595
+ service: 'memory',
1596
+ namespace: 'memory',
1597
+ method: 'extractionLog',
1598
+ invocation: { kind: 'direct' },
1599
+ scope: {
1600
+ context: 'agent',
1601
+ wire: 'agentId',
1602
+ },
1603
+ parameters: [
1604
+ {
1605
+ name: 'agent',
1606
+ wire: 'agentId',
1607
+ source: 'lookup',
1608
+ lookup: 'agent',
1609
+ codec: {
1610
+ mode: 'strict',
1611
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1612
+ schema: _deepseek_ai_dsh_memory_memory_extractionLog_parameter_0$schema,
1613
+ },
1614
+ },
1615
+ {
1616
+ name: 'limit',
1617
+ wire: 'limit',
1618
+ source: 'json',
1619
+ codec: {
1620
+ mode: 'strict',
1621
+ typeSymbol: 'dsh-daoing-memory#memory/extractionLog:limit',
1622
+ schema: _deepseek_ai_dsh_memory_memory_extractionLog_parameter_1$schema,
1623
+ },
1624
+ },
1625
+ {
1626
+ name: 'offset',
1627
+ wire: 'offset',
1628
+ source: 'json',
1629
+ codec: {
1630
+ mode: 'strict',
1631
+ typeSymbol: 'dsh-daoing-memory#memory/extractionLog:offset',
1632
+ schema: _deepseek_ai_dsh_memory_memory_extractionLog_parameter_2$schema,
1633
+ },
1634
+ },
1635
+ ],
1636
+ result: {
1637
+ mode: 'strict',
1638
+ typeSymbol: 'dsh-daoing-memory#memory/extractionLog:result',
1639
+ schema: _deepseek_ai_dsh_memory_memory_extractionLog_result$schema,
1640
+ },
1641
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":204,"column":3},
1642
+ },
1643
+ {
1644
+ id: 'dsh-daoing-memory#memory/extractionLogCount',
1645
+ service: 'memory',
1646
+ namespace: 'memory',
1647
+ method: 'extractionLogCount',
1648
+ invocation: { kind: 'direct' },
1649
+ scope: {
1650
+ context: 'agent',
1651
+ wire: 'agentId',
1652
+ },
1653
+ parameters: [
1654
+ {
1655
+ name: 'agent',
1656
+ wire: 'agentId',
1657
+ source: 'lookup',
1658
+ lookup: 'agent',
1659
+ codec: {
1660
+ mode: 'strict',
1661
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1662
+ schema: _deepseek_ai_dsh_memory_memory_extractionLogCount_parameter_0$schema,
1663
+ },
1664
+ },
1665
+ ],
1666
+ result: {
1667
+ mode: 'strict',
1668
+ typeSymbol: 'dsh-daoing-memory#memory/extractionLogCount:result',
1669
+ schema: _deepseek_ai_dsh_memory_memory_extractionLogCount_result$schema,
1670
+ },
1671
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":211,"column":3},
1672
+ },
1673
+ {
1674
+ id: 'dsh-daoing-memory#memory/family',
1675
+ service: 'memory',
1676
+ namespace: 'memory',
1677
+ method: 'family',
1678
+ invocation: { kind: 'direct' },
1679
+ scope: {
1680
+ context: 'agent',
1681
+ wire: 'agentId',
1682
+ },
1683
+ parameters: [
1684
+ {
1685
+ name: 'agent',
1686
+ wire: 'agentId',
1687
+ source: 'lookup',
1688
+ lookup: 'agent',
1689
+ codec: {
1690
+ mode: 'strict',
1691
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1692
+ schema: _deepseek_ai_dsh_memory_memory_family_parameter_0$schema,
1693
+ },
1694
+ },
1695
+ {
1696
+ name: 'id',
1697
+ wire: 'id',
1698
+ source: 'json',
1699
+ codec: {
1700
+ mode: 'strict',
1701
+ typeSymbol: 'dsh-daoing-memory#memory/family:id',
1702
+ schema: _deepseek_ai_dsh_memory_memory_family_parameter_1$schema,
1703
+ },
1704
+ },
1705
+ ],
1706
+ result: {
1707
+ mode: 'strict',
1708
+ typeSymbol: 'dsh-daoing-memory#memory/family:result',
1709
+ schema: _deepseek_ai_dsh_memory_memory_family_result$schema,
1710
+ },
1711
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":138,"column":3},
1712
+ },
1713
+ {
1714
+ id: 'dsh-daoing-memory#memory/get',
1715
+ service: 'memory',
1716
+ namespace: 'memory',
1717
+ method: 'get',
1718
+ invocation: { kind: 'direct' },
1719
+ scope: {
1720
+ context: 'agent',
1721
+ wire: 'agentId',
1722
+ },
1723
+ parameters: [
1724
+ {
1725
+ name: 'agent',
1726
+ wire: 'agentId',
1727
+ source: 'lookup',
1728
+ lookup: 'agent',
1729
+ codec: {
1730
+ mode: 'strict',
1731
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1732
+ schema: _deepseek_ai_dsh_memory_memory_get_parameter_0$schema,
1733
+ },
1734
+ },
1735
+ {
1736
+ name: 'id',
1737
+ wire: 'id',
1738
+ source: 'json',
1739
+ codec: {
1740
+ mode: 'strict',
1741
+ typeSymbol: 'dsh-daoing-memory#memory/get:id',
1742
+ schema: _deepseek_ai_dsh_memory_memory_get_parameter_1$schema,
1743
+ },
1744
+ },
1745
+ {
1746
+ name: 'revision',
1747
+ wire: 'revision',
1748
+ source: 'json',
1749
+ acceptsUndefined: true,
1750
+ codec: {
1751
+ mode: 'strict',
1752
+ typeSymbol: 'dsh-daoing-memory#memory/get:revision',
1753
+ schema: _deepseek_ai_dsh_memory_memory_get_parameter_2$schema,
1754
+ },
1755
+ },
1756
+ ],
1757
+ result: {
1758
+ mode: 'strict',
1759
+ typeSymbol: 'dsh-daoing-memory#memory/get:result',
1760
+ schema: _deepseek_ai_dsh_memory_memory_get_result$schema,
1761
+ },
1762
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":124,"column":3},
1763
+ },
1764
+ {
1765
+ id: 'dsh-daoing-memory#memory/getDiaryByIds',
1766
+ service: 'memory',
1767
+ namespace: 'memory',
1768
+ method: 'getDiaryByIds',
1769
+ invocation: { kind: 'direct' },
1770
+ scope: {
1771
+ context: 'agent',
1772
+ wire: 'agentId',
1773
+ },
1774
+ parameters: [
1775
+ {
1776
+ name: 'agent',
1777
+ wire: 'agentId',
1778
+ source: 'lookup',
1779
+ lookup: 'agent',
1780
+ codec: {
1781
+ mode: 'strict',
1782
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1783
+ schema: _deepseek_ai_dsh_memory_memory_getDiaryByIds_parameter_0$schema,
1784
+ },
1785
+ },
1786
+ {
1787
+ name: 'ids',
1788
+ wire: 'ids',
1789
+ source: 'json',
1790
+ codec: {
1791
+ mode: 'strict',
1792
+ typeSymbol: 'dsh-daoing-memory#memory/getDiaryByIds:ids',
1793
+ schema: _deepseek_ai_dsh_memory_memory_getDiaryByIds_parameter_1$schema,
1794
+ },
1795
+ },
1796
+ ],
1797
+ result: {
1798
+ mode: 'strict',
1799
+ typeSymbol: 'dsh-daoing-memory#memory/getDiaryByIds:result',
1800
+ schema: _deepseek_ai_dsh_memory_memory_getDiaryByIds_result$schema,
1801
+ },
1802
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":164,"column":3},
1803
+ },
1804
+ {
1805
+ id: 'dsh-daoing-memory#memory/humanAckDiary',
1806
+ service: 'memory',
1807
+ namespace: 'memory',
1808
+ method: 'humanAckDiary',
1809
+ invocation: { kind: 'direct' },
1810
+ scope: {
1811
+ context: 'agent',
1812
+ wire: 'agentId',
1813
+ },
1814
+ parameters: [
1815
+ {
1816
+ name: 'agent',
1817
+ wire: 'agentId',
1818
+ source: 'lookup',
1819
+ lookup: 'agent',
1820
+ codec: {
1821
+ mode: 'strict',
1822
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1823
+ schema: _deepseek_ai_dsh_memory_memory_humanAckDiary_parameter_0$schema,
1824
+ },
1825
+ },
1826
+ {
1827
+ name: 'request',
1828
+ wire: 'request',
1829
+ source: 'json',
1830
+ codec: {
1831
+ mode: 'strict',
1832
+ typeSymbol: 'dsh-daoing-memory/types#HumanAckDiaryRequest',
1833
+ schema: _deepseek_ai_dsh_memory_memory_humanAckDiary_parameter_1$schema,
1834
+ },
1835
+ },
1836
+ ],
1837
+ result: {
1838
+ mode: 'strict',
1839
+ typeSymbol: 'dsh-daoing-memory/types#DiaryEntry',
1840
+ schema: _deepseek_ai_dsh_memory_memory_humanAckDiary_result$schema,
1841
+ },
1842
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":364,"column":3},
1843
+ },
1844
+ {
1845
+ id: 'dsh-daoing-memory#memory/humanAddExperience',
1846
+ service: 'memory',
1847
+ namespace: 'memory',
1848
+ method: 'humanAddExperience',
1849
+ invocation: { kind: 'direct' },
1850
+ scope: {
1851
+ context: 'agent',
1852
+ wire: 'agentId',
1853
+ },
1854
+ parameters: [
1855
+ {
1856
+ name: 'agent',
1857
+ wire: 'agentId',
1858
+ source: 'lookup',
1859
+ lookup: 'agent',
1860
+ codec: {
1861
+ mode: 'strict',
1862
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1863
+ schema: _deepseek_ai_dsh_memory_memory_humanAddExperience_parameter_0$schema,
1864
+ },
1865
+ },
1866
+ {
1867
+ name: 'request',
1868
+ wire: 'request',
1869
+ source: 'json',
1870
+ codec: {
1871
+ mode: 'strict',
1872
+ typeSymbol: 'dsh-daoing-memory/types#HumanAddExperienceRequest',
1873
+ schema: _deepseek_ai_dsh_memory_memory_humanAddExperience_parameter_1$schema,
1874
+ },
1875
+ },
1876
+ ],
1877
+ result: {
1878
+ mode: 'strict',
1879
+ typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
1880
+ schema: _deepseek_ai_dsh_memory_memory_humanAddExperience_result$schema,
1881
+ },
1882
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":307,"column":3},
1883
+ },
1884
+ {
1885
+ id: 'dsh-daoing-memory#memory/humanAddFact',
1886
+ service: 'memory',
1887
+ namespace: 'memory',
1888
+ method: 'humanAddFact',
1889
+ invocation: { kind: 'direct' },
1890
+ scope: {
1891
+ context: 'agent',
1892
+ wire: 'agentId',
1893
+ },
1894
+ parameters: [
1895
+ {
1896
+ name: 'agent',
1897
+ wire: 'agentId',
1898
+ source: 'lookup',
1899
+ lookup: 'agent',
1900
+ codec: {
1901
+ mode: 'strict',
1902
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1903
+ schema: _deepseek_ai_dsh_memory_memory_humanAddFact_parameter_0$schema,
1904
+ },
1905
+ },
1906
+ {
1907
+ name: 'request',
1908
+ wire: 'request',
1909
+ source: 'json',
1910
+ codec: {
1911
+ mode: 'strict',
1912
+ typeSymbol: 'dsh-daoing-memory/types#HumanAddFactRequest',
1913
+ schema: _deepseek_ai_dsh_memory_memory_humanAddFact_parameter_1$schema,
1914
+ },
1915
+ },
1916
+ ],
1917
+ result: {
1918
+ mode: 'strict',
1919
+ typeSymbol: 'dsh-daoing-memory/types#FactEntry',
1920
+ schema: _deepseek_ai_dsh_memory_memory_humanAddFact_result$schema,
1921
+ },
1922
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":335,"column":3},
1923
+ },
1924
+ {
1925
+ id: 'dsh-daoing-memory#memory/humanConfirmFact',
1926
+ service: 'memory',
1927
+ namespace: 'memory',
1928
+ method: 'humanConfirmFact',
1929
+ invocation: { kind: 'direct' },
1930
+ scope: {
1931
+ context: 'agent',
1932
+ wire: 'agentId',
1933
+ },
1934
+ parameters: [
1935
+ {
1936
+ name: 'agent',
1937
+ wire: 'agentId',
1938
+ source: 'lookup',
1939
+ lookup: 'agent',
1940
+ codec: {
1941
+ mode: 'strict',
1942
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1943
+ schema: _deepseek_ai_dsh_memory_memory_humanConfirmFact_parameter_0$schema,
1944
+ },
1945
+ },
1946
+ {
1947
+ name: 'request',
1948
+ wire: 'request',
1949
+ source: 'json',
1950
+ codec: {
1951
+ mode: 'strict',
1952
+ typeSymbol: 'dsh-daoing-memory/types#HumanConfirmFactRequest',
1953
+ schema: _deepseek_ai_dsh_memory_memory_humanConfirmFact_parameter_1$schema,
1954
+ },
1955
+ },
1956
+ ],
1957
+ result: {
1958
+ mode: 'strict',
1959
+ typeSymbol: 'dsh-daoing-memory/types#FactEntry',
1960
+ schema: _deepseek_ai_dsh_memory_memory_humanConfirmFact_result$schema,
1961
+ },
1962
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":357,"column":3},
1963
+ },
1964
+ {
1965
+ id: 'dsh-daoing-memory#memory/humanDeleteConcern',
1966
+ service: 'memory',
1967
+ namespace: 'memory',
1968
+ method: 'humanDeleteConcern',
1969
+ invocation: { kind: 'direct' },
1970
+ scope: {
1971
+ context: 'agent',
1972
+ wire: 'agentId',
1973
+ },
1974
+ parameters: [
1975
+ {
1976
+ name: 'agent',
1977
+ wire: 'agentId',
1978
+ source: 'lookup',
1979
+ lookup: 'agent',
1980
+ codec: {
1981
+ mode: 'strict',
1982
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
1983
+ schema: _deepseek_ai_dsh_memory_memory_humanDeleteConcern_parameter_0$schema,
1984
+ },
1985
+ },
1986
+ {
1987
+ name: 'request',
1988
+ wire: 'request',
1989
+ source: 'json',
1990
+ codec: {
1991
+ mode: 'strict',
1992
+ typeSymbol: 'dsh-daoing-memory/types#HumanDeleteConcernRequest',
1993
+ schema: _deepseek_ai_dsh_memory_memory_humanDeleteConcern_parameter_1$schema,
1994
+ },
1995
+ },
1996
+ ],
1997
+ result: {
1998
+ mode: 'strict',
1999
+ typeSymbol: 'dsh-daoing-memory#memory/humanDeleteConcern:result',
2000
+ schema: _deepseek_ai_dsh_memory_memory_humanDeleteConcern_result$schema,
2001
+ },
2002
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":379,"column":3},
2003
+ },
2004
+ {
2005
+ id: 'dsh-daoing-memory#memory/humanDeleteExperience',
2006
+ service: 'memory',
2007
+ namespace: 'memory',
2008
+ method: 'humanDeleteExperience',
2009
+ invocation: { kind: 'direct' },
2010
+ scope: {
2011
+ context: 'agent',
2012
+ wire: 'agentId',
2013
+ },
2014
+ parameters: [
2015
+ {
2016
+ name: 'agent',
2017
+ wire: 'agentId',
2018
+ source: 'lookup',
2019
+ lookup: 'agent',
2020
+ codec: {
2021
+ mode: 'strict',
2022
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2023
+ schema: _deepseek_ai_dsh_memory_memory_humanDeleteExperience_parameter_0$schema,
2024
+ },
2025
+ },
2026
+ {
2027
+ name: 'request',
2028
+ wire: 'request',
2029
+ source: 'json',
2030
+ codec: {
2031
+ mode: 'strict',
2032
+ typeSymbol: 'dsh-daoing-memory/types#HumanDeleteExperienceRequest',
2033
+ schema: _deepseek_ai_dsh_memory_memory_humanDeleteExperience_parameter_1$schema,
2034
+ },
2035
+ },
2036
+ ],
2037
+ result: {
2038
+ mode: 'strict',
2039
+ typeSymbol: 'dsh-daoing-memory#memory/humanDeleteExperience:result',
2040
+ schema: _deepseek_ai_dsh_memory_memory_humanDeleteExperience_result$schema,
2041
+ },
2042
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":292,"column":3},
2043
+ },
2044
+ {
2045
+ id: 'dsh-daoing-memory#memory/humanDeleteFact',
2046
+ service: 'memory',
2047
+ namespace: 'memory',
2048
+ method: 'humanDeleteFact',
2049
+ invocation: { kind: 'direct' },
2050
+ scope: {
2051
+ context: 'agent',
2052
+ wire: 'agentId',
2053
+ },
2054
+ parameters: [
2055
+ {
2056
+ name: 'agent',
2057
+ wire: 'agentId',
2058
+ source: 'lookup',
2059
+ lookup: 'agent',
2060
+ codec: {
2061
+ mode: 'strict',
2062
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2063
+ schema: _deepseek_ai_dsh_memory_memory_humanDeleteFact_parameter_0$schema,
2064
+ },
2065
+ },
2066
+ {
2067
+ name: 'request',
2068
+ wire: 'request',
2069
+ source: 'json',
2070
+ codec: {
2071
+ mode: 'strict',
2072
+ typeSymbol: 'dsh-daoing-memory/types#HumanDeleteFactRequest',
2073
+ schema: _deepseek_ai_dsh_memory_memory_humanDeleteFact_parameter_1$schema,
2074
+ },
2075
+ },
2076
+ ],
2077
+ result: {
2078
+ mode: 'strict',
2079
+ typeSymbol: 'dsh-daoing-memory#memory/humanDeleteFact:result',
2080
+ schema: _deepseek_ai_dsh_memory_memory_humanDeleteFact_result$schema,
2081
+ },
2082
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":349,"column":3},
2083
+ },
2084
+ {
2085
+ id: 'dsh-daoing-memory#memory/humanEditExperience',
2086
+ service: 'memory',
2087
+ namespace: 'memory',
2088
+ method: 'humanEditExperience',
2089
+ invocation: { kind: 'direct' },
2090
+ scope: {
2091
+ context: 'agent',
2092
+ wire: 'agentId',
2093
+ },
2094
+ parameters: [
2095
+ {
2096
+ name: 'agent',
2097
+ wire: 'agentId',
2098
+ source: 'lookup',
2099
+ lookup: 'agent',
2100
+ codec: {
2101
+ mode: 'strict',
2102
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2103
+ schema: _deepseek_ai_dsh_memory_memory_humanEditExperience_parameter_0$schema,
2104
+ },
2105
+ },
2106
+ {
2107
+ name: 'request',
2108
+ wire: 'request',
2109
+ source: 'json',
2110
+ codec: {
2111
+ mode: 'strict',
2112
+ typeSymbol: 'dsh-daoing-memory/types#HumanEditExperienceRequest',
2113
+ schema: _deepseek_ai_dsh_memory_memory_humanEditExperience_parameter_1$schema,
2114
+ },
2115
+ },
2116
+ ],
2117
+ result: {
2118
+ mode: 'strict',
2119
+ typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
2120
+ schema: _deepseek_ai_dsh_memory_memory_humanEditExperience_result$schema,
2121
+ },
2122
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":300,"column":3},
2123
+ },
2124
+ {
2125
+ id: 'dsh-daoing-memory#memory/humanEditFact',
2126
+ service: 'memory',
2127
+ namespace: 'memory',
2128
+ method: 'humanEditFact',
2129
+ invocation: { kind: 'direct' },
2130
+ scope: {
2131
+ context: 'agent',
2132
+ wire: 'agentId',
2133
+ },
2134
+ parameters: [
2135
+ {
2136
+ name: 'agent',
2137
+ wire: 'agentId',
2138
+ source: 'lookup',
2139
+ lookup: 'agent',
2140
+ codec: {
2141
+ mode: 'strict',
2142
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2143
+ schema: _deepseek_ai_dsh_memory_memory_humanEditFact_parameter_0$schema,
2144
+ },
2145
+ },
2146
+ {
2147
+ name: 'request',
2148
+ wire: 'request',
2149
+ source: 'json',
2150
+ codec: {
2151
+ mode: 'strict',
2152
+ typeSymbol: 'dsh-daoing-memory/types#HumanEditFactRequest',
2153
+ schema: _deepseek_ai_dsh_memory_memory_humanEditFact_parameter_1$schema,
2154
+ },
2155
+ },
2156
+ ],
2157
+ result: {
2158
+ mode: 'strict',
2159
+ typeSymbol: 'dsh-daoing-memory/types#FactEntry',
2160
+ schema: _deepseek_ai_dsh_memory_memory_humanEditFact_result$schema,
2161
+ },
2162
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":342,"column":3},
2163
+ },
2164
+ {
2165
+ id: 'dsh-daoing-memory#memory/humanPin',
2166
+ service: 'memory',
2167
+ namespace: 'memory',
2168
+ method: 'humanPin',
2169
+ invocation: { kind: 'direct' },
2170
+ scope: {
2171
+ context: 'agent',
2172
+ wire: 'agentId',
2173
+ },
2174
+ parameters: [
2175
+ {
2176
+ name: 'agent',
2177
+ wire: 'agentId',
2178
+ source: 'lookup',
2179
+ lookup: 'agent',
2180
+ codec: {
2181
+ mode: 'strict',
2182
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2183
+ schema: _deepseek_ai_dsh_memory_memory_humanPin_parameter_0$schema,
2184
+ },
2185
+ },
2186
+ {
2187
+ name: 'request',
2188
+ wire: 'request',
2189
+ source: 'json',
2190
+ codec: {
2191
+ mode: 'strict',
2192
+ typeSymbol: 'dsh-daoing-memory/types#HumanPinRequest',
2193
+ schema: _deepseek_ai_dsh_memory_memory_humanPin_parameter_1$schema,
2194
+ },
2195
+ },
2196
+ ],
2197
+ result: {
2198
+ mode: 'strict',
2199
+ typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
2200
+ schema: _deepseek_ai_dsh_memory_memory_humanPin_result$schema,
2201
+ },
2202
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":285,"column":3},
2203
+ },
2204
+ {
2205
+ id: 'dsh-daoing-memory#memory/humanPromote',
2206
+ service: 'memory',
2207
+ namespace: 'memory',
2208
+ method: 'humanPromote',
2209
+ invocation: { kind: 'direct' },
2210
+ scope: {
2211
+ context: 'agent',
2212
+ wire: 'agentId',
2213
+ },
2214
+ parameters: [
2215
+ {
2216
+ name: 'agent',
2217
+ wire: 'agentId',
2218
+ source: 'lookup',
2219
+ lookup: 'agent',
2220
+ codec: {
2221
+ mode: 'strict',
2222
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2223
+ schema: _deepseek_ai_dsh_memory_memory_humanPromote_parameter_0$schema,
2224
+ },
2225
+ },
2226
+ {
2227
+ name: 'id',
2228
+ wire: 'id',
2229
+ source: 'json',
2230
+ codec: {
2231
+ mode: 'strict',
2232
+ typeSymbol: 'dsh-daoing-memory#memory/humanPromote:id',
2233
+ schema: _deepseek_ai_dsh_memory_memory_humanPromote_parameter_1$schema,
2234
+ },
2235
+ },
2236
+ {
2237
+ name: 'reason',
2238
+ wire: 'reason',
2239
+ source: 'json',
2240
+ codec: {
2241
+ mode: 'strict',
2242
+ typeSymbol: 'dsh-daoing-memory#memory/humanPromote:reason',
2243
+ schema: _deepseek_ai_dsh_memory_memory_humanPromote_parameter_2$schema,
2244
+ },
2245
+ },
2246
+ ],
2247
+ result: {
2248
+ mode: 'strict',
2249
+ typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
2250
+ schema: _deepseek_ai_dsh_memory_memory_humanPromote_result$schema,
2251
+ },
2252
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":314,"column":3},
2253
+ },
2254
+ {
2255
+ id: 'dsh-daoing-memory#memory/humanReleaseCold',
2256
+ service: 'memory',
2257
+ namespace: 'memory',
2258
+ method: 'humanReleaseCold',
2259
+ invocation: { kind: 'direct' },
2260
+ scope: {
2261
+ context: 'agent',
2262
+ wire: 'agentId',
2263
+ },
2264
+ parameters: [
2265
+ {
2266
+ name: 'agent',
2267
+ wire: 'agentId',
2268
+ source: 'lookup',
2269
+ lookup: 'agent',
2270
+ codec: {
2271
+ mode: 'strict',
2272
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2273
+ schema: _deepseek_ai_dsh_memory_memory_humanReleaseCold_parameter_0$schema,
2274
+ },
2275
+ },
2276
+ {
2277
+ name: 'request',
2278
+ wire: 'request',
2279
+ source: 'json',
2280
+ codec: {
2281
+ mode: 'strict',
2282
+ typeSymbol: 'dsh-daoing-memory/types#HumanReleaseColdRequest',
2283
+ schema: _deepseek_ai_dsh_memory_memory_humanReleaseCold_parameter_1$schema,
2284
+ },
2285
+ },
2286
+ ],
2287
+ result: {
2288
+ mode: 'strict',
2289
+ typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
2290
+ schema: _deepseek_ai_dsh_memory_memory_humanReleaseCold_result$schema,
2291
+ },
2292
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":321,"column":3},
2293
+ },
2294
+ {
2295
+ id: 'dsh-daoing-memory#memory/humanRollback',
2296
+ service: 'memory',
2297
+ namespace: 'memory',
2298
+ method: 'humanRollback',
2299
+ invocation: { kind: 'direct' },
2300
+ scope: {
2301
+ context: 'agent',
2302
+ wire: 'agentId',
2303
+ },
2304
+ parameters: [
2305
+ {
2306
+ name: 'agent',
2307
+ wire: 'agentId',
2308
+ source: 'lookup',
2309
+ lookup: 'agent',
2310
+ codec: {
2311
+ mode: 'strict',
2312
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2313
+ schema: _deepseek_ai_dsh_memory_memory_humanRollback_parameter_0$schema,
2314
+ },
2315
+ },
2316
+ {
2317
+ name: 'request',
2318
+ wire: 'request',
2319
+ source: 'json',
2320
+ codec: {
2321
+ mode: 'strict',
2322
+ typeSymbol: 'dsh-daoing-memory/types#RollbackExperienceRequest',
2323
+ schema: _deepseek_ai_dsh_memory_memory_humanRollback_parameter_1$schema,
2324
+ },
2325
+ },
2326
+ ],
2327
+ result: {
2328
+ mode: 'strict',
2329
+ typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
2330
+ schema: _deepseek_ai_dsh_memory_memory_humanRollback_result$schema,
2331
+ },
2332
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":328,"column":3},
2333
+ },
2334
+ {
2335
+ id: 'dsh-daoing-memory#memory/humanSetConcernStatus',
2336
+ service: 'memory',
2337
+ namespace: 'memory',
2338
+ method: 'humanSetConcernStatus',
2339
+ invocation: { kind: 'direct' },
2340
+ scope: {
2341
+ context: 'agent',
2342
+ wire: 'agentId',
2343
+ },
2344
+ parameters: [
2345
+ {
2346
+ name: 'agent',
2347
+ wire: 'agentId',
2348
+ source: 'lookup',
2349
+ lookup: 'agent',
2350
+ codec: {
2351
+ mode: 'strict',
2352
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2353
+ schema: _deepseek_ai_dsh_memory_memory_humanSetConcernStatus_parameter_0$schema,
2354
+ },
2355
+ },
2356
+ {
2357
+ name: 'request',
2358
+ wire: 'request',
2359
+ source: 'json',
2360
+ codec: {
2361
+ mode: 'strict',
2362
+ typeSymbol: 'dsh-daoing-memory/types#HumanSetConcernStatusRequest',
2363
+ schema: _deepseek_ai_dsh_memory_memory_humanSetConcernStatus_parameter_1$schema,
2364
+ },
2365
+ },
2366
+ ],
2367
+ result: {
2368
+ mode: 'strict',
2369
+ typeSymbol: 'dsh-daoing-memory#memory/humanSetConcernStatus:result',
2370
+ schema: _deepseek_ai_dsh_memory_memory_humanSetConcernStatus_result$schema,
2371
+ },
2372
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":371,"column":3},
2373
+ },
2374
+ {
2375
+ id: 'dsh-daoing-memory#memory/ingest',
2376
+ service: 'memory',
2377
+ namespace: 'memory',
2378
+ method: 'ingest',
2379
+ invocation: { kind: 'direct' },
2380
+ scope: {
2381
+ context: 'agent',
2382
+ wire: 'agentId',
2383
+ },
2384
+ parameters: [
2385
+ {
2386
+ name: 'agent',
2387
+ wire: 'agentId',
2388
+ source: 'lookup',
2389
+ lookup: 'agent',
2390
+ codec: {
2391
+ mode: 'strict',
2392
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2393
+ schema: _deepseek_ai_dsh_memory_memory_ingest_parameter_0$schema,
2394
+ },
2395
+ },
2396
+ {
2397
+ name: 'request',
2398
+ wire: 'request',
2399
+ source: 'json',
2400
+ codec: {
2401
+ mode: 'strict',
2402
+ typeSymbol: 'dsh-daoing-memory/types#IngestRequest',
2403
+ schema: _deepseek_ai_dsh_memory_memory_ingest_parameter_1$schema,
2404
+ },
2405
+ },
2406
+ ],
2407
+ result: {
2408
+ mode: 'strict',
2409
+ typeSymbol: 'dsh-daoing-memory/types#IngestResult',
2410
+ schema: _deepseek_ai_dsh_memory_memory_ingest_result$schema,
2411
+ },
2412
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":100,"column":3},
2413
+ },
2414
+ {
2415
+ id: 'dsh-daoing-memory#memory/ledgerQuery',
2416
+ service: 'memory',
2417
+ namespace: 'memory',
2418
+ method: 'ledgerQuery',
2419
+ invocation: { kind: 'direct' },
2420
+ scope: {
2421
+ context: 'agent',
2422
+ wire: 'agentId',
2423
+ },
2424
+ parameters: [
2425
+ {
2426
+ name: 'agent',
2427
+ wire: 'agentId',
2428
+ source: 'lookup',
2429
+ lookup: 'agent',
2430
+ codec: {
2431
+ mode: 'strict',
2432
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2433
+ schema: _deepseek_ai_dsh_memory_memory_ledgerQuery_parameter_0$schema,
2434
+ },
2435
+ },
2436
+ {
2437
+ name: 'request',
2438
+ wire: 'request',
2439
+ source: 'json',
2440
+ codec: {
2441
+ mode: 'strict',
2442
+ typeSymbol: 'dsh-daoing-memory/types#LedgerQueryRequest',
2443
+ schema: _deepseek_ai_dsh_memory_memory_ledgerQuery_parameter_1$schema,
2444
+ },
2445
+ },
2446
+ ],
2447
+ result: {
2448
+ mode: 'strict',
2449
+ typeSymbol: 'dsh-daoing-memory#memory/ledgerQuery:result',
2450
+ schema: _deepseek_ai_dsh_memory_memory_ledgerQuery_result$schema,
2451
+ },
2452
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":232,"column":3},
2453
+ },
2454
+ {
2455
+ id: 'dsh-daoing-memory#memory/ledgerQueryCount',
2456
+ service: 'memory',
2457
+ namespace: 'memory',
2458
+ method: 'ledgerQueryCount',
2459
+ invocation: { kind: 'direct' },
2460
+ scope: {
2461
+ context: 'agent',
2462
+ wire: 'agentId',
2463
+ },
2464
+ parameters: [
2465
+ {
2466
+ name: 'agent',
2467
+ wire: 'agentId',
2468
+ source: 'lookup',
2469
+ lookup: 'agent',
2470
+ codec: {
2471
+ mode: 'strict',
2472
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2473
+ schema: _deepseek_ai_dsh_memory_memory_ledgerQueryCount_parameter_0$schema,
2474
+ },
2475
+ },
2476
+ {
2477
+ name: 'request',
2478
+ wire: 'request',
2479
+ source: 'json',
2480
+ codec: {
2481
+ mode: 'strict',
2482
+ typeSymbol: 'dsh-daoing-memory/types#LedgerQueryRequest',
2483
+ schema: _deepseek_ai_dsh_memory_memory_ledgerQueryCount_parameter_1$schema,
2484
+ },
2485
+ },
2486
+ ],
2487
+ result: {
2488
+ mode: 'strict',
2489
+ typeSymbol: 'dsh-daoing-memory#memory/ledgerQueryCount:result',
2490
+ schema: _deepseek_ai_dsh_memory_memory_ledgerQueryCount_result$schema,
2491
+ },
2492
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":239,"column":3},
2493
+ },
2494
+ {
2495
+ id: 'dsh-daoing-memory#memory/list',
2496
+ service: 'memory',
2497
+ namespace: 'memory',
2498
+ method: 'list',
2499
+ invocation: { kind: 'direct' },
2500
+ scope: {
2501
+ context: 'agent',
2502
+ wire: 'agentId',
2503
+ },
2504
+ parameters: [
2505
+ {
2506
+ name: 'agent',
2507
+ wire: 'agentId',
2508
+ source: 'lookup',
2509
+ lookup: 'agent',
2510
+ codec: {
2511
+ mode: 'strict',
2512
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2513
+ schema: _deepseek_ai_dsh_memory_memory_list_parameter_0$schema,
2514
+ },
2515
+ },
2516
+ {
2517
+ name: 'filter',
2518
+ wire: 'filter',
2519
+ source: 'json',
2520
+ codec: {
2521
+ mode: 'strict',
2522
+ typeSymbol: 'dsh-daoing-memory/types#ExperienceListFilter',
2523
+ schema: _deepseek_ai_dsh_memory_memory_list_parameter_1$schema,
2524
+ },
2525
+ },
2526
+ ],
2527
+ result: {
2528
+ mode: 'strict',
2529
+ typeSymbol: 'dsh-daoing-memory#memory/list:result',
2530
+ schema: _deepseek_ai_dsh_memory_memory_list_result$schema,
2531
+ },
2532
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":131,"column":3},
2533
+ },
2534
+ {
2535
+ id: 'dsh-daoing-memory#memory/listConcerns',
2536
+ service: 'memory',
2537
+ namespace: 'memory',
2538
+ method: 'listConcerns',
2539
+ invocation: { kind: 'direct' },
2540
+ scope: {
2541
+ context: 'agent',
2542
+ wire: 'agentId',
2543
+ },
2544
+ parameters: [
2545
+ {
2546
+ name: 'agent',
2547
+ wire: 'agentId',
2548
+ source: 'lookup',
2549
+ lookup: 'agent',
2550
+ codec: {
2551
+ mode: 'strict',
2552
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2553
+ schema: _deepseek_ai_dsh_memory_memory_listConcerns_parameter_0$schema,
2554
+ },
2555
+ },
2556
+ {
2557
+ name: 'kind',
2558
+ wire: 'kind',
2559
+ source: 'json',
2560
+ codec: {
2561
+ mode: 'strict',
2562
+ typeSymbol: 'dsh-daoing-memory#memory/listConcerns:kind',
2563
+ schema: _deepseek_ai_dsh_memory_memory_listConcerns_parameter_1$schema,
2564
+ },
2565
+ },
2566
+ {
2567
+ name: 'status',
2568
+ wire: 'status',
2569
+ source: 'json',
2570
+ codec: {
2571
+ mode: 'strict',
2572
+ typeSymbol: 'dsh-daoing-memory#memory/listConcerns:status',
2573
+ schema: _deepseek_ai_dsh_memory_memory_listConcerns_parameter_2$schema,
2574
+ },
2575
+ },
2576
+ {
2577
+ name: 'limit',
2578
+ wire: 'limit',
2579
+ source: 'json',
2580
+ codec: {
2581
+ mode: 'strict',
2582
+ typeSymbol: 'dsh-daoing-memory#memory/listConcerns:limit',
2583
+ schema: _deepseek_ai_dsh_memory_memory_listConcerns_parameter_3$schema,
2584
+ },
2585
+ },
2586
+ {
2587
+ name: 'offset',
2588
+ wire: 'offset',
2589
+ source: 'json',
2590
+ codec: {
2591
+ mode: 'strict',
2592
+ typeSymbol: 'dsh-daoing-memory#memory/listConcerns:offset',
2593
+ schema: _deepseek_ai_dsh_memory_memory_listConcerns_parameter_4$schema,
2594
+ },
2595
+ },
2596
+ ],
2597
+ result: {
2598
+ mode: 'strict',
2599
+ typeSymbol: 'dsh-daoing-memory#memory/listConcerns:result',
2600
+ schema: _deepseek_ai_dsh_memory_memory_listConcerns_result$schema,
2601
+ },
2602
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":185,"column":3},
2603
+ },
2604
+ {
2605
+ id: 'dsh-daoing-memory#memory/listConcernsCount',
2606
+ service: 'memory',
2607
+ namespace: 'memory',
2608
+ method: 'listConcernsCount',
2609
+ invocation: { kind: 'direct' },
2610
+ scope: {
2611
+ context: 'agent',
2612
+ wire: 'agentId',
2613
+ },
2614
+ parameters: [
2615
+ {
2616
+ name: 'agent',
2617
+ wire: 'agentId',
2618
+ source: 'lookup',
2619
+ lookup: 'agent',
2620
+ codec: {
2621
+ mode: 'strict',
2622
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2623
+ schema: _deepseek_ai_dsh_memory_memory_listConcernsCount_parameter_0$schema,
2624
+ },
2625
+ },
2626
+ {
2627
+ name: 'kind',
2628
+ wire: 'kind',
2629
+ source: 'json',
2630
+ codec: {
2631
+ mode: 'strict',
2632
+ typeSymbol: 'dsh-daoing-memory#memory/listConcernsCount:kind',
2633
+ schema: _deepseek_ai_dsh_memory_memory_listConcernsCount_parameter_1$schema,
2634
+ },
2635
+ },
2636
+ {
2637
+ name: 'status',
2638
+ wire: 'status',
2639
+ source: 'json',
2640
+ codec: {
2641
+ mode: 'strict',
2642
+ typeSymbol: 'dsh-daoing-memory#memory/listConcernsCount:status',
2643
+ schema: _deepseek_ai_dsh_memory_memory_listConcernsCount_parameter_2$schema,
2644
+ },
2645
+ },
2646
+ ],
2647
+ result: {
2648
+ mode: 'strict',
2649
+ typeSymbol: 'dsh-daoing-memory#memory/listConcernsCount:result',
2650
+ schema: _deepseek_ai_dsh_memory_memory_listConcernsCount_result$schema,
2651
+ },
2652
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":192,"column":3},
2653
+ },
2654
+ {
2655
+ id: 'dsh-daoing-memory#memory/listDiary',
2656
+ service: 'memory',
2657
+ namespace: 'memory',
2658
+ method: 'listDiary',
2659
+ invocation: { kind: 'direct' },
2660
+ scope: {
2661
+ context: 'agent',
2662
+ wire: 'agentId',
2663
+ },
2664
+ parameters: [
2665
+ {
2666
+ name: 'agent',
2667
+ wire: 'agentId',
2668
+ source: 'lookup',
2669
+ lookup: 'agent',
2670
+ codec: {
2671
+ mode: 'strict',
2672
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2673
+ schema: _deepseek_ai_dsh_memory_memory_listDiary_parameter_0$schema,
2674
+ },
2675
+ },
2676
+ {
2677
+ name: 'limit',
2678
+ wire: 'limit',
2679
+ source: 'json',
2680
+ codec: {
2681
+ mode: 'strict',
2682
+ typeSymbol: 'dsh-daoing-memory#memory/listDiary:limit',
2683
+ schema: _deepseek_ai_dsh_memory_memory_listDiary_parameter_1$schema,
2684
+ },
2685
+ },
2686
+ {
2687
+ name: 'offset',
2688
+ wire: 'offset',
2689
+ source: 'json',
2690
+ codec: {
2691
+ mode: 'strict',
2692
+ typeSymbol: 'dsh-daoing-memory#memory/listDiary:offset',
2693
+ schema: _deepseek_ai_dsh_memory_memory_listDiary_parameter_2$schema,
2694
+ },
2695
+ },
2696
+ {
2697
+ name: 'onlyUnextracted',
2698
+ wire: 'onlyUnextracted',
2699
+ source: 'json',
2700
+ codec: {
2701
+ mode: 'strict',
2702
+ typeSymbol: 'dsh-daoing-memory#memory/listDiary:onlyUnextracted',
2703
+ schema: _deepseek_ai_dsh_memory_memory_listDiary_parameter_3$schema,
2704
+ },
2705
+ },
2706
+ ],
2707
+ result: {
2708
+ mode: 'strict',
2709
+ typeSymbol: 'dsh-daoing-memory#memory/listDiary:result',
2710
+ schema: _deepseek_ai_dsh_memory_memory_listDiary_result$schema,
2711
+ },
2712
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":157,"column":3},
2713
+ },
2714
+ {
2715
+ id: 'dsh-daoing-memory#memory/listFacts',
2716
+ service: 'memory',
2717
+ namespace: 'memory',
2718
+ method: 'listFacts',
2719
+ invocation: { kind: 'direct' },
2720
+ scope: {
2721
+ context: 'agent',
2722
+ wire: 'agentId',
2723
+ },
2724
+ parameters: [
2725
+ {
2726
+ name: 'agent',
2727
+ wire: 'agentId',
2728
+ source: 'lookup',
2729
+ lookup: 'agent',
2730
+ codec: {
2731
+ mode: 'strict',
2732
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2733
+ schema: _deepseek_ai_dsh_memory_memory_listFacts_parameter_0$schema,
2734
+ },
2735
+ },
2736
+ {
2737
+ name: 'category',
2738
+ wire: 'category',
2739
+ source: 'json',
2740
+ codec: {
2741
+ mode: 'strict',
2742
+ typeSymbol: 'dsh-daoing-memory#memory/listFacts:category',
2743
+ schema: _deepseek_ai_dsh_memory_memory_listFacts_parameter_1$schema,
2744
+ },
2745
+ },
2746
+ {
2747
+ name: 'includeHistory',
2748
+ wire: 'includeHistory',
2749
+ source: 'json',
2750
+ codec: {
2751
+ mode: 'strict',
2752
+ typeSymbol: 'dsh-daoing-memory#memory/listFacts:includeHistory',
2753
+ schema: _deepseek_ai_dsh_memory_memory_listFacts_parameter_2$schema,
2754
+ },
2755
+ },
2756
+ {
2757
+ name: 'limit',
2758
+ wire: 'limit',
2759
+ source: 'json',
2760
+ codec: {
2761
+ mode: 'strict',
2762
+ typeSymbol: 'dsh-daoing-memory#memory/listFacts:limit',
2763
+ schema: _deepseek_ai_dsh_memory_memory_listFacts_parameter_3$schema,
2764
+ },
2765
+ },
2766
+ {
2767
+ name: 'offset',
2768
+ wire: 'offset',
2769
+ source: 'json',
2770
+ codec: {
2771
+ mode: 'strict',
2772
+ typeSymbol: 'dsh-daoing-memory#memory/listFacts:offset',
2773
+ schema: _deepseek_ai_dsh_memory_memory_listFacts_parameter_4$schema,
2774
+ },
2775
+ },
2776
+ ],
2777
+ result: {
2778
+ mode: 'strict',
2779
+ typeSymbol: 'dsh-daoing-memory#memory/listFacts:result',
2780
+ schema: _deepseek_ai_dsh_memory_memory_listFacts_result$schema,
2781
+ },
2782
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":171,"column":3},
2783
+ },
2784
+ {
2785
+ id: 'dsh-daoing-memory#memory/listFactsCount',
2786
+ service: 'memory',
2787
+ namespace: 'memory',
2788
+ method: 'listFactsCount',
2789
+ invocation: { kind: 'direct' },
2790
+ scope: {
2791
+ context: 'agent',
2792
+ wire: 'agentId',
2793
+ },
2794
+ parameters: [
2795
+ {
2796
+ name: 'agent',
2797
+ wire: 'agentId',
2798
+ source: 'lookup',
2799
+ lookup: 'agent',
2800
+ codec: {
2801
+ mode: 'strict',
2802
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2803
+ schema: _deepseek_ai_dsh_memory_memory_listFactsCount_parameter_0$schema,
2804
+ },
2805
+ },
2806
+ {
2807
+ name: 'category',
2808
+ wire: 'category',
2809
+ source: 'json',
2810
+ codec: {
2811
+ mode: 'strict',
2812
+ typeSymbol: 'dsh-daoing-memory#memory/listFactsCount:category',
2813
+ schema: _deepseek_ai_dsh_memory_memory_listFactsCount_parameter_1$schema,
2814
+ },
2815
+ },
2816
+ {
2817
+ name: 'includeHistory',
2818
+ wire: 'includeHistory',
2819
+ source: 'json',
2820
+ codec: {
2821
+ mode: 'strict',
2822
+ typeSymbol: 'dsh-daoing-memory#memory/listFactsCount:includeHistory',
2823
+ schema: _deepseek_ai_dsh_memory_memory_listFactsCount_parameter_2$schema,
2824
+ },
2825
+ },
2826
+ ],
2827
+ result: {
2828
+ mode: 'strict',
2829
+ typeSymbol: 'dsh-daoing-memory#memory/listFactsCount:result',
2830
+ schema: _deepseek_ai_dsh_memory_memory_listFactsCount_result$schema,
2831
+ },
2832
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":178,"column":3},
2833
+ },
2834
+ {
2835
+ id: 'dsh-daoing-memory#memory/recall',
2836
+ service: 'memory',
2837
+ namespace: 'memory',
2838
+ method: 'recall',
2839
+ invocation: { kind: 'direct' },
2840
+ scope: {
2841
+ context: 'agent',
2842
+ wire: 'agentId',
2843
+ },
2844
+ parameters: [
2845
+ {
2846
+ name: 'agent',
2847
+ wire: 'agentId',
2848
+ source: 'lookup',
2849
+ lookup: 'agent',
2850
+ codec: {
2851
+ mode: 'strict',
2852
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2853
+ schema: _deepseek_ai_dsh_memory_memory_recall_parameter_0$schema,
2854
+ },
2855
+ },
2856
+ {
2857
+ name: 'request',
2858
+ wire: 'request',
2859
+ source: 'json',
2860
+ codec: {
2861
+ mode: 'strict',
2862
+ typeSymbol: 'dsh-daoing-memory/types#RecallExperiencesRequest',
2863
+ schema: _deepseek_ai_dsh_memory_memory_recall_parameter_1$schema,
2864
+ },
2865
+ },
2866
+ ],
2867
+ result: {
2868
+ mode: 'strict',
2869
+ typeSymbol: 'dsh-daoing-memory/types#RecallExperiencesResult',
2870
+ schema: _deepseek_ai_dsh_memory_memory_recall_result$schema,
2871
+ },
2872
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":88,"column":3},
2873
+ },
2874
+ {
2875
+ id: 'dsh-daoing-memory#memory/refine',
2876
+ service: 'memory',
2877
+ namespace: 'memory',
2878
+ method: 'refine',
2879
+ invocation: { kind: 'direct' },
2880
+ scope: {
2881
+ context: 'agent',
2882
+ wire: 'agentId',
2883
+ },
2884
+ parameters: [
2885
+ {
2886
+ name: 'agent',
2887
+ wire: 'agentId',
2888
+ source: 'lookup',
2889
+ lookup: 'agent',
2890
+ codec: {
2891
+ mode: 'strict',
2892
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2893
+ schema: _deepseek_ai_dsh_memory_memory_refine_parameter_0$schema,
2894
+ },
2895
+ },
2896
+ {
2897
+ name: 'request',
2898
+ wire: 'request',
2899
+ source: 'json',
2900
+ codec: {
2901
+ mode: 'strict',
2902
+ typeSymbol: 'dsh-daoing-memory/types#RefineExperienceRequest',
2903
+ schema: _deepseek_ai_dsh_memory_memory_refine_parameter_1$schema,
2904
+ },
2905
+ },
2906
+ ],
2907
+ result: {
2908
+ mode: 'strict',
2909
+ typeSymbol: 'dsh-daoing-memory/types#RefineExperienceResult',
2910
+ schema: _deepseek_ai_dsh_memory_memory_refine_result$schema,
2911
+ },
2912
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":82,"column":3},
2913
+ },
2914
+ {
2915
+ id: 'dsh-daoing-memory#memory/report',
2916
+ service: 'memory',
2917
+ namespace: 'memory',
2918
+ method: 'report',
2919
+ invocation: { kind: 'direct' },
2920
+ scope: {
2921
+ context: 'agent',
2922
+ wire: 'agentId',
2923
+ },
2924
+ parameters: [
2925
+ {
2926
+ name: 'agent',
2927
+ wire: 'agentId',
2928
+ source: 'lookup',
2929
+ lookup: 'agent',
2930
+ codec: {
2931
+ mode: 'strict',
2932
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2933
+ schema: _deepseek_ai_dsh_memory_memory_report_parameter_0$schema,
2934
+ },
2935
+ },
2936
+ {
2937
+ name: 'request',
2938
+ wire: 'request',
2939
+ source: 'json',
2940
+ codec: {
2941
+ mode: 'strict',
2942
+ typeSymbol: 'dsh-daoing-memory/types#ReportUseRequest',
2943
+ schema: _deepseek_ai_dsh_memory_memory_report_parameter_1$schema,
2944
+ },
2945
+ },
2946
+ ],
2947
+ result: {
2948
+ mode: 'strict',
2949
+ typeSymbol: 'dsh-daoing-memory/types#ReportUseResult',
2950
+ schema: _deepseek_ai_dsh_memory_memory_report_result$schema,
2951
+ },
2952
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":94,"column":3},
2953
+ },
2954
+ {
2955
+ id: 'dsh-daoing-memory#memory/revise',
2956
+ service: 'memory',
2957
+ namespace: 'memory',
2958
+ method: 'revise',
2959
+ invocation: { kind: 'direct' },
2960
+ scope: {
2961
+ context: 'agent',
2962
+ wire: 'agentId',
2963
+ },
2964
+ parameters: [
2965
+ {
2966
+ name: 'agent',
2967
+ wire: 'agentId',
2968
+ source: 'lookup',
2969
+ lookup: 'agent',
2970
+ codec: {
2971
+ mode: 'strict',
2972
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
2973
+ schema: _deepseek_ai_dsh_memory_memory_revise_parameter_0$schema,
2974
+ },
2975
+ },
2976
+ {
2977
+ name: 'request',
2978
+ wire: 'request',
2979
+ source: 'json',
2980
+ codec: {
2981
+ mode: 'strict',
2982
+ typeSymbol: 'dsh-daoing-memory/types#ReviseExperienceRequest',
2983
+ schema: _deepseek_ai_dsh_memory_memory_revise_parameter_1$schema,
2984
+ },
2985
+ },
2986
+ ],
2987
+ result: {
2988
+ mode: 'strict',
2989
+ typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
2990
+ schema: _deepseek_ai_dsh_memory_memory_revise_result$schema,
2991
+ },
2992
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":106,"column":3},
2993
+ },
2994
+ {
2995
+ id: 'dsh-daoing-memory#memory/rollback',
2996
+ service: 'memory',
2997
+ namespace: 'memory',
2998
+ method: 'rollback',
2999
+ invocation: { kind: 'direct' },
3000
+ scope: {
3001
+ context: 'agent',
3002
+ wire: 'agentId',
3003
+ },
3004
+ parameters: [
3005
+ {
3006
+ name: 'agent',
3007
+ wire: 'agentId',
3008
+ source: 'lookup',
3009
+ lookup: 'agent',
3010
+ codec: {
3011
+ mode: 'strict',
3012
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
3013
+ schema: _deepseek_ai_dsh_memory_memory_rollback_parameter_0$schema,
3014
+ },
3015
+ },
3016
+ {
3017
+ name: 'request',
3018
+ wire: 'request',
3019
+ source: 'json',
3020
+ codec: {
3021
+ mode: 'strict',
3022
+ typeSymbol: 'dsh-daoing-memory/types#RollbackExperienceRequest',
3023
+ schema: _deepseek_ai_dsh_memory_memory_rollback_parameter_1$schema,
3024
+ },
3025
+ },
3026
+ ],
3027
+ result: {
3028
+ mode: 'strict',
3029
+ typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
3030
+ schema: _deepseek_ai_dsh_memory_memory_rollback_result$schema,
3031
+ },
3032
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":118,"column":3},
3033
+ },
3034
+ {
3035
+ id: 'dsh-daoing-memory#memory/stats',
3036
+ service: 'memory',
3037
+ namespace: 'memory',
3038
+ method: 'stats',
3039
+ invocation: { kind: 'direct' },
3040
+ scope: {
3041
+ context: 'agent',
3042
+ wire: 'agentId',
3043
+ },
3044
+ parameters: [
3045
+ {
3046
+ name: 'agent',
3047
+ wire: 'agentId',
3048
+ source: 'lookup',
3049
+ lookup: 'agent',
3050
+ codec: {
3051
+ mode: 'strict',
3052
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
3053
+ schema: _deepseek_ai_dsh_memory_memory_stats_parameter_0$schema,
3054
+ },
3055
+ },
3056
+ ],
3057
+ result: {
3058
+ mode: 'strict',
3059
+ typeSymbol: 'dsh-daoing-memory/types#MemoryStats',
3060
+ schema: _deepseek_ai_dsh_memory_memory_stats_result$schema,
3061
+ },
3062
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":253,"column":3},
3063
+ },
3064
+ {
3065
+ id: 'dsh-daoing-memory#memory/verifyLedger',
3066
+ service: 'memory',
3067
+ namespace: 'memory',
3068
+ method: 'verifyLedger',
3069
+ invocation: { kind: 'direct' },
3070
+ scope: {
3071
+ context: 'agent',
3072
+ wire: 'agentId',
3073
+ },
3074
+ parameters: [
3075
+ {
3076
+ name: 'agent',
3077
+ wire: 'agentId',
3078
+ source: 'lookup',
3079
+ lookup: 'agent',
3080
+ codec: {
3081
+ mode: 'strict',
3082
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
3083
+ schema: _deepseek_ai_dsh_memory_memory_verifyLedger_parameter_0$schema,
3084
+ },
3085
+ },
3086
+ ],
3087
+ result: {
3088
+ mode: 'strict',
3089
+ typeSymbol: 'dsh-daoing-memory/types#LedgerIntegrityResult',
3090
+ schema: _deepseek_ai_dsh_memory_memory_verifyLedger_result$schema,
3091
+ },
3092
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":246,"column":3},
3093
+ },
3094
+ {
3095
+ id: 'dsh-daoing-memory#memory/verifyShadow',
3096
+ service: 'memory',
3097
+ namespace: 'memory',
3098
+ method: 'verifyShadow',
3099
+ invocation: { kind: 'direct' },
3100
+ scope: {
3101
+ context: 'agent',
3102
+ wire: 'agentId',
3103
+ },
3104
+ parameters: [
3105
+ {
3106
+ name: 'agent',
3107
+ wire: 'agentId',
3108
+ source: 'lookup',
3109
+ lookup: 'agent',
3110
+ codec: {
3111
+ mode: 'strict',
3112
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
3113
+ schema: _deepseek_ai_dsh_memory_memory_verifyShadow_parameter_0$schema,
3114
+ },
3115
+ },
3116
+ {
3117
+ name: 'request',
3118
+ wire: 'request',
3119
+ source: 'json',
3120
+ codec: {
3121
+ mode: 'strict',
3122
+ typeSymbol: 'dsh-daoing-memory/types#VerifyShadowRequest',
3123
+ schema: _deepseek_ai_dsh_memory_memory_verifyShadow_parameter_1$schema,
3124
+ },
3125
+ },
3126
+ ],
3127
+ result: {
3128
+ mode: 'strict',
3129
+ typeSymbol: 'dsh-daoing-memory/types#VerifyShadowResult',
3130
+ schema: _deepseek_ai_dsh_memory_memory_verifyShadow_result$schema,
3131
+ },
3132
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":112,"column":3},
3133
+ },
3134
+ {
3135
+ id: 'dsh-daoing-memory#memory/workbenchInfo',
3136
+ service: 'memory',
3137
+ namespace: 'memory',
3138
+ method: 'workbenchInfo',
3139
+ invocation: { kind: 'direct' },
3140
+ scope: {
3141
+ context: 'agent',
3142
+ wire: 'agentId',
3143
+ },
3144
+ parameters: [
3145
+ {
3146
+ name: 'agent',
3147
+ wire: 'agentId',
3148
+ source: 'lookup',
3149
+ lookup: 'agent',
3150
+ codec: {
3151
+ mode: 'strict',
3152
+ typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
3153
+ schema: _deepseek_ai_dsh_memory_memory_workbenchInfo_parameter_0$schema,
3154
+ },
3155
+ },
3156
+ ],
3157
+ result: {
3158
+ mode: 'strict',
3159
+ typeSymbol: 'dsh-daoing-memory/types#MemoryWorkbenchInfo',
3160
+ schema: _deepseek_ai_dsh_memory_memory_workbenchInfo_result$schema,
3161
+ },
3162
+ sourceLocation: {"file":"packages/memory/memory/src/service.ts","line":260,"column":3},
3163
+ },
3164
+ ],
3165
+ }
3166
+
3167
+ export default TYPERT_REMOTE