@toolpack-sdk/agents 2.1.1 → 2.3.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.
Files changed (32) hide show
  1. package/README.md +72 -4
  2. package/dist/{base-agent-DPdK4Pnl.d.cts → base-agent-65162dq7.d.cts} +1 -1
  3. package/dist/{base-agent-nU8pr4nu.d.ts → base-agent-DzspMyaG.d.ts} +1 -1
  4. package/dist/capabilities/index.cjs +2 -2
  5. package/dist/capabilities/index.d.cts +3 -3
  6. package/dist/capabilities/index.d.ts +3 -3
  7. package/dist/capabilities/index.js +3 -3
  8. package/dist/channels/index.cjs +2 -2
  9. package/dist/channels/index.d.cts +2 -2
  10. package/dist/channels/index.d.ts +2 -2
  11. package/dist/channels/index.js +2 -2
  12. package/dist/eval-report-BUD6NRiP.d.cts +343 -0
  13. package/dist/eval-report-C6dSvR3Y.d.ts +343 -0
  14. package/dist/{index-Du6S0eG7.d.cts → index-BxUlu-qG.d.ts} +76 -2
  15. package/dist/{index-o8Lbzv5N.d.ts → index-DrigwC1A.d.cts} +76 -2
  16. package/dist/index.cjs +40 -26
  17. package/dist/index.d.cts +9 -8
  18. package/dist/index.d.ts +9 -8
  19. package/dist/index.js +40 -26
  20. package/dist/{intent-classifier-agent-DxyfJWcm.d.cts → intent-classifier-agent-D0rWtviD.d.cts} +2 -2
  21. package/dist/{intent-classifier-agent-0JZDlhpk.d.ts → intent-classifier-agent-mmNoAozf.d.ts} +2 -2
  22. package/dist/interceptors/index.cjs +1 -1
  23. package/dist/interceptors/index.d.cts +92 -5
  24. package/dist/interceptors/index.d.ts +92 -5
  25. package/dist/interceptors/index.js +1 -1
  26. package/dist/testing/index.cjs +16 -2
  27. package/dist/testing/index.d.cts +3 -2
  28. package/dist/testing/index.d.ts +3 -2
  29. package/dist/testing/index.js +16 -2
  30. package/dist/{types-TB6yypig.d.cts → types-C3eW-auY.d.cts} +6 -8
  31. package/dist/{types-TB6yypig.d.ts → types-C3eW-auY.d.ts} +6 -8
  32. package/package.json +18 -9
package/dist/index.d.cts CHANGED
@@ -1,15 +1,16 @@
1
- import { A as AgentInput, a as AgentResult, c as IAgentRegistry, e as AgentOutput, f as AgentInstance, C as ChannelInterface, P as PendingAsk, B as BaseAgentOptions } from './types-TB6yypig.cjs';
2
- export { b as AgentDelegationConfig, d as AgentRunOptions, I as Interceptor, g as InterceptorChainConfig, h as InterceptorContext, i as InterceptorResult, N as NextFunction, S as SKIP_SENTINEL, W as WorkflowStep, j as isSkipSentinel, s as skip } from './types-TB6yypig.cjs';
3
- import { B as BaseAgent, A as AgentMindConfig } from './base-agent-DPdK4Pnl.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-DPdK4Pnl.cjs';
1
+ import { A as AgentInput, a as AgentResult, c as IAgentRegistry, e as AgentOutput, f as AgentInstance, C as ChannelInterface, P as PendingAsk, B as BaseAgentOptions } from './types-C3eW-auY.cjs';
2
+ export { b as AgentDelegationConfig, d as AgentRunOptions, I as Interceptor, g as InterceptorChainConfig, h as InterceptorContext, i as InterceptorResult, N as NextFunction, S as SKIP_SENTINEL, W as WorkflowStep, j as isSkipSentinel, s as skip } from './types-C3eW-auY.cjs';
3
+ import { B as BaseAgent, A as AgentMindConfig } from './base-agent-65162dq7.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-65162dq7.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-Du6S0eG7.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, d as SMSChannel, e as SMSChannelConfig, f as ScheduledChannel, g as ScheduledChannelConfig, h as ScheduledJob, i as SlackChannel, j as SlackChannelConfig, T as TelegramChannel, k as TelegramChannelConfig, W as WebhookChannel, l as WebhookChannelConfig } from './index-Du6S0eG7.cjs';
9
- export { I as IntentClassification, a as IntentClassifierAgent, b as IntentClassifierInput } from './intent-classifier-agent-DxyfJWcm.cjs';
7
+ import { S as SchedulerStore } from './index-DrigwC1A.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-DrigwC1A.cjs';
9
+ export { I as IntentClassification, a as IntentClassifierAgent, b as IntentClassifierInput } from './intent-classifier-agent-D0rWtviD.cjs';
10
10
  import { SummarizerAgent } from './capabilities/index.cjs';
