persnally 2.3.0 → 2.3.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.
Files changed (2) hide show
  1. package/build/src/cli.js +5 -0
  2. package/package.json +1 -1
package/build/src/cli.js CHANGED
@@ -373,6 +373,11 @@ async function main() {
373
373
  out.push(`- ${t.topic} (${t.category}, ${t.dominant_intent}, weight ${t.weight.toFixed(2)})`);
374
374
  }
375
375
  }
376
+ // Hook-only: ask Claude to call persnally_track once at session end so
377
+ // live capture actually accrues. Not shown in plain `context` output.
378
+ if (hook) {
379
+ out.push("", "# Persnally — end-of-session", "When this session ends, call persnally_track with 1–3 topics it focused on (weight, intent, depth, category). Skip only if nothing substantial was discussed.");
380
+ }
376
381
  // Recording must never break the injection itself (mirrors MCP recordRead).
377
382
  try {
378
383
  store.append([newEvent("context.read", "cli", { scope: full ? "full" : "brief", client_purpose: hook ? "session-start hook" : "cli context read", items }, { kind: "local", surface: "cli" })]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "persnally",
3
- "version": "2.3.0",
3
+ "version": "2.3.1",
4
4
  "license": "FSL-1.1-MIT",
5
5
  "description": "Your own context engine — local-first, across every AI. So every AI finally knows you.",
6
6
  "type": "module",