@stackmemoryai/stackmemory 0.5.51 → 0.5.52

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.
@@ -32,10 +32,10 @@ capture_handoff() {
32
32
  echo -e "${YELLOW}📸 Capturing handoff context...${NC}"
33
33
  log "Capturing handoff: reason=$reason, exit_code=$exit_code"
34
34
 
35
- # Run stackmemory handoff command
35
+ # Run stackmemory capture command
36
36
  if command -v "$STACKMEMORY_BIN" &> /dev/null; then
37
37
  # Capture the handoff
38
- "$STACKMEMORY_BIN" handoff --no-commit 2>&1 | tee -a "$LOG_FILE"
38
+ "$STACKMEMORY_BIN" capture --no-commit 2>&1 | tee -a "$LOG_FILE"
39
39
 
40
40
  # Save additional metadata
41
41
  local metadata_file="${HANDOFF_DIR}/last-handoff-meta.json"
@@ -75,7 +75,7 @@ EOF
75
75
  done
76
76
  fi
77
77
 
78
- echo -e "${GREEN}✨ Run 'stackmemory handoff restore' in your next session${NC}"
78
+ echo -e "${GREEN}✨ Run 'stackmemory restore' in your next session${NC}"
79
79
  else
80
80
  echo -e "${RED}❌ StackMemory not found${NC}"
81
81
  log "ERROR: StackMemory binary not found"
@@ -73,7 +73,7 @@ echo
73
73
 
74
74
  # 3. Generate handoff
75
75
  echo -e "${BLUE}3. Generating handoff summary...${NC}"
76
- stackmemory handoff > /tmp/handoff-test.md
76
+ stackmemory capture > /tmp/handoff-test.md
77
77
  echo -e "${GREEN}✓ Handoff generated${NC}"
78
78
  echo " Saved to: /tmp/handoff-test.md"
79
79
  echo
@@ -159,7 +159,7 @@ echo " • Last handoff: ./.stackmemory/last-handoff.md"
159
159
  echo " • Session data: ~/.stackmemory/sessions/"
160
160
  echo
161
161
  echo -e "${YELLOW}💡 To use in new Claude session:${NC}"
162
- echo " 1. Run: stackmemory handoff"
162
+ echo " 1. Run: stackmemory capture"
163
163
  echo " 2. Copy the handoff summary"
164
164
  echo " 3. Paste at start of new session"
165
165
  echo " 4. Context will be automatically loaded"