@activepieces/piece-claude 0.1.7 → 0.1.9

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/package.json CHANGED
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "name": "@activepieces/piece-claude",
3
- "version": "0.1.7",
3
+ "version": "0.1.9",
4
4
  "dependencies": {
5
- "@ai-sdk/anthropic": "1.2.12",
6
- "@ai-sdk/google": "1.2.19",
7
- "@ai-sdk/openai": "1.3.22",
8
- "@ai-sdk/replicate": "0.2.8",
5
+ "@ai-sdk/anthropic": "2.0.3",
6
+ "@ai-sdk/google": "2.0.6",
7
+ "@ai-sdk/openai": "2.0.12",
8
+ "@ai-sdk/provider": "2.0.0",
9
+ "@ai-sdk/replicate": "1.0.3",
9
10
  "@anthropic-ai/sdk": "0.39.0",
10
11
  "@sinclair/typebox": "0.34.11",
11
- "ai": "4.3.16",
12
+ "ai": "5.0.12",
12
13
  "ajv": "8.12.0",
13
14
  "axios": "1.8.3",
14
15
  "axios-retry": "4.4.1",
@@ -18,9 +19,9 @@
18
19
  "nanoid": "3.3.8",
19
20
  "semver": "7.6.0",
20
21
  "zod": "3.25.76",
21
- "@activepieces/pieces-common": "0.6.4",
22
- "@activepieces/pieces-framework": "0.18.2",
23
- "@activepieces/shared": "0.18.0",
22
+ "@activepieces/pieces-common": "0.6.7",
23
+ "@activepieces/pieces-framework": "0.18.3",
24
+ "@activepieces/shared": "0.18.5",
24
25
  "tslib": "2.8.1"
25
26
  },
