@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.
|
@@ -7813,9 +7813,27 @@ var storageSchema = zod.z.object({
|
|
|
7813
7813
|
mountPath: zod.z.string().optional(),
|
|
7814
7814
|
retainOnDelete: zod.z.boolean().optional()
|
|
7815
7815
|
});
|
|
7816
|
-
var
|
|
7817
|
-
"Container
|
|
7818
|
-
)
|
|
7816
|
+
var containerSpecSchema = zod.z.object({
|
|
7817
|
+
name: zod.z.string().describe("Container name"),
|
|
7818
|
+
image: zod.z.string().describe("Container image reference"),
|
|
7819
|
+
ports: zod.z.array(
|
|
7820
|
+
zod.z.object({
|
|
7821
|
+
containerPort: zod.z.number().describe("Port exposed inside the container"),
|
|
7822
|
+
name: zod.z.string().optional().describe("Port name"),
|
|
7823
|
+
protocol: zod.z.string().optional().describe("TCP | UDP (default TCP)")
|
|
7824
|
+
})
|
|
7825
|
+
).optional().describe("Exposed ports"),
|
|
7826
|
+
env: zod.z.array(zod.z.object({ name: zod.z.string(), value: zod.z.string() })).optional().describe("Environment variables"),
|
|
7827
|
+
command: zod.z.array(zod.z.string()).optional().describe("Entrypoint override"),
|
|
7828
|
+
args: zod.z.array(zod.z.string()).optional().describe("Args override"),
|
|
7829
|
+
resources: zod.z.object({
|
|
7830
|
+
requestsCpu: zod.z.string().optional(),
|
|
7831
|
+
requestsMemory: zod.z.string().optional(),
|
|
7832
|
+
limitsCpu: zod.z.string().optional(),
|
|
7833
|
+
limitsMemory: zod.z.string().optional()
|
|
7834
|
+
}).optional().describe("Per-container CPU/memory requests + limits")
|
|
7835
|
+
});
|
|
7836
|
+
var containersSchema = zod.z.array(containerSpecSchema).describe("Container specifications");
|
|
7819
7837
|
function registerSandboxTools(server, ctx, track) {
|
|
7820
7838
|
const w = ctx.gql.workspace;
|
|
7821
7839
|
const tool = (name, title, description, inputSchema, handler) => {
|