@vheins/local-memory-mcp 0.18.0 → 0.18.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.
@@ -81,8 +81,8 @@ function loadServerInstructions() {
81
81
  // src/mcp/capabilities.ts
82
82
  var __dirname2 = path2.dirname(fileURLToPath2(import.meta.url));
83
83
  var pkgVersion = "0.1.0";
84
- if ("0.18.0") {
85
- pkgVersion = "0.18.0";
84
+ if ("0.18.1") {
85
+ pkgVersion = "0.18.1";
86
86
  } else {
87
87
  let searchDir = __dirname2;
88
88
  for (let i = 0; i < 5; i++) {
@@ -3751,7 +3751,7 @@ var TaskCreateInteractiveSchema = SingleTaskCreateSchema.partial().extend({
3751
3751
  structured: z.boolean().default(false)
3752
3752
  });
3753
3753
  var TaskUpdateSchema = z.object({
3754
- owner: z.string().optional().default(""),
3754
+ owner: z.string().min(1),
3755
3755
  repo: z.string().min(1).transform(normalizeRepo),
3756
3756
  id: z.string().uuid().optional(),
3757
3757
  ids: z.array(z.string().uuid()).min(1).optional(),
@@ -3803,7 +3803,7 @@ var TaskSearchSchema = z.object({
3803
3803
  structured: z.boolean().default(false)
3804
3804
  });
3805
3805
  var TaskDeleteSchema = z.object({
3806
- owner: z.string().optional().default(""),
3806
+ owner: z.string().min(1),
3807
3807
  repo: z.string().min(1).transform(normalizeRepo),
3808
3808
  id: z.string().uuid().optional(),
3809
3809
  ids: z.array(z.string().uuid()).min(1).optional(),
@@ -3841,7 +3841,7 @@ var StandardDeleteSchema = z.object({
3841
3841
  }
3842
3842
  );
3843
3843
  var TaskGetSchema = z.object({
3844
- owner: z.string().optional().default(""),
3844
+ owner: z.string().min(1),
3845
3845
  repo: z.string().min(1).transform(normalizeRepo),
3846
3846
  id: z.string().uuid().optional(),
3847
3847
  task_code: z.string().optional(),
@@ -3908,7 +3908,7 @@ var ClaimListSchema = z.object({
3908
3908
  structured: z.boolean().default(false)
3909
3909
  });
3910
3910
  var ClaimReleaseSchema = z.object({
3911
- owner: z.string().optional().default(""),
3911
+ owner: z.string().min(1),
3912
3912
  repo: z.string().min(1).transform(normalizeRepo),
3913
3913
  task_id: z.string().uuid().optional(),
3914
3914
  task_code: z.string().optional(),
@@ -3927,7 +3927,7 @@ var StandardStoreSchema = z.object({
3927
3927
  version: z.string().optional(),
3928
3928
  language: z.string().optional(),
3929
3929
  stack: z.array(z.string()).optional(),
3930
- owner: z.string().optional().default(""),
3930
+ owner: z.string().min(1),
3931
3931
  repo: z.string().transform(normalizeRepo).optional(),
3932
3932
  is_global: z.boolean().optional(),
3933
3933
  tags: z.array(z.string().min(1)).min(1).optional(),
@@ -4124,6 +4124,7 @@ var TOOL_DEFINITIONS = [
4124
4124
  inputSchema: {
4125
4125
  type: "object",
4126
4126
  properties: {
4127
+ owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
4127
4128
  repo: { type: "string", description: "Repository name" },
4128
4129
  id: { type: "string", format: "uuid", description: "Task ID (optional if task_code is provided)" },
4129
4130
  task_code: { type: "string", description: "Task code (e.g. TASK-001) (optional if id is provided)" },
@@ -4133,7 +4134,7 @@ var TOOL_DEFINITIONS = [
4133
4134
  description: "If true, returns structured JSON without the text content details."
4134
4135
  }
4135
4136
  },
4136
- required: ["repo"]
4137
+ required: ["repo", "owner"]
4137
4138
  }
4138
4139
  },
4139
4140
  {
@@ -4776,6 +4777,7 @@ var TOOL_DEFINITIONS = [
4776
4777
  inputSchema: {
4777
4778
  type: "object",
4778
4779
  properties: {
4780
+ owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
4779
4781
  repo: { type: "string", description: "Repository name" },
4780
4782
  id: { type: "string", format: "uuid", description: "Task ID (for single update)" },
4781
4783
  ids: { type: "array", items: { type: "string", format: "uuid" }, description: "Task IDs (for bulk update)" },
@@ -4835,7 +4837,7 @@ var TOOL_DEFINITIONS = [
4835
4837
  },
4836
4838
  structured: { type: "boolean", default: false, description: "If true, returns structured JSON result." }
4837
4839
  },
4838
- required: ["repo"]
4840
+ required: ["repo", "owner"]
4839
4841
  },
4840
4842
  outputSchema: {
4841
4843
  type: "object",
@@ -4868,6 +4870,7 @@ var TOOL_DEFINITIONS = [
4868
4870
  inputSchema: {
4869
4871
  type: "object",
4870
4872
  properties: {
4873
+ owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
4871
4874
  repo: { type: "string", description: "Repository name" },
4872
4875
  id: {
4873
4876
  type: "string",
@@ -4878,7 +4881,7 @@ var TOOL_DEFINITIONS = [
4878
4881
  task_code: { type: "string", description: "Task code (e.g. TASK-001). Optional if id is provided." },
4879
4882
  structured: { type: "boolean", default: false, description: "If true, returns structured JSON result." }
4880
4883
  },
4881
- required: ["repo"]
4884
+ required: ["repo", "owner"]
4882
4885
  },
4883
4886
  outputSchema: {
4884
4887
  type: "object",
@@ -5258,6 +5261,7 @@ var TOOL_DEFINITIONS = [
5258
5261
  inputSchema: {
5259
5262
  type: "object",
5260
5263
  properties: {
5264
+ owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
5261
5265
  repo: { type: "string", description: "Repository name" },
5262
5266
  task_id: {
5263
5267
  type: "string",
@@ -5268,7 +5272,7 @@ var TOOL_DEFINITIONS = [
5268
5272
  agent: { type: "string", description: "Optional agent name to release only that claim" },
5269
5273
  structured: { type: "boolean", default: false }
5270
5274
  },
5271
- required: ["repo"]
5275
+ required: ["repo", "owner"]
5272
5276
  },
5273
5277
  outputSchema: {
5274
5278
  type: "object",
@@ -5295,6 +5299,7 @@ var TOOL_DEFINITIONS = [
5295
5299
  inputSchema: {
5296
5300
  type: "object",
5297
5301
  properties: {
5302
+ owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
5298
5303
  name: { type: "string", minLength: 3, maxLength: 255, description: "Human-readable standard name" },
5299
5304
  content: {
5300
5305
  type: "string",
@@ -5352,7 +5357,8 @@ var TOOL_DEFINITIONS = [
5352
5357
  description: "Array of standards for bulk creation"
5353
5358
  },
5354
5359
  structured: { type: "boolean", default: false }
5355
- }
5360
+ },
5361
+ required: ["owner"]
5356
5362
  },
5357
5363
  outputSchema: {
5358
5364
  type: "object",
@@ -6308,7 +6314,7 @@ async function handleTaskClaim(args, storage) {
6308
6314
  storage.taskComments.insertTaskComment({
6309
6315
  id: randomUUID2(),
6310
6316
  task_id: task.id,
6311
- owner: repo,
6317
+ owner,
6312
6318
  repo,
6313
6319
  comment: `Claimed by ${agent} \u2014 auto-promoted to in_progress`,
6314
6320
  agent,
@@ -16,7 +16,7 @@ import {
16
16
  handleTaskClaim,
17
17
  listResources,
18
18
  logger
19
- } from "../chunk-YVPDPZXG.js";
19
+ } from "../chunk-LEXNGJHN.js";
20
20
 
21
21
  // src/dashboard/server.ts
22
22
  import express from "express";
@@ -62,7 +62,7 @@ import {
62
62
  toContextSlug,
63
63
  updateSessionFromInitialize,
64
64
  updateSessionRoots
65
- } from "../chunk-YVPDPZXG.js";
65
+ } from "../chunk-LEXNGJHN.js";
66
66
 
67
67
  // src/mcp/server.ts
68
68
  import readline from "readline";
@@ -1307,7 +1307,7 @@ async function handleTaskUpdate(args, storage, vectors2) {
1307
1307
  throw new Error("est_tokens is required when changing task status to completed");
1308
1308
  }
1309
1309
  }
1310
- if (updates.task_code && storage.tasks.isTaskCodeDuplicate(repo, updates.task_code, targetId)) {
1310
+ if (updates.task_code && storage.tasks.isTaskCodeDuplicate(owner, repo, updates.task_code, targetId)) {
1311
1311
  throw new Error(`Duplicate task_code: '${updates.task_code}' already exists`);
1312
1312
  }
1313
1313
  const finalUpdates = { ...updates };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vheins/local-memory-mcp",
3
- "version": "0.18.0",
3
+ "version": "0.18.1",
4
4
  "description": "MCP Local Memory Service for coding copilot agents",
5
5
  "mcpName": "io.github.vheins/local-memory-mcp",
6
6
  "type": "module",