@agents24/node 0.5.21 → 0.5.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/compatibility.json +6 -6
  2. package/dist/bff.cjs +314 -199
  3. package/dist/bff.cjs.map +1 -1
  4. package/dist/bff.d.cts +3 -1
  5. package/dist/bff.d.ts +3 -1
  6. package/dist/bff.js +314 -199
  7. package/dist/bff.js.map +1 -1
  8. package/dist/{client-CR3usQ8l.d.cts → client-BTqjlaCt.d.cts} +279 -185
  9. package/dist/{client-CR3usQ8l.d.ts → client-BTqjlaCt.d.ts} +279 -185
  10. package/dist/index.cjs +126 -18
  11. package/dist/index.cjs.map +1 -1
  12. package/dist/index.d.cts +2 -2
  13. package/dist/index.d.ts +2 -2
  14. package/dist/index.js +126 -18
  15. package/dist/index.js.map +1 -1
  16. package/dist/types/bff-agent-resolution.d.ts +2 -0
  17. package/dist/types/bff-agent-resolution.d.ts.map +1 -1
  18. package/dist/types/bff-delegations.d.ts +5 -0
  19. package/dist/types/bff-delegations.d.ts.map +1 -0
  20. package/dist/types/bff-request.d.ts +36 -0
  21. package/dist/types/bff-request.d.ts.map +1 -0
  22. package/dist/types/bff.d.ts.map +1 -1
  23. package/dist/types/delegations.d.ts +1 -78
  24. package/dist/types/delegations.d.ts.map +1 -1
  25. package/dist/types/embed-types.d.ts +302 -0
  26. package/dist/types/embed-types.d.ts.map +1 -0
  27. package/dist/types/embed.d.ts +3 -2
  28. package/dist/types/embed.d.ts.map +1 -1
  29. package/dist/types/generated/delegation-types.d.ts +130 -0
  30. package/dist/types/generated/delegation-types.d.ts.map +1 -0
  31. package/dist/types/generated/embedDelegations.d.ts +12 -0
  32. package/dist/types/generated/embedDelegations.d.ts.map +1 -0
  33. package/dist/types/generated/ingestion-types.d.ts +5 -0
  34. package/dist/types/generated/ingestion-types.d.ts.map +1 -1
  35. package/dist/types/generated/manifest.d.ts +1 -1
  36. package/dist/types/generated/manifest.d.ts.map +1 -1
  37. package/dist/types/types.d.ts +7 -276
  38. package/dist/types/types.d.ts.map +1 -1
  39. package/package.json +2 -2
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
- 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 AttachRunRequest, w as AttachmentContentAccessRequest, B as BackendSessionRequestOptions, x as BranchingHint, C as ClearCustomerResourcePolicyAssignmentResult, y as ClientAuthMode, z as ClientDeployment, D as ClientDeploymentListQuery, E as ClientDeploymentListResponse, F as ClientNativeProfile, G as ClientRuntimeNativeProfileInput, H as ClientRuntimeOidcConfig, I as ClientRuntimePolicyInput, J as ClientSessionCredentials, K as ControlPlaneAgentRunRequest, L as ControlPlaneRunEventsResponse, M as ConversationRunRequest, N as ConversationRunResult, O as ConversationRuntimeSelectionRequest, P as ConversationRuntimeSelectionResult, Q as ConversationThreadOptions, R as CreateBackendClientSessionRequest, S as CreateClientDeploymentRequest, T as CustomerIdentityRequest, U as CustomerPrincipalRefRequest, V as CustomerProfile, W as CustomerProfileList, X as CustomerProfilePatch, Y as CustomerProfileSearchOptions, Z as CustomerResourcePolicyAssignment, _ as DelegationAction, $ as DelegationActionRequest, a0 as DelegationEvents, a1 as DelegationHistory, a2 as DelegationHistoryTurn, a3 as DelegationStatus, a4 as DelegationTask, a5 as DelegationTaskList, a6 as EffectiveCustomerResourcePolicyRequest, a7 as EffectiveResourcePolicy, a8 as EmbedAgentAliasResolution, a9 as EmbedAttachmentContentAccessRequest, aa as EmbedCustomerPrincipalResolveRequest, ab as EmbedCustomerPrincipalResolveResponse, ac as EmbedResourcePolicyRequest, ad as EmbedRunCancelOptions, ae as EmbedRunStartRequest, af as EmbedRuntimeBootstrap, ag as EmbedStreamRequest, ah as EmbedThreadMessageEdit, ai as EmbedThreadMessageScope, aj as EmbedThreadMessageSubmit, ak as EmbeddedResponseFeedbackInput, al as FailureCategory, am as FailureView, an as FeedbackRating, ao as FeedbackReason, ap as GraphBuilder, aq as GraphDefinition, ar as GraphEdge, as as GraphHints, at as GraphNode, au as GraphValueRef, av as HitlAction, aw as HitlAnswer, ax as HostedArtifactDraft, ay as HostedArtifactsNamespace, az as IngestionBatch, aA as IngestionBatchListOptions, aB as IngestionBatchPage, aC as IngestionJob, aD as IngestionJobAcknowledgment, aE as IngestionJobGetOptions, aF as IngestionJobListOptions, aG as IngestionJobPage, aH as IngestionJobStart, aI as KnowledgeStore, aJ as KnowledgeStoreChunking, aK as KnowledgeStoreCreate, aL as KnowledgeStoreListOptions, aM as KnowledgeStoreNamespace, aN as KnowledgeStorePage, aO as KnowledgeStoreStats, aP as KnowledgeStoreUpdate, aQ as LatestOrPinnedPolicy, aR as McpAuthStartRequest, aS as McpAuthStartResult, aT as MultiAgentThreadListRequest, aU as MultiAgentThreadSummaryEventOptions, aV as NativePlatform, aW as NodeAuthoringSpec, aX as NodeCatalogItem, aY as NodeCatalogResponse, aZ as NodeSchemaResponse, a_ as PipelineInputField, a$ as PipelineInputSchema, b0 as PipelineInputStep, b1 as PipelineInputUpload, b2 as PipelineListOptions, b3 as PipelinePage, b4 as PipelineSummary, b5 as PortableResourceKind, b6 as PublishedExecutable, b7 as RequestOptions, b8 as ResetResourcePolicyQuotaRequest, b9 as ResourceCallableBinding, ba as ResourceCallableBindingStatus, bb as ResourceCandidateList, bc as ResourceInstallation, bd as ResourceInstallationApplication, be as ResourceInstallationApplyRequest, bf as ResourceInstallationBinding, bg as ResourceInstallationCreateRequest, bh as ResourceInstallationDeploymentRequest, bi as ResourceInstallationLinkRequest, bj as ResourceInstallationList, bk as ResourceInstallationOperation, bl as ResourceInstallationPlan, bm as ResourceInstallationPlanUpload, bn as ResourceInstallationPublication, bo as ResourceInstallationPublishRequest, bp as ResourceInstallationPullAcceptRequest, bq as ResourceInstallationPullChange, br as ResourceInstallationPullPayload, bs as ResourceInstallationPullPlan, bt as ResourceInstallationResourceListOptions, bu as ResourceInstallationSecretStatus, bv as ResourceInstallationSecretsRequest, bw as ResourcePackageArchive, bx as ResourcePackageCandidateOptions, by as ResourcePackageDependency, bz as ResourcePackageDiagnostic, bA as ResourcePackageExportPlan, bB as ResourcePackageExportRequest, bC as ResourcePackageImportPreview, bD as ResourcePackageImportResult, bE as ResourcePackageImportUpload, bF as ResourcePackageUpload, bG as ResourcePackageValidationResult, bH as ResourcePolicyList, bI as ResourcePolicyQuotaSchedule, bJ as ResourcePolicyQuotaScheduleResult, bK as ResourcePolicySubjectRef, bL as ResourcePolicySummary, bM as ResourceSelector, bN as ResourceToolExport, bO as ResponseFeedback, bP as ResponseFeedbackResult, bQ as ResumeRunRequest, bR as RunCancelOptions, bS as RunContextOptions, bT as RunStatus, bU as RunTrace, bV as ServerAttachmentUploadOptions, bW as ServerEmbedAttachmentUploadOptions, bX as SetCustomerResourcePolicyAssignmentRequest, bY as SetResourcePolicyQuotaScheduleRequest, bZ as StartRunResult, b_ as StateVariableDefinition, b$ as StreamRequestOptions, c0 as StreamResult, c1 as ThreadComputerContentAccess, c2 as ThreadComputerFile, c3 as ThreadComputerFileOptions, c4 as ThreadComputerFileText, c5 as ThreadComputerFiles, c6 as ThreadComputerStatus, c7 as ThreadDeleteOptions, c8 as ThreadDetailOptions, c9 as ThreadListOptions, ca as ThreadSummaryEventOptions, cb as TraceContent, cc as TraceError, cd as TraceSpan, ce as TraceSpanKind, cf as TraceSpanStatus, cg as TraceView, ch as UpdateClientDeploymentRequest, ci as WorkflowInputDefinition } from './client-CR3usQ8l.cjs';
1
+ 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 AttachRunRequest, w as AttachmentContentAccessRequest, B as BackendSessionRequestOptions, x as BranchingHint, C as ClearCustomerResourcePolicyAssignmentResult, y as ClientAuthMode, z as ClientDeployment, D as ClientDeploymentListQuery, E as ClientDeploymentListResponse, F as ClientNativeProfile, G as ClientRuntimeNativeProfileInput, H as ClientRuntimeOidcConfig, I as ClientRuntimePolicyInput, J as ClientSessionCredentials, K as ControlPlaneAgentRunRequest, L as ControlPlaneRunEventsResponse, M as ConversationRunRequest, N as ConversationRunResult, O as ConversationRuntimeSelectionRequest, P as ConversationRuntimeSelectionResult, Q as ConversationThreadOptions, R as CreateBackendClientSessionRequest, S as CreateClientDeploymentRequest, T as CustomerIdentityRequest, U as CustomerPrincipalRefRequest, V as CustomerProfile, W as CustomerProfileList, X as CustomerProfilePatch, Y as CustomerProfileSearchOptions, Z as CustomerResourcePolicyAssignment, _ as DelegationAction, $ as DelegationActionReceipt, a0 as DelegationActionRequest, a1 as DelegationEvents, a2 as DelegationHistory, a3 as DelegationHistoryTurn, a4 as DelegationStatus, a5 as DelegationTask, a6 as DelegationTaskList, a7 as EffectiveCustomerResourcePolicyRequest, a8 as EffectiveResourcePolicy, a9 as EmbedAgentAliasResolution, aa as EmbedAttachmentContentAccessRequest, ab as EmbedCustomerPrincipalResolveRequest, ac as EmbedCustomerPrincipalResolveResponse, ad as EmbedDelegationOptions, ae as EmbedResourcePolicyRequest, af as EmbedRunCancelOptions, ag as EmbedRunStartRequest, ah as EmbedRuntimeBootstrap, ai as EmbedStreamRequest, aj as EmbedThreadMessageEdit, ak as EmbedThreadMessageScope, al as EmbedThreadMessageSubmit, am as EmbeddedResponseFeedbackInput, an as FailureCategory, ao as FailureView, ap as FeedbackRating, aq as FeedbackReason, ar as GraphBuilder, as as GraphDefinition, at as GraphEdge, au as GraphHints, av as GraphNode, aw as GraphValueRef, ax as HitlAction, ay as HitlAnswer, az as HostedArtifactDraft, aA as HostedArtifactsNamespace, aB as IngestionBatch, aC as IngestionBatchListOptions, aD as IngestionBatchPage, aE as IngestionJob, aF as IngestionJobAcknowledgment, aG as IngestionJobGetOptions, aH as IngestionJobListOptions, aI as IngestionJobPage, aJ as IngestionJobStart, aK as KnowledgeStore, aL as KnowledgeStoreChunking, aM as KnowledgeStoreCreate, aN as KnowledgeStoreListOptions, aO as KnowledgeStoreNamespace, aP as KnowledgeStorePage, aQ as KnowledgeStoreStats, aR as KnowledgeStoreUpdate, aS as LatestOrPinnedPolicy, aT as McpAuthStartRequest, aU as McpAuthStartResult, aV as MultiAgentThreadListRequest, aW as MultiAgentThreadSummaryEventOptions, aX as NativePlatform, aY as NodeAuthoringSpec, aZ as NodeCatalogItem, a_ as NodeCatalogResponse, a$ as NodeSchemaResponse, b0 as PipelineInputField, b1 as PipelineInputSchema, b2 as PipelineInputStep, b3 as PipelineInputUpload, b4 as PipelineListOptions, b5 as PipelinePage, b6 as PipelineSummary, b7 as PortableResourceKind, b8 as PublishedExecutable, b9 as RequestOptions, ba as ResetResourcePolicyQuotaRequest, bb as ResourceCallableBinding, bc as ResourceCallableBindingStatus, bd as ResourceCandidateList, be as ResourceInstallation, bf as ResourceInstallationApplication, bg as ResourceInstallationApplyRequest, bh as ResourceInstallationBinding, bi as ResourceInstallationCreateRequest, bj as ResourceInstallationDeploymentRequest, bk as ResourceInstallationLinkRequest, bl as ResourceInstallationList, bm as ResourceInstallationOperation, bn as ResourceInstallationPlan, bo as ResourceInstallationPlanUpload, bp as ResourceInstallationPublication, bq as ResourceInstallationPublishRequest, br as ResourceInstallationPullAcceptRequest, bs as ResourceInstallationPullChange, bt as ResourceInstallationPullPayload, bu as ResourceInstallationPullPlan, bv as ResourceInstallationResourceListOptions, bw as ResourceInstallationSecretStatus, bx as ResourceInstallationSecretsRequest, by as ResourcePackageArchive, bz as ResourcePackageCandidateOptions, bA as ResourcePackageDependency, bB as ResourcePackageDiagnostic, bC as ResourcePackageExportPlan, bD as ResourcePackageExportRequest, bE as ResourcePackageImportPreview, bF as ResourcePackageImportResult, bG as ResourcePackageImportUpload, bH as ResourcePackageUpload, bI as ResourcePackageValidationResult, bJ as ResourcePolicyList, bK as ResourcePolicyQuotaSchedule, bL as ResourcePolicyQuotaScheduleResult, bM as ResourcePolicySubjectRef, bN as ResourcePolicySummary, bO as ResourceSelector, bP as ResourceToolExport, bQ as ResponseFeedback, bR as ResponseFeedbackResult, bS as ResumeRunRequest, bT as RunCancelOptions, bU as RunContextOptions, bV as RunStatus, bW as RunTrace, bX as ServerAttachmentUploadOptions, bY as ServerEmbedAttachmentUploadOptions, bZ as SetCustomerResourcePolicyAssignmentRequest, b_ as SetResourcePolicyQuotaScheduleRequest, b$ as StartRunResult, c0 as StateVariableDefinition, c1 as StreamRequestOptions, c2 as StreamResult, c3 as ThreadComputerContentAccess, c4 as ThreadComputerFile, c5 as ThreadComputerFileOptions, c6 as ThreadComputerFileText, c7 as ThreadComputerFiles, c8 as ThreadComputerStatus, c9 as ThreadDeleteOptions, ca as ThreadDetailOptions, cb as ThreadListOptions, cc as ThreadSummaryEventOptions, cd as TraceContent, ce as TraceError, cf as TraceSpan, cg as TraceSpanKind, ch as TraceSpanStatus, ci as TraceView, cj as UpdateClientDeploymentRequest, ck as WorkflowInputDefinition } from './client-BTqjlaCt.cjs';
2
2
  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';
