beeai-framework 0.1.27 → 0.1.29
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/adapters/anthropic/backend/chat.d.cts +1 -1
- package/dist/adapters/anthropic/backend/chat.d.ts +1 -1
- package/dist/agents/requirement/agent.d.cts +1 -1
- package/dist/agents/requirement/agent.d.ts +1 -1
- package/dist/agents/requirement/prompts.d.cts +10 -10
- package/dist/agents/requirement/prompts.d.ts +10 -10
- package/dist/agents/requirement/requirements/conditional.d.cts +1 -1
- package/dist/agents/requirement/requirements/conditional.d.ts +1 -1
- package/dist/agents/requirement/requirements/requirement.d.cts +1 -1
- package/dist/agents/requirement/requirements/requirement.d.ts +1 -1
- package/dist/agents/requirement/runner.d.cts +1 -1
- package/dist/agents/requirement/runner.d.ts +1 -1
- package/dist/agents/requirement/types.d.cts +1 -1
- package/dist/agents/requirement/types.d.ts +1 -1
- package/dist/agents/requirement/utils/llm.d.cts +1 -1
- package/dist/agents/requirement/utils/llm.d.ts +1 -1
- package/dist/agents/requirement/utils/tool.d.cts +1 -1
- package/dist/agents/requirement/utils/tool.d.ts +1 -1
- package/dist/tools/database/milvus.d.cts +2 -2
- package/dist/tools/database/milvus.d.ts +2 -2
- package/dist/version.cjs +1 -1
- package/dist/version.js +1 -1
- package/dist/workflows/agent.d.cts +37 -37
- package/dist/workflows/agent.d.ts +37 -37
- package/package.json +9 -11
- package/dist/{types-C3Fnr6yY.d.ts → types-BQ-3LdkE.d.ts} +8 -8
- package/dist/{types-DepshYVR.d.cts → types-CkEtV8R9.d.cts} +8 -8
|
@@ -13,6 +13,7 @@ import '../../../emitter-jN55XZZq.cjs';
|
|
|
13
13
|
import '../../../internals/helpers/promise.cjs';
|
|
14
14
|
import 'ai';
|
|
15
15
|
import '../../../backend/message.cjs';
|
|
16
|
+
import '../../../backend/client.cjs';
|
|
16
17
|
import 'promise-based-task';
|
|
17
18
|
import '../../../cache/base.cjs';
|
|
18
19
|
import '../../../backend/constants.cjs';
|
|
@@ -22,7 +23,6 @@ import '../../../internals/helpers/schema.cjs';
|
|
|
22
23
|
import 'zod';
|
|
23
24
|
import 'zod-to-json-schema';
|
|
24
25
|
import '../../../template.cjs';
|
|
25
|
-
import '../../../backend/client.cjs';
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Copyright 2025 © BeeAI a Series of LF Projects, LLC
|
|
@@ -13,6 +13,7 @@ import '../../../emitter-36-9MnvA.js';
|
|
|
13
13
|
import '../../../internals/helpers/promise.js';
|
|
14
14
|
import 'ai';
|
|
15
15
|
import '../../../backend/message.js';
|
|
16
|
+
import '../../../backend/client.js';
|
|
16
17
|
import 'promise-based-task';
|
|
17
18
|
import '../../../cache/base.js';
|
|
18
19
|
import '../../../backend/constants.js';
|
|
@@ -22,7 +23,6 @@ import '../../../internals/helpers/schema.js';
|
|
|
22
23
|
import 'zod';
|
|
23
24
|
import 'zod-to-json-schema';
|
|
24
25
|
import '../../../template.js';
|
|
25
|
-
import '../../../backend/client.js';
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Copyright 2025 © BeeAI a Series of LF Projects, LLC
|
|
@@ -6,7 +6,7 @@ import '../../memory/base.cjs';
|
|
|
6
6
|
import '../../emitter-jN55XZZq.cjs';
|
|
7
7
|
import '../../chat-BFl85cqt.cjs';
|
|
8
8
|
import '../../backend/message.cjs';
|
|
9
|
-
import '../../types-
|
|
9
|
+
import '../../types-CkEtV8R9.cjs';
|
|
10
10
|
import './requirements/requirement.cjs';
|
|
11
11
|
export { b as RequirementAgent, a as RequirementAgentInput, R as RequirementAgentTemplateFactory } from './runner.cjs';
|
|
12
12
|
import './utils/toolCallChecker.cjs';
|
|
@@ -6,7 +6,7 @@ import '../../memory/base.js';
|
|
|
6
6
|
import '../../emitter-36-9MnvA.js';
|
|
7
7
|
import '../../chat-BRuyDeKR.js';
|
|
8
8
|
import '../../backend/message.js';
|
|
9
|
-
import '../../types-
|
|
9
|
+
import '../../types-BQ-3LdkE.js';
|
|
10
10
|
import './requirements/requirement.js';
|
|
11
11
|
export { b as RequirementAgent, a as RequirementAgentInput, R as RequirementAgentTemplateFactory } from './runner.js';
|
|
12
12
|
import './utils/toolCallChecker.js';
|
|
@@ -20,41 +20,41 @@ declare const RequirementAgentSystemPrompt: PromptTemplate<zod.ZodObject<{
|
|
|
20
20
|
allowed: zod.ZodString;
|
|
21
21
|
reason: zod.ZodOptional<zod.ZodString>;
|
|
22
22
|
}, "strip", zod.ZodTypeAny, {
|
|
23
|
-
name: string;
|
|
24
|
-
description: string;
|
|
25
23
|
inputSchema: string;
|
|
24
|
+
description: string;
|
|
25
|
+
name: string;
|
|
26
26
|
allowed: string;
|
|
27
27
|
reason?: string | undefined;
|
|
28
28
|
}, {
|
|
29
|
-
name: string;
|
|
30
|
-
description: string;
|
|
31
29
|
inputSchema: string;
|
|
30
|
+
description: string;
|
|
31
|
+
name: string;
|
|
32
32
|
allowed: string;
|
|
33
33
|
reason?: string | undefined;
|
|
34
34
|
}>, "many">;
|
|
35
35
|
}, "strip", zod.ZodTypeAny, {
|
|
36
|
+
finalAnswerName: string;
|
|
36
37
|
tools: {
|
|
37
|
-
name: string;
|
|
38
|
-
description: string;
|
|
39
38
|
inputSchema: string;
|
|
39
|
+
description: string;
|
|
40
|
+
name: string;
|
|
40
41
|
allowed: string;
|
|
41
42
|
reason?: string | undefined;
|
|
42
43
|
}[];
|
|
43
|
-
finalAnswerName: string;
|
|
44
44
|
role?: string | undefined;
|
|
45
45
|
instructions?: string | undefined;
|
|
46
46
|
notes?: string | undefined;
|
|
47
47
|
finalAnswerSchema?: string | undefined;
|
|
48
48
|
finalAnswerInstructions?: string | undefined;
|
|
49
49
|
}, {
|
|
50
|
+
finalAnswerName: string;
|
|
50
51
|
tools: {
|
|
51
|
-
name: string;
|
|
52
|
-
description: string;
|
|
53
52
|
inputSchema: string;
|
|
53
|
+
description: string;
|
|
54
|
+
name: string;
|
|
54
55
|
allowed: string;
|
|
55
56
|
reason?: string | undefined;
|
|
56
57
|
}[];
|
|
57
|
-
finalAnswerName: string;
|
|
58
58
|
role?: string | undefined;
|
|
59
59
|
instructions?: string | undefined;
|
|
60
60
|
notes?: string | undefined;
|
|
@@ -20,41 +20,41 @@ declare const RequirementAgentSystemPrompt: PromptTemplate<zod.ZodObject<{
|
|
|
20
20
|
allowed: zod.ZodString;
|
|
21
21
|
reason: zod.ZodOptional<zod.ZodString>;
|
|
22
22
|
}, "strip", zod.ZodTypeAny, {
|
|
23
|
-
name: string;
|
|
24
|
-
description: string;
|
|
25
23
|
inputSchema: string;
|
|
24
|
+
description: string;
|
|
25
|
+
name: string;
|
|
26
26
|
allowed: string;
|
|
27
27
|
reason?: string | undefined;
|
|
28
28
|
}, {
|
|
29
|
-
name: string;
|
|
30
|
-
description: string;
|
|
31
29
|
inputSchema: string;
|
|
30
|
+
description: string;
|
|
31
|
+
name: string;
|
|
32
32
|
allowed: string;
|
|
33
33
|
reason?: string | undefined;
|
|
34
34
|
}>, "many">;
|
|
35
35
|
}, "strip", zod.ZodTypeAny, {
|
|
36
|
+
finalAnswerName: string;
|
|
36
37
|
tools: {
|
|
37
|
-
name: string;
|
|
38
|
-
description: string;
|
|
39
38
|
inputSchema: string;
|
|
39
|
+
description: string;
|
|
40
|
+
name: string;
|
|
40
41
|
allowed: string;
|
|
41
42
|
reason?: string | undefined;
|
|
42
43
|
}[];
|
|
43
|
-
finalAnswerName: string;
|
|
44
44
|
role?: string | undefined;
|
|
45
45
|
instructions?: string | undefined;
|
|
46
46
|
notes?: string | undefined;
|
|
47
47
|
finalAnswerSchema?: string | undefined;
|
|
48
48
|
finalAnswerInstructions?: string | undefined;
|
|
49
49
|
}, {
|
|
50
|
+
finalAnswerName: string;
|
|
50
51
|
tools: {
|
|
51
|
-
name: string;
|
|
52
|
-
description: string;
|
|
53
52
|
inputSchema: string;
|
|
53
|
+
description: string;
|
|
54
|
+
name: string;
|
|
54
55
|
allowed: string;
|
|
55
56
|
reason?: string | undefined;
|
|
56
57
|
}[];
|
|
57
|
-
finalAnswerName: string;
|
|
58
58
|
role?: string | undefined;
|
|
59
59
|
instructions?: string | undefined;
|
|
60
60
|
notes?: string | undefined;
|
|
@@ -2,7 +2,7 @@ import { Requirement, Rule } from './requirement.cjs';
|
|
|
2
2
|
import { MultiTargetType, TargetType } from './utils.cjs';
|
|
3
3
|
import { AnyTool } from '../../../tools/base.cjs';
|
|
4
4
|
import { RunContext } from '../../../context.cjs';
|
|
5
|
-
import { R as RequirementAgentRunState } from '../../../types-
|
|
5
|
+
import { R as RequirementAgentRunState } from '../../../types-CkEtV8R9.cjs';
|
|
6
6
|
import '../../../emitter-jN55XZZq.cjs';
|
|
7
7
|
import '../../../internals/types.cjs';
|
|
8
8
|
import '../../../internals/helpers/guards.cjs';
|
|
@@ -2,7 +2,7 @@ import { Requirement, Rule } from './requirement.js';
|
|
|
2
2
|
import { MultiTargetType, TargetType } from './utils.js';
|
|
3
3
|
import { AnyTool } from '../../../tools/base.js';
|
|
4
4
|
import { RunContext } from '../../../context.js';
|
|
5
|
-
import { R as RequirementAgentRunState } from '../../../types-
|
|
5
|
+
import { R as RequirementAgentRunState } from '../../../types-BQ-3LdkE.js';
|
|
6
6
|
import '../../../emitter-36-9MnvA.js';
|
|
7
7
|
import '../../../internals/types.js';
|
|
8
8
|
import '../../../internals/helpers/guards.js';
|
|
@@ -2,7 +2,7 @@ import { MiddlewareType, Run, RunContext } from '../../../context.cjs';
|
|
|
2
2
|
import { AnyTool } from '../../../tools/base.cjs';
|
|
3
3
|
import { E as Emitter, C as Callback } from '../../../emitter-jN55XZZq.cjs';
|
|
4
4
|
import { FrameworkError } from '../../../errors.cjs';
|
|
5
|
-
import { R as RequirementAgentRunState } from '../../../types-
|
|
5
|
+
import { R as RequirementAgentRunState } from '../../../types-CkEtV8R9.cjs';
|
|
6
6
|
import '../../../internals/serializable.cjs';
|
|
7
7
|
import '../../../internals/types.cjs';
|
|
8
8
|
import '../../../internals/helpers/guards.cjs';
|
|
@@ -2,7 +2,7 @@ import { MiddlewareType, Run, RunContext } from '../../../context.js';
|
|
|
2
2
|
import { AnyTool } from '../../../tools/base.js';
|
|
3
3
|
import { E as Emitter, C as Callback } from '../../../emitter-36-9MnvA.js';
|
|
4
4
|
import { FrameworkError } from '../../../errors.js';
|
|
5
|
-
import { R as RequirementAgentRunState } from '../../../types-
|
|
5
|
+
import { R as RequirementAgentRunState } from '../../../types-BQ-3LdkE.js';
|
|
6
6
|
import '../../../internals/serializable.js';
|
|
7
7
|
import '../../../internals/types.js';
|
|
8
8
|
import '../../../internals/helpers/guards.js';
|
|
@@ -7,7 +7,7 @@ import { BaseMemory } from '../../memory/base.cjs';
|
|
|
7
7
|
import { E as Emitter } from '../../emitter-jN55XZZq.cjs';
|
|
8
8
|
import { m as ChatModel, n as ChatModelOutput, d as ChatModelInput } from '../../chat-BFl85cqt.cjs';
|
|
9
9
|
import { AssistantMessage, ToolMessage, Message } from '../../backend/message.cjs';
|
|
10
|
-
import { c as RequirementAgentExecutionConfig, d as RequirementAgentTemplates, R as RequirementAgentRunState, a as RequirementAgentRequest, e as RequirementAgentRunInput, f as RequirementAgentOutput, g as RequirementAgentRunOptions, h as RequirementAgentCallbacks } from '../../types-
|
|
10
|
+
import { c as RequirementAgentExecutionConfig, d as RequirementAgentTemplates, R as RequirementAgentRunState, a as RequirementAgentRequest, e as RequirementAgentRunInput, f as RequirementAgentOutput, g as RequirementAgentRunOptions, h as RequirementAgentCallbacks } from '../../types-CkEtV8R9.cjs';
|
|
11
11
|
import { Requirement, Rule } from './requirements/requirement.cjs';
|
|
12
12
|
import { ToolCallPart } from 'ai';
|
|
13
13
|
import { RetryCounter } from '../../internals/helpers/counter.cjs';
|
|
@@ -7,7 +7,7 @@ import { BaseMemory } from '../../memory/base.js';
|
|
|
7
7
|
import { E as Emitter } from '../../emitter-36-9MnvA.js';
|
|
8
8
|
import { m as ChatModel, n as ChatModelOutput, d as ChatModelInput } from '../../chat-BRuyDeKR.js';
|
|
9
9
|
import { AssistantMessage, ToolMessage, Message } from '../../backend/message.js';
|
|
10
|
-
import { c as RequirementAgentExecutionConfig, d as RequirementAgentTemplates, R as RequirementAgentRunState, a as RequirementAgentRequest, e as RequirementAgentRunInput, f as RequirementAgentOutput, g as RequirementAgentRunOptions, h as RequirementAgentCallbacks } from '../../types-
|
|
10
|
+
import { c as RequirementAgentExecutionConfig, d as RequirementAgentTemplates, R as RequirementAgentRunState, a as RequirementAgentRequest, e as RequirementAgentRunInput, f as RequirementAgentOutput, g as RequirementAgentRunOptions, h as RequirementAgentCallbacks } from '../../types-BQ-3LdkE.js';
|
|
11
11
|
import { Requirement, Rule } from './requirements/requirement.js';
|
|
12
12
|
import { ToolCallPart } from 'ai';
|
|
13
13
|
import { RetryCounter } from '../../internals/helpers/counter.js';
|
|
@@ -6,7 +6,7 @@ import '../../template.cjs';
|
|
|
6
6
|
import '../../chat-BFl85cqt.cjs';
|
|
7
7
|
import '../../base-XfWeXQ-S.cjs';
|
|
8
8
|
import 'zod';
|
|
9
|
-
export { h as RequirementAgentCallbacks, c as RequirementAgentExecutionConfig, f as RequirementAgentOutput, a as RequirementAgentRequest, e as RequirementAgentRunInput, g as RequirementAgentRunOptions, R as RequirementAgentRunState, l as RequirementAgentRunStateStep, b as RequirementAgentSystemPromptInputSchema, i as RequirementAgentTaskPromptInputSchema, d as RequirementAgentTemplates, j as RequirementAgentToolErrorPromptInputSchema, k as RequirementAgentToolNoResultPromptInputSchema } from '../../types-
|
|
9
|
+
export { h as RequirementAgentCallbacks, c as RequirementAgentExecutionConfig, f as RequirementAgentOutput, a as RequirementAgentRequest, e as RequirementAgentRunInput, g as RequirementAgentRunOptions, R as RequirementAgentRunState, l as RequirementAgentRunStateStep, b as RequirementAgentSystemPromptInputSchema, i as RequirementAgentTaskPromptInputSchema, d as RequirementAgentTemplates, j as RequirementAgentToolErrorPromptInputSchema, k as RequirementAgentToolNoResultPromptInputSchema } from '../../types-CkEtV8R9.cjs';
|
|
10
10
|
import '../../internals/serializable.cjs';
|
|
11
11
|
import '../../internals/types.cjs';
|
|
12
12
|
import '../../internals/helpers/guards.cjs';
|
|
@@ -6,7 +6,7 @@ import '../../template.js';
|
|
|
6
6
|
import '../../chat-BRuyDeKR.js';
|
|
7
7
|
import '../../base-CyFx7BRL.js';
|
|
8
8
|
import 'zod';
|
|
9
|
-
export { h as RequirementAgentCallbacks, c as RequirementAgentExecutionConfig, f as RequirementAgentOutput, a as RequirementAgentRequest, e as RequirementAgentRunInput, g as RequirementAgentRunOptions, R as RequirementAgentRunState, l as RequirementAgentRunStateStep, b as RequirementAgentSystemPromptInputSchema, i as RequirementAgentTaskPromptInputSchema, d as RequirementAgentTemplates, j as RequirementAgentToolErrorPromptInputSchema, k as RequirementAgentToolNoResultPromptInputSchema } from '../../types-
|
|
9
|
+
export { h as RequirementAgentCallbacks, c as RequirementAgentExecutionConfig, f as RequirementAgentOutput, a as RequirementAgentRequest, e as RequirementAgentRunInput, g as RequirementAgentRunOptions, R as RequirementAgentRunState, l as RequirementAgentRunStateStep, b as RequirementAgentSystemPromptInputSchema, i as RequirementAgentTaskPromptInputSchema, d as RequirementAgentTemplates, j as RequirementAgentToolErrorPromptInputSchema, k as RequirementAgentToolNoResultPromptInputSchema } from '../../types-BQ-3LdkE.js';
|
|
10
10
|
import '../../internals/serializable.js';
|
|
11
11
|
import '../../internals/types.js';
|
|
12
12
|
import '../../internals/helpers/guards.js';
|
|
@@ -2,7 +2,7 @@ import { AnyTool } from '../../../tools/base.cjs';
|
|
|
2
2
|
import { RunContext } from '../../../context.cjs';
|
|
3
3
|
import { SystemMessage } from '../../../backend/message.cjs';
|
|
4
4
|
import { PromptTemplate } from '../../../template.cjs';
|
|
5
|
-
import { F as FinalAnswerTool, R as RequirementAgentRunState, a as RequirementAgentRequest, b as RequirementAgentSystemPromptInputSchema } from '../../../types-
|
|
5
|
+
import { F as FinalAnswerTool, R as RequirementAgentRunState, a as RequirementAgentRequest, b as RequirementAgentSystemPromptInputSchema } from '../../../types-CkEtV8R9.cjs';
|
|
6
6
|
import { Requirement, Rule } from '../requirements/requirement.cjs';
|
|
7
7
|
import 'ajv';
|
|
8
8
|
import '../../../errors.cjs';
|
|
@@ -2,7 +2,7 @@ import { AnyTool } from '../../../tools/base.js';
|
|
|
2
2
|
import { RunContext } from '../../../context.js';
|
|
3
3
|
import { SystemMessage } from '../../../backend/message.js';
|
|
4
4
|
import { PromptTemplate } from '../../../template.js';
|
|
5
|
-
import { F as FinalAnswerTool, R as RequirementAgentRunState, a as RequirementAgentRequest, b as RequirementAgentSystemPromptInputSchema } from '../../../types-
|
|
5
|
+
import { F as FinalAnswerTool, R as RequirementAgentRunState, a as RequirementAgentRequest, b as RequirementAgentSystemPromptInputSchema } from '../../../types-BQ-3LdkE.js';
|
|
6
6
|
import { Requirement, Rule } from '../requirements/requirement.js';
|
|
7
7
|
import 'ajv';
|
|
8
8
|
import '../../../errors.js';
|
|
@@ -3,7 +3,7 @@ import 'ai';
|
|
|
3
3
|
import '../../../errors.cjs';
|
|
4
4
|
import '../../../emitter-jN55XZZq.cjs';
|
|
5
5
|
import 'zod';
|
|
6
|
-
export { F as FinalAnswerTool, T as ToolInvocationResult, r as runTool } from '../../../types-
|
|
6
|
+
export { F as FinalAnswerTool, T as ToolInvocationResult, r as runTool } from '../../../types-CkEtV8R9.cjs';
|
|
7
7
|
import '../../../context.cjs';
|
|
8
8
|
import 'ajv';
|
|
9
9
|
import '../../../internals/serializable.cjs';
|
|
@@ -3,7 +3,7 @@ import 'ai';
|
|
|
3
3
|
import '../../../errors.js';
|
|
4
4
|
import '../../../emitter-36-9MnvA.js';
|
|
5
5
|
import 'zod';
|
|
6
|
-
export { F as FinalAnswerTool, T as ToolInvocationResult, r as runTool } from '../../../types-
|
|
6
|
+
export { F as FinalAnswerTool, T as ToolInvocationResult, r as runTool } from '../../../types-BQ-3LdkE.js';
|
|
7
7
|
import '../../../context.js';
|
|
8
8
|
import 'ajv';
|
|
9
9
|
import '../../../internals/serializable.js';
|
|
@@ -45,8 +45,8 @@ declare class MilvusDatabaseTool extends Tool<JSONToolOutput<MilvusSearchToolRes
|
|
|
45
45
|
searchOutput: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
47
|
action: MilvusAction;
|
|
48
|
-
filter?: string | undefined;
|
|
49
48
|
metadata?: Record<string, any> | undefined;
|
|
49
|
+
filter?: string | undefined;
|
|
50
50
|
collectionName?: string | undefined;
|
|
51
51
|
vector?: number[] | undefined;
|
|
52
52
|
vectors?: number[][] | undefined;
|
|
@@ -55,8 +55,8 @@ declare class MilvusDatabaseTool extends Tool<JSONToolOutput<MilvusSearchToolRes
|
|
|
55
55
|
searchOutput?: string[] | undefined;
|
|
56
56
|
}, {
|
|
57
57
|
action: MilvusAction;
|
|
58
|
-
filter?: string | undefined;
|
|
59
58
|
metadata?: Record<string, any> | undefined;
|
|
59
|
+
filter?: string | undefined;
|
|
60
60
|
collectionName?: string | undefined;
|
|
61
61
|
vector?: number[] | undefined;
|
|
62
62
|
vectors?: number[][] | undefined;
|
|
@@ -45,8 +45,8 @@ declare class MilvusDatabaseTool extends Tool<JSONToolOutput<MilvusSearchToolRes
|
|
|
45
45
|
searchOutput: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
47
|
action: MilvusAction;
|
|
48
|
-
filter?: string | undefined;
|
|
49
48
|
metadata?: Record<string, any> | undefined;
|
|
49
|
+
filter?: string | undefined;
|
|
50
50
|
collectionName?: string | undefined;
|
|
51
51
|
vector?: number[] | undefined;
|
|
52
52
|
vectors?: number[][] | undefined;
|
|
@@ -55,8 +55,8 @@ declare class MilvusDatabaseTool extends Tool<JSONToolOutput<MilvusSearchToolRes
|
|
|
55
55
|
searchOutput?: string[] | undefined;
|
|
56
56
|
}, {
|
|
57
57
|
action: MilvusAction;
|
|
58
|
-
filter?: string | undefined;
|
|
59
58
|
metadata?: Record<string, any> | undefined;
|
|
59
|
+
filter?: string | undefined;
|
|
60
60
|
collectionName?: string | undefined;
|
|
61
61
|
vector?: number[] | undefined;
|
|
62
62
|
vectors?: number[][] | undefined;
|
package/dist/version.cjs
CHANGED
package/dist/version.js
CHANGED
|
@@ -42,28 +42,28 @@ declare class AgentWorkflow {
|
|
|
42
42
|
context: z.ZodOptional<z.ZodString>;
|
|
43
43
|
expectedOutput: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<z.ZodType<unknown, z.ZodTypeDef, unknown>, z.ZodTypeDef, z.ZodType<unknown, z.ZodTypeDef, unknown>>]>>;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
prompt?: string | undefined;
|
|
46
45
|
context?: string | undefined;
|
|
46
|
+
prompt?: string | undefined;
|
|
47
47
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
48
48
|
}, {
|
|
49
|
-
prompt?: string | undefined;
|
|
50
49
|
context?: string | undefined;
|
|
50
|
+
prompt?: string | undefined;
|
|
51
51
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
52
52
|
}>, "many">;
|
|
53
53
|
finalAnswer: z.ZodOptional<z.ZodString>;
|
|
54
54
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
55
55
|
}, "strip", z.ZodTypeAny, {
|
|
56
56
|
inputs: {
|
|
57
|
-
prompt?: string | undefined;
|
|
58
57
|
context?: string | undefined;
|
|
58
|
+
prompt?: string | undefined;
|
|
59
59
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
60
60
|
}[];
|
|
61
61
|
newMessages: Message<MessageContentPart, string>[];
|
|
62
62
|
finalAnswer?: string | undefined;
|
|
63
63
|
}, {
|
|
64
64
|
inputs: {
|
|
65
|
-
prompt?: string | undefined;
|
|
66
65
|
context?: string | undefined;
|
|
66
|
+
prompt?: string | undefined;
|
|
67
67
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
68
68
|
}[];
|
|
69
69
|
finalAnswer?: string | undefined;
|
|
@@ -74,28 +74,28 @@ declare class AgentWorkflow {
|
|
|
74
74
|
context: z.ZodOptional<z.ZodString>;
|
|
75
75
|
expectedOutput: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<z.ZodType<unknown, z.ZodTypeDef, unknown>, z.ZodTypeDef, z.ZodType<unknown, z.ZodTypeDef, unknown>>]>>;
|
|
76
76
|
}, "strip", z.ZodTypeAny, {
|
|
77
|
-
prompt?: string | undefined;
|
|
78
77
|
context?: string | undefined;
|
|
78
|
+
prompt?: string | undefined;
|
|
79
79
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
80
80
|
}, {
|
|
81
|
-
prompt?: string | undefined;
|
|
82
81
|
context?: string | undefined;
|
|
82
|
+
prompt?: string | undefined;
|
|
83
83
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
84
84
|
}>, "many">;
|
|
85
85
|
finalAnswer: z.ZodString;
|
|
86
86
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
88
|
inputs: {
|
|
89
|
-
prompt?: string | undefined;
|
|
90
89
|
context?: string | undefined;
|
|
90
|
+
prompt?: string | undefined;
|
|
91
91
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
92
92
|
}[];
|
|
93
93
|
finalAnswer: string;
|
|
94
94
|
newMessages: Message<MessageContentPart, string>[];
|
|
95
95
|
}, {
|
|
96
96
|
inputs: {
|
|
97
|
-
prompt?: string | undefined;
|
|
98
97
|
context?: string | undefined;
|
|
98
|
+
prompt?: string | undefined;
|
|
99
99
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
100
100
|
}[];
|
|
101
101
|
finalAnswer: string;
|
|
@@ -107,28 +107,28 @@ declare class AgentWorkflow {
|
|
|
107
107
|
context: z.ZodOptional<z.ZodString>;
|
|
108
108
|
expectedOutput: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<z.ZodType<unknown, z.ZodTypeDef, unknown>, z.ZodTypeDef, z.ZodType<unknown, z.ZodTypeDef, unknown>>]>>;
|
|
109
109
|
}, "strip", z.ZodTypeAny, {
|
|
110
|
-
prompt?: string | undefined;
|
|
111
110
|
context?: string | undefined;
|
|
111
|
+
prompt?: string | undefined;
|
|
112
112
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
113
113
|
}, {
|
|
114
|
-
prompt?: string | undefined;
|
|
115
114
|
context?: string | undefined;
|
|
115
|
+
prompt?: string | undefined;
|
|
116
116
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
117
117
|
}>, "many">;
|
|
118
118
|
finalAnswer: z.ZodOptional<z.ZodString>;
|
|
119
119
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
120
120
|
}, "strip", z.ZodTypeAny, {
|
|
121
121
|
inputs: {
|
|
122
|
-
prompt?: string | undefined;
|
|
123
122
|
context?: string | undefined;
|
|
123
|
+
prompt?: string | undefined;
|
|
124
124
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
125
125
|
}[];
|
|
126
126
|
newMessages: Message<MessageContentPart, string>[];
|
|
127
127
|
finalAnswer?: string | undefined;
|
|
128
128
|
}, {
|
|
129
129
|
inputs: {
|
|
130
|
-
prompt?: string | undefined;
|
|
131
130
|
context?: string | undefined;
|
|
131
|
+
prompt?: string | undefined;
|
|
132
132
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
133
133
|
}[];
|
|
134
134
|
finalAnswer?: string | undefined;
|
|
@@ -141,28 +141,28 @@ declare class AgentWorkflow {
|
|
|
141
141
|
context: z.ZodOptional<z.ZodString>;
|
|
142
142
|
expectedOutput: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<z.ZodType<unknown, z.ZodTypeDef, unknown>, z.ZodTypeDef, z.ZodType<unknown, z.ZodTypeDef, unknown>>]>>;
|
|
143
143
|
}, "strip", z.ZodTypeAny, {
|
|
144
|
-
prompt?: string | undefined;
|
|
145
144
|
context?: string | undefined;
|
|
145
|
+
prompt?: string | undefined;
|
|
146
146
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
147
147
|
}, {
|
|
148
|
-
prompt?: string | undefined;
|
|
149
148
|
context?: string | undefined;
|
|
149
|
+
prompt?: string | undefined;
|
|
150
150
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
151
151
|
}>, "many">;
|
|
152
152
|
finalAnswer: z.ZodOptional<z.ZodString>;
|
|
153
153
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
154
154
|
}, "strip", z.ZodTypeAny, {
|
|
155
155
|
inputs: {
|
|
156
|
-
prompt?: string | undefined;
|
|
157
156
|
context?: string | undefined;
|
|
157
|
+
prompt?: string | undefined;
|
|
158
158
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
159
159
|
}[];
|
|
160
160
|
newMessages: Message<MessageContentPart, string>[];
|
|
161
161
|
finalAnswer?: string | undefined;
|
|
162
162
|
}, {
|
|
163
163
|
inputs: {
|
|
164
|
-
prompt?: string | undefined;
|
|
165
164
|
context?: string | undefined;
|
|
165
|
+
prompt?: string | undefined;
|
|
166
166
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
167
167
|
}[];
|
|
168
168
|
finalAnswer?: string | undefined;
|
|
@@ -173,28 +173,28 @@ declare class AgentWorkflow {
|
|
|
173
173
|
context: z.ZodOptional<z.ZodString>;
|
|
174
174
|
expectedOutput: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<z.ZodType<unknown, z.ZodTypeDef, unknown>, z.ZodTypeDef, z.ZodType<unknown, z.ZodTypeDef, unknown>>]>>;
|
|
175
175
|
}, "strip", z.ZodTypeAny, {
|
|
176
|
-
prompt?: string | undefined;
|
|
177
176
|
context?: string | undefined;
|
|
177
|
+
prompt?: string | undefined;
|
|
178
178
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
179
179
|
}, {
|
|
180
|
-
prompt?: string | undefined;
|
|
181
180
|
context?: string | undefined;
|
|
181
|
+
prompt?: string | undefined;
|
|
182
182
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
183
183
|
}>, "many">;
|
|
184
184
|
finalAnswer: z.ZodString;
|
|
185
185
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
186
186
|
}, "strip", z.ZodTypeAny, {
|
|
187
187
|
inputs: {
|
|
188
|
-
prompt?: string | undefined;
|
|
189
188
|
context?: string | undefined;
|
|
189
|
+
prompt?: string | undefined;
|
|
190
190
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
191
191
|
}[];
|
|
192
192
|
finalAnswer: string;
|
|
193
193
|
newMessages: Message<MessageContentPart, string>[];
|
|
194
194
|
}, {
|
|
195
195
|
inputs: {
|
|
196
|
-
prompt?: string | undefined;
|
|
197
196
|
context?: string | undefined;
|
|
197
|
+
prompt?: string | undefined;
|
|
198
198
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
199
199
|
}[];
|
|
200
200
|
finalAnswer: string;
|
|
@@ -205,28 +205,28 @@ declare class AgentWorkflow {
|
|
|
205
205
|
context: z.ZodOptional<z.ZodString>;
|
|
206
206
|
expectedOutput: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<z.ZodType<unknown, z.ZodTypeDef, unknown>, z.ZodTypeDef, z.ZodType<unknown, z.ZodTypeDef, unknown>>]>>;
|
|
207
207
|
}, "strip", z.ZodTypeAny, {
|
|
208
|
-
prompt?: string | undefined;
|
|
209
208
|
context?: string | undefined;
|
|
209
|
+
prompt?: string | undefined;
|
|
210
210
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
211
211
|
}, {
|
|
212
|
-
prompt?: string | undefined;
|
|
213
212
|
context?: string | undefined;
|
|
213
|
+
prompt?: string | undefined;
|
|
214
214
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
215
215
|
}>, "many">;
|
|
216
216
|
finalAnswer: z.ZodOptional<z.ZodString>;
|
|
217
217
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
218
218
|
}, "strip", z.ZodTypeAny, {
|
|
219
219
|
inputs: {
|
|
220
|
-
prompt?: string | undefined;
|
|
221
220
|
context?: string | undefined;
|
|
221
|
+
prompt?: string | undefined;
|
|
222
222
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
223
223
|
}[];
|
|
224
224
|
newMessages: Message<MessageContentPart, string>[];
|
|
225
225
|
finalAnswer?: string | undefined;
|
|
226
226
|
}, {
|
|
227
227
|
inputs: {
|
|
228
|
-
prompt?: string | undefined;
|
|
229
228
|
context?: string | undefined;
|
|
229
|
+
prompt?: string | undefined;
|
|
230
230
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
231
231
|
}[];
|
|
232
232
|
finalAnswer?: string | undefined;
|
|
@@ -237,36 +237,36 @@ declare class AgentWorkflow {
|
|
|
237
237
|
context: z.ZodOptional<z.ZodString>;
|
|
238
238
|
expectedOutput: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<z.ZodType<unknown, z.ZodTypeDef, unknown>, z.ZodTypeDef, z.ZodType<unknown, z.ZodTypeDef, unknown>>]>>;
|
|
239
239
|
}, "strip", z.ZodTypeAny, {
|
|
240
|
-
prompt?: string | undefined;
|
|
241
240
|
context?: string | undefined;
|
|
241
|
+
prompt?: string | undefined;
|
|
242
242
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
243
243
|
}, {
|
|
244
|
-
prompt?: string | undefined;
|
|
245
244
|
context?: string | undefined;
|
|
245
|
+
prompt?: string | undefined;
|
|
246
246
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
247
247
|
}>, "many">;
|
|
248
248
|
finalAnswer: z.ZodString;
|
|
249
249
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
250
250
|
}, "strip", z.ZodTypeAny, {
|
|
251
251
|
inputs: {
|
|
252
|
-
prompt?: string | undefined;
|
|
253
252
|
context?: string | undefined;
|
|
253
|
+
prompt?: string | undefined;
|
|
254
254
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
255
255
|
}[];
|
|
256
256
|
finalAnswer: string;
|
|
257
257
|
newMessages: Message<MessageContentPart, string>[];
|
|
258
258
|
}, {
|
|
259
259
|
inputs: {
|
|
260
|
-
prompt?: string | undefined;
|
|
261
260
|
context?: string | undefined;
|
|
261
|
+
prompt?: string | undefined;
|
|
262
262
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
263
263
|
}[];
|
|
264
264
|
finalAnswer: string;
|
|
265
265
|
newMessages?: Message<MessageContentPart, string>[] | undefined;
|
|
266
266
|
}>, string>, readonly [{
|
|
267
267
|
inputs: {
|
|
268
|
-
prompt?: string | undefined;
|
|
269
268
|
context?: string | undefined;
|
|
269
|
+
prompt?: string | undefined;
|
|
270
270
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
271
271
|
}[];
|
|
272
272
|
finalAnswer?: string | undefined;
|
|
@@ -280,28 +280,28 @@ declare class AgentWorkflow {
|
|
|
280
280
|
context: z.ZodOptional<z.ZodString>;
|
|
281
281
|
expectedOutput: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<z.ZodType<unknown, z.ZodTypeDef, unknown>, z.ZodTypeDef, z.ZodType<unknown, z.ZodTypeDef, unknown>>]>>;
|
|
282
282
|
}, "strip", z.ZodTypeAny, {
|
|
283
|
-
prompt?: string | undefined;
|
|
284
283
|
context?: string | undefined;
|
|
284
|
+
prompt?: string | undefined;
|
|
285
285
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
286
286
|
}, {
|
|
287
|
-
prompt?: string | undefined;
|
|
288
287
|
context?: string | undefined;
|
|
288
|
+
prompt?: string | undefined;
|
|
289
289
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
290
290
|
}>, "many">;
|
|
291
291
|
finalAnswer: z.ZodOptional<z.ZodString>;
|
|
292
292
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
293
293
|
}, "strip", z.ZodTypeAny, {
|
|
294
294
|
inputs: {
|
|
295
|
-
prompt?: string | undefined;
|
|
296
295
|
context?: string | undefined;
|
|
296
|
+
prompt?: string | undefined;
|
|
297
297
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
298
298
|
}[];
|
|
299
299
|
newMessages: Message<MessageContentPart, string>[];
|
|
300
300
|
finalAnswer?: string | undefined;
|
|
301
301
|
}, {
|
|
302
302
|
inputs: {
|
|
303
|
-
prompt?: string | undefined;
|
|
304
303
|
context?: string | undefined;
|
|
304
|
+
prompt?: string | undefined;
|
|
305
305
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
306
306
|
}[];
|
|
307
307
|
finalAnswer?: string | undefined;
|
|
@@ -312,28 +312,28 @@ declare class AgentWorkflow {
|
|
|
312
312
|
context: z.ZodOptional<z.ZodString>;
|
|
313
313
|
expectedOutput: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<z.ZodType<unknown, z.ZodTypeDef, unknown>, z.ZodTypeDef, z.ZodType<unknown, z.ZodTypeDef, unknown>>]>>;
|
|
314
314
|
}, "strip", z.ZodTypeAny, {
|
|
315
|
-
prompt?: string | undefined;
|
|
316
315
|
context?: string | undefined;
|
|
316
|
+
prompt?: string | undefined;
|
|
317
317
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
318
318
|
}, {
|
|
319
|
-
prompt?: string | undefined;
|
|
320
319
|
context?: string | undefined;
|
|
320
|
+
prompt?: string | undefined;
|
|
321
321
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
322
322
|
}>, "many">;
|
|
323
323
|
finalAnswer: z.ZodString;
|
|
324
324
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
325
325
|
}, "strip", z.ZodTypeAny, {
|
|
326
326
|
inputs: {
|
|
327
|
-
prompt?: string | undefined;
|
|
328
327
|
context?: string | undefined;
|
|
328
|
+
prompt?: string | undefined;
|
|
329
329
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
330
330
|
}[];
|
|
331
331
|
finalAnswer: string;
|
|
332
332
|
newMessages: Message<MessageContentPart, string>[];
|
|
333
333
|
}, {
|
|
334
334
|
inputs: {
|
|
335
|
-
prompt?: string | undefined;
|
|
336
335
|
context?: string | undefined;
|
|
336
|
+
prompt?: string | undefined;
|
|
337
337
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
338
338
|
}[];
|
|
339
339
|
finalAnswer: string;
|
|
@@ -42,28 +42,28 @@ declare class AgentWorkflow {
|
|
|
42
42
|
context: z.ZodOptional<z.ZodString>;
|
|
43
43
|
expectedOutput: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<z.ZodType<unknown, z.ZodTypeDef, unknown>, z.ZodTypeDef, z.ZodType<unknown, z.ZodTypeDef, unknown>>]>>;
|
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
|
45
|
-
prompt?: string | undefined;
|
|
46
45
|
context?: string | undefined;
|
|
46
|
+
prompt?: string | undefined;
|
|
47
47
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
48
48
|
}, {
|
|
49
|
-
prompt?: string | undefined;
|
|
50
49
|
context?: string | undefined;
|
|
50
|
+
prompt?: string | undefined;
|
|
51
51
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
52
52
|
}>, "many">;
|
|
53
53
|
finalAnswer: z.ZodOptional<z.ZodString>;
|
|
54
54
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
55
55
|
}, "strip", z.ZodTypeAny, {
|
|
56
56
|
inputs: {
|
|
57
|
-
prompt?: string | undefined;
|
|
58
57
|
context?: string | undefined;
|
|
58
|
+
prompt?: string | undefined;
|
|
59
59
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
60
60
|
}[];
|
|
61
61
|
newMessages: Message<MessageContentPart, string>[];
|
|
62
62
|
finalAnswer?: string | undefined;
|
|
63
63
|
}, {
|
|
64
64
|
inputs: {
|
|
65
|
-
prompt?: string | undefined;
|
|
66
65
|
context?: string | undefined;
|
|
66
|
+
prompt?: string | undefined;
|
|
67
67
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
68
68
|
}[];
|
|
69
69
|
finalAnswer?: string | undefined;
|
|
@@ -74,28 +74,28 @@ declare class AgentWorkflow {
|
|
|
74
74
|
context: z.ZodOptional<z.ZodString>;
|
|
75
75
|
expectedOutput: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<z.ZodType<unknown, z.ZodTypeDef, unknown>, z.ZodTypeDef, z.ZodType<unknown, z.ZodTypeDef, unknown>>]>>;
|
|
76
76
|
}, "strip", z.ZodTypeAny, {
|
|
77
|
-
prompt?: string | undefined;
|
|
78
77
|
context?: string | undefined;
|
|
78
|
+
prompt?: string | undefined;
|
|
79
79
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
80
80
|
}, {
|
|
81
|
-
prompt?: string | undefined;
|
|
82
81
|
context?: string | undefined;
|
|
82
|
+
prompt?: string | undefined;
|
|
83
83
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
84
84
|
}>, "many">;
|
|
85
85
|
finalAnswer: z.ZodString;
|
|
86
86
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
88
|
inputs: {
|
|
89
|
-
prompt?: string | undefined;
|
|
90
89
|
context?: string | undefined;
|
|
90
|
+
prompt?: string | undefined;
|
|
91
91
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
92
92
|
}[];
|
|
93
93
|
finalAnswer: string;
|
|
94
94
|
newMessages: Message<MessageContentPart, string>[];
|
|
95
95
|
}, {
|
|
96
96
|
inputs: {
|
|
97
|
-
prompt?: string | undefined;
|
|
98
97
|
context?: string | undefined;
|
|
98
|
+
prompt?: string | undefined;
|
|
99
99
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
100
100
|
}[];
|
|
101
101
|
finalAnswer: string;
|
|
@@ -107,28 +107,28 @@ declare class AgentWorkflow {
|
|
|
107
107
|
context: z.ZodOptional<z.ZodString>;
|
|
108
108
|
expectedOutput: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<z.ZodType<unknown, z.ZodTypeDef, unknown>, z.ZodTypeDef, z.ZodType<unknown, z.ZodTypeDef, unknown>>]>>;
|
|
109
109
|
}, "strip", z.ZodTypeAny, {
|
|
110
|
-
prompt?: string | undefined;
|
|
111
110
|
context?: string | undefined;
|
|
111
|
+
prompt?: string | undefined;
|
|
112
112
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
113
113
|
}, {
|
|
114
|
-
prompt?: string | undefined;
|
|
115
114
|
context?: string | undefined;
|
|
115
|
+
prompt?: string | undefined;
|
|
116
116
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
117
117
|
}>, "many">;
|
|
118
118
|
finalAnswer: z.ZodOptional<z.ZodString>;
|
|
119
119
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
120
120
|
}, "strip", z.ZodTypeAny, {
|
|
121
121
|
inputs: {
|
|
122
|
-
prompt?: string | undefined;
|
|
123
122
|
context?: string | undefined;
|
|
123
|
+
prompt?: string | undefined;
|
|
124
124
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
125
125
|
}[];
|
|
126
126
|
newMessages: Message<MessageContentPart, string>[];
|
|
127
127
|
finalAnswer?: string | undefined;
|
|
128
128
|
}, {
|
|
129
129
|
inputs: {
|
|
130
|
-
prompt?: string | undefined;
|
|
131
130
|
context?: string | undefined;
|
|
131
|
+
prompt?: string | undefined;
|
|
132
132
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
133
133
|
}[];
|
|
134
134
|
finalAnswer?: string | undefined;
|
|
@@ -141,28 +141,28 @@ declare class AgentWorkflow {
|
|
|
141
141
|
context: z.ZodOptional<z.ZodString>;
|
|
142
142
|
expectedOutput: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<z.ZodType<unknown, z.ZodTypeDef, unknown>, z.ZodTypeDef, z.ZodType<unknown, z.ZodTypeDef, unknown>>]>>;
|
|
143
143
|
}, "strip", z.ZodTypeAny, {
|
|
144
|
-
prompt?: string | undefined;
|
|
145
144
|
context?: string | undefined;
|
|
145
|
+
prompt?: string | undefined;
|
|
146
146
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
147
147
|
}, {
|
|
148
|
-
prompt?: string | undefined;
|
|
149
148
|
context?: string | undefined;
|
|
149
|
+
prompt?: string | undefined;
|
|
150
150
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
151
151
|
}>, "many">;
|
|
152
152
|
finalAnswer: z.ZodOptional<z.ZodString>;
|
|
153
153
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
154
154
|
}, "strip", z.ZodTypeAny, {
|
|
155
155
|
inputs: {
|
|
156
|
-
prompt?: string | undefined;
|
|
157
156
|
context?: string | undefined;
|
|
157
|
+
prompt?: string | undefined;
|
|
158
158
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
159
159
|
}[];
|
|
160
160
|
newMessages: Message<MessageContentPart, string>[];
|
|
161
161
|
finalAnswer?: string | undefined;
|
|
162
162
|
}, {
|
|
163
163
|
inputs: {
|
|
164
|
-
prompt?: string | undefined;
|
|
165
164
|
context?: string | undefined;
|
|
165
|
+
prompt?: string | undefined;
|
|
166
166
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
167
167
|
}[];
|
|
168
168
|
finalAnswer?: string | undefined;
|
|
@@ -173,28 +173,28 @@ declare class AgentWorkflow {
|
|
|
173
173
|
context: z.ZodOptional<z.ZodString>;
|
|
174
174
|
expectedOutput: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<z.ZodType<unknown, z.ZodTypeDef, unknown>, z.ZodTypeDef, z.ZodType<unknown, z.ZodTypeDef, unknown>>]>>;
|
|
175
175
|
}, "strip", z.ZodTypeAny, {
|
|
176
|
-
prompt?: string | undefined;
|
|
177
176
|
context?: string | undefined;
|
|
177
|
+
prompt?: string | undefined;
|
|
178
178
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
179
179
|
}, {
|
|
180
|
-
prompt?: string | undefined;
|
|
181
180
|
context?: string | undefined;
|
|
181
|
+
prompt?: string | undefined;
|
|
182
182
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
183
183
|
}>, "many">;
|
|
184
184
|
finalAnswer: z.ZodString;
|
|
185
185
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
186
186
|
}, "strip", z.ZodTypeAny, {
|
|
187
187
|
inputs: {
|
|
188
|
-
prompt?: string | undefined;
|
|
189
188
|
context?: string | undefined;
|
|
189
|
+
prompt?: string | undefined;
|
|
190
190
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
191
191
|
}[];
|
|
192
192
|
finalAnswer: string;
|
|
193
193
|
newMessages: Message<MessageContentPart, string>[];
|
|
194
194
|
}, {
|
|
195
195
|
inputs: {
|
|
196
|
-
prompt?: string | undefined;
|
|
197
196
|
context?: string | undefined;
|
|
197
|
+
prompt?: string | undefined;
|
|
198
198
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
199
199
|
}[];
|
|
200
200
|
finalAnswer: string;
|
|
@@ -205,28 +205,28 @@ declare class AgentWorkflow {
|
|
|
205
205
|
context: z.ZodOptional<z.ZodString>;
|
|
206
206
|
expectedOutput: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<z.ZodType<unknown, z.ZodTypeDef, unknown>, z.ZodTypeDef, z.ZodType<unknown, z.ZodTypeDef, unknown>>]>>;
|
|
207
207
|
}, "strip", z.ZodTypeAny, {
|
|
208
|
-
prompt?: string | undefined;
|
|
209
208
|
context?: string | undefined;
|
|
209
|
+
prompt?: string | undefined;
|
|
210
210
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
211
211
|
}, {
|
|
212
|
-
prompt?: string | undefined;
|
|
213
212
|
context?: string | undefined;
|
|
213
|
+
prompt?: string | undefined;
|
|
214
214
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
215
215
|
}>, "many">;
|
|
216
216
|
finalAnswer: z.ZodOptional<z.ZodString>;
|
|
217
217
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
218
218
|
}, "strip", z.ZodTypeAny, {
|
|
219
219
|
inputs: {
|
|
220
|
-
prompt?: string | undefined;
|
|
221
220
|
context?: string | undefined;
|
|
221
|
+
prompt?: string | undefined;
|
|
222
222
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
223
223
|
}[];
|
|
224
224
|
newMessages: Message<MessageContentPart, string>[];
|
|
225
225
|
finalAnswer?: string | undefined;
|
|
226
226
|
}, {
|
|
227
227
|
inputs: {
|
|
228
|
-
prompt?: string | undefined;
|
|
229
228
|
context?: string | undefined;
|
|
229
|
+
prompt?: string | undefined;
|
|
230
230
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
231
231
|
}[];
|
|
232
232
|
finalAnswer?: string | undefined;
|
|
@@ -237,36 +237,36 @@ declare class AgentWorkflow {
|
|
|
237
237
|
context: z.ZodOptional<z.ZodString>;
|
|
238
238
|
expectedOutput: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<z.ZodType<unknown, z.ZodTypeDef, unknown>, z.ZodTypeDef, z.ZodType<unknown, z.ZodTypeDef, unknown>>]>>;
|
|
239
239
|
}, "strip", z.ZodTypeAny, {
|
|
240
|
-
prompt?: string | undefined;
|
|
241
240
|
context?: string | undefined;
|
|
241
|
+
prompt?: string | undefined;
|
|
242
242
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
243
243
|
}, {
|
|
244
|
-
prompt?: string | undefined;
|
|
245
244
|
context?: string | undefined;
|
|
245
|
+
prompt?: string | undefined;
|
|
246
246
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
247
247
|
}>, "many">;
|
|
248
248
|
finalAnswer: z.ZodString;
|
|
249
249
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
250
250
|
}, "strip", z.ZodTypeAny, {
|
|
251
251
|
inputs: {
|
|
252
|
-
prompt?: string | undefined;
|
|
253
252
|
context?: string | undefined;
|
|
253
|
+
prompt?: string | undefined;
|
|
254
254
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
255
255
|
}[];
|
|
256
256
|
finalAnswer: string;
|
|
257
257
|
newMessages: Message<MessageContentPart, string>[];
|
|
258
258
|
}, {
|
|
259
259
|
inputs: {
|
|
260
|
-
prompt?: string | undefined;
|
|
261
260
|
context?: string | undefined;
|
|
261
|
+
prompt?: string | undefined;
|
|
262
262
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
263
263
|
}[];
|
|
264
264
|
finalAnswer: string;
|
|
265
265
|
newMessages?: Message<MessageContentPart, string>[] | undefined;
|
|
266
266
|
}>, string>, readonly [{
|
|
267
267
|
inputs: {
|
|
268
|
-
prompt?: string | undefined;
|
|
269
268
|
context?: string | undefined;
|
|
269
|
+
prompt?: string | undefined;
|
|
270
270
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
271
271
|
}[];
|
|
272
272
|
finalAnswer?: string | undefined;
|
|
@@ -280,28 +280,28 @@ declare class AgentWorkflow {
|
|
|
280
280
|
context: z.ZodOptional<z.ZodString>;
|
|
281
281
|
expectedOutput: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<z.ZodType<unknown, z.ZodTypeDef, unknown>, z.ZodTypeDef, z.ZodType<unknown, z.ZodTypeDef, unknown>>]>>;
|
|
282
282
|
}, "strip", z.ZodTypeAny, {
|
|
283
|
-
prompt?: string | undefined;
|
|
284
283
|
context?: string | undefined;
|
|
284
|
+
prompt?: string | undefined;
|
|
285
285
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
286
286
|
}, {
|
|
287
|
-
prompt?: string | undefined;
|
|
288
287
|
context?: string | undefined;
|
|
288
|
+
prompt?: string | undefined;
|
|
289
289
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
290
290
|
}>, "many">;
|
|
291
291
|
finalAnswer: z.ZodOptional<z.ZodString>;
|
|
292
292
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
293
293
|
}, "strip", z.ZodTypeAny, {
|
|
294
294
|
inputs: {
|
|
295
|
-
prompt?: string | undefined;
|
|
296
295
|
context?: string | undefined;
|
|
296
|
+
prompt?: string | undefined;
|
|
297
297
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
298
298
|
}[];
|
|
299
299
|
newMessages: Message<MessageContentPart, string>[];
|
|
300
300
|
finalAnswer?: string | undefined;
|
|
301
301
|
}, {
|
|
302
302
|
inputs: {
|
|
303
|
-
prompt?: string | undefined;
|
|
304
303
|
context?: string | undefined;
|
|
304
|
+
prompt?: string | undefined;
|
|
305
305
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
306
306
|
}[];
|
|
307
307
|
finalAnswer?: string | undefined;
|
|
@@ -312,28 +312,28 @@ declare class AgentWorkflow {
|
|
|
312
312
|
context: z.ZodOptional<z.ZodString>;
|
|
313
313
|
expectedOutput: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodType<z.ZodType<unknown, z.ZodTypeDef, unknown>, z.ZodTypeDef, z.ZodType<unknown, z.ZodTypeDef, unknown>>]>>;
|
|
314
314
|
}, "strip", z.ZodTypeAny, {
|
|
315
|
-
prompt?: string | undefined;
|
|
316
315
|
context?: string | undefined;
|
|
316
|
+
prompt?: string | undefined;
|
|
317
317
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
318
318
|
}, {
|
|
319
|
-
prompt?: string | undefined;
|
|
320
319
|
context?: string | undefined;
|
|
320
|
+
prompt?: string | undefined;
|
|
321
321
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
322
322
|
}>, "many">;
|
|
323
323
|
finalAnswer: z.ZodString;
|
|
324
324
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
325
325
|
}, "strip", z.ZodTypeAny, {
|
|
326
326
|
inputs: {
|
|
327
|
-
prompt?: string | undefined;
|
|
328
327
|
context?: string | undefined;
|
|
328
|
+
prompt?: string | undefined;
|
|
329
329
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
330
330
|
}[];
|
|
331
331
|
finalAnswer: string;
|
|
332
332
|
newMessages: Message<MessageContentPart, string>[];
|
|
333
333
|
}, {
|
|
334
334
|
inputs: {
|
|
335
|
-
prompt?: string | undefined;
|
|
336
335
|
context?: string | undefined;
|
|
336
|
+
prompt?: string | undefined;
|
|
337
337
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
338
338
|
}[];
|
|
339
339
|
finalAnswer: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "beeai-framework",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.29",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "BeeAI Framework - LLM Agent Framework",
|
|
6
6
|
"author": "BeeAI a Series of LF Projects, LLC",
|
|
@@ -142,15 +142,15 @@
|
|
|
142
142
|
"@ai-zen/node-fetch-event-source": "^2.1.4",
|
|
143
143
|
"@streamparser/json": "^0.0.22",
|
|
144
144
|
"ai": "^6.0.77",
|
|
145
|
-
"ajv": "^8.
|
|
145
|
+
"ajv": "^8.18.0",
|
|
146
146
|
"ajv-formats": "^3.0.1",
|
|
147
|
-
"axios": "^1.
|
|
147
|
+
"axios": "^1.16.0",
|
|
148
148
|
"duck-duck-scrape": "^2.2.7",
|
|
149
|
-
"fast-xml-parser": "^5.3
|
|
149
|
+
"fast-xml-parser": "^5.7.3",
|
|
150
150
|
"header-generator": "^2.1.77",
|
|
151
151
|
"joplin-turndown-plugin-gfm": "^1.0.12",
|
|
152
152
|
"jsonrepair": "^3.13.1",
|
|
153
|
-
"mathjs": "^15.
|
|
153
|
+
"mathjs": "^15.2.0",
|
|
154
154
|
"mustache": "^4.2.0",
|
|
155
155
|
"object-hash": "^3.0.0",
|
|
156
156
|
"p-queue-compat": "^1.0.234",
|
|
@@ -183,8 +183,8 @@
|
|
|
183
183
|
"@zilliz/milvus2-sdk-node": "^2.6.0",
|
|
184
184
|
"express": "^5.0.0",
|
|
185
185
|
"ollama-ai-provider-v2": "^3.0.4",
|
|
186
|
-
"sequelize": "^6.37.
|
|
187
|
-
"yaml": "^2.
|
|
186
|
+
"sequelize": "^6.37.8",
|
|
187
|
+
"yaml": "^2.8.3"
|
|
188
188
|
},
|
|
189
189
|
"peerDependenciesMeta": {
|
|
190
190
|
"@a2a-js/sdk": {
|
|
@@ -273,9 +273,7 @@
|
|
|
273
273
|
"@swc/core": "^1.15.3",
|
|
274
274
|
"@types/eslint": "^9.6.1",
|
|
275
275
|
"@types/eslint-config-prettier": "^6.11.3",
|
|
276
|
-
"@types/eslint__js": "^9.14.0",
|
|
277
276
|
"@types/express": "^5.0.5",
|
|
278
|
-
"@types/glob": "^9.0.0",
|
|
279
277
|
"@types/js-yaml": "^4.0.9",
|
|
280
278
|
"@types/mustache": "^4",
|
|
281
279
|
"@types/needle": "^3.3.0",
|
|
@@ -299,7 +297,7 @@
|
|
|
299
297
|
"prettier": "^3.6.2",
|
|
300
298
|
"release-it": "^17.11.0",
|
|
301
299
|
"rimraf": "^6.1.2",
|
|
302
|
-
"sequelize": "^6.37.
|
|
300
|
+
"sequelize": "^6.37.8",
|
|
303
301
|
"sqlite3": "^5.1.7",
|
|
304
302
|
"strip-ansi": "^7.1.2",
|
|
305
303
|
"tsup": "^8.5.1",
|
|
@@ -308,7 +306,7 @@
|
|
|
308
306
|
"typescript-eslint": "^8.48.0",
|
|
309
307
|
"vite-tsconfig-paths": "^5.1.4",
|
|
310
308
|
"vitest": "^2.1.9",
|
|
311
|
-
"yaml": "^2.8.
|
|
309
|
+
"yaml": "^2.8.4"
|
|
312
310
|
},
|
|
313
311
|
"resolutions": {
|
|
314
312
|
"zod": "^3.24.2"
|
|
@@ -61,23 +61,23 @@ declare const RequirementAgentSystemPromptInputSchema: z.ZodObject<{
|
|
|
61
61
|
allowed: z.ZodString;
|
|
62
62
|
reason: z.ZodOptional<z.ZodString>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
inputSchema: string;
|
|
64
65
|
name: string;
|
|
65
66
|
description: string;
|
|
66
|
-
inputSchema: string;
|
|
67
67
|
allowed: string;
|
|
68
68
|
reason?: string | undefined;
|
|
69
69
|
}, {
|
|
70
|
+
inputSchema: string;
|
|
70
71
|
name: string;
|
|
71
72
|
description: string;
|
|
72
|
-
inputSchema: string;
|
|
73
73
|
allowed: string;
|
|
74
74
|
reason?: string | undefined;
|
|
75
75
|
}>, "many">;
|
|
76
76
|
}, "strip", z.ZodTypeAny, {
|
|
77
77
|
tools: {
|
|
78
|
+
inputSchema: string;
|
|
78
79
|
name: string;
|
|
79
80
|
description: string;
|
|
80
|
-
inputSchema: string;
|
|
81
81
|
allowed: string;
|
|
82
82
|
reason?: string | undefined;
|
|
83
83
|
}[];
|
|
@@ -89,9 +89,9 @@ declare const RequirementAgentSystemPromptInputSchema: z.ZodObject<{
|
|
|
89
89
|
finalAnswerInstructions?: string | undefined;
|
|
90
90
|
}, {
|
|
91
91
|
tools: {
|
|
92
|
+
inputSchema: string;
|
|
92
93
|
name: string;
|
|
93
94
|
description: string;
|
|
94
|
-
inputSchema: string;
|
|
95
95
|
allowed: string;
|
|
96
96
|
reason?: string | undefined;
|
|
97
97
|
}[];
|
|
@@ -127,21 +127,21 @@ declare const RequirementAgentToolNoResultPromptInputSchema: z.ZodObject<{
|
|
|
127
127
|
tool: z.ZodOptional<z.ZodAny>;
|
|
128
128
|
input: z.ZodUnknown;
|
|
129
129
|
}, "strip", z.ZodTypeAny, {
|
|
130
|
-
input?: unknown;
|
|
131
130
|
tool?: any;
|
|
132
|
-
}, {
|
|
133
131
|
input?: unknown;
|
|
132
|
+
}, {
|
|
134
133
|
tool?: any;
|
|
134
|
+
input?: unknown;
|
|
135
135
|
}>;
|
|
136
136
|
}, "strip", z.ZodTypeAny, {
|
|
137
137
|
toolCall: {
|
|
138
|
-
input?: unknown;
|
|
139
138
|
tool?: any;
|
|
139
|
+
input?: unknown;
|
|
140
140
|
};
|
|
141
141
|
}, {
|
|
142
142
|
toolCall: {
|
|
143
|
-
input?: unknown;
|
|
144
143
|
tool?: any;
|
|
144
|
+
input?: unknown;
|
|
145
145
|
};
|
|
146
146
|
}>;
|
|
147
147
|
interface RequirementAgentTemplates {
|
|
@@ -61,23 +61,23 @@ declare const RequirementAgentSystemPromptInputSchema: z.ZodObject<{
|
|
|
61
61
|
allowed: z.ZodString;
|
|
62
62
|
reason: z.ZodOptional<z.ZodString>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
inputSchema: string;
|
|
64
65
|
name: string;
|
|
65
66
|
description: string;
|
|
66
|
-
inputSchema: string;
|
|
67
67
|
allowed: string;
|
|
68
68
|
reason?: string | undefined;
|
|
69
69
|
}, {
|
|
70
|
+
inputSchema: string;
|
|
70
71
|
name: string;
|
|
71
72
|
description: string;
|
|
72
|
-
inputSchema: string;
|
|
73
73
|
allowed: string;
|
|
74
74
|
reason?: string | undefined;
|
|
75
75
|
}>, "many">;
|
|
76
76
|
}, "strip", z.ZodTypeAny, {
|
|
77
77
|
tools: {
|
|
78
|
+
inputSchema: string;
|
|
78
79
|
name: string;
|
|
79
80
|
description: string;
|
|
80
|
-
inputSchema: string;
|
|
81
81
|
allowed: string;
|
|
82
82
|
reason?: string | undefined;
|
|
83
83
|
}[];
|
|
@@ -89,9 +89,9 @@ declare const RequirementAgentSystemPromptInputSchema: z.ZodObject<{
|
|
|
89
89
|
finalAnswerInstructions?: string | undefined;
|
|
90
90
|
}, {
|
|
91
91
|
tools: {
|
|
92
|
+
inputSchema: string;
|
|
92
93
|
name: string;
|
|
93
94
|
description: string;
|
|
94
|
-
inputSchema: string;
|
|
95
95
|
allowed: string;
|
|
96
96
|
reason?: string | undefined;
|
|
97
97
|
}[];
|
|
@@ -127,21 +127,21 @@ declare const RequirementAgentToolNoResultPromptInputSchema: z.ZodObject<{
|
|
|
127
127
|
tool: z.ZodOptional<z.ZodAny>;
|
|
128
128
|
input: z.ZodUnknown;
|
|
129
129
|
}, "strip", z.ZodTypeAny, {
|
|
130
|
-
input?: unknown;
|
|
131
130
|
tool?: any;
|
|
132
|
-
}, {
|
|
133
131
|
input?: unknown;
|
|
132
|
+
}, {
|
|
134
133
|
tool?: any;
|
|
134
|
+
input?: unknown;
|
|
135
135
|
}>;
|
|
136
136
|
}, "strip", z.ZodTypeAny, {
|
|
137
137
|
toolCall: {
|
|
138
|
-
input?: unknown;
|
|
139
138
|
tool?: any;
|
|
139
|
+
input?: unknown;
|
|
140
140
|
};
|
|
141
141
|
}, {
|
|
142
142
|
toolCall: {
|
|
143
|
-
input?: unknown;
|
|
144
143
|
tool?: any;
|
|
144
|
+
input?: unknown;
|
|
145
145
|
};
|
|
146
146
|
}>;
|
|
147
147
|
interface RequirementAgentTemplates {
|