@agentfield/sdk 0.1.111-rc.2 → 0.1.111

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/index.d.ts CHANGED
@@ -1315,6 +1315,11 @@ interface SkillOptions {
1315
1315
  interface HarnessConfig {
1316
1316
  provider: 'claude-code' | 'codex' | 'gemini' | 'opencode';
1317
1317
  model?: string;
1318
+ /**
1319
+ * Provider-specific reasoning-effort variant (e.g. `high`, `minimal`).
1320
+ * Wins over a `#variant` suffix on `model`.
1321
+ */
1322
+ variant?: string;
1318
1323
  maxTurns?: number;
1319
1324
  maxBudgetUsd?: number;
1320
1325
  maxRetries?: number;
@@ -1333,6 +1338,11 @@ interface HarnessConfig {
1333
1338
  interface HarnessOptions {
1334
1339
  provider?: string;
1335
1340
  model?: string;
1341
+ /**
1342
+ * Provider-specific reasoning-effort variant (e.g. `high`, `minimal`).
1343
+ * Wins over a `#variant` suffix on `model`.
1344
+ */
1345
+ variant?: string;
1336
1346
  maxTurns?: number;
1337
1347
  maxBudgetUsd?: number;
1338
1348
  maxRetries?: number;
@@ -2627,6 +2637,33 @@ declare class OpenRouterMediaProvider implements MediaProvider {
2627
2637
  private get;
2628
2638
  }
2629
2639
 
2640
+ /**
2641
+ * Separator for the `provider/model#variant` model-string syntax. `#` is
2642
+ * safe because provider model ids never contain it (`:` is taken by
2643
+ * OpenRouter suffixes like `:free`, `@` by Vertex-style ids).
2644
+ */
2645
+ declare const MODEL_VARIANT_SEP = "#";
2646
+ interface ModelVariant {
2647
+ model?: string;
2648
+ variant?: string;
2649
+ }
2650
+ /**
2651
+ * Split a `provider/model#variant` string into `{ model, variant }`.
2652
+ *
2653
+ * The `#variant` suffix carries a provider-specific reasoning-effort
2654
+ * variant (e.g. `high`, `minimal`) through config surfaces that only
2655
+ * hold a model string. A bare model string passes through as
2656
+ * `{ model }`; non-string or empty input yields `{}`.
2657
+ */
2658
+ declare function splitModelVariant(model: unknown): ModelVariant;
2659
+ /**
2660
+ * Resolve `{ model, variant }` from harness options.
2661
+ *
2662
+ * An explicit `options.variant` wins over a `#variant` suffix on
2663
+ * `options.model`; the returned model never carries the suffix.
2664
+ */
2665
+ declare function resolveModelAndVariant(options: Record<string, unknown>): ModelVariant;
2666
+
2630
2667
  declare const SUPPORTED_PROVIDERS: Set<string>;
2631
2668
  declare function buildProvider(config: HarnessConfig): Promise<HarnessProvider>;
2632
2669
 
@@ -2966,4 +3003,4 @@ declare function simulateSchedule<R>(handler: (ctx: SimulatedContext) => R | Pro
2966
3003
  */
2967
3004
  declare function loadFixture(source: string): Record<string, unknown>;
2968
3005
 
2969
- export { ACTIVE_STATUSES, AIClient, type AIConfig, type AIEmbeddingOptions, type AIRequestOptions, type AIStream, type AIToolRequestOptions, Agent, type AgentCapability, type AgentConfig, type AgentHandler, AgentRouter, type AgentRouterOptions, type AgentState, ApprovalClient, type ApprovalDecision, type ApprovalRequestResponse, ApprovalResult, type ApprovalStatusResponse, Audio, type AudioOutput, type AudioRequest, type AuditTrailExport, type AuditTrailFilters, type Awaitable, CANONICAL_STATUSES, type CompactCapability, type CompactDiscoveryResponse, type CostEntry, type CostEntryInit, CostTracker, DIDAuthenticator, type DIDIdentity, type DIDIdentityPackage, type DIDRegistrationRequest, type DIDRegistrationResponse, type DeploymentType, DidClient, DidInterface, DidManager, type DidResolver, type DiscoveryFormat, type DiscoveryOptions, type DiscoveryPagination, type DiscoveryResponse, type DiscoveryResult, type EventTriggerBinding, type EventTriggerSpec, ExecutionContext, type ExecutionCredential, type ExecutionLogAttributes, type ExecutionLogBatchPayload, type ExecutionLogContext, type ExecutionLogEmitOptions, type ExecutionLogEntry, type ExecutionLogLevel, type ExecutionLogTransport, type ExecutionLogTransportPayload, type ExecutionLogWireEntry, ExecutionLogger, type ExecutionLoggerOptions, type ExecutionMetadata, ExecutionStatus, type ExecutionStatusValue, File, type FileOutput, type GenerateCredentialOptions, type GenerateCredentialParams, HEADER_CALLER_DID, HEADER_DID_NONCE, HEADER_DID_SIGNATURE, HEADER_DID_TIMESTAMP, type HarnessConfig, type HarnessOptions, type HarnessProvider, type HarnessResult, HarnessRunner, type HealthStatus, Image, type ImageOutput, type ImageRequest, JWE_ALG, JWE_ENC, KEY_AGREEMENT_TYPE, type MediaProvider, MediaProviderError, type MediaResponse, MediaRouter, type MemoryChangeEvent, MemoryClient, MemoryClientBase, type MemoryConfig, MemoryEventClient, type MemoryEventHandler, type MemoryEventHistoryOptions, MemoryInterface, type MemoryRequestMetadata, type MemoryRequestOptions, type MemoryScope, type MemoryWatchHandler, type Metrics, type MultimodalContent, MultimodalResponse, OpenRouterMediaProvider, type OpenRouterMediaProviderOptions, PauseClock, PauseManager, type Payload, PayloadEncryptionError, RateLimitError, type RateLimiterOptions, type RawExecutionContext, type RawResult, RealtimeSession, type ReasonerCapability, ReasonerContext, type ReasonerDefinition, type ReasonerHandler, type ReasonerOptions, type RequestApprovalPayload, SUPPORTED_PROVIDERS, SUPPORTED_SESSION_TRANSPORTS, type ScheduleTriggerBinding, type ScheduleTriggerSpec, type ServerlessAdapter, type ServerlessEvent, type ServerlessResponse, type SessionDefinition, type SessionOptions, type SessionProvider, type SessionTransport, type SessionTransportCapability, SessionTransportError, type SessionTurn, type SimulateScheduleOptions, type SimulateTriggerOptions, type SimulatedContext, type SkillCapability, SkillContext, type SkillDefinition, type SkillHandler, type SkillOptions, StatelessRateLimiter, TERMINAL_STATUSES, Text, type ToolCallConfig, type ToolCallRecord, type ToolCallTrace, type ToolsOption, type TriggerBinding, type TriggerContext, type TriggerEnvelope, USAGE_ENVELOPE_KEY, type UnwrapResult, type UsageEntryWire, type UsageSummaryWire, type VectorSearchOptions, type VectorSearchResult, Video, type VideoFrameImage, type VideoInputReference, type VideoRequest, type WaitForApprovalOptions, type WorkflowCredential, type WorkflowMetadata, type WorkflowProgressOptions, WorkflowReporter, type ZodSchema, applyTriggerTransform, attachUsageToSyncResult, audioFromBase64, audioFromBuffer, audioFromFile, audioFromUrl, buildProvider, buildSessionDefinition, buildToolConfig, capabilitiesToTools, capabilityToMetadataTool, capabilityToTool, createExecutionLogger, createHarnessResult, createMetrics, createMultimodalResponse, createRawResult, decrypt, decryptToString, deriveProvider, encryptForDid, encryptToJwk, eventTrigger, executeToolCallLoop, extractKeyAgreementJwk, fileFromBase64, fileFromBuffer, fileFromPath, fileFromUrl, generateX25519KeyPair, getCurrentContext, getCurrentSkillContext, imageFromBase64, imageFromBuffer, imageFromFile, imageFromUrl, installApprovalWebhookRoute, isActive, isExecutionLogBatchPayload, isTerminal, isTriggerEnvelope, loadFixture, normalizeExecutionLogEntry, normalizeSessionTransportValue, normalizeStatus, scheduleTrigger, serializeExecutionLogEntry, simulateSchedule, simulateTrigger, text, triggerToPayload, unwrapEnvelope, usageSummaryOrNull, validateSessionTransport, videoFromBase64, videoFromBuffer, videoFromFile, videoFromUrl };
3006
+ export { ACTIVE_STATUSES, AIClient, type AIConfig, type AIEmbeddingOptions, type AIRequestOptions, type AIStream, type AIToolRequestOptions, Agent, type AgentCapability, type AgentConfig, type AgentHandler, AgentRouter, type AgentRouterOptions, type AgentState, ApprovalClient, type ApprovalDecision, type ApprovalRequestResponse, ApprovalResult, type ApprovalStatusResponse, Audio, type AudioOutput, type AudioRequest, type AuditTrailExport, type AuditTrailFilters, type Awaitable, CANONICAL_STATUSES, type CompactCapability, type CompactDiscoveryResponse, type CostEntry, type CostEntryInit, CostTracker, DIDAuthenticator, type DIDIdentity, type DIDIdentityPackage, type DIDRegistrationRequest, type DIDRegistrationResponse, type DeploymentType, DidClient, DidInterface, DidManager, type DidResolver, type DiscoveryFormat, type DiscoveryOptions, type DiscoveryPagination, type DiscoveryResponse, type DiscoveryResult, type EventTriggerBinding, type EventTriggerSpec, ExecutionContext, type ExecutionCredential, type ExecutionLogAttributes, type ExecutionLogBatchPayload, type ExecutionLogContext, type ExecutionLogEmitOptions, type ExecutionLogEntry, type ExecutionLogLevel, type ExecutionLogTransport, type ExecutionLogTransportPayload, type ExecutionLogWireEntry, ExecutionLogger, type ExecutionLoggerOptions, type ExecutionMetadata, ExecutionStatus, type ExecutionStatusValue, File, type FileOutput, type GenerateCredentialOptions, type GenerateCredentialParams, HEADER_CALLER_DID, HEADER_DID_NONCE, HEADER_DID_SIGNATURE, HEADER_DID_TIMESTAMP, type HarnessConfig, type HarnessOptions, type HarnessProvider, type HarnessResult, HarnessRunner, type HealthStatus, Image, type ImageOutput, type ImageRequest, JWE_ALG, JWE_ENC, KEY_AGREEMENT_TYPE, MODEL_VARIANT_SEP, type MediaProvider, MediaProviderError, type MediaResponse, MediaRouter, type MemoryChangeEvent, MemoryClient, MemoryClientBase, type MemoryConfig, MemoryEventClient, type MemoryEventHandler, type MemoryEventHistoryOptions, MemoryInterface, type MemoryRequestMetadata, type MemoryRequestOptions, type MemoryScope, type MemoryWatchHandler, type Metrics, type ModelVariant, type MultimodalContent, MultimodalResponse, OpenRouterMediaProvider, type OpenRouterMediaProviderOptions, PauseClock, PauseManager, type Payload, PayloadEncryptionError, RateLimitError, type RateLimiterOptions, type RawExecutionContext, type RawResult, RealtimeSession, type ReasonerCapability, ReasonerContext, type ReasonerDefinition, type ReasonerHandler, type ReasonerOptions, type RequestApprovalPayload, SUPPORTED_PROVIDERS, SUPPORTED_SESSION_TRANSPORTS, type ScheduleTriggerBinding, type ScheduleTriggerSpec, type ServerlessAdapter, type ServerlessEvent, type ServerlessResponse, type SessionDefinition, type SessionOptions, type SessionProvider, type SessionTransport, type SessionTransportCapability, SessionTransportError, type SessionTurn, type SimulateScheduleOptions, type SimulateTriggerOptions, type SimulatedContext, type SkillCapability, SkillContext, type SkillDefinition, type SkillHandler, type SkillOptions, StatelessRateLimiter, TERMINAL_STATUSES, Text, type ToolCallConfig, type ToolCallRecord, type ToolCallTrace, type ToolsOption, type TriggerBinding, type TriggerContext, type TriggerEnvelope, USAGE_ENVELOPE_KEY, type UnwrapResult, type UsageEntryWire, type UsageSummaryWire, type VectorSearchOptions, type VectorSearchResult, Video, type VideoFrameImage, type VideoInputReference, type VideoRequest, type WaitForApprovalOptions, type WorkflowCredential, type WorkflowMetadata, type WorkflowProgressOptions, WorkflowReporter, type ZodSchema, applyTriggerTransform, attachUsageToSyncResult, audioFromBase64, audioFromBuffer, audioFromFile, audioFromUrl, buildProvider, buildSessionDefinition, buildToolConfig, capabilitiesToTools, capabilityToMetadataTool, capabilityToTool, createExecutionLogger, createHarnessResult, createMetrics, createMultimodalResponse, createRawResult, decrypt, decryptToString, deriveProvider, encryptForDid, encryptToJwk, eventTrigger, executeToolCallLoop, extractKeyAgreementJwk, fileFromBase64, fileFromBuffer, fileFromPath, fileFromUrl, generateX25519KeyPair, getCurrentContext, getCurrentSkillContext, imageFromBase64, imageFromBuffer, imageFromFile, imageFromUrl, installApprovalWebhookRoute, isActive, isExecutionLogBatchPayload, isTerminal, isTriggerEnvelope, loadFixture, normalizeExecutionLogEntry, normalizeSessionTransportValue, normalizeStatus, resolveModelAndVariant, scheduleTrigger, serializeExecutionLogEntry, simulateSchedule, simulateTrigger, splitModelVariant, text, triggerToPayload, unwrapEnvelope, usageSummaryOrNull, validateSessionTransport, videoFromBase64, videoFromBuffer, videoFromFile, videoFromUrl };
package/dist/index.js CHANGED
@@ -142,6 +142,34 @@ var init_openrouterAttribution = __esm({
142
142
  DEFAULT_OPENROUTER_APP_NAME = "AgentField AI";
143
143
  }
144
144
  });
145
+
146
+ // src/harness/modelVariant.ts
147
+ function splitModelVariant(model) {
148
+ if (typeof model !== "string" || !model.trim()) {
149
+ return {};
150
+ }
151
+ const sepIndex = model.indexOf(MODEL_VARIANT_SEP);
152
+ const base = sepIndex === -1 ? model : model.slice(0, sepIndex);
153
+ const variant = sepIndex === -1 ? "" : model.slice(sepIndex + 1);
154
+ return {
155
+ model: base.trim() || void 0,
156
+ variant: variant.trim() || void 0
157
+ };
158
+ }
159
+ function resolveModelAndVariant(options) {
160
+ const { model, variant } = splitModelVariant(options.model);
161
+ const explicit = options.variant;
162
+ if (typeof explicit === "string" && explicit.trim()) {
163
+ return { model, variant: explicit.trim() };
164
+ }
165
+ return { model, variant };
166
+ }
167
+ var MODEL_VARIANT_SEP;
168
+ var init_modelVariant = __esm({
169
+ "src/harness/modelVariant.ts"() {
170
+ MODEL_VARIANT_SEP = "#";
171
+ }
172
+ });
145
173
  function getZodConverter() {
146
174
  if (zodConverter !== void 0) {
147
175
  return zodConverter;
@@ -354,6 +382,7 @@ var ClaudeCodeProvider;
354
382
  var init_claude = __esm({
355
383
  "src/harness/providers/claude.ts"() {
356
384
  init_types();
385
+ init_modelVariant();
357
386
  ClaudeCodeProvider = class {
358
387
  async execute(prompt, options) {
359
388
  let sdk;
@@ -366,7 +395,8 @@ var init_claude = __esm({
366
395
  );
367
396
  }
368
397
  const agentOptions = {};
369
- if (options.model !== void 0) agentOptions.model = options.model;
398
+ const { model: modelValue } = resolveModelAndVariant(options);
399
+ if (modelValue !== void 0) agentOptions.model = modelValue;
370
400
  if (options.cwd !== void 0) agentOptions.cwd = options.cwd;
371
401
  if (options.maxTurns !== void 0) agentOptions.max_turns = options.maxTurns;
372
402
  if (options.tools !== void 0) agentOptions.allowed_tools = options.tools;
@@ -610,6 +640,7 @@ var init_codex = __esm({
610
640
  "src/harness/providers/codex.ts"() {
611
641
  init_types();
612
642
  init_cli();
643
+ init_modelVariant();
613
644
  CodexProvider = class {
614
645
  bin;
615
646
  constructor(binPath = "codex") {
@@ -623,6 +654,13 @@ var init_codex = __esm({
623
654
  if (options.permissionMode === "auto") {
624
655
  cmd.push("--full-auto");
625
656
  }
657
+ const { model: modelValue, variant: variantValue } = resolveModelAndVariant(options);
658
+ if (modelValue) {
659
+ cmd.push("-m", modelValue);
660
+ }
661
+ if (variantValue) {
662
+ cmd.push("-c", `model_reasoning_effort=${variantValue}`);
663
+ }
626
664
  cmd.push(prompt);
627
665
  const startApi = Date.now();
628
666
  try {
@@ -649,7 +687,7 @@ var init_codex = __esm({
649
687
  return createRawResult({
650
688
  result: resultText,
651
689
  messages: events,
652
- metrics: createMetrics({ durationApiMs: Date.now() - startApi, numTurns, sessionId }),
690
+ metrics: createMetrics({ durationApiMs: Date.now() - startApi, numTurns, sessionId, model: modelValue }),
653
691
  isError,
654
692
  errorMessage: isError ? stderr.trim() : void 0
655
693
  });
@@ -683,6 +721,7 @@ var init_gemini = __esm({
683
721
  "src/harness/providers/gemini.ts"() {
684
722
  init_types();
685
723
  init_cli();
724
+ init_modelVariant();
686
725
  GeminiProvider = class {
687
726
  bin;
688
727
  constructor(binPath = "gemini") {
@@ -696,8 +735,9 @@ var init_gemini = __esm({
696
735
  if (options.permissionMode === "auto") {
697
736
  cmd.push("--sandbox");
698
737
  }
699
- if (options.model) {
700
- cmd.push("-m", String(options.model));
738
+ const { model: modelValue } = resolveModelAndVariant(options);
739
+ if (modelValue) {
740
+ cmd.push("-m", modelValue);
701
741
  }
702
742
  cmd.push("-p", prompt);
703
743
  const startApi = Date.now();
@@ -749,6 +789,7 @@ var init_opencode = __esm({
749
789
  "src/harness/providers/opencode.ts"() {
750
790
  init_types();
751
791
  init_cli();
792
+ init_modelVariant();
752
793
  init_openrouterAttribution();
753
794
  OpenCodeProvider = class {
754
795
  bin;
@@ -763,8 +804,12 @@ var init_opencode = __esm({
763
804
  cmd.push("--dir", options.project_dir);
764
805
  }
765
806
  const env = { ...options.env };
766
- if (options.model) {
767
- cmd.push("-m", String(options.model));
807
+ const { model: modelValue, variant: variantValue } = resolveModelAndVariant(options);
808
+ if (modelValue) {
809
+ cmd.push("-m", modelValue);
810
+ }
811
+ if (variantValue) {
812
+ cmd.push("--variant", variantValue);
768
813
  }
769
814
  let effectivePrompt = prompt;
770
815
  if (options.system_prompt && typeof options.system_prompt === "string" && options.system_prompt.trim()) {
@@ -777,9 +822,8 @@ USER REQUEST:
777
822
  ${prompt}`;
778
823
  }
779
824
  cmd.push(effectivePrompt);
780
- const explicitModel = typeof options.model === "string" ? options.model : void 0;
781
- if (explicitModel && isOpenRouterRequest({ model: explicitModel }) && !env.OPENCODE_CONFIG_CONTENT && !process.env.OPENCODE_CONFIG_CONTENT) {
782
- const modelSlug = explicitModel.slice("openrouter/".length);
825
+ if (modelValue && isOpenRouterRequest({ model: modelValue }) && !env.OPENCODE_CONFIG_CONTENT && !process.env.OPENCODE_CONFIG_CONTENT) {
826
+ const modelSlug = modelValue.slice("openrouter/".length);
783
827
  const headers = openRouterAttributionHeaders({ env: { ...process.env, ...env } });
784
828
  if (modelSlug && Object.keys(headers).length > 0) {
785
829
  env.OPENCODE_CONFIG_CONTENT = JSON.stringify({
@@ -804,7 +848,8 @@ ${prompt}`;
804
848
  metrics: createMetrics({
805
849
  durationApiMs: Date.now() - startApi,
806
850
  numTurns: resultText ? 1 : 0,
807
- sessionId: ""
851
+ sessionId: "",
852
+ model: modelValue
808
853
  }),
809
854
  isError,
810
855
  errorMessage: isError ? stderr.trim() : void 0
@@ -935,6 +980,7 @@ var init_runner = __esm({
935
980
  for (const key of [
936
981
  "provider",
937
982
  "model",
983
+ "variant",
938
984
  "maxTurns",
939
985
  "maxBudgetUsd",
940
986
  "maxRetries",
@@ -3685,6 +3731,9 @@ function wrapResult(result) {
3685
3731
  }
3686
3732
  return { result };
3687
3733
  }
3734
+
3735
+ // src/agent/Agent.ts
3736
+ init_modelVariant();
3688
3737
  var MemoryClientBase = class {
3689
3738
  http;
3690
3739
  defaultHeaders;
@@ -5245,9 +5294,10 @@ var Agent = class {
5245
5294
  }
5246
5295
  const providerName = options?.provider ?? this.config.harnessConfig?.provider;
5247
5296
  const harnessName = providerName ? String(providerName).replace(/-/g, "_") : null;
5248
- const modelName = String(
5297
+ const rawModelName = String(
5249
5298
  result.model ?? options?.model ?? this.config.harnessConfig?.model ?? providerName ?? "harness"
5250
5299
  );
5300
+ const modelName = splitModelVariant(rawModelName).model ?? rawModelName;
5251
5301
  tracker.record({
5252
5302
  model: modelName,
5253
5303
  inputTokens,
@@ -8072,6 +8122,7 @@ function sleep3(ms) {
8072
8122
 
8073
8123
  // src/harness/index.ts
8074
8124
  init_types();
8125
+ init_modelVariant();
8075
8126
  init_factory();
8076
8127
  init_runner();
8077
8128
  async function simulateTrigger(handler, options) {
@@ -8123,6 +8174,6 @@ function loadFixture(source) {
8123
8174
  );
8124
8175
  }
8125
8176
 
8126
- export { ACTIVE_STATUSES, AIClient, Agent, AgentRouter, ApprovalClient, ApprovalResult, Audio, CANONICAL_STATUSES, CostTracker, DIDAuthenticator, DidClient, DidInterface, DidManager, ExecutionContext, ExecutionLogger, ExecutionStatus, File, HEADER_CALLER_DID, HEADER_DID_NONCE, HEADER_DID_SIGNATURE, HEADER_DID_TIMESTAMP, HarnessRunner, Image, JWE_ALG, JWE_ENC, KEY_AGREEMENT_TYPE, MediaProviderError, MediaRouter, MemoryClient, MemoryClientBase, MemoryEventClient, MemoryInterface, MultimodalResponse, OpenRouterMediaProvider, PauseClock, PauseManager, PayloadEncryptionError, RateLimitError, RealtimeSession, ReasonerContext, SUPPORTED_PROVIDERS, SUPPORTED_SESSION_TRANSPORTS, SessionTransportError, SkillContext, StatelessRateLimiter, TERMINAL_STATUSES, Text, USAGE_ENVELOPE_KEY, Video, WorkflowReporter, applyTriggerTransform, attachUsageToSyncResult, audioFromBase64, audioFromBuffer, audioFromFile, audioFromUrl, buildProvider, buildSessionDefinition, buildToolConfig, capabilitiesToTools, capabilityToMetadataTool, capabilityToTool, createExecutionLogger, createHarnessResult, createMetrics, createMultimodalResponse, createRawResult, decrypt, decryptToString, deriveProvider, encryptForDid, encryptToJwk, eventTrigger, executeToolCallLoop, extractKeyAgreementJwk, fileFromBase64, fileFromBuffer, fileFromPath, fileFromUrl, generateX25519KeyPair, getCurrentContext, getCurrentSkillContext, imageFromBase64, imageFromBuffer, imageFromFile, imageFromUrl, installApprovalWebhookRoute, isActive, isExecutionLogBatchPayload, isTerminal, isTriggerEnvelope, loadFixture, normalizeExecutionLogEntry, normalizeSessionTransportValue, normalizeStatus, scheduleTrigger, serializeExecutionLogEntry, simulateSchedule, simulateTrigger, text, triggerToPayload, unwrapEnvelope, usageSummaryOrNull, validateSessionTransport, videoFromBase64, videoFromBuffer, videoFromFile, videoFromUrl };
8177
+ export { ACTIVE_STATUSES, AIClient, Agent, AgentRouter, ApprovalClient, ApprovalResult, Audio, CANONICAL_STATUSES, CostTracker, DIDAuthenticator, DidClient, DidInterface, DidManager, ExecutionContext, ExecutionLogger, ExecutionStatus, File, HEADER_CALLER_DID, HEADER_DID_NONCE, HEADER_DID_SIGNATURE, HEADER_DID_TIMESTAMP, HarnessRunner, Image, JWE_ALG, JWE_ENC, KEY_AGREEMENT_TYPE, MODEL_VARIANT_SEP, MediaProviderError, MediaRouter, MemoryClient, MemoryClientBase, MemoryEventClient, MemoryInterface, MultimodalResponse, OpenRouterMediaProvider, PauseClock, PauseManager, PayloadEncryptionError, RateLimitError, RealtimeSession, ReasonerContext, SUPPORTED_PROVIDERS, SUPPORTED_SESSION_TRANSPORTS, SessionTransportError, SkillContext, StatelessRateLimiter, TERMINAL_STATUSES, Text, USAGE_ENVELOPE_KEY, Video, WorkflowReporter, applyTriggerTransform, attachUsageToSyncResult, audioFromBase64, audioFromBuffer, audioFromFile, audioFromUrl, buildProvider, buildSessionDefinition, buildToolConfig, capabilitiesToTools, capabilityToMetadataTool, capabilityToTool, createExecutionLogger, createHarnessResult, createMetrics, createMultimodalResponse, createRawResult, decrypt, decryptToString, deriveProvider, encryptForDid, encryptToJwk, eventTrigger, executeToolCallLoop, extractKeyAgreementJwk, fileFromBase64, fileFromBuffer, fileFromPath, fileFromUrl, generateX25519KeyPair, getCurrentContext, getCurrentSkillContext, imageFromBase64, imageFromBuffer, imageFromFile, imageFromUrl, installApprovalWebhookRoute, isActive, isExecutionLogBatchPayload, isTerminal, isTriggerEnvelope, loadFixture, normalizeExecutionLogEntry, normalizeSessionTransportValue, normalizeStatus, resolveModelAndVariant, scheduleTrigger, serializeExecutionLogEntry, simulateSchedule, simulateTrigger, splitModelVariant, text, triggerToPayload, unwrapEnvelope, usageSummaryOrNull, validateSessionTransport, videoFromBase64, videoFromBuffer, videoFromFile, videoFromUrl };
8127
8178
  //# sourceMappingURL=index.js.map
8128
8179
  //# sourceMappingURL=index.js.map