3
3
 
4
- 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.cancel_agent_run", "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_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.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", "ingestionJobs.cancel", "ingestionJobs.get", "ingestionJobs.list", "ingestionJobs.list_batches", "ingestionJobs.resume", "ingestionJobs.start", "ingestionJobs.upload_input", "instructions.publish", "knowledgeStores.archive", "knowledgeStores.create", "knowledgeStores.get", "knowledgeStores.list", "knowledgeStores.stats", "knowledgeStores.update", "pipelines.get", "pipelines.get_input_schema", "pipelines.get_published_executable", "pipelines.list", "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.prepare_development_session", "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"];
4
+ 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.cancel_agent_run", "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_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.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.cancel", "ingestionJobs.get", "ingestionJobs.list", "ingestionJobs.list_batches", "ingestionJobs.resume", "ingestionJobs.start", "ingestionJobs.upload_input", "instructions.publish", "knowledgeStores.archive", "knowledgeStores.create", "knowledgeStores.get", "knowledgeStores.list", "knowledgeStores.stats", "knowledgeStores.update", "pipelines.get", "pipelines.get_input_schema", "pipelines.get_published_executable", "pipelines.list", "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.prepare_development_session", "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"];
5
5
  type SDKOperationId = (typeof SDK_OPERATION_IDS)[number];
