@keystrokehq/runpod 0.1.5 → 0.1.6

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 (117) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-cluster.cjs +1 -0
  4. package/dist/actions/create-cluster.cjs.map +1 -1
  5. package/dist/actions/create-cluster.d.cts +3 -36
  6. package/dist/actions/create-cluster.d.cts.map +1 -1
  7. package/dist/actions/create-cluster.d.mts +3 -36
  8. package/dist/actions/create-cluster.d.mts.map +1 -1
  9. package/dist/actions/create-cluster.mjs +1 -0
  10. package/dist/actions/create-cluster.mjs.map +1 -1
  11. package/dist/actions/create-secret.cjs +1 -0
  12. package/dist/actions/create-secret.cjs.map +1 -1
  13. package/dist/actions/create-secret.d.cts +3 -17
  14. package/dist/actions/create-secret.d.cts.map +1 -1
  15. package/dist/actions/create-secret.d.mts +3 -17
  16. package/dist/actions/create-secret.d.mts.map +1 -1
  17. package/dist/actions/create-secret.mjs +1 -0
  18. package/dist/actions/create-secret.mjs.map +1 -1
  19. package/dist/actions/delete-registry-auth.cjs +1 -0
  20. package/dist/actions/delete-registry-auth.cjs.map +1 -1
  21. package/dist/actions/delete-registry-auth.d.cts +3 -15
  22. package/dist/actions/delete-registry-auth.d.cts.map +1 -1
  23. package/dist/actions/delete-registry-auth.d.mts +3 -15
  24. package/dist/actions/delete-registry-auth.d.mts.map +1 -1
  25. package/dist/actions/delete-registry-auth.mjs +1 -0
  26. package/dist/actions/delete-registry-auth.mjs.map +1 -1
  27. package/dist/actions/delete-template.cjs +1 -0
  28. package/dist/actions/delete-template.cjs.map +1 -1
  29. package/dist/actions/delete-template.d.cts +3 -15
  30. package/dist/actions/delete-template.d.cts.map +1 -1
  31. package/dist/actions/delete-template.d.mts +3 -15
  32. package/dist/actions/delete-template.d.mts.map +1 -1
  33. package/dist/actions/delete-template.mjs +1 -0
  34. package/dist/actions/delete-template.mjs.map +1 -1
  35. package/dist/actions/get-gpu-types.cjs +1 -0
  36. package/dist/actions/get-gpu-types.cjs.map +1 -1
  37. package/dist/actions/get-gpu-types.d.cts +3 -19
  38. package/dist/actions/get-gpu-types.d.cts.map +1 -1
  39. package/dist/actions/get-gpu-types.d.mts +3 -19
  40. package/dist/actions/get-gpu-types.d.mts.map +1 -1
  41. package/dist/actions/get-gpu-types.mjs +1 -0
  42. package/dist/actions/get-gpu-types.mjs.map +1 -1
  43. package/dist/actions/get-myself.cjs +1 -0
  44. package/dist/actions/get-myself.cjs.map +1 -1
  45. package/dist/actions/get-myself.d.cts +3 -13
  46. package/dist/actions/get-myself.d.cts.map +1 -1
  47. package/dist/actions/get-myself.d.mts +3 -13
  48. package/dist/actions/get-myself.d.mts.map +1 -1
  49. package/dist/actions/get-myself.mjs +1 -0
  50. package/dist/actions/get-myself.mjs.map +1 -1
  51. package/dist/actions/get-pod.cjs +1 -0
  52. package/dist/actions/get-pod.cjs.map +1 -1
  53. package/dist/actions/get-pod.d.cts +3 -15
  54. package/dist/actions/get-pod.d.cts.map +1 -1
  55. package/dist/actions/get-pod.d.mts +3 -15
  56. package/dist/actions/get-pod.d.mts.map +1 -1
  57. package/dist/actions/get-pod.mjs +1 -0
  58. package/dist/actions/get-pod.mjs.map +1 -1
  59. package/dist/actions/list-cpu-types.cjs +1 -0
  60. package/dist/actions/list-cpu-types.cjs.map +1 -1
  61. package/dist/actions/list-cpu-types.d.cts +3 -13
  62. package/dist/actions/list-cpu-types.d.cts.map +1 -1
  63. package/dist/actions/list-cpu-types.d.mts +3 -13
  64. package/dist/actions/list-cpu-types.d.mts.map +1 -1
  65. package/dist/actions/list-cpu-types.mjs +1 -0
  66. package/dist/actions/list-cpu-types.mjs.map +1 -1
  67. package/dist/actions/save-endpoint.cjs +1 -0
  68. package/dist/actions/save-endpoint.cjs.map +1 -1
  69. package/dist/actions/save-endpoint.d.cts +3 -25
  70. package/dist/actions/save-endpoint.d.cts.map +1 -1
  71. package/dist/actions/save-endpoint.d.mts +3 -25
  72. package/dist/actions/save-endpoint.d.mts.map +1 -1
  73. package/dist/actions/save-endpoint.mjs +1 -0
  74. package/dist/actions/save-endpoint.mjs.map +1 -1
  75. package/dist/actions/save-registry-auth.cjs +1 -0
  76. package/dist/actions/save-registry-auth.cjs.map +1 -1
  77. package/dist/actions/save-registry-auth.d.cts +3 -17
  78. package/dist/actions/save-registry-auth.d.cts.map +1 -1
  79. package/dist/actions/save-registry-auth.d.mts +3 -17
  80. package/dist/actions/save-registry-auth.d.mts.map +1 -1
  81. package/dist/actions/save-registry-auth.mjs +1 -0
  82. package/dist/actions/save-registry-auth.mjs.map +1 -1
  83. package/dist/actions/save-template.cjs +1 -0
  84. package/dist/actions/save-template.cjs.map +1 -1
  85. package/dist/actions/save-template.d.cts +3 -29
  86. package/dist/actions/save-template.d.cts.map +1 -1
  87. package/dist/actions/save-template.d.mts +3 -29
  88. package/dist/actions/save-template.d.mts.map +1 -1
  89. package/dist/actions/save-template.mjs +1 -0
  90. package/dist/actions/save-template.mjs.map +1 -1
  91. package/dist/actions/update-registry-auth.cjs +1 -0
  92. package/dist/actions/update-registry-auth.cjs.map +1 -1
  93. package/dist/actions/update-registry-auth.d.cts +3 -17
  94. package/dist/actions/update-registry-auth.d.cts.map +1 -1
  95. package/dist/actions/update-registry-auth.d.mts +3 -17
  96. package/dist/actions/update-registry-auth.d.mts.map +1 -1
  97. package/dist/actions/update-registry-auth.mjs +1 -0
  98. package/dist/actions/update-registry-auth.mjs.map +1 -1
  99. package/dist/actions/update-user-settings.cjs +1 -0
  100. package/dist/actions/update-user-settings.cjs.map +1 -1
  101. package/dist/actions/update-user-settings.d.cts +3 -15
  102. package/dist/actions/update-user-settings.d.cts.map +1 -1
  103. package/dist/actions/update-user-settings.d.mts +3 -15
  104. package/dist/actions/update-user-settings.d.mts.map +1 -1
  105. package/dist/actions/update-user-settings.mjs +1 -0
  106. package/dist/actions/update-user-settings.mjs.map +1 -1
  107. package/dist/app.cjs +2 -2
  108. package/dist/app.cjs.map +1 -1
  109. package/dist/app.d.cts +4 -6
  110. package/dist/app.d.cts.map +1 -1
  111. package/dist/app.d.mts +4 -6
  112. package/dist/app.d.mts.map +1 -1
  113. package/dist/app.mjs +0 -1
  114. package/dist/app.mjs.map +1 -1
  115. package/dist/index.d.cts +1 -1
  116. package/dist/index.d.mts +1 -1
  117. package/package.json +2 -2
