dsh-daoing-memory 0.1.6 → 0.1.7
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 +179 -99
- package/lib/client.js.map +1 -1
- package/lib/index.js +59 -0
- package/lib/typert.host.js +101 -42
- package/lib/typert.remote-client.d.ts +4 -1
- package/lib/typert.remote-client.js +90 -42
- package/lib/types/core.d.ts +8 -1
- package/lib/types/core.js +27 -0
- package/lib/types/service.d.ts +5 -1
- package/lib/types/service.js +9 -0
- package/lib/types/types.d.ts +16 -0
- package/lib/types/types.js +14 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -825,6 +825,25 @@ var MemoryStore = class {
|
|
|
825
825
|
}
|
|
826
826
|
};
|
|
827
827
|
//#endregion
|
|
828
|
+
//#region lib/types/types.js
|
|
829
|
+
/**
|
|
830
|
+
* Memory system wire vocabulary: experience lifecycle, recall adjudication,
|
|
831
|
+
* use reports with attribution, the diary/fact semantic layer, and the
|
|
832
|
+
* append-only ledger. Types only — no runtime code.
|
|
833
|
+
* @module dsh-daoing-memory/types
|
|
834
|
+
*/
|
|
835
|
+
/**
|
|
836
|
+
* System-managed experience families that cannot be deleted by human operators
|
|
837
|
+
* (only archived). The extraction-feedback family is auto-generated by the
|
|
838
|
+
* daily deletion-reason summarizer and serves as negative guidance for future
|
|
839
|
+
* memory extraction.
|
|
840
|
+
*/
|
|
841
|
+
const SYSTEM_EXPERIENCE_FAMILIES = new Set(["extraction-feedback"]);
|
|
842
|
+
/** Check whether an experience family is system-managed (delete-protected). */
|
|
843
|
+
function isSystemExperienceFamily(family) {
|
|
844
|
+
return SYSTEM_EXPERIENCE_FAMILIES.has(family);
|
|
845
|
+
}
|
|
846
|
+
//#endregion
|
|
828
847
|
//#region lib/types/core.js
|
|
829
848
|
/**
|
|
830
849
|
* Memory core: the 生·用·修·记 mechanisms over the durable store. Pure and
|
|
@@ -1881,6 +1900,7 @@ var MemoryCore = class {
|
|
|
1881
1900
|
const familyRows = this.store.getFamily(request.id);
|
|
1882
1901
|
if (familyRows.length === 0) throw new Error(`memory: experience not found: ${request.id}`);
|
|
1883
1902
|
const head = familyRows[familyRows.length - 1];
|
|
1903
|
+
if (isSystemExperienceFamily(head.family)) throw new Error(`memory: system experience "${head.family}" cannot be deleted (only archived). Use the archive action to remove it from active recall while preserving the audit trail.`);
|
|
1884
1904
|
this.store.deleteFamily(request.id);
|
|
1885
1905
|
this.ledger("delete", "experience", request.id, actor, {
|
|
1886
1906
|
gist: head.gist,
|
|
@@ -1888,6 +1908,27 @@ var MemoryCore = class {
|
|
|
1888
1908
|
revisions: familyRows.length
|
|
1889
1909
|
}, request.reason);
|
|
1890
1910
|
}
|
|
1911
|
+
/**
|
|
1912
|
+
* Human archive: move an experience to archived status. Unlike delete, the
|
|
1913
|
+
* data is preserved (recoverable via deep lookup) but removed from active
|
|
1914
|
+
* recall. This is the only way to retire system-managed experiences
|
|
1915
|
+
* (e.g. extraction-feedback).
|
|
1916
|
+
*/
|
|
1917
|
+
humanArchiveExperience(request, actor) {
|
|
1918
|
+
const current = this.store.getActiveRevision(request.id);
|
|
1919
|
+
if (current === void 0) throw new Error(`memory: experience not found: ${request.id}`);
|
|
1920
|
+
if (current.status === "archived") return;
|
|
1921
|
+
this.store.upsertExperience({
|
|
1922
|
+
...current,
|
|
1923
|
+
status: "archived",
|
|
1924
|
+
updatedAt: Date.now()
|
|
1925
|
+
});
|
|
1926
|
+
this.ledger("archive", "experience", request.id, actor, {
|
|
1927
|
+
gist: current.gist,
|
|
1928
|
+
family: current.family,
|
|
1929
|
+
previousStatus: current.status
|
|
1930
|
+
}, request.reason);
|
|
1931
|
+
}
|
|
1891
1932
|
/** Human edit: rewrite fields of the active revision in place. */
|
|
1892
1933
|
humanEditExperience(request, actor) {
|
|
1893
1934
|
const current = this.store.getActiveRevision(request.id);
|
|
@@ -2318,6 +2359,7 @@ let MemoryService = (() => {
|
|
|
2318
2359
|
let _exportLibrary_decorators;
|
|
2319
2360
|
let _humanPin_decorators;
|
|
2320
2361
|
let _humanDeleteExperience_decorators;
|
|
2362
|
+
let _humanArchiveExperience_decorators;
|
|
2321
2363
|
let _humanEditExperience_decorators;
|
|
2322
2364
|
let _humanAddExperience_decorators;
|
|
2323
2365
|
let _humanPromote_decorators;
|
|
@@ -2363,6 +2405,7 @@ let MemoryService = (() => {
|
|
|
2363
2405
|
_exportLibrary_decorators = [Remote("exportLibrary")];
|
|
2364
2406
|
_humanPin_decorators = [Remote("humanPin")];
|
|
2365
2407
|
_humanDeleteExperience_decorators = [Remote("humanDeleteExperience")];
|
|
2408
|
+
_humanArchiveExperience_decorators = [Remote("humanArchiveExperience")];
|
|
2366
2409
|
_humanEditExperience_decorators = [Remote("humanEditExperience")];
|
|
2367
2410
|
_humanAddExperience_decorators = [Remote("humanAddExperience")];
|
|
2368
2411
|
_humanPromote_decorators = [Remote("humanPromote")];
|
|
@@ -2705,6 +2748,17 @@ let MemoryService = (() => {
|
|
|
2705
2748
|
},
|
|
2706
2749
|
metadata: _metadata
|
|
2707
2750
|
}, null, _instanceExtraInitializers);
|
|
2751
|
+
__esDecorate(this, null, _humanArchiveExperience_decorators, {
|
|
2752
|
+
kind: "method",
|
|
2753
|
+
name: "humanArchiveExperience",
|
|
2754
|
+
static: false,
|
|
2755
|
+
private: false,
|
|
2756
|
+
access: {
|
|
2757
|
+
has: (obj) => "humanArchiveExperience" in obj,
|
|
2758
|
+
get: (obj) => obj.humanArchiveExperience
|
|
2759
|
+
},
|
|
2760
|
+
metadata: _metadata
|
|
2761
|
+
}, null, _instanceExtraInitializers);
|
|
2708
2762
|
__esDecorate(this, null, _humanEditExperience_decorators, {
|
|
2709
2763
|
kind: "method",
|
|
2710
2764
|
name: "humanEditExperience",
|
|
@@ -2987,6 +3041,11 @@ let MemoryService = (() => {
|
|
|
2987
3041
|
this.core.humanDeleteExperience(request, "human");
|
|
2988
3042
|
return { deleted: true };
|
|
2989
3043
|
}
|
|
3044
|
+
/** Human archive (move to archived status; preserves data, removes from recall). */
|
|
3045
|
+
humanArchiveExperience(agent, request) {
|
|
3046
|
+
this.core.humanArchiveExperience(request, "human");
|
|
3047
|
+
return { archived: true };
|
|
3048
|
+
}
|
|
2990
3049
|
/** Human edit of the active revision. */
|
|
2991
3050
|
humanEditExperience(agent, request) {
|
|
2992
3051
|
return this.core.humanEditExperience(request, "human");
|
package/lib/typert.host.js
CHANGED
|
@@ -436,6 +436,14 @@ const dsh_daoing_memory_memory_humanAddFact_result$schema = z.object({
|
|
|
436
436
|
'deleted': z.boolean(),
|
|
437
437
|
'conflictPending': z.boolean(),
|
|
438
438
|
})
|
|
439
|
+
const dsh_daoing_memory_memory_humanArchiveExperience_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
440
|
+
const dsh_daoing_memory_memory_humanArchiveExperience_parameter_1$schema = z.object({
|
|
441
|
+
'id': z.string(),
|
|
442
|
+
'reason': z.string(),
|
|
443
|
+
})
|
|
444
|
+
const dsh_daoing_memory_memory_humanArchiveExperience_result$schema = z.object({
|
|
445
|
+
'archived': z.literal(true),
|
|
446
|
+
})
|
|
439
447
|
const dsh_daoing_memory_memory_humanConfirmFact_parameter_0$schema = z.intersection(z.string(), z.unknown())
|
|
440
448
|
const dsh_daoing_memory_memory_humanConfirmFact_parameter_1$schema = z.object({
|
|
441
449
|
'factId': z.string(),
|
|
@@ -1451,7 +1459,7 @@ export const TYPERT = {
|
|
|
1451
1459
|
typeSymbol: 'dsh-daoing-memory/types#DiaryAppendResult',
|
|
1452
1460
|
schema: dsh_daoing_memory_memory_appendDiary_result$schema,
|
|
1453
1461
|
},
|
|
1454
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1462
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":146,"column":3},
|
|
1455
1463
|
},
|
|
1456
1464
|
{
|
|
1457
1465
|
id: 'dsh-daoing-memory#memory/consolidate',
|
|
@@ -1491,7 +1499,7 @@ export const TYPERT = {
|
|
|
1491
1499
|
typeSymbol: 'dsh-daoing-memory/types#ConsolidateResult',
|
|
1492
1500
|
schema: dsh_daoing_memory_memory_consolidate_result$schema,
|
|
1493
1501
|
},
|
|
1494
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1502
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":219,"column":3},
|
|
1495
1503
|
},
|
|
1496
1504
|
{
|
|
1497
1505
|
id: 'dsh-daoing-memory#memory/consolidationDue',
|
|
@@ -1521,7 +1529,7 @@ export const TYPERT = {
|
|
|
1521
1529
|
typeSymbol: 'dsh-daoing-memory#memory/consolidationDue:result',
|
|
1522
1530
|
schema: dsh_daoing_memory_memory_consolidationDue_result$schema,
|
|
1523
1531
|
},
|
|
1524
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1532
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":226,"column":3},
|
|
1525
1533
|
},
|
|
1526
1534
|
{
|
|
1527
1535
|
id: 'dsh-daoing-memory#memory/exportLibrary',
|
|
@@ -1551,7 +1559,7 @@ export const TYPERT = {
|
|
|
1551
1559
|
typeSymbol: 'dsh-daoing-memory/types#MemoryExport',
|
|
1552
1560
|
schema: dsh_daoing_memory_memory_exportLibrary_result$schema,
|
|
1553
1561
|
},
|
|
1554
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1562
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":268,"column":3},
|
|
1555
1563
|
},
|
|
1556
1564
|
{
|
|
1557
1565
|
id: 'dsh-daoing-memory#memory/extract',
|
|
@@ -1591,7 +1599,7 @@ export const TYPERT = {
|
|
|
1591
1599
|
typeSymbol: 'dsh-daoing-memory/types#ExtractFactsResult',
|
|
1592
1600
|
schema: dsh_daoing_memory_memory_extract_result$schema,
|
|
1593
1601
|
},
|
|
1594
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1602
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":152,"column":3},
|
|
1595
1603
|
},
|
|
1596
1604
|
{
|
|
1597
1605
|
id: 'dsh-daoing-memory#memory/extractionLog',
|
|
@@ -1641,7 +1649,7 @@ export const TYPERT = {
|
|
|
1641
1649
|
typeSymbol: 'dsh-daoing-memory#memory/extractionLog:result',
|
|
1642
1650
|
schema: dsh_daoing_memory_memory_extractionLog_result$schema,
|
|
1643
1651
|
},
|
|
1644
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1652
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":205,"column":3},
|
|
1645
1653
|
},
|
|
1646
1654
|
{
|
|
1647
1655
|
id: 'dsh-daoing-memory#memory/extractionLogCount',
|
|
@@ -1671,7 +1679,7 @@ export const TYPERT = {
|
|
|
1671
1679
|
typeSymbol: 'dsh-daoing-memory#memory/extractionLogCount:result',
|
|
1672
1680
|
schema: dsh_daoing_memory_memory_extractionLogCount_result$schema,
|
|
1673
1681
|
},
|
|
1674
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1682
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":212,"column":3},
|
|
1675
1683
|
},
|
|
1676
1684
|
{
|
|
1677
1685
|
id: 'dsh-daoing-memory#memory/family',
|
|
@@ -1711,7 +1719,7 @@ export const TYPERT = {
|
|
|
1711
1719
|
typeSymbol: 'dsh-daoing-memory#memory/family:result',
|
|
1712
1720
|
schema: dsh_daoing_memory_memory_family_result$schema,
|
|
1713
1721
|
},
|
|
1714
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1722
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":139,"column":3},
|
|
1715
1723
|
},
|
|
1716
1724
|
{
|
|
1717
1725
|
id: 'dsh-daoing-memory#memory/get',
|
|
@@ -1762,7 +1770,7 @@ export const TYPERT = {
|
|
|
1762
1770
|
typeSymbol: 'dsh-daoing-memory#memory/get:result',
|
|
1763
1771
|
schema: dsh_daoing_memory_memory_get_result$schema,
|
|
1764
1772
|
},
|
|
1765
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1773
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":125,"column":3},
|
|
1766
1774
|
},
|
|
1767
1775
|
{
|
|
1768
1776
|
id: 'dsh-daoing-memory#memory/getDiaryByIds',
|
|
@@ -1802,7 +1810,7 @@ export const TYPERT = {
|
|
|
1802
1810
|
typeSymbol: 'dsh-daoing-memory#memory/getDiaryByIds:result',
|
|
1803
1811
|
schema: dsh_daoing_memory_memory_getDiaryByIds_result$schema,
|
|
1804
1812
|
},
|
|
1805
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1813
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":165,"column":3},
|
|
1806
1814
|
},
|
|
1807
1815
|
{
|
|
1808
1816
|
id: 'dsh-daoing-memory#memory/humanAckDiary',
|
|
@@ -1842,7 +1850,7 @@ export const TYPERT = {
|
|
|
1842
1850
|
typeSymbol: 'dsh-daoing-memory/types#DiaryEntry',
|
|
1843
1851
|
schema: dsh_daoing_memory_memory_humanAckDiary_result$schema,
|
|
1844
1852
|
},
|
|
1845
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1853
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":373,"column":3},
|
|
1846
1854
|
},
|
|
1847
1855
|
{
|
|
1848
1856
|
id: 'dsh-daoing-memory#memory/humanAddExperience',
|
|
@@ -1882,7 +1890,7 @@ export const TYPERT = {
|
|
|
1882
1890
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
1883
1891
|
schema: dsh_daoing_memory_memory_humanAddExperience_result$schema,
|
|
1884
1892
|
},
|
|
1885
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1893
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":316,"column":3},
|
|
1886
1894
|
},
|
|
1887
1895
|
{
|
|
1888
1896
|
id: 'dsh-daoing-memory#memory/humanAddFact',
|
|
@@ -1922,7 +1930,47 @@ export const TYPERT = {
|
|
|
1922
1930
|
typeSymbol: 'dsh-daoing-memory/types#FactEntry',
|
|
1923
1931
|
schema: dsh_daoing_memory_memory_humanAddFact_result$schema,
|
|
1924
1932
|
},
|
|
1925
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1933
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":344,"column":3},
|
|
1934
|
+
},
|
|
1935
|
+
{
|
|
1936
|
+
id: 'dsh-daoing-memory#memory/humanArchiveExperience',
|
|
1937
|
+
service: 'memory',
|
|
1938
|
+
namespace: 'memory',
|
|
1939
|
+
method: 'humanArchiveExperience',
|
|
1940
|
+
invocation: { kind: 'direct' },
|
|
1941
|
+
scope: {
|
|
1942
|
+
context: 'agent',
|
|
1943
|
+
wire: 'agentId',
|
|
1944
|
+
},
|
|
1945
|
+
parameters: [
|
|
1946
|
+
{
|
|
1947
|
+
name: 'agent',
|
|
1948
|
+
wire: 'agentId',
|
|
1949
|
+
source: 'lookup',
|
|
1950
|
+
lookup: 'agent',
|
|
1951
|
+
codec: {
|
|
1952
|
+
mode: 'strict',
|
|
1953
|
+
typeSymbol: '@deepseek-ai/dsh-session/types#SessionId',
|
|
1954
|
+
schema: dsh_daoing_memory_memory_humanArchiveExperience_parameter_0$schema,
|
|
1955
|
+
},
|
|
1956
|
+
},
|
|
1957
|
+
{
|
|
1958
|
+
name: 'request',
|
|
1959
|
+
wire: 'request',
|
|
1960
|
+
source: 'json',
|
|
1961
|
+
codec: {
|
|
1962
|
+
mode: 'strict',
|
|
1963
|
+
typeSymbol: 'dsh-daoing-memory/types#HumanArchiveExperienceRequest',
|
|
1964
|
+
schema: dsh_daoing_memory_memory_humanArchiveExperience_parameter_1$schema,
|
|
1965
|
+
},
|
|
1966
|
+
},
|
|
1967
|
+
],
|
|
1968
|
+
result: {
|
|
1969
|
+
mode: 'strict',
|
|
1970
|
+
typeSymbol: 'dsh-daoing-memory#memory/humanArchiveExperience:result',
|
|
1971
|
+
schema: dsh_daoing_memory_memory_humanArchiveExperience_result$schema,
|
|
1972
|
+
},
|
|
1973
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":301,"column":3},
|
|
1926
1974
|
},
|
|
1927
1975
|
{
|
|
1928
1976
|
id: 'dsh-daoing-memory#memory/humanConfirmFact',
|
|
@@ -1962,7 +2010,7 @@ export const TYPERT = {
|
|
|
1962
2010
|
typeSymbol: 'dsh-daoing-memory/types#FactEntry',
|
|
1963
2011
|
schema: dsh_daoing_memory_memory_humanConfirmFact_result$schema,
|
|
1964
2012
|
},
|
|
1965
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2013
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":366,"column":3},
|
|
1966
2014
|
},
|
|
1967
2015
|
{
|
|
1968
2016
|
id: 'dsh-daoing-memory#memory/humanDeleteConcern',
|
|
@@ -2002,7 +2050,7 @@ export const TYPERT = {
|
|
|
2002
2050
|
typeSymbol: 'dsh-daoing-memory#memory/humanDeleteConcern:result',
|
|
2003
2051
|
schema: dsh_daoing_memory_memory_humanDeleteConcern_result$schema,
|
|
2004
2052
|
},
|
|
2005
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2053
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":388,"column":3},
|
|
2006
2054
|
},
|
|
2007
2055
|
{
|
|
2008
2056
|
id: 'dsh-daoing-memory#memory/humanDeleteExperience',
|
|
@@ -2042,7 +2090,7 @@ export const TYPERT = {
|
|
|
2042
2090
|
typeSymbol: 'dsh-daoing-memory#memory/humanDeleteExperience:result',
|
|
2043
2091
|
schema: dsh_daoing_memory_memory_humanDeleteExperience_result$schema,
|
|
2044
2092
|
},
|
|
2045
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2093
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":293,"column":3},
|
|
2046
2094
|
},
|
|
2047
2095
|
{
|
|
2048
2096
|
id: 'dsh-daoing-memory#memory/humanDeleteFact',
|
|
@@ -2082,7 +2130,7 @@ export const TYPERT = {
|
|
|
2082
2130
|
typeSymbol: 'dsh-daoing-memory#memory/humanDeleteFact:result',
|
|
2083
2131
|
schema: dsh_daoing_memory_memory_humanDeleteFact_result$schema,
|
|
2084
2132
|
},
|
|
2085
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2133
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":358,"column":3},
|
|
2086
2134
|
},
|
|
2087
2135
|
{
|
|
2088
2136
|
id: 'dsh-daoing-memory#memory/humanEditExperience',
|
|
@@ -2122,7 +2170,7 @@ export const TYPERT = {
|
|
|
2122
2170
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2123
2171
|
schema: dsh_daoing_memory_memory_humanEditExperience_result$schema,
|
|
2124
2172
|
},
|
|
2125
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2173
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":309,"column":3},
|
|
2126
2174
|
},
|
|
2127
2175
|
{
|
|
2128
2176
|
id: 'dsh-daoing-memory#memory/humanEditFact',
|
|
@@ -2162,7 +2210,7 @@ export const TYPERT = {
|
|
|
2162
2210
|
typeSymbol: 'dsh-daoing-memory/types#FactEntry',
|
|
2163
2211
|
schema: dsh_daoing_memory_memory_humanEditFact_result$schema,
|
|
2164
2212
|
},
|
|
2165
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2213
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":351,"column":3},
|
|
2166
2214
|
},
|
|
2167
2215
|
{
|
|
2168
2216
|
id: 'dsh-daoing-memory#memory/humanPin',
|
|
@@ -2202,7 +2250,7 @@ export const TYPERT = {
|
|
|
2202
2250
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2203
2251
|
schema: dsh_daoing_memory_memory_humanPin_result$schema,
|
|
2204
2252
|
},
|
|
2205
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2253
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":286,"column":3},
|
|
2206
2254
|
},
|
|
2207
2255
|
{
|
|
2208
2256
|
id: 'dsh-daoing-memory#memory/humanPromote',
|
|
@@ -2252,7 +2300,7 @@ export const TYPERT = {
|
|
|
2252
2300
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2253
2301
|
schema: dsh_daoing_memory_memory_humanPromote_result$schema,
|
|
2254
2302
|
},
|
|
2255
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2303
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":323,"column":3},
|
|
2256
2304
|
},
|
|
2257
2305
|
{
|
|
2258
2306
|
id: 'dsh-daoing-memory#memory/humanReleaseCold',
|
|
@@ -2292,7 +2340,7 @@ export const TYPERT = {
|
|
|
2292
2340
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2293
2341
|
schema: dsh_daoing_memory_memory_humanReleaseCold_result$schema,
|
|
2294
2342
|
},
|
|
2295
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2343
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":330,"column":3},
|
|
2296
2344
|
},
|
|
2297
2345
|
{
|
|
2298
2346
|
id: 'dsh-daoing-memory#memory/humanRollback',
|
|
@@ -2332,7 +2380,7 @@ export const TYPERT = {
|
|
|
2332
2380
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2333
2381
|
schema: dsh_daoing_memory_memory_humanRollback_result$schema,
|
|
2334
2382
|
},
|
|
2335
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2383
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":337,"column":3},
|
|
2336
2384
|
},
|
|
2337
2385
|
{
|
|
2338
2386
|
id: 'dsh-daoing-memory#memory/humanSetConcernStatus',
|
|
@@ -2372,7 +2420,7 @@ export const TYPERT = {
|
|
|
2372
2420
|
typeSymbol: 'dsh-daoing-memory#memory/humanSetConcernStatus:result',
|
|
2373
2421
|
schema: dsh_daoing_memory_memory_humanSetConcernStatus_result$schema,
|
|
2374
2422
|
},
|
|
2375
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2423
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":380,"column":3},
|
|
2376
2424
|
},
|
|
2377
2425
|
{
|
|
2378
2426
|
id: 'dsh-daoing-memory#memory/ingest',
|
|
@@ -2412,7 +2460,7 @@ export const TYPERT = {
|
|
|
2412
2460
|
typeSymbol: 'dsh-daoing-memory/types#IngestResult',
|
|
2413
2461
|
schema: dsh_daoing_memory_memory_ingest_result$schema,
|
|
2414
2462
|
},
|
|
2415
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2463
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":101,"column":3},
|
|
2416
2464
|
},
|
|
2417
2465
|
{
|
|
2418
2466
|
id: 'dsh-daoing-memory#memory/ledgerQuery',
|
|
@@ -2452,7 +2500,7 @@ export const TYPERT = {
|
|
|
2452
2500
|
typeSymbol: 'dsh-daoing-memory#memory/ledgerQuery:result',
|
|
2453
2501
|
schema: dsh_daoing_memory_memory_ledgerQuery_result$schema,
|
|
2454
2502
|
},
|
|
2455
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2503
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":233,"column":3},
|
|
2456
2504
|
},
|
|
2457
2505
|
{
|
|
2458
2506
|
id: 'dsh-daoing-memory#memory/ledgerQueryCount',
|
|
@@ -2492,7 +2540,7 @@ export const TYPERT = {
|
|
|
2492
2540
|
typeSymbol: 'dsh-daoing-memory#memory/ledgerQueryCount:result',
|
|
2493
2541
|
schema: dsh_daoing_memory_memory_ledgerQueryCount_result$schema,
|
|
2494
2542
|
},
|
|
2495
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2543
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":240,"column":3},
|
|
2496
2544
|
},
|
|
2497
2545
|
{
|
|
2498
2546
|
id: 'dsh-daoing-memory#memory/list',
|
|
@@ -2532,7 +2580,7 @@ export const TYPERT = {
|
|
|
2532
2580
|
typeSymbol: 'dsh-daoing-memory#memory/list:result',
|
|
2533
2581
|
schema: dsh_daoing_memory_memory_list_result$schema,
|
|
2534
2582
|
},
|
|
2535
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2583
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":132,"column":3},
|
|
2536
2584
|
},
|
|
2537
2585
|
{
|
|
2538
2586
|
id: 'dsh-daoing-memory#memory/listConcerns',
|
|
@@ -2602,7 +2650,7 @@ export const TYPERT = {
|
|
|
2602
2650
|
typeSymbol: 'dsh-daoing-memory#memory/listConcerns:result',
|
|
2603
2651
|
schema: dsh_daoing_memory_memory_listConcerns_result$schema,
|
|
2604
2652
|
},
|
|
2605
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2653
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":186,"column":3},
|
|
2606
2654
|
},
|
|
2607
2655
|
{
|
|
2608
2656
|
id: 'dsh-daoing-memory#memory/listConcernsCount',
|
|
@@ -2652,7 +2700,7 @@ export const TYPERT = {
|
|
|
2652
2700
|
typeSymbol: 'dsh-daoing-memory#memory/listConcernsCount:result',
|
|
2653
2701
|
schema: dsh_daoing_memory_memory_listConcernsCount_result$schema,
|
|
2654
2702
|
},
|
|
2655
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2703
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":193,"column":3},
|
|
2656
2704
|
},
|
|
2657
2705
|
{
|
|
2658
2706
|
id: 'dsh-daoing-memory#memory/listDiary',
|
|
@@ -2712,7 +2760,7 @@ export const TYPERT = {
|
|
|
2712
2760
|
typeSymbol: 'dsh-daoing-memory#memory/listDiary:result',
|
|
2713
2761
|
schema: dsh_daoing_memory_memory_listDiary_result$schema,
|
|
2714
2762
|
},
|
|
2715
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2763
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":158,"column":3},
|
|
2716
2764
|
},
|
|
2717
2765
|
{
|
|
2718
2766
|
id: 'dsh-daoing-memory#memory/listFacts',
|
|
@@ -2782,7 +2830,7 @@ export const TYPERT = {
|
|
|
2782
2830
|
typeSymbol: 'dsh-daoing-memory#memory/listFacts:result',
|
|
2783
2831
|
schema: dsh_daoing_memory_memory_listFacts_result$schema,
|
|
2784
2832
|
},
|
|
2785
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2833
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":172,"column":3},
|
|
2786
2834
|
},
|
|
2787
2835
|
{
|
|
2788
2836
|
id: 'dsh-daoing-memory#memory/listFactsCount',
|
|
@@ -2832,7 +2880,7 @@ export const TYPERT = {
|
|
|
2832
2880
|
typeSymbol: 'dsh-daoing-memory#memory/listFactsCount:result',
|
|
2833
2881
|
schema: dsh_daoing_memory_memory_listFactsCount_result$schema,
|
|
2834
2882
|
},
|
|
2835
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2883
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":179,"column":3},
|
|
2836
2884
|
},
|
|
2837
2885
|
{
|
|
2838
2886
|
id: 'dsh-daoing-memory#memory/recall',
|
|
@@ -2872,7 +2920,7 @@ export const TYPERT = {
|
|
|
2872
2920
|
typeSymbol: 'dsh-daoing-memory/types#RecallExperiencesResult',
|
|
2873
2921
|
schema: dsh_daoing_memory_memory_recall_result$schema,
|
|
2874
2922
|
},
|
|
2875
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2923
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":89,"column":3},
|
|
2876
2924
|
},
|
|
2877
2925
|
{
|
|
2878
2926
|
id: 'dsh-daoing-memory#memory/refine',
|
|
@@ -2912,7 +2960,7 @@ export const TYPERT = {
|
|
|
2912
2960
|
typeSymbol: 'dsh-daoing-memory/types#RefineExperienceResult',
|
|
2913
2961
|
schema: dsh_daoing_memory_memory_refine_result$schema,
|
|
2914
2962
|
},
|
|
2915
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2963
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":83,"column":3},
|
|
2916
2964
|
},
|
|
2917
2965
|
{
|
|
2918
2966
|
id: 'dsh-daoing-memory#memory/report',
|
|
@@ -2952,7 +3000,7 @@ export const TYPERT = {
|
|
|
2952
3000
|
typeSymbol: 'dsh-daoing-memory/types#ReportUseResult',
|
|
2953
3001
|
schema: dsh_daoing_memory_memory_report_result$schema,
|
|
2954
3002
|
},
|
|
2955
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3003
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":95,"column":3},
|
|
2956
3004
|
},
|
|
2957
3005
|
{
|
|
2958
3006
|
id: 'dsh-daoing-memory#memory/revise',
|
|
@@ -2992,7 +3040,7 @@ export const TYPERT = {
|
|
|
2992
3040
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2993
3041
|
schema: dsh_daoing_memory_memory_revise_result$schema,
|
|
2994
3042
|
},
|
|
2995
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3043
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":107,"column":3},
|
|
2996
3044
|
},
|
|
2997
3045
|
{
|
|
2998
3046
|
id: 'dsh-daoing-memory#memory/rollback',
|
|
@@ -3032,7 +3080,7 @@ export const TYPERT = {
|
|
|
3032
3080
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
3033
3081
|
schema: dsh_daoing_memory_memory_rollback_result$schema,
|
|
3034
3082
|
},
|
|
3035
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3083
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":119,"column":3},
|
|
3036
3084
|
},
|
|
3037
3085
|
{
|
|
3038
3086
|
id: 'dsh-daoing-memory#memory/stats',
|
|
@@ -3062,7 +3110,7 @@ export const TYPERT = {
|
|
|
3062
3110
|
typeSymbol: 'dsh-daoing-memory/types#MemoryStats',
|
|
3063
3111
|
schema: dsh_daoing_memory_memory_stats_result$schema,
|
|
3064
3112
|
},
|
|
3065
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3113
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":254,"column":3},
|
|
3066
3114
|
},
|
|
3067
3115
|
{
|
|
3068
3116
|
id: 'dsh-daoing-memory#memory/verifyLedger',
|
|
@@ -3092,7 +3140,7 @@ export const TYPERT = {
|
|
|
3092
3140
|
typeSymbol: 'dsh-daoing-memory/types#LedgerIntegrityResult',
|
|
3093
3141
|
schema: dsh_daoing_memory_memory_verifyLedger_result$schema,
|
|
3094
3142
|
},
|
|
3095
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3143
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":247,"column":3},
|
|
3096
3144
|
},
|
|
3097
3145
|
{
|
|
3098
3146
|
id: 'dsh-daoing-memory#memory/verifyShadow',
|
|
@@ -3132,7 +3180,7 @@ export const TYPERT = {
|
|
|
3132
3180
|
typeSymbol: 'dsh-daoing-memory/types#VerifyShadowResult',
|
|
3133
3181
|
schema: dsh_daoing_memory_memory_verifyShadow_result$schema,
|
|
3134
3182
|
},
|
|
3135
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3183
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":113,"column":3},
|
|
3136
3184
|
},
|
|
3137
3185
|
{
|
|
3138
3186
|
id: 'dsh-daoing-memory#memory/workbenchInfo',
|
|
@@ -3162,7 +3210,7 @@ export const TYPERT = {
|
|
|
3162
3210
|
typeSymbol: 'dsh-daoing-memory/types#MemoryWorkbenchInfo',
|
|
3163
3211
|
schema: dsh_daoing_memory_memory_workbenchInfo_result$schema,
|
|
3164
3212
|
},
|
|
3165
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3213
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":261,"column":3},
|
|
3166
3214
|
},
|
|
3167
3215
|
],
|
|
3168
3216
|
model: {
|
|
@@ -3399,6 +3447,13 @@ export const TYPERT = {
|
|
|
3399
3447
|
"summary": "Human delete (tombstone + ledger fingerprint).",
|
|
3400
3448
|
"jsDoc": "/** Human delete (tombstone + ledger fingerprint). */"
|
|
3401
3449
|
},
|
|
3450
|
+
{
|
|
3451
|
+
"kind": "method",
|
|
3452
|
+
"name": "humanArchiveExperience",
|
|
3453
|
+
"signature": "@Remote('humanArchiveExperience') humanArchiveExperience(agent: Agent, request: HumanArchiveExperienceRequest): { archived: true }",
|
|
3454
|
+
"summary": "Human archive (move to archived status; preserves data, removes from recall).",
|
|
3455
|
+
"jsDoc": "/** Human archive (move to archived status; preserves data, removes from recall). */"
|
|
3456
|
+
},
|
|
3402
3457
|
{
|
|
3403
3458
|
"kind": "method",
|
|
3404
3459
|
"name": "humanEditExperience",
|
|
@@ -3701,6 +3756,10 @@ export const TYPERT = {
|
|
|
3701
3756
|
"name": "HumanAddFactRequest",
|
|
3702
3757
|
"declaration": "export interface HumanAddFactRequest {\n category: FactCategory;\n factKey: string;\n value: string;\n locked?: boolean;\n reason: string;\n}"
|
|
3703
3758
|
},
|
|
3759
|
+
{
|
|
3760
|
+
"name": "HumanArchiveExperienceRequest",
|
|
3761
|
+
"declaration": "export interface HumanArchiveExperienceRequest {\n id: string;\n reason: string;\n}"
|
|
3762
|
+
},
|
|
3704
3763
|
{
|
|
3705
3764
|
"name": "HumanConfirmFactRequest",
|
|
3706
3765
|
"declaration": "export interface HumanConfirmFactRequest {\n factId: string;\n locked: boolean;\n reason: string;\n}"
|
|
@@ -4,7 +4,7 @@ import type {
|
|
|
4
4
|
TypertRemoteContribution,
|
|
5
5
|
} from '@deepseek-ai/dsh-typert-protocol'
|
|
6
6
|
import type { SessionId } from '@deepseek-ai/dsh-session/types'
|
|
7
|
-
import type { ConcernTree, ConsolidateRequest, ConsolidateResult, DiaryAppendRequest, DiaryAppendResult, DiaryEntry, ExperienceListFilter, ExperienceSnapshot, ExtractFactsRequest, ExtractFactsResult, ExtractionRecord, FactEntry, HumanAckDiaryRequest, HumanAddExperienceRequest, HumanAddFactRequest, HumanConfirmFactRequest, HumanDeleteConcernRequest, HumanDeleteExperienceRequest, HumanDeleteFactRequest, HumanEditExperienceRequest, HumanEditFactRequest, HumanPinRequest, HumanReleaseColdRequest, HumanSetConcernStatusRequest, IngestRequest, IngestResult, LedgerBlock, LedgerIntegrityResult, LedgerQueryRequest, MemoryExport, MemoryStats, MemoryWorkbenchInfo, RecallExperiencesRequest, RecallExperiencesResult, RefineExperienceRequest, RefineExperienceResult, ReportUseRequest, ReportUseResult, ReviseExperienceRequest, RollbackExperienceRequest, VerifyShadowRequest, VerifyShadowResult } from 'dsh-daoing-memory/types'
|
|
7
|
+
import type { ConcernTree, ConsolidateRequest, ConsolidateResult, DiaryAppendRequest, DiaryAppendResult, DiaryEntry, ExperienceListFilter, ExperienceSnapshot, ExtractFactsRequest, ExtractFactsResult, ExtractionRecord, FactEntry, HumanAckDiaryRequest, HumanAddExperienceRequest, HumanAddFactRequest, HumanArchiveExperienceRequest, HumanConfirmFactRequest, HumanDeleteConcernRequest, HumanDeleteExperienceRequest, HumanDeleteFactRequest, HumanEditExperienceRequest, HumanEditFactRequest, HumanPinRequest, HumanReleaseColdRequest, HumanSetConcernStatusRequest, IngestRequest, IngestResult, LedgerBlock, LedgerIntegrityResult, LedgerQueryRequest, MemoryExport, MemoryStats, MemoryWorkbenchInfo, RecallExperiencesRequest, RecallExperiencesResult, RefineExperienceRequest, RefineExperienceResult, ReportUseRequest, ReportUseResult, ReviseExperienceRequest, RollbackExperienceRequest, VerifyShadowRequest, VerifyShadowResult } from 'dsh-daoing-memory/types'
|
|
8
8
|
|
|
9
9
|
declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
10
10
|
interface TypertRemoteNamespace$6d656d6f7279 {
|
|
@@ -21,6 +21,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
21
21
|
humanAckDiary: (agentId: SessionId, request: HumanAckDiaryRequest) => Promise<RemoteResult<DiaryEntry>>
|
|
22
22
|
humanAddExperience: (agentId: SessionId, request: HumanAddExperienceRequest) => Promise<RemoteResult<ExperienceSnapshot>>
|
|
23
23
|
humanAddFact: (agentId: SessionId, request: HumanAddFactRequest) => Promise<RemoteResult<FactEntry>>
|
|
24
|
+
humanArchiveExperience: (agentId: SessionId, request: HumanArchiveExperienceRequest) => Promise<RemoteResult<{ archived: true; }>>
|
|
24
25
|
humanConfirmFact: (agentId: SessionId, request: HumanConfirmFactRequest) => Promise<RemoteResult<FactEntry>>
|
|
25
26
|
humanDeleteConcern: (agentId: SessionId, request: HumanDeleteConcernRequest) => Promise<RemoteResult<{ deleted: true; }>>
|
|
26
27
|
humanDeleteExperience: (agentId: SessionId, request: HumanDeleteExperienceRequest) => Promise<RemoteResult<{ deleted: true; }>>
|
|
@@ -65,6 +66,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
65
66
|
'memory/humanAckDiary': (agentId: SessionId, request: HumanAckDiaryRequest) => Promise<RemoteResult<DiaryEntry>>
|
|
66
67
|
'memory/humanAddExperience': (agentId: SessionId, request: HumanAddExperienceRequest) => Promise<RemoteResult<ExperienceSnapshot>>
|
|
67
68
|
'memory/humanAddFact': (agentId: SessionId, request: HumanAddFactRequest) => Promise<RemoteResult<FactEntry>>
|
|
69
|
+
'memory/humanArchiveExperience': (agentId: SessionId, request: HumanArchiveExperienceRequest) => Promise<RemoteResult<{ archived: true; }>>
|
|
68
70
|
'memory/humanConfirmFact': (agentId: SessionId, request: HumanConfirmFactRequest) => Promise<RemoteResult<FactEntry>>
|
|
69
71
|
'memory/humanDeleteConcern': (agentId: SessionId, request: HumanDeleteConcernRequest) => Promise<RemoteResult<{ deleted: true; }>>
|
|
70
72
|
'memory/humanDeleteExperience': (agentId: SessionId, request: HumanDeleteExperienceRequest) => Promise<RemoteResult<{ deleted: true; }>>
|
|
@@ -112,6 +114,7 @@ declare module '@deepseek-ai/dsh-typert-protocol' {
|
|
|
112
114
|
'agent:memory/humanAckDiary': (request: HumanAckDiaryRequest) => Promise<RemoteResult<DiaryEntry>>
|
|
113
115
|
'agent:memory/humanAddExperience': (request: HumanAddExperienceRequest) => Promise<RemoteResult<ExperienceSnapshot>>
|
|
114
116
|
'agent:memory/humanAddFact': (request: HumanAddFactRequest) => Promise<RemoteResult<FactEntry>>
|
|
117
|
+
'agent:memory/humanArchiveExperience': (request: HumanArchiveExperienceRequest) => Promise<RemoteResult<{ archived: true; }>>
|
|
115
118
|
'agent:memory/humanConfirmFact': (request: HumanConfirmFactRequest) => Promise<RemoteResult<FactEntry>>
|
|
116
119
|
'agent:memory/humanDeleteConcern': (request: HumanDeleteConcernRequest) => Promise<RemoteResult<{ deleted: true; }>>
|
|
117
120
|
'agent:memory/humanDeleteExperience': (request: HumanDeleteExperienceRequest) => Promise<RemoteResult<{ deleted: true; }>>
|