@agents24/node 0.5.34 → 0.5.36

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 (43) hide show
  1. package/README.md +5 -1
  2. package/compatibility.json +6 -6
  3. package/dist/bff.cjs +65 -1
  4. package/dist/bff.cjs.map +1 -1
  5. package/dist/bff.d.cts +1 -1
  6. package/dist/bff.d.ts +1 -1
  7. package/dist/bff.js +65 -1
  8. package/dist/bff.js.map +1 -1
  9. package/dist/{client-CY0o68YO.d.cts → client-YSS2tctB.d.cts} +289 -3
  10. package/dist/{client-CY0o68YO.d.ts → client-YSS2tctB.d.ts} +289 -3
  11. package/dist/index.cjs +213 -7
  12. package/dist/index.cjs.map +1 -1
  13. package/dist/index.d.cts +3 -3
  14. package/dist/index.d.ts +3 -3
  15. package/dist/index.js +213 -7
  16. package/dist/index.js.map +1 -1
  17. package/dist/types/agents.d.ts +4 -0
  18. package/dist/types/agents.d.ts.map +1 -1
  19. package/dist/types/bff-conversation-submission.d.ts.map +1 -1
  20. package/dist/types/bff-multi-agent.d.ts.map +1 -1
  21. package/dist/types/bff-single-agent.d.ts.map +1 -1
  22. package/dist/types/embed-run-wait.d.ts +4 -1
  23. package/dist/types/embed-run-wait.d.ts.map +1 -1
  24. package/dist/types/embed-types.d.ts +8 -0
  25. package/dist/types/embed-types.d.ts.map +1 -1
  26. package/dist/types/embed.d.ts.map +1 -1
  27. package/dist/types/generated/dictation.d.ts +99 -0
  28. package/dist/types/generated/dictation.d.ts.map +1 -0
  29. package/dist/types/generated/embed.d.ts +15 -1
  30. package/dist/types/generated/embed.d.ts.map +1 -1
  31. package/dist/types/generated/ingestion-types.d.ts +2 -0
  32. package/dist/types/generated/ingestion-types.d.ts.map +1 -1
  33. package/dist/types/generated/manifest.d.ts +1 -1
  34. package/dist/types/generated/manifest.d.ts.map +1 -1
  35. package/dist/types/generated/model-capabilities.d.ts +2 -2
  36. package/dist/types/generated/model-capabilities.d.ts.map +1 -1
  37. package/dist/types/generated/personal-skills.d.ts +174 -0
  38. package/dist/types/generated/personal-skills.d.ts.map +1 -0
  39. package/dist/types/generated/run-usage.d.ts +2 -0
  40. package/dist/types/generated/run-usage.d.ts.map +1 -1
  41. package/dist/types/types.d.ts +39 -0
  42. package/dist/types/types.d.ts.map +1 -1
  43. package/package.json +2 -2