@@ -1 +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.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.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}).passthrough().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,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,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,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,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,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-gpu-types.cjs","names":["z","action"],"sources":["../../src/actions/get-gpu-types.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { runpod } from \"../app\";\n\nexport const RunpodGetGpuTypesInput = 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.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}).passthrough().describe(\"Response containing the list of available GPU types.\");\n\nexport const runpodGetGpuTypes: AppAction<\n typeof RunpodGetGpuTypesInput,\n typeof RunpodGetGpuTypesOutput,\n typeof runpod.credential\n> = 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":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,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,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,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,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,oBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { runpod } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-gpu-types.d.ts
@@ -12,25 +14,7 @@ declare const RunpodGetGpuTypesOutput: z.ZodObject<{
12
14
  data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
13
15
  errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
14
16
  }, z.core.$loose>;
15
- declare const runpodGetGpuTypes: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- input?: {
17
- id?: string | undefined;
18
- ids?: string[] | undefined;
19
- cluster?: boolean | undefined;
20
- } | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"runpod", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"runpod", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- }, z.core.$strip>>]>;
17
+ declare const runpodGetGpuTypes: AppAction<typeof RunpodGetGpuTypesInput, typeof RunpodGetGpuTypesOutput, typeof runpod.credential>;
34
18
  //#endregion