6
6
 
7
7
  export { type SDKOperationId, SDK_OPERATION_IDS };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- 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 AttachRunRequest, w as AttachmentContentAccessRequest, B as BackendSessionRequestOptions, x as BranchingHint, C as ClearCustomerResourcePolicyAssignmentResult, y as ClientAuthMode, z as ClientDeployment, D as ClientDeploymentListQuery, E as ClientDeploymentListResponse, F as ClientNativeProfile, G as ClientRuntimeNativeProfileInput, H as ClientRuntimeOidcConfig, I as ClientRuntimePolicyInput, J as ClientSessionCredentials, K as ControlPlaneAgentRunRequest, L as ControlPlaneRunEventsResponse, M as ConversationRunRequest, N as ConversationRunResult, O as ConversationRuntimeSelectionRequest, P as ConversationRuntimeSelectionResult, Q as ConversationThreadOptions, R as CreateBackendClientSessionRequest, S as CreateClientDeploymentRequest, T as CustomerIdentityRequest, U as CustomerPrincipalRefRequest, V as CustomerProfile, W as CustomerProfileList, X as CustomerProfilePatch, Y as CustomerProfileSearchOptions, Z as CustomerResourcePolicyAssignment, _ as DelegationAction, $ as DelegationActionRequest, a0 as DelegationEvents, a1 as DelegationHistory, a2 as DelegationHistoryTurn, a3 as DelegationStatus, a4 as DelegationTask, a5 as DelegationTaskList, a6 as EffectiveCustomerResourcePolicyRequest, a7 as EffectiveResourcePolicy, a8 as EmbedAgentAliasResolution, a9 as EmbedAttachmentContentAccessRequest, aa as EmbedCustomerPrincipalResolveRequest, ab as EmbedCustomerPrincipalResolveResponse, ac as EmbedResourcePolicyRequest, ad as EmbedRunCancelOptions, ae as EmbedRunStartRequest, af as EmbedRuntimeBootstrap, ag as EmbedStreamRequest, ah as EmbedThreadMessageEdit, ai as EmbedThreadMessageScope, aj as EmbedThreadMessageSubmit, ak as EmbeddedResponseFeedbackInput, al as FailureCategory, am as FailureView, an as FeedbackRating, ao as FeedbackReason, ap as GraphBuilder, aq as GraphDefinition, ar as GraphEdge, as as GraphHints, at as GraphNode, au as GraphValueRef, av as HitlAction, aw as HitlAnswer, ax as HostedArtifactDraft, ay as HostedArtifactsNamespace, az as IngestionBatch, aA as IngestionBatchListOptions, aB as IngestionBatchPage, aC as IngestionJob, aD as IngestionJobAcknowledgment, aE as IngestionJobGetOptions, aF as IngestionJobListOptions, aG as IngestionJobPage, aH as IngestionJobStart, aI as KnowledgeStore, aJ as KnowledgeStoreChunking, aK as KnowledgeStoreCreate, aL as KnowledgeStoreListOptions, aM as KnowledgeStoreNamespace, aN as KnowledgeStorePage, aO as KnowledgeStoreStats, aP as KnowledgeStoreUpdate, aQ as LatestOrPinnedPolicy, aR as McpAuthStartRequest, aS as McpAuthStartResult, aT as MultiAgentThreadListRequest, aU as MultiAgentThreadSummaryEventOptions, aV as NativePlatform, aW as NodeAuthoringSpec, aX as NodeCatalogItem, aY as NodeCatalogResponse, aZ as NodeSchemaResponse, a_ as PipelineInputField, a$ as PipelineInputSchema, b0 as PipelineInputStep, b1 as PipelineInputUpload, b2 as PipelineListOptions, b3 as PipelinePage, b4 as PipelineSummary, b5 as PortableResourceKind, b6 as PublishedExecutable, b7 as RequestOptions, b8 as ResetResourcePolicyQuotaRequest, b9 as ResourceCallableBinding, ba as ResourceCallableBindingStatus, bb as ResourceCandidateList, bc as ResourceInstallation, bd as ResourceInstallationApplication, be as ResourceInstallationApplyRequest, bf as ResourceInstallationBinding, bg as ResourceInstallationCreateRequest, bh as ResourceInstallationDeploymentRequest, bi as ResourceInstallationLinkRequest, bj as ResourceInstallationList, bk as ResourceInstallationOperation, bl as ResourceInstallationPlan, bm as ResourceInstallationPlanUpload, bn as ResourceInstallationPublication, bo as ResourceInstallationPublishRequest, bp as ResourceInstallationPullAcceptRequest, bq as ResourceInstallationPullChange, br as ResourceInstallationPullPayload, bs as ResourceInstallationPullPlan, bt as ResourceInstallationResourceListOptions, bu as ResourceInstallationSecretStatus, bv as ResourceInstallationSecretsRequest, bw as ResourcePackageArchive, bx as ResourcePackageCandidateOptions, by as ResourcePackageDependency, bz as ResourcePackageDiagnostic, bA as ResourcePackageExportPlan, bB as ResourcePackageExportRequest, bC as ResourcePackageImportPreview, bD as ResourcePackageImportResult, bE as ResourcePackageImportUpload, bF as ResourcePackageUpload, bG as ResourcePackageValidationResult, bH as ResourcePolicyList, bI as ResourcePolicyQuotaSchedule, bJ as ResourcePolicyQuotaScheduleResult, bK as ResourcePolicySubjectRef, bL as ResourcePolicySummary, bM as ResourceSelector, bN as ResourceToolExport, bO as ResponseFeedback, bP as ResponseFeedbackResult, bQ as ResumeRunRequest, bR as RunCancelOptions, bS as RunContextOptions, bT as RunStatus, bU as RunTrace, bV as ServerAttachmentUploadOptions, bW as ServerEmbedAttachmentUploadOptions, bX as SetCustomerResourcePolicyAssignmentRequest, bY as SetResourcePolicyQuotaScheduleRequest, bZ as StartRunResult, b_ as StateVariableDefinition, b$ as StreamRequestOptions, c0 as StreamResult, c1 as ThreadComputerContentAccess, c2 as ThreadComputerFile, c3 as ThreadComputerFileOptions, c4 as ThreadComputerFileText, c5 as ThreadComputerFiles, c6 as ThreadComputerStatus, c7 as ThreadDeleteOptions, c8 as ThreadDetailOptions, c9 as ThreadListOptions, ca as ThreadSummaryEventOptions, cb as TraceContent, cc as TraceError, cd as TraceSpan, ce as TraceSpanKind, cf as TraceSpanStatus, cg as TraceView, ch as UpdateClientDeploymentRequest, ci as WorkflowInputDefinition } from './client-CR3usQ8l.js';
