@activepieces/piece-claude 0.1.11 → 0.1.13

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@activepieces/piece-claude",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "dependencies": {
5
5
  "@ai-sdk/anthropic": "2.0.3",
6
6
  "@ai-sdk/google": "2.0.6",
@@ -14,16 +14,15 @@
14
14
  "axios": "1.8.3",
15
15
  "axios-retry": "4.4.1",
16
16
  "deepmerge-ts": "7.1.0",
17
- "fast-glob": "3.3.3",
18
17
  "mime-types": "2.1.35",
19
18
  "nanoid": "3.3.8",
20
19
  "semver": "7.6.0",
21
20
  "tslib": "2.6.2",
22
21
  "zod": "3.25.76",
23
- "@activepieces/common-ai": "0.0.1",
22
+ "@activepieces/common-ai": "0.2.1",
24
23
  "@activepieces/pieces-common": "0.7.0",
25
- "@activepieces/pieces-framework": "0.18.4",
26
- "@activepieces/shared": "0.19.0"
24
+ "@activepieces/pieces-framework": "0.20.1",
25
+ "@activepieces/shared": "0.20.1"
27
26
  },
28
27
  "overrides": {
29
28
  "@tryfabric/martian": {
package/src/i18n/de.json CHANGED
@@ -1,5 +1,4 @@
1
1
  {
2
- "Anthropic Claude": "Anthropischer Claude",
3
2
  "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": "Folge diesen Anweisungen, um deinen Claude API Key zu erhalten:\n\n1. Besuche die folgende Webseite: https://console.anthropic. om/settings/keys.\n2. Suchen Sie einmal auf der Website und klicken Sie auf die Option, um Ihren Claude API Key zu erhalten.\n",
4
3
  "Ask Claude": "Claude fragen",
5
4
  "Extract Structured Data": "Strukturierte Daten extrahieren",
package/src/i18n/es.json CHANGED
@@ -1,5 +1,4 @@
1
1
  {
2
- "Anthropic Claude": "Claude Antrópico",
3
2
  "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": "Sigue estas instrucciones para obtener tu Claude API Key:\n\n1. Visita el siguiente sitio web: https://console.anthropic. om/ajustes/llaves.\n2. Una vez en el sitio web, localiza y haz clic en la opción para obtener tu Claude API Key.\n",
4
3
  "Ask Claude": "Preguntar a Claude",
5
4
  "Extract Structured Data": "Extraer datos estructurados",
package/src/i18n/fr.json CHANGED
@@ -1,5 +1,4 @@
1
1
  {
2
- "Anthropic Claude": "Claude Anthropique",
3
2
  "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
3
  "Ask Claude": "Demander à Claude",
5
4
  "Extract Structured Data": "Extraire des données structurées",
package/src/i18n/ja.json CHANGED
@@ -1,5 +1,4 @@
1
1
  {
2
- "Anthropic Claude": "Anthropic Claude",
3
2
  "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": "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",
4
3
  "Ask Claude": "クロードに聞いてみよう",
5
4
  "Extract Structured Data": "構造化データの抽出",
package/src/i18n/nl.json CHANGED
@@ -1,5 +1,4 @@
1
1
  {
2
- "Anthropic Claude": "Anthropische Claude",
3
2
  "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": "Volg deze instructies om je Claude API Key te verkrijgen:\n\n1. Bezoek de volgende website: https://console.anthropic. om/instellingen/toetsen.\n2. Eenmaal op de website, lokaliseer en klik op de optie om je Claude API Key te verkrijgen.\n",
4
3
  "Ask Claude": "Vraag Claude",
5
4
  "Extract Structured Data": "Extract gestructureerde gegevens",
package/src/i18n/pt.json CHANGED
@@ -1,5 +1,4 @@
1
1
  {
2
- "Anthropic Claude": "Claude antropico",
3
2
  "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": "Siga estas instruções para obter sua chave de API:\n\n1. Visite o seguinte site: https://console.anthropic. om/settings/keys.\n2. Uma vez no site, localize e clique na opção para obter sua chave de API Claude\n",
4
3
  "Ask Claude": "Perguntar ao Claude",
5
4
  "Extract Structured Data": "Extrair Dados Estruturados",
@@ -1,5 +1,4 @@
1
1
  {
2
- "Anthropic Claude": "Anthropic Claude",
3
2
  "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": "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",
4
3
  "Ask Claude": "Ask Claude",
5
4
  "Extract Structured Data": "Extract Structured Data",
package/src/i18n/zh.json CHANGED
@@ -1,56 +1,55 @@
1
1
  {
2
- "Anthropic Claude": "Anthropic Claude",
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": "請按照以下說明獲取您的 Claude API 金鑰:\n\n1. 訪問以下網站:https://console.anthropic.com/settings/keys。\n2. 一旦進入網站,找到並點擊選項以獲取您的 Claude API 金鑰。\n",
4
- "Ask Claude": "詢問 Claude",
5
- "Extract Structured Data": "提取結構化數據",
6
- "Custom API Call": "自定義 API 調用",
7
- "Ask Claude anything you want!": "問 Claude 任何你想問的問題!",
8
- "Extract structured data from provided text,image or PDF.": "從提供的文本、圖片或 PDF 提取結構化數據。",
9
- "Make a custom API call to a specific endpoint": "對特定端點進行自定義 API 調用",
10
- "Model": "模型",
11
- "System Prompt": "系統提示",
12
- "Temperature": "溫度",
13
- "Maximum Tokens": "最大代幣",
14
- "Question": "問題",
15
- "Image (URL)": "圖片(URL)",
2
+ "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": "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",
3
+ "Ask Claude": "Ask Claude",
4
+ "Extract Structured Data": "Extract Structured Data",
5
+ "Custom API Call": "自定义 API 呼叫",
6
+ "Ask Claude anything you want!": "Ask Claude anything you want!",
7
+ "Extract structured data from provided text,image or PDF.": "Extract structured data from provided text,image or PDF.",
8
+ "Make a custom API call to a specific endpoint": "将一个自定义 API 调用到一个特定的终点",
9
+ "Model": "Model",
10
+ "System Prompt": "System Prompt",
11
+ "Temperature": "Temperature",
12
+ "Maximum Tokens": "Maximum Tokens",
13
+ "Question": "Question",
14
+ "Image (URL)": "Image (URL)",
16
15
  "Roles": "角色",
17
- "Extended Thinking Mode": "擴展思考模式",
16
+ "Extended Thinking Mode": "Extended Thinking Mode",
18
17
  "Text": "文本",
19
- "Image/PDF": "圖片/PDF",
20
- "Guide Prompt": "指導提示",
21
- "Data Schema Type": "數據架構類型",
22
- "Data Definition": "數據定義",
18
+ "Image/PDF": "Image/PDF",
19
+ "Guide Prompt": "Guide Prompt",
20
+ "Data Schema Type": "Data Schema Type",
21
+ "Data Definition": "Data Definition",
23
22
  "Method": "方法",
24
- "Headers": "標頭",
25
- "Query Parameters": "查詢參數",
26
- "Body": "正文",
23
+ "Headers": "信头",
24
+ "Query Parameters": "查询参数",
25
+ "Body": "正文内容",
27
26
  "Response is Binary ?": "Response is Binary ?",
28
- "No Error on Failure": "失敗時無錯誤",
29
- "Timeout (in seconds)": "超時(以秒為單位)",
30
- "The model which will generate the completion. Some models are suitable for natural language tasks, others specialize in code.": "生成完成的模型。一些模型適用於自然語言任務,其他模型專注於代碼。",
31
- "Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.": "控制隨機性:降低將導致完成更不隨機。當溫度接近零時,模型將變得確定並更具重複性。",
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)": "最大代幣數。請求最多可以使用 2,048 或 4,096 個代幣分配在提示和完成之間,不要將值設置為最大,保留一些代幣供輸入使用。具體限制因模型而異。(一個代幣約為正常英文文本的 4 個字符)",
33
- "URL of image to be used as input for the model.": "用作模型輸入的圖像網址。",
34
- "Array of roles to specify more accurate response.Please check [guide to Input Messages](https://docs.anthropic.com/en/api/messages-examples#vision).": "角色數組,以指定更準確的響應。請查看 [輸入消息指南](https://docs.anthropic.com/en/api/messages-examples#vision)。",
35
- "Uses claude 3.7 sonnet enhanced reasoning capabilities for complex tasks.": "使用 Claude 3.7 詩歌增強推理能力來進行複雜任務。",
36
- "Text to extract structured data from.": "要提取結構化數據的文本。",
37
- "Image or PDF to extract structured data from.": "要提取結構化數據的圖片或 PDF。",
38
- "Prompt to guide the AI.": "引導 AI 的提示。",
39
- "For complex schema, you can use advanced mode.": "對於複雜架構,您可以使用高級模式。",
40
- "Authorization headers are injected automatically from your connection.": "授權標頭會從您的連接中自動插入。",
27
+ "No Error on Failure": "失败时没有错误",
28
+ "Timeout (in seconds)": "超时(秒)",
29
+ "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.",
30
+ "Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.": "Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.",
31
+ "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)": "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)",
32
+ "URL of image to be used as input for the model.": "URL of image to be used as input for the model.",
33
+ "Array of roles to specify more accurate response.Please check [guide to Input Messages](https://docs.anthropic.com/en/api/messages-examples#vision).": "Array of roles to specify more accurate response.Please check [guide to Input Messages](https://docs.anthropic.com/en/api/messages-examples#vision).",
34
+ "Uses claude 3.7 sonnet enhanced reasoning capabilities for complex tasks.": "Uses claude 3.7 sonnet enhanced reasoning capabilities for complex tasks.",
35
+ "Text to extract structured data from.": "Text to extract structured data from.",
36
+ "Image or PDF to extract structured data from.": "Image or PDF to extract structured data from.",
37
+ "Prompt to guide the AI.": "Prompt to guide the AI.",
38
+ "For complex schema, you can use advanced mode.": "For complex schema, you can use advanced mode.",
39
+ "Authorization headers are injected automatically from your connection.": "授权头自动从您的连接中注入。",
41
40
  "Enable for files like PDFs, images, etc..": "Enable for files like PDFs, images, etc..",
42
- "Claude 3 Haiku": "Claude 3 詩歌",
43
- "Claude 3 Sonnet": "Claude 3 詩歌",
44
- "Claude 3 Opus": "Claude 3 作品",
45
- "Claude 3.5 Sonnet": "Claude 3.5 詩歌",
46
- "Claude 3.5 Haiku": "Claude 3.5 詩歌",
47
- "Claude 3.7 Sonnet": "Claude 3.7 詩歌",
48
- "Simple": "簡單",
49
- "Advanced": "高級",
50
- "GET": "GET",
51
- "POST": "POST",
41
+ "Claude 3 Haiku": "Claude 3 Haiku",
42
+ "Claude 3 Sonnet": "Claude 3 Sonnet",
43
+ "Claude 3 Opus": "Claude 3 Opus",
44
+ "Claude 3.5 Sonnet": "Claude 3.5 Sonnet",
45
+ "Claude 3.5 Haiku": "Claude 3.5 Haiku",
46
+ "Claude 3.7 Sonnet": "Claude 3.7 Sonnet",
47
+ "Simple": "Simple",
48
+ "Advanced": "Advanced",
49
+ "GET": "获取",
50
+ "POST": "帖子",
52
51
  "PATCH": "PATCH",
53
- "PUT": "PUT",
54
- "DELETE": "DELETE",
55
- "HEAD": "HEAD"
52
+ "PUT": "弹出",
53
+ "DELETE": "删除",
54
+ "HEAD": "黑色"
56
55
  }