package/dist/index.d.cts CHANGED
@@ -1,9 +1,9 @@
1
- import { E as EmbeddedRunSnapshot } from './client-CY0o68YO.cjs';
2
- export { a as AgentCreateRequest, b as AgentDefinitionBuilder, c as AgentDefinitionOptions, d as AgentListResponse, e as AgentRef, f as AgentResponse, g as AgentStreamRequest, h as AgentSummary, i as AgentToolsetAttachment, j as AgentUpdateRequest, k as AgentValidationIssue, l as AgentValidationResult, A as Agents24, m as Agents24NodeError, n as Agents24NodeErrorKind, o as Agents24NodeOptions, p as Agents24Options, m as Agents24SDKError, q as Agents24SDKErrorKind, r as Agents24SDKSerializedError, s as ArtifactDevelopmentSession, t as ArtifactDevelopmentSessionAdmission, u as ArtifactDevelopmentSessionPrepareRequest, v as ArtifactRelayClientCreate, w as ArtifactRelayClientList, x as ArtifactRelayClientStatus, y as ArtifactRelayConnectionTicket, R as ArtifactRelayOptions, z as ArtifactRelayOptionsQuery, B as ArtifactRelayTicketRequest, C as AttachRunRequest, D as AttachmentContentAccessRequest, F as BackendSessionRequestOptions, G as BranchingHint, H as CapacityWait, I as ClearCustomerResourcePolicyAssignmentResult, J as ClientAuthMode, K as ClientDeployment, L as ClientDeploymentListQuery, M as ClientDeploymentListResponse, N as ClientNativeProfile, O as ClientRuntimeNativeProfileInput, P as ClientRuntimeOidcConfig, Q as ClientRuntimePolicyInput, S as ClientSessionCredentials, T as ContentChunk, U as ContentSegment, V as ControlPlaneAgentRunRequest, W as ControlPlaneRunEventsResponse, X as ConversationRunRequest, Y as ConversationRunResult, Z as ConversationRuntimeSelectionRequest, _ as ConversationRuntimeSelectionResult, $ as ConversationSubmissionRequest, a0 as ConversationThreadOptions, a1 as CreateBackendClientSessionRequest, a2 as CreateClientDeploymentRequest, a3 as CustomerIdentityRequest, a4 as CustomerPrincipalRefRequest, a5 as CustomerProfile, a6 as CustomerProfileList, a7 as CustomerProfilePatch, a8 as CustomerProfileSearchOptions, a9 as CustomerResourcePolicyAssignment, aa as DelegationAction, ab as DelegationActionReceipt, ac as DelegationActionRequest, ad as DelegationEvents, ae as DelegationHistory, af as DelegationHistoryTurn, ag as DelegationStatus, ah as DelegationTask, ai as DelegationTaskList, aj as EffectiveCustomerResourcePolicyRequest, ak as EffectiveResourcePolicy, al as EmbedAgentAliasResolution, am as EmbedAttachmentContentAccessRequest, an as EmbedCustomerPrincipalResolveRequest, ao as EmbedCustomerPrincipalResolveResponse, ap as EmbedDelegationOptions, aq as EmbedResourcePolicyRequest, ar as EmbedRunCancelOptions, as as EmbedRunStartRequest, at as EmbedRuntimeBootstrap, au as EmbedRuntimeBootstrapRequest, av as EmbedRuntimeBootstrapResult, aw as EmbedStreamRequest, ax as EmbedThreadMessageEdit, ay as EmbedThreadMessageScope, az as EmbedThreadMessageSubmit, aA as EmbeddedResponseFeedbackInput, aB as EvidenceLocation, aC as ExternalToolCompletionReceipt, aD as ExternalToolCompletionRequest, aE as FailureCategory, aF as FailureView, aG as FeedbackRating, aH as FeedbackReason, aI as FileAssetReference, aJ as GraphBuilder, aK as GraphDefinition, aL as GraphEdge, aM as GraphHints, aN as GraphNode, aO as GraphValueRef, aP as HitlAction, aQ as HitlAnswer, aR as HostedArtifactDraft, aS as HostedArtifactsNamespace, aT as IndexedCleanupAck, aU as IndexedContent, aV as IndexedContentListOptions, aW as IndexedContentPage, aX as IndexedRecordIdListOptions, aY as IndexedRecordIdPage, aZ as IngestionBatch, a_ as IngestionBatchListOptions, a$ as IngestionBatchPage, b0 as IngestionJob, b1 as IngestionJobAcknowledgment, b2 as IngestionJobGetOptions, b3 as IngestionJobListOptions, b4 as IngestionJobPage, b5 as IngestionJobStart, b6 as JobFieldData, b7 as JobPayloadDownload, b8 as JobResult, b9 as JobResultOptions, ba as JobStep, bb as JobStepData, bc as JobStepDataOptions, bd as JobStepDownloadOptions, be as JobStepFieldOptions, bf as JobSteps, bg as KnowledgeStore, bh as KnowledgeStoreChunking, bi as KnowledgeStoreCreate, bj as KnowledgeStoreListOptions, bk as KnowledgeStoreNamespace, bl as KnowledgeStorePage, bm as KnowledgeStoreStats, bn as KnowledgeStoreUpdate, bo as LatestOrPinnedPolicy, bp as McpAuthStartRequest, bq as McpAuthStartResult, br as ModelCapabilitiesV1, bs as ModelOffering, bt as ModelPricingDimension, bu as ModelProviderCreate, bv as ModelProviderRoute, bw as ModelRequirements, bx as ModelRuntimeKind, by as ModelSummary, bz as ModelsNamespace, bA as MultiAgentThreadListRequest, bB as MultiAgentThreadSummaryEventOptions, bC as NamespaceDataStats, bD as NamespaceInput, bE as NamespaceListOptions, bF as NamespacePage, bG as NamespaceSummary, bH as NativePlatform, bI as NodeAuthoringSpec, bJ as NodeCatalogItem, bK as NodeCatalogResponse, bL as NodeSchemaResponse, bM as OCROptions, bN as PayloadAvailability, bO as PipelineInputField, bP as PipelineInputSchema, bQ as PipelineInputStep, bR as PipelineInputUpload, bS as PipelineListOptions, bT as PipelinePage, bU as PipelineResultPage, bV as PipelineSummary, bW as PortableResourceKind, bX as ProcessedContent, bY as ProcessedContentOptions, bZ as ProcessedContentReference, b_ as ProcessingInput, b$ as ProcessingInputSource, c0 as ProcessingProgress, c1 as PublishedExecutable, c2 as RagRetention, c3 as RawVectorMatch, c4 as RawVectorRecord, c5 as RecordBatchResult, c6 as RecordCapabilities, c7 as RecordDeleteRequest, c8 as RecordFetchRequest, c9 as RecordFetchResult, ca as RecordListRequest, cb as RecordMutationAck, cc as RecordPage, cd as RecordQueryRequest, ce as RecordQueryResult, cf as RecordUpdateRequest, cg as RecordUpsertRequest, ch as RequestOptions, ci as ResetResourcePolicyQuotaRequest, cj as ResourceCallableBinding, ck as ResourceCallableBindingStatus, cl as ResourceCandidateList, cm as ResourceInstallation, cn as ResourceInstallationApplication, co as ResourceInstallationApplyRequest, cp as ResourceInstallationBinding, cq as ResourceInstallationCreateRequest, cr as ResourceInstallationDeploymentRequest, cs as ResourceInstallationLinkRequest, ct as ResourceInstallationList, cu as ResourceInstallationOperation, cv as ResourceInstallationPlan, cw as ResourceInstallationPlanUpload, cx as ResourceInstallationPublication, cy as ResourceInstallationPublishRequest, cz as ResourceInstallationPullAcceptRequest, cA as ResourceInstallationPullChange, cB as ResourceInstallationPullPayload, cC as ResourceInstallationPullPlan, cD as ResourceInstallationResourceListOptions, cE as ResourceInstallationSecretStatus, cF as ResourceInstallationSecretsRequest, cG as ResourcePackageArchive, cH as ResourcePackageCandidateOptions, cI as ResourcePackageDependency, cJ as ResourcePackageDiagnostic, cK as ResourcePackageExportPlan, cL as ResourcePackageExportRequest, cM as ResourcePackageImportPreview, cN as ResourcePackageImportResult, cO as ResourcePackageImportUpload, cP as ResourcePackageUpload, cQ as ResourcePackageValidationResult, cR as ResourcePolicyList, cS as ResourcePolicyQuotaSchedule, cT as ResourcePolicyQuotaScheduleResult, cU as ResourcePolicySubjectRef, cV as ResourcePolicySummary, cW as ResourceSelector, cX as ResourceToolExport, cY as ResponseFeedback, cZ as ResponseFeedbackResult, c_ as ResumeRunRequest, c$ as RetrievalEvidence, d0 as RunCancelOptions, d1 as RunContextOptions, d2 as RunExecutionLimits, d3 as RunStatus, d4 as RunTrace, d5 as RunUsage, d6 as RuntimeSubmissionResponse, d7 as ServerAttachmentUploadOptions, d8 as ServerEmbedAttachmentUploadOptions, d9 as SetCustomerResourcePolicyAssignmentRequest, da as SetResourcePolicyQuotaScheduleRequest, db as SourceDescriptor, dc as SourceOutcome, dd as StartRunResult, de as StateVariableDefinition, df as StreamRequestOptions, dg as StreamResult, dh as ThreadComputerContentAccess, di as ThreadComputerFile, dj as ThreadComputerFileOptions, dk as ThreadComputerFileText, dl as ThreadComputerFiles, dm as ThreadComputerStatus, dn as ThreadDeleteOptions, dp as ThreadDetailOptions, dq as ThreadListOptions, dr as ThreadSummaryEventOptions, ds as TraceContent, dt as TraceError, du as TraceSpan, dv as TraceSpanKind, dw as TraceSpanStatus, dx as TraceView, dy as UpdateClientDeploymentRequest, dz as UploadPart, dA as UploadPartAck, dB as UploadSession, dC as UploadSessionStart, dD as WaitForAgentRunOptions, dE as WorkflowInputDefinition } from './client-CY0o68YO.cjs';
1
+ import { E as EmbeddedRunSnapshot } from './client-YSS2tctB.cjs';
2
+ export { a as AgentCreateRequest, b as AgentDefinitionBuilder, c as AgentDefinitionOptions, d as AgentListResponse, e as AgentRef, f as AgentResponse, g as AgentStreamRequest, h as AgentSummary, i as AgentToolsetAttachment, j as AgentUpdateRequest, k as AgentValidationIssue, l as AgentValidationResult, A as Agents24, m as Agents24NodeError, n as Agents24NodeErrorKind, o as Agents24NodeOptions, p as Agents24Options, m as Agents24SDKError, q as Agents24SDKErrorKind, r as Agents24SDKSerializedError, s as ArtifactDevelopmentSession, t as ArtifactDevelopmentSessionAdmission, u as ArtifactDevelopmentSessionPrepareRequest, v as ArtifactRelayClientCreate, w as ArtifactRelayClientList, x as ArtifactRelayClientStatus, y as ArtifactRelayConnectionTicket, R as ArtifactRelayOptions, z as ArtifactRelayOptionsQuery, B as ArtifactRelayTicketRequest, C as AttachRunRequest, D as AttachmentContentAccessRequest, F as BackendSessionRequestOptions, G as BranchingHint, H as CallerAuthorityResult, I as CallerAuthorityUpdate, J as CallerRestrictionsResult, K as CallerRestrictionsUpdate, L as CallerToolRestrictions, M as CapacityWait, N as ClearCustomerResourcePolicyAssignmentResult, O as ClientAuthMode, P as ClientDeployment, Q as ClientDeploymentListQuery, S as ClientDeploymentListResponse, T as ClientNativeProfile, U as ClientRuntimeNativeProfileInput, V as ClientRuntimeOidcConfig, W as ClientRuntimePolicyInput, X as ClientSessionCredentials, Y as ContentChunk, Z as ContentSegment, _ as ControlPlaneAgentRunRequest, $ as ControlPlaneRunEventsResponse, a0 as ConversationRunRequest, a1 as ConversationRunResult, a2 as ConversationRuntimeSelectionRequest, a3 as ConversationRuntimeSelectionResult, a4 as ConversationSubmissionRequest, a5 as ConversationThreadOptions, a6 as CreateBackendClientSessionRequest, a7 as CreateClientDeploymentRequest, a8 as CustomerIdentityRequest, a9 as CustomerPrincipalRefRequest, aa as CustomerProfile, ab as CustomerProfileList, ac as CustomerProfilePatch, ad as CustomerProfileSearchOptions, ae as CustomerResourcePolicyAssignment, af as DelegationAction, ag as DelegationActionReceipt, ah as DelegationActionRequest, ai as DelegationEvents, aj as DelegationHistory, ak as DelegationHistoryTurn, al as DelegationStatus, am as DelegationTask, an as DelegationTaskList, ao as DictationCreate, ap as DictationFeature, aq as DictationScope, ar as DictationSession, as as EffectiveCustomerResourcePolicyRequest, at as EffectiveResourcePolicy, au as EmbedAgentAliasResolution, av as EmbedAttachmentContentAccessRequest, aw as EmbedCustomerPrincipalResolveRequest, ax as EmbedCustomerPrincipalResolveResponse, ay as EmbedDelegationOptions, az as EmbedDictationQuery, aA as EmbedResourcePolicyRequest, aB as EmbedRunCancelOptions, aC as EmbedRunStartRequest, aD as EmbedRuntimeBootstrap, aE as EmbedRuntimeBootstrapRequest, aF as EmbedRuntimeBootstrapResult, aG as EmbedStreamRequest, aH as EmbedThreadMessageEdit, aI as EmbedThreadMessageScope, aJ as EmbedThreadMessageSubmit, aK as EmbeddedDictationCreate, aL as EmbeddedDictationScope, aM as EmbeddedResponseFeedbackInput, aN as EvidenceLocation, aO as ExternalToolCompletionReceipt, aP as ExternalToolCompletionRequest, aQ as FailureCategory, aR as FailureView, aS as FeedbackRating, aT as FeedbackReason, aU as FileAssetReference, aV as GraphBuilder, aW as GraphDefinition, aX as GraphEdge, aY as GraphHints, aZ as GraphNode, a_ as GraphValueRef, a$ as HitlAction, b0 as HitlAnswer, b1 as HostedArtifactDraft, b2 as HostedArtifactsNamespace, b3 as IndexedCleanupAck, b4 as IndexedContent, b5 as IndexedContentListOptions, b6 as IndexedContentPage, b7 as IndexedRecordIdListOptions, b8 as IndexedRecordIdPage, b9 as IngestionBatch, ba as IngestionBatchListOptions, bb as IngestionBatchPage, bc as IngestionJob, bd as IngestionJobAcknowledgment, be as IngestionJobGetOptions, bf as IngestionJobListOptions, bg as IngestionJobPage, bh as IngestionJobStart, bi as JobFieldData, bj as JobPayloadDownload, bk as JobResult, bl as JobResultOptions, bm as JobStep, bn as JobStepData, bo as JobStepDataOptions, bp as JobStepDownloadOptions, bq as JobStepFieldOptions, br as JobSteps, bs as KnowledgeStore, bt as KnowledgeStoreChunking, bu as KnowledgeStoreCreate, bv as KnowledgeStoreListOptions, bw as KnowledgeStoreNamespace, bx as KnowledgeStorePage, by as KnowledgeStoreStats, bz as KnowledgeStoreUpdate, bA as LatestOrPinnedPolicy, bB as McpAuthStartRequest, bC as McpAuthStartResult, bD as ModelCapabilitiesV1, bE as ModelOffering, bF as ModelPricingDimension, bG as ModelProviderCreate, bH as ModelProviderRoute, bI as ModelRequirements, bJ as ModelRuntimeKind, bK as ModelSummary, bL as ModelsNamespace, bM as MultiAgentThreadListRequest, bN as MultiAgentThreadSummaryEventOptions, bO as NamespaceDataStats, bP as NamespaceInput, bQ as NamespaceListOptions, bR as NamespacePage, bS as NamespaceSummary, bT as NativePlatform, bU as NodeAuthoringSpec, bV as NodeCatalogItem, bW as NodeCatalogResponse, bX as NodeSchemaResponse, bY as OCROptions, bZ as PayloadAvailability, b_ as PersonalCapabilityQuery, b$ as PersonalConnectionAccount, c0 as PersonalConnectionAction, c1 as PersonalConnectionCatalog, c2 as PersonalConnectionPage, c3 as PersonalConnectionResult, c4 as PersonalConnectionService, c5 as PersonalSkillAsset, c6 as PersonalSkillAssetChange, c7 as PersonalSkillAssetContent, c8 as PersonalSkillAssetInput, c9 as PersonalSkillAssetQuery, ca as PersonalSkillImport, cb as PersonalSkillPage, cc as PersonalSkillRecord, cd as PersonalSkillSave, ce as PersonalSkillSelection, cf as PersonalSkillState, cg as PersonalSkillVersion, ch as PipelineInputField, ci as PipelineInputSchema, cj as PipelineInputStep, ck as PipelineInputUpload, cl as PipelineListOptions, cm as PipelinePage, cn as PipelineResultPage, co as PipelineSummary, cp as PortableResourceKind, cq as ProcessedContent, cr as ProcessedContentOptions, cs as ProcessedContentReference, ct as ProcessingInput, cu as ProcessingInputSource, cv as ProcessingProgress, cw as PublishedExecutable, cx as RagRetention, cy as RawVectorMatch, cz as RawVectorRecord, cA as RecordBatchResult, cB as RecordCapabilities, cC as RecordDeleteRequest, cD as RecordFetchRequest, cE as RecordFetchResult, cF as RecordListRequest, cG as RecordMutationAck, cH as RecordPage, cI as RecordQueryRequest, cJ as RecordQueryResult, cK as RecordUpdateRequest, cL as RecordUpsertRequest, cM as RequestOptions, cN as ResetResourcePolicyQuotaRequest, cO as ResourceCallableBinding, cP as ResourceCallableBindingStatus, cQ as ResourceCandidateList, cR as ResourceInstallation, cS as ResourceInstallationApplication, cT as ResourceInstallationApplyRequest, cU as ResourceInstallationBinding, cV as ResourceInstallationCreateRequest, cW as ResourceInstallationDeploymentRequest, cX as ResourceInstallationLinkRequest, cY as ResourceInstallationList, cZ as ResourceInstallationOperation, c_ as ResourceInstallationPlan, c$ as ResourceInstallationPlanUpload, d0 as ResourceInstallationPublication, d1 as ResourceInstallationPublishRequest, d2 as ResourceInstallationPullAcceptRequest, d3 as ResourceInstallationPullChange, d4 as ResourceInstallationPullPayload, d5 as ResourceInstallationPullPlan, d6 as ResourceInstallationResourceListOptions, d7 as ResourceInstallationSecretStatus, d8 as ResourceInstallationSecretsRequest, d9 as ResourcePackageArchive, da as ResourcePackageCandidateOptions, db as ResourcePackageDependency, dc as ResourcePackageDiagnostic, dd as ResourcePackageExportPlan, de as ResourcePackageExportRequest, df as ResourcePackageImportPreview, dg as ResourcePackageImportResult, dh as ResourcePackageImportUpload, di as ResourcePackageUpload, dj as ResourcePackageValidationResult, dk as ResourcePolicyList, dl as ResourcePolicyQuotaSchedule, dm as ResourcePolicyQuotaScheduleResult, dn as ResourcePolicySubjectRef, dp as ResourcePolicySummary, dq as ResourceSelector, dr as ResourceToolExport, ds as ResponseFeedback, dt as ResponseFeedbackResult, du as ResumeRunRequest, dv as RetrievalEvidence, dw as RunCancelOptions, dx as RunContextOptions, dy as RunExecutionLimits, dz as RunStatus, dA as RunTrace, dB as RunUsage, dC as RuntimeSubmissionResponse, dD as ServerAttachmentUploadOptions, dE as ServerEmbedAttachmentUploadOptions, dF as SetCustomerResourcePolicyAssignmentRequest, dG as SetResourcePolicyQuotaScheduleRequest, dH as SourceDescriptor, dI as SourceOutcome, dJ as StartRunResult, dK as StateVariableDefinition, dL as StreamRequestOptions, dM as StreamResult, dN as ThreadComputerContentAccess, dO as ThreadComputerFile, dP as ThreadComputerFileOptions, dQ as ThreadComputerFileText, dR as ThreadComputerFiles, dS as ThreadComputerStatus, dT as ThreadDeleteOptions, dU as ThreadDetailOptions, dV as ThreadListOptions, dW as ThreadSummaryEventOptions, dX as TraceContent, dY as TraceError, dZ as TraceSpan, d_ as TraceSpanKind, d$ as TraceSpanStatus, e0 as TraceView, e1 as UpdateClientDeploymentRequest, e2 as UploadPart, e3 as UploadPartAck, e4 as UploadSession, e5 as UploadSessionStart, e6 as WaitForAgentRunOptions, e7 as WorkflowInputDefinition } from './client-YSS2tctB.cjs';
3
3
  export { ActiveThreadRun, Attachment, AttachmentContentAccess, AttachmentUploadResult, CONTRACT_HASH, ContextCompression, ContextWindow, ContextWindowConfidence, ContextWindowSource, ContextWindowStage, ContextWindowTracker, JsonScalar, JsonValue, ModelTurnEventName, ModelTurnKind, ModelTurnOutcome, ModelTurnPayload, ModelTurnRuntimeEvent, ModelTurnStatus, ProtocolErrorCategory, PublicResponseBlock, RUNTIME_PROTOCOL_VERSION, PublicResponseBlock as ResponseBlock, RunCancelResult, RunContext, RunResumeResult, RuntimeEvent, THREAD_SUMMARY_PROTOCOL_VERSION, ThreadDeleteResult, ThreadDetail, ThreadMessage, ThreadMessageSubmission, ThreadMessagesPage, ThreadSummary, ThreadSummaryEvent, ThreadTurn, ThreadsResponse, ToolInputOverrides, compressionFromContextWindow, createContextWindowTracker, mergeContextWindow, mergeContextWindowUpdate, normalizeContextCompression, normalizeContextWindow, parseRuntimeEvent, parseRuntimeSsePayload, parseThreadSummarySsePayload, validateResponseBlock, validateRuntimeEvent, validateThreadSummaryEvent } from '@agents24/client/protocol';
