Commit 7727c4b
committed
fix(memory): use session corpus listing for status-mode dirty detection
Replace resolveSessionTranscriptsDirForAgent + readdirSync with
listSessionTranscriptCorpusEntriesForAgentSync so the status-mode
dirty check respects configured/fixed custom session stores and
ownership filtering, matching the async startup catch-up path.
Export listSessionTranscriptCorpusEntriesForAgentSync through the
memory-host-sdk and plugin-sdk barrels.1 parent 9750225 commit 7727c4b
3 files changed
Lines changed: 14 additions & 9 deletions
File tree
- extensions/memory-core/src/memory
- packages/memory-host-sdk/src
- host
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
1501 | 1502 | | |
1502 | 1503 | | |
1503 | 1504 | | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
1504 | 1508 | | |
1505 | 1509 | | |
1506 | 1510 | | |
1507 | 1511 | | |
1508 | 1512 | | |
1509 | 1513 | | |
1510 | | - | |
1511 | | - | |
| 1514 | + | |
| 1515 | + | |
1512 | 1516 | | |
1513 | 1517 | | |
1514 | | - | |
1515 | 1518 | | |
1516 | | - | |
1517 | | - | |
1518 | | - | |
1519 | | - | |
1520 | | - | |
| 1519 | + | |
| 1520 | + | |
1521 | 1521 | | |
1522 | 1522 | | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
1523 | 1526 | | |
1524 | 1527 | | |
1525 | 1528 | | |
1526 | 1529 | | |
1527 | 1530 | | |
1528 | 1531 | | |
1529 | 1532 | | |
1530 | | - | |
| 1533 | + | |
1531 | 1534 | | |
1532 | 1535 | | |
1533 | 1536 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
0 commit comments