@lumenflow/memory 2.17.0 → 2.18.1
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/README.md +4 -4
- package/dist/mem-recover-core.js +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -100,7 +100,7 @@ await sendSignal('/path/to/project', {
|
|
|
100
100
|
|
|
101
101
|
### Context Injection (WU-1234)
|
|
102
102
|
|
|
103
|
-
Generate deterministic context blocks for wu:
|
|
103
|
+
Generate deterministic context blocks for `wu:brief` prompts:
|
|
104
104
|
|
|
105
105
|
```typescript
|
|
106
106
|
import { generateContext } from '@lumenflow/memory/context';
|
|
@@ -391,9 +391,9 @@ import { loadMemory, appendNode } from '@lumenflow/memory/store';
|
|
|
391
391
|
|
|
392
392
|
### Context Injection
|
|
393
393
|
|
|
394
|
-
| Function | Description
|
|
395
|
-
| -------------------------------- |
|
|
396
|
-
| `generateContext(baseDir, opts)` | Generate formatted context block for wu:
|
|
394
|
+
| Function | Description |
|
|
395
|
+
| -------------------------------- | ----------------------------------------------- |
|
|
396
|
+
| `generateContext(baseDir, opts)` | Generate formatted context block for `wu:brief` |
|
|
397
397
|
|
|
398
398
|
### Project Indexing
|
|
399
399
|
|
package/dist/mem-recover-core.js
CHANGED
|
@@ -61,7 +61,7 @@ const SECTION_HEADERS = {
|
|
|
61
61
|
const ESSENTIAL_CLI_COMMANDS = `| Command | Purpose |
|
|
62
62
|
|---------|---------|
|
|
63
63
|
| pnpm wu:status --id WU-XXX | Check WU status and location |
|
|
64
|
-
| pnpm wu:
|
|
64
|
+
| pnpm wu:brief --id WU-XXX --client claude-code | Generate fresh agent handoff prompt |
|
|
65
65
|
| pnpm gates | Run quality gates before completion |
|
|
66
66
|
| pnpm mem:checkpoint | Save progress checkpoint |`;
|
|
67
67
|
/**
|
|
@@ -186,7 +186,7 @@ ${cliRef}
|
|
|
186
186
|
`
|
|
187
187
|
: '';
|
|
188
188
|
const footer = `## ${SECTION_HEADERS.NEXT_ACTION}
|
|
189
|
-
Run \`pnpm wu:
|
|
189
|
+
Run \`pnpm wu:brief --id ${wuId} --client claude-code\` to generate a fresh handoff prompt.
|
|
190
190
|
`;
|
|
191
191
|
// Build sections in priority order
|
|
192
192
|
// Priority: header > checkpoint > constraints > CLI > footer
|
|
@@ -197,7 +197,7 @@ Run \`pnpm wu:spawn --id ${wuId}\` to spawn a fresh agent with full context.
|
|
|
197
197
|
// Even fixed content exceeds budget - return minimal recovery
|
|
198
198
|
const minimal = `# ${SECTION_HEADERS.RECOVERY_TITLE}
|
|
199
199
|
WU: ${wuId}
|
|
200
|
-
Run: pnpm wu:
|
|
200
|
+
Run: pnpm wu:brief --id ${wuId} --client claude-code
|
|
201
201
|
`;
|
|
202
202
|
return { context: minimal, truncated: true };
|
|
203
203
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumenflow/memory",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.18.1",
|
|
4
4
|
"description": "Memory layer for LumenFlow workflow framework - session tracking, context recovery, and agent coordination",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lumenflow",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"ms": "^2.1.3",
|
|
57
57
|
"yaml": "^2.8.2",
|
|
58
58
|
"zod": "^4.3.5",
|
|
59
|
-
"@lumenflow/core": "2.
|
|
59
|
+
"@lumenflow/core": "2.18.1"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@vitest/coverage-v8": "^4.0.17",
|