clawvault 2.1.0 → 2.1.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.
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  Observer,
6
6
  parseSessionFile
7
- } from "./chunk-MVX4NNVJ.js";
7
+ } from "./chunk-USAY3OIO.js";
8
8
  import {
9
9
  resolveVaultPath
10
10
  } from "./chunk-MXSSG3QU.js";
@@ -1,9 +1,9 @@
1
1
  // src/observer/compressor.ts
2
2
  var DATE_HEADING_RE = /^##\s+(\d{4}-\d{2}-\d{2})\s*$/;
3
3
  var OBSERVATION_LINE_RE = /^(🔴|🟡|🟢)\s+(.+)$/u;
4
- var CRITICAL_RE = /(?:\b(?:decision|decided|chose|chosen|selected|picked|opted|switched to)\s*:?|\bdecid(?:e|ed|ing|ion)\b|\berror\b|\bfail(?:ed|ure|ing)?\b|\bblock(?:ed|er)?\b|\bbreaking(?:\s+change)?s?\b|\bcritical\b|\b\w+\s+chosen\s+(?:for|over|as)\b)/i;
4
+ var CRITICAL_RE = /(?:\b(?:decision|decided|chose|chosen|selected|picked|opted|switched to)\s*:?|\bdecid(?:e|ed|ing|ion)\b|\berror\b|\bfail(?:ed|ure|ing)?\b|\bblock(?:ed|er)?\b|\bbreaking(?:\s+change)?s?\b|\bcritical\b|\b\w+\s+chosen\s+(?:for|over|as)\b|\bpublish(?:ed)?\b.*@?\d+\.\d+|\bmerge[d]?\s+(?:PR|pull\s+request)\b|\bshipped\b|\breleased?\b.*v?\d+\.\d+)/i;
5
5
  var DEADLINE_WITH_DATE_RE = /(?:(?:\bdeadline\b|\bdue(?:\s+date)?\b|\bcutoff\b).*(?:\d{4}-\d{2}-\d{2}|\d{1,2}\/\d{1,2}(?:\/\d{2,4})?|(?:jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)[a-z]*\s+\d{1,2})|(?:\d{4}-\d{2}-\d{2}|\d{1,2}\/\d{1,2}(?:\/\d{2,4})?|(?:jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)[a-z]*\s+\d{1,2}).*(?:\bdeadline\b|\bdue(?:\s+date)?\b|\bcutoff\b))/i;
6
- var NOTABLE_RE = /\b(prefer(?:ence|s)?|likes?|dislikes?|context|pattern|architecture|approach|trade[- ]?off|milestone|stakeholder|teammate|collaborat(?:e|ed|ion)|discussion|notable|deadline|due|timeline)\b/i;
6
+ var NOTABLE_RE = /\b(prefer(?:ence|s)?|likes?|dislikes?|context|pattern|architecture|approach|trade[- ]?off|milestone|stakeholder|teammate|collaborat(?:e|ed|ion)|discussion|notable|deadline|due|timeline|deploy(?:ed|ment)?|built|configured|launched)\b/i;
7
7
  var Compressor = class {
8
8
  model;
9
9
  now;
@@ -55,9 +55,9 @@ var Compressor = class {
55
55
  "- Group observations by date heading: ## YYYY-MM-DD",
56
56
  "- Each line must follow: <emoji> <HH:MM> <observation>",
57
57
  "- Priority emojis: \u{1F534} critical, \u{1F7E1} notable, \u{1F7E2} info",
58
- "- \u{1F534} for: decisions between alternatives, blockers, deadlines with explicit dates, breaking changes, commitments made to people",
59
- "- \u{1F7E1} for: preferences, architecture discussions, trade-offs, milestones, people interactions, notable context",
60
- "- \u{1F7E2} for: completed tasks, deployments, builds, general progress",
58
+ "- \u{1F534} for: decisions between alternatives, blockers, deadlines with explicit dates, breaking changes, commitments made to people, version releases/publishes, merged PRs, shipped features",
59
+ "- \u{1F7E1} for: preferences, architecture discussions, trade-offs, milestones, people interactions, notable context, deployments to production, new tools/commands built, project configuration changes",
60
+ "- \u{1F7E2} for: routine tasks, intermediate build steps, general progress, minor fixes",
61
61
  "- Preserve source tags when present (e.g., [main], [telegram-dm], [discord], [telegram-group]).",
62
62
  "",
63
63
  "QUALITY FILTERS (important):",
@@ -72,6 +72,15 @@ var Compressor = class {
72
72
  '- If the transcript shows multiple speakers/agents, prefix observations with who did it: "Pedro asked...", "Clawdious deployed...", "Zeca generated..."',
73
73
  "- If only one agent is acting, attribution is optional.",
74
74
  "",
75
+ "PROJECT MILESTONES (critical \u2014 these are the most valuable observations):",
76
+ '- Version releases: "\u{1F534} HH:MM Published project@version to npm/PyPI/etc" \u2014 ALWAYS \u{1F534}',
77
+ '- PR merges: "\u{1F534} HH:MM Merged PR #N: <title> into <branch>" \u2014 ALWAYS \u{1F534}',
78
+ '- Feature completion: "\u{1F534} HH:MM Shipped <feature> in <project>" \u2014 ALWAYS \u{1F534}',
79
+ '- Production deploys: "\u{1F7E1} HH:MM Deployed <project> to <url>" \u2014 ALWAYS at least \u{1F7E1}',
80
+ '- New commands/APIs: "\u{1F7E1} HH:MM Built <command/endpoint> for <project>"',
81
+ '- Config/infra changes: "\u{1F7E1} HH:MM Changed <what> in <project> (<why>)"',
82
+ "- Do NOT collapse multiple releases into one line \u2014 each version matters for history.",
83
+ "",
75
84
  "COMMITMENT FORMAT (when someone promises/agrees to something):",
76
85
  '- Use: "\u{1F534} HH:MM [COMMITMENT] <who> committed to <what> by <when>" (include deadline if mentioned)',
77
86
  "",
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  observeCommand,
3
3
  registerObserveCommand
4
- } from "../chunk-YHKGPRII.js";
4
+ } from "../chunk-UPHUI5PD.js";
5
5
  import "../chunk-HRLWZGMA.js";
6
- import "../chunk-MVX4NNVJ.js";
6
+ import "../chunk-USAY3OIO.js";
7
7
  import "../chunk-MXSSG3QU.js";
8
8
  export {
9
9
  observeCommand,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Observer,
3
3
  parseSessionFile
4
- } from "../chunk-MVX4NNVJ.js";
4
+ } from "../chunk-USAY3OIO.js";
5
5
  import {
6
6
  clearDirtyFlag
7
7
  } from "../chunk-MZZJLQNQ.js";
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  SessionWatcher,
7
7
  observeCommand,
8
8
  registerObserveCommand
9
- } from "./chunk-YHKGPRII.js";
9
+ } from "./chunk-UPHUI5PD.js";
10
10
  import {
11
11
  buildSessionRecap,
12
12
  formatSessionRecapMarkdown,
@@ -21,7 +21,7 @@ import {
21
21
  Observer,
22
22
  Reflector,
23
23
  parseSessionFile
24
- } from "./chunk-MVX4NNVJ.js";
24
+ } from "./chunk-USAY3OIO.js";
25
25
  import {
26
26
  buildContext,
27
27
  contextCommand,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawvault",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "ClawVault™ - 🐘 An elephant never forgets. Structured memory for OpenClaw agents. Context death resilience, Obsidian-compatible markdown, local semantic search.",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",