4
4
  export { AttachmentDescriptor, AttachmentProcessingInputs, AttachmentProcessingOutput, ClientInputFeature, WorkflowOutputDescriptor, WorkflowOutputResult, WorkflowOutputsPage } from '@agents24/client';
5
5
 
6
- declare const SDK_OPERATION_IDS: readonly ["agents.cancel_run", "agents.catalog", "agents.create", "agents.create_attachment_content_access", "agents.delete", "agents.get", "agents.list", "agents.publish", "agents.resume_run", "agents.schema", "agents.start_run", "agents.stream", "agents.thread_messages.edit", "agents.thread_messages.list", "agents.thread_messages.remove", "agents.thread_messages.resume_queue", "agents.thread_messages.submit", "agents.update", "agents.update_graph", "agents.upload_attachments", "agents.validate", "client.attachments.create_content_access", "client.attachments.upload", "client.bootstrap", "client.chat.stream", "client.deployments.create", "client.deployments.delete", "client.deployments.get", "client.deployments.list", "client.deployments.update", "client.hitl.resume", "client.jwks", "client.mcp.redeem", "client.mcp.start", "client.resource_policy", "client.runs.attach", "client.runs.cancel", "client.runs.outputs.get", "client.runs.outputs.list", "client.runs.set_feedback", "client.sessions.anonymous", "client.sessions.backendExchange", "client.sessions.refresh", "client.sessions.revoke", "client.threads.computer.create_content_access", "client.threads.computer.get", "client.threads.computer.list", "client.threads.computer.read", "client.threads.delete", "client.threads.events", "client.threads.get", "client.threads.list", "client.threads.messages.edit", "client.threads.messages.list", "client.threads.messages.remove", "client.threads.messages.submit", "client.threads.queue.resume", "customer_profiles.clear", "customer_profiles.get", "customer_profiles.search", "customer_profiles.upsert", "delegations.act", "delegations.events", "delegations.history", "delegations.inspect", "delegations.list", "embed.attach_agent_run", "embed.bootstrap_runtime", "embed.cancel_agent_run", "embed.complete_tool_invocation", "embed.create_agent_computer_content_access", "embed.create_attachment_content_access", "embed.create_conversation_computer_content_access", "embed.delete_agent_thread", "embed.delete_conversation_thread", "embed.get_agent_computer", "embed.get_agent_run", "embed.get_agent_run_context", "embed.get_agent_thread", "embed.get_conversation_computer", "embed.get_conversation_thread", "embed.get_output", "embed.get_resource_policy", "embed.get_runtime_bootstrap", "embed.list_agent_computer_files", "embed.list_agent_threads", "embed.list_agent_threads_multi", "embed.list_conversation_computer_files", "embed.list_outputs", "embed.open_conversation_submission", "embed.read_agent_computer_file", "embed.read_conversation_computer_file", "embed.resolve_agent_alias", "embed.resolve_conversation_run", "embed.resolve_customer_principal", "embed.resume_agent_run", "embed.set_agent_run_feedback", "embed.set_conversation_runtime_selection", "embed.start_agent_run", "embed.start_agent_run_mcp_auth", "embed.stream_agent", "embed.stream_agent_thread_events", "embed.stream_agent_thread_events_multi", "embed.thread_messages.edit", "embed.thread_messages.list", "embed.thread_messages.remove", "embed.thread_messages.resume_queue", "embed.thread_messages.submit", "embed.upload_agent_attachments", "embed_delegations.act", "embed_delegations.events", "embed_delegations.history", "embed_delegations.inspect", "embed_delegations.list", "ingestionJobs.abort_upload", "ingestionJobs.cancel", "ingestionJobs.complete_upload", "ingestionJobs.create_upload", "ingestionJobs.download_step_data", "ingestionJobs.get", "ingestionJobs.get_processed_content", "ingestionJobs.get_result", "ingestionJobs.get_step_data", "ingestionJobs.get_step_field", "ingestionJobs.get_upload", "ingestionJobs.list", "ingestionJobs.list_batches", "ingestionJobs.list_steps", "ingestionJobs.put_upload_part", "ingestionJobs.resume", "ingestionJobs.start", "ingestionJobs.upload_input", "instructions.publish", "knowledgeStores.archive", "knowledgeStores.cancel_cleanup_job", "knowledgeStores.create", "knowledgeStores.delete_indexed_content", "knowledgeStores.delete_records", "knowledgeStores.fetch_records", "knowledgeStores.get", "knowledgeStores.get_cleanup_job", "knowledgeStores.get_indexed_content", "knowledgeStores.list", "knowledgeStores.list_indexed_content", "knowledgeStores.list_indexed_record_ids", "knowledgeStores.list_namespaces", "knowledgeStores.list_records", "knowledgeStores.namespace_stats", "knowledgeStores.query_records", "knowledgeStores.resume_cleanup_job", "knowledgeStores.stats", "knowledgeStores.update", "knowledgeStores.update_record", "knowledgeStores.upsert_records", "pipelines.get", "pipelines.get_input_schema", "pipelines.get_published_executable", "pipelines.list", "relayClients.agent_options", "relay_clients.create", "relay_clients.create_ticket", "relay_clients.get", "relay_clients.list", "relay_clients.revoke", "resource_installations.accept_pull", "resource_installations.apply", "resource_installations.bind_deployment", "resource_installations.configure_secrets", "resource_installations.create", "resource_installations.development_session_status", "resource_installations.download_pull", "resource_installations.get", "resource_installations.get_by_package_id", "resource_installations.link", "resource_installations.list", "resource_installations.operation_status", "resource_installations.plan", "resource_installations.plan_pull", "resource_installations.publish", "resource_installations.resources", "resource_installations.revoke_development_session", "resource_packages.candidates", "resource_packages.export", "resource_packages.export_plan", "resource_packages.exportability", "resource_packages.import", "resource_packages.import_preview", "resource_packages.validate", "resource_policies.clear_customer_assignment", "resource_policies.get_customer_assignment", "resource_policies.get_effective_customer_policy", "resource_policies.list", "resource_policies.reset_quota_now", "resource_policies.set_customer_assignment", "resource_policies.set_quota_schedule", "runs.get", "runs.get_context", "runs.get_events", "runs.get_output", "runs.get_trace", "runs.get_tree", "runs.list_outputs"];
6
+ declare const SDK_OPERATION_IDS: readonly ["agents.cancel_dictation_session", "agents.cancel_run", "agents.catalog", "agents.create", "agents.create_attachment_content_access", "agents.create_dictation_session", "agents.delete", "agents.get", "agents.get_dictation_session", "agents.list", "agents.publish", "agents.resume_run", "agents.schema", "agents.start_run", "agents.stream", "agents.thread_messages.edit", "agents.thread_messages.list", "agents.thread_messages.remove", "agents.thread_messages.resume_queue", "agents.thread_messages.submit", "agents.update", "agents.update_graph", "agents.upload_attachments", "agents.validate", "client.attachments.create_content_access", "client.attachments.upload", "client.bootstrap", "client.chat.stream", "client.deployments.create", "client.deployments.delete", "client.deployments.get", "client.deployments.list", "client.deployments.update", "client.dictation.cancel", "client.dictation.create", "client.dictation.get", "client.hitl.resume", "client.jwks", "client.mcp.redeem", "client.mcp.start", "client.resource_policy", "client.runs.attach", "client.runs.cancel", "client.runs.outputs.get", "client.runs.outputs.list", "client.runs.set_feedback", "client.sessions.anonymous", "client.sessions.backendExchange", "client.sessions.refresh", "client.sessions.revoke", "client.threads.computer.create_content_access", "client.threads.computer.get", "client.threads.computer.list", "client.threads.computer.read", "client.threads.delete", "client.threads.events", "client.threads.get", "client.threads.list", "client.threads.messages.edit", "client.threads.messages.list", "client.threads.messages.remove", "client.threads.messages.submit", "client.threads.queue.resume", "customer_profiles.clear", "customer_profiles.get", "customer_profiles.search", "customer_profiles.upsert", "delegations.act", "delegations.events", "delegations.history", "delegations.inspect", "delegations.list", "embed.attach_agent_run", "embed.bootstrap_runtime", "embed.browse_personal_connections", "embed.cancel_agent_run", "embed.cancel_dictation_session", "embed.complete_tool_invocation", "embed.create_agent_computer_content_access", "embed.create_attachment_content_access", "embed.create_conversation_computer_content_access", "embed.create_dictation_session", "embed.delete_agent_thread", "embed.delete_conversation_thread", "embed.get_agent_computer", "embed.get_agent_run", "embed.get_agent_run_context", "embed.get_agent_thread", "embed.get_conversation_computer", "embed.get_conversation_thread", "embed.get_dictation_session", "embed.get_output", "embed.get_personal_skill", "embed.get_resource_policy", "embed.get_runtime_bootstrap", "embed.import_personal_skill", "embed.list_agent_computer_files", "embed.list_agent_threads", "embed.list_agent_threads_multi", "embed.list_conversation_computer_files", "embed.list_outputs", "embed.list_personal_connections", "embed.list_personal_skills", "embed.manage_personal_connection", "embed.open_conversation_submission", "embed.read_agent_computer_file", "embed.read_conversation_computer_file", "embed.read_personal_skill_asset", "embed.resolve_agent_alias", "embed.resolve_conversation_run", "embed.resolve_customer_principal", "embed.resume_agent_run", "embed.revoke_caller_authority", "embed.save_personal_skill", "embed.set_agent_run_feedback", "embed.set_conversation_runtime_selection", "embed.set_personal_skill_state", "embed.start_agent_run", "embed.start_agent_run_mcp_auth", "embed.stream_agent", "embed.stream_agent_thread_events", "embed.stream_agent_thread_events_multi", "embed.thread_messages.edit", "embed.thread_messages.list", "embed.thread_messages.remove", "embed.thread_messages.resume_queue", "embed.thread_messages.submit", "embed.update_caller_restrictions", "embed.upload_agent_attachments", "embed_delegations.act", "embed_delegations.events", "embed_delegations.history", "embed_delegations.inspect", "embed_delegations.list", "ingestionJobs.abort_upload", "ingestionJobs.cancel", "ingestionJobs.complete_upload", "ingestionJobs.create_upload", "ingestionJobs.download_step_data", "ingestionJobs.get", "ingestionJobs.get_processed_content", "ingestionJobs.get_result", "ingestionJobs.get_step_data", "ingestionJobs.get_step_field", "ingestionJobs.get_upload", "ingestionJobs.list", "ingestionJobs.list_batches", "ingestionJobs.list_steps", "ingestionJobs.put_upload_part", "ingestionJobs.resume", "ingestionJobs.start", "ingestionJobs.upload_input", "instructions.publish", "knowledgeStores.archive", "knowledgeStores.cancel_cleanup_job", "knowledgeStores.create", "knowledgeStores.delete_indexed_content", "knowledgeStores.delete_records", "knowledgeStores.fetch_records", "knowledgeStores.get", "knowledgeStores.get_cleanup_job", "knowledgeStores.get_indexed_content", "knowledgeStores.list", "knowledgeStores.list_indexed_content", "knowledgeStores.list_indexed_record_ids", "knowledgeStores.list_namespaces", "knowledgeStores.list_records", "knowledgeStores.namespace_stats", "knowledgeStores.query_records", "knowledgeStores.resume_cleanup_job", "knowledgeStores.stats", "knowledgeStores.update", "knowledgeStores.update_record", "knowledgeStores.upsert_records", "pipelines.get", "pipelines.get_input_schema", "pipelines.get_published_executable", "pipelines.list", "relayClients.agent_options", "relay_clients.create", "relay_clients.create_ticket", "relay_clients.get", "relay_clients.list", "relay_clients.revoke", "resource_installations.accept_pull", "resource_installations.apply", "resource_installations.bind_deployment", "resource_installations.configure_secrets", "resource_installations.create", "resource_installations.development_session_status", "resource_installations.download_pull", "resource_installations.get", "resource_installations.get_by_package_id", "resource_installations.link", "resource_installations.list", "resource_installations.operation_status", "resource_installations.plan", "resource_installations.plan_pull", "resource_installations.publish", "resource_installations.resources", "resource_installations.revoke_development_session", "resource_packages.candidates", "resource_packages.export", "resource_packages.export_plan", "resource_packages.exportability", "resource_packages.import", "resource_packages.import_preview", "resource_packages.validate", "resource_policies.clear_customer_assignment", "resource_policies.get_customer_assignment", "resource_policies.get_effective_customer_policy", "resource_policies.list", "resource_policies.reset_quota_now", "resource_policies.set_customer_assignment", "resource_policies.set_quota_schedule", "runs.get", "runs.get_context", "runs.get_events", "runs.get_output", "runs.get_trace", "runs.get_tree", "runs.list_outputs"];
7
7
  type SDKOperationId = (typeof SDK_OPERATION_IDS)[number];