35
19
  export { runpodGetGpuTypes };
36
20
  //# sourceMappingURL=get-gpu-types.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-gpu-types.d.cts","names":[],"sources":["../../src/actions/get-gpu-types.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;cAOtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAKvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"get-gpu-types.d.cts","names":[],"sources":["../../src/actions/get-gpu-types.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;cAOtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAKvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { runpod } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-gpu-types.d.ts
@@ -12,25 +14,7 @@ declare const RunpodGetGpuTypesOutput: z.ZodObject<{
12
14
  data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
13
15
  errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
14
16
  }, z.core.$loose>;
15
- declare const runpodGetGpuTypes: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- input?: {
17
- id?: string | undefined;
18
- ids?: string[] | undefined;
19
- cluster?: boolean | undefined;
20
- } | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"runpod", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"runpod", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- }, z.core.$strip>>]>;
17
+ declare const runpodGetGpuTypes: AppAction<typeof RunpodGetGpuTypesInput, typeof RunpodGetGpuTypesOutput, typeof runpod.credential>;
34
18
  //#endregion
35
19
  export { runpodGetGpuTypes };
36
20
  //# sourceMappingURL=get-gpu-types.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-gpu-types.d.mts","names":[],"sources":["../../src/actions/get-gpu-types.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;cAOtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAKvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"get-gpu-types.d.mts","names":[],"sources":["../../src/actions/get-gpu-types.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;cAOtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAKvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const runpodGetGpuTypes = action("RUNPOD_GET_GPU_TYPES", {
