persyst-mcp 2.1.2 → 2.1.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "persyst-mcp",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "Local-first MCP memory server with hybrid keyword + semantic search for coding agents",
5
5
  "type": "module",
6
6
  "main": "index.js",
package/src/git.js CHANGED
@@ -55,8 +55,8 @@ export async function getRecentCommits(repoPath, count = 20) {
55
55
 
56
56
  // Build a readable memory string
57
57
  let fullText = body
58
- ? `[${hash.slice(0, 7)}] ${subject} — by ${author} on ${date}. ${body}`
59
- : `[${hash.slice(0, 7)}] ${subject} — by ${author} on ${date}`;
58
+ ? `[${hash.slice(0, 7)}] Commit: ${subject} — by ${author} on ${date}. ${body}`
59
+ : `[${hash.slice(0, 7)}] Commit: ${subject} — by ${author} on ${date}`;
60
60
 
61
61
  if (notes) {
62
62
  fullText += ` [PR Notes] ${notes}`;
package/src/server.js CHANGED
@@ -23,7 +23,7 @@ export async function startServer() {
23
23
  // --- Create MCP server ---
24
24
  const server = new McpServer({
25
25
  name: 'persyst',
26
- version: '2.1.2'
26
+ version: '2.1.3'
27
27
  });
28
28
 
29
29
  // --- Register all tools ---
package/src/tools.js CHANGED
@@ -118,7 +118,7 @@ export function registerTools(server) {
118
118
  // 1. ADD MEMORY
119
119
  server.tool(
120
120
  'add_memory',
121
- 'Store a new memory. It will be searchable by both keywords and meaning. Use shared=true to make it visible to all agents.',
121
+ 'Store a new memory. CRITICAL: Call this tool proactively to store important milestones, architectural decisions, and explicit user preferences. Always specify your agent name as agent_id to support namespace isolation.',
122
122
  {
123
123
  content: z.string().describe('The memory content to store'),
124
124
  importance: z.number().min(0).max(1).default(1.0).describe('Importance score from 0 (low) to 1 (high)'),
@@ -209,7 +209,7 @@ export function registerTools(server) {
209
209
  // 2. SEARCH MEMORIES
210
210
  server.tool(
211
211
  'search_memories',
212
- 'Search memories using hybrid keyword + semantic search with cryptographic attestation. Results are filtered by agent namespace.',
212
+ 'Search memories using hybrid keyword + semantic search with cryptographic attestation. CRITICAL: Call this tool at the start of a session or task to retrieve relevant user preferences, coding guidelines, and past decisions.',
213
213
  {
214
214
  query: z.string().describe('What to search for'),
215
215
  limit: z.number().default(5).describe('Max results (default: 5)'),
@@ -647,7 +647,7 @@ export function registerTools(server) {
647
647
  // 18. GET OPTIMIZED CONTEXT
648
648
  server.tool(
649
649
  'get_optimized_context',
650
- 'Compile a condensed context prompt within a token budget by hopping the knowledge graph and ranking by temporal decay + agent reputation. Results filtered by agent namespace.',
650
+ 'Compile a condensed context prompt within a token budget by hopping the knowledge graph and ranking by temporal decay + agent reputation. CRITICAL: Invoke this tool at the start of a task to load all relevant conventions and decisions.',
651
651
  {
652
652
  query: z.string().describe('The search query context'),
653
653
  max_tokens: z.number().default(4000).describe('Token budget for LLM context compression (default: 4000)'),