@attunesolutions/piece-skyvern-selfhosted 0.0.1
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/README.md +39 -0
- package/package.json +27 -0
- package/src/i18n/de.json +76 -0
- package/src/i18n/es.json +76 -0
- package/src/i18n/fr.json +76 -0
- package/src/i18n/ja.json +76 -0
- package/src/i18n/nl.json +76 -0
- package/src/i18n/pt.json +76 -0
- package/src/i18n/ru.json +69 -0
- package/src/i18n/translation.json +76 -0
- package/src/i18n/vi.json +69 -0
- package/src/i18n/zh.json +76 -0
- package/src/index.js +20 -0
package/README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# @attunesolutions/piece-skyvern-selfhosted
|
|
2
|
+
|
|
3
|
+
An [Activepieces](https://www.activepieces.com) piece for a **self-hosted**
|
|
4
|
+
[Skyvern](https://www.skyvern.com) instance. It is the community Skyvern piece with the
|
|
5
|
+
hardcoded `https://api.skyvern.com/v1` base URL replaced by a field on the connection, so
|
|
6
|
+
each connection points at your own deployment.
|
|
7
|
+
|
|
8
|
+
## Install
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install @attunesolutions/piece-skyvern-selfhosted
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Or from the Activepieces admin UI (**Platform Admin → Pieces → Install piece**) by npm
|
|
15
|
+
package name.
|
|
16
|
+
|
|
17
|
+
## Connection
|
|
18
|
+
|
|
19
|
+
| Field | Description |
|
|
20
|
+
| --- | --- |
|
|
21
|
+
| Base URL | Your Skyvern API root **including the version path**, e.g. `https://skyvern.example.com/api/v1`. A trailing slash is trimmed. |
|
|
22
|
+
| API Key | Sent as the `x-api-key` header on every request. |
|
|
23
|
+
|
|
24
|
+
Saving the connection calls `GET {Base URL}/workflows` to verify both values.
|
|
25
|
+
|
|
26
|
+
## Actions
|
|
27
|
+
|
|
28
|
+
- Run Agent Task
|
|
29
|
+
- Run Workflow
|
|
30
|
+
- Cancel Run
|
|
31
|
+
- Get Workflow/Task Run
|
|
32
|
+
- Find Workflow
|
|
33
|
+
- Custom API Call
|
|
34
|
+
|
|
35
|
+
## Building
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
turbo run build --filter=@attunesolutions/piece-skyvern-selfhosted
|
|
39
|
+
```
|
package/package.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@attunesolutions/piece-skyvern-selfhosted",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Activepieces piece for a self-hosted Skyvern instance — browser-automation agent tasks and workflows against your own API URL.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"homepage": "https://github.com/AttuneSolutions/activepieces/tree/main/packages/pieces/community/skyvern-selfhosted",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/AttuneSolutions/activepieces.git",
|
|
10
|
+
"directory": "packages/pieces/community/skyvern-selfhosted"
|
|
11
|
+
},
|
|
12
|
+
"keywords": [
|
|
13
|
+
"activepieces",
|
|
14
|
+
"activepieces-piece",
|
|
15
|
+
"skyvern",
|
|
16
|
+
"self-hosted",
|
|
17
|
+
"browser-automation"
|
|
18
|
+
],
|
|
19
|
+
"type": "commonjs",
|
|
20
|
+
"main": "./src/index.js",
|
|
21
|
+
"dependencies": {},
|
|
22
|
+
"files": [
|
|
23
|
+
"src/index.js",
|
|
24
|
+
"package.json",
|
|
25
|
+
"src/i18n"
|
|
26
|
+
]
|
|
27
|
+
}
|
package/src/i18n/de.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"You can obtain your API key by navigating to [Settings](https://app.skyvern.com/settings).": "Du kannst deinen API-Schlüssel erhalten, indem du auf [Settings]navigierst (https://app.skyvern.com/settings).",
|
|
3
|
+
"Run Agent Task": "Agent-Aufgabe ausführen",
|
|
4
|
+
"Run Workflow": "Workflow ausführen",
|
|
5
|
+
"Cancel Run": "Ausführung abbrechen",
|
|
6
|
+
"Get Workflow/Task Run": "Workflow/Task Run abrufen",
|
|
7
|
+
"Find Workflow": "Workflow suchen",
|
|
8
|
+
"Custom API Call": "Eigener API-Aufruf",
|
|
9
|
+
"Runs task with specified prompt.": "Führt die Aufgabe mit der angegebenen Abfrage aus.",
|
|
10
|
+
"Runs the workflow.": "Führt den Workflow aus.",
|
|
11
|
+
"Cancels a workflow or or task run by ID.": "Kündigt einen Workflow oder eine Aufgabe ab, die mit ID ausgeführt wird.",
|
|
12
|
+
"Retrieves a workflow or task run by ID.": "Ruft einen Workflow oder eine Aufgabe ab, die von ID ausgeführt wird.",
|
|
13
|
+
"Finds workflow based on title.": "Findet Workflow basierend auf Titel.",
|
|
14
|
+
"Make a custom API call to a specific endpoint": "Einen benutzerdefinierten API-Aufruf an einen bestimmten Endpunkt machen",
|
|
15
|
+
"Prompt": "Prompt",
|
|
16
|
+
"URL": "URL",
|
|
17
|
+
"Engine": "Motor",
|
|
18
|
+
"Webhook Callback URL": "Webhook Callback URL",
|
|
19
|
+
"Proxy Location": "Proxy-Standort",
|
|
20
|
+
"Max Steps": "Max. Schritte",
|
|
21
|
+
"Data Extraction Schema": "Datenextraktions-Schema",
|
|
22
|
+
"Workflow": "Workflow",
|
|
23
|
+
"Workflow Run Title": "Workflowausführung-Titel",
|
|
24
|
+
"Workflow Params": "Workflow-Parameter",
|
|
25
|
+
"Workflow/Task Run ID": "Workflow/Task Run ID",
|
|
26
|
+
"Workflow Title": "Workflow-Titel",
|
|
27
|
+
"Method": "Methode",
|
|
28
|
+
"Headers": "Kopfzeilen",
|
|
29
|
+
"Query Parameters": "Abfrageparameter",
|
|
30
|
+
"Body Type": "Körpertyp",
|
|
31
|
+
"Body": "Körper",
|
|
32
|
+
"Response is Binary ?": "Antwort ist binär?",
|
|
33
|
+
"No Error on Failure": "Kein Fehler bei Fehler",
|
|
34
|
+
"Timeout (in seconds)": "Timeout (in Sekunden)",
|
|
35
|
+
"Follow redirects": "Weiterleitungen folgen",
|
|
36
|
+
"The goal or task description for Skyvern to accomplish.": "Die Ziel- oder Aufgabenbeschreibung für Skyvern zu erreichen.",
|
|
37
|
+
"The starting URL for the task.": "Die Startadresse für die Aufgabe.",
|
|
38
|
+
"URL to send task status updates to after a run is finished.": "URL zum Senden von Aktualisierungen des Aufgaben-Status nach dem Ausführen eines Ablaufs.",
|
|
39
|
+
"Maximum number of steps the task can take. Task will fail if it exceeds this number.": "Maximale Anzahl von Schritten, die die Aufgabe durchführen kann. Aufgabe wird fehlschlagen, wenn sie diese Zahl übersteigt.",
|
|
40
|
+
"The schema for data to be extracted from the webpage.": "Das Schema, das Daten von der Webseite extrahiert werden sollen.",
|
|
41
|
+
"The title for this workflow run.": "Der Titel für diesen Workflow.",
|
|
42
|
+
"Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
|
|
43
|
+
"Enable for files like PDFs, images, etc.": "Aktivieren für Dateien wie PDFs, Bilder usw.",
|
|
44
|
+
"Skyvern 1.0": "Skyvern 1.0",
|
|
45
|
+
"Skyvern 2.0": "Skyvern 2.0",
|
|
46
|
+
"OpenAI CUA": "OpenAI CUA",
|
|
47
|
+
"Anthropic CUA": "Anthropische CUA",
|
|
48
|
+
"Residential": "Wohngebiet",
|
|
49
|
+
"Spain": "Spanien",
|
|
50
|
+
"Ireland": "Irland",
|
|
51
|
+
"United Kingdom": "Großbritannien",
|
|
52
|
+
"India": "Indien",
|
|
53
|
+
"Japan": "Japan",
|
|
54
|
+
"France": "Frankreich",
|
|
55
|
+
"Germany": "Deutschland",
|
|
56
|
+
"New Zealand": "Neuseeland",
|
|
57
|
+
"South Africa": "Südafrika",
|
|
58
|
+
"Argentina": "Argentinien",
|
|
59
|
+
"ISP Proxy": "ISP-Proxy",
|
|
60
|
+
"California (US)": "Kalifornien (USA)",
|
|
61
|
+
"New York (US)": "New York (USA)",
|
|
62
|
+
"Texas (US)": "Texas (USA)",
|
|
63
|
+
"Florida (US)": "Florida (USA)",
|
|
64
|
+
"Washington (US)": "Washington (USA)",
|
|
65
|
+
"No Proxy": "Kein Proxy",
|
|
66
|
+
"GET": "ERHALTEN",
|
|
67
|
+
"POST": "POST",
|
|
68
|
+
"PATCH": "PATCH",
|
|
69
|
+
"PUT": "PUT",
|
|
70
|
+
"DELETE": "LÖSCHEN",
|
|
71
|
+
"HEAD": "HEAD",
|
|
72
|
+
"None": "Keine",
|
|
73
|
+
"JSON": "JSON",
|
|
74
|
+
"Form Data": "Formulardaten",
|
|
75
|
+
"Raw": "Rohe"
|
|
76
|
+
}
|
package/src/i18n/es.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"You can obtain your API key by navigating to [Settings](https://app.skyvern.com/settings).": "Puedes obtener tu clave API navegando a [Settings](https://app.skyvern.com/settings).",
|
|
3
|
+
"Run Agent Task": "Ejecutar tarea de agente",
|
|
4
|
+
"Run Workflow": "Ejecutar workkflow",
|
|
5
|
+
"Cancel Run": "Cancelar Run",
|
|
6
|
+
"Get Workflow/Task Run": "Obtener workflow/Task Run",
|
|
7
|
+
"Find Workflow": "Buscar flujo de trabajo",
|
|
8
|
+
"Custom API Call": "Llamada API personalizada",
|
|
9
|
+
"Runs task with specified prompt.": "Ejecuta la tarea con la petición especificada.",
|
|
10
|
+
"Runs the workflow.": "Ejecuta el flujo de trabajo.",
|
|
11
|
+
"Cancels a workflow or or task run by ID.": "Cancela un flujo de trabajo o una tarea ejecutada por el ID.",
|
|
12
|
+
"Retrieves a workflow or task run by ID.": "Recuperar un flujo de trabajo o una tarea ejecutada por el ID.",
|
|
13
|
+
"Finds workflow based on title.": "Encuentra el flujo de trabajo basado en el título.",
|
|
14
|
+
"Make a custom API call to a specific endpoint": "Hacer una llamada API personalizada a un extremo específico",
|
|
15
|
+
"Prompt": "Petición",
|
|
16
|
+
"URL": "URL",
|
|
17
|
+
"Engine": "Motor",
|
|
18
|
+
"Webhook Callback URL": "Webhook Callback URL",
|
|
19
|
+
"Proxy Location": "Ubicación del proxy",
|
|
20
|
+
"Max Steps": "Pasos máximos",
|
|
21
|
+
"Data Extraction Schema": "Esquema de extracción de datos",
|
|
22
|
+
"Workflow": "Flujo trabajo",
|
|
23
|
+
"Workflow Run Title": "Título de ejecución de flujo de trabajo",
|
|
24
|
+
"Workflow Params": "Parámetros de flujo de trabajo",
|
|
25
|
+
"Workflow/Task Run ID": "Flujo de trabajo/Tarea Ejecutar ID",
|
|
26
|
+
"Workflow Title": "Título de flujo de trabajo",
|
|
27
|
+
"Method": "Método",
|
|
28
|
+
"Headers": "Encabezados",
|
|
29
|
+
"Query Parameters": "Parámetros de consulta",
|
|
30
|
+
"Body Type": "Tipo de cuerpo",
|
|
31
|
+
"Body": "Cuerpo",
|
|
32
|
+
"Response is Binary ?": "¿Respuesta es binaria?",
|
|
33
|
+
"No Error on Failure": "No hay ningún error en fallo",
|
|
34
|
+
"Timeout (in seconds)": "Tiempo de espera (en segundos)",
|
|
35
|
+
"Follow redirects": "Seguir redirecciones",
|
|
36
|
+
"The goal or task description for Skyvern to accomplish.": "La meta o descripción de la tarea para que Skyvern cumpla.",
|
|
37
|
+
"The starting URL for the task.": "La URL inicial para la tarea.",
|
|
38
|
+
"URL to send task status updates to after a run is finished.": "URL a la que enviar actualizaciones de estado de tareas una vez finalizada la ejecución.",
|
|
39
|
+
"Maximum number of steps the task can take. Task will fail if it exceeds this number.": "Número máximo de pasos que la tarea puede realizar. La tarea fallará si excede este número.",
|
|
40
|
+
"The schema for data to be extracted from the webpage.": "El esquema de datos que se extraerán de la página web.",
|
|
41
|
+
"The title for this workflow run.": "El título para este flujo de trabajo se ejecuta.",
|
|
42
|
+
"Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
|
|
43
|
+
"Enable for files like PDFs, images, etc.": "Activar para archivos como PDFs, imágenes, etc.",
|
|
44
|
+
"Skyvern 1.0": "Skyvern 1.0",
|
|
45
|
+
"Skyvern 2.0": "Skyvern 2.0",
|
|
46
|
+
"OpenAI CUA": "OpenAI CUA",
|
|
47
|
+
"Anthropic CUA": "CUA Antrópica",
|
|
48
|
+
"Residential": "Residencial",
|
|
49
|
+
"Spain": "España",
|
|
50
|
+
"Ireland": "Irlanda",
|
|
51
|
+
"United Kingdom": "Reino Unido",
|
|
52
|
+
"India": "India",
|
|
53
|
+
"Japan": "Japón",
|
|
54
|
+
"France": "Francia",
|
|
55
|
+
"Germany": "Alemania",
|
|
56
|
+
"New Zealand": "Nueva Zelanda",
|
|
57
|
+
"South Africa": "Sudáfrica",
|
|
58
|
+
"Argentina": "Argentina",
|
|
59
|
+
"ISP Proxy": "Proxy ISP",
|
|
60
|
+
"California (US)": "California (EE.UU.)",
|
|
61
|
+
"New York (US)": "Nueva York (EE.UU.)",
|
|
62
|
+
"Texas (US)": "Texas (EE.UU.)",
|
|
63
|
+
"Florida (US)": "Florida (EE.UU.)",
|
|
64
|
+
"Washington (US)": "Washington (EE.UU.)",
|
|
65
|
+
"No Proxy": "Sin proxy",
|
|
66
|
+
"GET": "RECOGER",
|
|
67
|
+
"POST": "POST",
|
|
68
|
+
"PATCH": "PATCH",
|
|
69
|
+
"PUT": "PUT",
|
|
70
|
+
"DELETE": "BORRAR",
|
|
71
|
+
"HEAD": "LIMPIO",
|
|
72
|
+
"None": "Ninguna",
|
|
73
|
+
"JSON": "JSON",
|
|
74
|
+
"Form Data": "Datos de Formulario",
|
|
75
|
+
"Raw": "Rápido"
|
|
76
|
+
}
|
package/src/i18n/fr.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"You can obtain your API key by navigating to [Settings](https://app.skyvern.com/settings).": "Vous pouvez obtenir votre clé API en accédant à [Settings](https://app.skyvern.com/settings).",
|
|
3
|
+
"Run Agent Task": "Exécuter la tâche de l'agent",
|
|
4
|
+
"Run Workflow": "Exécuter le flux de travail",
|
|
5
|
+
"Cancel Run": "Annuler l'exécution",
|
|
6
|
+
"Get Workflow/Task Run": "Obtenir le flux de travail/tâche",
|
|
7
|
+
"Find Workflow": "Trouver un Workflow",
|
|
8
|
+
"Custom API Call": "Appel d'API personnalisé",
|
|
9
|
+
"Runs task with specified prompt.": "Exécute une tâche avec l'invite spécifiée.",
|
|
10
|
+
"Runs the workflow.": "Exécute le workflow.",
|
|
11
|
+
"Cancels a workflow or or task run by ID.": "Annule un workflow ou une tâche exécutée par ID.",
|
|
12
|
+
"Retrieves a workflow or task run by ID.": "Récupère un workflow ou une tâche exécutée par ID.",
|
|
13
|
+
"Finds workflow based on title.": "Trouve un workflow basé sur le titre.",
|
|
14
|
+
"Make a custom API call to a specific endpoint": "Passer un appel API personnalisé à un endpoint spécifique",
|
|
15
|
+
"Prompt": "Prompt",
|
|
16
|
+
"URL": "URL",
|
|
17
|
+
"Engine": "Moteur",
|
|
18
|
+
"Webhook Callback URL": "Webhook Callback URL",
|
|
19
|
+
"Proxy Location": "Emplacement du proxy",
|
|
20
|
+
"Max Steps": "Étapes Max",
|
|
21
|
+
"Data Extraction Schema": "Schéma d'extraction de données",
|
|
22
|
+
"Workflow": "Flux de travail",
|
|
23
|
+
"Workflow Run Title": "Titre de l'exécution du workflow",
|
|
24
|
+
"Workflow Params": "Paramètres du flux de travail",
|
|
25
|
+
"Workflow/Task Run ID": "ID du flux de travail/tâche",
|
|
26
|
+
"Workflow Title": "Titre du workflow",
|
|
27
|
+
"Method": "Méthode",
|
|
28
|
+
"Headers": "En-têtes",
|
|
29
|
+
"Query Parameters": "Paramètres de requête",
|
|
30
|
+
"Body Type": "Body Type",
|
|
31
|
+
"Body": "Corps",
|
|
32
|
+
"Response is Binary ?": "La réponse est Binaire ?",
|
|
33
|
+
"No Error on Failure": "Aucune erreur en cas d'échec",
|
|
34
|
+
"Timeout (in seconds)": "Délai d'expiration (en secondes)",
|
|
35
|
+
"Follow redirects": "Suivre les redirections",
|
|
36
|
+
"The goal or task description for Skyvern to accomplish.": "La description du but ou de la tâche à accomplir par Skyvern.",
|
|
37
|
+
"The starting URL for the task.": "L'URL de départ de la tâche.",
|
|
38
|
+
"URL to send task status updates to after a run is finished.": "URL pour envoyer les mises à jour du statut de la tâche après la fin d'une exécution.",
|
|
39
|
+
"Maximum number of steps the task can take. Task will fail if it exceeds this number.": "Nombre maximum d'étapes que la tâche peut prendre. La tâche échouera si elle dépasse ce nombre.",
|
|
40
|
+
"The schema for data to be extracted from the webpage.": "Le schéma pour les données à extraire de la page Web.",
|
|
41
|
+
"The title for this workflow run.": "Le titre de ce workflow s'exécute.",
|
|
42
|
+
"Authorization headers are injected automatically from your connection.": "Les en-têtes d'autorisation sont injectés automatiquement à partir de votre connexion.",
|
|
43
|
+
"Enable for files like PDFs, images, etc.": "Activer pour les fichiers comme les PDFs, les images, etc.",
|
|
44
|
+
"Skyvern 1.0": "Skyvern 1.0",
|
|
45
|
+
"Skyvern 2.0": "Skyvern 2.0",
|
|
46
|
+
"OpenAI CUA": "OpenAI CUA",
|
|
47
|
+
"Anthropic CUA": "CUA anthropique",
|
|
48
|
+
"Residential": "Résidentiel",
|
|
49
|
+
"Spain": "L'Espagne",
|
|
50
|
+
"Ireland": "L'Irlande",
|
|
51
|
+
"United Kingdom": "Royaume-Uni",
|
|
52
|
+
"India": "L'Inde",
|
|
53
|
+
"Japan": "Japon",
|
|
54
|
+
"France": "France",
|
|
55
|
+
"Germany": "L'Allemagne",
|
|
56
|
+
"New Zealand": "Nouvelle-Zélande",
|
|
57
|
+
"South Africa": "Afrique du Sud",
|
|
58
|
+
"Argentina": "Argentine",
|
|
59
|
+
"ISP Proxy": "Proxy ISP",
|
|
60
|
+
"California (US)": "Californie (États-Unis)",
|
|
61
|
+
"New York (US)": "New York (États-Unis)",
|
|
62
|
+
"Texas (US)": "Texas (États-Unis)",
|
|
63
|
+
"Florida (US)": "Floride (États-Unis)",
|
|
64
|
+
"Washington (US)": "Washington (États-Unis)",
|
|
65
|
+
"No Proxy": "Pas de proxy",
|
|
66
|
+
"GET": "GET",
|
|
67
|
+
"POST": "POST",
|
|
68
|
+
"PATCH": "PATCH",
|
|
69
|
+
"PUT": "PUT",
|
|
70
|
+
"DELETE": "DELETE",
|
|
71
|
+
"HEAD": "HEAD",
|
|
72
|
+
"None": "Aucun",
|
|
73
|
+
"JSON": "JSON",
|
|
74
|
+
"Form Data": "Données du formulaire",
|
|
75
|
+
"Raw": "Brut"
|
|
76
|
+
}
|
package/src/i18n/ja.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"You can obtain your API key by navigating to [Settings](https://app.skyvern.com/settings).": "API キーは [Settings](https://app.skyvern.com/settings ) に移動して取得できます。",
|
|
3
|
+
"Run Agent Task": "エージェントタスクを実行",
|
|
4
|
+
"Run Workflow": "ワークフローを実行",
|
|
5
|
+
"Cancel Run": "実行をキャンセル",
|
|
6
|
+
"Get Workflow/Task Run": "ワークフロー/タスク実行を取得",
|
|
7
|
+
"Find Workflow": "ワークフローを検索",
|
|
8
|
+
"Custom API Call": "カスタムAPI通話",
|
|
9
|
+
"Runs task with specified prompt.": "指定したプロンプトでタスクを実行します。",
|
|
10
|
+
"Runs the workflow.": "ワークフローを実行する。",
|
|
11
|
+
"Cancels a workflow or or task run by ID.": "IDで実行されるワークフローまたはタスクをキャンセルします。",
|
|
12
|
+
"Retrieves a workflow or task run by ID.": "ID で実行されるワークフローまたはタスクを取得します。",
|
|
13
|
+
"Finds workflow based on title.": "タイトルに基づいてワークフローを検索します。",
|
|
14
|
+
"Make a custom API call to a specific endpoint": "特定のエンドポイントへのカスタム API コールを実行します。",
|
|
15
|
+
"Prompt": "Prompt",
|
|
16
|
+
"URL": "URL",
|
|
17
|
+
"Engine": "エンジン",
|
|
18
|
+
"Webhook Callback URL": "Webhook Callback URL",
|
|
19
|
+
"Proxy Location": "プロキシの場所",
|
|
20
|
+
"Max Steps": "最大ステップ",
|
|
21
|
+
"Data Extraction Schema": "データ抽出スキーマ",
|
|
22
|
+
"Workflow": "ワークフロー",
|
|
23
|
+
"Workflow Run Title": "ワークフロー実行タイトル",
|
|
24
|
+
"Workflow Params": "ワークフローパラメータ",
|
|
25
|
+
"Workflow/Task Run ID": "ワークフロー/タスク実行ID",
|
|
26
|
+
"Workflow Title": "ワークフローのタイトル",
|
|
27
|
+
"Method": "方法",
|
|
28
|
+
"Headers": "ヘッダー",
|
|
29
|
+
"Query Parameters": "クエリパラメータ",
|
|
30
|
+
"Body Type": "ボディタイプ",
|
|
31
|
+
"Body": "本文",
|
|
32
|
+
"Response is Binary ?": "応答はバイナリですか?",
|
|
33
|
+
"No Error on Failure": "失敗時にエラーはありません",
|
|
34
|
+
"Timeout (in seconds)": "タイムアウト(秒)",
|
|
35
|
+
"Follow redirects": "リダイレクトをフォローする",
|
|
36
|
+
"The goal or task description for Skyvern to accomplish.": "Skyvernが達成するための目標またはタスクの説明。",
|
|
37
|
+
"The starting URL for the task.": "タスクの開始URL。",
|
|
38
|
+
"URL to send task status updates to after a run is finished.": "実行が完了した後にタスクのステータス更新を送信するURL。",
|
|
39
|
+
"Maximum number of steps the task can take. Task will fail if it exceeds this number.": "タスクが取ることができるステップの最大数。この数を超えるとタスクは失敗します。",
|
|
40
|
+
"The schema for data to be extracted from the webpage.": "ウェブページから抽出されるデータのスキーマ。",
|
|
41
|
+
"The title for this workflow run.": "このワークフローのタイトルが実行されます。",
|
|
42
|
+
"Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
|
|
43
|
+
"Enable for files like PDFs, images, etc.": "PDF、画像などのファイルを有効にする",
|
|
44
|
+
"Skyvern 1.0": "Skyvern 1.0",
|
|
45
|
+
"Skyvern 2.0": "Skyvern 2.0",
|
|
46
|
+
"OpenAI CUA": "OpenAI CUA",
|
|
47
|
+
"Anthropic CUA": "Anthropic CUA",
|
|
48
|
+
"Residential": "<unk>",
|
|
49
|
+
"Spain": "スペイン",
|
|
50
|
+
"Ireland": "アイルランド",
|
|
51
|
+
"United Kingdom": "イギリス",
|
|
52
|
+
"India": "インド",
|
|
53
|
+
"Japan": "日本",
|
|
54
|
+
"France": "フランス",
|
|
55
|
+
"Germany": "ドイツ",
|
|
56
|
+
"New Zealand": "ニュージーランド",
|
|
57
|
+
"South Africa": "南アフリカ",
|
|
58
|
+
"Argentina": "アルゼンチン",
|
|
59
|
+
"ISP Proxy": "ISPプロキシ",
|
|
60
|
+
"California (US)": "カリフォルニア州 (米国)",
|
|
61
|
+
"New York (US)": "ニューヨーク",
|
|
62
|
+
"Texas (US)": "テキサス(米国)",
|
|
63
|
+
"Florida (US)": "Florida (US)",
|
|
64
|
+
"Washington (US)": "Washington (US)",
|
|
65
|
+
"No Proxy": "プロキシなし",
|
|
66
|
+
"GET": "取得",
|
|
67
|
+
"POST": "POST",
|
|
68
|
+
"PATCH": "PATCH",
|
|
69
|
+
"PUT": "PUT",
|
|
70
|
+
"DELETE": "削除",
|
|
71
|
+
"HEAD": "頭",
|
|
72
|
+
"None": "なし",
|
|
73
|
+
"JSON": "JSON",
|
|
74
|
+
"Form Data": "フォームデータ",
|
|
75
|
+
"Raw": "Raw"
|
|
76
|
+
}
|
package/src/i18n/nl.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"You can obtain your API key by navigating to [Settings](https://app.skyvern.com/settings).": "U kunt uw API-sleutel verkrijgen door naar [Settings](https://app.skyvern.com/settings ) te navigeren.",
|
|
3
|
+
"Run Agent Task": "Voer Agent Taak uit",
|
|
4
|
+
"Run Workflow": "Workflow uitvoeren",
|
|
5
|
+
"Cancel Run": "Uitvoeren annuleren",
|
|
6
|
+
"Get Workflow/Task Run": "Verkrijg Workflow/Task Run",
|
|
7
|
+
"Find Workflow": "Zoek Workflow",
|
|
8
|
+
"Custom API Call": "Custom API Call",
|
|
9
|
+
"Runs task with specified prompt.": "Voert taak uit met opgegeven prompt.",
|
|
10
|
+
"Runs the workflow.": "Voert de workflow uit.",
|
|
11
|
+
"Cancels a workflow or or task run by ID.": "Annuleert een workflow of taak uitgevoerd door ID.",
|
|
12
|
+
"Retrieves a workflow or task run by ID.": "Ophalen van een workflow of taak uitgevoerd door ID.",
|
|
13
|
+
"Finds workflow based on title.": "Vondst workflow op basis van titel.",
|
|
14
|
+
"Make a custom API call to a specific endpoint": "Maak een aangepaste API call naar een specifiek eindpunt",
|
|
15
|
+
"Prompt": "Prompt",
|
|
16
|
+
"URL": "URL",
|
|
17
|
+
"Engine": "Motor",
|
|
18
|
+
"Webhook Callback URL": "Webhook Callback URL",
|
|
19
|
+
"Proxy Location": "Proxy Locatie",
|
|
20
|
+
"Max Steps": "Max. aantal stappen",
|
|
21
|
+
"Data Extraction Schema": "Data Extraction Schema",
|
|
22
|
+
"Workflow": "Werkstroom",
|
|
23
|
+
"Workflow Run Title": "Titel Workflow Run",
|
|
24
|
+
"Workflow Params": "Workflow-parameters",
|
|
25
|
+
"Workflow/Task Run ID": "Workflow/Task Run ID",
|
|
26
|
+
"Workflow Title": "Workflow titel",
|
|
27
|
+
"Method": "Methode",
|
|
28
|
+
"Headers": "Kopteksten",
|
|
29
|
+
"Query Parameters": "Query parameters",
|
|
30
|
+
"Body Type": "Type lichaam",
|
|
31
|
+
"Body": "Lichaam",
|
|
32
|
+
"Response is Binary ?": "Antwoord is binair?",
|
|
33
|
+
"No Error on Failure": "Geen fout bij fout",
|
|
34
|
+
"Timeout (in seconds)": "Time-out (in seconden)",
|
|
35
|
+
"Follow redirects": "Volg omleidingen",
|
|
36
|
+
"The goal or task description for Skyvern to accomplish.": "Het doel of taakbeschrijving voor Skyvern om te voltooien.",
|
|
37
|
+
"The starting URL for the task.": "De start-URL voor de taak.",
|
|
38
|
+
"URL to send task status updates to after a run is finished.": "URL om status updates te versturen naar nadat een opdracht is uitgevoerd.",
|
|
39
|
+
"Maximum number of steps the task can take. Task will fail if it exceeds this number.": "Maximum aantal stappen dat de taak kan nemen. De taak zal mislukken als deze dit aantal overschrijdt.",
|
|
40
|
+
"The schema for data to be extracted from the webpage.": "Het schema voor data uitpakken vanaf de webpagina.",
|
|
41
|
+
"The title for this workflow run.": "De titel voor deze workflow wordt uitgevoerd.",
|
|
42
|
+
"Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
|
|
43
|
+
"Enable for files like PDFs, images, etc.": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc.",
|
|
44
|
+
"Skyvern 1.0": "Skyvern 1.0",
|
|
45
|
+
"Skyvern 2.0": "Skyvern 2.0",
|
|
46
|
+
"OpenAI CUA": "OpenAI CUA",
|
|
47
|
+
"Anthropic CUA": "Anthropische CUA",
|
|
48
|
+
"Residential": "Particulier",
|
|
49
|
+
"Spain": "Spanje",
|
|
50
|
+
"Ireland": "Ierland",
|
|
51
|
+
"United Kingdom": "Verenigd Koninkrijk",
|
|
52
|
+
"India": "Indië",
|
|
53
|
+
"Japan": "Japans",
|
|
54
|
+
"France": "Frankrijk",
|
|
55
|
+
"Germany": "Duitsland",
|
|
56
|
+
"New Zealand": "Nieuw Zeeland",
|
|
57
|
+
"South Africa": "Zuid-Afrika",
|
|
58
|
+
"Argentina": "Argentinië",
|
|
59
|
+
"ISP Proxy": "ISP Proxy",
|
|
60
|
+
"California (US)": "Californië (VS)",
|
|
61
|
+
"New York (US)": "New York (VS)",
|
|
62
|
+
"Texas (US)": "Teksten (VS)",
|
|
63
|
+
"Florida (US)": "Florida (VS)",
|
|
64
|
+
"Washington (US)": "Washington (VS)",
|
|
65
|
+
"No Proxy": "Geen proxy",
|
|
66
|
+
"GET": "KRIJG",
|
|
67
|
+
"POST": "POSTE",
|
|
68
|
+
"PATCH": "BEKIJK",
|
|
69
|
+
"PUT": "PUT",
|
|
70
|
+
"DELETE": "VERWIJDEREN",
|
|
71
|
+
"HEAD": "HOOFD",
|
|
72
|
+
"None": "geen",
|
|
73
|
+
"JSON": "JSON",
|
|
74
|
+
"Form Data": "Formulieren gegevens",
|
|
75
|
+
"Raw": "Onbewerkte"
|
|
76
|
+
}
|
package/src/i18n/pt.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"You can obtain your API key by navigating to [Settings](https://app.skyvern.com/settings).": "Você pode obter sua chave de API navegando para [Settings](https://app.skyvern.com/settings).",
|
|
3
|
+
"Run Agent Task": "Executar tarefa de agente",
|
|
4
|
+
"Run Workflow": "Executar Workflow",
|
|
5
|
+
"Cancel Run": "Execução de Cancelamento",
|
|
6
|
+
"Get Workflow/Task Run": "Obter Workflow/Task Run",
|
|
7
|
+
"Find Workflow": "Encontrar workflow",
|
|
8
|
+
"Custom API Call": "Chamada de API personalizada",
|
|
9
|
+
"Runs task with specified prompt.": "Executa a tarefa com um prompt específico.",
|
|
10
|
+
"Runs the workflow.": "Executa o workflow.",
|
|
11
|
+
"Cancels a workflow or or task run by ID.": "Cancela um fluxo de trabalho ou tarefa executada com ID.",
|
|
12
|
+
"Retrieves a workflow or task run by ID.": "Obtém um fluxo de trabalho ou tarefa executada por ID.",
|
|
13
|
+
"Finds workflow based on title.": "Localiza um fluxo de trabalho baseado no título.",
|
|
14
|
+
"Make a custom API call to a specific endpoint": "Faça uma chamada de API personalizada para um ponto de extremidade específico",
|
|
15
|
+
"Prompt": "Aviso",
|
|
16
|
+
"URL": "URL:",
|
|
17
|
+
"Engine": "Mecanismo",
|
|
18
|
+
"Webhook Callback URL": "Webhook Callback URL",
|
|
19
|
+
"Proxy Location": "Local do Proxy",
|
|
20
|
+
"Max Steps": "Máximo de passos",
|
|
21
|
+
"Data Extraction Schema": "Esquema de extração de dados",
|
|
22
|
+
"Workflow": "Workflow",
|
|
23
|
+
"Workflow Run Title": "Workflow Run Title",
|
|
24
|
+
"Workflow Params": "Workflow Params",
|
|
25
|
+
"Workflow/Task Run ID": "ID Executar Workflow/Tarefa",
|
|
26
|
+
"Workflow Title": "Título do workflow",
|
|
27
|
+
"Method": "Método",
|
|
28
|
+
"Headers": "Cabeçalhos",
|
|
29
|
+
"Query Parameters": "Parâmetros da consulta",
|
|
30
|
+
"Body Type": "Tipo de Corpo",
|
|
31
|
+
"Body": "Conteúdo",
|
|
32
|
+
"Response is Binary ?": "A resposta é binária ?",
|
|
33
|
+
"No Error on Failure": "Nenhum erro no Failure",
|
|
34
|
+
"Timeout (in seconds)": "Tempo limite (em segundos)",
|
|
35
|
+
"Follow redirects": "Seguir redirecionamentos",
|
|
36
|
+
"The goal or task description for Skyvern to accomplish.": "O objetivo ou a descrição da tarefa para o Skyvern cumprir.",
|
|
37
|
+
"The starting URL for the task.": "A URL inicial para a tarefa.",
|
|
38
|
+
"URL to send task status updates to after a run is finished.": "URL para onde enviar as atualizações de status da tarefa após a execução terminar.",
|
|
39
|
+
"Maximum number of steps the task can take. Task will fail if it exceeds this number.": "Número máximo de passos que a tarefa pode tomar. A tarefa falhará se exceder este número.",
|
|
40
|
+
"The schema for data to be extracted from the webpage.": "O esquema para que os dados sejam extraídos da página da web.",
|
|
41
|
+
"The title for this workflow run.": "O título para esta execução do fluxo de trabalho.",
|
|
42
|
+
"Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
|
|
43
|
+
"Enable for files like PDFs, images, etc.": "Habilitar para arquivos como PDFs, imagens, etc.",
|
|
44
|
+
"Skyvern 1.0": "Skyvern 1.0",
|
|
45
|
+
"Skyvern 2.0": "Skyvern 2.0",
|
|
46
|
+
"OpenAI CUA": "OpenAI CUA",
|
|
47
|
+
"Anthropic CUA": "CUA Antrópica",
|
|
48
|
+
"Residential": "Residencial",
|
|
49
|
+
"Spain": "Espanha",
|
|
50
|
+
"Ireland": "Irlanda",
|
|
51
|
+
"United Kingdom": "Reino Unido",
|
|
52
|
+
"India": "Índia",
|
|
53
|
+
"Japan": "Japão",
|
|
54
|
+
"France": "França",
|
|
55
|
+
"Germany": "Alemanha",
|
|
56
|
+
"New Zealand": "Nova Zelândia",
|
|
57
|
+
"South Africa": "África do Sul",
|
|
58
|
+
"Argentina": "Argentina",
|
|
59
|
+
"ISP Proxy": "Proxy ISP",
|
|
60
|
+
"California (US)": "Califórnia (EUA)",
|
|
61
|
+
"New York (US)": "Nova Iorque (EUA)",
|
|
62
|
+
"Texas (US)": "Texas (EUA)",
|
|
63
|
+
"Florida (US)": "Flórida (EUA)",
|
|
64
|
+
"Washington (US)": "Washington (EUA)",
|
|
65
|
+
"No Proxy": "Sem proxy",
|
|
66
|
+
"GET": "OBTER",
|
|
67
|
+
"POST": "POSTAR",
|
|
68
|
+
"PATCH": "COMPRAR",
|
|
69
|
+
"PUT": "COLOCAR",
|
|
70
|
+
"DELETE": "EXCLUIR",
|
|
71
|
+
"HEAD": "CABEÇA",
|
|
72
|
+
"None": "Nenhuma",
|
|
73
|
+
"JSON": "JSON",
|
|
74
|
+
"Form Data": "Dados de Formulário",
|
|
75
|
+
"Raw": "RAW"
|
|
76
|
+
}
|
package/src/i18n/ru.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Skyvern": "Skyvern",
|
|
3
|
+
"You can obtain your API key by navigating to [Settings](https://app.skyvern.com/settings).": "Вы можете получить ключ API, перейдя к [Settings](https://app.skyvern.com/settings).",
|
|
4
|
+
"Run Agent Task": "Запуск Агента Задачи",
|
|
5
|
+
"Run Workflow": "Запуск рабочего процесса",
|
|
6
|
+
"Cancel Run": "Отменить запуск",
|
|
7
|
+
"Get Workflow/Task Run": "Получить рабочий процесс/Запуск задачи",
|
|
8
|
+
"Find Workflow": "Найти рабочий процесс",
|
|
9
|
+
"Custom API Call": "Пользовательский вызов API",
|
|
10
|
+
"Runs task with specified prompt.": "Выполняет задачу с указанной подсказкой.",
|
|
11
|
+
"Runs the workflow.": "Запускает рабочий процесс.",
|
|
12
|
+
"Cancels a workflow or or task run by ID.": "Отменяет рабочий процесс или задачу, запускаемую по ID.",
|
|
13
|
+
"Retrieves a workflow or task run by ID.": "Получает рабочий процесс или задачу, запускаемую по ID.",
|
|
14
|
+
"Finds workflow based on title.": "Ищет рабочий процесс по названию.",
|
|
15
|
+
"Make a custom API call to a specific endpoint": "Сделать пользовательский API вызов к определенной конечной точке",
|
|
16
|
+
"Prompt": "Prompt",
|
|
17
|
+
"URL": "URL",
|
|
18
|
+
"Engine": "Двигатель",
|
|
19
|
+
"Webhook Callback URL": "Webhook Callback URL",
|
|
20
|
+
"Proxy Location": "Расположение прокси",
|
|
21
|
+
"Max Steps": "Макс. шагов",
|
|
22
|
+
"Data Extraction Schema": "Схема извлечения данных",
|
|
23
|
+
"Workflow": "Рабочий процесс",
|
|
24
|
+
"Workflow Run Title": "Заголовок запуска рабочего процесса",
|
|
25
|
+
"Workflow Params": "Параметры рабочего процесса",
|
|
26
|
+
"Workflow/Task Run ID": "Идентификатор запуска процесса/задачи",
|
|
27
|
+
"Workflow Title": "Название рабочего процесса",
|
|
28
|
+
"Method": "Метод",
|
|
29
|
+
"Headers": "Заголовки",
|
|
30
|
+
"Query Parameters": "Параметры запроса",
|
|
31
|
+
"Body": "Тело",
|
|
32
|
+
"No Error on Failure": "Нет ошибок при ошибке",
|
|
33
|
+
"Timeout (in seconds)": "Таймаут (в секундах)",
|
|
34
|
+
"The goal or task description for Skyvern to accomplish.": "Цель или описание задачи для достижения Skyvern.",
|
|
35
|
+
"The starting URL for the task.": "Начальный URL задачи.",
|
|
36
|
+
"URL to send task status updates to after a run is finished.": "URL-адрес для отправки статуса задачи обновления после завершения запуска.",
|
|
37
|
+
"Maximum number of steps the task can take. Task will fail if it exceeds this number.": "Максимальное количество шагов, которое может выполнить задача. Задача не будет выполнена, если она превышает это число.",
|
|
38
|
+
"The schema for data to be extracted from the webpage.": "Схема извлечения данных с веб-страницы.",
|
|
39
|
+
"The title for this workflow run.": "Название для этого рабочего процесса.",
|
|
40
|
+
"Authorization headers are injected automatically from your connection.": "Заголовки авторизации включаются автоматически из вашего соединения.",
|
|
41
|
+
"Skyvern 1.0": "Небесная 1.0",
|
|
42
|
+
"Skyvern 2.0": "Skyvern 2.0",
|
|
43
|
+
"OpenAI CUA": "OpenAI CUA",
|
|
44
|
+
"Anthropic CUA": "Антропия CUA",
|
|
45
|
+
"Residential": "Жилой дом",
|
|
46
|
+
"Spain": "Испания",
|
|
47
|
+
"Ireland": "Ирландия",
|
|
48
|
+
"United Kingdom": "Соединенное Королевство",
|
|
49
|
+
"India": "Индия",
|
|
50
|
+
"Japan": "Япония",
|
|
51
|
+
"France": "Франция",
|
|
52
|
+
"Germany": "Германия",
|
|
53
|
+
"New Zealand": "Новая Зеландия",
|
|
54
|
+
"South Africa": "Южная Африка",
|
|
55
|
+
"Argentina": "Аргентина",
|
|
56
|
+
"ISP Proxy": "ISP прокси",
|
|
57
|
+
"California (US)": "Калифорния (США)",
|
|
58
|
+
"New York (US)": "Нью-Йорк (США)",
|
|
59
|
+
"Texas (US)": "Техас (США)",
|
|
60
|
+
"Florida (US)": "Флорида (США)",
|
|
61
|
+
"Washington (US)": "Вашингтон (США)",
|
|
62
|
+
"No Proxy": "Нет прокси",
|
|
63
|
+
"GET": "ПОЛУЧИТЬ",
|
|
64
|
+
"POST": "ПОСТ",
|
|
65
|
+
"PATCH": "ПАТЧ",
|
|
66
|
+
"PUT": "ПОКУПИТЬ",
|
|
67
|
+
"DELETE": "УДАЛИТЬ",
|
|
68
|
+
"HEAD": "HEAD"
|
|
69
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"You can obtain your API key by navigating to [Settings](https://app.skyvern.com/settings).": "You can obtain your API key by navigating to [Settings](https://app.skyvern.com/settings).",
|
|
3
|
+
"Run Agent Task": "Run Agent Task",
|
|
4
|
+
"Run Workflow": "Run Workflow",
|
|
5
|
+
"Cancel Run": "Cancel Run",
|
|
6
|
+
"Get Workflow/Task Run": "Get Workflow/Task Run",
|
|
7
|
+
"Find Workflow": "Find Workflow",
|
|
8
|
+
"Custom API Call": "Custom API Call",
|
|
9
|
+
"Runs task with specified prompt.": "Runs task with specified prompt.",
|
|
10
|
+
"Runs the workflow.": "Runs the workflow.",
|
|
11
|
+
"Cancels a workflow or or task run by ID.": "Cancels a workflow or or task run by ID.",
|
|
12
|
+
"Retrieves a workflow or task run by ID.": "Retrieves a workflow or task run by ID.",
|
|
13
|
+
"Finds workflow based on title.": "Finds workflow based on title.",
|
|
14
|
+
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
|
15
|
+
"Prompt": "Prompt",
|
|
16
|
+
"URL": "URL",
|
|
17
|
+
"Engine": "Engine",
|
|
18
|
+
"Webhook Callback URL": "Webhook Callback URL",
|
|
19
|
+
"Proxy Location": "Proxy Location",
|
|
20
|
+
"Max Steps": "Max Steps",
|
|
21
|
+
"Data Extraction Schema": "Data Extraction Schema",
|
|
22
|
+
"Workflow": "Workflow",
|
|
23
|
+
"Workflow Run Title": "Workflow Run Title",
|
|
24
|
+
"Workflow Params": "Workflow Params",
|
|
25
|
+
"Workflow/Task Run ID": "Workflow/Task Run ID",
|
|
26
|
+
"Workflow Title": "Workflow Title",
|
|
27
|
+
"Method": "Method",
|
|
28
|
+
"Headers": "Headers",
|
|
29
|
+
"Query Parameters": "Query Parameters",
|
|
30
|
+
"Body Type": "Body Type",
|
|
31
|
+
"Body": "Body",
|
|
32
|
+
"Response is Binary ?": "Response is Binary ?",
|
|
33
|
+
"No Error on Failure": "No Error on Failure",
|
|
34
|
+
"Timeout (in seconds)": "Timeout (in seconds)",
|
|
35
|
+
"Follow redirects": "Follow redirects",
|
|
36
|
+
"The goal or task description for Skyvern to accomplish.": "The goal or task description for Skyvern to accomplish.",
|
|
37
|
+
"The starting URL for the task.": "The starting URL for the task.",
|
|
38
|
+
"URL to send task status updates to after a run is finished.": "URL to send task status updates to after a run is finished.",
|
|
39
|
+
"Maximum number of steps the task can take. Task will fail if it exceeds this number.": "Maximum number of steps the task can take. Task will fail if it exceeds this number.",
|
|
40
|
+
"The schema for data to be extracted from the webpage.": "The schema for data to be extracted from the webpage.",
|
|
41
|
+
"The title for this workflow run.": "The title for this workflow run.",
|
|
42
|
+
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
|
|
43
|
+
"Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
|
|
44
|
+
"Skyvern 1.0": "Skyvern 1.0",
|
|
45
|
+
"Skyvern 2.0": "Skyvern 2.0",
|
|
46
|
+
"OpenAI CUA": "OpenAI CUA",
|
|
47
|
+
"Anthropic CUA": "Anthropic CUA",
|
|
48
|
+
"Residential": "Residential",
|
|
49
|
+
"Spain": "Spain",
|
|
50
|
+
"Ireland": "Ireland",
|
|
51
|
+
"United Kingdom": "United Kingdom",
|
|
52
|
+
"India": "India",
|
|
53
|
+
"Japan": "Japan",
|
|
54
|
+
"France": "France",
|
|
55
|
+
"Germany": "Germany",
|
|
56
|
+
"New Zealand": "New Zealand",
|
|
57
|
+
"South Africa": "South Africa",
|
|
58
|
+
"Argentina": "Argentina",
|
|
59
|
+
"ISP Proxy": "ISP Proxy",
|
|
60
|
+
"California (US)": "California (US)",
|
|
61
|
+
"New York (US)": "New York (US)",
|
|
62
|
+
"Texas (US)": "Texas (US)",
|
|
63
|
+
"Florida (US)": "Florida (US)",
|
|
64
|
+
"Washington (US)": "Washington (US)",
|
|
65
|
+
"No Proxy": "No Proxy",
|
|
66
|
+
"GET": "GET",
|
|
67
|
+
"POST": "POST",
|
|
68
|
+
"PATCH": "PATCH",
|
|
69
|
+
"PUT": "PUT",
|
|
70
|
+
"DELETE": "DELETE",
|
|
71
|
+
"HEAD": "HEAD",
|
|
72
|
+
"None": "None",
|
|
73
|
+
"JSON": "JSON",
|
|
74
|
+
"Form Data": "Form Data",
|
|
75
|
+
"Raw": "Raw"
|
|
76
|
+
}
|
package/src/i18n/vi.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Skyvern": "Skyvern",
|
|
3
|
+
"You can obtain your API key by navigating to [Settings](https://app.skyvern.com/settings).": "You can obtain your API key by navigating to [Settings](https://app.skyvern.com/settings).",
|
|
4
|
+
"Run Agent Task": "Run Agent Task",
|
|
5
|
+
"Run Workflow": "Run Workflow",
|
|
6
|
+
"Cancel Run": "Cancel Run",
|
|
7
|
+
"Get Workflow/Task Run": "Get Workflow/Task Run",
|
|
8
|
+
"Find Workflow": "Find Workflow",
|
|
9
|
+
"Custom API Call": "Custom API Call",
|
|
10
|
+
"Runs task with specified prompt.": "Runs task with specified prompt.",
|
|
11
|
+
"Runs the workflow.": "Runs the workflow.",
|
|
12
|
+
"Cancels a workflow or or task run by ID.": "Cancels a workflow or or task run by ID.",
|
|
13
|
+
"Retrieves a workflow or task run by ID.": "Retrieves a workflow or task run by ID.",
|
|
14
|
+
"Finds workflow based on title.": "Finds workflow based on title.",
|
|
15
|
+
"Make a custom API call to a specific endpoint": "Make a custom API call to a specific endpoint",
|
|
16
|
+
"Prompt": "Prompt",
|
|
17
|
+
"URL": "URL",
|
|
18
|
+
"Engine": "Engine",
|
|
19
|
+
"Webhook Callback URL": "Webhook Callback URL",
|
|
20
|
+
"Proxy Location": "Proxy Location",
|
|
21
|
+
"Max Steps": "Max Steps",
|
|
22
|
+
"Data Extraction Schema": "Data Extraction Schema",
|
|
23
|
+
"Workflow": "Workflow",
|
|
24
|
+
"Workflow Run Title": "Workflow Run Title",
|
|
25
|
+
"Workflow Params": "Workflow Params",
|
|
26
|
+
"Workflow/Task Run ID": "Workflow/Task Run ID",
|
|
27
|
+
"Workflow Title": "Workflow Title",
|
|
28
|
+
"Method": "Method",
|
|
29
|
+
"Headers": "Headers",
|
|
30
|
+
"Query Parameters": "Query Parameters",
|
|
31
|
+
"Body": "Body",
|
|
32
|
+
"No Error on Failure": "No Error on Failure",
|
|
33
|
+
"Timeout (in seconds)": "Timeout (in seconds)",
|
|
34
|
+
"The goal or task description for Skyvern to accomplish.": "The goal or task description for Skyvern to accomplish.",
|
|
35
|
+
"The starting URL for the task.": "The starting URL for the task.",
|
|
36
|
+
"URL to send task status updates to after a run is finished.": "URL to send task status updates to after a run is finished.",
|
|
37
|
+
"Maximum number of steps the task can take. Task will fail if it exceeds this number.": "Maximum number of steps the task can take. Task will fail if it exceeds this number.",
|
|
38
|
+
"The schema for data to be extracted from the webpage.": "The schema for data to be extracted from the webpage.",
|
|
39
|
+
"The title for this workflow run.": "The title for this workflow run.",
|
|
40
|
+
"Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
|
|
41
|
+
"Skyvern 1.0": "Skyvern 1.0",
|
|
42
|
+
"Skyvern 2.0": "Skyvern 2.0",
|
|
43
|
+
"OpenAI CUA": "OpenAI CUA",
|
|
44
|
+
"Anthropic CUA": "Anthropic CUA",
|
|
45
|
+
"Residential": "Residential",
|
|
46
|
+
"Spain": "Spain",
|
|
47
|
+
"Ireland": "Ireland",
|
|
48
|
+
"United Kingdom": "United Kingdom",
|
|
49
|
+
"India": "India",
|
|
50
|
+
"Japan": "Japan",
|
|
51
|
+
"France": "France",
|
|
52
|
+
"Germany": "Germany",
|
|
53
|
+
"New Zealand": "New Zealand",
|
|
54
|
+
"South Africa": "South Africa",
|
|
55
|
+
"Argentina": "Argentina",
|
|
56
|
+
"ISP Proxy": "ISP Proxy",
|
|
57
|
+
"California (US)": "California (US)",
|
|
58
|
+
"New York (US)": "New York (US)",
|
|
59
|
+
"Texas (US)": "Texas (US)",
|
|
60
|
+
"Florida (US)": "Florida (US)",
|
|
61
|
+
"Washington (US)": "Washington (US)",
|
|
62
|
+
"No Proxy": "No Proxy",
|
|
63
|
+
"GET": "GET",
|
|
64
|
+
"POST": "POST",
|
|
65
|
+
"PATCH": "PATCH",
|
|
66
|
+
"PUT": "PUT",
|
|
67
|
+
"DELETE": "DELETE",
|
|
68
|
+
"HEAD": "HEAD"
|
|
69
|
+
}
|
package/src/i18n/zh.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"You can obtain your API key by navigating to [Settings](https://app.skyvern.com/settings).": "You can obtain your API key by navigating to [Settings](https://app.skyvern.com/settings).",
|
|
3
|
+
"Run Agent Task": "Run Agent Task",
|
|
4
|
+
"Run Workflow": "Run Workflow",
|
|
5
|
+
"Cancel Run": "Cancel Run",
|
|
6
|
+
"Get Workflow/Task Run": "Get Workflow/Task Run",
|
|
7
|
+
"Find Workflow": "Find Workflow",
|
|
8
|
+
"Custom API Call": "自定义 API 呼叫",
|
|
9
|
+
"Runs task with specified prompt.": "Runs task with specified prompt.",
|
|
10
|
+
"Runs the workflow.": "Runs the workflow.",
|
|
11
|
+
"Cancels a workflow or or task run by ID.": "Cancels a workflow or or task run by ID.",
|
|
12
|
+
"Retrieves a workflow or task run by ID.": "Retrieves a workflow or task run by ID.",
|
|
13
|
+
"Finds workflow based on title.": "Finds workflow based on title.",
|
|
14
|
+
"Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",
|
|
15
|
+
"Prompt": "Prompt",
|
|
16
|
+
"URL": "URL",
|
|
17
|
+
"Engine": "Engine",
|
|
18
|
+
"Webhook Callback URL": "Webhook Callback URL",
|
|
19
|
+
"Proxy Location": "Proxy Location",
|
|
20
|
+
"Max Steps": "Max Steps",
|
|
21
|
+
"Data Extraction Schema": "Data Extraction Schema",
|
|
22
|
+
"Workflow": "Workflow",
|
|
23
|
+
"Workflow Run Title": "Workflow Run Title",
|
|
24
|
+
"Workflow Params": "Workflow Params",
|
|
25
|
+
"Workflow/Task Run ID": "Workflow/Task Run ID",
|
|
26
|
+
"Workflow Title": "Workflow Title",
|
|
27
|
+
"Method": "方法",
|
|
28
|
+
"Headers": "信头",
|
|
29
|
+
"Query Parameters": "查询参数",
|
|
30
|
+
"Body Type": "Body Type",
|
|
31
|
+
"Body": "正文内容",
|
|
32
|
+
"Response is Binary ?": "Response is Binary ?",
|
|
33
|
+
"No Error on Failure": "失败时没有错误",
|
|
34
|
+
"Timeout (in seconds)": "超时(秒)",
|
|
35
|
+
"Follow redirects": "Follow redirects",
|
|
36
|
+
"The goal or task description for Skyvern to accomplish.": "The goal or task description for Skyvern to accomplish.",
|
|
37
|
+
"The starting URL for the task.": "The starting URL for the task.",
|
|
38
|
+
"URL to send task status updates to after a run is finished.": "URL to send task status updates to after a run is finished.",
|
|
39
|
+
"Maximum number of steps the task can take. Task will fail if it exceeds this number.": "Maximum number of steps the task can take. Task will fail if it exceeds this number.",
|
|
40
|
+
"The schema for data to be extracted from the webpage.": "The schema for data to be extracted from the webpage.",
|
|
41
|
+
"The title for this workflow run.": "The title for this workflow run.",
|
|
42
|
+
"Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
|
|
43
|
+
"Enable for files like PDFs, images, etc.": "Enable for files like PDFs, images, etc.",
|
|
44
|
+
"Skyvern 1.0": "Skyvern 1.0",
|
|
45
|
+
"Skyvern 2.0": "Skyvern 2.0",
|
|
46
|
+
"OpenAI CUA": "OpenAI CUA",
|
|
47
|
+
"Anthropic CUA": "Anthropic CUA",
|
|
48
|
+
"Residential": "Residential",
|
|
49
|
+
"Spain": "Spain",
|
|
50
|
+
"Ireland": "Ireland",
|
|
51
|
+
"United Kingdom": "United Kingdom",
|
|
52
|
+
"India": "India",
|
|
53
|
+
"Japan": "Japan",
|
|
54
|
+
"France": "France",
|
|
55
|
+
"Germany": "Germany",
|
|
56
|
+
"New Zealand": "New Zealand",
|
|
57
|
+
"South Africa": "South Africa",
|
|
58
|
+
"Argentina": "Argentina",
|
|
59
|
+
"ISP Proxy": "ISP Proxy",
|
|
60
|
+
"California (US)": "California (US)",
|
|
61
|
+
"New York (US)": "New York (US)",
|
|
62
|
+
"Texas (US)": "Texas (US)",
|
|
63
|
+
"Florida (US)": "Florida (US)",
|
|
64
|
+
"Washington (US)": "Washington (US)",
|
|
65
|
+
"No Proxy": "No Proxy",
|
|
66
|
+
"GET": "获取",
|
|
67
|
+
"POST": "帖子",
|
|
68
|
+
"PATCH": "PATCH",
|
|
69
|
+
"PUT": "弹出",
|
|
70
|
+
"DELETE": "删除",
|
|
71
|
+
"HEAD": "黑色",
|
|
72
|
+
"None": "无",
|
|
73
|
+
"JSON": "JSON",
|
|
74
|
+
"Form Data": "表单数据",
|
|
75
|
+
"Raw": "原始文件"
|
|
76
|
+
}
|
package/src/index.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";var Qs=Object.create;var qe=Object.defineProperty;var eu=Object.getOwnPropertyDescriptor;var tu=Object.getOwnPropertyNames;var ru=Object.getPrototypeOf,nu=Object.prototype.hasOwnProperty;var o=(e,t)=>qe(e,"name",{value:t,configurable:!0});var E=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},gn=(e,t)=>{for(var r in t)qe(e,r,{get:t[r],enumerable:!0})},yn=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of tu(t))!nu.call(e,i)&&i!==r&&qe(e,i,{get:()=>t[i],enumerable:!(n=eu(t,i))||n.enumerable});return e};var De=(e,t,r)=>(r=e!=null?Qs(ru(e)):{},yn(t||!e||!e.__esModule?qe(r,"default",{value:e,enumerable:!0}):r,e)),ou=e=>yn(qe({},"__esModule",{value:!0}),e);var jo=E((Lo,Bt)=>{(function(e){"use strict";let t="(0?\\d+|0x[a-f0-9]+)",r={fourOctet:new RegExp(`^${t}\\.${t}\\.${t}\\.${t}$`,"i"),threeOctet:new RegExp(`^${t}\\.${t}\\.${t}$`,"i"),twoOctet:new RegExp(`^${t}\\.${t}$`,"i"),longValue:new RegExp(`^${t}$`,"i")},n=new RegExp("^0[0-7]+$","i"),i=new RegExp("^0x[a-f0-9]+$","i"),u="%[0-9a-z]{1,}",c="(?:[0-9a-f]+::?)+",l={zoneIndex:new RegExp(u,"i"),native:new RegExp(`^(::)?(${c})?([0-9a-f]+)?(::)?(${u})?$`,"i"),deprecatedTransitional:new RegExp(`^(?:::)(${t}\\.${t}\\.${t}\\.${t}(${u})?)$`,"i"),transitional:new RegExp(`^((?:${c})|(?:::)(?:${c})?)${t}\\.${t}\\.${t}\\.${t}(${u})?$`,"i")};function f(s,d){if(s.indexOf("::")!==s.lastIndexOf("::"))return null;let y=0,m=-1,v=(s.match(l.zoneIndex)||[])[0],P,L;for(v&&(v=v.substring(1),s=s.replace(/%.+$/,""));(m=s.indexOf(":",m+1))>=0;)y++;if(s.substr(0,2)==="::"&&y--,s.substr(-2,2)==="::"&&y--,y>d)return null;for(L=d-y,P=":";L--;)P+="0:";return s=s.replace("::",P),s[0]===":"&&(s=s.slice(1)),s[s.length-1]===":"&&(s=s.slice(0,-1)),d=(function(){let re=s.split(":"),se=[];for(let Ge=0;Ge<re.length;Ge++)se.push(parseInt(re[Ge],16));return se})(),{parts:d,zoneId:v}}o(f,"expandIPv6");function g(s,d,y,m){if(s.length!==d.length)throw new Error("ipaddr: cannot match CIDR for objects with different lengths");let v=0,P;for(;m>0;){if(P=y-m,P<0&&(P=0),s[v]>>P!==d[v]>>P)return!1;m-=y,v+=1}return!0}o(g,"matchCIDR");function x(s){if(i.test(s))return parseInt(s,16);if(s[0]==="0"&&!isNaN(parseInt(s[1],10))){if(n.test(s))return parseInt(s,8);throw new Error(`ipaddr: cannot parse ${s} as octal`)}return parseInt(s,10)}o(x,"parseIntAuto");function I(s,d){for(;s.length<d;)s=`0${s}`;return s}o(I,"padPart");let _={};_.IPv4=(function(){function s(d){if(d.length!==4)throw new Error("ipaddr: ipv4 octet count should be 4");let y,m;for(y=0;y<d.length;y++)if(m=d[y],!(0<=m&&m<=255))throw new Error("ipaddr: ipv4 octet should fit in 8 bits");this.octets=d}return o(s,"IPv4"),s.prototype.SpecialRanges={unspecified:[[new s([0,0,0,0]),8]],broadcast:[[new s([255,255,255,255]),32]],multicast:[[new s([224,0,0,0]),4]],linkLocal:[[new s([169,254,0,0]),16]],loopback:[[new s([127,0,0,0]),8]],carrierGradeNat:[[new s([100,64,0,0]),10]],private:[[new s([10,0,0,0]),8],[new s([172,16,0,0]),12],[new s([192,168,0,0]),16]],reserved:[[new s([192,0,0,0]),24],[new s([192,0,2,0]),24],[new s([192,88,99,0]),24],[new s([198,18,0,0]),15],[new s([198,51,100,0]),24],[new s([203,0,113,0]),24],[new s([240,0,0,0]),4]],as112:[[new s([192,175,48,0]),24],[new s([192,31,196,0]),24]],amt:[[new s([192,52,193,0]),24]]},s.prototype.kind=function(){return"ipv4"},s.prototype.match=function(d,y){let m;if(y===void 0&&(m=d,d=m[0],y=m[1]),d.kind()!=="ipv4")throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one");return g(this.octets,d.octets,8,y)},s.prototype.prefixLengthFromSubnetMask=function(){let d=0,y=!1,m={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0},v,P,L;for(v=3;v>=0;v-=1)if(P=this.octets[v],P in m){if(L=m[P],y&&L!==0)return null;L!==8&&(y=!0),d+=L}else return null;return 32-d},s.prototype.range=function(){return _.subnetMatch(this,this.SpecialRanges)},s.prototype.toByteArray=function(){return this.octets.slice(0)},s.prototype.toIPv4MappedAddress=function(){return _.IPv6.parse(`::ffff:${this.toString()}`)},s.prototype.toNormalizedString=function(){return this.toString()},s.prototype.toString=function(){return this.octets.join(".")},s})(),_.IPv4.broadcastAddressFromCIDR=function(s){try{let d=this.parseCIDR(s),y=d[0].toByteArray(),m=this.subnetMaskFromPrefixLength(d[1]).toByteArray(),v=[],P=0;for(;P<4;)v.push(parseInt(y[P],10)|parseInt(m[P],10)^255),P++;return new this(v)}catch{throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},_.IPv4.isIPv4=function(s){return this.parser(s)!==null},_.IPv4.isValid=function(s){try{return new this(this.parser(s)),!0}catch{return!1}},_.IPv4.isValidCIDR=function(s){try{return this.parseCIDR(s),!0}catch{return!1}},_.IPv4.isValidFourPartDecimal=function(s){return!!(_.IPv4.isValid(s)&&s.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))},_.IPv4.isValidCIDRFourPartDecimal=function(s){let d=s.match(/^(.+)\/(\d+)$/);return!_.IPv4.isValidCIDR(s)||!d?!1:_.IPv4.isValidFourPartDecimal(d[1])},_.IPv4.networkAddressFromCIDR=function(s){let d,y,m,v,P;try{for(d=this.parseCIDR(s),m=d[0].toByteArray(),P=this.subnetMaskFromPrefixLength(d[1]).toByteArray(),v=[],y=0;y<4;)v.push(parseInt(m[y],10)&parseInt(P[y],10)),y++;return new this(v)}catch{throw new Error("ipaddr: the address does not have IPv4 CIDR format")}},_.IPv4.parse=function(s){let d=this.parser(s);if(d===null)throw new Error("ipaddr: string is not formatted like an IPv4 Address");return new this(d)},_.IPv4.parseCIDR=function(s){let d;if(d=s.match(/^(.+)\/(\d+)$/)){let y=parseInt(d[2]);if(y>=0&&y<=32){let m=[this.parse(d[1]),y];return Object.defineProperty(m,"toString",{value:o(function(){return this.join("/")},"value")}),m}}throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},_.IPv4.parser=function(s){let d,y,m;if(d=s.match(r.fourOctet))return(function(){let v=d.slice(1,6),P=[];for(let L=0;L<v.length;L++)y=v[L],P.push(x(y));return P})();if(d=s.match(r.longValue)){if(m=x(d[1]),m>4294967295||m<0)throw new Error("ipaddr: address outside defined range");return(function(){let v=[],P;for(P=0;P<=24;P+=8)v.push(m>>P&255);return v})().reverse()}else return(d=s.match(r.twoOctet))?(function(){let v=d.slice(1,4),P=[];if(m=x(v[1]),m>16777215||m<0)throw new Error("ipaddr: address outside defined range");return P.push(x(v[0])),P.push(m>>16&255),P.push(m>>8&255),P.push(m&255),P})():(d=s.match(r.threeOctet))?(function(){let v=d.slice(1,5),P=[];if(m=x(v[2]),m>65535||m<0)throw new Error("ipaddr: address outside defined range");return P.push(x(v[0])),P.push(x(v[1])),P.push(m>>8&255),P.push(m&255),P})():null},_.IPv4.subnetMaskFromPrefixLength=function(s){if(s=parseInt(s),s<0||s>32)throw new Error("ipaddr: invalid IPv4 prefix length");let d=[0,0,0,0],y=0,m=Math.floor(s/8);for(;y<m;)d[y]=255,y++;return m<4&&(d[m]=Math.pow(2,s%8)-1<<8-s%8),new this(d)},_.IPv6=(function(){function s(d,y){let m,v;if(d.length===16)for(this.parts=[],m=0;m<=14;m+=2)this.parts.push(d[m]<<8|d[m+1]);else if(d.length===8)this.parts=d;else throw new Error("ipaddr: ipv6 part count should be 8 or 16");for(m=0;m<this.parts.length;m++)if(v=this.parts[m],!(0<=v&&v<=65535))throw new Error("ipaddr: ipv6 part should fit in 16 bits");y&&(this.zoneId=y)}return o(s,"IPv6"),s.prototype.SpecialRanges={unspecified:[new s([0,0,0,0,0,0,0,0]),128],linkLocal:[new s([65152,0,0,0,0,0,0,0]),10],multicast:[new s([65280,0,0,0,0,0,0,0]),8],loopback:[new s([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new s([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new s([0,0,0,0,0,65535,0,0]),96],discard:[new s([256,0,0,0,0,0,0,0]),64],rfc6145:[new s([0,0,0,0,65535,0,0,0]),96],rfc6052:[new s([100,65435,0,0,0,0,0,0]),96],"6to4":[new s([8194,0,0,0,0,0,0,0]),16],teredo:[new s([8193,0,0,0,0,0,0,0]),32],benchmarking:[new s([8193,2,0,0,0,0,0,0]),48],amt:[new s([8193,3,0,0,0,0,0,0]),32],as112v6:[[new s([8193,4,274,0,0,0,0,0]),48],[new s([9760,79,32768,0,0,0,0,0]),48]],deprecated:[new s([8193,16,0,0,0,0,0,0]),28],orchid2:[new s([8193,32,0,0,0,0,0,0]),28],droneRemoteIdProtocolEntityTags:[new s([8193,48,0,0,0,0,0,0]),28],reserved:[[new s([8193,0,0,0,0,0,0,0]),23],[new s([8193,3512,0,0,0,0,0,0]),32]]},s.prototype.isIPv4MappedAddress=function(){return this.range()==="ipv4Mapped"},s.prototype.kind=function(){return"ipv6"},s.prototype.match=function(d,y){let m;if(y===void 0&&(m=d,d=m[0],y=m[1]),d.kind()!=="ipv6")throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one");return g(this.parts,d.parts,16,y)},s.prototype.prefixLengthFromSubnetMask=function(){let d=0,y=!1,m={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0},v,P;for(let L=7;L>=0;L-=1)if(v=this.parts[L],v in m){if(P=m[v],y&&P!==0)return null;P!==16&&(y=!0),d+=P}else return null;return 128-d},s.prototype.range=function(){return _.subnetMatch(this,this.SpecialRanges)},s.prototype.toByteArray=function(){let d,y=[],m=this.parts;for(let v=0;v<m.length;v++)d=m[v],y.push(d>>8),y.push(d&255);return y},s.prototype.toFixedLengthString=function(){let d=(function(){let m=[];for(let v=0;v<this.parts.length;v++)m.push(I(this.parts[v].toString(16),4));return m}).call(this).join(":"),y="";return this.zoneId&&(y=`%${this.zoneId}`),d+y},s.prototype.toIPv4Address=function(){if(!this.isIPv4MappedAddress())throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4");let d=this.parts.slice(-2),y=d[0],m=d[1];return new _.IPv4([y>>8,y&255,m>>8,m&255])},s.prototype.toNormalizedString=function(){let d=(function(){let m=[];for(let v=0;v<this.parts.length;v++)m.push(this.parts[v].toString(16));return m}).call(this).join(":"),y="";return this.zoneId&&(y=`%${this.zoneId}`),d+y},s.prototype.toRFC5952String=function(){let d=/((^|:)(0(:|$)){2,})/g,y=this.toNormalizedString(),m=0,v=-1,P;for(;P=d.exec(y);)P[0].length>v&&(m=P.index,v=P[0].length);return v<0?y:`${y.substring(0,m)}::${y.substring(m+v)}`},s.prototype.toString=function(){return this.toRFC5952String()},s})(),_.IPv6.broadcastAddressFromCIDR=function(s){try{let d=this.parseCIDR(s),y=d[0].toByteArray(),m=this.subnetMaskFromPrefixLength(d[1]).toByteArray(),v=[],P=0;for(;P<16;)v.push(parseInt(y[P],10)|parseInt(m[P],10)^255),P++;return new this(v)}catch(d){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${d})`)}},_.IPv6.isIPv6=function(s){return this.parser(s)!==null},_.IPv6.isValid=function(s){if(typeof s=="string"&&s.indexOf(":")===-1)return!1;try{let d=this.parser(s);return new this(d.parts,d.zoneId),!0}catch{return!1}},_.IPv6.isValidCIDR=function(s){if(typeof s=="string"&&s.indexOf(":")===-1)return!1;try{return this.parseCIDR(s),!0}catch{return!1}},_.IPv6.networkAddressFromCIDR=function(s){let d,y,m,v,P;try{for(d=this.parseCIDR(s),m=d[0].toByteArray(),P=this.subnetMaskFromPrefixLength(d[1]).toByteArray(),v=[],y=0;y<16;)v.push(parseInt(m[y],10)&parseInt(P[y],10)),y++;return new this(v)}catch(L){throw new Error(`ipaddr: the address does not have IPv6 CIDR format (${L})`)}},_.IPv6.parse=function(s){let d=this.parser(s);if(d.parts===null)throw new Error("ipaddr: string is not formatted like an IPv6 Address");return new this(d.parts,d.zoneId)},_.IPv6.parseCIDR=function(s){let d,y,m;if((y=s.match(/^(.+)\/(\d+)$/))&&(d=parseInt(y[2]),d>=0&&d<=128))return m=[this.parse(y[1]),d],Object.defineProperty(m,"toString",{value:o(function(){return this.join("/")},"value")}),m;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},_.IPv6.parser=function(s){let d,y,m,v,P,L;if(m=s.match(l.deprecatedTransitional))return this.parser(`::ffff:${m[1]}`);if(l.native.test(s))return f(s,8);if((m=s.match(l.transitional))&&(L=m[6]||"",d=m[1],m[1].endsWith("::")||(d=d.slice(0,-1)),d=f(d+L,6),d.parts)){for(P=[parseInt(m[2]),parseInt(m[3]),parseInt(m[4]),parseInt(m[5])],y=0;y<P.length;y++)if(v=P[y],!(0<=v&&v<=255))return null;return d.parts.push(P[0]<<8|P[1]),d.parts.push(P[2]<<8|P[3]),{parts:d.parts,zoneId:d.zoneId}}return null},_.IPv6.subnetMaskFromPrefixLength=function(s){if(s=parseInt(s),s<0||s>128)throw new Error("ipaddr: invalid IPv6 prefix length");let d=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],y=0,m=Math.floor(s/8);for(;y<m;)d[y]=255,y++;return m<16&&(d[m]=Math.pow(2,s%8)-1<<8-s%8),new this(d)},_.fromByteArray=function(s){let d=s.length;if(d===4)return new _.IPv4(s);if(d===16)return new _.IPv6(s);throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")},_.isValid=function(s){return _.IPv6.isValid(s)||_.IPv4.isValid(s)},_.isValidCIDR=function(s){return _.IPv6.isValidCIDR(s)||_.IPv4.isValidCIDR(s)},_.parse=function(s){if(_.IPv6.isValid(s))return _.IPv6.parse(s);if(_.IPv4.isValid(s))return _.IPv4.parse(s);throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format")},_.parseCIDR=function(s){try{return _.IPv6.parseCIDR(s)}catch{try{return _.IPv4.parseCIDR(s)}catch{throw new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}},_.process=function(s){let d=this.parse(s);return d.kind()==="ipv6"&&d.isIPv4MappedAddress()?d.toIPv4Address():d},_.subnetMatch=function(s,d,y){let m,v,P,L;y==null&&(y="unicast");for(v in d)if(Object.prototype.hasOwnProperty.call(d,v)){for(P=d[v],P[0]&&!(P[0]instanceof Array)&&(P=[P]),m=0;m<P.length;m++)if(L=P[m],s.kind()===L[0].kind()&&s.match.apply(s,L))return v}return y},typeof Bt<"u"&&Bt.exports?Bt.exports=_:e.ipaddr=_})(Lo)});var ji=E((gA,Li)=>{var Mi=require("stream").Stream,Ll=require("util");Li.exports=ce;function ce(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}o(ce,"DelayedStream");Ll.inherits(ce,Mi);ce.create=function(e,t){var r=new this;t=t||{};for(var n in t)r[n]=t[n];r.source=e;var i=e.emit;return e.emit=function(){return r._handleEmit(arguments),i.apply(e,arguments)},e.on("error",function(){}),r.pauseStream&&e.pause(),r};Object.defineProperty(ce.prototype,"readable",{configurable:!0,enumerable:!0,get:o(function(){return this.source.readable},"get")});ce.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};ce.prototype.resume=function(){this._released||this.release(),this.source.resume()};ce.prototype.pause=function(){this.source.pause()};ce.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]};ce.prototype.pipe=function(){var e=Mi.prototype.pipe.apply(this,arguments);return this.resume(),e};ce.prototype._handleEmit=function(e){if(this._released){this.emit.apply(this,e);return}e[0]==="data"&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e)};ce.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}}});var Vi=E((hA,Zi)=>{var jl=require("util"),Bi=require("stream").Stream,Fi=ji();Zi.exports=G;function G(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}o(G,"CombinedStream");jl.inherits(G,Bi);G.create=function(e){var t=new this;e=e||{};for(var r in e)t[r]=e[r];return t};G.isStreamLike=function(e){return typeof e!="function"&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"&&!Buffer.isBuffer(e)};G.prototype.append=function(e){var t=G.isStreamLike(e);if(t){if(!(e instanceof Fi)){var r=Fi.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=r}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this};G.prototype.pipe=function(e,t){return Bi.prototype.pipe.call(this,e,t),this.resume(),e};G.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};G.prototype._realGetNext=function(){var e=this._streams.shift();if(typeof e>"u"){this.end();return}if(typeof e!="function"){this._pipeNext(e);return}var t=e;t(function(r){var n=G.isStreamLike(r);n&&(r.on("data",this._checkDataSize.bind(this)),this._handleErrors(r)),this._pipeNext(r)}.bind(this))};G.prototype._pipeNext=function(e){this._currentStream=e;var t=G.isStreamLike(e);if(t){e.on("end",this._getNext.bind(this)),e.pipe(this,{end:!1});return}var r=e;this.write(r),this._getNext()};G.prototype._handleErrors=function(e){var t=this;e.on("error",function(r){t._emitError(r)})};G.prototype.write=function(e){this.emit("data",e)};G.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};G.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")};G.prototype.end=function(){this._reset(),this.emit("end")};G.prototype.destroy=function(){this._reset(),this.emit("close")};G.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};G.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}};G.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(t){t.dataSize&&(e.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)};G.prototype._emitError=function(e){this._reset(),this.emit("error",e)}});var Wi=E((xA,Hi)=>{"use strict";Hi.exports={"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dat"]},"application/msword":{source:"iana",extensions:["doc"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",extensions:["docx"]},"application/vnd.ms-excel":{source:"iana",extensions:["xls"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",extensions:["xlsx"]},"application/vnd.ms-powerpoint":{source:"iana",extensions:["ppt"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",extensions:["pptx"]},"application/csv":{compressible:!0,extensions:["csv"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"text/plain":{source:"iana",compressible:!0,charset:"UTF-8",extensions:["txt","text","log"]},"text/html":{source:"iana",compressible:!0,charset:"UTF-8",extensions:["html","htm"]},"text/css":{source:"iana",compressible:!0,charset:"UTF-8",extensions:["css"]},"text/csv":{source:"iana",compressible:!0,charset:"UTF-8",extensions:["csv"]},"text/markdown":{source:"iana",compressible:!0,charset:"UTF-8",extensions:["md","markdown"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/webp":{source:"apache",compressible:!1,extensions:["webp"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tiff","tif"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/heic":{source:"iana",compressible:!1,extensions:["heic"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mp3","mpga"]},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/ogg":{source:"iana",compressible:!1,extensions:["ogg","oga"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","m4v"]},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg"]},"video/webm":{source:"iana",compressible:!1,extensions:["webm"]},"video/quicktime":{source:"iana",compressible:!1,extensions:["mov","qt"]},"video/x-msvideo":{source:"iana",compressible:!1,extensions:["avi"]},"font/woff":{source:"iana",compressible:!1,extensions:["woff"]},"font/woff2":{source:"iana",compressible:!1,extensions:["woff2"]},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"multipart/form-data":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/ics":{compressible:!0,extensions:["ics"]},"text/calendar":{source:"iana",compressible:!0,extensions:["ics","ifb"]},"application/x-ndjson":{compressible:!0,extensions:["ndjson"]}}});var Ki=E(te=>{"use strict";var Jt=Wi(),Fl=require("path").extname,Gi=/^\s*([^;\s]*)(?:;|\s|$)/,Bl=/^text\//i;te.charset=qi;te.charsets={lookup:qi};te.contentType=Zl;te.extension=Vl;te.extensions=Object.create(null);te.lookup=Hl;te.types=Object.create(null);Wl(te.extensions,te.types);function qi(e){if(!e||typeof e!="string")return!1;var t=Gi.exec(e),r=t&&Jt[t[1].toLowerCase()];return r&&r.charset?r.charset:t&&Bl.test(t[1])?"UTF-8":!1}o(qi,"charset");function Zl(e){if(!e||typeof e!="string")return!1;var t=e.indexOf("/")===-1?te.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var r=te.charset(t);r&&(t+="; charset="+r.toLowerCase())}return t}o(Zl,"contentType");function Vl(e){if(!e||typeof e!="string")return!1;var t=Gi.exec(e),r=t&&te.extensions[t[1].toLowerCase()];return!r||!r.length?!1:r[0]}o(Vl,"extension");function Hl(e){if(!e||typeof e!="string")return!1;var t=Fl("x."+e).toLowerCase().substr(1);return t&&te.types[t]||!1}o(Hl,"lookup");function Wl(e,t){var r=["nginx","apache",void 0,"iana"];Object.keys(Jt).forEach(o(function(i){var u=Jt[i],c=u.extensions;if(!(!c||!c.length)){e[i]=c;for(var l=0;l<c.length;l++){var f=c[l];if(t[f]){var g=r.indexOf(Jt[t[f]].source),x=r.indexOf(u.source);if(t[f]!=="application/octet-stream"&&(g>x||g===x&&t[f].substr(0,12)==="application/"))continue}t[f]=i}}},"forEachMimeType"))}o(Wl,"populateMaps")});var Xi=E((bA,Ji)=>{Ji.exports=Gl;function Gl(e){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;t?t(e):setTimeout(e,0)}o(Gl,"defer")});var Hr=E((TA,Qi)=>{var Yi=Xi();Qi.exports=ql;function ql(e){var t=!1;return Yi(function(){t=!0}),o(function(n,i){t?e(n,i):Yi(o(function(){e(n,i)},"nextTick_callback"))},"async_callback")}o(ql,"async")});var Wr=E((SA,ea)=>{ea.exports=Kl;function Kl(e){Object.keys(e.jobs).forEach(Jl.bind(e)),e.jobs={}}o(Kl,"abort");function Jl(e){typeof this.jobs[e]=="function"&&this.jobs[e]()}o(Jl,"clean")});var Gr=E((AA,ra)=>{var ta=Hr(),Xl=Wr();ra.exports=Yl;function Yl(e,t,r,n){var i=r.keyedList?r.keyedList[r.index]:r.index;r.jobs[i]=Ql(t,i,e[i],function(u,c){i in r.jobs&&(delete r.jobs[i],u?Xl(r):r.results[i]=c,n(u,r.results))})}o(Yl,"iterate");function Ql(e,t,r,n){var i;return e.length==2?i=e(r,ta(n)):i=e(r,t,ta(n)),i}o(Ql,"runJob")});var qr=E((kA,na)=>{na.exports=ep;function ep(e,t){var r=!Array.isArray(e),n={index:0,keyedList:r||t?Object.keys(e):null,jobs:{},results:r?{}:[],size:r?Object.keys(e).length:e.length};return t&&n.keyedList.sort(r?t:function(i,u){return t(e[i],e[u])}),n}o(ep,"state")});var Kr=E((wA,oa)=>{var tp=Wr(),rp=Hr();oa.exports=np;function np(e){Object.keys(this.jobs).length&&(this.index=this.size,tp(this),rp(e)(null,this.results))}o(np,"terminator")});var aa=E((NA,ia)=>{var op=Gr(),ip=qr(),ap=Kr();ia.exports=sp;function sp(e,t,r){for(var n=ip(e);n.index<(n.keyedList||e).length;)op(e,t,n,function(i,u){if(i){r(i,u);return}if(Object.keys(n.jobs).length===0){r(null,n.results);return}}),n.index++;return ap.bind(n,r)}o(sp,"parallel")});var Jr=E((CA,Xt)=>{var sa=Gr(),up=qr(),cp=Kr();Xt.exports=lp;Xt.exports.ascending=ua;Xt.exports.descending=pp;function lp(e,t,r,n){var i=up(e,r);return sa(e,t,i,o(function u(c,l){if(c){n(c,l);return}if(i.index++,i.index<(i.keyedList||e).length){sa(e,t,i,u);return}n(null,i.results)},"iteratorHandler")),cp.bind(i,n)}o(lp,"serialOrdered");function ua(e,t){return e<t?-1:e>t?1:0}o(ua,"ascending");function pp(e,t){return-1*ua(e,t)}o(pp,"descending")});var la=E((MA,ca)=>{var dp=Jr();ca.exports=mp;function mp(e,t,r){return dp(e,t,null,r)}o(mp,"serial")});var da=E((jA,pa)=>{pa.exports={parallel:aa(),serial:la(),serialOrdered:Jr()}});var Xr=E((FA,ma)=>{"use strict";ma.exports=Object});var ga=E((BA,fa)=>{"use strict";fa.exports=Error});var ha=E((ZA,ya)=>{"use strict";ya.exports=EvalError});var xa=E((VA,va)=>{"use strict";va.exports=RangeError});var Pa=E((HA,_a)=>{"use strict";_a.exports=ReferenceError});var Ia=E((WA,ba)=>{"use strict";ba.exports=SyntaxError});var Yt=E((GA,Ta)=>{"use strict";Ta.exports=TypeError});var Sa=E((qA,Ea)=>{"use strict";Ea.exports=URIError});var Aa=E((KA,$a)=>{"use strict";$a.exports=Math.abs});var ka=E((JA,za)=>{"use strict";za.exports=Math.floor});var wa=E((XA,Oa)=>{"use strict";Oa.exports=Math.max});var Na=E((YA,Ra)=>{"use strict";Ra.exports=Math.min});var Ca=E((QA,Da)=>{"use strict";Da.exports=Math.pow});var Ma=E((ez,Ua)=>{"use strict";Ua.exports=Math.round});var ja=E((tz,La)=>{"use strict";La.exports=Number.isNaN||o(function(t){return t!==t},"isNaN")});var Ba=E((nz,Fa)=>{"use strict";var fp=ja();Fa.exports=o(function(t){return fp(t)||t===0?t:t<0?-1:1},"sign")});var Va=E((iz,Za)=>{"use strict";Za.exports=Object.getOwnPropertyDescriptor});var Yr=E((az,Ha)=>{"use strict";var Qt=Va();if(Qt)try{Qt([],"length")}catch{Qt=null}Ha.exports=Qt});var Ga=E((sz,Wa)=>{"use strict";var er=Object.defineProperty||!1;if(er)try{er({},"a",{value:1})}catch{er=!1}Wa.exports=er});var Qr=E((uz,qa)=>{"use strict";qa.exports=o(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(var u in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var c=Object.getOwnPropertySymbols(t);if(c.length!==1||c[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(t,r);if(l.value!==i||l.enumerable!==!0)return!1}return!0},"hasSymbols")});var Xa=E((lz,Ja)=>{"use strict";var Ka=typeof Symbol<"u"&&Symbol,gp=Qr();Ja.exports=o(function(){return typeof Ka!="function"||typeof Symbol!="function"||typeof Ka("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:gp()},"hasNativeSymbols")});var en=E((dz,Ya)=>{"use strict";Ya.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var tn=E((mz,Qa)=>{"use strict";var yp=Xr();Qa.exports=yp.getPrototypeOf||null});var rs=E((fz,ts)=>{"use strict";var hp="Function.prototype.bind called on incompatible ",vp=Object.prototype.toString,xp=Math.max,_p="[object Function]",es=o(function(t,r){for(var n=[],i=0;i<t.length;i+=1)n[i]=t[i];for(var u=0;u<r.length;u+=1)n[u+t.length]=r[u];return n},"concatty"),Pp=o(function(t,r){for(var n=[],i=r||0,u=0;i<t.length;i+=1,u+=1)n[u]=t[i];return n},"slicy"),bp=o(function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r},"joiny");ts.exports=o(function(t){var r=this;if(typeof r!="function"||vp.apply(r)!==_p)throw new TypeError(hp+r);for(var n=Pp(arguments,1),i,u=o(function(){if(this instanceof i){var x=r.apply(this,es(n,arguments));return Object(x)===x?x:this}return r.apply(t,es(n,arguments))},"binder"),c=xp(0,r.length-n.length),l=[],f=0;f<c;f++)l[f]="$"+f;if(i=Function("binder","return function ("+bp(l,",")+"){ return binder.apply(this,arguments); }")(u),r.prototype){var g=o(function(){},"Empty");g.prototype=r.prototype,i.prototype=new g,g.prototype=null}return i},"bind")});var Be=E((yz,ns)=>{"use strict";var Ip=rs();ns.exports=Function.prototype.bind||Ip});var tr=E((hz,os)=>{"use strict";os.exports=Function.prototype.call});var rn=E((vz,is)=>{"use strict";is.exports=Function.prototype.apply});var ss=E((xz,as)=>{"use strict";as.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var cs=E((_z,us)=>{"use strict";var Tp=Be(),Ep=rn(),Sp=tr(),$p=ss();us.exports=$p||Tp.call(Sp,Ep)});var ps=E((Pz,ls)=>{"use strict";var Ap=Be(),zp=Yt(),kp=tr(),Op=cs();ls.exports=o(function(t){if(t.length<1||typeof t[0]!="function")throw new zp("a function is required");return Op(Ap,kp,t)},"callBindBasic")});var hs=E((Iz,ys)=>{"use strict";var wp=ps(),ds=Yr(),fs;try{fs=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var nn=!!fs&&ds&&ds(Object.prototype,"__proto__"),gs=Object,ms=gs.getPrototypeOf;ys.exports=nn&&typeof nn.get=="function"?wp([nn.get]):typeof ms=="function"?o(function(t){return ms(t==null?t:gs(t))},"getDunder"):!1});var bs=E((Ez,Ps)=>{"use strict";var vs=en(),xs=tn(),_s=hs();Ps.exports=vs?o(function(t){return vs(t)},"getProto"):xs?o(function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return xs(t)},"getProto"):_s?o(function(t){return _s(t)},"getProto"):null});var on=E(($z,Is)=>{"use strict";var Rp=Function.prototype.call,Np=Object.prototype.hasOwnProperty,Dp=Be();Is.exports=Dp.call(Rp,Np)});var ks=E((Az,zs)=>{"use strict";var M,Cp=Xr(),Up=ga(),Mp=ha(),Lp=xa(),jp=Pa(),We=Ia(),He=Yt(),Fp=Sa(),Bp=Aa(),Zp=ka(),Vp=wa(),Hp=Na(),Wp=Ca(),Gp=Ma(),qp=Ba(),$s=Function,an=o(function(e){try{return $s('"use strict"; return ('+e+").constructor;")()}catch{}},"getEvalledConstructor"),yt=Yr(),Kp=Ga(),sn=o(function(){throw new He},"throwTypeError"),Jp=yt?(function(){try{return arguments.callee,sn}catch{try{return yt(arguments,"callee").get}catch{return sn}}})():sn,Ze=Xa()(),X=bs(),Xp=tn(),Yp=en(),As=rn(),ht=tr(),Ve={},Qp=typeof Uint8Array>"u"||!X?M:X(Uint8Array),Ne={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?M:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?M:ArrayBuffer,"%ArrayIteratorPrototype%":Ze&&X?X([][Symbol.iterator]()):M,"%AsyncFromSyncIteratorPrototype%":M,"%AsyncFunction%":Ve,"%AsyncGenerator%":Ve,"%AsyncGeneratorFunction%":Ve,"%AsyncIteratorPrototype%":Ve,"%Atomics%":typeof Atomics>"u"?M:Atomics,"%BigInt%":typeof BigInt>"u"?M:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?M:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?M:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?M:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Up,"%eval%":eval,"%EvalError%":Mp,"%Float16Array%":typeof Float16Array>"u"?M:Float16Array,"%Float32Array%":typeof Float32Array>"u"?M:Float32Array,"%Float64Array%":typeof Float64Array>"u"?M:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?M:FinalizationRegistry,"%Function%":$s,"%GeneratorFunction%":Ve,"%Int8Array%":typeof Int8Array>"u"?M:Int8Array,"%Int16Array%":typeof Int16Array>"u"?M:Int16Array,"%Int32Array%":typeof Int32Array>"u"?M:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Ze&&X?X(X([][Symbol.iterator]())):M,"%JSON%":typeof JSON=="object"?JSON:M,"%Map%":typeof Map>"u"?M:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Ze||!X?M:X(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Cp,"%Object.getOwnPropertyDescriptor%":yt,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?M:Promise,"%Proxy%":typeof Proxy>"u"?M:Proxy,"%RangeError%":Lp,"%ReferenceError%":jp,"%Reflect%":typeof Reflect>"u"?M:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?M:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Ze||!X?M:X(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?M:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Ze&&X?X(""[Symbol.iterator]()):M,"%Symbol%":Ze?Symbol:M,"%SyntaxError%":We,"%ThrowTypeError%":Jp,"%TypedArray%":Qp,"%TypeError%":He,"%Uint8Array%":typeof Uint8Array>"u"?M:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?M:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?M:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?M:Uint32Array,"%URIError%":Fp,"%WeakMap%":typeof WeakMap>"u"?M:WeakMap,"%WeakRef%":typeof WeakRef>"u"?M:WeakRef,"%WeakSet%":typeof WeakSet>"u"?M:WeakSet,"%Function.prototype.call%":ht,"%Function.prototype.apply%":As,"%Object.defineProperty%":Kp,"%Object.getPrototypeOf%":Xp,"%Math.abs%":Bp,"%Math.floor%":Zp,"%Math.max%":Vp,"%Math.min%":Hp,"%Math.pow%":Wp,"%Math.round%":Gp,"%Math.sign%":qp,"%Reflect.getPrototypeOf%":Yp};if(X)try{null.error}catch(e){Ts=X(X(e)),Ne["%Error.prototype%"]=Ts}var Ts,ed=o(function e(t){var r;if(t==="%AsyncFunction%")r=an("async function () {}");else if(t==="%GeneratorFunction%")r=an("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=an("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&X&&(r=X(i.prototype))}return Ne[t]=r,r},"doEval"),Es={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},vt=Be(),rr=on(),td=vt.call(ht,Array.prototype.concat),rd=vt.call(As,Array.prototype.splice),Ss=vt.call(ht,String.prototype.replace),nr=vt.call(ht,String.prototype.slice),nd=vt.call(ht,RegExp.prototype.exec),od=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,id=/\\(\\)?/g,ad=o(function(t){var r=nr(t,0,1),n=nr(t,-1);if(r==="%"&&n!=="%")throw new We("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new We("invalid intrinsic syntax, expected opening `%`");var i=[];return Ss(t,od,function(u,c,l,f){i[i.length]=l?Ss(f,id,"$1"):c||u}),i},"stringToPath"),sd=o(function(t,r){var n=t,i;if(rr(Es,n)&&(i=Es[n],n="%"+i[0]+"%"),rr(Ne,n)){var u=Ne[n];if(u===Ve&&(u=ed(n)),typeof u>"u"&&!r)throw new He("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:u}}throw new We("intrinsic "+t+" does not exist!")},"getBaseIntrinsic");zs.exports=o(function(t,r){if(typeof t!="string"||t.length===0)throw new He("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new He('"allowMissing" argument must be a boolean');if(nd(/^%?[^%]*%?$/,t)===null)throw new We("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=ad(t),i=n.length>0?n[0]:"",u=sd("%"+i+"%",r),c=u.name,l=u.value,f=!1,g=u.alias;g&&(i=g[0],rd(n,td([0,1],g)));for(var x=1,I=!0;x<n.length;x+=1){var _=n[x],s=nr(_,0,1),d=nr(_,-1);if((s==='"'||s==="'"||s==="`"||d==='"'||d==="'"||d==="`")&&s!==d)throw new We("property names with quotes must have matching quotes");if((_==="constructor"||!I)&&(f=!0),i+="."+_,c="%"+i+"%",rr(Ne,c))l=Ne[c];else if(l!=null){if(!(_ in l)){if(!r)throw new He("base intrinsic for "+t+" exists, but the property is not available.");return}if(yt&&x+1>=n.length){var y=yt(l,_);I=!!y,I&&"get"in y&&!("originalValue"in y.get)?l=y.get:l=l[_]}else I=rr(l,_),l=l[_];I&&!f&&(Ne[c]=l)}}return l},"GetIntrinsic")});var ws=E((kz,Os)=>{"use strict";var ud=Qr();Os.exports=o(function(){return ud()&&!!Symbol.toStringTag},"hasToStringTagShams")});var Ds=E((wz,Ns)=>{"use strict";var cd=ks(),Rs=cd("%Object.defineProperty%",!0),ld=ws()(),pd=on(),dd=Yt(),or=ld?Symbol.toStringTag:null;Ns.exports=o(function(t,r){var n=arguments.length>2&&!!arguments[2]&&arguments[2].force,i=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof n<"u"&&typeof n!="boolean"||typeof i<"u"&&typeof i!="boolean")throw new dd("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");or&&(n||!pd(t,or))&&(Rs?Rs(t,or,{configurable:!i,enumerable:!1,value:r,writable:!1}):t[or]=r)},"setToStringTag")});var Us=E((Nz,Cs)=>{"use strict";var md=Function.prototype.call,fd=Object.prototype.hasOwnProperty,gd=Be();Cs.exports=gd.call(md,fd)});var Ls=E((Dz,Ms)=>{"use strict";Ms.exports=function(e,t){return Object.keys(t).forEach(function(r){e[r]=e[r]||t[r]}),e}});var Bs=E((Cz,Fs)=>{"use strict";var pn=Vi(),yd=require("util"),un=require("path"),hd=require("http"),vd=require("https"),xd=require("url").parse,_d=require("fs"),Pd=require("stream").Stream,bd=require("crypto"),cn=Ki(),Id=da(),Td=Ds(),Ae=Us(),ln=Ls();function js(e){return String(e).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22")}o(js,"escapeHeaderParam");function j(e){if(!(this instanceof j))return new j(e);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],pn.call(this),e=e||{};for(var t in e)this[t]=e[t]}o(j,"FormData");yd.inherits(j,pn);j.LINE_BREAK=`\r
|
|
2
|
+
`;j.DEFAULT_CONTENT_TYPE="application/octet-stream";j.prototype.append=function(e,t,r){r=r||{},typeof r=="string"&&(r={filename:r});var n=pn.prototype.append.bind(this);if((typeof t=="number"||t==null)&&(t=String(t)),Array.isArray(t)){this._error(new Error("Arrays are not supported."));return}var i=this._multiPartHeader(e,t,r),u=this._multiPartFooter();n(i),n(t),n(u),this._trackLength(i,t,r)};j.prototype._trackLength=function(e,t,r){var n=0;r.knownLength!=null?n+=Number(r.knownLength):Buffer.isBuffer(t)?n=t.length:typeof t=="string"&&(n=Buffer.byteLength(t)),this._valueLength+=n,this._overheadLength+=Buffer.byteLength(e)+j.LINE_BREAK.length,!(!t||!t.path&&!(t.readable&&Ae(t,"httpVersion"))&&!(t instanceof Pd))&&(r.knownLength||this._valuesToMeasure.push(t))};j.prototype._lengthRetriever=function(e,t){Ae(e,"fd")?e.end!=null&&e.end!=1/0&&e.start!=null?t(null,e.end+1-(e.start?e.start:0)):_d.stat(e.path,function(r,n){if(r){t(r);return}var i=n.size-(e.start?e.start:0);t(null,i)}):Ae(e,"httpVersion")?t(null,Number(e.headers["content-length"])):Ae(e,"httpModule")?(e.on("response",function(r){e.pause(),t(null,Number(r.headers["content-length"]))}),e.resume()):t("Unknown stream")};j.prototype._multiPartHeader=function(e,t,r){if(typeof r.header=="string")return r.header;var n=this._getContentDisposition(t,r),i=this._getContentType(t,r),u="",c={"Content-Disposition":["form-data",'name="'+js(e)+'"'].concat(n||[]),"Content-Type":[].concat(i||[])};typeof r.header=="object"&&ln(c,r.header);var l;for(var f in c)if(Ae(c,f)){if(l=c[f],l==null)continue;Array.isArray(l)||(l=[l]),l.length&&(u+=f+": "+l.join("; ")+j.LINE_BREAK)}return"--"+this.getBoundary()+j.LINE_BREAK+u+j.LINE_BREAK};j.prototype._getContentDisposition=function(e,t){var r;if(typeof t.filepath=="string"?r=un.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e&&(e.name||e.path)?r=un.basename(t.filename||e&&(e.name||e.path)):e&&e.readable&&Ae(e,"httpVersion")&&(r=un.basename(e.client._httpMessage.path||"")),r)return'filename="'+js(r)+'"'};j.prototype._getContentType=function(e,t){var r=t.contentType;return!r&&e&&e.name&&(r=cn.lookup(e.name)),!r&&e&&e.path&&(r=cn.lookup(e.path)),!r&&e&&e.readable&&Ae(e,"httpVersion")&&(r=e.headers["content-type"]),!r&&(t.filepath||t.filename)&&(r=cn.lookup(t.filepath||t.filename)),!r&&e&&typeof e=="object"&&(r=j.DEFAULT_CONTENT_TYPE),r};j.prototype._multiPartFooter=function(){return function(e){var t=j.LINE_BREAK,r=this._streams.length===0;r&&(t+=this._lastBoundary()),e(t)}.bind(this)};j.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+j.LINE_BREAK};j.prototype.getHeaders=function(e){var t,r={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)Ae(e,t)&&(r[t.toLowerCase()]=e[t]);return r};j.prototype.setBoundary=function(e){if(typeof e!="string")throw new TypeError("FormData boundary must be a string");this._boundary=e};j.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};j.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),r=0,n=this._streams.length;r<n;r++)typeof this._streams[r]!="function"&&(Buffer.isBuffer(this._streams[r])?e=Buffer.concat([e,this._streams[r]]):e=Buffer.concat([e,Buffer.from(this._streams[r])]),(typeof this._streams[r]!="string"||this._streams[r].substring(2,t.length+2)!==t)&&(e=Buffer.concat([e,Buffer.from(j.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])};j.prototype._generateBoundary=function(){this._boundary="--------------------------"+bd.randomBytes(12).toString("hex")};j.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e};j.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e};j.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;if(this._streams.length&&(t+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(e.bind(this,null,t));return}Id.parallel(this._valuesToMeasure,this._lengthRetriever,function(r,n){if(r){e(r);return}n.forEach(function(i){t+=i}),e(null,t)})};j.prototype.submit=function(e,t){var r,n,i={method:"post"};return typeof e=="string"?(e=xd(e),n=ln({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},i)):(n=ln(e,i),n.port||(n.port=n.protocol==="https:"?443:80)),n.headers=this.getHeaders(e.headers),n.protocol==="https:"?r=vd.request(n):r=hd.request(n),this.getLength(function(u,c){if(u&&u!=="Unknown stream"){this._error(u);return}if(c&&r.setHeader("Content-Length",c),this.pipe(r),t){var l,f=o(function(g,x){return r.removeListener("error",f),r.removeListener("response",l),t.call(this,g,x)},"callback");l=f.bind(this,null),r.on("error",f),r.on("response",l)}}.bind(this)),r};j.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))};j.prototype.toString=function(){return"[object FormData]"};Td(j.prototype,"FormData");Fs.exports=j});var Nd={};gn(Nd,{skyvernSelfHosted:()=>Rd});module.exports=ou(Nd);var iu=Object.freeze({status:"aborted"});function b(e,t,r){function n(l,f){if(l._zod||Object.defineProperty(l,"_zod",{value:{def:f,constr:c,traits:new Set},enumerable:!1}),l._zod.traits.has(e))return;l._zod.traits.add(e),t(l,f);let g=c.prototype,x=Object.keys(g);for(let I=0;I<x.length;I++){let _=x[I];_ in l||(l[_]=g[_].bind(l))}}o(n,"init");let i=r?.Parent??Object;class u extends i{static{o(this,"Definition")}}Object.defineProperty(u,"name",{value:e});function c(l){var f;let g=r?.Parent?new u:this;n(g,l),(f=g._zod).deferred??(f.deferred=[]);for(let x of g._zod.deferred)x();return g}return o(c,"_"),Object.defineProperty(c,"init",{value:n}),Object.defineProperty(c,Symbol.hasInstance,{value:o(l=>r?.Parent&&l instanceof r.Parent?!0:l?._zod?.traits?.has(e),"value")}),Object.defineProperty(c,"name",{value:e}),c}o(b,"$constructor");var le=class extends Error{static{o(this,"$ZodAsyncError")}constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},bt=class extends Error{static{o(this,"$ZodEncodeError")}constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}},ar={};function fe(e){return e&&Object.assign(ar,e),ar}o(fe,"config");function ur(e){let t=Object.values(e).filter(n=>typeof n=="number");return Object.entries(e).filter(([n,i])=>t.indexOf(+n)===-1).map(([n,i])=>i)}o(ur,"getEnumValues");function vn(e,t){return typeof t=="bigint"?t.toString():t}o(vn,"jsonStringifyReplacer");function Tt(e){return{get value(){{let r=e();return Object.defineProperty(this,"value",{value:r}),r}throw new Error("cached value already set")}}}o(Tt,"cached");function xn(e){return e==null}o(xn,"nullish");function Et(e){let t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}o(Et,"cleanRegex");var hn=Symbol("evaluating");function q(e,t,r){let n;Object.defineProperty(e,t,{get(){if(n!==hn)return n===void 0&&(n=hn,n=r()),n},set(i){Object.defineProperty(e,t,{value:i})},configurable:!0})}o(q,"defineLazy");var cr="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Ke(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}o(Ke,"isObject");var au=Tt(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});function _n(e){if(Ke(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!="function")return!0;let r=t.prototype;return!(Ke(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}o(_n,"isPlainObject");var Pn=new Set(["string","number","symbol"]);function Ce(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}o(Ce,"escapeRegex");function St(e,t,r){let n=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(n._zod.parent=e),n}o(St,"clone");function Z(e){let t=e;if(!t)return{};if(typeof t=="string")return{error:o(()=>t,"error")};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:o(()=>t.error,"error")}:t}o(Z,"normalizeParams");function bn(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}o(bn,"optionalKeys");var In={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function Ue(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}o(Ue,"aborted");function _e(e,t){return t.map(r=>{var n;return(n=r).path??(n.path=[]),r.path.unshift(e),r})}o(_e,"prefixIssues");function It(e){return typeof e=="string"?e:e?.message}o(It,"unwrapMessage");function Pe(e,t,r){let n={...e,path:e.path??[]};if(!e.message){let i=It(e.inst?._zod.def?.error?.(e))??It(t?.error?.(e))??It(r.customError?.(e))??It(r.localeError?.(e))??"Invalid input";n.message=i}return delete n.inst,delete n.continue,t?.reportInput||delete n.input,n}o(Pe,"finalizeIssue");function Tn(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}o(Tn,"getLengthableOrigin");function lr(...e){let[t,r,n]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:n}:{...t}}o(lr,"issue");var En=o((e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,vn,2),Object.defineProperty(e,"toString",{value:o(()=>e.message,"value"),enumerable:!1})},"initializer"),Sn=b("$ZodError",En),Je=b("$ZodError",En,{Parent:Error});var uu=o(e=>(t,r,n,i)=>{let u=n?Object.assign(n,{async:!1}):{async:!1},c=t._zod.run({value:r,issues:[]},u);if(c instanceof Promise)throw new le;if(c.issues.length){let l=new(i?.Err??e)(c.issues.map(f=>Pe(f,u,fe())));throw cr(l,i?.callee),l}return c.value},"_parse"),$t=uu(Je),cu=o(e=>async(t,r,n,i)=>{let u=n?Object.assign(n,{async:!0}):{async:!0},c=t._zod.run({value:r,issues:[]},u);if(c instanceof Promise&&(c=await c),c.issues.length){let l=new(i?.Err??e)(c.issues.map(f=>Pe(f,u,fe())));throw cr(l,i?.callee),l}return c.value},"_parseAsync"),At=cu(Je),lu=o(e=>(t,r,n)=>{let i=n?{...n,async:!1}:{async:!1},u=t._zod.run({value:r,issues:[]},i);if(u instanceof Promise)throw new le;return u.issues.length?{success:!1,error:new(e??Sn)(u.issues.map(c=>Pe(c,i,fe())))}:{success:!0,data:u.value}},"_safeParse"),Xe=lu(Je),pu=o(e=>async(t,r,n)=>{let i=n?Object.assign(n,{async:!0}):{async:!0},u=t._zod.run({value:r,issues:[]},i);return u instanceof Promise&&(u=await u),u.issues.length?{success:!1,error:new e(u.issues.map(c=>Pe(c,i,fe())))}:{success:!0,data:u.value}},"_safeParseAsync"),Ye=pu(Je);var du="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",mu=new RegExp(`^${du}$`);var $n=o(e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},"string"),An=/^-?\d+n?$/,zn=/^-?\d+$/,pr=/^-?\d+(?:\.\d+)?$/,kn=/^(?:true|false)$/i;var be=b("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),fu={number:"number",bigint:"bigint",object:"date"};var On=b("$ZodCheckGreaterThan",(e,t)=>{be.init(e,t);let r=fu[typeof t.value];e._zod.onattach.push(n=>{let i=n._zod.bag,u=(t.inclusive?i.minimum:i.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>u&&(t.inclusive?i.minimum=t.value:i.exclusiveMinimum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value>=t.value:n.value>t.value)||n.issues.push({origin:r,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}});var wn=b("$ZodCheckNumberFormat",(e,t)=>{be.init(e,t),t.format=t.format||"float64";let r=t.format?.includes("int"),n=r?"int":"number",[i,u]=In[t.format];e._zod.onattach.push(c=>{let l=c._zod.bag;l.format=t.format,l.minimum=i,l.maximum=u,r&&(l.pattern=zn)}),e._zod.check=c=>{let l=c.value;if(r){if(!Number.isInteger(l)){c.issues.push({expected:n,format:t.format,code:"invalid_type",continue:!1,input:l,inst:e});return}if(!Number.isSafeInteger(l)){l>0?c.issues.push({input:l,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort}):c.issues.push({input:l,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort});return}}l<i&&c.issues.push({origin:"number",input:l,code:"too_small",minimum:i,inclusive:!0,inst:e,continue:!t.abort}),l>u&&c.issues.push({origin:"number",input:l,code:"too_big",maximum:u,inclusive:!0,inst:e,continue:!t.abort})}});var Rn=b("$ZodCheckMinLength",(e,t)=>{var r;be.init(e,t),(r=e._zod.def).when??(r.when=n=>{let i=n.value;return!xn(i)&&i.length!==void 0}),e._zod.onattach.push(n=>{let i=n._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>i&&(n._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let i=n.value;if(i.length>=t.minimum)return;let c=Tn(i);n.issues.push({origin:c,code:"too_small",minimum:t.minimum,inclusive:!0,input:i,inst:e,continue:!t.abort})}});var dr=b("$ZodCheckStringFormat",(e,t)=>{var r,n;be.init(e,t),e._zod.onattach.push(i=>{let u=i._zod.bag;u.format=t.format,t.pattern&&(u.patterns??(u.patterns=new Set),u.patterns.add(t.pattern))}),t.pattern?(r=e._zod).check??(r.check=i=>{t.pattern.lastIndex=0,!t.pattern.test(i.value)&&i.issues.push({origin:"string",code:"invalid_format",format:t.format,input:i.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(n=e._zod).check??(n.check=()=>{})}),Nn=b("$ZodCheckRegex",(e,t)=>{dr.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}});var Cn={major:4,minor:3,patch:6};var H=b("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Cn;let n=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&n.unshift(e);for(let i of n)for(let u of i._zod.onattach)u(e);if(n.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let i=o((c,l,f)=>{let g=Ue(c),x;for(let I of l){if(I._zod.def.when){if(!I._zod.def.when(c))continue}else if(g)continue;let _=c.issues.length,s=I._zod.check(c);if(s instanceof Promise&&f?.async===!1)throw new le;if(x||s instanceof Promise)x=(x??Promise.resolve()).then(async()=>{await s,c.issues.length!==_&&(g||(g=Ue(c,_)))});else{if(c.issues.length===_)continue;g||(g=Ue(c,_))}}return x?x.then(()=>c):c},"runChecks"),u=o((c,l,f)=>{if(Ue(c))return c.aborted=!0,c;let g=i(l,n,f);if(g instanceof Promise){if(f.async===!1)throw new le;return g.then(x=>e._zod.parse(x,f))}return e._zod.parse(g,f)},"handleCanaryResult");e._zod.run=(c,l)=>{if(l.skipChecks)return e._zod.parse(c,l);if(l.direction==="backward"){let g=e._zod.parse({value:c.value,issues:[]},{...l,skipChecks:!0});return g instanceof Promise?g.then(x=>u(x,c,l)):u(g,c,l)}let f=e._zod.parse(c,l);if(f instanceof Promise){if(l.async===!1)throw new le;return f.then(g=>i(g,n,l))}return i(f,n,l)}}q(e,"~standard",()=>({validate:o(i=>{try{let u=Xe(e,i);return u.success?{value:u.data}:{issues:u.error?.issues}}catch{return Ye(e,i).then(c=>c.success?{value:c.data}:{issues:c.error?.issues})}},"validate"),vendor:"zod",version:1}))}),Ot=b("$ZodString",(e,t)=>{H.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??$n(e._zod.bag),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),mr=b("$ZodStringFormat",(e,t)=>{dr.init(e,t),Ot.init(e,t)});var Fn=b("$ZodURL",(e,t)=>{mr.init(e,t),e._zod.check=r=>{try{let n=r.value.trim(),i=new URL(n);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(":")?i.protocol.slice(0,-1):i.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),t.normalize?r.value=i.href:r.value=n;return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}});var fr=b("$ZodNumber",(e,t)=>{H.init(e,t),e._zod.pattern=e._zod.bag.pattern??pr,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=Number(r.value)}catch{}let i=r.value;if(typeof i=="number"&&!Number.isNaN(i)&&Number.isFinite(i))return r;let u=typeof i=="number"?Number.isNaN(i)?"NaN":Number.isFinite(i)?void 0:"Infinity":void 0;return r.issues.push({expected:"number",code:"invalid_type",input:i,inst:e,...u?{received:u}:{}}),r}}),Bn=b("$ZodNumberFormat",(e,t)=>{wn.init(e,t),fr.init(e,t)}),gr=b("$ZodBoolean",(e,t)=>{H.init(e,t),e._zod.pattern=kn,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=!!r.value}catch{}let i=r.value;return typeof i=="boolean"||r.issues.push({expected:"boolean",code:"invalid_type",input:i,inst:e}),r}}),Zn=b("$ZodBigInt",(e,t)=>{H.init(e,t),e._zod.pattern=An,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=BigInt(r.value)}catch{}return typeof r.value=="bigint"||r.issues.push({expected:"bigint",code:"invalid_type",input:r.value,inst:e}),r}});var Vn=b("$ZodAny",(e,t)=>{H.init(e,t),e._zod.parse=r=>r}),Hn=b("$ZodUnknown",(e,t)=>{H.init(e,t),e._zod.parse=r=>r});var Wn=b("$ZodVoid",(e,t)=>{H.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;return typeof i>"u"||r.issues.push({expected:"void",code:"invalid_type",input:i,inst:e}),r}}),Gn=b("$ZodDate",(e,t)=>{H.init(e,t),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=new Date(r.value)}catch{}let i=r.value,u=i instanceof Date;return u&&!Number.isNaN(i.getTime())||r.issues.push({expected:"date",code:"invalid_type",input:i,...u?{received:"Invalid Date"}:{},inst:e}),r}});function Un(e,t,r){e.issues.length&&t.issues.push(..._e(r,e.issues)),t.value[r]=e.value}o(Un,"handleArrayResult");var qn=b("$ZodArray",(e,t)=>{H.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;if(!Array.isArray(i))return r.issues.push({expected:"array",code:"invalid_type",input:i,inst:e}),r;r.value=Array(i.length);let u=[];for(let c=0;c<i.length;c++){let l=i[c],f=t.element._zod.run({value:l,issues:[]},n);f instanceof Promise?u.push(f.then(g=>Un(g,r,c))):Un(f,r,c)}return u.length?Promise.all(u).then(()=>r):r}});function kt(e,t,r,n,i){if(e.issues.length){if(i&&!(r in n))return;t.issues.push(..._e(r,e.issues))}e.value===void 0?r in n&&(t.value[r]=void 0):t.value[r]=e.value}o(kt,"handlePropertyResult");function gu(e){let t=Object.keys(e.shape);for(let n of t)if(!e.shape?.[n]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${n}": expected a Zod schema`);let r=bn(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(r)}}o(gu,"normalizeDef");function yu(e,t,r,n,i,u){let c=[],l=i.keySet,f=i.catchall._zod,g=f.def.type,x=f.optout==="optional";for(let I in t){if(l.has(I))continue;if(g==="never"){c.push(I);continue}let _=f.run({value:t[I],issues:[]},n);_ instanceof Promise?e.push(_.then(s=>kt(s,r,I,t,x))):kt(_,r,I,t,x)}return c.length&&r.issues.push({code:"unrecognized_keys",keys:c,input:t,inst:u}),e.length?Promise.all(e).then(()=>r):r}o(yu,"handleCatchall");var Kn=b("$ZodObject",(e,t)=>{if(H.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){let l=t.shape;Object.defineProperty(t,"shape",{get:o(()=>{let f={...l};return Object.defineProperty(t,"shape",{value:f}),f},"get")})}let n=Tt(()=>gu(t));q(e._zod,"propValues",()=>{let l=t.shape,f={};for(let g in l){let x=l[g]._zod;if(x.values){f[g]??(f[g]=new Set);for(let I of x.values)f[g].add(I)}}return f});let i=Ke,u=t.catchall,c;e._zod.parse=(l,f)=>{c??(c=n.value);let g=l.value;if(!i(g))return l.issues.push({expected:"object",code:"invalid_type",input:g,inst:e}),l;l.value={};let x=[],I=c.shape;for(let _ of c.keys){let s=I[_],d=s._zod.optout==="optional",y=s._zod.run({value:g[_],issues:[]},f);y instanceof Promise?x.push(y.then(m=>kt(m,l,_,g,d))):kt(y,l,_,g,d)}return u?yu(x,g,l,f,n.value,e):x.length?Promise.all(x).then(()=>l):l}});function Mn(e,t,r,n){for(let u of e)if(u.issues.length===0)return t.value=u.value,t;let i=e.filter(u=>!Ue(u));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(u=>u.issues.map(c=>Pe(c,n,fe())))}),t)}o(Mn,"handleUnionResults");var yr=b("$ZodUnion",(e,t)=>{H.init(e,t),q(e._zod,"optin",()=>t.options.some(i=>i._zod.optin==="optional")?"optional":void 0),q(e._zod,"optout",()=>t.options.some(i=>i._zod.optout==="optional")?"optional":void 0),q(e._zod,"values",()=>{if(t.options.every(i=>i._zod.values))return new Set(t.options.flatMap(i=>Array.from(i._zod.values)))}),q(e._zod,"pattern",()=>{if(t.options.every(i=>i._zod.pattern)){let i=t.options.map(u=>u._zod.pattern);return new RegExp(`^(${i.map(u=>Et(u.source)).join("|")})$`)}});let r=t.options.length===1,n=t.options[0]._zod.run;e._zod.parse=(i,u)=>{if(r)return n(i,u);let c=!1,l=[];for(let f of t.options){let g=f._zod.run({value:i.value,issues:[]},u);if(g instanceof Promise)l.push(g),c=!0;else{if(g.issues.length===0)return g;l.push(g)}}return c?Promise.all(l).then(f=>Mn(f,i,e,u)):Mn(l,i,e,u)}});var Jn=b("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,yr.init(e,t);let r=e._zod.parse;q(e._zod,"propValues",()=>{let i={};for(let u of t.options){let c=u._zod.propValues;if(!c||Object.keys(c).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(u)}"`);for(let[l,f]of Object.entries(c)){i[l]||(i[l]=new Set);for(let g of f)i[l].add(g)}}return i});let n=Tt(()=>{let i=t.options,u=new Map;for(let c of i){let l=c._zod.propValues?.[t.discriminator];if(!l||l.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(c)}"`);for(let f of l){if(u.has(f))throw new Error(`Duplicate discriminator value "${String(f)}"`);u.set(f,c)}}return u});e._zod.parse=(i,u)=>{let c=i.value;if(!Ke(c))return i.issues.push({code:"invalid_type",expected:"object",input:c,inst:e}),i;let l=n.value.get(c?.[t.discriminator]);return l?l._zod.run(i,u):t.unionFallback?r(i,u):(i.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:c,path:[t.discriminator],inst:e}),i)}});var Xn=b("$ZodRecord",(e,t)=>{H.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;if(!_n(i))return r.issues.push({expected:"record",code:"invalid_type",input:i,inst:e}),r;let u=[],c=t.keyType._zod.values;if(c){r.value={};let l=new Set;for(let g of c)if(typeof g=="string"||typeof g=="number"||typeof g=="symbol"){l.add(typeof g=="number"?g.toString():g);let x=t.valueType._zod.run({value:i[g],issues:[]},n);x instanceof Promise?u.push(x.then(I=>{I.issues.length&&r.issues.push(..._e(g,I.issues)),r.value[g]=I.value})):(x.issues.length&&r.issues.push(..._e(g,x.issues)),r.value[g]=x.value)}let f;for(let g in i)l.has(g)||(f=f??[],f.push(g));f&&f.length>0&&r.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:f})}else{r.value={};for(let l of Reflect.ownKeys(i)){if(l==="__proto__")continue;let f=t.keyType._zod.run({value:l,issues:[]},n);if(f instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof l=="string"&&pr.test(l)&&f.issues.length){let I=t.keyType._zod.run({value:Number(l),issues:[]},n);if(I instanceof Promise)throw new Error("Async schemas not supported in object keys currently");I.issues.length===0&&(f=I)}if(f.issues.length){t.mode==="loose"?r.value[l]=i[l]:r.issues.push({code:"invalid_key",origin:"record",issues:f.issues.map(I=>Pe(I,n,fe())),input:l,path:[l],inst:e});continue}let x=t.valueType._zod.run({value:i[l],issues:[]},n);x instanceof Promise?u.push(x.then(I=>{I.issues.length&&r.issues.push(..._e(l,I.issues)),r.value[f.value]=I.value})):(x.issues.length&&r.issues.push(..._e(l,x.issues)),r.value[f.value]=x.value)}}return u.length?Promise.all(u).then(()=>r):r}});var Yn=b("$ZodEnum",(e,t)=>{H.init(e,t);let r=ur(t.entries),n=new Set(r);e._zod.values=n,e._zod.pattern=new RegExp(`^(${r.filter(i=>Pn.has(typeof i)).map(i=>typeof i=="string"?Ce(i):i.toString()).join("|")})$`),e._zod.parse=(i,u)=>{let c=i.value;return n.has(c)||i.issues.push({code:"invalid_value",values:r,input:c,inst:e}),i}}),Qn=b("$ZodLiteral",(e,t)=>{if(H.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");let r=new Set(t.values);e._zod.values=r,e._zod.pattern=new RegExp(`^(${t.values.map(n=>typeof n=="string"?Ce(n):n?Ce(n.toString()):String(n)).join("|")})$`),e._zod.parse=(n,i)=>{let u=n.value;return r.has(u)||n.issues.push({code:"invalid_value",values:t.values,input:u,inst:e}),n}});var eo=b("$ZodTransform",(e,t)=>{H.init(e,t),e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new bt(e.constructor.name);let i=t.transform(r.value,r);if(n.async)return(i instanceof Promise?i:Promise.resolve(i)).then(c=>(r.value=c,r));if(i instanceof Promise)throw new le;return r.value=i,r}});function Ln(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}o(Ln,"handleOptionalResult");var to=b("$ZodOptional",(e,t)=>{H.init(e,t),e._zod.optin="optional",e._zod.optout="optional",q(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),q(e._zod,"pattern",()=>{let r=t.innerType._zod.pattern;return r?new RegExp(`^(${Et(r.source)})?$`):void 0}),e._zod.parse=(r,n)=>{if(t.innerType._zod.optin==="optional"){let i=t.innerType._zod.run(r,n);return i instanceof Promise?i.then(u=>Ln(u,r.value)):Ln(i,r.value)}return r.value===void 0?r:t.innerType._zod.run(r,n)}});var ro=b("$ZodNullable",(e,t)=>{H.init(e,t),q(e._zod,"optin",()=>t.innerType._zod.optin),q(e._zod,"optout",()=>t.innerType._zod.optout),q(e._zod,"pattern",()=>{let r=t.innerType._zod.pattern;return r?new RegExp(`^(${Et(r.source)}|null)$`):void 0}),q(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(r,n)=>r.value===null?r:t.innerType._zod.run(r,n)});var no=b("$ZodPipe",(e,t)=>{H.init(e,t),q(e._zod,"values",()=>t.in._zod.values),q(e._zod,"optin",()=>t.in._zod.optin),q(e._zod,"optout",()=>t.out._zod.optout),q(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(r,n)=>{if(n.direction==="backward"){let u=t.out._zod.run(r,n);return u instanceof Promise?u.then(c=>zt(c,t.in,n)):zt(u,t.in,n)}let i=t.in._zod.run(r,n);return i instanceof Promise?i.then(u=>zt(u,t.out,n)):zt(i,t.out,n)}});function zt(e,t,r){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},r)}o(zt,"handlePipeResult");var oo=b("$ZodCustom",(e,t)=>{be.init(e,t),H.init(e,t),e._zod.parse=(r,n)=>r,e._zod.check=r=>{let n=r.value,i=t.fn(n);if(i instanceof Promise)return i.then(u=>jn(u,r,n,e));jn(i,r,n,e)}});function jn(e,t,r,n){if(!e){let i={code:"custom",input:r,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(i.params=n._zod.def.params),t.issues.push(lr(i))}}o(jn,"handleRefineResult");var ao;var hr=class{static{o(this,"$ZodRegistry")}constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...r){let n=r[0];return this._map.set(t,n),n&&typeof n=="object"&&"id"in n&&this._idmap.set(n.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let r=this._map.get(t);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){let r=t._zod.parent;if(r){let n={...this.get(r)??{}};delete n.id;let i={...n,...this._map.get(t)};return Object.keys(i).length?i:void 0}return this._map.get(t)}has(t){return this._map.has(t)}};function so(){return new hr}o(so,"registry");(ao=globalThis).__zod_globalRegistry??(ao.__zod_globalRegistry=so());var vr=globalThis.__zod_globalRegistry;function uo(e,t){return new e({type:"string",...Z(t)})}o(uo,"_string");function co(e,t){return new e({type:"string",coerce:!0,...Z(t)})}o(co,"_coercedString");function lo(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...Z(t)})}o(lo,"_url");function po(e,t){return new e({type:"number",checks:[],...Z(t)})}o(po,"_number");function mo(e,t){return new e({type:"number",coerce:!0,checks:[],...Z(t)})}o(mo,"_coercedNumber");function fo(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...Z(t)})}o(fo,"_int");function go(e,t){return new e({type:"boolean",...Z(t)})}o(go,"_boolean");function yo(e,t){return new e({type:"boolean",coerce:!0,...Z(t)})}o(yo,"_coercedBoolean");function ho(e,t){return new e({type:"bigint",coerce:!0,...Z(t)})}o(ho,"_coercedBigint");function vo(e){return new e({type:"any"})}o(vo,"_any");function xo(e){return new e({type:"unknown"})}o(xo,"_unknown");function _o(e,t){return new e({type:"void",...Z(t)})}o(_o,"_void");function Po(e,t){return new e({type:"date",coerce:!0,...Z(t)})}o(Po,"_coercedDate");function wt(e,t){return new On({check:"greater_than",...Z(t),value:e,inclusive:!0})}o(wt,"_gte");function ue(e,t){return new Rn({check:"min_length",...Z(t),minimum:e})}o(ue,"_minLength");function Ie(e,t){return new Nn({check:"string_format",format:"regex",...Z(t),pattern:e})}o(Ie,"_regex");function bo(e,t,r){let n=Z(r);return n.abort??(n.abort=!0),new e({type:"custom",check:"custom",fn:t,...n})}o(bo,"_custom");var K=b("ZodMiniType",(e,t)=>{if(!e._zod)throw new Error("Uninitialized schema in ZodMiniType.");H.init(e,t),e.def=t,e.type=t.type,e.parse=(r,n)=>$t(e,r,n,{callee:e.parse}),e.safeParse=(r,n)=>Xe(e,r,n),e.parseAsync=async(r,n)=>At(e,r,n,{callee:e.parseAsync}),e.safeParseAsync=async(r,n)=>Ye(e,r,n),e.check=(...r)=>e.clone({...t,checks:[...t.checks??[],...r.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]},{parent:!0}),e.with=e.check,e.clone=(r,n)=>St(e,r,n),e.brand=()=>e,e.register=((r,n)=>(r.add(e,n),e)),e.apply=r=>r(e)}),Nt=b("ZodMiniString",(e,t)=>{Ot.init(e,t),K.init(e,t)});function a(e){return uo(Nt,e)}o(a,"string");var Io=b("ZodMiniStringFormat",(e,t)=>{mr.init(e,t),Nt.init(e,t)});var zu=b("ZodMiniURL",(e,t)=>{Fn.init(e,t),Io.init(e,t)});function To(e){return lo(zu,e)}o(To,"url");var Dt=b("ZodMiniNumber",(e,t)=>{fr.init(e,t),K.init(e,t)});function ee(e){return po(Dt,e)}o(ee,"number");var ku=b("ZodMiniNumberFormat",(e,t)=>{Bn.init(e,t),Dt.init(e,t)});function Eo(e){return fo(ku,e)}o(Eo,"int");var xr=b("ZodMiniBoolean",(e,t)=>{gr.init(e,t),K.init(e,t)});function B(e){return go(xr,e)}o(B,"boolean");var So=b("ZodMiniBigInt",(e,t)=>{Zn.init(e,t),K.init(e,t)});var Ou=b("ZodMiniAny",(e,t)=>{Vn.init(e,t),K.init(e,t)});function et(){return vo(Ou)}o(et,"any");var wu=b("ZodMiniUnknown",(e,t)=>{Hn.init(e,t),K.init(e,t)});function O(){return xo(wu)}o(O,"unknown");var Ru=b("ZodMiniVoid",(e,t)=>{Wn.init(e,t),K.init(e,t)});function $o(e){return _o(Ru,e)}o($o,"_void");var Ao=b("ZodMiniDate",(e,t)=>{Gn.init(e,t),K.init(e,t)});var Nu=b("ZodMiniArray",(e,t)=>{qn.init(e,t),K.init(e,t)});function N(e,t){return new Nu({type:"array",element:e,...Z(t)})}o(N,"array");var Du=b("ZodMiniObject",(e,t)=>{Kn.init(e,t),K.init(e,t),q(e,"shape",()=>t.shape)});function p(e,t){let r={type:"object",shape:e??{},...Z(t)};return new Du(r)}o(p,"object");var Cu=b("ZodMiniUnion",(e,t)=>{yr.init(e,t),K.init(e,t)});function D(e,t){return new Cu({type:"union",options:e,...Z(t)})}o(D,"union");var Uu=b("ZodMiniDiscriminatedUnion",(e,t)=>{Jn.init(e,t),K.init(e,t)});function Te(e,t,r){return new Uu({type:"union",options:t,discriminator:e,...Z(r)})}o(Te,"discriminatedUnion");var Mu=b("ZodMiniRecord",(e,t)=>{Xn.init(e,t),K.init(e,t)});function w(e,t,r){return new Mu({type:"record",keyType:e,valueType:t,...Z(r)})}o(w,"record");var Lu=b("ZodMiniEnum",(e,t)=>{Yn.init(e,t),K.init(e,t),e.options=Object.values(t.entries)});function U(e,t){let r=Array.isArray(e)?Object.fromEntries(e.map(n=>[n,n])):e;return new Lu({type:"enum",entries:r,...Z(t)})}o(U,"_enum");var ju=b("ZodMiniLiteral",(e,t)=>{Qn.init(e,t),K.init(e,t)});function S(e,t){return new ju({type:"literal",values:Array.isArray(e)?e:[e],...Z(t)})}o(S,"literal");var Fu=b("ZodMiniTransform",(e,t)=>{eo.init(e,t),K.init(e,t)});function Ee(e){return new Fu({type:"transform",transform:e})}o(Ee,"transform");var Bu=b("ZodMiniOptional",(e,t)=>{to.init(e,t),K.init(e,t)});function h(e){return new Bu({type:"optional",innerType:e})}o(h,"optional");var Zu=b("ZodMiniNullable",(e,t)=>{ro.init(e,t),K.init(e,t)});function tt(e){return new Zu({type:"nullable",innerType:e})}o(tt,"nullable");var Vu=b("ZodMiniPipe",(e,t)=>{no.init(e,t),K.init(e,t)});function Se(e,t){return new Vu({type:"pipe",in:e,out:t})}o(Se,"pipe");var Hu=b("ZodMiniCustom",(e,t)=>{oo.init(e,t),K.init(e,t)});function Ct(e,t){return bo(Hu,e??(()=>!0),t)}o(Ct,"custom");var rt={};gn(rt,{bigint:()=>Xu,boolean:()=>Ju,date:()=>Yu,number:()=>Ku,string:()=>qu});function qu(e){return co(Nt,e)}o(qu,"string");function Ku(e){return mo(Dt,e)}o(Ku,"number");function Ju(e){return yo(xr,e)}o(Ju,"boolean");function Xu(e){return ho(So,e)}o(Xu,"bigint");function Yu(e){return Po(Ao,e)}o(Yu,"date");var Pr=p({retryOnFailure:p({defaultValue:h(B()),hide:h(B())}),continueOnFailure:p({defaultValue:h(B()),hide:h(B())})}),_r=class{constructor(t,r,n,i,u,c,l,f,g,x,I){this.name=t;this.displayName=r;this.description=n;this.props=i;this.run=u;this.test=c;this.requireAuth=l;this.errorHandlingOptions=f;this.outputSchema=g;this.audience=x;this.aiMetadata=I}static{o(this,"IAction")}},ie=o(e=>new _r(e.name,e.displayName,e.description,e.props,e.run,e.test??e.run,e.requireAuth??!0,e.errorHandlingOptions??{continueOnFailure:{defaultValue:!1},retryOnFailure:{defaultValue:!1}},e.outputSchema,e.audience,e.aiMetadata),"createAction");var F=p({displayName:a(),description:h(a())}),C=o((e,t)=>p({type:S(t),required:B(),defaultValue:h(et())}),"TPropertyValue");var ne=p({...F.shape,...C(a(),"SHORT_TEXT").shape}),ge=p({...F.shape,...C(a(),"LONG_TEXT").shape});var ko=p({label:a(),value:O()}),Ut=p({disabled:h(B()),placeholder:h(a()),options:N(ko)});var oe=p({...F.shape,options:Ut,...C(O(),"STATIC_DROPDOWN").shape}),ye=p({...F.shape,options:Ut,...C(N(O()),"STATIC_MULTI_SELECT_DROPDOWN").shape});var br=p({...F.shape,...C(O(),"DROPDOWN").shape,refreshers:N(a())}),nt=p({...F.shape,...C(N(O()),"MULTI_SELECT_DROPDOWN").shape,refreshers:N(a())});var he=p({...F.shape,...C(B(),"CHECKBOX").shape});var ve=p({...F.shape,...C(ee(),"NUMBER").shape});var ot=p({...F.shape,streaming:h(B()),...C(O(),"FILE").shape});var it=p({...F.shape,...C(a(),"DATE_TIME").shape});var Oo=w(a(),D([ne,ge,oe,nt,ye,he,ve,ot,it])),at=p({...F.shape,properties:Oo,...C(N(O()),"ARRAY").shape});var st=p({...F.shape,...C(D([w(a(),O())]),"JSON").shape});var wo=D([ne,oe,st,at,ye]),ec=w(a(),wo),Ir=p({refreshers:N(a()),...F.shape,...C(O(),"DYNAMIC").shape});var Mt=p({...F.shape,...C($o(),"MARKDOWN").shape});var ut=(r=>(r.ARCHIVE="ARCHIVE",r.REGISTRY="REGISTRY",r))(ut||{}),Me=(r=>(r.CUSTOM="CUSTOM",r.OFFICIAL="OFFICIAL",r))(Me||{}),ct=(v=>(v.ARTIFICIAL_INTELLIGENCE="ARTIFICIAL_INTELLIGENCE",v.COMMUNICATION="COMMUNICATION",v.COMMERCE="COMMERCE",v.CORE="CORE",v.UNIVERSAL_AI="UNIVERSAL_AI",v.FLOW_CONTROL="FLOW_CONTROL",v.BUSINESS_INTELLIGENCE="BUSINESS_INTELLIGENCE",v.ACCOUNTING="ACCOUNTING",v.PRODUCTIVITY="PRODUCTIVITY",v.CONTENT_AND_FILES="CONTENT_AND_FILES",v.DEVELOPER_TOOLS="DEVELOPER_TOOLS",v.CUSTOMER_SUPPORT="CUSTOMER_SUPPORT",v.FORMS_AND_SURVEYS="FORMS_AND_SURVEYS",v.HUMAN_RESOURCES="HUMAN_RESOURCES",v.PAYMENT_PROCESSING="PAYMENT_PROCESSING",v.MARKETING="MARKETING",v.SALES_AND_CRM="SALES_AND_CRM",v))(ct||{});var lt=(r=>(r.AUTHORIZATION_CODE="authorization_code",r.CLIENT_CREDENTIALS="client_credentials",r))(lt||{}),Tr="both_client_credentials_and_authorization_code";var ke=(i=>(i.POLLING="POLLING",i.WEBHOOK="WEBHOOK",i.APP_WEBHOOK="APP_WEBHOOK",i.MANUAL="MANUAL",i))(ke||{}),pt=(u=>(u.NONE="NONE",u.HEADER_PRESENT="HEADER_PRESENT",u.QUERY_PRESENT="QUERY_PRESENT",u.BODY_PARAM_PRESENT="BODY_PARAM_PRESENT",u.HEAD_REQUEST="HEAD_REQUEST",u))(pt||{}),tc=p({strategy:U(pt),paramName:h(a())}),dt=(r=>(r.SIMULATION="SIMULATION",r.TEST_FUNCTION="TEST_FUNCTION",r))(dt||{});var Lt=(r=>(r.WEBSOCKET="WEBSOCKET",r.NONE="NONE",r))(Lt||{}),Ro=p({status:h(ee()),body:h(O()),headers:h(w(a(),a()))}),No=p({type:S("DELAY"),resumeDateTime:a(),requestIdToReply:h(a()),handlerId:h(a()),streamStepProgress:h(U(Lt))}),Do=p({type:S("WEBHOOK"),requestId:a(),requestIdToReply:h(a()),response:Ro,handlerId:h(a()),streamStepProgress:h(U(Lt))}),rc=D([No,Do]);var nc=p({body:O(),rawBody:h(O()),headers:w(a(),a()),queryParams:w(a(),a())});function J(e){return e==null}o(J,"isNil");function mt(e){return e==null?!0:typeof e=="string"||Array.isArray(e)?e.length===0:typeof e=="object"?Object.keys(e).length===0:!1}o(mt,"isEmpty");function jt(e,t){if(e==null)throw new Error(`${t} is null or undefined`)}o(jt,"assertNotNullOrUndefined");var Er=De(require("crypto"),1);var oc=128,Oe,Le,ic=o(e=>{!Oe||Oe.length<e?(Oe=Buffer.allocUnsafe(e*oc),Er.default.randomFillSync(Oe),Le=0):Le+e>Oe.length&&(Er.default.randomFillSync(Oe),Le=0),Le+=e},"fillPool"),ac=o(e=>(ic(e|=0),Oe.subarray(Le-e,Le)),"random"),sc=o((e,t,r)=>{let n=(2<<31-Math.clz32(e.length-1|1))-1,i=Math.ceil(1.6*n*t/e.length);return(u=t)=>{let c="";for(;;){let l=r(i),f=i;for(;f--;)if(c+=e[l[f]&n]||"",c.length===u)return c}}},"customRandom"),Uo=o((e,t=21)=>sc(e,t,ac),"customAlphabet");var uc="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Mo=21,gb=a().check(Ie(new RegExp(`^[0-9a-zA-Z]{${Mo}}$`))),cc=Uo(uc,Mo);var $e=Se(Ee(e=>e instanceof Date?e.toISOString():e),a()),ae={id:a(),created:$e,updated:$e},V=o(e=>h(tt(e)),"Nullable");function Sr(e){return h(tt(U(e)))}o(Sr,"NullableEnum");var vb=Se(Ee(e=>e==="true"||e===!0?!0:e==="false"||e===!1?!1:void 0),h(B())),Ft=o(e=>Se(Ee(t=>Array.isArray(t)?t:t!==void 0?[t]:void 0),h(N(e))),"OptionalArrayFromQuery");var Pb=w(a(),O());var ft=(x=>(x.OPENAI="openai",x.OPENROUTER="openrouter",x.ANTHROPIC="anthropic",x.AZURE="azure",x.GOOGLE="google",x.ACTIVEPIECES="activepieces",x.CLOUDFLARE_GATEWAY="cloudflare-gateway",x.CUSTOM="custom",x.BEDROCK="bedrock",x.MISTRAL="mistral",x))(ft||{});var Rb=a().check(Ie(/^#[0-9A-Fa-f]{6}$/));var Db=p({filename:a(),data:O(),type:S("file"),mimetype:h(a())});var lc=De(jo());var Bb=p({...ae,name:a(),permissions:N(a()),platformId:V(a()),type:a(),userCount:h(ee())});var Fo=(n=>(n.AGENT_DECIDE="agent-decide",n.CHOOSE_YOURSELF="choose-yourself",n.LEAVE_EMPTY="leave-empty",n))(Fo||{}),$r=(r=>(r.FILE="FILE",r.TABLE="TABLE",r))($r||{}),Ar=(n=>(n.SSE="sse",n.STREAMABLE_HTTP="streamable-http",n.SIMPLE_HTTP="http",n))(Ar||{});var zr=(n=>(n.TEXT="text",n.NUMBER="number",n.BOOLEAN="boolean",n))(zr||{});var kr=(r=>(r.IN_PROGRESS="in-progress",r.COMPLETED="completed",r))(kr||{});var pc=p({mode:U(Fo),value:O()}),dc=p({auth:h(a()),fields:w(a(),pc)}),mc=p({pieceName:a(),pieceVersion:a(),actionName:a(),predefinedInput:h(dc)}),fc=p({type:S("PIECE"),toolName:a().check(ue(1)),pieceMetadata:mc}),gc=p({type:S("none")}),yc=p({type:S("access_token"),accessToken:a()}),hc=p({type:S("api_key"),apiKey:a(),apiKeyHeader:a()}),vc=p({type:S("headers"),headers:w(a(),a())}),xc=Te("type",[gc,yc,hc,vc]),Bo=p({type:S("FLOW"),toolName:a().check(ue(1)),externalFlowId:a(),flowDisplayName:h(a())}),Zo=p({type:S("MCP"),toolName:a().check(ue(1)),serverUrl:To(),protocol:U(Ar),auth:xc}),Vo=p({type:S("KNOWLEDGE_BASE"),toolName:a().check(ue(1)),sourceType:U($r),sourceId:a(),sourceName:a()}),_c=Te("type",[fc,Bo,Zo,Vo]),Pc=p({displayName:a(),description:h(a()),type:U(zr)}),Ho=p({type:S("MARKDOWN"),markdown:a()}),je={type:S("TOOL_CALL"),input:V(w(a(),O())),output:h(O()),toolName:a(),status:U(kr),toolCallId:a(),startTime:a(),endTime:h(a())},xI=p(je),Wo=Te("toolCallType",[p({...je,toolCallType:S("PIECE"),pieceName:a(),pieceVersion:a(),actionName:a()}),p({...je,toolCallType:S("FLOW"),displayName:a(),externalFlowId:a()}),p({...je,toolCallType:S("MCP"),displayName:a(),serverUrl:a()}),p({...je,toolCallType:S("KNOWLEDGE_BASE"),displayName:a(),sourceType:a()}),p({...je,toolCallType:S("UNKNOWN"),displayName:a()})]),bc=D([Ho,Wo]);var Or=(r=>(r.IMAGE="image",r.TEXT="text",r))(Or||{}),xe=p({apiKey:a()}),Ic=xe,Tc=p({apiKey:a(),apiKeyHash:a()}),Ec=xe,Sc=xe,$c=xe,Ac=xe,zc=xe,kc=xe,Oc=xe,Xo=p({accessKeyId:a().check(ue(1)),secretAccessKey:a().check(ue(1))}),wc=p({}),Rc=p({}),Nc=p({}),Dc=p({}),Cc=p({}),Uc=p({}),Yo=p({modelId:a(),modelName:a(),modelType:U(Or)}),Qo=p({apiKeyHeader:a(),baseUrl:a(),models:N(Yo),defaultHeaders:h(w(a(),a()))}),ei=p({accountId:a(),gatewayId:a(),models:N(Yo),vertexProject:h(a()),vertexRegion:h(a())}),ti=p({resourceName:a(),apiVersion:Se(Ee(e=>typeof e=="string"&&e.trim().length===0?void 0:e),h(a()))}),ri=p({region:a().check(ue(1))}),Mc=D([Ic,$c,Ac,zc,kc,Sc,Ec,Tc,Xo,Oc]),ni=D([Qo,ei,ti,ri,wc,Nc,Dc,Cc,Rc,Uc]),Lc=p({id:a(),name:a(),type:U(Or)}),jc=p({id:a(),name:a(),provider:U(ft),config:ni,enabledForChat:B()}),Fc=p({provider:U(ft),config:ni,auth:Mc,platformId:a()});var II={openai:"openai",anthropic:"anthropic","google-ai-studio":"google","google-vertex-ai":"google"},Go=["gpt-5.5","gpt-5.4-mini","gpt-5.4-nano","gpt-4.1","gpt-4.1-mini"],Bc=["claude-sonnet-4-6","claude-opus-4-7","claude-haiku-4-5"],Zc=["claude-sonnet-4.6","claude-opus-4.7","claude-haiku-4.5"],qo=["gemini-2.5-pro","gemini-2.5-flash","gemini-3.1-pro-preview","gemini-3-flash-preview"],Vc=["grok-4.20","grok-4.1-fast"],Hc={openai:Go,anthropic:Bc,google:qo,activepieces:[...Zc.map(e=>`anthropic/${e}`),...Go.map(e=>`openai/${e}`),...qo.map(e=>`google/${e}`),...Vc.map(e=>`x-ai/${e}`)]};var Ko=128e3,Wc={openai:128e3,anthropic:2e5,google:1048576,bedrock:2e5,azure:128e3,openrouter:128e3,activepieces:2e5,mistral:128e3};function Gc({provider:e}){return e?Wc[e]??Ko:Ko}o(Gc,"getMaxContextTokens");var Jo={openai:"text-embedding-3-small",google:"text-embedding-004",azure:"text-embedding-3-small",activepieces:"text-embedding-3-small",openrouter:"openai/text-embedding-3-small"},qc={anthropic:"native",google:"native",openrouter:"plugin",activepieces:"plugin"},Kc=new Set(["anthropic","mistral"]);function pe(e){return{chatModels:Hc[e],maxContextTokens:Gc({provider:e}),defaultEmbeddingModel:Jo[e],supportsEmbedding:Jo[e]!==void 0,supportsImageGeneration:!Kc.has(e),webSearch:qc[e]}}o(pe,"buildProviderCapabilities");var Jc={openai:pe("openai"),anthropic:pe("anthropic"),openrouter:pe("openrouter"),azure:pe("azure"),google:pe("google"),"cloudflare-gateway":pe("cloudflare-gateway"),custom:pe("custom"),bedrock:pe("bedrock"),mistral:pe("mistral"),activepieces:pe("activepieces")};var Xc=p({base64Url:a(),fileName:a(),extension:h(a())}),Yc=p({mimeType:a(),url:a(),fileName:h(a())}),wr=D([Xc,Yc]);var Qc=D([p({type:S("file"),value:wr}),p({type:S("markdown"),value:a(),files:h(N(wr))})]),el=p({sessionId:a(),message:a(),files:h(N(a()))});var ii=(r=>(r.ON_NEW_RECORD="ON_NEW_RECORD",r.ON_UPDATE_RECORD="ON_UPDATE_RECORD",r))(ii||{}),ai=(r=>(r.ENABLED="ENABLED",r.DISABLED="DISABLED",r))(ai||{}),Rr=(n=>(n.RECORD_CREATED="RECORD_CREATED",n.RECORD_UPDATED="RECORD_UPDATED",n.RECORD_DELETED="RECORD_DELETED",n))(Rr||{});var tl=D([p({...ae,name:a(),externalId:a(),type:S("STATIC_DROPDOWN"),tableId:a(),projectId:a(),data:p({options:N(p({value:a()}))})}),p({...ae,name:a(),externalId:a(),type:D([S("TEXT"),S("NUMBER"),S("DATE")]),tableId:a(),projectId:a()})]),rl=p({...ae,name:a(),folderId:V(a()),projectId:a(),externalId:a(),status:Sr(ai),trigger:Sr(ii)}),nl=p({...ae,tableId:a(),projectId:a(),cells:w(a(),p({updated:a(),created:a(),value:O(),fieldName:a()}))}),ol=p({events:N(U(Rr)),webhookUrl:a(),flowId:a()}),il=p({fields:N(p({id:a(),name:a()})),rows:N(w(a(),a())),name:a()}),al=p({projectId:a(),limit:h(rt.number()),cursor:h(a()),name:h(a()),externalIds:Ft(a()),folderId:h(a()),folderIds:Ft(a())}),sl=p({records:N(N(p({fieldId:a(),value:ui()}))),tableId:a()}),ul=p({cells:h(N(p({fieldId:a(),value:ui()}))),tableId:a(),agentUpdate:h(B())}),si=Te("operator",[we("eq"),we("neq"),we("gt"),we("gte"),we("lt"),we("lte"),we("co"),oi("exists"),oi("not_exists")]),cl=p({tableId:a(),limit:h(rt.number()),cursor:h(a()),filters:Ft(si)});function ui(){return Se(Ee(e=>e==null?e:String(e)),tt(a()))}o(ui,"coerceToString");function we(e){return p({fieldId:a(),operator:S(e),value:a()})}o(we,"valueFilter");function oi(e){return p({fieldId:a(),operator:S(e)})}o(oi,"existenceFilter");var ll=p({status:h(ee()),body:h(O()),headers:h(w(a(),a()))}),pl=p({...ae,deleted:V($e),ownerId:a(),displayName:a(),platformId:a(),externalId:V(a())});var ci=p({name:a(),description:h(a()),type:a(),required:B()}),dl=p({pieceName:a(),triggerName:a(),input:p({toolName:a(),toolDescription:a(),inputSchema:N(ci),returnsResponse:B()})});var li="^[0-9]+\\.[0-9]+\\.[0-9]+$",BI=new RegExp(li),fl="^([~^])?[0-9]+\\.[0-9]+\\.[0-9]+$",ZI=a().check(Ie(new RegExp(li))),VI=a().check(Ie(new RegExp(fl))),gl=p({packageType:S("ARCHIVE"),pieceType:U(Me),pieceName:a(),pieceVersion:a(),archiveId:a(),platformId:a()}),pi=p({packageType:S("REGISTRY"),pieceType:S("OFFICIAL"),pieceName:a(),pieceVersion:a()}),di=p({packageType:S("REGISTRY"),pieceType:S("CUSTOM"),pieceName:a(),pieceVersion:a(),platformId:a()}),HI=D([pi,di]),WI=D([gl,pi,di]);var yl=Te("type",[p({type:S("CRON_EXPRESSION"),cronExpression:a(),timezone:a()}),p({type:S("INTERVAL"),intervalMs:Eo().check(wt(6e4))})]),GI=p({...ae,type:U(ke),projectId:a(),flowId:a(),triggerName:a(),schedule:V(yl),flowVersionId:a(),pieceName:a(),pieceVersion:a(),deleted:V(a()),simulate:B()}),mi=(m=>(m.UNKNOWN="UNKNOWN",m.FLOW_RUN_LOG="FLOW_RUN_LOG",m.FLOW_RUN_LOG_SLICE="FLOW_RUN_LOG_SLICE",m.PACKAGE_ARCHIVE="PACKAGE_ARCHIVE",m.FLOW_STEP_FILE="FLOW_STEP_FILE",m.SAMPLE_DATA="SAMPLE_DATA",m.TRIGGER_PAYLOAD="TRIGGER_PAYLOAD",m.SAMPLE_DATA_INPUT="SAMPLE_DATA_INPUT",m.TRIGGER_EVENT_FILE="TRIGGER_EVENT_FILE",m.PROJECT_RELEASE="PROJECT_RELEASE",m.FLOW_VERSION_BACKUP="FLOW_VERSION_BACKUP",m.PLATFORM_ASSET="PLATFORM_ASSET",m.USER_PROFILE_PICTURE="USER_PROFILE_PICTURE",m.WEBHOOK_PAYLOAD="WEBHOOK_PAYLOAD",m.KNOWLEDGE_BASE="KNOWLEDGE_BASE",m.FLOW_BUNDLE="FLOW_BUNDLE",m))(mi||{}),fi=(r=>(r.NONE="NONE",r.ZSTD="ZSTD",r))(fi||{}),gi=(r=>(r.S3="S3",r.DB="DB",r))(gi||{}),qI=p({...ae,projectId:V(a()),platformId:V(a()),type:U(mi),compression:U(fi),data:h(O()),location:U(gi),size:V(ee()),fileName:V(a()),s3Key:V(a()),metadata:V(w(a(),a()))}),yi=(n=>(n.ADMIN="ADMIN",n.MEMBER="MEMBER",n.OPERATOR="OPERATOR",n))(yi||{}),hi=(r=>(r.ACTIVE="ACTIVE",r.INACTIVE="INACTIVE",r))(hi||{}),KI=p({id:a(),email:a(),firstName:a(),status:U(hi),externalId:V(a()),platformId:V(a()),platformRole:U(yi),lastName:a(),created:$e,updated:$e,lastActiveDate:V($e),imageUrl:V(a())});var Nr=p({...F.shape,...C(w(a(),O()),"OBJECT").shape});var Pi=p({...F.shape,...C(a(),"COLOR").shape});var Dr=D([ne,ge,Mt,he,oe,ye,br,nt,Ir,ve,at,Nr,st,it,ot,Pi]),$={ShortText(e){return{...e,valueSchema:void 0,type:"SHORT_TEXT"}},Checkbox(e){return{...e,valueSchema:void 0,type:"CHECKBOX"}},LongText(e){return{...e,valueSchema:void 0,type:"LONG_TEXT"}},MarkDown(e){return{displayName:"Markdown",required:!1,description:e.value,type:"MARKDOWN",valueSchema:void 0,variant:e.variant??"INFO"}},Number(e){return{...e,valueSchema:void 0,type:"NUMBER"}},Json(e){return{...e,valueSchema:void 0,type:"JSON"}},Array(e){return{...e,valueSchema:void 0,type:"ARRAY"}},Object(e){return{...e,valueSchema:void 0,type:"OBJECT"}},Dropdown(e){return{...e,valueSchema:void 0,type:"DROPDOWN"}},StaticDropdown(e){return{...e,valueSchema:void 0,type:"STATIC_DROPDOWN"}},MultiSelectDropdown(e){return{...e,valueSchema:void 0,type:"MULTI_SELECT_DROPDOWN"}},DynamicProperties(e){return{...e,valueSchema:void 0,type:"DYNAMIC"}},StaticMultiSelectDropdown(e){return{...e,valueSchema:void 0,type:"STATIC_MULTI_SELECT_DROPDOWN"}},DateTime(e){return{...e,valueSchema:void 0,type:"DATE_TIME"}},File(e){return{...e,valueSchema:void 0,type:"FILE"}},Custom(e){let t=e.code.toString();return{...e,code:t,valueSchema:void 0,type:"CUSTOM"}},Color(e){return{...e,valueSchema:void 0,type:"COLOR"}}};var de=p({displayName:a(),description:h(a())});var bi=p({username:a(),password:a()}),Cr=p({...de.shape,username:p({displayName:a(),description:h(a())}),password:p({displayName:a(),description:h(a())}),...C(bi,"BASIC_AUTH").shape});var _l=w(a(),D([ne,ge,ve,he,oe])),Ur=p({...de.shape,props:_l,...C(O(),"CUSTOM_AUTH").shape});var Re=p({...de.shape,...C(p({auth:a()}),"SECRET_TEXT").shape});var Pl=w(a(),D([ne,ge,Re,ve,he,oe,ye,Mt])),Ii=p({...de.shape,props:Pl,...C(O(),"OIDC").shape});var Mr=(r=>(r.HEADER="HEADER",r.BODY="BODY",r))(Mr||{}),Ti=D([ne,Re,oe]),Ei=w(a(),Ti),bl=p({props:h(w(a(),Ti)),authUrl:a(),tokenUrl:a(),scope:N(a()),prompt:h(D([S("none"),S("consent"),S("login"),S("omit")])),pkce:h(B()),pkceMethod:h(D([S("plain"),S("S256")])),authorizationMethod:h(U(Mr)),grantType:h(D([U(lt),S(Tr)])),extra:h(w(a(),a()))}),Si=p({access_token:a(),props:h(Ei),data:w(a(),et())}),Lr=p({...de.shape,...bl.shape,...C(Si,"OAUTH2").shape});var Fe=D([Cr,Ur,Ii,Lr,Re]),gt="Connection",Zt={SecretText(e){return{...e,valueSchema:void 0,type:"SECRET_TEXT"}},OAuth2(e){return{...e,valueSchema:void 0,type:"OAUTH2",displayName:e.displayName||gt}},BasicAuth(e){return{...e,valueSchema:void 0,type:"BASIC_AUTH",displayName:e.displayName||gt,required:!0}},CustomAuth(e){return{...e,valueSchema:void 0,type:"CUSTOM_AUTH",displayName:e.displayName||gt}},OIDC(e){return{...e,valueSchema:void 0,type:"OIDC",displayName:e.displayName||gt}},None(){}};var $E={OAUTH2:"OAUTH2",CLOUD_OAUTH2:"OAUTH2",PLATFORM_OAUTH2:"OAUTH2",BASIC_AUTH:"BASIC_AUTH",CUSTOM_AUTH:"CUSTOM_AUTH",OIDC:"OIDC",SECRET_TEXT:"SECRET_TEXT",NO_AUTH:void 0};var Il=p({...F.shape,...C(O(),"CUSTOM").shape,code:a()});var Tl=D([Dr,Fe]),jr=w(a(),Tl),GE=w(a(),Dr);var $i=D([p({strategy:S("CRON"),cronExpression:a()}),p({strategy:S("NONE")})]);var Ai="2",Vt="0.82.0";var Fr=class{constructor(t,r,n,i,u,c,l,f,g=Vt,x,I="",_){this.displayName=t;this.logoUrl=r;this.authors=n;this.events=i;this.categories=l;this.auth=f;this.minimumSupportedRelease=g;this.maximumSupportedRelease=x;this.description=I;this.deprecated=_;this._actions={};this._triggers={};this.getContextInfo=o(()=>({version:Ai}),"getContextInfo");(!El(g)||Sl(g,Vt))&&(this.minimumSupportedRelease=Vt),u.forEach(s=>this._actions[s.name]=s),c.forEach(s=>this._triggers[s.name]=s)}static{o(this,"Piece")}metadata(){return{displayName:this.displayName,logoUrl:this.logoUrl,actions:this._actions,triggers:this._triggers,categories:this.categories,description:this.description,authors:this.authors,auth:this.auth,minimumSupportedRelease:this.minimumSupportedRelease,maximumSupportedRelease:this.maximumSupportedRelease,deprecated:this.deprecated,contextInfo:this.getContextInfo?.()}}getAction(t){return this._actions[t]}getTrigger(t){return this._triggers[t]}actions(){return this._actions}triggers(){return this._triggers}},zi=o(e=>{if(e.auth&&Array.isArray(e.auth)&&!e.auth.every((r,n,i)=>n===i.findIndex(u=>u.type===r.type)))throw new Error("Auth properties must be unique by type");return new Fr(e.displayName,e.logoUrl,e.authors??[],e.events,e.actions,e.triggers,e.categories??[],e.auth,e.minimumSupportedRelease,e.maximumSupportedRelease,e.description,e.deprecated)},"createPiece");function El(e){return/^\d+\.\d+\.\d+$/.test(e)}o(El,"isValidSimpleSemver");function Sl(e,t){let[r,n,i]=e.split(".").map(Number),[u,c,l]=t.split(".").map(Number);return r!==u?r<u:n!==c?n<c:i<l}o(Sl,"isSemverLessThan");var $l=h(w(a(),w(a(),a()))),ki=p({id:h(a()),name:a(),displayName:a(),logoUrl:a(),description:a(),authors:N(a()),platformId:h(a()),directoryPath:h(a()),auth:h(D([Fe,N(Fe)])),version:a(),categories:h(N(U(ct))),minimumSupportedRelease:h(a()),maximumSupportedRelease:h(a()),deprecated:h(B()),i18n:$l}),Al=U(["human","ai","both"]),Oi=p({description:h(a()),idempotent:h(B())}),wi=p({name:a(),displayName:a(),description:a(),props:jr,requireAuth:B(),errorHandlingOptions:h(Pr),outputSchema:h(Ct()),audience:h(Al),aiMetadata:h(Oi)}),Ri=p({name:a(),displayName:a(),description:a(),props:jr,errorHandlingOptions:h(Pr),type:U(ke),sampleData:O(),handshakeConfiguration:h(Ct()),renewConfiguration:h($i),testStrategy:U(dt),outputSchema:h(Ct()),aiMetadata:h(Oi)}),zl=p({...ki.shape,actions:w(a(),wi),triggers:w(a(),Ri)}),kl=p({...ki.shape,actions:ee(),triggers:ee(),suggestedActions:h(N(wi)),suggestedTriggers:h(N(Ri))}),Ni=p({projectUsage:ee(),pieceType:U(Me),packageType:U(ut),platformId:h(a()),archiveId:h(a())}),GS=p({...zl.shape,...Ni.shape}),qS=p({...kl.shape,...Ni.shape}),KS=p({name:a(),version:a()});var Ol=De(require("path")),wl=De(require("fs/promises"));var Ui=require("node:stream");var Ht=class{constructor(t,r){this.baseUrl=t;this.authenticationConverter=r}static{o(this,"BaseHttpClient")}getUrl(t){let r=new URL(`${this.baseUrl}${t.url}`),n=`${r.origin}${r.pathname}`,i=new URLSearchParams;return r.searchParams.forEach((u,c)=>{i.append(c,u)}),{urlWithoutQueryParams:n,queryParams:i}}getHeaders(t){let r={Accept:"application/json"};return t.authentication&&this.populateAuthentication(t.authentication,r),t.body&&(t.headers?.["Content-Type"]==="text/csv"?r["Content-Type"]="text/csv":r["Content-Type"]="application/json"),t.headers&&(r={...r,...t.headers}),r}populateAuthentication(t,r){this.authenticationConverter.convert(t,r)}};var Wt=class{static{o(this,"DelegatingAuthenticationConverter")}constructor(t=new Br,r=new Zr){this.converters={BEARER_TOKEN:t,BASIC:r}}convert(t,r){return this.converters[t.type].convert(t,r)}},Br=class{static{o(this,"BearerTokenAuthenticationConverter")}convert(t,r){return r.Authorization=`Bearer ${t.token}`,r}},Zr=class{static{o(this,"BasicTokenAuthenticationConverter")}convert(t,r){let n=`${t.username}:${t.password}`,i=Buffer.from(n).toString("base64");return r.Authorization=`Basic ${i}`,r}};var Gt=class extends Error{constructor(r,n){let i=n.status||500,u=Buffer.isBuffer(n.responseBody)?n.responseBody.toString():n.responseBody;super(JSON.stringify({response:{status:i,body:u},request:{body:r}}));this.requestBody=r;this.status=i,this.responseBody=u}static{o(this,"HttpError")}errorMessage(){return{response:{status:this.status,body:this.responseBody},request:{body:this.requestBody}}}get response(){return{status:this.status,body:this.responseBody}}get request(){return{body:this.requestBody}}};var qt=class extends Ht{static{o(this,"FetchHttpClient")}constructor(t="",r=new Wt){super(t,r)}async sendRequest(t,r){process.env.NODE_TLS_REJECT_UNAUTHORIZED="0";let{urlWithoutQueryParams:n,queryParams:i}=this.getUrl(t),u=this.getHeaders(t),c=t.queryParams??{};for(let[L,re]of Object.entries(c))i.append(L,re);let l=i.toString(),f=l?`${n}?${l}`:n,g=t.responseType??"json",x=t.followRedirects??!0,I=t.retries??0,{body:_,extraHeaders:s,isStream:d}=Rl(t.body,u),y=Dl({...u,...s}),m=await Nl(async()=>{let L=new AbortController,re=t.timeout&&t.timeout>0?setTimeout(()=>L.abort(),t.timeout):void 0;try{let se={method:t.method.toString(),headers:y,body:_,redirect:x?"follow":"manual",signal:L.signal};return d&&(se.duplex="half"),r?.dispatcher!==void 0&&(se.dispatcher=r.dispatcher),await fetch(f,se)}finally{re!==void 0&&clearTimeout(re)}},I),v=x?300:400;if(m.status<200||m.status>=v){let L=await Di(m,g),re=new Gt(t.body,{status:m.status,responseBody:L});throw console.error("[HttpClient#(sanitized error message)] Request failed:",re),re}let P=await Di(m,g);return{status:m.status,headers:Cl(m.headers),body:P}}};function Rl(e,t){if(Ml(e))return{body:void 0,extraHeaders:{},isStream:!1};if(Ul(e)){let n=new Ui.PassThrough;return e.on("error",i=>n.destroy(i)),e.pipe(n),{body:n,extraHeaders:e.getHeaders(),isStream:!0}}return typeof e=="string"||Buffer.isBuffer(e)||e instanceof URLSearchParams||e instanceof ArrayBuffer||typeof FormData<"u"&&e instanceof FormData||typeof Blob<"u"&&e instanceof Blob?{body:e,extraHeaders:{},isStream:!1}:(t["Content-Type"]??t["content-type"]??"").includes("application/x-www-form-urlencoded")?{body:new URLSearchParams(e).toString(),extraHeaders:{},isStream:!1}:{body:JSON.stringify(e),extraHeaders:{},isStream:!1}}o(Rl,"serializeBody");async function Di(e,t){switch(t){case"arraybuffer":return Buffer.from(await e.arrayBuffer());case"blob":return await e.blob();case"text":return await e.text();default:{let r=await e.text();if(r.length===0)return;try{return JSON.parse(r)}catch{return r}}}}o(Di,"parseResponseBody");async function Nl(e,t){let r;for(let n=0;n<=t;n++)try{let i=await e();if(i.status>=500&&n<t){await Ci(n);continue}return i}catch(i){if(r=i,n<t){await Ci(n);continue}throw i}throw r}o(Nl,"sendWithRetries");function Ci(e){let t=Math.min(1e3*2**e,3e4);return new Promise(r=>setTimeout(r,t))}o(Ci,"backoff");function Dl(e){let t={};for(let[r,n]of Object.entries(e))n!==void 0&&(t[r.toLowerCase()]=Array.isArray(n)?n.join(", "):n);return t}o(Dl,"normalizeHeaders");function Cl(e){let t={};return e.forEach((r,n)=>{t[n]=r}),t}o(Cl,"toHttpHeaders");function Ul(e){return typeof e=="object"&&e!==null&&typeof e.getHeaders=="function"&&typeof e.pipe=="function"&&typeof e.on=="function"}o(Ul,"isNodeFormData");function Ml(e){return e==null}o(Ml,"isNil");var Kt=new qt;var Vr=(c=>(c.GET="GET",c.POST="POST",c.PATCH="PATCH",c.PUT="PUT",c.DELETE="DELETE",c.HEAD="HEAD",c))(Vr||{});var Ed=De(require("fs")),Zs=De(Bs());var Sd={"application/json":"json","application/pdf":"pdf","application/xml":"xml","text/xml":"xml","application/zip":"zip","application/gzip":"gz","application/x-tar":"tar","application/octet-stream":"bin","application/msword":"doc","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"docx","application/vnd.ms-excel":"xls","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"xlsx","application/vnd.ms-powerpoint":"ppt","application/vnd.openxmlformats-officedocument.presentationml.presentation":"pptx","application/rtf":"rtf","application/javascript":"js","application/x-www-form-urlencoded":"bin","text/plain":"txt","text/html":"html","text/css":"css","text/csv":"csv","text/calendar":"ics","text/markdown":"md","image/png":"png","image/jpeg":"jpeg","image/jpg":"jpg","image/gif":"gif","image/webp":"webp","image/svg+xml":"svg","image/bmp":"bmp","image/tiff":"tiff","image/x-icon":"ico","image/vnd.microsoft.icon":"ico","image/heic":"heic","audio/mpeg":"mp3","audio/mp4":"m4a","audio/wav":"wav","audio/x-wav":"wav","audio/ogg":"ogg","audio/webm":"weba","video/mp4":"mp4","video/mpeg":"mpeg","video/webm":"webm","video/quicktime":"mov","video/x-msvideo":"avi","font/woff":"woff","font/woff2":"woff2","font/ttf":"ttf","font/otf":"otf"};function $d(e){let t=e.split(";")[0].trim().toLowerCase();return Sd[t]??""}o($d,"contentTypeToExtension");var Ad=o(({baseUrl:e,relativePath:t})=>{let r=e.endsWith("/")?e:`${e}/`,n=t.startsWith("/")?t.slice(1):t;return`${r}${n}`},"joinBaseUrlWithRelativePath"),zd=o((e,t)=>{let r="https://api.example.com";try{let n=t?e(t):void 0;return(n?.endsWith("/")?n.slice(0,-1):n)??r}catch{return r}},"getBaseUrlForDescription");function Vs({auth:e,baseUrl:t,authMapping:r,description:n,displayName:i,name:u,props:c,extraProps:l,authLocation:f="headers"}){return ie({audience:"human",name:u||"custom_api_call",displayName:i||"Custom API Call",description:n||"Make a custom API call to a specific endpoint",auth:e,requireAuth:!!e,props:{url:$.DynamicProperties({auth:e,displayName:"",required:!0,refreshers:[],props:o(async({auth:g})=>({url:$.ShortText({displayName:"URL",description:`You can either use the full URL or the relative path to the base URL
|
|
3
|
+
i.e ${zd(t,g)}/resource or /resource`,required:!0,defaultValue:g?t(g):"",...c?.url??{}})}),"props")}),method:$.StaticDropdown({displayName:"Method",required:!0,options:{options:Object.values(Vr).map(g=>({label:g,value:g}))},...c?.method??{}}),headers:$.Object({displayName:"Headers",description:"Authorization headers are injected automatically from your connection.",required:!0,...c?.headers??{}}),queryParams:$.Object({displayName:"Query Parameters",required:!0,...c?.queryParams??{}}),body_type:$.StaticDropdown({displayName:"Body Type",required:!1,defaultValue:"none",options:{disabled:!1,options:[{label:"None",value:"none"},{label:"JSON",value:"json"},{label:"Form Data",value:"form_data"},{label:"Raw",value:"raw"}]}}),body:$.DynamicProperties({auth:e,displayName:"Body",refreshers:["body_type"],required:!1,props:o(async({body_type:g})=>{if(!g)return{};let x=g,I={};switch(x){case"none":break;case"json":I.data=$.Json({displayName:"JSON Body",required:!0,...c?.body??{}});break;case"raw":I.data=$.LongText({displayName:"Raw Body",required:!0});break;case"form_data":I.data=$.Array({displayName:"Form Data",required:!0,properties:{fieldName:$.ShortText({displayName:"Field Name",required:!0}),fieldType:$.StaticDropdown({displayName:"Field Type",required:!0,options:{disabled:!1,options:[{label:"Text",value:"text"},{label:"File",value:"file"}]}}),textFieldValue:$.LongText({displayName:"Text Field Value",required:!1}),fileFieldValue:$.File({displayName:"File Field Value",required:!1})}});break}return I},"props")}),response_is_binary:$.Checkbox({displayName:"Response is Binary ?",description:"Enable for files like PDFs, images, etc.",required:!1,defaultValue:!1}),failsafe:$.Checkbox({displayName:"No Error on Failure",required:!1,...c?.failsafe??{}}),timeout:$.Number({displayName:"Timeout (in seconds)",required:!1,...c?.timeout??{}}),followRedirects:$.Checkbox({displayName:"Follow redirects",required:!1,defaultValue:!1}),...l},run:o(async g=>{let{method:x,url:I,headers:_,queryParams:s,body:d,body_type:y,failsafe:m,timeout:v,response_is_binary:P,followRedirects:L}=g.propsValue;jt(x,"Method"),jt(I,"URL");let re=J(r)?{}:await r(g.auth,g.propsValue),se=I.url,Ge=se.startsWith("http://")||se.startsWith("https://")?se:Ad({baseUrl:t(g.auth),relativePath:se}),ze={method:x,url:Ge,headers:{..._??{},...f==="headers"||!J(f)?re:{}},queryParams:{...f==="queryParams"?re:{},...s??{}},timeout:v?v*1e3:0,followRedirects:L};if(P&&(ze.responseType="arraybuffer"),d)if(y&&y!=="none"){let me=d.data;if(y==="form_data"){let Ys=me,Pt=new Zs.default;for(let{fieldName:dn,fieldType:mn,textFieldValue:fn,fileFieldValue:ir}of Ys)mn==="text"&&!mt(fn)?Pt.append(dn,fn):mn==="file"&&!mt(ir)&&Pt.append(dn,ir.data,{filename:ir?.filename});ze.body=Pt,ze.headers={...ze.headers,...Pt.getHeaders()}}else ze.body=me}else y||(ze.body=d);try{let me=await Kt.sendRequest(ze);return await kd(g.files,me.body,me.status,me.headers,P)}catch(me){if(m)return me.errorMessage();throw me}},"run")})}o(Vs,"createCustomApiCallAction");var kd=o(async(e,t,r,n,i)=>{let u;if(i&&Od(t)){let c=Array.isArray(n?.["content-type"])?n["content-type"][0]:n?.["content-type"],l=$d(c??"")||"txt",f;t instanceof ArrayBuffer?f=Buffer.from(new Uint8Array(t)):Buffer.isBuffer(t)?f=t:f=Buffer.from(t),u=await e.write({fileName:`output.${l}`,data:f})}else u=t;return{status:r,headers:n,body:u}},"handleBinaryResponse"),Od=o(e=>e instanceof ArrayBuffer||Buffer.isBuffer(e),"isBinaryBody");function xt(e){return e.trim().replace(/\/+$/,"")}o(xt,"normalizeBaseUrl");async function Y({auth:e,method:t,resourceUri:r,query:n,body:i}){let u={};if(n)for(let[f,g]of Object.entries(n))g!=null&&(u[f]=String(g));let c={method:t,url:xt(e.baseUrl)+r,headers:{"x-api-key":e.apiKey},queryParams:u,body:i};return(await Kt.sendRequest(c)).body}o(Y,"skyvernApiCall");var wd=`
|
|
4
|
+
Connect Activepieces to your own Skyvern deployment.
|
|
5
|
+
|
|
6
|
+
1. Enter the base URL of your Skyvern API, including the version path \u2014 e.g. \`https://skyvern.example.com/api/v1\`.
|
|
7
|
+
2. Paste an API key issued by that instance (Settings \u2192 API Keys).
|
|
8
|
+
|
|
9
|
+
The connection is validated against \`GET /workflows\` when you save it.
|
|
10
|
+
`,Q=Zt.CustomAuth({required:!0,description:wd,props:{baseUrl:$.ShortText({displayName:"Base URL",description:"e.g. https://skyvern.example.com/api/v1 \u2014 include the version path, no trailing slash.",required:!0}),apiKey:Zt.SecretText({displayName:"API Key",description:"Sent as the x-api-key header on every request.",required:!0})},validate:o(async({auth:e})=>{try{return await Y({auth:e,method:"GET",resourceUri:"/workflows"}),{valid:!0}}catch{return{valid:!1,error:`Could not reach Skyvern at ${xt(e.baseUrl)} with that API key.`}}},"validate")});var Hs=ie({auth:Q,name:"cancel-run",displayName:"Cancel Run",description:"Cancels a workflow or or task run by ID.",audience:"both",aiMetadata:{description:"Cancels an in-progress Skyvern workflow or task run identified by its run ID. Use to stop a run an agent previously started (via Run Agent Task or Run Workflow). Idempotent: cancelling an already-cancelled or finished run converges to the same cancelled state with no additional effect.",idempotent:!0},props:{runId:$.ShortText({displayName:"Workflow/Task Run ID",required:!0})},async run(e){let{runId:t}=e.propsValue;return await Y({auth:e.auth.props,method:"POST",resourceUri:`/runs/${t}/cancel`})}});var Ws=ie({auth:Q,name:"find-workflow",displayName:"Find Workflow",description:"Finds workflow based on title.",audience:"both",aiMetadata:{description:"Searches Skyvern workflows by title, paging through all results and returning every match. Use to resolve a workflow title into its workflow ID before calling Run Workflow. Read-only and idempotent.",idempotent:!0},props:{title:$.ShortText({displayName:"Workflow Title",required:!0})},async run(e){let{title:t}=e.propsValue,r=!0,n=1,i=[];do{let u=await Y({auth:e.auth.props,method:"GET",resourceUri:"/workflows",query:{page_size:100,page:n,title:t}});if(J(u)||!Array.isArray(u))break;i.push(...u),r=u.length>0,n++}while(r);return{found:i.length>0,result:i}}});var Gs=ie({auth:Q,name:"get-run",displayName:"Get Workflow/Task Run",description:"Retrieves a workflow or task run by ID.",audience:"both",aiMetadata:{description:"Retrieves the current status and details of a Skyvern workflow or task run by its run ID. Use to poll a run started via Run Agent Task or Run Workflow until it completes and to read its results. Read-only and idempotent.",idempotent:!0},props:{runId:$.ShortText({displayName:"Workflow/Task Run ID",required:!0})},async run(e){let{runId:t}=e.propsValue;return await Y({auth:e.auth.props,method:"GET",resourceUri:`/runs/${t}`})}});var qs=ie({auth:Q,name:"run-agent-task",displayName:"Run Agent Task",description:"Runs task with specified prompt.",audience:"both",aiMetadata:{description:"Launches a Skyvern browser-automation agent task from a natural-language prompt to navigate and act on a website, optionally starting at a given URL and extracting structured data via a schema. Use to have an AI agent perform a web task (browse, fill forms, click) rather than running a predefined workflow. Each call starts a new asynchronous run, so it is not idempotent; the response returns a run identifier you poll separately with Get Workflow/Task Run.",idempotent:!1},props:{prompt:$.ShortText({displayName:"Prompt",description:"The goal or task description for Skyvern to accomplish.",required:!0}),url:$.ShortText({displayName:"URL",description:"The starting URL for the task.",required:!1}),engine:$.StaticDropdown({displayName:"Engine",required:!1,options:{disabled:!1,options:[{label:"Skyvern 1.0",value:"skyvern-1.0"},{label:"Skyvern 2.0",value:"skyvern-2.0"},{label:"OpenAI CUA",value:"openai-cua"},{label:"Anthropic CUA",value:"anthropic-cua"}]}}),webhookUrl:$.ShortText({displayName:"Webhook Callback URL",description:"URL to send task status updates to after a run is finished.",required:!1}),proxyLocation:$.StaticDropdown({displayName:"Proxy Location",required:!1,options:{disabled:!1,options:[{label:"Residential",value:"RESIDENTIAL"},{label:"Spain",value:"RESIDENTIAL_ES"},{label:"Ireland",value:"RESIDENTIAL_IE"},{label:"United Kingdom",value:"RESIDENTIAL_GB"},{label:"India",value:"RESIDENTIAL_IN"},{label:"Japan",value:"RESIDENTIAL_JP"},{label:"France",value:"RESIDENTIAL_FR"},{label:"Germany",value:"RESIDENTIAL_DE"},{label:"New Zealand",value:"RESIDENTIAL_NZ"},{label:"South Africa",value:"RESIDENTIAL_ZA"},{label:"Argentina",value:"RESIDENTIAL_AR"},{label:"ISP Proxy",value:"RESIDENTIAL_ISP"},{label:"California (US)",value:"US-CA"},{label:"New York (US)",value:"US-NY"},{label:"Texas (US)",value:"US-TX"},{label:"Florida (US)",value:"US-FL"},{label:"Washington (US)",value:"US-WA"},{label:"No Proxy",value:"NONE"}]}}),maxSteps:$.Number({displayName:"Max Steps",required:!1,description:"Maximum number of steps the task can take. Task will fail if it exceeds this number."}),dataExtractionSchema:$.Json({displayName:"Data Extraction Schema",required:!1,description:"The schema for data to be extracted from the webpage."})},async run(e){let{prompt:t,proxyLocation:r,url:n,webhookUrl:i,dataExtractionSchema:u,maxSteps:c,engine:l}=e.propsValue;return await Y({auth:e.auth.props,method:"POST",resourceUri:"/run/tasks",body:{prompt:t,url:n,engine:l,proxy_location:r,data_extraction_schema:u,max_steps:c,webhook_url:i}})}});var _t={string:o(e=>typeof e=="string"?e:void 0,"string"),number:o(e=>typeof e=="number"?e:void 0,"number"),boolean:o(e=>typeof e=="boolean"?e:void 0,"boolean"),record:o(e=>typeof e=="object"&&e!==null&&!Array.isArray(e)?{...e}:void 0,"record")},Ks=$.Dropdown({auth:Q,displayName:"Workflow",refreshers:[],required:!0,options:o(async({auth:e})=>{if(!e)return{disabled:!0,options:[],placeholder:"Please connect your account first."};let t=!0,r=1,n=[];do{let i=await Y({auth:e.props,method:"GET",resourceUri:"/workflows",query:{page_size:100,page:r}});if(J(i)||!Array.isArray(i))break;n.push(...i),t=i.length>0,r++}while(t);return{disabled:!1,options:n.map(i=>({label:i.title,value:i.workflow_permanent_id}))}},"options")}),Js=$.DynamicProperties({auth:Q,displayName:"Workflow Params",refreshers:["workflowId"],required:!1,props:o(async({auth:e,workflowId:t})=>{if(!e||!t)return{};let r=!0,n=1,i;do{let c=await Y({auth:e.props,method:"GET",resourceUri:"/workflows",query:{page_size:100,page:n}});if(J(c)||!Array.isArray(c)||(i=c.find(l=>l.workflow_permanent_id===t),i))break;r=c.length>0,n++}while(r);if(J(i))return{};let u={};for(let c of i.workflow_definition.parameters){if(c.parameter_type!=="workflow")continue;let{key:l,workflow_parameter_type:f,default_value:g}=c,x=J(g),I=l;if(f==="credential_id"){let s=await Y({auth:e.props,method:"GET",resourceUri:"/credentials",query:{page_size:100}})||[];u[c.key]=$.StaticDropdown({displayName:I,required:x,defaultValue:_t.string(g),options:{disabled:!1,options:s.map(d=>({label:d.name,value:d.credential_id}))}});continue}switch(f){case"string":case"file_url":u[c.key]=$.ShortText({displayName:I,required:x,defaultValue:_t.string(g)});break;case"float":case"integer":u[c.key]=$.Number({displayName:I,required:x,defaultValue:_t.number(g)});break;case"boolean":u[c.key]=$.Checkbox({displayName:I,required:x,defaultValue:_t.boolean(g)});break;case"json":u[c.key]=$.Json({displayName:I,required:x,defaultValue:_t.record(g)});break;default:break}}return u},"props")});var Xs=ie({auth:Q,name:"run-workflow",displayName:"Run Workflow",description:"Runs the workflow.",audience:"both",aiMetadata:{description:"Starts a run of an existing Skyvern workflow identified by its workflow ID, passing any workflow parameters. Use when an agent should execute a predefined multi-step automation rather than an ad-hoc prompt-driven task. Each call triggers a new asynchronous run (not idempotent); the response returns a run identifier you poll separately with Get Workflow/Task Run.",idempotent:!1},props:{workflowId:Ks,title:$.ShortText({displayName:"Workflow Run Title",required:!1,description:"The title for this workflow run."}),proxyLocation:$.StaticDropdown({displayName:"Proxy Location",required:!1,options:{disabled:!1,options:[{label:"Residential",value:"RESIDENTIAL"},{label:"Spain",value:"RESIDENTIAL_ES"},{label:"Ireland",value:"RESIDENTIAL_IE"},{label:"United Kingdom",value:"RESIDENTIAL_GB"},{label:"India",value:"RESIDENTIAL_IN"},{label:"Japan",value:"RESIDENTIAL_JP"},{label:"France",value:"RESIDENTIAL_FR"},{label:"Germany",value:"RESIDENTIAL_DE"},{label:"New Zealand",value:"RESIDENTIAL_NZ"},{label:"South Africa",value:"RESIDENTIAL_ZA"},{label:"Argentina",value:"RESIDENTIAL_AR"},{label:"ISP Proxy",value:"RESIDENTIAL_ISP"},{label:"California (US)",value:"US-CA"},{label:"New York (US)",value:"US-NY"},{label:"Texas (US)",value:"US-TX"},{label:"Florida (US)",value:"US-FL"},{label:"Washington (US)",value:"US-WA"},{label:"No Proxy",value:"NONE"}]}}),webhookUrl:$.ShortText({displayName:"Webhook Callback URL",required:!1}),parameters:Js},async run(e){let{workflowId:t,webhookUrl:r,proxyLocation:n,parameters:i}=e.propsValue;return await Y({auth:e.auth.props,method:"POST",resourceUri:"/run/workflows",body:{workflow_id:t,proxy_location:n,parameters:i,webhook_url:r}})}});var Rd=zi({displayName:"Skyvern (Self-Hosted)",description:"Run Skyvern browser-automation agent tasks and workflows against your own self-hosted Skyvern instance.",auth:Q,minimumSupportedRelease:"0.85.2",logoUrl:"https://cdn.activepieces.com/pieces/skyvern.jpg",authors:["rimjhimyadav","kishanprmr","sgsimpson"],actions:[qs,Xs,Hs,Gs,Ws,Vs({auth:Q,baseUrl:o(e=>e?xt(e.props.baseUrl):"","baseUrl"),authMapping:o(async e=>({"x-api-key":e.props.apiKey}),"authMapping")})],triggers:[]});0&&(module.exports={skyvernSelfHosted});
|
|
11
|
+
/*! Bundled license information:
|
|
12
|
+
|
|
13
|
+
mime-types/index.js:
|
|
14
|
+
(*!
|
|
15
|
+
* mime-types
|
|
16
|
+
* Copyright(c) 2014 Jonathan Ong
|
|
17
|
+
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
18
|
+
* MIT Licensed
|
|
19
|
+
*)
|
|
20
|
+
*/
|