@@ -1 +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.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.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}).passthrough().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,OAhBoC,EAAE,OAAO,EAC7C,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,QAVqC,EAAE,OAAO;EAC9C,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,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-gpu-types.mjs","names":[],"sources":["../../src/actions/get-gpu-types.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { runpod } from \"../app\";\n\nexport const RunpodGetGpuTypesInput = 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.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}).passthrough().describe(\"Response containing the list of available GPU types.\");\n\nexport const runpodGetGpuTypes: AppAction<\n typeof RunpodGetGpuTypesInput,\n typeof RunpodGetGpuTypesOutput,\n typeof runpod.credential\n> = 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":";;;AAkBA,MAAa,oBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBoC,EAAE,OAAO,EAC7C,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,sDAcH;CACP,QAdqC,EAAE,OAAO;EAC9C,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,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-myself.ts
@@ -1 +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.object({}).describe(\"Request model for RUNPOD_GRAPHQL_MYSELF. No parameters required.\");\nconst RunpodGetMyself_UserDetailsSchema = 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}).passthrough().describe(\"Basic user account information from RunPod. Note: Financial and billing fields require elevated API key permissions.\");\nexport const RunpodGetMyselfOutput = 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}).passthrough().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,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC5H,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,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,YAAY,CAAC,CAAC,SAAS,sHAAsH;AAChJ,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,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,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-myself.cjs","names":["z","action"],"sources":["../../src/actions/get-myself.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { runpod } from \"../app\";\n\nexport const RunpodGetMyselfInput = z.object({}).describe(\"Request model for RUNPOD_GRAPHQL_MYSELF. No parameters required.\");\nconst RunpodGetMyself_UserDetailsSchema = 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}).passthrough().describe(\"Basic user account information from RunPod. Note: Financial and billing fields require elevated API key permissions.\");\nexport const RunpodGetMyselfOutput = 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}).passthrough().describe(\"Response model for RUNPOD_GET_MYSELF.\");\n\nexport const runpodGetMyself: AppAction<\n typeof RunpodGetMyselfInput,\n typeof RunpodGetMyselfOutput,\n typeof runpod.credential\n> = 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":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC5H,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,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,YAAY,CAAC,CAAC,SAAS,sHAAsH;AAChJ,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,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,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { runpod } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-myself.d.ts
@@ -12,19 +14,7 @@ declare const RunpodGetMyselfOutput: z.ZodObject<{
12
14
  }, z.core.$loose>>>;
13
15
  errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
14
16
  }, z.core.$loose>;
15
- declare const runpodGetMyself: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"runpod", z.ZodObject<{
16
- connectionId: z.ZodString;
17
- entityId: z.ZodString;
18
- instanceId: z.ZodString;
19
- }, z.core.$strip>, z.ZodObject<{
20
- generic_api_key: z.ZodString;
21
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"runpod", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>;
17
+ declare const runpodGetMyself: AppAction<typeof RunpodGetMyselfInput, typeof RunpodGetMyselfOutput, typeof runpod.credential>;
28
18
  //#endregion
29
19
  export { runpodGetMyself };
30
20
  //# sourceMappingURL=get-myself.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-myself.d.cts","names":[],"sources":["../../src/actions/get-myself.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;cAKrB,eAAA,gCAAe,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-myself.d.cts","names":[],"sources":["../../src/actions/get-myself.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;cAKrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { runpod } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-myself.d.ts
@@ -12,19 +14,7 @@ declare const RunpodGetMyselfOutput: z.ZodObject<{
12
14
  }, z.core.$loose>>>;
13
15
  errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
14
16
  }, z.core.$loose>;
15
- declare const runpodGetMyself: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"runpod", z.ZodObject<{
16
- connectionId: z.ZodString;
17
- entityId: z.ZodString;
18
- instanceId: z.ZodString;
19
- }, z.core.$strip>, z.ZodObject<{
20
- generic_api_key: z.ZodString;
21
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"runpod", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>;
17
+ declare const runpodGetMyself: AppAction<typeof RunpodGetMyselfInput, typeof RunpodGetMyselfOutput, typeof runpod.credential>;
28
18
  //#endregion
29
19
  export { runpodGetMyself };
30
20
  //# sourceMappingURL=get-myself.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-myself.d.mts","names":[],"sources":["../../src/actions/get-myself.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;cAKrB,eAAA,gCAAe,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-myself.d.mts","names":[],"sources":["../../src/actions/get-myself.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;cAKrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-myself.ts
@@ -1 +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.object({}).describe(\"Request model for RUNPOD_GRAPHQL_MYSELF. No parameters required.\");\nconst RunpodGetMyself_UserDetailsSchema = 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}).passthrough().describe(\"Basic user account information from RunPod. Note: Financial and billing fields require elevated API key permissions.\");\nexport const RunpodGetMyselfOutput = 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}).passthrough().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,uBAAuB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC5H,MAAM,oCAAoC,EAAE,OAAO;CACjD,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,YAAY,CAAC,CAAC,SAAS,sHAAsH;AAMhJ,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmC,EAAE,OAAO;EAC5C,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,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-myself.mjs","names":[],"sources":["../../src/actions/get-myself.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { runpod } from \"../app\";\n\nexport const RunpodGetMyselfInput = z.object({}).describe(\"Request model for RUNPOD_GRAPHQL_MYSELF. No parameters required.\");\nconst RunpodGetMyself_UserDetailsSchema = 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}).passthrough().describe(\"Basic user account information from RunPod. Note: Financial and billing fields require elevated API key permissions.\");\nexport const RunpodGetMyselfOutput = 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}).passthrough().describe(\"Response model for RUNPOD_GET_MYSELF.\");\n\nexport const runpodGetMyself: AppAction<\n typeof RunpodGetMyselfInput,\n typeof RunpodGetMyselfOutput,\n typeof runpod.credential\n> = 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":";;;;AAMA,MAAa,uBAAuB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC5H,MAAM,oCAAoC,EAAE,OAAO;CACjD,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,YAAY,CAAC,CAAC,SAAS,sHAAsH;AAMhJ,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdmC,EAAE,OAAO;EAC5C,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,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-pod.ts
@@ -1 +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.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.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}).passthrough().describe(\"Detailed information about a RunPod pod.\");\nexport const RunpodGetPodOutput = 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}).passthrough().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,oBAAoBA,IAAAA,EAAE,OAAO,EACxC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,EAC7I,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,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,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,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,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,eAAeC,eAAAA,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-pod.cjs","names":["z","action"],"sources":["../../src/actions/get-pod.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { runpod } from \"../app\";\n\nexport const RunpodGetPodInput = 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.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}).passthrough().describe(\"Detailed information about a RunPod pod.\");\nexport const RunpodGetPodOutput = 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}).passthrough().describe(\"Response model for RUNPOD_GRAPHQL_GET_POD.\");\n\nexport const runpodGetPod: AppAction<\n typeof RunpodGetPodInput,\n typeof RunpodGetPodOutput,\n typeof runpod.credential\n> = 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":";;;;AAMA,MAAa,oBAAoBA,IAAAA,EAAE,OAAO,EACxC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,EAC7I,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,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,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,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,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,eAITC,eAAAA,OAAO,kBAAkB;CAC3B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { runpod } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-pod.d.ts
@@ -17,21 +19,7 @@ declare const RunpodGetPodOutput: z.ZodObject<{
17
19
  }, z.core.$loose>>>;
18
20
  errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
19
21
  }, z.core.$loose>;
20
- declare const runpodGetPod: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- pod_id: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"runpod", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"runpod", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- generic_api_key: z.ZodString;
34
- }, z.core.$strip>>]>;
22
+ declare const runpodGetPod: AppAction<typeof RunpodGetPodInput, typeof RunpodGetPodOutput, typeof runpod.credential>;
35
23
  //#endregion
36
24
  export { runpodGetPod };
37
25
  //# sourceMappingURL=get-pod.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-pod.d.cts","names":[],"sources":["../../src/actions/get-pod.ts"],"mappings":";;;cAIa,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;cAajB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKlB,YAAA,gCAAY,wBAAA"}
1
+ {"version":3,"file":"get-pod.d.cts","names":[],"sources":["../../src/actions/get-pod.ts"],"mappings":";;;;;cAMa,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;cAajB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKlB,YAAA,EAAc,SAAA,QAClB,iBAAA,SACA,kBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { runpod } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-pod.d.ts
@@ -17,21 +19,7 @@ declare const RunpodGetPodOutput: z.ZodObject<{
17
19
  }, z.core.$loose>>>;
18
20
  errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
19
21
  }, z.core.$loose>;
20
- declare const runpodGetPod: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- pod_id: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"runpod", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"runpod", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- generic_api_key: z.ZodString;
34
- }, z.core.$strip>>]>;
22
+ declare const runpodGetPod: AppAction<typeof RunpodGetPodInput, typeof RunpodGetPodOutput, typeof runpod.credential>;
35
23
  //#endregion
