@lumenflow/memory 2.16.0 → 2.18.0

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 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:spawn prompts:
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:spawn |
394
+ | Function | Description |
395
+ | -------------------------------- | ----------------------------------------------- |
396
+ | `generateContext(baseDir, opts)` | Generate formatted context block for `wu:brief` |
397
397
 
398
398
  ### Project Indexing
399
399
 
@@ -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:spawn --id WU-XXX | Generate fresh agent spawn prompt |
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:spawn --id ${wuId}\` to spawn a fresh agent with full context.
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:spawn --id ${wuId}
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.16.0",
3
+ "version": "2.18.0",
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.16.0"
59
+ "@lumenflow/core": "2.18.0"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@vitest/coverage-v8": "^4.0.17",