8
8
 
9
9
  /** Observation ended; the durable run remains available under the same identity. */
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { E as EmbeddedRunSnapshot } from './client-CY0o68YO.js';
2
- export { a as AgentCreateRequest, b as AgentDefinitionBuilder, c as AgentDefinitionOptions, d as AgentListResponse, e as AgentRef, f as AgentResponse, g as AgentStreamRequest, h as AgentSummary, i as AgentToolsetAttachment, j as AgentUpdateRequest, k as AgentValidationIssue, l as AgentValidationResult, A as Agents24, m as Agents24NodeError, n as Agents24NodeErrorKind, o as Agents24NodeOptions, p as Agents24Options, m as Agents24SDKError, q as Agents24SDKErrorKind, r as Agents24SDKSerializedError, s as ArtifactDevelopmentSession, t as ArtifactDevelopmentSessionAdmission, u as ArtifactDevelopmentSessionPrepareRequest, v as ArtifactRelayClientCreate, w as ArtifactRelayClientList, x as ArtifactRelayClientStatus, y as ArtifactRelayConnectionTicket, R as ArtifactRelayOptions, z as ArtifactRelayOptionsQuery, B as ArtifactRelayTicketRequest, C as AttachRunRequest, D as AttachmentContentAccessRequest, F as BackendSessionRequestOptions, G as BranchingHint, H as CapacityWait, I as ClearCustomerResourcePolicyAssignmentResult, J as ClientAuthMode, K as ClientDeployment, L as ClientDeploymentListQuery, M as ClientDeploymentListResponse, N as ClientNativeProfile, O as ClientRuntimeNativeProfileInput, P as ClientRuntimeOidcConfig, Q as ClientRuntimePolicyInput, S as ClientSessionCredentials, T as ContentChunk, U as ContentSegment, V as ControlPlaneAgentRunRequest, W as ControlPlaneRunEventsResponse, X as ConversationRunRequest, Y as ConversationRunResult, Z as ConversationRuntimeSelectionRequest, _ as ConversationRuntimeSelectionResult, $ as ConversationSubmissionRequest, a0 as ConversationThreadOptions, a1 as CreateBackendClientSessionRequest, a2 as CreateClientDeploymentRequest, a3 as CustomerIdentityRequest, a4 as CustomerPrincipalRefRequest, a5 as CustomerProfile, a6 as CustomerProfileList, a7 as CustomerProfilePatch, a8 as CustomerProfileSearchOptions, a9 as CustomerResourcePolicyAssignment, aa as DelegationAction, ab as DelegationActionReceipt, ac as DelegationActionRequest, ad as DelegationEvents, ae as DelegationHistory, af as DelegationHistoryTurn, ag as DelegationStatus, ah as DelegationTask, ai as DelegationTaskList, aj as EffectiveCustomerResourcePolicyRequest, ak as EffectiveResourcePolicy, al as EmbedAgentAliasResolution, am as EmbedAttachmentContentAccessRequest, an as EmbedCustomerPrincipalResolveRequest, ao as EmbedCustomerPrincipalResolveResponse, ap as EmbedDelegationOptions, aq as EmbedResourcePolicyRequest, ar as EmbedRunCancelOptions, as as EmbedRunStartRequest, at as EmbedRuntimeBootstrap, au as EmbedRuntimeBootstrapRequest, av as EmbedRuntimeBootstrapResult, aw as EmbedStreamRequest, ax as EmbedThreadMessageEdit, ay as EmbedThreadMessageScope, az as EmbedThreadMessageSubmit, aA as EmbeddedResponseFeedbackInput, aB as EvidenceLocation, aC as ExternalToolCompletionReceipt, aD as ExternalToolCompletionRequest, aE as FailureCategory, aF as FailureView, aG as FeedbackRating, aH as FeedbackReason, aI as FileAssetReference, aJ as GraphBuilder, aK as GraphDefinition, aL as GraphEdge, aM as GraphHints, aN as GraphNode, aO as GraphValueRef, aP as HitlAction, aQ as HitlAnswer, aR as HostedArtifactDraft, aS as HostedArtifactsNamespace, aT as IndexedCleanupAck, aU as IndexedContent, aV as IndexedContentListOptions, aW as IndexedContentPage, aX as IndexedRecordIdListOptions, aY as IndexedRecordIdPage, aZ as IngestionBatch, a_ as IngestionBatchListOptions, a$ as IngestionBatchPage, b0 as IngestionJob, b1 as IngestionJobAcknowledgment, b2 as IngestionJobGetOptions, b3 as IngestionJobListOptions, b4 as IngestionJobPage, b5 as IngestionJobStart, b6 as JobFieldData, b7 as JobPayloadDownload, b8 as JobResult, b9 as JobResultOptions, ba as JobStep, bb as JobStepData, bc as JobStepDataOptions, bd as JobStepDownloadOptions, be as JobStepFieldOptions, bf as JobSteps, bg as KnowledgeStore, bh as KnowledgeStoreChunking, bi as KnowledgeStoreCreate, bj as KnowledgeStoreListOptions, bk as KnowledgeStoreNamespace, bl as KnowledgeStorePage, bm as KnowledgeStoreStats, bn as KnowledgeStoreUpdate, bo as LatestOrPinnedPolicy, bp as McpAuthStartRequest, bq as McpAuthStartResult, br as ModelCapabilitiesV1, bs as ModelOffering, bt as ModelPricingDimension, bu as ModelProviderCreate, bv as ModelProviderRoute, bw as ModelRequirements, bx as ModelRuntimeKind, by as ModelSummary, bz as ModelsNamespace, bA as MultiAgentThreadListRequest, bB as MultiAgentThreadSummaryEventOptions, bC as NamespaceDataStats, bD as NamespaceInput, bE as NamespaceListOptions, bF as NamespacePage, bG as NamespaceSummary, bH as NativePlatform, bI as NodeAuthoringSpec, bJ as NodeCatalogItem, bK as NodeCatalogResponse, bL as NodeSchemaResponse, bM as OCROptions, bN as PayloadAvailability, bO as PipelineInputField, bP as PipelineInputSchema, bQ as PipelineInputStep, bR as PipelineInputUpload, bS as PipelineListOptions, bT as PipelinePage, bU as PipelineResultPage, bV as PipelineSummary, bW as PortableResourceKind, bX as ProcessedContent, bY as ProcessedContentOptions, bZ as ProcessedContentReference, b_ as ProcessingInput, b$ as ProcessingInputSource, c0 as ProcessingProgress, c1 as PublishedExecutable, c2 as RagRetention, c3 as RawVectorMatch, c4 as RawVectorRecord, c5 as RecordBatchResult, c6 as RecordCapabilities, c7 as RecordDeleteRequest, c8 as RecordFetchRequest, c9 as RecordFetchResult, ca as RecordListRequest, cb as RecordMutationAck, cc as RecordPage, cd as RecordQueryRequest, ce as RecordQueryResult, cf as RecordUpdateRequest, cg as RecordUpsertRequest, ch as RequestOptions, ci as ResetResourcePolicyQuotaRequest, cj as ResourceCallableBinding, ck as ResourceCallableBindingStatus, cl as ResourceCandidateList, cm as ResourceInstallation, cn as ResourceInstallationApplication, co as ResourceInstallationApplyRequest, cp as ResourceInstallationBinding, cq as ResourceInstallationCreateRequest, cr as ResourceInstallationDeploymentRequest, cs as ResourceInstallationLinkRequest, ct as ResourceInstallationList, cu as ResourceInstallationOperation, cv as ResourceInstallationPlan, cw as ResourceInstallationPlanUpload, cx as ResourceInstallationPublication, cy as ResourceInstallationPublishRequest, cz as ResourceInstallationPullAcceptRequest, cA as ResourceInstallationPullChange, cB as ResourceInstallationPullPayload, cC as ResourceInstallationPullPlan, cD as ResourceInstallationResourceListOptions, cE as ResourceInstallationSecretStatus, cF as ResourceInstallationSecretsRequest, cG as ResourcePackageArchive, cH as ResourcePackageCandidateOptions, cI as ResourcePackageDependency, cJ as ResourcePackageDiagnostic, cK as ResourcePackageExportPlan, cL as ResourcePackageExportRequest, cM as ResourcePackageImportPreview, cN as ResourcePackageImportResult, cO as ResourcePackageImportUpload, cP as ResourcePackageUpload, cQ as ResourcePackageValidationResult, cR as ResourcePolicyList, cS as ResourcePolicyQuotaSchedule, cT as ResourcePolicyQuotaScheduleResult, cU as ResourcePolicySubjectRef, cV as ResourcePolicySummary, cW as ResourceSelector, cX as ResourceToolExport, cY as ResponseFeedback, cZ as ResponseFeedbackResult, c_ as ResumeRunRequest, c$ as RetrievalEvidence, d0 as RunCancelOptions, d1 as RunContextOptions, d2 as RunExecutionLimits, d3 as RunStatus, d4 as RunTrace, d5 as RunUsage, d6 as RuntimeSubmissionResponse, d7 as ServerAttachmentUploadOptions, d8 as ServerEmbedAttachmentUploadOptions, d9 as SetCustomerResourcePolicyAssignmentRequest, da as SetResourcePolicyQuotaScheduleRequest, db as SourceDescriptor, dc as SourceOutcome, dd as StartRunResult, de as StateVariableDefinition, df as StreamRequestOptions, dg as StreamResult, dh as ThreadComputerContentAccess, di as ThreadComputerFile, dj as ThreadComputerFileOptions, dk as ThreadComputerFileText, dl as ThreadComputerFiles, dm as ThreadComputerStatus, dn as ThreadDeleteOptions, dp as ThreadDetailOptions, dq as ThreadListOptions, dr as ThreadSummaryEventOptions, ds as TraceContent, dt as TraceError, du as TraceSpan, dv as TraceSpanKind, dw as TraceSpanStatus, dx as TraceView, dy as UpdateClientDeploymentRequest, dz as UploadPart, dA as UploadPartAck, dB as UploadSession, dC as UploadSessionStart, dD as WaitForAgentRunOptions, dE as WorkflowInputDefinition } from './client-CY0o68YO.js';
1
+ import { E as EmbeddedRunSnapshot } from './client-YSS2tctB.js';
2
+ export { a as AgentCreateRequest, b as AgentDefinitionBuilder, c as AgentDefinitionOptions, d as AgentListResponse, e as AgentRef, f as AgentResponse, g as AgentStreamRequest, h as AgentSummary, i as AgentToolsetAttachment, j as AgentUpdateRequest, k as AgentValidationIssue, l as AgentValidationResult, A as Agents24, m as Agents24NodeError, n as Agents24NodeErrorKind, o as Agents24NodeOptions, p as Agents24Options, m as Agents24SDKError, q as Agents24SDKErrorKind, r as Agents24SDKSerializedError, s as ArtifactDevelopmentSession, t as ArtifactDevelopmentSessionAdmission, u as ArtifactDevelopmentSessionPrepareRequest, v as ArtifactRelayClientCreate, w as ArtifactRelayClientList, x as ArtifactRelayClientStatus, y as ArtifactRelayConnectionTicket, R as ArtifactRelayOptions, z as ArtifactRelayOptionsQuery, B as ArtifactRelayTicketRequest, C as AttachRunRequest, D as AttachmentContentAccessRequest, F as BackendSessionRequestOptions, G as BranchingHint, H as CallerAuthorityResult, I as CallerAuthorityUpdate, J as CallerRestrictionsResult, K as CallerRestrictionsUpdate, L as CallerToolRestrictions, M as CapacityWait, N as ClearCustomerResourcePolicyAssignmentResult, O as ClientAuthMode, P as ClientDeployment, Q as ClientDeploymentListQuery, S as ClientDeploymentListResponse, T as ClientNativeProfile, U as ClientRuntimeNativeProfileInput, V as ClientRuntimeOidcConfig, W as ClientRuntimePolicyInput, X as ClientSessionCredentials, Y as ContentChunk, Z as ContentSegment, _ as ControlPlaneAgentRunRequest, $ as ControlPlaneRunEventsResponse, a0 as ConversationRunRequest, a1 as ConversationRunResult, a2 as ConversationRuntimeSelectionRequest, a3 as ConversationRuntimeSelectionResult, a4 as ConversationSubmissionRequest, a5 as ConversationThreadOptions, a6 as CreateBackendClientSessionRequest, a7 as CreateClientDeploymentRequest, a8 as CustomerIdentityRequest, a9 as CustomerPrincipalRefRequest, aa as CustomerProfile, ab as CustomerProfileList, ac as CustomerProfilePatch, ad as CustomerProfileSearchOptions, ae as CustomerResourcePolicyAssignment, af as DelegationAction, ag as DelegationActionReceipt, ah as DelegationActionRequest, ai as DelegationEvents, aj as DelegationHistory, ak as DelegationHistoryTurn, al as DelegationStatus, am as DelegationTask, an as DelegationTaskList, ao as DictationCreate, ap as DictationFeature, aq as DictationScope, ar as DictationSession, as as EffectiveCustomerResourcePolicyRequest, at as EffectiveResourcePolicy, au as EmbedAgentAliasResolution, av as EmbedAttachmentContentAccessRequest, aw as EmbedCustomerPrincipalResolveRequest, ax as EmbedCustomerPrincipalResolveResponse, ay as EmbedDelegationOptions, az as EmbedDictationQuery, aA as EmbedResourcePolicyRequest, aB as EmbedRunCancelOptions, aC as EmbedRunStartRequest, aD as EmbedRuntimeBootstrap, aE as EmbedRuntimeBootstrapRequest, aF as EmbedRuntimeBootstrapResult, aG as EmbedStreamRequest, aH as EmbedThreadMessageEdit, aI as EmbedThreadMessageScope, aJ as EmbedThreadMessageSubmit, aK as EmbeddedDictationCreate, aL as EmbeddedDictationScope, aM as EmbeddedResponseFeedbackInput, aN as EvidenceLocation, aO as ExternalToolCompletionReceipt, aP as ExternalToolCompletionRequest, aQ as FailureCategory, aR as FailureView, aS as FeedbackRating, aT as FeedbackReason, aU as FileAssetReference, aV as GraphBuilder, aW as GraphDefinition, aX as GraphEdge, aY as GraphHints, aZ as GraphNode, a_ as GraphValueRef, a$ as HitlAction, b0 as HitlAnswer, b1 as HostedArtifactDraft, b2 as HostedArtifactsNamespace, b3 as IndexedCleanupAck, b4 as IndexedContent, b5 as IndexedContentListOptions, b6 as IndexedContentPage, b7 as IndexedRecordIdListOptions, b8 as IndexedRecordIdPage, b9 as IngestionBatch, ba as IngestionBatchListOptions, bb as IngestionBatchPage, bc as IngestionJob, bd as IngestionJobAcknowledgment, be as IngestionJobGetOptions, bf as IngestionJobListOptions, bg as IngestionJobPage, bh as IngestionJobStart, bi as JobFieldData, bj as JobPayloadDownload, bk as JobResult, bl as JobResultOptions, bm as JobStep, bn as JobStepData, bo as JobStepDataOptions, bp as JobStepDownloadOptions, bq as JobStepFieldOptions, br as JobSteps, bs as KnowledgeStore, bt as KnowledgeStoreChunking, bu as KnowledgeStoreCreate, bv as KnowledgeStoreListOptions, bw as KnowledgeStoreNamespace, bx as KnowledgeStorePage, by as KnowledgeStoreStats, bz as KnowledgeStoreUpdate, bA as LatestOrPinnedPolicy, bB as McpAuthStartRequest, bC as McpAuthStartResult, bD as ModelCapabilitiesV1, bE as ModelOffering, bF as ModelPricingDimension, bG as ModelProviderCreate, bH as ModelProviderRoute, bI as ModelRequirements, bJ as ModelRuntimeKind, bK as ModelSummary, bL as ModelsNamespace, bM as MultiAgentThreadListRequest, bN as MultiAgentThreadSummaryEventOptions, bO as NamespaceDataStats, bP as NamespaceInput, bQ as NamespaceListOptions, bR as NamespacePage, bS as NamespaceSummary, bT as NativePlatform, bU as NodeAuthoringSpec, bV as NodeCatalogItem, bW as NodeCatalogResponse, bX as NodeSchemaResponse, bY as OCROptions, bZ as PayloadAvailability, b_ as PersonalCapabilityQuery, b$ as PersonalConnectionAccount, c0 as PersonalConnectionAction, c1 as PersonalConnectionCatalog, c2 as PersonalConnectionPage, c3 as PersonalConnectionResult, c4 as PersonalConnectionService, c5 as PersonalSkillAsset, c6 as PersonalSkillAssetChange, c7 as PersonalSkillAssetContent, c8 as PersonalSkillAssetInput, c9 as PersonalSkillAssetQuery, ca as PersonalSkillImport, cb as PersonalSkillPage, cc as PersonalSkillRecord, cd as PersonalSkillSave, ce as PersonalSkillSelection, cf as PersonalSkillState, cg as PersonalSkillVersion, ch as PipelineInputField, ci as PipelineInputSchema, cj as PipelineInputStep, ck as PipelineInputUpload, cl as PipelineListOptions, cm as PipelinePage, cn as PipelineResultPage, co as PipelineSummary, cp as PortableResourceKind, cq as ProcessedContent, cr as ProcessedContentOptions, cs as ProcessedContentReference, ct as ProcessingInput, cu as ProcessingInputSource, cv as ProcessingProgress, cw as PublishedExecutable, cx as RagRetention, cy as RawVectorMatch, cz as RawVectorRecord, cA as RecordBatchResult, cB as RecordCapabilities, cC as RecordDeleteRequest, cD as RecordFetchRequest, cE as RecordFetchResult, cF as RecordListRequest, cG as RecordMutationAck, cH as RecordPage, cI as RecordQueryRequest, cJ as RecordQueryResult, cK as RecordUpdateRequest, cL as RecordUpsertRequest, cM as RequestOptions, cN as ResetResourcePolicyQuotaRequest, cO as ResourceCallableBinding, cP as ResourceCallableBindingStatus, cQ as ResourceCandidateList, cR as ResourceInstallation, cS as ResourceInstallationApplication, cT as ResourceInstallationApplyRequest, cU as ResourceInstallationBinding, cV as ResourceInstallationCreateRequest, cW as ResourceInstallationDeploymentRequest, cX as ResourceInstallationLinkRequest, cY as ResourceInstallationList, cZ as ResourceInstallationOperation, c_ as ResourceInstallationPlan, c$ as ResourceInstallationPlanUpload, d0 as ResourceInstallationPublication, d1 as ResourceInstallationPublishRequest, d2 as ResourceInstallationPullAcceptRequest, d3 as ResourceInstallationPullChange, d4 as ResourceInstallationPullPayload, d5 as ResourceInstallationPullPlan, d6 as ResourceInstallationResourceListOptions, d7 as ResourceInstallationSecretStatus, d8 as ResourceInstallationSecretsRequest, d9 as ResourcePackageArchive, da as ResourcePackageCandidateOptions, db as ResourcePackageDependency, dc as ResourcePackageDiagnostic, dd as ResourcePackageExportPlan, de as ResourcePackageExportRequest, df as ResourcePackageImportPreview, dg as ResourcePackageImportResult, dh as ResourcePackageImportUpload, di as ResourcePackageUpload, dj as ResourcePackageValidationResult, dk as ResourcePolicyList, dl as ResourcePolicyQuotaSchedule, dm as ResourcePolicyQuotaScheduleResult, dn as ResourcePolicySubjectRef, dp as ResourcePolicySummary, dq as ResourceSelector, dr as ResourceToolExport, ds as ResponseFeedback, dt as ResponseFeedbackResult, du as ResumeRunRequest, dv as RetrievalEvidence, dw as RunCancelOptions, dx as RunContextOptions, dy as RunExecutionLimits, dz as RunStatus, dA as RunTrace, dB as RunUsage, dC as RuntimeSubmissionResponse, dD as ServerAttachmentUploadOptions, dE as ServerEmbedAttachmentUploadOptions, dF as SetCustomerResourcePolicyAssignmentRequest, dG as SetResourcePolicyQuotaScheduleRequest, dH as SourceDescriptor, dI as SourceOutcome, dJ as StartRunResult, dK as StateVariableDefinition, dL as StreamRequestOptions, dM as StreamResult, dN as ThreadComputerContentAccess, dO as ThreadComputerFile, dP as ThreadComputerFileOptions, dQ as ThreadComputerFileText, dR as ThreadComputerFiles, dS as ThreadComputerStatus, dT as ThreadDeleteOptions, dU as ThreadDetailOptions, dV as ThreadListOptions, dW as ThreadSummaryEventOptions, dX as TraceContent, dY as TraceError, dZ as TraceSpan, d_ as TraceSpanKind, d$ as TraceSpanStatus, e0 as TraceView, e1 as UpdateClientDeploymentRequest, e2 as UploadPart, e3 as UploadPartAck, e4 as UploadSession, e5 as UploadSessionStart, e6 as WaitForAgentRunOptions, e7 as WorkflowInputDefinition } from './client-YSS2tctB.js';
3
3
  export { ActiveThreadRun, Attachment, AttachmentContentAccess, AttachmentUploadResult, CONTRACT_HASH, ContextCompression, ContextWindow, ContextWindowConfidence, ContextWindowSource, ContextWindowStage, ContextWindowTracker, JsonScalar, JsonValue, ModelTurnEventName, ModelTurnKind, ModelTurnOutcome, ModelTurnPayload, ModelTurnRuntimeEvent, ModelTurnStatus, ProtocolErrorCategory, PublicResponseBlock, RUNTIME_PROTOCOL_VERSION, PublicResponseBlock as ResponseBlock, RunCancelResult, RunContext, RunResumeResult, RuntimeEvent, THREAD_SUMMARY_PROTOCOL_VERSION, ThreadDeleteResult, ThreadDetail, ThreadMessage, ThreadMessageSubmission, ThreadMessagesPage, ThreadSummary, ThreadSummaryEvent, ThreadTurn, ThreadsResponse, ToolInputOverrides, compressionFromContextWindow, createContextWindowTracker, mergeContextWindow, mergeContextWindowUpdate, normalizeContextCompression, normalizeContextWindow, parseRuntimeEvent, parseRuntimeSsePayload, parseThreadSummarySsePayload, validateResponseBlock, validateRuntimeEvent, validateThreadSummaryEvent } from '@agents24/client/protocol';
