@2kw/ai-mcp-server 6.3.0-dev.53 → 6.3.0-dev.70
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/tools/agents.js +6 -2
- package/package.json +1 -1
package/dist/tools/agents.js
CHANGED
|
@@ -359,12 +359,16 @@ export function register(server, client) {
|
|
|
359
359
|
.string()
|
|
360
360
|
.optional()
|
|
361
361
|
.describe("Resolve this installation's module tool catalog, the way a run of that installation would. Omit to answer for the agent's own tools only."),
|
|
362
|
-
|
|
362
|
+
mode: z
|
|
363
|
+
.enum(["plan", "ask", "auto"])
|
|
364
|
+
.optional()
|
|
365
|
+
.describe("Answer as a conversation in this mode would be gated: plan refuses every call that is not read-only, ask puts a person where the policy would ask the judge, auto is the policy as written. A mode that contributed is listed in matchedRules as conversation_mode.<mode>. Omit for no mode."),
|
|
366
|
+
}, async ({ agentId, versionId, tool, installationId, mode }) => {
|
|
363
367
|
try {
|
|
364
368
|
const { data } = await client.GET("/v1/agents/{agentId}/versions/{versionId}/policy", {
|
|
365
369
|
params: {
|
|
366
370
|
path: { agentId, versionId },
|
|
367
|
-
query: { tool, installation: installationId },
|
|
371
|
+
query: { tool, installation: installationId, mode },
|
|
368
372
|
},
|
|
369
373
|
});
|
|
370
374
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@2kw/ai-mcp-server",
|
|
3
|
-
"version": "6.3.0-dev.
|
|
3
|
+
"version": "6.3.0-dev.70",
|
|
4
4
|
"description": "MCP server for 2kw.ai — EU-hosted AI platform: OpenAI-compatible LLM gateway, schema-driven document extraction, transcription, agents with a knowledge base, and cost observability. 158 tools for Claude Code, Cursor, and Windsurf.",
|
|
5
5
|
"mcpName": "ai.2kw/mcp-server",
|
|
6
6
|
"keywords": [
|