dsh-daoing-memory 0.1.8 → 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 +688 -100
- package/lib/client.js.map +1 -1
- package/lib/typert.host.js +460 -45
- package/lib/typert.remote-client.d.ts +19 -1
- package/lib/typert.remote-client.js +394 -45
- package/package.json +1 -1
package/lib/typert.host.js
CHANGED
|
@@ -291,6 +291,26 @@ const dsh_daoing_memory_memory_family_result$schema = z.array(z.object({
|
|
|
291
291
|
'createdAt': z.number(),
|
|
292
292
|
'updatedAt': z.number(),
|
|
293
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
|
+
})
|
|
294
314
|
const dsh_daoing_memory_memory_get_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
295
315
|
const dsh_daoing_memory_memory_get_parameter_1$schema = z.string()
|
|
296
316
|
const dsh_daoing_memory_memory_get_parameter_2$schema = z.union([z.undefined(), z.number()])
|
|
@@ -384,6 +404,23 @@ const dsh_daoing_memory_memory_getDiaryByIds_result$schema = z.array(z.object({
|
|
|
384
404
|
'tags': z.array(z.string()),
|
|
385
405
|
'extracted': z.boolean(),
|
|
386
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
|
+
})])
|
|
387
424
|
const dsh_daoing_memory_memory_humanAckDiary_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
388
425
|
const dsh_daoing_memory_memory_humanAckDiary_parameter_1$schema = z.object({
|
|
389
426
|
'diaryId': z.string(),
|
|
@@ -862,6 +899,9 @@ const dsh_daoing_memory_memory_ingest_result$schema = z.object({
|
|
|
862
899
|
'beta': z.number(),
|
|
863
900
|
}),
|
|
864
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()
|
|
865
905
|
const dsh_daoing_memory_memory_ledgerQuery_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
866
906
|
const dsh_daoing_memory_memory_ledgerQuery_parameter_1$schema = z.object({
|
|
867
907
|
'objectType': z.union([z.literal("experience"), z.literal("fact"), z.literal("diary"), z.literal("library"), z.literal("concern")]).optional(),
|
|
@@ -1014,6 +1054,44 @@ const dsh_daoing_memory_memory_listFactsCount_parameter_0$schema = z.intersectio
|
|
|
1014
1054
|
const dsh_daoing_memory_memory_listFactsCount_parameter_1$schema = z.string()
|
|
1015
1055
|
const dsh_daoing_memory_memory_listFactsCount_parameter_2$schema = z.boolean()
|
|
1016
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
|
+
})
|
|
1017
1095
|
const dsh_daoing_memory_memory_recall_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
1018
1096
|
const dsh_daoing_memory_memory_recall_parameter_1$schema = z.object({
|
|
1019
1097
|
'situation': z.string(),
|
|
@@ -1249,6 +1327,27 @@ const dsh_daoing_memory_memory_report_result$schema = z.object({
|
|
|
1249
1327
|
'adopted': z.boolean(),
|
|
1250
1328
|
'cooled': z.boolean().optional(),
|
|
1251
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
|
+
})
|
|
1252
1351
|
const dsh_daoing_memory_memory_revise_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
1253
1352
|
const dsh_daoing_memory_memory_revise_parameter_1$schema = z.object({
|
|
1254
1353
|
'id': z.string(),
|
|
@@ -1505,7 +1604,7 @@ export const TYPERT = {
|
|
|
1505
1604
|
typeSymbol: 'dsh-daoing-memory/types#DiaryAppendResult',
|
|
1506
1605
|
schema: dsh_daoing_memory_memory_appendDiary_result$schema,
|
|
1507
1606
|
},
|
|
1508
|
-
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},
|
|
1509
1608
|
},
|
|
1510
1609
|
{
|
|
1511
1610
|
id: 'dsh-daoing-memory#memory/consolidate',
|
|
@@ -1545,7 +1644,7 @@ export const TYPERT = {
|
|
|
1545
1644
|
typeSymbol: 'dsh-daoing-memory/types#ConsolidateResult',
|
|
1546
1645
|
schema: dsh_daoing_memory_memory_consolidate_result$schema,
|
|
1547
1646
|
},
|
|
1548
|
-
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},
|
|
1549
1648
|
},
|
|
1550
1649
|
{
|
|
1551
1650
|
id: 'dsh-daoing-memory#memory/consolidationDue',
|
|
@@ -1575,7 +1674,7 @@ export const TYPERT = {
|
|
|
1575
1674
|
typeSymbol: 'dsh-daoing-memory#memory/consolidationDue:result',
|
|
1576
1675
|
schema: dsh_daoing_memory_memory_consolidationDue_result$schema,
|
|
1577
1676
|
},
|
|
1578
|
-
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},
|
|
1579
1678
|
},
|
|
1580
1679
|
{
|
|
1581
1680
|
id: 'dsh-daoing-memory#memory/exportLibrary',
|
|
@@ -1605,7 +1704,7 @@ export const TYPERT = {
|
|
|
1605
1704
|
typeSymbol: 'dsh-daoing-memory/types#MemoryExport',
|
|
1606
1705
|
schema: dsh_daoing_memory_memory_exportLibrary_result$schema,
|
|
1607
1706
|
},
|
|
1608
|
-
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},
|
|
1609
1708
|
},
|
|
1610
1709
|
{
|
|
1611
1710
|
id: 'dsh-daoing-memory#memory/extract',
|
|
@@ -1645,7 +1744,7 @@ export const TYPERT = {
|
|
|
1645
1744
|
typeSymbol: 'dsh-daoing-memory/types#ExtractFactsResult',
|
|
1646
1745
|
schema: dsh_daoing_memory_memory_extract_result$schema,
|
|
1647
1746
|
},
|
|
1648
|
-
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},
|
|
1649
1748
|
},
|
|
1650
1749
|
{
|
|
1651
1750
|
id: 'dsh-daoing-memory#memory/extractionLog',
|
|
@@ -1695,7 +1794,7 @@ export const TYPERT = {
|
|
|
1695
1794
|
typeSymbol: 'dsh-daoing-memory#memory/extractionLog:result',
|
|
1696
1795
|
schema: dsh_daoing_memory_memory_extractionLog_result$schema,
|
|
1697
1796
|
},
|
|
1698
|
-
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},
|
|
1699
1798
|
},
|
|
1700
1799
|
{
|
|
1701
1800
|
id: 'dsh-daoing-memory#memory/extractionLogCount',
|
|
@@ -1725,7 +1824,7 @@ export const TYPERT = {
|
|
|
1725
1824
|
typeSymbol: 'dsh-daoing-memory#memory/extractionLogCount:result',
|
|
1726
1825
|
schema: dsh_daoing_memory_memory_extractionLogCount_result$schema,
|
|
1727
1826
|
},
|
|
1728
|
-
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},
|
|
1729
1828
|
},
|
|
1730
1829
|
{
|
|
1731
1830
|
id: 'dsh-daoing-memory#memory/family',
|
|
@@ -1765,7 +1864,47 @@ export const TYPERT = {
|
|
|
1765
1864
|
typeSymbol: 'dsh-daoing-memory#memory/family:result',
|
|
1766
1865
|
schema: dsh_daoing_memory_memory_family_result$schema,
|
|
1767
1866
|
},
|
|
1768
|
-
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},
|
|
1769
1908
|
},
|
|
1770
1909
|
{
|
|
1771
1910
|
id: 'dsh-daoing-memory#memory/get',
|
|
@@ -1816,7 +1955,7 @@ export const TYPERT = {
|
|
|
1816
1955
|
typeSymbol: 'dsh-daoing-memory#memory/get:result',
|
|
1817
1956
|
schema: dsh_daoing_memory_memory_get_result$schema,
|
|
1818
1957
|
},
|
|
1819
|
-
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},
|
|
1820
1959
|
},
|
|
1821
1960
|
{
|
|
1822
1961
|
id: 'dsh-daoing-memory#memory/getDeletionFeedback',
|
|
@@ -1846,7 +1985,7 @@ export const TYPERT = {
|
|
|
1846
1985
|
typeSymbol: 'dsh-daoing-memory#memory/getDeletionFeedback:result',
|
|
1847
1986
|
schema: dsh_daoing_memory_memory_getDeletionFeedback_result$schema,
|
|
1848
1987
|
},
|
|
1849
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1988
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":268,"column":3},
|
|
1850
1989
|
},
|
|
1851
1990
|
{
|
|
1852
1991
|
id: 'dsh-daoing-memory#memory/getDiaryByIds',
|
|
@@ -1886,7 +2025,47 @@ export const TYPERT = {
|
|
|
1886
2025
|
typeSymbol: 'dsh-daoing-memory#memory/getDiaryByIds:result',
|
|
1887
2026
|
schema: dsh_daoing_memory_memory_getDiaryByIds_result$schema,
|
|
1888
2027
|
},
|
|
1889
|
-
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},
|
|
1890
2069
|
},
|
|
1891
2070
|
{
|
|
1892
2071
|
id: 'dsh-daoing-memory#memory/humanAckDiary',
|
|
@@ -1926,7 +2105,7 @@ export const TYPERT = {
|
|
|
1926
2105
|
typeSymbol: 'dsh-daoing-memory/types#DiaryEntry',
|
|
1927
2106
|
schema: dsh_daoing_memory_memory_humanAckDiary_result$schema,
|
|
1928
2107
|
},
|
|
1929
|
-
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},
|
|
1930
2109
|
},
|
|
1931
2110
|
{
|
|
1932
2111
|
id: 'dsh-daoing-memory#memory/humanAddExperience',
|
|
@@ -1966,7 +2145,7 @@ export const TYPERT = {
|
|
|
1966
2145
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
1967
2146
|
schema: dsh_daoing_memory_memory_humanAddExperience_result$schema,
|
|
1968
2147
|
},
|
|
1969
|
-
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},
|
|
1970
2149
|
},
|
|
1971
2150
|
{
|
|
1972
2151
|
id: 'dsh-daoing-memory#memory/humanAddFact',
|
|
@@ -2006,7 +2185,7 @@ export const TYPERT = {
|
|
|
2006
2185
|
typeSymbol: 'dsh-daoing-memory/types#FactEntry',
|
|
2007
2186
|
schema: dsh_daoing_memory_memory_humanAddFact_result$schema,
|
|
2008
2187
|
},
|
|
2009
|
-
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},
|
|
2010
2189
|
},
|
|
2011
2190
|
{
|
|
2012
2191
|
id: 'dsh-daoing-memory#memory/humanArchiveExperience',
|
|
@@ -2046,7 +2225,7 @@ export const TYPERT = {
|
|
|
2046
2225
|
typeSymbol: 'dsh-daoing-memory#memory/humanArchiveExperience:result',
|
|
2047
2226
|
schema: dsh_daoing_memory_memory_humanArchiveExperience_result$schema,
|
|
2048
2227
|
},
|
|
2049
|
-
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},
|
|
2050
2229
|
},
|
|
2051
2230
|
{
|
|
2052
2231
|
id: 'dsh-daoing-memory#memory/humanConfirmFact',
|
|
@@ -2086,7 +2265,7 @@ export const TYPERT = {
|
|
|
2086
2265
|
typeSymbol: 'dsh-daoing-memory/types#FactEntry',
|
|
2087
2266
|
schema: dsh_daoing_memory_memory_humanConfirmFact_result$schema,
|
|
2088
2267
|
},
|
|
2089
|
-
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},
|
|
2090
2269
|
},
|
|
2091
2270
|
{
|
|
2092
2271
|
id: 'dsh-daoing-memory#memory/humanDeleteConcern',
|
|
@@ -2126,7 +2305,7 @@ export const TYPERT = {
|
|
|
2126
2305
|
typeSymbol: 'dsh-daoing-memory#memory/humanDeleteConcern:result',
|
|
2127
2306
|
schema: dsh_daoing_memory_memory_humanDeleteConcern_result$schema,
|
|
2128
2307
|
},
|
|
2129
|
-
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},
|
|
2130
2309
|
},
|
|
2131
2310
|
{
|
|
2132
2311
|
id: 'dsh-daoing-memory#memory/humanDeleteExperience',
|
|
@@ -2166,7 +2345,7 @@ export const TYPERT = {
|
|
|
2166
2345
|
typeSymbol: 'dsh-daoing-memory#memory/humanDeleteExperience:result',
|
|
2167
2346
|
schema: dsh_daoing_memory_memory_humanDeleteExperience_result$schema,
|
|
2168
2347
|
},
|
|
2169
|
-
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},
|
|
2170
2349
|
},
|
|
2171
2350
|
{
|
|
2172
2351
|
id: 'dsh-daoing-memory#memory/humanDeleteFact',
|
|
@@ -2206,7 +2385,7 @@ export const TYPERT = {
|
|
|
2206
2385
|
typeSymbol: 'dsh-daoing-memory#memory/humanDeleteFact:result',
|
|
2207
2386
|
schema: dsh_daoing_memory_memory_humanDeleteFact_result$schema,
|
|
2208
2387
|
},
|
|
2209
|
-
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},
|
|
2210
2389
|
},
|
|
2211
2390
|
{
|
|
2212
2391
|
id: 'dsh-daoing-memory#memory/humanEditExperience',
|
|
@@ -2246,7 +2425,7 @@ export const TYPERT = {
|
|
|
2246
2425
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2247
2426
|
schema: dsh_daoing_memory_memory_humanEditExperience_result$schema,
|
|
2248
2427
|
},
|
|
2249
|
-
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},
|
|
2250
2429
|
},
|
|
2251
2430
|
{
|
|
2252
2431
|
id: 'dsh-daoing-memory#memory/humanEditFact',
|
|
@@ -2286,7 +2465,7 @@ export const TYPERT = {
|
|
|
2286
2465
|
typeSymbol: 'dsh-daoing-memory/types#FactEntry',
|
|
2287
2466
|
schema: dsh_daoing_memory_memory_humanEditFact_result$schema,
|
|
2288
2467
|
},
|
|
2289
|
-
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},
|
|
2290
2469
|
},
|
|
2291
2470
|
{
|
|
2292
2471
|
id: 'dsh-daoing-memory#memory/humanPin',
|
|
@@ -2326,7 +2505,7 @@ export const TYPERT = {
|
|
|
2326
2505
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2327
2506
|
schema: dsh_daoing_memory_memory_humanPin_result$schema,
|
|
2328
2507
|
},
|
|
2329
|
-
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},
|
|
2330
2509
|
},
|
|
2331
2510
|
{
|
|
2332
2511
|
id: 'dsh-daoing-memory#memory/humanPromote',
|
|
@@ -2376,7 +2555,7 @@ export const TYPERT = {
|
|
|
2376
2555
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2377
2556
|
schema: dsh_daoing_memory_memory_humanPromote_result$schema,
|
|
2378
2557
|
},
|
|
2379
|
-
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},
|
|
2380
2559
|
},
|
|
2381
2560
|
{
|
|
2382
2561
|
id: 'dsh-daoing-memory#memory/humanReleaseCold',
|
|
@@ -2416,7 +2595,7 @@ export const TYPERT = {
|
|
|
2416
2595
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2417
2596
|
schema: dsh_daoing_memory_memory_humanReleaseCold_result$schema,
|
|
2418
2597
|
},
|
|
2419
|
-
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},
|
|
2420
2599
|
},
|
|
2421
2600
|
{
|
|
2422
2601
|
id: 'dsh-daoing-memory#memory/humanRollback',
|
|
@@ -2456,7 +2635,7 @@ export const TYPERT = {
|
|
|
2456
2635
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2457
2636
|
schema: dsh_daoing_memory_memory_humanRollback_result$schema,
|
|
2458
2637
|
},
|
|
2459
|
-
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},
|
|
2460
2639
|
},
|
|
2461
2640
|
{
|
|
2462
2641
|
id: 'dsh-daoing-memory#memory/humanSetConcernStatus',
|
|
@@ -2496,7 +2675,7 @@ export const TYPERT = {
|
|
|
2496
2675
|
typeSymbol: 'dsh-daoing-memory#memory/humanSetConcernStatus:result',
|
|
2497
2676
|
schema: dsh_daoing_memory_memory_humanSetConcernStatus_result$schema,
|
|
2498
2677
|
},
|
|
2499
|
-
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},
|
|
2500
2679
|
},
|
|
2501
2680
|
{
|
|
2502
2681
|
id: 'dsh-daoing-memory#memory/ingest',
|
|
@@ -2536,7 +2715,47 @@ export const TYPERT = {
|
|
|
2536
2715
|
typeSymbol: 'dsh-daoing-memory/types#IngestResult',
|
|
2537
2716
|
schema: dsh_daoing_memory_memory_ingest_result$schema,
|
|
2538
2717
|
},
|
|
2539
|
-
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},
|
|
2540
2759
|
},
|
|
2541
2760
|
{
|
|
2542
2761
|
id: 'dsh-daoing-memory#memory/ledgerQuery',
|
|
@@ -2576,7 +2795,7 @@ export const TYPERT = {
|
|
|
2576
2795
|
typeSymbol: 'dsh-daoing-memory#memory/ledgerQuery:result',
|
|
2577
2796
|
schema: dsh_daoing_memory_memory_ledgerQuery_result$schema,
|
|
2578
2797
|
},
|
|
2579
|
-
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},
|
|
2580
2799
|
},
|
|
2581
2800
|
{
|
|
2582
2801
|
id: 'dsh-daoing-memory#memory/ledgerQueryCount',
|
|
@@ -2616,7 +2835,7 @@ export const TYPERT = {
|
|
|
2616
2835
|
typeSymbol: 'dsh-daoing-memory#memory/ledgerQueryCount:result',
|
|
2617
2836
|
schema: dsh_daoing_memory_memory_ledgerQueryCount_result$schema,
|
|
2618
2837
|
},
|
|
2619
|
-
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},
|
|
2620
2839
|
},
|
|
2621
2840
|
{
|
|
2622
2841
|
id: 'dsh-daoing-memory#memory/list',
|
|
@@ -2656,7 +2875,7 @@ export const TYPERT = {
|
|
|
2656
2875
|
typeSymbol: 'dsh-daoing-memory#memory/list:result',
|
|
2657
2876
|
schema: dsh_daoing_memory_memory_list_result$schema,
|
|
2658
2877
|
},
|
|
2659
|
-
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},
|
|
2660
2879
|
},
|
|
2661
2880
|
{
|
|
2662
2881
|
id: 'dsh-daoing-memory#memory/listConcerns',
|
|
@@ -2726,7 +2945,7 @@ export const TYPERT = {
|
|
|
2726
2945
|
typeSymbol: 'dsh-daoing-memory#memory/listConcerns:result',
|
|
2727
2946
|
schema: dsh_daoing_memory_memory_listConcerns_result$schema,
|
|
2728
2947
|
},
|
|
2729
|
-
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},
|
|
2730
2949
|
},
|
|
2731
2950
|
{
|
|
2732
2951
|
id: 'dsh-daoing-memory#memory/listConcernsCount',
|
|
@@ -2776,7 +2995,7 @@ export const TYPERT = {
|
|
|
2776
2995
|
typeSymbol: 'dsh-daoing-memory#memory/listConcernsCount:result',
|
|
2777
2996
|
schema: dsh_daoing_memory_memory_listConcernsCount_result$schema,
|
|
2778
2997
|
},
|
|
2779
|
-
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},
|
|
2780
2999
|
},
|
|
2781
3000
|
{
|
|
2782
3001
|
id: 'dsh-daoing-memory#memory/listDiary',
|
|
@@ -2836,7 +3055,7 @@ export const TYPERT = {
|
|
|
2836
3055
|
typeSymbol: 'dsh-daoing-memory#memory/listDiary:result',
|
|
2837
3056
|
schema: dsh_daoing_memory_memory_listDiary_result$schema,
|
|
2838
3057
|
},
|
|
2839
|
-
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},
|
|
2840
3059
|
},
|
|
2841
3060
|
{
|
|
2842
3061
|
id: 'dsh-daoing-memory#memory/listFacts',
|
|
@@ -2906,7 +3125,7 @@ export const TYPERT = {
|
|
|
2906
3125
|
typeSymbol: 'dsh-daoing-memory#memory/listFacts:result',
|
|
2907
3126
|
schema: dsh_daoing_memory_memory_listFacts_result$schema,
|
|
2908
3127
|
},
|
|
2909
|
-
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},
|
|
2910
3129
|
},
|
|
2911
3130
|
{
|
|
2912
3131
|
id: 'dsh-daoing-memory#memory/listFactsCount',
|
|
@@ -2956,7 +3175,97 @@ export const TYPERT = {
|
|
|
2956
3175
|
typeSymbol: 'dsh-daoing-memory#memory/listFactsCount:result',
|
|
2957
3176
|
schema: dsh_daoing_memory_memory_listFactsCount_result$schema,
|
|
2958
3177
|
},
|
|
2959
|
-
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},
|
|
2960
3269
|
},
|
|
2961
3270
|
{
|
|
2962
3271
|
id: 'dsh-daoing-memory#memory/recall',
|
|
@@ -2996,7 +3305,7 @@ export const TYPERT = {
|
|
|
2996
3305
|
typeSymbol: 'dsh-daoing-memory/types#RecallExperiencesResult',
|
|
2997
3306
|
schema: dsh_daoing_memory_memory_recall_result$schema,
|
|
2998
3307
|
},
|
|
2999
|
-
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},
|
|
3000
3309
|
},
|
|
3001
3310
|
{
|
|
3002
3311
|
id: 'dsh-daoing-memory#memory/refine',
|
|
@@ -3036,7 +3345,7 @@ export const TYPERT = {
|
|
|
3036
3345
|
typeSymbol: 'dsh-daoing-memory/types#RefineExperienceResult',
|
|
3037
3346
|
schema: dsh_daoing_memory_memory_refine_result$schema,
|
|
3038
3347
|
},
|
|
3039
|
-
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},
|
|
3040
3349
|
},
|
|
3041
3350
|
{
|
|
3042
3351
|
id: 'dsh-daoing-memory#memory/report',
|
|
@@ -3076,7 +3385,47 @@ export const TYPERT = {
|
|
|
3076
3385
|
typeSymbol: 'dsh-daoing-memory/types#ReportUseResult',
|
|
3077
3386
|
schema: dsh_daoing_memory_memory_report_result$schema,
|
|
3078
3387
|
},
|
|
3079
|
-
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},
|
|
3080
3429
|
},
|
|
3081
3430
|
{
|
|
3082
3431
|
id: 'dsh-daoing-memory#memory/revise',
|
|
@@ -3116,7 +3465,7 @@ export const TYPERT = {
|
|
|
3116
3465
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
3117
3466
|
schema: dsh_daoing_memory_memory_revise_result$schema,
|
|
3118
3467
|
},
|
|
3119
|
-
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},
|
|
3120
3469
|
},
|
|
3121
3470
|
{
|
|
3122
3471
|
id: 'dsh-daoing-memory#memory/rollback',
|
|
@@ -3156,7 +3505,7 @@ export const TYPERT = {
|
|
|
3156
3505
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
3157
3506
|
schema: dsh_daoing_memory_memory_rollback_result$schema,
|
|
3158
3507
|
},
|
|
3159
|
-
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},
|
|
3160
3509
|
},
|
|
3161
3510
|
{
|
|
3162
3511
|
id: 'dsh-daoing-memory#memory/runDeletionFeedback',
|
|
@@ -3186,7 +3535,7 @@ export const TYPERT = {
|
|
|
3186
3535
|
typeSymbol: 'dsh-daoing-memory#memory/runDeletionFeedback:result',
|
|
3187
3536
|
schema: dsh_daoing_memory_memory_runDeletionFeedback_result$schema,
|
|
3188
3537
|
},
|
|
3189
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3538
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":248,"column":9},
|
|
3190
3539
|
},
|
|
3191
3540
|
{
|
|
3192
3541
|
id: 'dsh-daoing-memory#memory/stats',
|
|
@@ -3216,7 +3565,7 @@ export const TYPERT = {
|
|
|
3216
3565
|
typeSymbol: 'dsh-daoing-memory/types#MemoryStats',
|
|
3217
3566
|
schema: dsh_daoing_memory_memory_stats_result$schema,
|
|
3218
3567
|
},
|
|
3219
|
-
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},
|
|
3220
3569
|
},
|
|
3221
3570
|
{
|
|
3222
3571
|
id: 'dsh-daoing-memory#memory/verifyLedger',
|
|
@@ -3246,7 +3595,7 @@ export const TYPERT = {
|
|
|
3246
3595
|
typeSymbol: 'dsh-daoing-memory/types#LedgerIntegrityResult',
|
|
3247
3596
|
schema: dsh_daoing_memory_memory_verifyLedger_result$schema,
|
|
3248
3597
|
},
|
|
3249
|
-
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},
|
|
3250
3599
|
},
|
|
3251
3600
|
{
|
|
3252
3601
|
id: 'dsh-daoing-memory#memory/verifyShadow',
|
|
@@ -3286,7 +3635,7 @@ export const TYPERT = {
|
|
|
3286
3635
|
typeSymbol: 'dsh-daoing-memory/types#VerifyShadowResult',
|
|
3287
3636
|
schema: dsh_daoing_memory_memory_verifyShadow_result$schema,
|
|
3288
3637
|
},
|
|
3289
|
-
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},
|
|
3290
3639
|
},
|
|
3291
3640
|
{
|
|
3292
3641
|
id: 'dsh-daoing-memory#memory/workbenchInfo',
|
|
@@ -3316,7 +3665,7 @@ export const TYPERT = {
|
|
|
3316
3665
|
typeSymbol: 'dsh-daoing-memory/types#MemoryWorkbenchInfo',
|
|
3317
3666
|
schema: dsh_daoing_memory_memory_workbenchInfo_result$schema,
|
|
3318
3667
|
},
|
|
3319
|
-
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},
|
|
3320
3669
|
},
|
|
3321
3670
|
],
|
|
3322
3671
|
model: {
|
|
@@ -3657,6 +4006,48 @@ export const TYPERT = {
|
|
|
3657
4006
|
"signature": "@Remote('humanDeleteConcern') humanDeleteConcern(agent: Agent, request: HumanDeleteConcernRequest): { deleted: true }",
|
|
3658
4007
|
"summary": "Human delete of a concern subtree (007 §2.4).",
|
|
3659
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. */"
|
|
3660
4051
|
}
|
|
3661
4052
|
],
|
|
3662
4053
|
"types": [
|
|
@@ -3864,6 +4255,10 @@ export const TYPERT = {
|
|
|
3864
4255
|
"name": "FinishReasonMap",
|
|
3865
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}"
|
|
3866
4257
|
},
|
|
4258
|
+
{
|
|
4259
|
+
"name": "GenerateSkillDraftRequest",
|
|
4260
|
+
"declaration": "export interface GenerateSkillDraftRequest {\n experienceId: string;\n form: SkillForm;\n}"
|
|
4261
|
+
},
|
|
3867
4262
|
{
|
|
3868
4263
|
"name": "HumanAckDiaryRequest",
|
|
3869
4264
|
"declaration": "export interface HumanAckDiaryRequest {\n diaryId: string;\n reason: string;\n}"
|
|
@@ -4016,6 +4411,10 @@ export const TYPERT = {
|
|
|
4016
4411
|
"name": "ProviderRequestId",
|
|
4017
4412
|
"declaration": "export type ProviderRequestId = Branded<'ProviderRequestId'>;"
|
|
4018
4413
|
},
|
|
4414
|
+
{
|
|
4415
|
+
"name": "PublishSkillRequest",
|
|
4416
|
+
"declaration": "export interface PublishSkillRequest {\n id: string;\n reason: string;\n}"
|
|
4417
|
+
},
|
|
4019
4418
|
{
|
|
4020
4419
|
"name": "ReasoningBlock",
|
|
4021
4420
|
"declaration": "export interface ReasoningBlock {\n type: 'reasoning';\n text: string;\n}"
|
|
@@ -4068,6 +4467,10 @@ export const TYPERT = {
|
|
|
4068
4467
|
"name": "RequestHeaderReason",
|
|
4069
4468
|
"declaration": "export type RequestHeaderReason = 'initial' | 'resume' | 'change';"
|
|
4070
4469
|
},
|
|
4470
|
+
{
|
|
4471
|
+
"name": "ReviewSkillRequest",
|
|
4472
|
+
"declaration": "export interface ReviewSkillRequest {\n id: string;\n decision: 'approve' | 'reject';\n reason: string;\n}"
|
|
4473
|
+
},
|
|
4071
4474
|
{
|
|
4072
4475
|
"name": "ReviseExperienceRequest",
|
|
4073
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}"
|
|
@@ -4104,6 +4507,18 @@ export const TYPERT = {
|
|
|
4104
4507
|
"name": "SessionSurface",
|
|
4105
4508
|
"declaration": "export interface SessionSurface {\n readonly nodes: readonly number[];\n readonly replaceGeneration: number;\n}"
|
|
4106
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
|
+
},
|
|
4107
4522
|
{
|
|
4108
4523
|
"name": "StreamChunk",
|
|
4109
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; };"
|