@jungjaehoon/mama-server 1.12.0 → 1.12.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.
- package/package.json +1 -1
- package/src/server.js +14 -1
package/package.json
CHANGED
package/src/server.js
CHANGED
|
@@ -373,7 +373,20 @@ After failure → save a NEW decision with same topic to create evolution histor
|
|
|
373
373
|
{
|
|
374
374
|
name: 'search_decisions_and_contracts',
|
|
375
375
|
description: 'Search decisions and contracts for PreToolUse hook injection.',
|
|
376
|
-
inputSchema:
|
|
376
|
+
inputSchema: {
|
|
377
|
+
type: 'object',
|
|
378
|
+
properties: {
|
|
379
|
+
query: { type: 'string', description: 'Search query for decisions.' },
|
|
380
|
+
filePath: { type: 'string', description: 'File path context.' },
|
|
381
|
+
toolName: { type: 'string', description: 'Tool name (Edit/Write/apply_patch).' },
|
|
382
|
+
decisionLimit: { type: 'number', description: 'Max decisions (default: 5).' },
|
|
383
|
+
contractLimit: { type: 'number', description: 'Max contracts (default: 3).' },
|
|
384
|
+
similarityThreshold: {
|
|
385
|
+
type: 'number',
|
|
386
|
+
description: 'Similarity threshold (default: 0.7).',
|
|
387
|
+
},
|
|
388
|
+
},
|
|
389
|
+
},
|
|
377
390
|
},
|
|
378
391
|
];
|
|
379
392
|
|