26
27
  "overrides": {
package/src/i18n/de.json CHANGED
@@ -24,6 +24,7 @@
24
24
  "Headers": "Kopfzeilen",
25
25
  "Query Parameters": "Abfrageparameter",
26
26
  "Body": "Körper",
27
+ "Response is Binary ?": "Antwort ist binär?",
27
28
  "No Error on Failure": "Kein Fehler bei Fehler",
28
29
  "Timeout (in seconds)": "Timeout (in Sekunden)",
29
30
  "The model which will generate the completion. Some models are suitable for natural language tasks, others specialize in code.": "Das Modell, das die Vervollständigung generiert. Einige Modelle eignen sich für Aufgaben der natürlichen Sprache, andere sind auf Code spezialisiert.",
@@ -37,6 +38,7 @@
37
38
  "Prompt to guide the AI.": "Aufforderung zur Führung der KI.",
38
39
  "For complex schema, you can use advanced mode.": "Für ein komplexes Schema können Sie den erweiterten Modus verwenden.",
39
40
  "Authorization headers are injected automatically from your connection.": "Autorisierungs-Header werden automatisch von Ihrer Verbindung injiziert.",
41
+ "Enable for files like PDFs, images, etc..": "Aktivieren für Dateien wie PDFs, Bilder, etc..",
40
42
  "Claude 3 Haiku": "Claude 3 Haiku",
41
43
  "Claude 3 Sonnet": "Claude 3 Sonnet",
42
44
  "Claude 3 Opus": "Claude 3 Opus",
package/src/i18n/es.json CHANGED
@@ -24,6 +24,7 @@
24
24
  "Headers": "Encabezados",
25
25
  "Query Parameters": "Parámetros de consulta",
26
26
  "Body": "Cuerpo",
27
+ "Response is Binary ?": "¿Respuesta es binaria?",
27
28
  "No Error on Failure": "No hay ningún error en fallo",
28
29
  "Timeout (in seconds)": "Tiempo de espera (en segundos)",
29
30
  "The model which will generate the completion. Some models are suitable for natural language tasks, others specialize in code.": "El modelo que generará la terminación. Algunos modelos son adecuados para tareas de lenguaje natural, otros se especializan en código.",
@@ -37,6 +38,7 @@
37
38
  "Prompt to guide the AI.": "Aspecto para guiar la IA.",
38
39
  "For complex schema, you can use advanced mode.": "Para esquemas complejos, puede utilizar el modo avanzado.",
39
40
  "Authorization headers are injected automatically from your connection.": "Las cabeceras de autorización se inyectan automáticamente desde tu conexión.",
41
+ "Enable for files like PDFs, images, etc..": "Activar para archivos como PDFs, imágenes, etc.",
40
42
  "Claude 3 Haiku": "Claude 3 Haiku",
41
43
  "Claude 3 Sonnet": "Claude 3 Sonnet",
42
44
  "Claude 3 Opus": "Claude 3 Opus",
package/src/i18n/fr.json CHANGED
@@ -2,11 +2,11 @@
2
2
  "Anthropic Claude": "Claude Anthropique",
3
3
  "Follow these instructions to get your Claude API Key:\n\n1. Visit the following website: https://console.anthropic.com/settings/keys.\n2. Once on the website, locate and click on the option to obtain your Claude API Key.\n": "Suivez ces instructions pour obtenir votre clé API Claude :\n\n1. Visitez le site suivant: https://console.anthropic. om/settings/keys.\n2. Une fois sur le site web, localisez et cliquez sur l'option pour obtenir votre clé d'API Claude\n",
4
4
  "Ask Claude": "Demander à Claude",
5
- "Extract Structured Data": "Extraire les données structurées",
5
+ "Extract Structured Data": "Extraire des données structurées",
6
6
  "Custom API Call": "Appel API personnalisé",
7
- "Ask Claude anything you want!": "Demandez à Claude ce que vous voulez!",
8
- "Extract structured data from provided text,image or PDF.": "Extraire les données structurées du texte, de l'image ou du PDF fourni.",
9
- "Make a custom API call to a specific endpoint": "Passez un appel API personnalisé à un point de terminaison spécifique",
7
+ "Ask Claude anything you want!": "Demandez à Claude ce que vous voulez !",
8
+ "Extract structured data from provided text,image or PDF.": "Extraire des données structurées du texte, de l'image ou du PDF fourni.",
9
+ "Make a custom API call to a specific endpoint": "Passez un appel API personnalisé à un endpoint spécifique",
10
10
  "Model": "Modélisation",
11
11
  "System Prompt": "Message du système",
12
12
  "Temperature": "Température",
@@ -15,7 +15,7 @@
15
15
  "Image (URL)": "Image (URL)",
16
16
  "Roles": "Rôles",
17
17
  "Extended Thinking Mode": "Mode Pensée Étendue",
18
- "Text": "Texte du texte",
18
+ "Text": "Texte",
19
19
  "Image/PDF": "Image/PDF",
20
20
  "Guide Prompt": "Invitation au tutoriel",
21
21
  "Data Schema Type": "Type de schéma de données",
@@ -24,6 +24,7 @@
24
24
  "Headers": "En-têtes",
25
25
  "Query Parameters": "Paramètres de requête",
26
26
  "Body": "Corps",
27
+ "Response is Binary ?": "La réponse est Binaire ?",
27
28
  "No Error on Failure": "Aucune erreur en cas d'échec",
28
29
  "Timeout (in seconds)": "Délai d'attente (en secondes)",
29
30
  "The model which will generate the completion. Some models are suitable for natural language tasks, others specialize in code.": "Le modèle qui va générer la complétion. Certains modèles sont adaptés aux tâches de langage naturel, d'autres se spécialisent dans le code.",
@@ -31,12 +32,13 @@
31
32
  "The maximum number of tokens to generate. Requests can use up to 2,048 or 4,096 tokens shared between prompt and completion, don't set the value to maximum and leave some tokens for the input. The exact limit varies by model. (One token is roughly 4 characters for normal English text)": "Le nombre maximum de jetons à générer. Les requêtes peuvent utiliser jusqu'à 2 048 ou 4 096 jetons partagés entre l'invite et la complétion, ne pas définir la valeur au maximum et laisser des jetons pour l'entrée. La limite exacte varie selon le modèle. (un jeton est d'environ 4 caractères pour le texte anglais normal)",
32
33
  "URL of image to be used as input for the model.": "URL de l'image à utiliser comme entrée pour le modèle.",
33
34
  "Array of roles to specify more accurate response.Please check [guide to Input Messages](https://docs.anthropic.com/en/api/messages-examples#vision).": "Tableau de rôles pour spécifier une réponse plus précise. Veuillez vérifier [le guide des messages d'entrée](https://docs.anthropic.com/en/api/messages-examples#vision).",
34
- "Uses claude 3.7 sonnet enhanced reasoning capabilities for complex tasks.": "Utilise la clause 3.7 sonnet pour améliorer les capacités de raisonnement pour des tâches complexes.",
35
- "Text to extract structured data from.": "Texte à partir duquel extraire les données structurées.",
36
- "Image or PDF to extract structured data from.": "Image ou PDF pour extraire des données structurées.",
35
+ "Uses claude 3.7 sonnet enhanced reasoning capabilities for complex tasks.": "Utilise clause 3.7 sonnet pour améliorer les capacités de raisonnement pour des tâches complexes.",
36
+ "Text to extract structured data from.": "Texte à partir duquel extraire des données structurées.",
37
+ "Image or PDF to extract structured data from.": "Image ou PDF à partir duquel extraire des données structurées.",
37
38
  "Prompt to guide the AI.": "Demander à guider l'IA.",
38
39
  "For complex schema, you can use advanced mode.": "Pour le schéma complexe, vous pouvez utiliser le mode avancé.",
39
40
  "Authorization headers are injected automatically from your connection.": "Les en-têtes d'autorisation sont injectés automatiquement à partir de votre connexion.",
41
+ "Enable for files like PDFs, images, etc..": "Activer pour les fichiers comme les PDFs, les images, etc.",
40
42
  "Claude 3 Haiku": "Claude 3 Haiku",
41
43
  "Claude 3 Sonnet": "Claude 3 Sonnet",
42
44
  "Claude 3 Opus": "Claude 3 Opus",
@@ -45,10 +47,10 @@
45
47
  "Claude 3.7 Sonnet": "Claude 3.7 Sonnet",
46
48
  "Simple": "Simple",
47
49
  "Advanced": "Avancé",
48
- "GET": "OBTENIR",
49
- "POST": "POSTER",
50
+ "GET": "GET",
51
+ "POST": "POST",
50
52
  "PATCH": "PATCH",
51
- "PUT": "EFFACER",
52
- "DELETE": "SUPPRIMER",
53
+ "PUT": "PUT",
54
+ "DELETE": "DELETE",
53
55
  "HEAD": "TÊTE"
54
56
  }
