@vheins/local-memory-mcp 0.8.43 → 0.8.44

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.
@@ -3,8 +3,8 @@ import { fileURLToPath } from "url";
3
3
  import path from "path";
4
4
  var __dirname = path.dirname(fileURLToPath(import.meta.url));
5
5
  var pkgVersion = "0.1.0";
6
- if ("0.8.43") {
7
- pkgVersion = "0.8.43";
6
+ if ("0.8.44") {
7
+ pkgVersion = "0.8.44";
8
8
  } else {
9
9
  let searchDir = __dirname;
10
10
  for (let i = 0; i < 5; i++) {
@@ -3040,14 +3040,14 @@ var TOOL_DEFINITIONS = [
3040
3040
  {
3041
3041
  name: "memory-detail",
3042
3042
  title: "Memory Detail",
3043
- description: "Fetch full details of a specific memory by ID. Use this when you have a memory ID (e.g. from search results) and need to read the full content.",
3043
+ description: "Fetch full details of a specific memory by ID or short code. Use after memory-recap or memory-search when a pointer row is relevant and full content is needed.",
3044
3044
  inputSchema: {
3045
3045
  type: "object",
3046
3046
  properties: {
3047
- id: { type: "string", format: "uuid", description: "Memory entry ID" },
3047
+ id: { type: "string", format: "uuid", description: "Memory entry ID. Optional if code is provided." },
3048
+ code: { type: "string", description: "Short memory code. Optional if id is provided." },
3048
3049
  structured: { type: "boolean", default: false, description: "If true, returns structured JSON details." }
3049
- },
3050
- required: ["id"]
3050
+ }
3051
3051
  }
3052
3052
  },
3053
3053
  {
@@ -3409,7 +3409,7 @@ var TOOL_DEFINITIONS = [
3409
3409
  {
3410
3410
  name: "memory-recap",
3411
3411
  title: "Memory Recap",
3412
- description: "AGGREGATED OVERVIEW LAYER: Returns stats (counts by type) and a pointer table of top memories [id, title, type, importance]. NO content. Use for orientation only \u2014 retrieve full memory via memory-detail.",
3412
+ description: "AGGREGATED OVERVIEW LAYER: Returns stats (counts by type) and a pointer table of top memories [id, code, title, type, importance]. NO content. Use for orientation only \u2014 retrieve full memory via memory-detail.",
3413
3413
  annotations: {
3414
3414
  readOnlyHint: true,
3415
3415
  idempotentHint: true,
@@ -3452,12 +3452,12 @@ var TOOL_DEFINITIONS = [
3452
3452
  stats: {
3453
3453
  type: "object",
3454
3454
  properties: {
3455
- by_type: {
3455
+ byType: {
3456
3456
  type: "object",
3457
3457
  description: "Count of active memories per type (e.g. { decision: 3, code_fact: 7 })"
3458
3458
  }
3459
3459
  },
3460
- required: ["by_type"]
3460
+ required: ["byType"]
3461
3461
  },
3462
3462
  top: {
3463
3463
  type: "object",
@@ -3465,12 +3465,12 @@ var TOOL_DEFINITIONS = [
3465
3465
  columns: {
3466
3466
  type: "array",
3467
3467
  items: { type: "string" },
3468
- description: "Column names: [id, title, type, importance]"
3468
+ description: "Column names: [id, code, title, type, importance]"
3469
3469
  },
3470
3470
  rows: {
3471
3471
  type: "array",
3472
3472
  items: { type: "array" },
3473
- description: "Each row: [id, title, type, importance]. Fetch full content via memory-detail"
3473
+ description: "Each row: [id, code, title, type, importance]. Fetch full content via memory-detail"
3474
3474
  }
3475
3475
  },
3476
3476
  required: ["columns", "rows"]
@@ -3664,7 +3664,7 @@ var TOOL_DEFINITIONS = [
3664
3664
  {
3665
3665
  name: "task-list",
3666
3666
  title: "Task List",
3667
- description: "PRIMARY navigation and search tool for tasks. Returns a compact tabular list of tasks (id, task_code, title, status, priority, updated_at). Defaults to in_progress and pending tasks. Use 'query' to filter by code, title, or description. Use 'status' (comma-separated) for specific filters. AGENTS: call this once at start, pick ONE task, then call task-detail.",
3667
+ description: "PRIMARY navigation and search tool for tasks. Returns a compact tabular list of tasks (id, task_code, title, status, priority, updated_at, comments_count). Defaults to in_progress and pending tasks. Use 'query' to filter by code, title, or description. Use 'status' (comma-separated) for specific filters. AGENTS: call this once at start, pick ONE task, then call task-detail.",
3668
3668
  annotations: {
3669
3669
  readOnlyHint: true,
3670
3670
  idempotentHint: true,
@@ -3740,7 +3740,7 @@ var TOOL_DEFINITIONS = [
3740
3740
  {
3741
3741
  name: "handoff-create",
3742
3742
  title: "Handoff Create",
3743
- description: "Create a handoff record for another agent, optionally linked to a task by id or task_code.",
3743
+ description: "Create a handoff record when work needs context transfer between agents. Optionally link it to a task by task_id or task_code, and put machine-readable details in context.",
3744
3744
  annotations: {
3745
3745
  readOnlyHint: false,
3746
3746
  idempotentHint: false,
@@ -3755,8 +3755,11 @@ var TOOL_DEFINITIONS = [
3755
3755
  to_agent: { type: "string", description: "Optional target agent" },
3756
3756
  task_id: { type: "string", format: "uuid", description: "Optional task id to associate" },
3757
3757
  task_code: { type: "string", description: "Optional task code to associate" },
3758
- summary: { type: "string", minLength: 1, description: "Short handoff summary" },
3759
- context: { type: "object", description: "Structured handoff context payload" },
3758
+ summary: { type: "string", minLength: 1, description: "Concise human-readable transfer summary" },
3759
+ context: {
3760
+ type: "object",
3761
+ description: "Structured handoff context, such as changed files, blockers, verification status, and next steps"
3762
+ },
3760
3763
  expires_at: { type: "string", description: "Optional expiration timestamp" },
3761
3764
  structured: { type: "boolean", default: false }
3762
3765
  },
@@ -3783,7 +3786,7 @@ var TOOL_DEFINITIONS = [
3783
3786
  {
3784
3787
  name: "handoff-list",
3785
3788
  title: "Handoff List",
3786
- description: "List handoffs for a repository with optional status and agent filters.",
3789
+ description: "Navigation layer for handoff queues. List repository handoffs with optional status and agent filters, then inspect selected rows before acting.",
3787
3790
  annotations: {
3788
3791
  readOnlyHint: true,
3789
3792
  idempotentHint: true,
@@ -3809,8 +3812,16 @@ var TOOL_DEFINITIONS = [
3809
3812
  handoffs: {
3810
3813
  type: "object",
3811
3814
  properties: {
3812
- columns: { type: "array", items: { type: "string" } },
3813
- rows: { type: "array", items: { type: "array" } }
3815
+ columns: {
3816
+ type: "array",
3817
+ items: { type: "string" },
3818
+ description: "Column names: [id, from_agent, to_agent, task_id, status, created_at, summary]"
3819
+ },
3820
+ rows: {
3821
+ type: "array",
3822
+ items: { type: "array" },
3823
+ description: "Each row: [id, from_agent, to_agent, task_id, status, created_at, summary]"
3824
+ }
3814
3825
  },
3815
3826
  required: ["columns", "rows"]
3816
3827
  },
@@ -3823,7 +3834,7 @@ var TOOL_DEFINITIONS = [
3823
3834
  {
3824
3835
  name: "task-claim",
3825
3836
  title: "Task Claim",
3826
- description: "Claim a task for an agent using the dedicated claims table, by task id or task_code.",
3837
+ description: "Claim task ownership for an agent using the dedicated claims table. Use this before taking work from task-list; provide either task_id or task_code.",
3827
3838
  annotations: {
3828
3839
  readOnlyHint: false,
3829
3840
  idempotentHint: false,
@@ -3834,8 +3845,8 @@ var TOOL_DEFINITIONS = [
3834
3845
  type: "object",
3835
3846
  properties: {
3836
3847
  repo: { type: "string", description: "Repository name" },
3837
- task_id: { type: "string", format: "uuid", description: "Task id to claim" },
3838
- task_code: { type: "string", description: "Task code to claim" },
3848
+ task_id: { type: "string", format: "uuid", description: "Task id to claim. Optional if task_code is provided." },
3849
+ task_code: { type: "string", description: "Task code to claim. Optional if task_id is provided." },
3839
3850
  agent: { type: "string", description: "Claiming agent name" },
3840
3851
  role: { type: "string", description: "Claiming agent role" },
3841
3852
  metadata: { type: "object", description: "Optional claim metadata" },
@@ -3862,7 +3873,7 @@ var TOOL_DEFINITIONS = [
3862
3873
  {
3863
3874
  name: "standard-store",
3864
3875
  title: "Standard Store",
3865
- description: "Save/validate coding standards. Accept: name, description, language, stack, version, content. Return: stored standard object",
3876
+ description: "Store one atomic coding standard. Use for durable implementation rules with explicit context, stack/language filters, and repo/global scope.",
3866
3877
  annotations: {
3867
3878
  readOnlyHint: false,
3868
3879
  idempotentHint: false,
@@ -3872,8 +3883,8 @@ var TOOL_DEFINITIONS = [
3872
3883
  inputSchema: {
3873
3884
  type: "object",
3874
3885
  properties: {
3875
- name: { type: "string", minLength: 3, maxLength: 255, description: "Standard name" },
3876
- content: { type: "string", minLength: 10, description: "Standard content/best practices" },
3886
+ name: { type: "string", minLength: 3, maxLength: 255, description: "Human-readable standard name" },
3887
+ content: { type: "string", minLength: 10, description: "One atomic, actionable standard written as concise Markdown" },
3877
3888
  context: { type: "string", description: "Context or category (e.g., 'error-handling', 'security')" },
3878
3889
  version: { type: "string", description: "Version of the standard (e.g., '1.0.0')" },
3879
3890
  language: { type: "string", description: "Programming language (e.g., 'typescript', 'python')" },
@@ -3882,7 +3893,7 @@ var TOOL_DEFINITIONS = [
3882
3893
  items: { type: "string" },
3883
3894
  description: "Technology stack (e.g., ['react', 'nextjs'])"
3884
3895
  },
3885
- repo: { type: "string", description: "Repository name (optional, defaults to global)" },
3896
+ repo: { type: "string", description: "Repository name for repo-specific standards. Omit only for global standards." },
3886
3897
  is_global: { type: "boolean", description: "Whether standard applies globally or repo-specific" },
3887
3898
  tags: {
3888
3899
  type: "array",
@@ -3946,7 +3957,7 @@ var TOOL_DEFINITIONS = [
3946
3957
  {
3947
3958
  name: "standard-search",
3948
3959
  title: "Standard Search",
3949
- description: "Query coding standards by stack, language, version. Return: matching standards array. Invalid stack returns empty array, not error.",
3960
+ description: "Navigation and lookup layer for coding standards. Query by text, stack, language, version, repo, and global scope before applying or creating standards.",
3950
3961
  annotations: {
3951
3962
  readOnlyHint: true,
3952
3963
  idempotentHint: true,