@toolpack-sdk/agents 2.6.0 → 2.7.0
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/{base-agent-C4fYjHPu.d.ts → base-agent-BMZWBdkt.d.ts} +2 -0
- package/dist/{base-agent-Dqca3WLY.d.cts → base-agent-DVwGO20L.d.cts} +2 -0
- package/dist/capabilities/index.cjs +21 -21
- package/dist/capabilities/index.d.cts +2 -2
- package/dist/capabilities/index.d.ts +2 -2
- package/dist/capabilities/index.js +24 -24
- package/dist/channels/index.d.cts +1 -1
- package/dist/channels/index.d.ts +1 -1
- package/dist/{eval-report-CO98LRUC.d.ts → eval-report-BJEzzuSk.d.ts} +1 -1
- package/dist/{eval-report-DV-wNcjW.d.cts → eval-report-DH2tt6Ad.d.cts} +1 -1
- package/dist/{index-BjieDC5c.d.ts → index-BU2BchV0.d.ts} +21 -2
- package/dist/{index-BRuKydRC.d.cts → index-BWrYFJtb.d.cts} +21 -2
- package/dist/index.cjs +56 -38
- package/dist/index.d.cts +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/index.js +56 -38
- package/dist/{intent-classifier-agent-ACQSotfT.d.ts → intent-classifier-agent-BnpchAoZ.d.ts} +1 -1
- package/dist/{intent-classifier-agent-CPKmOVJx.d.cts → intent-classifier-agent-DVCbBtdY.d.cts} +1 -1
- package/dist/interceptors/index.d.cts +2 -2
- package/dist/interceptors/index.d.ts +2 -2
- package/dist/testing/index.d.cts +2 -2
- package/dist/testing/index.d.ts +2 -2
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { B as BaseAgentOptions, A as AgentInput, a as AgentResult, d as IAgentRegistry, f as AgentOutput, g as AgentInstance, C as ChannelInterface, P as PendingAsk } from './types-C3EZvpe0.cjs';
|
|
2
2
|
export { b as AgentDelegationConfig, e as AgentRunOptions, c as AgentSpawnConfig, h as AgentSpawnTemplate, I as Interceptor, i as InterceptorChainConfig, j as InterceptorContext, k as InterceptorResult, N as NextFunction, S as SKIP_SENTINEL, W as WorkflowStep, l as isSkipSentinel, s as skip } from './types-C3EZvpe0.cjs';
|
|
3
|
-
import { B as BaseAgent, A as AgentMindConfig } from './base-agent-
|
|
4
|
-
export { a as AgentEvents, C as ConfidenceLevel, G as GoalPriority, b as GoalStatus, M as MindBelief, c as MindEntry, d as MindEntryType, e as MindGoal, f as MindRecallResult, g as MindReflection, h as MindTtlDefaults } from './base-agent-
|
|
3
|
+
import { B as BaseAgent, A as AgentMindConfig } from './base-agent-DVwGO20L.cjs';
|
|
4
|
+
export { a as AgentEvents, C as ConfidenceLevel, G as GoalPriority, b as GoalStatus, M as MindBelief, c as MindEntry, d as MindEntryType, e as MindGoal, f as MindRecallResult, g as MindReflection, h as MindTtlDefaults } from './base-agent-DVwGO20L.cjs';
|
|
5
5
|
import { ModeConfig, ConversationStore, AssemblerOptions, AssembledPrompt, RequestToolDefinition, ToolProject } from 'toolpack-sdk';
|
|
6
6
|
export { AssembledPrompt, AssemblerOptions, ConversationScope, ConversationStore, GetOptions, InMemoryConversationStore, InMemoryConversationStoreConfig, Participant, PromptMessage, ConversationSearchOptions as SearchOptions, StoredMessage } from 'toolpack-sdk';
|
|
7
|
-
import { S as SchedulerStore } from './index-
|
|
8
|
-
export { B as BaseChannel, C as CreateJobOptions, a as CreateJobResult, D as DiscordChannel, b as DiscordChannelConfig, E as EmailChannel, c as EmailChannelConfig, J as JobStatus, M as McpChannel, d as McpChannelConfig, e as SMSChannel, f as SMSChannelConfig, g as ScheduledChannel, h as ScheduledChannelConfig, i as ScheduledJob, j as SlackChannel, k as SlackChannelConfig, T as TelegramChannel, l as TelegramChannelConfig, W as WebhookChannel, m as WebhookChannelConfig } from './index-
|
|
9
|
-
export { I as IntentClassification, a as IntentClassifierAgent, b as IntentClassifierInput } from './intent-classifier-agent-
|
|
7
|
+
import { S as SchedulerStore } from './index-BWrYFJtb.cjs';
|
|
8
|
+
export { B as BaseChannel, C as CreateJobOptions, a as CreateJobResult, D as DiscordChannel, b as DiscordChannelConfig, E as EmailChannel, c as EmailChannelConfig, J as JobStatus, M as McpChannel, d as McpChannelConfig, e as SMSChannel, f as SMSChannelConfig, g as ScheduledChannel, h as ScheduledChannelConfig, i as ScheduledJob, j as SlackChannel, k as SlackChannelConfig, T as TelegramChannel, l as TelegramChannelConfig, W as WebhookChannel, m as WebhookChannelConfig } from './index-BWrYFJtb.cjs';
|
|
9
|
+
export { I as IntentClassification, a as IntentClassifierAgent, b as IntentClassifierInput } from './intent-classifier-agent-DVCbBtdY.cjs';
|
|
10
10
|
import { SummarizerAgent } from './capabilities/index.cjs';
|
|
11
11
|
export { HistoryTurn, SummarizerInput, SummarizerOutput } from './capabilities/index.cjs';
|
|
12
12
|
export { AddressCheckConfig, AddressCheckResult, CaptureHistoryConfig, ComposedChain, DepthExceededError, DepthGuardConfig, EventDedupConfig, IntentClassifierInterceptorConfig, InvocationDepthExceededError, NoiseFilterConfig, OTelSpan, OTelSpanOptions, OTelSpanStatus, OTelSpanStatusCode, OTelTracer, OTelTracerConfig, OTelTracerProvider, ParticipantResolverConfig, RateLimitConfig, SelfFilterConfig, TracerConfig, composeChain, createAddressCheckInterceptor, createCaptureInterceptor, createDepthGuardInterceptor, createEventDedupInterceptor, createIntentClassifierInterceptor, createNoiseFilterInterceptor, createOTelTracerInterceptor, createParticipantResolverInterceptor, createRateLimitInterceptor, createSelfFilterInterceptor, createTracerInterceptor, executeChain } from './interceptors/index.cjs';
|
|
13
|
-
export { C as ContainsScorer, a as CustomScorer, E as EvalCase, b as EvalCaseResult, c as EvalDataset, d as EvalImprovement, e as EvalRegression, f as EvalReport, g as EvalRun, h as EvalRunner, i as EvalRunnerOptions, j as EvalScoredResult, k as EvalScoredRun, l as EvalScorer, m as EvalVerdict, n as ExactMatchScorer, L as LLMJudgeScorer, o as LLMJudgeScorerOptions, p as compareEvalRuns, q as formatEvalReport } from './eval-report-
|
|
13
|
+
export { C as ContainsScorer, a as CustomScorer, E as EvalCase, b as EvalCaseResult, c as EvalDataset, d as EvalImprovement, e as EvalRegression, f as EvalReport, g as EvalRun, h as EvalRunner, i as EvalRunnerOptions, j as EvalScoredResult, k as EvalScoredRun, l as EvalScorer, m as EvalVerdict, n as ExactMatchScorer, L as LLMJudgeScorer, o as LLMJudgeScorerOptions, p as compareEvalRuns, q as formatEvalReport } from './eval-report-DH2tt6Ad.cjs';
|
|
14
14
|
import 'events';
|
|
15
15
|
import '@toolpack-sdk/knowledge';
|
|
16
16
|
|
|
@@ -452,6 +452,7 @@ interface RunContext {
|
|
|
452
452
|
declare class AgentMind {
|
|
453
453
|
private readonly store;
|
|
454
454
|
private readonly config;
|
|
455
|
+
private readonly _inFlightBeliefs;
|
|
455
456
|
private constructor();
|
|
456
457
|
/**
|
|
457
458
|
* Create and initialise an AgentMind instance.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { B as BaseAgentOptions, A as AgentInput, a as AgentResult, d as IAgentRegistry, f as AgentOutput, g as AgentInstance, C as ChannelInterface, P as PendingAsk } from './types-C3EZvpe0.js';
|
|
2
2
|
export { b as AgentDelegationConfig, e as AgentRunOptions, c as AgentSpawnConfig, h as AgentSpawnTemplate, I as Interceptor, i as InterceptorChainConfig, j as InterceptorContext, k as InterceptorResult, N as NextFunction, S as SKIP_SENTINEL, W as WorkflowStep, l as isSkipSentinel, s as skip } from './types-C3EZvpe0.js';
|
|
3
|
-
import { B as BaseAgent, A as AgentMindConfig } from './base-agent-
|
|
4
|
-
export { a as AgentEvents, C as ConfidenceLevel, G as GoalPriority, b as GoalStatus, M as MindBelief, c as MindEntry, d as MindEntryType, e as MindGoal, f as MindRecallResult, g as MindReflection, h as MindTtlDefaults } from './base-agent-
|
|
3
|
+
import { B as BaseAgent, A as AgentMindConfig } from './base-agent-BMZWBdkt.js';
|
|
4
|
+
export { a as AgentEvents, C as ConfidenceLevel, G as GoalPriority, b as GoalStatus, M as MindBelief, c as MindEntry, d as MindEntryType, e as MindGoal, f as MindRecallResult, g as MindReflection, h as MindTtlDefaults } from './base-agent-BMZWBdkt.js';
|
|
5
5
|
import { ModeConfig, ConversationStore, AssemblerOptions, AssembledPrompt, RequestToolDefinition, ToolProject } from 'toolpack-sdk';
|
|
6
6
|
export { AssembledPrompt, AssemblerOptions, ConversationScope, ConversationStore, GetOptions, InMemoryConversationStore, InMemoryConversationStoreConfig, Participant, PromptMessage, ConversationSearchOptions as SearchOptions, StoredMessage } from 'toolpack-sdk';
|
|
7
|
-
import { S as SchedulerStore } from './index-
|
|
8
|
-
export { B as BaseChannel, C as CreateJobOptions, a as CreateJobResult, D as DiscordChannel, b as DiscordChannelConfig, E as EmailChannel, c as EmailChannelConfig, J as JobStatus, M as McpChannel, d as McpChannelConfig, e as SMSChannel, f as SMSChannelConfig, g as ScheduledChannel, h as ScheduledChannelConfig, i as ScheduledJob, j as SlackChannel, k as SlackChannelConfig, T as TelegramChannel, l as TelegramChannelConfig, W as WebhookChannel, m as WebhookChannelConfig } from './index-
|
|
9
|
-
export { I as IntentClassification, a as IntentClassifierAgent, b as IntentClassifierInput } from './intent-classifier-agent-
|
|
7
|
+
import { S as SchedulerStore } from './index-BU2BchV0.js';
|
|
8
|
+
export { B as BaseChannel, C as CreateJobOptions, a as CreateJobResult, D as DiscordChannel, b as DiscordChannelConfig, E as EmailChannel, c as EmailChannelConfig, J as JobStatus, M as McpChannel, d as McpChannelConfig, e as SMSChannel, f as SMSChannelConfig, g as ScheduledChannel, h as ScheduledChannelConfig, i as ScheduledJob, j as SlackChannel, k as SlackChannelConfig, T as TelegramChannel, l as TelegramChannelConfig, W as WebhookChannel, m as WebhookChannelConfig } from './index-BU2BchV0.js';
|
|
9
|
+
export { I as IntentClassification, a as IntentClassifierAgent, b as IntentClassifierInput } from './intent-classifier-agent-BnpchAoZ.js';
|
|
10
10
|
import { SummarizerAgent } from './capabilities/index.js';
|
|
11
11
|
export { HistoryTurn, SummarizerInput, SummarizerOutput } from './capabilities/index.js';
|
|
12
12
|
export { AddressCheckConfig, AddressCheckResult, CaptureHistoryConfig, ComposedChain, DepthExceededError, DepthGuardConfig, EventDedupConfig, IntentClassifierInterceptorConfig, InvocationDepthExceededError, NoiseFilterConfig, OTelSpan, OTelSpanOptions, OTelSpanStatus, OTelSpanStatusCode, OTelTracer, OTelTracerConfig, OTelTracerProvider, ParticipantResolverConfig, RateLimitConfig, SelfFilterConfig, TracerConfig, composeChain, createAddressCheckInterceptor, createCaptureInterceptor, createDepthGuardInterceptor, createEventDedupInterceptor, createIntentClassifierInterceptor, createNoiseFilterInterceptor, createOTelTracerInterceptor, createParticipantResolverInterceptor, createRateLimitInterceptor, createSelfFilterInterceptor, createTracerInterceptor, executeChain } from './interceptors/index.js';
|
|
13
|
-
export { C as ContainsScorer, a as CustomScorer, E as EvalCase, b as EvalCaseResult, c as EvalDataset, d as EvalImprovement, e as EvalRegression, f as EvalReport, g as EvalRun, h as EvalRunner, i as EvalRunnerOptions, j as EvalScoredResult, k as EvalScoredRun, l as EvalScorer, m as EvalVerdict, n as ExactMatchScorer, L as LLMJudgeScorer, o as LLMJudgeScorerOptions, p as compareEvalRuns, q as formatEvalReport } from './eval-report-
|
|
13
|
+
export { C as ContainsScorer, a as CustomScorer, E as EvalCase, b as EvalCaseResult, c as EvalDataset, d as EvalImprovement, e as EvalRegression, f as EvalReport, g as EvalRun, h as EvalRunner, i as EvalRunnerOptions, j as EvalScoredResult, k as EvalScoredRun, l as EvalScorer, m as EvalVerdict, n as ExactMatchScorer, L as LLMJudgeScorer, o as LLMJudgeScorerOptions, p as compareEvalRuns, q as formatEvalReport } from './eval-report-BJEzzuSk.js';
|
|
14
14
|
import 'events';
|
|
15
15
|
import '@toolpack-sdk/knowledge';
|
|
16
16
|
|
|
@@ -452,6 +452,7 @@ interface RunContext {
|
|
|
452
452
|
declare class AgentMind {
|
|
453
453
|
private readonly store;
|
|
454
454
|
private readonly config;
|
|
455
|
+
private readonly _inFlightBeliefs;
|
|
455
456
|
private constructor();
|
|
456
457
|
/**
|
|
457
458
|
* Create and initialise an AgentMind instance.
|