dsh-daoing-memory 0.1.6 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.js +392 -119
- package/lib/client.js.map +1 -1
- package/lib/index.js +315 -6
- package/lib/typert.host.js +242 -63
- package/lib/typert.remote-client.d.ts +10 -1
- package/lib/typert.remote-client.js +214 -60
- package/lib/types/core.d.ts +39 -1
- package/lib/types/core.js +120 -0
- package/lib/types/index.d.ts +4 -0
- package/lib/types/index.js +5 -0
- package/lib/types/service.d.ts +27 -2
- package/lib/types/service.js +113 -1
- package/lib/types/store.d.ts +16 -0
- package/lib/types/store.js +33 -0
- package/lib/types/types.d.ts +18 -0
- package/lib/types/types.js +14 -1
- package/package.json +1 -1
package/lib/typert.host.js
CHANGED
|
@@ -67,7 +67,7 @@ const dsh_daoing_memory_memory_exportLibrary_result$schema = z.object({
|
|
|
67
67
|
'id': z.string(),
|
|
68
68
|
'revision': z.number(),
|
|
69
69
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
70
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
70
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
71
71
|
'family': z.string(),
|
|
72
72
|
'gist': z.string(),
|
|
73
73
|
'situation': z.array(z.string()),
|
|
@@ -235,6 +235,7 @@ const dsh_daoing_memory_memory_extract_result$schema = z.object({
|
|
|
235
235
|
'reason': z.string(),
|
|
236
236
|
})),
|
|
237
237
|
'appliedConcerns': z.number(),
|
|
238
|
+
'deletionFeedback': z.string().optional(),
|
|
238
239
|
})
|
|
239
240
|
const dsh_daoing_memory_memory_extractionLog_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
240
241
|
const dsh_daoing_memory_memory_extractionLog_parameter_1$schema = z.number()
|
|
@@ -255,7 +256,7 @@ const dsh_daoing_memory_memory_family_result$schema = z.array(z.object({
|
|
|
255
256
|
'id': z.string(),
|
|
256
257
|
'revision': z.number(),
|
|
257
258
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
258
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
259
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
259
260
|
'family': z.string(),
|
|
260
261
|
'gist': z.string(),
|
|
261
262
|
'situation': z.array(z.string()),
|
|
@@ -297,7 +298,47 @@ const dsh_daoing_memory_memory_get_result$schema = z.union([z.undefined(), z.obj
|
|
|
297
298
|
'id': z.string(),
|
|
298
299
|
'revision': z.number(),
|
|
299
300
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
300
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
301
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
302
|
+
'family': z.string(),
|
|
303
|
+
'gist': z.string(),
|
|
304
|
+
'situation': z.array(z.string()),
|
|
305
|
+
'path': z.array(z.object({
|
|
306
|
+
'order': z.number(),
|
|
307
|
+
'action': z.string(),
|
|
308
|
+
})),
|
|
309
|
+
'reasoning': z.string(),
|
|
310
|
+
'limits': z.array(z.string()),
|
|
311
|
+
'status': z.union([z.literal("candidate"), z.literal("live"), z.literal("challenged"), z.literal("superseded"), z.literal("archived"), z.literal("cold")]),
|
|
312
|
+
'alpha': z.number(),
|
|
313
|
+
'beta': z.number(),
|
|
314
|
+
'samples': z.number(),
|
|
315
|
+
'trust': z.number(),
|
|
316
|
+
'weightedTrust': z.number(),
|
|
317
|
+
'lastVerifiedAt': z.number().optional(),
|
|
318
|
+
'pinned': z.boolean(),
|
|
319
|
+
'tokensSaved': z.number(),
|
|
320
|
+
'tokensSpent': z.number(),
|
|
321
|
+
'parentRevision': z.number().optional(),
|
|
322
|
+
'failureReason': z.string().optional(),
|
|
323
|
+
'evidence': z.object({
|
|
324
|
+
'traceRef': z.string().optional(),
|
|
325
|
+
'sessionRef': z.string().optional(),
|
|
326
|
+
'note': z.string().optional(),
|
|
327
|
+
}).optional(),
|
|
328
|
+
'challengeReason': z.string().optional(),
|
|
329
|
+
'context': z.string(),
|
|
330
|
+
'verifiedCount': z.number(),
|
|
331
|
+
'rejectCount': z.number(),
|
|
332
|
+
'globalFlag': z.boolean(),
|
|
333
|
+
'createdAt': z.number(),
|
|
334
|
+
'updatedAt': z.number(),
|
|
335
|
+
})])
|
|
336
|
+
const dsh_daoing_memory_memory_getDeletionFeedback_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
337
|
+
const dsh_daoing_memory_memory_getDeletionFeedback_result$schema = z.union([z.literal(null), z.object({
|
|
338
|
+
'id': z.string(),
|
|
339
|
+
'revision': z.number(),
|
|
340
|
+
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
341
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
301
342
|
'family': z.string(),
|
|
302
343
|
'gist': z.string(),
|
|
303
344
|
'situation': z.array(z.string()),
|
|
@@ -377,7 +418,7 @@ const dsh_daoing_memory_memory_humanAddExperience_result$schema = z.object({
|
|
|
377
418
|
'id': z.string(),
|
|
378
419
|
'revision': z.number(),
|
|
379
420
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
380
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
421
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
381
422
|
'family': z.string(),
|
|
382
423
|
'gist': z.string(),
|
|
383
424
|
'situation': z.array(z.string()),
|
|
@@ -436,6 +477,14 @@ const dsh_daoing_memory_memory_humanAddFact_result$schema = z.object({
|
|
|
436
477
|
'deleted': z.boolean(),
|
|
437
478
|
'conflictPending': z.boolean(),
|
|
438
479
|
})
|
|
480
|
+
const dsh_daoing_memory_memory_humanArchiveExperience_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
481
|
+
const dsh_daoing_memory_memory_humanArchiveExperience_parameter_1$schema = z.object({
|
|
482
|
+
'id': z.string(),
|
|
483
|
+
'reason': z.string(),
|
|
484
|
+
})
|
|
485
|
+
const dsh_daoing_memory_memory_humanArchiveExperience_result$schema = z.object({
|
|
486
|
+
'archived': z.literal(true),
|
|
487
|
+
})
|
|
439
488
|
const dsh_daoing_memory_memory_humanConfirmFact_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
440
489
|
const dsh_daoing_memory_memory_humanConfirmFact_parameter_1$schema = z.object({
|
|
441
490
|
'factId': z.string(),
|
|
@@ -502,7 +551,7 @@ const dsh_daoing_memory_memory_humanEditExperience_result$schema = z.object({
|
|
|
502
551
|
'id': z.string(),
|
|
503
552
|
'revision': z.number(),
|
|
504
553
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
505
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
554
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
506
555
|
'family': z.string(),
|
|
507
556
|
'gist': z.string(),
|
|
508
557
|
'situation': z.array(z.string()),
|
|
@@ -569,7 +618,7 @@ const dsh_daoing_memory_memory_humanPin_result$schema = z.object({
|
|
|
569
618
|
'id': z.string(),
|
|
570
619
|
'revision': z.number(),
|
|
571
620
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
572
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
621
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
573
622
|
'family': z.string(),
|
|
574
623
|
'gist': z.string(),
|
|
575
624
|
'situation': z.array(z.string()),
|
|
@@ -611,7 +660,7 @@ const dsh_daoing_memory_memory_humanPromote_result$schema = z.object({
|
|
|
611
660
|
'id': z.string(),
|
|
612
661
|
'revision': z.number(),
|
|
613
662
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
614
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
663
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
615
664
|
'family': z.string(),
|
|
616
665
|
'gist': z.string(),
|
|
617
666
|
'situation': z.array(z.string()),
|
|
@@ -655,7 +704,7 @@ const dsh_daoing_memory_memory_humanReleaseCold_result$schema = z.object({
|
|
|
655
704
|
'id': z.string(),
|
|
656
705
|
'revision': z.number(),
|
|
657
706
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
658
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
707
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
659
708
|
'family': z.string(),
|
|
660
709
|
'gist': z.string(),
|
|
661
710
|
'situation': z.array(z.string()),
|
|
@@ -700,7 +749,7 @@ const dsh_daoing_memory_memory_humanRollback_result$schema = z.object({
|
|
|
700
749
|
'id': z.string(),
|
|
701
750
|
'revision': z.number(),
|
|
702
751
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
703
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
752
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
704
753
|
'family': z.string(),
|
|
705
754
|
'gist': z.string(),
|
|
706
755
|
'situation': z.array(z.string()),
|
|
@@ -769,7 +818,7 @@ const dsh_daoing_memory_memory_ingest_result$schema = z.object({
|
|
|
769
818
|
'id': z.string(),
|
|
770
819
|
'revision': z.number(),
|
|
771
820
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
772
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
821
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
773
822
|
'family': z.string(),
|
|
774
823
|
'gist': z.string(),
|
|
775
824
|
'situation': z.array(z.string()),
|
|
@@ -857,7 +906,7 @@ const dsh_daoing_memory_memory_list_result$schema = z.array(z.object({
|
|
|
857
906
|
'id': z.string(),
|
|
858
907
|
'revision': z.number(),
|
|
859
908
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
860
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
909
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
861
910
|
'family': z.string(),
|
|
862
911
|
'gist': z.string(),
|
|
863
912
|
'situation': z.array(z.string()),
|
|
@@ -980,7 +1029,7 @@ const dsh_daoing_memory_memory_recall_result$schema = z.object({
|
|
|
980
1029
|
'id': z.string(),
|
|
981
1030
|
'revision': z.number(),
|
|
982
1031
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
983
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
1032
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
984
1033
|
'family': z.string(),
|
|
985
1034
|
'gist': z.string(),
|
|
986
1035
|
'situation': z.array(z.string()),
|
|
@@ -1028,7 +1077,7 @@ const dsh_daoing_memory_memory_recall_result$schema = z.object({
|
|
|
1028
1077
|
'id': z.string(),
|
|
1029
1078
|
'revision': z.number(),
|
|
1030
1079
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
1031
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
1080
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
1032
1081
|
'family': z.string(),
|
|
1033
1082
|
'gist': z.string(),
|
|
1034
1083
|
'situation': z.array(z.string()),
|
|
@@ -1100,7 +1149,7 @@ const dsh_daoing_memory_memory_refine_result$schema = z.object({
|
|
|
1100
1149
|
'id': z.string(),
|
|
1101
1150
|
'revision': z.number(),
|
|
1102
1151
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
1103
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
1152
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
1104
1153
|
'family': z.string(),
|
|
1105
1154
|
'gist': z.string(),
|
|
1106
1155
|
'situation': z.array(z.string()),
|
|
@@ -1157,7 +1206,7 @@ const dsh_daoing_memory_memory_report_result$schema = z.object({
|
|
|
1157
1206
|
'id': z.string(),
|
|
1158
1207
|
'revision': z.number(),
|
|
1159
1208
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
1160
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
1209
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
1161
1210
|
'family': z.string(),
|
|
1162
1211
|
'gist': z.string(),
|
|
1163
1212
|
'situation': z.array(z.string()),
|
|
@@ -1217,7 +1266,7 @@ const dsh_daoing_memory_memory_revise_result$schema = z.object({
|
|
|
1217
1266
|
'id': z.string(),
|
|
1218
1267
|
'revision': z.number(),
|
|
1219
1268
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
1220
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
1269
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
1221
1270
|
'family': z.string(),
|
|
1222
1271
|
'gist': z.string(),
|
|
1223
1272
|
'situation': z.array(z.string()),
|
|
@@ -1262,7 +1311,7 @@ const dsh_daoing_memory_memory_rollback_result$schema = z.object({
|
|
|
1262
1311
|
'id': z.string(),
|
|
1263
1312
|
'revision': z.number(),
|
|
1264
1313
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
1265
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
1314
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
1266
1315
|
'family': z.string(),
|
|
1267
1316
|
'gist': z.string(),
|
|
1268
1317
|
'situation': z.array(z.string()),
|
|
@@ -1297,6 +1346,11 @@ const dsh_daoing_memory_memory_rollback_result$schema = z.object({
|
|
|
1297
1346
|
'createdAt': z.number(),
|
|
1298
1347
|
'updatedAt': z.number(),
|
|
1299
1348
|
})
|
|
1349
|
+
const dsh_daoing_memory_memory_runDeletionFeedback_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
1350
|
+
const dsh_daoing_memory_memory_runDeletionFeedback_result$schema = z.object({
|
|
1351
|
+
'ran': z.boolean(),
|
|
1352
|
+
'summary': z.string().optional(),
|
|
1353
|
+
})
|
|
1300
1354
|
const dsh_daoing_memory_memory_stats_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
1301
1355
|
const dsh_daoing_memory_memory_stats_result$schema = z.object({
|
|
1302
1356
|
'experiences': z.object({
|
|
@@ -1361,7 +1415,7 @@ const dsh_daoing_memory_memory_verifyShadow_result$schema = z.object({
|
|
|
1361
1415
|
'id': z.string(),
|
|
1362
1416
|
'revision': z.number(),
|
|
1363
1417
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
1364
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
1418
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
1365
1419
|
'family': z.string(),
|
|
1366
1420
|
'gist': z.string(),
|
|
1367
1421
|
'situation': z.array(z.string()),
|
|
@@ -1451,7 +1505,7 @@ export const TYPERT = {
|
|
|
1451
1505
|
typeSymbol: 'dsh-daoing-memory/types#DiaryAppendResult',
|
|
1452
1506
|
schema: dsh_daoing_memory_memory_appendDiary_result$schema,
|
|
1453
1507
|
},
|
|
1454
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1508
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":147,"column":3},
|
|
1455
1509
|
},
|
|
1456
1510
|
{
|
|
1457
1511
|
id: 'dsh-daoing-memory#memory/consolidate',
|
|
@@ -1491,7 +1545,7 @@ export const TYPERT = {
|
|
|
1491
1545
|
typeSymbol: 'dsh-daoing-memory/types#ConsolidateResult',
|
|
1492
1546
|
schema: dsh_daoing_memory_memory_consolidate_result$schema,
|
|
1493
1547
|
},
|
|
1494
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1548
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":327,"column":3},
|
|
1495
1549
|
},
|
|
1496
1550
|
{
|
|
1497
1551
|
id: 'dsh-daoing-memory#memory/consolidationDue',
|
|
@@ -1521,7 +1575,7 @@ export const TYPERT = {
|
|
|
1521
1575
|
typeSymbol: 'dsh-daoing-memory#memory/consolidationDue:result',
|
|
1522
1576
|
schema: dsh_daoing_memory_memory_consolidationDue_result$schema,
|
|
1523
1577
|
},
|
|
1524
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1578
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":334,"column":3},
|
|
1525
1579
|
},
|
|
1526
1580
|
{
|
|
1527
1581
|
id: 'dsh-daoing-memory#memory/exportLibrary',
|
|
@@ -1551,7 +1605,7 @@ export const TYPERT = {
|
|
|
1551
1605
|
typeSymbol: 'dsh-daoing-memory/types#MemoryExport',
|
|
1552
1606
|
schema: dsh_daoing_memory_memory_exportLibrary_result$schema,
|
|
1553
1607
|
},
|
|
1554
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1608
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":376,"column":3},
|
|
1555
1609
|
},
|
|
1556
1610
|
{
|
|
1557
1611
|
id: 'dsh-daoing-memory#memory/extract',
|
|
@@ -1591,7 +1645,7 @@ export const TYPERT = {
|
|
|
1591
1645
|
typeSymbol: 'dsh-daoing-memory/types#ExtractFactsResult',
|
|
1592
1646
|
schema: dsh_daoing_memory_memory_extract_result$schema,
|
|
1593
1647
|
},
|
|
1594
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1648
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":153,"column":9},
|
|
1595
1649
|
},
|
|
1596
1650
|
{
|
|
1597
1651
|
id: 'dsh-daoing-memory#memory/extractionLog',
|
|
@@ -1641,7 +1695,7 @@ export const TYPERT = {
|
|
|
1641
1695
|
typeSymbol: 'dsh-daoing-memory#memory/extractionLog:result',
|
|
1642
1696
|
schema: dsh_daoing_memory_memory_extractionLog_result$schema,
|
|
1643
1697
|
},
|
|
1644
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1698
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":313,"column":3},
|
|
1645
1699
|
},
|
|
1646
1700
|
{
|
|
1647
1701
|
id: 'dsh-daoing-memory#memory/extractionLogCount',
|
|
@@ -1671,7 +1725,7 @@ export const TYPERT = {
|
|
|
1671
1725
|
typeSymbol: 'dsh-daoing-memory#memory/extractionLogCount:result',
|
|
1672
1726
|
schema: dsh_daoing_memory_memory_extractionLogCount_result$schema,
|
|
1673
1727
|
},
|
|
1674
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1728
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":320,"column":3},
|
|
1675
1729
|
},
|
|
1676
1730
|
{
|
|
1677
1731
|
id: 'dsh-daoing-memory#memory/family',
|
|
@@ -1711,7 +1765,7 @@ export const TYPERT = {
|
|
|
1711
1765
|
typeSymbol: 'dsh-daoing-memory#memory/family:result',
|
|
1712
1766
|
schema: dsh_daoing_memory_memory_family_result$schema,
|
|
1713
1767
|
},
|
|
1714
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1768
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":140,"column":3},
|
|
1715
1769
|
},
|
|
1716
1770
|
{
|
|
1717
1771
|
id: 'dsh-daoing-memory#memory/get',
|
|
@@ -1762,7 +1816,37 @@ export const TYPERT = {
|
|
|
1762
1816
|
typeSymbol: 'dsh-daoing-memory#memory/get:result',
|
|
1763
1817
|
schema: dsh_daoing_memory_memory_get_result$schema,
|
|
1764
1818
|
},
|
|
1765
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1819
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":126,"column":3},
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
id: 'dsh-daoing-memory#memory/getDeletionFeedback',
|
|
1823
|
+
service: 'memory',
|
|
1824
|
+
namespace: 'memory',
|
|
1825
|
+
method: 'getDeletionFeedback',
|
|
1826
|
+
invocation: { kind: 'direct' },
|
|
1827
|
+
scope: {
|
|
1828
|
+
context: 'agent',
|
|
1829
|
+
wire: 'agentId',
|
|
1830
|
+
},
|
|
1831
|
+
parameters: [
|
|
1832
|
+
{
|
|
1833
|
+
name: 'agent',
|
|
1834
|
+
wire: 'agentId',
|
|
1835
|
+
source: 'lookup',
|
|
1836
|
+
lookup: 'agent',
|
|
1837
|
+
codec: {
|
|
1838
|
+
mode: 'strict',
|
|
1839
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
1840
|
+
schema: dsh_daoing_memory_memory_getDeletionFeedback_parameter_0$schema,
|
|
1841
|
+
},
|
|
1842
|
+
},
|
|
1843
|
+
],
|
|
1844
|
+
result: {
|
|
1845
|
+
mode: 'strict',
|
|
1846
|
+
typeSymbol: 'dsh-daoing-memory#memory/getDeletionFeedback:result',
|
|
1847
|
+
schema: dsh_daoing_memory_memory_getDeletionFeedback_result$schema,
|
|
1848
|
+
},
|
|
1849
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":259,"column":3},
|
|
1766
1850
|
},
|
|
1767
1851
|
{
|
|
1768
1852
|
id: 'dsh-daoing-memory#memory/getDiaryByIds',
|
|
@@ -1802,7 +1886,7 @@ export const TYPERT = {
|
|
|
1802
1886
|
typeSymbol: 'dsh-daoing-memory#memory/getDiaryByIds:result',
|
|
1803
1887
|
schema: dsh_daoing_memory_memory_getDiaryByIds_result$schema,
|
|
1804
1888
|
},
|
|
1805
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1889
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":273,"column":3},
|
|
1806
1890
|
},
|
|
1807
1891
|
{
|
|
1808
1892
|
id: 'dsh-daoing-memory#memory/humanAckDiary',
|
|
@@ -1842,7 +1926,7 @@ export const TYPERT = {
|
|
|
1842
1926
|
typeSymbol: 'dsh-daoing-memory/types#DiaryEntry',
|
|
1843
1927
|
schema: dsh_daoing_memory_memory_humanAckDiary_result$schema,
|
|
1844
1928
|
},
|
|
1845
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1929
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":481,"column":3},
|
|
1846
1930
|
},
|
|
1847
1931
|
{
|
|
1848
1932
|
id: 'dsh-daoing-memory#memory/humanAddExperience',
|
|
@@ -1882,7 +1966,7 @@ export const TYPERT = {
|
|
|
1882
1966
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
1883
1967
|
schema: dsh_daoing_memory_memory_humanAddExperience_result$schema,
|
|
1884
1968
|
},
|
|
1885
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1969
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":424,"column":3},
|
|
1886
1970
|
},
|
|
1887
1971
|
{
|
|
1888
1972
|
id: 'dsh-daoing-memory#memory/humanAddFact',
|
|
@@ -1922,7 +2006,47 @@ export const TYPERT = {
|
|
|
1922
2006
|
typeSymbol: 'dsh-daoing-memory/types#FactEntry',
|
|
1923
2007
|
schema: dsh_daoing_memory_memory_humanAddFact_result$schema,
|
|
1924
2008
|
},
|
|
1925
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2009
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":452,"column":3},
|
|
2010
|
+
},
|
|
2011
|
+
{
|
|
2012
|
+
id: 'dsh-daoing-memory#memory/humanArchiveExperience',
|
|
2013
|
+
service: 'memory',
|
|
2014
|
+
namespace: 'memory',
|
|
2015
|
+
method: 'humanArchiveExperience',
|
|
2016
|
+
invocation: { kind: 'direct' },
|
|
2017
|
+
scope: {
|
|
2018
|
+
context: 'agent',
|
|
2019
|
+
wire: 'agentId',
|
|
2020
|
+
},
|
|
2021
|
+
parameters: [
|
|
2022
|
+
{
|
|
2023
|
+
name: 'agent',
|
|
2024
|
+
wire: 'agentId',
|
|
2025
|
+
source: 'lookup',
|
|
2026
|
+
lookup: 'agent',
|
|
2027
|
+
codec: {
|
|
2028
|
+
mode: 'strict',
|
|
2029
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
2030
|
+
schema: dsh_daoing_memory_memory_humanArchiveExperience_parameter_0$schema,
|
|
2031
|
+
},
|
|
2032
|
+
},
|
|
2033
|
+
{
|
|
2034
|
+
name: 'request',
|
|
2035
|
+
wire: 'request',
|
|
2036
|
+
source: 'json',
|
|
2037
|
+
codec: {
|
|
2038
|
+
mode: 'strict',
|
|
2039
|
+
typeSymbol: 'dsh-daoing-memory/types#HumanArchiveExperienceRequest',
|
|
2040
|
+
schema: dsh_daoing_memory_memory_humanArchiveExperience_parameter_1$schema,
|
|
2041
|
+
},
|
|
2042
|
+
},
|
|
2043
|
+
],
|
|
2044
|
+
result: {
|
|
2045
|
+
mode: 'strict',
|
|
2046
|
+
typeSymbol: 'dsh-daoing-memory#memory/humanArchiveExperience:result',
|
|
2047
|
+
schema: dsh_daoing_memory_memory_humanArchiveExperience_result$schema,
|
|
2048
|
+
},
|
|
2049
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":409,"column":3},
|
|
1926
2050
|
},
|
|
1927
2051
|
{
|
|
1928
2052
|
id: 'dsh-daoing-memory#memory/humanConfirmFact',
|
|
@@ -1962,7 +2086,7 @@ export const TYPERT = {
|
|
|
1962
2086
|
typeSymbol: 'dsh-daoing-memory/types#FactEntry',
|
|
1963
2087
|
schema: dsh_daoing_memory_memory_humanConfirmFact_result$schema,
|
|
1964
2088
|
},
|
|
1965
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2089
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":474,"column":3},
|
|
1966
2090
|
},
|
|
1967
2091
|
{
|
|
1968
2092
|
id: 'dsh-daoing-memory#memory/humanDeleteConcern',
|
|
@@ -2002,7 +2126,7 @@ export const TYPERT = {
|
|
|
2002
2126
|
typeSymbol: 'dsh-daoing-memory#memory/humanDeleteConcern:result',
|
|
2003
2127
|
schema: dsh_daoing_memory_memory_humanDeleteConcern_result$schema,
|
|
2004
2128
|
},
|
|
2005
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2129
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":496,"column":3},
|
|
2006
2130
|
},
|
|
2007
2131
|
{
|
|
2008
2132
|
id: 'dsh-daoing-memory#memory/humanDeleteExperience',
|
|
@@ -2042,7 +2166,7 @@ export const TYPERT = {
|
|
|
2042
2166
|
typeSymbol: 'dsh-daoing-memory#memory/humanDeleteExperience:result',
|
|
2043
2167
|
schema: dsh_daoing_memory_memory_humanDeleteExperience_result$schema,
|
|
2044
2168
|
},
|
|
2045
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2169
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":401,"column":3},
|
|
2046
2170
|
},
|
|
2047
2171
|
{
|
|
2048
2172
|
id: 'dsh-daoing-memory#memory/humanDeleteFact',
|
|
@@ -2082,7 +2206,7 @@ export const TYPERT = {
|
|
|
2082
2206
|
typeSymbol: 'dsh-daoing-memory#memory/humanDeleteFact:result',
|
|
2083
2207
|
schema: dsh_daoing_memory_memory_humanDeleteFact_result$schema,
|
|
2084
2208
|
},
|
|
2085
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2209
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":466,"column":3},
|
|
2086
2210
|
},
|
|
2087
2211
|
{
|
|
2088
2212
|
id: 'dsh-daoing-memory#memory/humanEditExperience',
|
|
@@ -2122,7 +2246,7 @@ export const TYPERT = {
|
|
|
2122
2246
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2123
2247
|
schema: dsh_daoing_memory_memory_humanEditExperience_result$schema,
|
|
2124
2248
|
},
|
|
2125
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2249
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":417,"column":3},
|
|
2126
2250
|
},
|
|
2127
2251
|
{
|
|
2128
2252
|
id: 'dsh-daoing-memory#memory/humanEditFact',
|
|
@@ -2162,7 +2286,7 @@ export const TYPERT = {
|
|
|
2162
2286
|
typeSymbol: 'dsh-daoing-memory/types#FactEntry',
|
|
2163
2287
|
schema: dsh_daoing_memory_memory_humanEditFact_result$schema,
|
|
2164
2288
|
},
|
|
2165
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2289
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":459,"column":3},
|
|
2166
2290
|
},
|
|
2167
2291
|
{
|
|
2168
2292
|
id: 'dsh-daoing-memory#memory/humanPin',
|
|
@@ -2202,7 +2326,7 @@ export const TYPERT = {
|
|
|
2202
2326
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2203
2327
|
schema: dsh_daoing_memory_memory_humanPin_result$schema,
|
|
2204
2328
|
},
|
|
2205
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2329
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":394,"column":3},
|
|
2206
2330
|
},
|
|
2207
2331
|
{
|
|
2208
2332
|
id: 'dsh-daoing-memory#memory/humanPromote',
|
|
@@ -2252,7 +2376,7 @@ export const TYPERT = {
|
|
|
2252
2376
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2253
2377
|
schema: dsh_daoing_memory_memory_humanPromote_result$schema,
|
|
2254
2378
|
},
|
|
2255
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2379
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":431,"column":3},
|
|
2256
2380
|
},
|
|
2257
2381
|
{
|
|
2258
2382
|
id: 'dsh-daoing-memory#memory/humanReleaseCold',
|
|
@@ -2292,7 +2416,7 @@ export const TYPERT = {
|
|
|
2292
2416
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2293
2417
|
schema: dsh_daoing_memory_memory_humanReleaseCold_result$schema,
|
|
2294
2418
|
},
|
|
2295
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2419
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":438,"column":3},
|
|
2296
2420
|
},
|
|
2297
2421
|
{
|
|
2298
2422
|
id: 'dsh-daoing-memory#memory/humanRollback',
|
|
@@ -2332,7 +2456,7 @@ export const TYPERT = {
|
|
|
2332
2456
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2333
2457
|
schema: dsh_daoing_memory_memory_humanRollback_result$schema,
|
|
2334
2458
|
},
|
|
2335
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2459
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":445,"column":3},
|
|
2336
2460
|
},
|
|
2337
2461
|
{
|
|
2338
2462
|
id: 'dsh-daoing-memory#memory/humanSetConcernStatus',
|
|
@@ -2372,7 +2496,7 @@ export const TYPERT = {
|
|
|
2372
2496
|
typeSymbol: 'dsh-daoing-memory#memory/humanSetConcernStatus:result',
|
|
2373
2497
|
schema: dsh_daoing_memory_memory_humanSetConcernStatus_result$schema,
|
|
2374
2498
|
},
|
|
2375
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2499
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":488,"column":3},
|
|
2376
2500
|
},
|
|
2377
2501
|
{
|
|
2378
2502
|
id: 'dsh-daoing-memory#memory/ingest',
|
|
@@ -2412,7 +2536,7 @@ export const TYPERT = {
|
|
|
2412
2536
|
typeSymbol: 'dsh-daoing-memory/types#IngestResult',
|
|
2413
2537
|
schema: dsh_daoing_memory_memory_ingest_result$schema,
|
|
2414
2538
|
},
|
|
2415
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2539
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":102,"column":3},
|
|
2416
2540
|
},
|
|
2417
2541
|
{
|
|
2418
2542
|
id: 'dsh-daoing-memory#memory/ledgerQuery',
|
|
@@ -2452,7 +2576,7 @@ export const TYPERT = {
|
|
|
2452
2576
|
typeSymbol: 'dsh-daoing-memory#memory/ledgerQuery:result',
|
|
2453
2577
|
schema: dsh_daoing_memory_memory_ledgerQuery_result$schema,
|
|
2454
2578
|
},
|
|
2455
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2579
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":341,"column":3},
|
|
2456
2580
|
},
|
|
2457
2581
|
{
|
|
2458
2582
|
id: 'dsh-daoing-memory#memory/ledgerQueryCount',
|
|
@@ -2492,7 +2616,7 @@ export const TYPERT = {
|
|
|
2492
2616
|
typeSymbol: 'dsh-daoing-memory#memory/ledgerQueryCount:result',
|
|
2493
2617
|
schema: dsh_daoing_memory_memory_ledgerQueryCount_result$schema,
|
|
2494
2618
|
},
|
|
2495
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2619
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":348,"column":3},
|
|
2496
2620
|
},
|
|
2497
2621
|
{
|
|
2498
2622
|
id: 'dsh-daoing-memory#memory/list',
|
|
@@ -2532,7 +2656,7 @@ export const TYPERT = {
|
|
|
2532
2656
|
typeSymbol: 'dsh-daoing-memory#memory/list:result',
|
|
2533
2657
|
schema: dsh_daoing_memory_memory_list_result$schema,
|
|
2534
2658
|
},
|
|
2535
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2659
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":133,"column":3},
|
|
2536
2660
|
},
|
|
2537
2661
|
{
|
|
2538
2662
|
id: 'dsh-daoing-memory#memory/listConcerns',
|
|
@@ -2602,7 +2726,7 @@ export const TYPERT = {
|
|
|
2602
2726
|
typeSymbol: 'dsh-daoing-memory#memory/listConcerns:result',
|
|
2603
2727
|
schema: dsh_daoing_memory_memory_listConcerns_result$schema,
|
|
2604
2728
|
},
|
|
2605
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2729
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":294,"column":3},
|
|
2606
2730
|
},
|
|
2607
2731
|
{
|
|
2608
2732
|
id: 'dsh-daoing-memory#memory/listConcernsCount',
|
|
@@ -2652,7 +2776,7 @@ export const TYPERT = {
|
|
|
2652
2776
|
typeSymbol: 'dsh-daoing-memory#memory/listConcernsCount:result',
|
|
2653
2777
|
schema: dsh_daoing_memory_memory_listConcernsCount_result$schema,
|
|
2654
2778
|
},
|
|
2655
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2779
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":301,"column":3},
|
|
2656
2780
|
},
|
|
2657
2781
|
{
|
|
2658
2782
|
id: 'dsh-daoing-memory#memory/listDiary',
|
|
@@ -2712,7 +2836,7 @@ export const TYPERT = {
|
|
|
2712
2836
|
typeSymbol: 'dsh-daoing-memory#memory/listDiary:result',
|
|
2713
2837
|
schema: dsh_daoing_memory_memory_listDiary_result$schema,
|
|
2714
2838
|
},
|
|
2715
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2839
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":266,"column":3},
|
|
2716
2840
|
},
|
|
2717
2841
|
{
|
|
2718
2842
|
id: 'dsh-daoing-memory#memory/listFacts',
|
|
@@ -2782,7 +2906,7 @@ export const TYPERT = {
|
|
|
2782
2906
|
typeSymbol: 'dsh-daoing-memory#memory/listFacts:result',
|
|
2783
2907
|
schema: dsh_daoing_memory_memory_listFacts_result$schema,
|
|
2784
2908
|
},
|
|
2785
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2909
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":280,"column":3},
|
|
2786
2910
|
},
|
|
2787
2911
|
{
|
|
2788
2912
|
id: 'dsh-daoing-memory#memory/listFactsCount',
|
|
@@ -2832,7 +2956,7 @@ export const TYPERT = {
|
|
|
2832
2956
|
typeSymbol: 'dsh-daoing-memory#memory/listFactsCount:result',
|
|
2833
2957
|
schema: dsh_daoing_memory_memory_listFactsCount_result$schema,
|
|
2834
2958
|
},
|
|
2835
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2959
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":287,"column":3},
|
|
2836
2960
|
},
|
|
2837
2961
|
{
|
|
2838
2962
|
id: 'dsh-daoing-memory#memory/recall',
|
|
@@ -2872,7 +2996,7 @@ export const TYPERT = {
|
|
|
2872
2996
|
typeSymbol: 'dsh-daoing-memory/types#RecallExperiencesResult',
|
|
2873
2997
|
schema: dsh_daoing_memory_memory_recall_result$schema,
|
|
2874
2998
|
},
|
|
2875
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2999
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":90,"column":3},
|
|
2876
3000
|
},
|
|
2877
3001
|
{
|
|
2878
3002
|
id: 'dsh-daoing-memory#memory/refine',
|
|
@@ -2912,7 +3036,7 @@ export const TYPERT = {
|
|
|
2912
3036
|
typeSymbol: 'dsh-daoing-memory/types#RefineExperienceResult',
|
|
2913
3037
|
schema: dsh_daoing_memory_memory_refine_result$schema,
|
|
2914
3038
|
},
|
|
2915
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3039
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":84,"column":3},
|
|
2916
3040
|
},
|
|
2917
3041
|
{
|
|
2918
3042
|
id: 'dsh-daoing-memory#memory/report',
|
|
@@ -2952,7 +3076,7 @@ export const TYPERT = {
|
|
|
2952
3076
|
typeSymbol: 'dsh-daoing-memory/types#ReportUseResult',
|
|
2953
3077
|
schema: dsh_daoing_memory_memory_report_result$schema,
|
|
2954
3078
|
},
|
|
2955
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3079
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":96,"column":3},
|
|
2956
3080
|
},
|
|
2957
3081
|
{
|
|
2958
3082
|
id: 'dsh-daoing-memory#memory/revise',
|
|
@@ -2992,7 +3116,7 @@ export const TYPERT = {
|
|
|
2992
3116
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2993
3117
|
schema: dsh_daoing_memory_memory_revise_result$schema,
|
|
2994
3118
|
},
|
|
2995
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3119
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":108,"column":3},
|
|
2996
3120
|
},
|
|
2997
3121
|
{
|
|
2998
3122
|
id: 'dsh-daoing-memory#memory/rollback',
|
|
@@ -3032,7 +3156,37 @@ export const TYPERT = {
|
|
|
3032
3156
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
3033
3157
|
schema: dsh_daoing_memory_memory_rollback_result$schema,
|
|
3034
3158
|
},
|
|
3035
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3159
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":120,"column":3},
|
|
3160
|
+
},
|
|
3161
|
+
{
|
|
3162
|
+
id: 'dsh-daoing-memory#memory/runDeletionFeedback',
|
|
3163
|
+
service: 'memory',
|
|
3164
|
+
namespace: 'memory',
|
|
3165
|
+
method: 'runDeletionFeedback',
|
|
3166
|
+
invocation: { kind: 'direct' },
|
|
3167
|
+
scope: {
|
|
3168
|
+
context: 'agent',
|
|
3169
|
+
wire: 'agentId',
|
|
3170
|
+
},
|
|
3171
|
+
parameters: [
|
|
3172
|
+
{
|
|
3173
|
+
name: 'agent',
|
|
3174
|
+
wire: 'agentId',
|
|
3175
|
+
source: 'lookup',
|
|
3176
|
+
lookup: 'agent',
|
|
3177
|
+
codec: {
|
|
3178
|
+
mode: 'strict',
|
|
3179
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
3180
|
+
schema: dsh_daoing_memory_memory_runDeletionFeedback_parameter_0$schema,
|
|
3181
|
+
},
|
|
3182
|
+
},
|
|
3183
|
+
],
|
|
3184
|
+
result: {
|
|
3185
|
+
mode: 'strict',
|
|
3186
|
+
typeSymbol: 'dsh-daoing-memory#memory/runDeletionFeedback:result',
|
|
3187
|
+
schema: dsh_daoing_memory_memory_runDeletionFeedback_result$schema,
|
|
3188
|
+
},
|
|
3189
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":239,"column":9},
|
|
3036
3190
|
},
|
|
3037
3191
|
{
|
|
3038
3192
|
id: 'dsh-daoing-memory#memory/stats',
|
|
@@ -3062,7 +3216,7 @@ export const TYPERT = {
|
|
|
3062
3216
|
typeSymbol: 'dsh-daoing-memory/types#MemoryStats',
|
|
3063
3217
|
schema: dsh_daoing_memory_memory_stats_result$schema,
|
|
3064
3218
|
},
|
|
3065
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3219
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":362,"column":3},
|
|
3066
3220
|
},
|
|
3067
3221
|
{
|
|
3068
3222
|
id: 'dsh-daoing-memory#memory/verifyLedger',
|
|
@@ -3092,7 +3246,7 @@ export const TYPERT = {
|
|
|
3092
3246
|
typeSymbol: 'dsh-daoing-memory/types#LedgerIntegrityResult',
|
|
3093
3247
|
schema: dsh_daoing_memory_memory_verifyLedger_result$schema,
|
|
3094
3248
|
},
|
|
3095
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3249
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":355,"column":3},
|
|
3096
3250
|
},
|
|
3097
3251
|
{
|
|
3098
3252
|
id: 'dsh-daoing-memory#memory/verifyShadow',
|
|
@@ -3132,7 +3286,7 @@ export const TYPERT = {
|
|
|
3132
3286
|
typeSymbol: 'dsh-daoing-memory/types#VerifyShadowResult',
|
|
3133
3287
|
schema: dsh_daoing_memory_memory_verifyShadow_result$schema,
|
|
3134
3288
|
},
|
|
3135
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3289
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":114,"column":3},
|
|
3136
3290
|
},
|
|
3137
3291
|
{
|
|
3138
3292
|
id: 'dsh-daoing-memory#memory/workbenchInfo',
|
|
@@ -3162,7 +3316,7 @@ export const TYPERT = {
|
|
|
3162
3316
|
typeSymbol: 'dsh-daoing-memory/types#MemoryWorkbenchInfo',
|
|
3163
3317
|
schema: dsh_daoing_memory_memory_workbenchInfo_result$schema,
|
|
3164
3318
|
},
|
|
3165
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3319
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":369,"column":3},
|
|
3166
3320
|
},
|
|
3167
3321
|
],
|
|
3168
3322
|
model: {
|
|
@@ -3255,10 +3409,24 @@ export const TYPERT = {
|
|
|
3255
3409
|
{
|
|
3256
3410
|
"kind": "method",
|
|
3257
3411
|
"name": "extract",
|
|
3258
|
-
"signature": "@Remote('extract') extract(agent: Agent, request: ExtractFactsRequest): ExtractFactsResult",
|
|
3412
|
+
"signature": "@Remote('extract') async extract(agent: Agent, request: ExtractFactsRequest): Promise<ExtractFactsResult>",
|
|
3259
3413
|
"summary": "上升通道: apply extracted facts over the pending diary window.",
|
|
3260
3414
|
"jsDoc": "/** 上升通道: apply extracted facts over the pending diary window. */"
|
|
3261
3415
|
},
|
|
3416
|
+
{
|
|
3417
|
+
"kind": "method",
|
|
3418
|
+
"name": "runDeletionFeedback",
|
|
3419
|
+
"signature": "@Remote('runDeletionFeedback') async runDeletionFeedback(agent: Agent): Promise<{ ran: boolean; summary?: string }>",
|
|
3420
|
+
"summary": "Remote: manually trigger deletion-feedback summarization (for testing/debugging).",
|
|
3421
|
+
"jsDoc": "/**\n * Remote: manually trigger deletion-feedback summarization (for testing/debugging).\n */"
|
|
3422
|
+
},
|
|
3423
|
+
{
|
|
3424
|
+
"kind": "method",
|
|
3425
|
+
"name": "getDeletionFeedback",
|
|
3426
|
+
"signature": "@Remote('getDeletionFeedback') getDeletionFeedback(agent: Agent): ExperienceSnapshot | null",
|
|
3427
|
+
"summary": "Remote: get the current deletion-feedback experience (for debugging).",
|
|
3428
|
+
"jsDoc": "/**\n * Remote: get the current deletion-feedback experience (for debugging).\n */"
|
|
3429
|
+
},
|
|
3262
3430
|
{
|
|
3263
3431
|
"kind": "method",
|
|
3264
3432
|
"name": "listDiary",
|
|
@@ -3399,6 +3567,13 @@ export const TYPERT = {
|
|
|
3399
3567
|
"summary": "Human delete (tombstone + ledger fingerprint).",
|
|
3400
3568
|
"jsDoc": "/** Human delete (tombstone + ledger fingerprint). */"
|
|
3401
3569
|
},
|
|
3570
|
+
{
|
|
3571
|
+
"kind": "method",
|
|
3572
|
+
"name": "humanArchiveExperience",
|
|
3573
|
+
"signature": "@Remote('humanArchiveExperience') humanArchiveExperience(agent: Agent, request: HumanArchiveExperienceRequest): { archived: true }",
|
|
3574
|
+
"summary": "Human archive (move to archived status; preserves data, removes from recall).",
|
|
3575
|
+
"jsDoc": "/** Human archive (move to archived status; preserves data, removes from recall). */"
|
|
3576
|
+
},
|
|
3402
3577
|
{
|
|
3403
3578
|
"kind": "method",
|
|
3404
3579
|
"name": "humanEditExperience",
|
|
@@ -3643,7 +3818,7 @@ export const TYPERT = {
|
|
|
3643
3818
|
},
|
|
3644
3819
|
{
|
|
3645
3820
|
"name": "ExperienceSource",
|
|
3646
|
-
"declaration": "export type ExperienceSource = 'agent' | 'human';"
|
|
3821
|
+
"declaration": "export type ExperienceSource = 'agent' | 'human' | 'system';"
|
|
3647
3822
|
},
|
|
3648
3823
|
{
|
|
3649
3824
|
"name": "ExperienceStatus",
|
|
@@ -3659,7 +3834,7 @@ export const TYPERT = {
|
|
|
3659
3834
|
},
|
|
3660
3835
|
{
|
|
3661
3836
|
"name": "ExtractFactsResult",
|
|
3662
|
-
"declaration": "export interface ExtractFactsResult {\n applied: FactEntry[];\n conflicts: FactEntry[];\n rejected: { proposal: FactProposal; reason: string; }[];\n appliedConcerns: number;\n}"
|
|
3837
|
+
"declaration": "export interface ExtractFactsResult {\n applied: FactEntry[];\n conflicts: FactEntry[];\n rejected: { proposal: FactProposal; reason: string; }[];\n appliedConcerns: number;\n deletionFeedback?: string;\n}"
|
|
3663
3838
|
},
|
|
3664
3839
|
{
|
|
3665
3840
|
"name": "ExtractionRecord",
|
|
@@ -3701,6 +3876,10 @@ export const TYPERT = {
|
|
|
3701
3876
|
"name": "HumanAddFactRequest",
|
|
3702
3877
|
"declaration": "export interface HumanAddFactRequest {\n category: FactCategory;\n factKey: string;\n value: string;\n locked?: boolean;\n reason: string;\n}"
|
|
3703
3878
|
},
|
|
3879
|
+
{
|
|
3880
|
+
"name": "HumanArchiveExperienceRequest",
|
|
3881
|
+
"declaration": "export interface HumanArchiveExperienceRequest {\n id: string;\n reason: string;\n}"
|
|
3882
|
+
},
|
|
3704
3883
|
{
|
|
3705
3884
|
"name": "HumanConfirmFactRequest",
|
|
3706
3885
|
"declaration": "export interface HumanConfirmFactRequest {\n factId: string;\n locked: boolean;\n reason: string;\n}"
|