@intangle/mcp-server 1.2.6 → 1.2.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/index.js +1 -2
- package/dist/tool-definitions.js +1 -1
- package/index.ts +0 -3
- package/package.json +1 -1
- package/tool-definitions.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -84,7 +84,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
|
84
84
|
tools: TOOLS,
|
|
85
85
|
}));
|
|
86
86
|
async function handleSearchMemories(args) {
|
|
87
|
-
const { space_id, query, topics,
|
|
87
|
+
const { space_id, query, topics, } = args;
|
|
88
88
|
// Require space_id
|
|
89
89
|
if (!space_id) {
|
|
90
90
|
throw new Error("space_id is required. Use list_spaces to see available options.");
|
|
@@ -94,7 +94,6 @@ async function handleSearchMemories(args) {
|
|
|
94
94
|
space_ids: [space_id], // Convert to array for backend compatibility
|
|
95
95
|
query,
|
|
96
96
|
topics,
|
|
97
|
-
return_format,
|
|
98
97
|
});
|
|
99
98
|
}
|
|
100
99
|
async function handleGetRecentMemories(args) {
|
package/dist/tool-definitions.js
CHANGED
|
@@ -3,7 +3,7 @@ export const TOOLS = [
|
|
|
3
3
|
{
|
|
4
4
|
name: "search",
|
|
5
5
|
title: "Search Space",
|
|
6
|
-
description: "Search for information within a space. System automatically extracts quantity from natural language ('show 3 tasks' → 3 results, 'the last one' → 1 result)
|
|
6
|
+
description: "Search for information within a space. System automatically extracts quantity from natural language ('show 3 tasks' → 3 results, 'the last one' → 1 result), determines optimal depth from query complexity ('quick search' → quick mode, 'search deep' → deep mode), and intelligently formats results (1-3 items → summaries, 4+ items → IDs only). Use fetch tool to get full content for specific IDs when needed.",
|
|
7
7
|
inputSchema: {
|
|
8
8
|
type: "object",
|
|
9
9
|
properties: {
|
package/index.ts
CHANGED
|
@@ -119,12 +119,10 @@ async function handleSearchMemories(args: any) {
|
|
|
119
119
|
space_id,
|
|
120
120
|
query,
|
|
121
121
|
topics,
|
|
122
|
-
return_format = "full",
|
|
123
122
|
} = args as {
|
|
124
123
|
space_id: string;
|
|
125
124
|
query: string;
|
|
126
125
|
topics?: string[];
|
|
127
|
-
return_format?: "full" | "summary" | "ids_only";
|
|
128
126
|
};
|
|
129
127
|
|
|
130
128
|
// Require space_id
|
|
@@ -139,7 +137,6 @@ async function handleSearchMemories(args: any) {
|
|
|
139
137
|
space_ids: [space_id], // Convert to array for backend compatibility
|
|
140
138
|
query,
|
|
141
139
|
topics,
|
|
142
|
-
return_format,
|
|
143
140
|
});
|
|
144
141
|
}
|
|
145
142
|
|
package/package.json
CHANGED
package/tool-definitions.ts
CHANGED
|
@@ -4,7 +4,7 @@ export const TOOLS = [
|
|
|
4
4
|
name: "search",
|
|
5
5
|
title: "Search Space",
|
|
6
6
|
description:
|
|
7
|
-
"Search for information within a space. System automatically extracts quantity from natural language ('show 3 tasks' → 3 results, 'the last one' → 1 result)
|
|
7
|
+
"Search for information within a space. System automatically extracts quantity from natural language ('show 3 tasks' → 3 results, 'the last one' → 1 result), determines optimal depth from query complexity ('quick search' → quick mode, 'search deep' → deep mode), and intelligently formats results (1-3 items → summaries, 4+ items → IDs only). Use fetch tool to get full content for specific IDs when needed.",
|
|
8
8
|
inputSchema: {
|
|
9
9
|
type: "object",
|
|
10
10
|
properties: {
|