@vheins/local-memory-mcp 0.19.6 → 0.19.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.
- package/dist/{chunk-IT2PAPJ6.js → chunk-M47LSTGD.js} +242 -119
- package/dist/dashboard/server.js +1 -1
- package/dist/mcp/server.js +22 -14
- package/package.json +1 -1
|
@@ -3498,6 +3498,10 @@ function inferRepoFromSession(session) {
|
|
|
3498
3498
|
if (roots.length === 1) {
|
|
3499
3499
|
return path3.basename(roots[0]);
|
|
3500
3500
|
}
|
|
3501
|
+
if (roots.length === 0) {
|
|
3502
|
+
const cwd = process.cwd();
|
|
3503
|
+
return path3.basename(cwd);
|
|
3504
|
+
}
|
|
3501
3505
|
return void 0;
|
|
3502
3506
|
}
|
|
3503
3507
|
function inferOwnerFromSession(session) {
|
|
@@ -3508,6 +3512,13 @@ function inferOwnerFromSession(session) {
|
|
|
3508
3512
|
return parts[parts.length - 2];
|
|
3509
3513
|
}
|
|
3510
3514
|
}
|
|
3515
|
+
if (roots.length === 0) {
|
|
3516
|
+
const cwd = process.cwd();
|
|
3517
|
+
const parts = cwd.split(path3.sep).filter(Boolean);
|
|
3518
|
+
if (parts.length >= 2) {
|
|
3519
|
+
return parts[parts.length - 2];
|
|
3520
|
+
}
|
|
3521
|
+
}
|
|
3511
3522
|
return void 0;
|
|
3512
3523
|
}
|
|
3513
3524
|
|
|
@@ -3614,9 +3625,12 @@ var MEMORY_TOOL_DEFINITIONS = [
|
|
|
3614
3625
|
properties: {
|
|
3615
3626
|
owner: {
|
|
3616
3627
|
type: "string",
|
|
3617
|
-
description: "Organization/namespace (e.g., GitHub org or username)"
|
|
3628
|
+
description: "Organization/namespace (e.g., GitHub org or username)."
|
|
3629
|
+
},
|
|
3630
|
+
repo: {
|
|
3631
|
+
type: "string",
|
|
3632
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Optional when a single MCP root is active."
|
|
3618
3633
|
},
|
|
3619
|
-
repo: { type: "string", description: "Repository/project name. Optional when a single MCP root is active." },
|
|
3620
3634
|
objective: { type: "string", minLength: 5, description: "Question or synthesis objective." },
|
|
3621
3635
|
current_file_path: {
|
|
3622
3636
|
type: "string",
|
|
@@ -3670,7 +3684,7 @@ var MEMORY_TOOL_DEFINITIONS = [
|
|
|
3670
3684
|
properties: {
|
|
3671
3685
|
code: { type: "string", description: "Short memory code." },
|
|
3672
3686
|
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)." },
|
|
3673
|
-
repo: { type: "string", description: "Repository/project name." },
|
|
3687
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')." },
|
|
3674
3688
|
structured: { type: "boolean", default: false, description: "If true, returns structured JSON details." }
|
|
3675
3689
|
}
|
|
3676
3690
|
}
|
|
@@ -3732,7 +3746,7 @@ var MEMORY_TOOL_DEFINITIONS = [
|
|
|
3732
3746
|
type: "object",
|
|
3733
3747
|
properties: {
|
|
3734
3748
|
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
|
|
3735
|
-
repo: { type: "string", description: "Repository/project name" },
|
|
3749
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')" },
|
|
3736
3750
|
branch: { type: "string", description: "Git branch this memory relates to" },
|
|
3737
3751
|
folder: { type: "string", description: "Subdirectory within the repo" },
|
|
3738
3752
|
language: { type: "string", description: "Programming language (e.g., 'typescript', 'python')" }
|
|
@@ -3790,7 +3804,7 @@ var MEMORY_TOOL_DEFINITIONS = [
|
|
|
3790
3804
|
type: "object",
|
|
3791
3805
|
properties: {
|
|
3792
3806
|
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
|
|
3793
|
-
repo: { type: "string", description: "Repository/project name" },
|
|
3807
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')" },
|
|
3794
3808
|
branch: { type: "string", description: "Git branch this memory relates to" },
|
|
3795
3809
|
folder: { type: "string", description: "Subdirectory within the repo" },
|
|
3796
3810
|
language: { type: "string", description: "Programming language" }
|
|
@@ -3879,8 +3893,8 @@ var MEMORY_TOOL_DEFINITIONS = [
|
|
|
3879
3893
|
title: "By ID",
|
|
3880
3894
|
required: ["owner", "repo", "id"],
|
|
3881
3895
|
properties: {
|
|
3882
|
-
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
|
|
3883
|
-
repo: { type: "string", description: "Repository name" },
|
|
3896
|
+
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)." },
|
|
3897
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')." },
|
|
3884
3898
|
id: { type: "string", format: "uuid", description: "Memory entry ID." },
|
|
3885
3899
|
type: { type: "string", enum: ["code_fact", "decision", "mistake", "pattern", "task_archive"] },
|
|
3886
3900
|
title: { type: "string", minLength: 3, maxLength: 100 },
|
|
@@ -3905,8 +3919,8 @@ var MEMORY_TOOL_DEFINITIONS = [
|
|
|
3905
3919
|
title: "By code",
|
|
3906
3920
|
required: ["owner", "repo", "code"],
|
|
3907
3921
|
properties: {
|
|
3908
|
-
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
|
|
3909
|
-
repo: { type: "string", description: "Repository name" },
|
|
3922
|
+
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)." },
|
|
3923
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')." },
|
|
3910
3924
|
code: { type: "string", maxLength: 20, description: "Short memory code." },
|
|
3911
3925
|
type: { type: "string", enum: ["code_fact", "decision", "mistake", "pattern", "task_archive"] },
|
|
3912
3926
|
title: { type: "string", minLength: 3, maxLength: 100 },
|
|
@@ -3962,8 +3976,8 @@ var MEMORY_TOOL_DEFINITIONS = [
|
|
|
3962
3976
|
description: "Search keyword to match against memory titles and content"
|
|
3963
3977
|
},
|
|
3964
3978
|
prompt: { type: "string", description: "Natural language prompt for semantic search" },
|
|
3965
|
-
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
|
|
3966
|
-
repo: { type: "string", description: "Repository/project name" },
|
|
3979
|
+
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)." },
|
|
3980
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')." },
|
|
3967
3981
|
current_tags: {
|
|
3968
3982
|
type: "array",
|
|
3969
3983
|
items: { type: "string" },
|
|
@@ -3991,7 +4005,7 @@ var MEMORY_TOOL_DEFINITIONS = [
|
|
|
3991
4005
|
type: "object",
|
|
3992
4006
|
properties: {
|
|
3993
4007
|
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
|
|
3994
|
-
repo: { type: "string", description: "Repository/project name" },
|
|
4008
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')" },
|
|
3995
4009
|
branch: { type: "string", description: "Git branch filter" },
|
|
3996
4010
|
folder: { type: "string", description: "Subdirectory filter" },
|
|
3997
4011
|
language: { type: "string", description: "Programming language filter" }
|
|
@@ -4046,8 +4060,8 @@ var MEMORY_TOOL_DEFINITIONS = [
|
|
|
4046
4060
|
inputSchema: {
|
|
4047
4061
|
type: "object",
|
|
4048
4062
|
properties: {
|
|
4049
|
-
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
|
|
4050
|
-
repo: { type: "string", description: "Repository/project name" },
|
|
4063
|
+
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)." },
|
|
4064
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')." },
|
|
4051
4065
|
signals: {
|
|
4052
4066
|
type: "array",
|
|
4053
4067
|
items: { type: "string", maxLength: 200 },
|
|
@@ -4086,8 +4100,8 @@ var MEMORY_TOOL_DEFINITIONS = [
|
|
|
4086
4100
|
title: "By single ID",
|
|
4087
4101
|
required: ["owner", "repo", "id"],
|
|
4088
4102
|
properties: {
|
|
4089
|
-
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
|
|
4090
|
-
repo: { type: "string", description: "Repository name." },
|
|
4103
|
+
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)." },
|
|
4104
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')." },
|
|
4091
4105
|
id: { type: "string", format: "uuid", description: "Memory entry ID to delete." },
|
|
4092
4106
|
structured: { type: "boolean", default: false, description: "If true, returns structured JSON result." }
|
|
4093
4107
|
}
|
|
@@ -4096,8 +4110,8 @@ var MEMORY_TOOL_DEFINITIONS = [
|
|
|
4096
4110
|
title: "By bulk IDs",
|
|
4097
4111
|
required: ["owner", "repo", "ids"],
|
|
4098
4112
|
properties: {
|
|
4099
|
-
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
|
|
4100
|
-
repo: { type: "string", description: "Repository name." },
|
|
4113
|
+
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)." },
|
|
4114
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')." },
|
|
4101
4115
|
ids: {
|
|
4102
4116
|
type: "array",
|
|
4103
4117
|
items: { type: "string", format: "uuid" },
|
|
@@ -4111,8 +4125,8 @@ var MEMORY_TOOL_DEFINITIONS = [
|
|
|
4111
4125
|
title: "By single code",
|
|
4112
4126
|
required: ["owner", "repo", "code"],
|
|
4113
4127
|
properties: {
|
|
4114
|
-
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
|
|
4115
|
-
repo: { type: "string", description: "Repository name." },
|
|
4128
|
+
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)." },
|
|
4129
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')." },
|
|
4116
4130
|
code: { type: "string", maxLength: 20, description: "Short memory code." },
|
|
4117
4131
|
structured: { type: "boolean", default: false, description: "If true, returns structured JSON result." }
|
|
4118
4132
|
}
|
|
@@ -4121,8 +4135,8 @@ var MEMORY_TOOL_DEFINITIONS = [
|
|
|
4121
4135
|
title: "By bulk codes",
|
|
4122
4136
|
required: ["owner", "repo", "codes"],
|
|
4123
4137
|
properties: {
|
|
4124
|
-
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
|
|
4125
|
-
repo: { type: "string", description: "Repository name." },
|
|
4138
|
+
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)." },
|
|
4139
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')." },
|
|
4126
4140
|
codes: {
|
|
4127
4141
|
type: "array",
|
|
4128
4142
|
items: { type: "string", maxLength: 20 },
|
|
@@ -4160,8 +4174,8 @@ var MEMORY_TOOL_DEFINITIONS = [
|
|
|
4160
4174
|
inputSchema: {
|
|
4161
4175
|
type: "object",
|
|
4162
4176
|
properties: {
|
|
4163
|
-
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
|
|
4164
|
-
repo: { type: "string", description: "Repository/project name (
|
|
4177
|
+
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)." },
|
|
4178
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')." },
|
|
4165
4179
|
limit: {
|
|
4166
4180
|
type: "number",
|
|
4167
4181
|
minimum: 1,
|
|
@@ -4239,10 +4253,13 @@ var TASK_TOOL_DEFINITIONS = [
|
|
|
4239
4253
|
inputSchema: {
|
|
4240
4254
|
type: "object",
|
|
4241
4255
|
properties: {
|
|
4242
|
-
owner: {
|
|
4256
|
+
owner: {
|
|
4257
|
+
type: "string",
|
|
4258
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
4259
|
+
},
|
|
4243
4260
|
repo: {
|
|
4244
4261
|
type: "string",
|
|
4245
|
-
description: "Repository name.
|
|
4262
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
4246
4263
|
},
|
|
4247
4264
|
task_code: { type: "string" },
|
|
4248
4265
|
phase: { type: "string" },
|
|
@@ -4265,7 +4282,7 @@ var TASK_TOOL_DEFINITIONS = [
|
|
|
4265
4282
|
doc_path: { type: "string" },
|
|
4266
4283
|
structured: { type: "boolean", default: false, description: "If true, returns structured JSON result." }
|
|
4267
4284
|
},
|
|
4268
|
-
required: [
|
|
4285
|
+
required: []
|
|
4269
4286
|
},
|
|
4270
4287
|
outputSchema: {
|
|
4271
4288
|
type: "object",
|
|
@@ -4289,10 +4306,16 @@ var TASK_TOOL_DEFINITIONS = [
|
|
|
4289
4306
|
oneOf: [
|
|
4290
4307
|
{
|
|
4291
4308
|
title: "By ID",
|
|
4292
|
-
required: ["
|
|
4309
|
+
required: ["id"],
|
|
4293
4310
|
properties: {
|
|
4294
|
-
owner: {
|
|
4295
|
-
|
|
4311
|
+
owner: {
|
|
4312
|
+
type: "string",
|
|
4313
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
4314
|
+
},
|
|
4315
|
+
repo: {
|
|
4316
|
+
type: "string",
|
|
4317
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
4318
|
+
},
|
|
4296
4319
|
id: { type: "string", format: "uuid", description: "Task ID" },
|
|
4297
4320
|
structured: {
|
|
4298
4321
|
type: "boolean",
|
|
@@ -4303,10 +4326,16 @@ var TASK_TOOL_DEFINITIONS = [
|
|
|
4303
4326
|
},
|
|
4304
4327
|
{
|
|
4305
4328
|
title: "By task_code",
|
|
4306
|
-
required: ["
|
|
4329
|
+
required: ["task_code"],
|
|
4307
4330
|
properties: {
|
|
4308
|
-
owner: {
|
|
4309
|
-
|
|
4331
|
+
owner: {
|
|
4332
|
+
type: "string",
|
|
4333
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
4334
|
+
},
|
|
4335
|
+
repo: {
|
|
4336
|
+
type: "string",
|
|
4337
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
4338
|
+
},
|
|
4310
4339
|
task_code: {
|
|
4311
4340
|
type: "string",
|
|
4312
4341
|
description: "Task code (e.g. PERF-1, TASK-001). Use instead of 'id' for string code lookup."
|
|
@@ -4320,10 +4349,16 @@ var TASK_TOOL_DEFINITIONS = [
|
|
|
4320
4349
|
},
|
|
4321
4350
|
{
|
|
4322
4351
|
title: "By task_codes",
|
|
4323
|
-
required: ["
|
|
4352
|
+
required: ["task_codes"],
|
|
4324
4353
|
properties: {
|
|
4325
|
-
owner: {
|
|
4326
|
-
|
|
4354
|
+
owner: {
|
|
4355
|
+
type: "string",
|
|
4356
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
4357
|
+
},
|
|
4358
|
+
repo: {
|
|
4359
|
+
type: "string",
|
|
4360
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
4361
|
+
},
|
|
4327
4362
|
task_codes: {
|
|
4328
4363
|
type: "array",
|
|
4329
4364
|
items: { type: "string" },
|
|
@@ -4352,8 +4387,14 @@ var TASK_TOOL_DEFINITIONS = [
|
|
|
4352
4387
|
inputSchema: {
|
|
4353
4388
|
type: "object",
|
|
4354
4389
|
properties: {
|
|
4355
|
-
owner: {
|
|
4356
|
-
|
|
4390
|
+
owner: {
|
|
4391
|
+
type: "string",
|
|
4392
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
4393
|
+
},
|
|
4394
|
+
repo: {
|
|
4395
|
+
type: "string",
|
|
4396
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
4397
|
+
},
|
|
4357
4398
|
task_code: { type: "string", description: "Unique task code (e.g. TASK-001) (Required for single task)" },
|
|
4358
4399
|
phase: { type: "string", description: "Project phase (Required for single task)" },
|
|
4359
4400
|
title: {
|
|
@@ -4434,7 +4475,7 @@ var TASK_TOOL_DEFINITIONS = [
|
|
|
4434
4475
|
},
|
|
4435
4476
|
structured: { type: "boolean", default: false, description: "If true, returns structured JSON result." }
|
|
4436
4477
|
},
|
|
4437
|
-
required: [
|
|
4478
|
+
required: []
|
|
4438
4479
|
},
|
|
4439
4480
|
outputSchema: {
|
|
4440
4481
|
type: "object",
|
|
@@ -4467,10 +4508,16 @@ var TASK_TOOL_DEFINITIONS = [
|
|
|
4467
4508
|
oneOf: [
|
|
4468
4509
|
{
|
|
4469
4510
|
title: "By ID",
|
|
4470
|
-
required: ["
|
|
4511
|
+
required: ["id"],
|
|
4471
4512
|
properties: {
|
|
4472
|
-
owner: {
|
|
4473
|
-
|
|
4513
|
+
owner: {
|
|
4514
|
+
type: "string",
|
|
4515
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
4516
|
+
},
|
|
4517
|
+
repo: {
|
|
4518
|
+
type: "string",
|
|
4519
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
4520
|
+
},
|
|
4474
4521
|
id: { type: "string", format: "uuid", description: "Task ID (for single update)" },
|
|
4475
4522
|
phase: { type: "string" },
|
|
4476
4523
|
title: { type: "string", minLength: 3, maxLength: 100 },
|
|
@@ -4530,10 +4577,16 @@ var TASK_TOOL_DEFINITIONS = [
|
|
|
4530
4577
|
},
|
|
4531
4578
|
{
|
|
4532
4579
|
title: "By IDs",
|
|
4533
|
-
required: ["
|
|
4580
|
+
required: ["ids"],
|
|
4534
4581
|
properties: {
|
|
4535
|
-
owner: {
|
|
4536
|
-
|
|
4582
|
+
owner: {
|
|
4583
|
+
type: "string",
|
|
4584
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
4585
|
+
},
|
|
4586
|
+
repo: {
|
|
4587
|
+
type: "string",
|
|
4588
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
4589
|
+
},
|
|
4537
4590
|
ids: {
|
|
4538
4591
|
type: "array",
|
|
4539
4592
|
items: { type: "string", format: "uuid" },
|
|
@@ -4597,10 +4650,16 @@ var TASK_TOOL_DEFINITIONS = [
|
|
|
4597
4650
|
},
|
|
4598
4651
|
{
|
|
4599
4652
|
title: "By task_code",
|
|
4600
|
-
required: ["
|
|
4653
|
+
required: ["task_code"],
|
|
4601
4654
|
properties: {
|
|
4602
|
-
owner: {
|
|
4603
|
-
|
|
4655
|
+
owner: {
|
|
4656
|
+
type: "string",
|
|
4657
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
4658
|
+
},
|
|
4659
|
+
repo: {
|
|
4660
|
+
type: "string",
|
|
4661
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
4662
|
+
},
|
|
4604
4663
|
task_code: { type: "string" },
|
|
4605
4664
|
phase: { type: "string" },
|
|
4606
4665
|
title: { type: "string", minLength: 3, maxLength: 100 },
|
|
@@ -4660,10 +4719,16 @@ var TASK_TOOL_DEFINITIONS = [
|
|
|
4660
4719
|
},
|
|
4661
4720
|
{
|
|
4662
4721
|
title: "By task_codes",
|
|
4663
|
-
required: ["
|
|
4722
|
+
required: ["task_codes"],
|
|
4664
4723
|
properties: {
|
|
4665
|
-
owner: {
|
|
4666
|
-
|
|
4724
|
+
owner: {
|
|
4725
|
+
type: "string",
|
|
4726
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
4727
|
+
},
|
|
4728
|
+
repo: {
|
|
4729
|
+
type: "string",
|
|
4730
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
4731
|
+
},
|
|
4667
4732
|
task_codes: {
|
|
4668
4733
|
type: "array",
|
|
4669
4734
|
items: { type: "string" },
|
|
@@ -4761,20 +4826,32 @@ var TASK_TOOL_DEFINITIONS = [
|
|
|
4761
4826
|
oneOf: [
|
|
4762
4827
|
{
|
|
4763
4828
|
title: "By ID",
|
|
4764
|
-
required: ["
|
|
4829
|
+
required: ["id"],
|
|
4765
4830
|
properties: {
|
|
4766
|
-
owner: {
|
|
4767
|
-
|
|
4831
|
+
owner: {
|
|
4832
|
+
type: "string",
|
|
4833
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
4834
|
+
},
|
|
4835
|
+
repo: {
|
|
4836
|
+
type: "string",
|
|
4837
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
4838
|
+
},
|
|
4768
4839
|
id: { type: "string", format: "uuid", description: "Task ID (for single deletion)" },
|
|
4769
4840
|
structured: { type: "boolean", default: false, description: "If true, returns structured JSON result." }
|
|
4770
4841
|
}
|
|
4771
4842
|
},
|
|
4772
4843
|
{
|
|
4773
4844
|
title: "By IDs",
|
|
4774
|
-
required: ["
|
|
4845
|
+
required: ["ids"],
|
|
4775
4846
|
properties: {
|
|
4776
|
-
owner: {
|
|
4777
|
-
|
|
4847
|
+
owner: {
|
|
4848
|
+
type: "string",
|
|
4849
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
4850
|
+
},
|
|
4851
|
+
repo: {
|
|
4852
|
+
type: "string",
|
|
4853
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
4854
|
+
},
|
|
4778
4855
|
ids: {
|
|
4779
4856
|
type: "array",
|
|
4780
4857
|
items: { type: "string", format: "uuid" },
|
|
@@ -4785,10 +4862,16 @@ var TASK_TOOL_DEFINITIONS = [
|
|
|
4785
4862
|
},
|
|
4786
4863
|
{
|
|
4787
4864
|
title: "By task_code",
|
|
4788
|
-
required: ["
|
|
4865
|
+
required: ["task_code"],
|
|
4789
4866
|
properties: {
|
|
4790
|
-
owner: {
|
|
4791
|
-
|
|
4867
|
+
owner: {
|
|
4868
|
+
type: "string",
|
|
4869
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
4870
|
+
},
|
|
4871
|
+
repo: {
|
|
4872
|
+
type: "string",
|
|
4873
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
4874
|
+
},
|
|
4792
4875
|
task_code: {
|
|
4793
4876
|
type: "string",
|
|
4794
4877
|
description: "Task code (e.g. PERF-1, TASK-001). Use instead of 'id' for string code lookup."
|
|
@@ -4798,10 +4881,16 @@ var TASK_TOOL_DEFINITIONS = [
|
|
|
4798
4881
|
},
|
|
4799
4882
|
{
|
|
4800
4883
|
title: "By task_codes",
|
|
4801
|
-
required: ["
|
|
4884
|
+
required: ["task_codes"],
|
|
4802
4885
|
properties: {
|
|
4803
|
-
owner: {
|
|
4804
|
-
|
|
4886
|
+
owner: {
|
|
4887
|
+
type: "string",
|
|
4888
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
4889
|
+
},
|
|
4890
|
+
repo: {
|
|
4891
|
+
type: "string",
|
|
4892
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
4893
|
+
},
|
|
4805
4894
|
task_codes: {
|
|
4806
4895
|
type: "array",
|
|
4807
4896
|
items: { type: "string" },
|
|
@@ -4838,10 +4927,13 @@ var TASK_TOOL_DEFINITIONS = [
|
|
|
4838
4927
|
inputSchema: {
|
|
4839
4928
|
type: "object",
|
|
4840
4929
|
properties: {
|
|
4841
|
-
owner: {
|
|
4930
|
+
owner: {
|
|
4931
|
+
type: "string",
|
|
4932
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
4933
|
+
},
|
|
4842
4934
|
repo: {
|
|
4843
4935
|
type: "string",
|
|
4844
|
-
description: "Repository/project name (
|
|
4936
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
4845
4937
|
},
|
|
4846
4938
|
status: {
|
|
4847
4939
|
type: "string",
|
|
@@ -4875,7 +4967,7 @@ var TASK_TOOL_DEFINITIONS = [
|
|
|
4875
4967
|
description: "If true, returns structured JSON without the text content summary."
|
|
4876
4968
|
}
|
|
4877
4969
|
},
|
|
4878
|
-
required: [
|
|
4970
|
+
required: []
|
|
4879
4971
|
},
|
|
4880
4972
|
outputSchema: {
|
|
4881
4973
|
type: "object",
|
|
@@ -4915,8 +5007,14 @@ var TASK_TOOL_DEFINITIONS = [
|
|
|
4915
5007
|
inputSchema: {
|
|
4916
5008
|
type: "object",
|
|
4917
5009
|
properties: {
|
|
4918
|
-
owner: {
|
|
4919
|
-
|
|
5010
|
+
owner: {
|
|
5011
|
+
type: "string",
|
|
5012
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
5013
|
+
},
|
|
5014
|
+
repo: {
|
|
5015
|
+
type: "string",
|
|
5016
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
5017
|
+
},
|
|
4920
5018
|
query: {
|
|
4921
5019
|
type: "string",
|
|
4922
5020
|
minLength: 1,
|
|
@@ -4929,7 +5027,7 @@ var TASK_TOOL_DEFINITIONS = [
|
|
|
4929
5027
|
offset: { type: "number", minimum: 0, default: 0 },
|
|
4930
5028
|
structured: { type: "boolean", default: false, description: "If true, returns structured JSON result." }
|
|
4931
5029
|
},
|
|
4932
|
-
required: ["
|
|
5030
|
+
required: ["query"]
|
|
4933
5031
|
},
|
|
4934
5032
|
outputSchema: {
|
|
4935
5033
|
type: "object",
|
|
@@ -4977,8 +5075,8 @@ var HANDOFF_TOOL_DEFINITIONS = [
|
|
|
4977
5075
|
inputSchema: {
|
|
4978
5076
|
type: "object",
|
|
4979
5077
|
properties: {
|
|
4980
|
-
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
|
|
4981
|
-
repo: { type: "string", description: "Repository/project name" },
|
|
5078
|
+
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)." },
|
|
5079
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')." },
|
|
4982
5080
|
from_agent: { type: "string", description: "Agent creating the handoff" },
|
|
4983
5081
|
to_agent: { type: "string", description: "Optional target agent" },
|
|
4984
5082
|
task_id: { type: "string", format: "uuid", description: "Optional task id to associate" },
|
|
@@ -5052,8 +5150,8 @@ var HANDOFF_TOOL_DEFINITIONS = [
|
|
|
5052
5150
|
inputSchema: {
|
|
5053
5151
|
type: "object",
|
|
5054
5152
|
properties: {
|
|
5055
|
-
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
|
|
5056
|
-
repo: { type: "string", description: "Repository/project name" },
|
|
5153
|
+
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)." },
|
|
5154
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')." },
|
|
5057
5155
|
status: { type: "string", enum: ["pending", "accepted", "rejected", "expired"] },
|
|
5058
5156
|
from_agent: { type: "string" },
|
|
5059
5157
|
to_agent: { type: "string" },
|
|
@@ -5102,8 +5200,8 @@ var HANDOFF_TOOL_DEFINITIONS = [
|
|
|
5102
5200
|
inputSchema: {
|
|
5103
5201
|
type: "object",
|
|
5104
5202
|
properties: {
|
|
5105
|
-
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
|
|
5106
|
-
repo: { type: "string", description: "Repository/project name" },
|
|
5203
|
+
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)." },
|
|
5204
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')." },
|
|
5107
5205
|
task_id: {
|
|
5108
5206
|
type: "string",
|
|
5109
5207
|
format: "uuid",
|
|
@@ -5146,8 +5244,8 @@ var HANDOFF_TOOL_DEFINITIONS = [
|
|
|
5146
5244
|
inputSchema: {
|
|
5147
5245
|
type: "object",
|
|
5148
5246
|
properties: {
|
|
5149
|
-
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
|
|
5150
|
-
repo: { type: "string", description: "Repository/project name" },
|
|
5247
|
+
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)." },
|
|
5248
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')." },
|
|
5151
5249
|
agent: { type: "string", description: "Optional agent filter" },
|
|
5152
5250
|
active_only: { type: "boolean", description: "When true, return only unreleased claims" },
|
|
5153
5251
|
limit: { type: "number", minimum: 1, maximum: 100, default: 20 },
|
|
@@ -5195,8 +5293,8 @@ var HANDOFF_TOOL_DEFINITIONS = [
|
|
|
5195
5293
|
inputSchema: {
|
|
5196
5294
|
type: "object",
|
|
5197
5295
|
properties: {
|
|
5198
|
-
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
|
|
5199
|
-
repo: { type: "string", description: "Repository name" },
|
|
5296
|
+
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)." },
|
|
5297
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')." },
|
|
5200
5298
|
task_id: {
|
|
5201
5299
|
type: "string",
|
|
5202
5300
|
format: "uuid",
|
|
@@ -5245,7 +5343,7 @@ var STANDARD_TOOL_DEFINITIONS = [
|
|
|
5245
5343
|
properties: {
|
|
5246
5344
|
code: { type: "string", description: "Short standard code (e.g. 'A3KPQ2')." },
|
|
5247
5345
|
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)." },
|
|
5248
|
-
repo: { type: "string", description: "Repository/project name." },
|
|
5346
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')." },
|
|
5249
5347
|
structured: { type: "boolean", default: false, description: "If true, returns structured JSON details." }
|
|
5250
5348
|
}
|
|
5251
5349
|
}
|
|
@@ -5269,8 +5367,8 @@ var STANDARD_TOOL_DEFINITIONS = [
|
|
|
5269
5367
|
title: "By single ID",
|
|
5270
5368
|
required: ["owner", "repo", "id"],
|
|
5271
5369
|
properties: {
|
|
5272
|
-
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
|
|
5273
|
-
repo: { type: "string", description: "Repository name." },
|
|
5370
|
+
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)." },
|
|
5371
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')." },
|
|
5274
5372
|
id: { type: "string", format: "uuid", description: "Coding standard ID to delete." },
|
|
5275
5373
|
structured: { type: "boolean", default: false, description: "If true, returns structured JSON result." }
|
|
5276
5374
|
}
|
|
@@ -5279,8 +5377,8 @@ var STANDARD_TOOL_DEFINITIONS = [
|
|
|
5279
5377
|
title: "By bulk IDs",
|
|
5280
5378
|
required: ["owner", "repo", "ids"],
|
|
5281
5379
|
properties: {
|
|
5282
|
-
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
|
|
5283
|
-
repo: { type: "string", description: "Repository name." },
|
|
5380
|
+
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)." },
|
|
5381
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')." },
|
|
5284
5382
|
ids: {
|
|
5285
5383
|
type: "array",
|
|
5286
5384
|
items: { type: "string", format: "uuid" },
|
|
@@ -5294,8 +5392,8 @@ var STANDARD_TOOL_DEFINITIONS = [
|
|
|
5294
5392
|
title: "By single code",
|
|
5295
5393
|
required: ["owner", "repo", "code"],
|
|
5296
5394
|
properties: {
|
|
5297
|
-
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
|
|
5298
|
-
repo: { type: "string", description: "Repository name." },
|
|
5395
|
+
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)." },
|
|
5396
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')." },
|
|
5299
5397
|
code: { type: "string", maxLength: 20, description: "Short standard code." },
|
|
5300
5398
|
structured: { type: "boolean", default: false, description: "If true, returns structured JSON result." }
|
|
5301
5399
|
}
|
|
@@ -5304,8 +5402,8 @@ var STANDARD_TOOL_DEFINITIONS = [
|
|
|
5304
5402
|
title: "By bulk codes",
|
|
5305
5403
|
required: ["owner", "repo", "codes"],
|
|
5306
5404
|
properties: {
|
|
5307
|
-
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
|
|
5308
|
-
repo: { type: "string", description: "Repository name." },
|
|
5405
|
+
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)." },
|
|
5406
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')." },
|
|
5309
5407
|
codes: {
|
|
5310
5408
|
type: "array",
|
|
5311
5409
|
items: { type: "string", maxLength: 20 },
|
|
@@ -5344,7 +5442,7 @@ var STANDARD_TOOL_DEFINITIONS = [
|
|
|
5344
5442
|
inputSchema: {
|
|
5345
5443
|
type: "object",
|
|
5346
5444
|
properties: {
|
|
5347
|
-
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
|
|
5445
|
+
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)." },
|
|
5348
5446
|
name: { type: "string", minLength: 3, maxLength: 255, description: "Human-readable standard name" },
|
|
5349
5447
|
content: {
|
|
5350
5448
|
type: "string",
|
|
@@ -5365,7 +5463,7 @@ var STANDARD_TOOL_DEFINITIONS = [
|
|
|
5365
5463
|
},
|
|
5366
5464
|
repo: {
|
|
5367
5465
|
type: "string",
|
|
5368
|
-
description: "Repository name for repo-specific standards. Omit only for global standards."
|
|
5466
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Required for repo-specific standards. Omit only for global standards."
|
|
5369
5467
|
},
|
|
5370
5468
|
is_global: { type: "boolean", description: "Whether standard applies globally or repo-specific" },
|
|
5371
5469
|
tags: {
|
|
@@ -5468,8 +5566,8 @@ var STANDARD_TOOL_DEFINITIONS = [
|
|
|
5468
5566
|
title: "By ID",
|
|
5469
5567
|
required: ["owner", "repo", "id"],
|
|
5470
5568
|
properties: {
|
|
5471
|
-
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
|
|
5472
|
-
repo: { type: "string", description: "Repository name" },
|
|
5569
|
+
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)." },
|
|
5570
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')." },
|
|
5473
5571
|
id: { type: "string", format: "uuid", description: "Standard ID to update." },
|
|
5474
5572
|
code: { type: "string", maxLength: 20, description: "Short standard code." },
|
|
5475
5573
|
name: { type: "string", minLength: 3, maxLength: 255 },
|
|
@@ -5491,8 +5589,8 @@ var STANDARD_TOOL_DEFINITIONS = [
|
|
|
5491
5589
|
title: "By code",
|
|
5492
5590
|
required: ["owner", "repo", "code"],
|
|
5493
5591
|
properties: {
|
|
5494
|
-
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)" },
|
|
5495
|
-
repo: { type: "string", description: "Repository name" },
|
|
5592
|
+
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)." },
|
|
5593
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp')." },
|
|
5496
5594
|
code: { type: "string", maxLength: 20, description: "Short standard code." },
|
|
5497
5595
|
id: { type: "string", format: "uuid", description: "Standard ID." },
|
|
5498
5596
|
name: { type: "string", minLength: 3, maxLength: 255 },
|
|
@@ -5534,6 +5632,7 @@ var STANDARD_TOOL_DEFINITIONS = [
|
|
|
5534
5632
|
inputSchema: {
|
|
5535
5633
|
type: "object",
|
|
5536
5634
|
properties: {
|
|
5635
|
+
owner: { type: "string", description: "Organization/namespace (e.g., GitHub org or username)." },
|
|
5537
5636
|
query: { type: "string", description: "Search query (optional, searches title/content)" },
|
|
5538
5637
|
stack: {
|
|
5539
5638
|
type: "array",
|
|
@@ -5548,7 +5647,7 @@ var STANDARD_TOOL_DEFINITIONS = [
|
|
|
5548
5647
|
language: { type: "string", description: "Programming language filter" },
|
|
5549
5648
|
context: { type: "string", description: "Context/category filter" },
|
|
5550
5649
|
version: { type: "string", description: "Version filter" },
|
|
5551
|
-
repo: { type: "string", description: "Repository
|
|
5650
|
+
repo: { type: "string", description: "Repository/project name (e.g., 'local-memory-mcp'). Optional filter." },
|
|
5552
5651
|
is_global: { type: "boolean", description: "Filter by global/repo-specific" },
|
|
5553
5652
|
limit: { type: "number", minimum: 1, maximum: 100, default: 20 },
|
|
5554
5653
|
offset: { type: "number", minimum: 0, default: 0 },
|
|
@@ -5602,11 +5701,11 @@ var AGENT_TOOL_DEFINITIONS = [
|
|
|
5602
5701
|
properties: {
|
|
5603
5702
|
owner: {
|
|
5604
5703
|
type: "string",
|
|
5605
|
-
description: "Organization/namespace (e.g., GitHub org or username). Auto-
|
|
5704
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
5606
5705
|
},
|
|
5607
5706
|
repo: {
|
|
5608
5707
|
type: "string",
|
|
5609
|
-
description: "Repository/project name. Auto-
|
|
5708
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
5610
5709
|
},
|
|
5611
5710
|
objective: {
|
|
5612
5711
|
type: "string",
|
|
@@ -5713,11 +5812,11 @@ var AGENT_TOOL_DEFINITIONS = [
|
|
|
5713
5812
|
},
|
|
5714
5813
|
owner: {
|
|
5715
5814
|
type: "string",
|
|
5716
|
-
description: "Organization/namespace. Auto-
|
|
5815
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
5717
5816
|
},
|
|
5718
5817
|
repo: {
|
|
5719
5818
|
type: "string",
|
|
5720
|
-
description: "Repository/project name. Auto-
|
|
5819
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
5721
5820
|
},
|
|
5722
5821
|
structured: {
|
|
5723
5822
|
type: "boolean",
|
|
@@ -5772,11 +5871,11 @@ var AGENT_TOOL_DEFINITIONS = [
|
|
|
5772
5871
|
},
|
|
5773
5872
|
owner: {
|
|
5774
5873
|
type: "string",
|
|
5775
|
-
description: "Organization/namespace. Auto-
|
|
5874
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
5776
5875
|
},
|
|
5777
5876
|
repo: {
|
|
5778
5877
|
type: "string",
|
|
5779
|
-
description: "Repository/project name. Auto-
|
|
5878
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
5780
5879
|
},
|
|
5781
5880
|
structured: {
|
|
5782
5881
|
type: "boolean",
|
|
@@ -5807,8 +5906,14 @@ var AGENT_TOOL_DEFINITIONS = [
|
|
|
5807
5906
|
inputSchema: {
|
|
5808
5907
|
type: "object",
|
|
5809
5908
|
properties: {
|
|
5810
|
-
owner: {
|
|
5811
|
-
|
|
5909
|
+
owner: {
|
|
5910
|
+
type: "string",
|
|
5911
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
5912
|
+
},
|
|
5913
|
+
repo: {
|
|
5914
|
+
type: "string",
|
|
5915
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
5916
|
+
},
|
|
5812
5917
|
title: { type: "string", description: "Title for the fact/memory." },
|
|
5813
5918
|
content: { type: "string", description: "The fact content to store." },
|
|
5814
5919
|
type: { type: "string", default: "code_fact" },
|
|
@@ -5830,8 +5935,14 @@ var AGENT_TOOL_DEFINITIONS = [
|
|
|
5830
5935
|
inputSchema: {
|
|
5831
5936
|
type: "object",
|
|
5832
5937
|
properties: {
|
|
5833
|
-
owner: {
|
|
5834
|
-
|
|
5938
|
+
owner: {
|
|
5939
|
+
type: "string",
|
|
5940
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
5941
|
+
},
|
|
5942
|
+
repo: {
|
|
5943
|
+
type: "string",
|
|
5944
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
5945
|
+
},
|
|
5835
5946
|
facts: { type: "array", items: { type: "object" }, description: "Array of fact objects." }
|
|
5836
5947
|
},
|
|
5837
5948
|
required: ["facts"]
|
|
@@ -5846,8 +5957,14 @@ var AGENT_TOOL_DEFINITIONS = [
|
|
|
5846
5957
|
inputSchema: {
|
|
5847
5958
|
type: "object",
|
|
5848
5959
|
properties: {
|
|
5849
|
-
owner: {
|
|
5850
|
-
|
|
5960
|
+
owner: {
|
|
5961
|
+
type: "string",
|
|
5962
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
5963
|
+
},
|
|
5964
|
+
repo: {
|
|
5965
|
+
type: "string",
|
|
5966
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
5967
|
+
},
|
|
5851
5968
|
query: { type: "string", description: "Search query." },
|
|
5852
5969
|
type: { type: "string", description: "Filter by memory type." },
|
|
5853
5970
|
limit: { type: "number", default: 10 }
|
|
@@ -5864,8 +5981,14 @@ var AGENT_TOOL_DEFINITIONS = [
|
|
|
5864
5981
|
inputSchema: {
|
|
5865
5982
|
type: "object",
|
|
5866
5983
|
properties: {
|
|
5867
|
-
owner: {
|
|
5868
|
-
|
|
5984
|
+
owner: {
|
|
5985
|
+
type: "string",
|
|
5986
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
5987
|
+
},
|
|
5988
|
+
repo: {
|
|
5989
|
+
type: "string",
|
|
5990
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
5991
|
+
},
|
|
5869
5992
|
id: { type: "string", description: "Memory ID to delete." },
|
|
5870
5993
|
code: { type: "string", description: "Memory code to delete." }
|
|
5871
5994
|
},
|
|
@@ -5905,11 +6028,11 @@ var KG_TOOL_DEFINITIONS = [
|
|
|
5905
6028
|
},
|
|
5906
6029
|
owner: {
|
|
5907
6030
|
type: "string",
|
|
5908
|
-
description: "Organization/namespace. Auto-
|
|
6031
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
5909
6032
|
},
|
|
5910
6033
|
repo: {
|
|
5911
6034
|
type: "string",
|
|
5912
|
-
description: "Repository/project name. Auto-
|
|
6035
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
5913
6036
|
},
|
|
5914
6037
|
structured: {
|
|
5915
6038
|
type: "boolean",
|
|
@@ -5955,11 +6078,11 @@ var KG_TOOL_DEFINITIONS = [
|
|
|
5955
6078
|
},
|
|
5956
6079
|
owner: {
|
|
5957
6080
|
type: "string",
|
|
5958
|
-
description: "Organization/namespace. Auto-
|
|
6081
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
5959
6082
|
},
|
|
5960
6083
|
repo: {
|
|
5961
6084
|
type: "string",
|
|
5962
|
-
description: "Repository/project name. Auto-
|
|
6085
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
5963
6086
|
},
|
|
5964
6087
|
structured: {
|
|
5965
6088
|
type: "boolean",
|
|
@@ -6004,11 +6127,11 @@ var KG_TOOL_DEFINITIONS = [
|
|
|
6004
6127
|
},
|
|
6005
6128
|
owner: {
|
|
6006
6129
|
type: "string",
|
|
6007
|
-
description: "Organization/namespace. Auto-
|
|
6130
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
6008
6131
|
},
|
|
6009
6132
|
repo: {
|
|
6010
6133
|
type: "string",
|
|
6011
|
-
description: "Repository/project name. Auto-
|
|
6134
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
6012
6135
|
},
|
|
6013
6136
|
structured: {
|
|
6014
6137
|
type: "boolean",
|
|
@@ -6060,11 +6183,11 @@ var KG_TOOL_DEFINITIONS = [
|
|
|
6060
6183
|
},
|
|
6061
6184
|
owner: {
|
|
6062
6185
|
type: "string",
|
|
6063
|
-
description: "Organization/namespace. Auto-
|
|
6186
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
6064
6187
|
},
|
|
6065
6188
|
repo: {
|
|
6066
6189
|
type: "string",
|
|
6067
|
-
description: "Repository/project name. Auto-
|
|
6190
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
6068
6191
|
},
|
|
6069
6192
|
structured: {
|
|
6070
6193
|
type: "boolean",
|
|
@@ -6101,11 +6224,11 @@ var KG_TOOL_DEFINITIONS = [
|
|
|
6101
6224
|
},
|
|
6102
6225
|
owner: {
|
|
6103
6226
|
type: "string",
|
|
6104
|
-
description: "Organization/namespace. Auto-
|
|
6227
|
+
description: "Organization/namespace (e.g., GitHub org or username). Auto-inferred from session when omitted."
|
|
6105
6228
|
},
|
|
6106
6229
|
repo: {
|
|
6107
6230
|
type: "string",
|
|
6108
|
-
description: "Repository/project name. Auto-
|
|
6231
|
+
description: "Repository/project name (e.g., 'local-memory-mcp'). Auto-inferred from session when omitted."
|
|
6109
6232
|
},
|
|
6110
6233
|
structured: {
|
|
6111
6234
|
type: "boolean",
|
package/dist/dashboard/server.js
CHANGED
package/dist/mcp/server.js
CHANGED
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
parseRepoInput,
|
|
62
62
|
rankCompletionValues,
|
|
63
63
|
toContextSlug
|
|
64
|
-
} from "../chunk-
|
|
64
|
+
} from "../chunk-M47LSTGD.js";
|
|
65
65
|
|
|
66
66
|
// src/mcp/server.ts
|
|
67
67
|
import { serveStdio } from "@modelcontextprotocol/server/stdio";
|
|
@@ -74,8 +74,8 @@ import path from "path";
|
|
|
74
74
|
import { fileURLToPath } from "url";
|
|
75
75
|
var __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
76
76
|
var pkgVersion = "0.1.0";
|
|
77
|
-
if ("0.19.
|
|
78
|
-
pkgVersion = "0.19.
|
|
77
|
+
if ("0.19.7") {
|
|
78
|
+
pkgVersion = "0.19.7";
|
|
79
79
|
} else {
|
|
80
80
|
let searchDir = __dirname;
|
|
81
81
|
for (let i = 0; i < 5; i++) {
|
|
@@ -3566,28 +3566,36 @@ function normalizeToolArgs(args, session) {
|
|
|
3566
3566
|
if (!nextArgs.owner) {
|
|
3567
3567
|
const repoVal2 = nextArgs.repo || "";
|
|
3568
3568
|
const parsed = parseRepoInput(repoVal2, void 0);
|
|
3569
|
-
|
|
3570
|
-
if (
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3569
|
+
const inferredOwner = parsed.owner || inferOwnerFromSession(session);
|
|
3570
|
+
if (inferredOwner !== void 0) {
|
|
3571
|
+
nextArgs.owner = inferredOwner;
|
|
3572
|
+
if (!repoVal2.includes("/")) {
|
|
3573
|
+
logger.warn(
|
|
3574
|
+
`[tools] owner inferred from session (${nextArgs.owner}) \u2014 may be incorrect. Agents should pass explicit owner/repo.`
|
|
3575
|
+
);
|
|
3576
|
+
}
|
|
3574
3577
|
}
|
|
3575
3578
|
}
|
|
3576
3579
|
if (scope && !scope.owner) {
|
|
3577
3580
|
const repoVal2 = scope.repo || nextArgs.repo || "";
|
|
3578
3581
|
const parsed = parseRepoInput(repoVal2, void 0);
|
|
3579
|
-
|
|
3582
|
+
const inferredOwner = parsed.owner || nextArgs.owner || inferOwnerFromSession(session);
|
|
3583
|
+
if (inferredOwner !== void 0) {
|
|
3584
|
+
scope.owner = inferredOwner;
|
|
3585
|
+
}
|
|
3580
3586
|
}
|
|
3581
|
-
const ownerVal = nextArgs.owner || inferOwnerFromSession(session) ||
|
|
3582
|
-
const repoVal = nextArgs.repo || inferRepoFromSession(session) ||
|
|
3587
|
+
const ownerVal = nextArgs.owner || inferOwnerFromSession(session) || void 0;
|
|
3588
|
+
const repoVal = nextArgs.repo || inferRepoFromSession(session) || void 0;
|
|
3583
3589
|
const memories = nextArgs.memories;
|
|
3584
3590
|
if (memories) {
|
|
3585
3591
|
for (const mem of memories) {
|
|
3586
3592
|
const memScope = mem.scope;
|
|
3587
3593
|
if (memScope) {
|
|
3588
|
-
if (!memScope.owner)
|
|
3589
|
-
|
|
3590
|
-
|
|
3594
|
+
if (!memScope.owner) {
|
|
3595
|
+
const inferredMemOwner = ownerVal || parseRepoInput(memScope.repo || repoVal || "", void 0).owner;
|
|
3596
|
+
if (inferredMemOwner) memScope.owner = inferredMemOwner;
|
|
3597
|
+
}
|
|
3598
|
+
if (!memScope.repo && repoVal) memScope.repo = repoVal;
|
|
3591
3599
|
}
|
|
3592
3600
|
}
|
|
3593
3601
|
}
|