@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 @@
1
+ {"version":3,"file":"get-gpu-types.cjs","names":["z","action"],"sources":["../../src/actions/get-gpu-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodGetGpuTypesInput: z.ZodTypeAny = z.object({\n input: z.object({\n id: z.string().describe(\"Filter by a single GPU type ID. Use this to retrieve a specific GPU type.\").optional(),\n ids: z.array(z.string()).describe(\"Filter by multiple GPU type IDs. Returns GPU types matching any of the provided IDs.\").optional(),\n cluster: z.boolean().describe(\"Filter for cluster-compatible GPU types. Set to true to only return GPUs that can be used in cluster deployments.\").optional(),\n}).describe(\"Filter options for querying GPU types.\").optional(),\n}).describe(\"Request parameters for querying available GPU types.\");\nexport const RunpodGetGpuTypesOutput: z.ZodTypeAny = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"GraphQL response data containing the gpuTypes array.\").nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Array of error objects if the GraphQL query encountered issues.\").nullable().optional(),\n}).describe(\"Response containing the list of available GPU types.\");\n\nexport const runpodGetGpuTypes = action(\"RUNPOD_GET_GPU_TYPES\", {\n slug: \"runpod-get-gpu-types\",\n name: \"Get GPU Types\",\n 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.\",\n input: RunpodGetGpuTypesInput,\n output: RunpodGetGpuTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,OAAOA,IAAAA,EAAE,OAAO;CAChB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC9G,KAAKA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACnI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EAC/D,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,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/get-gpu-types.d.ts
4
+ declare const RunpodGetGpuTypesInput: z.ZodTypeAny;
5
+ declare const RunpodGetGpuTypesOutput: z.ZodTypeAny;
6
+ declare const runpodGetGpuTypes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodGetGpuTypes };
9
+ //# sourceMappingURL=get-gpu-types.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-gpu-types.d.cts","names":[],"sources":["../../src/actions/get-gpu-types.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAM4B;AAAA,cACtD,uBAAA,EAAyB,CAAA,CAAE,UAG2B;AAAA,cAEtD,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-gpu-types.d.ts
4
+ declare const RunpodGetGpuTypesInput: z.ZodTypeAny;
5
+ declare const RunpodGetGpuTypesOutput: z.ZodTypeAny;
6
+ declare const runpodGetGpuTypes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodGetGpuTypes };
9
+ //# sourceMappingURL=get-gpu-types.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-gpu-types.d.mts","names":[],"sources":["../../src/actions/get-gpu-types.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAM4B;AAAA,cACtD,uBAAA,EAAyB,CAAA,CAAE,UAG2B;AAAA,cAEtD,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,20 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const runpodGetGpuTypes = action("RUNPOD_GET_GPU_TYPES", {
4
+ slug: "runpod-get-gpu-types",
5
+ name: "Get GPU Types",
6
+ 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.",
7
+ input: z.object({ input: z.object({
8
+ id: z.string().describe("Filter by a single GPU type ID. Use this to retrieve a specific GPU type.").optional(),
9
+ ids: z.array(z.string()).describe("Filter by multiple GPU type IDs. Returns GPU types matching any of the provided IDs.").optional(),
10
+ cluster: z.boolean().describe("Filter for cluster-compatible GPU types. Set to true to only return GPUs that can be used in cluster deployments.").optional()
11
+ }).describe("Filter options for querying GPU types.").optional() }).describe("Request parameters for querying available GPU types."),
12
+ output: z.object({
13
+ data: z.record(z.string(), z.unknown()).describe("GraphQL response data containing the gpuTypes array.").nullable().optional(),
14
+ errors: z.array(z.record(z.string(), z.unknown())).describe("Array of error objects if the GraphQL query encountered issues.").nullable().optional()
15
+ }).describe("Response containing the list of available GPU types.")
16
+ });
17
+ //#endregion
18
+ export { runpodGetGpuTypes };
19
+
20
+ //# sourceMappingURL=get-gpu-types.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-gpu-types.mjs","names":[],"sources":["../../src/actions/get-gpu-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodGetGpuTypesInput: z.ZodTypeAny = z.object({\n input: z.object({\n id: z.string().describe(\"Filter by a single GPU type ID. Use this to retrieve a specific GPU type.\").optional(),\n ids: z.array(z.string()).describe(\"Filter by multiple GPU type IDs. Returns GPU types matching any of the provided IDs.\").optional(),\n cluster: z.boolean().describe(\"Filter for cluster-compatible GPU types. Set to true to only return GPUs that can be used in cluster deployments.\").optional(),\n}).describe(\"Filter options for querying GPU types.\").optional(),\n}).describe(\"Request parameters for querying available GPU types.\");\nexport const RunpodGetGpuTypesOutput: z.ZodTypeAny = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"GraphQL response data containing the gpuTypes array.\").nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Array of error objects if the GraphQL query encountered issues.\").nullable().optional(),\n}).describe(\"Response containing the list of available GPU types.\");\n\nexport const runpodGetGpuTypes = action(\"RUNPOD_GET_GPU_TYPES\", {\n slug: \"runpod-get-gpu-types\",\n name: \"Get GPU Types\",\n 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.\",\n input: RunpodGetGpuTypesInput,\n output: RunpodGetGpuTypesOutput,\n});\n"],"mappings":";;AAgBA,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBkD,EAAE,OAAO,EAC3D,OAAO,EAAE,OAAO;EAChB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EAC9G,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACnI,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAC9J,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,EAC/D,CAAC,CAAC,CAAC,SAAS,sDAUH;CACP,QAVmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
@@ -0,0 +1,26 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-myself.ts
4
+ const RunpodGetMyselfInput = zod.z.object({}).describe("Request model for RUNPOD_GRAPHQL_MYSELF. No parameters required.");
5
+ const RunpodGetMyself_UserDetailsSchema = zod.z.object({
6
+ id: zod.z.string().describe("The unique identifier of the user.").nullable().optional(),
7
+ email: zod.z.string().describe("User's email address.").nullable().optional(),
8
+ authId: zod.z.string().describe("Authentication ID for the user.").nullable().optional(),
9
+ multiFactorEnabled: zod.z.boolean().describe("Whether multi-factor authentication is enabled.").nullable().optional(),
10
+ signedTermsOfService: zod.z.boolean().describe("Whether the user has signed the terms of service.").nullable().optional()
11
+ }).describe("Basic user account information from RunPod. Note: Financial and billing fields require elevated API key permissions.");
12
+ const RunpodGetMyselfOutput = zod.z.object({
13
+ user: RunpodGetMyself_UserDetailsSchema.nullable().optional(),
14
+ errors: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Any GraphQL errors returned by the API.").nullable().optional()
15
+ }).describe("Response model for RUNPOD_GET_MYSELF.");
16
+ const runpodGetMyself = require_action.action("RUNPOD_GET_MYSELF", {
17
+ slug: "runpod-get-myself",
18
+ name: "Get authenticated user info",
19
+ description: "Retrieve basic information about the authenticated user including ID, email, and security settings. Use this to get the current user's ID, email address, terms of service status, and MFA settings. Note: Access to financial fields (balance, spending, etc.) requires elevated API key permissions.",
20
+ input: RunpodGetMyselfInput,
21
+ output: RunpodGetMyselfOutput
22
+ });
23
+ //#endregion
24
+ exports.runpodGetMyself = runpodGetMyself;
25
+
26
+ //# sourceMappingURL=get-myself.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-myself.cjs","names":["z","action"],"sources":["../../src/actions/get-myself.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodGetMyselfInput: z.ZodTypeAny = z.object({}).describe(\"Request model for RUNPOD_GRAPHQL_MYSELF. No parameters required.\");\nconst RunpodGetMyself_UserDetailsSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n authId: z.string().describe(\"Authentication ID for the user.\").nullable().optional(),\n multiFactorEnabled: z.boolean().describe(\"Whether multi-factor authentication is enabled.\").nullable().optional(),\n signedTermsOfService: z.boolean().describe(\"Whether the user has signed the terms of service.\").nullable().optional(),\n}).describe(\"Basic user account information from RunPod. Note: Financial and billing fields require elevated API key permissions.\");\nexport const RunpodGetMyselfOutput: z.ZodTypeAny = z.object({\n user: RunpodGetMyself_UserDetailsSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any GraphQL errors returned by the API.\").nullable().optional(),\n}).describe(\"Response model for RUNPOD_GET_MYSELF.\");\n\nexport const runpodGetMyself = action(\"RUNPOD_GET_MYSELF\", {\n slug: \"runpod-get-myself\",\n name: \"Get authenticated user info\",\n description: \"Retrieve basic information about the authenticated user including ID, email, and security settings. Use this to get the current user's ID, email address, terms of service status, and MFA settings. Note: Access to financial fields (balance, spending, etc.) requires elevated API key permissions.\",\n input: RunpodGetMyselfInput,\n output: RunpodGetMyselfOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC1I,MAAM,oCAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,sHAAsH;AAClI,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAM,kCAAkC,SAAS,CAAC,CAAC,SAAS;CAC5D,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;AAC7H,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,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/get-myself.d.ts
4
+ declare const RunpodGetMyselfInput: z.ZodTypeAny;
5
+ declare const RunpodGetMyselfOutput: z.ZodTypeAny;
6
+ declare const runpodGetMyself: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodGetMyself };
9
+ //# sourceMappingURL=get-myself.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-myself.d.cts","names":[],"sources":["../../src/actions/get-myself.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAAsG;AAAA,cAQ9H,qBAAA,EAAuB,CAAA,CAAE,UAGc;AAAA,cAEvC,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-myself.d.ts
4
+ declare const RunpodGetMyselfInput: z.ZodTypeAny;
5
+ declare const RunpodGetMyselfOutput: z.ZodTypeAny;
6
+ declare const runpodGetMyself: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodGetMyself };
9
+ //# sourceMappingURL=get-myself.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-myself.d.mts","names":[],"sources":["../../src/actions/get-myself.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAAsG;AAAA,cAQ9H,qBAAA,EAAuB,CAAA,CAAE,UAGc;AAAA,cAEvC,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,25 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-myself.ts
4
+ const RunpodGetMyselfInput = z.object({}).describe("Request model for RUNPOD_GRAPHQL_MYSELF. No parameters required.");
5
+ const RunpodGetMyself_UserDetailsSchema = z.object({
6
+ id: z.string().describe("The unique identifier of the user.").nullable().optional(),
7
+ email: z.string().describe("User's email address.").nullable().optional(),
8
+ authId: z.string().describe("Authentication ID for the user.").nullable().optional(),
9
+ multiFactorEnabled: z.boolean().describe("Whether multi-factor authentication is enabled.").nullable().optional(),
10
+ signedTermsOfService: z.boolean().describe("Whether the user has signed the terms of service.").nullable().optional()
11
+ }).describe("Basic user account information from RunPod. Note: Financial and billing fields require elevated API key permissions.");
12
+ const runpodGetMyself = action("RUNPOD_GET_MYSELF", {
13
+ slug: "runpod-get-myself",
14
+ name: "Get authenticated user info",
15
+ description: "Retrieve basic information about the authenticated user including ID, email, and security settings. Use this to get the current user's ID, email address, terms of service status, and MFA settings. Note: Access to financial fields (balance, spending, etc.) requires elevated API key permissions.",
16
+ input: RunpodGetMyselfInput,
17
+ output: z.object({
18
+ user: RunpodGetMyself_UserDetailsSchema.nullable().optional(),
19
+ errors: z.array(z.record(z.string(), z.unknown())).describe("Any GraphQL errors returned by the API.").nullable().optional()
20
+ }).describe("Response model for RUNPOD_GET_MYSELF.")
21
+ });
22
+ //#endregion
23
+ export { runpodGetMyself };
24
+
25
+ //# sourceMappingURL=get-myself.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-myself.mjs","names":[],"sources":["../../src/actions/get-myself.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodGetMyselfInput: z.ZodTypeAny = z.object({}).describe(\"Request model for RUNPOD_GRAPHQL_MYSELF. No parameters required.\");\nconst RunpodGetMyself_UserDetailsSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n email: z.string().describe(\"User's email address.\").nullable().optional(),\n authId: z.string().describe(\"Authentication ID for the user.\").nullable().optional(),\n multiFactorEnabled: z.boolean().describe(\"Whether multi-factor authentication is enabled.\").nullable().optional(),\n signedTermsOfService: z.boolean().describe(\"Whether the user has signed the terms of service.\").nullable().optional(),\n}).describe(\"Basic user account information from RunPod. Note: Financial and billing fields require elevated API key permissions.\");\nexport const RunpodGetMyselfOutput: z.ZodTypeAny = z.object({\n user: RunpodGetMyself_UserDetailsSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any GraphQL errors returned by the API.\").nullable().optional(),\n}).describe(\"Response model for RUNPOD_GET_MYSELF.\");\n\nexport const runpodGetMyself = action(\"RUNPOD_GET_MYSELF\", {\n slug: \"runpod-get-myself\",\n name: \"Get authenticated user info\",\n description: \"Retrieve basic information about the authenticated user including ID, email, and security settings. Use this to get the current user's ID, email address, terms of service status, and MFA settings. Note: Access to financial fields (balance, spending, etc.) requires elevated API key permissions.\",\n input: RunpodGetMyselfInput,\n output: RunpodGetMyselfOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC1I,MAAM,oCAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,sHAAsH;AAMlI,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViD,EAAE,OAAO;EAC1D,MAAM,kCAAkC,SAAS,CAAC,CAAC,SAAS;EAC5D,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
@@ -0,0 +1,29 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-pod.ts
4
+ const RunpodGetPodInput = zod.z.object({ pod_id: zod.z.string().describe("The unique identifier of the pod to retrieve. This is the pod ID assigned by RunPod when the pod was created.") }).describe("Request model for RUNPOD_GRAPHQL_GET_POD.");
5
+ const RunpodGetPod_PodDetailsSchema = zod.z.object({
6
+ id: zod.z.string().describe("The unique identifier of the pod.").nullable().optional(),
7
+ name: zod.z.string().describe("The name of the pod.").nullable().optional(),
8
+ gpuCount: zod.z.number().int().describe("The number of GPUs allocated to the pod.").nullable().optional(),
9
+ costPerHr: zod.z.number().describe("The cost per hour for running the pod in USD.").nullable().optional(),
10
+ imageName: zod.z.string().describe("The Docker image name used for the pod.").nullable().optional(),
11
+ vcpuCount: zod.z.number().int().describe("The number of virtual CPUs allocated to the pod.").nullable().optional(),
12
+ memoryInGb: zod.z.number().int().describe("The amount of memory allocated to the pod in gigabytes.").nullable().optional(),
13
+ desiredStatus: zod.z.string().describe("The desired status of the pod (e.g., RUNNING, STOPPED).").nullable().optional()
14
+ }).describe("Detailed information about a RunPod pod.");
15
+ const RunpodGetPodOutput = zod.z.object({
16
+ pod: RunpodGetPod_PodDetailsSchema.nullable().optional(),
17
+ errors: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Any GraphQL errors returned by the API.").nullable().optional()
18
+ }).describe("Response model for RUNPOD_GRAPHQL_GET_POD.");
19
+ const runpodGetPod = require_action.action("RUNPOD_GET_POD", {
20
+ slug: "runpod-get-pod",
21
+ name: "Get Pod Details",
22
+ description: "Retrieve details of a specific RunPod pod by its unique pod ID. Returns pod configuration including GPU count, memory, cost, and status. Use when you need to check the current state or configuration of an existing pod.",
23
+ input: RunpodGetPodInput,
24
+ output: RunpodGetPodOutput
25
+ });
26
+ //#endregion
27
+ exports.runpodGetPod = runpodGetPod;
28
+
29
+ //# sourceMappingURL=get-pod.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-pod.cjs","names":["z","action"],"sources":["../../src/actions/get-pod.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodGetPodInput: z.ZodTypeAny = z.object({\n pod_id: z.string().describe(\"The unique identifier of the pod to retrieve. This is the pod ID assigned by RunPod when the pod was created.\"),\n}).describe(\"Request model for RUNPOD_GRAPHQL_GET_POD.\");\nconst RunpodGetPod_PodDetailsSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the pod.\").nullable().optional(),\n name: z.string().describe(\"The name of the pod.\").nullable().optional(),\n gpuCount: z.number().int().describe(\"The number of GPUs allocated to the pod.\").nullable().optional(),\n costPerHr: z.number().describe(\"The cost per hour for running the pod in USD.\").nullable().optional(),\n imageName: z.string().describe(\"The Docker image name used for the pod.\").nullable().optional(),\n vcpuCount: z.number().int().describe(\"The number of virtual CPUs allocated to the pod.\").nullable().optional(),\n memoryInGb: z.number().int().describe(\"The amount of memory allocated to the pod in gigabytes.\").nullable().optional(),\n desiredStatus: z.string().describe(\"The desired status of the pod (e.g., RUNNING, STOPPED).\").nullable().optional(),\n}).describe(\"Detailed information about a RunPod pod.\");\nexport const RunpodGetPodOutput: z.ZodTypeAny = z.object({\n pod: RunpodGetPod_PodDetailsSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any GraphQL errors returned by the API.\").nullable().optional(),\n}).describe(\"Response model for RUNPOD_GRAPHQL_GET_POD.\");\n\nexport const runpodGetPod = action(\"RUNPOD_GET_POD\", {\n slug: \"runpod-get-pod\",\n name: \"Get Pod Details\",\n description: \"Retrieve details of a specific RunPod pod by its unique pod ID. Returns pod configuration including GPU count, memory, cost, and status. Use when you need to check the current state or configuration of an existing pod.\",\n input: RunpodGetPodInput,\n output: RunpodGetPodOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,EAC7I,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,qBAAmCA,IAAAA,EAAE,OAAO;CACvD,KAAK,8BAA8B,SAAS,CAAC,CAAC,SAAS;CACvD,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;AAC7H,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,eAAeC,eAAAA,OAAO,kBAAkB;CACnD,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/get-pod.d.ts
4
+ declare const RunpodGetPodInput: z.ZodTypeAny;
5
+ declare const RunpodGetPodOutput: z.ZodTypeAny;
6
+ declare const runpodGetPod: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodGetPod };
9
+ //# sourceMappingURL=get-pod.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-pod.d.cts","names":[],"sources":["../../src/actions/get-pod.ts"],"mappings":";;;cAIa,iBAAA,EAAmB,CAAA,CAAE,UAEsB;AAAA,cAW3C,kBAAA,EAAoB,CAAA,CAAE,UAGsB;AAAA,cAE5C,YAAA,gCAAY,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-pod.d.ts
4
+ declare const RunpodGetPodInput: z.ZodTypeAny;
5
+ declare const RunpodGetPodOutput: z.ZodTypeAny;
6
+ declare const runpodGetPod: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodGetPod };
9
+ //# sourceMappingURL=get-pod.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-pod.d.mts","names":[],"sources":["../../src/actions/get-pod.ts"],"mappings":";;;cAIa,iBAAA,EAAmB,CAAA,CAAE,UAEsB;AAAA,cAW3C,kBAAA,EAAoB,CAAA,CAAE,UAGsB;AAAA,cAE5C,YAAA,gCAAY,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,28 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-pod.ts
4
+ const RunpodGetPodInput = z.object({ pod_id: z.string().describe("The unique identifier of the pod to retrieve. This is the pod ID assigned by RunPod when the pod was created.") }).describe("Request model for RUNPOD_GRAPHQL_GET_POD.");
5
+ const RunpodGetPod_PodDetailsSchema = z.object({
6
+ id: z.string().describe("The unique identifier of the pod.").nullable().optional(),
7
+ name: z.string().describe("The name of the pod.").nullable().optional(),
8
+ gpuCount: z.number().int().describe("The number of GPUs allocated to the pod.").nullable().optional(),
9
+ costPerHr: z.number().describe("The cost per hour for running the pod in USD.").nullable().optional(),
10
+ imageName: z.string().describe("The Docker image name used for the pod.").nullable().optional(),
11
+ vcpuCount: z.number().int().describe("The number of virtual CPUs allocated to the pod.").nullable().optional(),
12
+ memoryInGb: z.number().int().describe("The amount of memory allocated to the pod in gigabytes.").nullable().optional(),
13
+ desiredStatus: z.string().describe("The desired status of the pod (e.g., RUNNING, STOPPED).").nullable().optional()
14
+ }).describe("Detailed information about a RunPod pod.");
15
+ const runpodGetPod = action("RUNPOD_GET_POD", {
16
+ slug: "runpod-get-pod",
17
+ name: "Get Pod Details",
18
+ description: "Retrieve details of a specific RunPod pod by its unique pod ID. Returns pod configuration including GPU count, memory, cost, and status. Use when you need to check the current state or configuration of an existing pod.",
19
+ input: RunpodGetPodInput,
20
+ output: z.object({
21
+ pod: RunpodGetPod_PodDetailsSchema.nullable().optional(),
22
+ errors: z.array(z.record(z.string(), z.unknown())).describe("Any GraphQL errors returned by the API.").nullable().optional()
23
+ }).describe("Response model for RUNPOD_GRAPHQL_GET_POD.")
24
+ });
25
+ //#endregion
26
+ export { runpodGetPod };
27
+
28
+ //# sourceMappingURL=get-pod.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-pod.mjs","names":[],"sources":["../../src/actions/get-pod.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodGetPodInput: z.ZodTypeAny = z.object({\n pod_id: z.string().describe(\"The unique identifier of the pod to retrieve. This is the pod ID assigned by RunPod when the pod was created.\"),\n}).describe(\"Request model for RUNPOD_GRAPHQL_GET_POD.\");\nconst RunpodGetPod_PodDetailsSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the pod.\").nullable().optional(),\n name: z.string().describe(\"The name of the pod.\").nullable().optional(),\n gpuCount: z.number().int().describe(\"The number of GPUs allocated to the pod.\").nullable().optional(),\n costPerHr: z.number().describe(\"The cost per hour for running the pod in USD.\").nullable().optional(),\n imageName: z.string().describe(\"The Docker image name used for the pod.\").nullable().optional(),\n vcpuCount: z.number().int().describe(\"The number of virtual CPUs allocated to the pod.\").nullable().optional(),\n memoryInGb: z.number().int().describe(\"The amount of memory allocated to the pod in gigabytes.\").nullable().optional(),\n desiredStatus: z.string().describe(\"The desired status of the pod (e.g., RUNNING, STOPPED).\").nullable().optional(),\n}).describe(\"Detailed information about a RunPod pod.\");\nexport const RunpodGetPodOutput: z.ZodTypeAny = z.object({\n pod: RunpodGetPod_PodDetailsSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any GraphQL errors returned by the API.\").nullable().optional(),\n}).describe(\"Response model for RUNPOD_GRAPHQL_GET_POD.\");\n\nexport const runpodGetPod = action(\"RUNPOD_GET_POD\", {\n slug: \"runpod-get-pod\",\n name: \"Get Pod Details\",\n description: \"Retrieve details of a specific RunPod pod by its unique pod ID. Returns pod configuration including GPU count, memory, cost, and status. Use when you need to check the current state or configuration of an existing pod.\",\n input: RunpodGetPodInput,\n output: RunpodGetPodOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAkC,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,EAC7I,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,gCAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAMtD,MAAa,eAAe,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8C,EAAE,OAAO;EACvD,KAAK,8BAA8B,SAAS,CAAC,CAAC,SAAS;EACvD,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
@@ -0,0 +1,27 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_create_cluster = require("./create-cluster.cjs");
3
+ const require_create_secret = require("./create-secret.cjs");
4
+ const require_delete_registry_auth = require("./delete-registry-auth.cjs");
5
+ const require_delete_template = require("./delete-template.cjs");
6
+ const require_get_gpu_types = require("./get-gpu-types.cjs");
7
+ const require_get_myself = require("./get-myself.cjs");
8
+ const require_get_pod = require("./get-pod.cjs");
9
+ const require_list_cpu_types = require("./list-cpu-types.cjs");
10
+ const require_save_endpoint = require("./save-endpoint.cjs");
11
+ const require_save_registry_auth = require("./save-registry-auth.cjs");
12
+ const require_save_template = require("./save-template.cjs");
13
+ const require_update_registry_auth = require("./update-registry-auth.cjs");
14
+ const require_update_user_settings = require("./update-user-settings.cjs");
15
+ exports.runpodCreateCluster = require_create_cluster.runpodCreateCluster;
16
+ exports.runpodCreateSecret = require_create_secret.runpodCreateSecret;
17
+ exports.runpodDeleteRegistryAuth = require_delete_registry_auth.runpodDeleteRegistryAuth;
18
+ exports.runpodDeleteTemplate = require_delete_template.runpodDeleteTemplate;
19
+ exports.runpodGetGpuTypes = require_get_gpu_types.runpodGetGpuTypes;
20
+ exports.runpodGetMyself = require_get_myself.runpodGetMyself;
21
+ exports.runpodGetPod = require_get_pod.runpodGetPod;
22
+ exports.runpodListCpuTypes = require_list_cpu_types.runpodListCpuTypes;
23
+ exports.runpodSaveEndpoint = require_save_endpoint.runpodSaveEndpoint;
24
+ exports.runpodSaveRegistryAuth = require_save_registry_auth.runpodSaveRegistryAuth;
25
+ exports.runpodSaveTemplate = require_save_template.runpodSaveTemplate;
26
+ exports.runpodUpdateRegistryAuth = require_update_registry_auth.runpodUpdateRegistryAuth;
27
+ exports.runpodUpdateUserSettings = require_update_user_settings.runpodUpdateUserSettings;
@@ -0,0 +1,14 @@
1
+ import { runpodCreateCluster } from "./create-cluster.cjs";
2
+ import { runpodCreateSecret } from "./create-secret.cjs";
3
+ import { runpodDeleteRegistryAuth } from "./delete-registry-auth.cjs";
4
+ import { runpodDeleteTemplate } from "./delete-template.cjs";
5
+ import { runpodGetGpuTypes } from "./get-gpu-types.cjs";
6
+ import { runpodGetMyself } from "./get-myself.cjs";
7
+ import { runpodGetPod } from "./get-pod.cjs";
8
+ import { runpodListCpuTypes } from "./list-cpu-types.cjs";
9
+ import { runpodSaveEndpoint } from "./save-endpoint.cjs";
10
+ import { runpodSaveRegistryAuth } from "./save-registry-auth.cjs";
11
+ import { runpodSaveTemplate } from "./save-template.cjs";
12
+ import { runpodUpdateRegistryAuth } from "./update-registry-auth.cjs";
13
+ import { runpodUpdateUserSettings } from "./update-user-settings.cjs";
14
+ export { runpodCreateCluster, runpodCreateSecret, runpodDeleteRegistryAuth, runpodDeleteTemplate, runpodGetGpuTypes, runpodGetMyself, runpodGetPod, runpodListCpuTypes, runpodSaveEndpoint, runpodSaveRegistryAuth, runpodSaveTemplate, runpodUpdateRegistryAuth, runpodUpdateUserSettings };
@@ -0,0 +1,14 @@
1
+ import { runpodCreateCluster } from "./create-cluster.mjs";
2
+ import { runpodCreateSecret } from "./create-secret.mjs";
3
+ import { runpodDeleteRegistryAuth } from "./delete-registry-auth.mjs";
4
+ import { runpodDeleteTemplate } from "./delete-template.mjs";
5
+ import { runpodGetGpuTypes } from "./get-gpu-types.mjs";
6
+ import { runpodGetMyself } from "./get-myself.mjs";
7
+ import { runpodGetPod } from "./get-pod.mjs";
8
+ import { runpodListCpuTypes } from "./list-cpu-types.mjs";
9
+ import { runpodSaveEndpoint } from "./save-endpoint.mjs";
10
+ import { runpodSaveRegistryAuth } from "./save-registry-auth.mjs";
11
+ import { runpodSaveTemplate } from "./save-template.mjs";
12
+ import { runpodUpdateRegistryAuth } from "./update-registry-auth.mjs";
13
+ import { runpodUpdateUserSettings } from "./update-user-settings.mjs";
14
+ export { runpodCreateCluster, runpodCreateSecret, runpodDeleteRegistryAuth, runpodDeleteTemplate, runpodGetGpuTypes, runpodGetMyself, runpodGetPod, runpodListCpuTypes, runpodSaveEndpoint, runpodSaveRegistryAuth, runpodSaveTemplate, runpodUpdateRegistryAuth, runpodUpdateUserSettings };
@@ -0,0 +1,14 @@
1
+ import { runpodCreateCluster } from "./create-cluster.mjs";
2
+ import { runpodCreateSecret } from "./create-secret.mjs";
3
+ import { runpodDeleteRegistryAuth } from "./delete-registry-auth.mjs";
4
+ import { runpodDeleteTemplate } from "./delete-template.mjs";
5
+ import { runpodGetGpuTypes } from "./get-gpu-types.mjs";
6
+ import { runpodGetMyself } from "./get-myself.mjs";
7
+ import { runpodGetPod } from "./get-pod.mjs";
8
+ import { runpodListCpuTypes } from "./list-cpu-types.mjs";
9
+ import { runpodSaveEndpoint } from "./save-endpoint.mjs";
10
+ import { runpodSaveRegistryAuth } from "./save-registry-auth.mjs";
11
+ import { runpodSaveTemplate } from "./save-template.mjs";
12
+ import { runpodUpdateRegistryAuth } from "./update-registry-auth.mjs";
13
+ import { runpodUpdateUserSettings } from "./update-user-settings.mjs";
14
+ export { runpodCreateCluster, runpodCreateSecret, runpodDeleteRegistryAuth, runpodDeleteTemplate, runpodGetGpuTypes, runpodGetMyself, runpodGetPod, runpodListCpuTypes, runpodSaveEndpoint, runpodSaveRegistryAuth, runpodSaveTemplate, runpodUpdateRegistryAuth, runpodUpdateUserSettings };
@@ -0,0 +1,25 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-cpu-types.ts
4
+ const RunpodListCpuTypesInput = zod.z.object({}).describe("Request model for retrieving available CPU types from RunPod.");
5
+ const RunpodListCpuTypes_CpuTypeSchema = zod.z.object({
6
+ id: zod.z.string().describe("Unique identifier for the CPU type."),
7
+ cores: zod.z.number().int().describe("Number of processor cores."),
8
+ groupId: zod.z.string().describe("Associated CPU group identifier.").nullable().optional(),
9
+ displayName: zod.z.string().describe("Human-readable name for display purposes."),
10
+ manufacturer: zod.z.string().describe("CPU manufacturer name (e.g., Intel, AMD)."),
11
+ threadsPerCore: zod.z.number().int().describe("Thread count per individual core.")
12
+ }).describe("CPU type specification with hardware details.");
13
+ const RunpodListCpuTypes_ListCpuTypesResponseDataSchema = zod.z.object({ cpuTypes: zod.z.array(RunpodListCpuTypes_CpuTypeSchema).describe("Array of available CPU types with their specifications.") }).describe("Data wrapper containing the list of CPU types.");
14
+ const RunpodListCpuTypesOutput = zod.z.object({ data: RunpodListCpuTypes_ListCpuTypesResponseDataSchema.nullable() }).describe("Response model containing available CPU types from RunPod GraphQL API.");
15
+ const runpodListCpuTypes = require_action.action("RUNPOD_LIST_CPU_TYPES", {
16
+ slug: "runpod-list-cpu-types",
17
+ name: "List CPU Types",
18
+ description: "Tool to retrieve available CPU types and their specifications from RunPod. Use when you need to view CPU options for provisioning pods or selecting hardware configurations.",
19
+ input: RunpodListCpuTypesInput,
20
+ output: RunpodListCpuTypesOutput
21
+ });
22
+ //#endregion
23
+ exports.runpodListCpuTypes = runpodListCpuTypes;
24
+
25
+ //# sourceMappingURL=list-cpu-types.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-cpu-types.cjs","names":["z","action"],"sources":["../../src/actions/list-cpu-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodListCpuTypesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving available CPU types from RunPod.\");\nconst RunpodListCpuTypes_CpuTypeSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the CPU type.\"),\n cores: z.number().int().describe(\"Number of processor cores.\"),\n groupId: z.string().describe(\"Associated CPU group identifier.\").nullable().optional(),\n displayName: z.string().describe(\"Human-readable name for display purposes.\"),\n manufacturer: z.string().describe(\"CPU manufacturer name (e.g., Intel, AMD).\"),\n threadsPerCore: z.number().int().describe(\"Thread count per individual core.\"),\n}).describe(\"CPU type specification with hardware details.\");\nconst RunpodListCpuTypes_ListCpuTypesResponseDataSchema: z.ZodTypeAny = z.object({\n cpuTypes: z.array(RunpodListCpuTypes_CpuTypeSchema).describe(\"Array of available CPU types with their specifications.\"),\n}).describe(\"Data wrapper containing the list of CPU types.\");\nexport const RunpodListCpuTypesOutput: z.ZodTypeAny = z.object({\n data: RunpodListCpuTypes_ListCpuTypesResponseDataSchema.nullable(),\n}).describe(\"Response model containing available CPU types from RunPod GraphQL API.\");\n\nexport const runpodListCpuTypes = action(\"RUNPOD_LIST_CPU_TYPES\", {\n slug: \"runpod-list-cpu-types\",\n name: \"List CPU Types\",\n description: \"Tool to retrieve available CPU types and their specifications from RunPod. Use when you need to view CPU options for provisioning pods or selecting hardware configurations.\",\n input: RunpodListCpuTypesInput,\n output: RunpodListCpuTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC1I,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC5E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC7E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;AAC/E,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,oDAAkEA,IAAAA,EAAE,OAAO,EAC/E,UAAUA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,yDAAyD,EACxH,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,MAAM,kDAAkD,SAAS,EACnE,CAAC,CAAC,CAAC,SAAS,wEAAwE;AAEpF,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,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/list-cpu-types.d.ts
4
+ declare const RunpodListCpuTypesInput: z.ZodTypeAny;
5
+ declare const RunpodListCpuTypesOutput: z.ZodTypeAny;
6
+ declare const runpodListCpuTypes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodListCpuTypes };
9
+ //# sourceMappingURL=list-cpu-types.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-cpu-types.d.cts","names":[],"sources":["../../src/actions/list-cpu-types.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAAmG;AAAA,cAY9H,wBAAA,EAA0B,CAAA,CAAE,UAE4C;AAAA,cAExE,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-cpu-types.d.ts
4
+ declare const RunpodListCpuTypesInput: z.ZodTypeAny;
5
+ declare const RunpodListCpuTypesOutput: z.ZodTypeAny;
6
+ declare const runpodListCpuTypes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodListCpuTypes };
9
+ //# sourceMappingURL=list-cpu-types.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-cpu-types.d.mts","names":[],"sources":["../../src/actions/list-cpu-types.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAAmG;AAAA,cAY9H,wBAAA,EAA0B,CAAA,CAAE,UAE4C;AAAA,cAExE,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/list-cpu-types.ts
4
+ const RunpodListCpuTypesInput = z.object({}).describe("Request model for retrieving available CPU types from RunPod.");
5
+ const RunpodListCpuTypes_CpuTypeSchema = z.object({
6
+ id: z.string().describe("Unique identifier for the CPU type."),
7
+ cores: z.number().int().describe("Number of processor cores."),
8
+ groupId: z.string().describe("Associated CPU group identifier.").nullable().optional(),
9
+ displayName: z.string().describe("Human-readable name for display purposes."),
10
+ manufacturer: z.string().describe("CPU manufacturer name (e.g., Intel, AMD)."),
11
+ threadsPerCore: z.number().int().describe("Thread count per individual core.")
12
+ }).describe("CPU type specification with hardware details.");
13
+ const RunpodListCpuTypes_ListCpuTypesResponseDataSchema = z.object({ cpuTypes: z.array(RunpodListCpuTypes_CpuTypeSchema).describe("Array of available CPU types with their specifications.") }).describe("Data wrapper containing the list of CPU types.");
14
+ const runpodListCpuTypes = action("RUNPOD_LIST_CPU_TYPES", {
15
+ slug: "runpod-list-cpu-types",
16
+ name: "List CPU Types",
17
+ description: "Tool to retrieve available CPU types and their specifications from RunPod. Use when you need to view CPU options for provisioning pods or selecting hardware configurations.",
18
+ input: RunpodListCpuTypesInput,
19
+ output: z.object({ data: RunpodListCpuTypes_ListCpuTypesResponseDataSchema.nullable() }).describe("Response model containing available CPU types from RunPod GraphQL API.")
20
+ });
21
+ //#endregion
22
+ export { runpodListCpuTypes };
23
+
24
+ //# sourceMappingURL=list-cpu-types.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-cpu-types.mjs","names":[],"sources":["../../src/actions/list-cpu-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodListCpuTypesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving available CPU types from RunPod.\");\nconst RunpodListCpuTypes_CpuTypeSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the CPU type.\"),\n cores: z.number().int().describe(\"Number of processor cores.\"),\n groupId: z.string().describe(\"Associated CPU group identifier.\").nullable().optional(),\n displayName: z.string().describe(\"Human-readable name for display purposes.\"),\n manufacturer: z.string().describe(\"CPU manufacturer name (e.g., Intel, AMD).\"),\n threadsPerCore: z.number().int().describe(\"Thread count per individual core.\"),\n}).describe(\"CPU type specification with hardware details.\");\nconst RunpodListCpuTypes_ListCpuTypesResponseDataSchema: z.ZodTypeAny = z.object({\n cpuTypes: z.array(RunpodListCpuTypes_CpuTypeSchema).describe(\"Array of available CPU types with their specifications.\"),\n}).describe(\"Data wrapper containing the list of CPU types.\");\nexport const RunpodListCpuTypesOutput: z.ZodTypeAny = z.object({\n data: RunpodListCpuTypes_ListCpuTypesResponseDataSchema.nullable(),\n}).describe(\"Response model containing available CPU types from RunPod GraphQL API.\");\n\nexport const runpodListCpuTypes = action(\"RUNPOD_LIST_CPU_TYPES\", {\n slug: \"runpod-list-cpu-types\",\n name: \"List CPU Types\",\n description: \"Tool to retrieve available CPU types and their specifications from RunPod. Use when you need to view CPU options for provisioning pods or selecting hardware configurations.\",\n input: RunpodListCpuTypesInput,\n output: RunpodListCpuTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC1I,MAAM,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC7E,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;AAC/E,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,oDAAkE,EAAE,OAAO,EAC/E,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,yDAAyD,EACxH,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAK5D,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,MAAM,kDAAkD,SAAS,EACnE,CAAC,CAAC,CAAC,SAAS,wEAOF;AACV,CAAC"}
@@ -0,0 +1,42 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/save-endpoint.ts
4
+ const RunpodSaveEndpointInput = zod.z.object({
5
+ id: zod.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: zod.z.string().describe("Name of the endpoint (required for creation). Must be a descriptive identifier for the serverless endpoint."),
7
+ gpu_ids: zod.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: zod.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: zod.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: zod.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: zod.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: zod.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: zod.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: zod.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: zod.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 = zod.z.object({
18
+ id: zod.z.string().describe("The unique identifier of the created or updated endpoint.").nullable().optional(),
19
+ name: zod.z.string().describe("Name of the endpoint.").nullable().optional(),
20
+ gpu_ids: zod.z.string().describe("GPU type identifier configured for the endpoint.").nullable().optional(),
21
+ scaler_type: zod.z.string().describe("Autoscaling algorithm type configured for the endpoint.").nullable().optional(),
22
+ template_id: zod.z.string().describe("Template ID used for the endpoint configuration.").nullable().optional(),
23
+ workers_max: zod.z.number().int().describe("Maximum number of workers configured.").nullable().optional(),
24
+ workers_min: zod.z.number().int().describe("Minimum number of workers configured.").nullable().optional(),
25
+ scaler_value: zod.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 = zod.z.object({ saveEndpoint: RunpodSaveEndpoint_SaveEndpointDataSchema.nullable().optional() }).describe("Wrapper for the data object in GraphQL response.");
28
+ const RunpodSaveEndpointOutput = zod.z.object({
29
+ data: RunpodSaveEndpoint_SaveEndpointDataWrapperSchema.nullable().optional(),
30
+ errors: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of GraphQL errors if the mutation failed. Each error contains 'message' and may include 'locations' and 'path' fields.").nullable().optional()
31
+ }).describe("Response model for the saveEndpoint mutation.");
32
+ const runpodSaveEndpoint = require_action.action("RUNPOD_SAVE_ENDPOINT", {
33
+ slug: "runpod-save-endpoint",
34
+ name: "Save Serverless Endpoint",
35
+ 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.",
36
+ input: RunpodSaveEndpointInput,
37
+ output: RunpodSaveEndpointOutput
38
+ });
39
+ //#endregion
40
+ exports.runpodSaveEndpoint = runpodSaveEndpoint;
41
+
42
+ //# sourceMappingURL=save-endpoint.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-endpoint.cjs","names":["z","action"],"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,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CACrN,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACvI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qMAAqM;CAClO,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;CACxM,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;CAChP,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;CAC1K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CAC9K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;CACnN,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CACzM,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iNAAiN,CAAC,CAAC,SAAS;CACpQ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;AAC3L,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,mDAAiEA,IAAAA,EAAE,OAAO,EAC9E,cAAc,0CAA0C,SAAS,CAAC,CAAC,SAAS,EAC9E,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAM,iDAAiD,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjN,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-endpoint.d.ts
4
+ declare const RunpodSaveEndpointInput: z.ZodTypeAny;
5
+ declare const RunpodSaveEndpointOutput: z.ZodTypeAny;
6
+ declare const runpodSaveEndpoint: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodSaveEndpoint };
9
+ //# sourceMappingURL=save-endpoint.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-endpoint.d.cts","names":[],"sources":["../../src/actions/save-endpoint.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAY2C;AAAA,cActE,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-endpoint.d.ts
4
+ declare const RunpodSaveEndpointInput: z.ZodTypeAny;
5
+ declare const RunpodSaveEndpointOutput: z.ZodTypeAny;
6
+ declare const runpodSaveEndpoint: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { runpodSaveEndpoint };
9
+ //# sourceMappingURL=save-endpoint.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-endpoint.d.mts","names":[],"sources":["../../src/actions/save-endpoint.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAY2C;AAAA,cActE,wBAAA,EAA0B,CAAA,CAAE,UAGmB;AAAA,cAE/C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}