@keystrokehq/runpod 0.1.0

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.
Files changed (138) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/create-cluster.cjs +59 -0
  7. package/dist/actions/create-cluster.cjs.map +1 -0
  8. package/dist/actions/create-cluster.d.cts +9 -0
  9. package/dist/actions/create-cluster.d.cts.map +1 -0
  10. package/dist/actions/create-cluster.d.mts +9 -0
  11. package/dist/actions/create-cluster.d.mts.map +1 -0
  12. package/dist/actions/create-cluster.mjs +58 -0
  13. package/dist/actions/create-cluster.mjs.map +1 -0
  14. package/dist/actions/create-secret.cjs +25 -0
  15. package/dist/actions/create-secret.cjs.map +1 -0
  16. package/dist/actions/create-secret.d.cts +9 -0
  17. package/dist/actions/create-secret.d.cts.map +1 -0
  18. package/dist/actions/create-secret.d.mts +9 -0
  19. package/dist/actions/create-secret.d.mts.map +1 -0
  20. package/dist/actions/create-secret.mjs +24 -0
  21. package/dist/actions/create-secret.mjs.map +1 -0
  22. package/dist/actions/delete-registry-auth.cjs +25 -0
  23. package/dist/actions/delete-registry-auth.cjs.map +1 -0
  24. package/dist/actions/delete-registry-auth.d.cts +9 -0
  25. package/dist/actions/delete-registry-auth.d.cts.map +1 -0
  26. package/dist/actions/delete-registry-auth.d.mts +9 -0
  27. package/dist/actions/delete-registry-auth.d.mts.map +1 -0
  28. package/dist/actions/delete-registry-auth.mjs +24 -0
  29. package/dist/actions/delete-registry-auth.mjs.map +1 -0
  30. package/dist/actions/delete-template.cjs +25 -0
  31. package/dist/actions/delete-template.cjs.map +1 -0
  32. package/dist/actions/delete-template.d.cts +9 -0
  33. package/dist/actions/delete-template.d.cts.map +1 -0
  34. package/dist/actions/delete-template.d.mts +9 -0
  35. package/dist/actions/delete-template.d.mts.map +1 -0
  36. package/dist/actions/delete-template.mjs +24 -0
  37. package/dist/actions/delete-template.mjs.map +1 -0
  38. package/dist/actions/get-gpu-types.cjs +23 -0
  39. package/dist/actions/get-gpu-types.cjs.map +1 -0
  40. package/dist/actions/get-gpu-types.d.cts +9 -0
  41. package/dist/actions/get-gpu-types.d.cts.map +1 -0
  42. package/dist/actions/get-gpu-types.d.mts +9 -0
  43. package/dist/actions/get-gpu-types.d.mts.map +1 -0
  44. package/dist/actions/get-gpu-types.mjs +20 -0
  45. package/dist/actions/get-gpu-types.mjs.map +1 -0
  46. package/dist/actions/get-myself.cjs +26 -0
  47. package/dist/actions/get-myself.cjs.map +1 -0
  48. package/dist/actions/get-myself.d.cts +9 -0
  49. package/dist/actions/get-myself.d.cts.map +1 -0
  50. package/dist/actions/get-myself.d.mts +9 -0
  51. package/dist/actions/get-myself.d.mts.map +1 -0
  52. package/dist/actions/get-myself.mjs +25 -0
  53. package/dist/actions/get-myself.mjs.map +1 -0
  54. package/dist/actions/get-pod.cjs +29 -0
  55. package/dist/actions/get-pod.cjs.map +1 -0
  56. package/dist/actions/get-pod.d.cts +9 -0
  57. package/dist/actions/get-pod.d.cts.map +1 -0
  58. package/dist/actions/get-pod.d.mts +9 -0
  59. package/dist/actions/get-pod.d.mts.map +1 -0
  60. package/dist/actions/get-pod.mjs +28 -0
  61. package/dist/actions/get-pod.mjs.map +1 -0
  62. package/dist/actions/index.cjs +27 -0
  63. package/dist/actions/index.d.cts +14 -0
  64. package/dist/actions/index.d.mts +14 -0
  65. package/dist/actions/index.mjs +14 -0
  66. package/dist/actions/list-cpu-types.cjs +25 -0
  67. package/dist/actions/list-cpu-types.cjs.map +1 -0
  68. package/dist/actions/list-cpu-types.d.cts +9 -0
  69. package/dist/actions/list-cpu-types.d.cts.map +1 -0
  70. package/dist/actions/list-cpu-types.d.mts +9 -0
  71. package/dist/actions/list-cpu-types.d.mts.map +1 -0
  72. package/dist/actions/list-cpu-types.mjs +24 -0
  73. package/dist/actions/list-cpu-types.mjs.map +1 -0
  74. package/dist/actions/save-endpoint.cjs +42 -0
  75. package/dist/actions/save-endpoint.cjs.map +1 -0
  76. package/dist/actions/save-endpoint.d.cts +9 -0
  77. package/dist/actions/save-endpoint.d.cts.map +1 -0
  78. package/dist/actions/save-endpoint.d.mts +9 -0
  79. package/dist/actions/save-endpoint.d.mts.map +1 -0
  80. package/dist/actions/save-endpoint.mjs +41 -0
  81. package/dist/actions/save-endpoint.mjs.map +1 -0
  82. package/dist/actions/save-registry-auth.cjs +35 -0
  83. package/dist/actions/save-registry-auth.cjs.map +1 -0
  84. package/dist/actions/save-registry-auth.d.cts +9 -0
  85. package/dist/actions/save-registry-auth.d.cts.map +1 -0
  86. package/dist/actions/save-registry-auth.d.mts +9 -0
  87. package/dist/actions/save-registry-auth.d.mts.map +1 -0
  88. package/dist/actions/save-registry-auth.mjs +34 -0
  89. package/dist/actions/save-registry-auth.mjs.map +1 -0
  90. package/dist/actions/save-template.cjs +47 -0
  91. package/dist/actions/save-template.cjs.map +1 -0
  92. package/dist/actions/save-template.d.cts +9 -0
  93. package/dist/actions/save-template.d.cts.map +1 -0
  94. package/dist/actions/save-template.d.mts +9 -0
  95. package/dist/actions/save-template.d.mts.map +1 -0
  96. package/dist/actions/save-template.mjs +46 -0
  97. package/dist/actions/save-template.mjs.map +1 -0
  98. package/dist/actions/update-registry-auth.cjs +23 -0
  99. package/dist/actions/update-registry-auth.cjs.map +1 -0
  100. package/dist/actions/update-registry-auth.d.cts +9 -0
  101. package/dist/actions/update-registry-auth.d.cts.map +1 -0
  102. package/dist/actions/update-registry-auth.d.mts +9 -0
  103. package/dist/actions/update-registry-auth.d.mts.map +1 -0
  104. package/dist/actions/update-registry-auth.mjs +20 -0
  105. package/dist/actions/update-registry-auth.mjs.map +1 -0
  106. package/dist/actions/update-user-settings.cjs +23 -0
  107. package/dist/actions/update-user-settings.cjs.map +1 -0
  108. package/dist/actions/update-user-settings.d.cts +9 -0
  109. package/dist/actions/update-user-settings.d.cts.map +1 -0
  110. package/dist/actions/update-user-settings.d.mts +9 -0
  111. package/dist/actions/update-user-settings.d.mts.map +1 -0
  112. package/dist/actions/update-user-settings.mjs +22 -0
  113. package/dist/actions/update-user-settings.mjs.map +1 -0
  114. package/dist/app.cjs +9 -0
  115. package/dist/app.cjs.map +1 -0
  116. package/dist/app.d.cts +5 -0
  117. package/dist/app.d.cts.map +1 -0
  118. package/dist/app.d.mts +5 -0
  119. package/dist/app.d.mts.map +1 -0
  120. package/dist/app.mjs +10 -0
  121. package/dist/app.mjs.map +1 -0
  122. package/dist/catalog.cjs +15 -0
  123. package/dist/catalog.cjs.map +1 -0
  124. package/dist/catalog.d.cts +14 -0
  125. package/dist/catalog.d.cts.map +1 -0
  126. package/dist/catalog.d.mts +14 -0
  127. package/dist/catalog.d.mts.map +1 -0
  128. package/dist/catalog.mjs +15 -0
  129. package/dist/catalog.mjs.map +1 -0
  130. package/dist/execute.cjs +18 -0
  131. package/dist/execute.cjs.map +1 -0
  132. package/dist/execute.mjs +18 -0
  133. package/dist/execute.mjs.map +1 -0
  134. package/dist/index.cjs +32 -0
  135. package/dist/index.d.cts +16 -0
  136. package/dist/index.d.mts +16 -0
  137. package/dist/index.mjs +17 -0
  138. package/package.json +49 -0
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # @keystrokehq/runpod
2
+
3
+ Keystroke-managed integration.
4
+
5
+ **App:** `runpod`
6
+ **Version:** `20260615_00`
7
+ **Actions:** 13
8
+
9
+ ```ts
10
+ import { defineAgent } from "@keystrokehq/keystroke/agent";
11
+ import { runpodCreateCluster } from "@keystrokehq/runpod/actions";
12
+
13
+ export default defineAgent({
14
+ key: "runpod-agent",
15
+ tools: [runpodCreateCluster],
16
+ });
17
+ ```
@@ -0,0 +1,21 @@
1
+ const require_app = require("./app.cjs");
2
+ const require_execute = require("./execute.cjs");
3
+ require("zod");
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return require_app.runpod.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await require_execute.executeRunpodTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ exports.action = action;
20
+
21
+ //# sourceMappingURL=action.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.cjs","names":["runpod","executeRunpodTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { runpod } from \"./app\";\nimport { executeRunpodTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return runpod.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRunpodTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
@@ -0,0 +1,21 @@
1
+ import { runpod } from "./app.mjs";
2
+ import { executeRunpodTool } from "./execute.mjs";
3
+ import "zod";
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return runpod.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await executeRunpodTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ export { action };
20
+
21
+ //# sourceMappingURL=action.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { runpod } from \"./app\";\nimport { executeRunpodTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return runpod.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRunpodTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,OAAO,OAAO;EACnB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,kBAAkB,MAAM,KAAgC,CAAC;EACzF;CACF,CAAC;AACH"}
@@ -0,0 +1,59 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-cluster.ts
4
+ const RunpodCreateClusterInput = zod.z.object({
5
+ env: zod.z.array(zod.z.object({})).describe("Optional list of environment variables to set in the container. Each entry should be a dict with 'key' and 'value' fields.").optional(),
6
+ type: zod.z.enum([
7
+ "APPLICATION",
8
+ "TRAINING",
9
+ "SLURM"
10
+ ]).describe("Type of cluster to create: APPLICATION for general-purpose workloads, TRAINING for ML training jobs, or SLURM for high-performance computing with SLURM scheduler."),
11
+ ports: zod.z.string().describe("Optional comma-separated list of ports to expose on the pods.").optional(),
12
+ pod_count: zod.z.number().int().describe("Integer specifying the number of pods in the cluster. Must be at least 1."),
13
+ start_ssh: zod.z.boolean().describe("Optional flag to enable SSH access on each pod. Default is false.").optional(),
14
+ image_name: zod.z.string().describe("Optional Docker image name to use for the pods. If not specified, the template's default image is used.").optional(),
15
+ throughput: zod.z.number().int().describe("Optional network throughput specification for the volume in MB/s.").optional(),
16
+ volume_key: zod.z.string().describe("Optional encryption key for the volume.").optional(),
17
+ deploy_cost: zod.z.number().describe("Optional maximum deployment cost threshold. If specified, deployment will fail if the estimated cost exceeds this value.").optional(),
18
+ docker_args: zod.z.string().describe("Optional Docker run arguments to pass when starting the container.").optional(),
19
+ gpu_type_id: zod.z.string().describe("String identifier for the GPU type to use in the cluster (e.g., 'NVIDIA GeForce RTX 3070', 'NVIDIA A100 80GB PCIe')."),
20
+ template_id: zod.z.string().describe("Optional template ID to use for pod configuration. References a pre-configured pod template with specific Docker image and settings.").optional(),
21
+ cluster_name: zod.z.string().describe("Optional name to identify the cluster. If not provided, a default name will be generated.").optional(),
22
+ volume_in_gb: zod.z.number().int().describe("Optional size in GB for the persistent volume to attach to each pod.").optional(),
23
+ start_jupyter: zod.z.boolean().describe("Optional flag to automatically start JupyterLab on each pod. Default is false.").optional(),
24
+ data_center_id: zod.z.string().describe("Optional data center ID to specify the geographical location for cluster deployment.").optional(),
25
+ min_cuda_version: zod.z.string().describe("Optional minimum CUDA version required for the cluster.").optional(),
26
+ gpu_count_per_pod: zod.z.number().int().describe("Integer specifying the number of GPUs per pod. Must be at least 1."),
27
+ network_volume_id: zod.z.string().describe("Optional network volume ID to attach to all pods in the cluster for shared storage.").optional(),
28
+ volume_mount_path: zod.z.string().describe("Optional path where the volume should be mounted inside the container.").optional(),
29
+ container_disk_in_gb: zod.z.number().int().describe("Optional size in GB for the container disk. This is ephemeral storage that is reset when the pod restarts.").optional(),
30
+ allowed_cuda_versions: zod.z.array(zod.z.string()).describe("Optional list of allowed CUDA versions for the cluster.").optional()
31
+ }).describe("Request model for RUNPOD_GRAPHQL_CREATE_CLUSTER.");
32
+ const RunpodCreateCluster_ClusterDetailsSchema = zod.z.object({
33
+ id: zod.z.string().describe("The unique identifier of the created cluster.").nullable().optional(),
34
+ name: zod.z.string().describe("The name of the cluster.").nullable().optional(),
35
+ pods: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of pods in the cluster with their details.").nullable().optional(),
36
+ type: zod.z.string().describe("The type of cluster (APPLICATION, TRAINING, or SLURM).").nullable().optional(),
37
+ userId: zod.z.string().describe("The user ID who owns the cluster.").nullable().optional(),
38
+ podCount: zod.z.number().int().describe("Number of pods in the cluster.").nullable().optional(),
39
+ createdAt: zod.z.string().describe("ISO 8601 timestamp of when the cluster was created.").nullable().optional(),
40
+ gpuTypeId: zod.z.string().describe("The GPU type identifier used in the cluster.").nullable().optional(),
41
+ templateId: zod.z.string().describe("The template ID used for pod configuration.").nullable().optional(),
42
+ gpuCountPerPod: zod.z.number().int().describe("Number of GPUs per pod.").nullable().optional(),
43
+ gpuDisplayName: zod.z.string().describe("Human-readable display name of the GPU type.").nullable().optional()
44
+ }).describe("Details of the created cluster.");
45
+ const RunpodCreateClusterOutput = zod.z.object({
46
+ errors: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Any GraphQL errors returned by the API.").nullable().optional(),
47
+ cluster: RunpodCreateCluster_ClusterDetailsSchema.nullable().optional()
48
+ }).describe("Response model for RUNPOD_GRAPHQL_CREATE_CLUSTER.");
49
+ const runpodCreateCluster = require_action.action("RUNPOD_CREATE_CLUSTER", {
50
+ slug: "runpod-create-cluster",
51
+ name: "Create RunPod Cluster",
52
+ description: "Tool to create a new GPU cluster for multi-node distributed computing workloads on RunPod. Use when you need to deploy multiple pods with shared configuration for parallel processing, ML training, or HPC workloads.",
53
+ input: RunpodCreateClusterInput,
54
+ output: RunpodCreateClusterOutput
55
+ });
56
+ //#endregion
57
+ exports.runpodCreateCluster = runpodCreateCluster;
58
+
59
+ //# sourceMappingURL=create-cluster.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-cluster.cjs","names":["z","action"],"sources":["../../src/actions/create-cluster.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodCreateClusterInput: z.ZodTypeAny = z.object({\n env: z.array(z.object({})).describe(\"Optional list of environment variables to set in the container. Each entry should be a dict with 'key' and 'value' fields.\").optional(),\n type: z.enum([\"APPLICATION\", \"TRAINING\", \"SLURM\"]).describe(\"Type of cluster to create: APPLICATION for general-purpose workloads, TRAINING for ML training jobs, or SLURM for high-performance computing with SLURM scheduler.\"),\n ports: z.string().describe(\"Optional comma-separated list of ports to expose on the pods.\").optional(),\n pod_count: z.number().int().describe(\"Integer specifying the number of pods in the cluster. Must be at least 1.\"),\n start_ssh: z.boolean().describe(\"Optional flag to enable SSH access on each pod. Default is false.\").optional(),\n image_name: z.string().describe(\"Optional Docker image name to use for the pods. If not specified, the template's default image is used.\").optional(),\n throughput: z.number().int().describe(\"Optional network throughput specification for the volume in MB/s.\").optional(),\n volume_key: z.string().describe(\"Optional encryption key for the volume.\").optional(),\n deploy_cost: z.number().describe(\"Optional maximum deployment cost threshold. If specified, deployment will fail if the estimated cost exceeds this value.\").optional(),\n docker_args: z.string().describe(\"Optional Docker run arguments to pass when starting the container.\").optional(),\n gpu_type_id: z.string().describe(\"String identifier for the GPU type to use in the cluster (e.g., 'NVIDIA GeForce RTX 3070', 'NVIDIA A100 80GB PCIe').\"),\n template_id: z.string().describe(\"Optional template ID to use for pod configuration. References a pre-configured pod template with specific Docker image and settings.\").optional(),\n cluster_name: z.string().describe(\"Optional name to identify the cluster. If not provided, a default name will be generated.\").optional(),\n volume_in_gb: z.number().int().describe(\"Optional size in GB for the persistent volume to attach to each pod.\").optional(),\n start_jupyter: z.boolean().describe(\"Optional flag to automatically start JupyterLab on each pod. Default is false.\").optional(),\n data_center_id: z.string().describe(\"Optional data center ID to specify the geographical location for cluster deployment.\").optional(),\n min_cuda_version: z.string().describe(\"Optional minimum CUDA version required for the cluster.\").optional(),\n gpu_count_per_pod: z.number().int().describe(\"Integer specifying the number of GPUs per pod. Must be at least 1.\"),\n network_volume_id: z.string().describe(\"Optional network volume ID to attach to all pods in the cluster for shared storage.\").optional(),\n volume_mount_path: z.string().describe(\"Optional path where the volume should be mounted inside the container.\").optional(),\n container_disk_in_gb: z.number().int().describe(\"Optional size in GB for the container disk. This is ephemeral storage that is reset when the pod restarts.\").optional(),\n allowed_cuda_versions: z.array(z.string()).describe(\"Optional list of allowed CUDA versions for the cluster.\").optional(),\n}).describe(\"Request model for RUNPOD_GRAPHQL_CREATE_CLUSTER.\");\nconst RunpodCreateCluster_ClusterDetailsSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the created cluster.\").nullable().optional(),\n name: z.string().describe(\"The name of the cluster.\").nullable().optional(),\n pods: z.array(z.record(z.string(), z.unknown())).describe(\"List of pods in the cluster with their details.\").nullable().optional(),\n type: z.string().describe(\"The type of cluster (APPLICATION, TRAINING, or SLURM).\").nullable().optional(),\n userId: z.string().describe(\"The user ID who owns the cluster.\").nullable().optional(),\n podCount: z.number().int().describe(\"Number of pods in the cluster.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of when the cluster was created.\").nullable().optional(),\n gpuTypeId: z.string().describe(\"The GPU type identifier used in the cluster.\").nullable().optional(),\n templateId: z.string().describe(\"The template ID used for pod configuration.\").nullable().optional(),\n gpuCountPerPod: z.number().int().describe(\"Number of GPUs per pod.\").nullable().optional(),\n gpuDisplayName: z.string().describe(\"Human-readable display name of the GPU type.\").nullable().optional(),\n}).describe(\"Details of the created cluster.\");\nexport const RunpodCreateClusterOutput: z.ZodTypeAny = z.object({\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any GraphQL errors returned by the API.\").nullable().optional(),\n cluster: RunpodCreateCluster_ClusterDetailsSchema.nullable().optional(),\n}).describe(\"Response model for RUNPOD_GRAPHQL_CREATE_CLUSTER.\");\n\nexport const runpodCreateCluster = action(\"RUNPOD_CREATE_CLUSTER\", {\n slug: \"runpod-create-cluster\",\n name: \"Create RunPod Cluster\",\n description: \"Tool to create a new GPU cluster for multi-node distributed computing workloads on RunPod. Use when you need to deploy multiple pods with shared configuration for parallel processing, ML training, or HPC workloads.\",\n input: RunpodCreateClusterInput,\n output: RunpodCreateClusterOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CAC3K,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAY;CAAO,CAAC,CAAC,CAAC,SAAS,oKAAoK;CAChO,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E;CAChH,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC9G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACpJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACpH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACtK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;CACvJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAClL,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,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aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-cluster.d.ts
4
+ declare const RunpodCreateClusterInput: z.ZodTypeAny;
5
+ declare const RunpodCreateClusterOutput: z.ZodTypeAny;
6
+ declare const runpodCreateCluster: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodCreateCluster };
9
+ //# sourceMappingURL=create-cluster.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-cluster.d.cts","names":[],"sources":["../../src/actions/create-cluster.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAuBsB;AAAA,cAclD,yBAAA,EAA2B,CAAA,CAAE,UAGsB;AAAA,cAEnD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-cluster.d.ts
4
+ declare const RunpodCreateClusterInput: z.ZodTypeAny;
5
+ declare const RunpodCreateClusterOutput: z.ZodTypeAny;
6
+ declare const runpodCreateCluster: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodCreateCluster };
9
+ //# sourceMappingURL=create-cluster.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-cluster.d.mts","names":[],"sources":["../../src/actions/create-cluster.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAuBsB;AAAA,cAclD,yBAAA,EAA2B,CAAA,CAAE,UAGsB;AAAA,cAEnD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,58 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/create-cluster.ts
4
+ const RunpodCreateClusterInput = z.object({
5
+ env: z.array(z.object({})).describe("Optional list of environment variables to set in the container. Each entry should be a dict with 'key' and 'value' fields.").optional(),
6
+ type: z.enum([
7
+ "APPLICATION",
8
+ "TRAINING",
9
+ "SLURM"
10
+ ]).describe("Type of cluster to create: APPLICATION for general-purpose workloads, TRAINING for ML training jobs, or SLURM for high-performance computing with SLURM scheduler."),
11
+ ports: z.string().describe("Optional comma-separated list of ports to expose on the pods.").optional(),
12
+ pod_count: z.number().int().describe("Integer specifying the number of pods in the cluster. Must be at least 1."),
13
+ start_ssh: z.boolean().describe("Optional flag to enable SSH access on each pod. Default is false.").optional(),
14
+ image_name: z.string().describe("Optional Docker image name to use for the pods. If not specified, the template's default image is used.").optional(),
15
+ throughput: z.number().int().describe("Optional network throughput specification for the volume in MB/s.").optional(),
16
+ volume_key: z.string().describe("Optional encryption key for the volume.").optional(),
17
+ deploy_cost: z.number().describe("Optional maximum deployment cost threshold. If specified, deployment will fail if the estimated cost exceeds this value.").optional(),
18
+ docker_args: z.string().describe("Optional Docker run arguments to pass when starting the container.").optional(),
19
+ gpu_type_id: z.string().describe("String identifier for the GPU type to use in the cluster (e.g., 'NVIDIA GeForce RTX 3070', 'NVIDIA A100 80GB PCIe')."),
20
+ template_id: z.string().describe("Optional template ID to use for pod configuration. References a pre-configured pod template with specific Docker image and settings.").optional(),
21
+ cluster_name: z.string().describe("Optional name to identify the cluster. If not provided, a default name will be generated.").optional(),
22
+ volume_in_gb: z.number().int().describe("Optional size in GB for the persistent volume to attach to each pod.").optional(),
23
+ start_jupyter: z.boolean().describe("Optional flag to automatically start JupyterLab on each pod. Default is false.").optional(),
24
+ data_center_id: z.string().describe("Optional data center ID to specify the geographical location for cluster deployment.").optional(),
25
+ min_cuda_version: z.string().describe("Optional minimum CUDA version required for the cluster.").optional(),
26
+ gpu_count_per_pod: z.number().int().describe("Integer specifying the number of GPUs per pod. Must be at least 1."),
27
+ network_volume_id: z.string().describe("Optional network volume ID to attach to all pods in the cluster for shared storage.").optional(),
28
+ volume_mount_path: z.string().describe("Optional path where the volume should be mounted inside the container.").optional(),
29
+ container_disk_in_gb: z.number().int().describe("Optional size in GB for the container disk. This is ephemeral storage that is reset when the pod restarts.").optional(),
30
+ allowed_cuda_versions: z.array(z.string()).describe("Optional list of allowed CUDA versions for the cluster.").optional()
31
+ }).describe("Request model for RUNPOD_GRAPHQL_CREATE_CLUSTER.");
32
+ const RunpodCreateCluster_ClusterDetailsSchema = z.object({
33
+ id: z.string().describe("The unique identifier of the created cluster.").nullable().optional(),
34
+ name: z.string().describe("The name of the cluster.").nullable().optional(),
35
+ pods: z.array(z.record(z.string(), z.unknown())).describe("List of pods in the cluster with their details.").nullable().optional(),
36
+ type: z.string().describe("The type of cluster (APPLICATION, TRAINING, or SLURM).").nullable().optional(),
37
+ userId: z.string().describe("The user ID who owns the cluster.").nullable().optional(),
38
+ podCount: z.number().int().describe("Number of pods in the cluster.").nullable().optional(),
39
+ createdAt: z.string().describe("ISO 8601 timestamp of when the cluster was created.").nullable().optional(),
40
+ gpuTypeId: z.string().describe("The GPU type identifier used in the cluster.").nullable().optional(),
41
+ templateId: z.string().describe("The template ID used for pod configuration.").nullable().optional(),
42
+ gpuCountPerPod: z.number().int().describe("Number of GPUs per pod.").nullable().optional(),
43
+ gpuDisplayName: z.string().describe("Human-readable display name of the GPU type.").nullable().optional()
44
+ }).describe("Details of the created cluster.");
45
+ const runpodCreateCluster = action("RUNPOD_CREATE_CLUSTER", {
46
+ slug: "runpod-create-cluster",
47
+ name: "Create RunPod Cluster",
48
+ description: "Tool to create a new GPU cluster for multi-node distributed computing workloads on RunPod. Use when you need to deploy multiple pods with shared configuration for parallel processing, ML training, or HPC workloads.",
49
+ input: RunpodCreateClusterInput,
50
+ output: z.object({
51
+ errors: z.array(z.record(z.string(), z.unknown())).describe("Any GraphQL errors returned by the API.").nullable().optional(),
52
+ cluster: RunpodCreateCluster_ClusterDetailsSchema.nullable().optional()
53
+ }).describe("Response model for RUNPOD_GRAPHQL_CREATE_CLUSTER.")
54
+ });
55
+ //#endregion
56
+ export { runpodCreateCluster };
57
+
58
+ //# sourceMappingURL=create-cluster.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-cluster.mjs","names":[],"sources":["../../src/actions/create-cluster.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodCreateClusterInput: z.ZodTypeAny = z.object({\n env: z.array(z.object({})).describe(\"Optional list of environment variables to set in the container. Each entry should be a dict with 'key' and 'value' fields.\").optional(),\n type: z.enum([\"APPLICATION\", \"TRAINING\", \"SLURM\"]).describe(\"Type of cluster to create: APPLICATION for general-purpose workloads, TRAINING for ML training jobs, or SLURM for high-performance computing with SLURM scheduler.\"),\n ports: z.string().describe(\"Optional comma-separated list of ports to expose on the pods.\").optional(),\n pod_count: z.number().int().describe(\"Integer specifying the number of pods in the cluster. Must be at least 1.\"),\n start_ssh: z.boolean().describe(\"Optional flag to enable SSH access on each pod. Default is false.\").optional(),\n image_name: z.string().describe(\"Optional Docker image name to use for the pods. If not specified, the template's default image is used.\").optional(),\n throughput: z.number().int().describe(\"Optional network throughput specification for the volume in MB/s.\").optional(),\n volume_key: z.string().describe(\"Optional encryption key for the volume.\").optional(),\n deploy_cost: z.number().describe(\"Optional maximum deployment cost threshold. If specified, deployment will fail if the estimated cost exceeds this value.\").optional(),\n docker_args: z.string().describe(\"Optional Docker run arguments to pass when starting the container.\").optional(),\n gpu_type_id: z.string().describe(\"String identifier for the GPU type to use in the cluster (e.g., 'NVIDIA GeForce RTX 3070', 'NVIDIA A100 80GB PCIe').\"),\n template_id: z.string().describe(\"Optional template ID to use for pod configuration. References a pre-configured pod template with specific Docker image and settings.\").optional(),\n cluster_name: z.string().describe(\"Optional name to identify the cluster. If not provided, a default name will be generated.\").optional(),\n volume_in_gb: z.number().int().describe(\"Optional size in GB for the persistent volume to attach to each pod.\").optional(),\n start_jupyter: z.boolean().describe(\"Optional flag to automatically start JupyterLab on each pod. Default is false.\").optional(),\n data_center_id: z.string().describe(\"Optional data center ID to specify the geographical location for cluster deployment.\").optional(),\n min_cuda_version: z.string().describe(\"Optional minimum CUDA version required for the cluster.\").optional(),\n gpu_count_per_pod: z.number().int().describe(\"Integer specifying the number of GPUs per pod. Must be at least 1.\"),\n network_volume_id: z.string().describe(\"Optional network volume ID to attach to all pods in the cluster for shared storage.\").optional(),\n volume_mount_path: z.string().describe(\"Optional path where the volume should be mounted inside the container.\").optional(),\n container_disk_in_gb: z.number().int().describe(\"Optional size in GB for the container disk. This is ephemeral storage that is reset when the pod restarts.\").optional(),\n allowed_cuda_versions: z.array(z.string()).describe(\"Optional list of allowed CUDA versions for the cluster.\").optional(),\n}).describe(\"Request model for RUNPOD_GRAPHQL_CREATE_CLUSTER.\");\nconst RunpodCreateCluster_ClusterDetailsSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the created cluster.\").nullable().optional(),\n name: z.string().describe(\"The name of the cluster.\").nullable().optional(),\n pods: z.array(z.record(z.string(), z.unknown())).describe(\"List of pods in the cluster with their details.\").nullable().optional(),\n type: z.string().describe(\"The type of cluster (APPLICATION, TRAINING, or SLURM).\").nullable().optional(),\n userId: z.string().describe(\"The user ID who owns the cluster.\").nullable().optional(),\n podCount: z.number().int().describe(\"Number of pods in the cluster.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of when the cluster was created.\").nullable().optional(),\n gpuTypeId: z.string().describe(\"The GPU type identifier used in the cluster.\").nullable().optional(),\n templateId: z.string().describe(\"The template ID used for pod configuration.\").nullable().optional(),\n gpuCountPerPod: z.number().int().describe(\"Number of GPUs per pod.\").nullable().optional(),\n gpuDisplayName: z.string().describe(\"Human-readable display name of the GPU type.\").nullable().optional(),\n}).describe(\"Details of the created cluster.\");\nexport const RunpodCreateClusterOutput: z.ZodTypeAny = z.object({\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any GraphQL errors returned by the API.\").nullable().optional(),\n cluster: RunpodCreateCluster_ClusterDetailsSchema.nullable().optional(),\n}).describe(\"Response model for RUNPOD_GRAPHQL_CREATE_CLUSTER.\");\n\nexport const runpodCreateCluster = action(\"RUNPOD_CREATE_CLUSTER\", {\n slug: \"runpod-create-cluster\",\n name: \"Create RunPod Cluster\",\n description: \"Tool to create a new GPU cluster for multi-node distributed computing workloads on RunPod. Use when you need to deploy multiple pods with shared configuration for parallel processing, ML training, or HPC workloads.\",\n input: RunpodCreateClusterInput,\n output: RunpodCreateClusterOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CAC3K,MAAM,EAAE,KAAK;EAAC;EAAe;EAAY;CAAO,CAAC,CAAC,CAAC,SAAS,oKAAoK;CAChO,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACrG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E;CAChH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC9G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACpJ,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACpH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACtK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAA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
+ //#region src/actions/create-secret.ts
4
+ const RunpodCreateSecretInput = zod.z.object({
5
+ name: zod.z.string().describe("Unique identifier name for the secret. This name will be used to reference the secret in pods and endpoints (accessible via environment variable RUNPOD_SECRET_<name>). Must be unique within your account."),
6
+ value: zod.z.string().describe("The secret value to store securely. This will be encrypted and stored securely by RunPod."),
7
+ description: zod.z.string().describe("Optional human-readable description of what this secret is used for. Helps with secret management and documentation.").optional()
8
+ }).describe("Request model for creating a RunPod secret.");
9
+ const RunpodCreateSecret_SecretDataSchema = zod.z.object({
10
+ id: zod.z.string().describe("Unique identifier for the created secret assigned by RunPod.").nullable().optional(),
11
+ name: zod.z.string().describe("The name of the secret that was created.").nullable().optional(),
12
+ description: zod.z.string().describe("Optional description of the secret.").nullable().optional()
13
+ }).describe("The created secret data returned by RunPod.");
14
+ const RunpodCreateSecretOutput = zod.z.object({ secretCreate: RunpodCreateSecret_SecretDataSchema.nullable().optional() }).describe("Response model for creating a RunPod secret.");
15
+ const runpodCreateSecret = require_action.action("RUNPOD_CREATE_SECRET", {
16
+ slug: "runpod-create-secret",
17
+ name: "Create Secret",
18
+ description: "Tool to create a new secure secret in RunPod for credential management. Use when you need to store sensitive values like API keys, passwords, or tokens that will be accessible in pods and endpoints via environment variables (RUNPOD_SECRET_<name>).",
19
+ input: RunpodCreateSecretInput,
20
+ output: RunpodCreateSecretOutput
21
+ });
22
+ //#endregion
23
+ exports.runpodCreateSecret = runpodCreateSecret;
24
+
25
+ //# sourceMappingURL=create-secret.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-secret.cjs","names":["z","action"],"sources":["../../src/actions/create-secret.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodCreateSecretInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique identifier name for the secret. This name will be used to reference the secret in pods and endpoints (accessible via environment variable RUNPOD_SECRET_<name>). Must be unique within your account.\"),\n value: z.string().describe(\"The secret value to store securely. This will be encrypted and stored securely by RunPod.\"),\n description: z.string().describe(\"Optional human-readable description of what this secret is used for. Helps with secret management and documentation.\").optional(),\n}).describe(\"Request model for creating a RunPod secret.\");\nconst RunpodCreateSecret_SecretDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the created secret assigned by RunPod.\").nullable().optional(),\n name: z.string().describe(\"The name of the secret that was created.\").nullable().optional(),\n description: z.string().describe(\"Optional description of the secret.\").nullable().optional(),\n}).describe(\"The created secret data returned by RunPod.\");\nexport const RunpodCreateSecretOutput: z.ZodTypeAny = z.object({\n secretCreate: RunpodCreateSecret_SecretDataSchema.nullable().optional(),\n}).describe(\"Response model for creating a RunPod secret.\");\n\nexport const runpodCreateSecret = action(\"RUNPOD_CREATE_SECRET\", {\n slug: \"runpod-create-secret\",\n name: \"Create Secret\",\n description: \"Tool to create a new secure secret in RunPod for credential management. Use when you need to store sensitive values like API keys, passwords, or tokens that will be accessible in pods and endpoints via environment variables (RUNPOD_SECRET_<name>).\",\n input: RunpodCreateSecretInput,\n output: RunpodCreateSecretOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6MAA6M;CACvO,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACtH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,cAAc,oCAAoC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-secret.d.ts
4
+ declare const RunpodCreateSecretInput: z.ZodTypeAny;
5
+ declare const RunpodCreateSecretOutput: z.ZodTypeAny;
6
+ declare const runpodCreateSecret: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodCreateSecret };
9
+ //# sourceMappingURL=create-secret.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-secret.d.cts","names":[],"sources":["../../src/actions/create-secret.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAIkB;AAAA,cAM7C,wBAAA,EAA0B,CAAA,CAAE,UAEkB;AAAA,cAE9C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-secret.d.ts
4
+ declare const RunpodCreateSecretInput: z.ZodTypeAny;
5
+ declare const RunpodCreateSecretOutput: z.ZodTypeAny;
6
+ declare const runpodCreateSecret: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodCreateSecret };
9
+ //# sourceMappingURL=create-secret.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-secret.d.mts","names":[],"sources":["../../src/actions/create-secret.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAIkB;AAAA,cAM7C,wBAAA,EAA0B,CAAA,CAAE,UAEkB;AAAA,cAE9C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,24 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/create-secret.ts
4
+ const RunpodCreateSecretInput = z.object({
5
+ name: z.string().describe("Unique identifier name for the secret. This name will be used to reference the secret in pods and endpoints (accessible via environment variable RUNPOD_SECRET_<name>). Must be unique within your account."),
6
+ value: z.string().describe("The secret value to store securely. This will be encrypted and stored securely by RunPod."),
7
+ description: z.string().describe("Optional human-readable description of what this secret is used for. Helps with secret management and documentation.").optional()
8
+ }).describe("Request model for creating a RunPod secret.");
9
+ const RunpodCreateSecret_SecretDataSchema = z.object({
10
+ id: z.string().describe("Unique identifier for the created secret assigned by RunPod.").nullable().optional(),
11
+ name: z.string().describe("The name of the secret that was created.").nullable().optional(),
12
+ description: z.string().describe("Optional description of the secret.").nullable().optional()
13
+ }).describe("The created secret data returned by RunPod.");
14
+ const runpodCreateSecret = action("RUNPOD_CREATE_SECRET", {
15
+ slug: "runpod-create-secret",
16
+ name: "Create Secret",
17
+ description: "Tool to create a new secure secret in RunPod for credential management. Use when you need to store sensitive values like API keys, passwords, or tokens that will be accessible in pods and endpoints via environment variables (RUNPOD_SECRET_<name>).",
18
+ input: RunpodCreateSecretInput,
19
+ output: z.object({ secretCreate: RunpodCreateSecret_SecretDataSchema.nullable().optional() }).describe("Response model for creating a RunPod secret.")
20
+ });
21
+ //#endregion
22
+ export { runpodCreateSecret };
23
+
24
+ //# sourceMappingURL=create-secret.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-secret.mjs","names":[],"sources":["../../src/actions/create-secret.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodCreateSecretInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Unique identifier name for the secret. This name will be used to reference the secret in pods and endpoints (accessible via environment variable RUNPOD_SECRET_<name>). Must be unique within your account.\"),\n value: z.string().describe(\"The secret value to store securely. This will be encrypted and stored securely by RunPod.\"),\n description: z.string().describe(\"Optional human-readable description of what this secret is used for. Helps with secret management and documentation.\").optional(),\n}).describe(\"Request model for creating a RunPod secret.\");\nconst RunpodCreateSecret_SecretDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the created secret assigned by RunPod.\").nullable().optional(),\n name: z.string().describe(\"The name of the secret that was created.\").nullable().optional(),\n description: z.string().describe(\"Optional description of the secret.\").nullable().optional(),\n}).describe(\"The created secret data returned by RunPod.\");\nexport const RunpodCreateSecretOutput: z.ZodTypeAny = z.object({\n secretCreate: RunpodCreateSecret_SecretDataSchema.nullable().optional(),\n}).describe(\"Response model for creating a RunPod secret.\");\n\nexport const runpodCreateSecret = action(\"RUNPOD_CREATE_SECRET\", {\n slug: \"runpod-create-secret\",\n name: \"Create Secret\",\n description: \"Tool to create a new secure secret in RunPod for credential management. Use when you need to store sensitive values like API keys, passwords, or tokens that will be accessible in pods and endpoints via environment variables (RUNPOD_SECRET_<name>).\",\n input: RunpodCreateSecretInput,\n output: RunpodCreateSecretOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6MAA6M;CACvO,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACtH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,sCAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAKzD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,cAAc,oCAAoC,SAAS,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
@@ -0,0 +1,25 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-registry-auth.ts
4
+ const RunpodDeleteRegistryAuthInput = zod.z.object({ registry_auth_id: zod.z.string().describe("The ID of the container registry authentication to delete. This is the unique identifier returned when the registry authentication was created.") }).describe("Request parameters for deleting container registry authentication.");
5
+ const RunpodDeleteRegistryAuth_DeleteRegistryAuthDataSchema = zod.z.object({ deleteRegistryAuth: zod.z.unknown().describe("Returns null on successful deletion of the registry authentication.").nullable().optional() }).describe("Data field containing the mutation result.");
6
+ const RunpodDeleteRegistryAuth_GraphQLErrorSchema = zod.z.object({
7
+ path: zod.z.array(zod.z.union([zod.z.string(), zod.z.number().int()])).describe("Path to the field in the response that caused the error.").nullable().optional(),
8
+ message: zod.z.string().describe("Human-readable description of the error that occurred."),
9
+ locations: zod.z.array(zod.z.object({})).describe("Array indicating where in the GraphQL operation the error occurred.").nullable().optional()
10
+ }).describe("GraphQL error object.");
11
+ const RunpodDeleteRegistryAuthOutput = zod.z.object({
12
+ data: RunpodDeleteRegistryAuth_DeleteRegistryAuthDataSchema.nullable().optional(),
13
+ errors: zod.z.array(RunpodDeleteRegistryAuth_GraphQLErrorSchema).describe("Array of error objects returned if the mutation encounters issues. Absent if no errors occurred.").nullable().optional()
14
+ }).describe("Response from the deleteRegistryAuth mutation.");
15
+ const runpodDeleteRegistryAuth = require_action.action("RUNPOD_DELETE_REGISTRY_AUTH", {
16
+ slug: "runpod-delete-registry-auth",
17
+ name: "Delete Container Registry Authentication",
18
+ description: "Tool to delete container registry authentication from RunPod. Use when you need to remove stored registry credentials.",
19
+ input: RunpodDeleteRegistryAuthInput,
20
+ output: RunpodDeleteRegistryAuthOutput
21
+ });
22
+ //#endregion
23
+ exports.runpodDeleteRegistryAuth = runpodDeleteRegistryAuth;
24
+
25
+ //# sourceMappingURL=delete-registry-auth.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-registry-auth.cjs","names":["z","action"],"sources":["../../src/actions/delete-registry-auth.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodDeleteRegistryAuthInput: z.ZodTypeAny = z.object({\n registry_auth_id: z.string().describe(\"The ID of the container registry authentication to delete. This is the unique identifier returned when the registry authentication was created.\"),\n}).describe(\"Request parameters for deleting container registry authentication.\");\nconst RunpodDeleteRegistryAuth_DeleteRegistryAuthDataSchema: z.ZodTypeAny = z.object({\n deleteRegistryAuth: z.unknown().describe(\"Returns null on successful deletion of the registry authentication.\").nullable().optional(),\n}).describe(\"Data field containing the mutation result.\");\nconst RunpodDeleteRegistryAuth_GraphQLErrorSchema: z.ZodTypeAny = 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.\"),\n locations: z.array(z.object({})).describe(\"Array indicating where in the GraphQL operation the error occurred.\").nullable().optional(),\n}).describe(\"GraphQL error object.\");\nexport const RunpodDeleteRegistryAuthOutput: z.ZodTypeAny = z.object({\n data: RunpodDeleteRegistryAuth_DeleteRegistryAuthDataSchema.nullable().optional(),\n errors: z.array(RunpodDeleteRegistryAuth_GraphQLErrorSchema).describe(\"Array of error objects returned if the mutation encounters issues. Absent if no errors occurred.\").nullable().optional(),\n}).describe(\"Response from the deleteRegistryAuth mutation.\");\n\nexport const runpodDeleteRegistryAuth = action(\"RUNPOD_DELETE_REGISTRY_AUTH\", {\n slug: \"runpod-delete-registry-auth\",\n name: \"Delete Container Registry Authentication\",\n description: \"Tool to delete container registry authentication from RunPod. Use when you need to remove stored registry credentials.\",\n input: RunpodDeleteRegistryAuthInput,\n output: RunpodDeleteRegistryAuthOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,EACzL,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,wDAAsEA,IAAAA,EAAE,OAAO,EACnF,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACrF,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,uBAAuB;AACnC,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAM,sDAAsD,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChM,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-registry-auth.d.ts
4
+ declare const RunpodDeleteRegistryAuthInput: z.ZodTypeAny;
5
+ declare const RunpodDeleteRegistryAuthOutput: z.ZodTypeAny;
6
+ declare const runpodDeleteRegistryAuth: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodDeleteRegistryAuth };
9
+ //# sourceMappingURL=delete-registry-auth.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-registry-auth.d.cts","names":[],"sources":["../../src/actions/delete-registry-auth.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEmC;AAAA,cASpE,8BAAA,EAAgC,CAAA,CAAE,UAGc;AAAA,cAEhD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-registry-auth.d.ts
4
+ declare const RunpodDeleteRegistryAuthInput: z.ZodTypeAny;
5
+ declare const RunpodDeleteRegistryAuthOutput: z.ZodTypeAny;
6
+ declare const runpodDeleteRegistryAuth: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodDeleteRegistryAuth };
9
+ //# sourceMappingURL=delete-registry-auth.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-registry-auth.d.mts","names":[],"sources":["../../src/actions/delete-registry-auth.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEmC;AAAA,cASpE,8BAAA,EAAgC,CAAA,CAAE,UAGc;AAAA,cAEhD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,24 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/delete-registry-auth.ts
4
+ const RunpodDeleteRegistryAuthInput = z.object({ registry_auth_id: z.string().describe("The ID of the container registry authentication to delete. This is the unique identifier returned when the registry authentication was created.") }).describe("Request parameters for deleting container registry authentication.");
5
+ const RunpodDeleteRegistryAuth_DeleteRegistryAuthDataSchema = z.object({ deleteRegistryAuth: z.unknown().describe("Returns null on successful deletion of the registry authentication.").nullable().optional() }).describe("Data field containing the mutation result.");
6
+ const RunpodDeleteRegistryAuth_GraphQLErrorSchema = z.object({
7
+ path: z.array(z.union([z.string(), z.number().int()])).describe("Path to the field in the response that caused the error.").nullable().optional(),
8
+ message: z.string().describe("Human-readable description of the error that occurred."),
9
+ locations: z.array(z.object({})).describe("Array indicating where in the GraphQL operation the error occurred.").nullable().optional()
10
+ }).describe("GraphQL error object.");
11
+ const runpodDeleteRegistryAuth = action("RUNPOD_DELETE_REGISTRY_AUTH", {
12
+ slug: "runpod-delete-registry-auth",
13
+ name: "Delete Container Registry Authentication",
14
+ description: "Tool to delete container registry authentication from RunPod. Use when you need to remove stored registry credentials.",
15
+ input: RunpodDeleteRegistryAuthInput,
16
+ output: z.object({
17
+ data: RunpodDeleteRegistryAuth_DeleteRegistryAuthDataSchema.nullable().optional(),
18
+ errors: z.array(RunpodDeleteRegistryAuth_GraphQLErrorSchema).describe("Array of error objects returned if the mutation encounters issues. Absent if no errors occurred.").nullable().optional()
19
+ }).describe("Response from the deleteRegistryAuth mutation.")
20
+ });
21
+ //#endregion
22
+ export { runpodDeleteRegistryAuth };
23
+
24
+ //# sourceMappingURL=delete-registry-auth.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-registry-auth.mjs","names":[],"sources":["../../src/actions/delete-registry-auth.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodDeleteRegistryAuthInput: z.ZodTypeAny = z.object({\n registry_auth_id: z.string().describe(\"The ID of the container registry authentication to delete. This is the unique identifier returned when the registry authentication was created.\"),\n}).describe(\"Request parameters for deleting container registry authentication.\");\nconst RunpodDeleteRegistryAuth_DeleteRegistryAuthDataSchema: z.ZodTypeAny = z.object({\n deleteRegistryAuth: z.unknown().describe(\"Returns null on successful deletion of the registry authentication.\").nullable().optional(),\n}).describe(\"Data field containing the mutation result.\");\nconst RunpodDeleteRegistryAuth_GraphQLErrorSchema: z.ZodTypeAny = 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.\"),\n locations: z.array(z.object({})).describe(\"Array indicating where in the GraphQL operation the error occurred.\").nullable().optional(),\n}).describe(\"GraphQL error object.\");\nexport const RunpodDeleteRegistryAuthOutput: z.ZodTypeAny = z.object({\n data: RunpodDeleteRegistryAuth_DeleteRegistryAuthDataSchema.nullable().optional(),\n errors: z.array(RunpodDeleteRegistryAuth_GraphQLErrorSchema).describe(\"Array of error objects returned if the mutation encounters issues. Absent if no errors occurred.\").nullable().optional(),\n}).describe(\"Response from the deleteRegistryAuth mutation.\");\n\nexport const runpodDeleteRegistryAuth = action(\"RUNPOD_DELETE_REGISTRY_AUTH\", {\n slug: \"runpod-delete-registry-auth\",\n name: \"Delete Container Registry Authentication\",\n description: \"Tool to delete container registry authentication from RunPod. Use when you need to remove stored registry credentials.\",\n input: RunpodDeleteRegistryAuthInput,\n output: RunpodDeleteRegistryAuthOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO,EAClE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,EACzL,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,wDAAsE,EAAE,OAAO,EACnF,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,8CAA4D,EAAE,OAAO;CACzE,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;CACrF,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,uBAAuB;AAMnC,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0D,EAAE,OAAO;EACnE,MAAM,sDAAsD,SAAS,CAAC,CAAC,SAAS;EAChF,QAAQ,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChM,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
@@ -0,0 +1,25 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-template.ts
4
+ const RunpodDeleteTemplateInput = zod.z.object({ template_name: zod.z.string().describe("The name of the template to delete. The template must not be in use by any pods or assigned to any serverless endpoints.") });
5
+ const RunpodDeleteTemplate_DeleteTemplateDataSchema = zod.z.object({ deleteTemplate: zod.z.string().describe("Result of the deleteTemplate mutation. Returns null on successful deletion.").nullable().optional() });
6
+ const RunpodDeleteTemplate_DeleteTemplateErrorSchema = zod.z.object({
7
+ path: zod.z.array(zod.z.string()).describe("Path to the field that caused the error.").nullable().optional(),
8
+ message: zod.z.string().describe("Error message describing what went wrong."),
9
+ locations: zod.z.array(zod.z.object({})).describe("Location information for where the error occurred in the GraphQL query.").nullable().optional()
10
+ });
11
+ const RunpodDeleteTemplateOutput = zod.z.object({
12
+ data: RunpodDeleteTemplate_DeleteTemplateDataSchema.nullable().optional(),
13
+ errors: zod.z.array(RunpodDeleteTemplate_DeleteTemplateErrorSchema).describe("Array of error objects if the mutation encounters issues. Present when the template is in use or doesn't exist.").nullable().optional()
14
+ });
15
+ const runpodDeleteTemplate = require_action.action("RUNPOD_DELETE_TEMPLATE", {
16
+ slug: "runpod-delete-template",
17
+ name: "Delete Template",
18
+ description: "Tool to remove a RunPod template via GraphQL mutation. Use when you need to delete a template that is no longer needed. The template must not be in use by any pods or assigned to any serverless endpoints, otherwise the operation will fail.",
19
+ input: RunpodDeleteTemplateInput,
20
+ output: RunpodDeleteTemplateOutput
21
+ });
22
+ //#endregion
23
+ exports.runpodDeleteTemplate = runpodDeleteTemplate;
24
+
25
+ //# sourceMappingURL=delete-template.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-template.cjs","names":["z","action"],"sources":["../../src/actions/delete-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodDeleteTemplateInput: z.ZodTypeAny = z.object({\n template_name: z.string().describe(\"The name of the template to delete. The template must not be in use by any pods or assigned to any serverless endpoints.\"),\n});\nconst RunpodDeleteTemplate_DeleteTemplateDataSchema: z.ZodTypeAny = z.object({\n deleteTemplate: z.string().describe(\"Result of the deleteTemplate mutation. Returns null on successful deletion.\").nullable().optional(),\n});\nconst RunpodDeleteTemplate_DeleteTemplateErrorSchema: z.ZodTypeAny = z.object({\n path: z.array(z.string()).describe(\"Path to the field that caused the error.\").nullable().optional(),\n message: z.string().describe(\"Error message describing what went wrong.\"),\n locations: z.array(z.object({})).describe(\"Location information for where the error occurred in the GraphQL query.\").nullable().optional(),\n});\nexport const RunpodDeleteTemplateOutput: z.ZodTypeAny = z.object({\n data: RunpodDeleteTemplate_DeleteTemplateDataSchema.nullable().optional(),\n errors: z.array(RunpodDeleteTemplate_DeleteTemplateErrorSchema).describe(\"Array of error objects if the mutation encounters issues. Present when the template is in use or doesn't exist.\").nullable().optional(),\n});\n\nexport const runpodDeleteTemplate = action(\"RUNPOD_DELETE_TEMPLATE\", {\n slug: \"runpod-delete-template\",\n name: \"Delete Template\",\n description: \"Tool to remove a RunPod template via GraphQL mutation. Use when you need to delete a template that is no longer needed. The template must not be in use by any pods or assigned to any serverless endpoints, otherwise the operation will fail.\",\n input: RunpodDeleteTemplateInput,\n output: RunpodDeleteTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,EAC/J,CAAC;AACD,MAAM,gDAA8DA,IAAAA,EAAE,OAAO,EAC3E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzI,CAAC;AACD,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC;AACD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAM,8CAA8C,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClN,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-template.d.ts
4
+ declare const RunpodDeleteTemplateInput: z.ZodTypeAny;
5
+ declare const RunpodDeleteTemplateOutput: z.ZodTypeAny;
6
+ declare const runpodDeleteTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodDeleteTemplate };
9
+ //# sourceMappingURL=delete-template.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-template.d.cts","names":[],"sources":["../../src/actions/delete-template.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAExC;AAAA,cASW,0BAAA,EAA4B,CAAA,CAAE,UAGzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-template.d.ts
4
+ declare const RunpodDeleteTemplateInput: z.ZodTypeAny;
5
+ declare const RunpodDeleteTemplateOutput: z.ZodTypeAny;
6
+ declare const runpodDeleteTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodDeleteTemplate };
9
+ //# sourceMappingURL=delete-template.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-template.d.mts","names":[],"sources":["../../src/actions/delete-template.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAExC;AAAA,cASW,0BAAA,EAA4B,CAAA,CAAE,UAGzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,24 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/delete-template.ts
4
+ const RunpodDeleteTemplateInput = z.object({ template_name: z.string().describe("The name of the template to delete. The template must not be in use by any pods or assigned to any serverless endpoints.") });
5
+ const RunpodDeleteTemplate_DeleteTemplateDataSchema = z.object({ deleteTemplate: z.string().describe("Result of the deleteTemplate mutation. Returns null on successful deletion.").nullable().optional() });
6
+ const RunpodDeleteTemplate_DeleteTemplateErrorSchema = z.object({
7
+ path: z.array(z.string()).describe("Path to the field that caused the error.").nullable().optional(),
8
+ message: z.string().describe("Error message describing what went wrong."),
9
+ locations: z.array(z.object({})).describe("Location information for where the error occurred in the GraphQL query.").nullable().optional()
10
+ });
11
+ const runpodDeleteTemplate = action("RUNPOD_DELETE_TEMPLATE", {
12
+ slug: "runpod-delete-template",
13
+ name: "Delete Template",
14
+ description: "Tool to remove a RunPod template via GraphQL mutation. Use when you need to delete a template that is no longer needed. The template must not be in use by any pods or assigned to any serverless endpoints, otherwise the operation will fail.",
15
+ input: RunpodDeleteTemplateInput,
16
+ output: z.object({
17
+ data: RunpodDeleteTemplate_DeleteTemplateDataSchema.nullable().optional(),
18
+ errors: z.array(RunpodDeleteTemplate_DeleteTemplateErrorSchema).describe("Array of error objects if the mutation encounters issues. Present when the template is in use or doesn't exist.").nullable().optional()
19
+ })
20
+ });
21
+ //#endregion
22
+ export { runpodDeleteTemplate };
23
+
24
+ //# sourceMappingURL=delete-template.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-template.mjs","names":[],"sources":["../../src/actions/delete-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodDeleteTemplateInput: z.ZodTypeAny = z.object({\n template_name: z.string().describe(\"The name of the template to delete. The template must not be in use by any pods or assigned to any serverless endpoints.\"),\n});\nconst RunpodDeleteTemplate_DeleteTemplateDataSchema: z.ZodTypeAny = z.object({\n deleteTemplate: z.string().describe(\"Result of the deleteTemplate mutation. Returns null on successful deletion.\").nullable().optional(),\n});\nconst RunpodDeleteTemplate_DeleteTemplateErrorSchema: z.ZodTypeAny = z.object({\n path: z.array(z.string()).describe(\"Path to the field that caused the error.\").nullable().optional(),\n message: z.string().describe(\"Error message describing what went wrong.\"),\n locations: z.array(z.object({})).describe(\"Location information for where the error occurred in the GraphQL query.\").nullable().optional(),\n});\nexport const RunpodDeleteTemplateOutput: z.ZodTypeAny = z.object({\n data: RunpodDeleteTemplate_DeleteTemplateDataSchema.nullable().optional(),\n errors: z.array(RunpodDeleteTemplate_DeleteTemplateErrorSchema).describe(\"Array of error objects if the mutation encounters issues. Present when the template is in use or doesn't exist.\").nullable().optional(),\n});\n\nexport const runpodDeleteTemplate = action(\"RUNPOD_DELETE_TEMPLATE\", {\n slug: \"runpod-delete-template\",\n name: \"Delete Template\",\n description: \"Tool to remove a RunPod template via GraphQL mutation. Use when you need to delete a template that is no longer needed. The template must not be in use by any pods or assigned to any serverless endpoints, otherwise the operation will fail.\",\n input: RunpodDeleteTemplateInput,\n output: RunpodDeleteTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO,EAC9D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,EAC/J,CAAC;AACD,MAAM,gDAA8D,EAAE,OAAO,EAC3E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzI,CAAC;AACD,MAAM,iDAA+D,EAAE,OAAO;CAC5E,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC;AAMD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsD,EAAE,OAAO;EAC/D,MAAM,8CAA8C,SAAS,CAAC,CAAC,SAAS;EACxE,QAAQ,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClN,CAOU;AACV,CAAC"}
@@ -0,0 +1,23 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-gpu-types.ts
4
+ const RunpodGetGpuTypesInput = zod.z.object({ input: zod.z.object({
5
+ id: zod.z.string().describe("Filter by a single GPU type ID. Use this to retrieve a specific GPU type.").optional(),
6
+ ids: zod.z.array(zod.z.string()).describe("Filter by multiple GPU type IDs. Returns GPU types matching any of the provided IDs.").optional(),
7
+ cluster: zod.z.boolean().describe("Filter for cluster-compatible GPU types. Set to true to only return GPUs that can be used in cluster deployments.").optional()
8
+ }).describe("Filter options for querying GPU types.").optional() }).describe("Request parameters for querying available GPU types.");
9
+ const RunpodGetGpuTypesOutput = zod.z.object({
10
+ data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("GraphQL response data containing the gpuTypes array.").nullable().optional(),
11
+ errors: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of error objects if the GraphQL query encountered issues.").nullable().optional()
12
+ }).describe("Response containing the list of available GPU types.");
13
+ const runpodGetGpuTypes = require_action.action("RUNPOD_GET_GPU_TYPES", {
14
+ slug: "runpod-get-gpu-types",
15
+ name: "Get GPU Types",
16
+ description: "Tool to retrieve available GPU types and their specifications, pricing, and availability from RunPod. Use when you need to find GPU options for deployment.",
17
+ input: RunpodGetGpuTypesInput,
18
+ output: RunpodGetGpuTypesOutput
19
+ });
20
+ //#endregion
21
+ exports.runpodGetGpuTypes = runpodGetGpuTypes;
22
+
23
+ //# sourceMappingURL=get-gpu-types.cjs.map