@keystrokehq/runpod 0.1.4 → 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.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-cluster.cjs +1 -0
- package/dist/actions/create-cluster.cjs.map +1 -1
- package/dist/actions/create-cluster.d.cts +3 -24
- package/dist/actions/create-cluster.d.cts.map +1 -1
- package/dist/actions/create-cluster.d.mts +3 -24
- package/dist/actions/create-cluster.d.mts.map +1 -1
- package/dist/actions/create-cluster.mjs +1 -0
- package/dist/actions/create-cluster.mjs.map +1 -1
- package/dist/actions/create-secret.cjs +1 -0
- package/dist/actions/create-secret.cjs.map +1 -1
- package/dist/actions/create-secret.d.cts +3 -5
- package/dist/actions/create-secret.d.cts.map +1 -1
- package/dist/actions/create-secret.d.mts +3 -5
- package/dist/actions/create-secret.d.mts.map +1 -1
- package/dist/actions/create-secret.mjs +1 -0
- package/dist/actions/create-secret.mjs.map +1 -1
- package/dist/actions/delete-registry-auth.cjs +1 -0
- package/dist/actions/delete-registry-auth.cjs.map +1 -1
- package/dist/actions/delete-registry-auth.d.cts +3 -3
- package/dist/actions/delete-registry-auth.d.cts.map +1 -1
- package/dist/actions/delete-registry-auth.d.mts +3 -3
- package/dist/actions/delete-registry-auth.d.mts.map +1 -1
- package/dist/actions/delete-registry-auth.mjs +1 -0
- package/dist/actions/delete-registry-auth.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +1 -0
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +3 -3
- package/dist/actions/delete-template.d.cts.map +1 -1
- package/dist/actions/delete-template.d.mts +3 -3
- package/dist/actions/delete-template.d.mts.map +1 -1
- package/dist/actions/delete-template.mjs +1 -0
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/get-gpu-types.cjs +1 -0
- package/dist/actions/get-gpu-types.cjs.map +1 -1
- package/dist/actions/get-gpu-types.d.cts +3 -7
- package/dist/actions/get-gpu-types.d.cts.map +1 -1
- package/dist/actions/get-gpu-types.d.mts +3 -7
- package/dist/actions/get-gpu-types.d.mts.map +1 -1
- package/dist/actions/get-gpu-types.mjs +1 -0
- package/dist/actions/get-gpu-types.mjs.map +1 -1
- package/dist/actions/get-myself.cjs +1 -0
- package/dist/actions/get-myself.cjs.map +1 -1
- package/dist/actions/get-myself.d.cts +3 -1
- package/dist/actions/get-myself.d.cts.map +1 -1
- package/dist/actions/get-myself.d.mts +3 -1
- package/dist/actions/get-myself.d.mts.map +1 -1
- package/dist/actions/get-myself.mjs +1 -0
- package/dist/actions/get-myself.mjs.map +1 -1
- package/dist/actions/get-pod.cjs +1 -0
- package/dist/actions/get-pod.cjs.map +1 -1
- package/dist/actions/get-pod.d.cts +3 -3
- package/dist/actions/get-pod.d.cts.map +1 -1
- package/dist/actions/get-pod.d.mts +3 -3
- package/dist/actions/get-pod.d.mts.map +1 -1
- package/dist/actions/get-pod.mjs +1 -0
- package/dist/actions/get-pod.mjs.map +1 -1
- package/dist/actions/list-cpu-types.cjs +1 -0
- package/dist/actions/list-cpu-types.cjs.map +1 -1
- package/dist/actions/list-cpu-types.d.cts +3 -1
- package/dist/actions/list-cpu-types.d.cts.map +1 -1
- package/dist/actions/list-cpu-types.d.mts +3 -1
- package/dist/actions/list-cpu-types.d.mts.map +1 -1
- package/dist/actions/list-cpu-types.mjs +1 -0
- package/dist/actions/list-cpu-types.mjs.map +1 -1
- package/dist/actions/save-endpoint.cjs +1 -0
- package/dist/actions/save-endpoint.cjs.map +1 -1
- package/dist/actions/save-endpoint.d.cts +3 -13
- package/dist/actions/save-endpoint.d.cts.map +1 -1
- package/dist/actions/save-endpoint.d.mts +3 -13
- package/dist/actions/save-endpoint.d.mts.map +1 -1
- package/dist/actions/save-endpoint.mjs +1 -0
- package/dist/actions/save-endpoint.mjs.map +1 -1
- package/dist/actions/save-registry-auth.cjs +1 -0
- package/dist/actions/save-registry-auth.cjs.map +1 -1
- package/dist/actions/save-registry-auth.d.cts +3 -5
- package/dist/actions/save-registry-auth.d.cts.map +1 -1
- package/dist/actions/save-registry-auth.d.mts +3 -5
- package/dist/actions/save-registry-auth.d.mts.map +1 -1
- package/dist/actions/save-registry-auth.mjs +1 -0
- package/dist/actions/save-registry-auth.mjs.map +1 -1
- package/dist/actions/save-template.cjs +1 -0
- package/dist/actions/save-template.cjs.map +1 -1
- package/dist/actions/save-template.d.cts +3 -17
- package/dist/actions/save-template.d.cts.map +1 -1
- package/dist/actions/save-template.d.mts +3 -17
- package/dist/actions/save-template.d.mts.map +1 -1
- package/dist/actions/save-template.mjs +1 -0
- package/dist/actions/save-template.mjs.map +1 -1
- package/dist/actions/update-registry-auth.cjs +1 -0
- package/dist/actions/update-registry-auth.cjs.map +1 -1
- package/dist/actions/update-registry-auth.d.cts +3 -5
- package/dist/actions/update-registry-auth.d.cts.map +1 -1
- package/dist/actions/update-registry-auth.d.mts +3 -5
- package/dist/actions/update-registry-auth.d.mts.map +1 -1
- package/dist/actions/update-registry-auth.mjs +1 -0
- package/dist/actions/update-registry-auth.mjs.map +1 -1
- package/dist/actions/update-user-settings.cjs +1 -0
- package/dist/actions/update-user-settings.cjs.map +1 -1
- package/dist/actions/update-user-settings.d.cts +3 -3
- package/dist/actions/update-user-settings.d.cts.map +1 -1
- package/dist/actions/update-user-settings.d.mts +3 -3
- package/dist/actions/update-user-settings.d.mts.map +1 -1
- package/dist/actions/update-user-settings.mjs +1 -0
- package/dist/actions/update-user-settings.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-template.cjs","names":["z","action"],"sources":["../../src/actions/save-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodSaveTemplateInput = z.object({\n env: z.array(z.object({\n key: z.string().describe(\"Environment variable name\"),\n value: z.string().describe(\"Environment variable value\"),\n}).passthrough().describe(\"Environment variable key-value pair for the template.\")).describe(\"List of environment variables to set in the container. Each entry must have 'key' and 'value' fields. Pass empty array if no env vars needed.\").optional(),\n name: z.string().describe(\"Unique name for the template. Must be unique across your account. Used to identify the template for pod or serverless deployment.\"),\n ports: z.string().describe(\"Comma-separated list of ports to expose from the container. Format: 'port/protocol' or just 'port'. Example: '8080/http,8888/http'\").optional(),\n readme: z.string().describe(\"Markdown-formatted readme documentation for the template. Use this to document usage instructions, requirements, and configuration details.\").optional(),\n image_name: z.string().describe(\"Docker image to use for the template. Can be from Docker Hub or a private registry. Include the full image path with tag.\"),\n docker_args: z.string().default(\"\").describe(\"Additional Docker arguments to pass when starting the container. Use this for advanced Docker configuration. Leave empty if not needed.\").optional(),\n template_id: z.string().describe(\"ID of an existing template to update. Leave empty to create a new template. Provide the template ID to modify an existing template.\").optional(),\n volume_in_gb: z.number().int().describe(\"Network volume size in gigabytes for persistent storage. Set to 0 if no persistent volume is needed. For serverless templates, always use 0.\"),\n is_serverless: z.boolean().describe(\"Whether this template is for serverless endpoints (true) or standard pods (false). Serverless templates must have volumeInGb set to 0.\"),\n volume_mount_path: z.string().describe(\"Mount path for the network volume inside the container. Only applicable if volumeInGb > 0. Example: /workspace or /data\").optional(),\n container_disk_in_gb: z.number().int().describe(\"Container disk size in gigabytes. This is ephemeral storage that gets reset on pod restart. Minimum 10 GB recommended. Used for temporary files and cache.\"),\n}).describe(\"Request model for creating or updating a RunPod template.\");\nconst RunpodSaveTemplate_SavedTemplateSchema = z.object({\n id: z.string().describe(\"Unique identifier of the saved template\").nullable(),\n env: z.array(z.record(z.string(), z.unknown())).describe(\"Environment variables configured for the template\").nullable().optional(),\n name: z.string().describe(\"Name of the template\").nullable(),\n ports: z.string().describe(\"Exposed ports configuration\").nullable().optional(),\n readme: z.string().describe(\"Template readme documentation\").nullable().optional(),\n imageName: z.string().describe(\"Docker image used by the template\").nullable(),\n dockerArgs: z.string().describe(\"Docker arguments for the container\").nullable(),\n volumeInGb: z.number().int().describe(\"Network volume size in GB\").nullable(),\n volumeMountPath: z.string().describe(\"Volume mount path inside the container\").nullable().optional(),\n containerDiskInGb: z.number().int().describe(\"Container disk size in GB\").nullable(),\n}).passthrough().describe(\"Details of the saved template.\");\nconst RunpodSaveTemplate_SaveTemplateResponseDataSchema = z.object({\n saveTemplate: RunpodSaveTemplate_SavedTemplateSchema.nullable(),\n}).passthrough().describe(\"Data wrapper for the saveTemplate mutation response.\");\nexport const RunpodSaveTemplateOutput = z.object({\n data: RunpodSaveTemplate_SaveTemplateResponseDataSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"GraphQL errors if the mutation failed\").nullable().optional(),\n}).passthrough().describe(\"Response model for the saveTemplate mutation.\");\n\nexport const runpodSaveTemplate = action(\"RUNPOD_SAVE_TEMPLATE\", {\n slug: \"runpod-save-template\",\n name: \"Save Template\",\n description: \"Tool to create a new RunPod template or update an existing one with container configuration. Use when you need to define reusable pod/serverless configurations with specific images, environment variables, and resource allocations. For serverless templates, always set volumeInGb to 0.\",\n input: RunpodSaveTemplateInput,\n output: RunpodSaveTemplateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"save-template.cjs","names":["z","action"],"sources":["../../src/actions/save-template.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 RunpodSaveTemplateInput = z.object({\n env: z.array(z.object({\n key: z.string().describe(\"Environment variable name\"),\n value: z.string().describe(\"Environment variable value\"),\n}).passthrough().describe(\"Environment variable key-value pair for the template.\")).describe(\"List of environment variables to set in the container. Each entry must have 'key' and 'value' fields. Pass empty array if no env vars needed.\").optional(),\n name: z.string().describe(\"Unique name for the template. Must be unique across your account. Used to identify the template for pod or serverless deployment.\"),\n ports: z.string().describe(\"Comma-separated list of ports to expose from the container. Format: 'port/protocol' or just 'port'. Example: '8080/http,8888/http'\").optional(),\n readme: z.string().describe(\"Markdown-formatted readme documentation for the template. Use this to document usage instructions, requirements, and configuration details.\").optional(),\n image_name: z.string().describe(\"Docker image to use for the template. Can be from Docker Hub or a private registry. Include the full image path with tag.\"),\n docker_args: z.string().default(\"\").describe(\"Additional Docker arguments to pass when starting the container. Use this for advanced Docker configuration. Leave empty if not needed.\").optional(),\n template_id: z.string().describe(\"ID of an existing template to update. Leave empty to create a new template. Provide the template ID to modify an existing template.\").optional(),\n volume_in_gb: z.number().int().describe(\"Network volume size in gigabytes for persistent storage. Set to 0 if no persistent volume is needed. For serverless templates, always use 0.\"),\n is_serverless: z.boolean().describe(\"Whether this template is for serverless endpoints (true) or standard pods (false). Serverless templates must have volumeInGb set to 0.\"),\n volume_mount_path: z.string().describe(\"Mount path for the network volume inside the container. Only applicable if volumeInGb > 0. Example: /workspace or /data\").optional(),\n container_disk_in_gb: z.number().int().describe(\"Container disk size in gigabytes. This is ephemeral storage that gets reset on pod restart. Minimum 10 GB recommended. Used for temporary files and cache.\"),\n}).describe(\"Request model for creating or updating a RunPod template.\");\nconst RunpodSaveTemplate_SavedTemplateSchema = z.object({\n id: z.string().describe(\"Unique identifier of the saved template\").nullable(),\n env: z.array(z.record(z.string(), z.unknown())).describe(\"Environment variables configured for the template\").nullable().optional(),\n name: z.string().describe(\"Name of the template\").nullable(),\n ports: z.string().describe(\"Exposed ports configuration\").nullable().optional(),\n readme: z.string().describe(\"Template readme documentation\").nullable().optional(),\n imageName: z.string().describe(\"Docker image used by the template\").nullable(),\n dockerArgs: z.string().describe(\"Docker arguments for the container\").nullable(),\n volumeInGb: z.number().int().describe(\"Network volume size in GB\").nullable(),\n volumeMountPath: z.string().describe(\"Volume mount path inside the container\").nullable().optional(),\n containerDiskInGb: z.number().int().describe(\"Container disk size in GB\").nullable(),\n}).passthrough().describe(\"Details of the saved template.\");\nconst RunpodSaveTemplate_SaveTemplateResponseDataSchema = z.object({\n saveTemplate: RunpodSaveTemplate_SavedTemplateSchema.nullable(),\n}).passthrough().describe(\"Data wrapper for the saveTemplate mutation response.\");\nexport const RunpodSaveTemplateOutput = z.object({\n data: RunpodSaveTemplate_SaveTemplateResponseDataSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"GraphQL errors if the mutation failed\").nullable().optional(),\n}).passthrough().describe(\"Response model for the saveTemplate mutation.\");\n\nexport const runpodSaveTemplate: AppAction<\n typeof RunpodSaveTemplateInput,\n typeof RunpodSaveTemplateOutput,\n typeof runpod.credential\n> = action(\"RUNPOD_SAVE_TEMPLATE\", {\n slug: \"runpod-save-template\",\n name: \"Save Template\",\n description: \"Tool to create a new RunPod template or update an existing one with container configuration. Use when you need to define reusable pod/serverless configurations with specific images, environment variables, and resource allocations. For serverless templates, always set volumeInGb to 0.\",\n input: RunpodSaveTemplateInput,\n output: RunpodSaveTemplateOutput,\n});\n"],"mappings":"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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-template.d.ts
|
|
@@ -34,23 +36,7 @@ declare const RunpodSaveTemplateOutput: z.ZodObject<{
|
|
|
34
36
|
}, z.core.$loose>>>;
|
|
35
37
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const runpodSaveTemplate:
|
|
38
|
-
name: string;
|
|
39
|
-
image_name: string;
|
|
40
|
-
volume_in_gb: number;
|
|
41
|
-
is_serverless: boolean;
|
|
42
|
-
container_disk_in_gb: number;
|
|
43
|
-
env?: {
|
|
44
|
-
[x: string]: unknown;
|
|
45
|
-
key: string;
|
|
46
|
-
value: string;
|
|
47
|
-
}[] | undefined;
|
|
48
|
-
ports?: string | undefined;
|
|
49
|
-
readme?: string | undefined;
|
|
50
|
-
docker_args?: string | undefined;
|
|
51
|
-
template_id?: string | undefined;
|
|
52
|
-
volume_mount_path?: string | undefined;
|
|
53
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
39
|
+
declare const runpodSaveTemplate: AppAction<typeof RunpodSaveTemplateInput, typeof RunpodSaveTemplateOutput, typeof runpod.credential>;
|
|
54
40
|
//#endregion
|
|
55
41
|
export { runpodSaveTemplate };
|
|
56
42
|
//# sourceMappingURL=save-template.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-template.d.cts","names":[],"sources":["../../src/actions/save-template.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"save-template.d.cts","names":[],"sources":["../../src/actions/save-template.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cA+BvB,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-template.d.ts
|
|
@@ -34,23 +36,7 @@ declare const RunpodSaveTemplateOutput: z.ZodObject<{
|
|
|
34
36
|
}, z.core.$loose>>>;
|
|
35
37
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const runpodSaveTemplate:
|
|
38
|
-
name: string;
|
|
39
|
-
image_name: string;
|
|
40
|
-
volume_in_gb: number;
|
|
41
|
-
is_serverless: boolean;
|
|
42
|
-
container_disk_in_gb: number;
|
|
43
|
-
env?: {
|
|
44
|
-
[x: string]: unknown;
|
|
45
|
-
key: string;
|
|
46
|
-
value: string;
|
|
47
|
-
}[] | undefined;
|
|
48
|
-
ports?: string | undefined;
|
|
49
|
-
readme?: string | undefined;
|
|
50
|
-
docker_args?: string | undefined;
|
|
51
|
-
template_id?: string | undefined;
|
|
52
|
-
volume_mount_path?: string | undefined;
|
|
53
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
39
|
+
declare const runpodSaveTemplate: AppAction<typeof RunpodSaveTemplateInput, typeof RunpodSaveTemplateOutput, typeof runpod.credential>;
|
|
54
40
|
//#endregion
|
|
55
41
|
export { runpodSaveTemplate };
|
|
56
42
|
//# sourceMappingURL=save-template.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-template.d.mts","names":[],"sources":["../../src/actions/save-template.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"save-template.d.mts","names":[],"sources":["../../src/actions/save-template.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cA+BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-template.mjs","names":[],"sources":["../../src/actions/save-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodSaveTemplateInput = z.object({\n env: z.array(z.object({\n key: z.string().describe(\"Environment variable name\"),\n value: z.string().describe(\"Environment variable value\"),\n}).passthrough().describe(\"Environment variable key-value pair for the template.\")).describe(\"List of environment variables to set in the container. Each entry must have 'key' and 'value' fields. Pass empty array if no env vars needed.\").optional(),\n name: z.string().describe(\"Unique name for the template. Must be unique across your account. Used to identify the template for pod or serverless deployment.\"),\n ports: z.string().describe(\"Comma-separated list of ports to expose from the container. Format: 'port/protocol' or just 'port'. Example: '8080/http,8888/http'\").optional(),\n readme: z.string().describe(\"Markdown-formatted readme documentation for the template. Use this to document usage instructions, requirements, and configuration details.\").optional(),\n image_name: z.string().describe(\"Docker image to use for the template. Can be from Docker Hub or a private registry. Include the full image path with tag.\"),\n docker_args: z.string().default(\"\").describe(\"Additional Docker arguments to pass when starting the container. Use this for advanced Docker configuration. Leave empty if not needed.\").optional(),\n template_id: z.string().describe(\"ID of an existing template to update. Leave empty to create a new template. Provide the template ID to modify an existing template.\").optional(),\n volume_in_gb: z.number().int().describe(\"Network volume size in gigabytes for persistent storage. Set to 0 if no persistent volume is needed. For serverless templates, always use 0.\"),\n is_serverless: z.boolean().describe(\"Whether this template is for serverless endpoints (true) or standard pods (false). Serverless templates must have volumeInGb set to 0.\"),\n volume_mount_path: z.string().describe(\"Mount path for the network volume inside the container. Only applicable if volumeInGb > 0. Example: /workspace or /data\").optional(),\n container_disk_in_gb: z.number().int().describe(\"Container disk size in gigabytes. This is ephemeral storage that gets reset on pod restart. Minimum 10 GB recommended. Used for temporary files and cache.\"),\n}).describe(\"Request model for creating or updating a RunPod template.\");\nconst RunpodSaveTemplate_SavedTemplateSchema = z.object({\n id: z.string().describe(\"Unique identifier of the saved template\").nullable(),\n env: z.array(z.record(z.string(), z.unknown())).describe(\"Environment variables configured for the template\").nullable().optional(),\n name: z.string().describe(\"Name of the template\").nullable(),\n ports: z.string().describe(\"Exposed ports configuration\").nullable().optional(),\n readme: z.string().describe(\"Template readme documentation\").nullable().optional(),\n imageName: z.string().describe(\"Docker image used by the template\").nullable(),\n dockerArgs: z.string().describe(\"Docker arguments for the container\").nullable(),\n volumeInGb: z.number().int().describe(\"Network volume size in GB\").nullable(),\n volumeMountPath: z.string().describe(\"Volume mount path inside the container\").nullable().optional(),\n containerDiskInGb: z.number().int().describe(\"Container disk size in GB\").nullable(),\n}).passthrough().describe(\"Details of the saved template.\");\nconst RunpodSaveTemplate_SaveTemplateResponseDataSchema = z.object({\n saveTemplate: RunpodSaveTemplate_SavedTemplateSchema.nullable(),\n}).passthrough().describe(\"Data wrapper for the saveTemplate mutation response.\");\nexport const RunpodSaveTemplateOutput = z.object({\n data: RunpodSaveTemplate_SaveTemplateResponseDataSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"GraphQL errors if the mutation failed\").nullable().optional(),\n}).passthrough().describe(\"Response model for the saveTemplate mutation.\");\n\nexport const runpodSaveTemplate = action(\"RUNPOD_SAVE_TEMPLATE\", {\n slug: \"runpod-save-template\",\n name: \"Save Template\",\n description: \"Tool to create a new RunPod template or update an existing one with container configuration. Use when you need to define reusable pod/serverless configurations with specific images, environment variables, and resource allocations. For serverless templates, always set volumeInGb to 0.\",\n input: RunpodSaveTemplateInput,\n output: RunpodSaveTemplateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"save-template.mjs","names":[],"sources":["../../src/actions/save-template.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 RunpodSaveTemplateInput = z.object({\n env: z.array(z.object({\n key: z.string().describe(\"Environment variable name\"),\n value: z.string().describe(\"Environment variable value\"),\n}).passthrough().describe(\"Environment variable key-value pair for the template.\")).describe(\"List of environment variables to set in the container. Each entry must have 'key' and 'value' fields. Pass empty array if no env vars needed.\").optional(),\n name: z.string().describe(\"Unique name for the template. Must be unique across your account. Used to identify the template for pod or serverless deployment.\"),\n ports: z.string().describe(\"Comma-separated list of ports to expose from the container. Format: 'port/protocol' or just 'port'. Example: '8080/http,8888/http'\").optional(),\n readme: z.string().describe(\"Markdown-formatted readme documentation for the template. Use this to document usage instructions, requirements, and configuration details.\").optional(),\n image_name: z.string().describe(\"Docker image to use for the template. Can be from Docker Hub or a private registry. Include the full image path with tag.\"),\n docker_args: z.string().default(\"\").describe(\"Additional Docker arguments to pass when starting the container. Use this for advanced Docker configuration. Leave empty if not needed.\").optional(),\n template_id: z.string().describe(\"ID of an existing template to update. Leave empty to create a new template. Provide the template ID to modify an existing template.\").optional(),\n volume_in_gb: z.number().int().describe(\"Network volume size in gigabytes for persistent storage. Set to 0 if no persistent volume is needed. For serverless templates, always use 0.\"),\n is_serverless: z.boolean().describe(\"Whether this template is for serverless endpoints (true) or standard pods (false). Serverless templates must have volumeInGb set to 0.\"),\n volume_mount_path: z.string().describe(\"Mount path for the network volume inside the container. Only applicable if volumeInGb > 0. Example: /workspace or /data\").optional(),\n container_disk_in_gb: z.number().int().describe(\"Container disk size in gigabytes. This is ephemeral storage that gets reset on pod restart. Minimum 10 GB recommended. Used for temporary files and cache.\"),\n}).describe(\"Request model for creating or updating a RunPod template.\");\nconst RunpodSaveTemplate_SavedTemplateSchema = z.object({\n id: z.string().describe(\"Unique identifier of the saved template\").nullable(),\n env: z.array(z.record(z.string(), z.unknown())).describe(\"Environment variables configured for the template\").nullable().optional(),\n name: z.string().describe(\"Name of the template\").nullable(),\n ports: z.string().describe(\"Exposed ports configuration\").nullable().optional(),\n readme: z.string().describe(\"Template readme documentation\").nullable().optional(),\n imageName: z.string().describe(\"Docker image used by the template\").nullable(),\n dockerArgs: z.string().describe(\"Docker arguments for the container\").nullable(),\n volumeInGb: z.number().int().describe(\"Network volume size in GB\").nullable(),\n volumeMountPath: z.string().describe(\"Volume mount path inside the container\").nullable().optional(),\n containerDiskInGb: z.number().int().describe(\"Container disk size in GB\").nullable(),\n}).passthrough().describe(\"Details of the saved template.\");\nconst RunpodSaveTemplate_SaveTemplateResponseDataSchema = z.object({\n saveTemplate: RunpodSaveTemplate_SavedTemplateSchema.nullable(),\n}).passthrough().describe(\"Data wrapper for the saveTemplate mutation response.\");\nexport const RunpodSaveTemplateOutput = z.object({\n data: RunpodSaveTemplate_SaveTemplateResponseDataSchema.nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"GraphQL errors if the mutation failed\").nullable().optional(),\n}).passthrough().describe(\"Response model for the saveTemplate mutation.\");\n\nexport const runpodSaveTemplate: AppAction<\n typeof RunpodSaveTemplateInput,\n typeof RunpodSaveTemplateOutput,\n typeof runpod.credential\n> = action(\"RUNPOD_SAVE_TEMPLATE\", {\n slug: \"runpod-save-template\",\n name: \"Save Template\",\n description: \"Tool to create a new RunPod template or update an existing one with container configuration. Use when you need to define reusable pod/serverless configurations with specific images, environment variables, and resource allocations. For serverless templates, always set volumeInGb to 0.\",\n input: RunpodSaveTemplateInput,\n output: RunpodSaveTemplateOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-registry-auth.cjs","names":["z","action"],"sources":["../../src/actions/update-registry-auth.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodUpdateRegistryAuthInput = z.object({\n id: z.string().describe(\"The authentication credential identifier to update\"),\n password: z.string().describe(\"The new password for registry authentication\"),\n username: z.string().describe(\"The new username for registry authentication\"),\n});\nexport const RunpodUpdateRegistryAuthOutput = z.object({\n id: z.string().describe(\"The unique identifier of the updated registry authentication credential\").nullable(),\n name: z.string().describe(\"The name of the updated registry authentication credential\").nullable(),\n}).passthrough();\n\nexport const runpodUpdateRegistryAuth = action(\"RUNPOD_UPDATE_REGISTRY_AUTH\", {\n slug: \"runpod-update-registry-auth\",\n name: \"Update Registry Auth\",\n description: \"Tool to update existing container registry authentication credentials in RunPod. Use when you need to modify the username or password for an existing registry authentication.\",\n input: RunpodUpdateRegistryAuthInput,\n output: RunpodUpdateRegistryAuthOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-registry-auth.cjs","names":["z","action"],"sources":["../../src/actions/update-registry-auth.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 RunpodUpdateRegistryAuthInput = z.object({\n id: z.string().describe(\"The authentication credential identifier to update\"),\n password: z.string().describe(\"The new password for registry authentication\"),\n username: z.string().describe(\"The new username for registry authentication\"),\n});\nexport const RunpodUpdateRegistryAuthOutput = z.object({\n id: z.string().describe(\"The unique identifier of the updated registry authentication credential\").nullable(),\n name: z.string().describe(\"The name of the updated registry authentication credential\").nullable(),\n}).passthrough();\n\nexport const runpodUpdateRegistryAuth: AppAction<\n typeof RunpodUpdateRegistryAuthInput,\n typeof RunpodUpdateRegistryAuthOutput,\n typeof runpod.credential\n> = action(\"RUNPOD_UPDATE_REGISTRY_AUTH\", {\n slug: \"runpod-update-registry-auth\",\n name: \"Update Registry Auth\",\n description: \"Tool to update existing container registry authentication credentials in RunPod. Use when you need to modify the username or password for an existing registry authentication.\",\n input: RunpodUpdateRegistryAuthInput,\n output: RunpodUpdateRegistryAuthOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAC9E,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC5G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,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/update-registry-auth.d.ts
|
|
@@ -10,11 +12,7 @@ declare const RunpodUpdateRegistryAuthOutput: z.ZodObject<{
|
|
|
10
12
|
id: z.ZodNullable<z.ZodString>;
|
|
11
13
|
name: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const runpodUpdateRegistryAuth:
|
|
14
|
-
id: string;
|
|
15
|
-
password: string;
|
|
16
|
-
username: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const runpodUpdateRegistryAuth: AppAction<typeof RunpodUpdateRegistryAuthInput, typeof RunpodUpdateRegistryAuthOutput, typeof runpod.credential>;
|
|
18
16
|
//#endregion
|
|
19
17
|
export { runpodUpdateRegistryAuth };
|
|
20
18
|
//# sourceMappingURL=update-registry-auth.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-registry-auth.d.cts","names":[],"sources":["../../src/actions/update-registry-auth.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-registry-auth.d.cts","names":[],"sources":["../../src/actions/update-registry-auth.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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/update-registry-auth.d.ts
|
|
@@ -10,11 +12,7 @@ declare const RunpodUpdateRegistryAuthOutput: z.ZodObject<{
|
|
|
10
12
|
id: z.ZodNullable<z.ZodString>;
|
|
11
13
|
name: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const runpodUpdateRegistryAuth:
|
|
14
|
-
id: string;
|
|
15
|
-
password: string;
|
|
16
|
-
username: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const runpodUpdateRegistryAuth: AppAction<typeof RunpodUpdateRegistryAuthInput, typeof RunpodUpdateRegistryAuthOutput, typeof runpod.credential>;
|
|
18
16
|
//#endregion
|
|
19
17
|
export { runpodUpdateRegistryAuth };
|
|
20
18
|
//# sourceMappingURL=update-registry-auth.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-registry-auth.d.mts","names":[],"sources":["../../src/actions/update-registry-auth.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-registry-auth.d.mts","names":[],"sources":["../../src/actions/update-registry-auth.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAK7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-registry-auth.mjs","names":[],"sources":["../../src/actions/update-registry-auth.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodUpdateRegistryAuthInput = z.object({\n id: z.string().describe(\"The authentication credential identifier to update\"),\n password: z.string().describe(\"The new password for registry authentication\"),\n username: z.string().describe(\"The new username for registry authentication\"),\n});\nexport const RunpodUpdateRegistryAuthOutput = z.object({\n id: z.string().describe(\"The unique identifier of the updated registry authentication credential\").nullable(),\n name: z.string().describe(\"The name of the updated registry authentication credential\").nullable(),\n}).passthrough();\n\nexport const runpodUpdateRegistryAuth = action(\"RUNPOD_UPDATE_REGISTRY_AUTH\", {\n slug: \"runpod-update-registry-auth\",\n name: \"Update Registry Auth\",\n description: \"Tool to update existing container registry authentication credentials in RunPod. Use when you need to modify the username or password for an existing registry authentication.\",\n input: RunpodUpdateRegistryAuthInput,\n output: RunpodUpdateRegistryAuthOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-registry-auth.mjs","names":[],"sources":["../../src/actions/update-registry-auth.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 RunpodUpdateRegistryAuthInput = z.object({\n id: z.string().describe(\"The authentication credential identifier to update\"),\n password: z.string().describe(\"The new password for registry authentication\"),\n username: z.string().describe(\"The new username for registry authentication\"),\n});\nexport const RunpodUpdateRegistryAuthOutput = z.object({\n id: z.string().describe(\"The unique identifier of the updated registry authentication credential\").nullable(),\n name: z.string().describe(\"The name of the updated registry authentication credential\").nullable(),\n}).passthrough();\n\nexport const runpodUpdateRegistryAuth: AppAction<\n typeof RunpodUpdateRegistryAuthInput,\n typeof RunpodUpdateRegistryAuthOutput,\n typeof runpod.credential\n> = action(\"RUNPOD_UPDATE_REGISTRY_AUTH\", {\n slug: \"runpod-update-registry-auth\",\n name: \"Update Registry Auth\",\n description: \"Tool to update existing container registry authentication credentials in RunPod. Use when you need to modify the username or password for an existing registry authentication.\",\n input: RunpodUpdateRegistryAuthInput,\n output: RunpodUpdateRegistryAuthOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC9E,CAcS;CACP,QAd4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC5G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user-settings.cjs","names":["z","action"],"sources":["../../src/actions/update-user-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodUpdateUserSettingsInput = z.object({\n pub_key: z.string().describe(\"SSH public key to associate with the user account. This key will be used for SSH access to pods. Must be a valid SSH public key in OpenSSH format (e.g., 'ssh-rsa AAAAB3...' or 'ssh-ed25519 AAAAC3...').\"),\n}).describe(\"Request model for RUNPOD_GRAPHQL_UPDATE_USER_SETTINGS.\");\nconst RunpodUpdateUserSettings_UserSettingsSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n pubKey: z.string().describe(\"The SSH public key that was set for the user account.\").nullable().optional(),\n}).passthrough().describe(\"User settings details returned after updating.\");\nexport const RunpodUpdateUserSettingsOutput = z.object({\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any GraphQL errors returned by the API.\").nullable().optional(),\n user_settings: RunpodUpdateUserSettings_UserSettingsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for RUNPOD_GRAPHQL_UPDATE_USER_SETTINGS.\");\n\nexport const runpodUpdateUserSettings = action(\"RUNPOD_UPDATE_USER_SETTINGS\", {\n slug: \"runpod-update-user-settings\",\n name: \"Update User Settings\",\n description: \"Tool to update current user settings (e.g., SSH public key) in RunPod. Use when you need to configure SSH access to pods by setting the user's SSH public key.\",\n input: RunpodUpdateUserSettingsInput,\n output: RunpodUpdateUserSettingsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-user-settings.cjs","names":["z","action"],"sources":["../../src/actions/update-user-settings.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 RunpodUpdateUserSettingsInput = z.object({\n pub_key: z.string().describe(\"SSH public key to associate with the user account. This key will be used for SSH access to pods. Must be a valid SSH public key in OpenSSH format (e.g., 'ssh-rsa AAAAB3...' or 'ssh-ed25519 AAAAC3...').\"),\n}).describe(\"Request model for RUNPOD_GRAPHQL_UPDATE_USER_SETTINGS.\");\nconst RunpodUpdateUserSettings_UserSettingsSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n pubKey: z.string().describe(\"The SSH public key that was set for the user account.\").nullable().optional(),\n}).passthrough().describe(\"User settings details returned after updating.\");\nexport const RunpodUpdateUserSettingsOutput = z.object({\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any GraphQL errors returned by the API.\").nullable().optional(),\n user_settings: RunpodUpdateUserSettings_UserSettingsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for RUNPOD_GRAPHQL_UPDATE_USER_SETTINGS.\");\n\nexport const runpodUpdateUserSettings: AppAction<\n typeof RunpodUpdateUserSettingsInput,\n typeof RunpodUpdateUserSettingsOutput,\n typeof runpod.credential\n> = action(\"RUNPOD_UPDATE_USER_SETTINGS\", {\n slug: \"runpod-update-user-settings\",\n name: \"Update User Settings\",\n description: \"Tool to update current user settings (e.g., SSH public key) in RunPod. Use when you need to configure SSH access to pods by setting the user's SSH public key.\",\n input: RunpodUpdateUserSettingsInput,\n output: RunpodUpdateUserSettingsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M,EAC1O,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,eAAe,4CAA4C,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,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/update-user-settings.d.ts
|
|
@@ -11,9 +13,7 @@ declare const RunpodUpdateUserSettingsOutput: z.ZodObject<{
|
|
|
11
13
|
pubKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
}, z.core.$loose>>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const runpodUpdateUserSettings:
|
|
15
|
-
pub_key: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
|
+
declare const runpodUpdateUserSettings: AppAction<typeof RunpodUpdateUserSettingsInput, typeof RunpodUpdateUserSettingsOutput, typeof runpod.credential>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { runpodUpdateUserSettings };
|
|
19
19
|
//# sourceMappingURL=update-user-settings.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user-settings.d.cts","names":[],"sources":["../../src/actions/update-user-settings.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-user-settings.d.cts","names":[],"sources":["../../src/actions/update-user-settings.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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/update-user-settings.d.ts
|
|
@@ -11,9 +13,7 @@ declare const RunpodUpdateUserSettingsOutput: z.ZodObject<{
|
|
|
11
13
|
pubKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
}, z.core.$loose>>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const runpodUpdateUserSettings:
|
|
15
|
-
pub_key: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
|
+
declare const runpodUpdateUserSettings: AppAction<typeof RunpodUpdateUserSettingsInput, typeof RunpodUpdateUserSettingsOutput, typeof runpod.credential>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { runpodUpdateUserSettings };
|
|
19
19
|
//# sourceMappingURL=update-user-settings.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user-settings.d.mts","names":[],"sources":["../../src/actions/update-user-settings.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-user-settings.d.mts","names":[],"sources":["../../src/actions/update-user-settings.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAO7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user-settings.mjs","names":[],"sources":["../../src/actions/update-user-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RunpodUpdateUserSettingsInput = z.object({\n pub_key: z.string().describe(\"SSH public key to associate with the user account. This key will be used for SSH access to pods. Must be a valid SSH public key in OpenSSH format (e.g., 'ssh-rsa AAAAB3...' or 'ssh-ed25519 AAAAC3...').\"),\n}).describe(\"Request model for RUNPOD_GRAPHQL_UPDATE_USER_SETTINGS.\");\nconst RunpodUpdateUserSettings_UserSettingsSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n pubKey: z.string().describe(\"The SSH public key that was set for the user account.\").nullable().optional(),\n}).passthrough().describe(\"User settings details returned after updating.\");\nexport const RunpodUpdateUserSettingsOutput = z.object({\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any GraphQL errors returned by the API.\").nullable().optional(),\n user_settings: RunpodUpdateUserSettings_UserSettingsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for RUNPOD_GRAPHQL_UPDATE_USER_SETTINGS.\");\n\nexport const runpodUpdateUserSettings = action(\"RUNPOD_UPDATE_USER_SETTINGS\", {\n slug: \"runpod-update-user-settings\",\n name: \"Update User Settings\",\n description: \"Tool to update current user settings (e.g., SSH public key) in RunPod. Use when you need to configure SSH access to pods by setting the user's SSH public key.\",\n input: RunpodUpdateUserSettingsInput,\n output: RunpodUpdateUserSettingsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-user-settings.mjs","names":[],"sources":["../../src/actions/update-user-settings.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 RunpodUpdateUserSettingsInput = z.object({\n pub_key: z.string().describe(\"SSH public key to associate with the user account. This key will be used for SSH access to pods. Must be a valid SSH public key in OpenSSH format (e.g., 'ssh-rsa AAAAB3...' or 'ssh-ed25519 AAAAC3...').\"),\n}).describe(\"Request model for RUNPOD_GRAPHQL_UPDATE_USER_SETTINGS.\");\nconst RunpodUpdateUserSettings_UserSettingsSchema = z.object({\n id: z.string().describe(\"The unique identifier of the user.\").nullable().optional(),\n pubKey: z.string().describe(\"The SSH public key that was set for the user account.\").nullable().optional(),\n}).passthrough().describe(\"User settings details returned after updating.\");\nexport const RunpodUpdateUserSettingsOutput = z.object({\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"Any GraphQL errors returned by the API.\").nullable().optional(),\n user_settings: RunpodUpdateUserSettings_UserSettingsSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for RUNPOD_GRAPHQL_UPDATE_USER_SETTINGS.\");\n\nexport const runpodUpdateUserSettings: AppAction<\n typeof RunpodUpdateUserSettingsInput,\n typeof RunpodUpdateUserSettingsOutput,\n typeof runpod.credential\n> = action(\"RUNPOD_UPDATE_USER_SETTINGS\", {\n slug: \"runpod-update-user-settings\",\n name: \"Update User Settings\",\n description: \"Tool to update current user settings (e.g., SSH public key) in RunPod. Use when you need to configure SSH access to pods by setting the user's SSH public key.\",\n input: RunpodUpdateUserSettingsInput,\n output: RunpodUpdateUserSettingsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO,EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M,EAC1O,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAM1E,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd4C,EAAE,OAAO;EACrD,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,eAAe,4CAA4C,SAAS,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
1
2
|
//#region src/app.ts
|
|
2
|
-
const
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
|
+
const runpod = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
5
|
slug: "runpod",
|
|
4
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential
|
|
5
8
|
});
|
|
6
9
|
//#endregion
|
|
7
10
|
exports.runpod = runpod;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const runpod = defineApp({\n slug: \"runpod\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,UAAA,
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const runpod: KeystrokeApp<\"runpod\", typeof credential> = defineApp({\n slug: \"runpod\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,UAAA,GAAA,2BAAA,UAAA,CAA8D;CACzE,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const runpod: KeystrokeApp<"runpod", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { runpod };
|
|
5
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,MAAA,EAAQ,YAAY,kBAAkB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const runpod: KeystrokeApp<"runpod", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { runpod };
|
|
5
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,MAAA,EAAQ,YAAY,kBAAkB,UAAA"}
|
package/dist/app.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
-
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
const runpod = defineApp({
|
|
4
4
|
slug: "runpod",
|
|
5
|
-
auth: "keystroke"
|
|
5
|
+
auth: "keystroke",
|
|
6
|
+
credential: { generic_api_key: z.string() }
|
|
6
7
|
});
|
|
7
8
|
//#endregion
|
|
8
9
|
export { runpod };
|
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const runpod = defineApp({\n slug: \"runpod\",\n auth: \"keystroke\",\n});\n"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const runpod: KeystrokeApp<\"runpod\", typeof credential> = defineApp({\n slug: \"runpod\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,SAAoD,UAAU;CACzE,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { runpod } from "./app.cjs";
|
|
1
2
|
import { runpodCreateCluster } from "./actions/create-cluster.cjs";
|
|
2
3
|
import { runpodCreateSecret } from "./actions/create-secret.cjs";
|
|
3
4
|
import { runpodDeleteRegistryAuth } from "./actions/delete-registry-auth.cjs";
|
|
@@ -11,6 +12,5 @@ import { runpodSaveRegistryAuth } from "./actions/save-registry-auth.cjs";
|
|
|
11
12
|
import { runpodSaveTemplate } from "./actions/save-template.cjs";
|
|
12
13
|
import { runpodUpdateRegistryAuth } from "./actions/update-registry-auth.cjs";
|
|
13
14
|
import { runpodUpdateUserSettings } from "./actions/update-user-settings.cjs";
|
|
14
|
-
import { runpod } from "./app.cjs";
|
|
15
15
|
import { runpodCatalog } from "./catalog.cjs";
|
|
16
16
|
export { runpod, runpodCatalog, runpodCreateCluster, runpodCreateSecret, runpodDeleteRegistryAuth, runpodDeleteTemplate, runpodGetGpuTypes, runpodGetMyself, runpodGetPod, runpodListCpuTypes, runpodSaveEndpoint, runpodSaveRegistryAuth, runpodSaveTemplate, runpodUpdateRegistryAuth, runpodUpdateUserSettings };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { runpod } from "./app.mjs";
|
|
1
2
|
import { runpodCreateCluster } from "./actions/create-cluster.mjs";
|
|
2
3
|
import { runpodCreateSecret } from "./actions/create-secret.mjs";
|
|
3
4
|
import { runpodDeleteRegistryAuth } from "./actions/delete-registry-auth.mjs";
|
|
@@ -11,6 +12,5 @@ import { runpodSaveRegistryAuth } from "./actions/save-registry-auth.mjs";
|
|
|
11
12
|
import { runpodSaveTemplate } from "./actions/save-template.mjs";
|
|
12
13
|
import { runpodUpdateRegistryAuth } from "./actions/update-registry-auth.mjs";
|
|
13
14
|
import { runpodUpdateUserSettings } from "./actions/update-user-settings.mjs";
|
|
14
|
-
import { runpod } from "./app.mjs";
|
|
15
15
|
import { runpodCatalog } from "./catalog.mjs";
|
|
16
16
|
export { runpod, runpodCatalog, runpodCreateCluster, runpodCreateSecret, runpodDeleteRegistryAuth, runpodDeleteTemplate, runpodGetGpuTypes, runpodGetMyself, runpodGetPod, runpodListCpuTypes, runpodSaveEndpoint, runpodSaveRegistryAuth, runpodSaveTemplate, runpodUpdateRegistryAuth, runpodUpdateUserSettings };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/runpod",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|