package/src/i18n/ja.json CHANGED
@@ -24,6 +24,7 @@
24
24
  "Headers": "ヘッダー",
25
25
  "Query Parameters": "クエリパラメータ",
26
26
  "Body": "本文",
27
+ "Response is Binary ?": "応答はバイナリですか?",
27
28
  "No Error on Failure": "失敗時にエラーはありません",
28
29
  "Timeout (in seconds)": "タイムアウト(秒)",
29
30
  "The model which will generate the completion. Some models are suitable for natural language tasks, others specialize in code.": "補完を生成するモデル。自然言語タスクに適しているモデルもあれば、コードに特化したモデルもあります。",
@@ -37,6 +38,7 @@
37
38
  "Prompt to guide the AI.": "AIを導くように促します。",
38
39
  "For complex schema, you can use advanced mode.": "複雑なスキーマでは、高度なモードを使用できます。",
39
40
  "Authorization headers are injected automatically from your connection.": "認証ヘッダは接続から自動的に注入されます。",
41
+ "Enable for files like PDFs, images, etc..": "PDF、画像などのファイルを有効にします。",
40
42
  "Claude 3 Haiku": "クロード3俳句format@@0",
41
43
  "Claude 3 Sonnet": "Claude 3 Sonnet",
42
44
  "Claude 3 Opus": "Claude 3 Opus",
package/src/i18n/nl.json CHANGED
@@ -24,6 +24,7 @@
24
24
  "Headers": "Kopteksten",
25
25
  "Query Parameters": "Query parameters",
26
26
  "Body": "Lichaam",
27
+ "Response is Binary ?": "Antwoord is binair?",
27
28
  "No Error on Failure": "Geen fout bij fout",
28
29
  "Timeout (in seconds)": "Time-out (in seconden)",
29
30
  "The model which will generate the completion. Some models are suitable for natural language tasks, others specialize in code.": "Het model dat de voltooiing zal genereren. Sommige modellen zijn geschikt voor natuurlijke taaltaken, andere zijn gespecialiseerd in code.",
@@ -37,6 +38,7 @@
37
38
  "Prompt to guide the AI.": "Vraag om de AI te begeleiden.",