1
+ 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 AttachRunRequest, w as AttachmentContentAccessRequest, B as BackendSessionRequestOptions, x as BranchingHint, C as ClearCustomerResourcePolicyAssignmentResult, y as ClientAuthMode, z as ClientDeployment, D as ClientDeploymentListQuery, E as ClientDeploymentListResponse, F as ClientNativeProfile, G as ClientRuntimeNativeProfileInput, H as ClientRuntimeOidcConfig, I as ClientRuntimePolicyInput, J as ClientSessionCredentials, K as ControlPlaneAgentRunRequest, L as ControlPlaneRunEventsResponse, M as ConversationRunRequest, N as ConversationRunResult, O as ConversationRuntimeSelectionRequest, P as ConversationRuntimeSelectionResult, Q as ConversationThreadOptions, R as CreateBackendClientSessionRequest, S as CreateClientDeploymentRequest, T as CustomerIdentityRequest, U as CustomerPrincipalRefRequest, V as CustomerProfile, W as CustomerProfileList, X as CustomerProfilePatch, Y as CustomerProfileSearchOptions, Z as CustomerResourcePolicyAssignment, _ as DelegationAction, $ as DelegationActionReceipt, a0 as DelegationActionRequest, a1 as DelegationEvents, a2 as DelegationHistory, a3 as DelegationHistoryTurn, a4 as DelegationStatus, a5 as DelegationTask, a6 as DelegationTaskList, a7 as EffectiveCustomerResourcePolicyRequest, a8 as EffectiveResourcePolicy, a9 as EmbedAgentAliasResolution, aa as EmbedAttachmentContentAccessRequest, ab as EmbedCustomerPrincipalResolveRequest, ac as EmbedCustomerPrincipalResolveResponse, ad as EmbedDelegationOptions, ae as EmbedResourcePolicyRequest, af as EmbedRunCancelOptions, ag as EmbedRunStartRequest, ah as EmbedRuntimeBootstrap, ai as EmbedStreamRequest, aj as EmbedThreadMessageEdit, ak as EmbedThreadMessageScope, al as EmbedThreadMessageSubmit, am as EmbeddedResponseFeedbackInput, an as FailureCategory, ao as FailureView, ap as FeedbackRating, aq as FeedbackReason, ar as GraphBuilder, as as GraphDefinition, at as GraphEdge, au as GraphHints, av as GraphNode, aw as GraphValueRef, ax as HitlAction, ay as HitlAnswer, az as HostedArtifactDraft, aA as HostedArtifactsNamespace, aB as IngestionBatch, aC as IngestionBatchListOptions, aD as IngestionBatchPage, aE as IngestionJob, aF as IngestionJobAcknowledgment, aG as IngestionJobGetOptions, aH as IngestionJobListOptions, aI as IngestionJobPage, aJ as IngestionJobStart, aK as KnowledgeStore, aL as KnowledgeStoreChunking, aM as KnowledgeStoreCreate, aN as KnowledgeStoreListOptions, aO as KnowledgeStoreNamespace, aP as KnowledgeStorePage, aQ as KnowledgeStoreStats, aR as KnowledgeStoreUpdate, aS as LatestOrPinnedPolicy, aT as McpAuthStartRequest, aU as McpAuthStartResult, aV as MultiAgentThreadListRequest, aW as MultiAgentThreadSummaryEventOptions, aX as NativePlatform, aY as NodeAuthoringSpec, aZ as NodeCatalogItem, a_ as NodeCatalogResponse, a$ as NodeSchemaResponse, b0 as PipelineInputField, b1 as PipelineInputSchema, b2 as PipelineInputStep, b3 as PipelineInputUpload, b4 as PipelineListOptions, b5 as PipelinePage, b6 as PipelineSummary, b7 as PortableResourceKind, b8 as PublishedExecutable, b9 as RequestOptions, ba as ResetResourcePolicyQuotaRequest, bb as ResourceCallableBinding, bc as ResourceCallableBindingStatus, bd as ResourceCandidateList, be as ResourceInstallation, bf as ResourceInstallationApplication, bg as ResourceInstallationApplyRequest, bh as ResourceInstallationBinding, bi as ResourceInstallationCreateRequest, bj as ResourceInstallationDeploymentRequest, bk as ResourceInstallationLinkRequest, bl as ResourceInstallationList, bm as ResourceInstallationOperation, bn as ResourceInstallationPlan, bo as ResourceInstallationPlanUpload, bp as ResourceInstallationPublication, bq as ResourceInstallationPublishRequest, br as ResourceInstallationPullAcceptRequest, bs as ResourceInstallationPullChange, bt as ResourceInstallationPullPayload, bu as ResourceInstallationPullPlan, bv as ResourceInstallationResourceListOptions, bw as ResourceInstallationSecretStatus, bx as ResourceInstallationSecretsRequest, by as ResourcePackageArchive, bz as ResourcePackageCandidateOptions, bA as ResourcePackageDependency, bB as ResourcePackageDiagnostic, bC as ResourcePackageExportPlan, bD as ResourcePackageExportRequest, bE as ResourcePackageImportPreview, bF as ResourcePackageImportResult, bG as ResourcePackageImportUpload, bH as ResourcePackageUpload, bI as ResourcePackageValidationResult, bJ as ResourcePolicyList, bK as ResourcePolicyQuotaSchedule, bL as ResourcePolicyQuotaScheduleResult, bM as ResourcePolicySubjectRef, bN as ResourcePolicySummary, bO as ResourceSelector, bP as ResourceToolExport, bQ as ResponseFeedback, bR as ResponseFeedbackResult, bS as ResumeRunRequest, bT as RunCancelOptions, bU as RunContextOptions, bV as RunStatus, bW as RunTrace, bX as ServerAttachmentUploadOptions, bY as ServerEmbedAttachmentUploadOptions, bZ as SetCustomerResourcePolicyAssignmentRequest, b_ as SetResourcePolicyQuotaScheduleRequest, b$ as StartRunResult, c0 as StateVariableDefinition, c1 as StreamRequestOptions, c2 as StreamResult, c3 as ThreadComputerContentAccess, c4 as ThreadComputerFile, c5 as ThreadComputerFileOptions, c6 as ThreadComputerFileText, c7 as ThreadComputerFiles, c8 as ThreadComputerStatus, c9 as ThreadDeleteOptions, ca as ThreadDetailOptions, cb as ThreadListOptions, cc as ThreadSummaryEventOptions, cd as TraceContent, ce as TraceError, cf as TraceSpan, cg as TraceSpanKind, ch as TraceSpanStatus, ci as TraceView, cj as UpdateClientDeploymentRequest, ck as WorkflowInputDefinition } from './client-BTqjlaCt.js';
2
2
  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';
