@agents24/node 0.5.33 → 0.5.35
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/compatibility.json +8 -8
- package/dist/bff.cjs +103 -4
- package/dist/bff.cjs.map +1 -1
- package/dist/bff.d.cts +1 -1
- package/dist/bff.d.ts +1 -1
- package/dist/bff.js +103 -4
- package/dist/bff.js.map +1 -1
- package/dist/{client-IX8nsoyr.d.cts → client-BQN80Nb5.d.cts} +111 -3
- package/dist/{client-IX8nsoyr.d.ts → client-BQN80Nb5.d.ts} +111 -3
- package/dist/index.cjs +132 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +132 -11
- package/dist/index.js.map +1 -1
- package/dist/types/agents.d.ts +5 -0
- package/dist/types/agents.d.ts.map +1 -1
- package/dist/types/bff-conversation-submission.d.ts.map +1 -1
- package/dist/types/bff-multi-agent.d.ts.map +1 -1
- package/dist/types/bff-request.d.ts +2 -0
- package/dist/types/bff-request.d.ts.map +1 -1
- package/dist/types/bff-single-agent.d.ts.map +1 -1
- package/dist/types/bff-sse.d.ts +3 -0
- package/dist/types/bff-sse.d.ts.map +1 -1
- package/dist/types/embed-run-wait.d.ts +4 -1
- package/dist/types/embed-run-wait.d.ts.map +1 -1
- package/dist/types/embed-types.d.ts +7 -0
- package/dist/types/embed-types.d.ts.map +1 -1
- package/dist/types/embed.d.ts +5 -0
- package/dist/types/embed.d.ts.map +1 -1
- package/dist/types/generated/dictation.d.ts +99 -0
- package/dist/types/generated/dictation.d.ts.map +1 -0
- package/dist/types/generated/embed.d.ts +4 -1
- package/dist/types/generated/embed.d.ts.map +1 -1
- package/dist/types/generated/ingestion-types.d.ts +2 -0
- package/dist/types/generated/ingestion-types.d.ts.map +1 -1
- package/dist/types/generated/manifest.d.ts +1 -1
- package/dist/types/generated/manifest.d.ts.map +1 -1
- package/dist/types/generated/model-capabilities.d.ts +2 -2
- package/dist/types/generated/model-capabilities.d.ts.map +1 -1
- package/dist/types/generated/run-usage.d.ts +2 -0
- package/dist/types/generated/run-usage.d.ts.map +1 -1
- package/dist/types/runs.d.ts +11 -0
- package/dist/types/runs.d.ts.map +1 -1
- package/dist/types/types.d.ts +24 -0
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { E as EmbeddedRunSnapshot } from './client-
|
|
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
|
|
1
|
+
import { E as EmbeddedRunSnapshot } from './client-BQN80Nb5.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 DictationCreate, ak as DictationFeature, al as DictationScope, am as DictationSession, an as EffectiveCustomerResourcePolicyRequest, ao as EffectiveResourcePolicy, ap as EmbedAgentAliasResolution, aq as EmbedAttachmentContentAccessRequest, ar as EmbedCustomerPrincipalResolveRequest, as as EmbedCustomerPrincipalResolveResponse, at as EmbedDelegationOptions, au as EmbedDictationQuery, av as EmbedResourcePolicyRequest, aw as EmbedRunCancelOptions, ax as EmbedRunStartRequest, ay as EmbedRuntimeBootstrap, az as EmbedRuntimeBootstrapRequest, aA as EmbedRuntimeBootstrapResult, aB as EmbedStreamRequest, aC as EmbedThreadMessageEdit, aD as EmbedThreadMessageScope, aE as EmbedThreadMessageSubmit, aF as EmbeddedDictationCreate, aG as EmbeddedDictationScope, aH as EmbeddedResponseFeedbackInput, aI as EvidenceLocation, aJ as ExternalToolCompletionReceipt, aK as ExternalToolCompletionRequest, aL as FailureCategory, aM as FailureView, aN as FeedbackRating, aO as FeedbackReason, aP as FileAssetReference, aQ as GraphBuilder, aR as GraphDefinition, aS as GraphEdge, aT as GraphHints, aU as GraphNode, aV as GraphValueRef, aW as HitlAction, aX as HitlAnswer, aY as HostedArtifactDraft, aZ as HostedArtifactsNamespace, a_ as IndexedCleanupAck, a$ as IndexedContent, b0 as IndexedContentListOptions, b1 as IndexedContentPage, b2 as IndexedRecordIdListOptions, b3 as IndexedRecordIdPage, b4 as IngestionBatch, b5 as IngestionBatchListOptions, b6 as IngestionBatchPage, b7 as IngestionJob, b8 as IngestionJobAcknowledgment, b9 as IngestionJobGetOptions, ba as IngestionJobListOptions, bb as IngestionJobPage, bc as IngestionJobStart, bd as JobFieldData, be as JobPayloadDownload, bf as JobResult, bg as JobResultOptions, bh as JobStep, bi as JobStepData, bj as JobStepDataOptions, bk as JobStepDownloadOptions, bl as JobStepFieldOptions, bm as JobSteps, bn as KnowledgeStore, bo as KnowledgeStoreChunking, bp as KnowledgeStoreCreate, bq as KnowledgeStoreListOptions, br as KnowledgeStoreNamespace, bs as KnowledgeStorePage, bt as KnowledgeStoreStats, bu as KnowledgeStoreUpdate, bv as LatestOrPinnedPolicy, bw as McpAuthStartRequest, bx as McpAuthStartResult, by as ModelCapabilitiesV1, bz as ModelOffering, bA as ModelPricingDimension, bB as ModelProviderCreate, bC as ModelProviderRoute, bD as ModelRequirements, bE as ModelRuntimeKind, bF as ModelSummary, bG as ModelsNamespace, bH as MultiAgentThreadListRequest, bI as MultiAgentThreadSummaryEventOptions, bJ as NamespaceDataStats, bK as NamespaceInput, bL as NamespaceListOptions, bM as NamespacePage, bN as NamespaceSummary, bO as NativePlatform, bP as NodeAuthoringSpec, bQ as NodeCatalogItem, bR as NodeCatalogResponse, bS as NodeSchemaResponse, bT as OCROptions, bU as PayloadAvailability, bV as PipelineInputField, bW as PipelineInputSchema, bX as PipelineInputStep, bY as PipelineInputUpload, bZ as PipelineListOptions, b_ as PipelinePage, b$ as PipelineResultPage, c0 as PipelineSummary, c1 as PortableResourceKind, c2 as ProcessedContent, c3 as ProcessedContentOptions, c4 as ProcessedContentReference, c5 as ProcessingInput, c6 as ProcessingInputSource, c7 as ProcessingProgress, c8 as PublishedExecutable, c9 as RagRetention, ca as RawVectorMatch, cb as RawVectorRecord, cc as RecordBatchResult, cd as RecordCapabilities, ce as RecordDeleteRequest, cf as RecordFetchRequest, cg as RecordFetchResult, ch as RecordListRequest, ci as RecordMutationAck, cj as RecordPage, ck as RecordQueryRequest, cl as RecordQueryResult, cm as RecordUpdateRequest, cn as RecordUpsertRequest, co as RequestOptions, cp as ResetResourcePolicyQuotaRequest, cq as ResourceCallableBinding, cr as ResourceCallableBindingStatus, cs as ResourceCandidateList, ct as ResourceInstallation, cu as ResourceInstallationApplication, cv as ResourceInstallationApplyRequest, cw as ResourceInstallationBinding, cx as ResourceInstallationCreateRequest, cy as ResourceInstallationDeploymentRequest, cz as ResourceInstallationLinkRequest, cA as ResourceInstallationList, cB as ResourceInstallationOperation, cC as ResourceInstallationPlan, cD as ResourceInstallationPlanUpload, cE as ResourceInstallationPublication, cF as ResourceInstallationPublishRequest, cG as ResourceInstallationPullAcceptRequest, cH as ResourceInstallationPullChange, cI as ResourceInstallationPullPayload, cJ as ResourceInstallationPullPlan, cK as ResourceInstallationResourceListOptions, cL as ResourceInstallationSecretStatus, cM as ResourceInstallationSecretsRequest, cN as ResourcePackageArchive, cO as ResourcePackageCandidateOptions, cP as ResourcePackageDependency, cQ as ResourcePackageDiagnostic, cR as ResourcePackageExportPlan, cS as ResourcePackageExportRequest, cT as ResourcePackageImportPreview, cU as ResourcePackageImportResult, cV as ResourcePackageImportUpload, cW as ResourcePackageUpload, cX as ResourcePackageValidationResult, cY as ResourcePolicyList, cZ as ResourcePolicyQuotaSchedule, c_ as ResourcePolicyQuotaScheduleResult, c$ as ResourcePolicySubjectRef, d0 as ResourcePolicySummary, d1 as ResourceSelector, d2 as ResourceToolExport, d3 as ResponseFeedback, d4 as ResponseFeedbackResult, d5 as ResumeRunRequest, d6 as RetrievalEvidence, d7 as RunCancelOptions, d8 as RunContextOptions, d9 as RunExecutionLimits, da as RunStatus, db as RunTrace, dc as RunUsage, dd as RuntimeSubmissionResponse, de as ServerAttachmentUploadOptions, df as ServerEmbedAttachmentUploadOptions, dg as SetCustomerResourcePolicyAssignmentRequest, dh as SetResourcePolicyQuotaScheduleRequest, di as SourceDescriptor, dj as SourceOutcome, dk as StartRunResult, dl as StateVariableDefinition, dm as StreamRequestOptions, dn as StreamResult, dp as ThreadComputerContentAccess, dq as ThreadComputerFile, dr as ThreadComputerFileOptions, ds as ThreadComputerFileText, dt as ThreadComputerFiles, du as ThreadComputerStatus, dv as ThreadDeleteOptions, dw as ThreadDetailOptions, dx as ThreadListOptions, dy as ThreadSummaryEventOptions, dz as TraceContent, dA as TraceError, dB as TraceSpan, dC as TraceSpanKind, dD as TraceSpanStatus, dE as TraceView, dF as UpdateClientDeploymentRequest, dG as UploadPart, dH as UploadPartAck, dI as UploadSession, dJ as UploadSessionStart, dK as WaitForAgentRunOptions, dL as WorkflowInputDefinition } from './client-BQN80Nb5.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
|
-
export { AttachmentDescriptor, AttachmentProcessingInputs, AttachmentProcessingOutput, ClientInputFeature } from '@agents24/client';
|
|
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.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_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.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_trace", "runs.get_tree"];
|
|
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.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_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"];
|
|
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-
|
|
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
|
|
1
|
+
import { E as EmbeddedRunSnapshot } from './client-BQN80Nb5.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 DictationCreate, ak as DictationFeature, al as DictationScope, am as DictationSession, an as EffectiveCustomerResourcePolicyRequest, ao as EffectiveResourcePolicy, ap as EmbedAgentAliasResolution, aq as EmbedAttachmentContentAccessRequest, ar as EmbedCustomerPrincipalResolveRequest, as as EmbedCustomerPrincipalResolveResponse, at as EmbedDelegationOptions, au as EmbedDictationQuery, av as EmbedResourcePolicyRequest, aw as EmbedRunCancelOptions, ax as EmbedRunStartRequest, ay as EmbedRuntimeBootstrap, az as EmbedRuntimeBootstrapRequest, aA as EmbedRuntimeBootstrapResult, aB as EmbedStreamRequest, aC as EmbedThreadMessageEdit, aD as EmbedThreadMessageScope, aE as EmbedThreadMessageSubmit, aF as EmbeddedDictationCreate, aG as EmbeddedDictationScope, aH as EmbeddedResponseFeedbackInput, aI as EvidenceLocation, aJ as ExternalToolCompletionReceipt, aK as ExternalToolCompletionRequest, aL as FailureCategory, aM as FailureView, aN as FeedbackRating, aO as FeedbackReason, aP as FileAssetReference, aQ as GraphBuilder, aR as GraphDefinition, aS as GraphEdge, aT as GraphHints, aU as GraphNode, aV as GraphValueRef, aW as HitlAction, aX as HitlAnswer, aY as HostedArtifactDraft, aZ as HostedArtifactsNamespace, a_ as IndexedCleanupAck, a$ as IndexedContent, b0 as IndexedContentListOptions, b1 as IndexedContentPage, b2 as IndexedRecordIdListOptions, b3 as IndexedRecordIdPage, b4 as IngestionBatch, b5 as IngestionBatchListOptions, b6 as IngestionBatchPage, b7 as IngestionJob, b8 as IngestionJobAcknowledgment, b9 as IngestionJobGetOptions, ba as IngestionJobListOptions, bb as IngestionJobPage, bc as IngestionJobStart, bd as JobFieldData, be as JobPayloadDownload, bf as JobResult, bg as JobResultOptions, bh as JobStep, bi as JobStepData, bj as JobStepDataOptions, bk as JobStepDownloadOptions, bl as JobStepFieldOptions, bm as JobSteps, bn as KnowledgeStore, bo as KnowledgeStoreChunking, bp as KnowledgeStoreCreate, bq as KnowledgeStoreListOptions, br as KnowledgeStoreNamespace, bs as KnowledgeStorePage, bt as KnowledgeStoreStats, bu as KnowledgeStoreUpdate, bv as LatestOrPinnedPolicy, bw as McpAuthStartRequest, bx as McpAuthStartResult, by as ModelCapabilitiesV1, bz as ModelOffering, bA as ModelPricingDimension, bB as ModelProviderCreate, bC as ModelProviderRoute, bD as ModelRequirements, bE as ModelRuntimeKind, bF as ModelSummary, bG as ModelsNamespace, bH as MultiAgentThreadListRequest, bI as MultiAgentThreadSummaryEventOptions, bJ as NamespaceDataStats, bK as NamespaceInput, bL as NamespaceListOptions, bM as NamespacePage, bN as NamespaceSummary, bO as NativePlatform, bP as NodeAuthoringSpec, bQ as NodeCatalogItem, bR as NodeCatalogResponse, bS as NodeSchemaResponse, bT as OCROptions, bU as PayloadAvailability, bV as PipelineInputField, bW as PipelineInputSchema, bX as PipelineInputStep, bY as PipelineInputUpload, bZ as PipelineListOptions, b_ as PipelinePage, b$ as PipelineResultPage, c0 as PipelineSummary, c1 as PortableResourceKind, c2 as ProcessedContent, c3 as ProcessedContentOptions, c4 as ProcessedContentReference, c5 as ProcessingInput, c6 as ProcessingInputSource, c7 as ProcessingProgress, c8 as PublishedExecutable, c9 as RagRetention, ca as RawVectorMatch, cb as RawVectorRecord, cc as RecordBatchResult, cd as RecordCapabilities, ce as RecordDeleteRequest, cf as RecordFetchRequest, cg as RecordFetchResult, ch as RecordListRequest, ci as RecordMutationAck, cj as RecordPage, ck as RecordQueryRequest, cl as RecordQueryResult, cm as RecordUpdateRequest, cn as RecordUpsertRequest, co as RequestOptions, cp as ResetResourcePolicyQuotaRequest, cq as ResourceCallableBinding, cr as ResourceCallableBindingStatus, cs as ResourceCandidateList, ct as ResourceInstallation, cu as ResourceInstallationApplication, cv as ResourceInstallationApplyRequest, cw as ResourceInstallationBinding, cx as ResourceInstallationCreateRequest, cy as ResourceInstallationDeploymentRequest, cz as ResourceInstallationLinkRequest, cA as ResourceInstallationList, cB as ResourceInstallationOperation, cC as ResourceInstallationPlan, cD as ResourceInstallationPlanUpload, cE as ResourceInstallationPublication, cF as ResourceInstallationPublishRequest, cG as ResourceInstallationPullAcceptRequest, cH as ResourceInstallationPullChange, cI as ResourceInstallationPullPayload, cJ as ResourceInstallationPullPlan, cK as ResourceInstallationResourceListOptions, cL as ResourceInstallationSecretStatus, cM as ResourceInstallationSecretsRequest, cN as ResourcePackageArchive, cO as ResourcePackageCandidateOptions, cP as ResourcePackageDependency, cQ as ResourcePackageDiagnostic, cR as ResourcePackageExportPlan, cS as ResourcePackageExportRequest, cT as ResourcePackageImportPreview, cU as ResourcePackageImportResult, cV as ResourcePackageImportUpload, cW as ResourcePackageUpload, cX as ResourcePackageValidationResult, cY as ResourcePolicyList, cZ as ResourcePolicyQuotaSchedule, c_ as ResourcePolicyQuotaScheduleResult, c$ as ResourcePolicySubjectRef, d0 as ResourcePolicySummary, d1 as ResourceSelector, d2 as ResourceToolExport, d3 as ResponseFeedback, d4 as ResponseFeedbackResult, d5 as ResumeRunRequest, d6 as RetrievalEvidence, d7 as RunCancelOptions, d8 as RunContextOptions, d9 as RunExecutionLimits, da as RunStatus, db as RunTrace, dc as RunUsage, dd as RuntimeSubmissionResponse, de as ServerAttachmentUploadOptions, df as ServerEmbedAttachmentUploadOptions, dg as SetCustomerResourcePolicyAssignmentRequest, dh as SetResourcePolicyQuotaScheduleRequest, di as SourceDescriptor, dj as SourceOutcome, dk as StartRunResult, dl as StateVariableDefinition, dm as StreamRequestOptions, dn as StreamResult, dp as ThreadComputerContentAccess, dq as ThreadComputerFile, dr as ThreadComputerFileOptions, ds as ThreadComputerFileText, dt as ThreadComputerFiles, du as ThreadComputerStatus, dv as ThreadDeleteOptions, dw as ThreadDetailOptions, dx as ThreadListOptions, dy as ThreadSummaryEventOptions, dz as TraceContent, dA as TraceError, dB as TraceSpan, dC as TraceSpanKind, dD as TraceSpanStatus, dE as TraceView, dF as UpdateClientDeploymentRequest, dG as UploadPart, dH as UploadPartAck, dI as UploadSession, dJ as UploadSessionStart, dK as WaitForAgentRunOptions, dL as WorkflowInputDefinition } from './client-BQN80Nb5.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
|
-
export { AttachmentDescriptor, AttachmentProcessingInputs, AttachmentProcessingOutput, ClientInputFeature } from '@agents24/client';
|
|
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.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_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.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_trace", "runs.get_tree"];
|
|
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.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_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"];
|
|
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, ...wire } = payload;
|
|
222
|
-
return { ...wire, ...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
|
}
|
|
@@ -266,6 +275,7 @@ var AgentsNamespace = class {
|
|
|
266
275
|
return this.http.requestJson(`/agents/${encodeURIComponent(agentId)}/threads/${encodeURIComponent(threadId)}/messages`, {
|
|
267
276
|
method: "POST",
|
|
268
277
|
body: {
|
|
278
|
+
...payload.requestedOutputs === void 0 ? {} : { requested_outputs: payload.requestedOutputs },
|
|
269
279
|
mode: payload.mode,
|
|
270
280
|
input: payload.input,
|
|
271
281
|
attachment_ids: payload.attachmentIds ?? [],
|
|
@@ -306,7 +316,7 @@ var AgentsNamespace = class {
|
|
|
306
316
|
});
|
|
307
317
|
}
|
|
308
318
|
async stream(agentId, payload, onEvent, mode, options = {}) {
|
|
309
|
-
const response = await this.http.fetchOrThrow(this.http.url(`/agents/${agentId}/stream`, { mode, stream_features: "assistant-completion-v1" }), {
|
|
319
|
+
const response = await this.http.fetchOrThrow(this.http.url(`/agents/${agentId}/stream`, { mode, stream_features: "assistant-completion-v1,workflow-outputs-v1" }), {
|
|
310
320
|
method: "POST",
|
|
311
321
|
headers: this.http.streamHeaders(),
|
|
312
322
|
body: JSON.stringify(runBody(payload)),
|
|
@@ -330,6 +340,7 @@ var AgentsNamespace = class {
|
|
|
330
340
|
const form = new FormData();
|
|
331
341
|
if (options.threadId) form.set("thread_id", options.threadId);
|
|
332
342
|
if (options.agentVersionId) form.set("agent_version_id", options.agentVersionId);
|
|
343
|
+
if (options.transcriptPresentations) form.set("transcript_presentations", JSON.stringify(options.transcriptPresentations));
|
|
333
344
|
for (const file of options.files) form.append("files", file, file.name);
|
|
334
345
|
const response = await this.http.fetchOrThrow(this.http.url(`/agents/${agentId}/attachments/upload`), {
|
|
335
346
|
method: "POST",
|
|
@@ -537,6 +548,27 @@ var ClientSessionsNamespace = class {
|
|
|
537
548
|
};
|
|
538
549
|
|
|
539
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
|
+
}
|
|
540
572
|
var AgentRunWaitError = class extends Error {
|
|
541
573
|
constructor(runId, snapshot, name) {
|
|
542
574
|
super(`Stopped waiting for Agent run ${runId}.`);
|
|
@@ -547,7 +579,7 @@ var AgentRunWaitError = class extends Error {
|
|
|
547
579
|
runId;
|
|
548
580
|
snapshot;
|
|
549
581
|
};
|
|
550
|
-
async function waitForEmbeddedRun(runId, read, options = {}) {
|
|
582
|
+
async function waitForEmbeddedRun(runId, read, options = {}, observe) {
|
|
551
583
|
const timeoutMs = options.timeoutMs ?? 12e4;
|
|
552
584
|
if (!Number.isFinite(timeoutMs) || timeoutMs <= 0) throw new RangeError("timeoutMs must be a positive finite number.");
|
|
553
585
|
const controller = new AbortController();
|
|
@@ -566,7 +598,11 @@ async function waitForEmbeddedRun(runId, read, options = {}) {
|
|
|
566
598
|
controller.signal.throwIfAborted();
|
|
567
599
|
snapshot = await read(controller.signal);
|
|
568
600
|
controller.signal.throwIfAborted();
|
|
569
|
-
if (
|
|
601
|
+
if (terminal(snapshot.status)) return snapshot;
|
|
602
|
+
if (observe) {
|
|
603
|
+
await observeCompletion(observe, controller.signal);
|
|
604
|
+
continue;
|
|
605
|
+
}
|
|
570
606
|
await new Promise((resolve, reject) => {
|
|
571
607
|
const stop = () => {
|
|
572
608
|
clearTimeout(delay);
|
|
@@ -672,7 +708,7 @@ var EmbedNamespace = class extends EmbedDelegationsNamespace {
|
|
|
672
708
|
}
|
|
673
709
|
async openConversationSubmission(threadId, request, options) {
|
|
674
710
|
const response = await this.http.fetchOrThrow(
|
|
675
|
-
this.http.url(`/public/embed/threads/${encodeURIComponent(threadId)}/messages/stream`, { stream_features: options?.streamFeatures ?? "assistant-completion-v1" }),
|
|
711
|
+
this.http.url(`/public/embed/threads/${encodeURIComponent(threadId)}/messages/stream`, { stream_features: options?.streamFeatures ?? "assistant-completion-v1,workflow-outputs-v1" }),
|
|
676
712
|
{ method: "POST", headers: this.http.streamHeaders(void 0, options, true), body: JSON.stringify(request), signal: options?.signal },
|
|
677
713
|
"Failed to connect to the conversation endpoint."
|
|
678
714
|
);
|
|
@@ -685,6 +721,33 @@ var EmbedNamespace = class extends EmbedDelegationsNamespace {
|
|
|
685
721
|
body: request
|
|
686
722
|
});
|
|
687
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
|
+
}
|
|
688
751
|
};
|
|
689
752
|
var EmbedNamespace2 = class extends EmbedNamespace {
|
|
690
753
|
constructor(http) {
|
|
@@ -703,20 +766,22 @@ var EmbedNamespace2 = class extends EmbedNamespace {
|
|
|
703
766
|
});
|
|
704
767
|
}
|
|
705
768
|
async attachAgentRun(agentId, runId, payload, onEvent, options = {}) {
|
|
706
|
-
return this.stream(`/public/embed/agents/${agentId}/runs/${runId}/stream`, payload, onEvent, options);
|
|
769
|
+
return this.stream(`/public/embed/agents/${encodeURIComponent(agentId)}/runs/${encodeURIComponent(runId)}/stream`, payload, onEvent, options);
|
|
707
770
|
}
|
|
708
771
|
namespacePayload(payload) {
|
|
709
772
|
if (!payload || typeof payload !== "object") return payload;
|
|
710
|
-
const { knowledgeNamespaces, chatScope, customerTenant, ...wire } = payload;
|
|
773
|
+
const { knowledgeNamespaces, chatScope, customerTenant, requestedOutputs, dictationSessionId, ...wire } = payload;
|
|
711
774
|
return {
|
|
712
775
|
...wire,
|
|
776
|
+
...dictationSessionId === void 0 ? {} : { dictation_session_id: dictationSessionId },
|
|
777
|
+
...requestedOutputs === void 0 ? {} : { requested_outputs: requestedOutputs },
|
|
713
778
|
...customerTenant === void 0 ? {} : { customer_tenant: customerTenant },
|
|
714
779
|
...knowledgeNamespaces === void 0 ? {} : { knowledge_namespaces: knowledgeNamespaces },
|
|
715
780
|
...chatScope === void 0 ? {} : { chat_scope: chatScope }
|
|
716
781
|
};
|
|
717
782
|
}
|
|
718
783
|
async stream(path, payload, onEvent, options) {
|
|
719
|
-
const response = await this.http.fetchOrThrow(this.http.url(path, { stream_features: options.streamFeatures ?? "assistant-completion-v1", lease_seconds: options.leaseSeconds }), {
|
|
784
|
+
const response = await this.http.fetchOrThrow(this.http.url(path, { stream_features: options.streamFeatures ?? "assistant-completion-v1,workflow-outputs-v1", lease_seconds: options.leaseSeconds }), {
|
|
720
785
|
method: "POST",
|
|
721
786
|
headers: this.http.streamHeaders(void 0, options, true),
|
|
722
787
|
body: JSON.stringify(this.namespacePayload(payload)),
|
|
@@ -850,6 +915,8 @@ var EmbedNamespace2 = class extends EmbedNamespace {
|
|
|
850
915
|
customer_tenant: payload.customerTenant,
|
|
851
916
|
...payload.trustedContext === void 0 ? {} : { trusted_context: payload.trustedContext },
|
|
852
917
|
execution_limits: payload.executionLimits,
|
|
918
|
+
...payload.dictationSessionId === void 0 ? {} : { dictation_session_id: payload.dictationSessionId },
|
|
919
|
+
...payload.requestedOutputs === void 0 ? {} : { requested_outputs: payload.requestedOutputs },
|
|
853
920
|
tool_inputs: payload.toolInputs ?? {},
|
|
854
921
|
...payload.metadata === void 0 ? {} : { metadata: payload.metadata }
|
|
855
922
|
},
|
|
@@ -1029,6 +1096,16 @@ var EmbedNamespace2 = class extends EmbedNamespace {
|
|
|
1029
1096
|
chat_scope: options.chatScope
|
|
1030
1097
|
}, options: requestOptions, mutation: true });
|
|
1031
1098
|
}
|
|
1099
|
+
listAgentRunOutputs(agentId, runId, scope) {
|
|
1100
|
+
return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/runs/${encodeURIComponent(runId)}/outputs`, {
|
|
1101
|
+
query: { ...this.threadMessageQuery(scope), after: scope.after, limit: scope.limit }
|
|
1102
|
+
});
|
|
1103
|
+
}
|
|
1104
|
+
getAgentRunOutput(agentId, runId, outputId, scope) {
|
|
1105
|
+
return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/runs/${encodeURIComponent(runId)}/outputs/${encodeURIComponent(outputId)}`, {
|
|
1106
|
+
query: this.threadMessageQuery(scope)
|
|
1107
|
+
});
|
|
1108
|
+
}
|
|
1032
1109
|
getAgentRun(agentId, runId, scope, options = {}) {
|
|
1033
1110
|
return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/runs/${encodeURIComponent(runId)}`, {
|
|
1034
1111
|
query: this.threadMessageQuery(scope),
|
|
@@ -1036,7 +1113,25 @@ var EmbedNamespace2 = class extends EmbedNamespace {
|
|
|
1036
1113
|
});
|
|
1037
1114
|
}
|
|
1038
1115
|
waitForAgentRun(agentId, runId, scope, options = {}) {
|
|
1039
|
-
|
|
1116
|
+
let cursor;
|
|
1117
|
+
return waitForEmbeddedRun(
|
|
1118
|
+
runId,
|
|
1119
|
+
(signal) => this.getAgentRun(agentId, runId, scope, { signal }),
|
|
1120
|
+
options,
|
|
1121
|
+
options.observation === "stream" ? (onEvent, signal) => this.attachAgentRun(agentId, runId, {
|
|
1122
|
+
external_user_id: scope.externalUserId,
|
|
1123
|
+
external_session_id: scope.externalSessionId,
|
|
1124
|
+
integration_id: scope.integrationId,
|
|
1125
|
+
runtime_target: scope.runtimeTarget,
|
|
1126
|
+
chatScope: scope.chatScope,
|
|
1127
|
+
cursor
|
|
1128
|
+
}, (event) => {
|
|
1129
|
+
if (event.run_id === runId) {
|
|
1130
|
+
cursor = event.seq;
|
|
1131
|
+
onEvent(event);
|
|
1132
|
+
}
|
|
1133
|
+
}, { signal, leaseSeconds: 60 }) : void 0
|
|
1134
|
+
);
|
|
1040
1135
|
}
|
|
1041
1136
|
getAgentRunContext(agentId, runId, options) {
|
|
1042
1137
|
return this.http.requestJson(`/public/embed/agents/${agentId}/runs/${runId}/context`, { query: {
|
|
@@ -1064,6 +1159,7 @@ var EmbedNamespace2 = class extends EmbedNamespace {
|
|
|
1064
1159
|
}
|
|
1065
1160
|
async uploadAgentAttachments(agentId, options) {
|
|
1066
1161
|
const form = new FormData();
|
|
1162
|
+
if (options.transcriptPresentations) form.set("transcript_presentations", JSON.stringify(options.transcriptPresentations));
|
|
1067
1163
|
form.set("external_user_id", options.externalUserId);
|
|
1068
1164
|
if (options.externalSessionId) form.set("external_session_id", options.externalSessionId);
|
|
1069
1165
|
if (options.threadId) form.set("thread_id", options.threadId);
|
|
@@ -1350,8 +1446,18 @@ var ResourceInstallationsNamespace = class {
|
|
|
1350
1446
|
var RunsNamespace = class {
|
|
1351
1447
|
constructor(http) {
|
|
1352
1448
|
this.http = http;
|
|
1449
|
+
this.outputs = {
|
|
1450
|
+
list: (input) => http.requestJson(
|
|
1451
|
+
`/agents/runs/${encodeURIComponent(input.runId)}/outputs`,
|
|
1452
|
+
{ query: { after: input.after, limit: input.limit } }
|
|
1453
|
+
),
|
|
1454
|
+
get: (input) => http.requestJson(
|
|
1455
|
+
`/agents/runs/${encodeURIComponent(input.runId)}/outputs/${encodeURIComponent(input.outputId)}`
|
|
1456
|
+
)
|
|
1457
|
+
};
|
|
1353
1458
|
}
|
|
1354
1459
|
http;
|
|
1460
|
+
outputs;
|
|
1355
1461
|
get(runId, options = {}) {
|
|
1356
1462
|
return this.http.requestJson(`/agents/runs/${runId}`, { query: { include_tree: options.includeTree } });
|
|
1357
1463
|
}
|
|
@@ -2012,12 +2118,15 @@ var Agents24 = class extends GeneratedIntegrationNamespaces {
|
|
|
2012
2118
|
|
|
2013
2119
|
// src/generated/manifest.ts
|
|
2014
2120
|
var SDK_OPERATION_IDS = [
|
|
2121
|
+
"agents.cancel_dictation_session",
|
|
2015
2122
|
"agents.cancel_run",
|
|
2016
2123
|
"agents.catalog",
|
|
2017
2124
|
"agents.create",
|
|
2018
2125
|
"agents.create_attachment_content_access",
|
|
2126
|
+
"agents.create_dictation_session",
|
|
2019
2127
|
"agents.delete",
|
|
2020
2128
|
"agents.get",
|
|
2129
|
+
"agents.get_dictation_session",
|
|
2021
2130
|
"agents.list",
|
|
2022
2131
|
"agents.publish",
|
|
2023
2132
|
"agents.resume_run",
|
|
@@ -2042,6 +2151,9 @@ var SDK_OPERATION_IDS = [
|
|
|
2042
2151
|
"client.deployments.get",
|
|
2043
2152
|
"client.deployments.list",
|
|
2044
2153
|
"client.deployments.update",
|
|
2154
|
+
"client.dictation.cancel",
|
|
2155
|
+
"client.dictation.create",
|
|
2156
|
+
"client.dictation.get",
|
|
2045
2157
|
"client.hitl.resume",
|
|
2046
2158
|
"client.jwks",
|
|
2047
2159
|
"client.mcp.redeem",
|
|
@@ -2049,6 +2161,8 @@ var SDK_OPERATION_IDS = [
|
|
|
2049
2161
|
"client.resource_policy",
|
|
2050
2162
|
"client.runs.attach",
|
|
2051
2163
|
"client.runs.cancel",
|
|
2164
|
+
"client.runs.outputs.get",
|
|
2165
|
+
"client.runs.outputs.list",
|
|
2052
2166
|
"client.runs.set_feedback",
|
|
2053
2167
|
"client.sessions.anonymous",
|
|
2054
2168
|
"client.sessions.backendExchange",
|
|
@@ -2079,10 +2193,12 @@ var SDK_OPERATION_IDS = [
|
|
|
2079
2193
|
"embed.attach_agent_run",
|
|
2080
2194
|
"embed.bootstrap_runtime",
|
|
2081
2195
|
"embed.cancel_agent_run",
|
|
2196
|
+
"embed.cancel_dictation_session",
|
|
2082
2197
|
"embed.complete_tool_invocation",
|
|
2083
2198
|
"embed.create_agent_computer_content_access",
|
|
2084
2199
|
"embed.create_attachment_content_access",
|
|
2085
2200
|
"embed.create_conversation_computer_content_access",
|
|
2201
|
+
"embed.create_dictation_session",
|
|
2086
2202
|
"embed.delete_agent_thread",
|
|
2087
2203
|
"embed.delete_conversation_thread",
|
|
2088
2204
|
"embed.get_agent_computer",
|
|
@@ -2091,12 +2207,15 @@ var SDK_OPERATION_IDS = [
|
|
|
2091
2207
|
"embed.get_agent_thread",
|
|
2092
2208
|
"embed.get_conversation_computer",
|
|
2093
2209
|
"embed.get_conversation_thread",
|
|
2210
|
+
"embed.get_dictation_session",
|
|
2211
|
+
"embed.get_output",
|
|
2094
2212
|
"embed.get_resource_policy",
|
|
2095
2213
|
"embed.get_runtime_bootstrap",
|
|
2096
2214
|
"embed.list_agent_computer_files",
|
|
2097
2215
|
"embed.list_agent_threads",
|
|
2098
2216
|
"embed.list_agent_threads_multi",
|
|
2099
2217
|
"embed.list_conversation_computer_files",
|
|
2218
|
+
"embed.list_outputs",
|
|
2100
2219
|
"embed.open_conversation_submission",
|
|
2101
2220
|
"embed.read_agent_computer_file",
|
|
2102
2221
|
"embed.read_conversation_computer_file",
|
|
@@ -2206,8 +2325,10 @@ var SDK_OPERATION_IDS = [
|
|
|
2206
2325
|
"runs.get",
|
|
2207
2326
|
"runs.get_context",
|
|
2208
2327
|
"runs.get_events",
|
|
2328
|
+
"runs.get_output",
|
|
2209
2329
|
"runs.get_trace",
|
|
2210
|
-
"runs.get_tree"
|
|
2330
|
+
"runs.get_tree",
|
|
2331
|
+
"runs.list_outputs"
|
|
2211
2332
|
];
|
|
2212
2333
|
|
|
2213
2334
|
export { AgentDefinitionBuilder, AgentRunWaitError, Agents24, Agents24SDKError as Agents24NodeError, Agents24SDKError, GraphBuilder, HostedArtifactsNamespace, ModelsNamespace, SDK_OPERATION_IDS };
|