@keystrokehq/stack_ai 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/check-health.cjs.map +1 -1
- package/dist/actions/check-health.d.cts +3 -3
- package/dist/actions/check-health.d.cts.map +1 -1
- package/dist/actions/check-health.d.mts +3 -3
- package/dist/actions/check-health.d.mts.map +1 -1
- package/dist/actions/check-health.mjs.map +1 -1
- package/dist/actions/get-action-inputs.cjs.map +1 -1
- package/dist/actions/get-action-inputs.d.cts +9 -3
- package/dist/actions/get-action-inputs.d.cts.map +1 -1
- package/dist/actions/get-action-inputs.d.mts +9 -3
- package/dist/actions/get-action-inputs.d.mts.map +1 -1
- package/dist/actions/get-action-inputs.mjs.map +1 -1
- package/dist/actions/get-action-outputs.cjs.map +1 -1
- package/dist/actions/get-action-outputs.d.cts +17 -3
- package/dist/actions/get-action-outputs.d.cts.map +1 -1
- package/dist/actions/get-action-outputs.d.mts +17 -3
- package/dist/actions/get-action-outputs.d.mts.map +1 -1
- package/dist/actions/get-action-outputs.mjs.map +1 -1
- package/dist/actions/get-connector-type-schema.cjs +7 -7
- package/dist/actions/get-connector-type-schema.cjs.map +1 -1
- package/dist/actions/get-connector-type-schema.d.cts +22 -3
- package/dist/actions/get-connector-type-schema.d.cts.map +1 -1
- package/dist/actions/get-connector-type-schema.d.mts +22 -3
- package/dist/actions/get-connector-type-schema.d.mts.map +1 -1
- package/dist/actions/get-connector-type-schema.mjs +7 -7
- package/dist/actions/get-connector-type-schema.mjs.map +1 -1
- package/dist/actions/get-license-status.cjs +6 -6
- package/dist/actions/get-license-status.cjs.map +1 -1
- package/dist/actions/get-license-status.d.cts +9 -3
- package/dist/actions/get-license-status.d.cts.map +1 -1
- package/dist/actions/get-license-status.d.mts +9 -3
- package/dist/actions/get-license-status.d.mts.map +1 -1
- package/dist/actions/get-license-status.mjs +6 -6
- package/dist/actions/get-license-status.mjs.map +1 -1
- package/dist/actions/get-provider-action.cjs +26 -26
- package/dist/actions/get-provider-action.cjs.map +1 -1
- package/dist/actions/get-provider-action.d.cts +54 -3
- package/dist/actions/get-provider-action.d.cts.map +1 -1
- package/dist/actions/get-provider-action.d.mts +54 -3
- package/dist/actions/get-provider-action.d.mts.map +1 -1
- package/dist/actions/get-provider-action.mjs +26 -26
- package/dist/actions/get-provider-action.mjs.map +1 -1
- package/dist/actions/get-provider-icon.cjs +6 -6
- package/dist/actions/get-provider-icon.cjs.map +1 -1
- package/dist/actions/get-provider-icon.d.cts +14 -3
- package/dist/actions/get-provider-icon.d.cts.map +1 -1
- package/dist/actions/get-provider-icon.d.mts +14 -3
- package/dist/actions/get-provider-icon.d.mts.map +1 -1
- package/dist/actions/get-provider-icon.mjs +6 -6
- package/dist/actions/get-provider-icon.mjs.map +1 -1
- package/dist/actions/get-provider-trigger.cjs +19 -19
- package/dist/actions/get-provider-trigger.cjs.map +1 -1
- package/dist/actions/get-provider-trigger.d.cts +55 -3
- package/dist/actions/get-provider-trigger.d.cts.map +1 -1
- package/dist/actions/get-provider-trigger.d.mts +55 -3
- package/dist/actions/get-provider-trigger.d.mts.map +1 -1
- package/dist/actions/get-provider-trigger.mjs +19 -19
- package/dist/actions/get-provider-trigger.mjs.map +1 -1
- package/dist/actions/get-provider.cjs +19 -19
- package/dist/actions/get-provider.cjs.map +1 -1
- package/dist/actions/get-provider.d.cts +52 -3
- package/dist/actions/get-provider.d.cts.map +1 -1
- package/dist/actions/get-provider.d.mts +52 -3
- package/dist/actions/get-provider.d.mts.map +1 -1
- package/dist/actions/get-provider.mjs +19 -19
- package/dist/actions/get-provider.mjs.map +1 -1
- package/dist/actions/get-root.cjs.map +1 -1
- package/dist/actions/get-root.d.cts +3 -3
- package/dist/actions/get-root.d.cts.map +1 -1
- package/dist/actions/get-root.d.mts +3 -3
- package/dist/actions/get-root.d.mts.map +1 -1
- package/dist/actions/get-root.mjs.map +1 -1
- package/dist/actions/get-trigger-by-provider.cjs +10 -10
- package/dist/actions/get-trigger-by-provider.cjs.map +1 -1
- package/dist/actions/get-trigger-by-provider.d.cts +29 -3
- package/dist/actions/get-trigger-by-provider.d.cts.map +1 -1
- package/dist/actions/get-trigger-by-provider.d.mts +29 -3
- package/dist/actions/get-trigger-by-provider.d.mts.map +1 -1
- package/dist/actions/get-trigger-by-provider.mjs +10 -10
- package/dist/actions/get-trigger-by-provider.mjs.map +1 -1
- package/dist/actions/get-trigger-inputs.cjs +1 -1
- package/dist/actions/get-trigger-inputs.cjs.map +1 -1
- package/dist/actions/get-trigger-inputs.d.cts +11 -3
- package/dist/actions/get-trigger-inputs.d.cts.map +1 -1
- package/dist/actions/get-trigger-inputs.d.mts +11 -3
- package/dist/actions/get-trigger-inputs.d.mts.map +1 -1
- package/dist/actions/get-trigger-inputs.mjs +1 -1
- package/dist/actions/get-trigger-inputs.mjs.map +1 -1
- package/dist/actions/get-trigger-outputs.cjs +1 -1
- package/dist/actions/get-trigger-outputs.cjs.map +1 -1
- package/dist/actions/get-trigger-outputs.d.cts +15 -3
- package/dist/actions/get-trigger-outputs.d.cts.map +1 -1
- package/dist/actions/get-trigger-outputs.d.mts +15 -3
- package/dist/actions/get-trigger-outputs.d.mts.map +1 -1
- package/dist/actions/get-trigger-outputs.mjs +1 -1
- package/dist/actions/get-trigger-outputs.mjs.map +1 -1
- package/dist/actions/list-connector-types.cjs.map +1 -1
- package/dist/actions/list-connector-types.d.cts +3 -3
- package/dist/actions/list-connector-types.d.cts.map +1 -1
- package/dist/actions/list-connector-types.d.mts +3 -3
- package/dist/actions/list-connector-types.d.mts.map +1 -1
- package/dist/actions/list-connector-types.mjs.map +1 -1
- package/dist/actions/list-integrations.cjs +3 -3
- package/dist/actions/list-integrations.cjs.map +1 -1
- package/dist/actions/list-integrations.d.cts +9 -3
- package/dist/actions/list-integrations.d.cts.map +1 -1
- package/dist/actions/list-integrations.d.mts +9 -3
- package/dist/actions/list-integrations.d.mts.map +1 -1
- package/dist/actions/list-integrations.mjs +3 -3
- package/dist/actions/list-integrations.mjs.map +1 -1
- package/dist/actions/list-permission-groups.cjs.map +1 -1
- package/dist/actions/list-permission-groups.d.cts +3 -3
- package/dist/actions/list-permission-groups.d.cts.map +1 -1
- package/dist/actions/list-permission-groups.d.mts +3 -3
- package/dist/actions/list-permission-groups.d.mts.map +1 -1
- package/dist/actions/list-permission-groups.mjs.map +1 -1
- package/dist/actions/list-permissions.cjs +8 -8
- package/dist/actions/list-permissions.cjs.map +1 -1
- package/dist/actions/list-permissions.d.cts +17 -3
- package/dist/actions/list-permissions.d.cts.map +1 -1
- package/dist/actions/list-permissions.d.mts +17 -3
- package/dist/actions/list-permissions.d.mts.map +1 -1
- package/dist/actions/list-permissions.mjs +8 -8
- package/dist/actions/list-permissions.mjs.map +1 -1
- package/dist/actions/list-provider-triggers.cjs +12 -12
- package/dist/actions/list-provider-triggers.cjs.map +1 -1
- package/dist/actions/list-provider-triggers.d.cts +29 -3
- package/dist/actions/list-provider-triggers.d.cts.map +1 -1
- package/dist/actions/list-provider-triggers.d.mts +29 -3
- package/dist/actions/list-provider-triggers.d.mts.map +1 -1
- package/dist/actions/list-provider-triggers.mjs +12 -12
- package/dist/actions/list-provider-triggers.mjs.map +1 -1
- package/dist/actions/list-stack-ai-triggers.cjs +1 -1
- package/dist/actions/list-stack-ai-triggers.cjs.map +1 -1
- package/dist/actions/list-stack-ai-triggers.d.cts +5 -3
- package/dist/actions/list-stack-ai-triggers.d.cts.map +1 -1
- package/dist/actions/list-stack-ai-triggers.d.mts +5 -3
- package/dist/actions/list-stack-ai-triggers.d.mts.map +1 -1
- package/dist/actions/list-stack-ai-triggers.mjs +1 -1
- package/dist/actions/list-stack-ai-triggers.mjs.map +1 -1
- package/dist/actions/list-stackai-actions.cjs +1 -1
- package/dist/actions/list-stackai-actions.cjs.map +1 -1
- package/dist/actions/list-stackai-actions.d.cts +5 -3
- package/dist/actions/list-stackai-actions.d.cts.map +1 -1
- package/dist/actions/list-stackai-actions.d.mts +5 -3
- package/dist/actions/list-stackai-actions.d.mts.map +1 -1
- package/dist/actions/list-stackai-actions.mjs +1 -1
- package/dist/actions/list-stackai-actions.mjs.map +1 -1
- package/dist/actions/list-stackai-providers.cjs +11 -11
- package/dist/actions/list-stackai-providers.cjs.map +1 -1
- package/dist/actions/list-stackai-providers.d.cts +26 -3
- package/dist/actions/list-stackai-providers.d.cts.map +1 -1
- package/dist/actions/list-stackai-providers.d.mts +26 -3
- package/dist/actions/list-stackai-providers.d.mts.map +1 -1
- package/dist/actions/list-stackai-providers.mjs +11 -11
- package/dist/actions/list-stackai-providers.mjs.map +1 -1
- package/dist/actions/list-stackai-tools.cjs +7 -7
- package/dist/actions/list-stackai-tools.cjs.map +1 -1
- package/dist/actions/list-stackai-tools.d.cts +26 -3
- package/dist/actions/list-stackai-tools.d.cts.map +1 -1
- package/dist/actions/list-stackai-tools.d.mts +26 -3
- package/dist/actions/list-stackai-tools.d.mts.map +1 -1
- package/dist/actions/list-stackai-tools.mjs +7 -7
- package/dist/actions/list-stackai-tools.mjs.map +1 -1
- package/dist/catalog.cjs +13 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +12 -0
- package/dist/catalog.d.mts +12 -0
- package/dist/catalog.mjs +13 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -6,55 +6,55 @@ const StackAiGetProviderActionInput = zod.z.object({
|
|
|
6
6
|
provider_id: zod.z.string().describe("The unique identifier of the provider (e.g., 'gmail', 'slack').")
|
|
7
7
|
}).describe("Request model for getting details of a specific action for a provider.");
|
|
8
8
|
const StackAiGetProviderAction_ActionDescriptionSchema = zod.z.object({
|
|
9
|
-
llm: zod.z.string().describe("The description shown to the LLM"),
|
|
10
|
-
human: zod.z.string().describe("The description shown to the user")
|
|
11
|
-
}).describe("Description of an action shown to users and LLMs.");
|
|
9
|
+
llm: zod.z.string().describe("The description shown to the LLM").nullable(),
|
|
10
|
+
human: zod.z.string().describe("The description shown to the user").nullable()
|
|
11
|
+
}).passthrough().describe("Description of an action shown to users and LLMs.");
|
|
12
12
|
const StackAiGetProviderAction_ToolInputParameterSchemaSchema = zod.z.object({
|
|
13
13
|
max: zod.z.unknown().describe("Maximum value for the parameter").nullable().optional(),
|
|
14
14
|
min: zod.z.unknown().describe("Minimum value for the parameter").nullable().optional(),
|
|
15
|
-
form: zod.z.string().describe("Form type for the parameter"),
|
|
16
|
-
name: zod.z.string().describe("Name of the parameter"),
|
|
15
|
+
form: zod.z.string().describe("Form type for the parameter").nullable(),
|
|
16
|
+
name: zod.z.string().describe("Name of the parameter").nullable(),
|
|
17
17
|
type: zod.z.unknown().describe("Type of the parameter"),
|
|
18
|
-
label: zod.z.string().describe("Label for the parameter"),
|
|
18
|
+
label: zod.z.string().describe("Label for the parameter").nullable(),
|
|
19
19
|
"default": zod.z.unknown().describe("Default value for the parameter").nullable().optional(),
|
|
20
20
|
options: zod.z.array(zod.z.unknown()).describe("Options for the parameter").nullable().optional(),
|
|
21
|
-
required: zod.z.boolean().describe("Whether the parameter is required"),
|
|
21
|
+
required: zod.z.boolean().describe("Whether the parameter is required").nullable(),
|
|
22
22
|
ui_hints: zod.z.unknown().describe("UI hints for the parameter").nullable().optional(),
|
|
23
23
|
depends_on: zod.z.unknown().describe("Dependencies for the parameter").nullable().optional(),
|
|
24
24
|
placeholder: zod.z.string().describe("Placeholder text for the parameter").nullable().optional(),
|
|
25
|
-
llm_description: zod.z.string().describe("Description shown to the LLM"),
|
|
26
|
-
human_description: zod.z.string().describe("Description shown to the user"),
|
|
25
|
+
llm_description: zod.z.string().describe("Description shown to the LLM").nullable(),
|
|
26
|
+
human_description: zod.z.string().describe("Description shown to the user").nullable(),
|
|
27
27
|
has_dynamic_options: zod.z.boolean().describe("Whether the parameter has dynamic options").nullable().optional()
|
|
28
|
-
}).describe("Schema for tool input parameters.");
|
|
28
|
+
}).passthrough().describe("Schema for tool input parameters.");
|
|
29
29
|
const StackAiGetProviderAction_ApiToolInfoSchema = zod.z.object({
|
|
30
|
-
id: zod.z.string().describe("Unique identifier for the API tool"),
|
|
31
|
-
path: zod.z.string().describe("API endpoint path"),
|
|
32
|
-
method: zod.z.string().describe("HTTP method for the API call"),
|
|
30
|
+
id: zod.z.string().describe("Unique identifier for the API tool").nullable(),
|
|
31
|
+
path: zod.z.string().describe("API endpoint path").nullable(),
|
|
32
|
+
method: zod.z.string().describe("HTTP method for the API call").nullable(),
|
|
33
33
|
headers: zod.z.array(zod.z.unknown()).describe("Headers for the API call").nullable().optional(),
|
|
34
34
|
parameters: zod.z.array(zod.z.unknown()).describe("Parameters for the API call").nullable().optional(),
|
|
35
35
|
description: zod.z.unknown().describe("Description of the API tool").nullable().optional(),
|
|
36
|
-
server_url_with_path: zod.z.string().describe("Full server URL with path")
|
|
37
|
-
}).describe("API tool information for the action.");
|
|
36
|
+
server_url_with_path: zod.z.string().describe("Full server URL with path").nullable()
|
|
37
|
+
}).passthrough().describe("API tool information for the action.");
|
|
38
38
|
const StackAiGetProviderAction_ToolOutputParameterSchemaSchema = zod.z.object({
|
|
39
|
-
name: zod.z.string().describe("Name of the output parameter"),
|
|
39
|
+
name: zod.z.string().describe("Name of the output parameter").nullable(),
|
|
40
40
|
type: zod.z.unknown().describe("Type of the output parameter"),
|
|
41
|
-
label: zod.z.string().describe("Label for the output parameter"),
|
|
42
|
-
llm_description: zod.z.string().describe("Description shown to the LLM"),
|
|
43
|
-
human_description: zod.z.string().describe("Description shown to the user")
|
|
44
|
-
}).describe("Schema for tool output parameters.");
|
|
41
|
+
label: zod.z.string().describe("Label for the output parameter").nullable(),
|
|
42
|
+
llm_description: zod.z.string().describe("Description shown to the LLM").nullable(),
|
|
43
|
+
human_description: zod.z.string().describe("Description shown to the user").nullable()
|
|
44
|
+
}).passthrough().describe("Schema for tool output parameters.");
|
|
45
45
|
const StackAiGetProviderActionOutput = zod.z.object({
|
|
46
|
-
name: zod.z.string().describe("Name of the action"),
|
|
46
|
+
name: zod.z.string().describe("Name of the action").nullable(),
|
|
47
47
|
tags: zod.z.array(zod.z.string()).describe("Tags associated with the action").nullable().optional(),
|
|
48
|
-
action_id: zod.z.string().describe("Unique identifier for the action"),
|
|
48
|
+
action_id: zod.z.string().describe("Unique identifier for the action").nullable(),
|
|
49
49
|
description: StackAiGetProviderAction_ActionDescriptionSchema.nullable(),
|
|
50
|
-
provider_id: zod.z.string().describe("Unique identifier for the provider"),
|
|
50
|
+
provider_id: zod.z.string().describe("Unique identifier for the provider").nullable(),
|
|
51
51
|
input_params: zod.z.array(StackAiGetProviderAction_ToolInputParameterSchemaSchema).describe("List of input parameters for the action"),
|
|
52
52
|
api_tool_info: StackAiGetProviderAction_ApiToolInfoSchema.nullable().optional(),
|
|
53
53
|
is_searchable: zod.z.boolean().default(true).describe("Whether the action is searchable").nullable().optional(),
|
|
54
54
|
output_params: zod.z.array(StackAiGetProviderAction_ToolOutputParameterSchemaSchema).describe("List of output parameters for the action"),
|
|
55
|
-
input_param_count: zod.z.number().int().describe("Total count of input parameters"),
|
|
56
|
-
output_param_count: zod.z.number().int().describe("Total count of output parameters")
|
|
57
|
-
}).describe("Response model containing details of the provider action.");
|
|
55
|
+
input_param_count: zod.z.number().int().describe("Total count of input parameters").nullable(),
|
|
56
|
+
output_param_count: zod.z.number().int().describe("Total count of output parameters").nullable()
|
|
57
|
+
}).passthrough().describe("Response model containing details of the provider action.");
|
|
58
58
|
const stackAiGetProviderAction = require_action.action("STACK_AI_GET_PROVIDER_ACTION", {
|
|
59
59
|
slug: "stack_ai-get-provider-action",
|
|
60
60
|
name: "Get Provider Action Details",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-provider-action.cjs","names":["z","action"],"sources":["../../src/actions/get-provider-action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetProviderActionInput
|
|
1
|
+
{"version":3,"file":"get-provider-action.cjs","names":["z","action"],"sources":["../../src/actions/get-provider-action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetProviderActionInput = z.object({\n action_id: z.string().describe(\"The unique identifier of the action for the provider.\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'gmail', 'slack').\"),\n}).describe(\"Request model for getting details of a specific action for a provider.\");\nconst StackAiGetProviderAction_ActionDescriptionSchema = z.object({\n llm: z.string().describe(\"The description shown to the LLM\").nullable(),\n human: z.string().describe(\"The description shown to the user\").nullable(),\n}).passthrough().describe(\"Description of an action shown to users and LLMs.\");\nconst StackAiGetProviderAction_ToolInputParameterSchemaSchema = z.object({\n max: z.unknown().describe(\"Maximum value for the parameter\").nullable().optional(),\n min: z.unknown().describe(\"Minimum value for the parameter\").nullable().optional(),\n form: z.string().describe(\"Form type for the parameter\").nullable(),\n name: z.string().describe(\"Name of the parameter\").nullable(),\n type: z.unknown().describe(\"Type of the parameter\"),\n label: z.string().describe(\"Label for the parameter\").nullable(),\n \"default\": z.unknown().describe(\"Default value for the parameter\").nullable().optional(),\n options: z.array(z.unknown()).describe(\"Options for the parameter\").nullable().optional(),\n required: z.boolean().describe(\"Whether the parameter is required\").nullable(),\n ui_hints: z.unknown().describe(\"UI hints for the parameter\").nullable().optional(),\n depends_on: z.unknown().describe(\"Dependencies for the parameter\").nullable().optional(),\n placeholder: z.string().describe(\"Placeholder text for the parameter\").nullable().optional(),\n llm_description: z.string().describe(\"Description shown to the LLM\").nullable(),\n human_description: z.string().describe(\"Description shown to the user\").nullable(),\n has_dynamic_options: z.boolean().describe(\"Whether the parameter has dynamic options\").nullable().optional(),\n}).passthrough().describe(\"Schema for tool input parameters.\");\nconst StackAiGetProviderAction_ApiToolInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the API tool\").nullable(),\n path: z.string().describe(\"API endpoint path\").nullable(),\n method: z.string().describe(\"HTTP method for the API call\").nullable(),\n headers: z.array(z.unknown()).describe(\"Headers for the API call\").nullable().optional(),\n parameters: z.array(z.unknown()).describe(\"Parameters for the API call\").nullable().optional(),\n description: z.unknown().describe(\"Description of the API tool\").nullable().optional(),\n server_url_with_path: z.string().describe(\"Full server URL with path\").nullable(),\n}).passthrough().describe(\"API tool information for the action.\");\nconst StackAiGetProviderAction_ToolOutputParameterSchemaSchema = z.object({\n name: z.string().describe(\"Name of the output parameter\").nullable(),\n type: z.unknown().describe(\"Type of the output parameter\"),\n label: z.string().describe(\"Label for the output parameter\").nullable(),\n llm_description: z.string().describe(\"Description shown to the LLM\").nullable(),\n human_description: z.string().describe(\"Description shown to the user\").nullable(),\n}).passthrough().describe(\"Schema for tool output parameters.\");\nexport const StackAiGetProviderActionOutput = z.object({\n name: z.string().describe(\"Name of the action\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the action\").nullable().optional(),\n action_id: z.string().describe(\"Unique identifier for the action\").nullable(),\n description: StackAiGetProviderAction_ActionDescriptionSchema.nullable(),\n provider_id: z.string().describe(\"Unique identifier for the provider\").nullable(),\n input_params: z.array(StackAiGetProviderAction_ToolInputParameterSchemaSchema).describe(\"List of input parameters for the action\"),\n api_tool_info: StackAiGetProviderAction_ApiToolInfoSchema.nullable().optional(),\n is_searchable: z.boolean().default(true).describe(\"Whether the action is searchable\").nullable().optional(),\n output_params: z.array(StackAiGetProviderAction_ToolOutputParameterSchemaSchema).describe(\"List of output parameters for the action\"),\n input_param_count: z.number().int().describe(\"Total count of input parameters\").nullable(),\n output_param_count: z.number().int().describe(\"Total count of output parameters\").nullable(),\n}).passthrough().describe(\"Response model containing details of the provider action.\");\n\nexport const stackAiGetProviderAction = action(\"STACK_AI_GET_PROVIDER_ACTION\", {\n slug: \"stack_ai-get-provider-action\",\n name: \"Get Provider Action Details\",\n description: \"Tool to get details of a specific action for a provider. Use when you need information about a provider's action including its parameters, description, and API details.\",\n input: StackAiGetProviderActionInput,\n output: StackAiGetProviderActionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD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S,CAAC,CAAC,SAAS;CAC1G,eAAeA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,0CAA0C;CACpI,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,60 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-provider-action.d.ts
|
|
4
|
-
declare const StackAiGetProviderActionInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const StackAiGetProviderActionInput: z.ZodObject<{
|
|
5
|
+
action_id: z.ZodString;
|
|
6
|
+
provider_id: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const StackAiGetProviderActionOutput: z.ZodObject<{
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
11
|
+
action_id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
description: z.ZodNullable<z.ZodObject<{
|
|
13
|
+
llm: z.ZodNullable<z.ZodString>;
|
|
14
|
+
human: z.ZodNullable<z.ZodString>;
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
provider_id: z.ZodNullable<z.ZodString>;
|
|
17
|
+
input_params: z.ZodArray<z.ZodObject<{
|
|
18
|
+
max: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
19
|
+
min: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
20
|
+
form: z.ZodNullable<z.ZodString>;
|
|
21
|
+
name: z.ZodNullable<z.ZodString>;
|
|
22
|
+
type: z.ZodUnknown;
|
|
23
|
+
label: z.ZodNullable<z.ZodString>;
|
|
24
|
+
default: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
25
|
+
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
26
|
+
required: z.ZodNullable<z.ZodBoolean>;
|
|
27
|
+
ui_hints: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
28
|
+
depends_on: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
29
|
+
placeholder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
llm_description: z.ZodNullable<z.ZodString>;
|
|
31
|
+
human_description: z.ZodNullable<z.ZodString>;
|
|
32
|
+
has_dynamic_options: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
|
+
api_tool_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
35
|
+
id: z.ZodNullable<z.ZodString>;
|
|
36
|
+
path: z.ZodNullable<z.ZodString>;
|
|
37
|
+
method: z.ZodNullable<z.ZodString>;
|
|
38
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
39
|
+
parameters: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
40
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
41
|
+
server_url_with_path: z.ZodNullable<z.ZodString>;
|
|
42
|
+
}, z.core.$loose>>>;
|
|
43
|
+
is_searchable: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
44
|
+
output_params: z.ZodArray<z.ZodObject<{
|
|
45
|
+
name: z.ZodNullable<z.ZodString>;
|
|
46
|
+
type: z.ZodUnknown;
|
|
47
|
+
label: z.ZodNullable<z.ZodString>;
|
|
48
|
+
llm_description: z.ZodNullable<z.ZodString>;
|
|
49
|
+
human_description: z.ZodNullable<z.ZodString>;
|
|
50
|
+
}, z.core.$loose>>;
|
|
51
|
+
input_param_count: z.ZodNullable<z.ZodNumber>;
|
|
52
|
+
output_param_count: z.ZodNullable<z.ZodNumber>;
|
|
53
|
+
}, z.core.$loose>;
|
|
54
|
+
declare const stackAiGetProviderAction: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
55
|
+
action_id: string;
|
|
56
|
+
provider_id: string;
|
|
57
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
58
|
//#endregion
|
|
8
59
|
export { stackAiGetProviderAction };
|
|
9
60
|
//# sourceMappingURL=get-provider-action.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-provider-action.d.cts","names":[],"sources":["../../src/actions/get-provider-action.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-provider-action.d.cts","names":[],"sources":["../../src/actions/get-provider-action.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAyC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,60 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-provider-action.d.ts
|
|
4
|
-
declare const StackAiGetProviderActionInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const StackAiGetProviderActionInput: z.ZodObject<{
|
|
5
|
+
action_id: z.ZodString;
|
|
6
|
+
provider_id: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const StackAiGetProviderActionOutput: z.ZodObject<{
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
11
|
+
action_id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
description: z.ZodNullable<z.ZodObject<{
|
|
13
|
+
llm: z.ZodNullable<z.ZodString>;
|
|
14
|
+
human: z.ZodNullable<z.ZodString>;
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
provider_id: z.ZodNullable<z.ZodString>;
|
|
17
|
+
input_params: z.ZodArray<z.ZodObject<{
|
|
18
|
+
max: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
19
|
+
min: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
20
|
+
form: z.ZodNullable<z.ZodString>;
|
|
21
|
+
name: z.ZodNullable<z.ZodString>;
|
|
22
|
+
type: z.ZodUnknown;
|
|
23
|
+
label: z.ZodNullable<z.ZodString>;
|
|
24
|
+
default: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
25
|
+
options: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
26
|
+
required: z.ZodNullable<z.ZodBoolean>;
|
|
27
|
+
ui_hints: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
28
|
+
depends_on: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
29
|
+
placeholder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
llm_description: z.ZodNullable<z.ZodString>;
|
|
31
|
+
human_description: z.ZodNullable<z.ZodString>;
|
|
32
|
+
has_dynamic_options: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
33
|
+
}, z.core.$loose>>;
|
|
34
|
+
api_tool_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
35
|
+
id: z.ZodNullable<z.ZodString>;
|
|
36
|
+
path: z.ZodNullable<z.ZodString>;
|
|
37
|
+
method: z.ZodNullable<z.ZodString>;
|
|
38
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
39
|
+
parameters: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
|
|
40
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
41
|
+
server_url_with_path: z.ZodNullable<z.ZodString>;
|
|
42
|
+
}, z.core.$loose>>>;
|
|
43
|
+
is_searchable: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
44
|
+
output_params: z.ZodArray<z.ZodObject<{
|
|
45
|
+
name: z.ZodNullable<z.ZodString>;
|
|
46
|
+
type: z.ZodUnknown;
|
|
47
|
+
label: z.ZodNullable<z.ZodString>;
|
|
48
|
+
llm_description: z.ZodNullable<z.ZodString>;
|
|
49
|
+
human_description: z.ZodNullable<z.ZodString>;
|
|
50
|
+
}, z.core.$loose>>;
|
|
51
|
+
input_param_count: z.ZodNullable<z.ZodNumber>;
|
|
52
|
+
output_param_count: z.ZodNullable<z.ZodNumber>;
|
|
53
|
+
}, z.core.$loose>;
|
|
54
|
+
declare const stackAiGetProviderAction: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
55
|
+
action_id: string;
|
|
56
|
+
provider_id: string;
|
|
57
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
58
|
//#endregion
|
|
8
59
|
export { stackAiGetProviderAction };
|
|
9
60
|
//# sourceMappingURL=get-provider-action.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-provider-action.d.mts","names":[],"sources":["../../src/actions/get-provider-action.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"get-provider-action.d.mts","names":[],"sources":["../../src/actions/get-provider-action.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAyC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAc9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -6,60 +6,60 @@ const StackAiGetProviderActionInput = z.object({
|
|
|
6
6
|
provider_id: z.string().describe("The unique identifier of the provider (e.g., 'gmail', 'slack').")
|
|
7
7
|
}).describe("Request model for getting details of a specific action for a provider.");
|
|
8
8
|
const StackAiGetProviderAction_ActionDescriptionSchema = z.object({
|
|
9
|
-
llm: z.string().describe("The description shown to the LLM"),
|
|
10
|
-
human: z.string().describe("The description shown to the user")
|
|
11
|
-
}).describe("Description of an action shown to users and LLMs.");
|
|
9
|
+
llm: z.string().describe("The description shown to the LLM").nullable(),
|
|
10
|
+
human: z.string().describe("The description shown to the user").nullable()
|
|
11
|
+
}).passthrough().describe("Description of an action shown to users and LLMs.");
|
|
12
12
|
const StackAiGetProviderAction_ToolInputParameterSchemaSchema = z.object({
|
|
13
13
|
max: z.unknown().describe("Maximum value for the parameter").nullable().optional(),
|
|
14
14
|
min: z.unknown().describe("Minimum value for the parameter").nullable().optional(),
|
|
15
|
-
form: z.string().describe("Form type for the parameter"),
|
|
16
|
-
name: z.string().describe("Name of the parameter"),
|
|
15
|
+
form: z.string().describe("Form type for the parameter").nullable(),
|
|
16
|
+
name: z.string().describe("Name of the parameter").nullable(),
|
|
17
17
|
type: z.unknown().describe("Type of the parameter"),
|
|
18
|
-
label: z.string().describe("Label for the parameter"),
|
|
18
|
+
label: z.string().describe("Label for the parameter").nullable(),
|
|
19
19
|
"default": z.unknown().describe("Default value for the parameter").nullable().optional(),
|
|
20
20
|
options: z.array(z.unknown()).describe("Options for the parameter").nullable().optional(),
|
|
21
|
-
required: z.boolean().describe("Whether the parameter is required"),
|
|
21
|
+
required: z.boolean().describe("Whether the parameter is required").nullable(),
|
|
22
22
|
ui_hints: z.unknown().describe("UI hints for the parameter").nullable().optional(),
|
|
23
23
|
depends_on: z.unknown().describe("Dependencies for the parameter").nullable().optional(),
|
|
24
24
|
placeholder: z.string().describe("Placeholder text for the parameter").nullable().optional(),
|
|
25
|
-
llm_description: z.string().describe("Description shown to the LLM"),
|
|
26
|
-
human_description: z.string().describe("Description shown to the user"),
|
|
25
|
+
llm_description: z.string().describe("Description shown to the LLM").nullable(),
|
|
26
|
+
human_description: z.string().describe("Description shown to the user").nullable(),
|
|
27
27
|
has_dynamic_options: z.boolean().describe("Whether the parameter has dynamic options").nullable().optional()
|
|
28
|
-
}).describe("Schema for tool input parameters.");
|
|
28
|
+
}).passthrough().describe("Schema for tool input parameters.");
|
|
29
29
|
const StackAiGetProviderAction_ApiToolInfoSchema = z.object({
|
|
30
|
-
id: z.string().describe("Unique identifier for the API tool"),
|
|
31
|
-
path: z.string().describe("API endpoint path"),
|
|
32
|
-
method: z.string().describe("HTTP method for the API call"),
|
|
30
|
+
id: z.string().describe("Unique identifier for the API tool").nullable(),
|
|
31
|
+
path: z.string().describe("API endpoint path").nullable(),
|
|
32
|
+
method: z.string().describe("HTTP method for the API call").nullable(),
|
|
33
33
|
headers: z.array(z.unknown()).describe("Headers for the API call").nullable().optional(),
|
|
34
34
|
parameters: z.array(z.unknown()).describe("Parameters for the API call").nullable().optional(),
|
|
35
35
|
description: z.unknown().describe("Description of the API tool").nullable().optional(),
|
|
36
|
-
server_url_with_path: z.string().describe("Full server URL with path")
|
|
37
|
-
}).describe("API tool information for the action.");
|
|
36
|
+
server_url_with_path: z.string().describe("Full server URL with path").nullable()
|
|
37
|
+
}).passthrough().describe("API tool information for the action.");
|
|
38
38
|
const StackAiGetProviderAction_ToolOutputParameterSchemaSchema = z.object({
|
|
39
|
-
name: z.string().describe("Name of the output parameter"),
|
|
39
|
+
name: z.string().describe("Name of the output parameter").nullable(),
|
|
40
40
|
type: z.unknown().describe("Type of the output parameter"),
|
|
41
|
-
label: z.string().describe("Label for the output parameter"),
|
|
42
|
-
llm_description: z.string().describe("Description shown to the LLM"),
|
|
43
|
-
human_description: z.string().describe("Description shown to the user")
|
|
44
|
-
}).describe("Schema for tool output parameters.");
|
|
41
|
+
label: z.string().describe("Label for the output parameter").nullable(),
|
|
42
|
+
llm_description: z.string().describe("Description shown to the LLM").nullable(),
|
|
43
|
+
human_description: z.string().describe("Description shown to the user").nullable()
|
|
44
|
+
}).passthrough().describe("Schema for tool output parameters.");
|
|
45
45
|
const stackAiGetProviderAction = action("STACK_AI_GET_PROVIDER_ACTION", {
|
|
46
46
|
slug: "stack_ai-get-provider-action",
|
|
47
47
|
name: "Get Provider Action Details",
|
|
48
48
|
description: "Tool to get details of a specific action for a provider. Use when you need information about a provider's action including its parameters, description, and API details.",
|
|
49
49
|
input: StackAiGetProviderActionInput,
|
|
50
50
|
output: z.object({
|
|
51
|
-
name: z.string().describe("Name of the action"),
|
|
51
|
+
name: z.string().describe("Name of the action").nullable(),
|
|
52
52
|
tags: z.array(z.string()).describe("Tags associated with the action").nullable().optional(),
|
|
53
|
-
action_id: z.string().describe("Unique identifier for the action"),
|
|
53
|
+
action_id: z.string().describe("Unique identifier for the action").nullable(),
|
|
54
54
|
description: StackAiGetProviderAction_ActionDescriptionSchema.nullable(),
|
|
55
|
-
provider_id: z.string().describe("Unique identifier for the provider"),
|
|
55
|
+
provider_id: z.string().describe("Unique identifier for the provider").nullable(),
|
|
56
56
|
input_params: z.array(StackAiGetProviderAction_ToolInputParameterSchemaSchema).describe("List of input parameters for the action"),
|
|
57
57
|
api_tool_info: StackAiGetProviderAction_ApiToolInfoSchema.nullable().optional(),
|
|
58
58
|
is_searchable: z.boolean().default(true).describe("Whether the action is searchable").nullable().optional(),
|
|
59
59
|
output_params: z.array(StackAiGetProviderAction_ToolOutputParameterSchemaSchema).describe("List of output parameters for the action"),
|
|
60
|
-
input_param_count: z.number().int().describe("Total count of input parameters"),
|
|
61
|
-
output_param_count: z.number().int().describe("Total count of output parameters")
|
|
62
|
-
}).describe("Response model containing details of the provider action.")
|
|
60
|
+
input_param_count: z.number().int().describe("Total count of input parameters").nullable(),
|
|
61
|
+
output_param_count: z.number().int().describe("Total count of output parameters").nullable()
|
|
62
|
+
}).passthrough().describe("Response model containing details of the provider action.")
|
|
63
63
|
});
|
|
64
64
|
//#endregion
|
|
65
65
|
export { stackAiGetProviderAction };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-provider-action.mjs","names":[],"sources":["../../src/actions/get-provider-action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetProviderActionInput
|
|
1
|
+
{"version":3,"file":"get-provider-action.mjs","names":[],"sources":["../../src/actions/get-provider-action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetProviderActionInput = z.object({\n action_id: z.string().describe(\"The unique identifier of the action for the provider.\"),\n provider_id: z.string().describe(\"The unique identifier of the provider (e.g., 'gmail', 'slack').\"),\n}).describe(\"Request model for getting details of a specific action for a provider.\");\nconst StackAiGetProviderAction_ActionDescriptionSchema = z.object({\n llm: z.string().describe(\"The description shown to the LLM\").nullable(),\n human: z.string().describe(\"The description shown to the user\").nullable(),\n}).passthrough().describe(\"Description of an action shown to users and LLMs.\");\nconst StackAiGetProviderAction_ToolInputParameterSchemaSchema = z.object({\n max: z.unknown().describe(\"Maximum value for the parameter\").nullable().optional(),\n min: z.unknown().describe(\"Minimum value for the parameter\").nullable().optional(),\n form: z.string().describe(\"Form type for the parameter\").nullable(),\n name: z.string().describe(\"Name of the parameter\").nullable(),\n type: z.unknown().describe(\"Type of the parameter\"),\n label: z.string().describe(\"Label for the parameter\").nullable(),\n \"default\": z.unknown().describe(\"Default value for the parameter\").nullable().optional(),\n options: z.array(z.unknown()).describe(\"Options for the parameter\").nullable().optional(),\n required: z.boolean().describe(\"Whether the parameter is required\").nullable(),\n ui_hints: z.unknown().describe(\"UI hints for the parameter\").nullable().optional(),\n depends_on: z.unknown().describe(\"Dependencies for the parameter\").nullable().optional(),\n placeholder: z.string().describe(\"Placeholder text for the parameter\").nullable().optional(),\n llm_description: z.string().describe(\"Description shown to the LLM\").nullable(),\n human_description: z.string().describe(\"Description shown to the user\").nullable(),\n has_dynamic_options: z.boolean().describe(\"Whether the parameter has dynamic options\").nullable().optional(),\n}).passthrough().describe(\"Schema for tool input parameters.\");\nconst StackAiGetProviderAction_ApiToolInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the API tool\").nullable(),\n path: z.string().describe(\"API endpoint path\").nullable(),\n method: z.string().describe(\"HTTP method for the API call\").nullable(),\n headers: z.array(z.unknown()).describe(\"Headers for the API call\").nullable().optional(),\n parameters: z.array(z.unknown()).describe(\"Parameters for the API call\").nullable().optional(),\n description: z.unknown().describe(\"Description of the API tool\").nullable().optional(),\n server_url_with_path: z.string().describe(\"Full server URL with path\").nullable(),\n}).passthrough().describe(\"API tool information for the action.\");\nconst StackAiGetProviderAction_ToolOutputParameterSchemaSchema = z.object({\n name: z.string().describe(\"Name of the output parameter\").nullable(),\n type: z.unknown().describe(\"Type of the output parameter\"),\n label: z.string().describe(\"Label for the output parameter\").nullable(),\n llm_description: z.string().describe(\"Description shown to the LLM\").nullable(),\n human_description: z.string().describe(\"Description shown to the user\").nullable(),\n}).passthrough().describe(\"Schema for tool output parameters.\");\nexport const StackAiGetProviderActionOutput = z.object({\n name: z.string().describe(\"Name of the action\").nullable(),\n tags: z.array(z.string()).describe(\"Tags associated with the action\").nullable().optional(),\n action_id: z.string().describe(\"Unique identifier for the action\").nullable(),\n description: StackAiGetProviderAction_ActionDescriptionSchema.nullable(),\n provider_id: z.string().describe(\"Unique identifier for the provider\").nullable(),\n input_params: z.array(StackAiGetProviderAction_ToolInputParameterSchemaSchema).describe(\"List of input parameters for the action\"),\n api_tool_info: StackAiGetProviderAction_ApiToolInfoSchema.nullable().optional(),\n is_searchable: z.boolean().default(true).describe(\"Whether the action is searchable\").nullable().optional(),\n output_params: z.array(StackAiGetProviderAction_ToolOutputParameterSchemaSchema).describe(\"List of output parameters for the action\"),\n input_param_count: z.number().int().describe(\"Total count of input parameters\").nullable(),\n output_param_count: z.number().int().describe(\"Total count of output parameters\").nullable(),\n}).passthrough().describe(\"Response model containing details of the provider action.\");\n\nexport const stackAiGetProviderAction = action(\"STACK_AI_GET_PROVIDER_ACTION\", {\n slug: \"stack_ai-get-provider-action\",\n name: \"Get Provider Action Details\",\n description: \"Tool to get details of a specific action for a provider. Use when you need information about a provider's action including its parameters, description, and API details.\",\n input: StackAiGetProviderActionInput,\n output: StackAiGetProviderActionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACtF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AACpG,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,mDAAmD,EAAE,OAAO;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,0DAA0D,EAAE,OAAO;CACvE,KAAK,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,KAAK,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,uBAAuB;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,WAAW,EAAE,QAAQ,CAAC,C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C,QAAQ,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,eAAe,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,0CAA0C;EACpI,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACzF,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
|
|
@@ -3,14 +3,14 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-provider-icon.ts
|
|
4
4
|
const StackAiGetProviderIconInput = zod.z.object({ provider_id: zod.z.string().describe("Provider identifier string (e.g., 'airtable', 'slack').") }).describe("Request model for fetching a Stack AI tool provider icon image.");
|
|
5
5
|
const StackAiGetProviderIcon_FileDownloadableSchema = zod.z.object({
|
|
6
|
-
name: zod.z.string().describe("Name of the file"),
|
|
7
|
-
s3url: zod.z.string().describe("S3 URL of the downloaded file."),
|
|
8
|
-
mimetype: zod.z.string().describe("Mime type of the file.")
|
|
9
|
-
});
|
|
6
|
+
name: zod.z.string().describe("Name of the file").nullable(),
|
|
7
|
+
s3url: zod.z.string().describe("S3 URL of the downloaded file.").nullable(),
|
|
8
|
+
mimetype: zod.z.string().describe("Mime type of the file.").nullable()
|
|
9
|
+
}).passthrough();
|
|
10
10
|
const StackAiGetProviderIconOutput = zod.z.object({
|
|
11
|
-
url: zod.z.string().describe("Requested icon URL."),
|
|
11
|
+
url: zod.z.string().describe("Requested icon URL.").nullable(),
|
|
12
12
|
content: StackAiGetProviderIcon_FileDownloadableSchema.nullable()
|
|
13
|
-
}).describe("Response model containing the icon image binary.");
|
|
13
|
+
}).passthrough().describe("Response model containing the icon image binary.");
|
|
14
14
|
const stackAiGetProviderIcon = require_action.action("STACK_AI_GET_PROVIDER_ICON", {
|
|
15
15
|
slug: "stack_ai-get-provider-icon",
|
|
16
16
|
name: "Get Provider Icon",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-provider-icon.cjs","names":["z","action"],"sources":["../../src/actions/get-provider-icon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetProviderIconInput
|
|
1
|
+
{"version":3,"file":"get-provider-icon.cjs","names":["z","action"],"sources":["../../src/actions/get-provider-icon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetProviderIconInput = z.object({\n provider_id: z.string().describe(\"Provider identifier string (e.g., 'airtable', 'slack').\"),\n}).describe(\"Request model for fetching a Stack AI tool provider icon image.\");\nconst StackAiGetProviderIcon_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const StackAiGetProviderIconOutput = z.object({\n url: z.string().describe(\"Requested icon URL.\").nullable(),\n content: StackAiGetProviderIcon_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response model containing the icon image binary.\");\n\nexport const stackAiGetProviderIcon = action(\"STACK_AI_GET_PROVIDER_ICON\", {\n slug: \"stack_ai-get-provider-icon\",\n name: \"Get Provider Icon\",\n description: \"Tool to fetch a provider icon image by provider identifier. Use when you need to retrieve the icon for a tool provider.\",\n input: StackAiGetProviderIconInput,\n output: StackAiGetProviderIconOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EAC5F,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACzD,SAAS,8CAA8C,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-provider-icon.d.ts
|
|
4
|
-
declare const StackAiGetProviderIconInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const StackAiGetProviderIconInput: z.ZodObject<{
|
|
5
|
+
provider_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const StackAiGetProviderIconOutput: z.ZodObject<{
|
|
8
|
+
url: z.ZodNullable<z.ZodString>;
|
|
9
|
+
content: z.ZodNullable<z.ZodObject<{
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
s3url: z.ZodNullable<z.ZodString>;
|
|
12
|
+
mimetype: z.ZodNullable<z.ZodString>;
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
|
+
declare const stackAiGetProviderIcon: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
provider_id: string;
|
|
17
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
18
|
//#endregion
|
|
8
19
|
export { stackAiGetProviderIcon };
|
|
9
20
|
//# sourceMappingURL=get-provider-icon.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-provider-icon.d.cts","names":[],"sources":["../../src/actions/get-provider-icon.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"get-provider-icon.d.cts","names":[],"sources":["../../src/actions/get-provider-icon.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-provider-icon.d.ts
|
|
4
|
-
declare const StackAiGetProviderIconInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const StackAiGetProviderIconInput: z.ZodObject<{
|
|
5
|
+
provider_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const StackAiGetProviderIconOutput: z.ZodObject<{
|
|
8
|
+
url: z.ZodNullable<z.ZodString>;
|
|
9
|
+
content: z.ZodNullable<z.ZodObject<{
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
s3url: z.ZodNullable<z.ZodString>;
|
|
12
|
+
mimetype: z.ZodNullable<z.ZodString>;
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
|
+
declare const stackAiGetProviderIcon: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
provider_id: string;
|
|
17
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
18
|
//#endregion
|
|
8
19
|
export { stackAiGetProviderIcon };
|
|
9
20
|
//# sourceMappingURL=get-provider-icon.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-provider-icon.d.mts","names":[],"sources":["../../src/actions/get-provider-icon.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"get-provider-icon.d.mts","names":[],"sources":["../../src/actions/get-provider-icon.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -3,19 +3,19 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-provider-icon.ts
|
|
4
4
|
const StackAiGetProviderIconInput = z.object({ provider_id: z.string().describe("Provider identifier string (e.g., 'airtable', 'slack').") }).describe("Request model for fetching a Stack AI tool provider icon image.");
|
|
5
5
|
const StackAiGetProviderIcon_FileDownloadableSchema = z.object({
|
|
6
|
-
name: z.string().describe("Name of the file"),
|
|
7
|
-
s3url: z.string().describe("S3 URL of the downloaded file."),
|
|
8
|
-
mimetype: z.string().describe("Mime type of the file.")
|
|
9
|
-
});
|
|
6
|
+
name: z.string().describe("Name of the file").nullable(),
|
|
7
|
+
s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
|
|
8
|
+
mimetype: z.string().describe("Mime type of the file.").nullable()
|
|
9
|
+
}).passthrough();
|
|
10
10
|
const stackAiGetProviderIcon = action("STACK_AI_GET_PROVIDER_ICON", {
|
|
11
11
|
slug: "stack_ai-get-provider-icon",
|
|
12
12
|
name: "Get Provider Icon",
|
|
13
13
|
description: "Tool to fetch a provider icon image by provider identifier. Use when you need to retrieve the icon for a tool provider.",
|
|
14
14
|
input: StackAiGetProviderIconInput,
|
|
15
15
|
output: z.object({
|
|
16
|
-
url: z.string().describe("Requested icon URL."),
|
|
16
|
+
url: z.string().describe("Requested icon URL.").nullable(),
|
|
17
17
|
content: StackAiGetProviderIcon_FileDownloadableSchema.nullable()
|
|
18
|
-
}).describe("Response model containing the icon image binary.")
|
|
18
|
+
}).passthrough().describe("Response model containing the icon image binary.")
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { stackAiGetProviderIcon };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-provider-icon.mjs","names":[],"sources":["../../src/actions/get-provider-icon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetProviderIconInput
|
|
1
|
+
{"version":3,"file":"get-provider-icon.mjs","names":[],"sources":["../../src/actions/get-provider-icon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const StackAiGetProviderIconInput = z.object({\n provider_id: z.string().describe(\"Provider identifier string (e.g., 'airtable', 'slack').\"),\n}).describe(\"Request model for fetching a Stack AI tool provider icon image.\");\nconst StackAiGetProviderIcon_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const StackAiGetProviderIconOutput = z.object({\n url: z.string().describe(\"Requested icon URL.\").nullable(),\n content: StackAiGetProviderIcon_FileDownloadableSchema.nullable(),\n}).passthrough().describe(\"Response model containing the icon image binary.\");\n\nexport const stackAiGetProviderIcon = action(\"STACK_AI_GET_PROVIDER_ICON\", {\n slug: \"stack_ai-get-provider-icon\",\n name: \"Get Provider Icon\",\n description: \"Tool to fetch a provider icon image by provider identifier. Use when you need to retrieve the icon for a tool provider.\",\n input: StackAiGetProviderIconInput,\n output: StackAiGetProviderIconOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,EAClD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EAC5F,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACzD,SAAS,8CAA8C,SAAS;CAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|