4
4
  export { AttachmentDescriptor, AttachmentProcessingInputs, AttachmentProcessingOutput, ClientInputFeature, WorkflowOutputDescriptor, WorkflowOutputResult, WorkflowOutputsPage } from '@agents24/client';
5
5
 
6
- declare const SDK_OPERATION_IDS: readonly ["agents.cancel_run", "agents.catalog", "agents.create", "agents.create_attachment_content_access", "agents.delete", "agents.get", "agents.list", "agents.publish", "agents.resume_run", "agents.schema", "agents.start_run", "agents.stream", "agents.thread_messages.edit", "agents.thread_messages.list", "agents.thread_messages.remove", "agents.thread_messages.resume_queue", "agents.thread_messages.submit", "agents.update", "agents.update_graph", "agents.upload_attachments", "agents.validate", "client.attachments.create_content_access", "client.attachments.upload", "client.bootstrap", "client.chat.stream", "client.deployments.create", "client.deployments.delete", "client.deployments.get", "client.deployments.list", "client.deployments.update", "client.hitl.resume", "client.jwks", "client.mcp.redeem", "client.mcp.start", "client.resource_policy", "client.runs.attach", "client.runs.cancel", "client.runs.outputs.get", "client.runs.outputs.list", "client.runs.set_feedback", "client.sessions.anonymous", "client.sessions.backendExchange", "client.sessions.refresh", "client.sessions.revoke", "client.threads.computer.create_content_access", "client.threads.computer.get", "client.threads.computer.list", "client.threads.computer.read", "client.threads.delete", "client.threads.events", "client.threads.get", "client.threads.list", "client.threads.messages.edit", "client.threads.messages.list", "client.threads.messages.remove", "client.threads.messages.submit", "client.threads.queue.resume", "customer_profiles.clear", "customer_profiles.get", "customer_profiles.search", "customer_profiles.upsert", "delegations.act", "delegations.events", "delegations.history", "delegations.inspect", "delegations.list", "embed.attach_agent_run", "embed.bootstrap_runtime", "embed.cancel_agent_run", "embed.complete_tool_invocation", "embed.create_agent_computer_content_access", "embed.create_attachment_content_access", "embed.create_conversation_computer_content_access", "embed.delete_agent_thread", "embed.delete_conversation_thread", "embed.get_agent_computer", "embed.get_agent_run", "embed.get_agent_run_context", "embed.get_agent_thread", "embed.get_conversation_computer", "embed.get_conversation_thread", "embed.get_output", "embed.get_resource_policy", "embed.get_runtime_bootstrap", "embed.list_agent_computer_files", "embed.list_agent_threads", "embed.list_agent_threads_multi", "embed.list_conversation_computer_files", "embed.list_outputs", "embed.open_conversation_submission", "embed.read_agent_computer_file", "embed.read_conversation_computer_file", "embed.resolve_agent_alias", "embed.resolve_conversation_run", "embed.resolve_customer_principal", "embed.resume_agent_run", "embed.set_agent_run_feedback", "embed.set_conversation_runtime_selection", "embed.start_agent_run", "embed.start_agent_run_mcp_auth", "embed.stream_agent", "embed.stream_agent_thread_events", "embed.stream_agent_thread_events_multi", "embed.thread_messages.edit", "embed.thread_messages.list", "embed.thread_messages.remove", "embed.thread_messages.resume_queue", "embed.thread_messages.submit", "embed.upload_agent_attachments", "embed_delegations.act", "embed_delegations.events", "embed_delegations.history", "embed_delegations.inspect", "embed_delegations.list", "ingestionJobs.abort_upload", "ingestionJobs.cancel", "ingestionJobs.complete_upload", "ingestionJobs.create_upload", "ingestionJobs.download_step_data", "ingestionJobs.get", "ingestionJobs.get_processed_content", "ingestionJobs.get_result", "ingestionJobs.get_step_data", "ingestionJobs.get_step_field", "ingestionJobs.get_upload", "ingestionJobs.list", "ingestionJobs.list_batches", "ingestionJobs.list_steps", "ingestionJobs.put_upload_part", "ingestionJobs.resume", "ingestionJobs.start", "ingestionJobs.upload_input", "instructions.publish", "knowledgeStores.archive", "knowledgeStores.cancel_cleanup_job", "knowledgeStores.create", "knowledgeStores.delete_indexed_content", "knowledgeStores.delete_records", "knowledgeStores.fetch_records", "knowledgeStores.get", "knowledgeStores.get_cleanup_job", "knowledgeStores.get_indexed_content", "knowledgeStores.list", "knowledgeStores.list_indexed_content", "knowledgeStores.list_indexed_record_ids", "knowledgeStores.list_namespaces", "knowledgeStores.list_records", "knowledgeStores.namespace_stats", "knowledgeStores.query_records", "knowledgeStores.resume_cleanup_job", "knowledgeStores.stats", "knowledgeStores.update", "knowledgeStores.update_record", "knowledgeStores.upsert_records", "pipelines.get", "pipelines.get_input_schema", "pipelines.get_published_executable", "pipelines.list", "relayClients.agent_options", "relay_clients.create", "relay_clients.create_ticket", "relay_clients.get", "relay_clients.list", "relay_clients.revoke", "resource_installations.accept_pull", "resource_installations.apply", "resource_installations.bind_deployment", "resource_installations.configure_secrets", "resource_installations.create", "resource_installations.development_session_status", "resource_installations.download_pull", "resource_installations.get", "resource_installations.get_by_package_id", "resource_installations.link", "resource_installations.list", "resource_installations.operation_status", "resource_installations.plan", "resource_installations.plan_pull", "resource_installations.publish", "resource_installations.resources", "resource_installations.revoke_development_session", "resource_packages.candidates", "resource_packages.export", "resource_packages.export_plan", "resource_packages.exportability", "resource_packages.import", "resource_packages.import_preview", "resource_packages.validate", "resource_policies.clear_customer_assignment", "resource_policies.get_customer_assignment", "resource_policies.get_effective_customer_policy", "resource_policies.list", "resource_policies.reset_quota_now", "resource_policies.set_customer_assignment", "resource_policies.set_quota_schedule", "runs.get", "runs.get_context", "runs.get_events", "runs.get_output", "runs.get_trace", "runs.get_tree", "runs.list_outputs"];
6
+ declare const SDK_OPERATION_IDS: readonly ["agents.cancel_dictation_session", "agents.cancel_run", "agents.catalog", "agents.create", "agents.create_attachment_content_access", "agents.create_dictation_session", "agents.delete", "agents.get", "agents.get_dictation_session", "agents.list", "agents.publish", "agents.resume_run", "agents.schema", "agents.start_run", "agents.stream", "agents.thread_messages.edit", "agents.thread_messages.list", "agents.thread_messages.remove", "agents.thread_messages.resume_queue", "agents.thread_messages.submit", "agents.update", "agents.update_graph", "agents.upload_attachments", "agents.validate", "client.attachments.create_content_access", "client.attachments.upload", "client.bootstrap", "client.chat.stream", "client.deployments.create", "client.deployments.delete", "client.deployments.get", "client.deployments.list", "client.deployments.update", "client.dictation.cancel", "client.dictation.create", "client.dictation.get", "client.hitl.resume", "client.jwks", "client.mcp.redeem", "client.mcp.start", "client.resource_policy", "client.runs.attach", "client.runs.cancel", "client.runs.outputs.get", "client.runs.outputs.list", "client.runs.set_feedback", "client.sessions.anonymous", "client.sessions.backendExchange", "client.sessions.refresh", "client.sessions.revoke", "client.threads.computer.create_content_access", "client.threads.computer.get", "client.threads.computer.list", "client.threads.computer.read", "client.threads.delete", "client.threads.events", "client.threads.get", "client.threads.list", "client.threads.messages.edit", "client.threads.messages.list", "client.threads.messages.remove", "client.threads.messages.submit", "client.threads.queue.resume", "customer_profiles.clear", "customer_profiles.get", "customer_profiles.search", "customer_profiles.upsert", "delegations.act", "delegations.events", "delegations.history", "delegations.inspect", "delegations.list", "embed.attach_agent_run", "embed.bootstrap_runtime", "embed.browse_personal_connections", "embed.cancel_agent_run", "embed.cancel_dictation_session", "embed.complete_tool_invocation", "embed.create_agent_computer_content_access", "embed.create_attachment_content_access", "embed.create_conversation_computer_content_access", "embed.create_dictation_session", "embed.delete_agent_thread", "embed.delete_conversation_thread", "embed.get_agent_computer", "embed.get_agent_run", "embed.get_agent_run_context", "embed.get_agent_thread", "embed.get_conversation_computer", "embed.get_conversation_thread", "embed.get_dictation_session", "embed.get_output", "embed.get_personal_skill", "embed.get_resource_policy", "embed.get_runtime_bootstrap", "embed.import_personal_skill", "embed.list_agent_computer_files", "embed.list_agent_threads", "embed.list_agent_threads_multi", "embed.list_conversation_computer_files", "embed.list_outputs", "embed.list_personal_connections", "embed.list_personal_skills", "embed.manage_personal_connection", "embed.open_conversation_submission", "embed.read_agent_computer_file", "embed.read_conversation_computer_file", "embed.read_personal_skill_asset", "embed.resolve_agent_alias", "embed.resolve_conversation_run", "embed.resolve_customer_principal", "embed.resume_agent_run", "embed.revoke_caller_authority", "embed.save_personal_skill", "embed.set_agent_run_feedback", "embed.set_conversation_runtime_selection", "embed.set_personal_skill_state", "embed.start_agent_run", "embed.start_agent_run_mcp_auth", "embed.stream_agent", "embed.stream_agent_thread_events", "embed.stream_agent_thread_events_multi", "embed.thread_messages.edit", "embed.thread_messages.list", "embed.thread_messages.remove", "embed.thread_messages.resume_queue", "embed.thread_messages.submit", "embed.update_caller_restrictions", "embed.upload_agent_attachments", "embed_delegations.act", "embed_delegations.events", "embed_delegations.history", "embed_delegations.inspect", "embed_delegations.list", "ingestionJobs.abort_upload", "ingestionJobs.cancel", "ingestionJobs.complete_upload", "ingestionJobs.create_upload", "ingestionJobs.download_step_data", "ingestionJobs.get", "ingestionJobs.get_processed_content", "ingestionJobs.get_result", "ingestionJobs.get_step_data", "ingestionJobs.get_step_field", "ingestionJobs.get_upload", "ingestionJobs.list", "ingestionJobs.list_batches", "ingestionJobs.list_steps", "ingestionJobs.put_upload_part", "ingestionJobs.resume", "ingestionJobs.start", "ingestionJobs.upload_input", "instructions.publish", "knowledgeStores.archive", "knowledgeStores.cancel_cleanup_job", "knowledgeStores.create", "knowledgeStores.delete_indexed_content", "knowledgeStores.delete_records", "knowledgeStores.fetch_records", "knowledgeStores.get", "knowledgeStores.get_cleanup_job", "knowledgeStores.get_indexed_content", "knowledgeStores.list", "knowledgeStores.list_indexed_content", "knowledgeStores.list_indexed_record_ids", "knowledgeStores.list_namespaces", "knowledgeStores.list_records", "knowledgeStores.namespace_stats", "knowledgeStores.query_records", "knowledgeStores.resume_cleanup_job", "knowledgeStores.stats", "knowledgeStores.update", "knowledgeStores.update_record", "knowledgeStores.upsert_records", "pipelines.get", "pipelines.get_input_schema", "pipelines.get_published_executable", "pipelines.list", "relayClients.agent_options", "relay_clients.create", "relay_clients.create_ticket", "relay_clients.get", "relay_clients.list", "relay_clients.revoke", "resource_installations.accept_pull", "resource_installations.apply", "resource_installations.bind_deployment", "resource_installations.configure_secrets", "resource_installations.create", "resource_installations.development_session_status", "resource_installations.download_pull", "resource_installations.get", "resource_installations.get_by_package_id", "resource_installations.link", "resource_installations.list", "resource_installations.operation_status", "resource_installations.plan", "resource_installations.plan_pull", "resource_installations.publish", "resource_installations.resources", "resource_installations.revoke_development_session", "resource_packages.candidates", "resource_packages.export", "resource_packages.export_plan", "resource_packages.exportability", "resource_packages.import", "resource_packages.import_preview", "resource_packages.validate", "resource_policies.clear_customer_assignment", "resource_policies.get_customer_assignment", "resource_policies.get_effective_customer_policy", "resource_policies.list", "resource_policies.reset_quota_now", "resource_policies.set_customer_assignment", "resource_policies.set_quota_schedule", "runs.get", "runs.get_context", "runs.get_events", "runs.get_output", "runs.get_trace", "runs.get_tree", "runs.list_outputs"];
7
7
  type SDKOperationId = (typeof SDK_OPERATION_IDS)[number];
