@lumoai/cli 1.8.0 → 1.9.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/assets/skill.md CHANGED
@@ -124,6 +124,7 @@ The command prints a markdown document to stdout containing:
124
124
  2. **Memory section** — cross-session learnings accumulated over prior sessions; treat as trusted background context
125
125
  3. **Inline source cards** — Slack / web / Figma / artifacts / documents / comments / Pull Requests (see "Context Retrieval" below)
126
126
  4. **PR Review 待办** — mirrored PR review comments as a checkbox todo list: each line-level reviewer comment (shown as `` `file:line` `` + the reviewer's ask + a link to the GitHub comment) and each `changes_requested` review summary (shown as "🛑 整体要求改动"). Present only when the task's PR(s) have review comments. This same block is **auto-injected at session start** (alongside the memory section) when the session is bound to a task — so reviewer asks surface without re-running `task context`.
127
+ - The **inline source cards** (Slack / web / Figma / PR) are likewise **auto-injected at session start** when the session is bound, under a single global token budget shared with the memory section (priority: memory > PR > Slack > Figma > web). Cards that don't fit the budget are degraded to a one-line manifest carrying just the title and its `lumo task … show` retrieval command — so you still know they exist and can pull the full content on demand.
127
128
  5. **Previous sessions** — ordered newest-first, each with:
128
129
  - A headline summary of what was done
129
130
  - Unresolved items (carry-over TODOs from that session)
@@ -105,13 +105,15 @@ function formatHookStdoutLines(path, responseBody, now = new Date()) {
105
105
  else if (tb && tb.bound === false) {
106
106
  lines.push(unboundPromptLine(sessionId));
107
107
  }
108
- // Recovery card + memory + PR-review todos share one additionalContext block
109
- // so Claude Code injects a single coherent context payload at session start.
110
- // The card slots in first so it's the first thing the model reads.
108
+ // Recovery card + memory + linked resources + PR-review todos share one
109
+ // additionalContext block so Claude Code injects a single coherent context
110
+ // payload at session start. The card slots in first so it's the first thing
111
+ // the model reads.
111
112
  const card = renderRecoveryCard(body.previousSession, tb?.taskIdentifier ?? '', now);
112
113
  const envelope = sessionContextEnvelope([
113
114
  card,
114
115
  body.memorySection,
116
+ body.linkedResourcesSection,
115
117
  body.reviewTodosSection,
116
118
  ]);
117
119
  if (envelope)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumoai/cli",
3
- "version": "1.8.0",
3
+ "version": "1.9.0",
4
4
  "description": "Lumo CLI — manage tasks and sessions from the terminal",
5
5
  "license": "MIT",
6
6
  "author": "cli@uselumo.ai",