@keystrokehq/runpod 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-cluster.cjs.map +1 -1
- package/dist/actions/create-cluster.d.cts +68 -3
- package/dist/actions/create-cluster.d.cts.map +1 -1
- package/dist/actions/create-cluster.d.mts +68 -3
- package/dist/actions/create-cluster.d.mts.map +1 -1
- package/dist/actions/create-cluster.mjs.map +1 -1
- package/dist/actions/create-secret.cjs.map +1 -1
- package/dist/actions/create-secret.d.cts +17 -3
- package/dist/actions/create-secret.d.cts.map +1 -1
- package/dist/actions/create-secret.d.mts +17 -3
- package/dist/actions/create-secret.d.mts.map +1 -1
- package/dist/actions/create-secret.mjs.map +1 -1
- package/dist/actions/delete-registry-auth.cjs +1 -1
- package/dist/actions/delete-registry-auth.cjs.map +1 -1
- package/dist/actions/delete-registry-auth.d.cts +16 -3
- package/dist/actions/delete-registry-auth.d.cts.map +1 -1
- package/dist/actions/delete-registry-auth.d.mts +16 -3
- package/dist/actions/delete-registry-auth.d.mts.map +1 -1
- package/dist/actions/delete-registry-auth.mjs +1 -1
- package/dist/actions/delete-registry-auth.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +1 -1
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +16 -3
- package/dist/actions/delete-template.d.cts.map +1 -1
- package/dist/actions/delete-template.d.mts +16 -3
- package/dist/actions/delete-template.d.mts.map +1 -1
- package/dist/actions/delete-template.mjs +1 -1
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/get-gpu-types.cjs.map +1 -1
- package/dist/actions/get-gpu-types.d.cts +18 -3
- package/dist/actions/get-gpu-types.d.cts.map +1 -1
- package/dist/actions/get-gpu-types.d.mts +18 -3
- package/dist/actions/get-gpu-types.d.mts.map +1 -1
- package/dist/actions/get-gpu-types.mjs.map +1 -1
- package/dist/actions/get-myself.cjs.map +1 -1
- package/dist/actions/get-myself.d.cts +12 -3
- package/dist/actions/get-myself.d.cts.map +1 -1
- package/dist/actions/get-myself.d.mts +12 -3
- package/dist/actions/get-myself.d.mts.map +1 -1
- package/dist/actions/get-myself.mjs.map +1 -1
- package/dist/actions/get-pod.cjs.map +1 -1
- package/dist/actions/get-pod.d.cts +19 -3
- package/dist/actions/get-pod.d.cts.map +1 -1
- package/dist/actions/get-pod.d.mts +19 -3
- package/dist/actions/get-pod.d.mts.map +1 -1
- package/dist/actions/get-pod.mjs.map +1 -1
- package/dist/actions/list-cpu-types.cjs +5 -5
- package/dist/actions/list-cpu-types.cjs.map +1 -1
- package/dist/actions/list-cpu-types.d.cts +14 -3
- package/dist/actions/list-cpu-types.d.cts.map +1 -1
- package/dist/actions/list-cpu-types.d.mts +14 -3
- package/dist/actions/list-cpu-types.d.mts.map +1 -1
- package/dist/actions/list-cpu-types.mjs +5 -5
- package/dist/actions/list-cpu-types.mjs.map +1 -1
- package/dist/actions/save-endpoint.cjs.map +1 -1
- package/dist/actions/save-endpoint.d.cts +41 -3
- package/dist/actions/save-endpoint.d.cts.map +1 -1
- package/dist/actions/save-endpoint.d.mts +41 -3
- package/dist/actions/save-endpoint.d.mts.map +1 -1
- package/dist/actions/save-endpoint.mjs.map +1 -1
- package/dist/actions/save-registry-auth.cjs +3 -3
- package/dist/actions/save-registry-auth.cjs.map +1 -1
- package/dist/actions/save-registry-auth.d.cts +25 -3
- package/dist/actions/save-registry-auth.d.cts.map +1 -1
- package/dist/actions/save-registry-auth.d.mts +25 -3
- package/dist/actions/save-registry-auth.d.mts.map +1 -1
- package/dist/actions/save-registry-auth.mjs +3 -3
- package/dist/actions/save-registry-auth.mjs.map +1 -1
- package/dist/actions/save-template.cjs +6 -6
- package/dist/actions/save-template.cjs.map +1 -1
- package/dist/actions/save-template.d.cts +49 -3
- package/dist/actions/save-template.d.cts.map +1 -1
- package/dist/actions/save-template.d.mts +49 -3
- package/dist/actions/save-template.d.mts.map +1 -1
- package/dist/actions/save-template.mjs +6 -6
- package/dist/actions/save-template.mjs.map +1 -1
- package/dist/actions/update-registry-auth.cjs +2 -2
- package/dist/actions/update-registry-auth.cjs.map +1 -1
- package/dist/actions/update-registry-auth.d.cts +14 -3
- package/dist/actions/update-registry-auth.d.cts.map +1 -1
- package/dist/actions/update-registry-auth.d.mts +14 -3
- package/dist/actions/update-registry-auth.d.mts.map +1 -1
- package/dist/actions/update-registry-auth.mjs +2 -2
- package/dist/actions/update-registry-auth.mjs.map +1 -1
- package/dist/actions/update-user-settings.cjs.map +1 -1
- package/dist/actions/update-user-settings.d.cts +13 -3
- package/dist/actions/update-user-settings.d.cts.map +1 -1
- package/dist/actions/update-user-settings.d.mts +13 -3
- package/dist/actions/update-user-settings.d.mts.map +1 -1
- package/dist/actions/update-user-settings.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -5,7 +5,7 @@ const RunpodDeleteTemplateInput = z.object({ template_name: z.string().describe(
|
|
|
5
5
|
const RunpodDeleteTemplate_DeleteTemplateDataSchema = z.object({ deleteTemplate: z.string().describe("Result of the deleteTemplate mutation. Returns null on successful deletion.").nullable().optional() });
|
|
6
6
|
const RunpodDeleteTemplate_DeleteTemplateErrorSchema = z.object({
|
|
7
7
|
path: z.array(z.string()).describe("Path to the field that caused the error.").nullable().optional(),
|
|
8
|
-
message: z.string().describe("Error message describing what went wrong."),
|
|
8
|
+
message: z.string().describe("Error message describing what went wrong.").nullable(),
|
|
9
9
|
locations: z.array(z.object({})).describe("Location information for where the error occurred in the GraphQL query.").nullable().optional()
|
|
10
10
|
});
|
|
11
11
|
const runpodDeleteTemplate = action("RUNPOD_DELETE_TEMPLATE", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-template.mjs","names":[],"sources":["../../src/actions/delete-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodDeleteTemplateInput
|
|
1
|
+
{"version":3,"file":"delete-template.mjs","names":[],"sources":["../../src/actions/delete-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodDeleteTemplateInput = z.object({\n template_name: z.string().describe(\"The name of the template to delete. The template must not be in use by any pods or assigned to any serverless endpoints.\"),\n});\nconst RunpodDeleteTemplate_DeleteTemplateDataSchema = z.object({\n deleteTemplate: z.string().describe(\"Result of the deleteTemplate mutation. Returns null on successful deletion.\").nullable().optional(),\n});\nconst RunpodDeleteTemplate_DeleteTemplateErrorSchema = z.object({\n path: z.array(z.string()).describe(\"Path to the field that caused the error.\").nullable().optional(),\n message: z.string().describe(\"Error message describing what went wrong.\").nullable(),\n locations: z.array(z.object({})).describe(\"Location information for where the error occurred in the GraphQL query.\").nullable().optional(),\n});\nexport const RunpodDeleteTemplateOutput = z.object({\n data: RunpodDeleteTemplate_DeleteTemplateDataSchema.nullable().optional(),\n errors: z.array(RunpodDeleteTemplate_DeleteTemplateErrorSchema).describe(\"Array of error objects if the mutation encounters issues. Present when the template is in use or doesn't exist.\").nullable().optional(),\n});\n\nexport const runpodDeleteTemplate = action(\"RUNPOD_DELETE_TEMPLATE\", {\n slug: \"runpod-delete-template\",\n name: \"Delete Template\",\n description: \"Tool to remove a RunPod template via GraphQL mutation. Use when you need to delete a template that is no longer needed. The template must not be in use by any pods or assigned to any serverless endpoints, otherwise the operation will fail.\",\n input: RunpodDeleteTemplateInput,\n output: RunpodDeleteTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,EAC/J,CAAC;AACD,MAAM,gDAAgD,EAAE,OAAO,EAC7D,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzI,CAAC;AACD,MAAM,iDAAiD,EAAE,OAAO;CAC9D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC;AAMD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,MAAM,8CAA8C,SAAS,CAAC,CAAC,SAAS;EACxE,QAAQ,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClN,CAOU;AACV,CAAC"}
|
|
@@ -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
|
|
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}).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,SAAS,sDAAsD;AAElE,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-gpu-types.d.ts
|
|
4
|
-
declare const RunpodGetGpuTypesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RunpodGetGpuTypesInput: z.ZodObject<{
|
|
5
|
+
input: z.ZodOptional<z.ZodObject<{
|
|
6
|
+
id: z.ZodOptional<z.ZodString>;
|
|
7
|
+
ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8
|
+
cluster: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const RunpodGetGpuTypesOutput: z.ZodObject<{
|
|
12
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { runpodGetGpuTypes };
|
|
9
24
|
//# 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,
|
|
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,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-gpu-types.d.ts
|
|
4
|
-
declare const RunpodGetGpuTypesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RunpodGetGpuTypesInput: z.ZodObject<{
|
|
5
|
+
input: z.ZodOptional<z.ZodObject<{
|
|
6
|
+
id: z.ZodOptional<z.ZodString>;
|
|
7
|
+
ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8
|
+
cluster: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const RunpodGetGpuTypesOutput: z.ZodObject<{
|
|
12
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { runpodGetGpuTypes };
|
|
9
24
|
//# 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,
|
|
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 +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
|
|
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}).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,SAAS,sDAOF;AACV,CAAC"}
|
|
@@ -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
|
|
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}).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}).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,SAAS,sHAAsH;AAClI,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,SAAS,uCAAuC;AAEnD,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-myself.d.ts
|
|
4
|
-
declare const RunpodGetMyselfInput: z.
|
|
5
|
-
declare const RunpodGetMyselfOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RunpodGetMyselfInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RunpodGetMyselfOutput: z.ZodObject<{
|
|
6
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
authId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
multiFactorEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11
|
+
signedTermsOfService: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12
|
+
}, z.core.$strip>>>;
|
|
13
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const runpodGetMyself: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
16
|
//#endregion
|
|
8
17
|
export { runpodGetMyself };
|
|
9
18
|
//# 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,
|
|
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,4CAAA,UAAA"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-myself.d.ts
|
|
4
|
-
declare const RunpodGetMyselfInput: z.
|
|
5
|
-
declare const RunpodGetMyselfOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RunpodGetMyselfInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RunpodGetMyselfOutput: z.ZodObject<{
|
|
6
|
+
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
7
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
|
+
authId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
multiFactorEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11
|
+
signedTermsOfService: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12
|
+
}, z.core.$strip>>>;
|
|
13
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const runpodGetMyself: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
16
|
//#endregion
|
|
8
17
|
export { runpodGetMyself };
|
|
9
18
|
//# 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,
|
|
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,4CAAA,UAAA"}
|
|
@@ -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
|
|
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}).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}).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,SAAS,sHAAsH;AAMlI,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,SAAS,uCAOF;AACV,CAAC"}
|
|
@@ -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
|
|
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}).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}).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,SAAS,0CAA0C;AACtD,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,SAAS,4CAA4C;AAExD,MAAa,eAAeC,eAAAA,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-pod.d.ts
|
|
4
|
-
declare const RunpodGetPodInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RunpodGetPodInput: z.ZodObject<{
|
|
5
|
+
pod_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RunpodGetPodOutput: z.ZodObject<{
|
|
8
|
+
pod: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
gpuCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
costPerHr: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
imageName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
vcpuCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
memoryInGb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
desiredStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
}, z.core.$strip>>>;
|
|
18
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
declare const runpodGetPod: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
|
+
pod_id: string;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { runpodGetPod };
|
|
9
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,
|
|
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,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-pod.d.ts
|
|
4
|
-
declare const RunpodGetPodInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RunpodGetPodInput: z.ZodObject<{
|
|
5
|
+
pod_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RunpodGetPodOutput: z.ZodObject<{
|
|
8
|
+
pod: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
gpuCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
costPerHr: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
imageName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
vcpuCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
memoryInGb: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
desiredStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
}, z.core.$strip>>>;
|
|
18
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
declare const runpodGetPod: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
21
|
+
pod_id: string;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { runpodGetPod };
|
|
9
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,
|
|
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 +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
|
|
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}).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}).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,SAAS,0CAA0C;AAMtD,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,SAAS,4CAOF;AACV,CAAC"}
|
|
@@ -3,12 +3,12 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/list-cpu-types.ts
|
|
4
4
|
const RunpodListCpuTypesInput = zod.z.object({}).describe("Request model for retrieving available CPU types from RunPod.");
|
|
5
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."),
|
|
6
|
+
id: zod.z.string().describe("Unique identifier for the CPU type.").nullable(),
|
|
7
|
+
cores: zod.z.number().int().describe("Number of processor cores.").nullable(),
|
|
8
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.")
|
|
9
|
+
displayName: zod.z.string().describe("Human-readable name for display purposes.").nullable(),
|
|
10
|
+
manufacturer: zod.z.string().describe("CPU manufacturer name (e.g., Intel, AMD).").nullable(),
|
|
11
|
+
threadsPerCore: zod.z.number().int().describe("Thread count per individual core.").nullable()
|
|
12
12
|
}).describe("CPU type specification with hardware details.");
|
|
13
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
14
|
const RunpodListCpuTypesOutput = zod.z.object({ data: RunpodListCpuTypes_ListCpuTypesResponseDataSchema.nullable() }).describe("Response model containing available CPU types from RunPod GraphQL API.");
|
|
@@ -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
|
|
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}).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}).describe(\"Data wrapper containing the list of CPU types.\");\nexport const RunpodListCpuTypesOutput = 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,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,SAAS,+CAA+C;AAC3D,MAAM,oDAAoDA,IAAAA,EAAE,OAAO,EACjE,UAAUA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,yDAAyD,EACxH,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,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"}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-cpu-types.d.ts
|
|
4
|
-
declare const RunpodListCpuTypesInput: z.
|
|
5
|
-
declare const RunpodListCpuTypesOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RunpodListCpuTypesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RunpodListCpuTypesOutput: z.ZodObject<{
|
|
6
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
7
|
+
cpuTypes: z.ZodArray<z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
cores: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
12
|
+
manufacturer: z.ZodNullable<z.ZodString>;
|
|
13
|
+
threadsPerCore: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const runpodListCpuTypes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
18
|
//#endregion
|
|
8
19
|
export { runpodListCpuTypes };
|
|
9
20
|
//# 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,
|
|
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,4CAAA,UAAA"}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-cpu-types.d.ts
|
|
4
|
-
declare const RunpodListCpuTypesInput: z.
|
|
5
|
-
declare const RunpodListCpuTypesOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RunpodListCpuTypesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RunpodListCpuTypesOutput: z.ZodObject<{
|
|
6
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
7
|
+
cpuTypes: z.ZodArray<z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
cores: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
12
|
+
manufacturer: z.ZodNullable<z.ZodString>;
|
|
13
|
+
threadsPerCore: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const runpodListCpuTypes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
18
|
//#endregion
|
|
8
19
|
export { runpodListCpuTypes };
|
|
9
20
|
//# 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,
|
|
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,4CAAA,UAAA"}
|
|
@@ -3,12 +3,12 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-cpu-types.ts
|
|
4
4
|
const RunpodListCpuTypesInput = z.object({}).describe("Request model for retrieving available CPU types from RunPod.");
|
|
5
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."),
|
|
6
|
+
id: z.string().describe("Unique identifier for the CPU type.").nullable(),
|
|
7
|
+
cores: z.number().int().describe("Number of processor cores.").nullable(),
|
|
8
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.")
|
|
9
|
+
displayName: z.string().describe("Human-readable name for display purposes.").nullable(),
|
|
10
|
+
manufacturer: z.string().describe("CPU manufacturer name (e.g., Intel, AMD).").nullable(),
|
|
11
|
+
threadsPerCore: z.number().int().describe("Thread count per individual core.").nullable()
|
|
12
12
|
}).describe("CPU type specification with hardware details.");
|
|
13
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
14
|
const runpodListCpuTypes = action("RUNPOD_LIST_CPU_TYPES", {
|
|
@@ -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
|
|
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}).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}).describe(\"Data wrapper containing the list of CPU types.\");\nexport const RunpodListCpuTypesOutput = 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,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,SAAS,+CAA+C;AAC3D,MAAM,oDAAoD,EAAE,OAAO,EACjE,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,QATsC,EAAE,OAAO,EAC/C,MAAM,kDAAkD,SAAS,EACnE,CAAC,CAAC,CAAC,SAAS,wEAOF;AACV,CAAC"}
|
|
@@ -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
|
|
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}).describe(\"The saveEndpoint data returned from the GraphQL mutation.\");\nconst RunpodSaveEndpoint_SaveEndpointDataWrapperSchema = z.object({\n saveEndpoint: RunpodSaveEndpoint_SaveEndpointDataSchema.nullable().optional(),\n}).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}).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,SAAS,2DAA2D;AACvE,MAAM,mDAAmDA,IAAAA,EAAE,OAAO,EAChE,cAAc,0CAA0C,SAAS,CAAC,CAAC,SAAS,EAC9E,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,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,SAAS,+CAA+C;AAE3D,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,47 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/save-endpoint.d.ts
|
|
4
|
-
declare const RunpodSaveEndpointInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RunpodSaveEndpointInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6
|
+
name: z.ZodString;
|
|
7
|
+
gpu_ids: z.ZodString;
|
|
8
|
+
locations: z.ZodOptional<z.ZodString>;
|
|
9
|
+
scaler_type: z.ZodOptional<z.ZodString>;
|
|
10
|
+
template_id: z.ZodString;
|
|
11
|
+
workers_max: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
workers_min: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
idle_timeout: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
scaler_value: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
network_volume_id: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const RunpodSaveEndpointOutput: z.ZodObject<{
|
|
18
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
19
|
+
saveEndpoint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
gpu_ids: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
scaler_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
workers_max: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
+
workers_min: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
|
+
scaler_value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
+
}, z.core.$strip>>>;
|
|
29
|
+
}, z.core.$strip>>>;
|
|
30
|
+
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
31
|
+
}, z.core.$strip>;
|
|
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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
45
|
//#endregion
|
|
8
46
|
export { runpodSaveEndpoint };
|
|
9
47
|
//# 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,
|
|
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"}
|