3
3
 
4
- 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.cancel_agent_run", "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_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.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", "ingestionJobs.cancel", "ingestionJobs.get", "ingestionJobs.list", "ingestionJobs.list_batches", "ingestionJobs.resume", "ingestionJobs.start", "ingestionJobs.upload_input", "instructions.publish", "knowledgeStores.archive", "knowledgeStores.create", "knowledgeStores.get", "knowledgeStores.list", "knowledgeStores.stats", "knowledgeStores.update", "pipelines.get", "pipelines.get_input_schema", "pipelines.get_published_executable", "pipelines.list", "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.prepare_development_session", "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"];
4
+ 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.cancel_agent_run", "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_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.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.cancel", "ingestionJobs.get", "ingestionJobs.list", "ingestionJobs.list_batches", "ingestionJobs.resume", "ingestionJobs.start", "ingestionJobs.upload_input", "instructions.publish", "knowledgeStores.archive", "knowledgeStores.create", "knowledgeStores.get", "knowledgeStores.list", "knowledgeStores.stats", "knowledgeStores.update", "pipelines.get", "pipelines.get_input_schema", "pipelines.get_published_executable", "pipelines.list", "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.prepare_development_session", "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"];
5
5
  type SDKOperationId = (typeof SDK_OPERATION_IDS)[number];
6
6
 
7
7
  export { type SDKOperationId, SDK_OPERATION_IDS };
package/dist/index.js CHANGED
@@ -512,18 +512,87 @@ var ClientSessionsNamespace = class {
512
512
  );
513
513
  }
514
514
  };