38
39
  "For complex schema, you can use advanced mode.": "Voor complexe schema's kunt u de geavanceerde modus gebruiken.",
39
40
  "Authorization headers are injected automatically from your connection.": "Autorisatie headers worden automatisch geïnjecteerd vanuit uw verbinding.",
41
+ "Enable for files like PDFs, images, etc..": "Inschakelen voor bestanden zoals PDF's, afbeeldingen etc..",
40
42
  "Claude 3 Haiku": "Claude 3 Haiku",
41
43
  "Claude 3 Sonnet": "Claude 3 Sonnet",
42
44
  "Claude 3 Opus": "Claude 3 Opus",
package/src/i18n/pt.json CHANGED
@@ -24,6 +24,7 @@
24
24
  "Headers": "Cabeçalhos",
25
25
  "Query Parameters": "Parâmetros da consulta",
26
26
  "Body": "Conteúdo",
27
+ "Response is Binary ?": "A resposta é binária ?",
27
28
  "No Error on Failure": "Nenhum erro no Failure",
28
29
  "Timeout (in seconds)": "Tempo limite (em segundos)",
29
30
  "The model which will generate the completion. Some models are suitable for natural language tasks, others specialize in code.": "O modelo que irá gerar a conclusão. Alguns modelos são adequados para tarefas de linguagem natural, outros são especializados no código.",
@@ -37,6 +38,7 @@
37
38
  "Prompt to guide the AI.": "Peça para guiar a I.A.",
38
39
  "For complex schema, you can use advanced mode.": "Para esquemas complexos, você pode usar o modo avançado.",
39
40
  "Authorization headers are injected automatically from your connection.": "Os cabeçalhos de autorização são inseridos automaticamente a partir da sua conexão.",
41
+ "Enable for files like PDFs, images, etc..": "Habilitar para arquivos como PDFs, imagens, etc..",
40
42
  "Claude 3 Haiku": "Claude 3 Haiku",
41
43
  "Claude 3 Sonnet": "Claude 3 Sonnet",
42
44
  "Claude 3 Opus": "Claude 3 Opus",
@@ -24,6 +24,7 @@
24
24
  "Headers": "Headers",
25
25
  "Query Parameters": "Query Parameters",
26
26
  "Body": "Body",
27
+ "Response is Binary ?": "Response is Binary ?",
27
28
  "No Error on Failure": "No Error on Failure",
28
29
  "Timeout (in seconds)": "Timeout (in seconds)",
29
30
  "The model which will generate the completion. Some models are suitable for natural language tasks, others specialize in code.": "The model which will generate the completion. Some models are suitable for natural language tasks, others specialize in code.",
@@ -37,6 +38,7 @@
37
38
  "Prompt to guide the AI.": "Prompt to guide the AI.",
38
39
  "For complex schema, you can use advanced mode.": "For complex schema, you can use advanced mode.",
39
40
  "Authorization headers are injected automatically from your connection.": "Authorization headers are injected automatically from your connection.",
41
+ "Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
40
42
  "Claude 3 Haiku": "Claude 3 Haiku",
41
43
  "Claude 3 Sonnet": "Claude 3 Sonnet",
42
44
  "Claude 3 Opus": "Claude 3 Opus",
package/src/i18n/zh.json CHANGED
@@ -24,6 +24,7 @@
24
24
  "Headers": "標頭",
25
25
  "Query Parameters": "查詢參數",
26
26
  "Body": "正文",
27
+ "Response is Binary ?": "Response is Binary ?",
27
28
  "No Error on Failure": "失敗時無錯誤",
28
29
  "Timeout (in seconds)": "超時(以秒為單位)",
29
30
  "The model which will generate the completion. Some models are suitable for natural language tasks, others specialize in code.": "生成完成的模型。一些模型適用於自然語言任務,其他模型專注於代碼。",
@@ -37,6 +38,7 @@
37
38
  "Prompt to guide the AI.": "引導 AI 的提示。",
38
39
  "For complex schema, you can use advanced mode.": "對於複雜架構,您可以使用高級模式。",
39
40
  "Authorization headers are injected automatically from your connection.": "授權標頭會從您的連接中自動插入。",
41
+ "Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
40
42
  "Claude 3 Haiku": "Claude 3 詩歌",
41
43
  "Claude 3 Sonnet": "Claude 3 詩歌",
42
44
  "Claude 3 Opus": "Claude 3 作品",