@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
@@ -0,0 +1,41 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/save-endpoint.ts
4
+ const RunpodSaveEndpointInput = z.object({
5
+ id: z.string().describe("Endpoint ID to update an existing endpoint. If provided, the mutation will update the existing endpoint instead of creating a new one. Omit this field to create a new endpoint.").optional(),
6
+ name: z.string().describe("Name of the endpoint (required for creation). Must be a descriptive identifier for the serverless endpoint."),
7
+ gpu_ids: z.string().describe("GPU type identifier for the endpoint (required for creation). Examples: 'NVIDIA RTX A4000', 'NVIDIA A40', 'NVIDIA RTX A5000'. Specify the exact GPU model string from RunPod's available GPU types."),
8
+ locations: z.string().describe("Comma-separated list of data center locations where the endpoint should run. Example: 'US-CA-1,US-OR-1'. If not specified, RunPod will choose automatically.").optional(),
9
+ scaler_type: z.string().describe("Type of autoscaling algorithm to use. Options: 'QUEUE_DELAY' (scale based on queue wait time), 'REQUEST_COUNT' (scale based on number of requests). QUEUE_DELAY is recommended for most use cases.").optional(),
10
+ template_id: z.string().describe("Template ID for the endpoint configuration (required for creation). This is the ID of a pre-configured template in your RunPod account."),
11
+ workers_max: z.number().int().describe("Maximum number of workers (GPU instances) to scale up to. This is the upper limit for autoscaling. Must be >= workers_min.").optional(),
12
+ workers_min: z.number().int().describe("Minimum number of workers (GPU instances) to keep running. Set to 0 to allow scaling down to zero when idle. Set to 1 or higher to maintain always-on capacity.").optional(),
13
+ idle_timeout: z.number().int().describe("Idle timeout in seconds before workers are scaled down. Workers will be terminated after being idle for this duration. Common values: 5, 10, 30, 60.").optional(),
14
+ scaler_value: z.number().int().describe("Target value for the scaler. For QUEUE_DELAY: target delay in seconds before scaling up. For REQUEST_COUNT: target number of requests per worker. Common values: 1-10 for QUEUE_DELAY, 1-100 for REQUEST_COUNT.").optional(),
15
+ network_volume_id: z.string().describe("Network volume ID to attach to the endpoint for persistent storage. If specified, this network volume will be mounted to all workers.").optional()
16
+ }).describe("Request model for creating or updating a RunPod serverless endpoint.");
17
+ const RunpodSaveEndpoint_SaveEndpointDataSchema = z.object({
18
+ id: z.string().describe("The unique identifier of the created or updated endpoint.").nullable().optional(),
19
+ name: z.string().describe("Name of the endpoint.").nullable().optional(),
20
+ gpu_ids: z.string().describe("GPU type identifier configured for the endpoint.").nullable().optional(),
21
+ scaler_type: z.string().describe("Autoscaling algorithm type configured for the endpoint.").nullable().optional(),
22
+ template_id: z.string().describe("Template ID used for the endpoint configuration.").nullable().optional(),
23
+ workers_max: z.number().int().describe("Maximum number of workers configured.").nullable().optional(),
24
+ workers_min: z.number().int().describe("Minimum number of workers configured.").nullable().optional(),
25
+ scaler_value: z.number().int().describe("Target value for the scaler.").nullable().optional()
26
+ }).describe("The saveEndpoint data returned from the GraphQL mutation.");
27
+ const RunpodSaveEndpoint_SaveEndpointDataWrapperSchema = z.object({ saveEndpoint: RunpodSaveEndpoint_SaveEndpointDataSchema.nullable().optional() }).describe("Wrapper for the data object in GraphQL response.");
28
+ const runpodSaveEndpoint = action("RUNPOD_SAVE_ENDPOINT", {
29
+ slug: "runpod-save-endpoint",
30
+ name: "Save Serverless Endpoint",
31
+ description: "Tool to create or update a RunPod serverless endpoint with GPU configuration and scaling settings. Use when configuring new GPU-accelerated serverless endpoints or modifying existing endpoint parameters. Include 'id' parameter to update an existing endpoint, omit it to create a new one.",
32
+ input: RunpodSaveEndpointInput,
33
+ output: z.object({
34
+ data: RunpodSaveEndpoint_SaveEndpointDataWrapperSchema.nullable().optional(),
35
+ errors: z.array(z.record(z.string(), z.unknown())).describe("List of GraphQL errors if the mutation failed. Each error contains 'message' and may include 'locations' and 'path' fields.").nullable().optional()
36
+ }).describe("Response model for the saveEndpoint mutation.")
37
+ });
38
+ //#endregion
39
+ export { runpodSaveEndpoint };
40
+
41
+ //# sourceMappingURL=save-endpoint.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-endpoint.mjs","names":[],"sources":["../../src/actions/save-endpoint.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodSaveEndpointInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Endpoint ID to update an existing endpoint. If provided, the mutation will update the existing endpoint instead of creating a new one. Omit this field to create a new endpoint.\").optional(),\n name: z.string().describe(\"Name of the endpoint (required for creation). Must be a descriptive identifier for the serverless endpoint.\"),\n gpu_ids: z.string().describe(\"GPU type identifier for the endpoint (required for creation). Examples: 'NVIDIA RTX A4000', 'NVIDIA A40', 'NVIDIA RTX A5000'. Specify the exact GPU model string from RunPod's available GPU types.\"),\n locations: z.string().describe(\"Comma-separated list of data center locations where the endpoint should run. Example: 'US-CA-1,US-OR-1'. If not specified, RunPod will choose automatically.\").optional(),\n scaler_type: z.string().describe(\"Type of autoscaling algorithm to use. Options: 'QUEUE_DELAY' (scale based on queue wait time), 'REQUEST_COUNT' (scale based on number of requests). QUEUE_DELAY is recommended for most use cases.\").optional(),\n template_id: z.string().describe(\"Template ID for the endpoint configuration (required for creation). This is the ID of a pre-configured template in your RunPod account.\"),\n workers_max: z.number().int().describe(\"Maximum number of workers (GPU instances) to scale up to. This is the upper limit for autoscaling. Must be >= workers_min.\").optional(),\n workers_min: z.number().int().describe(\"Minimum number of workers (GPU instances) to keep running. Set to 0 to allow scaling down to zero when idle. Set to 1 or higher to maintain always-on capacity.\").optional(),\n idle_timeout: z.number().int().describe(\"Idle timeout in seconds before workers are scaled down. Workers will be terminated after being idle for this duration. Common values: 5, 10, 30, 60.\").optional(),\n scaler_value: z.number().int().describe(\"Target value for the scaler. For QUEUE_DELAY: target delay in seconds before scaling up. For REQUEST_COUNT: target number of requests per worker. Common values: 1-10 for QUEUE_DELAY, 1-100 for REQUEST_COUNT.\").optional(),\n network_volume_id: z.string().describe(\"Network volume ID to attach to the endpoint for persistent storage. If specified, this network volume will be mounted to all workers.\").optional(),\n}).describe(\"Request model for creating or updating a RunPod serverless endpoint.\");\nconst RunpodSaveEndpoint_SaveEndpointDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the created or updated endpoint.\").nullable().optional(),\n name: z.string().describe(\"Name of the endpoint.\").nullable().optional(),\n gpu_ids: z.string().describe(\"GPU type identifier configured for the endpoint.\").nullable().optional(),\n scaler_type: z.string().describe(\"Autoscaling algorithm type configured for the endpoint.\").nullable().optional(),\n template_id: z.string().describe(\"Template ID used for the endpoint configuration.\").nullable().optional(),\n workers_max: z.number().int().describe(\"Maximum number of workers configured.\").nullable().optional(),\n workers_min: z.number().int().describe(\"Minimum number of workers configured.\").nullable().optional(),\n scaler_value: z.number().int().describe(\"Target value for the scaler.\").nullable().optional(),\n}).describe(\"The saveEndpoint data returned from the GraphQL mutation.\");\nconst RunpodSaveEndpoint_SaveEndpointDataWrapperSchema: z.ZodTypeAny = z.object({\n saveEndpoint: RunpodSaveEndpoint_SaveEndpointDataSchema.nullable().optional(),\n}).describe(\"Wrapper for the data object in GraphQL response.\");\nexport const RunpodSaveEndpointOutput: z.ZodTypeAny = z.object({\n data: RunpodSaveEndpoint_SaveEndpointDataWrapperSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"List of GraphQL errors if the mutation failed. Each error contains 'message' and may include 'locations' and 'path' fields.\").nullable().optional(),\n}).describe(\"Response model for the saveEndpoint mutation.\");\n\nexport const runpodSaveEndpoint = action(\"RUNPOD_SAVE_ENDPOINT\", {\n slug: \"runpod-save-endpoint\",\n name: \"Save Serverless Endpoint\",\n description: \"Tool to create or update a RunPod serverless endpoint with GPU configuration and scaling settings. Use when configuring new GPU-accelerated serverless endpoints or modifying existing endpoint parameters. Include 'id' parameter to update an existing endpoint, omit it to create a new one.\",\n input: RunpodSaveEndpointInput,\n output: RunpodSaveEndpointOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CACrN,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACvI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qMAAqM;CAClO,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;CACxM,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;CAChP,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;CAC1K,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CAC9K,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;CACnN,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,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a;CACb,OAAO;CACP,QAVoD,EAAE,OAAO;EAC7D,MAAM,iDAAiD,SAAS,CAAC,CAAC,SAAS;EAC3E,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjN,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
@@ -0,0 +1,35 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/save-registry-auth.ts
4
+ const RunpodSaveRegistryAuthInput = zod.z.object({
5
+ name: zod.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."),
6
+ password: zod.z.string().describe("The password for authenticating with the container registry."),
7
+ username: zod.z.string().describe("The username for authenticating with the container registry.")
8
+ }).describe("Request parameters for saving container registry authentication.");
9
+ const RunpodSaveRegistryAuth_SaveRegistryAuthDataSchema = zod.z.object({
10
+ id: zod.z.string().describe("The unique identifier of the saved registry authentication credential."),
11
+ name: zod.z.string().describe("The user-defined name of the registry authentication credential."),
12
+ userId: zod.z.string().describe("The ID of the user who owns this registry authentication credential.").nullable().optional(),
13
+ registryAuth: zod.z.string().describe("The encoded authentication string for the container registry.").nullable().optional()
14
+ }).describe("The registry authentication object returned by the saveRegistryAuth mutation.");
15
+ const RunpodSaveRegistryAuth_SaveRegistryAuthResponseDataSchema = zod.z.object({ saveRegistryAuth: RunpodSaveRegistryAuth_SaveRegistryAuthDataSchema.nullable() }).describe("Data field containing the mutation result.");
16
+ const RunpodSaveRegistryAuth_GraphQLErrorSchema = zod.z.object({
17
+ 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(),
18
+ message: zod.z.string().describe("Human-readable description of the error that occurred."),
19
+ locations: zod.z.array(zod.z.object({})).describe("Array indicating where in the GraphQL operation the error occurred.").nullable().optional()
20
+ }).describe("GraphQL error object.");
21
+ const RunpodSaveRegistryAuthOutput = zod.z.object({
22
+ data: RunpodSaveRegistryAuth_SaveRegistryAuthResponseDataSchema.nullable().optional(),
23
+ errors: zod.z.array(RunpodSaveRegistryAuth_GraphQLErrorSchema).describe("Array of error objects returned if the mutation encounters issues. Absent if no errors occurred.").nullable().optional()
24
+ }).describe("Response from the saveRegistryAuth mutation.");
25
+ const runpodSaveRegistryAuth = require_action.action("RUNPOD_SAVE_REGISTRY_AUTH", {
26
+ slug: "runpod-save-registry-auth",
27
+ name: "Save Container Registry Authentication",
28
+ 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.",
29
+ input: RunpodSaveRegistryAuthInput,
30
+ output: RunpodSaveRegistryAuthOutput
31
+ });
32
+ //#endregion
33
+ exports.runpodSaveRegistryAuth = runpodSaveRegistryAuth;
34
+
35
+ //# sourceMappingURL=save-registry-auth.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-registry-auth.cjs","names":["z","action"],"sources":["../../src/actions/save-registry-auth.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodSaveRegistryAuthInput: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the saved registry authentication credential.\"),\n name: z.string().describe(\"The user-defined name of the registry authentication credential.\"),\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.ZodTypeAny = z.object({\n saveRegistryAuth: RunpodSaveRegistryAuth_SaveRegistryAuthDataSchema.nullable(),\n}).describe(\"Data field containing the mutation result.\");\nconst RunpodSaveRegistryAuth_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 RunpodSaveRegistryAuthOutput: z.ZodTypeAny = 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}).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,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ;CACnL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AAC9F,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,oDAAkEA,IAAAA,EAAE,OAAO;CAC/E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CA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save-registry-auth.d.ts
4
+ declare const RunpodSaveRegistryAuthInput: z.ZodTypeAny;
5
+ declare const RunpodSaveRegistryAuthOutput: z.ZodTypeAny;
6
+ declare const runpodSaveRegistryAuth: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodSaveRegistryAuth };
9
+ //# sourceMappingURL=save-registry-auth.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-registry-auth.d.cts","names":[],"sources":["../../src/actions/save-registry-auth.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAImC;AAAA,cAelE,4BAAA,EAA8B,CAAA,CAAE,UAGc;AAAA,cAE9C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/save-registry-auth.d.ts
4
+ declare const RunpodSaveRegistryAuthInput: z.ZodTypeAny;
5
+ declare const RunpodSaveRegistryAuthOutput: z.ZodTypeAny;
6
+ declare const runpodSaveRegistryAuth: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodSaveRegistryAuth };
9
+ //# sourceMappingURL=save-registry-auth.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-registry-auth.d.mts","names":[],"sources":["../../src/actions/save-registry-auth.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAImC;AAAA,cAelE,4BAAA,EAA8B,CAAA,CAAE,UAGc;AAAA,cAE9C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,34 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/save-registry-auth.ts
4
+ const RunpodSaveRegistryAuthInput = z.object({
5
+ 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."),
6
+ password: z.string().describe("The password for authenticating with the container registry."),
7
+ username: z.string().describe("The username for authenticating with the container registry.")
8
+ }).describe("Request parameters for saving container registry authentication.");
9
+ const RunpodSaveRegistryAuth_SaveRegistryAuthDataSchema = z.object({
10
+ id: z.string().describe("The unique identifier of the saved registry authentication credential."),
11
+ name: z.string().describe("The user-defined name of the registry authentication credential."),
12
+ userId: z.string().describe("The ID of the user who owns this registry authentication credential.").nullable().optional(),
13
+ registryAuth: z.string().describe("The encoded authentication string for the container registry.").nullable().optional()
14
+ }).describe("The registry authentication object returned by the saveRegistryAuth mutation.");
15
+ const RunpodSaveRegistryAuth_SaveRegistryAuthResponseDataSchema = z.object({ saveRegistryAuth: RunpodSaveRegistryAuth_SaveRegistryAuthDataSchema.nullable() }).describe("Data field containing the mutation result.");
16
+ const RunpodSaveRegistryAuth_GraphQLErrorSchema = z.object({
17
+ path: z.array(z.union([z.string(), z.number().int()])).describe("Path to the field in the response that caused the error.").nullable().optional(),
18
+ message: z.string().describe("Human-readable description of the error that occurred."),
19
+ locations: z.array(z.object({})).describe("Array indicating where in the GraphQL operation the error occurred.").nullable().optional()
20
+ }).describe("GraphQL error object.");
21
+ const runpodSaveRegistryAuth = action("RUNPOD_SAVE_REGISTRY_AUTH", {
22
+ slug: "runpod-save-registry-auth",
23
+ name: "Save Container Registry Authentication",
24
+ 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.",
25
+ input: RunpodSaveRegistryAuthInput,
26
+ output: z.object({
27
+ data: RunpodSaveRegistryAuth_SaveRegistryAuthResponseDataSchema.nullable().optional(),
28
+ errors: z.array(RunpodSaveRegistryAuth_GraphQLErrorSchema).describe("Array of error objects returned if the mutation encounters issues. Absent if no errors occurred.").nullable().optional()
29
+ }).describe("Response from the saveRegistryAuth mutation.")
30
+ });
31
+ //#endregion
32
+ export { runpodSaveRegistryAuth };
33
+
34
+ //# sourceMappingURL=save-registry-auth.mjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the saved registry authentication credential.\"),\n name: z.string().describe(\"The user-defined name of the registry authentication credential.\"),\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.ZodTypeAny = z.object({\n saveRegistryAuth: RunpodSaveRegistryAuth_SaveRegistryAuthDataSchema.nullable(),\n}).describe(\"Data field containing the mutation result.\");\nconst RunpodSaveRegistryAuth_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 RunpodSaveRegistryAuthOutput: z.ZodTypeAny = 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}).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,8BAA4C,EAAE,OAAO;CAChE,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,oDAAkE,EAAE,OAAO;CAC/E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CAC5F,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,SAAS,+EAA+E;AAC3F,MAAM,4DAA0E,EAAE,OAAO,EACvF,kBAAkB,kDAAkD,SAAS,EAC/E,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,4CAA0D,EAAE,OAAO;CACvE,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,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwD,EAAE,OAAO;EACjE,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,SAAS,8CAOF;AACV,CAAC"}
@@ -0,0 +1,47 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/save-template.ts
4
+ const RunpodSaveTemplateInput = zod.z.object({
5
+ env: zod.z.array(zod.z.object({
6
+ key: zod.z.string().describe("Environment variable name"),
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(),
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
+ 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
+ readme: zod.z.string().describe("Markdown-formatted readme documentation for the template. Use this to document usage instructions, requirements, and configuration details.").optional(),
12
+ image_name: zod.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."),
13
+ docker_args: zod.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(),
14
+ template_id: zod.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(),
15
+ volume_in_gb: zod.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."),
16
+ is_serverless: zod.z.boolean().describe("Whether this template is for serverless endpoints (true) or standard pods (false). Serverless templates must have volumeInGb set to 0."),
17
+ volume_mount_path: zod.z.string().describe("Mount path for the network volume inside the container. Only applicable if volumeInGb > 0. Example: /workspace or /data").optional(),
18
+ container_disk_in_gb: zod.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.")
19
+ }).describe("Request model for creating or updating a RunPod template.");
20
+ const RunpodSaveTemplate_SavedTemplateSchema = zod.z.object({
21
+ id: zod.z.string().describe("Unique identifier of the saved template"),
22
+ env: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Environment variables configured for the template").nullable().optional(),
23
+ name: zod.z.string().describe("Name of the template"),
24
+ ports: zod.z.string().describe("Exposed ports configuration").nullable().optional(),
25
+ readme: zod.z.string().describe("Template readme documentation").nullable().optional(),
26
+ imageName: zod.z.string().describe("Docker image used by the template"),
27
+ dockerArgs: zod.z.string().describe("Docker arguments for the container"),
28
+ volumeInGb: zod.z.number().int().describe("Network volume size in GB"),
29
+ volumeMountPath: zod.z.string().describe("Volume mount path inside the container").nullable().optional(),
30
+ containerDiskInGb: zod.z.number().int().describe("Container disk size in GB")
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.");
33
+ const RunpodSaveTemplateOutput = zod.z.object({
34
+ data: RunpodSaveTemplate_SaveTemplateResponseDataSchema.nullable().optional(),
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.");
37
+ const runpodSaveTemplate = require_action.action("RUNPOD_SAVE_TEMPLATE", {
38
+ slug: "runpod-save-template",
39
+ name: "Save Template",
40
+ 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.",
41
+ input: RunpodSaveTemplateInput,
42
+ output: RunpodSaveTemplateOutput
43
+ });
44
+ //#endregion
45
+ exports.runpodSaveTemplate = runpodSaveTemplate;
46
+
47
+ //# sourceMappingURL=save-template.cjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the saved template\"),\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\"),\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\"),\n dockerArgs: z.string().describe(\"Docker arguments for the container\"),\n volumeInGb: z.number().int().describe(\"Network volume size in GB\"),\n volumeMountPath: z.string().describe(\"Volume mount path inside the container\").nullable().optional(),\n containerDiskInGb: z.number().int().describe(\"Container disk size in GB\"),\n}).describe(\"Details of the saved template.\");\nconst RunpodSaveTemplate_SaveTemplateResponseDataSchema: z.ZodTypeAny = z.object({\n saveTemplate: RunpodSaveTemplate_SavedTemplateSchema.nullable(),\n}).describe(\"Data wrapper for the saveTemplate mutation response.\");\nexport const RunpodSaveTemplateOutput: z.ZodTypeAny = 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: Runp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,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,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/save-template.d.ts
4
+ declare const RunpodSaveTemplateInput: z.ZodTypeAny;
5
+ declare const RunpodSaveTemplateOutput: z.ZodTypeAny;
6
+ declare const runpodSaveTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodSaveTemplate };
9
+ //# sourceMappingURL=save-template.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-template.d.cts","names":[],"sources":["../../src/actions/save-template.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAegC;AAAA,cAgB3D,wBAAA,EAA0B,CAAA,CAAE,UAGmB;AAAA,cAE/C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/save-template.d.ts
4
+ declare const RunpodSaveTemplateInput: z.ZodTypeAny;
5
+ declare const RunpodSaveTemplateOutput: z.ZodTypeAny;
6
+ declare const runpodSaveTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodSaveTemplate };
9
+ //# sourceMappingURL=save-template.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-template.d.mts","names":[],"sources":["../../src/actions/save-template.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAegC;AAAA,cAgB3D,wBAAA,EAA0B,CAAA,CAAE,UAGmB;AAAA,cAE/C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,46 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/save-template.ts
4
+ const RunpodSaveTemplateInput = z.object({
5
+ env: z.array(z.object({
6
+ key: z.string().describe("Environment variable name"),
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(),
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
+ 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
+ readme: z.string().describe("Markdown-formatted readme documentation for the template. Use this to document usage instructions, requirements, and configuration details.").optional(),
12
+ 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."),
13
+ 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(),
14
+ 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(),
15
+ 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."),
16
+ 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."),
17
+ 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(),
18
+ 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.")
19
+ }).describe("Request model for creating or updating a RunPod template.");
20
+ const RunpodSaveTemplate_SavedTemplateSchema = z.object({
21
+ id: z.string().describe("Unique identifier of the saved template"),
22
+ env: z.array(z.record(z.string(), z.unknown())).describe("Environment variables configured for the template").nullable().optional(),
23
+ name: z.string().describe("Name of the template"),
24
+ ports: z.string().describe("Exposed ports configuration").nullable().optional(),
25
+ readme: z.string().describe("Template readme documentation").nullable().optional(),
26
+ imageName: z.string().describe("Docker image used by the template"),
27
+ dockerArgs: z.string().describe("Docker arguments for the container"),
28
+ volumeInGb: z.number().int().describe("Network volume size in GB"),
29
+ volumeMountPath: z.string().describe("Volume mount path inside the container").nullable().optional(),
30
+ containerDiskInGb: z.number().int().describe("Container disk size in GB")
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.");
33
+ const runpodSaveTemplate = action("RUNPOD_SAVE_TEMPLATE", {
34
+ slug: "runpod-save-template",
35
+ name: "Save Template",
36
+ 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.",
37
+ input: RunpodSaveTemplateInput,
38
+ output: z.object({
39
+ data: RunpodSaveTemplate_SaveTemplateResponseDataSchema.nullable().optional(),
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.")
42
+ });
43
+ //#endregion
44
+ export { runpodSaveTemplate };
45
+
46
+ //# sourceMappingURL=save-template.mjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the saved template\"),\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\"),\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\"),\n dockerArgs: z.string().describe(\"Docker arguments for the container\"),\n volumeInGb: z.number().int().describe(\"Network volume size in GB\"),\n volumeMountPath: z.string().describe(\"Volume mount path inside the container\").nullable().optional(),\n containerDiskInGb: z.number().int().describe(\"Container disk size in GB\"),\n}).describe(\"Details of the saved template.\");\nconst RunpodSaveTemplate_SaveTemplateResponseDataSchema: z.ZodTypeAny = z.object({\n saveTemplate: RunpodSaveTemplate_SavedTemplateSchema.nullable(),\n}).describe(\"Data wrapper for the saveTemplate mutation response.\");\nexport const RunpodSaveTemplateOutput: z.ZodTypeAny = 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,0BAAwC,EAAE,OAAO;CAC5D,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;CACvO,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI;CAC7J,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS;CAC1K,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CACpL,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2HAA2H;CAC3J,aAAa,EAAE,OAAO,CAAC,CAAC,QAAQ,EAA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gCAAgC;AAC5C,MAAM,oDAAkE,EAAE,OAAO,EAC/E,cAAc,uCAAuC,SAAS,EAChE,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAMlE,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoD,EAAE,OAAO;EAC7D,MAAM,kDAAkD,SAAS,CAAC,CAAC,SAAS;EAC5E,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
@@ -0,0 +1,23 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/update-registry-auth.ts
4
+ const RunpodUpdateRegistryAuthInput = zod.z.object({
5
+ id: zod.z.string().describe("The authentication credential identifier to update"),
6
+ password: zod.z.string().describe("The new password for registry authentication"),
7
+ username: zod.z.string().describe("The new username for registry authentication")
8
+ });
9
+ const RunpodUpdateRegistryAuthOutput = zod.z.object({
10
+ id: zod.z.string().describe("The unique identifier of the updated registry authentication credential"),
11
+ name: zod.z.string().describe("The name of the updated registry authentication credential")
12
+ });
13
+ const runpodUpdateRegistryAuth = require_action.action("RUNPOD_UPDATE_REGISTRY_AUTH", {
14
+ slug: "runpod-update-registry-auth",
15
+ name: "Update Registry Auth",
16
+ 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.",
17
+ input: RunpodUpdateRegistryAuthInput,
18
+ output: RunpodUpdateRegistryAuthOutput
19
+ });
20
+ //#endregion
21
+ exports.runpodUpdateRegistryAuth = runpodUpdateRegistryAuth;
22
+
23
+ //# sourceMappingURL=update-registry-auth.cjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the updated registry authentication credential\"),\n name: z.string().describe(\"The name of the updated registry authentication credential\"),\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,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,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,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;AACxF,CAAC;AAED,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/update-registry-auth.d.ts
4
+ declare const RunpodUpdateRegistryAuthInput: z.ZodTypeAny;
5
+ declare const RunpodUpdateRegistryAuthOutput: z.ZodTypeAny;
6
+ declare const runpodUpdateRegistryAuth: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodUpdateRegistryAuth };
9
+ //# sourceMappingURL=update-registry-auth.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-registry-auth.d.cts","names":[],"sources":["../../src/actions/update-registry-auth.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAI5C;AAAA,cACW,8BAAA,EAAgC,CAAA,CAAE,UAG7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-registry-auth.d.ts
4
+ declare const RunpodUpdateRegistryAuthInput: z.ZodTypeAny;
5
+ declare const RunpodUpdateRegistryAuthOutput: z.ZodTypeAny;
6
+ declare const runpodUpdateRegistryAuth: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodUpdateRegistryAuth };
9
+ //# sourceMappingURL=update-registry-auth.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-registry-auth.d.mts","names":[],"sources":["../../src/actions/update-registry-auth.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAI5C;AAAA,cACW,8BAAA,EAAgC,CAAA,CAAE,UAG7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,20 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const runpodUpdateRegistryAuth = action("RUNPOD_UPDATE_REGISTRY_AUTH", {
4
+ slug: "runpod-update-registry-auth",
5
+ name: "Update Registry Auth",
6
+ 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.",
7
+ input: z.object({
8
+ id: z.string().describe("The authentication credential identifier to update"),
9
+ password: z.string().describe("The new password for registry authentication"),
10
+ username: z.string().describe("The new username for registry authentication")
11
+ }),
12
+ output: z.object({
13
+ id: z.string().describe("The unique identifier of the updated registry authentication credential"),
14
+ name: z.string().describe("The name of the updated registry authentication credential")
15
+ })
16
+ });
17
+ //#endregion
18
+ export { runpodUpdateRegistryAuth };
19
+
20
+ //# sourceMappingURL=update-registry-auth.mjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the updated registry authentication credential\"),\n name: z.string().describe(\"The name of the updated registry authentication credential\"),\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,OAdyD,EAAE,OAAO;EAClE,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,QAV0D,EAAE,OAAO;EACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;EACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACxF,CAOU;AACV,CAAC"}
@@ -0,0 +1,23 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/update-user-settings.ts
4
+ const RunpodUpdateUserSettingsInput = zod.z.object({ pub_key: zod.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...').") }).describe("Request model for RUNPOD_GRAPHQL_UPDATE_USER_SETTINGS.");
5
+ const RunpodUpdateUserSettings_UserSettingsSchema = zod.z.object({
6
+ id: zod.z.string().describe("The unique identifier of the user.").nullable().optional(),
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.");
9
+ const RunpodUpdateUserSettingsOutput = zod.z.object({
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
+ user_settings: RunpodUpdateUserSettings_UserSettingsSchema.nullable().optional()
12
+ }).describe("Response model for RUNPOD_GRAPHQL_UPDATE_USER_SETTINGS.");
13
+ const runpodUpdateUserSettings = require_action.action("RUNPOD_UPDATE_USER_SETTINGS", {
14
+ slug: "runpod-update-user-settings",
15
+ name: "Update User Settings",
16
+ 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.",
17
+ input: RunpodUpdateUserSettingsInput,
18
+ output: RunpodUpdateUserSettingsOutput
19
+ });
20
+ //#endregion
21
+ exports.runpodUpdateUserSettings = runpodUpdateUserSettings;
22
+
23
+ //# sourceMappingURL=update-user-settings.cjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M,EAC1O,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,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;AAC5D,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,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,SAAS,yDAAyD;AAErE,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/update-user-settings.d.ts
4
+ declare const RunpodUpdateUserSettingsInput: z.ZodTypeAny;
5
+ declare const RunpodUpdateUserSettingsOutput: z.ZodTypeAny;
6
+ declare const runpodUpdateUserSettings: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodUpdateUserSettings };
9
+ //# sourceMappingURL=update-user-settings.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-user-settings.d.cts","names":[],"sources":["../../src/actions/update-user-settings.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEuB;AAAA,cAKxD,8BAAA,EAAgC,CAAA,CAAE,UAGuB;AAAA,cAEzD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-user-settings.d.ts
4
+ declare const RunpodUpdateUserSettingsInput: z.ZodTypeAny;
5
+ declare const RunpodUpdateUserSettingsOutput: z.ZodTypeAny;
6
+ declare const runpodUpdateUserSettings: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodUpdateUserSettings };
9
+ //# sourceMappingURL=update-user-settings.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-user-settings.d.mts","names":[],"sources":["../../src/actions/update-user-settings.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEuB;AAAA,cAKxD,8BAAA,EAAgC,CAAA,CAAE,UAGuB;AAAA,cAEzD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,22 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/update-user-settings.ts
4
+ const RunpodUpdateUserSettingsInput = z.object({ 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...').") }).describe("Request model for RUNPOD_GRAPHQL_UPDATE_USER_SETTINGS.");
5
+ const RunpodUpdateUserSettings_UserSettingsSchema = z.object({
6
+ id: z.string().describe("The unique identifier of the user.").nullable().optional(),
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.");
9
+ const runpodUpdateUserSettings = action("RUNPOD_UPDATE_USER_SETTINGS", {
10
+ slug: "runpod-update-user-settings",
11
+ name: "Update User Settings",
12
+ 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.",
13
+ input: RunpodUpdateUserSettingsInput,
14
+ output: z.object({
15
+ errors: z.array(z.record(z.string(), z.unknown())).describe("Any GraphQL errors returned by the API.").nullable().optional(),
16
+ user_settings: RunpodUpdateUserSettings_UserSettingsSchema.nullable().optional()
17
+ }).describe("Response model for RUNPOD_GRAPHQL_UPDATE_USER_SETTINGS.")
18
+ });
19
+ //#endregion
20
+ export { runpodUpdateUserSettings };
21
+
22
+ //# sourceMappingURL=update-user-settings.mjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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,gCAA8C,EAAE,OAAO,EAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M,EAC1O,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,8CAA4D,EAAE,OAAO;CACzE,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;AAM5D,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0D,EAAE,OAAO;EACnE,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,SAAS,yDAOF;AACV,CAAC"}
package/dist/app.cjs ADDED
@@ -0,0 +1,9 @@
1
+ //#region src/app.ts
2
+ const runpod = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ slug: "runpod",
4
+ auth: "keystroke"
5
+ });
6
+ //#endregion
7
+ exports.runpod = runpod;
8
+
9
+ //# sourceMappingURL=app.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const runpod = defineApp({\n slug: \"runpod\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,UAAA,uCAAA,CAAA,CAAA,UAAA,CAAmB;CAC9B,MAAM;CACN,MAAM;AACR,CAAC"}
package/dist/app.d.cts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const runpod: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { runpod };
5
+ //# sourceMappingURL=app.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,MAAA,6BAAM,GAAA,+BAAA,UAAA"}
package/dist/app.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const runpod: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { runpod };
5
+ //# sourceMappingURL=app.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,MAAA,6BAAM,GAAA,+BAAA,UAAA"}
package/dist/app.mjs ADDED
@@ -0,0 +1,10 @@
1
+ import { defineApp } from "@keystrokehq/keystroke/app";
2
+ //#region src/app.ts
3
+ const runpod = defineApp({
4
+ slug: "runpod",
5
+ auth: "keystroke"
6
+ });
7
+ //#endregion
8
+ export { runpod };
9
+
10
+ //# sourceMappingURL=app.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const runpod = defineApp({\n slug: \"runpod\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,SAAS,UAAU;CAC9B,MAAM;CACN,MAAM;AACR,CAAC"}