515
- var EmbedNamespace = class {
515
+
516
+ // src/generated/embedDelegations.ts
517
+ var EmbedDelegationsNamespace = class {
516
518
  constructor(http) {
517
519
  this.http = http;
518
520
  }
519
521
  http;
522
+ listAgentDelegations(agentId, threadId, options) {
523
+ return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/threads/${encodeURIComponent(threadId)}/delegations`, {
524
+ query: {
525
+ external_user_id: options.externalUserId,
526
+ external_session_id: options.externalSessionId,
527
+ integration_id: options.integrationId,
528
+ runtime_target: options.runtimeTarget ?? "published",
529
+ chat_scope: options.chatScope
530
+ }
531
+ });
532
+ }
533
+ eventsAgentDelegations(agentId, threadId, options) {
534
+ return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/threads/${encodeURIComponent(threadId)}/delegations/events`, {
535
+ query: {
536
+ external_user_id: options.externalUserId,
537
+ external_session_id: options.externalSessionId,
538
+ integration_id: options.integrationId,
539
+ runtime_target: options.runtimeTarget ?? "published",
540
+ after: options.after,
541
+ limit: options.limit,
542
+ chat_scope: options.chatScope
543
+ }
544
+ });
545
+ }
546
+ inspectAgentDelegation(agentId, threadId, handle, options) {
547
+ return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/threads/${encodeURIComponent(threadId)}/delegations/${encodeURIComponent(handle)}`, {
548
+ query: {
549
+ external_user_id: options.externalUserId,
550
+ external_session_id: options.externalSessionId,
551
+ integration_id: options.integrationId,
552
+ runtime_target: options.runtimeTarget ?? "published",
553
+ chat_scope: options.chatScope
554
+ }
555
+ });
556
+ }
557
+ historyAgentDelegation(agentId, threadId, handle, options) {
558
+ return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/threads/${encodeURIComponent(threadId)}/delegations/${encodeURIComponent(handle)}/history`, {
559
+ query: {
560
+ external_user_id: options.externalUserId,
561
+ external_session_id: options.externalSessionId,
562
+ integration_id: options.integrationId,
563
+ runtime_target: options.runtimeTarget ?? "published",
564
+ before: options.before,
565
+ limit: options.limit,
566
+ chat_scope: options.chatScope
567
+ }
568
+ });
569
+ }
570
+ actAgentDelegation(agentId, threadId, handle, request, options) {
571
+ return this.http.requestJson(`/public/embed/agents/${encodeURIComponent(agentId)}/threads/${encodeURIComponent(threadId)}/delegations/${encodeURIComponent(handle)}/actions`, {
572
+ method: "POST",
573
+ query: {
574
+ external_user_id: options.externalUserId,
575
+ external_session_id: options.externalSessionId,
576
+ integration_id: options.integrationId,
577
+ runtime_target: options.runtimeTarget ?? "published",
578
+ chat_scope: options.chatScope
579
+ },
580
+ body: request,
581
+ mutation: true
582
+ });
583
+ }
584
+ };
585
+ var EmbedNamespace = class extends EmbedDelegationsNamespace {
586
+ constructor(http) {
587
+ super(http);
588
+ }
520
589
  async streamAgent(agentId, payload, onEvent, options = {}) {
521
590
  return this.stream(`/public/embed/agents/${agentId}/chat/stream`, payload, onEvent, options);
522
591
  }
523
592
  startAgentRun(agentId, payload, options) {
524
593
  return this.http.requestJson(`/public/embed/agents/${agentId}/runs`, {
525
594
  method: "POST",
526
- body: payload,
595
+ body: this.namespacePayload(payload),
527
596
  options,
528
597
  mutation: true
529
598
  });
@@ -531,11 +600,20 @@ var EmbedNamespace = class {
531
600
  async attachAgentRun(agentId, runId, payload, onEvent, options = {}) {
532
601
  return this.stream(`/public/embed/agents/${agentId}/runs/${runId}/stream`, payload, onEvent, options);
533
602
  }
603
+ namespacePayload(payload) {
604
+ if (!payload || typeof payload !== "object") return payload;
605
+ const { knowledgeNamespaces, chatScope, ...wire } = payload;
606
+ return {
607
+ ...wire,
608
+ ...knowledgeNamespaces === void 0 ? {} : { knowledge_namespaces: knowledgeNamespaces },
609
+ ...chatScope === void 0 ? {} : { chat_scope: chatScope }
610
+ };
611
+ }
534
612
  async stream(path, payload, onEvent, options) {
535
613
  const response = await this.http.fetchOrThrow(this.http.url(path, { stream_features: "assistant-completion-v1", lease_seconds: options.leaseSeconds }), {
536
614
  method: "POST",
537
615
  headers: this.http.streamHeaders(void 0, options, true),
538
- body: JSON.stringify(payload),
616
+ body: JSON.stringify(this.namespacePayload(payload)),
539
617
  signal: options.signal
540
618
  }, "Failed to connect to the embedded-agent stream endpoint.");
541
619
  await assertOk(response);
@@ -560,10 +638,10 @@ var EmbedNamespace = class {
560
638
  return { threadId: response.headers.get("X-Thread-ID"), runId };
561
639
  }
562
640
  resumeAgentRun(agentId, runId, payload, options) {
563
- return this.http.requestJson(`/public/embed/agents/${agentId}/runs/${runId}/resume`, { method: "POST", body: payload, options, mutation: true });
641
+ return this.http.requestJson(`/public/embed/agents/${agentId}/runs/${runId}/resume`, { method: "POST", body: this.namespacePayload(payload), options, mutation: true });
564
642
  }
565
643
  startAgentRunMcpAuth(agentId, runId, serverId, payload, options) {
566
- return this.http.requestJson(`/public/embed/agents/${agentId}/runs/${runId}/mcp/servers/${serverId}/auth/start`, { method: "POST", body: payload, options, mutation: true });
644
+ return this.http.requestJson(`/public/embed/agents/${agentId}/runs/${runId}/mcp/servers/${serverId}/auth/start`, { method: "POST", body: this.namespacePayload(payload), options, mutation: true });
567
645
  }
568
646
  getRuntimeBootstrap(agentId, agentVersionId, runtimeTarget = "published") {
569
647
  return this.http.requestJson(`/public/embed/agents/${agentId}/runtime/bootstrap`, {
@@ -579,13 +657,13 @@ var EmbedNamespace = class {
579
657
  resolveCustomerPrincipal(request) {
580
658
  return this.http.requestJson("/public/embed/customer-principals/resolve", {
581
659
  method: "POST",
582
- body: request
660
+ body: this.namespacePayload(request)
583
661
  });
584
662
  }
585
663
  getResourcePolicy(agentId, request) {
586
664
  return this.http.requestJson(`/public/embed/agents/${agentId}/resource-policy`, {
587
665
  method: "POST",
588
- body: request
666
+ body: this.namespacePayload(request)
589
667
  });
590
668
  }
591
669
  listAgentThreads(agentId, options) {
@@ -595,11 +673,12 @@ var EmbedNamespace = class {
595
673
  skip: options.skip ?? 0,
596
674
  limit: options.limit ?? 20,
597
675
  runtime_target: options.runtimeTarget,
598
- integration_id: options.integrationId
676
+ integration_id: options.integrationId,
677
+ chat_scope: options.chatScope
599
678
  } });
600
679
  }
601
680
  listAgentThreadsMulti(options) {
602
- return this.http.requestJson("/public/embed/threads/query", { method: "POST", body: options });
681
+ return this.http.requestJson("/public/embed/threads/query", { method: "POST", body: this.namespacePayload(options) });
603
682
  }
604
683
  async subscribeAgentThreadEvents(agentId, options, onEvent) {
605
684
  const response = await this.http.fetchOrThrow(this.http.url(`/public/embed/agents/${agentId}/threads/events`, {
@@ -608,6 +687,7 @@ var EmbedNamespace = class {
608
687
  cursor: options.cursor,
609
688
  runtime_target: options.runtimeTarget,
610
689
  integration_id: options.integrationId,
690
+ chat_scope: options.chatScope,
611
691
  thread_id: options.threadId,
612
692
  lease_seconds: options.leaseSeconds
613
693
  }), { method: "GET", headers: this.http.streamHeaders(), signal: options.signal }, "Failed to connect to the embedded-agent thread event endpoint.");
@@ -622,6 +702,7 @@ var EmbedNamespace = class {
622
702
  cursor: options.cursor,
623
703
  runtime_target: options.runtimeTarget,
624
704
  integration_id: options.integrationId,
705
+ chat_scope: options.chatScope,
625
706
  thread_id: options.threadId,
626
707
  lease_seconds: options.leaseSeconds
627
708
  }), { method: "GET", headers: this.http.streamHeaders(), signal: options.signal }, "Failed to connect to the embedded-agent thread event endpoint.");
@@ -633,6 +714,7 @@ var EmbedNamespace = class {
633
714
  external_user_id: scope.externalUserId,
634
715
  external_session_id: scope.externalSessionId,
635
716
  integration_id: scope.integrationId,
717
+ chat_scope: scope.chatScope,
636
718
  runtime_target: scope.runtimeTarget ?? "published"
637
719
  };
638
720
  }
@@ -648,12 +730,16 @@ var EmbedNamespace = class {
648
730
  external_user_id: payload.externalUserId,
649
731
  external_session_id: payload.externalSessionId,
650
732
  integration_id: payload.integrationId,
733
+ chat_scope: payload.chatScope,
651
734
  runtime_target: payload.runtimeTarget ?? "published",
735
+ agent_version_id: payload.agentVersionId,
736
+ requested_agent_id: payload.requestedAgentId,
652
737
  client_submission_id: payload.clientSubmissionId,
653
738
  mode: payload.mode,
654
739
  input: payload.input,
655
740
  attachment_ids: payload.attachmentIds ?? [],
656
741
  requested_model_id: payload.requestedModelId,
742
+ knowledge_namespaces: payload.knowledgeNamespaces,
657
743
  tool_inputs: payload.toolInputs ?? {},
658
744
  metadata: payload.metadata ?? {}
659
745
  },
@@ -669,6 +755,8 @@ var EmbedNamespace = class {
669
755
  revision: payload.revision,
670
756
  input: payload.input,
671
757
  mode: payload.mode,
758
+ agent_version_id: payload.agentVersionId,
759
+ requested_agent_id: payload.requestedAgentId,
672
760
  attachment_ids: payload.attachmentIds ?? [],
673
761
  requested_model_id: payload.requestedModelId
674
762
  },
@@ -696,6 +784,7 @@ var EmbedNamespace = class {
696
784
  external_user_id: options.externalUserId,
697
785
  external_session_id: options.externalSessionId,
698
786
  integration_id: options.integrationId,
787
+ chat_scope: options.chatScope,
699
788
  before_turn_index: options.beforeTurnIndex,
700
789
  limit: options.limit,
701
790
  runtime_target: options.runtimeTarget
@@ -707,6 +796,7 @@ var EmbedNamespace = class {
707
796
  external_user_id: options.externalUserId,
708
797
  external_session_id: options.externalSessionId,
709
798
  integration_id: options.integrationId,
799
+ chat_scope: options.chatScope,
710
800
  runtime_target: options.runtimeTarget
711
801
  } });
712
802
  }
@@ -716,6 +806,7 @@ var EmbedNamespace = class {
716
806
  external_user_id: options.externalUserId,
717
807
  external_session_id: options.externalSessionId,
718
808
  integration_id: options.integrationId,
809
+ chat_scope: options.chatScope,
719
810
  runtime_target: options.runtimeTarget,
720
811
  path: options.path,
721
812
  cursor: options.cursor,
@@ -728,6 +819,7 @@ var EmbedNamespace = class {
728
819
  external_user_id: options.externalUserId,
729
820
  external_session_id: options.externalSessionId,
730
821
  integration_id: options.integrationId,
822
+ chat_scope: options.chatScope,
731
823
  runtime_target: options.runtimeTarget,
732
824
  path: options.path
733
825
  } });
@@ -738,16 +830,17 @@ var EmbedNamespace = class {
738
830
  external_user_id: options.externalUserId,
739
831
  external_session_id: options.externalSessionId,
740
832
  integration_id: options.integrationId,
833
+ chat_scope: options.chatScope,
741
834
  runtime_target: options.runtimeTarget,
742
835
  path: options.path,
743
836
  download: options.download
744
837
  }, body: {}, mutation: true });
