beeai-framework 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -14
- package/dist/adapters/amazon-bedrock/backend/chat.d.cts +1 -1
- package/dist/adapters/amazon-bedrock/backend/chat.d.ts +1 -1
- package/dist/adapters/amazon-bedrock/backend/embedding.d.cts +1 -1
- package/dist/adapters/amazon-bedrock/backend/embedding.d.ts +1 -1
- package/dist/adapters/anthropic/backend/chat.d.cts +1 -1
- package/dist/adapters/anthropic/backend/chat.d.ts +1 -1
- package/dist/adapters/anthropic/backend/embedding.d.cts +1 -1
- package/dist/adapters/anthropic/backend/embedding.d.ts +1 -1
- package/dist/adapters/azure-openai/backend/chat.d.cts +1 -1
- package/dist/adapters/azure-openai/backend/chat.d.ts +1 -1
- package/dist/adapters/azure-openai/backend/embedding.d.cts +1 -1
- package/dist/adapters/azure-openai/backend/embedding.d.ts +1 -1
- package/dist/adapters/dummy/backend/chat.d.cts +1 -1
- package/dist/adapters/dummy/backend/chat.d.ts +1 -1
- package/dist/adapters/dummy/backend/embedding.d.cts +1 -1
- package/dist/adapters/dummy/backend/embedding.d.ts +1 -1
- package/dist/adapters/google-vertex/backend/chat.d.cts +1 -1
- package/dist/adapters/google-vertex/backend/chat.d.ts +1 -1
- package/dist/adapters/google-vertex/backend/embedding.d.cts +1 -1
- package/dist/adapters/google-vertex/backend/embedding.d.ts +1 -1
- package/dist/adapters/groq/backend/chat.d.cts +1 -1
- package/dist/adapters/groq/backend/chat.d.ts +1 -1
- package/dist/adapters/groq/backend/embedding.d.cts +1 -1
- package/dist/adapters/groq/backend/embedding.d.ts +1 -1
- package/dist/adapters/langchain/backend/chat.d.cts +1 -1
- package/dist/adapters/langchain/backend/chat.d.ts +1 -1
- package/dist/adapters/langchain/backend/embedding.d.cts +1 -1
- package/dist/adapters/langchain/backend/embedding.d.ts +1 -1
- package/dist/adapters/langchain/tools.d.cts +1 -1
- package/dist/adapters/langchain/tools.d.ts +1 -1
- package/dist/adapters/ollama/backend/chat.d.cts +1 -1
- package/dist/adapters/ollama/backend/chat.d.ts +1 -1
- package/dist/adapters/ollama/backend/embedding.d.cts +1 -1
- package/dist/adapters/ollama/backend/embedding.d.ts +1 -1
- package/dist/adapters/openai/backend/chat.d.cts +1 -1
- package/dist/adapters/openai/backend/chat.d.ts +1 -1
- package/dist/adapters/openai/backend/embedding.d.cts +1 -1
- package/dist/adapters/openai/backend/embedding.d.ts +1 -1
- package/dist/adapters/vercel/backend/chat.d.cts +1 -1
- package/dist/adapters/vercel/backend/chat.d.ts +1 -1
- package/dist/adapters/vercel/backend/embedding.d.cts +1 -1
- package/dist/adapters/vercel/backend/embedding.d.ts +1 -1
- package/dist/adapters/watsonx/backend/chat.d.cts +1 -1
- package/dist/adapters/watsonx/backend/chat.d.ts +1 -1
- package/dist/adapters/watsonx/backend/embedding.d.cts +1 -1
- package/dist/adapters/watsonx/backend/embedding.d.ts +1 -1
- package/dist/{agent-Dv5YSk8H.d.ts → agent-Bf2FaCKy.d.ts} +2 -2
- package/dist/{agent-COg8SPbf.d.cts → agent-Bpt7IFa_.d.cts} +2 -2
- package/dist/agents/base.cjs +1 -4
- package/dist/agents/base.cjs.map +1 -1
- package/dist/agents/base.d.cts +2 -2
- package/dist/agents/base.d.ts +2 -2
- package/dist/agents/base.js +1 -4
- package/dist/agents/base.js.map +1 -1
- package/dist/agents/experimental/remote/agent.d.cts +2 -2
- package/dist/agents/experimental/remote/agent.d.ts +2 -2
- package/dist/agents/experimental/replan/agent.d.cts +2 -2
- package/dist/agents/experimental/replan/agent.d.ts +2 -2
- package/dist/agents/experimental/replan/prompts.d.cts +1 -1
- package/dist/agents/experimental/replan/prompts.d.ts +1 -1
- package/dist/agents/experimental/streamlit/agent.d.cts +2 -2
- package/dist/agents/experimental/streamlit/agent.d.ts +2 -2
- package/dist/agents/react/agent.d.cts +3 -3
- package/dist/agents/react/agent.d.ts +3 -3
- package/dist/agents/react/prompts.d.cts +4 -4
- package/dist/agents/react/prompts.d.ts +4 -4
- package/dist/agents/react/runners/base.d.cts +3 -3
- package/dist/agents/react/runners/base.d.ts +3 -3
- package/dist/agents/react/runners/deep-think/prompts.d.cts +4 -4
- package/dist/agents/react/runners/deep-think/prompts.d.ts +4 -4
- package/dist/agents/react/runners/deep-think/runner.d.cts +7 -7
- package/dist/agents/react/runners/deep-think/runner.d.ts +7 -7
- package/dist/agents/react/runners/default/runner.d.cts +7 -7
- package/dist/agents/react/runners/default/runner.d.ts +7 -7
- package/dist/agents/react/runners/granite/prompts.d.cts +4 -4
- package/dist/agents/react/runners/granite/prompts.d.ts +4 -4
- package/dist/agents/react/runners/granite/runner.d.cts +8 -8
- package/dist/agents/react/runners/granite/runner.d.ts +8 -8
- package/dist/agents/react/types.d.cts +1 -1
- package/dist/agents/react/types.d.ts +1 -1
- package/dist/agents/toolCalling/agent.d.cts +2 -2
- package/dist/agents/toolCalling/agent.d.ts +2 -2
- package/dist/agents/toolCalling/types.d.cts +1 -1
- package/dist/agents/toolCalling/types.d.ts +1 -1
- package/dist/agents/types.d.cts +2 -2
- package/dist/agents/types.d.ts +2 -2
- package/dist/backend/backend.d.cts +1 -1
- package/dist/backend/backend.d.ts +1 -1
- package/dist/backend/chat.cjs +1 -3
- package/dist/backend/chat.cjs.map +1 -1
- package/dist/backend/chat.d.cts +1 -1
- package/dist/backend/chat.d.ts +1 -1
- package/dist/backend/chat.js +2 -4
- package/dist/backend/chat.js.map +1 -1
- package/dist/backend/core.d.cts +1 -1
- package/dist/backend/core.d.ts +1 -1
- package/dist/backend/embedding.d.cts +1 -1
- package/dist/backend/embedding.d.ts +1 -1
- package/dist/{base-Csr9guq2.d.cts → base-daM6fHUP.d.cts} +1 -1
- package/dist/{base-DHhpWHQm.d.ts → base-mmG-8Pk9.d.ts} +1 -1
- package/dist/context.d.cts +1 -1
- package/dist/context.d.ts +1 -1
- package/dist/emitter/emitter.d.cts +1 -1
- package/dist/emitter/emitter.d.ts +1 -1
- package/dist/emitter/types.d.cts +1 -1
- package/dist/emitter/types.d.ts +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/internals/fetcher.d.cts +1 -1
- package/dist/internals/fetcher.d.ts +1 -1
- package/dist/memory/summarizeMemory.d.cts +1 -1
- package/dist/memory/summarizeMemory.d.ts +1 -1
- package/dist/parsers/linePrefix.d.cts +1 -1
- package/dist/parsers/linePrefix.d.ts +1 -1
- package/dist/tools/arxiv.d.cts +1 -1
- package/dist/tools/arxiv.d.ts +1 -1
- package/dist/tools/base.cjs +1 -3
- package/dist/tools/base.cjs.map +1 -1
- package/dist/tools/base.d.cts +1 -1
- package/dist/tools/base.d.ts +1 -1
- package/dist/tools/base.js +2 -4
- package/dist/tools/base.js.map +1 -1
- package/dist/tools/calculator.d.cts +1 -1
- package/dist/tools/calculator.d.ts +1 -1
- package/dist/tools/custom.d.cts +1 -1
- package/dist/tools/custom.d.ts +1 -1
- package/dist/tools/database/elasticsearch.d.cts +1 -1
- package/dist/tools/database/elasticsearch.d.ts +1 -1
- package/dist/tools/database/milvus.d.cts +3 -3
- package/dist/tools/database/milvus.d.ts +3 -3
- package/dist/tools/database/sql.d.cts +1 -1
- package/dist/tools/database/sql.d.ts +1 -1
- package/dist/tools/llm.d.cts +1 -1
- package/dist/tools/llm.d.ts +1 -1
- package/dist/tools/mcp.d.cts +1 -1
- package/dist/tools/mcp.d.ts +1 -1
- package/dist/tools/openapi.d.cts +1 -1
- package/dist/tools/openapi.d.ts +1 -1
- package/dist/tools/python/output.d.cts +1 -1
- package/dist/tools/python/output.d.ts +1 -1
- package/dist/tools/python/python.d.cts +1 -1
- package/dist/tools/python/python.d.ts +1 -1
- package/dist/tools/search/base.d.cts +1 -1
- package/dist/tools/search/base.d.ts +1 -1
- package/dist/tools/search/duckDuckGoSearch.d.cts +1 -1
- package/dist/tools/search/duckDuckGoSearch.d.ts +1 -1
- package/dist/tools/search/googleSearch.d.cts +1 -1
- package/dist/tools/search/googleSearch.d.ts +1 -1
- package/dist/tools/search/searXNGSearch.d.cts +1 -1
- package/dist/tools/search/searXNGSearch.d.ts +1 -1
- package/dist/tools/search/wikipedia.d.cts +1 -1
- package/dist/tools/search/wikipedia.d.ts +1 -1
- package/dist/tools/similarity.d.cts +1 -1
- package/dist/tools/similarity.d.ts +1 -1
- package/dist/tools/weather/openMeteo.d.cts +1 -1
- package/dist/tools/weather/openMeteo.d.ts +1 -1
- package/dist/tools/web/webCrawler.d.cts +1 -1
- package/dist/tools/web/webCrawler.d.ts +1 -1
- package/dist/version.cjs +1 -1
- package/dist/version.js +1 -1
- package/dist/workflows/agent.d.cts +10 -10
- package/dist/workflows/agent.d.ts +10 -10
- package/dist/workflows/workflow.d.cts +1 -1
- package/dist/workflows/workflow.d.ts +1 -1
- package/package.json +1 -8
- package/dist/instrumentation/config.cjs +0 -12
- package/dist/instrumentation/config.cjs.map +0 -1
- package/dist/instrumentation/config.d.cts +0 -19
- package/dist/instrumentation/config.d.ts +0 -19
- package/dist/instrumentation/config.js +0 -9
- package/dist/instrumentation/config.js.map +0 -1
- package/dist/instrumentation/create-telemetry-middleware.cjs +0 -239
- package/dist/instrumentation/create-telemetry-middleware.cjs.map +0 -1
- package/dist/instrumentation/create-telemetry-middleware.d.cts +0 -26
- package/dist/instrumentation/create-telemetry-middleware.d.ts +0 -26
- package/dist/instrumentation/create-telemetry-middleware.js +0 -237
- package/dist/instrumentation/create-telemetry-middleware.js.map +0 -1
- package/dist/instrumentation/helpers/create-span.cjs +0 -36
- package/dist/instrumentation/helpers/create-span.cjs.map +0 -1
- package/dist/instrumentation/helpers/create-span.d.cts +0 -34
- package/dist/instrumentation/helpers/create-span.d.ts +0 -34
- package/dist/instrumentation/helpers/create-span.js +0 -34
- package/dist/instrumentation/helpers/create-span.js.map +0 -1
- package/dist/instrumentation/helpers/get-error-safe.cjs +0 -20
- package/dist/instrumentation/helpers/get-error-safe.cjs.map +0 -1
- package/dist/instrumentation/helpers/get-error-safe.d.cts +0 -18
- package/dist/instrumentation/helpers/get-error-safe.d.ts +0 -18
- package/dist/instrumentation/helpers/get-error-safe.js +0 -18
- package/dist/instrumentation/helpers/get-error-safe.js.map +0 -1
- package/dist/instrumentation/helpers/get-serialized-object-safe.cjs +0 -27
- package/dist/instrumentation/helpers/get-serialized-object-safe.cjs.map +0 -1
- package/dist/instrumentation/helpers/get-serialized-object-safe.d.cts +0 -18
- package/dist/instrumentation/helpers/get-serialized-object-safe.d.ts +0 -18
- package/dist/instrumentation/helpers/get-serialized-object-safe.js +0 -25
- package/dist/instrumentation/helpers/get-serialized-object-safe.js.map +0 -1
- package/dist/instrumentation/helpers/id-name-manager.cjs +0 -34
- package/dist/instrumentation/helpers/id-name-manager.cjs.map +0 -1
- package/dist/instrumentation/helpers/id-name-manager.d.cts +0 -31
- package/dist/instrumentation/helpers/id-name-manager.d.ts +0 -31
- package/dist/instrumentation/helpers/id-name-manager.js +0 -32
- package/dist/instrumentation/helpers/id-name-manager.js.map +0 -1
- package/dist/instrumentation/helpers/trace-serializer.cjs +0 -30
- package/dist/instrumentation/helpers/trace-serializer.cjs.map +0 -1
- package/dist/instrumentation/helpers/trace-serializer.d.cts +0 -20
- package/dist/instrumentation/helpers/trace-serializer.d.ts +0 -20
- package/dist/instrumentation/helpers/trace-serializer.js +0 -28
- package/dist/instrumentation/helpers/trace-serializer.js.map +0 -1
- package/dist/instrumentation/helpers/utils.cjs +0 -14
- package/dist/instrumentation/helpers/utils.cjs.map +0 -1
- package/dist/instrumentation/helpers/utils.d.cts +0 -40
- package/dist/instrumentation/helpers/utils.d.ts +0 -40
- package/dist/instrumentation/helpers/utils.js +0 -12
- package/dist/instrumentation/helpers/utils.js.map +0 -1
- package/dist/instrumentation/logger.cjs +0 -12
- package/dist/instrumentation/logger.cjs.map +0 -1
- package/dist/instrumentation/logger.d.cts +0 -26
- package/dist/instrumentation/logger.d.ts +0 -26
- package/dist/instrumentation/logger.js +0 -10
- package/dist/instrumentation/logger.js.map +0 -1
- package/dist/instrumentation/tracer.cjs +0 -84
- package/dist/instrumentation/tracer.cjs.map +0 -1
- package/dist/instrumentation/tracer.d.cts +0 -36
- package/dist/instrumentation/tracer.d.ts +0 -36
- package/dist/instrumentation/tracer.js +0 -76
- package/dist/instrumentation/tracer.js.map +0 -1
- package/dist/instrumentation/types.cjs +0 -4
- package/dist/instrumentation/types.cjs.map +0 -1
- package/dist/instrumentation/types.d.cts +0 -39
- package/dist/instrumentation/types.d.ts +0 -39
- package/dist/instrumentation/types.js +0 -3
- package/dist/instrumentation/types.js.map +0 -1
- package/dist/{emitter-l0W9gC1A.d.ts → emitter-BxVxGBbJ.d.ts} +1 -1
- package/dist/{emitter-BWtGHYn0.d.cts → emitter-C9EN5B0j.d.cts} +1 -1
|
@@ -3,7 +3,7 @@ import { z } from 'zod';
|
|
|
3
3
|
import { ConfigOptions, ImportObject, ImportOptions, evaluate } from 'mathjs';
|
|
4
4
|
import 'ajv';
|
|
5
5
|
import '../context.js';
|
|
6
|
-
import '../emitter-
|
|
6
|
+
import '../emitter-BxVxGBbJ.js';
|
|
7
7
|
import '../internals/types.js';
|
|
8
8
|
import '../internals/helpers/guards.js';
|
|
9
9
|
import '../internals/serializable.js';
|
package/dist/tools/custom.d.cts
CHANGED
|
@@ -11,7 +11,7 @@ import 'promise-based-task';
|
|
|
11
11
|
import '../cache/base.cjs';
|
|
12
12
|
import '../internals/helpers/schema.cjs';
|
|
13
13
|
import 'zod-to-json-schema';
|
|
14
|
-
import '../emitter-
|
|
14
|
+
import '../emitter-C9EN5B0j.cjs';
|
|
15
15
|
import '../internals/helpers/promise.cjs';
|
|
16
16
|
import '../template.cjs';
|
|
17
17
|
import './python/storage.cjs';
|
package/dist/tools/custom.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import 'promise-based-task';
|
|
|
11
11
|
import '../cache/base.js';
|
|
12
12
|
import '../internals/helpers/schema.js';
|
|
13
13
|
import 'zod-to-json-schema';
|
|
14
|
-
import '../emitter-
|
|
14
|
+
import '../emitter-BxVxGBbJ.js';
|
|
15
15
|
import '../internals/helpers/promise.js';
|
|
16
16
|
import '../template.js';
|
|
17
17
|
import './python/storage.js';
|
|
@@ -10,7 +10,7 @@ import '../../internals/helpers/guards.cjs';
|
|
|
10
10
|
import '../../internals/serializable.cjs';
|
|
11
11
|
import 'promise-based-task';
|
|
12
12
|
import '../../cache/base.cjs';
|
|
13
|
-
import '../../emitter-
|
|
13
|
+
import '../../emitter-C9EN5B0j.cjs';
|
|
14
14
|
import '../../internals/helpers/promise.cjs';
|
|
15
15
|
import 'zod-to-json-schema';
|
|
16
16
|
|
|
@@ -10,7 +10,7 @@ import '../../internals/helpers/guards.js';
|
|
|
10
10
|
import '../../internals/serializable.js';
|
|
11
11
|
import 'promise-based-task';
|
|
12
12
|
import '../../cache/base.js';
|
|
13
|
-
import '../../emitter-
|
|
13
|
+
import '../../emitter-BxVxGBbJ.js';
|
|
14
14
|
import '../../internals/helpers/promise.js';
|
|
15
15
|
import 'zod-to-json-schema';
|
|
16
16
|
|
|
@@ -4,7 +4,7 @@ import { ClientConfig, ShowCollectionsResponse, DescribeCollectionResponse, Sear
|
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import 'ajv';
|
|
6
6
|
import '../../context.cjs';
|
|
7
|
-
import '../../emitter-
|
|
7
|
+
import '../../emitter-C9EN5B0j.cjs';
|
|
8
8
|
import '../../internals/types.cjs';
|
|
9
9
|
import '../../internals/helpers/guards.cjs';
|
|
10
10
|
import '../../internals/serializable.cjs';
|
|
@@ -58,20 +58,20 @@ declare class MilvusDatabaseTool extends Tool<JSONToolOutput<MilvusSearchToolRes
|
|
|
58
58
|
action: MilvusAction;
|
|
59
59
|
metadata?: Record<string, any> | undefined;
|
|
60
60
|
filter?: string | undefined;
|
|
61
|
-
topK?: number | undefined;
|
|
62
61
|
collectionName?: string | undefined;
|
|
63
62
|
vector?: number[] | undefined;
|
|
64
63
|
vectors?: number[][] | undefined;
|
|
64
|
+
topK?: number | undefined;
|
|
65
65
|
ids?: (string | number)[] | undefined;
|
|
66
66
|
searchOutput?: string[] | undefined;
|
|
67
67
|
}, {
|
|
68
68
|
action: MilvusAction;
|
|
69
69
|
metadata?: Record<string, any> | undefined;
|
|
70
70
|
filter?: string | undefined;
|
|
71
|
-
topK?: number | undefined;
|
|
72
71
|
collectionName?: string | undefined;
|
|
73
72
|
vector?: number[] | undefined;
|
|
74
73
|
vectors?: number[][] | undefined;
|
|
74
|
+
topK?: number | undefined;
|
|
75
75
|
ids?: (string | number)[] | undefined;
|
|
76
76
|
searchOutput?: string[] | undefined;
|
|
77
77
|
}>;
|
|
@@ -4,7 +4,7 @@ import { ClientConfig, ShowCollectionsResponse, DescribeCollectionResponse, Sear
|
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import 'ajv';
|
|
6
6
|
import '../../context.js';
|
|
7
|
-
import '../../emitter-
|
|
7
|
+
import '../../emitter-BxVxGBbJ.js';
|
|
8
8
|
import '../../internals/types.js';
|
|
9
9
|
import '../../internals/helpers/guards.js';
|
|
10
10
|
import '../../internals/serializable.js';
|
|
@@ -58,20 +58,20 @@ declare class MilvusDatabaseTool extends Tool<JSONToolOutput<MilvusSearchToolRes
|
|
|
58
58
|
action: MilvusAction;
|
|
59
59
|
metadata?: Record<string, any> | undefined;
|
|
60
60
|
filter?: string | undefined;
|
|
61
|
-
topK?: number | undefined;
|
|
62
61
|
collectionName?: string | undefined;
|
|
63
62
|
vector?: number[] | undefined;
|
|
64
63
|
vectors?: number[][] | undefined;
|
|
64
|
+
topK?: number | undefined;
|
|
65
65
|
ids?: (string | number)[] | undefined;
|
|
66
66
|
searchOutput?: string[] | undefined;
|
|
67
67
|
}, {
|
|
68
68
|
action: MilvusAction;
|
|
69
69
|
metadata?: Record<string, any> | undefined;
|
|
70
70
|
filter?: string | undefined;
|
|
71
|
-
topK?: number | undefined;
|
|
72
71
|
collectionName?: string | undefined;
|
|
73
72
|
vector?: number[] | undefined;
|
|
74
73
|
vectors?: number[][] | undefined;
|
|
74
|
+
topK?: number | undefined;
|
|
75
75
|
ids?: (string | number)[] | undefined;
|
|
76
76
|
searchOutput?: string[] | undefined;
|
|
77
77
|
}>;
|
|
@@ -5,7 +5,7 @@ import { Provider } from './metadata.cjs';
|
|
|
5
5
|
import { AnyToolSchemaLike } from '../../internals/helpers/schema.cjs';
|
|
6
6
|
import 'ajv';
|
|
7
7
|
import '../../context.cjs';
|
|
8
|
-
import '../../emitter-
|
|
8
|
+
import '../../emitter-C9EN5B0j.cjs';
|
|
9
9
|
import '../../internals/types.cjs';
|
|
10
10
|
import '../../internals/helpers/guards.cjs';
|
|
11
11
|
import '../../internals/serializable.cjs';
|
|
@@ -5,7 +5,7 @@ import { Provider } from './metadata.js';
|
|
|
5
5
|
import { AnyToolSchemaLike } from '../../internals/helpers/schema.js';
|
|
6
6
|
import 'ajv';
|
|
7
7
|
import '../../context.js';
|
|
8
|
-
import '../../emitter-
|
|
8
|
+
import '../../emitter-BxVxGBbJ.js';
|
|
9
9
|
import '../../internals/types.js';
|
|
10
10
|
import '../../internals/helpers/guards.js';
|
|
11
11
|
import '../../internals/serializable.js';
|
package/dist/tools/llm.d.cts
CHANGED
|
@@ -12,7 +12,7 @@ import 'promise-based-task';
|
|
|
12
12
|
import '../cache/base.cjs';
|
|
13
13
|
import '../internals/helpers/schema.cjs';
|
|
14
14
|
import 'zod-to-json-schema';
|
|
15
|
-
import '../emitter-
|
|
15
|
+
import '../emitter-C9EN5B0j.cjs';
|
|
16
16
|
import '../internals/helpers/promise.cjs';
|
|
17
17
|
import '../backend/message.cjs';
|
|
18
18
|
import 'ai';
|
package/dist/tools/llm.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import 'promise-based-task';
|
|
|
12
12
|
import '../cache/base.js';
|
|
13
13
|
import '../internals/helpers/schema.js';
|
|
14
14
|
import 'zod-to-json-schema';
|
|
15
|
-
import '../emitter-
|
|
15
|
+
import '../emitter-BxVxGBbJ.js';
|
|
16
16
|
import '../internals/helpers/promise.js';
|
|
17
17
|
import '../backend/message.js';
|
|
18
18
|
import 'ai';
|
package/dist/tools/mcp.d.cts
CHANGED
package/dist/tools/mcp.d.ts
CHANGED
package/dist/tools/openapi.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseCache } from '../cache/base.cjs';
|
|
2
2
|
import * as promise_based_task from 'promise-based-task';
|
|
3
3
|
import { BaseToolOptions, StringToolOutput, Tool, ToolEmitter, BaseToolRunOptions } from './base.cjs';
|
|
4
|
-
import { C as Callback, E as Emitter } from '../emitter-
|
|
4
|
+
import { C as Callback, E as Emitter } from '../emitter-C9EN5B0j.cjs';
|
|
5
5
|
import { GetRunContext } from '../context.cjs';
|
|
6
6
|
import { SchemaObject } from 'ajv';
|
|
7
7
|
import '../internals/serializable.cjs';
|
package/dist/tools/openapi.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseCache } from '../cache/base.js';
|
|
2
2
|
import * as promise_based_task from 'promise-based-task';
|
|
3
3
|
import { BaseToolOptions, StringToolOutput, Tool, ToolEmitter, BaseToolRunOptions } from './base.js';
|
|
4
|
-
import { C as Callback, E as Emitter } from '../emitter-
|
|
4
|
+
import { C as Callback, E as Emitter } from '../emitter-BxVxGBbJ.js';
|
|
5
5
|
import { GetRunContext } from '../context.js';
|
|
6
6
|
import { SchemaObject } from 'ajv';
|
|
7
7
|
import '../internals/serializable.js';
|
|
@@ -2,7 +2,7 @@ import { ToolOutput } from '../base.cjs';
|
|
|
2
2
|
import { PythonFile } from './storage.cjs';
|
|
3
3
|
import 'ajv';
|
|
4
4
|
import '../../context.cjs';
|
|
5
|
-
import '../../emitter-
|
|
5
|
+
import '../../emitter-C9EN5B0j.cjs';
|
|
6
6
|
import '../../internals/types.cjs';
|
|
7
7
|
import '../../internals/helpers/guards.cjs';
|
|
8
8
|
import '../../internals/serializable.cjs';
|
|
@@ -2,7 +2,7 @@ import { ToolOutput } from '../base.js';
|
|
|
2
2
|
import { PythonFile } from './storage.js';
|
|
3
3
|
import 'ajv';
|
|
4
4
|
import '../../context.js';
|
|
5
|
-
import '../../emitter-
|
|
5
|
+
import '../../emitter-BxVxGBbJ.js';
|
|
6
6
|
import '../../internals/types.js';
|
|
7
7
|
import '../../internals/helpers/guards.js';
|
|
8
8
|
import '../../internals/serializable.js';
|
|
@@ -7,7 +7,7 @@ import { PythonStorage, PythonFile } from './storage.cjs';
|
|
|
7
7
|
import { PythonToolOutput } from './output.cjs';
|
|
8
8
|
import { ConnectionOptions } from 'node:tls';
|
|
9
9
|
import { RunContext } from '../../context.cjs';
|
|
10
|
-
import { E as Emitter } from '../../emitter-
|
|
10
|
+
import { E as Emitter } from '../../emitter-C9EN5B0j.cjs';
|
|
11
11
|
import { ChatModel } from '../../backend/chat.cjs';
|
|
12
12
|
import '../../internals/serializable.cjs';
|
|
13
13
|
import '../../internals/types.cjs';
|
|
@@ -7,7 +7,7 @@ import { PythonStorage, PythonFile } from './storage.js';
|
|
|
7
7
|
import { PythonToolOutput } from './output.js';
|
|
8
8
|
import { ConnectionOptions } from 'node:tls';
|
|
9
9
|
import { RunContext } from '../../context.js';
|
|
10
|
-
import { E as Emitter } from '../../emitter-
|
|
10
|
+
import { E as Emitter } from '../../emitter-BxVxGBbJ.js';
|
|
11
11
|
import { ChatModel } from '../../backend/chat.js';
|
|
12
12
|
import '../../internals/serializable.js';
|
|
13
13
|
import '../../internals/types.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseToolOptions, BaseToolRunOptions, ToolOutput } from '../base.cjs';
|
|
2
2
|
import 'ajv';
|
|
3
3
|
import '../../context.cjs';
|
|
4
|
-
import '../../emitter-
|
|
4
|
+
import '../../emitter-C9EN5B0j.cjs';
|
|
5
5
|
import '../../internals/types.cjs';
|
|
6
6
|
import '../../internals/helpers/guards.cjs';
|
|
7
7
|
import '../../internals/serializable.cjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseToolOptions, BaseToolRunOptions, ToolOutput } from '../base.js';
|
|
2
2
|
import 'ajv';
|
|
3
3
|
import '../../context.js';
|
|
4
|
-
import '../../emitter-
|
|
4
|
+
import '../../emitter-BxVxGBbJ.js';
|
|
5
5
|
import '../../internals/types.js';
|
|
6
6
|
import '../../internals/helpers/guards.js';
|
|
7
7
|
import '../../internals/serializable.js';
|
|
@@ -7,7 +7,7 @@ import { NeedleOptions } from 'needle';
|
|
|
7
7
|
import { z } from 'zod';
|
|
8
8
|
import { RunContext } from '../../context.cjs';
|
|
9
9
|
import 'ajv';
|
|
10
|
-
import '../../emitter-
|
|
10
|
+
import '../../emitter-C9EN5B0j.cjs';
|
|
11
11
|
import '../../internals/types.cjs';
|
|
12
12
|
import '../../internals/helpers/guards.cjs';
|
|
13
13
|
import '../../internals/serializable.cjs';
|
|
@@ -7,7 +7,7 @@ import { NeedleOptions } from 'needle';
|
|
|
7
7
|
import { z } from 'zod';
|
|
8
8
|
import { RunContext } from '../../context.js';
|
|
9
9
|
import 'ajv';
|
|
10
|
-
import '../../emitter-
|
|
10
|
+
import '../../emitter-BxVxGBbJ.js';
|
|
11
11
|
import '../../internals/types.js';
|
|
12
12
|
import '../../internals/helpers/guards.js';
|
|
13
13
|
import '../../internals/serializable.js';
|
|
@@ -5,7 +5,7 @@ import { SearchToolOptions, SearchToolResult, SearchToolOutput, SearchToolRunOpt
|
|
|
5
5
|
import { Tool, ToolEmitter, ToolInput } from '../base.cjs';
|
|
6
6
|
import { z } from 'zod';
|
|
7
7
|
import { RunContext } from '../../context.cjs';
|
|
8
|
-
import { E as Emitter } from '../../emitter-
|
|
8
|
+
import { E as Emitter } from '../../emitter-C9EN5B0j.cjs';
|
|
9
9
|
import '../../internals/serializable.cjs';
|
|
10
10
|
import '../../internals/types.cjs';
|
|
11
11
|
import '../../internals/helpers/guards.cjs';
|
|
@@ -5,7 +5,7 @@ import { SearchToolOptions, SearchToolResult, SearchToolOutput, SearchToolRunOpt
|
|
|
5
5
|
import { Tool, ToolEmitter, ToolInput } from '../base.js';
|
|
6
6
|
import { z } from 'zod';
|
|
7
7
|
import { RunContext } from '../../context.js';
|
|
8
|
-
import { E as Emitter } from '../../emitter-
|
|
8
|
+
import { E as Emitter } from '../../emitter-BxVxGBbJ.js';
|
|
9
9
|
import '../../internals/serializable.js';
|
|
10
10
|
import '../../internals/types.js';
|
|
11
11
|
import '../../internals/helpers/guards.js';
|
|
@@ -11,7 +11,7 @@ import 'promise-based-task';
|
|
|
11
11
|
import '../../cache/base.cjs';
|
|
12
12
|
import '../../internals/helpers/schema.cjs';
|
|
13
13
|
import 'zod-to-json-schema';
|
|
14
|
-
import '../../emitter-
|
|
14
|
+
import '../../emitter-C9EN5B0j.cjs';
|
|
15
15
|
import '../../internals/helpers/promise.cjs';
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -11,7 +11,7 @@ import 'promise-based-task';
|
|
|
11
11
|
import '../../cache/base.js';
|
|
12
12
|
import '../../internals/helpers/schema.js';
|
|
13
13
|
import 'zod-to-json-schema';
|
|
14
|
-
import '../../emitter-
|
|
14
|
+
import '../../emitter-BxVxGBbJ.js';
|
|
15
15
|
import '../../internals/helpers/promise.js';
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -5,7 +5,7 @@ import { SearchToolOptions, SearchToolRunOptions, SearchToolResult, SearchToolOu
|
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import { Tool, ToolEmitter, ToolInput } from '../base.cjs';
|
|
7
7
|
import { pageResult } from 'wikipedia/dist/resultTypes.js';
|
|
8
|
-
import { E as Emitter } from '../../emitter-
|
|
8
|
+
import { E as Emitter } from '../../emitter-C9EN5B0j.cjs';
|
|
9
9
|
import '../../internals/serializable.cjs';
|
|
10
10
|
import '../../internals/types.cjs';
|
|
11
11
|
import '../../internals/helpers/guards.cjs';
|
|
@@ -5,7 +5,7 @@ import { SearchToolOptions, SearchToolRunOptions, SearchToolResult, SearchToolOu
|
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import { Tool, ToolEmitter, ToolInput } from '../base.js';
|
|
7
7
|
import { pageResult } from 'wikipedia/dist/resultTypes.js';
|
|
8
|
-
import { E as Emitter } from '../../emitter-
|
|
8
|
+
import { E as Emitter } from '../../emitter-BxVxGBbJ.js';
|
|
9
9
|
import '../../internals/serializable.js';
|
|
10
10
|
import '../../internals/types.js';
|
|
11
11
|
import '../../internals/helpers/guards.js';
|
|
@@ -10,7 +10,7 @@ import 'promise-based-task';
|
|
|
10
10
|
import '../cache/base.cjs';
|
|
11
11
|
import '../internals/helpers/schema.cjs';
|
|
12
12
|
import 'zod-to-json-schema';
|
|
13
|
-
import '../emitter-
|
|
13
|
+
import '../emitter-C9EN5B0j.cjs';
|
|
14
14
|
import '../internals/helpers/promise.cjs';
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -10,7 +10,7 @@ import 'promise-based-task';
|
|
|
10
10
|
import '../cache/base.js';
|
|
11
11
|
import '../internals/helpers/schema.js';
|
|
12
12
|
import 'zod-to-json-schema';
|
|
13
|
-
import '../emitter-
|
|
13
|
+
import '../emitter-BxVxGBbJ.js';
|
|
14
14
|
import '../internals/helpers/promise.js';
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -10,7 +10,7 @@ import 'promise-based-task';
|
|
|
10
10
|
import '../../cache/base.cjs';
|
|
11
11
|
import '../../internals/helpers/schema.cjs';
|
|
12
12
|
import 'zod-to-json-schema';
|
|
13
|
-
import '../../emitter-
|
|
13
|
+
import '../../emitter-C9EN5B0j.cjs';
|
|
14
14
|
import '../../internals/helpers/promise.cjs';
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -10,7 +10,7 @@ import 'promise-based-task';
|
|
|
10
10
|
import '../../cache/base.js';
|
|
11
11
|
import '../../internals/helpers/schema.js';
|
|
12
12
|
import 'zod-to-json-schema';
|
|
13
|
-
import '../../emitter-
|
|
13
|
+
import '../../emitter-BxVxGBbJ.js';
|
|
14
14
|
import '../../internals/helpers/promise.js';
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -3,7 +3,7 @@ import * as promise_based_task from 'promise-based-task';
|
|
|
3
3
|
import { JSONToolOutput, Tool, BaseToolOptions, ToolEmitter, ToolInput, BaseToolRunOptions } from '../base.cjs';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import { RunContext } from '../../context.cjs';
|
|
6
|
-
import { E as Emitter } from '../../emitter-
|
|
6
|
+
import { E as Emitter } from '../../emitter-C9EN5B0j.cjs';
|
|
7
7
|
import '../../internals/serializable.cjs';
|
|
8
8
|
import '../../internals/types.cjs';
|
|
9
9
|
import '../../internals/helpers/guards.cjs';
|
|
@@ -3,7 +3,7 @@ import * as promise_based_task from 'promise-based-task';
|
|
|
3
3
|
import { JSONToolOutput, Tool, BaseToolOptions, ToolEmitter, ToolInput, BaseToolRunOptions } from '../base.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import { RunContext } from '../../context.js';
|
|
6
|
-
import { E as Emitter } from '../../emitter-
|
|
6
|
+
import { E as Emitter } from '../../emitter-BxVxGBbJ.js';
|
|
7
7
|
import '../../internals/serializable.js';
|
|
8
8
|
import '../../internals/types.js';
|
|
9
9
|
import '../../internals/helpers/guards.js';
|
package/dist/version.cjs
CHANGED
package/dist/version.js
CHANGED
|
@@ -4,10 +4,10 @@ import { Message, MessageContentPart } from '../backend/message.cjs';
|
|
|
4
4
|
import { AnyTool } from '../tools/base.cjs';
|
|
5
5
|
import { ReadOnlyMemory } from '../memory/base.cjs';
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import { a as BaseAgent } from '../base-
|
|
7
|
+
import { a as BaseAgent } from '../base-daM6fHUP.cjs';
|
|
8
8
|
import { ChatModel } from '../backend/chat.cjs';
|
|
9
9
|
import { ToolCallingAgentRunInput, ToolCallingAgentRunOutput, ToolCallingAgentRunOptions, ToolCallingAgentExecutionConfig } from '../agents/toolCalling/types.cjs';
|
|
10
|
-
import '../emitter-
|
|
10
|
+
import '../emitter-C9EN5B0j.cjs';
|
|
11
11
|
import '../internals/types.cjs';
|
|
12
12
|
import '../internals/helpers/guards.cjs';
|
|
13
13
|
import '../internals/serializable.cjs';
|
|
@@ -85,20 +85,20 @@ declare class AgentWorkflow {
|
|
|
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
|
-
finalAnswer: string;
|
|
89
88
|
inputs: {
|
|
90
89
|
context?: string | undefined;
|
|
91
90
|
prompt?: string | undefined;
|
|
92
91
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
93
92
|
}[];
|
|
93
|
+
finalAnswer: string;
|
|
94
94
|
newMessages: Message<MessageContentPart, string>[];
|
|
95
95
|
}, {
|
|
96
|
-
finalAnswer: string;
|
|
97
96
|
inputs: {
|
|
98
97
|
context?: string | undefined;
|
|
99
98
|
prompt?: string | undefined;
|
|
100
99
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
101
100
|
}[];
|
|
101
|
+
finalAnswer: string;
|
|
102
102
|
newMessages?: Message<MessageContentPart, string>[] | undefined;
|
|
103
103
|
}>, string>;
|
|
104
104
|
readonly schema: z.ZodObject<{
|
|
@@ -184,20 +184,20 @@ declare class AgentWorkflow {
|
|
|
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
|
-
finalAnswer: string;
|
|
188
187
|
inputs: {
|
|
189
188
|
context?: string | undefined;
|
|
190
189
|
prompt?: string | undefined;
|
|
191
190
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
192
191
|
}[];
|
|
192
|
+
finalAnswer: string;
|
|
193
193
|
newMessages: Message<MessageContentPart, string>[];
|
|
194
194
|
}, {
|
|
195
|
-
finalAnswer: string;
|
|
196
195
|
inputs: {
|
|
197
196
|
context?: string | undefined;
|
|
198
197
|
prompt?: string | undefined;
|
|
199
198
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
200
199
|
}[];
|
|
200
|
+
finalAnswer: string;
|
|
201
201
|
newMessages?: Message<MessageContentPart, string>[] | undefined;
|
|
202
202
|
}>, string>, Workflow<z.ZodObject<{
|
|
203
203
|
inputs: z.ZodArray<z.ZodObject<{
|
|
@@ -248,20 +248,20 @@ declare class AgentWorkflow {
|
|
|
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
|
-
finalAnswer: string;
|
|
252
251
|
inputs: {
|
|
253
252
|
context?: string | undefined;
|
|
254
253
|
prompt?: string | undefined;
|
|
255
254
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
256
255
|
}[];
|
|
256
|
+
finalAnswer: string;
|
|
257
257
|
newMessages: Message<MessageContentPart, string>[];
|
|
258
258
|
}, {
|
|
259
|
-
finalAnswer: string;
|
|
260
259
|
inputs: {
|
|
261
260
|
context?: string | undefined;
|
|
262
261
|
prompt?: string | undefined;
|
|
263
262
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
264
263
|
}[];
|
|
264
|
+
finalAnswer: string;
|
|
265
265
|
newMessages?: Message<MessageContentPart, string>[] | undefined;
|
|
266
266
|
}>, string>, readonly [{
|
|
267
267
|
inputs: {
|
|
@@ -323,20 +323,20 @@ declare class AgentWorkflow {
|
|
|
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
|
-
finalAnswer: string;
|
|
327
326
|
inputs: {
|
|
328
327
|
context?: string | undefined;
|
|
329
328
|
prompt?: string | undefined;
|
|
330
329
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
331
330
|
}[];
|
|
331
|
+
finalAnswer: string;
|
|
332
332
|
newMessages: Message<MessageContentPart, string>[];
|
|
333
333
|
}, {
|
|
334
|
-
finalAnswer: string;
|
|
335
334
|
inputs: {
|
|
336
335
|
context?: string | undefined;
|
|
337
336
|
prompt?: string | undefined;
|
|
338
337
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
339
338
|
}[];
|
|
339
|
+
finalAnswer: string;
|
|
340
340
|
newMessages?: Message<MessageContentPart, string>[] | undefined;
|
|
341
341
|
}>, never>;
|
|
342
342
|
protected _createFactory(input: AgentFactoryInput): AgentFactory;
|
|
@@ -4,10 +4,10 @@ import { Message, MessageContentPart } from '../backend/message.js';
|
|
|
4
4
|
import { AnyTool } from '../tools/base.js';
|
|
5
5
|
import { ReadOnlyMemory } from '../memory/base.js';
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import { a as BaseAgent } from '../base-
|
|
7
|
+
import { a as BaseAgent } from '../base-mmG-8Pk9.js';
|
|
8
8
|
import { ChatModel } from '../backend/chat.js';
|
|
9
9
|
import { ToolCallingAgentRunInput, ToolCallingAgentRunOutput, ToolCallingAgentRunOptions, ToolCallingAgentExecutionConfig } from '../agents/toolCalling/types.js';
|
|
10
|
-
import '../emitter-
|
|
10
|
+
import '../emitter-BxVxGBbJ.js';
|
|
11
11
|
import '../internals/types.js';
|
|
12
12
|
import '../internals/helpers/guards.js';
|
|
13
13
|
import '../internals/serializable.js';
|
|
@@ -85,20 +85,20 @@ declare class AgentWorkflow {
|
|
|
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
|
-
finalAnswer: string;
|
|
89
88
|
inputs: {
|
|
90
89
|
context?: string | undefined;
|
|
91
90
|
prompt?: string | undefined;
|
|
92
91
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
93
92
|
}[];
|
|
93
|
+
finalAnswer: string;
|
|
94
94
|
newMessages: Message<MessageContentPart, string>[];
|
|
95
95
|
}, {
|
|
96
|
-
finalAnswer: string;
|
|
97
96
|
inputs: {
|
|
98
97
|
context?: string | undefined;
|
|
99
98
|
prompt?: string | undefined;
|
|
100
99
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
101
100
|
}[];
|
|
101
|
+
finalAnswer: string;
|
|
102
102
|
newMessages?: Message<MessageContentPart, string>[] | undefined;
|
|
103
103
|
}>, string>;
|
|
104
104
|
readonly schema: z.ZodObject<{
|
|
@@ -184,20 +184,20 @@ declare class AgentWorkflow {
|
|
|
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
|
-
finalAnswer: string;
|
|
188
187
|
inputs: {
|
|
189
188
|
context?: string | undefined;
|
|
190
189
|
prompt?: string | undefined;
|
|
191
190
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
192
191
|
}[];
|
|
192
|
+
finalAnswer: string;
|
|
193
193
|
newMessages: Message<MessageContentPart, string>[];
|
|
194
194
|
}, {
|
|
195
|
-
finalAnswer: string;
|
|
196
195
|
inputs: {
|
|
197
196
|
context?: string | undefined;
|
|
198
197
|
prompt?: string | undefined;
|
|
199
198
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
200
199
|
}[];
|
|
200
|
+
finalAnswer: string;
|
|
201
201
|
newMessages?: Message<MessageContentPart, string>[] | undefined;
|
|
202
202
|
}>, string>, Workflow<z.ZodObject<{
|
|
203
203
|
inputs: z.ZodArray<z.ZodObject<{
|
|
@@ -248,20 +248,20 @@ declare class AgentWorkflow {
|
|
|
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
|
-
finalAnswer: string;
|
|
252
251
|
inputs: {
|
|
253
252
|
context?: string | undefined;
|
|
254
253
|
prompt?: string | undefined;
|
|
255
254
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
256
255
|
}[];
|
|
256
|
+
finalAnswer: string;
|
|
257
257
|
newMessages: Message<MessageContentPart, string>[];
|
|
258
258
|
}, {
|
|
259
|
-
finalAnswer: string;
|
|
260
259
|
inputs: {
|
|
261
260
|
context?: string | undefined;
|
|
262
261
|
prompt?: string | undefined;
|
|
263
262
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
264
263
|
}[];
|
|
264
|
+
finalAnswer: string;
|
|
265
265
|
newMessages?: Message<MessageContentPart, string>[] | undefined;
|
|
266
266
|
}>, string>, readonly [{
|
|
267
267
|
inputs: {
|
|
@@ -323,20 +323,20 @@ declare class AgentWorkflow {
|
|
|
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
|
-
finalAnswer: string;
|
|
327
326
|
inputs: {
|
|
328
327
|
context?: string | undefined;
|
|
329
328
|
prompt?: string | undefined;
|
|
330
329
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
331
330
|
}[];
|
|
331
|
+
finalAnswer: string;
|
|
332
332
|
newMessages: Message<MessageContentPart, string>[];
|
|
333
333
|
}, {
|
|
334
|
-
finalAnswer: string;
|
|
335
334
|
inputs: {
|
|
336
335
|
context?: string | undefined;
|
|
337
336
|
prompt?: string | undefined;
|
|
338
337
|
expectedOutput?: string | z.ZodType<unknown, z.ZodTypeDef, unknown> | undefined;
|
|
339
338
|
}[];
|
|
339
|
+
finalAnswer: string;
|
|
340
340
|
newMessages?: Message<MessageContentPart, string>[] | undefined;
|
|
341
341
|
}>, never>;
|
|
342
342
|
protected _createFactory(input: AgentFactoryInput): AgentFactory;
|