@burdenoff/mcp-libs 2026.703.2 → 2026.704.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.
|
@@ -5937,9 +5937,27 @@ var storageSchema = z.object({
|
|
|
5937
5937
|
mountPath: z.string().optional(),
|
|
5938
5938
|
retainOnDelete: z.boolean().optional()
|
|
5939
5939
|
});
|
|
5940
|
-
var
|
|
5941
|
-
"Container
|
|
5942
|
-
)
|
|
5940
|
+
var containerSpecSchema = z.object({
|
|
5941
|
+
name: z.string().describe("Container name"),
|
|
5942
|
+
image: z.string().describe("Container image reference"),
|
|
5943
|
+
ports: z.array(
|
|
5944
|
+
z.object({
|
|
5945
|
+
containerPort: z.number().describe("Port exposed inside the container"),
|
|
5946
|
+
name: z.string().optional().describe("Port name"),
|
|
5947
|
+
protocol: z.string().optional().describe("TCP | UDP (default TCP)")
|
|
5948
|
+
})
|
|
5949
|
+
).optional().describe("Exposed ports"),
|
|
5950
|
+
env: z.array(z.object({ name: z.string(), value: z.string() })).optional().describe("Environment variables"),
|
|
5951
|
+
command: z.array(z.string()).optional().describe("Entrypoint override"),
|
|
5952
|
+
args: z.array(z.string()).optional().describe("Args override"),
|
|
5953
|
+
resources: z.object({
|
|
5954
|
+
requestsCpu: z.string().optional(),
|
|
5955
|
+
requestsMemory: z.string().optional(),
|
|
5956
|
+
limitsCpu: z.string().optional(),
|
|
5957
|
+
limitsMemory: z.string().optional()
|
|
5958
|
+
}).optional().describe("Per-container CPU/memory requests + limits")
|
|
5959
|
+
});
|
|
5960
|
+
var containersSchema = z.array(containerSpecSchema).describe("Container specifications");
|
|
5943
5961
|
function registerSandboxTools(server, ctx, track) {
|
|
5944
5962
|
const w = ctx.gql.workspace;
|
|
5945
5963
|
const tool = (name, title, description, inputSchema, handler) => {
|