745
838
  }
746
839
  setConversationRuntimeSelection(threadId, request) {
747
- return this.http.requestJson(`/public/embed/threads/${threadId}/runtime-selection`, { method: "PATCH", body: request, mutation: true });
840
+ return this.http.requestJson(`/public/embed/threads/${threadId}/runtime-selection`, { method: "PATCH", body: this.namespacePayload(request), mutation: true });
748
841
  }
749
842
  resolveConversationRun(runId, request) {
750
- return this.http.requestJson(`/public/embed/runs/${runId}/resolve`, { method: "POST", body: request });
843
+ return this.http.requestJson(`/public/embed/runs/${runId}/resolve`, { method: "POST", body: this.namespacePayload(request) });
751
844
  }
752
845
  deleteConversationThread(threadId, options, requestOptions) {
753
846
  return this.http.requestJson(`/public/embed/threads/${threadId}`, { method: "DELETE", query: {
@@ -755,6 +848,7 @@ var EmbedNamespace = class {
755
848
  external_user_id: options.externalUserId,
756
849
  external_session_id: options.externalSessionId,
757
850
  integration_id: options.integrationId,
851
+ chat_scope: options.chatScope,
758
852
  runtime_target: options.runtimeTarget
759
853
  }, options: requestOptions, mutation: true });
760
854
  }
@@ -769,7 +863,8 @@ var EmbedNamespace = class {
769
863
  subthread_turn_limit: options.subthreadTurnLimit,
770
864
  subthread_child_limit: options.subthreadChildLimit,
771
865
  runtime_target: options.runtimeTarget,
772
- integration_id: options.integrationId
866
+ integration_id: options.integrationId,
867
+ chat_scope: options.chatScope
773
868
  } });
