@agents24/node 0.5.26 → 0.5.27
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 +7 -7
- package/dist/bff.d.cts +1 -1
- package/dist/bff.d.ts +1 -1
- package/dist/{client-yYT9UnqF.d.cts → client-Dr0U2u5Q.d.cts} +31 -5
- package/dist/{client-yYT9UnqF.d.ts → client-Dr0U2u5Q.d.ts} +31 -5
- package/dist/index.cjs +9 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/types/generated/ingestion-types.d.ts +22 -1
- package/dist/types/generated/ingestion-types.d.ts.map +1 -1
- package/dist/types/generated/knowledgeStores.d.ts +2 -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 +4 -0
- package/dist/types/generated/model-capabilities.d.ts.map +1 -1
- package/dist/types/types.d.ts +4 -4
- package/dist/types/types.d.ts.map +1 -1
- package/package.json +2 -2
package/compatibility.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"contractHash": "
|
|
2
|
+
"contractHash": "673a1b3f6eadf325e036c6c61b3048baeb6b6d914425e40c941e177c56bb1888",
|
|
3
3
|
"contractVersion": "0.3.0",
|
|
4
4
|
"corpus": "conformance/v1/corpus.json",
|
|
5
5
|
"generatedBy": "@agents24/sdk-contract",
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"reactDom": ">=19 <20"
|
|
16
16
|
},
|
|
17
17
|
"@agents24/client": {
|
|
18
|
-
"contract": "
|
|
18
|
+
"contract": "904701fe1c173854cd4154f2156020da471397fbc6bb644cea60f44c71a1a0d2",
|
|
19
19
|
"runtime": "run-stream.v3"
|
|
20
20
|
},
|
|
21
21
|
"@agents24/node": {
|
|
22
|
-
"contract": "
|
|
22
|
+
"contract": "673a1b3f6eadf325e036c6c61b3048baeb6b6d914425e40c941e177c56bb1888",
|
|
23
23
|
"node": "^22.0.0 || ^24.0.0"
|
|
24
24
|
},
|
|
25
25
|
"@agents24/react": {
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"react": ">=19 <20"
|
|
28
28
|
},
|
|
29
29
|
"@talmudpedia/runtime-sdk": {
|
|
30
|
-
"contract": "
|
|
30
|
+
"contract": "904701fe1c173854cd4154f2156020da471397fbc6bb644cea60f44c71a1a0d2",
|
|
31
31
|
"protocolOwner": "@agents24/client"
|
|
32
32
|
},
|
|
33
33
|
"agents24": {
|
|
34
|
-
"contract": "
|
|
34
|
+
"contract": "673a1b3f6eadf325e036c6c61b3048baeb6b6d914425e40c941e177c56bb1888",
|
|
35
35
|
"python": ">=3.10"
|
|
36
36
|
}
|
|
37
37
|
},
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"schemaVersion": "agents24.compatibility.v1",
|
|
49
49
|
"targetOperationCounts": {
|
|
50
50
|
"client": 36,
|
|
51
|
-
"node":
|
|
52
|
-
"python":
|
|
51
|
+
"node": 187,
|
|
52
|
+
"python": 181
|
|
53
53
|
}
|
|
54
54
|
}
|
package/dist/bff.d.cts
CHANGED
package/dist/bff.d.ts
CHANGED
|
@@ -471,6 +471,8 @@ declare class DelegationsNamespace {
|
|
|
471
471
|
act(runId: string, handle: string, request: DelegationActionRequest, options?: RequestOptions): Promise<Record<string, unknown>>;
|
|
472
472
|
}
|
|
473
473
|
|
|
474
|
+
type ModelRuntimeKind = "chat" | "embedding" | "speech_to_text" | "image_generation" | "rerank" | "ocr";
|
|
475
|
+
type ModelPricingDimension = "audio_input_second" | "audio_input_token" | "audio_output_token" | "cached_input_token" | "image_output" | "input_token" | "ocr_page" | "output_token" | "reasoning_token" | "request" | "search_request";
|
|
474
476
|
type ModelCapabilityFeatures = {
|
|
475
477
|
tool_calling: boolean;
|
|
476
478
|
structured_output: boolean;
|
|
@@ -500,6 +502,8 @@ type ModelRequirements = {
|
|
|
500
502
|
input_modalities?: Array<ModelInputModality>;
|
|
501
503
|
output_modalities?: Array<ModelOutputModality>;
|
|
502
504
|
required_features?: Array<"tool_calling" | "structured_output" | "reasoning" | "segment_timestamps" | "word_timestamps">;
|
|
505
|
+
providers?: Array<string>;
|
|
506
|
+
runtime_kinds?: Array<"chat" | "embedding" | "speech_to_text" | "image_generation" | "rerank" | "ocr">;
|
|
503
507
|
};
|
|
504
508
|
|
|
505
509
|
type Agents24NodeOptions = {
|
|
@@ -1096,7 +1100,7 @@ type ResourcePackageDependency = {
|
|
|
1096
1100
|
required: boolean;
|
|
1097
1101
|
bundled: boolean;
|
|
1098
1102
|
included?: boolean;
|
|
1099
|
-
required_capability?: "chat" | "embedding" | "speech_to_text" | "rerank";
|
|
1103
|
+
required_capability?: "chat" | "embedding" | "speech_to_text" | "rerank" | "ocr";
|
|
1100
1104
|
status?: "bundled" | "mapped" | "unresolved";
|
|
1101
1105
|
mapped_id?: string | null;
|
|
1102
1106
|
suggested_mapping?: {
|
|
@@ -1118,7 +1122,7 @@ type ResourcePackageExportPlan = {
|
|
|
1118
1122
|
kind: string;
|
|
1119
1123
|
name?: string | null;
|
|
1120
1124
|
required: boolean;
|
|
1121
|
-
required_capability?: "chat" | "embedding" | "speech_to_text" | "rerank";
|
|
1125
|
+
required_capability?: "chat" | "embedding" | "speech_to_text" | "rerank" | "ocr";
|
|
1122
1126
|
}>;
|
|
1123
1127
|
warnings: string[];
|
|
1124
1128
|
blockers: Array<{
|
|
@@ -1185,7 +1189,7 @@ type ResourcePackageCandidateOptions = {
|
|
|
1185
1189
|
query?: string;
|
|
1186
1190
|
limit?: number;
|
|
1187
1191
|
offset?: number;
|
|
1188
|
-
requiredCapability?: "chat" | "embedding" | "speech_to_text" | "rerank";
|
|
1192
|
+
requiredCapability?: "chat" | "embedding" | "speech_to_text" | "rerank" | "ocr";
|
|
1189
1193
|
};
|
|
1190
1194
|
type ResourceInstallationBinding = {
|
|
1191
1195
|
resource_key: string;
|
|
@@ -1888,6 +1892,8 @@ type IngestionJob = {
|
|
|
1888
1892
|
knowledge_namespaces?: Record<string, string>;
|
|
1889
1893
|
job_kind?: "pipeline" | "indexed_cleanup";
|
|
1890
1894
|
retention?: RagRetention;
|
|
1895
|
+
input_params?: Record<string, unknown>;
|
|
1896
|
+
input_availability?: PayloadAvailability;
|
|
1891
1897
|
};
|
|
1892
1898
|
type IngestionJobPage = {
|
|
1893
1899
|
items: Array<IngestionJob>;
|
|
@@ -2023,7 +2029,7 @@ type FileAssetReference = {
|
|
|
2023
2029
|
source: SourceDescriptor;
|
|
2024
2030
|
};
|
|
2025
2031
|
type EvidenceLocation = {
|
|
2026
|
-
kind: "pdf" | "docx" | "media" | "text" | "record";
|
|
2032
|
+
kind: "pdf" | "docx" | "media" | "text" | "record" | "image";
|
|
2027
2033
|
page_number?: number | null;
|
|
2028
2034
|
total_pages?: number | null;
|
|
2029
2035
|
bbox?: Array<number> | null;
|
|
@@ -2174,6 +2180,8 @@ type JobStep = {
|
|
|
2174
2180
|
completed_at?: string | null;
|
|
2175
2181
|
has_input_data?: boolean;
|
|
2176
2182
|
has_output_data?: boolean;
|
|
2183
|
+
input_availability?: PayloadAvailability;
|
|
2184
|
+
output_availability?: PayloadAvailability;
|
|
2177
2185
|
};
|
|
2178
2186
|
type JobSteps = {
|
|
2179
2187
|
steps: Array<JobStep>;
|
|
@@ -2331,6 +2339,23 @@ type RecordBatchResult = {
|
|
|
2331
2339
|
unknown_ids: Array<string>;
|
|
2332
2340
|
failure?: FailureView;
|
|
2333
2341
|
};
|
|
2342
|
+
type PayloadAvailability = {
|
|
2343
|
+
availability: "available" | "unavailable";
|
|
2344
|
+
reason?: string;
|
|
2345
|
+
expires_at?: string;
|
|
2346
|
+
};
|
|
2347
|
+
type OCROptions = {
|
|
2348
|
+
model_id: string;
|
|
2349
|
+
language_hints?: Array<string>;
|
|
2350
|
+
};
|
|
2351
|
+
type IndexedRecordIdPage = {
|
|
2352
|
+
ids: Array<string>;
|
|
2353
|
+
next_cursor: string | null;
|
|
2354
|
+
};
|
|
2355
|
+
type IndexedRecordIdListOptions = {
|
|
2356
|
+
cursor?: string;
|
|
2357
|
+
limit?: number;
|
|
2358
|
+
};
|
|
2334
2359
|
|
|
2335
2360
|
declare class PipelinesNamespace {
|
|
2336
2361
|
protected readonly http: Agents24HttpClient;
|
|
@@ -2375,6 +2400,7 @@ declare class KnowledgeStoresNamespace {
|
|
|
2375
2400
|
archive(storeId: string): Promise<void>;
|
|
2376
2401
|
listIndexedContent(storeId: string, options: IndexedContentListOptions): Promise<IndexedContentPage>;
|
|
2377
2402
|
getIndexedContent(storeId: string, indexedId: string): Promise<IndexedContent>;
|
|
2403
|
+
listIndexedRecordIds(storeId: string, indexedId: string, options: IndexedRecordIdListOptions): Promise<IndexedRecordIdPage>;
|
|
2378
2404
|
deleteIndexedContent(storeId: string, indexedId: string, options?: RequestOptions): Promise<IndexedCleanupAck>;
|
|
2379
2405
|
getCleanupJob(storeId: string, jobId: string): Promise<IngestionJob>;
|
|
2380
2406
|
resumeCleanupJob(storeId: string, jobId: string, options?: RequestOptions): Promise<IngestionJob>;
|
|
@@ -2419,4 +2445,4 @@ declare class Agents24 extends GeneratedIntegrationNamespaces {
|
|
|
2419
2445
|
graph(): GraphBuilder;
|
|
2420
2446
|
}
|
|
2421
2447
|
|
|
2422
|
-
export { type CustomerResourcePolicyAssignment as $, Agents24 as A, type BackendSessionRequestOptions as B, type ClearCustomerResourcePolicyAssignmentResult as C, type ClientDeploymentListQuery as D, type ClientDeploymentListResponse as E, type ClientNativeProfile as F, type ClientRuntimeNativeProfileInput as G, type ClientRuntimeOidcConfig as H, type ClientRuntimePolicyInput as I, type ClientSessionCredentials as J, type ContentChunk as K, type ContentSegment as L, type ControlPlaneAgentRunRequest as M, type ControlPlaneRunEventsResponse as N, type ConversationRunRequest as O, type ConversationRunResult as P, type ConversationRuntimeSelectionRequest as Q, type ConversationRuntimeSelectionResult as R, type ConversationThreadOptions as S, type CreateBackendClientSessionRequest as T, type CreateClientDeploymentRequest as U, type CustomerIdentityRequest as V, type CustomerPrincipalRefRequest as W, type CustomerProfile as X, type CustomerProfileList as Y, type CustomerProfilePatch as Z, type CustomerProfileSearchOptions as _, type AgentCreateRequest as a, type
|
|
2448
|
+
export { type CustomerResourcePolicyAssignment as $, Agents24 as A, type BackendSessionRequestOptions as B, type ClearCustomerResourcePolicyAssignmentResult as C, type ClientDeploymentListQuery as D, type ClientDeploymentListResponse as E, type ClientNativeProfile as F, type ClientRuntimeNativeProfileInput as G, type ClientRuntimeOidcConfig as H, type ClientRuntimePolicyInput as I, type ClientSessionCredentials as J, type ContentChunk as K, type ContentSegment as L, type ControlPlaneAgentRunRequest as M, type ControlPlaneRunEventsResponse as N, type ConversationRunRequest as O, type ConversationRunResult as P, type ConversationRuntimeSelectionRequest as Q, type ConversationRuntimeSelectionResult as R, type ConversationThreadOptions as S, type CreateBackendClientSessionRequest as T, type CreateClientDeploymentRequest as U, type CustomerIdentityRequest as V, type CustomerPrincipalRefRequest as W, type CustomerProfile as X, type CustomerProfileList as Y, type CustomerProfilePatch as Z, type CustomerProfileSearchOptions as _, type AgentCreateRequest as a, type JobStepFieldOptions as a$, type DelegationAction as a0, type DelegationActionReceipt as a1, type DelegationActionRequest as a2, type DelegationEvents as a3, type DelegationHistory as a4, type DelegationHistoryTurn as a5, type DelegationStatus as a6, type DelegationTask as a7, type DelegationTaskList as a8, type EffectiveCustomerResourcePolicyRequest as a9, type GraphValueRef as aA, type HitlAction as aB, type HitlAnswer as aC, type HostedArtifactDraft as aD, HostedArtifactsNamespace as aE, type IndexedCleanupAck as aF, type IndexedContent as aG, type IndexedContentListOptions as aH, type IndexedContentPage as aI, type IndexedRecordIdListOptions as aJ, type IndexedRecordIdPage as aK, type IngestionBatch as aL, type IngestionBatchListOptions as aM, type IngestionBatchPage as aN, type IngestionJob as aO, type IngestionJobAcknowledgment as aP, type IngestionJobGetOptions as aQ, type IngestionJobListOptions as aR, type IngestionJobPage as aS, type IngestionJobStart as aT, type JobFieldData as aU, type JobPayloadDownload as aV, type JobResult as aW, type JobStep as aX, type JobStepData as aY, type JobStepDataOptions as aZ, type JobStepDownloadOptions as a_, type EffectiveResourcePolicy as aa, type EmbedAgentAliasResolution as ab, type EmbedAttachmentContentAccessRequest as ac, type EmbedCustomerPrincipalResolveRequest as ad, type EmbedCustomerPrincipalResolveResponse as ae, type EmbedDelegationOptions as af, type EmbedResourcePolicyRequest as ag, type EmbedRunCancelOptions as ah, type EmbedRunStartRequest as ai, type EmbedRuntimeBootstrap as aj, type EmbedStreamRequest as ak, type EmbedThreadMessageEdit as al, type EmbedThreadMessageScope as am, type EmbedThreadMessageSubmit as an, type EmbeddedResponseFeedbackInput as ao, type EvidenceLocation as ap, type FailureCategory as aq, type FailureView as ar, type FeedbackRating as as, type FeedbackReason as at, type FileAssetReference as au, GraphBuilder as av, type GraphDefinition as aw, type GraphEdge as ax, type GraphHints as ay, type GraphNode as az, AgentDefinitionBuilder as b, type ResourceCandidateList as b$, type JobSteps as b0, type KnowledgeStore as b1, type KnowledgeStoreChunking as b2, type KnowledgeStoreCreate as b3, type KnowledgeStoreListOptions as b4, type KnowledgeStoreNamespace as b5, type KnowledgeStorePage as b6, type KnowledgeStoreStats as b7, type KnowledgeStoreUpdate as b8, type LatestOrPinnedPolicy as b9, type PipelineSummary as bA, type PortableResourceKind as bB, type ProcessedContent as bC, type ProcessedContentOptions as bD, type ProcessedContentReference as bE, type ProcessingInput as bF, type ProcessingInputSource as bG, type PublishedExecutable as bH, type RagRetention as bI, type RawVectorMatch as bJ, type RawVectorRecord as bK, type RecordBatchResult as bL, type RecordCapabilities as bM, type RecordDeleteRequest as bN, type RecordFetchRequest as bO, type RecordFetchResult as bP, type RecordListRequest as bQ, type RecordMutationAck as bR, type RecordPage as bS, type RecordQueryRequest as bT, type RecordQueryResult as bU, type RecordUpdateRequest as bV, type RecordUpsertRequest as bW, type RequestOptions as bX, type ResetResourcePolicyQuotaRequest as bY, type ResourceCallableBinding as bZ, type ResourceCallableBindingStatus as b_, type McpAuthStartRequest as ba, type McpAuthStartResult as bb, type ModelCapabilitiesV1 as bc, type ModelPricingDimension as bd, type ModelRequirements as be, type ModelRuntimeKind as bf, type MultiAgentThreadListRequest as bg, type MultiAgentThreadSummaryEventOptions as bh, type NamespaceDataStats as bi, type NamespaceInput as bj, type NamespaceListOptions as bk, type NamespacePage as bl, type NamespaceSummary as bm, type NativePlatform as bn, type NodeAuthoringSpec as bo, type NodeCatalogItem as bp, type NodeCatalogResponse as bq, type NodeSchemaResponse as br, type OCROptions as bs, type PayloadAvailability as bt, type PipelineInputField as bu, type PipelineInputSchema as bv, type PipelineInputStep as bw, type PipelineInputUpload as bx, type PipelineListOptions as by, type PipelinePage as bz, type AgentDefinitionOptions as c, type ThreadDetailOptions as c$, type ResourceInstallation as c0, type ResourceInstallationApplication as c1, type ResourceInstallationApplyRequest as c2, type ResourceInstallationBinding as c3, type ResourceInstallationCreateRequest as c4, type ResourceInstallationDeploymentRequest as c5, type ResourceInstallationLinkRequest as c6, type ResourceInstallationList as c7, type ResourceInstallationOperation as c8, type ResourceInstallationPlan as c9, type ResourceSelector as cA, type ResourceToolExport as cB, type ResponseFeedback as cC, type ResponseFeedbackResult as cD, type ResumeRunRequest as cE, type RetrievalEvidence as cF, type RunCancelOptions as cG, type RunContextOptions as cH, type RunStatus as cI, type RunTrace as cJ, type ServerAttachmentUploadOptions as cK, type ServerEmbedAttachmentUploadOptions as cL, type SetCustomerResourcePolicyAssignmentRequest as cM, type SetResourcePolicyQuotaScheduleRequest as cN, type SourceDescriptor as cO, type SourceOutcome as cP, type StartRunResult as cQ, type StateVariableDefinition as cR, type StreamRequestOptions as cS, type StreamResult as cT, type ThreadComputerContentAccess as cU, type ThreadComputerFile as cV, type ThreadComputerFileOptions as cW, type ThreadComputerFileText as cX, type ThreadComputerFiles as cY, type ThreadComputerStatus as cZ, type ThreadDeleteOptions as c_, type ResourceInstallationPlanUpload as ca, type ResourceInstallationPublication as cb, type ResourceInstallationPublishRequest as cc, type ResourceInstallationPullAcceptRequest as cd, type ResourceInstallationPullChange as ce, type ResourceInstallationPullPayload as cf, type ResourceInstallationPullPlan as cg, type ResourceInstallationResourceListOptions as ch, type ResourceInstallationSecretStatus as ci, type ResourceInstallationSecretsRequest as cj, type ResourcePackageArchive as ck, type ResourcePackageCandidateOptions as cl, type ResourcePackageDependency as cm, type ResourcePackageDiagnostic as cn, type ResourcePackageExportPlan as co, type ResourcePackageExportRequest as cp, type ResourcePackageImportPreview as cq, type ResourcePackageImportResult as cr, type ResourcePackageImportUpload as cs, type ResourcePackageUpload as ct, type ResourcePackageValidationResult as cu, type ResourcePolicyList as cv, type ResourcePolicyQuotaSchedule as cw, type ResourcePolicyQuotaScheduleResult as cx, type ResourcePolicySubjectRef as cy, type ResourcePolicySummary as cz, type AgentListResponse as d, type ThreadListOptions as d0, type ThreadSummaryEventOptions as d1, type TraceContent as d2, type TraceError as d3, type TraceSpan as d4, type TraceSpanKind as d5, type TraceSpanStatus as d6, type TraceView as d7, type UpdateClientDeploymentRequest as d8, type UploadPart as d9, type UploadPartAck as da, type UploadSession as db, type UploadSessionStart as dc, type WorkflowInputDefinition as dd, type AgentRef as e, type AgentResponse as f, type AgentStreamRequest as g, type AgentSummary as h, type AgentToolsetAttachment as i, type AgentUpdateRequest as j, type AgentValidationIssue as k, type AgentValidationResult as l, Agents24SDKError as m, type Agents24NodeErrorKind as n, type Agents24NodeOptions as o, type Agents24Options as p, type Agents24SDKErrorKind as q, type Agents24SDKSerializedError as r, type ArtifactDevelopmentSession as s, type ArtifactDevelopmentSessionAdmission as t, type ArtifactDevelopmentSessionPrepareRequest as u, type AttachRunRequest as v, type AttachmentContentAccessRequest as w, type BranchingHint as x, type ClientAuthMode as y, type ClientDeployment as z };
|
|
@@ -471,6 +471,8 @@ declare class DelegationsNamespace {
|
|
|
471
471
|
act(runId: string, handle: string, request: DelegationActionRequest, options?: RequestOptions): Promise<Record<string, unknown>>;
|
|
472
472
|
}
|
|
473
473
|
|
|
474
|
+
type ModelRuntimeKind = "chat" | "embedding" | "speech_to_text" | "image_generation" | "rerank" | "ocr";
|
|
475
|
+
type ModelPricingDimension = "audio_input_second" | "audio_input_token" | "audio_output_token" | "cached_input_token" | "image_output" | "input_token" | "ocr_page" | "output_token" | "reasoning_token" | "request" | "search_request";
|
|
474
476
|
type ModelCapabilityFeatures = {
|
|
475
477
|
tool_calling: boolean;
|
|
476
478
|
structured_output: boolean;
|
|
@@ -500,6 +502,8 @@ type ModelRequirements = {
|
|
|
500
502
|
input_modalities?: Array<ModelInputModality>;
|
|
501
503
|
output_modalities?: Array<ModelOutputModality>;
|
|
502
504
|
required_features?: Array<"tool_calling" | "structured_output" | "reasoning" | "segment_timestamps" | "word_timestamps">;
|
|
505
|
+
providers?: Array<string>;
|
|
506
|
+
runtime_kinds?: Array<"chat" | "embedding" | "speech_to_text" | "image_generation" | "rerank" | "ocr">;
|
|
503
507
|
};
|
|
504
508
|
|
|
505
509
|
type Agents24NodeOptions = {
|
|
@@ -1096,7 +1100,7 @@ type ResourcePackageDependency = {
|
|
|
1096
1100
|
required: boolean;
|
|
1097
1101
|
bundled: boolean;
|
|
1098
1102
|
included?: boolean;
|
|
1099
|
-
required_capability?: "chat" | "embedding" | "speech_to_text" | "rerank";
|
|
1103
|
+
required_capability?: "chat" | "embedding" | "speech_to_text" | "rerank" | "ocr";
|
|
1100
1104
|
status?: "bundled" | "mapped" | "unresolved";
|
|
1101
1105
|
mapped_id?: string | null;
|
|
1102
1106
|
suggested_mapping?: {
|
|
@@ -1118,7 +1122,7 @@ type ResourcePackageExportPlan = {
|
|
|
1118
1122
|
kind: string;
|
|
1119
1123
|
name?: string | null;
|
|
1120
1124
|
required: boolean;
|
|
1121
|
-
required_capability?: "chat" | "embedding" | "speech_to_text" | "rerank";
|
|
1125
|
+
required_capability?: "chat" | "embedding" | "speech_to_text" | "rerank" | "ocr";
|
|
1122
1126
|
}>;
|
|
1123
1127
|
warnings: string[];
|
|
1124
1128
|
blockers: Array<{
|
|
@@ -1185,7 +1189,7 @@ type ResourcePackageCandidateOptions = {
|
|
|
1185
1189
|
query?: string;
|
|
1186
1190
|
limit?: number;
|
|
1187
1191
|
offset?: number;
|
|
1188
|
-
requiredCapability?: "chat" | "embedding" | "speech_to_text" | "rerank";
|
|
1192
|
+
requiredCapability?: "chat" | "embedding" | "speech_to_text" | "rerank" | "ocr";
|
|
1189
1193
|
};
|
|
1190
1194
|
type ResourceInstallationBinding = {
|
|
1191
1195
|
resource_key: string;
|
|
@@ -1888,6 +1892,8 @@ type IngestionJob = {
|
|
|
1888
1892
|
knowledge_namespaces?: Record<string, string>;
|
|
1889
1893
|
job_kind?: "pipeline" | "indexed_cleanup";
|
|
1890
1894
|
retention?: RagRetention;
|
|
1895
|
+
input_params?: Record<string, unknown>;
|
|
1896
|
+
input_availability?: PayloadAvailability;
|
|
1891
1897
|
};
|
|
1892
1898
|
type IngestionJobPage = {
|
|
1893
1899
|
items: Array<IngestionJob>;
|
|
@@ -2023,7 +2029,7 @@ type FileAssetReference = {
|
|
|
2023
2029
|
source: SourceDescriptor;
|
|
2024
2030
|
};
|
|
2025
2031
|
type EvidenceLocation = {
|
|
2026
|
-
kind: "pdf" | "docx" | "media" | "text" | "record";
|
|
2032
|
+
kind: "pdf" | "docx" | "media" | "text" | "record" | "image";
|
|
2027
2033
|
page_number?: number | null;
|
|
2028
2034
|
total_pages?: number | null;
|
|
2029
2035
|
bbox?: Array<number> | null;
|
|
@@ -2174,6 +2180,8 @@ type JobStep = {
|
|
|
2174
2180
|
completed_at?: string | null;
|
|
2175
2181
|
has_input_data?: boolean;
|
|
2176
2182
|
has_output_data?: boolean;
|
|
2183
|
+
input_availability?: PayloadAvailability;
|
|
2184
|
+
output_availability?: PayloadAvailability;
|
|
2177
2185
|
};
|
|
2178
2186
|
type JobSteps = {
|
|
2179
2187
|
steps: Array<JobStep>;
|
|
@@ -2331,6 +2339,23 @@ type RecordBatchResult = {
|
|
|
2331
2339
|
unknown_ids: Array<string>;
|
|
2332
2340
|
failure?: FailureView;
|
|
2333
2341
|
};
|
|
2342
|
+
type PayloadAvailability = {
|
|
2343
|
+
availability: "available" | "unavailable";
|
|
2344
|
+
reason?: string;
|
|
2345
|
+
expires_at?: string;
|
|
2346
|
+
};
|
|
2347
|
+
type OCROptions = {
|
|
2348
|
+
model_id: string;
|
|
2349
|
+
language_hints?: Array<string>;
|
|
2350
|
+
};
|
|
2351
|
+
type IndexedRecordIdPage = {
|
|
2352
|
+
ids: Array<string>;
|
|
2353
|
+
next_cursor: string | null;
|
|
2354
|
+
};
|
|
2355
|
+
type IndexedRecordIdListOptions = {
|
|
2356
|
+
cursor?: string;
|
|
2357
|
+
limit?: number;
|
|
2358
|
+
};
|
|
2334
2359
|
|
|
2335
2360
|
declare class PipelinesNamespace {
|
|
2336
2361
|
protected readonly http: Agents24HttpClient;
|
|
@@ -2375,6 +2400,7 @@ declare class KnowledgeStoresNamespace {
|
|
|
2375
2400
|
archive(storeId: string): Promise<void>;
|
|
2376
2401
|
listIndexedContent(storeId: string, options: IndexedContentListOptions): Promise<IndexedContentPage>;
|
|
2377
2402
|
getIndexedContent(storeId: string, indexedId: string): Promise<IndexedContent>;
|
|
2403
|
+
listIndexedRecordIds(storeId: string, indexedId: string, options: IndexedRecordIdListOptions): Promise<IndexedRecordIdPage>;
|
|
2378
2404
|
deleteIndexedContent(storeId: string, indexedId: string, options?: RequestOptions): Promise<IndexedCleanupAck>;
|
|
2379
2405
|
getCleanupJob(storeId: string, jobId: string): Promise<IngestionJob>;
|
|
2380
2406
|
resumeCleanupJob(storeId: string, jobId: string, options?: RequestOptions): Promise<IngestionJob>;
|
|
@@ -2419,4 +2445,4 @@ declare class Agents24 extends GeneratedIntegrationNamespaces {
|
|
|
2419
2445
|
graph(): GraphBuilder;
|
|
2420
2446
|
}
|
|
2421
2447
|
|
|
2422
|
-
export { type CustomerResourcePolicyAssignment as $, Agents24 as A, type BackendSessionRequestOptions as B, type ClearCustomerResourcePolicyAssignmentResult as C, type ClientDeploymentListQuery as D, type ClientDeploymentListResponse as E, type ClientNativeProfile as F, type ClientRuntimeNativeProfileInput as G, type ClientRuntimeOidcConfig as H, type ClientRuntimePolicyInput as I, type ClientSessionCredentials as J, type ContentChunk as K, type ContentSegment as L, type ControlPlaneAgentRunRequest as M, type ControlPlaneRunEventsResponse as N, type ConversationRunRequest as O, type ConversationRunResult as P, type ConversationRuntimeSelectionRequest as Q, type ConversationRuntimeSelectionResult as R, type ConversationThreadOptions as S, type CreateBackendClientSessionRequest as T, type CreateClientDeploymentRequest as U, type CustomerIdentityRequest as V, type CustomerPrincipalRefRequest as W, type CustomerProfile as X, type CustomerProfileList as Y, type CustomerProfilePatch as Z, type CustomerProfileSearchOptions as _, type AgentCreateRequest as a, type
|
|
2448
|
+
export { type CustomerResourcePolicyAssignment as $, Agents24 as A, type BackendSessionRequestOptions as B, type ClearCustomerResourcePolicyAssignmentResult as C, type ClientDeploymentListQuery as D, type ClientDeploymentListResponse as E, type ClientNativeProfile as F, type ClientRuntimeNativeProfileInput as G, type ClientRuntimeOidcConfig as H, type ClientRuntimePolicyInput as I, type ClientSessionCredentials as J, type ContentChunk as K, type ContentSegment as L, type ControlPlaneAgentRunRequest as M, type ControlPlaneRunEventsResponse as N, type ConversationRunRequest as O, type ConversationRunResult as P, type ConversationRuntimeSelectionRequest as Q, type ConversationRuntimeSelectionResult as R, type ConversationThreadOptions as S, type CreateBackendClientSessionRequest as T, type CreateClientDeploymentRequest as U, type CustomerIdentityRequest as V, type CustomerPrincipalRefRequest as W, type CustomerProfile as X, type CustomerProfileList as Y, type CustomerProfilePatch as Z, type CustomerProfileSearchOptions as _, type AgentCreateRequest as a, type JobStepFieldOptions as a$, type DelegationAction as a0, type DelegationActionReceipt as a1, type DelegationActionRequest as a2, type DelegationEvents as a3, type DelegationHistory as a4, type DelegationHistoryTurn as a5, type DelegationStatus as a6, type DelegationTask as a7, type DelegationTaskList as a8, type EffectiveCustomerResourcePolicyRequest as a9, type GraphValueRef as aA, type HitlAction as aB, type HitlAnswer as aC, type HostedArtifactDraft as aD, HostedArtifactsNamespace as aE, type IndexedCleanupAck as aF, type IndexedContent as aG, type IndexedContentListOptions as aH, type IndexedContentPage as aI, type IndexedRecordIdListOptions as aJ, type IndexedRecordIdPage as aK, type IngestionBatch as aL, type IngestionBatchListOptions as aM, type IngestionBatchPage as aN, type IngestionJob as aO, type IngestionJobAcknowledgment as aP, type IngestionJobGetOptions as aQ, type IngestionJobListOptions as aR, type IngestionJobPage as aS, type IngestionJobStart as aT, type JobFieldData as aU, type JobPayloadDownload as aV, type JobResult as aW, type JobStep as aX, type JobStepData as aY, type JobStepDataOptions as aZ, type JobStepDownloadOptions as a_, type EffectiveResourcePolicy as aa, type EmbedAgentAliasResolution as ab, type EmbedAttachmentContentAccessRequest as ac, type EmbedCustomerPrincipalResolveRequest as ad, type EmbedCustomerPrincipalResolveResponse as ae, type EmbedDelegationOptions as af, type EmbedResourcePolicyRequest as ag, type EmbedRunCancelOptions as ah, type EmbedRunStartRequest as ai, type EmbedRuntimeBootstrap as aj, type EmbedStreamRequest as ak, type EmbedThreadMessageEdit as al, type EmbedThreadMessageScope as am, type EmbedThreadMessageSubmit as an, type EmbeddedResponseFeedbackInput as ao, type EvidenceLocation as ap, type FailureCategory as aq, type FailureView as ar, type FeedbackRating as as, type FeedbackReason as at, type FileAssetReference as au, GraphBuilder as av, type GraphDefinition as aw, type GraphEdge as ax, type GraphHints as ay, type GraphNode as az, AgentDefinitionBuilder as b, type ResourceCandidateList as b$, type JobSteps as b0, type KnowledgeStore as b1, type KnowledgeStoreChunking as b2, type KnowledgeStoreCreate as b3, type KnowledgeStoreListOptions as b4, type KnowledgeStoreNamespace as b5, type KnowledgeStorePage as b6, type KnowledgeStoreStats as b7, type KnowledgeStoreUpdate as b8, type LatestOrPinnedPolicy as b9, type PipelineSummary as bA, type PortableResourceKind as bB, type ProcessedContent as bC, type ProcessedContentOptions as bD, type ProcessedContentReference as bE, type ProcessingInput as bF, type ProcessingInputSource as bG, type PublishedExecutable as bH, type RagRetention as bI, type RawVectorMatch as bJ, type RawVectorRecord as bK, type RecordBatchResult as bL, type RecordCapabilities as bM, type RecordDeleteRequest as bN, type RecordFetchRequest as bO, type RecordFetchResult as bP, type RecordListRequest as bQ, type RecordMutationAck as bR, type RecordPage as bS, type RecordQueryRequest as bT, type RecordQueryResult as bU, type RecordUpdateRequest as bV, type RecordUpsertRequest as bW, type RequestOptions as bX, type ResetResourcePolicyQuotaRequest as bY, type ResourceCallableBinding as bZ, type ResourceCallableBindingStatus as b_, type McpAuthStartRequest as ba, type McpAuthStartResult as bb, type ModelCapabilitiesV1 as bc, type ModelPricingDimension as bd, type ModelRequirements as be, type ModelRuntimeKind as bf, type MultiAgentThreadListRequest as bg, type MultiAgentThreadSummaryEventOptions as bh, type NamespaceDataStats as bi, type NamespaceInput as bj, type NamespaceListOptions as bk, type NamespacePage as bl, type NamespaceSummary as bm, type NativePlatform as bn, type NodeAuthoringSpec as bo, type NodeCatalogItem as bp, type NodeCatalogResponse as bq, type NodeSchemaResponse as br, type OCROptions as bs, type PayloadAvailability as bt, type PipelineInputField as bu, type PipelineInputSchema as bv, type PipelineInputStep as bw, type PipelineInputUpload as bx, type PipelineListOptions as by, type PipelinePage as bz, type AgentDefinitionOptions as c, type ThreadDetailOptions as c$, type ResourceInstallation as c0, type ResourceInstallationApplication as c1, type ResourceInstallationApplyRequest as c2, type ResourceInstallationBinding as c3, type ResourceInstallationCreateRequest as c4, type ResourceInstallationDeploymentRequest as c5, type ResourceInstallationLinkRequest as c6, type ResourceInstallationList as c7, type ResourceInstallationOperation as c8, type ResourceInstallationPlan as c9, type ResourceSelector as cA, type ResourceToolExport as cB, type ResponseFeedback as cC, type ResponseFeedbackResult as cD, type ResumeRunRequest as cE, type RetrievalEvidence as cF, type RunCancelOptions as cG, type RunContextOptions as cH, type RunStatus as cI, type RunTrace as cJ, type ServerAttachmentUploadOptions as cK, type ServerEmbedAttachmentUploadOptions as cL, type SetCustomerResourcePolicyAssignmentRequest as cM, type SetResourcePolicyQuotaScheduleRequest as cN, type SourceDescriptor as cO, type SourceOutcome as cP, type StartRunResult as cQ, type StateVariableDefinition as cR, type StreamRequestOptions as cS, type StreamResult as cT, type ThreadComputerContentAccess as cU, type ThreadComputerFile as cV, type ThreadComputerFileOptions as cW, type ThreadComputerFileText as cX, type ThreadComputerFiles as cY, type ThreadComputerStatus as cZ, type ThreadDeleteOptions as c_, type ResourceInstallationPlanUpload as ca, type ResourceInstallationPublication as cb, type ResourceInstallationPublishRequest as cc, type ResourceInstallationPullAcceptRequest as cd, type ResourceInstallationPullChange as ce, type ResourceInstallationPullPayload as cf, type ResourceInstallationPullPlan as cg, type ResourceInstallationResourceListOptions as ch, type ResourceInstallationSecretStatus as ci, type ResourceInstallationSecretsRequest as cj, type ResourcePackageArchive as ck, type ResourcePackageCandidateOptions as cl, type ResourcePackageDependency as cm, type ResourcePackageDiagnostic as cn, type ResourcePackageExportPlan as co, type ResourcePackageExportRequest as cp, type ResourcePackageImportPreview as cq, type ResourcePackageImportResult as cr, type ResourcePackageImportUpload as cs, type ResourcePackageUpload as ct, type ResourcePackageValidationResult as cu, type ResourcePolicyList as cv, type ResourcePolicyQuotaSchedule as cw, type ResourcePolicyQuotaScheduleResult as cx, type ResourcePolicySubjectRef as cy, type ResourcePolicySummary as cz, type AgentListResponse as d, type ThreadListOptions as d0, type ThreadSummaryEventOptions as d1, type TraceContent as d2, type TraceError as d3, type TraceSpan as d4, type TraceSpanKind as d5, type TraceSpanStatus as d6, type TraceView as d7, type UpdateClientDeploymentRequest as d8, type UploadPart as d9, type UploadPartAck as da, type UploadSession as db, type UploadSessionStart as dc, type WorkflowInputDefinition as dd, type AgentRef as e, type AgentResponse as f, type AgentStreamRequest as g, type AgentSummary as h, type AgentToolsetAttachment as i, type AgentUpdateRequest as j, type AgentValidationIssue as k, type AgentValidationResult as l, Agents24SDKError as m, type Agents24NodeErrorKind as n, type Agents24NodeOptions as o, type Agents24Options as p, type Agents24SDKErrorKind as q, type Agents24SDKSerializedError as r, type ArtifactDevelopmentSession as s, type ArtifactDevelopmentSessionAdmission as t, type ArtifactDevelopmentSessionPrepareRequest as u, type AttachRunRequest as v, type AttachmentContentAccessRequest as w, type BranchingHint as x, type ClientAuthMode as y, type ClientDeployment as z };
|
package/dist/index.cjs
CHANGED
|
@@ -1676,6 +1676,14 @@ var KnowledgeStoresNamespace = class {
|
|
|
1676
1676
|
getIndexedContent(storeId, indexedId) {
|
|
1677
1677
|
return this.http.requestJson(`/admin/knowledge-stores/${encodeURIComponent(storeId)}/indexed-content/${encodeURIComponent(indexedId)}`);
|
|
1678
1678
|
}
|
|
1679
|
+
listIndexedRecordIds(storeId, indexedId, options) {
|
|
1680
|
+
return this.http.requestJson(`/admin/knowledge-stores/${encodeURIComponent(storeId)}/indexed-content/${encodeURIComponent(indexedId)}/record-ids`, {
|
|
1681
|
+
query: {
|
|
1682
|
+
cursor: options.cursor,
|
|
1683
|
+
limit: options.limit
|
|
1684
|
+
}
|
|
1685
|
+
});
|
|
1686
|
+
}
|
|
1679
1687
|
deleteIndexedContent(storeId, indexedId, options) {
|
|
1680
1688
|
return this.http.requestJson(`/admin/knowledge-stores/${encodeURIComponent(storeId)}/indexed-content/${encodeURIComponent(indexedId)}/delete`, {
|
|
1681
1689
|
method: "POST",
|
|
@@ -1946,6 +1954,7 @@ var SDK_OPERATION_IDS = [
|
|
|
1946
1954
|
"knowledgeStores.get_indexed_content",
|
|
1947
1955
|
"knowledgeStores.list",
|
|
1948
1956
|
"knowledgeStores.list_indexed_content",
|
|
1957
|
+
"knowledgeStores.list_indexed_record_ids",
|
|
1949
1958
|
"knowledgeStores.list_namespaces",
|
|
1950
1959
|
"knowledgeStores.list_records",
|
|
1951
1960
|
"knowledgeStores.namespace_stats",
|