8
8
 
9
9
  /** Observation ended; the durable run remains available under the same identity. */
package/dist/index.js CHANGED
@@ -218,14 +218,23 @@ async function consumeThreadSummaryEventStream(response, onEvent, signal, onCont
218
218
 
219
219
  // src/agents.ts
220
220
  function runBody(payload) {
221
- const { customerTenant, requestedOutputs, ...wire } = payload;
222
- return { ...wire, ...requestedOutputs === void 0 ? {} : { requested_outputs: requestedOutputs }, ...customerTenant === void 0 ? {} : { customer_tenant: customerTenant } };
221
+ const { customerTenant, requestedOutputs, dictationSessionId, ...wire } = payload;
222
+ return { ...wire, ...dictationSessionId === void 0 ? {} : { dictation_session_id: dictationSessionId }, ...requestedOutputs === void 0 ? {} : { requested_outputs: requestedOutputs }, ...customerTenant === void 0 ? {} : { customer_tenant: customerTenant } };
223
223
  }
224
224
  var AgentsNamespace = class {
225
225
  constructor(http) {
226
226
  this.http = http;
227
227
  }
228
228
  http;
229
+ createDictationSession(agentId, request, options) {
230
+ return this.http.requestJson(`/agents/${encodeURIComponent(agentId)}/dictation-sessions`, { method: "POST", body: request, options, mutation: true });
231
+ }
232
+ getDictationSession(agentId, sessionId, query = {}, options) {
233
+ return this.http.requestJson(`/agents/${encodeURIComponent(agentId)}/dictation-sessions/${encodeURIComponent(sessionId)}`, { query, options });
234
+ }
235
+ cancelDictationSession(agentId, sessionId, request, options) {
236
+ return this.http.requestJson(`/agents/${encodeURIComponent(agentId)}/dictation-sessions/${encodeURIComponent(sessionId)}/cancel`, { method: "POST", body: request, options, mutation: true });
237
+ }
229
238
  list(options = {}) {
230
239
  return this.http.requestJson("/agents", { query: { status: options.status, skip: options.skip ?? 0, limit: options.limit ?? 20, view: options.view ?? "summary" } });
231
240
  }
@@ -331,6 +340,7 @@ var AgentsNamespace = class {
331
340
  const form = new FormData();
332
341
  if (options.threadId) form.set("thread_id", options.threadId);
333
342
  if (options.agentVersionId) form.set("agent_version_id", options.agentVersionId);
343
+ if (options.transcriptPresentations) form.set("transcript_presentations", JSON.stringify(options.transcriptPresentations));
334
344
  for (const file of options.files) form.append("files", file, file.name);
335
345
  const response = await this.http.fetchOrThrow(this.http.url(`/agents/${agentId}/attachments/upload`), {
336
346
  method: "POST",
@@ -538,6 +548,27 @@ var ClientSessionsNamespace = class {
538
548
  };
539
549
 
540
550
  // src/embed-run-wait.ts
551
+ var terminal = (status) => ["completed", "failed", "cancelled", "paused"].includes(status);
552
+ async function observeCompletion(observe, signal) {
553
+ const stream = new AbortController();
554
+ const abort = () => stream.abort(signal.reason);
555
+ signal.addEventListener("abort", abort, { once: true });
556
+ if (signal.aborted) abort();
557
+ let completed = false;
558
+ try {
559
+ await observe((event) => {
560
+ if (terminal(event.event.replace(/^run\./, "")) || event.event === "run.snapshot" && terminal(String(event.payload.status))) {
561
+ completed = true;
562
+ stream.abort();
563
+ }
564
+ }, stream.signal);
565
+ } catch (error) {
566
+ if (!completed || signal.aborted) throw error;
567
+ } finally {
568
+ signal.removeEventListener("abort", abort);
569
+ stream.abort();
570
+ }
571
+ }
541
572
  var AgentRunWaitError = class extends Error {
542
573
  constructor(runId, snapshot, name) {
543
574
  super(`Stopped waiting for Agent run ${runId}.`);
@@ -548,7 +579,7 @@ var AgentRunWaitError = class extends Error {
548
579
  runId;
549
580
  snapshot;
550
581
  };
551
- async function waitForEmbeddedRun(runId, read, options = {}) {
582
+ async function waitForEmbeddedRun(runId, read, options = {}, observe) {
552
583
  const timeoutMs = options.timeoutMs ?? 12e4;
553
584
  if (!Number.isFinite(timeoutMs) || timeoutMs <= 0) throw new RangeError("timeoutMs must be a positive finite number.");
554
585
  const controller = new AbortController();
@@ -567,7 +598,11 @@ async function waitForEmbeddedRun(runId, read, options = {}) {
567
598
  controller.signal.throwIfAborted();
568
599
  snapshot = await read(controller.signal);
569
600
  controller.signal.throwIfAborted();
570
- if (["completed", "failed", "cancelled", "paused"].includes(snapshot.status)) return snapshot;
601
+ if (terminal(snapshot.status)) return snapshot;
602
+ if (observe) {
603
+ await observeCompletion(observe, controller.signal);
604
+ continue;
605
+ }
571
606
  await new Promise((resolve, reject) => {
572
607
  const stop = () => {
573
608
  clearTimeout(delay);
@@ -686,6 +721,135 @@ var EmbedNamespace = class extends EmbedDelegationsNamespace {
686
721
  body: request
687
722
  });
688
723
  }
724
+ createDictationSession(agentId, request, options) {
725
+ return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/dictation-sessions`, {
726
+ method: "POST",
727
+ body: request,
728
+ options,
729
+ mutation: true
730
+ });
731
+ }
732
+ getDictationSession(agentId, sessionId, options) {
733
+ return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/dictation-sessions/${encodeURIComponent(sessionId)}`, {
734
+ query: {
735
+ external_user_id: options.externalUserId,
736
+ external_session_id: options.externalSessionId,
737
+ integration_id: options.integrationId,
738
+ chat_scope: options.chatScope,
739
+ runtime_target: options.runtimeTarget,
740
+ agent_version_id: options.agentVersionId
741
+ }
742
+ });
743
+ }
744
+ cancelDictationSession(agentId, sessionId, request, options) {
745
+ return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/dictation-sessions/${encodeURIComponent(sessionId)}/cancel`, {
746
+ method: "POST",
747
+ body: request,
748
+ options
749
+ });
750
+ }
751
+ listPersonalSkills(agentId, options) {
752
+ return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/personal-skills`, {
753
+ query: {
754
+ external_user_id: options.externalUserId,
755
+ integration_id: options.integrationId,
756
+ runtime_target: options.runtimeTarget,
757
+ q: options.q,
758
+ include_archived: options.includeArchived,
759
+ offset: options.offset,
760
+ limit: options.limit
761
+ }
762
+ });
763
+ }
764
+ getPersonalSkill(agentId, skillId, options) {
765
+ return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/personal-skills/${encodeURIComponent(skillId)}`, {
766
+ query: {
767
+ external_user_id: options.externalUserId,
768
+ integration_id: options.integrationId,
769
+ runtime_target: options.runtimeTarget
770
+ }
771
+ });
772
+ }
773
+ savePersonalSkill(agentId, payload, options) {
774
+ return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/personal-skills`, {
775
+ method: "POST",
776
+ body: payload,
777
+ options,
778
+ mutation: true
779
+ });
780
+ }
781
+ setPersonalSkillState(agentId, skillId, payload, options) {
782
+ return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/personal-skills/${encodeURIComponent(skillId)}`, {
783
+ method: "PATCH",
784
+ body: payload,
785
+ options,
786
+ mutation: true
787
+ });
788
+ }
789
+ listPersonalConnections(agentId, options) {
790
+ return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/personal-connections`, {
791
+ query: {
792
+ external_user_id: options.externalUserId,
793
+ integration_id: options.integrationId,
794
+ runtime_target: options.runtimeTarget
795
+ }
796
+ });
797
+ }
798
+ browsePersonalConnections(agentId, options) {
799
+ return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/personal-connections/catalog`, {
800
+ query: {
801
+ external_user_id: options.externalUserId,
802
+ integration_id: options.integrationId,
803
+ runtime_target: options.runtimeTarget,
804
+ q: options.q,
805
+ category: options.category,
806
+ offset: options.offset,
807
+ limit: options.limit
808
+ }
809
+ });
810
+ }
811
+ managePersonalConnection(agentId, payload, options) {
812
+ return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/personal-connections`, {
813
+ method: "POST",
814
+ body: payload,
815
+ options,
816
+ mutation: true
817
+ });
818
+ }
819
+ readPersonalSkillAsset(agentId, skillId, versionId, options) {
820
+ return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/personal-skills/${encodeURIComponent(skillId)}/versions/${encodeURIComponent(versionId)}/asset`, {
821
+ query: {
822
+ external_user_id: options.externalUserId,
823
+ integration_id: options.integrationId,
824
+ runtime_target: options.runtimeTarget,
825
+ path: options.path
826
+ }
827
+ });
828
+ }
829
+ importPersonalSkill(agentId, payload, options) {
830
+ return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/personal-skills/import`, {
831
+ method: "POST",
832
+ body: payload,
833
+ options,
834
+ mutation: true
835
+ });
836
+ }
837
+ updateCallerRestrictions(agentId, runId, payload, options) {
838
+ return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/runs/${encodeURIComponent(runId)}/caller-restrictions`, {
839
+ method: "PUT",
840
+ body: payload,
841
+ options,
842
+ mutation: true
843
+ });
844
+ }
845
+ revokeCallerAuthority(agentId, payload, options) {
846
+ return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/caller-authority`, {
847
+ method: "PUT",
848
+ body: payload,
849
+ options,
850
+ mutation: true
851
+ });
852
+ }
689
853
  };
690
854
  var EmbedNamespace2 = class extends EmbedNamespace {
691
855
  constructor(http) {
@@ -704,13 +868,14 @@ var EmbedNamespace2 = class extends EmbedNamespace {
704
868
  });
705
869
  }
706
870
  async attachAgentRun(agentId, runId, payload, onEvent, options = {}) {
707
- return this.stream(`/public/embed/agents/${agentId}/runs/${runId}/stream`, payload, onEvent, options);
871
+ return this.stream(`/public/embed/agents/${encodeURIComponent(agentId)}/runs/${encodeURIComponent(runId)}/stream`, payload, onEvent, options);
708
872
  }
709
873
  namespacePayload(payload) {
710
874
  if (!payload || typeof payload !== "object") return payload;
711
- const { knowledgeNamespaces, chatScope, customerTenant, requestedOutputs, ...wire } = payload;
875
+ const { knowledgeNamespaces, chatScope, customerTenant, requestedOutputs, dictationSessionId, ...wire } = payload;
712
876
  return {
713
877
  ...wire,
878
+ ...dictationSessionId === void 0 ? {} : { dictation_session_id: dictationSessionId },
714
879
  ...requestedOutputs === void 0 ? {} : { requested_outputs: requestedOutputs },
715
880
  ...customerTenant === void 0 ? {} : { customer_tenant: customerTenant },
716
881
  ...knowledgeNamespaces === void 0 ? {} : { knowledge_namespaces: knowledgeNamespaces },
@@ -852,6 +1017,8 @@ var EmbedNamespace2 = class extends EmbedNamespace {
852
1017
  customer_tenant: payload.customerTenant,
853
1018
  ...payload.trustedContext === void 0 ? {} : { trusted_context: payload.trustedContext },
854
1019
  execution_limits: payload.executionLimits,
1020
+ personal_skills: payload.personalSkills,
1021
+ ...payload.dictationSessionId === void 0 ? {} : { dictation_session_id: payload.dictationSessionId },
855
1022
  ...payload.requestedOutputs === void 0 ? {} : { requested_outputs: payload.requestedOutputs },
856
1023
  tool_inputs: payload.toolInputs ?? {},
857
1024
  ...payload.metadata === void 0 ? {} : { metadata: payload.metadata }
@@ -1049,7 +1216,25 @@ var EmbedNamespace2 = class extends EmbedNamespace {
1049
1216
  });
1050
1217
  }
1051
1218
  waitForAgentRun(agentId, runId, scope, options = {}) {
1052
- return waitForEmbeddedRun(runId, (signal) => this.getAgentRun(agentId, runId, scope, { signal }), options);
1219
+ let cursor;
1220
+ return waitForEmbeddedRun(
1221
+ runId,
1222
+ (signal) => this.getAgentRun(agentId, runId, scope, { signal }),
1223
+ options,
1224
+ options.observation === "stream" ? (onEvent, signal) => this.attachAgentRun(agentId, runId, {
1225
+ external_user_id: scope.externalUserId,
1226
+ external_session_id: scope.externalSessionId,
1227
+ integration_id: scope.integrationId,
1228
+ runtime_target: scope.runtimeTarget,
1229
+ chatScope: scope.chatScope,
1230
+ cursor
1231
+ }, (event) => {
1232
+ if (event.run_id === runId) {
1233
+ cursor = event.seq;
1234
+ onEvent(event);
1235
+ }
1236
+ }, { signal, leaseSeconds: 60 }) : void 0
1237
+ );
1053
1238
  }
1054
1239
  getAgentRunContext(agentId, runId, options) {
1055
1240
  return this.http.requestJson(`/public/embed/agents/${agentId}/runs/${runId}/context`, { query: {
@@ -1077,6 +1262,7 @@ var EmbedNamespace2 = class extends EmbedNamespace {
1077
1262
  }
1078
1263
  async uploadAgentAttachments(agentId, options) {
1079
1264
  const form = new FormData();
1265
+ if (options.transcriptPresentations) form.set("transcript_presentations", JSON.stringify(options.transcriptPresentations));
1080
1266
  form.set("external_user_id", options.externalUserId);
1081
1267
  if (options.externalSessionId) form.set("external_session_id", options.externalSessionId);
1082
1268
  if (options.threadId) form.set("thread_id", options.threadId);
@@ -2035,12 +2221,15 @@ var Agents24 = class extends GeneratedIntegrationNamespaces {
2035
2221
 
2036
2222
  // src/generated/manifest.ts
2037
2223
  var SDK_OPERATION_IDS = [
2224
+ "agents.cancel_dictation_session",
2038
2225
  "agents.cancel_run",
2039
2226
  "agents.catalog",
2040
2227
  "agents.create",
2041
2228
  "agents.create_attachment_content_access",
2229
+ "agents.create_dictation_session",
2042
2230
  "agents.delete",
2043
2231
  "agents.get",
2232
+ "agents.get_dictation_session",
2044
2233
  "agents.list",
2045
2234
  "agents.publish",
2046
2235
  "agents.resume_run",
@@ -2065,6 +2254,9 @@ var SDK_OPERATION_IDS = [
2065
2254
  "client.deployments.get",
2066
2255
  "client.deployments.list",
2067
2256
  "client.deployments.update",
2257
+ "client.dictation.cancel",
2258
+ "client.dictation.create",
2259
+ "client.dictation.get",
2068
2260
  "client.hitl.resume",
2069
2261
  "client.jwks",
2070
2262
  "client.mcp.redeem",
@@ -2103,11 +2295,14 @@ var SDK_OPERATION_IDS = [
2103
2295
  "delegations.list",
2104
2296
  "embed.attach_agent_run",
2105
2297
  "embed.bootstrap_runtime",
2298
+ "embed.browse_personal_connections",
2106
2299
  "embed.cancel_agent_run",
2300
+ "embed.cancel_dictation_session",
2107
2301
  "embed.complete_tool_invocation",
2108
2302
  "embed.create_agent_computer_content_access",
2109
2303
  "embed.create_attachment_content_access",
2110
2304
  "embed.create_conversation_computer_content_access",
2305
+ "embed.create_dictation_session",
2111
2306
  "embed.delete_agent_thread",
2112
2307
  "embed.delete_conversation_thread",
2113
2308
  "embed.get_agent_computer",
@@ -2116,23 +2311,33 @@ var SDK_OPERATION_IDS = [
2116
2311
  "embed.get_agent_thread",
2117
2312
  "embed.get_conversation_computer",
2118
2313
  "embed.get_conversation_thread",
2314
+ "embed.get_dictation_session",
2119
2315
  "embed.get_output",
2316
+ "embed.get_personal_skill",
2120
2317
  "embed.get_resource_policy",
2121
2318
  "embed.get_runtime_bootstrap",
2319
+ "embed.import_personal_skill",
2122
2320
  "embed.list_agent_computer_files",
2123
2321
  "embed.list_agent_threads",
2124
2322
  "embed.list_agent_threads_multi",
2125
2323
  "embed.list_conversation_computer_files",
2126
2324
  "embed.list_outputs",
2325
+ "embed.list_personal_connections",
2326
+ "embed.list_personal_skills",
2327
+ "embed.manage_personal_connection",
2127
2328
  "embed.open_conversation_submission",
2128
2329
  "embed.read_agent_computer_file",
2129
2330
  "embed.read_conversation_computer_file",
2331
+ "embed.read_personal_skill_asset",
2130
2332
  "embed.resolve_agent_alias",
2131
2333
  "embed.resolve_conversation_run",
2132
2334
  "embed.resolve_customer_principal",
2133
2335
  "embed.resume_agent_run",
2336
+ "embed.revoke_caller_authority",
2337
+ "embed.save_personal_skill",
2134
2338
  "embed.set_agent_run_feedback",
2135
2339
  "embed.set_conversation_runtime_selection",
2340
+ "embed.set_personal_skill_state",
2136
2341
  "embed.start_agent_run",
2137
2342
  "embed.start_agent_run_mcp_auth",
2138
2343
  "embed.stream_agent",
@@ -2143,6 +2348,7 @@ var SDK_OPERATION_IDS = [
2143
2348
  "embed.thread_messages.remove",
2144
2349
  "embed.thread_messages.resume_queue",
2145
2350
  "embed.thread_messages.submit",
2351
+ "embed.update_caller_restrictions",
2146
2352
  "embed.upload_agent_attachments",
2147
2353
  "embed_delegations.act",
2148
2354
  "embed_delegations.events",