774
869
  }
775
870
  getAgentComputer(agentId, threadId, options) {
@@ -777,6 +872,7 @@ var EmbedNamespace = class {
777
872
  external_user_id: options.externalUserId,
778
873
  external_session_id: options.externalSessionId,
779
874
  integration_id: options.integrationId,
875
+ chat_scope: options.chatScope,
780
876
  runtime_target: options.runtimeTarget
781
877
  } });
782
878
  }
@@ -785,6 +881,7 @@ var EmbedNamespace = class {
785
881
  external_user_id: options.externalUserId,
786
882
  external_session_id: options.externalSessionId,
787
883
  integration_id: options.integrationId,
884
+ chat_scope: options.chatScope,
788
885
  runtime_target: options.runtimeTarget,
789
886
  path: options.path,
790
887
  cursor: options.cursor,
@@ -796,6 +893,7 @@ var EmbedNamespace = class {
796
893
  external_user_id: options.externalUserId,
797
894
  external_session_id: options.externalSessionId,
798
895
  integration_id: options.integrationId,
896
+ chat_scope: options.chatScope,
799
897
  runtime_target: options.runtimeTarget,
800
898
  path: options.path
801
899
  } });
@@ -805,6 +903,7 @@ var EmbedNamespace = class {
805
903
  external_user_id: options.externalUserId,
806
904
  external_session_id: options.externalSessionId,
807
905
  integration_id: options.integrationId,
906
+ chat_scope: options.chatScope,
808
907
  runtime_target: options.runtimeTarget,
809
908
  path: options.path,
810
909
  download: options.download
@@ -815,7 +914,8 @@ var EmbedNamespace = class {
815
914
  external_user_id: options.externalUserId,
816
915
  external_session_id: options.externalSessionId,
817
916
  runtime_target: options.runtimeTarget,
818
- integration_id: options.integrationId
917
+ integration_id: options.integrationId,
918
+ chat_scope: options.chatScope
819
919
  }, options: requestOptions, mutation: true });
820
920
  }
821
921
  getAgentRunContext(agentId, runId, options) {
@@ -823,7 +923,8 @@ var EmbedNamespace = class {
823
923
  external_user_id: options.externalUserId,
824
924
  external_session_id: options.externalSessionId,
825
925
  runtime_target: options.runtimeTarget,
826
- integration_id: options.integrationId
926
+ integration_id: options.integrationId,
927
+ chat_scope: options.chatScope
827
928
  } });
828
929
  }
829
930
  cancelAgentRun(agentId, runId, options, requestOptions) {
@@ -831,13 +932,14 @@ var EmbedNamespace = class {
831
932
  external_user_id: options.externalUserId,
832
933
  external_session_id: options.externalSessionId,
833
934
  runtime_target: options.runtimeTarget,
834
- integration_id: options.integrationId
935
+ integration_id: options.integrationId,
936
+ chat_scope: options.chatScope
835
937
  }, body: {}, options: requestOptions, mutation: true });
836
938
  }
837
939
  setAgentRunFeedback(agentId, runId, payload) {
838
940
  return this.http.requestJson(
839
941
  `/public/embed/agents/${agentId}/runs/${runId}/feedback`,
840
- { method: "PUT", body: payload, mutation: true }
942
+ { method: "PUT", body: this.namespacePayload(payload), mutation: true }
841
943
  );
842
944
  }
843
945
  async uploadAgentAttachments(agentId, options) {
@@ -847,6 +949,7 @@ var EmbedNamespace = class {
847
949
  if (options.threadId) form.set("thread_id", options.threadId);
848
950
  if (options.runtimeTarget) form.set("runtime_target", options.runtimeTarget);
849
951
  if (options.integrationId) form.set("integration_id", options.integrationId);
952
+ if (options.chatScope) form.set("chat_scope", options.chatScope);
850
953
  for (const file of options.files) form.append("files", file.slice(0, file.size, normalizeAttachmentMimeType(file.type, file.name)), file.name);
851
954
  const response = await this.http.fetchOrThrow(this.http.url(`/public/embed/agents/${agentId}/attachments/upload`), {
852
955
  method: "POST",
@@ -859,7 +962,7 @@ var EmbedNamespace = class {
859
962
  createAttachmentContentAccess(agentId, attachmentId, request, options) {
860
963
  return this.http.requestJson(
861
964
  `/public/embed/agents/${agentId}/attachments/${attachmentId}/content-access`,
862
- { method: "POST", body: request, options, mutation: true }
965
+ { method: "POST", body: this.namespacePayload(request), options, mutation: true }
863
966
  );
864
967
  }
865
968
  };
@@ -1345,7 +1448,7 @@ var IngestionJobsNamespace = class {
1345
1448
  start(request, options) {
1346
1449
  return this.http.requestJson("/admin/pipelines/jobs", {
1347
1450
  method: "POST",
1348
- body: request,
1451
+ body: (({ knowledgeNamespaces, ...wire }) => ({ ...wire, ...knowledgeNamespaces === void 0 ? {} : { knowledge_namespaces: knowledgeNamespaces } }))(request),
1349
1452
  options,
1350
1453
  mutation: true
1351
1454
  });
@@ -1588,6 +1691,11 @@ var SDK_OPERATION_IDS = [
1588
1691
  "embed.thread_messages.resume_queue",
1589
1692
  "embed.thread_messages.submit",
1590
1693
  "embed.upload_agent_attachments",
1694
+ "embed_delegations.act",
1695
+ "embed_delegations.events",
1696
+ "embed_delegations.history",
1697
+ "embed_delegations.inspect",
1698
+ "embed_delegations.list",
1591
1699
  "ingestionJobs.cancel",
1592
1700
  "ingestionJobs.get",
1593
1701
  "ingestionJobs.list",