@keystrokehq/replicate 0.1.2 → 0.1.3
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/actions/account-get.cjs +1 -1
- package/dist/actions/account-get.cjs.map +1 -1
- package/dist/actions/account-get.d.cts +1 -1
- package/dist/actions/account-get.d.mts +1 -1
- package/dist/actions/account-get.mjs +1 -1
- package/dist/actions/account-get.mjs.map +1 -1
- package/dist/actions/cancel-prediction.cjs +2 -2
- package/dist/actions/cancel-prediction.cjs.map +1 -1
- package/dist/actions/cancel-prediction.d.cts +2 -2
- package/dist/actions/cancel-prediction.d.mts +2 -2
- package/dist/actions/cancel-prediction.mjs +2 -2
- package/dist/actions/cancel-prediction.mjs.map +1 -1
- package/dist/actions/collections-get.cjs +2 -2
- package/dist/actions/collections-get.cjs.map +1 -1
- package/dist/actions/collections-get.d.cts +2 -2
- package/dist/actions/collections-get.d.mts +2 -2
- package/dist/actions/collections-get.mjs +2 -2
- package/dist/actions/collections-get.mjs.map +1 -1
- package/dist/actions/collections-list.cjs +2 -2
- package/dist/actions/collections-list.cjs.map +1 -1
- package/dist/actions/collections-list.d.cts +2 -2
- package/dist/actions/collections-list.d.mts +2 -2
- package/dist/actions/collections-list.mjs +2 -2
- package/dist/actions/collections-list.mjs.map +1 -1
- package/dist/actions/create-model.cjs +1 -1
- package/dist/actions/create-model.cjs.map +1 -1
- package/dist/actions/create-model.d.cts +1 -1
- package/dist/actions/create-model.d.mts +1 -1
- package/dist/actions/create-model.mjs +1 -1
- package/dist/actions/create-model.mjs.map +1 -1
- package/dist/actions/create-prediction.cjs +2 -2
- package/dist/actions/create-prediction.cjs.map +1 -1
- package/dist/actions/create-prediction.d.cts +4 -4
- package/dist/actions/create-prediction.d.mts +4 -4
- package/dist/actions/create-prediction.mjs +2 -2
- package/dist/actions/create-prediction.mjs.map +1 -1
- package/dist/actions/deployments-create.cjs +4 -4
- package/dist/actions/deployments-create.cjs.map +1 -1
- package/dist/actions/deployments-create.d.cts +4 -4
- package/dist/actions/deployments-create.d.mts +4 -4
- package/dist/actions/deployments-create.mjs +4 -4
- package/dist/actions/deployments-create.mjs.map +1 -1
- package/dist/actions/deployments-delete.cjs +1 -1
- package/dist/actions/deployments-delete.cjs.map +1 -1
- package/dist/actions/deployments-delete.d.cts +1 -1
- package/dist/actions/deployments-delete.d.mts +1 -1
- package/dist/actions/deployments-delete.mjs +1 -1
- package/dist/actions/deployments-delete.mjs.map +1 -1
- package/dist/actions/deployments-get.cjs +4 -4
- package/dist/actions/deployments-get.cjs.map +1 -1
- package/dist/actions/deployments-get.d.cts +4 -4
- package/dist/actions/deployments-get.d.mts +4 -4
- package/dist/actions/deployments-get.mjs +4 -4
- package/dist/actions/deployments-get.mjs.map +1 -1
- package/dist/actions/deployments-list.cjs +5 -5
- package/dist/actions/deployments-list.cjs.map +1 -1
- package/dist/actions/deployments-list.d.cts +5 -5
- package/dist/actions/deployments-list.d.mts +5 -5
- package/dist/actions/deployments-list.mjs +5 -5
- package/dist/actions/deployments-list.mjs.map +1 -1
- package/dist/actions/files-create.cjs +3 -3
- package/dist/actions/files-create.cjs.map +1 -1
- package/dist/actions/files-create.d.cts +3 -3
- package/dist/actions/files-create.d.mts +3 -3
- package/dist/actions/files-create.mjs +3 -3
- package/dist/actions/files-create.mjs.map +1 -1
- package/dist/actions/files-delete.cjs +1 -1
- package/dist/actions/files-delete.cjs.map +1 -1
- package/dist/actions/files-delete.d.cts +1 -1
- package/dist/actions/files-delete.d.mts +1 -1
- package/dist/actions/files-delete.mjs +1 -1
- package/dist/actions/files-delete.mjs.map +1 -1
- package/dist/actions/files-get.cjs +3 -3
- package/dist/actions/files-get.cjs.map +1 -1
- package/dist/actions/files-get.d.cts +3 -3
- package/dist/actions/files-get.d.mts +3 -3
- package/dist/actions/files-get.mjs +3 -3
- package/dist/actions/files-get.mjs.map +1 -1
- package/dist/actions/files-list.cjs +4 -4
- package/dist/actions/files-list.cjs.map +1 -1
- package/dist/actions/files-list.d.cts +4 -4
- package/dist/actions/files-list.d.mts +4 -4
- package/dist/actions/files-list.mjs +4 -4
- package/dist/actions/files-list.mjs.map +1 -1
- package/dist/actions/get-prediction.cjs +4 -4
- package/dist/actions/get-prediction.cjs.map +1 -1
- package/dist/actions/get-prediction.d.cts +4 -4
- package/dist/actions/get-prediction.d.mts +4 -4
- package/dist/actions/get-prediction.mjs +4 -4
- package/dist/actions/get-prediction.mjs.map +1 -1
- package/dist/actions/hardware-list.cjs +2 -2
- package/dist/actions/hardware-list.cjs.map +1 -1
- package/dist/actions/hardware-list.d.cts +2 -2
- package/dist/actions/hardware-list.d.mts +2 -2
- package/dist/actions/hardware-list.mjs +2 -2
- package/dist/actions/hardware-list.mjs.map +1 -1
- package/dist/actions/models-examples-list.cjs +4 -4
- package/dist/actions/models-examples-list.cjs.map +1 -1
- package/dist/actions/models-examples-list.d.cts +4 -4
- package/dist/actions/models-examples-list.d.mts +4 -4
- package/dist/actions/models-examples-list.mjs +4 -4
- package/dist/actions/models-examples-list.mjs.map +1 -1
- package/dist/actions/models-get.cjs +6 -6
- package/dist/actions/models-get.cjs.map +1 -1
- package/dist/actions/models-get.d.cts +6 -6
- package/dist/actions/models-get.d.mts +6 -6
- package/dist/actions/models-get.mjs +6 -6
- package/dist/actions/models-get.mjs.map +1 -1
- package/dist/actions/models-list.cjs +3 -3
- package/dist/actions/models-list.cjs.map +1 -1
- package/dist/actions/models-list.d.cts +3 -3
- package/dist/actions/models-list.d.mts +3 -3
- package/dist/actions/models-list.mjs +3 -3
- package/dist/actions/models-list.mjs.map +1 -1
- package/dist/actions/models-predictions-create.cjs +2 -2
- package/dist/actions/models-predictions-create.cjs.map +1 -1
- package/dist/actions/models-predictions-create.d.cts +4 -4
- package/dist/actions/models-predictions-create.d.mts +4 -4
- package/dist/actions/models-predictions-create.mjs +2 -2
- package/dist/actions/models-predictions-create.mjs.map +1 -1
- package/dist/actions/models-readme-get.cjs +1 -1
- package/dist/actions/models-readme-get.cjs.map +1 -1
- package/dist/actions/models-readme-get.d.cts +1 -1
- package/dist/actions/models-readme-get.d.mts +1 -1
- package/dist/actions/models-readme-get.mjs +1 -1
- package/dist/actions/models-readme-get.mjs.map +1 -1
- package/dist/actions/models-versions-get.cjs +1 -1
- package/dist/actions/models-versions-get.cjs.map +1 -1
- package/dist/actions/models-versions-get.d.cts +1 -1
- package/dist/actions/models-versions-get.d.mts +1 -1
- package/dist/actions/models-versions-get.mjs +1 -1
- package/dist/actions/models-versions-get.mjs.map +1 -1
- package/dist/actions/models-versions-list.cjs +2 -2
- package/dist/actions/models-versions-list.cjs.map +1 -1
- package/dist/actions/models-versions-list.d.cts +2 -2
- package/dist/actions/models-versions-list.d.mts +2 -2
- package/dist/actions/models-versions-list.mjs +2 -2
- package/dist/actions/models-versions-list.mjs.map +1 -1
- package/dist/actions/predictions-create.cjs +2 -2
- package/dist/actions/predictions-create.cjs.map +1 -1
- package/dist/actions/predictions-create.d.cts +4 -4
- package/dist/actions/predictions-create.d.mts +4 -4
- package/dist/actions/predictions-create.mjs +2 -2
- package/dist/actions/predictions-create.mjs.map +1 -1
- package/dist/actions/predictions-list.cjs +3 -3
- package/dist/actions/predictions-list.cjs.map +1 -1
- package/dist/actions/predictions-list.d.cts +3 -3
- package/dist/actions/predictions-list.d.mts +3 -3
- package/dist/actions/predictions-list.mjs +3 -3
- package/dist/actions/predictions-list.mjs.map +1 -1
- package/dist/actions/search.cjs +9 -9
- package/dist/actions/search.cjs.map +1 -1
- package/dist/actions/search.d.cts +9 -9
- package/dist/actions/search.d.mts +9 -9
- package/dist/actions/search.mjs +9 -9
- package/dist/actions/search.mjs.map +1 -1
- package/dist/actions/trainings-cancel.cjs +2 -2
- package/dist/actions/trainings-cancel.cjs.map +1 -1
- package/dist/actions/trainings-cancel.d.cts +2 -2
- package/dist/actions/trainings-cancel.d.mts +2 -2
- package/dist/actions/trainings-cancel.mjs +2 -2
- package/dist/actions/trainings-cancel.mjs.map +1 -1
- package/dist/actions/trainings-create.cjs +3 -3
- package/dist/actions/trainings-create.cjs.map +1 -1
- package/dist/actions/trainings-create.d.cts +5 -5
- package/dist/actions/trainings-create.d.mts +5 -5
- package/dist/actions/trainings-create.mjs +3 -3
- package/dist/actions/trainings-create.mjs.map +1 -1
- package/dist/actions/trainings-list.cjs +5 -5
- package/dist/actions/trainings-list.cjs.map +1 -1
- package/dist/actions/trainings-list.d.cts +5 -5
- package/dist/actions/trainings-list.d.mts +5 -5
- package/dist/actions/trainings-list.mjs +5 -5
- package/dist/actions/trainings-list.mjs.map +1 -1
- package/dist/actions/update-models.cjs +1 -1
- package/dist/actions/update-models.cjs.map +1 -1
- package/dist/actions/update-models.d.cts +1 -1
- package/dist/actions/update-models.d.mts +1 -1
- package/dist/actions/update-models.mjs +1 -1
- package/dist/actions/update-models.mjs.map +1 -1
- package/dist/actions/webhooks-secret-get.cjs +1 -1
- package/dist/actions/webhooks-secret-get.cjs.map +1 -1
- package/dist/actions/webhooks-secret-get.d.cts +1 -1
- package/dist/actions/webhooks-secret-get.d.mts +1 -1
- package/dist/actions/webhooks-secret-get.mjs +1 -1
- package/dist/actions/webhooks-secret-get.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -9,8 +9,8 @@ declare const ReplicateCreatePredictionInput: z.ZodObject<{
|
|
|
9
9
|
deployment_owner: z.ZodString;
|
|
10
10
|
webhook_events_filter: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
11
11
|
output: "output";
|
|
12
|
-
logs: "logs";
|
|
13
12
|
start: "start";
|
|
13
|
+
logs: "logs";
|
|
14
14
|
completed: "completed";
|
|
15
15
|
}>>>;
|
|
16
16
|
}, z.core.$strip>;
|
|
@@ -22,7 +22,7 @@ declare const ReplicateCreatePredictionOutput: z.ZodObject<{
|
|
|
22
22
|
web: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
cancel: z.ZodNullable<z.ZodString>;
|
|
24
24
|
stream: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
26
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
28
28
|
model: z.ZodNullable<z.ZodString>;
|
|
@@ -32,14 +32,14 @@ declare const ReplicateCreatePredictionOutput: z.ZodObject<{
|
|
|
32
32
|
version: z.ZodNullable<z.ZodString>;
|
|
33
33
|
created_at: z.ZodNullable<z.ZodString>;
|
|
34
34
|
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>;
|
|
36
36
|
declare const replicateCreatePrediction: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
37
37
|
input: Record<string, unknown>;
|
|
38
38
|
deployment_name: string;
|
|
39
39
|
deployment_owner: string;
|
|
40
40
|
webhook?: string | undefined;
|
|
41
41
|
wait_for?: number | undefined;
|
|
42
|
-
webhook_events_filter?: ("output" | "
|
|
42
|
+
webhook_events_filter?: ("output" | "start" | "logs" | "completed")[] | undefined;
|
|
43
43
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { replicateCreatePrediction };
|
|
@@ -9,8 +9,8 @@ declare const ReplicateCreatePredictionInput: z.ZodObject<{
|
|
|
9
9
|
deployment_owner: z.ZodString;
|
|
10
10
|
webhook_events_filter: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
11
11
|
output: "output";
|
|
12
|
-
logs: "logs";
|
|
13
12
|
start: "start";
|
|
13
|
+
logs: "logs";
|
|
14
14
|
completed: "completed";
|
|
15
15
|
}>>>;
|
|
16
16
|
}, z.core.$strip>;
|
|
@@ -22,7 +22,7 @@ declare const ReplicateCreatePredictionOutput: z.ZodObject<{
|
|
|
22
22
|
web: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
cancel: z.ZodNullable<z.ZodString>;
|
|
24
24
|
stream: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>>;
|
|
26
26
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
input: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
28
28
|
model: z.ZodNullable<z.ZodString>;
|
|
@@ -32,14 +32,14 @@ declare const ReplicateCreatePredictionOutput: z.ZodObject<{
|
|
|
32
32
|
version: z.ZodNullable<z.ZodString>;
|
|
33
33
|
created_at: z.ZodNullable<z.ZodString>;
|
|
34
34
|
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>;
|
|
36
36
|
declare const replicateCreatePrediction: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
37
37
|
input: Record<string, unknown>;
|
|
38
38
|
deployment_name: string;
|
|
39
39
|
deployment_owner: string;
|
|
40
40
|
webhook?: string | undefined;
|
|
41
41
|
wait_for?: number | undefined;
|
|
42
|
-
webhook_events_filter?: ("output" | "
|
|
42
|
+
webhook_events_filter?: ("output" | "start" | "logs" | "completed")[] | undefined;
|
|
43
43
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { replicateCreatePrediction };
|
|
@@ -19,7 +19,7 @@ const ReplicateCreatePrediction_PredictionUrlsSchema = z.object({
|
|
|
19
19
|
web: z.string().describe("Web URL for viewing the prediction in a browser").nullable().optional(),
|
|
20
20
|
cancel: z.string().describe("API endpoint URL to cancel the prediction").nullable(),
|
|
21
21
|
stream: z.string().describe("Streaming URL for the prediction, if available").nullable().optional()
|
|
22
|
-
}).describe("URLs associated with a prediction.\n\nNote: The official OpenAPI schema (https://api.replicate.com/openapi.json) marks 'web'\nas required, but actual API responses from default_example objects omit this field.\nTo ensure compatibility with real API responses, 'web' is marked as optional.");
|
|
22
|
+
}).passthrough().describe("URLs associated with a prediction.\n\nNote: The official OpenAPI schema (https://api.replicate.com/openapi.json) marks 'web'\nas required, but actual API responses from default_example objects omit this field.\nTo ensure compatibility with real API responses, 'web' is marked as optional.");
|
|
23
23
|
const replicateCreatePrediction = action("REPLICATE_CREATE_PREDICTION", {
|
|
24
24
|
slug: "replicate-create-prediction",
|
|
25
25
|
name: "Create Prediction",
|
|
@@ -38,7 +38,7 @@ const replicateCreatePrediction = action("REPLICATE_CREATE_PREDICTION", {
|
|
|
38
38
|
version: z.string().describe("Version of the model used in prediction").nullable(),
|
|
39
39
|
created_at: z.string().describe("Timestamp when the prediction was created (ISO 8601)").nullable(),
|
|
40
40
|
completed_at: z.string().describe("Timestamp when the prediction completed (ISO 8601), if available").nullable().optional()
|
|
41
|
-
}).describe("Response schema for creating a prediction.")
|
|
41
|
+
}).passthrough().describe("Response schema for creating a prediction.")
|
|
42
42
|
});
|
|
43
43
|
//#endregion
|
|
44
44
|
export { replicateCreatePrediction };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-prediction.mjs","names":[],"sources":["../../src/actions/create-prediction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplicateCreatePredictionInput = z.object({\n input: z.record(z.string(), z.unknown()).describe(\"JSON object of inputs for the model Keys and types must exactly match the deployment model's schema; consult REPLICATE_MODELS_README_GET or REPLICATE_MODELS_EXAMPLES_LIST first. For file inputs, verify file IDs via REPLICATE_FILES_LIST before submitting.\"),\n webhook: z.string().describe(\"HTTPS URL to receive webhook callbacks\").optional(),\n wait_for: z.number().int().describe(\"Seconds to wait for prediction completion; adds a 'Prefer: wait=<n>' header if provided Valid range is 1–60; if the prediction does not complete within this window, poll for status or use a webhook instead.\").optional(),\n deployment_name: z.string().describe(\"Name of the deployment. NOTE: This is the deployment name, NOT a public model name. Deployments are created via REPLICATE_DEPLOYMENTS_CREATE. To run public models like 'meta/llama-2-70b-chat', use REPLICATE_MODELS_PREDICTIONS_CREATE instead\"),\n deployment_owner: z.string().describe(\"Username or organization that owns the deployment. NOTE: This is for Replicate Deployments only, NOT public models. Deployments are persistent instances you create and manage separately. To run public models, use REPLICATE_MODELS_PREDICTIONS_CREATE instead\"),\n webhook_events_filter: z.array(z.enum([\"start\", \"output\", \"logs\", \"completed\"])).describe(\"List of events to trigger webhook calls\").optional(),\n}).describe(\"Request schema for creating a prediction for a specific deployment.\");\nconst ReplicateCreatePrediction_PredictionUrlsSchema = z.object({\n get: z.string().describe(\"API endpoint URL to get the prediction details\").nullable(),\n web: z.string().describe(\"Web URL for viewing the prediction in a browser\").nullable().optional(),\n cancel: z.string().describe(\"API endpoint URL to cancel the prediction\").nullable(),\n stream: z.string().describe(\"Streaming URL for the prediction, if available\").nullable().optional(),\n}).describe(\"URLs associated with a prediction.\\n\\nNote: The official OpenAPI schema (https://api.replicate.com/openapi.json) marks 'web'\\nas required, but actual API responses from default_example objects omit this field.\\nTo ensure compatibility with real API responses, 'web' is marked as optional.\");\nexport const ReplicateCreatePredictionOutput = z.object({\n id: z.string().describe(\"Unique identifier of the prediction\").nullable(),\n logs: z.string().describe(\"Logs generated during the prediction\").nullable(),\n urls: ReplicateCreatePrediction_PredictionUrlsSchema.nullable(),\n error: z.string().describe(\"Error message if the prediction failed\").nullable().optional(),\n input: z.record(z.string(), z.unknown()).describe(\"Input provided for the prediction\"),\n model: z.string().describe(\"Model associated with this prediction\").nullable(),\n output: z.unknown().describe(\"Output of the prediction if completed\").nullable().optional(),\n status: z.string().describe(\"Current status of the prediction (e.g., 'starting', 'processing', 'succeeded', 'failed', 'canceled')\").nullable(),\n metrics: z.record(z.string(), z.unknown()).describe(\"Performance metrics for the prediction, e.g., predict_time\"),\n version: z.string().describe(\"Version of the model used in prediction\").nullable(),\n created_at: z.string().describe(\"Timestamp when the prediction was created (ISO 8601)\").nullable(),\n completed_at: z.string().describe(\"Timestamp when the prediction completed (ISO 8601), if available\").nullable().optional(),\n}).describe(\"Response schema for creating a prediction.\");\n\nexport const replicateCreatePrediction = action(\"REPLICATE_CREATE_PREDICTION\", {\n slug: \"replicate-create-prediction\",\n name: \"Create Prediction\",\n description: \"Tool to create a prediction for a Replicate Deployment. IMPORTANT: This action ONLY works with Replicate Deployments (persistent instances you create and manage), NOT public models. Deployments are created via REPLICATE_DEPLOYMENTS_CREATE. To run public models (e.g., 'meta/llama-2-70b-chat', 'stability-ai/sdxl'), use REPLICATE_MODELS_PREDICTIONS_CREATE instead. Use 'wait_for' to wait until the prediction completes.\",\n input: ReplicateCreatePredictionInput,\n output: ReplicateCreatePredictionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gQAAgQ;CAClT,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gNAAgN,CAAC,CAAC,SAAS;CAC/P,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kPAAkP;CACvR,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kQAAkQ;CACxS,uBAAuB,EAAE,MAAM,EAAE,KAAK;EAAC;EAAS;EAAU;EAAQ;CAAW,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,iDAAiD,EAAE,OAAO;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACpF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,kSAAkS;
|
|
1
|
+
{"version":3,"file":"create-prediction.mjs","names":[],"sources":["../../src/actions/create-prediction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplicateCreatePredictionInput = z.object({\n input: z.record(z.string(), z.unknown()).describe(\"JSON object of inputs for the model Keys and types must exactly match the deployment model's schema; consult REPLICATE_MODELS_README_GET or REPLICATE_MODELS_EXAMPLES_LIST first. For file inputs, verify file IDs via REPLICATE_FILES_LIST before submitting.\"),\n webhook: z.string().describe(\"HTTPS URL to receive webhook callbacks\").optional(),\n wait_for: z.number().int().describe(\"Seconds to wait for prediction completion; adds a 'Prefer: wait=<n>' header if provided Valid range is 1–60; if the prediction does not complete within this window, poll for status or use a webhook instead.\").optional(),\n deployment_name: z.string().describe(\"Name of the deployment. NOTE: This is the deployment name, NOT a public model name. Deployments are created via REPLICATE_DEPLOYMENTS_CREATE. To run public models like 'meta/llama-2-70b-chat', use REPLICATE_MODELS_PREDICTIONS_CREATE instead\"),\n deployment_owner: z.string().describe(\"Username or organization that owns the deployment. NOTE: This is for Replicate Deployments only, NOT public models. Deployments are persistent instances you create and manage separately. To run public models, use REPLICATE_MODELS_PREDICTIONS_CREATE instead\"),\n webhook_events_filter: z.array(z.enum([\"start\", \"output\", \"logs\", \"completed\"])).describe(\"List of events to trigger webhook calls\").optional(),\n}).describe(\"Request schema for creating a prediction for a specific deployment.\");\nconst ReplicateCreatePrediction_PredictionUrlsSchema = z.object({\n get: z.string().describe(\"API endpoint URL to get the prediction details\").nullable(),\n web: z.string().describe(\"Web URL for viewing the prediction in a browser\").nullable().optional(),\n cancel: z.string().describe(\"API endpoint URL to cancel the prediction\").nullable(),\n stream: z.string().describe(\"Streaming URL for the prediction, if available\").nullable().optional(),\n}).passthrough().describe(\"URLs associated with a prediction.\\n\\nNote: The official OpenAPI schema (https://api.replicate.com/openapi.json) marks 'web'\\nas required, but actual API responses from default_example objects omit this field.\\nTo ensure compatibility with real API responses, 'web' is marked as optional.\");\nexport const ReplicateCreatePredictionOutput = z.object({\n id: z.string().describe(\"Unique identifier of the prediction\").nullable(),\n logs: z.string().describe(\"Logs generated during the prediction\").nullable(),\n urls: ReplicateCreatePrediction_PredictionUrlsSchema.nullable(),\n error: z.string().describe(\"Error message if the prediction failed\").nullable().optional(),\n input: z.record(z.string(), z.unknown()).describe(\"Input provided for the prediction\"),\n model: z.string().describe(\"Model associated with this prediction\").nullable(),\n output: z.unknown().describe(\"Output of the prediction if completed\").nullable().optional(),\n status: z.string().describe(\"Current status of the prediction (e.g., 'starting', 'processing', 'succeeded', 'failed', 'canceled')\").nullable(),\n metrics: z.record(z.string(), z.unknown()).describe(\"Performance metrics for the prediction, e.g., predict_time\"),\n version: z.string().describe(\"Version of the model used in prediction\").nullable(),\n created_at: z.string().describe(\"Timestamp when the prediction was created (ISO 8601)\").nullable(),\n completed_at: z.string().describe(\"Timestamp when the prediction completed (ISO 8601), if available\").nullable().optional(),\n}).passthrough().describe(\"Response schema for creating a prediction.\");\n\nexport const replicateCreatePrediction = action(\"REPLICATE_CREATE_PREDICTION\", {\n slug: \"replicate-create-prediction\",\n name: \"Create Prediction\",\n description: \"Tool to create a prediction for a Replicate Deployment. IMPORTANT: This action ONLY works with Replicate Deployments (persistent instances you create and manage), NOT public models. Deployments are created via REPLICATE_DEPLOYMENTS_CREATE. To run public models (e.g., 'meta/llama-2-70b-chat', 'stability-ai/sdxl'), use REPLICATE_MODELS_PREDICTIONS_CREATE instead. Use 'wait_for' to wait until the prediction completes.\",\n input: ReplicateCreatePredictionInput,\n output: ReplicateCreatePredictionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gQAAgQ;CAClT,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gNAAgN,CAAC,CAAC,SAAS;CAC/P,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kPAAkP;CACvR,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kQAAkQ;CACxS,uBAAuB,EAAE,MAAM,EAAE,KAAK;EAAC;EAAS;EAAU;EAAQ;CAAW,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,iDAAiD,EAAE,OAAO;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACpF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kSAAkS;AAgB5T,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QApB6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC3E,MAAM,+CAA+C,SAAS;EAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC7E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAC7I,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D;EAChH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACjG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -15,12 +15,12 @@ const ReplicateDeploymentsCreate_CreatedBySchema = zod.z.object({
|
|
|
15
15
|
username: zod.z.string().describe("Username of the creator").nullable(),
|
|
16
16
|
avatar_url: zod.z.string().describe("URL of the creator's avatar").nullable().optional(),
|
|
17
17
|
github_url: zod.z.string().describe("GitHub URL of the creator").nullable().optional()
|
|
18
|
-
}).describe("Information about the user who created the release.");
|
|
18
|
+
}).passthrough().describe("Information about the user who created the release.");
|
|
19
19
|
const ReplicateDeploymentsCreate_ConfigurationSchema = zod.z.object({
|
|
20
20
|
hardware: zod.z.string().describe("Hardware SKU (e.g., gpu-t4)").nullable(),
|
|
21
21
|
max_instances: zod.z.number().int().describe("Maximum scaling instances").nullable(),
|
|
22
22
|
min_instances: zod.z.number().int().describe("Minimum scaling instances").nullable()
|
|
23
|
-
}).describe("Hardware and scaling settings.");
|
|
23
|
+
}).passthrough().describe("Hardware and scaling settings.");
|
|
24
24
|
const ReplicateDeploymentsCreate_CurrentReleaseSchema = zod.z.object({
|
|
25
25
|
model: zod.z.string().describe("Full model name").nullable(),
|
|
26
26
|
number: zod.z.number().int().describe("Release version counter").nullable(),
|
|
@@ -28,12 +28,12 @@ const ReplicateDeploymentsCreate_CurrentReleaseSchema = zod.z.object({
|
|
|
28
28
|
created_at: zod.z.string().describe("ISO 8601 datetime when release was created").nullable(),
|
|
29
29
|
created_by: ReplicateDeploymentsCreate_CreatedBySchema.nullable(),
|
|
30
30
|
configuration: ReplicateDeploymentsCreate_ConfigurationSchema.nullable()
|
|
31
|
-
}).describe("Contains release information including model, version, and hardware configuration.");
|
|
31
|
+
}).passthrough().describe("Contains release information including model, version, and hardware configuration.");
|
|
32
32
|
const ReplicateDeploymentsCreateOutput = zod.z.object({
|
|
33
33
|
name: zod.z.string().describe("Deployment identifier").nullable(),
|
|
34
34
|
owner: zod.z.string().describe("User or organization owning the deployment").nullable(),
|
|
35
35
|
current_release: ReplicateDeploymentsCreate_CurrentReleaseSchema.nullable()
|
|
36
|
-
}).describe("Response schema for creating a deployment.");
|
|
36
|
+
}).passthrough().describe("Response schema for creating a deployment.");
|
|
37
37
|
const replicateDeploymentsCreate = require_action.action("REPLICATE_DEPLOYMENTS_CREATE", {
|
|
38
38
|
slug: "replicate-deployments-create",
|
|
39
39
|
name: "Create Deployment",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployments-create.cjs","names":["z","action"],"sources":["../../src/actions/deployments-create.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplicateDeploymentsCreateInput = z.object({\n name: z.string().describe(\"The deployment's identifier\"),\n model: z.string().describe(\"Full model name in format owner/name\"),\n version: z.string().describe(\"The 64-character model version ID to deploy\"),\n hardware: z.string().describe(\"Hardware SKU from the hardware.list endpoint\"),\n max_instances: z.number().int().describe(\"Maximum instances for auto-scaling\"),\n min_instances: z.number().int().describe(\"Minimum instances for auto-scaling\"),\n}).describe(\"Request schema for creating a new deployment.\");\nconst ReplicateDeploymentsCreate_CreatedBySchema = z.object({\n name: z.string().describe(\"Full name of the creator\").nullable(),\n type: z.string().describe(\"Type of the creator\").nullable(),\n username: z.string().describe(\"Username of the creator\").nullable(),\n avatar_url: z.string().describe(\"URL of the creator's avatar\").nullable().optional(),\n github_url: z.string().describe(\"GitHub URL of the creator\").nullable().optional(),\n}).describe(\"Information about the user who created the release.\");\nconst ReplicateDeploymentsCreate_ConfigurationSchema = z.object({\n hardware: z.string().describe(\"Hardware SKU (e.g., gpu-t4)\").nullable(),\n max_instances: z.number().int().describe(\"Maximum scaling instances\").nullable(),\n min_instances: z.number().int().describe(\"Minimum scaling instances\").nullable(),\n}).describe(\"Hardware and scaling settings.\");\nconst ReplicateDeploymentsCreate_CurrentReleaseSchema = z.object({\n model: z.string().describe(\"Full model name\").nullable(),\n number: z.number().int().describe(\"Release version counter\").nullable(),\n version: z.string().describe(\"64-character model version ID\").nullable(),\n created_at: z.string().describe(\"ISO 8601 datetime when release was created\").nullable(),\n created_by: ReplicateDeploymentsCreate_CreatedBySchema.nullable(),\n configuration: ReplicateDeploymentsCreate_ConfigurationSchema.nullable(),\n}).describe(\"Contains release information including model, version, and hardware configuration.\");\nexport const ReplicateDeploymentsCreateOutput = z.object({\n name: z.string().describe(\"Deployment identifier\").nullable(),\n owner: z.string().describe(\"User or organization owning the deployment\").nullable(),\n current_release: ReplicateDeploymentsCreate_CurrentReleaseSchema.nullable(),\n}).describe(\"Response schema for creating a deployment.\");\n\nexport const replicateDeploymentsCreate = action(\"REPLICATE_DEPLOYMENTS_CREATE\", {\n slug: \"replicate-deployments-create\",\n name: \"Create Deployment\",\n description: \"Tool to create a new deployment with specified model, version, hardware, and scaling parameters. Use when you need to deploy a model for production use with auto-scaling.\",\n input: ReplicateDeploymentsCreateInput,\n output: ReplicateDeploymentsCreateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CAC7E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;AAC/E,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,qDAAqD;
|
|
1
|
+
{"version":3,"file":"deployments-create.cjs","names":["z","action"],"sources":["../../src/actions/deployments-create.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplicateDeploymentsCreateInput = z.object({\n name: z.string().describe(\"The deployment's identifier\"),\n model: z.string().describe(\"Full model name in format owner/name\"),\n version: z.string().describe(\"The 64-character model version ID to deploy\"),\n hardware: z.string().describe(\"Hardware SKU from the hardware.list endpoint\"),\n max_instances: z.number().int().describe(\"Maximum instances for auto-scaling\"),\n min_instances: z.number().int().describe(\"Minimum instances for auto-scaling\"),\n}).describe(\"Request schema for creating a new deployment.\");\nconst ReplicateDeploymentsCreate_CreatedBySchema = z.object({\n name: z.string().describe(\"Full name of the creator\").nullable(),\n type: z.string().describe(\"Type of the creator\").nullable(),\n username: z.string().describe(\"Username of the creator\").nullable(),\n avatar_url: z.string().describe(\"URL of the creator's avatar\").nullable().optional(),\n github_url: z.string().describe(\"GitHub URL of the creator\").nullable().optional(),\n}).passthrough().describe(\"Information about the user who created the release.\");\nconst ReplicateDeploymentsCreate_ConfigurationSchema = z.object({\n hardware: z.string().describe(\"Hardware SKU (e.g., gpu-t4)\").nullable(),\n max_instances: z.number().int().describe(\"Maximum scaling instances\").nullable(),\n min_instances: z.number().int().describe(\"Minimum scaling instances\").nullable(),\n}).passthrough().describe(\"Hardware and scaling settings.\");\nconst ReplicateDeploymentsCreate_CurrentReleaseSchema = z.object({\n model: z.string().describe(\"Full model name\").nullable(),\n number: z.number().int().describe(\"Release version counter\").nullable(),\n version: z.string().describe(\"64-character model version ID\").nullable(),\n created_at: z.string().describe(\"ISO 8601 datetime when release was created\").nullable(),\n created_by: ReplicateDeploymentsCreate_CreatedBySchema.nullable(),\n configuration: ReplicateDeploymentsCreate_ConfigurationSchema.nullable(),\n}).passthrough().describe(\"Contains release information including model, version, and hardware configuration.\");\nexport const ReplicateDeploymentsCreateOutput = z.object({\n name: z.string().describe(\"Deployment identifier\").nullable(),\n owner: z.string().describe(\"User or organization owning the deployment\").nullable(),\n current_release: ReplicateDeploymentsCreate_CurrentReleaseSchema.nullable(),\n}).passthrough().describe(\"Response schema for creating a deployment.\");\n\nexport const replicateDeploymentsCreate = action(\"REPLICATE_DEPLOYMENTS_CREATE\", {\n slug: \"replicate-deployments-create\",\n name: \"Create Deployment\",\n description: \"Tool to create a new deployment with specified model, version, hardware, and scaling parameters. Use when you need to deploy a model for production use with auto-scaling.\",\n input: ReplicateDeploymentsCreateInput,\n output: ReplicateDeploymentsCreateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CAC7E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;AAC/E,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,YAAY,2CAA2C,SAAS;CAChE,eAAe,+CAA+C,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oFAAoF;AAC9G,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClF,iBAAiB,gDAAgD,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -23,14 +23,14 @@ declare const ReplicateDeploymentsCreateOutput: z.ZodObject<{
|
|
|
23
23
|
username: z.ZodNullable<z.ZodString>;
|
|
24
24
|
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
27
|
configuration: z.ZodNullable<z.ZodObject<{
|
|
28
28
|
hardware: z.ZodNullable<z.ZodString>;
|
|
29
29
|
max_instances: z.ZodNullable<z.ZodNumber>;
|
|
30
30
|
min_instances: z.ZodNullable<z.ZodNumber>;
|
|
31
|
-
}, z.core.$
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>;
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const replicateDeploymentsCreate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
name: string;
|
|
36
36
|
model: string;
|
|
@@ -23,14 +23,14 @@ declare const ReplicateDeploymentsCreateOutput: z.ZodObject<{
|
|
|
23
23
|
username: z.ZodNullable<z.ZodString>;
|
|
24
24
|
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
27
|
configuration: z.ZodNullable<z.ZodObject<{
|
|
28
28
|
hardware: z.ZodNullable<z.ZodString>;
|
|
29
29
|
max_instances: z.ZodNullable<z.ZodNumber>;
|
|
30
30
|
min_instances: z.ZodNullable<z.ZodNumber>;
|
|
31
|
-
}, z.core.$
|
|
32
|
-
}, z.core.$
|
|
33
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>>;
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const replicateDeploymentsCreate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
name: string;
|
|
36
36
|
model: string;
|
|
@@ -15,12 +15,12 @@ const ReplicateDeploymentsCreate_CreatedBySchema = z.object({
|
|
|
15
15
|
username: z.string().describe("Username of the creator").nullable(),
|
|
16
16
|
avatar_url: z.string().describe("URL of the creator's avatar").nullable().optional(),
|
|
17
17
|
github_url: z.string().describe("GitHub URL of the creator").nullable().optional()
|
|
18
|
-
}).describe("Information about the user who created the release.");
|
|
18
|
+
}).passthrough().describe("Information about the user who created the release.");
|
|
19
19
|
const ReplicateDeploymentsCreate_ConfigurationSchema = z.object({
|
|
20
20
|
hardware: z.string().describe("Hardware SKU (e.g., gpu-t4)").nullable(),
|
|
21
21
|
max_instances: z.number().int().describe("Maximum scaling instances").nullable(),
|
|
22
22
|
min_instances: z.number().int().describe("Minimum scaling instances").nullable()
|
|
23
|
-
}).describe("Hardware and scaling settings.");
|
|
23
|
+
}).passthrough().describe("Hardware and scaling settings.");
|
|
24
24
|
const ReplicateDeploymentsCreate_CurrentReleaseSchema = z.object({
|
|
25
25
|
model: z.string().describe("Full model name").nullable(),
|
|
26
26
|
number: z.number().int().describe("Release version counter").nullable(),
|
|
@@ -28,7 +28,7 @@ const ReplicateDeploymentsCreate_CurrentReleaseSchema = z.object({
|
|
|
28
28
|
created_at: z.string().describe("ISO 8601 datetime when release was created").nullable(),
|
|
29
29
|
created_by: ReplicateDeploymentsCreate_CreatedBySchema.nullable(),
|
|
30
30
|
configuration: ReplicateDeploymentsCreate_ConfigurationSchema.nullable()
|
|
31
|
-
}).describe("Contains release information including model, version, and hardware configuration.");
|
|
31
|
+
}).passthrough().describe("Contains release information including model, version, and hardware configuration.");
|
|
32
32
|
const replicateDeploymentsCreate = action("REPLICATE_DEPLOYMENTS_CREATE", {
|
|
33
33
|
slug: "replicate-deployments-create",
|
|
34
34
|
name: "Create Deployment",
|
|
@@ -38,7 +38,7 @@ const replicateDeploymentsCreate = action("REPLICATE_DEPLOYMENTS_CREATE", {
|
|
|
38
38
|
name: z.string().describe("Deployment identifier").nullable(),
|
|
39
39
|
owner: z.string().describe("User or organization owning the deployment").nullable(),
|
|
40
40
|
current_release: ReplicateDeploymentsCreate_CurrentReleaseSchema.nullable()
|
|
41
|
-
}).describe("Response schema for creating a deployment.")
|
|
41
|
+
}).passthrough().describe("Response schema for creating a deployment.")
|
|
42
42
|
});
|
|
43
43
|
//#endregion
|
|
44
44
|
export { replicateDeploymentsCreate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployments-create.mjs","names":[],"sources":["../../src/actions/deployments-create.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplicateDeploymentsCreateInput = z.object({\n name: z.string().describe(\"The deployment's identifier\"),\n model: z.string().describe(\"Full model name in format owner/name\"),\n version: z.string().describe(\"The 64-character model version ID to deploy\"),\n hardware: z.string().describe(\"Hardware SKU from the hardware.list endpoint\"),\n max_instances: z.number().int().describe(\"Maximum instances for auto-scaling\"),\n min_instances: z.number().int().describe(\"Minimum instances for auto-scaling\"),\n}).describe(\"Request schema for creating a new deployment.\");\nconst ReplicateDeploymentsCreate_CreatedBySchema = z.object({\n name: z.string().describe(\"Full name of the creator\").nullable(),\n type: z.string().describe(\"Type of the creator\").nullable(),\n username: z.string().describe(\"Username of the creator\").nullable(),\n avatar_url: z.string().describe(\"URL of the creator's avatar\").nullable().optional(),\n github_url: z.string().describe(\"GitHub URL of the creator\").nullable().optional(),\n}).describe(\"Information about the user who created the release.\");\nconst ReplicateDeploymentsCreate_ConfigurationSchema = z.object({\n hardware: z.string().describe(\"Hardware SKU (e.g., gpu-t4)\").nullable(),\n max_instances: z.number().int().describe(\"Maximum scaling instances\").nullable(),\n min_instances: z.number().int().describe(\"Minimum scaling instances\").nullable(),\n}).describe(\"Hardware and scaling settings.\");\nconst ReplicateDeploymentsCreate_CurrentReleaseSchema = z.object({\n model: z.string().describe(\"Full model name\").nullable(),\n number: z.number().int().describe(\"Release version counter\").nullable(),\n version: z.string().describe(\"64-character model version ID\").nullable(),\n created_at: z.string().describe(\"ISO 8601 datetime when release was created\").nullable(),\n created_by: ReplicateDeploymentsCreate_CreatedBySchema.nullable(),\n configuration: ReplicateDeploymentsCreate_ConfigurationSchema.nullable(),\n}).describe(\"Contains release information including model, version, and hardware configuration.\");\nexport const ReplicateDeploymentsCreateOutput = z.object({\n name: z.string().describe(\"Deployment identifier\").nullable(),\n owner: z.string().describe(\"User or organization owning the deployment\").nullable(),\n current_release: ReplicateDeploymentsCreate_CurrentReleaseSchema.nullable(),\n}).describe(\"Response schema for creating a deployment.\");\n\nexport const replicateDeploymentsCreate = action(\"REPLICATE_DEPLOYMENTS_CREATE\", {\n slug: \"replicate-deployments-create\",\n name: \"Create Deployment\",\n description: \"Tool to create a new deployment with specified model, version, hardware, and scaling parameters. Use when you need to deploy a model for production use with auto-scaling.\",\n input: ReplicateDeploymentsCreateInput,\n output: ReplicateDeploymentsCreateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CAC7E,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;AAC/E,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,qDAAqD;
|
|
1
|
+
{"version":3,"file":"deployments-create.mjs","names":[],"sources":["../../src/actions/deployments-create.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplicateDeploymentsCreateInput = z.object({\n name: z.string().describe(\"The deployment's identifier\"),\n model: z.string().describe(\"Full model name in format owner/name\"),\n version: z.string().describe(\"The 64-character model version ID to deploy\"),\n hardware: z.string().describe(\"Hardware SKU from the hardware.list endpoint\"),\n max_instances: z.number().int().describe(\"Maximum instances for auto-scaling\"),\n min_instances: z.number().int().describe(\"Minimum instances for auto-scaling\"),\n}).describe(\"Request schema for creating a new deployment.\");\nconst ReplicateDeploymentsCreate_CreatedBySchema = z.object({\n name: z.string().describe(\"Full name of the creator\").nullable(),\n type: z.string().describe(\"Type of the creator\").nullable(),\n username: z.string().describe(\"Username of the creator\").nullable(),\n avatar_url: z.string().describe(\"URL of the creator's avatar\").nullable().optional(),\n github_url: z.string().describe(\"GitHub URL of the creator\").nullable().optional(),\n}).passthrough().describe(\"Information about the user who created the release.\");\nconst ReplicateDeploymentsCreate_ConfigurationSchema = z.object({\n hardware: z.string().describe(\"Hardware SKU (e.g., gpu-t4)\").nullable(),\n max_instances: z.number().int().describe(\"Maximum scaling instances\").nullable(),\n min_instances: z.number().int().describe(\"Minimum scaling instances\").nullable(),\n}).passthrough().describe(\"Hardware and scaling settings.\");\nconst ReplicateDeploymentsCreate_CurrentReleaseSchema = z.object({\n model: z.string().describe(\"Full model name\").nullable(),\n number: z.number().int().describe(\"Release version counter\").nullable(),\n version: z.string().describe(\"64-character model version ID\").nullable(),\n created_at: z.string().describe(\"ISO 8601 datetime when release was created\").nullable(),\n created_by: ReplicateDeploymentsCreate_CreatedBySchema.nullable(),\n configuration: ReplicateDeploymentsCreate_ConfigurationSchema.nullable(),\n}).passthrough().describe(\"Contains release information including model, version, and hardware configuration.\");\nexport const ReplicateDeploymentsCreateOutput = z.object({\n name: z.string().describe(\"Deployment identifier\").nullable(),\n owner: z.string().describe(\"User or organization owning the deployment\").nullable(),\n current_release: ReplicateDeploymentsCreate_CurrentReleaseSchema.nullable(),\n}).passthrough().describe(\"Response schema for creating a deployment.\");\n\nexport const replicateDeploymentsCreate = action(\"REPLICATE_DEPLOYMENTS_CREATE\", {\n slug: \"replicate-deployments-create\",\n name: \"Create Deployment\",\n description: \"Tool to create a new deployment with specified model, version, hardware, and scaling parameters. Use when you need to deploy a model for production use with auto-scaling.\",\n input: ReplicateDeploymentsCreateInput,\n output: ReplicateDeploymentsCreateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CAC7E,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;AAC/E,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,iDAAiD,EAAE,OAAO;CAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/E,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,kDAAkD,EAAE,OAAO;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,YAAY,2CAA2C,SAAS;CAChE,eAAe,+CAA+C,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oFAAoF;AAO9G,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAClF,iBAAiB,gDAAgD,SAAS;CAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const ReplicateDeploymentsDeleteInput = zod.z.object({
|
|
|
8
8
|
const ReplicateDeploymentsDeleteOutput = zod.z.object({
|
|
9
9
|
message: zod.z.string().default("Deployment deleted successfully").describe("Success message confirming the deletion").nullable().optional(),
|
|
10
10
|
success: zod.z.boolean().default(true).describe("Indicates whether the deployment was successfully deleted").nullable().optional()
|
|
11
|
-
}).describe("Response schema for deleting a deployment.");
|
|
11
|
+
}).passthrough().describe("Response schema for deleting a deployment.");
|
|
12
12
|
const replicateDeploymentsDelete = require_action.action("REPLICATE_DEPLOYMENTS_DELETE", {
|
|
13
13
|
slug: "replicate-deployments-delete",
|
|
14
14
|
name: "Delete Deployment",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployments-delete.cjs","names":["z","action"],"sources":["../../src/actions/deployments-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplicateDeploymentsDeleteInput = z.object({\n deployment_name: z.string().describe(\"The name of the deployment to delete. Deployment must be offline and unused for at least 15 minutes before deletion.\"),\n deployment_owner: z.string().describe(\"The username or organization that owns the deployment\"),\n}).describe(\"Request schema for deleting a deployment.\");\nexport const ReplicateDeploymentsDeleteOutput = z.object({\n message: z.string().default(\"Deployment deleted successfully\").describe(\"Success message confirming the deletion\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the deployment was successfully deleted\").nullable().optional(),\n}).describe(\"Response schema for deleting a deployment.\");\n\nexport const replicateDeploymentsDelete = action(\"REPLICATE_DEPLOYMENTS_DELETE\", {\n slug: \"replicate-deployments-delete\",\n name: \"Delete Deployment\",\n description: \"Tool to delete a deployment from your account. Use when you need to remove a deployment. Deployments must be offline and unused for at least 15 minutes before deletion.\",\n input: ReplicateDeploymentsDeleteInput,\n output: ReplicateDeploymentsDeleteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;CAC3J,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AAC/F,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,iCAAiC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,4CAA4C;
|
|
1
|
+
{"version":3,"file":"deployments-delete.cjs","names":["z","action"],"sources":["../../src/actions/deployments-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplicateDeploymentsDeleteInput = z.object({\n deployment_name: z.string().describe(\"The name of the deployment to delete. Deployment must be offline and unused for at least 15 minutes before deletion.\"),\n deployment_owner: z.string().describe(\"The username or organization that owns the deployment\"),\n}).describe(\"Request schema for deleting a deployment.\");\nexport const ReplicateDeploymentsDeleteOutput = z.object({\n message: z.string().default(\"Deployment deleted successfully\").describe(\"Success message confirming the deletion\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the deployment was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response schema for deleting a deployment.\");\n\nexport const replicateDeploymentsDelete = action(\"REPLICATE_DEPLOYMENTS_DELETE\", {\n slug: \"replicate-deployments-delete\",\n name: \"Delete Deployment\",\n description: \"Tool to delete a deployment from your account. Use when you need to remove a deployment. Deployments must be offline and unused for at least 15 minutes before deletion.\",\n input: ReplicateDeploymentsDeleteInput,\n output: ReplicateDeploymentsDeleteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;CAC3J,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AAC/F,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,iCAAiC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ declare const ReplicateDeploymentsDeleteInput: z.ZodObject<{
|
|
|
8
8
|
declare const ReplicateDeploymentsDeleteOutput: z.ZodObject<{
|
|
9
9
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
10
10
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const replicateDeploymentsDelete: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
deployment_name: string;
|
|
14
14
|
deployment_owner: string;
|
|
@@ -8,7 +8,7 @@ declare const ReplicateDeploymentsDeleteInput: z.ZodObject<{
|
|
|
8
8
|
declare const ReplicateDeploymentsDeleteOutput: z.ZodObject<{
|
|
9
9
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
10
10
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const replicateDeploymentsDelete: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
deployment_name: string;
|
|
14
14
|
deployment_owner: string;
|
|
@@ -11,7 +11,7 @@ const replicateDeploymentsDelete = action("REPLICATE_DEPLOYMENTS_DELETE", {
|
|
|
11
11
|
output: z.object({
|
|
12
12
|
message: z.string().default("Deployment deleted successfully").describe("Success message confirming the deletion").nullable().optional(),
|
|
13
13
|
success: z.boolean().default(true).describe("Indicates whether the deployment was successfully deleted").nullable().optional()
|
|
14
|
-
}).describe("Response schema for deleting a deployment.")
|
|
14
|
+
}).passthrough().describe("Response schema for deleting a deployment.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { replicateDeploymentsDelete };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployments-delete.mjs","names":[],"sources":["../../src/actions/deployments-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplicateDeploymentsDeleteInput = z.object({\n deployment_name: z.string().describe(\"The name of the deployment to delete. Deployment must be offline and unused for at least 15 minutes before deletion.\"),\n deployment_owner: z.string().describe(\"The username or organization that owns the deployment\"),\n}).describe(\"Request schema for deleting a deployment.\");\nexport const ReplicateDeploymentsDeleteOutput = z.object({\n message: z.string().default(\"Deployment deleted successfully\").describe(\"Success message confirming the deletion\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the deployment was successfully deleted\").nullable().optional(),\n}).describe(\"Response schema for deleting a deployment.\");\n\nexport const replicateDeploymentsDelete = action(\"REPLICATE_DEPLOYMENTS_DELETE\", {\n slug: \"replicate-deployments-delete\",\n name: \"Delete Deployment\",\n description: \"Tool to delete a deployment from your account. Use when you need to remove a deployment. Deployments must be offline and unused for at least 15 minutes before deletion.\",\n input: ReplicateDeploymentsDeleteInput,\n output: ReplicateDeploymentsDeleteOutput,\n});\n"],"mappings":";;AAaA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6C,EAAE,OAAO;EACtD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;EAC3J,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAC/F,CAAC,CAAC,CAAC,SAAS,2CAUH;CACP,QAV8C,EAAE,OAAO;EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,iCAAiC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"deployments-delete.mjs","names":[],"sources":["../../src/actions/deployments-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplicateDeploymentsDeleteInput = z.object({\n deployment_name: z.string().describe(\"The name of the deployment to delete. Deployment must be offline and unused for at least 15 minutes before deletion.\"),\n deployment_owner: z.string().describe(\"The username or organization that owns the deployment\"),\n}).describe(\"Request schema for deleting a deployment.\");\nexport const ReplicateDeploymentsDeleteOutput = z.object({\n message: z.string().default(\"Deployment deleted successfully\").describe(\"Success message confirming the deletion\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the deployment was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response schema for deleting a deployment.\");\n\nexport const replicateDeploymentsDelete = action(\"REPLICATE_DEPLOYMENTS_DELETE\", {\n slug: \"replicate-deployments-delete\",\n name: \"Delete Deployment\",\n description: \"Tool to delete a deployment from your account. Use when you need to remove a deployment. Deployments must be offline and unused for at least 15 minutes before deletion.\",\n input: ReplicateDeploymentsDeleteInput,\n output: ReplicateDeploymentsDeleteOutput,\n});\n"],"mappings":";;AAaA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6C,EAAE,OAAO;EACtD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH;EAC3J,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAC/F,CAAC,CAAC,CAAC,SAAS,2CAUH;CACP,QAV8C,EAAE,OAAO;EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,iCAAiC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -11,12 +11,12 @@ const ReplicateDeploymentsGet_CreatedBySchema = zod.z.object({
|
|
|
11
11
|
username: zod.z.string().describe("Account username").nullable().optional(),
|
|
12
12
|
avatar_url: zod.z.string().describe("Profile image URL").nullable().optional(),
|
|
13
13
|
github_url: zod.z.string().describe("GitHub profile link").nullable().optional()
|
|
14
|
-
}).describe("User or organization that created the release.");
|
|
14
|
+
}).passthrough().describe("User or organization that created the release.");
|
|
15
15
|
const ReplicateDeploymentsGet_ConfigurationSchema = zod.z.object({
|
|
16
16
|
hardware: zod.z.string().describe("GPU/CPU SKU identifier").nullable().optional(),
|
|
17
17
|
max_instances: zod.z.number().int().describe("Maximum running instances").nullable().optional(),
|
|
18
18
|
min_instances: zod.z.number().int().describe("Minimum running instances").nullable().optional()
|
|
19
|
-
}).describe("Hardware and scaling settings for the deployment.");
|
|
19
|
+
}).passthrough().describe("Hardware and scaling settings for the deployment.");
|
|
20
20
|
const ReplicateDeploymentsGet_CurrentReleaseSchema = zod.z.object({
|
|
21
21
|
model: zod.z.string().describe("Full model identifier (e.g., 'stability-ai/sdxl')").nullable().optional(),
|
|
22
22
|
number: zod.z.number().int().describe("Release version number (increments with updates)").nullable().optional(),
|
|
@@ -24,12 +24,12 @@ const ReplicateDeploymentsGet_CurrentReleaseSchema = zod.z.object({
|
|
|
24
24
|
created_at: zod.z.string().describe("ISO 8601 timestamp of release creation").nullable().optional(),
|
|
25
25
|
created_by: ReplicateDeploymentsGet_CreatedBySchema.nullable().optional(),
|
|
26
26
|
configuration: ReplicateDeploymentsGet_ConfigurationSchema.nullable().optional()
|
|
27
|
-
}).describe("Configuration and metadata for the active deployment version.");
|
|
27
|
+
}).passthrough().describe("Configuration and metadata for the active deployment version.");
|
|
28
28
|
const ReplicateDeploymentsGetOutput = zod.z.object({
|
|
29
29
|
name: zod.z.string().describe("The name of the deployment").nullable().optional(),
|
|
30
30
|
owner: zod.z.string().describe("The name of the user or organization that owns the deployment").nullable().optional(),
|
|
31
31
|
current_release: ReplicateDeploymentsGet_CurrentReleaseSchema.nullable().optional()
|
|
32
|
-
}).describe("Response schema for deployments.get: Detailed information about the deployment.");
|
|
32
|
+
}).passthrough().describe("Response schema for deployments.get: Detailed information about the deployment.");
|
|
33
33
|
const replicateDeploymentsGet = require_action.action("REPLICATE_DEPLOYMENTS_GET", {
|
|
34
34
|
slug: "replicate-deployments-get",
|
|
35
35
|
name: "Get Deployment Details",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployments-get.cjs","names":["z","action"],"sources":["../../src/actions/deployments-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplicateDeploymentsGetInput = z.object({\n deployment_name: z.string().describe(\"The name of the deployment\"),\n deployment_owner: z.string().describe(\"The name of the user or organization that owns the deployment\"),\n}).describe(\"Request schema for retrieving details of a specific deployment by owner and name.\");\nconst ReplicateDeploymentsGet_CreatedBySchema = z.object({\n name: z.string().describe(\"Display name\").nullable().optional(),\n type: z.string().describe(\"Account type (e.g., 'organization' or user)\").nullable().optional(),\n username: z.string().describe(\"Account username\").nullable().optional(),\n avatar_url: z.string().describe(\"Profile image URL\").nullable().optional(),\n github_url: z.string().describe(\"GitHub profile link\").nullable().optional(),\n}).describe(\"User or organization that created the release.\");\nconst ReplicateDeploymentsGet_ConfigurationSchema = z.object({\n hardware: z.string().describe(\"GPU/CPU SKU identifier\").nullable().optional(),\n max_instances: z.number().int().describe(\"Maximum running instances\").nullable().optional(),\n min_instances: z.number().int().describe(\"Minimum running instances\").nullable().optional(),\n}).describe(\"Hardware and scaling settings for the deployment.\");\nconst ReplicateDeploymentsGet_CurrentReleaseSchema = z.object({\n model: z.string().describe(\"Full model identifier (e.g., 'stability-ai/sdxl')\").nullable().optional(),\n number: z.number().int().describe(\"Release version number (increments with updates)\").nullable().optional(),\n version: z.string().describe(\"The 64-character model version ID being deployed\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of release creation\").nullable().optional(),\n created_by: ReplicateDeploymentsGet_CreatedBySchema.nullable().optional(),\n configuration: ReplicateDeploymentsGet_ConfigurationSchema.nullable().optional(),\n}).describe(\"Configuration and metadata for the active deployment version.\");\nexport const ReplicateDeploymentsGetOutput = z.object({\n name: z.string().describe(\"The name of the deployment\").nullable().optional(),\n owner: z.string().describe(\"The name of the user or organization that owns the deployment\").nullable().optional(),\n current_release: ReplicateDeploymentsGet_CurrentReleaseSchema.nullable().optional(),\n}).describe(\"Response schema for deployments.get: Detailed information about the deployment.\");\n\nexport const replicateDeploymentsGet = action(\"REPLICATE_DEPLOYMENTS_GET\", {\n slug: \"replicate-deployments-get\",\n name: \"Get Deployment Details\",\n description: \"Tool to get deployment details by owner and name. Use when you need information about a specific deployment including its release configuration and hardware settings.\",\n input: ReplicateDeploymentsGetInput,\n output: ReplicateDeploymentsGetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACjE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;AACvG,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"deployments-get.cjs","names":["z","action"],"sources":["../../src/actions/deployments-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplicateDeploymentsGetInput = z.object({\n deployment_name: z.string().describe(\"The name of the deployment\"),\n deployment_owner: z.string().describe(\"The name of the user or organization that owns the deployment\"),\n}).describe(\"Request schema for retrieving details of a specific deployment by owner and name.\");\nconst ReplicateDeploymentsGet_CreatedBySchema = z.object({\n name: z.string().describe(\"Display name\").nullable().optional(),\n type: z.string().describe(\"Account type (e.g., 'organization' or user)\").nullable().optional(),\n username: z.string().describe(\"Account username\").nullable().optional(),\n avatar_url: z.string().describe(\"Profile image URL\").nullable().optional(),\n github_url: z.string().describe(\"GitHub profile link\").nullable().optional(),\n}).passthrough().describe(\"User or organization that created the release.\");\nconst ReplicateDeploymentsGet_ConfigurationSchema = z.object({\n hardware: z.string().describe(\"GPU/CPU SKU identifier\").nullable().optional(),\n max_instances: z.number().int().describe(\"Maximum running instances\").nullable().optional(),\n min_instances: z.number().int().describe(\"Minimum running instances\").nullable().optional(),\n}).passthrough().describe(\"Hardware and scaling settings for the deployment.\");\nconst ReplicateDeploymentsGet_CurrentReleaseSchema = z.object({\n model: z.string().describe(\"Full model identifier (e.g., 'stability-ai/sdxl')\").nullable().optional(),\n number: z.number().int().describe(\"Release version number (increments with updates)\").nullable().optional(),\n version: z.string().describe(\"The 64-character model version ID being deployed\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of release creation\").nullable().optional(),\n created_by: ReplicateDeploymentsGet_CreatedBySchema.nullable().optional(),\n configuration: ReplicateDeploymentsGet_ConfigurationSchema.nullable().optional(),\n}).passthrough().describe(\"Configuration and metadata for the active deployment version.\");\nexport const ReplicateDeploymentsGetOutput = z.object({\n name: z.string().describe(\"The name of the deployment\").nullable().optional(),\n owner: z.string().describe(\"The name of the user or organization that owns the deployment\").nullable().optional(),\n current_release: ReplicateDeploymentsGet_CurrentReleaseSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for deployments.get: Detailed information about the deployment.\");\n\nexport const replicateDeploymentsGet = action(\"REPLICATE_DEPLOYMENTS_GET\", {\n slug: \"replicate-deployments-get\",\n name: \"Get Deployment Details\",\n description: \"Tool to get deployment details by owner and name. Use when you need information about a specific deployment including its release configuration and hardware settings.\",\n input: ReplicateDeploymentsGetInput,\n output: ReplicateDeploymentsGetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACjE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;AACvG,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAY,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACxE,eAAe,4CAA4C,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,iBAAiB,6CAA6C,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iFAAiF;AAE3G,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -19,14 +19,14 @@ declare const ReplicateDeploymentsGetOutput: z.ZodObject<{
|
|
|
19
19
|
username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>;
|
|
23
23
|
configuration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
24
24
|
hardware: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
max_instances: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
26
|
min_instances: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
|
-
}, z.core.$
|
|
28
|
-
}, z.core.$
|
|
29
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>>;
|
|
28
|
+
}, z.core.$loose>>>;
|
|
29
|
+
}, z.core.$loose>;
|
|
30
30
|
declare const replicateDeploymentsGet: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
31
|
deployment_name: string;
|
|
32
32
|
deployment_owner: string;
|
|
@@ -19,14 +19,14 @@ declare const ReplicateDeploymentsGetOutput: z.ZodObject<{
|
|
|
19
19
|
username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
github_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>;
|
|
23
23
|
configuration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
24
24
|
hardware: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
max_instances: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
26
|
min_instances: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
|
-
}, z.core.$
|
|
28
|
-
}, z.core.$
|
|
29
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>>;
|
|
28
|
+
}, z.core.$loose>>>;
|
|
29
|
+
}, z.core.$loose>;
|
|
30
30
|
declare const replicateDeploymentsGet: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
31
31
|
deployment_name: string;
|
|
32
32
|
deployment_owner: string;
|
|
@@ -11,12 +11,12 @@ const ReplicateDeploymentsGet_CreatedBySchema = z.object({
|
|
|
11
11
|
username: z.string().describe("Account username").nullable().optional(),
|
|
12
12
|
avatar_url: z.string().describe("Profile image URL").nullable().optional(),
|
|
13
13
|
github_url: z.string().describe("GitHub profile link").nullable().optional()
|
|
14
|
-
}).describe("User or organization that created the release.");
|
|
14
|
+
}).passthrough().describe("User or organization that created the release.");
|
|
15
15
|
const ReplicateDeploymentsGet_ConfigurationSchema = z.object({
|
|
16
16
|
hardware: z.string().describe("GPU/CPU SKU identifier").nullable().optional(),
|
|
17
17
|
max_instances: z.number().int().describe("Maximum running instances").nullable().optional(),
|
|
18
18
|
min_instances: z.number().int().describe("Minimum running instances").nullable().optional()
|
|
19
|
-
}).describe("Hardware and scaling settings for the deployment.");
|
|
19
|
+
}).passthrough().describe("Hardware and scaling settings for the deployment.");
|
|
20
20
|
const ReplicateDeploymentsGet_CurrentReleaseSchema = z.object({
|
|
21
21
|
model: z.string().describe("Full model identifier (e.g., 'stability-ai/sdxl')").nullable().optional(),
|
|
22
22
|
number: z.number().int().describe("Release version number (increments with updates)").nullable().optional(),
|
|
@@ -24,7 +24,7 @@ const ReplicateDeploymentsGet_CurrentReleaseSchema = z.object({
|
|
|
24
24
|
created_at: z.string().describe("ISO 8601 timestamp of release creation").nullable().optional(),
|
|
25
25
|
created_by: ReplicateDeploymentsGet_CreatedBySchema.nullable().optional(),
|
|
26
26
|
configuration: ReplicateDeploymentsGet_ConfigurationSchema.nullable().optional()
|
|
27
|
-
}).describe("Configuration and metadata for the active deployment version.");
|
|
27
|
+
}).passthrough().describe("Configuration and metadata for the active deployment version.");
|
|
28
28
|
const replicateDeploymentsGet = action("REPLICATE_DEPLOYMENTS_GET", {
|
|
29
29
|
slug: "replicate-deployments-get",
|
|
30
30
|
name: "Get Deployment Details",
|
|
@@ -34,7 +34,7 @@ const replicateDeploymentsGet = action("REPLICATE_DEPLOYMENTS_GET", {
|
|
|
34
34
|
name: z.string().describe("The name of the deployment").nullable().optional(),
|
|
35
35
|
owner: z.string().describe("The name of the user or organization that owns the deployment").nullable().optional(),
|
|
36
36
|
current_release: ReplicateDeploymentsGet_CurrentReleaseSchema.nullable().optional()
|
|
37
|
-
}).describe("Response schema for deployments.get: Detailed information about the deployment.")
|
|
37
|
+
}).passthrough().describe("Response schema for deployments.get: Detailed information about the deployment.")
|
|
38
38
|
});
|
|
39
39
|
//#endregion
|
|
40
40
|
export { replicateDeploymentsGet };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployments-get.mjs","names":[],"sources":["../../src/actions/deployments-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplicateDeploymentsGetInput = z.object({\n deployment_name: z.string().describe(\"The name of the deployment\"),\n deployment_owner: z.string().describe(\"The name of the user or organization that owns the deployment\"),\n}).describe(\"Request schema for retrieving details of a specific deployment by owner and name.\");\nconst ReplicateDeploymentsGet_CreatedBySchema = z.object({\n name: z.string().describe(\"Display name\").nullable().optional(),\n type: z.string().describe(\"Account type (e.g., 'organization' or user)\").nullable().optional(),\n username: z.string().describe(\"Account username\").nullable().optional(),\n avatar_url: z.string().describe(\"Profile image URL\").nullable().optional(),\n github_url: z.string().describe(\"GitHub profile link\").nullable().optional(),\n}).describe(\"User or organization that created the release.\");\nconst ReplicateDeploymentsGet_ConfigurationSchema = z.object({\n hardware: z.string().describe(\"GPU/CPU SKU identifier\").nullable().optional(),\n max_instances: z.number().int().describe(\"Maximum running instances\").nullable().optional(),\n min_instances: z.number().int().describe(\"Minimum running instances\").nullable().optional(),\n}).describe(\"Hardware and scaling settings for the deployment.\");\nconst ReplicateDeploymentsGet_CurrentReleaseSchema = z.object({\n model: z.string().describe(\"Full model identifier (e.g., 'stability-ai/sdxl')\").nullable().optional(),\n number: z.number().int().describe(\"Release version number (increments with updates)\").nullable().optional(),\n version: z.string().describe(\"The 64-character model version ID being deployed\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of release creation\").nullable().optional(),\n created_by: ReplicateDeploymentsGet_CreatedBySchema.nullable().optional(),\n configuration: ReplicateDeploymentsGet_ConfigurationSchema.nullable().optional(),\n}).describe(\"Configuration and metadata for the active deployment version.\");\nexport const ReplicateDeploymentsGetOutput = z.object({\n name: z.string().describe(\"The name of the deployment\").nullable().optional(),\n owner: z.string().describe(\"The name of the user or organization that owns the deployment\").nullable().optional(),\n current_release: ReplicateDeploymentsGet_CurrentReleaseSchema.nullable().optional(),\n}).describe(\"Response schema for deployments.get: Detailed information about the deployment.\");\n\nexport const replicateDeploymentsGet = action(\"REPLICATE_DEPLOYMENTS_GET\", {\n slug: \"replicate-deployments-get\",\n name: \"Get Deployment Details\",\n description: \"Tool to get deployment details by owner and name. Use when you need information about a specific deployment including its release configuration and hardware settings.\",\n input: ReplicateDeploymentsGetInput,\n output: ReplicateDeploymentsGetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACjE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;AACvG,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,0CAA0C,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"deployments-get.mjs","names":[],"sources":["../../src/actions/deployments-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplicateDeploymentsGetInput = z.object({\n deployment_name: z.string().describe(\"The name of the deployment\"),\n deployment_owner: z.string().describe(\"The name of the user or organization that owns the deployment\"),\n}).describe(\"Request schema for retrieving details of a specific deployment by owner and name.\");\nconst ReplicateDeploymentsGet_CreatedBySchema = z.object({\n name: z.string().describe(\"Display name\").nullable().optional(),\n type: z.string().describe(\"Account type (e.g., 'organization' or user)\").nullable().optional(),\n username: z.string().describe(\"Account username\").nullable().optional(),\n avatar_url: z.string().describe(\"Profile image URL\").nullable().optional(),\n github_url: z.string().describe(\"GitHub profile link\").nullable().optional(),\n}).passthrough().describe(\"User or organization that created the release.\");\nconst ReplicateDeploymentsGet_ConfigurationSchema = z.object({\n hardware: z.string().describe(\"GPU/CPU SKU identifier\").nullable().optional(),\n max_instances: z.number().int().describe(\"Maximum running instances\").nullable().optional(),\n min_instances: z.number().int().describe(\"Minimum running instances\").nullable().optional(),\n}).passthrough().describe(\"Hardware and scaling settings for the deployment.\");\nconst ReplicateDeploymentsGet_CurrentReleaseSchema = z.object({\n model: z.string().describe(\"Full model identifier (e.g., 'stability-ai/sdxl')\").nullable().optional(),\n number: z.number().int().describe(\"Release version number (increments with updates)\").nullable().optional(),\n version: z.string().describe(\"The 64-character model version ID being deployed\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of release creation\").nullable().optional(),\n created_by: ReplicateDeploymentsGet_CreatedBySchema.nullable().optional(),\n configuration: ReplicateDeploymentsGet_ConfigurationSchema.nullable().optional(),\n}).passthrough().describe(\"Configuration and metadata for the active deployment version.\");\nexport const ReplicateDeploymentsGetOutput = z.object({\n name: z.string().describe(\"The name of the deployment\").nullable().optional(),\n owner: z.string().describe(\"The name of the user or organization that owns the deployment\").nullable().optional(),\n current_release: ReplicateDeploymentsGet_CurrentReleaseSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for deployments.get: Detailed information about the deployment.\");\n\nexport const replicateDeploymentsGet = action(\"REPLICATE_DEPLOYMENTS_GET\", {\n slug: \"replicate-deployments-get\",\n name: \"Get Deployment Details\",\n description: \"Tool to get deployment details by owner and name. Use when you need information about a specific deployment including its release configuration and hardware settings.\",\n input: ReplicateDeploymentsGetInput,\n output: ReplicateDeploymentsGetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACjE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;AACvG,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,0CAA0C,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,8CAA8C,EAAE,OAAO;CAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,+CAA+C,EAAE,OAAO;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAY,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACxE,eAAe,4CAA4C,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAOzF,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,iBAAiB,6CAA6C,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iFAOhB;AACV,CAAC"}
|
|
@@ -8,12 +8,12 @@ const ReplicateDeploymentsList_CreatedBySchema = zod.z.object({
|
|
|
8
8
|
username: zod.z.string().describe("Username of the creator").nullable(),
|
|
9
9
|
avatar_url: zod.z.string().describe("URL to the creator's avatar image").nullable().optional(),
|
|
10
10
|
github_url: zod.z.string().describe("URL to the creator's GitHub profile").nullable().optional()
|
|
11
|
-
}).describe("Creator information for a deployment release.");
|
|
11
|
+
}).passthrough().describe("Creator information for a deployment release.");
|
|
12
12
|
const ReplicateDeploymentsList_ReleaseConfigurationSchema = zod.z.object({
|
|
13
13
|
hardware: zod.z.string().describe("Hardware SKU used for the deployment").nullable(),
|
|
14
14
|
max_instances: zod.z.number().int().describe("Maximum number of instances allowed").nullable(),
|
|
15
15
|
min_instances: zod.z.number().int().describe("Minimum number of instances to maintain").nullable()
|
|
16
|
-
}).describe("Configuration details for a deployment release.");
|
|
16
|
+
}).passthrough().describe("Configuration details for a deployment release.");
|
|
17
17
|
const ReplicateDeploymentsList_CurrentReleaseSchema = zod.z.object({
|
|
18
18
|
model: zod.z.string().describe("Model identifier").nullable(),
|
|
19
19
|
number: zod.z.number().int().describe("Release number").nullable(),
|
|
@@ -21,17 +21,17 @@ const ReplicateDeploymentsList_CurrentReleaseSchema = zod.z.object({
|
|
|
21
21
|
created_at: zod.z.string().describe("ISO 8601 timestamp when the release was created").nullable(),
|
|
22
22
|
created_by: ReplicateDeploymentsList_CreatedBySchema.nullable(),
|
|
23
23
|
configuration: ReplicateDeploymentsList_ReleaseConfigurationSchema.nullable()
|
|
24
|
-
}).describe("Latest release configuration for a deployment.");
|
|
24
|
+
}).passthrough().describe("Latest release configuration for a deployment.");
|
|
25
25
|
const ReplicateDeploymentsList_DeploymentSchema = zod.z.object({
|
|
26
26
|
name: zod.z.string().describe("Name of the deployment").nullable(),
|
|
27
27
|
owner: zod.z.string().describe("Owner of the deployment").nullable(),
|
|
28
28
|
current_release: ReplicateDeploymentsList_CurrentReleaseSchema.nullable()
|
|
29
|
-
}).describe("Representation of a deployment.");
|
|
29
|
+
}).passthrough().describe("Representation of a deployment.");
|
|
30
30
|
const ReplicateDeploymentsListOutput = zod.z.object({
|
|
31
31
|
next: zod.z.string().describe("URL to fetch the next page of results, if any").nullable().optional(),
|
|
32
32
|
results: zod.z.array(ReplicateDeploymentsList_DeploymentSchema).describe("List of deployments returned in this page, sorted with most recent deployment first"),
|
|
33
33
|
previous: zod.z.string().describe("URL to fetch the previous page of results, if any").nullable().optional()
|
|
34
|
-
}).describe("Paginated list of deployments.");
|
|
34
|
+
}).passthrough().describe("Paginated list of deployments.");
|
|
35
35
|
const replicateDeploymentsList = require_action.action("REPLICATE_DEPLOYMENTS_LIST", {
|
|
36
36
|
slug: "replicate-deployments-list",
|
|
37
37
|
name: "List deployments",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployments-list.cjs","names":["z","action"],"sources":["../../src/actions/deployments-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplicateDeploymentsListInput = z.object({\n cursor: z.string().describe(\"Cursor for pagination. Use the cursor from 'next' URL of previous response.\").optional(),\n}).describe(\"Request schema for listing deployments with optional pagination.\");\nconst ReplicateDeploymentsList_CreatedBySchema = z.object({\n name: z.string().describe(\"Display name of the creator\").nullable(),\n type: z.string().describe(\"Type of creator (e.g., 'organization', 'user')\").nullable(),\n username: z.string().describe(\"Username of the creator\").nullable(),\n avatar_url: z.string().describe(\"URL to the creator's avatar image\").nullable().optional(),\n github_url: z.string().describe(\"URL to the creator's GitHub profile\").nullable().optional(),\n}).describe(\"Creator information for a deployment release.\");\nconst ReplicateDeploymentsList_ReleaseConfigurationSchema = z.object({\n hardware: z.string().describe(\"Hardware SKU used for the deployment\").nullable(),\n max_instances: z.number().int().describe(\"Maximum number of instances allowed\").nullable(),\n min_instances: z.number().int().describe(\"Minimum number of instances to maintain\").nullable(),\n}).describe(\"Configuration details for a deployment release.\");\nconst ReplicateDeploymentsList_CurrentReleaseSchema = z.object({\n model: z.string().describe(\"Model identifier\").nullable(),\n number: z.number().int().describe(\"Release number\").nullable(),\n version: z.string().describe(\"64-character version ID of the model\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the release was created\").nullable(),\n created_by: ReplicateDeploymentsList_CreatedBySchema.nullable(),\n configuration: ReplicateDeploymentsList_ReleaseConfigurationSchema.nullable(),\n}).describe(\"Latest release configuration for a deployment.\");\nconst ReplicateDeploymentsList_DeploymentSchema = z.object({\n name: z.string().describe(\"Name of the deployment\").nullable(),\n owner: z.string().describe(\"Owner of the deployment\").nullable(),\n current_release: ReplicateDeploymentsList_CurrentReleaseSchema.nullable(),\n}).describe(\"Representation of a deployment.\");\nexport const ReplicateDeploymentsListOutput = z.object({\n next: z.string().describe(\"URL to fetch the next page of results, if any\").nullable().optional(),\n results: z.array(ReplicateDeploymentsList_DeploymentSchema).describe(\"List of deployments returned in this page, sorted with most recent deployment first\"),\n previous: z.string().describe(\"URL to fetch the previous page of results, if any\").nullable().optional(),\n}).describe(\"Paginated list of deployments.\");\n\nexport const replicateDeploymentsList = action(\"REPLICATE_DEPLOYMENTS_LIST\", {\n slug: \"replicate-deployments-list\",\n name: \"List deployments\",\n description: \"Tool to list all deployments associated with the account. Use when you need to retrieve deployment configurations and their latest releases.\",\n input: ReplicateDeploymentsListInput,\n output: ReplicateDeploymentsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,EACtH,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,+CAA+C;
|
|
1
|
+
{"version":3,"file":"deployments-list.cjs","names":["z","action"],"sources":["../../src/actions/deployments-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ReplicateDeploymentsListInput = z.object({\n cursor: z.string().describe(\"Cursor for pagination. Use the cursor from 'next' URL of previous response.\").optional(),\n}).describe(\"Request schema for listing deployments with optional pagination.\");\nconst ReplicateDeploymentsList_CreatedBySchema = z.object({\n name: z.string().describe(\"Display name of the creator\").nullable(),\n type: z.string().describe(\"Type of creator (e.g., 'organization', 'user')\").nullable(),\n username: z.string().describe(\"Username of the creator\").nullable(),\n avatar_url: z.string().describe(\"URL to the creator's avatar image\").nullable().optional(),\n github_url: z.string().describe(\"URL to the creator's GitHub profile\").nullable().optional(),\n}).passthrough().describe(\"Creator information for a deployment release.\");\nconst ReplicateDeploymentsList_ReleaseConfigurationSchema = z.object({\n hardware: z.string().describe(\"Hardware SKU used for the deployment\").nullable(),\n max_instances: z.number().int().describe(\"Maximum number of instances allowed\").nullable(),\n min_instances: z.number().int().describe(\"Minimum number of instances to maintain\").nullable(),\n}).passthrough().describe(\"Configuration details for a deployment release.\");\nconst ReplicateDeploymentsList_CurrentReleaseSchema = z.object({\n model: z.string().describe(\"Model identifier\").nullable(),\n number: z.number().int().describe(\"Release number\").nullable(),\n version: z.string().describe(\"64-character version ID of the model\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the release was created\").nullable(),\n created_by: ReplicateDeploymentsList_CreatedBySchema.nullable(),\n configuration: ReplicateDeploymentsList_ReleaseConfigurationSchema.nullable(),\n}).passthrough().describe(\"Latest release configuration for a deployment.\");\nconst ReplicateDeploymentsList_DeploymentSchema = z.object({\n name: z.string().describe(\"Name of the deployment\").nullable(),\n owner: z.string().describe(\"Owner of the deployment\").nullable(),\n current_release: ReplicateDeploymentsList_CurrentReleaseSchema.nullable(),\n}).passthrough().describe(\"Representation of a deployment.\");\nexport const ReplicateDeploymentsListOutput = z.object({\n next: z.string().describe(\"URL to fetch the next page of results, if any\").nullable().optional(),\n results: z.array(ReplicateDeploymentsList_DeploymentSchema).describe(\"List of deployments returned in this page, sorted with most recent deployment first\"),\n previous: z.string().describe(\"URL to fetch the previous page of results, if any\").nullable().optional(),\n}).passthrough().describe(\"Paginated list of deployments.\");\n\nexport const replicateDeploymentsList = action(\"REPLICATE_DEPLOYMENTS_LIST\", {\n slug: \"replicate-deployments-list\",\n name: \"List deployments\",\n description: \"Tool to list all deployments associated with the account. Use when you need to retrieve deployment configurations and their latest releases.\",\n input: ReplicateDeploymentsListInput,\n output: ReplicateDeploymentsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,EACtH,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC/E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACzF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,YAAY,yCAAyC,SAAS;CAC9D,eAAe,oDAAoD,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,iBAAiB,8CAA8C,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,qFAAqF;CAC1J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAE1D,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|