replicas-mcp 0.1.3 → 0.1.5
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/package.json +1 -1
- package/src/index.ts +1 -3
package/dist/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
#!/usr/bin/env node
|
|
3
2
|
|
|
4
3
|
// src/index.ts
|
|
5
4
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
@@ -468,7 +467,7 @@ registerTool(
|
|
|
468
467
|
{
|
|
469
468
|
description: "Create a new replica workspace and send initial message",
|
|
470
469
|
inputSchema: {
|
|
471
|
-
name: z.string(),
|
|
470
|
+
name: z.string().regex(/^\S+$/, "Name cannot contain spaces"),
|
|
472
471
|
message: z.string(),
|
|
473
472
|
repository: z.string(),
|
|
474
473
|
instance_type: z.enum(["standard", "large", "power"]).optional(),
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
1
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
4
2
|
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
5
3
|
import { z } from 'zod';
|
|
@@ -69,7 +67,7 @@ registerTool(
|
|
|
69
67
|
{
|
|
70
68
|
description: 'Create a new replica workspace and send initial message',
|
|
71
69
|
inputSchema: {
|
|
72
|
-
name: z.string(),
|
|
70
|
+
name: z.string().regex(/^\S+$/, 'Name cannot contain spaces'),
|
|
73
71
|
message: z.string(),
|
|
74
72
|
repository: z.string(),
|
|
75
73
|
instance_type: z.enum(['standard', 'large', 'power']).optional(),
|