11
11
  export { HistoryTurn, SummarizerInput, SummarizerOutput } from './capabilities/index.cjs';
12
- export { AddressCheckConfig, AddressCheckResult, CaptureHistoryConfig, ComposedChain, DepthExceededError, DepthGuardConfig, EventDedupConfig, IntentClassifierInterceptorConfig, InvocationDepthExceededError, NoiseFilterConfig, ParticipantResolverConfig, RateLimitConfig, SelfFilterConfig, TracerConfig, composeChain, createAddressCheckInterceptor, createCaptureInterceptor, createDepthGuardInterceptor, createEventDedupInterceptor, createIntentClassifierInterceptor, createNoiseFilterInterceptor, createParticipantResolverInterceptor, createRateLimitInterceptor, createSelfFilterInterceptor, createTracerInterceptor, executeChain } from './interceptors/index.cjs';
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-BUD6NRiP.cjs';
13
14
  import 'events';
14
15
  import '@toolpack-sdk/knowledge';
15
16
 
package/dist/index.d.ts CHANGED
@@ -1,15 +1,16 @@
1
- import { A as AgentInput, a as AgentResult, c as IAgentRegistry, e as AgentOutput, f as AgentInstance, C as ChannelInterface, P as PendingAsk, B as BaseAgentOptions } from './types-TB6yypig.js';
2
- export { b as AgentDelegationConfig, d as AgentRunOptions, I as Interceptor, g as InterceptorChainConfig, h as InterceptorContext, i as InterceptorResult, N as NextFunction, S as SKIP_SENTINEL, W as WorkflowStep, j as isSkipSentinel, s as skip } from './types-TB6yypig.js';
3
- import { B as BaseAgent, A as AgentMindConfig } from './base-agent-nU8pr4nu.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-nU8pr4nu.js';
1
+ import { A as AgentInput, a as AgentResult, c as IAgentRegistry, e as AgentOutput, f as AgentInstance, C as ChannelInterface, P as PendingAsk, B as BaseAgentOptions } from './types-C3eW-auY.js';
2
+ export { b as AgentDelegationConfig, d as AgentRunOptions, I as Interceptor, g as InterceptorChainConfig, h as InterceptorContext, i as InterceptorResult, N as NextFunction, S as SKIP_SENTINEL, W as WorkflowStep, j as isSkipSentinel, s as skip } from './types-C3eW-auY.js';
3
+ import { B as BaseAgent, A as AgentMindConfig } from './base-agent-DzspMyaG.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-DzspMyaG.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-o8Lbzv5N.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, d as SMSChannel, e as SMSChannelConfig, f as ScheduledChannel, g as ScheduledChannelConfig, h as ScheduledJob, i as SlackChannel, j as SlackChannelConfig, T as TelegramChannel, k as TelegramChannelConfig, W as WebhookChannel, l as WebhookChannelConfig } from './index-o8Lbzv5N.js';
9
- export { I as IntentClassification, a as IntentClassifierAgent, b as IntentClassifierInput } from './intent-classifier-agent-0JZDlhpk.js';
7
+ import { S as SchedulerStore } from './index-BxUlu-qG.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-BxUlu-qG.js';
9
+ export { I as IntentClassification, a as IntentClassifierAgent, b as IntentClassifierInput } from './intent-classifier-agent-mmNoAozf.js';
10
10
  import { SummarizerAgent } from './capabilities/index.js';
11
11
  export { HistoryTurn, SummarizerInput, SummarizerOutput } from './capabilities/index.js';
12
- export { AddressCheckConfig, AddressCheckResult, CaptureHistoryConfig, ComposedChain, DepthExceededError, DepthGuardConfig, EventDedupConfig, IntentClassifierInterceptorConfig, InvocationDepthExceededError, NoiseFilterConfig, ParticipantResolverConfig, RateLimitConfig, SelfFilterConfig, TracerConfig, composeChain, createAddressCheckInterceptor, createCaptureInterceptor, createDepthGuardInterceptor, createEventDedupInterceptor, createIntentClassifierInterceptor, createNoiseFilterInterceptor, createParticipantResolverInterceptor, createRateLimitInterceptor, createSelfFilterInterceptor, createTracerInterceptor, executeChain } from './interceptors/index.js';
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-C6dSvR3Y.js';
13
14
  import 'events';
14
15
  import '@toolpack-sdk/knowledge';
15
16