dsh-daoing-memory 0.1.11 → 0.1.13
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 +100 -100
- package/lib/client.js.map +1 -1
- package/lib/index.js +20 -14
- package/lib/typert.host.js +51 -51
- package/lib/typert.remote-client.js +51 -51
- package/lib/types/index.js +6 -1
- package/lib/types/service.d.ts +16 -1
- package/lib/types/service.js +21 -13
- package/package.json +1 -1
|
@@ -1601,7 +1601,7 @@ export const TYPERT_REMOTE = {
|
|
|
1601
1601
|
typeSymbol: 'dsh-daoing-memory/types#DiaryAppendResult',
|
|
1602
1602
|
schema: dsh_daoing_memory_memory_appendDiary_result$schema,
|
|
1603
1603
|
},
|
|
1604
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1604
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":160,"column":3},
|
|
1605
1605
|
},
|
|
1606
1606
|
{
|
|
1607
1607
|
id: 'dsh-daoing-memory#memory/consolidate',
|
|
@@ -1641,7 +1641,7 @@ export const TYPERT_REMOTE = {
|
|
|
1641
1641
|
typeSymbol: 'dsh-daoing-memory/types#ConsolidateResult',
|
|
1642
1642
|
schema: dsh_daoing_memory_memory_consolidate_result$schema,
|
|
1643
1643
|
},
|
|
1644
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1644
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":348,"column":3},
|
|
1645
1645
|
},
|
|
1646
1646
|
{
|
|
1647
1647
|
id: 'dsh-daoing-memory#memory/consolidationDue',
|
|
@@ -1671,7 +1671,7 @@ export const TYPERT_REMOTE = {
|
|
|
1671
1671
|
typeSymbol: 'dsh-daoing-memory#memory/consolidationDue:result',
|
|
1672
1672
|
schema: dsh_daoing_memory_memory_consolidationDue_result$schema,
|
|
1673
1673
|
},
|
|
1674
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1674
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":355,"column":3},
|
|
1675
1675
|
},
|
|
1676
1676
|
{
|
|
1677
1677
|
id: 'dsh-daoing-memory#memory/exportLibrary',
|
|
@@ -1701,7 +1701,7 @@ export const TYPERT_REMOTE = {
|
|
|
1701
1701
|
typeSymbol: 'dsh-daoing-memory/types#MemoryExport',
|
|
1702
1702
|
schema: dsh_daoing_memory_memory_exportLibrary_result$schema,
|
|
1703
1703
|
},
|
|
1704
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1704
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":397,"column":3},
|
|
1705
1705
|
},
|
|
1706
1706
|
{
|
|
1707
1707
|
id: 'dsh-daoing-memory#memory/extract',
|
|
@@ -1741,7 +1741,7 @@ export const TYPERT_REMOTE = {
|
|
|
1741
1741
|
typeSymbol: 'dsh-daoing-memory/types#ExtractFactsResult',
|
|
1742
1742
|
schema: dsh_daoing_memory_memory_extract_result$schema,
|
|
1743
1743
|
},
|
|
1744
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1744
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":166,"column":9},
|
|
1745
1745
|
},
|
|
1746
1746
|
{
|
|
1747
1747
|
id: 'dsh-daoing-memory#memory/extractionLog',
|
|
@@ -1791,7 +1791,7 @@ export const TYPERT_REMOTE = {
|
|
|
1791
1791
|
typeSymbol: 'dsh-daoing-memory#memory/extractionLog:result',
|
|
1792
1792
|
schema: dsh_daoing_memory_memory_extractionLog_result$schema,
|
|
1793
1793
|
},
|
|
1794
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1794
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":334,"column":3},
|
|
1795
1795
|
},
|
|
1796
1796
|
{
|
|
1797
1797
|
id: 'dsh-daoing-memory#memory/extractionLogCount',
|
|
@@ -1821,7 +1821,7 @@ export const TYPERT_REMOTE = {
|
|
|
1821
1821
|
typeSymbol: 'dsh-daoing-memory#memory/extractionLogCount:result',
|
|
1822
1822
|
schema: dsh_daoing_memory_memory_extractionLogCount_result$schema,
|
|
1823
1823
|
},
|
|
1824
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1824
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":341,"column":3},
|
|
1825
1825
|
},
|
|
1826
1826
|
{
|
|
1827
1827
|
id: 'dsh-daoing-memory#memory/family',
|
|
@@ -1861,7 +1861,7 @@ export const TYPERT_REMOTE = {
|
|
|
1861
1861
|
typeSymbol: 'dsh-daoing-memory#memory/family:result',
|
|
1862
1862
|
schema: dsh_daoing_memory_memory_family_result$schema,
|
|
1863
1863
|
},
|
|
1864
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1864
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":153,"column":3},
|
|
1865
1865
|
},
|
|
1866
1866
|
{
|
|
1867
1867
|
id: 'dsh-daoing-memory#memory/generateSkillDraft',
|
|
@@ -1901,7 +1901,7 @@ export const TYPERT_REMOTE = {
|
|
|
1901
1901
|
typeSymbol: 'dsh-daoing-memory/types#SkillArtifact',
|
|
1902
1902
|
schema: dsh_daoing_memory_memory_generateSkillDraft_result$schema,
|
|
1903
1903
|
},
|
|
1904
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1904
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":527,"column":9},
|
|
1905
1905
|
},
|
|
1906
1906
|
{
|
|
1907
1907
|
id: 'dsh-daoing-memory#memory/get',
|
|
@@ -1952,7 +1952,7 @@ export const TYPERT_REMOTE = {
|
|
|
1952
1952
|
typeSymbol: 'dsh-daoing-memory#memory/get:result',
|
|
1953
1953
|
schema: dsh_daoing_memory_memory_get_result$schema,
|
|
1954
1954
|
},
|
|
1955
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1955
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":139,"column":3},
|
|
1956
1956
|
},
|
|
1957
1957
|
{
|
|
1958
1958
|
id: 'dsh-daoing-memory#memory/getDeletionFeedback',
|
|
@@ -1982,7 +1982,7 @@ export const TYPERT_REMOTE = {
|
|
|
1982
1982
|
typeSymbol: 'dsh-daoing-memory#memory/getDeletionFeedback:result',
|
|
1983
1983
|
schema: dsh_daoing_memory_memory_getDeletionFeedback_result$schema,
|
|
1984
1984
|
},
|
|
1985
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
1985
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":280,"column":3},
|
|
1986
1986
|
},
|
|
1987
1987
|
{
|
|
1988
1988
|
id: 'dsh-daoing-memory#memory/getDiaryByIds',
|
|
@@ -2022,7 +2022,7 @@ export const TYPERT_REMOTE = {
|
|
|
2022
2022
|
typeSymbol: 'dsh-daoing-memory#memory/getDiaryByIds:result',
|
|
2023
2023
|
schema: dsh_daoing_memory_memory_getDiaryByIds_result$schema,
|
|
2024
2024
|
},
|
|
2025
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2025
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":294,"column":3},
|
|
2026
2026
|
},
|
|
2027
2027
|
{
|
|
2028
2028
|
id: 'dsh-daoing-memory#memory/getSkillArtifact',
|
|
@@ -2062,7 +2062,7 @@ export const TYPERT_REMOTE = {
|
|
|
2062
2062
|
typeSymbol: 'dsh-daoing-memory#memory/getSkillArtifact:result',
|
|
2063
2063
|
schema: dsh_daoing_memory_memory_getSkillArtifact_result$schema,
|
|
2064
2064
|
},
|
|
2065
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2065
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":583,"column":3},
|
|
2066
2066
|
},
|
|
2067
2067
|
{
|
|
2068
2068
|
id: 'dsh-daoing-memory#memory/humanAckDiary',
|
|
@@ -2102,7 +2102,7 @@ export const TYPERT_REMOTE = {
|
|
|
2102
2102
|
typeSymbol: 'dsh-daoing-memory/types#DiaryEntry',
|
|
2103
2103
|
schema: dsh_daoing_memory_memory_humanAckDiary_result$schema,
|
|
2104
2104
|
},
|
|
2105
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2105
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":502,"column":3},
|
|
2106
2106
|
},
|
|
2107
2107
|
{
|
|
2108
2108
|
id: 'dsh-daoing-memory#memory/humanAddExperience',
|
|
@@ -2142,7 +2142,7 @@ export const TYPERT_REMOTE = {
|
|
|
2142
2142
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2143
2143
|
schema: dsh_daoing_memory_memory_humanAddExperience_result$schema,
|
|
2144
2144
|
},
|
|
2145
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2145
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":445,"column":3},
|
|
2146
2146
|
},
|
|
2147
2147
|
{
|
|
2148
2148
|
id: 'dsh-daoing-memory#memory/humanAddFact',
|
|
@@ -2182,7 +2182,7 @@ export const TYPERT_REMOTE = {
|
|
|
2182
2182
|
typeSymbol: 'dsh-daoing-memory/types#FactEntry',
|
|
2183
2183
|
schema: dsh_daoing_memory_memory_humanAddFact_result$schema,
|
|
2184
2184
|
},
|
|
2185
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2185
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":473,"column":3},
|
|
2186
2186
|
},
|
|
2187
2187
|
{
|
|
2188
2188
|
id: 'dsh-daoing-memory#memory/humanArchiveExperience',
|
|
@@ -2222,7 +2222,7 @@ export const TYPERT_REMOTE = {
|
|
|
2222
2222
|
typeSymbol: 'dsh-daoing-memory#memory/humanArchiveExperience:result',
|
|
2223
2223
|
schema: dsh_daoing_memory_memory_humanArchiveExperience_result$schema,
|
|
2224
2224
|
},
|
|
2225
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2225
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":430,"column":3},
|
|
2226
2226
|
},
|
|
2227
2227
|
{
|
|
2228
2228
|
id: 'dsh-daoing-memory#memory/humanConfirmFact',
|
|
@@ -2262,7 +2262,7 @@ export const TYPERT_REMOTE = {
|
|
|
2262
2262
|
typeSymbol: 'dsh-daoing-memory/types#FactEntry',
|
|
2263
2263
|
schema: dsh_daoing_memory_memory_humanConfirmFact_result$schema,
|
|
2264
2264
|
},
|
|
2265
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2265
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":495,"column":3},
|
|
2266
2266
|
},
|
|
2267
2267
|
{
|
|
2268
2268
|
id: 'dsh-daoing-memory#memory/humanDeleteConcern',
|
|
@@ -2302,7 +2302,7 @@ export const TYPERT_REMOTE = {
|
|
|
2302
2302
|
typeSymbol: 'dsh-daoing-memory#memory/humanDeleteConcern:result',
|
|
2303
2303
|
schema: dsh_daoing_memory_memory_humanDeleteConcern_result$schema,
|
|
2304
2304
|
},
|
|
2305
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2305
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":517,"column":3},
|
|
2306
2306
|
},
|
|
2307
2307
|
{
|
|
2308
2308
|
id: 'dsh-daoing-memory#memory/humanDeleteExperience',
|
|
@@ -2342,7 +2342,7 @@ export const TYPERT_REMOTE = {
|
|
|
2342
2342
|
typeSymbol: 'dsh-daoing-memory#memory/humanDeleteExperience:result',
|
|
2343
2343
|
schema: dsh_daoing_memory_memory_humanDeleteExperience_result$schema,
|
|
2344
2344
|
},
|
|
2345
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2345
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":422,"column":3},
|
|
2346
2346
|
},
|
|
2347
2347
|
{
|
|
2348
2348
|
id: 'dsh-daoing-memory#memory/humanDeleteFact',
|
|
@@ -2382,7 +2382,7 @@ export const TYPERT_REMOTE = {
|
|
|
2382
2382
|
typeSymbol: 'dsh-daoing-memory#memory/humanDeleteFact:result',
|
|
2383
2383
|
schema: dsh_daoing_memory_memory_humanDeleteFact_result$schema,
|
|
2384
2384
|
},
|
|
2385
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2385
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":487,"column":3},
|
|
2386
2386
|
},
|
|
2387
2387
|
{
|
|
2388
2388
|
id: 'dsh-daoing-memory#memory/humanEditExperience',
|
|
@@ -2422,7 +2422,7 @@ export const TYPERT_REMOTE = {
|
|
|
2422
2422
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2423
2423
|
schema: dsh_daoing_memory_memory_humanEditExperience_result$schema,
|
|
2424
2424
|
},
|
|
2425
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2425
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":438,"column":3},
|
|
2426
2426
|
},
|
|
2427
2427
|
{
|
|
2428
2428
|
id: 'dsh-daoing-memory#memory/humanEditFact',
|
|
@@ -2462,7 +2462,7 @@ export const TYPERT_REMOTE = {
|
|
|
2462
2462
|
typeSymbol: 'dsh-daoing-memory/types#FactEntry',
|
|
2463
2463
|
schema: dsh_daoing_memory_memory_humanEditFact_result$schema,
|
|
2464
2464
|
},
|
|
2465
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2465
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":480,"column":3},
|
|
2466
2466
|
},
|
|
2467
2467
|
{
|
|
2468
2468
|
id: 'dsh-daoing-memory#memory/humanPin',
|
|
@@ -2502,7 +2502,7 @@ export const TYPERT_REMOTE = {
|
|
|
2502
2502
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2503
2503
|
schema: dsh_daoing_memory_memory_humanPin_result$schema,
|
|
2504
2504
|
},
|
|
2505
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2505
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":415,"column":3},
|
|
2506
2506
|
},
|
|
2507
2507
|
{
|
|
2508
2508
|
id: 'dsh-daoing-memory#memory/humanPromote',
|
|
@@ -2552,7 +2552,7 @@ export const TYPERT_REMOTE = {
|
|
|
2552
2552
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2553
2553
|
schema: dsh_daoing_memory_memory_humanPromote_result$schema,
|
|
2554
2554
|
},
|
|
2555
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2555
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":452,"column":3},
|
|
2556
2556
|
},
|
|
2557
2557
|
{
|
|
2558
2558
|
id: 'dsh-daoing-memory#memory/humanReleaseCold',
|
|
@@ -2592,7 +2592,7 @@ export const TYPERT_REMOTE = {
|
|
|
2592
2592
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2593
2593
|
schema: dsh_daoing_memory_memory_humanReleaseCold_result$schema,
|
|
2594
2594
|
},
|
|
2595
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2595
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":459,"column":3},
|
|
2596
2596
|
},
|
|
2597
2597
|
{
|
|
2598
2598
|
id: 'dsh-daoing-memory#memory/humanRollback',
|
|
@@ -2632,7 +2632,7 @@ export const TYPERT_REMOTE = {
|
|
|
2632
2632
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
2633
2633
|
schema: dsh_daoing_memory_memory_humanRollback_result$schema,
|
|
2634
2634
|
},
|
|
2635
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2635
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":466,"column":3},
|
|
2636
2636
|
},
|
|
2637
2637
|
{
|
|
2638
2638
|
id: 'dsh-daoing-memory#memory/humanSetConcernStatus',
|
|
@@ -2672,7 +2672,7 @@ export const TYPERT_REMOTE = {
|
|
|
2672
2672
|
typeSymbol: 'dsh-daoing-memory#memory/humanSetConcernStatus:result',
|
|
2673
2673
|
schema: dsh_daoing_memory_memory_humanSetConcernStatus_result$schema,
|
|
2674
2674
|
},
|
|
2675
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2675
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":509,"column":3},
|
|
2676
2676
|
},
|
|
2677
2677
|
{
|
|
2678
2678
|
id: 'dsh-daoing-memory#memory/ingest',
|
|
@@ -2712,7 +2712,7 @@ export const TYPERT_REMOTE = {
|
|
|
2712
2712
|
typeSymbol: 'dsh-daoing-memory/types#IngestResult',
|
|
2713
2713
|
schema: dsh_daoing_memory_memory_ingest_result$schema,
|
|
2714
2714
|
},
|
|
2715
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2715
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":115,"column":3},
|
|
2716
2716
|
},
|
|
2717
2717
|
{
|
|
2718
2718
|
id: 'dsh-daoing-memory#memory/isSkillCandidate',
|
|
@@ -2752,7 +2752,7 @@ export const TYPERT_REMOTE = {
|
|
|
2752
2752
|
typeSymbol: 'dsh-daoing-memory#memory/isSkillCandidate:result',
|
|
2753
2753
|
schema: dsh_daoing_memory_memory_isSkillCandidate_result$schema,
|
|
2754
2754
|
},
|
|
2755
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2755
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":590,"column":3},
|
|
2756
2756
|
},
|
|
2757
2757
|
{
|
|
2758
2758
|
id: 'dsh-daoing-memory#memory/ledgerQuery',
|
|
@@ -2792,7 +2792,7 @@ export const TYPERT_REMOTE = {
|
|
|
2792
2792
|
typeSymbol: 'dsh-daoing-memory#memory/ledgerQuery:result',
|
|
2793
2793
|
schema: dsh_daoing_memory_memory_ledgerQuery_result$schema,
|
|
2794
2794
|
},
|
|
2795
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2795
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":362,"column":3},
|
|
2796
2796
|
},
|
|
2797
2797
|
{
|
|
2798
2798
|
id: 'dsh-daoing-memory#memory/ledgerQueryCount',
|
|
@@ -2832,7 +2832,7 @@ export const TYPERT_REMOTE = {
|
|
|
2832
2832
|
typeSymbol: 'dsh-daoing-memory#memory/ledgerQueryCount:result',
|
|
2833
2833
|
schema: dsh_daoing_memory_memory_ledgerQueryCount_result$schema,
|
|
2834
2834
|
},
|
|
2835
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2835
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":369,"column":3},
|
|
2836
2836
|
},
|
|
2837
2837
|
{
|
|
2838
2838
|
id: 'dsh-daoing-memory#memory/list',
|
|
@@ -2872,7 +2872,7 @@ export const TYPERT_REMOTE = {
|
|
|
2872
2872
|
typeSymbol: 'dsh-daoing-memory#memory/list:result',
|
|
2873
2873
|
schema: dsh_daoing_memory_memory_list_result$schema,
|
|
2874
2874
|
},
|
|
2875
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2875
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":146,"column":3},
|
|
2876
2876
|
},
|
|
2877
2877
|
{
|
|
2878
2878
|
id: 'dsh-daoing-memory#memory/listConcerns',
|
|
@@ -2942,7 +2942,7 @@ export const TYPERT_REMOTE = {
|
|
|
2942
2942
|
typeSymbol: 'dsh-daoing-memory#memory/listConcerns:result',
|
|
2943
2943
|
schema: dsh_daoing_memory_memory_listConcerns_result$schema,
|
|
2944
2944
|
},
|
|
2945
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2945
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":315,"column":3},
|
|
2946
2946
|
},
|
|
2947
2947
|
{
|
|
2948
2948
|
id: 'dsh-daoing-memory#memory/listConcernsCount',
|
|
@@ -2992,7 +2992,7 @@ export const TYPERT_REMOTE = {
|
|
|
2992
2992
|
typeSymbol: 'dsh-daoing-memory#memory/listConcernsCount:result',
|
|
2993
2993
|
schema: dsh_daoing_memory_memory_listConcernsCount_result$schema,
|
|
2994
2994
|
},
|
|
2995
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
2995
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":322,"column":3},
|
|
2996
2996
|
},
|
|
2997
2997
|
{
|
|
2998
2998
|
id: 'dsh-daoing-memory#memory/listDiary',
|
|
@@ -3052,7 +3052,7 @@ export const TYPERT_REMOTE = {
|
|
|
3052
3052
|
typeSymbol: 'dsh-daoing-memory#memory/listDiary:result',
|
|
3053
3053
|
schema: dsh_daoing_memory_memory_listDiary_result$schema,
|
|
3054
3054
|
},
|
|
3055
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3055
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":287,"column":3},
|
|
3056
3056
|
},
|
|
3057
3057
|
{
|
|
3058
3058
|
id: 'dsh-daoing-memory#memory/listFacts',
|
|
@@ -3122,7 +3122,7 @@ export const TYPERT_REMOTE = {
|
|
|
3122
3122
|
typeSymbol: 'dsh-daoing-memory#memory/listFacts:result',
|
|
3123
3123
|
schema: dsh_daoing_memory_memory_listFacts_result$schema,
|
|
3124
3124
|
},
|
|
3125
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3125
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":301,"column":3},
|
|
3126
3126
|
},
|
|
3127
3127
|
{
|
|
3128
3128
|
id: 'dsh-daoing-memory#memory/listFactsCount',
|
|
@@ -3172,7 +3172,7 @@ export const TYPERT_REMOTE = {
|
|
|
3172
3172
|
typeSymbol: 'dsh-daoing-memory#memory/listFactsCount:result',
|
|
3173
3173
|
schema: dsh_daoing_memory_memory_listFactsCount_result$schema,
|
|
3174
3174
|
},
|
|
3175
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3175
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":308,"column":3},
|
|
3176
3176
|
},
|
|
3177
3177
|
{
|
|
3178
3178
|
id: 'dsh-daoing-memory#memory/listSkillArtifacts',
|
|
@@ -3222,7 +3222,7 @@ export const TYPERT_REMOTE = {
|
|
|
3222
3222
|
typeSymbol: 'dsh-daoing-memory#memory/listSkillArtifacts:result',
|
|
3223
3223
|
schema: dsh_daoing_memory_memory_listSkillArtifacts_result$schema,
|
|
3224
3224
|
},
|
|
3225
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3225
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":573,"column":3},
|
|
3226
3226
|
},
|
|
3227
3227
|
{
|
|
3228
3228
|
id: 'dsh-daoing-memory#memory/publishSkill',
|
|
@@ -3262,7 +3262,7 @@ export const TYPERT_REMOTE = {
|
|
|
3262
3262
|
typeSymbol: 'dsh-daoing-memory/types#SkillArtifact',
|
|
3263
3263
|
schema: dsh_daoing_memory_memory_publishSkill_result$schema,
|
|
3264
3264
|
},
|
|
3265
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3265
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":553,"column":3},
|
|
3266
3266
|
},
|
|
3267
3267
|
{
|
|
3268
3268
|
id: 'dsh-daoing-memory#memory/recall',
|
|
@@ -3302,7 +3302,7 @@ export const TYPERT_REMOTE = {
|
|
|
3302
3302
|
typeSymbol: 'dsh-daoing-memory/types#RecallExperiencesResult',
|
|
3303
3303
|
schema: dsh_daoing_memory_memory_recall_result$schema,
|
|
3304
3304
|
},
|
|
3305
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3305
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":103,"column":3},
|
|
3306
3306
|
},
|
|
3307
3307
|
{
|
|
3308
3308
|
id: 'dsh-daoing-memory#memory/refine',
|
|
@@ -3342,7 +3342,7 @@ export const TYPERT_REMOTE = {
|
|
|
3342
3342
|
typeSymbol: 'dsh-daoing-memory/types#RefineExperienceResult',
|
|
3343
3343
|
schema: dsh_daoing_memory_memory_refine_result$schema,
|
|
3344
3344
|
},
|
|
3345
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3345
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":97,"column":3},
|
|
3346
3346
|
},
|
|
3347
3347
|
{
|
|
3348
3348
|
id: 'dsh-daoing-memory#memory/report',
|
|
@@ -3382,7 +3382,7 @@ export const TYPERT_REMOTE = {
|
|
|
3382
3382
|
typeSymbol: 'dsh-daoing-memory/types#ReportUseResult',
|
|
3383
3383
|
schema: dsh_daoing_memory_memory_report_result$schema,
|
|
3384
3384
|
},
|
|
3385
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3385
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":109,"column":3},
|
|
3386
3386
|
},
|
|
3387
3387
|
{
|
|
3388
3388
|
id: 'dsh-daoing-memory#memory/reviewSkill',
|
|
@@ -3422,7 +3422,7 @@ export const TYPERT_REMOTE = {
|
|
|
3422
3422
|
typeSymbol: 'dsh-daoing-memory/types#SkillArtifact',
|
|
3423
3423
|
schema: dsh_daoing_memory_memory_reviewSkill_result$schema,
|
|
3424
3424
|
},
|
|
3425
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3425
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":547,"column":3},
|
|
3426
3426
|
},
|
|
3427
3427
|
{
|
|
3428
3428
|
id: 'dsh-daoing-memory#memory/revise',
|
|
@@ -3462,7 +3462,7 @@ export const TYPERT_REMOTE = {
|
|
|
3462
3462
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
3463
3463
|
schema: dsh_daoing_memory_memory_revise_result$schema,
|
|
3464
3464
|
},
|
|
3465
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3465
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":121,"column":3},
|
|
3466
3466
|
},
|
|
3467
3467
|
{
|
|
3468
3468
|
id: 'dsh-daoing-memory#memory/rollback',
|
|
@@ -3502,7 +3502,7 @@ export const TYPERT_REMOTE = {
|
|
|
3502
3502
|
typeSymbol: 'dsh-daoing-memory/types#ExperienceSnapshot',
|
|
3503
3503
|
schema: dsh_daoing_memory_memory_rollback_result$schema,
|
|
3504
3504
|
},
|
|
3505
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3505
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":133,"column":3},
|
|
3506
3506
|
},
|
|
3507
3507
|
{
|
|
3508
3508
|
id: 'dsh-daoing-memory#memory/runDeletionFeedback',
|
|
@@ -3532,7 +3532,7 @@ export const TYPERT_REMOTE = {
|
|
|
3532
3532
|
typeSymbol: 'dsh-daoing-memory#memory/runDeletionFeedback:result',
|
|
3533
3533
|
schema: dsh_daoing_memory_memory_runDeletionFeedback_result$schema,
|
|
3534
3534
|
},
|
|
3535
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3535
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":260,"column":9},
|
|
3536
3536
|
},
|
|
3537
3537
|
{
|
|
3538
3538
|
id: 'dsh-daoing-memory#memory/stats',
|
|
@@ -3562,7 +3562,7 @@ export const TYPERT_REMOTE = {
|
|
|
3562
3562
|
typeSymbol: 'dsh-daoing-memory/types#MemoryStats',
|
|
3563
3563
|
schema: dsh_daoing_memory_memory_stats_result$schema,
|
|
3564
3564
|
},
|
|
3565
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3565
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":383,"column":3},
|
|
3566
3566
|
},
|
|
3567
3567
|
{
|
|
3568
3568
|
id: 'dsh-daoing-memory#memory/verifyLedger',
|
|
@@ -3592,7 +3592,7 @@ export const TYPERT_REMOTE = {
|
|
|
3592
3592
|
typeSymbol: 'dsh-daoing-memory/types#LedgerIntegrityResult',
|
|
3593
3593
|
schema: dsh_daoing_memory_memory_verifyLedger_result$schema,
|
|
3594
3594
|
},
|
|
3595
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3595
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":376,"column":3},
|
|
3596
3596
|
},
|
|
3597
3597
|
{
|
|
3598
3598
|
id: 'dsh-daoing-memory#memory/verifyShadow',
|
|
@@ -3632,7 +3632,7 @@ export const TYPERT_REMOTE = {
|
|
|
3632
3632
|
typeSymbol: 'dsh-daoing-memory/types#VerifyShadowResult',
|
|
3633
3633
|
schema: dsh_daoing_memory_memory_verifyShadow_result$schema,
|
|
3634
3634
|
},
|
|
3635
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3635
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":127,"column":3},
|
|
3636
3636
|
},
|
|
3637
3637
|
{
|
|
3638
3638
|
id: 'dsh-daoing-memory#memory/workbenchInfo',
|
|
@@ -3662,7 +3662,7 @@ export const TYPERT_REMOTE = {
|
|
|
3662
3662
|
typeSymbol: 'dsh-daoing-memory/types#MemoryWorkbenchInfo',
|
|
3663
3663
|
schema: dsh_daoing_memory_memory_workbenchInfo_result$schema,
|
|
3664
3664
|
},
|
|
3665
|
-
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":
|
|
3665
|
+
sourceLocation: {"file":"packages/memory/dsh-daoing-memory/src/service.ts","line":390,"column":3},
|
|
3666
3666
|
},
|
|
3667
3667
|
],
|
|
3668
3668
|
}
|
package/lib/types/index.js
CHANGED
|
@@ -91,7 +91,12 @@ export function apply(ctx, config = {}) {
|
|
|
91
91
|
diaryExtractEvery: resolved.diaryExtractEvery,
|
|
92
92
|
injectionBudgetTokens: resolved.injectionBudgetTokens,
|
|
93
93
|
});
|
|
94
|
-
|
|
94
|
+
// Fetch the LLM service handle now, while this fiber is ACTIVE. Accessing
|
|
95
|
+
// ctx.llm in a Remote call context fails ("cannot get property llm without
|
|
96
|
+
// inject"), so we capture a stable reference here instead.
|
|
97
|
+
const llm = ctx.get('llm');
|
|
98
|
+
const defaultModel = ctx.get('agentDefaultModel');
|
|
99
|
+
new MemoryService(ctx, core, workbenchInfo, llm, defaultModel);
|
|
95
100
|
ctx.effect(() => () => {
|
|
96
101
|
try {
|
|
97
102
|
db.close();
|
package/lib/types/service.d.ts
CHANGED
|
@@ -17,10 +17,25 @@ import type { ConcernTree, ConsolidateRequest, ConsolidateResult, DiaryAppendReq
|
|
|
17
17
|
export declare class MemoryService extends TypertRemoteService {
|
|
18
18
|
private readonly core;
|
|
19
19
|
private readonly workbench;
|
|
20
|
+
private readonly llm;
|
|
21
|
+
private readonly defaultModel;
|
|
20
22
|
/** @param ctx - host context. */
|
|
21
23
|
/** @param core - the ctx-free memory core. */
|
|
22
24
|
/** @param workbench - descriptor the browser half matches workspaces against. */
|
|
23
|
-
|
|
25
|
+
/** @param llm - the DSH LLM service handle, fetched at apply() time (fiber ACTIVE). */
|
|
26
|
+
/** @param defaultModel - the DSH default-model config handle, fetched at apply() time. */
|
|
27
|
+
constructor(ctx: Context, core: MemoryCore, workbench: () => MemoryWorkbenchInfo, llm: {
|
|
28
|
+
stream(options: unknown): AsyncIterable<{
|
|
29
|
+
type: string;
|
|
30
|
+
text?: string;
|
|
31
|
+
index?: number;
|
|
32
|
+
}>;
|
|
33
|
+
} | undefined, defaultModel: {
|
|
34
|
+
currentSelection(): {
|
|
35
|
+
provider: string;
|
|
36
|
+
model: string;
|
|
37
|
+
};
|
|
38
|
+
} | undefined);
|
|
24
39
|
/** 生: refine a completed trajectory into an experience candidate. */
|
|
25
40
|
refine(agent: Agent, request: RefineExperienceRequest): RefineExperienceResult;
|
|
26
41
|
/** 用: recall + adjudication + injection budget + negative channel. */
|
package/lib/types/service.js
CHANGED
|
@@ -216,13 +216,19 @@ let MemoryService = (() => {
|
|
|
216
216
|
}
|
|
217
217
|
core = __runInitializers(this, _instanceExtraInitializers);
|
|
218
218
|
workbench;
|
|
219
|
+
llm;
|
|
220
|
+
defaultModel;
|
|
219
221
|
/** @param ctx - host context. */
|
|
220
222
|
/** @param core - the ctx-free memory core. */
|
|
221
223
|
/** @param workbench - descriptor the browser half matches workspaces against. */
|
|
222
|
-
|
|
224
|
+
/** @param llm - the DSH LLM service handle, fetched at apply() time (fiber ACTIVE). */
|
|
225
|
+
/** @param defaultModel - the DSH default-model config handle, fetched at apply() time. */
|
|
226
|
+
constructor(ctx, core, workbench, llm, defaultModel) {
|
|
223
227
|
super(ctx, 'memory');
|
|
224
228
|
this.core = core;
|
|
225
229
|
this.workbench = workbench;
|
|
230
|
+
this.llm = llm;
|
|
231
|
+
this.defaultModel = defaultModel;
|
|
226
232
|
}
|
|
227
233
|
/** 生: refine a completed trajectory into an experience candidate. */
|
|
228
234
|
refine(agent, request) {
|
|
@@ -311,11 +317,10 @@ let MemoryService = (() => {
|
|
|
311
317
|
let provider = header?.provider;
|
|
312
318
|
let model = header?.model;
|
|
313
319
|
if (provider === undefined || model === undefined) {
|
|
314
|
-
const
|
|
315
|
-
if (
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
model = def.model;
|
|
320
|
+
const sel = this.defaultModel?.currentSelection();
|
|
321
|
+
if (sel !== undefined) {
|
|
322
|
+
provider = sel.provider;
|
|
323
|
+
model = sel.model;
|
|
319
324
|
}
|
|
320
325
|
}
|
|
321
326
|
if (provider === undefined || model === undefined)
|
|
@@ -346,7 +351,9 @@ ${deletionList}
|
|
|
346
351
|
maxTokens: 1500,
|
|
347
352
|
sessionId: agent.session.id,
|
|
348
353
|
};
|
|
349
|
-
|
|
354
|
+
if (this.llm === undefined)
|
|
355
|
+
return '';
|
|
356
|
+
for await (const chunk of this.llm.stream(options)) {
|
|
350
357
|
if (chunk.type === 'text-delta')
|
|
351
358
|
text += chunk.text;
|
|
352
359
|
}
|
|
@@ -620,11 +627,10 @@ ${deletionList}
|
|
|
620
627
|
let provider = header?.provider;
|
|
621
628
|
let model = header?.model;
|
|
622
629
|
if (provider === undefined || model === undefined) {
|
|
623
|
-
const
|
|
624
|
-
if (
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
model = def.model;
|
|
630
|
+
const sel = this.defaultModel?.currentSelection();
|
|
631
|
+
if (sel !== undefined) {
|
|
632
|
+
provider = sel.provider;
|
|
633
|
+
model = sel.model;
|
|
628
634
|
}
|
|
629
635
|
}
|
|
630
636
|
if (provider === undefined || model === undefined)
|
|
@@ -662,7 +668,9 @@ ${experience.limits.map(l => `- ${l}`).join('\n')}
|
|
|
662
668
|
source: { kind: 'plugin', plugin: 'dsh-daoing-memory' },
|
|
663
669
|
})];
|
|
664
670
|
let text = '';
|
|
665
|
-
|
|
671
|
+
if (this.llm === undefined)
|
|
672
|
+
return '';
|
|
673
|
+
for await (const chunk of this.llm.stream({
|
|
666
674
|
provider,
|
|
667
675
|
model,
|
|
668
676
|
messages,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-daoing-memory",
|
|
3
3
|
"description": "Self-evolving memory for DeepSeek Harness (DSH): earned experiences, diary/fact semantic memory, concern tracking, and an append-only audit ledger.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.13",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "daoing",
|