@agents24/node 0.5.37 → 0.5.38
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 +5 -5
- package/dist/bff.cjs +5 -0
- package/dist/bff.cjs.map +1 -1
- package/dist/bff.d.cts +10 -1
- package/dist/bff.d.ts +10 -1
- package/dist/bff.js +5 -0
- package/dist/bff.js.map +1 -1
- package/dist/{client-YSS2tctB.d.cts → client-BxeER2rt.d.cts} +96 -1
- package/dist/{client-YSS2tctB.d.ts → client-BxeER2rt.d.ts} +96 -1
- package/dist/index.cjs +68 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +68 -1
- package/dist/index.js.map +1 -1
- package/dist/types/bff-agent-resolution.d.ts +9 -0
- package/dist/types/bff-agent-resolution.d.ts.map +1 -1
- package/dist/types/bff-conversation-submission.d.ts.map +1 -1
- package/dist/types/builders.d.ts.map +1 -1
- package/dist/types/embed-types.d.ts +2 -0
- package/dist/types/embed-types.d.ts.map +1 -1
- package/dist/types/embed.d.ts.map +1 -1
- package/dist/types/generated/ingestion-types.d.ts +67 -0
- package/dist/types/generated/ingestion-types.d.ts.map +1 -1
- package/dist/types/generated/knowledgeStores.d.ts +8 -1
- package/dist/types/generated/knowledgeStores.d.ts.map +1 -1
- package/dist/types/generated/manifest.d.ts +1 -1
- package/dist/types/generated/manifest.d.ts.map +1 -1
- package/dist/types/generated/model-capabilities.d.ts +7 -0
- package/dist/types/generated/model-capabilities.d.ts.map +1 -1
- package/dist/types/generated/personal-skills.d.ts +7 -0
- package/dist/types/generated/personal-skills.d.ts.map +1 -1
- package/dist/types/types.d.ts +5 -0
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +1 -1
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
|
|
1
|
+
import { E as EmbeddedRunSnapshot } from './client-BxeER2rt.cjs';
|
|
2
|
+
export { a as AgentCreateRequest, b as AgentDefinitionBuilder, c as AgentDefinitionOptions, d as AgentListResponse, e as AgentReasoningEffort, f as AgentRef, g as AgentResponse, h as AgentStreamRequest, i as AgentSummary, j as AgentToolsetAttachment, k as AgentUpdateRequest, l as AgentValidationIssue, m as AgentValidationResult, A as Agents24, n as Agents24NodeError, o as Agents24NodeErrorKind, p as Agents24NodeOptions, q as Agents24Options, n as Agents24SDKError, r as Agents24SDKErrorKind, s as Agents24SDKSerializedError, t as ArtifactDevelopmentSession, u as ArtifactDevelopmentSessionAdmission, v as ArtifactDevelopmentSessionPrepareRequest, w as ArtifactRelayClientCreate, x as ArtifactRelayClientList, y as ArtifactRelayClientStatus, z as ArtifactRelayConnectionTicket, R as ArtifactRelayOptions, B as ArtifactRelayOptionsQuery, C as ArtifactRelayTicketRequest, D as AttachRunRequest, F as AttachmentContentAccessRequest, G as BackendSessionRequestOptions, H as BranchingHint, I as CallerAuthorityResult, J as CallerAuthorityUpdate, K as CallerRestrictionsResult, L as CallerRestrictionsUpdate, M as CallerToolRestrictions, N as CapacityWait, O as ClearCustomerResourcePolicyAssignmentResult, P as ClientAuthMode, Q as ClientDeployment, S as ClientDeploymentListQuery, T as ClientDeploymentListResponse, U as ClientNativeProfile, V as ClientRuntimeNativeProfileInput, W as ClientRuntimeOidcConfig, X as ClientRuntimePolicyInput, Y as ClientSessionCredentials, Z as ContentChunk, _ as ContentSegment, $ as ControlPlaneAgentRunRequest, a0 as ControlPlaneRunEventsResponse, a1 as ConversationRunRequest, a2 as ConversationRunResult, a3 as ConversationRuntimeSelectionRequest, a4 as ConversationRuntimeSelectionResult, a5 as ConversationSubmissionRequest, a6 as ConversationThreadOptions, a7 as CreateBackendClientSessionRequest, a8 as CreateClientDeploymentRequest, a9 as CustomerIdentityRequest, aa as CustomerPrincipalRefRequest, ab as CustomerProfile, ac as CustomerProfileList, ad as CustomerProfilePatch, ae as CustomerProfileSearchOptions, af as CustomerResourcePolicyAssignment, ag as DelegationAction, ah as DelegationActionReceipt, ai as DelegationActionRequest, aj as DelegationEvents, ak as DelegationHistory, al as DelegationHistoryTurn, am as DelegationStatus, an as DelegationTask, ao as DelegationTaskList, ap as DictationCreate, aq as DictationFeature, ar as DictationScope, as as DictationSession, at as EffectiveCustomerResourcePolicyRequest, au as EffectiveResourcePolicy, av as EmbedAgentAliasResolution, aw as EmbedAttachmentContentAccessRequest, ax as EmbedCustomerPrincipalResolveRequest, ay as EmbedCustomerPrincipalResolveResponse, az as EmbedDelegationOptions, aA as EmbedDictationQuery, aB as EmbedResourcePolicyRequest, aC as EmbedRunCancelOptions, aD as EmbedRunStartRequest, aE as EmbedRuntimeBootstrap, aF as EmbedRuntimeBootstrapRequest, aG as EmbedRuntimeBootstrapResult, aH as EmbedStreamRequest, aI as EmbedThreadMessageEdit, aJ as EmbedThreadMessageScope, aK as EmbedThreadMessageSubmit, aL as EmbeddedDictationCreate, aM as EmbeddedDictationScope, aN as EmbeddedResponseFeedbackInput, aO as EvidenceLocation, aP as ExternalToolCompletionReceipt, aQ as ExternalToolCompletionRequest, aR as FailureCategory, aS as FailureView, aT as FeedbackRating, aU as FeedbackReason, aV as FileAssetReference, aW as GraphBuilder, aX as GraphDefinition, aY as GraphEdge, aZ as GraphHints, a_ as GraphNode, a$ as GraphValueRef, b0 as HitlAction, b1 as HitlAnswer, b2 as HostedArtifactDraft, b3 as HostedArtifactsNamespace, b4 as IndexedCleanupAck, b5 as IndexedContent, b6 as IndexedContentListOptions, b7 as IndexedContentPage, b8 as IndexedRecordIdListOptions, b9 as IndexedRecordIdPage, ba as IngestionBatch, bb as IngestionBatchListOptions, bc as IngestionBatchPage, bd as IngestionJob, be as IngestionJobAcknowledgment, bf as IngestionJobGetOptions, bg as IngestionJobListOptions, bh as IngestionJobPage, bi as IngestionJobStart, bj as JobFieldData, bk as JobPayloadDownload, bl as JobResult, bm as JobResultOptions, bn as JobStep, bo as JobStepData, bp as JobStepDataOptions, bq as JobStepDownloadOptions, br as JobStepFieldOptions, bs as JobSteps, bt as KnowledgeAccessScope, bu as KnowledgeAccessScopeAdoption, bv as KnowledgeAccessScopeCreate, bw as KnowledgeAccessScopeListQuery, bx as KnowledgeAccessScopePage, by as KnowledgeAccessScopeUpdate, bz as KnowledgeContentScopeAssign, bA as KnowledgeContentScopeQuery, bB as KnowledgeContentScopes, bC as KnowledgeStore, bD as KnowledgeStoreChunking, bE as KnowledgeStoreCreate, bF as KnowledgeStoreListOptions, bG as KnowledgeStoreNamespace, bH as KnowledgeStorePage, bI as KnowledgeStorePageMetadata, bJ as KnowledgeStoreStats, bK as KnowledgeStoreUpdate, bL as LatestOrPinnedPolicy, bM as McpAuthStartRequest, bN as McpAuthStartResult, bO as ModelCapabilitiesV1, bP as ModelOffering, bQ as ModelPricingDimension, bR as ModelProviderCreate, bS as ModelProviderRoute, bT as ModelRequirements, bU as ModelRuntimeKind, bV as ModelSummary, bW as ModelsNamespace, bX as MultiAgentThreadListRequest, bY as MultiAgentThreadSummaryEventOptions, bZ as NamespaceDataStats, b_ as NamespaceInput, b$ as NamespaceListOptions, c0 as NamespacePage, c1 as NamespaceSummary, c2 as NativePlatform, c3 as NodeAuthoringSpec, c4 as NodeCatalogItem, c5 as NodeCatalogResponse, c6 as NodeSchemaResponse, c7 as OCROptions, c8 as PayloadAvailability, c9 as PersonalCapabilityQuery, ca as PersonalConnectionAccount, cb as PersonalConnectionAction, cc as PersonalConnectionCatalog, cd as PersonalConnectionPage, ce as PersonalConnectionResult, cf as PersonalConnectionService, cg as PersonalSkillAsset, ch as PersonalSkillAssetChange, ci as PersonalSkillAssetContent, cj as PersonalSkillAssetInput, ck as PersonalSkillAssetQuery, cl as PersonalSkillImport, cm as PersonalSkillPage, cn as PersonalSkillRecord, co as PersonalSkillSave, cp as PersonalSkillSelection, cq as PersonalSkillState, cr as PersonalSkillVersion, cs as PipelineInputField, ct as PipelineInputSchema, cu as PipelineInputStep, cv as PipelineInputUpload, cw as PipelineListOptions, cx as PipelinePage, cy as PipelineResultPage, cz as PipelineSummary, cA as PortableResourceKind, cB as ProcessedContent, cC as ProcessedContentOptions, cD as ProcessedContentReference, cE as ProcessingInput, cF as ProcessingInputSource, cG as ProcessingProgress, cH as PublishedExecutable, cI as RagRetention, cJ as RawVectorMatch, cK as RawVectorRecord, cL as RecordBatchResult, cM as RecordCapabilities, cN as RecordDeleteRequest, cO as RecordFetchRequest, cP as RecordFetchResult, cQ as RecordListRequest, cR as RecordMutationAck, cS as RecordPage, cT as RecordQueryRequest, cU as RecordQueryResult, cV as RecordUpdateRequest, cW as RecordUpsertRequest, cX as RequestOptions, cY as ResetResourcePolicyQuotaRequest, cZ as ResourceCallableBinding, c_ as ResourceCallableBindingStatus, c$ as ResourceCandidateList, d0 as ResourceInstallation, d1 as ResourceInstallationApplication, d2 as ResourceInstallationApplyRequest, d3 as ResourceInstallationBinding, d4 as ResourceInstallationCreateRequest, d5 as ResourceInstallationDeploymentRequest, d6 as ResourceInstallationLinkRequest, d7 as ResourceInstallationList, d8 as ResourceInstallationOperation, d9 as ResourceInstallationPlan, da as ResourceInstallationPlanUpload, db as ResourceInstallationPublication, dc as ResourceInstallationPublishRequest, dd as ResourceInstallationPullAcceptRequest, de as ResourceInstallationPullChange, df as ResourceInstallationPullPayload, dg as ResourceInstallationPullPlan, dh as ResourceInstallationResourceListOptions, di as ResourceInstallationSecretStatus, dj as ResourceInstallationSecretsRequest, dk as ResourcePackageArchive, dl as ResourcePackageCandidateOptions, dm as ResourcePackageDependency, dn as ResourcePackageDiagnostic, dp as ResourcePackageExportPlan, dq as ResourcePackageExportRequest, dr as ResourcePackageImportPreview, ds as ResourcePackageImportResult, dt as ResourcePackageImportUpload, du as ResourcePackageUpload, dv as ResourcePackageValidationResult, dw as ResourcePolicyList, dx as ResourcePolicyQuotaSchedule, dy as ResourcePolicyQuotaScheduleResult, dz as ResourcePolicySubjectRef, dA as ResourcePolicySummary, dB as ResourceSelector, dC as ResourceToolExport, dD as ResponseFeedback, dE as ResponseFeedbackResult, dF as ResumeRunRequest, dG as RetrievalEvidence, dH as RunCancelOptions, dI as RunContextOptions, dJ as RunExecutionLimits, dK as RunStatus, dL as RunTrace, dM as RunUsage, dN as RuntimeSubmissionResponse, dO as ServerAttachmentUploadOptions, dP as ServerEmbedAttachmentUploadOptions, dQ as SetCustomerResourcePolicyAssignmentRequest, dR as SetResourcePolicyQuotaScheduleRequest, dS as SourceDescriptor, dT as SourceOutcome, dU as StartRunResult, dV as StateVariableDefinition, dW as StreamRequestOptions, dX as StreamResult, dY as ThreadComputerContentAccess, dZ as ThreadComputerFile, d_ as ThreadComputerFileOptions, d$ as ThreadComputerFileText, e0 as ThreadComputerFiles, e1 as ThreadComputerStatus, e2 as ThreadDeleteOptions, e3 as ThreadDetailOptions, e4 as ThreadListOptions, e5 as ThreadSummaryEventOptions, e6 as TraceContent, e7 as TraceError, e8 as TraceSpan, e9 as TraceSpanKind, ea as TraceSpanStatus, eb as TraceView, ec as UpdateClientDeploymentRequest, ed as UploadPart, ee as UploadPartAck, ef as UploadSession, eg as UploadSessionStart, eh as WaitForAgentRunOptions, ei as WorkflowInputDefinition } from './client-BxeER2rt.cjs';
|
|
3
3
|
export { ActiveThreadRun, Attachment, AttachmentContentAccess, AttachmentUploadResult, CONTRACT_HASH, ContextCompression, ContextWindow, ContextWindowConfidence, ContextWindowSource, ContextWindowStage, ContextWindowTracker, JsonScalar, JsonValue, ModelTurnEventName, ModelTurnKind, ModelTurnOutcome, ModelTurnPayload, ModelTurnRuntimeEvent, ModelTurnStatus, ProtocolErrorCategory, PublicResponseBlock, RUNTIME_PROTOCOL_VERSION, PublicResponseBlock as ResponseBlock, RunCancelResult, RunContext, RunResumeResult, RuntimeEvent, THREAD_SUMMARY_PROTOCOL_VERSION, ThreadDeleteResult, ThreadDetail, ThreadMessage, ThreadMessageSubmission, ThreadMessagesPage, ThreadSummary, ThreadSummaryEvent, ThreadTurn, ThreadsResponse, ToolInputOverrides, compressionFromContextWindow, createContextWindowTracker, mergeContextWindow, mergeContextWindowUpdate, normalizeContextCompression, normalizeContextWindow, parseRuntimeEvent, parseRuntimeSsePayload, parseThreadSummarySsePayload, validateResponseBlock, validateRuntimeEvent, validateThreadSummaryEvent } from '@agents24/client/protocol';
|
|
4
4
|
export { AttachmentDescriptor, AttachmentProcessingInputs, AttachmentProcessingOutput, ClientInputFeature, WorkflowOutputDescriptor, WorkflowOutputResult, WorkflowOutputsPage } from '@agents24/client';
|
|
5
5
|
|
|
6
|
-
declare const SDK_OPERATION_IDS: readonly ["agents.cancel_dictation_session", "agents.cancel_run", "agents.catalog", "agents.create", "agents.create_attachment_content_access", "agents.create_dictation_session", "agents.delete", "agents.get", "agents.get_dictation_session", "agents.list", "agents.publish", "agents.resume_run", "agents.schema", "agents.start_run", "agents.stream", "agents.thread_messages.edit", "agents.thread_messages.list", "agents.thread_messages.remove", "agents.thread_messages.resume_queue", "agents.thread_messages.submit", "agents.update", "agents.update_graph", "agents.upload_attachments", "agents.validate", "client.attachments.create_content_access", "client.attachments.upload", "client.bootstrap", "client.chat.stream", "client.deployments.create", "client.deployments.delete", "client.deployments.get", "client.deployments.list", "client.deployments.update", "client.dictation.cancel", "client.dictation.create", "client.dictation.get", "client.hitl.resume", "client.jwks", "client.mcp.redeem", "client.mcp.start", "client.resource_policy", "client.runs.attach", "client.runs.cancel", "client.runs.outputs.get", "client.runs.outputs.list", "client.runs.set_feedback", "client.sessions.anonymous", "client.sessions.backendExchange", "client.sessions.refresh", "client.sessions.revoke", "client.threads.computer.create_content_access", "client.threads.computer.get", "client.threads.computer.list", "client.threads.computer.read", "client.threads.delete", "client.threads.events", "client.threads.get", "client.threads.list", "client.threads.messages.edit", "client.threads.messages.list", "client.threads.messages.remove", "client.threads.messages.submit", "client.threads.queue.resume", "customer_profiles.clear", "customer_profiles.get", "customer_profiles.search", "customer_profiles.upsert", "delegations.act", "delegations.events", "delegations.history", "delegations.inspect", "delegations.list", "embed.attach_agent_run", "embed.bootstrap_runtime", "embed.browse_personal_connections", "embed.cancel_agent_run", "embed.cancel_dictation_session", "embed.complete_tool_invocation", "embed.create_agent_computer_content_access", "embed.create_attachment_content_access", "embed.create_conversation_computer_content_access", "embed.create_dictation_session", "embed.delete_agent_thread", "embed.delete_conversation_thread", "embed.get_agent_computer", "embed.get_agent_run", "embed.get_agent_run_context", "embed.get_agent_thread", "embed.get_conversation_computer", "embed.get_conversation_thread", "embed.get_dictation_session", "embed.get_output", "embed.get_personal_skill", "embed.get_resource_policy", "embed.get_runtime_bootstrap", "embed.import_personal_skill", "embed.list_agent_computer_files", "embed.list_agent_threads", "embed.list_agent_threads_multi", "embed.list_conversation_computer_files", "embed.list_outputs", "embed.list_personal_connections", "embed.list_personal_skills", "embed.manage_personal_connection", "embed.open_conversation_submission", "embed.read_agent_computer_file", "embed.read_conversation_computer_file", "embed.read_personal_skill_asset", "embed.resolve_agent_alias", "embed.resolve_conversation_run", "embed.resolve_customer_principal", "embed.resume_agent_run", "embed.revoke_caller_authority", "embed.save_personal_skill", "embed.set_agent_run_feedback", "embed.set_conversation_runtime_selection", "embed.set_personal_skill_state", "embed.start_agent_run", "embed.start_agent_run_mcp_auth", "embed.stream_agent", "embed.stream_agent_thread_events", "embed.stream_agent_thread_events_multi", "embed.thread_messages.edit", "embed.thread_messages.list", "embed.thread_messages.remove", "embed.thread_messages.resume_queue", "embed.thread_messages.submit", "embed.update_caller_restrictions", "embed.upload_agent_attachments", "embed_delegations.act", "embed_delegations.events", "embed_delegations.history", "embed_delegations.inspect", "embed_delegations.list", "ingestionJobs.abort_upload", "ingestionJobs.cancel", "ingestionJobs.complete_upload", "ingestionJobs.create_upload", "ingestionJobs.download_step_data", "ingestionJobs.get", "ingestionJobs.get_processed_content", "ingestionJobs.get_result", "ingestionJobs.get_step_data", "ingestionJobs.get_step_field", "ingestionJobs.get_upload", "ingestionJobs.list", "ingestionJobs.list_batches", "ingestionJobs.list_steps", "ingestionJobs.put_upload_part", "ingestionJobs.resume", "ingestionJobs.start", "ingestionJobs.upload_input", "instructions.publish", "knowledgeStores.archive", "knowledgeStores.cancel_cleanup_job", "knowledgeStores.create", "knowledgeStores.delete_indexed_content", "knowledgeStores.delete_records", "knowledgeStores.fetch_records", "knowledgeStores.get", "knowledgeStores.get_cleanup_job", "knowledgeStores.get_indexed_content", "knowledgeStores.list", "knowledgeStores.list_indexed_content", "knowledgeStores.list_indexed_record_ids", "knowledgeStores.list_namespaces", "knowledgeStores.list_records", "knowledgeStores.namespace_stats", "knowledgeStores.query_records", "knowledgeStores.resume_cleanup_job", "knowledgeStores.stats", "knowledgeStores.update", "knowledgeStores.update_record", "knowledgeStores.upsert_records", "pipelines.get", "pipelines.get_input_schema", "pipelines.get_published_executable", "pipelines.list", "relayClients.agent_options", "relay_clients.create", "relay_clients.create_ticket", "relay_clients.get", "relay_clients.list", "relay_clients.revoke", "resource_installations.accept_pull", "resource_installations.apply", "resource_installations.bind_deployment", "resource_installations.configure_secrets", "resource_installations.create", "resource_installations.development_session_status", "resource_installations.download_pull", "resource_installations.get", "resource_installations.get_by_package_id", "resource_installations.link", "resource_installations.list", "resource_installations.operation_status", "resource_installations.plan", "resource_installations.plan_pull", "resource_installations.publish", "resource_installations.resources", "resource_installations.revoke_development_session", "resource_packages.candidates", "resource_packages.export", "resource_packages.export_plan", "resource_packages.exportability", "resource_packages.import", "resource_packages.import_preview", "resource_packages.validate", "resource_policies.clear_customer_assignment", "resource_policies.get_customer_assignment", "resource_policies.get_effective_customer_policy", "resource_policies.list", "resource_policies.reset_quota_now", "resource_policies.set_customer_assignment", "resource_policies.set_quota_schedule", "runs.get", "runs.get_context", "runs.get_events", "runs.get_output", "runs.get_trace", "runs.get_tree", "runs.list_outputs"];
|
|
6
|
+
declare const SDK_OPERATION_IDS: readonly ["agents.cancel_dictation_session", "agents.cancel_run", "agents.catalog", "agents.create", "agents.create_attachment_content_access", "agents.create_dictation_session", "agents.delete", "agents.get", "agents.get_dictation_session", "agents.list", "agents.publish", "agents.resume_run", "agents.schema", "agents.start_run", "agents.stream", "agents.thread_messages.edit", "agents.thread_messages.list", "agents.thread_messages.remove", "agents.thread_messages.resume_queue", "agents.thread_messages.submit", "agents.update", "agents.update_graph", "agents.upload_attachments", "agents.validate", "client.attachments.create_content_access", "client.attachments.upload", "client.bootstrap", "client.chat.stream", "client.deployments.create", "client.deployments.delete", "client.deployments.get", "client.deployments.list", "client.deployments.update", "client.dictation.cancel", "client.dictation.create", "client.dictation.get", "client.hitl.resume", "client.jwks", "client.mcp.redeem", "client.mcp.start", "client.resource_policy", "client.runs.attach", "client.runs.cancel", "client.runs.outputs.get", "client.runs.outputs.list", "client.runs.set_feedback", "client.sessions.anonymous", "client.sessions.backendExchange", "client.sessions.refresh", "client.sessions.revoke", "client.threads.computer.create_content_access", "client.threads.computer.get", "client.threads.computer.list", "client.threads.computer.read", "client.threads.delete", "client.threads.events", "client.threads.get", "client.threads.list", "client.threads.messages.edit", "client.threads.messages.list", "client.threads.messages.remove", "client.threads.messages.submit", "client.threads.queue.resume", "customer_profiles.clear", "customer_profiles.get", "customer_profiles.search", "customer_profiles.upsert", "delegations.act", "delegations.events", "delegations.history", "delegations.inspect", "delegations.list", "embed.attach_agent_run", "embed.bootstrap_runtime", "embed.browse_personal_connections", "embed.cancel_agent_run", "embed.cancel_dictation_session", "embed.complete_tool_invocation", "embed.create_agent_computer_content_access", "embed.create_attachment_content_access", "embed.create_conversation_computer_content_access", "embed.create_dictation_session", "embed.delete_agent_thread", "embed.delete_conversation_thread", "embed.get_agent_computer", "embed.get_agent_run", "embed.get_agent_run_context", "embed.get_agent_thread", "embed.get_conversation_computer", "embed.get_conversation_thread", "embed.get_dictation_session", "embed.get_output", "embed.get_personal_skill", "embed.get_resource_policy", "embed.get_runtime_bootstrap", "embed.import_personal_skill", "embed.list_agent_computer_files", "embed.list_agent_threads", "embed.list_agent_threads_multi", "embed.list_conversation_computer_files", "embed.list_outputs", "embed.list_personal_connections", "embed.list_personal_skills", "embed.manage_personal_connection", "embed.open_conversation_submission", "embed.read_agent_computer_file", "embed.read_conversation_computer_file", "embed.read_personal_skill_asset", "embed.resolve_agent_alias", "embed.resolve_conversation_run", "embed.resolve_customer_principal", "embed.resume_agent_run", "embed.revoke_caller_authority", "embed.save_personal_skill", "embed.set_agent_run_feedback", "embed.set_conversation_runtime_selection", "embed.set_personal_skill_state", "embed.start_agent_run", "embed.start_agent_run_mcp_auth", "embed.stream_agent", "embed.stream_agent_thread_events", "embed.stream_agent_thread_events_multi", "embed.thread_messages.edit", "embed.thread_messages.list", "embed.thread_messages.remove", "embed.thread_messages.resume_queue", "embed.thread_messages.submit", "embed.update_caller_restrictions", "embed.upload_agent_attachments", "embed_delegations.act", "embed_delegations.events", "embed_delegations.history", "embed_delegations.inspect", "embed_delegations.list", "ingestionJobs.abort_upload", "ingestionJobs.cancel", "ingestionJobs.complete_upload", "ingestionJobs.create_upload", "ingestionJobs.download_step_data", "ingestionJobs.get", "ingestionJobs.get_processed_content", "ingestionJobs.get_result", "ingestionJobs.get_step_data", "ingestionJobs.get_step_field", "ingestionJobs.get_upload", "ingestionJobs.list", "ingestionJobs.list_batches", "ingestionJobs.list_steps", "ingestionJobs.put_upload_part", "ingestionJobs.resume", "ingestionJobs.start", "ingestionJobs.upload_input", "instructions.publish", "knowledgeStores.adoptAccessScope", "knowledgeStores.archive", "knowledgeStores.assignContentScopes", "knowledgeStores.cancel_cleanup_job", "knowledgeStores.contentScopes", "knowledgeStores.create", "knowledgeStores.createAccessScope", "knowledgeStores.deleteAccessScope", "knowledgeStores.delete_indexed_content", "knowledgeStores.delete_records", "knowledgeStores.fetch_records", "knowledgeStores.get", "knowledgeStores.get_cleanup_job", "knowledgeStores.get_indexed_content", "knowledgeStores.list", "knowledgeStores.listAccessScopes", "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.updateAccessScope", "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
|
|
1
|
+
import { E as EmbeddedRunSnapshot } from './client-BxeER2rt.js';
|
|
2
|
+
export { a as AgentCreateRequest, b as AgentDefinitionBuilder, c as AgentDefinitionOptions, d as AgentListResponse, e as AgentReasoningEffort, f as AgentRef, g as AgentResponse, h as AgentStreamRequest, i as AgentSummary, j as AgentToolsetAttachment, k as AgentUpdateRequest, l as AgentValidationIssue, m as AgentValidationResult, A as Agents24, n as Agents24NodeError, o as Agents24NodeErrorKind, p as Agents24NodeOptions, q as Agents24Options, n as Agents24SDKError, r as Agents24SDKErrorKind, s as Agents24SDKSerializedError, t as ArtifactDevelopmentSession, u as ArtifactDevelopmentSessionAdmission, v as ArtifactDevelopmentSessionPrepareRequest, w as ArtifactRelayClientCreate, x as ArtifactRelayClientList, y as ArtifactRelayClientStatus, z as ArtifactRelayConnectionTicket, R as ArtifactRelayOptions, B as ArtifactRelayOptionsQuery, C as ArtifactRelayTicketRequest, D as AttachRunRequest, F as AttachmentContentAccessRequest, G as BackendSessionRequestOptions, H as BranchingHint, I as CallerAuthorityResult, J as CallerAuthorityUpdate, K as CallerRestrictionsResult, L as CallerRestrictionsUpdate, M as CallerToolRestrictions, N as CapacityWait, O as ClearCustomerResourcePolicyAssignmentResult, P as ClientAuthMode, Q as ClientDeployment, S as ClientDeploymentListQuery, T as ClientDeploymentListResponse, U as ClientNativeProfile, V as ClientRuntimeNativeProfileInput, W as ClientRuntimeOidcConfig, X as ClientRuntimePolicyInput, Y as ClientSessionCredentials, Z as ContentChunk, _ as ContentSegment, $ as ControlPlaneAgentRunRequest, a0 as ControlPlaneRunEventsResponse, a1 as ConversationRunRequest, a2 as ConversationRunResult, a3 as ConversationRuntimeSelectionRequest, a4 as ConversationRuntimeSelectionResult, a5 as ConversationSubmissionRequest, a6 as ConversationThreadOptions, a7 as CreateBackendClientSessionRequest, a8 as CreateClientDeploymentRequest, a9 as CustomerIdentityRequest, aa as CustomerPrincipalRefRequest, ab as CustomerProfile, ac as CustomerProfileList, ad as CustomerProfilePatch, ae as CustomerProfileSearchOptions, af as CustomerResourcePolicyAssignment, ag as DelegationAction, ah as DelegationActionReceipt, ai as DelegationActionRequest, aj as DelegationEvents, ak as DelegationHistory, al as DelegationHistoryTurn, am as DelegationStatus, an as DelegationTask, ao as DelegationTaskList, ap as DictationCreate, aq as DictationFeature, ar as DictationScope, as as DictationSession, at as EffectiveCustomerResourcePolicyRequest, au as EffectiveResourcePolicy, av as EmbedAgentAliasResolution, aw as EmbedAttachmentContentAccessRequest, ax as EmbedCustomerPrincipalResolveRequest, ay as EmbedCustomerPrincipalResolveResponse, az as EmbedDelegationOptions, aA as EmbedDictationQuery, aB as EmbedResourcePolicyRequest, aC as EmbedRunCancelOptions, aD as EmbedRunStartRequest, aE as EmbedRuntimeBootstrap, aF as EmbedRuntimeBootstrapRequest, aG as EmbedRuntimeBootstrapResult, aH as EmbedStreamRequest, aI as EmbedThreadMessageEdit, aJ as EmbedThreadMessageScope, aK as EmbedThreadMessageSubmit, aL as EmbeddedDictationCreate, aM as EmbeddedDictationScope, aN as EmbeddedResponseFeedbackInput, aO as EvidenceLocation, aP as ExternalToolCompletionReceipt, aQ as ExternalToolCompletionRequest, aR as FailureCategory, aS as FailureView, aT as FeedbackRating, aU as FeedbackReason, aV as FileAssetReference, aW as GraphBuilder, aX as GraphDefinition, aY as GraphEdge, aZ as GraphHints, a_ as GraphNode, a$ as GraphValueRef, b0 as HitlAction, b1 as HitlAnswer, b2 as HostedArtifactDraft, b3 as HostedArtifactsNamespace, b4 as IndexedCleanupAck, b5 as IndexedContent, b6 as IndexedContentListOptions, b7 as IndexedContentPage, b8 as IndexedRecordIdListOptions, b9 as IndexedRecordIdPage, ba as IngestionBatch, bb as IngestionBatchListOptions, bc as IngestionBatchPage, bd as IngestionJob, be as IngestionJobAcknowledgment, bf as IngestionJobGetOptions, bg as IngestionJobListOptions, bh as IngestionJobPage, bi as IngestionJobStart, bj as JobFieldData, bk as JobPayloadDownload, bl as JobResult, bm as JobResultOptions, bn as JobStep, bo as JobStepData, bp as JobStepDataOptions, bq as JobStepDownloadOptions, br as JobStepFieldOptions, bs as JobSteps, bt as KnowledgeAccessScope, bu as KnowledgeAccessScopeAdoption, bv as KnowledgeAccessScopeCreate, bw as KnowledgeAccessScopeListQuery, bx as KnowledgeAccessScopePage, by as KnowledgeAccessScopeUpdate, bz as KnowledgeContentScopeAssign, bA as KnowledgeContentScopeQuery, bB as KnowledgeContentScopes, bC as KnowledgeStore, bD as KnowledgeStoreChunking, bE as KnowledgeStoreCreate, bF as KnowledgeStoreListOptions, bG as KnowledgeStoreNamespace, bH as KnowledgeStorePage, bI as KnowledgeStorePageMetadata, bJ as KnowledgeStoreStats, bK as KnowledgeStoreUpdate, bL as LatestOrPinnedPolicy, bM as McpAuthStartRequest, bN as McpAuthStartResult, bO as ModelCapabilitiesV1, bP as ModelOffering, bQ as ModelPricingDimension, bR as ModelProviderCreate, bS as ModelProviderRoute, bT as ModelRequirements, bU as ModelRuntimeKind, bV as ModelSummary, bW as ModelsNamespace, bX as MultiAgentThreadListRequest, bY as MultiAgentThreadSummaryEventOptions, bZ as NamespaceDataStats, b_ as NamespaceInput, b$ as NamespaceListOptions, c0 as NamespacePage, c1 as NamespaceSummary, c2 as NativePlatform, c3 as NodeAuthoringSpec, c4 as NodeCatalogItem, c5 as NodeCatalogResponse, c6 as NodeSchemaResponse, c7 as OCROptions, c8 as PayloadAvailability, c9 as PersonalCapabilityQuery, ca as PersonalConnectionAccount, cb as PersonalConnectionAction, cc as PersonalConnectionCatalog, cd as PersonalConnectionPage, ce as PersonalConnectionResult, cf as PersonalConnectionService, cg as PersonalSkillAsset, ch as PersonalSkillAssetChange, ci as PersonalSkillAssetContent, cj as PersonalSkillAssetInput, ck as PersonalSkillAssetQuery, cl as PersonalSkillImport, cm as PersonalSkillPage, cn as PersonalSkillRecord, co as PersonalSkillSave, cp as PersonalSkillSelection, cq as PersonalSkillState, cr as PersonalSkillVersion, cs as PipelineInputField, ct as PipelineInputSchema, cu as PipelineInputStep, cv as PipelineInputUpload, cw as PipelineListOptions, cx as PipelinePage, cy as PipelineResultPage, cz as PipelineSummary, cA as PortableResourceKind, cB as ProcessedContent, cC as ProcessedContentOptions, cD as ProcessedContentReference, cE as ProcessingInput, cF as ProcessingInputSource, cG as ProcessingProgress, cH as PublishedExecutable, cI as RagRetention, cJ as RawVectorMatch, cK as RawVectorRecord, cL as RecordBatchResult, cM as RecordCapabilities, cN as RecordDeleteRequest, cO as RecordFetchRequest, cP as RecordFetchResult, cQ as RecordListRequest, cR as RecordMutationAck, cS as RecordPage, cT as RecordQueryRequest, cU as RecordQueryResult, cV as RecordUpdateRequest, cW as RecordUpsertRequest, cX as RequestOptions, cY as ResetResourcePolicyQuotaRequest, cZ as ResourceCallableBinding, c_ as ResourceCallableBindingStatus, c$ as ResourceCandidateList, d0 as ResourceInstallation, d1 as ResourceInstallationApplication, d2 as ResourceInstallationApplyRequest, d3 as ResourceInstallationBinding, d4 as ResourceInstallationCreateRequest, d5 as ResourceInstallationDeploymentRequest, d6 as ResourceInstallationLinkRequest, d7 as ResourceInstallationList, d8 as ResourceInstallationOperation, d9 as ResourceInstallationPlan, da as ResourceInstallationPlanUpload, db as ResourceInstallationPublication, dc as ResourceInstallationPublishRequest, dd as ResourceInstallationPullAcceptRequest, de as ResourceInstallationPullChange, df as ResourceInstallationPullPayload, dg as ResourceInstallationPullPlan, dh as ResourceInstallationResourceListOptions, di as ResourceInstallationSecretStatus, dj as ResourceInstallationSecretsRequest, dk as ResourcePackageArchive, dl as ResourcePackageCandidateOptions, dm as ResourcePackageDependency, dn as ResourcePackageDiagnostic, dp as ResourcePackageExportPlan, dq as ResourcePackageExportRequest, dr as ResourcePackageImportPreview, ds as ResourcePackageImportResult, dt as ResourcePackageImportUpload, du as ResourcePackageUpload, dv as ResourcePackageValidationResult, dw as ResourcePolicyList, dx as ResourcePolicyQuotaSchedule, dy as ResourcePolicyQuotaScheduleResult, dz as ResourcePolicySubjectRef, dA as ResourcePolicySummary, dB as ResourceSelector, dC as ResourceToolExport, dD as ResponseFeedback, dE as ResponseFeedbackResult, dF as ResumeRunRequest, dG as RetrievalEvidence, dH as RunCancelOptions, dI as RunContextOptions, dJ as RunExecutionLimits, dK as RunStatus, dL as RunTrace, dM as RunUsage, dN as RuntimeSubmissionResponse, dO as ServerAttachmentUploadOptions, dP as ServerEmbedAttachmentUploadOptions, dQ as SetCustomerResourcePolicyAssignmentRequest, dR as SetResourcePolicyQuotaScheduleRequest, dS as SourceDescriptor, dT as SourceOutcome, dU as StartRunResult, dV as StateVariableDefinition, dW as StreamRequestOptions, dX as StreamResult, dY as ThreadComputerContentAccess, dZ as ThreadComputerFile, d_ as ThreadComputerFileOptions, d$ as ThreadComputerFileText, e0 as ThreadComputerFiles, e1 as ThreadComputerStatus, e2 as ThreadDeleteOptions, e3 as ThreadDetailOptions, e4 as ThreadListOptions, e5 as ThreadSummaryEventOptions, e6 as TraceContent, e7 as TraceError, e8 as TraceSpan, e9 as TraceSpanKind, ea as TraceSpanStatus, eb as TraceView, ec as UpdateClientDeploymentRequest, ed as UploadPart, ee as UploadPartAck, ef as UploadSession, eg as UploadSessionStart, eh as WaitForAgentRunOptions, ei as WorkflowInputDefinition } from './client-BxeER2rt.js';
|
|
3
3
|
export { ActiveThreadRun, Attachment, AttachmentContentAccess, AttachmentUploadResult, CONTRACT_HASH, ContextCompression, ContextWindow, ContextWindowConfidence, ContextWindowSource, ContextWindowStage, ContextWindowTracker, JsonScalar, JsonValue, ModelTurnEventName, ModelTurnKind, ModelTurnOutcome, ModelTurnPayload, ModelTurnRuntimeEvent, ModelTurnStatus, ProtocolErrorCategory, PublicResponseBlock, RUNTIME_PROTOCOL_VERSION, PublicResponseBlock as ResponseBlock, RunCancelResult, RunContext, RunResumeResult, RuntimeEvent, THREAD_SUMMARY_PROTOCOL_VERSION, ThreadDeleteResult, ThreadDetail, ThreadMessage, ThreadMessageSubmission, ThreadMessagesPage, ThreadSummary, ThreadSummaryEvent, ThreadTurn, ThreadsResponse, ToolInputOverrides, compressionFromContextWindow, createContextWindowTracker, mergeContextWindow, mergeContextWindowUpdate, normalizeContextCompression, normalizeContextWindow, parseRuntimeEvent, parseRuntimeSsePayload, parseThreadSummarySsePayload, validateResponseBlock, validateRuntimeEvent, validateThreadSummaryEvent } from '@agents24/client/protocol';
|
|
4
4
|
export { AttachmentDescriptor, AttachmentProcessingInputs, AttachmentProcessingOutput, ClientInputFeature, WorkflowOutputDescriptor, WorkflowOutputResult, WorkflowOutputsPage } from '@agents24/client';
|
|
5
5
|
|
|
6
|
-
declare const SDK_OPERATION_IDS: readonly ["agents.cancel_dictation_session", "agents.cancel_run", "agents.catalog", "agents.create", "agents.create_attachment_content_access", "agents.create_dictation_session", "agents.delete", "agents.get", "agents.get_dictation_session", "agents.list", "agents.publish", "agents.resume_run", "agents.schema", "agents.start_run", "agents.stream", "agents.thread_messages.edit", "agents.thread_messages.list", "agents.thread_messages.remove", "agents.thread_messages.resume_queue", "agents.thread_messages.submit", "agents.update", "agents.update_graph", "agents.upload_attachments", "agents.validate", "client.attachments.create_content_access", "client.attachments.upload", "client.bootstrap", "client.chat.stream", "client.deployments.create", "client.deployments.delete", "client.deployments.get", "client.deployments.list", "client.deployments.update", "client.dictation.cancel", "client.dictation.create", "client.dictation.get", "client.hitl.resume", "client.jwks", "client.mcp.redeem", "client.mcp.start", "client.resource_policy", "client.runs.attach", "client.runs.cancel", "client.runs.outputs.get", "client.runs.outputs.list", "client.runs.set_feedback", "client.sessions.anonymous", "client.sessions.backendExchange", "client.sessions.refresh", "client.sessions.revoke", "client.threads.computer.create_content_access", "client.threads.computer.get", "client.threads.computer.list", "client.threads.computer.read", "client.threads.delete", "client.threads.events", "client.threads.get", "client.threads.list", "client.threads.messages.edit", "client.threads.messages.list", "client.threads.messages.remove", "client.threads.messages.submit", "client.threads.queue.resume", "customer_profiles.clear", "customer_profiles.get", "customer_profiles.search", "customer_profiles.upsert", "delegations.act", "delegations.events", "delegations.history", "delegations.inspect", "delegations.list", "embed.attach_agent_run", "embed.bootstrap_runtime", "embed.browse_personal_connections", "embed.cancel_agent_run", "embed.cancel_dictation_session", "embed.complete_tool_invocation", "embed.create_agent_computer_content_access", "embed.create_attachment_content_access", "embed.create_conversation_computer_content_access", "embed.create_dictation_session", "embed.delete_agent_thread", "embed.delete_conversation_thread", "embed.get_agent_computer", "embed.get_agent_run", "embed.get_agent_run_context", "embed.get_agent_thread", "embed.get_conversation_computer", "embed.get_conversation_thread", "embed.get_dictation_session", "embed.get_output", "embed.get_personal_skill", "embed.get_resource_policy", "embed.get_runtime_bootstrap", "embed.import_personal_skill", "embed.list_agent_computer_files", "embed.list_agent_threads", "embed.list_agent_threads_multi", "embed.list_conversation_computer_files", "embed.list_outputs", "embed.list_personal_connections", "embed.list_personal_skills", "embed.manage_personal_connection", "embed.open_conversation_submission", "embed.read_agent_computer_file", "embed.read_conversation_computer_file", "embed.read_personal_skill_asset", "embed.resolve_agent_alias", "embed.resolve_conversation_run", "embed.resolve_customer_principal", "embed.resume_agent_run", "embed.revoke_caller_authority", "embed.save_personal_skill", "embed.set_agent_run_feedback", "embed.set_conversation_runtime_selection", "embed.set_personal_skill_state", "embed.start_agent_run", "embed.start_agent_run_mcp_auth", "embed.stream_agent", "embed.stream_agent_thread_events", "embed.stream_agent_thread_events_multi", "embed.thread_messages.edit", "embed.thread_messages.list", "embed.thread_messages.remove", "embed.thread_messages.resume_queue", "embed.thread_messages.submit", "embed.update_caller_restrictions", "embed.upload_agent_attachments", "embed_delegations.act", "embed_delegations.events", "embed_delegations.history", "embed_delegations.inspect", "embed_delegations.list", "ingestionJobs.abort_upload", "ingestionJobs.cancel", "ingestionJobs.complete_upload", "ingestionJobs.create_upload", "ingestionJobs.download_step_data", "ingestionJobs.get", "ingestionJobs.get_processed_content", "ingestionJobs.get_result", "ingestionJobs.get_step_data", "ingestionJobs.get_step_field", "ingestionJobs.get_upload", "ingestionJobs.list", "ingestionJobs.list_batches", "ingestionJobs.list_steps", "ingestionJobs.put_upload_part", "ingestionJobs.resume", "ingestionJobs.start", "ingestionJobs.upload_input", "instructions.publish", "knowledgeStores.archive", "knowledgeStores.cancel_cleanup_job", "knowledgeStores.create", "knowledgeStores.delete_indexed_content", "knowledgeStores.delete_records", "knowledgeStores.fetch_records", "knowledgeStores.get", "knowledgeStores.get_cleanup_job", "knowledgeStores.get_indexed_content", "knowledgeStores.list", "knowledgeStores.list_indexed_content", "knowledgeStores.list_indexed_record_ids", "knowledgeStores.list_namespaces", "knowledgeStores.list_records", "knowledgeStores.namespace_stats", "knowledgeStores.query_records", "knowledgeStores.resume_cleanup_job", "knowledgeStores.stats", "knowledgeStores.update", "knowledgeStores.update_record", "knowledgeStores.upsert_records", "pipelines.get", "pipelines.get_input_schema", "pipelines.get_published_executable", "pipelines.list", "relayClients.agent_options", "relay_clients.create", "relay_clients.create_ticket", "relay_clients.get", "relay_clients.list", "relay_clients.revoke", "resource_installations.accept_pull", "resource_installations.apply", "resource_installations.bind_deployment", "resource_installations.configure_secrets", "resource_installations.create", "resource_installations.development_session_status", "resource_installations.download_pull", "resource_installations.get", "resource_installations.get_by_package_id", "resource_installations.link", "resource_installations.list", "resource_installations.operation_status", "resource_installations.plan", "resource_installations.plan_pull", "resource_installations.publish", "resource_installations.resources", "resource_installations.revoke_development_session", "resource_packages.candidates", "resource_packages.export", "resource_packages.export_plan", "resource_packages.exportability", "resource_packages.import", "resource_packages.import_preview", "resource_packages.validate", "resource_policies.clear_customer_assignment", "resource_policies.get_customer_assignment", "resource_policies.get_effective_customer_policy", "resource_policies.list", "resource_policies.reset_quota_now", "resource_policies.set_customer_assignment", "resource_policies.set_quota_schedule", "runs.get", "runs.get_context", "runs.get_events", "runs.get_output", "runs.get_trace", "runs.get_tree", "runs.list_outputs"];
|
|
6
|
+
declare const SDK_OPERATION_IDS: readonly ["agents.cancel_dictation_session", "agents.cancel_run", "agents.catalog", "agents.create", "agents.create_attachment_content_access", "agents.create_dictation_session", "agents.delete", "agents.get", "agents.get_dictation_session", "agents.list", "agents.publish", "agents.resume_run", "agents.schema", "agents.start_run", "agents.stream", "agents.thread_messages.edit", "agents.thread_messages.list", "agents.thread_messages.remove", "agents.thread_messages.resume_queue", "agents.thread_messages.submit", "agents.update", "agents.update_graph", "agents.upload_attachments", "agents.validate", "client.attachments.create_content_access", "client.attachments.upload", "client.bootstrap", "client.chat.stream", "client.deployments.create", "client.deployments.delete", "client.deployments.get", "client.deployments.list", "client.deployments.update", "client.dictation.cancel", "client.dictation.create", "client.dictation.get", "client.hitl.resume", "client.jwks", "client.mcp.redeem", "client.mcp.start", "client.resource_policy", "client.runs.attach", "client.runs.cancel", "client.runs.outputs.get", "client.runs.outputs.list", "client.runs.set_feedback", "client.sessions.anonymous", "client.sessions.backendExchange", "client.sessions.refresh", "client.sessions.revoke", "client.threads.computer.create_content_access", "client.threads.computer.get", "client.threads.computer.list", "client.threads.computer.read", "client.threads.delete", "client.threads.events", "client.threads.get", "client.threads.list", "client.threads.messages.edit", "client.threads.messages.list", "client.threads.messages.remove", "client.threads.messages.submit", "client.threads.queue.resume", "customer_profiles.clear", "customer_profiles.get", "customer_profiles.search", "customer_profiles.upsert", "delegations.act", "delegations.events", "delegations.history", "delegations.inspect", "delegations.list", "embed.attach_agent_run", "embed.bootstrap_runtime", "embed.browse_personal_connections", "embed.cancel_agent_run", "embed.cancel_dictation_session", "embed.complete_tool_invocation", "embed.create_agent_computer_content_access", "embed.create_attachment_content_access", "embed.create_conversation_computer_content_access", "embed.create_dictation_session", "embed.delete_agent_thread", "embed.delete_conversation_thread", "embed.get_agent_computer", "embed.get_agent_run", "embed.get_agent_run_context", "embed.get_agent_thread", "embed.get_conversation_computer", "embed.get_conversation_thread", "embed.get_dictation_session", "embed.get_output", "embed.get_personal_skill", "embed.get_resource_policy", "embed.get_runtime_bootstrap", "embed.import_personal_skill", "embed.list_agent_computer_files", "embed.list_agent_threads", "embed.list_agent_threads_multi", "embed.list_conversation_computer_files", "embed.list_outputs", "embed.list_personal_connections", "embed.list_personal_skills", "embed.manage_personal_connection", "embed.open_conversation_submission", "embed.read_agent_computer_file", "embed.read_conversation_computer_file", "embed.read_personal_skill_asset", "embed.resolve_agent_alias", "embed.resolve_conversation_run", "embed.resolve_customer_principal", "embed.resume_agent_run", "embed.revoke_caller_authority", "embed.save_personal_skill", "embed.set_agent_run_feedback", "embed.set_conversation_runtime_selection", "embed.set_personal_skill_state", "embed.start_agent_run", "embed.start_agent_run_mcp_auth", "embed.stream_agent", "embed.stream_agent_thread_events", "embed.stream_agent_thread_events_multi", "embed.thread_messages.edit", "embed.thread_messages.list", "embed.thread_messages.remove", "embed.thread_messages.resume_queue", "embed.thread_messages.submit", "embed.update_caller_restrictions", "embed.upload_agent_attachments", "embed_delegations.act", "embed_delegations.events", "embed_delegations.history", "embed_delegations.inspect", "embed_delegations.list", "ingestionJobs.abort_upload", "ingestionJobs.cancel", "ingestionJobs.complete_upload", "ingestionJobs.create_upload", "ingestionJobs.download_step_data", "ingestionJobs.get", "ingestionJobs.get_processed_content", "ingestionJobs.get_result", "ingestionJobs.get_step_data", "ingestionJobs.get_step_field", "ingestionJobs.get_upload", "ingestionJobs.list", "ingestionJobs.list_batches", "ingestionJobs.list_steps", "ingestionJobs.put_upload_part", "ingestionJobs.resume", "ingestionJobs.start", "ingestionJobs.upload_input", "instructions.publish", "knowledgeStores.adoptAccessScope", "knowledgeStores.archive", "knowledgeStores.assignContentScopes", "knowledgeStores.cancel_cleanup_job", "knowledgeStores.contentScopes", "knowledgeStores.create", "knowledgeStores.createAccessScope", "knowledgeStores.deleteAccessScope", "knowledgeStores.delete_indexed_content", "knowledgeStores.delete_records", "knowledgeStores.fetch_records", "knowledgeStores.get", "knowledgeStores.get_cleanup_job", "knowledgeStores.get_indexed_content", "knowledgeStores.list", "knowledgeStores.listAccessScopes", "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.updateAccessScope", "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
|
@@ -385,6 +385,8 @@ function toolsetAttachments(options) {
|
|
|
385
385
|
return [normalized];
|
|
386
386
|
});
|
|
387
387
|
}
|
|
388
|
+
var REASONING_EFFORTS = ["none", "minimal", "low", "medium", "high"];
|
|
389
|
+
var MINIMUM_COMPACTION_WINDOW_TOKENS = 8192;
|
|
388
390
|
var AgentDefinitionBuilder = class {
|
|
389
391
|
constructor(agents, options) {
|
|
390
392
|
this.agents = agents;
|
|
@@ -406,6 +408,19 @@ var AgentDefinitionBuilder = class {
|
|
|
406
408
|
}
|
|
407
409
|
agentConfig.tool_schema_budget_bytes = budget;
|
|
408
410
|
}
|
|
411
|
+
if (this.options.reasoningEffort !== void 0) {
|
|
412
|
+
if (!REASONING_EFFORTS.includes(this.options.reasoningEffort)) {
|
|
413
|
+
throw new TypeError(`reasoningEffort must be one of ${REASONING_EFFORTS.join(", ")}`);
|
|
414
|
+
}
|
|
415
|
+
agentConfig.reasoning_effort = this.options.reasoningEffort;
|
|
416
|
+
}
|
|
417
|
+
if (this.options.contextCompactionWindowTokens !== void 0) {
|
|
418
|
+
const window = this.options.contextCompactionWindowTokens;
|
|
419
|
+
if (window !== null && (!Number.isSafeInteger(window) || window < MINIMUM_COMPACTION_WINDOW_TOKENS)) {
|
|
420
|
+
throw new TypeError(`contextCompactionWindowTokens must be an integer of at least ${MINIMUM_COMPACTION_WINDOW_TOKENS} or null`);
|
|
421
|
+
}
|
|
422
|
+
agentConfig.context_compaction_window_tokens = window;
|
|
423
|
+
}
|
|
409
424
|
if (this.options.model) agentConfig.model_id = refId(this.options.model);
|
|
410
425
|
return {
|
|
411
426
|
spec_version: "4.0",
|
|
@@ -872,13 +887,14 @@ var EmbedNamespace2 = class extends EmbedNamespace {
|
|
|
872
887
|
}
|
|
873
888
|
namespacePayload(payload) {
|
|
874
889
|
if (!payload || typeof payload !== "object") return payload;
|
|
875
|
-
const { knowledgeNamespaces, chatScope, customerTenant, requestedOutputs, dictationSessionId, ...wire } = payload;
|
|
890
|
+
const { knowledgeNamespaces, knowledgeAccessScopes, chatScope, customerTenant, requestedOutputs, dictationSessionId, ...wire } = payload;
|
|
876
891
|
return {
|
|
877
892
|
...wire,
|
|
878
893
|
...dictationSessionId === void 0 ? {} : { dictation_session_id: dictationSessionId },
|
|
879
894
|
...requestedOutputs === void 0 ? {} : { requested_outputs: requestedOutputs },
|
|
880
895
|
...customerTenant === void 0 ? {} : { customer_tenant: customerTenant },
|
|
881
896
|
...knowledgeNamespaces === void 0 ? {} : { knowledge_namespaces: knowledgeNamespaces },
|
|
897
|
+
...knowledgeAccessScopes === void 0 ? {} : { knowledge_access_scopes: knowledgeAccessScopes },
|
|
882
898
|
...chatScope === void 0 ? {} : { chat_scope: chatScope }
|
|
883
899
|
};
|
|
884
900
|
}
|
|
@@ -1014,6 +1030,7 @@ var EmbedNamespace2 = class extends EmbedNamespace {
|
|
|
1014
1030
|
attachment_ids: payload.attachmentIds ?? [],
|
|
1015
1031
|
requested_model_id: payload.requestedModelId,
|
|
1016
1032
|
knowledge_namespaces: payload.knowledgeNamespaces,
|
|
1033
|
+
knowledge_access_scopes: payload.knowledgeAccessScopes,
|
|
1017
1034
|
customer_tenant: payload.customerTenant,
|
|
1018
1035
|
...payload.trustedContext === void 0 ? {} : { trusted_context: payload.trustedContext },
|
|
1019
1036
|
execution_limits: payload.executionLimits,
|
|
@@ -2157,6 +2174,49 @@ var KnowledgeStoresNamespace = class {
|
|
|
2157
2174
|
body: request
|
|
2158
2175
|
});
|
|
2159
2176
|
}
|
|
2177
|
+
listAccessScopes(storeId, options) {
|
|
2178
|
+
return this.http.requestJson(`/admin/knowledge-stores/${encodeURIComponent(storeId)}/access-scopes`, {
|
|
2179
|
+
query: {
|
|
2180
|
+
namespace: options.namespace
|
|
2181
|
+
}
|
|
2182
|
+
});
|
|
2183
|
+
}
|
|
2184
|
+
createAccessScope(storeId, request) {
|
|
2185
|
+
return this.http.requestJson(`/admin/knowledge-stores/${encodeURIComponent(storeId)}/access-scopes`, {
|
|
2186
|
+
method: "POST",
|
|
2187
|
+
body: request
|
|
2188
|
+
});
|
|
2189
|
+
}
|
|
2190
|
+
adoptAccessScope(storeId, scopeId) {
|
|
2191
|
+
return this.http.requestJson(`/admin/knowledge-stores/${encodeURIComponent(storeId)}/access-scopes/${encodeURIComponent(scopeId)}/adopt`, {
|
|
2192
|
+
method: "POST"
|
|
2193
|
+
});
|
|
2194
|
+
}
|
|
2195
|
+
updateAccessScope(storeId, scopeId, request) {
|
|
2196
|
+
return this.http.requestJson(`/admin/knowledge-stores/${encodeURIComponent(storeId)}/access-scopes/${encodeURIComponent(scopeId)}`, {
|
|
2197
|
+
method: "PATCH",
|
|
2198
|
+
body: request
|
|
2199
|
+
});
|
|
2200
|
+
}
|
|
2201
|
+
deleteAccessScope(storeId, scopeId) {
|
|
2202
|
+
return this.http.requestJson(`/admin/knowledge-stores/${encodeURIComponent(storeId)}/access-scopes/${encodeURIComponent(scopeId)}`, {
|
|
2203
|
+
method: "DELETE"
|
|
2204
|
+
});
|
|
2205
|
+
}
|
|
2206
|
+
contentScopes(storeId, options) {
|
|
2207
|
+
return this.http.requestJson(`/admin/knowledge-stores/${encodeURIComponent(storeId)}/content-scopes`, {
|
|
2208
|
+
query: {
|
|
2209
|
+
namespace: options.namespace,
|
|
2210
|
+
content_id: options.contentId
|
|
2211
|
+
}
|
|
2212
|
+
});
|
|
2213
|
+
}
|
|
2214
|
+
assignContentScopes(storeId, request) {
|
|
2215
|
+
return this.http.requestJson(`/admin/knowledge-stores/${encodeURIComponent(storeId)}/content-scopes`, {
|
|
2216
|
+
method: "PUT",
|
|
2217
|
+
body: request
|
|
2218
|
+
});
|
|
2219
|
+
}
|
|
2160
2220
|
listRecordPages(storeId, request) {
|
|
2161
2221
|
return recordPages(this, storeId, request);
|
|
2162
2222
|
}
|
|
@@ -2374,9 +2434,14 @@ var SDK_OPERATION_IDS = [
|
|
|
2374
2434
|
"ingestionJobs.start",
|
|
2375
2435
|
"ingestionJobs.upload_input",
|
|
2376
2436
|
"instructions.publish",
|
|
2437
|
+
"knowledgeStores.adoptAccessScope",
|
|
2377
2438
|
"knowledgeStores.archive",
|
|
2439
|
+
"knowledgeStores.assignContentScopes",
|
|
2378
2440
|
"knowledgeStores.cancel_cleanup_job",
|
|
2441
|
+
"knowledgeStores.contentScopes",
|
|
2379
2442
|
"knowledgeStores.create",
|
|
2443
|
+
"knowledgeStores.createAccessScope",
|
|
2444
|
+
"knowledgeStores.deleteAccessScope",
|
|
2380
2445
|
"knowledgeStores.delete_indexed_content",
|
|
2381
2446
|
"knowledgeStores.delete_records",
|
|
2382
2447
|
"knowledgeStores.fetch_records",
|
|
@@ -2384,6 +2449,7 @@ var SDK_OPERATION_IDS = [
|
|
|
2384
2449
|
"knowledgeStores.get_cleanup_job",
|
|
2385
2450
|
"knowledgeStores.get_indexed_content",
|
|
2386
2451
|
"knowledgeStores.list",
|
|
2452
|
+
"knowledgeStores.listAccessScopes",
|
|
2387
2453
|
"knowledgeStores.list_indexed_content",
|
|
2388
2454
|
"knowledgeStores.list_indexed_record_ids",
|
|
2389
2455
|
"knowledgeStores.list_namespaces",
|
|
@@ -2393,6 +2459,7 @@ var SDK_OPERATION_IDS = [
|
|
|
2393
2459
|
"knowledgeStores.resume_cleanup_job",
|
|
2394
2460
|
"knowledgeStores.stats",
|
|
2395
2461
|
"knowledgeStores.update",
|
|
2462
|
+
"knowledgeStores.updateAccessScope",
|
|
2396
2463
|
"knowledgeStores.update_record",
|
|
2397
2464
|
"knowledgeStores.upsert_records",
|
|
2398
2465
|
"pipelines.get",
|