beeai-framework 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -130
- 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/client.cjs +3 -3
- package/dist/adapters/groq/backend/client.cjs.map +1 -1
- package/dist/adapters/groq/backend/client.d.cts +1 -1
- package/dist/adapters/groq/backend/client.d.ts +1 -1
- package/dist/adapters/groq/backend/client.js +3 -3
- package/dist/adapters/groq/backend/client.js.map +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/client.cjs +3 -3
- package/dist/adapters/ollama/backend/client.cjs.map +1 -1
- package/dist/adapters/ollama/backend/client.d.cts +1 -1
- package/dist/adapters/ollama/backend/client.d.ts +1 -1
- package/dist/adapters/ollama/backend/client.js +3 -3
- package/dist/adapters/ollama/backend/client.js.map +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.cjs +4 -7
- package/dist/adapters/watsonx/backend/chat.cjs.map +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/chat.js +4 -7
- package/dist/adapters/watsonx/backend/chat.js.map +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-Bks2fOUl.d.ts → agent-D9gpIPf2.d.ts} +2 -2
- package/dist/{agent-BbaHVlob.d.cts → agent-xmwFrFrh.d.cts} +2 -2
- package/dist/agents/base.d.cts +2 -2
- package/dist/agents/base.d.ts +2 -2
- package/dist/agents/bee/agent.d.cts +3 -3
- package/dist/agents/bee/agent.d.ts +3 -3
- package/dist/agents/bee/runners/base.d.cts +3 -3
- package/dist/agents/bee/runners/base.d.ts +3 -3
- package/dist/agents/bee/runners/deep-think/runner.d.cts +3 -3
- package/dist/agents/bee/runners/deep-think/runner.d.ts +3 -3
- package/dist/agents/bee/runners/default/runner.d.cts +3 -3
- package/dist/agents/bee/runners/default/runner.d.ts +3 -3
- package/dist/agents/bee/runners/granite/runner.d.cts +3 -3
- package/dist/agents/bee/runners/granite/runner.d.ts +3 -3
- package/dist/agents/bee/types.d.cts +1 -1
- package/dist/agents/bee/types.d.ts +1 -1
- 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/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.d.cts +1 -1
- package/dist/backend/chat.d.ts +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/instrumentation/create-telemetry-middleware.d.cts +1 -1
- package/dist/instrumentation/create-telemetry-middleware.d.ts +1 -1
- package/dist/instrumentation/helpers/utils.d.cts +1 -1
- package/dist/instrumentation/helpers/utils.d.ts +1 -1
- package/dist/internals/fetcher.d.cts +1 -1
- package/dist/internals/fetcher.d.ts +1 -1
- package/dist/internals/helpers/hash.cjs +5 -3
- package/dist/internals/helpers/hash.cjs.map +1 -1
- package/dist/internals/helpers/hash.js +5 -3
- package/dist/internals/helpers/hash.js.map +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.d.cts +1 -1
- package/dist/tools/base.d.ts +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 +1 -1
- package/dist/tools/database/milvus.d.ts +1 -1
- 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.cjs +2 -2
- package/dist/workflows/workflow.cjs.map +1 -1
- package/dist/workflows/workflow.d.cts +1 -1
- package/dist/workflows/workflow.d.ts +1 -1
- package/dist/workflows/workflow.js +2 -2
- package/dist/workflows/workflow.js.map +1 -1
- package/package.json +9 -8
- 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';
|
|
@@ -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';
|
|
@@ -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, ToolEmitter, ToolInput, BaseToolRunOptions, BaseToolOptions } 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, ToolEmitter, ToolInput, BaseToolRunOptions, BaseToolOptions } 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 { BeeRunInput, BeeRunOutput, BeeRunOptions, BeeAgentExecutionConfig } from '../agents/bee/types.cjs';
|
|
9
9
|
import { ChatModel } from '../backend/chat.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';
|
|
@@ -57,12 +57,12 @@ declare class AgentWorkflow {
|
|
|
57
57
|
finalAnswer: z.ZodString;
|
|
58
58
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
|
60
|
-
finalAnswer: string;
|
|
61
60
|
messages: Message<MessageContentPart, string>[];
|
|
61
|
+
finalAnswer: string;
|
|
62
62
|
newMessages: Message<MessageContentPart, string>[];
|
|
63
63
|
}, {
|
|
64
|
-
finalAnswer: string;
|
|
65
64
|
messages: Message<MessageContentPart, string>[];
|
|
65
|
+
finalAnswer: string;
|
|
66
66
|
newMessages?: Message<MessageContentPart, string>[] | undefined;
|
|
67
67
|
}>, string>;
|
|
68
68
|
static readonly schema: z.ZodObject<{
|
|
@@ -96,12 +96,12 @@ declare class AgentWorkflow {
|
|
|
96
96
|
finalAnswer: z.ZodString;
|
|
97
97
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
98
98
|
}, "strip", z.ZodTypeAny, {
|
|
99
|
-
finalAnswer: string;
|
|
100
99
|
messages: Message<MessageContentPart, string>[];
|
|
100
|
+
finalAnswer: string;
|
|
101
101
|
newMessages: Message<MessageContentPart, string>[];
|
|
102
102
|
}, {
|
|
103
|
-
finalAnswer: string;
|
|
104
103
|
messages: Message<MessageContentPart, string>[];
|
|
104
|
+
finalAnswer: string;
|
|
105
105
|
newMessages?: Message<MessageContentPart, string>[] | undefined;
|
|
106
106
|
}>, string>, Workflow<z.ZodObject<{
|
|
107
107
|
messages: z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">;
|
|
@@ -120,12 +120,12 @@ declare class AgentWorkflow {
|
|
|
120
120
|
finalAnswer: z.ZodString;
|
|
121
121
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
122
122
|
}, "strip", z.ZodTypeAny, {
|
|
123
|
-
finalAnswer: string;
|
|
124
123
|
messages: Message<MessageContentPart, string>[];
|
|
124
|
+
finalAnswer: string;
|
|
125
125
|
newMessages: Message<MessageContentPart, string>[];
|
|
126
126
|
}, {
|
|
127
|
-
finalAnswer: string;
|
|
128
127
|
messages: Message<MessageContentPart, string>[];
|
|
128
|
+
finalAnswer: string;
|
|
129
129
|
newMessages?: Message<MessageContentPart, string>[] | undefined;
|
|
130
130
|
}>, string>, readonly [{
|
|
131
131
|
messages: Message<MessageContentPart, string>[];
|
|
@@ -151,12 +151,12 @@ declare class AgentWorkflow {
|
|
|
151
151
|
finalAnswer: z.ZodString;
|
|
152
152
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
153
153
|
}, "strip", z.ZodTypeAny, {
|
|
154
|
-
finalAnswer: string;
|
|
155
154
|
messages: Message<MessageContentPart, string>[];
|
|
155
|
+
finalAnswer: string;
|
|
156
156
|
newMessages: Message<MessageContentPart, string>[];
|
|
157
157
|
}, {
|
|
158
|
-
finalAnswer: string;
|
|
159
158
|
messages: Message<MessageContentPart, string>[];
|
|
159
|
+
finalAnswer: string;
|
|
160
160
|
newMessages?: Message<MessageContentPart, string>[] | undefined;
|
|
161
161
|
}>, never>;
|
|
162
162
|
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 { BeeRunInput, BeeRunOutput, BeeRunOptions, BeeAgentExecutionConfig } from '../agents/bee/types.js';
|
|
9
9
|
import { ChatModel } from '../backend/chat.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';
|
|
@@ -57,12 +57,12 @@ declare class AgentWorkflow {
|
|
|
57
57
|
finalAnswer: z.ZodString;
|
|
58
58
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
|
60
|
-
finalAnswer: string;
|
|
61
60
|
messages: Message<MessageContentPart, string>[];
|
|
61
|
+
finalAnswer: string;
|
|
62
62
|
newMessages: Message<MessageContentPart, string>[];
|
|
63
63
|
}, {
|
|
64
|
-
finalAnswer: string;
|
|
65
64
|
messages: Message<MessageContentPart, string>[];
|
|
65
|
+
finalAnswer: string;
|
|
66
66
|
newMessages?: Message<MessageContentPart, string>[] | undefined;
|
|
67
67
|
}>, string>;
|
|
68
68
|
static readonly schema: z.ZodObject<{
|
|
@@ -96,12 +96,12 @@ declare class AgentWorkflow {
|
|
|
96
96
|
finalAnswer: z.ZodString;
|
|
97
97
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
98
98
|
}, "strip", z.ZodTypeAny, {
|
|
99
|
-
finalAnswer: string;
|
|
100
99
|
messages: Message<MessageContentPart, string>[];
|
|
100
|
+
finalAnswer: string;
|
|
101
101
|
newMessages: Message<MessageContentPart, string>[];
|
|
102
102
|
}, {
|
|
103
|
-
finalAnswer: string;
|
|
104
103
|
messages: Message<MessageContentPart, string>[];
|
|
104
|
+
finalAnswer: string;
|
|
105
105
|
newMessages?: Message<MessageContentPart, string>[] | undefined;
|
|
106
106
|
}>, string>, Workflow<z.ZodObject<{
|
|
107
107
|
messages: z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">;
|
|
@@ -120,12 +120,12 @@ declare class AgentWorkflow {
|
|
|
120
120
|
finalAnswer: z.ZodString;
|
|
121
121
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
122
122
|
}, "strip", z.ZodTypeAny, {
|
|
123
|
-
finalAnswer: string;
|
|
124
123
|
messages: Message<MessageContentPart, string>[];
|
|
124
|
+
finalAnswer: string;
|
|
125
125
|
newMessages: Message<MessageContentPart, string>[];
|
|
126
126
|
}, {
|
|
127
|
-
finalAnswer: string;
|
|
128
127
|
messages: Message<MessageContentPart, string>[];
|
|
128
|
+
finalAnswer: string;
|
|
129
129
|
newMessages?: Message<MessageContentPart, string>[] | undefined;
|
|
130
130
|
}>, string>, readonly [{
|
|
131
131
|
messages: Message<MessageContentPart, string>[];
|
|
@@ -151,12 +151,12 @@ declare class AgentWorkflow {
|
|
|
151
151
|
finalAnswer: z.ZodString;
|
|
152
152
|
newMessages: z.ZodDefault<z.ZodArray<z.ZodType<Message<MessageContentPart, string>, z.ZodTypeDef, Message<MessageContentPart, string>>, "many">>;
|
|
153
153
|
}, "strip", z.ZodTypeAny, {
|
|
154
|
-
finalAnswer: string;
|
|
155
154
|
messages: Message<MessageContentPart, string>[];
|
|
155
|
+
finalAnswer: string;
|
|
156
156
|
newMessages: Message<MessageContentPart, string>[];
|
|
157
157
|
}, {
|
|
158
|
-
finalAnswer: string;
|
|
159
158
|
messages: Message<MessageContentPart, string>[];
|
|
159
|
+
finalAnswer: string;
|
|
160
160
|
newMessages?: Message<MessageContentPart, string>[] | undefined;
|
|
161
161
|
}>, never>;
|
|
162
162
|
protected _createFactory(input: AgentFactoryInput): AgentFactory;
|
|
@@ -129,9 +129,9 @@ class Workflow extends serializable_cjs.Serializable {
|
|
|
129
129
|
if (nextStepRaw === Workflow.START) {
|
|
130
130
|
next = run.steps.at(0)?.name;
|
|
131
131
|
} else if (nextStepRaw === Workflow.PREV) {
|
|
132
|
-
next =
|
|
132
|
+
next = this.findStep(next).prev;
|
|
133
133
|
} else if (nextStepRaw === Workflow.SELF) {
|
|
134
|
-
next =
|
|
134
|
+
next = this.findStep(next).current;
|
|
135
135
|
} else if (!nextStepRaw || nextStepRaw === Workflow.NEXT) {
|
|
136
136
|
next = this.findStep(next).next || Workflow.END;
|
|
137
137
|
} else {
|