@toolpack-sdk/agents 3.1.0 → 3.2.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/README.md +36 -1
- package/dist/{base-agent-iaQiO7jW.d.cts → base-agent-C_h8KyH0.d.cts} +3 -3
- package/dist/{base-agent-CJE2QCjY.d.ts → base-agent-DIuUtRdS.d.ts} +3 -3
- package/dist/capabilities/index.cjs +24 -24
- package/dist/capabilities/index.d.cts +3 -3
- package/dist/capabilities/index.d.ts +3 -3
- package/dist/capabilities/index.js +21 -21
- package/dist/channels/index.cjs +2 -2
- package/dist/channels/index.d.cts +2 -2
- package/dist/channels/index.d.ts +2 -2
- package/dist/channels/index.js +2 -2
- package/dist/{eval-report-0O9AlW7u.d.ts → eval-report---32U3p-.d.ts} +1 -1
- package/dist/{eval-report-DUlkrBuJ.d.cts → eval-report-uHxVuPiL.d.cts} +1 -1
- package/dist/{index-DQuf4mxT.d.ts → index-Bd2nQrax.d.ts} +25 -3
- package/dist/{index-a2wZU6Eu.d.cts → index-Cuyk9sbf.d.cts} +25 -3
- package/dist/index.cjs +35 -35
- package/dist/index.d.cts +11 -11
- package/dist/index.d.ts +11 -11
- package/dist/index.js +35 -35
- package/dist/{intent-classifier-agent-QuB4WIWf.d.ts → intent-classifier-agent-CZMHh1wf.d.ts} +2 -2
- package/dist/{intent-classifier-agent-CEmRGpUr.d.cts → intent-classifier-agent-DRNbyZ5N.d.cts} +2 -2
- package/dist/interceptors/index.d.cts +4 -4
- package/dist/interceptors/index.d.ts +4 -4
- package/dist/testing/index.d.cts +3 -3
- package/dist/testing/index.d.ts +3 -3
- package/dist/{types-CJinv165.d.cts → types-D5dxhUX8.d.cts} +3 -1
- package/dist/{types-CJinv165.d.ts → types-D5dxhUX8.d.ts} +3 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
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-
|
|
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-
|
|
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-
|
|
5
|
-
import { ModeConfig, ConversationStore, AssemblerOptions, AssembledPrompt,
|
|
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-D5dxhUX8.cjs';
|
|
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-D5dxhUX8.cjs';
|
|
3
|
+
import { B as BaseAgent, A as AgentMindConfig } from './base-agent-C_h8KyH0.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-C_h8KyH0.cjs';
|
|
5
|
+
import { ModeConfig, ConversationStore, AssemblerOptions, AssembledPrompt, 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
|
|
9
|
-
export { I as IntentClassification, a as IntentClassifierAgent, b as IntentClassifierInput } from './intent-classifier-agent-
|
|
7
|
+
import { S as SchedulerStore } from './index-Cuyk9sbf.cjs';
|
|
8
|
+
export { B as BaseChannel, C as ChatChannel, a as ChatChannelConfig, b as CreateJobOptions, c as CreateJobResult, D as DiscordChannel, d as DiscordChannelConfig, E as EmailChannel, e as EmailChannelConfig, J as JobStatus, M as McpChannel, f as McpChannelConfig, g as SMSChannel, h as SMSChannelConfig, i as ScheduledChannel, j as ScheduledChannelConfig, k as ScheduledJob, l as SlackChannel, m as SlackChannelConfig, T as TelegramChannel, n as TelegramChannelConfig, W as WebhookChannel, o as WebhookChannelConfig } from './index-Cuyk9sbf.cjs';
|
|
9
|
+
export { I as IntentClassification, a as IntentClassifierAgent, b as IntentClassifierInput } from './intent-classifier-agent-DRNbyZ5N.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-uHxVuPiL.cjs';
|
|
14
14
|
import 'events';
|
|
15
15
|
import '@toolpack-sdk/knowledge';
|
|
16
16
|
|
|
@@ -439,8 +439,8 @@ declare function createConversationSearchTool(store: ConversationStore, conversa
|
|
|
439
439
|
interface RunContext {
|
|
440
440
|
/** The assembled header string to prepend to the system prompt (empty string if no content). */
|
|
441
441
|
mindHeader: string;
|
|
442
|
-
/**
|
|
443
|
-
|
|
442
|
+
/** Mind tools packaged as a ToolProject — pass to toolpack.loadRequestToolProject(). */
|
|
443
|
+
toolProject: ToolProject;
|
|
444
444
|
/** Call this at run completion. Pass isError=true on crash. */
|
|
445
445
|
flush: (isError: boolean) => Promise<void>;
|
|
446
446
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
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-
|
|
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-
|
|
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-
|
|
5
|
-
import { ModeConfig, ConversationStore, AssemblerOptions, AssembledPrompt,
|
|
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-D5dxhUX8.js';
|
|
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-D5dxhUX8.js';
|
|
3
|
+
import { B as BaseAgent, A as AgentMindConfig } from './base-agent-DIuUtRdS.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-DIuUtRdS.js';
|
|
5
|
+
import { ModeConfig, ConversationStore, AssemblerOptions, AssembledPrompt, 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
|
|
9
|
-
export { I as IntentClassification, a as IntentClassifierAgent, b as IntentClassifierInput } from './intent-classifier-agent-
|
|
7
|
+
import { S as SchedulerStore } from './index-Bd2nQrax.js';
|
|
8
|
+
export { B as BaseChannel, C as ChatChannel, a as ChatChannelConfig, b as CreateJobOptions, c as CreateJobResult, D as DiscordChannel, d as DiscordChannelConfig, E as EmailChannel, e as EmailChannelConfig, J as JobStatus, M as McpChannel, f as McpChannelConfig, g as SMSChannel, h as SMSChannelConfig, i as ScheduledChannel, j as ScheduledChannelConfig, k as ScheduledJob, l as SlackChannel, m as SlackChannelConfig, T as TelegramChannel, n as TelegramChannelConfig, W as WebhookChannel, o as WebhookChannelConfig } from './index-Bd2nQrax.js';
|
|
9
|
+
export { I as IntentClassification, a as IntentClassifierAgent, b as IntentClassifierInput } from './intent-classifier-agent-CZMHh1wf.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---32U3p-.js';
|
|
14
14
|
import 'events';
|
|
15
15
|
import '@toolpack-sdk/knowledge';
|
|
16
16
|
|
|
@@ -439,8 +439,8 @@ declare function createConversationSearchTool(store: ConversationStore, conversa
|
|
|
439
439
|
interface RunContext {
|
|
440
440
|
/** The assembled header string to prepend to the system prompt (empty string if no content). */
|
|
441
441
|
mindHeader: string;
|
|
442
|
-
/**
|
|
443
|
-
|
|
442
|
+
/** Mind tools packaged as a ToolProject — pass to toolpack.loadRequestToolProject(). */
|
|
443
|
+
toolProject: ToolProject;
|
|
444
444
|
/** Call this at run completion. Pass isError=true on crash. */
|
|
445
445
|
flush: (isError: boolean) => Promise<void>;
|
|
446
446
|
}
|