dsh-daoing-memory 0.1.7 → 0.1.9
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 +909 -128
- package/lib/client.js.map +1 -1
- package/lib/index.js +256 -6
- package/lib/typert.host.js +599 -64
- package/lib/typert.remote-client.d.ts +25 -1
- package/lib/typert.remote-client.js +516 -61
- package/lib/types/core.d.ts +31 -0
- package/lib/types/core.js +93 -0
- package/lib/types/index.d.ts +4 -0
- package/lib/types/index.js +5 -0
- package/lib/types/service.d.ts +22 -1
- package/lib/types/service.js +104 -1
- package/lib/types/store.d.ts +16 -0
- package/lib/types/store.js +33 -0
- package/lib/types/types.d.ts +2 -0
- package/package.json +1 -1
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()),
|
|
@@ -290,6 +291,26 @@ const dsh_daoing_memory_memory_family_result$schema = z.array(z.object({
|
|
|
290
291
|
'createdAt': z.number(),
|
|
291
292
|
'updatedAt': z.number(),
|
|
292
293
|
}))
|
|
294
|
+
const dsh_daoing_memory_memory_generateSkillDraft_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
295
|
+
const dsh_daoing_memory_memory_generateSkillDraft_parameter_1$schema = z.object({
|
|
296
|
+
'experienceId': z.string(),
|
|
297
|
+
'form': z.union([z.literal("skill_md"), z.literal("script_mjs")]),
|
|
298
|
+
})
|
|
299
|
+
const dsh_daoing_memory_memory_generateSkillDraft_result$schema = z.object({
|
|
300
|
+
'id': z.string(),
|
|
301
|
+
'parentExperienceId': z.string(),
|
|
302
|
+
'form': z.union([z.literal("skill_md"), z.literal("script_mjs")]),
|
|
303
|
+
'status': z.union([z.literal("draft"), z.literal("pending_review"), z.literal("approved"), z.literal("published"), z.literal("rejected"), z.literal("deprecated"), z.literal("file_missing"), z.literal("draft_lost"), z.literal("revising"), z.literal("file_drift")]),
|
|
304
|
+
'draftPath': z.string().optional(),
|
|
305
|
+
'publishedPath': z.string().optional(),
|
|
306
|
+
'version': z.number(),
|
|
307
|
+
'useCount': z.number(),
|
|
308
|
+
'optimizeCount': z.number(),
|
|
309
|
+
'lastFeedback': z.string().optional(),
|
|
310
|
+
'contentHash': z.string().optional(),
|
|
311
|
+
'createdAt': z.number(),
|
|
312
|
+
'updatedAt': z.number(),
|
|
313
|
+
})
|
|
293
314
|
const dsh_daoing_memory_memory_get_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
294
315
|
const dsh_daoing_memory_memory_get_parameter_1$schema = z.string()
|
|
295
316
|
const dsh_daoing_memory_memory_get_parameter_2$schema = z.union([z.undefined(), z.number()])
|
|
@@ -297,7 +318,47 @@ const dsh_daoing_memory_memory_get_result$schema = z.union([z.undefined(), z.obj
|
|
|
297
318
|
'id': z.string(),
|
|
298
319
|
'revision': z.number(),
|
|
299
320
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
300
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
321
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
322
|
+
'family': z.string(),
|
|
323
|
+
'gist': z.string(),
|
|
324
|
+
'situation': z.array(z.string()),
|
|
325
|
+
'path': z.array(z.object({
|
|
326
|
+
'order': z.number(),
|
|
327
|
+
'action': z.string(),
|
|
328
|
+
})),
|
|
329
|
+
'reasoning': z.string(),
|
|
330
|
+
'limits': z.array(z.string()),
|
|
331
|
+
'status': z.union([z.literal("candidate"), z.literal("live"), z.literal("challenged"), z.literal("superseded"), z.literal("archived"), z.literal("cold")]),
|
|
332
|
+
'alpha': z.number(),
|
|
333
|
+
'beta': z.number(),
|
|
334
|
+
'samples': z.number(),
|
|
335
|
+
'trust': z.number(),
|
|
336
|
+
'weightedTrust': z.number(),
|
|
337
|
+
'lastVerifiedAt': z.number().optional(),
|
|
338
|
+
'pinned': z.boolean(),
|
|
339
|
+
'tokensSaved': z.number(),
|
|
340
|
+
'tokensSpent': z.number(),
|
|
341
|
+
'parentRevision': z.number().optional(),
|
|
342
|
+
'failureReason': z.string().optional(),
|
|
343
|
+
'evidence': z.object({
|
|
344
|
+
'traceRef': z.string().optional(),
|
|
345
|
+
'sessionRef': z.string().optional(),
|
|
346
|
+
'note': z.string().optional(),
|
|
347
|
+
}).optional(),
|
|
348
|
+
'challengeReason': z.string().optional(),
|
|
349
|
+
'context': z.string(),
|
|
350
|
+
'verifiedCount': z.number(),
|
|
351
|
+
'rejectCount': z.number(),
|
|
352
|
+
'globalFlag': z.boolean(),
|
|
353
|
+
'createdAt': z.number(),
|
|
354
|
+
'updatedAt': z.number(),
|
|
355
|
+
})])
|
|
356
|
+
const dsh_daoing_memory_memory_getDeletionFeedback_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
357
|
+
const dsh_daoing_memory_memory_getDeletionFeedback_result$schema = z.union([z.literal(null), z.object({
|
|
358
|
+
'id': z.string(),
|
|
359
|
+
'revision': z.number(),
|
|
360
|
+
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
361
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
301
362
|
'family': z.string(),
|
|
302
363
|
'gist': z.string(),
|
|
303
364
|
'situation': z.array(z.string()),
|
|
@@ -343,6 +404,23 @@ const dsh_daoing_memory_memory_getDiaryByIds_result$schema = z.array(z.object({
|
|
|
343
404
|
'tags': z.array(z.string()),
|
|
344
405
|
'extracted': z.boolean(),
|
|
345
406
|
}))
|
|
407
|
+
const dsh_daoing_memory_memory_getSkillArtifact_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
408
|
+
const dsh_daoing_memory_memory_getSkillArtifact_parameter_1$schema = z.string()
|
|
409
|
+
const dsh_daoing_memory_memory_getSkillArtifact_result$schema = z.union([z.literal(null), z.object({
|
|
410
|
+
'id': z.string(),
|
|
411
|
+
'parentExperienceId': z.string(),
|
|
412
|
+
'form': z.union([z.literal("skill_md"), z.literal("script_mjs")]),
|
|
413
|
+
'status': z.union([z.literal("draft"), z.literal("pending_review"), z.literal("approved"), z.literal("published"), z.literal("rejected"), z.literal("deprecated"), z.literal("file_missing"), z.literal("draft_lost"), z.literal("revising"), z.literal("file_drift")]),
|
|
414
|
+
'draftPath': z.string().optional(),
|
|
415
|
+
'publishedPath': z.string().optional(),
|
|
416
|
+
'version': z.number(),
|
|
417
|
+
'useCount': z.number(),
|
|
418
|
+
'optimizeCount': z.number(),
|
|
419
|
+
'lastFeedback': z.string().optional(),
|
|
420
|
+
'contentHash': z.string().optional(),
|
|
421
|
+
'createdAt': z.number(),
|
|
422
|
+
'updatedAt': z.number(),
|
|
423
|
+
})])
|
|
346
424
|
const dsh_daoing_memory_memory_humanAckDiary_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
347
425
|
const dsh_daoing_memory_memory_humanAckDiary_parameter_1$schema = z.object({
|
|
348
426
|
'diaryId': z.string(),
|
|
@@ -377,7 +455,7 @@ const dsh_daoing_memory_memory_humanAddExperience_result$schema = z.object({
|
|
|
377
455
|
'id': z.string(),
|
|
378
456
|
'revision': z.number(),
|
|
379
457
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
380
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
458
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
381
459
|
'family': z.string(),
|
|
382
460
|
'gist': z.string(),
|
|
383
461
|
'situation': z.array(z.string()),
|
|
@@ -510,7 +588,7 @@ const dsh_daoing_memory_memory_humanEditExperience_result$schema = z.object({
|
|
|
510
588
|
'id': z.string(),
|
|
511
589
|
'revision': z.number(),
|
|
512
590
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
513
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
591
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
514
592
|
'family': z.string(),
|
|
515
593
|
'gist': z.string(),
|
|
516
594
|
'situation': z.array(z.string()),
|
|
@@ -577,7 +655,7 @@ const dsh_daoing_memory_memory_humanPin_result$schema = z.object({
|
|
|
577
655
|
'id': z.string(),
|
|
578
656
|
'revision': z.number(),
|
|
579
657
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
580
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
658
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
581
659
|
'family': z.string(),
|
|
582
660
|
'gist': z.string(),
|
|
583
661
|
'situation': z.array(z.string()),
|
|
@@ -619,7 +697,7 @@ const dsh_daoing_memory_memory_humanPromote_result$schema = z.object({
|
|
|
619
697
|
'id': z.string(),
|
|
620
698
|
'revision': z.number(),
|
|
621
699
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
622
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
700
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
623
701
|
'family': z.string(),
|
|
624
702
|
'gist': z.string(),
|
|
625
703
|
'situation': z.array(z.string()),
|
|
@@ -663,7 +741,7 @@ const dsh_daoing_memory_memory_humanReleaseCold_result$schema = z.object({
|
|
|
663
741
|
'id': z.string(),
|
|
664
742
|
'revision': z.number(),
|
|
665
743
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
666
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
744
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
667
745
|
'family': z.string(),
|
|
668
746
|
'gist': z.string(),
|
|
669
747
|
'situation': z.array(z.string()),
|
|
@@ -708,7 +786,7 @@ const dsh_daoing_memory_memory_humanRollback_result$schema = z.object({
|
|
|
708
786
|
'id': z.string(),
|
|
709
787
|
'revision': z.number(),
|
|
710
788
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
711
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
789
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
712
790
|
'family': z.string(),
|
|
713
791
|
'gist': z.string(),
|
|
714
792
|
'situation': z.array(z.string()),
|
|
@@ -777,7 +855,7 @@ const dsh_daoing_memory_memory_ingest_result$schema = z.object({
|
|
|
777
855
|
'id': z.string(),
|
|
778
856
|
'revision': z.number(),
|
|
779
857
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
780
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
858
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
781
859
|
'family': z.string(),
|
|
782
860
|
'gist': z.string(),
|
|
783
861
|
'situation': z.array(z.string()),
|
|
@@ -821,6 +899,9 @@ const dsh_daoing_memory_memory_ingest_result$schema = z.object({
|
|
|
821
899
|
'beta': z.number(),
|
|
822
900
|
}),
|
|
823
901
|
})
|
|
902
|
+
const dsh_daoing_memory_memory_isSkillCandidate_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
903
|
+
const dsh_daoing_memory_memory_isSkillCandidate_parameter_1$schema = z.string()
|
|
904
|
+
const dsh_daoing_memory_memory_isSkillCandidate_result$schema = z.boolean()
|
|
824
905
|
const dsh_daoing_memory_memory_ledgerQuery_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
825
906
|
const dsh_daoing_memory_memory_ledgerQuery_parameter_1$schema = z.object({
|
|
826
907
|
'objectType': z.union([z.literal("experience"), z.literal("fact"), z.literal("diary"), z.literal("library"), z.literal("concern")]).optional(),
|
|
@@ -865,7 +946,7 @@ const dsh_daoing_memory_memory_list_result$schema = z.array(z.object({
|
|
|
865
946
|
'id': z.string(),
|
|
866
947
|
'revision': z.number(),
|
|
867
948
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
868
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
949
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
869
950
|
'family': z.string(),
|
|
870
951
|
'gist': z.string(),
|
|
871
952
|
'situation': z.array(z.string()),
|
|
@@ -973,6 +1054,44 @@ const dsh_daoing_memory_memory_listFactsCount_parameter_0$schema = z.intersectio
|
|
|
973
1054
|
const dsh_daoing_memory_memory_listFactsCount_parameter_1$schema = z.string()
|
|
974
1055
|
const dsh_daoing_memory_memory_listFactsCount_parameter_2$schema = z.boolean()
|
|
975
1056
|
const dsh_daoing_memory_memory_listFactsCount_result$schema = z.number()
|
|
1057
|
+
const dsh_daoing_memory_memory_listSkillArtifacts_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
1058
|
+
const dsh_daoing_memory_memory_listSkillArtifacts_parameter_1$schema = z.string()
|
|
1059
|
+
const dsh_daoing_memory_memory_listSkillArtifacts_parameter_2$schema = z.string()
|
|
1060
|
+
const dsh_daoing_memory_memory_listSkillArtifacts_result$schema = z.array(z.object({
|
|
1061
|
+
'id': z.string(),
|
|
1062
|
+
'parentExperienceId': z.string(),
|
|
1063
|
+
'form': z.union([z.literal("skill_md"), z.literal("script_mjs")]),
|
|
1064
|
+
'status': z.union([z.literal("draft"), z.literal("pending_review"), z.literal("approved"), z.literal("published"), z.literal("rejected"), z.literal("deprecated"), z.literal("file_missing"), z.literal("draft_lost"), z.literal("revising"), z.literal("file_drift")]),
|
|
1065
|
+
'draftPath': z.string().optional(),
|
|
1066
|
+
'publishedPath': z.string().optional(),
|
|
1067
|
+
'version': z.number(),
|
|
1068
|
+
'useCount': z.number(),
|
|
1069
|
+
'optimizeCount': z.number(),
|
|
1070
|
+
'lastFeedback': z.string().optional(),
|
|
1071
|
+
'contentHash': z.string().optional(),
|
|
1072
|
+
'createdAt': z.number(),
|
|
1073
|
+
'updatedAt': z.number(),
|
|
1074
|
+
}))
|
|
1075
|
+
const dsh_daoing_memory_memory_publishSkill_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
1076
|
+
const dsh_daoing_memory_memory_publishSkill_parameter_1$schema = z.object({
|
|
1077
|
+
'id': z.string(),
|
|
1078
|
+
'reason': z.string(),
|
|
1079
|
+
})
|
|
1080
|
+
const dsh_daoing_memory_memory_publishSkill_result$schema = z.object({
|
|
1081
|
+
'id': z.string(),
|
|
1082
|
+
'parentExperienceId': z.string(),
|
|
1083
|
+
'form': z.union([z.literal("skill_md"), z.literal("script_mjs")]),
|
|
1084
|
+
'status': z.union([z.literal("draft"), z.literal("pending_review"), z.literal("approved"), z.literal("published"), z.literal("rejected"), z.literal("deprecated"), z.literal("file_missing"), z.literal("draft_lost"), z.literal("revising"), z.literal("file_drift")]),
|
|
1085
|
+
'draftPath': z.string().optional(),
|
|
1086
|
+
'publishedPath': z.string().optional(),
|
|
1087
|
+
'version': z.number(),
|
|
1088
|
+
'useCount': z.number(),
|
|
1089
|
+
'optimizeCount': z.number(),
|
|
1090
|
+
'lastFeedback': z.string().optional(),
|
|
1091
|
+
'contentHash': z.string().optional(),
|
|
1092
|
+
'createdAt': z.number(),
|
|
1093
|
+
'updatedAt': z.number(),
|
|
1094
|
+
})
|
|
976
1095
|
const dsh_daoing_memory_memory_recall_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
977
1096
|
const dsh_daoing_memory_memory_recall_parameter_1$schema = z.object({
|
|
978
1097
|
'situation': z.string(),
|
|
@@ -988,7 +1107,7 @@ const dsh_daoing_memory_memory_recall_result$schema = z.object({
|
|
|
988
1107
|
'id': z.string(),
|
|
989
1108
|
'revision': z.number(),
|
|
990
1109
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
991
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
1110
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
992
1111
|
'family': z.string(),
|
|
993
1112
|
'gist': z.string(),
|
|
994
1113
|
'situation': z.array(z.string()),
|
|
@@ -1036,7 +1155,7 @@ const dsh_daoing_memory_memory_recall_result$schema = z.object({
|
|
|
1036
1155
|
'id': z.string(),
|
|
1037
1156
|
'revision': z.number(),
|
|
1038
1157
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
1039
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
1158
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
1040
1159
|
'family': z.string(),
|
|
1041
1160
|
'gist': z.string(),
|
|
1042
1161
|
'situation': z.array(z.string()),
|
|
@@ -1108,7 +1227,7 @@ const dsh_daoing_memory_memory_refine_result$schema = z.object({
|
|
|
1108
1227
|
'id': z.string(),
|
|
1109
1228
|
'revision': z.number(),
|
|
1110
1229
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
1111
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
1230
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
1112
1231
|
'family': z.string(),
|
|
1113
1232
|
'gist': z.string(),
|
|
1114
1233
|
'situation': z.array(z.string()),
|
|
@@ -1165,7 +1284,7 @@ const dsh_daoing_memory_memory_report_result$schema = z.object({
|
|
|
1165
1284
|
'id': z.string(),
|
|
1166
1285
|
'revision': z.number(),
|
|
1167
1286
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
1168
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
1287
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
1169
1288
|
'family': z.string(),
|
|
1170
1289
|
'gist': z.string(),
|
|
1171
1290
|
'situation': z.array(z.string()),
|
|
@@ -1208,6 +1327,27 @@ const dsh_daoing_memory_memory_report_result$schema = z.object({
|
|
|
1208
1327
|
'adopted': z.boolean(),
|
|
1209
1328
|
'cooled': z.boolean().optional(),
|
|
1210
1329
|
})
|
|
1330
|
+
const dsh_daoing_memory_memory_reviewSkill_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
1331
|
+
const dsh_daoing_memory_memory_reviewSkill_parameter_1$schema = z.object({
|
|
1332
|
+
'id': z.string(),
|
|
1333
|
+
'decision': z.union([z.literal("approve"), z.literal("reject")]),
|
|
1334
|
+
'reason': z.string(),
|
|
1335
|
+
})
|
|
1336
|
+
const dsh_daoing_memory_memory_reviewSkill_result$schema = z.object({
|
|
1337
|
+
'id': z.string(),
|
|
1338
|
+
'parentExperienceId': z.string(),
|
|
1339
|
+
'form': z.union([z.literal("skill_md"), z.literal("script_mjs")]),
|
|
1340
|
+
'status': z.union([z.literal("draft"), z.literal("pending_review"), z.literal("approved"), z.literal("published"), z.literal("rejected"), z.literal("deprecated"), z.literal("file_missing"), z.literal("draft_lost"), z.literal("revising"), z.literal("file_drift")]),
|
|
1341
|
+
'draftPath': z.string().optional(),
|
|
1342
|
+
'publishedPath': z.string().optional(),
|
|
1343
|
+
'version': z.number(),
|
|
1344
|
+
'useCount': z.number(),
|
|
1345
|
+
'optimizeCount': z.number(),
|
|
1346
|
+
'lastFeedback': z.string().optional(),
|
|
1347
|
+
'contentHash': z.string().optional(),
|
|
1348
|
+
'createdAt': z.number(),
|
|
1349
|
+
'updatedAt': z.number(),
|
|
1350
|
+
})
|
|
1211
1351
|
const dsh_daoing_memory_memory_revise_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
1212
1352
|
const dsh_daoing_memory_memory_revise_parameter_1$schema = z.object({
|
|
1213
1353
|
'id': z.string(),
|
|
@@ -1225,7 +1365,7 @@ const dsh_daoing_memory_memory_revise_result$schema = z.object({
|
|
|
1225
1365
|
'id': z.string(),
|
|
1226
1366
|
'revision': z.number(),
|
|
1227
1367
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
1228
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
1368
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
1229
1369
|
'family': z.string(),
|
|
1230
1370
|
'gist': z.string(),
|
|
1231
1371
|
'situation': z.array(z.string()),
|
|
@@ -1270,7 +1410,7 @@ const dsh_daoing_memory_memory_rollback_result$schema = z.object({
|
|
|
1270
1410
|
'id': z.string(),
|
|
1271
1411
|
'revision': z.number(),
|
|
1272
1412
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
1273
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
1413
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
1274
1414
|
'family': z.string(),
|
|
1275
1415
|
'gist': z.string(),
|
|
1276
1416
|
'situation': z.array(z.string()),
|
|
@@ -1305,6 +1445,11 @@ const dsh_daoing_memory_memory_rollback_result$schema = z.object({
|
|
|
1305
1445
|
'createdAt': z.number(),
|
|
1306
1446
|
'updatedAt': z.number(),
|
|
1307
1447
|
})
|
|
1448
|
+
const dsh_daoing_memory_memory_runDeletionFeedback_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
1449
|
+
const dsh_daoing_memory_memory_runDeletionFeedback_result$schema = z.object({
|
|
1450
|
+
'ran': z.boolean(),
|
|
1451
|
+
'summary': z.string().optional(),
|
|
1452
|
+
})
|
|
1308
1453
|
const dsh_daoing_memory_memory_stats_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
1309
1454
|
const dsh_daoing_memory_memory_stats_result$schema = z.object({
|
|
1310
1455
|
'experiences': z.object({
|
|
@@ -1369,7 +1514,7 @@ const dsh_daoing_memory_memory_verifyShadow_result$schema = z.object({
|
|
|
1369
1514
|
'id': z.string(),
|
|
1370
1515
|
'revision': z.number(),
|
|
1371
1516
|
'kind': z.union([z.literal("positive"), z.literal("negative")]),
|
|
1372
|
-
'source': z.union([z.literal("agent"), z.literal("human")]),
|
|
1517
|
+
'source': z.union([z.literal("agent"), z.literal("human"), z.literal("system")]),
|
|
1373
1518
|
'family': z.string(),
|
|
1374
1519
|
'gist': z.string(),
|
|
1375
1520
|
'situation': z.array(z.string()),
|
|
@@ -1459,7 +1604,7 @@ export const TYPERT = {
|
|
|
1459
1604
|
typeSymbol: 'dsh-daoing-memory/types#DiaryAppendResult',
|
|
1460
1605
|
schema: dsh_daoing_memory_memory_appendDiary_result$schema,
|
|
1461
1606
|
},
|
|
1462
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1607
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":156,"column":3},
|
|
1463
1608
|
},
|
|
1464
1609
|
{
|
|
1465
1610
|
id: 'dsh-daoing-memory#memory/consolidate',
|
|
@@ -1499,7 +1644,7 @@ export const TYPERT = {
|
|
|
1499
1644
|
typeSymbol: 'dsh-daoing-memory/types#ConsolidateResult',
|
|
1500
1645
|
schema: dsh_daoing_memory_memory_consolidate_result$schema,
|
|
1501
1646
|
},
|
|
1502
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1647
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":336,"column":3},
|
|
1503
1648
|
},
|
|
1504
1649
|
{
|
|
1505
1650
|
id: 'dsh-daoing-memory#memory/consolidationDue',
|
|
@@ -1529,7 +1674,7 @@ export const TYPERT = {
|
|
|
1529
1674
|
typeSymbol: 'dsh-daoing-memory#memory/consolidationDue:result',
|
|
1530
1675
|
schema: dsh_daoing_memory_memory_consolidationDue_result$schema,
|
|
1531
1676
|
},
|
|
1532
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1677
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":343,"column":3},
|
|
1533
1678
|
},
|
|
1534
1679
|
{
|
|
1535
1680
|
id: 'dsh-daoing-memory#memory/exportLibrary',
|
|
@@ -1559,7 +1704,7 @@ export const TYPERT = {
|
|
|
1559
1704
|
typeSymbol: 'dsh-daoing-memory/types#MemoryExport',
|
|
1560
1705
|
schema: dsh_daoing_memory_memory_exportLibrary_result$schema,
|
|
1561
1706
|
},
|
|
1562
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1707
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":385,"column":3},
|
|
1563
1708
|
},
|
|
1564
1709
|
{
|
|
1565
1710
|
id: 'dsh-daoing-memory#memory/extract',
|
|
@@ -1599,7 +1744,7 @@ export const TYPERT = {
|
|
|
1599
1744
|
typeSymbol: 'dsh-daoing-memory/types#ExtractFactsResult',
|
|
1600
1745
|
schema: dsh_daoing_memory_memory_extract_result$schema,
|
|
1601
1746
|
},
|
|
1602
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1747
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":162,"column":9},
|
|
1603
1748
|
},
|
|
1604
1749
|
{
|
|
1605
1750
|
id: 'dsh-daoing-memory#memory/extractionLog',
|
|
@@ -1649,7 +1794,7 @@ export const TYPERT = {
|
|
|
1649
1794
|
typeSymbol: 'dsh-daoing-memory#memory/extractionLog:result',
|
|
1650
1795
|
schema: dsh_daoing_memory_memory_extractionLog_result$schema,
|
|
1651
1796
|
},
|
|
1652
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1797
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":322,"column":3},
|
|
1653
1798
|
},
|
|
1654
1799
|
{
|
|
1655
1800
|
id: 'dsh-daoing-memory#memory/extractionLogCount',
|
|
@@ -1679,7 +1824,7 @@ export const TYPERT = {
|
|
|
1679
1824
|
typeSymbol: 'dsh-daoing-memory#memory/extractionLogCount:result',
|
|
1680
1825
|
schema: dsh_daoing_memory_memory_extractionLogCount_result$schema,
|
|
1681
1826
|
},
|
|
1682
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1827
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":329,"column":3},
|
|
1683
1828
|
},
|
|
1684
1829
|
{
|
|
1685
1830
|
id: 'dsh-daoing-memory#memory/family',
|
|
@@ -1719,7 +1864,47 @@ export const TYPERT = {
|
|
|
1719
1864
|
typeSymbol: 'dsh-daoing-memory#memory/family:result',
|
|
1720
1865
|
schema: dsh_daoing_memory_memory_family_result$schema,
|
|
1721
1866
|
},
|
|
1722
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1867
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":149,"column":3},
|
|
1868
|
+
},
|
|
1869
|
+
{
|
|
1870
|
+
id: 'dsh-daoing-memory#memory/generateSkillDraft',
|
|
1871
|
+
service: 'memory',
|
|
1872
|
+
namespace: 'memory',
|
|
1873
|
+
method: 'generateSkillDraft',
|
|
1874
|
+
invocation: { kind: 'direct' },
|
|
1875
|
+
scope: {
|
|
1876
|
+
context: 'agent',
|
|
1877
|
+
wire: 'agentId',
|
|
1878
|
+
},
|
|
1879
|
+
parameters: [
|
|
1880
|
+
{
|
|
1881
|
+
name: 'agent',
|
|
1882
|
+
wire: 'agentId',
|
|
1883
|
+
source: 'lookup',
|
|
1884
|
+
lookup: 'agent',
|
|
1885
|
+
codec: {
|
|
1886
|
+
mode: 'strict',
|
|
1887
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
1888
|
+
schema: dsh_daoing_memory_memory_generateSkillDraft_parameter_0$schema,
|
|
1889
|
+
},
|
|
1890
|
+
},
|
|
1891
|
+
{
|
|
1892
|
+
name: 'request',
|
|
1893
|
+
wire: 'request',
|
|
1894
|
+
source: 'json',
|
|
1895
|
+
codec: {
|
|
1896
|
+
mode: 'strict',
|
|
1897
|
+
typeSymbol: 'dsh-daoing-memory/types#GenerateSkillDraftRequest',
|
|
1898
|
+
schema: dsh_daoing_memory_memory_generateSkillDraft_parameter_1$schema,
|
|
1899
|
+
},
|
|
1900
|
+
},
|
|
1901
|
+
],
|
|
1902
|
+
result: {
|
|
1903
|
+
mode: 'strict',
|
|
1904
|
+
typeSymbol: 'dsh-daoing-memory/types#SkillArtifact',
|
|
1905
|
+
schema: dsh_daoing_memory_memory_generateSkillDraft_result$schema,
|
|
1906
|
+
},
|
|
1907
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":515,"column":9},
|
|
1723
1908
|
},
|
|
1724
1909
|
{
|
|
1725
1910
|
id: 'dsh-daoing-memory#memory/get',
|
|
@@ -1770,7 +1955,37 @@ export const TYPERT = {
|
|
|
1770
1955
|
typeSymbol: 'dsh-daoing-memory#memory/get:result',
|
|
1771
1956
|
schema: dsh_daoing_memory_memory_get_result$schema,
|
|
1772
1957
|
},
|
|
1773
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1958
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":135,"column":3},
|
|
1959
|
+
},
|
|
1960
|
+
{
|
|
1961
|
+
id: 'dsh-daoing-memory#memory/getDeletionFeedback',
|
|
1962
|
+
service: 'memory',
|
|
1963
|
+
namespace: 'memory',
|
|
1964
|
+
method: 'getDeletionFeedback',
|
|
1965
|
+
invocation: { kind: 'direct' },
|
|
1966
|
+
scope: {
|
|
1967
|
+
context: 'agent',
|
|
1968
|
+
wire: 'agentId',
|
|
1969
|
+
},
|
|
1970
|
+
parameters: [
|
|
1971
|
+
{
|
|
1972
|
+
name: 'agent',
|
|
1973
|
+
wire: 'agentId',
|
|
1974
|
+
source: 'lookup',
|
|
1975
|
+
lookup: 'agent',
|
|
1976
|
+
codec: {
|
|
1977
|
+
mode: 'strict',
|
|
1978
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
1979
|
+
schema: dsh_daoing_memory_memory_getDeletionFeedback_parameter_0$schema,
|
|
1980
|
+
},
|
|
1981
|
+
},
|
|
1982
|
+
],
|
|
1983
|
+
result: {
|
|
1984
|
+
mode: 'strict',
|
|
1985
|
+
typeSymbol: 'dsh-daoing-memory#memory/getDeletionFeedback:result',
|
|
1986
|
+
schema: dsh_daoing_memory_memory_getDeletionFeedback_result$schema,
|
|
1987
|
+
},
|
|
1988
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":268,"column":3},
|
|
1774
1989
|
},
|
|
1775
1990
|
{
|
|
1776
1991
|
id: 'dsh-daoing-memory#memory/getDiaryByIds',
|
|
@@ -1810,7 +2025,47 @@ export const TYPERT = {
|
|
|
1810
2025
|
typeSymbol: 'dsh-daoing-memory#memory/getDiaryByIds:result',
|
|
1811
2026
|
schema: dsh_daoing_memory_memory_getDiaryByIds_result$schema,
|
|
1812
2027
|
},
|
|
1813
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2028
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":282,"column":3},
|
|
2029
|
+
},
|
|
2030
|
+
{
|
|
2031
|
+
id: 'dsh-daoing-memory#memory/getSkillArtifact',
|
|
2032
|
+
service: 'memory',
|
|
2033
|
+
namespace: 'memory',
|
|
2034
|
+
method: 'getSkillArtifact',
|
|
2035
|
+
invocation: { kind: 'direct' },
|
|
2036
|
+
scope: {
|
|
2037
|
+
context: 'agent',
|
|
2038
|
+
wire: 'agentId',
|
|
2039
|
+
},
|
|
2040
|
+
parameters: [
|
|
2041
|
+
{
|
|
2042
|
+
name: 'agent',
|
|
2043
|
+
wire: 'agentId',
|
|
2044
|
+
source: 'lookup',
|
|
2045
|
+
lookup: 'agent',
|
|
2046
|
+
codec: {
|
|
2047
|
+
mode: 'strict',
|
|
2048
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
2049
|
+
schema: dsh_daoing_memory_memory_getSkillArtifact_parameter_0$schema,
|
|
2050
|
+
},
|
|
2051
|
+
},
|
|
2052
|
+
{
|
|
2053
|
+
name: 'id',
|
|
2054
|
+
wire: 'id',
|
|
2055
|
+
source: 'json',
|
|
2056
|
+
codec: {
|
|
2057
|
+
mode: 'strict',
|
|
2058
|
+
typeSymbol: 'dsh-daoing-memory#memory/getSkillArtifact:id',
|
|
2059
|
+
schema: dsh_daoing_memory_memory_getSkillArtifact_parameter_1$schema,
|
|
2060
|
+
},
|
|
2061
|
+
},
|
|
2062
|
+
],
|
|
2063
|
+
result: {
|
|
2064
|
+
mode: 'strict',
|
|
2065
|
+
typeSymbol: 'dsh-daoing-memory#memory/getSkillArtifact:result',
|
|
2066
|
+
schema: dsh_daoing_memory_memory_getSkillArtifact_result$schema,
|
|
2067
|
+
},
|
|
2068
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":571,"column":3},
|
|
1814
2069
|
},
|
|
1815
2070
|
{
|
|
1816
2071
|
id: 'dsh-daoing-memory#memory/humanAckDiary',
|
|
@@ -1850,7 +2105,7 @@ export const TYPERT = {
|
|
|
1850
2105
|
typeSymbol: 'dsh-daoing-memory/types#DiaryEntry',
|
|
1851
2106
|
schema: dsh_daoing_memory_memory_humanAckDiary_result$schema,
|
|
1852
2107
|
},
|
|
1853
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2108
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":490,"column":3},
|
|
1854
2109
|
},
|
|
1855
2110
|
{
|
|
1856
2111
|
id: 'dsh-daoing-memory#memory/humanAddExperience',
|
|
@@ -1890,7 +2145,7 @@ export const TYPERT = {
|
|
|
1890
2145
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
1891
2146
|
schema: dsh_daoing_memory_memory_humanAddExperience_result$schema,
|
|
1892
2147
|
},
|
|
1893
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2148
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":433,"column":3},
|
|
1894
2149
|
},
|
|
1895
2150
|
{
|
|
1896
2151
|
id: 'dsh-daoing-memory#memory/humanAddFact',
|
|
@@ -1930,7 +2185,7 @@ export const TYPERT = {
|
|
|
1930
2185
|
typeSymbol: 'dsh-daoing-memory/types#FactEntry',
|
|
1931
2186
|
schema: dsh_daoing_memory_memory_humanAddFact_result$schema,
|
|
1932
2187
|
},
|
|
1933
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2188
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":461,"column":3},
|
|
1934
2189
|
},
|
|
1935
2190
|
{
|
|
1936
2191
|
id: 'dsh-daoing-memory#memory/humanArchiveExperience',
|
|
@@ -1970,7 +2225,7 @@ export const TYPERT = {
|
|
|
1970
2225
|
typeSymbol: 'dsh-daoing-memory#memory/humanArchiveExperience:result',
|
|
1971
2226
|
schema: dsh_daoing_memory_memory_humanArchiveExperience_result$schema,
|
|
1972
2227
|
},
|
|
1973
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2228
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":418,"column":3},
|
|
1974
2229
|
},
|
|
1975
2230
|
{
|
|
1976
2231
|
id: 'dsh-daoing-memory#memory/humanConfirmFact',
|
|
@@ -2010,7 +2265,7 @@ export const TYPERT = {
|
|
|
2010
2265
|
typeSymbol: 'dsh-daoing-memory/types#FactEntry',
|
|
2011
2266
|
schema: dsh_daoing_memory_memory_humanConfirmFact_result$schema,
|
|
2012
2267
|
},
|
|
2013
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2268
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":483,"column":3},
|
|
2014
2269
|
},
|
|
2015
2270
|
{
|
|
2016
2271
|
id: 'dsh-daoing-memory#memory/humanDeleteConcern',
|
|
@@ -2050,7 +2305,7 @@ export const TYPERT = {
|
|
|
2050
2305
|
typeSymbol: 'dsh-daoing-memory#memory/humanDeleteConcern:result',
|
|
2051
2306
|
schema: dsh_daoing_memory_memory_humanDeleteConcern_result$schema,
|
|
2052
2307
|
},
|
|
2053
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2308
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":505,"column":3},
|
|
2054
2309
|
},
|
|
2055
2310
|
{
|
|
2056
2311
|
id: 'dsh-daoing-memory#memory/humanDeleteExperience',
|
|
@@ -2090,7 +2345,7 @@ export const TYPERT = {
|
|
|
2090
2345
|
typeSymbol: 'dsh-daoing-memory#memory/humanDeleteExperience:result',
|
|
2091
2346
|
schema: dsh_daoing_memory_memory_humanDeleteExperience_result$schema,
|
|
2092
2347
|
},
|
|
2093
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2348
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":410,"column":3},
|
|
2094
2349
|
},
|
|
2095
2350
|
{
|
|
2096
2351
|
id: 'dsh-daoing-memory#memory/humanDeleteFact',
|
|
@@ -2130,7 +2385,7 @@ export const TYPERT = {
|
|
|
2130
2385
|
typeSymbol: 'dsh-daoing-memory#memory/humanDeleteFact:result',
|
|
2131
2386
|
schema: dsh_daoing_memory_memory_humanDeleteFact_result$schema,
|
|
2132
2387
|
},
|
|
2133
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2388
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":475,"column":3},
|
|
2134
2389
|
},
|
|
2135
2390
|
{
|
|
2136
2391
|
id: 'dsh-daoing-memory#memory/humanEditExperience',
|
|
@@ -2170,7 +2425,7 @@ export const TYPERT = {
|
|
|
2170
2425
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2171
2426
|
schema: dsh_daoing_memory_memory_humanEditExperience_result$schema,
|
|
2172
2427
|
},
|
|
2173
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2428
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":426,"column":3},
|
|
2174
2429
|
},
|
|
2175
2430
|
{
|
|
2176
2431
|
id: 'dsh-daoing-memory#memory/humanEditFact',
|
|
@@ -2210,7 +2465,7 @@ export const TYPERT = {
|
|
|
2210
2465
|
typeSymbol: 'dsh-daoing-memory/types#FactEntry',
|
|
2211
2466
|
schema: dsh_daoing_memory_memory_humanEditFact_result$schema,
|
|
2212
2467
|
},
|
|
2213
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2468
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":468,"column":3},
|
|
2214
2469
|
},
|
|
2215
2470
|
{
|
|
2216
2471
|
id: 'dsh-daoing-memory#memory/humanPin',
|
|
@@ -2250,7 +2505,7 @@ export const TYPERT = {
|
|
|
2250
2505
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2251
2506
|
schema: dsh_daoing_memory_memory_humanPin_result$schema,
|
|
2252
2507
|
},
|
|
2253
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2508
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":403,"column":3},
|
|
2254
2509
|
},
|
|
2255
2510
|
{
|
|
2256
2511
|
id: 'dsh-daoing-memory#memory/humanPromote',
|
|
@@ -2300,7 +2555,7 @@ export const TYPERT = {
|
|
|
2300
2555
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2301
2556
|
schema: dsh_daoing_memory_memory_humanPromote_result$schema,
|
|
2302
2557
|
},
|
|
2303
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2558
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":440,"column":3},
|
|
2304
2559
|
},
|
|
2305
2560
|
{
|
|
2306
2561
|
id: 'dsh-daoing-memory#memory/humanReleaseCold',
|
|
@@ -2340,7 +2595,7 @@ export const TYPERT = {
|
|
|
2340
2595
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2341
2596
|
schema: dsh_daoing_memory_memory_humanReleaseCold_result$schema,
|
|
2342
2597
|
},
|
|
2343
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2598
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":447,"column":3},
|
|
2344
2599
|
},
|
|
2345
2600
|
{
|
|
2346
2601
|
id: 'dsh-daoing-memory#memory/humanRollback',
|
|
@@ -2380,7 +2635,7 @@ export const TYPERT = {
|
|
|
2380
2635
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2381
2636
|
schema: dsh_daoing_memory_memory_humanRollback_result$schema,
|
|
2382
2637
|
},
|
|
2383
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2638
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":454,"column":3},
|
|
2384
2639
|
},
|
|
2385
2640
|
{
|
|
2386
2641
|
id: 'dsh-daoing-memory#memory/humanSetConcernStatus',
|
|
@@ -2420,7 +2675,7 @@ export const TYPERT = {
|
|
|
2420
2675
|
typeSymbol: 'dsh-daoing-memory#memory/humanSetConcernStatus:result',
|
|
2421
2676
|
schema: dsh_daoing_memory_memory_humanSetConcernStatus_result$schema,
|
|
2422
2677
|
},
|
|
2423
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2678
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":497,"column":3},
|
|
2424
2679
|
},
|
|
2425
2680
|
{
|
|
2426
2681
|
id: 'dsh-daoing-memory#memory/ingest',
|
|
@@ -2460,7 +2715,47 @@ export const TYPERT = {
|
|
|
2460
2715
|
typeSymbol: 'dsh-daoing-memory/types#IngestResult',
|
|
2461
2716
|
schema: dsh_daoing_memory_memory_ingest_result$schema,
|
|
2462
2717
|
},
|
|
2463
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2718
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":111,"column":3},
|
|
2719
|
+
},
|
|
2720
|
+
{
|
|
2721
|
+
id: 'dsh-daoing-memory#memory/isSkillCandidate',
|
|
2722
|
+
service: 'memory',
|
|
2723
|
+
namespace: 'memory',
|
|
2724
|
+
method: 'isSkillCandidate',
|
|
2725
|
+
invocation: { kind: 'direct' },
|
|
2726
|
+
scope: {
|
|
2727
|
+
context: 'agent',
|
|
2728
|
+
wire: 'agentId',
|
|
2729
|
+
},
|
|
2730
|
+
parameters: [
|
|
2731
|
+
{
|
|
2732
|
+
name: 'agent',
|
|
2733
|
+
wire: 'agentId',
|
|
2734
|
+
source: 'lookup',
|
|
2735
|
+
lookup: 'agent',
|
|
2736
|
+
codec: {
|
|
2737
|
+
mode: 'strict',
|
|
2738
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
2739
|
+
schema: dsh_daoing_memory_memory_isSkillCandidate_parameter_0$schema,
|
|
2740
|
+
},
|
|
2741
|
+
},
|
|
2742
|
+
{
|
|
2743
|
+
name: 'experienceId',
|
|
2744
|
+
wire: 'experienceId',
|
|
2745
|
+
source: 'json',
|
|
2746
|
+
codec: {
|
|
2747
|
+
mode: 'strict',
|
|
2748
|
+
typeSymbol: 'dsh-daoing-memory#memory/isSkillCandidate:experienceId',
|
|
2749
|
+
schema: dsh_daoing_memory_memory_isSkillCandidate_parameter_1$schema,
|
|
2750
|
+
},
|
|
2751
|
+
},
|
|
2752
|
+
],
|
|
2753
|
+
result: {
|
|
2754
|
+
mode: 'strict',
|
|
2755
|
+
typeSymbol: 'dsh-daoing-memory#memory/isSkillCandidate:result',
|
|
2756
|
+
schema: dsh_daoing_memory_memory_isSkillCandidate_result$schema,
|
|
2757
|
+
},
|
|
2758
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":578,"column":3},
|
|
2464
2759
|
},
|
|
2465
2760
|
{
|
|
2466
2761
|
id: 'dsh-daoing-memory#memory/ledgerQuery',
|
|
@@ -2500,7 +2795,7 @@ export const TYPERT = {
|
|
|
2500
2795
|
typeSymbol: 'dsh-daoing-memory#memory/ledgerQuery:result',
|
|
2501
2796
|
schema: dsh_daoing_memory_memory_ledgerQuery_result$schema,
|
|
2502
2797
|
},
|
|
2503
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2798
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":350,"column":3},
|
|
2504
2799
|
},
|
|
2505
2800
|
{
|
|
2506
2801
|
id: 'dsh-daoing-memory#memory/ledgerQueryCount',
|
|
@@ -2540,7 +2835,7 @@ export const TYPERT = {
|
|
|
2540
2835
|
typeSymbol: 'dsh-daoing-memory#memory/ledgerQueryCount:result',
|
|
2541
2836
|
schema: dsh_daoing_memory_memory_ledgerQueryCount_result$schema,
|
|
2542
2837
|
},
|
|
2543
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2838
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":357,"column":3},
|
|
2544
2839
|
},
|
|
2545
2840
|
{
|
|
2546
2841
|
id: 'dsh-daoing-memory#memory/list',
|
|
@@ -2580,7 +2875,7 @@ export const TYPERT = {
|
|
|
2580
2875
|
typeSymbol: 'dsh-daoing-memory#memory/list:result',
|
|
2581
2876
|
schema: dsh_daoing_memory_memory_list_result$schema,
|
|
2582
2877
|
},
|
|
2583
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2878
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":142,"column":3},
|
|
2584
2879
|
},
|
|
2585
2880
|
{
|
|
2586
2881
|
id: 'dsh-daoing-memory#memory/listConcerns',
|
|
@@ -2650,7 +2945,7 @@ export const TYPERT = {
|
|
|
2650
2945
|
typeSymbol: 'dsh-daoing-memory#memory/listConcerns:result',
|
|
2651
2946
|
schema: dsh_daoing_memory_memory_listConcerns_result$schema,
|
|
2652
2947
|
},
|
|
2653
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2948
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":303,"column":3},
|
|
2654
2949
|
},
|
|
2655
2950
|
{
|
|
2656
2951
|
id: 'dsh-daoing-memory#memory/listConcernsCount',
|
|
@@ -2700,7 +2995,7 @@ export const TYPERT = {
|
|
|
2700
2995
|
typeSymbol: 'dsh-daoing-memory#memory/listConcernsCount:result',
|
|
2701
2996
|
schema: dsh_daoing_memory_memory_listConcernsCount_result$schema,
|
|
2702
2997
|
},
|
|
2703
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2998
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":310,"column":3},
|
|
2704
2999
|
},
|
|
2705
3000
|
{
|
|
2706
3001
|
id: 'dsh-daoing-memory#memory/listDiary',
|
|
@@ -2760,7 +3055,7 @@ export const TYPERT = {
|
|
|
2760
3055
|
typeSymbol: 'dsh-daoing-memory#memory/listDiary:result',
|
|
2761
3056
|
schema: dsh_daoing_memory_memory_listDiary_result$schema,
|
|
2762
3057
|
},
|
|
2763
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3058
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":275,"column":3},
|
|
2764
3059
|
},
|
|
2765
3060
|
{
|
|
2766
3061
|
id: 'dsh-daoing-memory#memory/listFacts',
|
|
@@ -2830,7 +3125,7 @@ export const TYPERT = {
|
|
|
2830
3125
|
typeSymbol: 'dsh-daoing-memory#memory/listFacts:result',
|
|
2831
3126
|
schema: dsh_daoing_memory_memory_listFacts_result$schema,
|
|
2832
3127
|
},
|
|
2833
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3128
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":289,"column":3},
|
|
2834
3129
|
},
|
|
2835
3130
|
{
|
|
2836
3131
|
id: 'dsh-daoing-memory#memory/listFactsCount',
|
|
@@ -2880,7 +3175,97 @@ export const TYPERT = {
|
|
|
2880
3175
|
typeSymbol: 'dsh-daoing-memory#memory/listFactsCount:result',
|
|
2881
3176
|
schema: dsh_daoing_memory_memory_listFactsCount_result$schema,
|
|
2882
3177
|
},
|
|
2883
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3178
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":296,"column":3},
|
|
3179
|
+
},
|
|
3180
|
+
{
|
|
3181
|
+
id: 'dsh-daoing-memory#memory/listSkillArtifacts',
|
|
3182
|
+
service: 'memory',
|
|
3183
|
+
namespace: 'memory',
|
|
3184
|
+
method: 'listSkillArtifacts',
|
|
3185
|
+
invocation: { kind: 'direct' },
|
|
3186
|
+
scope: {
|
|
3187
|
+
context: 'agent',
|
|
3188
|
+
wire: 'agentId',
|
|
3189
|
+
},
|
|
3190
|
+
parameters: [
|
|
3191
|
+
{
|
|
3192
|
+
name: 'agent',
|
|
3193
|
+
wire: 'agentId',
|
|
3194
|
+
source: 'lookup',
|
|
3195
|
+
lookup: 'agent',
|
|
3196
|
+
codec: {
|
|
3197
|
+
mode: 'strict',
|
|
3198
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
3199
|
+
schema: dsh_daoing_memory_memory_listSkillArtifacts_parameter_0$schema,
|
|
3200
|
+
},
|
|
3201
|
+
},
|
|
3202
|
+
{
|
|
3203
|
+
name: 'parentExperienceId',
|
|
3204
|
+
wire: 'parentExperienceId',
|
|
3205
|
+
source: 'json',
|
|
3206
|
+
codec: {
|
|
3207
|
+
mode: 'strict',
|
|
3208
|
+
typeSymbol: 'dsh-daoing-memory#memory/listSkillArtifacts:parentExperienceId',
|
|
3209
|
+
schema: dsh_daoing_memory_memory_listSkillArtifacts_parameter_1$schema,
|
|
3210
|
+
},
|
|
3211
|
+
},
|
|
3212
|
+
{
|
|
3213
|
+
name: 'status',
|
|
3214
|
+
wire: 'status',
|
|
3215
|
+
source: 'json',
|
|
3216
|
+
codec: {
|
|
3217
|
+
mode: 'strict',
|
|
3218
|
+
typeSymbol: 'dsh-daoing-memory#memory/listSkillArtifacts:status',
|
|
3219
|
+
schema: dsh_daoing_memory_memory_listSkillArtifacts_parameter_2$schema,
|
|
3220
|
+
},
|
|
3221
|
+
},
|
|
3222
|
+
],
|
|
3223
|
+
result: {
|
|
3224
|
+
mode: 'strict',
|
|
3225
|
+
typeSymbol: 'dsh-daoing-memory#memory/listSkillArtifacts:result',
|
|
3226
|
+
schema: dsh_daoing_memory_memory_listSkillArtifacts_result$schema,
|
|
3227
|
+
},
|
|
3228
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":561,"column":3},
|
|
3229
|
+
},
|
|
3230
|
+
{
|
|
3231
|
+
id: 'dsh-daoing-memory#memory/publishSkill',
|
|
3232
|
+
service: 'memory',
|
|
3233
|
+
namespace: 'memory',
|
|
3234
|
+
method: 'publishSkill',
|
|
3235
|
+
invocation: { kind: 'direct' },
|
|
3236
|
+
scope: {
|
|
3237
|
+
context: 'agent',
|
|
3238
|
+
wire: 'agentId',
|
|
3239
|
+
},
|
|
3240
|
+
parameters: [
|
|
3241
|
+
{
|
|
3242
|
+
name: 'agent',
|
|
3243
|
+
wire: 'agentId',
|
|
3244
|
+
source: 'lookup',
|
|
3245
|
+
lookup: 'agent',
|
|
3246
|
+
codec: {
|
|
3247
|
+
mode: 'strict',
|
|
3248
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
3249
|
+
schema: dsh_daoing_memory_memory_publishSkill_parameter_0$schema,
|
|
3250
|
+
},
|
|
3251
|
+
},
|
|
3252
|
+
{
|
|
3253
|
+
name: 'request',
|
|
3254
|
+
wire: 'request',
|
|
3255
|
+
source: 'json',
|
|
3256
|
+
codec: {
|
|
3257
|
+
mode: 'strict',
|
|
3258
|
+
typeSymbol: 'dsh-daoing-memory/types#PublishSkillRequest',
|
|
3259
|
+
schema: dsh_daoing_memory_memory_publishSkill_parameter_1$schema,
|
|
3260
|
+
},
|
|
3261
|
+
},
|
|
3262
|
+
],
|
|
3263
|
+
result: {
|
|
3264
|
+
mode: 'strict',
|
|
3265
|
+
typeSymbol: 'dsh-daoing-memory/types#SkillArtifact',
|
|
3266
|
+
schema: dsh_daoing_memory_memory_publishSkill_result$schema,
|
|
3267
|
+
},
|
|
3268
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":541,"column":3},
|
|
2884
3269
|
},
|
|
2885
3270
|
{
|
|
2886
3271
|
id: 'dsh-daoing-memory#memory/recall',
|
|
@@ -2920,7 +3305,7 @@ export const TYPERT = {
|
|
|
2920
3305
|
typeSymbol: 'dsh-daoing-memory/types#RecallExperiencesResult',
|
|
2921
3306
|
schema: dsh_daoing_memory_memory_recall_result$schema,
|
|
2922
3307
|
},
|
|
2923
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3308
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":99,"column":3},
|
|
2924
3309
|
},
|
|
2925
3310
|
{
|
|
2926
3311
|
id: 'dsh-daoing-memory#memory/refine',
|
|
@@ -2960,7 +3345,7 @@ export const TYPERT = {
|
|
|
2960
3345
|
typeSymbol: 'dsh-daoing-memory/types#RefineExperienceResult',
|
|
2961
3346
|
schema: dsh_daoing_memory_memory_refine_result$schema,
|
|
2962
3347
|
},
|
|
2963
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3348
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":93,"column":3},
|
|
2964
3349
|
},
|
|
2965
3350
|
{
|
|
2966
3351
|
id: 'dsh-daoing-memory#memory/report',
|
|
@@ -3000,7 +3385,47 @@ export const TYPERT = {
|
|
|
3000
3385
|
typeSymbol: 'dsh-daoing-memory/types#ReportUseResult',
|
|
3001
3386
|
schema: dsh_daoing_memory_memory_report_result$schema,
|
|
3002
3387
|
},
|
|
3003
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3388
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":105,"column":3},
|
|
3389
|
+
},
|
|
3390
|
+
{
|
|
3391
|
+
id: 'dsh-daoing-memory#memory/reviewSkill',
|
|
3392
|
+
service: 'memory',
|
|
3393
|
+
namespace: 'memory',
|
|
3394
|
+
method: 'reviewSkill',
|
|
3395
|
+
invocation: { kind: 'direct' },
|
|
3396
|
+
scope: {
|
|
3397
|
+
context: 'agent',
|
|
3398
|
+
wire: 'agentId',
|
|
3399
|
+
},
|
|
3400
|
+
parameters: [
|
|
3401
|
+
{
|
|
3402
|
+
name: 'agent',
|
|
3403
|
+
wire: 'agentId',
|
|
3404
|
+
source: 'lookup',
|
|
3405
|
+
lookup: 'agent',
|
|
3406
|
+
codec: {
|
|
3407
|
+
mode: 'strict',
|
|
3408
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
3409
|
+
schema: dsh_daoing_memory_memory_reviewSkill_parameter_0$schema,
|
|
3410
|
+
},
|
|
3411
|
+
},
|
|
3412
|
+
{
|
|
3413
|
+
name: 'request',
|
|
3414
|
+
wire: 'request',
|
|
3415
|
+
source: 'json',
|
|
3416
|
+
codec: {
|
|
3417
|
+
mode: 'strict',
|
|
3418
|
+
typeSymbol: 'dsh-daoing-memory/types#ReviewSkillRequest',
|
|
3419
|
+
schema: dsh_daoing_memory_memory_reviewSkill_parameter_1$schema,
|
|
3420
|
+
},
|
|
3421
|
+
},
|
|
3422
|
+
],
|
|
3423
|
+
result: {
|
|
3424
|
+
mode: 'strict',
|
|
3425
|
+
typeSymbol: 'dsh-daoing-memory/types#SkillArtifact',
|
|
3426
|
+
schema: dsh_daoing_memory_memory_reviewSkill_result$schema,
|
|
3427
|
+
},
|
|
3428
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":535,"column":3},
|
|
3004
3429
|
},
|
|
3005
3430
|
{
|
|
3006
3431
|
id: 'dsh-daoing-memory#memory/revise',
|
|
@@ -3040,7 +3465,7 @@ export const TYPERT = {
|
|
|
3040
3465
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
3041
3466
|
schema: dsh_daoing_memory_memory_revise_result$schema,
|
|
3042
3467
|
},
|
|
3043
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3468
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":117,"column":3},
|
|
3044
3469
|
},
|
|
3045
3470
|
{
|
|
3046
3471
|
id: 'dsh-daoing-memory#memory/rollback',
|
|
@@ -3080,7 +3505,37 @@ export const TYPERT = {
|
|
|
3080
3505
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
3081
3506
|
schema: dsh_daoing_memory_memory_rollback_result$schema,
|
|
3082
3507
|
},
|
|
3083
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3508
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":129,"column":3},
|
|
3509
|
+
},
|
|
3510
|
+
{
|
|
3511
|
+
id: 'dsh-daoing-memory#memory/runDeletionFeedback',
|
|
3512
|
+
service: 'memory',
|
|
3513
|
+
namespace: 'memory',
|
|
3514
|
+
method: 'runDeletionFeedback',
|
|
3515
|
+
invocation: { kind: 'direct' },
|
|
3516
|
+
scope: {
|
|
3517
|
+
context: 'agent',
|
|
3518
|
+
wire: 'agentId',
|
|
3519
|
+
},
|
|
3520
|
+
parameters: [
|
|
3521
|
+
{
|
|
3522
|
+
name: 'agent',
|
|
3523
|
+
wire: 'agentId',
|
|
3524
|
+
source: 'lookup',
|
|
3525
|
+
lookup: 'agent',
|
|
3526
|
+
codec: {
|
|
3527
|
+
mode: 'strict',
|
|
3528
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
3529
|
+
schema: dsh_daoing_memory_memory_runDeletionFeedback_parameter_0$schema,
|
|
3530
|
+
},
|
|
3531
|
+
},
|
|
3532
|
+
],
|
|
3533
|
+
result: {
|
|
3534
|
+
mode: 'strict',
|
|
3535
|
+
typeSymbol: 'dsh-daoing-memory#memory/runDeletionFeedback:result',
|
|
3536
|
+
schema: dsh_daoing_memory_memory_runDeletionFeedback_result$schema,
|
|
3537
|
+
},
|
|
3538
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":248,"column":9},
|
|
3084
3539
|
},
|
|
3085
3540
|
{
|
|
3086
3541
|
id: 'dsh-daoing-memory#memory/stats',
|
|
@@ -3110,7 +3565,7 @@ export const TYPERT = {
|
|
|
3110
3565
|
typeSymbol: 'dsh-daoing-memory/types#MemoryStats',
|
|
3111
3566
|
schema: dsh_daoing_memory_memory_stats_result$schema,
|
|
3112
3567
|
},
|
|
3113
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3568
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":371,"column":3},
|
|
3114
3569
|
},
|
|
3115
3570
|
{
|
|
3116
3571
|
id: 'dsh-daoing-memory#memory/verifyLedger',
|
|
@@ -3140,7 +3595,7 @@ export const TYPERT = {
|
|
|
3140
3595
|
typeSymbol: 'dsh-daoing-memory/types#LedgerIntegrityResult',
|
|
3141
3596
|
schema: dsh_daoing_memory_memory_verifyLedger_result$schema,
|
|
3142
3597
|
},
|
|
3143
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3598
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":364,"column":3},
|
|
3144
3599
|
},
|
|
3145
3600
|
{
|
|
3146
3601
|
id: 'dsh-daoing-memory#memory/verifyShadow',
|
|
@@ -3180,7 +3635,7 @@ export const TYPERT = {
|
|
|
3180
3635
|
typeSymbol: 'dsh-daoing-memory/types#VerifyShadowResult',
|
|
3181
3636
|
schema: dsh_daoing_memory_memory_verifyShadow_result$schema,
|
|
3182
3637
|
},
|
|
3183
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3638
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":123,"column":3},
|
|
3184
3639
|
},
|
|
3185
3640
|
{
|
|
3186
3641
|
id: 'dsh-daoing-memory#memory/workbenchInfo',
|
|
@@ -3210,7 +3665,7 @@ export const TYPERT = {
|
|
|
3210
3665
|
typeSymbol: 'dsh-daoing-memory/types#MemoryWorkbenchInfo',
|
|
3211
3666
|
schema: dsh_daoing_memory_memory_workbenchInfo_result$schema,
|
|
3212
3667
|
},
|
|
3213
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3668
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":378,"column":3},
|
|
3214
3669
|
},
|
|
3215
3670
|
],
|
|
3216
3671
|
model: {
|
|
@@ -3303,10 +3758,24 @@ export const TYPERT = {
|
|
|
3303
3758
|
{
|
|
3304
3759
|
"kind": "method",
|
|
3305
3760
|
"name": "extract",
|
|
3306
|
-
"signature": "@Remote('extract') extract(agent: Agent, request: ExtractFactsRequest): ExtractFactsResult",
|
|
3761
|
+
"signature": "@Remote('extract') async extract(agent: Agent, request: ExtractFactsRequest): Promise<ExtractFactsResult>",
|
|
3307
3762
|
"summary": "上升通道: apply extracted facts over the pending diary window.",
|
|
3308
3763
|
"jsDoc": "/** 上升通道: apply extracted facts over the pending diary window. */"
|
|
3309
3764
|
},
|
|
3765
|
+
{
|
|
3766
|
+
"kind": "method",
|
|
3767
|
+
"name": "runDeletionFeedback",
|
|
3768
|
+
"signature": "@Remote('runDeletionFeedback') async runDeletionFeedback(agent: Agent): Promise<{ ran: boolean; summary?: string }>",
|
|
3769
|
+
"summary": "Remote: manually trigger deletion-feedback summarization (for testing/debugging).",
|
|
3770
|
+
"jsDoc": "/**\n * Remote: manually trigger deletion-feedback summarization (for testing/debugging).\n */"
|
|
3771
|
+
},
|
|
3772
|
+
{
|
|
3773
|
+
"kind": "method",
|
|
3774
|
+
"name": "getDeletionFeedback",
|
|
3775
|
+
"signature": "@Remote('getDeletionFeedback') getDeletionFeedback(agent: Agent): ExperienceSnapshot | null",
|
|
3776
|
+
"summary": "Remote: get the current deletion-feedback experience (for debugging).",
|
|
3777
|
+
"jsDoc": "/**\n * Remote: get the current deletion-feedback experience (for debugging).\n */"
|
|
3778
|
+
},
|
|
3310
3779
|
{
|
|
3311
3780
|
"kind": "method",
|
|
3312
3781
|
"name": "listDiary",
|
|
@@ -3537,6 +4006,48 @@ export const TYPERT = {
|
|
|
3537
4006
|
"signature": "@Remote('humanDeleteConcern') humanDeleteConcern(agent: Agent, request: HumanDeleteConcernRequest): { deleted: true }",
|
|
3538
4007
|
"summary": "Human delete of a concern subtree (007 §2.4).",
|
|
3539
4008
|
"jsDoc": "/** Human delete of a concern subtree (007 §2.4). */"
|
|
4009
|
+
},
|
|
4010
|
+
{
|
|
4011
|
+
"kind": "method",
|
|
4012
|
+
"name": "generateSkillDraft",
|
|
4013
|
+
"signature": "@Remote('generateSkillDraft') async generateSkillDraft(agent: Agent, request: GenerateSkillDraftRequest): Promise<SkillArtifact>",
|
|
4014
|
+
"summary": "Generate a skill draft from an experience using LLM.",
|
|
4015
|
+
"jsDoc": "/** Generate a skill draft from an experience using LLM. */"
|
|
4016
|
+
},
|
|
4017
|
+
{
|
|
4018
|
+
"kind": "method",
|
|
4019
|
+
"name": "reviewSkill",
|
|
4020
|
+
"signature": "@Remote('reviewSkill') reviewSkill(agent: Agent, request: ReviewSkillRequest): SkillArtifact",
|
|
4021
|
+
"summary": "Review (approve/reject) a skill artifact.",
|
|
4022
|
+
"jsDoc": "/** Review (approve/reject) a skill artifact. */"
|
|
4023
|
+
},
|
|
4024
|
+
{
|
|
4025
|
+
"kind": "method",
|
|
4026
|
+
"name": "publishSkill",
|
|
4027
|
+
"signature": "@Remote('publishSkill') publishSkill(agent: Agent, request: PublishSkillRequest): SkillArtifact",
|
|
4028
|
+
"summary": "Publish an approved skill (copy to $DSH_HOME/skills/).",
|
|
4029
|
+
"jsDoc": "/** Publish an approved skill (copy to $DSH_HOME/skills/). */"
|
|
4030
|
+
},
|
|
4031
|
+
{
|
|
4032
|
+
"kind": "method",
|
|
4033
|
+
"name": "listSkillArtifacts",
|
|
4034
|
+
"signature": "@Remote('listSkillArtifacts') listSkillArtifacts(agent: Agent, parentExperienceId: string, status: string): SkillArtifact[]",
|
|
4035
|
+
"summary": "List skill artifacts.",
|
|
4036
|
+
"jsDoc": "/** List skill artifacts. */"
|
|
4037
|
+
},
|
|
4038
|
+
{
|
|
4039
|
+
"kind": "method",
|
|
4040
|
+
"name": "getSkillArtifact",
|
|
4041
|
+
"signature": "@Remote('getSkillArtifact') getSkillArtifact(agent: Agent, id: string): SkillArtifact | null",
|
|
4042
|
+
"summary": "Get a single skill artifact.",
|
|
4043
|
+
"jsDoc": "/** Get a single skill artifact. */"
|
|
4044
|
+
},
|
|
4045
|
+
{
|
|
4046
|
+
"kind": "method",
|
|
4047
|
+
"name": "isSkillCandidate",
|
|
4048
|
+
"signature": "@Remote('isSkillCandidate') isSkillCandidate(agent: Agent, experienceId: string): boolean",
|
|
4049
|
+
"summary": "Check if an experience is a skill conversion candidate.",
|
|
4050
|
+
"jsDoc": "/** Check if an experience is a skill conversion candidate. */"
|
|
3540
4051
|
}
|
|
3541
4052
|
],
|
|
3542
4053
|
"types": [
|
|
@@ -3698,7 +4209,7 @@ export const TYPERT = {
|
|
|
3698
4209
|
},
|
|
3699
4210
|
{
|
|
3700
4211
|
"name": "ExperienceSource",
|
|
3701
|
-
"declaration": "export type ExperienceSource = 'agent' | 'human';"
|
|
4212
|
+
"declaration": "export type ExperienceSource = 'agent' | 'human' | 'system';"
|
|
3702
4213
|
},
|
|
3703
4214
|
{
|
|
3704
4215
|
"name": "ExperienceStatus",
|
|
@@ -3714,7 +4225,7 @@ export const TYPERT = {
|
|
|
3714
4225
|
},
|
|
3715
4226
|
{
|
|
3716
4227
|
"name": "ExtractFactsResult",
|
|
3717
|
-
"declaration": "export interface ExtractFactsResult {\n applied: FactEntry[];\n conflicts: FactEntry[];\n rejected: { proposal: FactProposal; reason: string; }[];\n appliedConcerns: number;\n}"
|
|
4228
|
+
"declaration": "export interface ExtractFactsResult {\n applied: FactEntry[];\n conflicts: FactEntry[];\n rejected: { proposal: FactProposal; reason: string; }[];\n appliedConcerns: number;\n deletionFeedback?: string;\n}"
|
|
3718
4229
|
},
|
|
3719
4230
|
{
|
|
3720
4231
|
"name": "ExtractionRecord",
|
|
@@ -3744,6 +4255,10 @@ export const TYPERT = {
|
|
|
3744
4255
|
"name": "FinishReasonMap",
|
|
3745
4256
|
"declaration": "export interface FinishReasonMap {\n stop: { kind: 'stop'; };\n 'tool-calls': { kind: 'tool-calls'; };\n 'max-tokens': { kind: 'max-tokens'; };\n aborted: { kind: 'aborted'; failure: LlmFailure; };\n error: { kind: 'error'; failure: LlmFailure; };\n}"
|
|
3746
4257
|
},
|
|
4258
|
+
{
|
|
4259
|
+
"name": "GenerateSkillDraftRequest",
|
|
4260
|
+
"declaration": "export interface GenerateSkillDraftRequest {\n experienceId: string;\n form: SkillForm;\n}"
|
|
4261
|
+
},
|
|
3747
4262
|
{
|
|
3748
4263
|
"name": "HumanAckDiaryRequest",
|
|
3749
4264
|
"declaration": "export interface HumanAckDiaryRequest {\n diaryId: string;\n reason: string;\n}"
|
|
@@ -3896,6 +4411,10 @@ export const TYPERT = {
|
|
|
3896
4411
|
"name": "ProviderRequestId",
|
|
3897
4412
|
"declaration": "export type ProviderRequestId = Branded<'ProviderRequestId'>;"
|
|
3898
4413
|
},
|
|
4414
|
+
{
|
|
4415
|
+
"name": "PublishSkillRequest",
|
|
4416
|
+
"declaration": "export interface PublishSkillRequest {\n id: string;\n reason: string;\n}"
|
|
4417
|
+
},
|
|
3899
4418
|
{
|
|
3900
4419
|
"name": "ReasoningBlock",
|
|
3901
4420
|
"declaration": "export interface ReasoningBlock {\n type: 'reasoning';\n text: string;\n}"
|
|
@@ -3948,6 +4467,10 @@ export const TYPERT = {
|
|
|
3948
4467
|
"name": "RequestHeaderReason",
|
|
3949
4468
|
"declaration": "export type RequestHeaderReason = 'initial' | 'resume' | 'change';"
|
|
3950
4469
|
},
|
|
4470
|
+
{
|
|
4471
|
+
"name": "ReviewSkillRequest",
|
|
4472
|
+
"declaration": "export interface ReviewSkillRequest {\n id: string;\n decision: 'approve' | 'reject';\n reason: string;\n}"
|
|
4473
|
+
},
|
|
3951
4474
|
{
|
|
3952
4475
|
"name": "ReviseExperienceRequest",
|
|
3953
4476
|
"declaration": "export interface ReviseExperienceRequest {\n id: string;\n reason: string;\n gist?: string;\n situation?: string[];\n path?: ExperienceStep[];\n reasoning?: string;\n limits?: string[];\n}"
|
|
@@ -3984,6 +4507,18 @@ export const TYPERT = {
|
|
|
3984
4507
|
"name": "SessionSurface",
|
|
3985
4508
|
"declaration": "export interface SessionSurface {\n readonly nodes: readonly number[];\n readonly replaceGeneration: number;\n}"
|
|
3986
4509
|
},
|
|
4510
|
+
{
|
|
4511
|
+
"name": "SkillArtifact",
|
|
4512
|
+
"declaration": "export interface SkillArtifact {\n id: string;\n parentExperienceId: string;\n form: SkillForm;\n status: SkillStatus;\n draftPath?: string;\n publishedPath?: string;\n version: number;\n useCount: number;\n optimizeCount: number;\n lastFeedback?: string;\n contentHash?: string;\n createdAt: number;\n updatedAt: number;\n}"
|
|
4513
|
+
},
|
|
4514
|
+
{
|
|
4515
|
+
"name": "SkillForm",
|
|
4516
|
+
"declaration": "export type SkillForm = 'skill_md' | 'script_mjs';"
|
|
4517
|
+
},
|
|
4518
|
+
{
|
|
4519
|
+
"name": "SkillStatus",
|
|
4520
|
+
"declaration": "export type SkillStatus = 'draft' | 'pending_review' | 'approved' | 'published' | 'rejected' | 'deprecated' | 'file_missing' | 'draft_lost' | 'revising' | 'file_drift';"
|
|
4521
|
+
},
|
|
3987
4522
|
{
|
|
3988
4523
|
"name": "StreamChunk",
|
|
3989
4524
|
"declaration": "export type StreamChunk = { type: 'block-start'; index: number; blockType: ContentBlockType; } | { type: 'text-delta'; index: number; text: string; } | { type: 'reasoning-delta'; index: number; text: string; } | { type: 'tool-call-delta'; index: number; id: CallId; name?: string; argumentsDelta: string; } | { type: 'block-end'; index: number; block: ContentBlock; } | { type: 'usage'; usage: TokenUsage; } | { type: 'finish'; reason: FinishReason; replayState?: unknown; };"
|