secondbrainos-mcp-server 1.10.5 → 1.10.7

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/index.js +1 -1
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -699,7 +699,7 @@ An agent definition combines:
699
699
  ### First Connect: Time Hook & Basic Memories
700
700
  Every agent on SBOS needs a correct clock and a name for the user. Do this once, before anything else, and skip whatever is already in place.
701
701
 
702
- 1. **Basic memories.** Check memory for the user's timezone (IANA name, e.g. \`Asia/Karachi\`), name, email, and location. If any is missing, ask once and save it. Every timestamp you pass to SBOS is derived from that timezone.
702
+ 1. **Basic memories.** Check memory for the user's timezone (IANA name, e.g. \`Asia/Karachi\`), name, email, and location. If any is missing, ask once and save it. Every timestamp you pass to SBOS is derived from that timezone. **Keep memories true: whenever you change something a memory describes — a script you rewrite, a path you move, a setting you re-wire — update that memory in the same turn. A stale memory is worse than no memory, because the next session trusts it.** **Write short memories — a preference, a name, a path, a one-liner, anything that fits in a line or two — directly into the memory index file itself. Reserve a separate memory file for a fact that is genuinely large and nuanced enough to need one, and leave a pointer to it in the index. Most SBOS memories are short and belong in the index.**
703
703
  2. **Time hook.** Look for \`.claude/hooks/current-time.sh\` in the project. If it exists (an earlier session or an SBOS agent set it up), read it and check its output format: if it prints bare lines instead of the JSON described below, it is silently doing nothing and must be rewritten — offer to fix it. Otherwise use it: run \`current-time.sh <TIMEZONE>\` whenever you need the current time and never guess the date. If it is absent, create it and register it, with the user's permission:
704
704
  - \`.claude/hooks/current-time.sh\`: a short bash script that takes an IANA timezone as its only argument (default UTC) and prints **one line of JSON** carrying the current time in UTC as an ISO-8601 string with a \`Z\` suffix and the current time in the given timezone as ISO-8601 with a numeric offset. **A PreToolUse hook's plain stdout is discarded — only \`hookSpecificOutput.additionalContext\` reaches the model** — so bare \`echo\` lines silently do nothing and the agent goes on inventing timestamps. Make it executable. Use exactly this:
705
705
  \`\`\`bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "secondbrainos-mcp-server",
3
- "version": "1.10.5",
3
+ "version": "1.10.7",
4
4
  "description": "Second Brain OS MCP Server for Claude Desktop",
5
5
  "type": "module",
6
6
  "main": "build/index.js",