@keystrokehq/runpod 0.1.2 → 0.1.4
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/actions/create-cluster.cjs +3 -3
- package/dist/actions/create-cluster.cjs.map +1 -1
- package/dist/actions/create-cluster.d.cts +4 -4
- package/dist/actions/create-cluster.d.mts +4 -4
- package/dist/actions/create-cluster.mjs +3 -3
- package/dist/actions/create-cluster.mjs.map +1 -1
- package/dist/actions/create-secret.cjs +2 -2
- package/dist/actions/create-secret.cjs.map +1 -1
- package/dist/actions/create-secret.d.cts +2 -2
- package/dist/actions/create-secret.d.mts +2 -2
- package/dist/actions/create-secret.mjs +2 -2
- package/dist/actions/create-secret.mjs.map +1 -1
- package/dist/actions/delete-registry-auth.cjs +4 -4
- package/dist/actions/delete-registry-auth.cjs.map +1 -1
- package/dist/actions/delete-registry-auth.d.cts +4 -4
- package/dist/actions/delete-registry-auth.d.mts +4 -4
- package/dist/actions/delete-registry-auth.mjs +4 -4
- package/dist/actions/delete-registry-auth.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +4 -4
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +4 -4
- package/dist/actions/delete-template.d.mts +4 -4
- package/dist/actions/delete-template.mjs +4 -4
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/get-gpu-types.cjs +1 -1
- package/dist/actions/get-gpu-types.cjs.map +1 -1
- package/dist/actions/get-gpu-types.d.cts +1 -1
- package/dist/actions/get-gpu-types.d.mts +1 -1
- package/dist/actions/get-gpu-types.mjs +1 -1
- package/dist/actions/get-gpu-types.mjs.map +1 -1
- package/dist/actions/get-myself.cjs +2 -2
- package/dist/actions/get-myself.cjs.map +1 -1
- package/dist/actions/get-myself.d.cts +2 -2
- package/dist/actions/get-myself.d.mts +2 -2
- package/dist/actions/get-myself.mjs +2 -2
- package/dist/actions/get-myself.mjs.map +1 -1
- package/dist/actions/get-pod.cjs +2 -2
- package/dist/actions/get-pod.cjs.map +1 -1
- package/dist/actions/get-pod.d.cts +2 -2
- package/dist/actions/get-pod.d.mts +2 -2
- package/dist/actions/get-pod.mjs +2 -2
- package/dist/actions/get-pod.mjs.map +1 -1
- package/dist/actions/list-cpu-types.cjs +3 -3
- package/dist/actions/list-cpu-types.cjs.map +1 -1
- package/dist/actions/list-cpu-types.d.cts +3 -3
- package/dist/actions/list-cpu-types.d.mts +3 -3
- package/dist/actions/list-cpu-types.mjs +3 -3
- package/dist/actions/list-cpu-types.mjs.map +1 -1
- package/dist/actions/save-endpoint.cjs +3 -3
- package/dist/actions/save-endpoint.cjs.map +1 -1
- package/dist/actions/save-endpoint.d.cts +3 -3
- package/dist/actions/save-endpoint.d.mts +3 -3
- package/dist/actions/save-endpoint.mjs +3 -3
- package/dist/actions/save-endpoint.mjs.map +1 -1
- package/dist/actions/save-registry-auth.cjs +5 -5
- package/dist/actions/save-registry-auth.cjs.map +1 -1
- package/dist/actions/save-registry-auth.d.cts +5 -5
- package/dist/actions/save-registry-auth.d.mts +5 -5
- package/dist/actions/save-registry-auth.mjs +5 -5
- package/dist/actions/save-registry-auth.mjs.map +1 -1
- package/dist/actions/save-template.cjs +4 -4
- package/dist/actions/save-template.cjs.map +1 -1
- package/dist/actions/save-template.d.cts +5 -4
- package/dist/actions/save-template.d.mts +5 -4
- package/dist/actions/save-template.mjs +4 -4
- package/dist/actions/save-template.mjs.map +1 -1
- package/dist/actions/update-registry-auth.cjs +1 -1
- package/dist/actions/update-registry-auth.cjs.map +1 -1
- package/dist/actions/update-registry-auth.d.cts +1 -1
- package/dist/actions/update-registry-auth.d.mts +1 -1
- package/dist/actions/update-registry-auth.mjs +1 -1
- package/dist/actions/update-registry-auth.mjs.map +1 -1
- package/dist/actions/update-user-settings.cjs +2 -2
- package/dist/actions/update-user-settings.cjs.map +1 -1
- package/dist/actions/update-user-settings.d.cts +2 -2
- package/dist/actions/update-user-settings.d.mts +2 -2
- package/dist/actions/update-user-settings.mjs +2 -2
- package/dist/actions/update-user-settings.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-registry-auth.mjs","names":[],"sources":["../../src/actions/save-registry-auth.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodSaveRegistryAuthInput = z.object({\n name: z.string().describe(\"A user-defined name for the container registry authentication credential. This name must be unique across all registry authentications in your account.\"),\n password: z.string().describe(\"The password for authenticating with the container registry.\"),\n username: z.string().describe(\"The username for authenticating with the container registry.\"),\n}).describe(\"Request parameters for saving container registry authentication.\");\nconst RunpodSaveRegistryAuth_SaveRegistryAuthDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the saved registry authentication credential.\").nullable(),\n name: z.string().describe(\"The user-defined name of the registry authentication credential.\").nullable(),\n userId: z.string().describe(\"The ID of the user who owns this registry authentication credential.\").nullable().optional(),\n registryAuth: z.string().describe(\"The encoded authentication string for the container registry.\").nullable().optional(),\n}).describe(\"The registry authentication object returned by the saveRegistryAuth mutation.\");\nconst RunpodSaveRegistryAuth_SaveRegistryAuthResponseDataSchema = z.object({\n saveRegistryAuth: RunpodSaveRegistryAuth_SaveRegistryAuthDataSchema.nullable(),\n}).describe(\"Data field containing the mutation result.\");\nconst RunpodSaveRegistryAuth_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"Path to the field in the response that caused the error.\").nullable().optional(),\n message: z.string().describe(\"Human-readable description of the error that occurred.\").nullable(),\n locations: z.array(z.
|
|
1
|
+
{"version":3,"file":"save-registry-auth.mjs","names":[],"sources":["../../src/actions/save-registry-auth.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodSaveRegistryAuthInput = z.object({\n name: z.string().describe(\"A user-defined name for the container registry authentication credential. This name must be unique across all registry authentications in your account.\"),\n password: z.string().describe(\"The password for authenticating with the container registry.\"),\n username: z.string().describe(\"The username for authenticating with the container registry.\"),\n}).describe(\"Request parameters for saving container registry authentication.\");\nconst RunpodSaveRegistryAuth_SaveRegistryAuthDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the saved registry authentication credential.\").nullable(),\n name: z.string().describe(\"The user-defined name of the registry authentication credential.\").nullable(),\n userId: z.string().describe(\"The ID of the user who owns this registry authentication credential.\").nullable().optional(),\n registryAuth: z.string().describe(\"The encoded authentication string for the container registry.\").nullable().optional(),\n}).passthrough().describe(\"The registry authentication object returned by the saveRegistryAuth mutation.\");\nconst RunpodSaveRegistryAuth_SaveRegistryAuthResponseDataSchema = z.object({\n saveRegistryAuth: RunpodSaveRegistryAuth_SaveRegistryAuthDataSchema.nullable(),\n}).passthrough().describe(\"Data field containing the mutation result.\");\nconst RunpodSaveRegistryAuth_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"Path to the field in the response that caused the error.\").nullable().optional(),\n message: z.string().describe(\"Human-readable description of the error that occurred.\").nullable(),\n locations: z.array(z.record(z.string(), z.unknown())).describe(\"Array indicating where in the GraphQL operation the error occurred.\").nullable().optional(),\n}).passthrough().describe(\"GraphQL error object.\");\nexport const RunpodSaveRegistryAuthOutput = z.object({\n data: RunpodSaveRegistryAuth_SaveRegistryAuthResponseDataSchema.nullable().optional(),\n errors: z.array(RunpodSaveRegistryAuth_GraphQLErrorSchema).describe(\"Array of error objects returned if the mutation encounters issues. Absent if no errors occurred.\").nullable().optional(),\n}).passthrough().describe(\"Response from the saveRegistryAuth mutation.\");\n\nexport const runpodSaveRegistryAuth = action(\"RUNPOD_SAVE_REGISTRY_AUTH\", {\n slug: \"runpod-save-registry-auth\",\n name: \"Save Container Registry Authentication\",\n description: \"Tool to save container registry authentication credentials for accessing private Docker images in RunPod. Use when you need to store credentials for a private container registry.\",\n input: RunpodSaveRegistryAuthInput,\n output: RunpodSaveRegistryAuthOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ;CACnL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AAC9F,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,oDAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC3G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACvG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAA+E;AACzG,MAAM,4DAA4D,EAAE,OAAO,EACzE,kBAAkB,kDAAkD,SAAS,EAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChG,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AAMjD,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,0DAA0D,SAAS,CAAC,CAAC,SAAS;EACpF,QAAQ,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const RunpodSaveTemplateInput = zod.z.object({
|
|
|
5
5
|
env: zod.z.array(zod.z.object({
|
|
6
6
|
key: zod.z.string().describe("Environment variable name"),
|
|
7
7
|
value: zod.z.string().describe("Environment variable value")
|
|
8
|
-
}).describe("Environment variable key-value pair for the template.")).describe("List of environment variables to set in the container. Each entry must have 'key' and 'value' fields. Pass empty array if no env vars needed.").optional(),
|
|
8
|
+
}).passthrough().describe("Environment variable key-value pair for the template.")).describe("List of environment variables to set in the container. Each entry must have 'key' and 'value' fields. Pass empty array if no env vars needed.").optional(),
|
|
9
9
|
name: zod.z.string().describe("Unique name for the template. Must be unique across your account. Used to identify the template for pod or serverless deployment."),
|
|
10
10
|
ports: zod.z.string().describe("Comma-separated list of ports to expose from the container. Format: 'port/protocol' or just 'port'. Example: '8080/http,8888/http'").optional(),
|
|
11
11
|
readme: zod.z.string().describe("Markdown-formatted readme documentation for the template. Use this to document usage instructions, requirements, and configuration details.").optional(),
|
|
@@ -28,12 +28,12 @@ const RunpodSaveTemplate_SavedTemplateSchema = zod.z.object({
|
|
|
28
28
|
volumeInGb: zod.z.number().int().describe("Network volume size in GB").nullable(),
|
|
29
29
|
volumeMountPath: zod.z.string().describe("Volume mount path inside the container").nullable().optional(),
|
|
30
30
|
containerDiskInGb: zod.z.number().int().describe("Container disk size in GB").nullable()
|
|
31
|
-
}).describe("Details of the saved template.");
|
|
32
|
-
const RunpodSaveTemplate_SaveTemplateResponseDataSchema = zod.z.object({ saveTemplate: RunpodSaveTemplate_SavedTemplateSchema.nullable() }).describe("Data wrapper for the saveTemplate mutation response.");
|
|
31
|
+
}).passthrough().describe("Details of the saved template.");
|
|
32
|
+
const RunpodSaveTemplate_SaveTemplateResponseDataSchema = zod.z.object({ saveTemplate: RunpodSaveTemplate_SavedTemplateSchema.nullable() }).passthrough().describe("Data wrapper for the saveTemplate mutation response.");
|
|
33
33
|
const RunpodSaveTemplateOutput = zod.z.object({
|
|
34
34
|
data: RunpodSaveTemplate_SaveTemplateResponseDataSchema.nullable().optional(),
|
|
35
35
|
errors: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("GraphQL errors if the mutation failed").nullable().optional()
|
|
36
|
-
}).describe("Response model for the saveTemplate mutation.");
|
|
36
|
+
}).passthrough().describe("Response model for the saveTemplate mutation.");
|
|
37
37
|
const runpodSaveTemplate = require_action.action("RUNPOD_SAVE_TEMPLATE", {
|
|
38
38
|
slug: "runpod-save-template",
|
|
39
39
|
name: "Save Template",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-template.cjs","names":["z","action"],"sources":["../../src/actions/save-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodSaveTemplateInput = z.object({\n env: z.array(z.object({\n key: z.string().describe(\"Environment variable name\"),\n value: z.string().describe(\"Environment variable value\"),\n}).describe(\"Environment variable key-value pair for the template.\")).describe(\"List of environment variables to set in the container. Each entry must have 'key' and 'value' fields. Pass empty array if no env vars needed.\").optional(),\n name: z.string().describe(\"Unique name for the template. Must be unique across your account. Used to identify the template for pod or serverless deployment.\"),\n ports: z.string().describe(\"Comma-separated list of ports to expose from the container. Format: 'port/protocol' or just 'port'. Example: '8080/http,8888/http'\").optional(),\n readme: z.string().describe(\"Markdown-formatted readme documentation for the template. Use this to document usage instructions, requirements, and configuration details.\").optional(),\n image_name: z.string().describe(\"Docker image to use for the template. Can be from Docker Hub or a private registry. Include the full image path with tag.\"),\n docker_args: z.string().default(\"\").describe(\"Additional Docker arguments to pass when starting the container. Use this for advanced Docker configuration. Leave empty if not needed.\").optional(),\n template_id: z.string().describe(\"ID of an existing template to update. Leave empty to create a new template. Provide the template ID to modify an existing template.\").optional(),\n volume_in_gb: z.number().int().describe(\"Network volume size in gigabytes for persistent storage. Set to 0 if no persistent volume is needed. For serverless templates, always use 0.\"),\n is_serverless: z.boolean().describe(\"Whether this template is for serverless endpoints (true) or standard pods (false). Serverless templates must have volumeInGb set to 0.\"),\n volume_mount_path: z.string().describe(\"Mount path for the network volume inside the container. Only applicable if volumeInGb > 0. Example: /workspace or /data\").optional(),\n container_disk_in_gb: z.number().int().describe(\"Container disk size in gigabytes. This is ephemeral storage that gets reset on pod restart. Minimum 10 GB recommended. Used for temporary files and cache.\"),\n}).describe(\"Request model for creating or updating a RunPod template.\");\nconst RunpodSaveTemplate_SavedTemplateSchema = z.object({\n id: z.string().describe(\"Unique identifier of the saved template\").nullable(),\n env: z.array(z.record(z.string(), z.unknown())).describe(\"Environment variables configured for the template\").nullable().optional(),\n name: z.string().describe(\"Name of the template\").nullable(),\n ports: z.string().describe(\"Exposed ports configuration\").nullable().optional(),\n readme: z.string().describe(\"Template readme documentation\").nullable().optional(),\n imageName: z.string().describe(\"Docker image used by the template\").nullable(),\n dockerArgs: z.string().describe(\"Docker arguments for the container\").nullable(),\n volumeInGb: z.number().int().describe(\"Network volume size in GB\").nullable(),\n volumeMountPath: z.string().describe(\"Volume mount path inside the container\").nullable().optional(),\n containerDiskInGb: z.number().int().describe(\"Container disk size in GB\").nullable(),\n}).describe(\"Details of the saved template.\");\nconst RunpodSaveTemplate_SaveTemplateResponseDataSchema = z.object({\n saveTemplate: RunpodSaveTemplate_SavedTemplateSchema.nullable(),\n}).describe(\"Data wrapper for the saveTemplate mutation response.\");\nexport const RunpodSaveTemplateOutput = z.object({\n data: RunpodSaveTemplate_SaveTemplateResponseDataSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"GraphQL errors if the mutation failed\").nullable().optional(),\n}).describe(\"Response model for the saveTemplate mutation.\");\n\nexport const runpodSaveTemplate = action(\"RUNPOD_SAVE_TEMPLATE\", {\n slug: \"runpod-save-template\",\n name: \"Save Template\",\n description: \"Tool to create a new RunPod template or update an existing one with container configuration. Use when you need to define reusable pod/serverless configurations with specific images, environment variables, and resource allocations. For serverless templates, always set volumeInGb to 0.\",\n input: RunpodSaveTemplateInput,\n output: RunpodSaveTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACtB,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACzD,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"save-template.cjs","names":["z","action"],"sources":["../../src/actions/save-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodSaveTemplateInput = z.object({\n env: z.array(z.object({\n key: z.string().describe(\"Environment variable name\"),\n value: z.string().describe(\"Environment variable value\"),\n}).passthrough().describe(\"Environment variable key-value pair for the template.\")).describe(\"List of environment variables to set in the container. Each entry must have 'key' and 'value' fields. Pass empty array if no env vars needed.\").optional(),\n name: z.string().describe(\"Unique name for the template. Must be unique across your account. Used to identify the template for pod or serverless deployment.\"),\n ports: z.string().describe(\"Comma-separated list of ports to expose from the container. Format: 'port/protocol' or just 'port'. Example: '8080/http,8888/http'\").optional(),\n readme: z.string().describe(\"Markdown-formatted readme documentation for the template. Use this to document usage instructions, requirements, and configuration details.\").optional(),\n image_name: z.string().describe(\"Docker image to use for the template. Can be from Docker Hub or a private registry. Include the full image path with tag.\"),\n docker_args: z.string().default(\"\").describe(\"Additional Docker arguments to pass when starting the container. Use this for advanced Docker configuration. Leave empty if not needed.\").optional(),\n template_id: z.string().describe(\"ID of an existing template to update. Leave empty to create a new template. Provide the template ID to modify an existing template.\").optional(),\n volume_in_gb: z.number().int().describe(\"Network volume size in gigabytes for persistent storage. Set to 0 if no persistent volume is needed. For serverless templates, always use 0.\"),\n is_serverless: z.boolean().describe(\"Whether this template is for serverless endpoints (true) or standard pods (false). Serverless templates must have volumeInGb set to 0.\"),\n volume_mount_path: z.string().describe(\"Mount path for the network volume inside the container. Only applicable if volumeInGb > 0. Example: /workspace or /data\").optional(),\n container_disk_in_gb: z.number().int().describe(\"Container disk size in gigabytes. This is ephemeral storage that gets reset on pod restart. Minimum 10 GB recommended. Used for temporary files and cache.\"),\n}).describe(\"Request model for creating or updating a RunPod template.\");\nconst RunpodSaveTemplate_SavedTemplateSchema = z.object({\n id: z.string().describe(\"Unique identifier of the saved template\").nullable(),\n env: z.array(z.record(z.string(), z.unknown())).describe(\"Environment variables configured for the template\").nullable().optional(),\n name: z.string().describe(\"Name of the template\").nullable(),\n ports: z.string().describe(\"Exposed ports configuration\").nullable().optional(),\n readme: z.string().describe(\"Template readme documentation\").nullable().optional(),\n imageName: z.string().describe(\"Docker image used by the template\").nullable(),\n dockerArgs: z.string().describe(\"Docker arguments for the container\").nullable(),\n volumeInGb: z.number().int().describe(\"Network volume size in GB\").nullable(),\n volumeMountPath: z.string().describe(\"Volume mount path inside the container\").nullable().optional(),\n containerDiskInGb: z.number().int().describe(\"Container disk size in GB\").nullable(),\n}).passthrough().describe(\"Details of the saved template.\");\nconst RunpodSaveTemplate_SaveTemplateResponseDataSchema = z.object({\n saveTemplate: RunpodSaveTemplate_SavedTemplateSchema.nullable(),\n}).passthrough().describe(\"Data wrapper for the saveTemplate mutation response.\");\nexport const RunpodSaveTemplateOutput = z.object({\n data: RunpodSaveTemplate_SaveTemplateResponseDataSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"GraphQL errors if the mutation failed\").nullable().optional(),\n}).passthrough().describe(\"Response model for the saveTemplate mutation.\");\n\nexport const runpodSaveTemplate = action(\"RUNPOD_SAVE_TEMPLATE\", {\n slug: \"runpod-save-template\",\n name: \"Save Template\",\n description: \"Tool to create a new RunPod template or update an existing one with container configuration. Use when you need to define reusable pod/serverless configurations with specific images, environment variables, and resource allocations. For serverless templates, always set volumeInGb to 0.\",\n input: RunpodSaveTemplateInput,\n output: RunpodSaveTemplateOutput,\n});\n"],"mappings":"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"}
|
|
@@ -5,7 +5,7 @@ declare const RunpodSaveTemplateInput: z.ZodObject<{
|
|
|
5
5
|
env: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6
6
|
key: z.ZodString;
|
|
7
7
|
value: z.ZodString;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$loose>>>;
|
|
9
9
|
name: z.ZodString;
|
|
10
10
|
ports: z.ZodOptional<z.ZodString>;
|
|
11
11
|
readme: z.ZodOptional<z.ZodString>;
|
|
@@ -30,10 +30,10 @@ declare const RunpodSaveTemplateOutput: z.ZodObject<{
|
|
|
30
30
|
volumeInGb: z.ZodNullable<z.ZodNumber>;
|
|
31
31
|
volumeMountPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
containerDiskInGb: z.ZodNullable<z.ZodNumber>;
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
|
+
}, z.core.$loose>>>;
|
|
35
35
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>;
|
|
37
37
|
declare const runpodSaveTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
38
|
name: string;
|
|
39
39
|
image_name: string;
|
|
@@ -41,6 +41,7 @@ declare const runpodSaveTemplate: import("@keystrokehq/action").WorkflowActionDe
|
|
|
41
41
|
is_serverless: boolean;
|
|
42
42
|
container_disk_in_gb: number;
|
|
43
43
|
env?: {
|
|
44
|
+
[x: string]: unknown;
|
|
44
45
|
key: string;
|
|
45
46
|
value: string;
|
|
46
47
|
}[] | undefined;
|
|
@@ -5,7 +5,7 @@ declare const RunpodSaveTemplateInput: z.ZodObject<{
|
|
|
5
5
|
env: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6
6
|
key: z.ZodString;
|
|
7
7
|
value: z.ZodString;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$loose>>>;
|
|
9
9
|
name: z.ZodString;
|
|
10
10
|
ports: z.ZodOptional<z.ZodString>;
|
|
11
11
|
readme: z.ZodOptional<z.ZodString>;
|
|
@@ -30,10 +30,10 @@ declare const RunpodSaveTemplateOutput: z.ZodObject<{
|
|
|
30
30
|
volumeInGb: z.ZodNullable<z.ZodNumber>;
|
|
31
31
|
volumeMountPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
containerDiskInGb: z.ZodNullable<z.ZodNumber>;
|
|
33
|
-
}, z.core.$
|
|
34
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
|
+
}, z.core.$loose>>>;
|
|
35
35
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>;
|
|
37
37
|
declare const runpodSaveTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
38
38
|
name: string;
|
|
39
39
|
image_name: string;
|
|
@@ -41,6 +41,7 @@ declare const runpodSaveTemplate: import("@keystrokehq/action").WorkflowActionDe
|
|
|
41
41
|
is_serverless: boolean;
|
|
42
42
|
container_disk_in_gb: number;
|
|
43
43
|
env?: {
|
|
44
|
+
[x: string]: unknown;
|
|
44
45
|
key: string;
|
|
45
46
|
value: string;
|
|
46
47
|
}[] | undefined;
|
|
@@ -5,7 +5,7 @@ const RunpodSaveTemplateInput = z.object({
|
|
|
5
5
|
env: z.array(z.object({
|
|
6
6
|
key: z.string().describe("Environment variable name"),
|
|
7
7
|
value: z.string().describe("Environment variable value")
|
|
8
|
-
}).describe("Environment variable key-value pair for the template.")).describe("List of environment variables to set in the container. Each entry must have 'key' and 'value' fields. Pass empty array if no env vars needed.").optional(),
|
|
8
|
+
}).passthrough().describe("Environment variable key-value pair for the template.")).describe("List of environment variables to set in the container. Each entry must have 'key' and 'value' fields. Pass empty array if no env vars needed.").optional(),
|
|
9
9
|
name: z.string().describe("Unique name for the template. Must be unique across your account. Used to identify the template for pod or serverless deployment."),
|
|
10
10
|
ports: z.string().describe("Comma-separated list of ports to expose from the container. Format: 'port/protocol' or just 'port'. Example: '8080/http,8888/http'").optional(),
|
|
11
11
|
readme: z.string().describe("Markdown-formatted readme documentation for the template. Use this to document usage instructions, requirements, and configuration details.").optional(),
|
|
@@ -28,8 +28,8 @@ const RunpodSaveTemplate_SavedTemplateSchema = z.object({
|
|
|
28
28
|
volumeInGb: z.number().int().describe("Network volume size in GB").nullable(),
|
|
29
29
|
volumeMountPath: z.string().describe("Volume mount path inside the container").nullable().optional(),
|
|
30
30
|
containerDiskInGb: z.number().int().describe("Container disk size in GB").nullable()
|
|
31
|
-
}).describe("Details of the saved template.");
|
|
32
|
-
const RunpodSaveTemplate_SaveTemplateResponseDataSchema = z.object({ saveTemplate: RunpodSaveTemplate_SavedTemplateSchema.nullable() }).describe("Data wrapper for the saveTemplate mutation response.");
|
|
31
|
+
}).passthrough().describe("Details of the saved template.");
|
|
32
|
+
const RunpodSaveTemplate_SaveTemplateResponseDataSchema = z.object({ saveTemplate: RunpodSaveTemplate_SavedTemplateSchema.nullable() }).passthrough().describe("Data wrapper for the saveTemplate mutation response.");
|
|
33
33
|
const runpodSaveTemplate = action("RUNPOD_SAVE_TEMPLATE", {
|
|
34
34
|
slug: "runpod-save-template",
|
|
35
35
|
name: "Save Template",
|
|
@@ -38,7 +38,7 @@ const runpodSaveTemplate = action("RUNPOD_SAVE_TEMPLATE", {
|
|
|
38
38
|
output: z.object({
|
|
39
39
|
data: RunpodSaveTemplate_SaveTemplateResponseDataSchema.nullable().optional(),
|
|
40
40
|
errors: z.array(z.record(z.string(), z.unknown())).describe("GraphQL errors if the mutation failed").nullable().optional()
|
|
41
|
-
}).describe("Response model for the saveTemplate mutation.")
|
|
41
|
+
}).passthrough().describe("Response model for the saveTemplate mutation.")
|
|
42
42
|
});
|
|
43
43
|
//#endregion
|
|
44
44
|
export { runpodSaveTemplate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-template.mjs","names":[],"sources":["../../src/actions/save-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodSaveTemplateInput = z.object({\n env: z.array(z.object({\n key: z.string().describe(\"Environment variable name\"),\n value: z.string().describe(\"Environment variable value\"),\n}).describe(\"Environment variable key-value pair for the template.\")).describe(\"List of environment variables to set in the container. Each entry must have 'key' and 'value' fields. Pass empty array if no env vars needed.\").optional(),\n name: z.string().describe(\"Unique name for the template. Must be unique across your account. Used to identify the template for pod or serverless deployment.\"),\n ports: z.string().describe(\"Comma-separated list of ports to expose from the container. Format: 'port/protocol' or just 'port'. Example: '8080/http,8888/http'\").optional(),\n readme: z.string().describe(\"Markdown-formatted readme documentation for the template. Use this to document usage instructions, requirements, and configuration details.\").optional(),\n image_name: z.string().describe(\"Docker image to use for the template. Can be from Docker Hub or a private registry. Include the full image path with tag.\"),\n docker_args: z.string().default(\"\").describe(\"Additional Docker arguments to pass when starting the container. Use this for advanced Docker configuration. Leave empty if not needed.\").optional(),\n template_id: z.string().describe(\"ID of an existing template to update. Leave empty to create a new template. Provide the template ID to modify an existing template.\").optional(),\n volume_in_gb: z.number().int().describe(\"Network volume size in gigabytes for persistent storage. Set to 0 if no persistent volume is needed. For serverless templates, always use 0.\"),\n is_serverless: z.boolean().describe(\"Whether this template is for serverless endpoints (true) or standard pods (false). Serverless templates must have volumeInGb set to 0.\"),\n volume_mount_path: z.string().describe(\"Mount path for the network volume inside the container. Only applicable if volumeInGb > 0. Example: /workspace or /data\").optional(),\n container_disk_in_gb: z.number().int().describe(\"Container disk size in gigabytes. This is ephemeral storage that gets reset on pod restart. Minimum 10 GB recommended. Used for temporary files and cache.\"),\n}).describe(\"Request model for creating or updating a RunPod template.\");\nconst RunpodSaveTemplate_SavedTemplateSchema = z.object({\n id: z.string().describe(\"Unique identifier of the saved template\").nullable(),\n env: z.array(z.record(z.string(), z.unknown())).describe(\"Environment variables configured for the template\").nullable().optional(),\n name: z.string().describe(\"Name of the template\").nullable(),\n ports: z.string().describe(\"Exposed ports configuration\").nullable().optional(),\n readme: z.string().describe(\"Template readme documentation\").nullable().optional(),\n imageName: z.string().describe(\"Docker image used by the template\").nullable(),\n dockerArgs: z.string().describe(\"Docker arguments for the container\").nullable(),\n volumeInGb: z.number().int().describe(\"Network volume size in GB\").nullable(),\n volumeMountPath: z.string().describe(\"Volume mount path inside the container\").nullable().optional(),\n containerDiskInGb: z.number().int().describe(\"Container disk size in GB\").nullable(),\n}).describe(\"Details of the saved template.\");\nconst RunpodSaveTemplate_SaveTemplateResponseDataSchema = z.object({\n saveTemplate: RunpodSaveTemplate_SavedTemplateSchema.nullable(),\n}).describe(\"Data wrapper for the saveTemplate mutation response.\");\nexport const RunpodSaveTemplateOutput = z.object({\n data: RunpodSaveTemplate_SaveTemplateResponseDataSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"GraphQL errors if the mutation failed\").nullable().optional(),\n}).describe(\"Response model for the saveTemplate mutation.\");\n\nexport const runpodSaveTemplate = action(\"RUNPOD_SAVE_TEMPLATE\", {\n slug: \"runpod-save-template\",\n name: \"Save Template\",\n description: \"Tool to create a new RunPod template or update an existing one with container configuration. Use when you need to define reusable pod/serverless configurations with specific images, environment variables, and resource allocations. For serverless templates, always set volumeInGb to 0.\",\n input: RunpodSaveTemplateInput,\n output: RunpodSaveTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,KAAK,EAAE,MAAM,EAAE,OAAO;EACtB,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACzD,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"save-template.mjs","names":[],"sources":["../../src/actions/save-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodSaveTemplateInput = z.object({\n env: z.array(z.object({\n key: z.string().describe(\"Environment variable name\"),\n value: z.string().describe(\"Environment variable value\"),\n}).passthrough().describe(\"Environment variable key-value pair for the template.\")).describe(\"List of environment variables to set in the container. Each entry must have 'key' and 'value' fields. Pass empty array if no env vars needed.\").optional(),\n name: z.string().describe(\"Unique name for the template. Must be unique across your account. Used to identify the template for pod or serverless deployment.\"),\n ports: z.string().describe(\"Comma-separated list of ports to expose from the container. Format: 'port/protocol' or just 'port'. Example: '8080/http,8888/http'\").optional(),\n readme: z.string().describe(\"Markdown-formatted readme documentation for the template. Use this to document usage instructions, requirements, and configuration details.\").optional(),\n image_name: z.string().describe(\"Docker image to use for the template. Can be from Docker Hub or a private registry. Include the full image path with tag.\"),\n docker_args: z.string().default(\"\").describe(\"Additional Docker arguments to pass when starting the container. Use this for advanced Docker configuration. Leave empty if not needed.\").optional(),\n template_id: z.string().describe(\"ID of an existing template to update. Leave empty to create a new template. Provide the template ID to modify an existing template.\").optional(),\n volume_in_gb: z.number().int().describe(\"Network volume size in gigabytes for persistent storage. Set to 0 if no persistent volume is needed. For serverless templates, always use 0.\"),\n is_serverless: z.boolean().describe(\"Whether this template is for serverless endpoints (true) or standard pods (false). Serverless templates must have volumeInGb set to 0.\"),\n volume_mount_path: z.string().describe(\"Mount path for the network volume inside the container. Only applicable if volumeInGb > 0. Example: /workspace or /data\").optional(),\n container_disk_in_gb: z.number().int().describe(\"Container disk size in gigabytes. This is ephemeral storage that gets reset on pod restart. Minimum 10 GB recommended. Used for temporary files and cache.\"),\n}).describe(\"Request model for creating or updating a RunPod template.\");\nconst RunpodSaveTemplate_SavedTemplateSchema = z.object({\n id: z.string().describe(\"Unique identifier of the saved template\").nullable(),\n env: z.array(z.record(z.string(), z.unknown())).describe(\"Environment variables configured for the template\").nullable().optional(),\n name: z.string().describe(\"Name of the template\").nullable(),\n ports: z.string().describe(\"Exposed ports configuration\").nullable().optional(),\n readme: z.string().describe(\"Template readme documentation\").nullable().optional(),\n imageName: z.string().describe(\"Docker image used by the template\").nullable(),\n dockerArgs: z.string().describe(\"Docker arguments for the container\").nullable(),\n volumeInGb: z.number().int().describe(\"Network volume size in GB\").nullable(),\n volumeMountPath: z.string().describe(\"Volume mount path inside the container\").nullable().optional(),\n containerDiskInGb: z.number().int().describe(\"Container disk size in GB\").nullable(),\n}).passthrough().describe(\"Details of the saved template.\");\nconst RunpodSaveTemplate_SaveTemplateResponseDataSchema = z.object({\n saveTemplate: RunpodSaveTemplate_SavedTemplateSchema.nullable(),\n}).passthrough().describe(\"Data wrapper for the saveTemplate mutation response.\");\nexport const RunpodSaveTemplateOutput = z.object({\n data: RunpodSaveTemplate_SaveTemplateResponseDataSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"GraphQL errors if the mutation failed\").nullable().optional(),\n}).passthrough().describe(\"Response model for the saveTemplate mutation.\");\n\nexport const runpodSaveTemplate = action(\"RUNPOD_SAVE_TEMPLATE\", {\n slug: \"runpod-save-template\",\n name: \"Save Template\",\n description: \"Tool to create a new RunPod template or update an existing one with container configuration. Use when you need to define reusable pod/serverless configurations with specific images, environment variables, and resource allocations. For serverless templates, always set volumeInGb to 0.\",\n input: RunpodSaveTemplateInput,\n output: RunpodSaveTemplateOutput,\n});\n"],"mappings":"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"}
|
|
@@ -9,7 +9,7 @@ const RunpodUpdateRegistryAuthInput = zod.z.object({
|
|
|
9
9
|
const RunpodUpdateRegistryAuthOutput = zod.z.object({
|
|
10
10
|
id: zod.z.string().describe("The unique identifier of the updated registry authentication credential").nullable(),
|
|
11
11
|
name: zod.z.string().describe("The name of the updated registry authentication credential").nullable()
|
|
12
|
-
});
|
|
12
|
+
}).passthrough();
|
|
13
13
|
const runpodUpdateRegistryAuth = require_action.action("RUNPOD_UPDATE_REGISTRY_AUTH", {
|
|
14
14
|
slug: "runpod-update-registry-auth",
|
|
15
15
|
name: "Update Registry Auth",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-registry-auth.cjs","names":["z","action"],"sources":["../../src/actions/update-registry-auth.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodUpdateRegistryAuthInput = z.object({\n id: z.string().describe(\"The authentication credential identifier to update\"),\n password: z.string().describe(\"The new password for registry authentication\"),\n username: z.string().describe(\"The new username for registry authentication\"),\n});\nexport const RunpodUpdateRegistryAuthOutput = z.object({\n id: z.string().describe(\"The unique identifier of the updated registry authentication credential\").nullable(),\n name: z.string().describe(\"The name of the updated registry authentication credential\").nullable(),\n});\n\nexport const runpodUpdateRegistryAuth = action(\"RUNPOD_UPDATE_REGISTRY_AUTH\", {\n slug: \"runpod-update-registry-auth\",\n name: \"Update Registry Auth\",\n description: \"Tool to update existing container registry authentication credentials in RunPod. Use when you need to modify the username or password for an existing registry authentication.\",\n input: RunpodUpdateRegistryAuthInput,\n output: RunpodUpdateRegistryAuthOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAC9E,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACnG,CAAC;
|
|
1
|
+
{"version":3,"file":"update-registry-auth.cjs","names":["z","action"],"sources":["../../src/actions/update-registry-auth.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodUpdateRegistryAuthInput = z.object({\n id: z.string().describe(\"The authentication credential identifier to update\"),\n password: z.string().describe(\"The new password for registry authentication\"),\n username: z.string().describe(\"The new username for registry authentication\"),\n});\nexport const RunpodUpdateRegistryAuthOutput = z.object({\n id: z.string().describe(\"The unique identifier of the updated registry authentication credential\").nullable(),\n name: z.string().describe(\"The name of the updated registry authentication credential\").nullable(),\n}).passthrough();\n\nexport const runpodUpdateRegistryAuth = action(\"RUNPOD_UPDATE_REGISTRY_AUTH\", {\n slug: \"runpod-update-registry-auth\",\n name: \"Update Registry Auth\",\n description: \"Tool to update existing container registry authentication credentials in RunPod. Use when you need to modify the username or password for an existing registry authentication.\",\n input: RunpodUpdateRegistryAuthInput,\n output: RunpodUpdateRegistryAuthOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAC9E,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ declare const RunpodUpdateRegistryAuthInput: z.ZodObject<{
|
|
|
9
9
|
declare const RunpodUpdateRegistryAuthOutput: z.ZodObject<{
|
|
10
10
|
id: z.ZodNullable<z.ZodString>;
|
|
11
11
|
name: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const runpodUpdateRegistryAuth: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
id: string;
|
|
15
15
|
password: string;
|
|
@@ -9,7 +9,7 @@ declare const RunpodUpdateRegistryAuthInput: z.ZodObject<{
|
|
|
9
9
|
declare const RunpodUpdateRegistryAuthOutput: z.ZodObject<{
|
|
10
10
|
id: z.ZodNullable<z.ZodString>;
|
|
11
11
|
name: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const runpodUpdateRegistryAuth: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
id: string;
|
|
15
15
|
password: string;
|
|
@@ -12,7 +12,7 @@ const runpodUpdateRegistryAuth = action("RUNPOD_UPDATE_REGISTRY_AUTH", {
|
|
|
12
12
|
output: z.object({
|
|
13
13
|
id: z.string().describe("The unique identifier of the updated registry authentication credential").nullable(),
|
|
14
14
|
name: z.string().describe("The name of the updated registry authentication credential").nullable()
|
|
15
|
-
})
|
|
15
|
+
}).passthrough()
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { runpodUpdateRegistryAuth };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-registry-auth.mjs","names":[],"sources":["../../src/actions/update-registry-auth.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodUpdateRegistryAuthInput = z.object({\n id: z.string().describe(\"The authentication credential identifier to update\"),\n password: z.string().describe(\"The new password for registry authentication\"),\n username: z.string().describe(\"The new username for registry authentication\"),\n});\nexport const RunpodUpdateRegistryAuthOutput = z.object({\n id: z.string().describe(\"The unique identifier of the updated registry authentication credential\").nullable(),\n name: z.string().describe(\"The name of the updated registry authentication credential\").nullable(),\n});\n\nexport const runpodUpdateRegistryAuth = action(\"RUNPOD_UPDATE_REGISTRY_AUTH\", {\n slug: \"runpod-update-registry-auth\",\n name: \"Update Registry Auth\",\n description: \"Tool to update existing container registry authentication credentials in RunPod. Use when you need to modify the username or password for an existing registry authentication.\",\n input: RunpodUpdateRegistryAuthInput,\n output: RunpodUpdateRegistryAuthOutput,\n});\n"],"mappings":";;AAcA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,CAUS;CACP,QAV4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC5G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,
|
|
1
|
+
{"version":3,"file":"update-registry-auth.mjs","names":[],"sources":["../../src/actions/update-registry-auth.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodUpdateRegistryAuthInput = z.object({\n id: z.string().describe(\"The authentication credential identifier to update\"),\n password: z.string().describe(\"The new password for registry authentication\"),\n username: z.string().describe(\"The new username for registry authentication\"),\n});\nexport const RunpodUpdateRegistryAuthOutput = z.object({\n id: z.string().describe(\"The unique identifier of the updated registry authentication credential\").nullable(),\n name: z.string().describe(\"The name of the updated registry authentication credential\").nullable(),\n}).passthrough();\n\nexport const runpodUpdateRegistryAuth = action(\"RUNPOD_UPDATE_REGISTRY_AUTH\", {\n slug: \"runpod-update-registry-auth\",\n name: \"Update Registry Auth\",\n description: \"Tool to update existing container registry authentication credentials in RunPod. Use when you need to modify the username or password for an existing registry authentication.\",\n input: RunpodUpdateRegistryAuthInput,\n output: RunpodUpdateRegistryAuthOutput,\n});\n"],"mappings":";;AAcA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,CAUS;CACP,QAV4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC5G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -5,11 +5,11 @@ const RunpodUpdateUserSettingsInput = zod.z.object({ pub_key: zod.z.string().des
|
|
|
5
5
|
const RunpodUpdateUserSettings_UserSettingsSchema = zod.z.object({
|
|
6
6
|
id: zod.z.string().describe("The unique identifier of the user.").nullable().optional(),
|
|
7
7
|
pubKey: zod.z.string().describe("The SSH public key that was set for the user account.").nullable().optional()
|
|
8
|
-
}).describe("User settings details returned after updating.");
|
|
8
|
+
}).passthrough().describe("User settings details returned after updating.");
|
|
9
9
|
const RunpodUpdateUserSettingsOutput = zod.z.object({
|
|
10
10
|
errors: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Any GraphQL errors returned by the API.").nullable().optional(),
|
|
11
11
|
user_settings: RunpodUpdateUserSettings_UserSettingsSchema.nullable().optional()
|
|
12
|
-
}).describe("Response model for RUNPOD_GRAPHQL_UPDATE_USER_SETTINGS.");
|
|
12
|
+
}).passthrough().describe("Response model for RUNPOD_GRAPHQL_UPDATE_USER_SETTINGS.");
|
|
13
13
|
const runpodUpdateUserSettings = require_action.action("RUNPOD_UPDATE_USER_SETTINGS", {
|
|
14
14
|
slug: "runpod-update-user-settings",
|
|
15
15
|
name: "Update User Settings",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user-settings.cjs","names":["z","action"],"sources":["../../src/actions/update-user-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodUpdateUserSettingsInput = z.object({\n pub_key: z.string().describe(\"SSH public key to associate with the user account. This key will be used for SSH access to pods. Must be a valid SSH public key in OpenSSH format (e.g., 'ssh-rsa AAAAB3...' or 'ssh-ed25519 AAAAC3...').\"),\n}).describe(\"Request model for RUNPOD_GRAPHQL_UPDATE_USER_SETTINGS.\");\nconst RunpodUpdateUserSettings_UserSettingsSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n pubKey: z.string().describe(\"The SSH public key that was set for the user account.\").nullable().optional(),\n}).describe(\"User settings details returned after updating.\");\nexport const RunpodUpdateUserSettingsOutput = z.object({\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any GraphQL errors returned by the API.\").nullable().optional(),\n user_settings: RunpodUpdateUserSettings_UserSettingsSchema.nullable().optional(),\n}).describe(\"Response model for RUNPOD_GRAPHQL_UPDATE_USER_SETTINGS.\");\n\nexport const runpodUpdateUserSettings = action(\"RUNPOD_UPDATE_USER_SETTINGS\", {\n slug: \"runpod-update-user-settings\",\n name: \"Update User Settings\",\n description: \"Tool to update current user settings (e.g., SSH public key) in RunPod. Use when you need to configure SSH access to pods by setting the user's SSH public key.\",\n input: RunpodUpdateUserSettingsInput,\n output: RunpodUpdateUserSettingsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M,EAC1O,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"update-user-settings.cjs","names":["z","action"],"sources":["../../src/actions/update-user-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodUpdateUserSettingsInput = z.object({\n pub_key: z.string().describe(\"SSH public key to associate with the user account. This key will be used for SSH access to pods. Must be a valid SSH public key in OpenSSH format (e.g., 'ssh-rsa AAAAB3...' or 'ssh-ed25519 AAAAC3...').\"),\n}).describe(\"Request model for RUNPOD_GRAPHQL_UPDATE_USER_SETTINGS.\");\nconst RunpodUpdateUserSettings_UserSettingsSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n pubKey: z.string().describe(\"The SSH public key that was set for the user account.\").nullable().optional(),\n}).passthrough().describe(\"User settings details returned after updating.\");\nexport const RunpodUpdateUserSettingsOutput = z.object({\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any GraphQL errors returned by the API.\").nullable().optional(),\n user_settings: RunpodUpdateUserSettings_UserSettingsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for RUNPOD_GRAPHQL_UPDATE_USER_SETTINGS.\");\n\nexport const runpodUpdateUserSettings = action(\"RUNPOD_UPDATE_USER_SETTINGS\", {\n slug: \"runpod-update-user-settings\",\n name: \"Update User Settings\",\n description: \"Tool to update current user settings (e.g., SSH public key) in RunPod. Use when you need to configure SSH access to pods by setting the user's SSH public key.\",\n input: RunpodUpdateUserSettingsInput,\n output: RunpodUpdateUserSettingsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M,EAC1O,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,eAAe,4CAA4C,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,8 +9,8 @@ declare const RunpodUpdateUserSettingsOutput: z.ZodObject<{
|
|
|
9
9
|
user_settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10
10
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
pubKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const runpodUpdateUserSettings: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
pub_key: string;
|
|
16
16
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,8 +9,8 @@ declare const RunpodUpdateUserSettingsOutput: z.ZodObject<{
|
|
|
9
9
|
user_settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10
10
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
pubKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const runpodUpdateUserSettings: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
pub_key: string;
|
|
16
16
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const RunpodUpdateUserSettingsInput = z.object({ pub_key: z.string().describe("S
|
|
|
5
5
|
const RunpodUpdateUserSettings_UserSettingsSchema = z.object({
|
|
6
6
|
id: z.string().describe("The unique identifier of the user.").nullable().optional(),
|
|
7
7
|
pubKey: z.string().describe("The SSH public key that was set for the user account.").nullable().optional()
|
|
8
|
-
}).describe("User settings details returned after updating.");
|
|
8
|
+
}).passthrough().describe("User settings details returned after updating.");
|
|
9
9
|
const runpodUpdateUserSettings = action("RUNPOD_UPDATE_USER_SETTINGS", {
|
|
10
10
|
slug: "runpod-update-user-settings",
|
|
11
11
|
name: "Update User Settings",
|
|
@@ -14,7 +14,7 @@ const runpodUpdateUserSettings = action("RUNPOD_UPDATE_USER_SETTINGS", {
|
|
|
14
14
|
output: z.object({
|
|
15
15
|
errors: z.array(z.record(z.string(), z.unknown())).describe("Any GraphQL errors returned by the API.").nullable().optional(),
|
|
16
16
|
user_settings: RunpodUpdateUserSettings_UserSettingsSchema.nullable().optional()
|
|
17
|
-
}).describe("Response model for RUNPOD_GRAPHQL_UPDATE_USER_SETTINGS.")
|
|
17
|
+
}).passthrough().describe("Response model for RUNPOD_GRAPHQL_UPDATE_USER_SETTINGS.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { runpodUpdateUserSettings };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user-settings.mjs","names":[],"sources":["../../src/actions/update-user-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodUpdateUserSettingsInput = z.object({\n pub_key: z.string().describe(\"SSH public key to associate with the user account. This key will be used for SSH access to pods. Must be a valid SSH public key in OpenSSH format (e.g., 'ssh-rsa AAAAB3...' or 'ssh-ed25519 AAAAC3...').\"),\n}).describe(\"Request model for RUNPOD_GRAPHQL_UPDATE_USER_SETTINGS.\");\nconst RunpodUpdateUserSettings_UserSettingsSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n pubKey: z.string().describe(\"The SSH public key that was set for the user account.\").nullable().optional(),\n}).describe(\"User settings details returned after updating.\");\nexport const RunpodUpdateUserSettingsOutput = z.object({\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any GraphQL errors returned by the API.\").nullable().optional(),\n user_settings: RunpodUpdateUserSettings_UserSettingsSchema.nullable().optional(),\n}).describe(\"Response model for RUNPOD_GRAPHQL_UPDATE_USER_SETTINGS.\");\n\nexport const runpodUpdateUserSettings = action(\"RUNPOD_UPDATE_USER_SETTINGS\", {\n slug: \"runpod-update-user-settings\",\n name: \"Update User Settings\",\n description: \"Tool to update current user settings (e.g., SSH public key) in RunPod. Use when you need to configure SSH access to pods by setting the user's SSH public key.\",\n input: RunpodUpdateUserSettingsInput,\n output: RunpodUpdateUserSettingsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M,EAC1O,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"update-user-settings.mjs","names":[],"sources":["../../src/actions/update-user-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodUpdateUserSettingsInput = z.object({\n pub_key: z.string().describe(\"SSH public key to associate with the user account. This key will be used for SSH access to pods. Must be a valid SSH public key in OpenSSH format (e.g., 'ssh-rsa AAAAB3...' or 'ssh-ed25519 AAAAC3...').\"),\n}).describe(\"Request model for RUNPOD_GRAPHQL_UPDATE_USER_SETTINGS.\");\nconst RunpodUpdateUserSettings_UserSettingsSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n pubKey: z.string().describe(\"The SSH public key that was set for the user account.\").nullable().optional(),\n}).passthrough().describe(\"User settings details returned after updating.\");\nexport const RunpodUpdateUserSettingsOutput = z.object({\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any GraphQL errors returned by the API.\").nullable().optional(),\n user_settings: RunpodUpdateUserSettings_UserSettingsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for RUNPOD_GRAPHQL_UPDATE_USER_SETTINGS.\");\n\nexport const runpodUpdateUserSettings = action(\"RUNPOD_UPDATE_USER_SETTINGS\", {\n slug: \"runpod-update-user-settings\",\n name: \"Update User Settings\",\n description: \"Tool to update current user settings (e.g., SSH public key) in RunPod. Use when you need to configure SSH access to pods by setting the user's SSH public key.\",\n input: RunpodUpdateUserSettingsInput,\n output: RunpodUpdateUserSettingsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M,EAC1O,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAM1E,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4C,EAAE,OAAO;EACrD,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,eAAe,4CAA4C,SAAS,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -8,7 +8,7 @@ const runpodCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/runpod",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "Sign in and get your API Key from \"Account\" > \"Settings\" > \"API Keys\" at https://www.console.runpod.io/user/settings"
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const runpodCatalog = {\n \"slug\": \"runpod\",\n \"name\": \"RunPod\",\n \"description\": \"The Cloud Built for AI - GPU cloud computing platform for AI and machine learning workloads\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/runpod\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const runpodCatalog = {\n \"slug\": \"runpod\",\n \"name\": \"RunPod\",\n \"description\": \"The Cloud Built for AI - GPU cloud computing platform for AI and machine learning workloads\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/runpod\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Sign in and get your API Key from \\\"Account\\\" > \\\"Settings\\\" > \\\"API Keys\\\" at https://www.console.runpod.io/user/settings\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ declare const runpodCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "Sign in and get your API Key from \"Account\" > \"Settings\" > \"API Keys\" at https://www.console.runpod.io/user/settings";
|
package/dist/catalog.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ declare const runpodCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "Sign in and get your API Key from \"Account\" > \"Settings\" > \"API Keys\" at https://www.console.runpod.io/user/settings";
|
package/dist/catalog.mjs
CHANGED
|
@@ -8,7 +8,7 @@ const runpodCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/runpod",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "Sign in and get your API Key from \"Account\" > \"Settings\" > \"API Keys\" at https://www.console.runpod.io/user/settings"
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const runpodCatalog = {\n \"slug\": \"runpod\",\n \"name\": \"RunPod\",\n \"description\": \"The Cloud Built for AI - GPU cloud computing platform for AI and machine learning workloads\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/runpod\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const runpodCatalog = {\n \"slug\": \"runpod\",\n \"name\": \"RunPod\",\n \"description\": \"The Cloud Built for AI - GPU cloud computing platform for AI and machine learning workloads\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/runpod\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Sign in and get your API Key from \\\"Account\\\" > \\\"Settings\\\" > \\\"API Keys\\\" at https://www.console.runpod.io/user/settings\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|