36
24
  export { runpodGetPod };
37
25
  //# sourceMappingURL=get-pod.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-pod.d.mts","names":[],"sources":["../../src/actions/get-pod.ts"],"mappings":";;;cAIa,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;cAajB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKlB,YAAA,gCAAY,wBAAA"}
1
+ {"version":3,"file":"get-pod.d.mts","names":[],"sources":["../../src/actions/get-pod.ts"],"mappings":";;;;;cAMa,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;cAajB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKlB,YAAA,EAAc,SAAA,QAClB,iBAAA,SACA,kBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-pod.ts
@@ -1 +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.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.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}).passthrough().describe(\"Detailed information about a RunPod pod.\");\nexport const RunpodGetPodOutput = 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}).passthrough().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,oBAAoB,EAAE,OAAO,EACxC,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,EAC7I,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,gCAAgC,EAAE,OAAO;CAC7C,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,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAMpE,MAAa,eAAe,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVgC,EAAE,OAAO;EACzC,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,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-pod.mjs","names":[],"sources":["../../src/actions/get-pod.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { runpod } from \"../app\";\n\nexport const RunpodGetPodInput = 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.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}).passthrough().describe(\"Detailed information about a RunPod pod.\");\nexport const RunpodGetPodOutput = 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}).passthrough().describe(\"Response model for RUNPOD_GRAPHQL_GET_POD.\");\n\nexport const runpodGetPod: AppAction<\n typeof RunpodGetPodInput,\n typeof RunpodGetPodOutput,\n typeof runpod.credential\n> = 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":";;;;AAMA,MAAa,oBAAoB,EAAE,OAAO,EACxC,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,EAC7I,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,gCAAgC,EAAE,OAAO;CAC7C,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,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAMpE,MAAa,eAIT,OAAO,kBAAkB;CAC3B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdgC,EAAE,OAAO;EACzC,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,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-cpu-types.ts
@@ -1 +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.object({}).describe(\"Request model for retrieving available CPU types from RunPod.\");\nconst RunpodListCpuTypes_CpuTypeSchema = z.object({\n id: z.string().describe(\"Unique identifier for the CPU type.\").nullable(),\n cores: z.number().int().describe(\"Number of processor cores.\").nullable(),\n groupId: z.string().describe(\"Associated CPU group identifier.\").nullable().optional(),\n displayName: z.string().describe(\"Human-readable name for display purposes.\").nullable(),\n manufacturer: z.string().describe(\"CPU manufacturer name (e.g., Intel, AMD).\").nullable(),\n threadsPerCore: z.number().int().describe(\"Thread count per individual core.\").nullable(),\n}).passthrough().describe(\"CPU type specification with hardware details.\");\nconst RunpodListCpuTypes_ListCpuTypesResponseDataSchema = z.object({\n cpuTypes: z.array(RunpodListCpuTypes_CpuTypeSchema).describe(\"Array of available CPU types with their specifications.\"),\n}).passthrough().describe(\"Data wrapper containing the list of CPU types.\");\nexport const RunpodListCpuTypesOutput = z.object({\n data: RunpodListCpuTypes_ListCpuTypesResponseDataSchema.nullable(),\n}).passthrough().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,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC5H,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,oDAAoDA,IAAAA,EAAE,OAAO,EACjE,UAAUA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,yDAAyD,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAM,kDAAkD,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAElG,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-cpu-types.cjs","names":["z","action"],"sources":["../../src/actions/list-cpu-types.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { runpod } from \"../app\";\n\nexport const RunpodListCpuTypesInput = z.object({}).describe(\"Request model for retrieving available CPU types from RunPod.\");\nconst RunpodListCpuTypes_CpuTypeSchema = z.object({\n id: z.string().describe(\"Unique identifier for the CPU type.\").nullable(),\n cores: z.number().int().describe(\"Number of processor cores.\").nullable(),\n groupId: z.string().describe(\"Associated CPU group identifier.\").nullable().optional(),\n displayName: z.string().describe(\"Human-readable name for display purposes.\").nullable(),\n manufacturer: z.string().describe(\"CPU manufacturer name (e.g., Intel, AMD).\").nullable(),\n threadsPerCore: z.number().int().describe(\"Thread count per individual core.\").nullable(),\n}).passthrough().describe(\"CPU type specification with hardware details.\");\nconst RunpodListCpuTypes_ListCpuTypesResponseDataSchema = z.object({\n cpuTypes: z.array(RunpodListCpuTypes_CpuTypeSchema).describe(\"Array of available CPU types with their specifications.\"),\n}).passthrough().describe(\"Data wrapper containing the list of CPU types.\");\nexport const RunpodListCpuTypesOutput = z.object({\n data: RunpodListCpuTypes_ListCpuTypesResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing available CPU types from RunPod GraphQL API.\");\n\nexport const runpodListCpuTypes: AppAction<\n typeof RunpodListCpuTypesInput,\n typeof RunpodListCpuTypesOutput,\n typeof runpod.credential\n> = 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":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC5H,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,oDAAoDA,IAAAA,EAAE,OAAO,EACjE,UAAUA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,yDAAyD,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAM,kDAAkD,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAElG,MAAa,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { runpod } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-cpu-types.d.ts
@@ -14,19 +16,7 @@ declare const RunpodListCpuTypesOutput: z.ZodObject<{
14
16
  }, z.core.$loose>>;
15
17
  }, z.core.$loose>>;
16
18
  }, z.core.$loose>;
17
- declare const runpodListCpuTypes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"runpod", z.ZodObject<{
18
- connectionId: z.ZodString;
19
- entityId: z.ZodString;
20
- instanceId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- generic_api_key: z.ZodString;
23
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"runpod", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>;
19
+ declare const runpodListCpuTypes: AppAction<typeof RunpodListCpuTypesInput, typeof RunpodListCpuTypesOutput, typeof runpod.credential>;
30
20
  //#endregion
31
21
  export { runpodListCpuTypes };
32
22
  //# sourceMappingURL=list-cpu-types.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-cpu-types.d.cts","names":[],"sources":["../../src/actions/list-cpu-types.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAYvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-cpu-types.d.cts","names":[],"sources":["../../src/actions/list-cpu-types.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAYvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { runpod } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-cpu-types.d.ts
@@ -14,19 +16,7 @@ declare const RunpodListCpuTypesOutput: z.ZodObject<{
14
16
  }, z.core.$loose>>;
15
17
  }, z.core.$loose>>;
16
18
  }, z.core.$loose>;
17
- declare const runpodListCpuTypes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"runpod", z.ZodObject<{
18
- connectionId: z.ZodString;
19
- entityId: z.ZodString;
20
- instanceId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- generic_api_key: z.ZodString;
23
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"runpod", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>;
19
+ declare const runpodListCpuTypes: AppAction<typeof RunpodListCpuTypesInput, typeof RunpodListCpuTypesOutput, typeof runpod.credential>;
30
20
  //#endregion
31
21
  export { runpodListCpuTypes };
32
22
  //# sourceMappingURL=list-cpu-types.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-cpu-types.d.mts","names":[],"sources":["../../src/actions/list-cpu-types.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAYvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-cpu-types.d.mts","names":[],"sources":["../../src/actions/list-cpu-types.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAYvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-cpu-types.ts
@@ -1 +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.object({}).describe(\"Request model for retrieving available CPU types from RunPod.\");\nconst RunpodListCpuTypes_CpuTypeSchema = z.object({\n id: z.string().describe(\"Unique identifier for the CPU type.\").nullable(),\n cores: z.number().int().describe(\"Number of processor cores.\").nullable(),\n groupId: z.string().describe(\"Associated CPU group identifier.\").nullable().optional(),\n displayName: z.string().describe(\"Human-readable name for display purposes.\").nullable(),\n manufacturer: z.string().describe(\"CPU manufacturer name (e.g., Intel, AMD).\").nullable(),\n threadsPerCore: z.number().int().describe(\"Thread count per individual core.\").nullable(),\n}).passthrough().describe(\"CPU type specification with hardware details.\");\nconst RunpodListCpuTypes_ListCpuTypesResponseDataSchema = z.object({\n cpuTypes: z.array(RunpodListCpuTypes_CpuTypeSchema).describe(\"Array of available CPU types with their specifications.\"),\n}).passthrough().describe(\"Data wrapper containing the list of CPU types.\");\nexport const RunpodListCpuTypesOutput = z.object({\n data: RunpodListCpuTypes_ListCpuTypesResponseDataSchema.nullable(),\n}).passthrough().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,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC5H,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,oDAAoD,EAAE,OAAO,EACjE,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,yDAAyD,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAK1E,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,MAAM,kDAAkD,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-cpu-types.mjs","names":[],"sources":["../../src/actions/list-cpu-types.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { runpod } from \"../app\";\n\nexport const RunpodListCpuTypesInput = z.object({}).describe(\"Request model for retrieving available CPU types from RunPod.\");\nconst RunpodListCpuTypes_CpuTypeSchema = z.object({\n id: z.string().describe(\"Unique identifier for the CPU type.\").nullable(),\n cores: z.number().int().describe(\"Number of processor cores.\").nullable(),\n groupId: z.string().describe(\"Associated CPU group identifier.\").nullable().optional(),\n displayName: z.string().describe(\"Human-readable name for display purposes.\").nullable(),\n manufacturer: z.string().describe(\"CPU manufacturer name (e.g., Intel, AMD).\").nullable(),\n threadsPerCore: z.number().int().describe(\"Thread count per individual core.\").nullable(),\n}).passthrough().describe(\"CPU type specification with hardware details.\");\nconst RunpodListCpuTypes_ListCpuTypesResponseDataSchema = z.object({\n cpuTypes: z.array(RunpodListCpuTypes_CpuTypeSchema).describe(\"Array of available CPU types with their specifications.\"),\n}).passthrough().describe(\"Data wrapper containing the list of CPU types.\");\nexport const RunpodListCpuTypesOutput = z.object({\n data: RunpodListCpuTypes_ListCpuTypesResponseDataSchema.nullable(),\n}).passthrough().describe(\"Response model containing available CPU types from RunPod GraphQL API.\");\n\nexport const runpodListCpuTypes: AppAction<\n typeof RunpodListCpuTypesInput,\n typeof RunpodListCpuTypesOutput,\n typeof runpod.credential\n> = 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":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC5H,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACxF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,oDAAoD,EAAE,OAAO,EACjE,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,yDAAyD,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAK1E,MAAa,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbsC,EAAE,OAAO,EAC/C,MAAM,kDAAkD,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/save-endpoint.ts
@@ -1 +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.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.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}).passthrough().describe(\"The saveEndpoint data returned from the GraphQL mutation.\");\nconst RunpodSaveEndpoint_SaveEndpointDataWrapperSchema = z.object({\n saveEndpoint: RunpodSaveEndpoint_SaveEndpointDataSchema.nullable().optional(),\n}).passthrough().describe(\"Wrapper for the data object in GraphQL response.\");\nexport const RunpodSaveEndpointOutput = 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}).passthrough().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,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,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,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,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,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAM,mDAAmDA,IAAAA,EAAE,OAAO,EAChE,cAAc,0CAA0C,SAAS,CAAC,CAAC,SAAS,EAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,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,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"save-endpoint.cjs","names":["z","action"],"sources":["../../src/actions/save-endpoint.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { runpod } from \"../app\";\n\nexport const RunpodSaveEndpointInput = 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.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}).passthrough().describe(\"The saveEndpoint data returned from the GraphQL mutation.\");\nconst RunpodSaveEndpoint_SaveEndpointDataWrapperSchema = z.object({\n saveEndpoint: RunpodSaveEndpoint_SaveEndpointDataSchema.nullable().optional(),\n}).passthrough().describe(\"Wrapper for the data object in GraphQL response.\");\nexport const RunpodSaveEndpointOutput = 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}).passthrough().describe(\"Response model for the saveEndpoint mutation.\");\n\nexport const runpodSaveEndpoint: AppAction<\n typeof RunpodSaveEndpointInput,\n typeof RunpodSaveEndpointOutput,\n typeof runpod.credential\n> = 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":"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"}
@@ -1,3 +1,5 @@
1
+ import { runpod } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/save-endpoint.d.ts
@@ -29,31 +31,7 @@ declare const RunpodSaveEndpointOutput: z.ZodObject<{
29
31
  }, z.core.$loose>>>;
30
32
  errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
31
33
  }, z.core.$loose>;
32
- declare const runpodSaveEndpoint: import("@keystrokehq/action").WorkflowActionDefinition<{
33
- name: string;
34
- gpu_ids: string;
35
- template_id: string;
36
- id?: string | undefined;
37
- locations?: string | undefined;
38
- scaler_type?: string | undefined;
39
- workers_max?: number | undefined;
40
- workers_min?: number | undefined;
41
- idle_timeout?: number | undefined;
42
- scaler_value?: number | undefined;
43
- network_volume_id?: string | undefined;
44
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"runpod", z.ZodObject<{
45
- connectionId: z.ZodString;
46
- entityId: z.ZodString;
47
- instanceId: z.ZodString;
48
- }, z.core.$strip>, z.ZodObject<{
49
- generic_api_key: z.ZodString;
50
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"runpod", z.ZodObject<{
51
- connectionId: z.ZodString;
52
- entityId: z.ZodString;
53
- instanceId: z.ZodString;
54
- }, z.core.$strip>, z.ZodObject<{
55
- generic_api_key: z.ZodString;
56
- }, z.core.$strip>>]>;
34
+ declare const runpodSaveEndpoint: AppAction<typeof RunpodSaveEndpointInput, typeof RunpodSaveEndpointOutput, typeof runpod.credential>;
57
35
  //#endregion
58
36
  export { runpodSaveEndpoint };
59
37
  //# sourceMappingURL=save-endpoint.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"save-endpoint.d.cts","names":[],"sources":["../../src/actions/save-endpoint.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cA0BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"save-endpoint.d.cts","names":[],"sources":["../../src/actions/save-endpoint.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cA0BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { runpod } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/save-endpoint.d.ts
@@ -29,31 +31,7 @@ declare const RunpodSaveEndpointOutput: z.ZodObject<{
29
31
  }, z.core.$loose>>>;
30
32
  errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
31
33
  }, z.core.$loose>;
32
- declare const runpodSaveEndpoint: import("@keystrokehq/action").WorkflowActionDefinition<{
33
- name: string;
34
- gpu_ids: string;
35
- template_id: string;
36
- id?: string | undefined;
37
- locations?: string | undefined;
38
- scaler_type?: string | undefined;
39
- workers_max?: number | undefined;
40
- workers_min?: number | undefined;
41
- idle_timeout?: number | undefined;
42
- scaler_value?: number | undefined;
43
- network_volume_id?: string | undefined;
44
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"runpod", z.ZodObject<{
45
- connectionId: z.ZodString;
46
- entityId: z.ZodString;
47
- instanceId: z.ZodString;
48
- }, z.core.$strip>, z.ZodObject<{
49
- generic_api_key: z.ZodString;
50
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"runpod", z.ZodObject<{
51
- connectionId: z.ZodString;
52
- entityId: z.ZodString;
53
- instanceId: z.ZodString;
54
- }, z.core.$strip>, z.ZodObject<{
55
- generic_api_key: z.ZodString;
56
- }, z.core.$strip>>]>;
34
+ declare const runpodSaveEndpoint: AppAction<typeof RunpodSaveEndpointInput, typeof RunpodSaveEndpointOutput, typeof runpod.credential>;
57
35
  //#endregion
58
36
  export { runpodSaveEndpoint };
59
37
  //# sourceMappingURL=save-endpoint.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"save-endpoint.d.mts","names":[],"sources":["../../src/actions/save-endpoint.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cA0BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"save-endpoint.d.mts","names":[],"sources":["../../src/actions/save-endpoint.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cA0BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/save-endpoint.ts