@agents24/node 0.5.33 → 0.5.34
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 +39 -3
- 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 +39 -3
- package/dist/bff.js.map +1 -1
- package/dist/{client-IX8nsoyr.d.cts → client-CY0o68YO.d.cts} +25 -0
- package/dist/{client-IX8nsoyr.d.ts → client-CY0o68YO.d.ts} +25 -0
- package/dist/index.cjs +36 -7
- 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 +36 -7
- package/dist/index.js.map +1 -1
- package/dist/types/agents.d.ts +1 -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-types.d.ts +3 -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/manifest.d.ts +1 -1
- package/dist/types/generated/manifest.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 +6 -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 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-
|
|
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';
|
|
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_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"];
|
|
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 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-
|
|
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';
|
|
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_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"];
|
|
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,8 +218,8 @@ 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, ...wire } = payload;
|
|
222
|
+
return { ...wire, ...requestedOutputs === void 0 ? {} : { requested_outputs: requestedOutputs }, ...customerTenant === void 0 ? {} : { customer_tenant: customerTenant } };
|
|
223
223
|
}
|
|
224
224
|
var AgentsNamespace = class {
|
|
225
225
|
constructor(http) {
|
|
@@ -266,6 +266,7 @@ var AgentsNamespace = class {
|
|
|
266
266
|
return this.http.requestJson(`/agents/${encodeURIComponent(agentId)}/threads/${encodeURIComponent(threadId)}/messages`, {
|
|
267
267
|
method: "POST",
|
|
268
268
|
body: {
|
|
269
|
+
...payload.requestedOutputs === void 0 ? {} : { requested_outputs: payload.requestedOutputs },
|
|
269
270
|
mode: payload.mode,
|
|
270
271
|
input: payload.input,
|
|
271
272
|
attachment_ids: payload.attachmentIds ?? [],
|
|
@@ -306,7 +307,7 @@ var AgentsNamespace = class {
|
|
|
306
307
|
});
|
|
307
308
|
}
|
|
308
309
|
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" }), {
|
|
310
|
+
const response = await this.http.fetchOrThrow(this.http.url(`/agents/${agentId}/stream`, { mode, stream_features: "assistant-completion-v1,workflow-outputs-v1" }), {
|
|
310
311
|
method: "POST",
|
|
311
312
|
headers: this.http.streamHeaders(),
|
|
312
313
|
body: JSON.stringify(runBody(payload)),
|
|
@@ -672,7 +673,7 @@ var EmbedNamespace = class extends EmbedDelegationsNamespace {
|
|
|
672
673
|
}
|
|
673
674
|
async openConversationSubmission(threadId, request, options) {
|
|
674
675
|
const response = await this.http.fetchOrThrow(
|
|
675
|
-
this.http.url(`/public/embed/threads/${encodeURIComponent(threadId)}/messages/stream`, { stream_features: options?.streamFeatures ?? "assistant-completion-v1" }),
|
|
676
|
+
this.http.url(`/public/embed/threads/${encodeURIComponent(threadId)}/messages/stream`, { stream_features: options?.streamFeatures ?? "assistant-completion-v1,workflow-outputs-v1" }),
|
|
676
677
|
{ method: "POST", headers: this.http.streamHeaders(void 0, options, true), body: JSON.stringify(request), signal: options?.signal },
|
|
677
678
|
"Failed to connect to the conversation endpoint."
|
|
678
679
|
);
|
|
@@ -707,16 +708,17 @@ var EmbedNamespace2 = class extends EmbedNamespace {
|
|
|
707
708
|
}
|
|
708
709
|
namespacePayload(payload) {
|
|
709
710
|
if (!payload || typeof payload !== "object") return payload;
|
|
710
|
-
const { knowledgeNamespaces, chatScope, customerTenant, ...wire } = payload;
|
|
711
|
+
const { knowledgeNamespaces, chatScope, customerTenant, requestedOutputs, ...wire } = payload;
|
|
711
712
|
return {
|
|
712
713
|
...wire,
|
|
714
|
+
...requestedOutputs === void 0 ? {} : { requested_outputs: requestedOutputs },
|
|
713
715
|
...customerTenant === void 0 ? {} : { customer_tenant: customerTenant },
|
|
714
716
|
...knowledgeNamespaces === void 0 ? {} : { knowledge_namespaces: knowledgeNamespaces },
|
|
715
717
|
...chatScope === void 0 ? {} : { chat_scope: chatScope }
|
|
716
718
|
};
|
|
717
719
|
}
|
|
718
720
|
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 }), {
|
|
721
|
+
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
722
|
method: "POST",
|
|
721
723
|
headers: this.http.streamHeaders(void 0, options, true),
|
|
722
724
|
body: JSON.stringify(this.namespacePayload(payload)),
|
|
@@ -850,6 +852,7 @@ var EmbedNamespace2 = class extends EmbedNamespace {
|
|
|
850
852
|
customer_tenant: payload.customerTenant,
|
|
851
853
|
...payload.trustedContext === void 0 ? {} : { trusted_context: payload.trustedContext },
|
|
852
854
|
execution_limits: payload.executionLimits,
|
|
855
|
+
...payload.requestedOutputs === void 0 ? {} : { requested_outputs: payload.requestedOutputs },
|
|
853
856
|
tool_inputs: payload.toolInputs ?? {},
|
|
854
857
|
...payload.metadata === void 0 ? {} : { metadata: payload.metadata }
|
|
855
858
|
},
|
|
@@ -1029,6 +1032,16 @@ var EmbedNamespace2 = class extends EmbedNamespace {
|
|
|
1029
1032
|
chat_scope: options.chatScope
|
|
1030
1033
|
}, options: requestOptions, mutation: true });
|
|
1031
1034
|
}
|
|
1035
|
+
listAgentRunOutputs(agentId, runId, scope) {
|
|
1036
|
+
return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/runs/${encodeURIComponent(runId)}/outputs`, {
|
|
1037
|
+
query: { ...this.threadMessageQuery(scope), after: scope.after, limit: scope.limit }
|
|
1038
|
+
});
|
|
1039
|
+
}
|
|
1040
|
+
getAgentRunOutput(agentId, runId, outputId, scope) {
|
|
1041
|
+
return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/runs/${encodeURIComponent(runId)}/outputs/${encodeURIComponent(outputId)}`, {
|
|
1042
|
+
query: this.threadMessageQuery(scope)
|
|
1043
|
+
});
|
|
1044
|
+
}
|
|
1032
1045
|
getAgentRun(agentId, runId, scope, options = {}) {
|
|
1033
1046
|
return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/runs/${encodeURIComponent(runId)}`, {
|
|
1034
1047
|
query: this.threadMessageQuery(scope),
|
|
@@ -1350,8 +1363,18 @@ var ResourceInstallationsNamespace = class {
|
|
|
1350
1363
|
var RunsNamespace = class {
|
|
1351
1364
|
constructor(http) {
|
|
1352
1365
|
this.http = http;
|
|
1366
|
+
this.outputs = {
|
|
1367
|
+
list: (input) => http.requestJson(
|
|
1368
|
+
`/agents/runs/${encodeURIComponent(input.runId)}/outputs`,
|
|
1369
|
+
{ query: { after: input.after, limit: input.limit } }
|
|
1370
|
+
),
|
|
1371
|
+
get: (input) => http.requestJson(
|
|
1372
|
+
`/agents/runs/${encodeURIComponent(input.runId)}/outputs/${encodeURIComponent(input.outputId)}`
|
|
1373
|
+
)
|
|
1374
|
+
};
|
|
1353
1375
|
}
|
|
1354
1376
|
http;
|
|
1377
|
+
outputs;
|
|
1355
1378
|
get(runId, options = {}) {
|
|
1356
1379
|
return this.http.requestJson(`/agents/runs/${runId}`, { query: { include_tree: options.includeTree } });
|
|
1357
1380
|
}
|
|
@@ -2049,6 +2072,8 @@ var SDK_OPERATION_IDS = [
|
|
|
2049
2072
|
"client.resource_policy",
|
|
2050
2073
|
"client.runs.attach",
|
|
2051
2074
|
"client.runs.cancel",
|
|
2075
|
+
"client.runs.outputs.get",
|
|
2076
|
+
"client.runs.outputs.list",
|
|
2052
2077
|
"client.runs.set_feedback",
|
|
2053
2078
|
"client.sessions.anonymous",
|
|
2054
2079
|
"client.sessions.backendExchange",
|
|
@@ -2091,12 +2116,14 @@ var SDK_OPERATION_IDS = [
|
|
|
2091
2116
|
"embed.get_agent_thread",
|
|
2092
2117
|
"embed.get_conversation_computer",
|
|
2093
2118
|
"embed.get_conversation_thread",
|
|
2119
|
+
"embed.get_output",
|
|
2094
2120
|
"embed.get_resource_policy",
|
|
2095
2121
|
"embed.get_runtime_bootstrap",
|
|
2096
2122
|
"embed.list_agent_computer_files",
|
|
2097
2123
|
"embed.list_agent_threads",
|
|
2098
2124
|
"embed.list_agent_threads_multi",
|
|
2099
2125
|
"embed.list_conversation_computer_files",
|
|
2126
|
+
"embed.list_outputs",
|
|
2100
2127
|
"embed.open_conversation_submission",
|
|
2101
2128
|
"embed.read_agent_computer_file",
|
|
2102
2129
|
"embed.read_conversation_computer_file",
|
|
@@ -2206,8 +2233,10 @@ var SDK_OPERATION_IDS = [
|
|
|
2206
2233
|
"runs.get",
|
|
2207
2234
|
"runs.get_context",
|
|
2208
2235
|
"runs.get_events",
|
|
2236
|
+
"runs.get_output",
|
|
2209
2237
|
"runs.get_trace",
|
|
2210
|
-
"runs.get_tree"
|
|
2238
|
+
"runs.get_tree",
|
|
2239
|
+
"runs.list_outputs"
|
|
2211
2240
|
];
|
|
2212
2241
|
|
|
2213
2242
|
export { AgentDefinitionBuilder, AgentRunWaitError, Agents24, Agents24SDKError as Agents24NodeError, Agents24SDKError, GraphBuilder, HostedArtifactsNamespace, ModelsNamespace, SDK_OPERATION_IDS };
|