@inkeep/agents-core 0.35.1 → 0.35.2
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/dist/auth/auth-schema.d.ts +1097 -0
- package/dist/auth/auth-schema.js +1 -0
- package/dist/auth/auth-validation-schemas.d.ts +1881 -0
- package/dist/auth/auth-validation-schemas.js +39 -0
- package/dist/auth/auth.d.ts +118 -0
- package/dist/auth/auth.js +95 -0
- package/dist/auth/permissions.d.ts +273 -0
- package/dist/auth/permissions.js +1 -0
- package/dist/chunk-4JZT4QEE.js +162 -0
- package/dist/chunk-F5WWOOIX.js +62 -0
- package/dist/{chunk-YZ5ZBVHJ.js → chunk-NFYCSHD3.js} +3 -81
- package/dist/chunk-NOPEANIU.js +82 -0
- package/dist/{chunk-J5AHY6M2.js → chunk-SPRTYWRV.js} +1 -1
- package/dist/{chunk-OP3KPT4T.js → chunk-TGESM3JG.js} +1 -160
- package/dist/{chunk-DYGTCLJO.js → chunk-VBCCPAZK.js} +1 -1
- package/dist/chunk-ZYSTJ4XY.js +948 -0
- package/dist/client-CPYOMZF2.d.ts +19 -0
- package/dist/client-exports.js +4 -3
- package/dist/db/schema.d.ts +2 -1
- package/dist/db/schema.js +2 -1
- package/dist/index.d.ts +9 -154
- package/dist/index.js +1565 -2498
- package/dist/{schema-BWd551GM.d.ts → schema-5N2lPWNV.d.ts} +2 -1095
- package/dist/validation/index.js +2 -2
- package/package.json +17 -1
- package/dist/auth-detection-CGqhPDnj.d.cts +0 -435
- package/dist/client-exports.cjs +0 -2833
- package/dist/client-exports.d.cts +0 -289
- package/dist/constants/models.cjs +0 -40
- package/dist/constants/models.d.cts +0 -42
- package/dist/db/schema.cjs +0 -1090
- package/dist/db/schema.d.cts +0 -7
- package/dist/index.cjs +0 -227898
- package/dist/index.d.cts +0 -4893
- package/dist/props-validation-BMR1qNiy.d.cts +0 -15
- package/dist/schema-D4WR42em.d.cts +0 -6352
- package/dist/types/index.cjs +0 -39
- package/dist/types/index.d.cts +0 -132
- package/dist/utility-DbltUp2Q.d.cts +0 -17079
- package/dist/utils/schema-conversion.cjs +0 -232
- package/dist/utils/schema-conversion.d.cts +0 -26
- package/dist/validation/index.cjs +0 -2930
- package/dist/validation/index.d.cts +0 -279
package/dist/validation/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A2AMessageMetadataSchema, DataComponentStreamEventSchema, DataOperationDetailsSchema, DataOperationEventSchema, DataOperationStreamEventSchema, DataSummaryStreamEventSchema, DelegationReturnedDataSchema, DelegationSentDataSchema, StreamErrorEventSchema, StreamEventSchema, StreamFinishEventSchema, TextDeltaEventSchema, TextEndEventSchema, TextStartEventSchema, TransferDataSchema, generateIdFromName, isValidResourceId, validateAgentRelationships, validateAgentStructure, validateAndTypeAgentData, validateArtifactComponentReferences, validateDataComponentReferences, validateRender, validateSubAgentExternalAgentRelations, validateToolReferences } from '../chunk-
|
|
2
|
-
export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectResponse, AgentWithinContextOfProjectSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentArrayResponse, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ComponentAssociationListResponse, ComponentAssociationSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CreateCredentialInStoreRequestSchema, CreateCredentialInStoreResponseSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, CredentialStoreListResponseSchema, CredentialStoreSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentArrayResponse, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullProjectDefinitionResponse, FullProjectDefinitionSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolListResponse, McpToolResponse, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, OAuthCallbackQuerySchema, OAuthLoginQuerySchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RelatedAgentInfoListResponse, RelatedAgentInfoSchema, RemovedResponseSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentListResponse, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentListResponse, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationListResponse, SubAgentExternalAgentRelationResponse, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationListResponse, SubAgentTeamAgentRelationResponse, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolListResponse, ToolResponse, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, canDelegateToExternalAgentSchema, canDelegateToTeamAgentSchema, resourceIdSchema, validatePropsAsJsonSchema } from '../chunk-
|
|
1
|
+
export { A2AMessageMetadataSchema, DataComponentStreamEventSchema, DataOperationDetailsSchema, DataOperationEventSchema, DataOperationStreamEventSchema, DataSummaryStreamEventSchema, DelegationReturnedDataSchema, DelegationSentDataSchema, StreamErrorEventSchema, StreamEventSchema, StreamFinishEventSchema, TextDeltaEventSchema, TextEndEventSchema, TextStartEventSchema, TransferDataSchema, generateIdFromName, isValidResourceId, validateAgentRelationships, validateAgentStructure, validateAndTypeAgentData, validateArtifactComponentReferences, validateDataComponentReferences, validateRender, validateSubAgentExternalAgentRelations, validateToolReferences } from '../chunk-SPRTYWRV.js';
|
|
2
|
+
export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectResponse, AgentWithinContextOfProjectSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentArrayResponse, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ComponentAssociationListResponse, ComponentAssociationSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CreateCredentialInStoreRequestSchema, CreateCredentialInStoreResponseSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, CredentialStoreListResponseSchema, CredentialStoreSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentArrayResponse, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullProjectDefinitionResponse, FullProjectDefinitionSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolListResponse, McpToolResponse, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, OAuthCallbackQuerySchema, OAuthLoginQuerySchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RelatedAgentInfoListResponse, RelatedAgentInfoSchema, RemovedResponseSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentListResponse, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentListResponse, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationListResponse, SubAgentExternalAgentRelationResponse, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationListResponse, SubAgentTeamAgentRelationResponse, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolListResponse, ToolResponse, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, canDelegateToExternalAgentSchema, canDelegateToTeamAgentSchema, resourceIdSchema, validatePropsAsJsonSchema } from '../chunk-VBCCPAZK.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-core",
|
|
3
|
-
"version": "0.35.
|
|
3
|
+
"version": "0.35.2",
|
|
4
4
|
"description": "Agents Core contains the database schema, types, and validation schemas for Inkeep Agent Framework, along with core components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -35,6 +35,22 @@
|
|
|
35
35
|
"types": "./dist/utils/schema-conversion.d.ts",
|
|
36
36
|
"import": "./dist/utils/schema-conversion.js"
|
|
37
37
|
},
|
|
38
|
+
"./auth": {
|
|
39
|
+
"types": "./dist/auth/auth.d.ts",
|
|
40
|
+
"import": "./dist/auth/auth.js"
|
|
41
|
+
},
|
|
42
|
+
"./auth/schema": {
|
|
43
|
+
"types": "./dist/auth/auth-schema.d.ts",
|
|
44
|
+
"import": "./dist/auth/auth-schema.js"
|
|
45
|
+
},
|
|
46
|
+
"./auth/validation": {
|
|
47
|
+
"types": "./dist/auth/auth-validation-schemas.d.ts",
|
|
48
|
+
"import": "./dist/auth/auth-validation-schemas.js"
|
|
49
|
+
},
|
|
50
|
+
"./auth/permissions": {
|
|
51
|
+
"types": "./dist/auth/permissions.d.ts",
|
|
52
|
+
"import": "./dist/auth/permissions.js"
|
|
53
|
+
},
|
|
38
54
|
"./drizzle": "./drizzle/",
|
|
39
55
|
"./package.json": "./package.json"
|
|
40
56
|
},
|
|
@@ -1,435 +0,0 @@
|
|
|
1
|
-
import { LoggerOptions, TransportSingleOptions, Logger } from 'pino';
|
|
2
|
-
|
|
3
|
-
declare const DELEGATION_FROM_SUB_AGENT_ID = "delegation.from_sub_agent_id";
|
|
4
|
-
declare const DELEGATION_TO_SUB_AGENT_ID = "delegation.to_sub_agent_id";
|
|
5
|
-
declare const DELEGATION_ID = "delegation.id";
|
|
6
|
-
declare const TRANSFER_FROM_SUB_AGENT_ID = "transfer.from_sub_agent_id";
|
|
7
|
-
declare const TRANSFER_TO_SUB_AGENT_ID = "transfer.to_sub_agent_id";
|
|
8
|
-
declare const SPAN_NAMES: {
|
|
9
|
-
readonly AI_TOOL_CALL: "ai.toolCall";
|
|
10
|
-
readonly CONTEXT_RESOLUTION: "context-resolver.resolve_single_fetch_definition";
|
|
11
|
-
readonly CONTEXT_HANDLE: "context.handle_context_resolution";
|
|
12
|
-
readonly AGENT_GENERATION: "agent.generate";
|
|
13
|
-
readonly CONTEXT_FETCHER: "context-fetcher.http-request";
|
|
14
|
-
readonly ARTIFACT_PROCESSING: "agent_session.process_artifact";
|
|
15
|
-
};
|
|
16
|
-
declare const AI_OPERATIONS: {
|
|
17
|
-
readonly GENERATE_TEXT: "ai.generateText.doGenerate";
|
|
18
|
-
readonly STREAM_TEXT: "ai.streamText.doStream";
|
|
19
|
-
readonly STREAM_OBJECT: "ai.streamObject.doStream";
|
|
20
|
-
};
|
|
21
|
-
/** OpenTelemetry span attribute keys used for tracing */
|
|
22
|
-
declare const SPAN_KEYS: {
|
|
23
|
-
readonly SPAN_ID: "spanID";
|
|
24
|
-
readonly TRACE_ID: "traceID";
|
|
25
|
-
readonly DURATION_NANO: "durationNano";
|
|
26
|
-
readonly TIMESTAMP: "timestamp";
|
|
27
|
-
readonly HAS_ERROR: "hasError";
|
|
28
|
-
readonly STATUS_MESSAGE: "status_message";
|
|
29
|
-
readonly OTEL_STATUS_CODE: "otel.status_code";
|
|
30
|
-
readonly OTEL_STATUS_DESCRIPTION: "otel.status_description";
|
|
31
|
-
readonly AGENT_ID: "agent.id";
|
|
32
|
-
readonly AGENT_NAME: "agent.name";
|
|
33
|
-
readonly TENANT_ID: "tenant.id";
|
|
34
|
-
readonly PROJECT_ID: "project.id";
|
|
35
|
-
readonly SUB_AGENT_NAME: "subAgent.name";
|
|
36
|
-
readonly SUB_AGENT_ID: "subAgent.id";
|
|
37
|
-
readonly AI_OPERATION_ID: "ai.operationId";
|
|
38
|
-
readonly AI_RESPONSE_TIMESTAMP: "ai.response.timestamp";
|
|
39
|
-
readonly AI_RESPONSE_CONTENT: "ai.response.content";
|
|
40
|
-
readonly AI_RESPONSE_TEXT: "ai.response.text";
|
|
41
|
-
readonly AI_RESPONSE_OBJECT: "ai.response.object";
|
|
42
|
-
readonly AI_RESPONSE_MODEL: "ai.response.model";
|
|
43
|
-
readonly AI_RESPONSE_TOOL_CALLS: "ai.response.toolCalls";
|
|
44
|
-
readonly AI_PROMPT_MESSAGES: "ai.prompt.messages";
|
|
45
|
-
readonly AI_MODEL_PROVIDER: "ai.model.provider";
|
|
46
|
-
readonly AI_TELEMETRY_FUNCTION_ID: "ai.telemetry.functionId";
|
|
47
|
-
readonly AI_TELEMETRY_SUB_AGENT_ID: "ai.telemetry.metadata.subAgentId";
|
|
48
|
-
readonly AI_TELEMETRY_SUB_AGENT_NAME: "ai.telemetry.metadata.subAgentName";
|
|
49
|
-
readonly AI_MODEL_ID: "ai.model.id";
|
|
50
|
-
readonly AI_TOOL_CALL_NAME: "ai.toolCall.name";
|
|
51
|
-
readonly AI_TOOL_CALL_RESULT: "ai.toolCall.result";
|
|
52
|
-
readonly AI_TOOL_CALL_ARGS: "ai.toolCall.args";
|
|
53
|
-
readonly AI_TOOL_CALL_ID: "ai.toolCall.id";
|
|
54
|
-
readonly AI_TOOL_TYPE: "ai.toolType";
|
|
55
|
-
readonly TOOL_PURPOSE: "tool.purpose";
|
|
56
|
-
readonly GEN_AI_USAGE_INPUT_TOKENS: "gen_ai.usage.input_tokens";
|
|
57
|
-
readonly GEN_AI_USAGE_OUTPUT_TOKENS: "gen_ai.usage.output_tokens";
|
|
58
|
-
readonly CONTEXT_URL: "context.url";
|
|
59
|
-
readonly CONTEXT_CONFIG_ID: "context.context_config_id";
|
|
60
|
-
readonly CONTEXT_AGENT_ID: "context.agent_id";
|
|
61
|
-
readonly CONTEXT_HEADERS_KEYS: "context.headers_keys";
|
|
62
|
-
readonly MESSAGE_CONTENT: "message.content";
|
|
63
|
-
readonly MESSAGE_TIMESTAMP: "message.timestamp";
|
|
64
|
-
readonly MCP_TOOL_DESCRIPTION: "mcp.tool.description";
|
|
65
|
-
readonly DELEGATION_FROM_SUB_AGENT_ID: "delegation.from_sub_agent_id";
|
|
66
|
-
readonly DELEGATION_TO_SUB_AGENT_ID: "delegation.to_sub_agent_id";
|
|
67
|
-
readonly DELEGATION_ID: "delegation.id";
|
|
68
|
-
readonly TRANSFER_FROM_SUB_AGENT_ID: "transfer.from_sub_agent_id";
|
|
69
|
-
readonly TRANSFER_TO_SUB_AGENT_ID: "transfer.to_sub_agent_id";
|
|
70
|
-
readonly HTTP_URL: "http.url";
|
|
71
|
-
readonly HTTP_STATUS_CODE: "http.status_code";
|
|
72
|
-
readonly HTTP_RESPONSE_BODY_SIZE: "http.response.body_size";
|
|
73
|
-
readonly NAME: "name";
|
|
74
|
-
readonly PARENT_SPAN_ID: "parentSpanID";
|
|
75
|
-
readonly CONVERSATION_ID: "conversation.id";
|
|
76
|
-
readonly ARTIFACT_ID: "artifact.id";
|
|
77
|
-
readonly ARTIFACT_TYPE: "artifact.type";
|
|
78
|
-
readonly ARTIFACT_TOOL_CALL_ID: "artifact.tool_call_id";
|
|
79
|
-
readonly ARTIFACT_DATA: "artifact.data";
|
|
80
|
-
readonly ARTIFACT_NAME: "artifact.name";
|
|
81
|
-
readonly ARTIFACT_DESCRIPTION: "artifact.description";
|
|
82
|
-
};
|
|
83
|
-
declare const UNKNOWN_VALUE: "unknown";
|
|
84
|
-
/** Activity Types */
|
|
85
|
-
declare const ACTIVITY_TYPES: {
|
|
86
|
-
readonly TOOL_CALL: "tool_call";
|
|
87
|
-
readonly AI_GENERATION: "ai_generation";
|
|
88
|
-
readonly AGENT_GENERATION: "agent_generation";
|
|
89
|
-
readonly CONTEXT_FETCH: "context_fetch";
|
|
90
|
-
readonly CONTEXT_RESOLUTION: "context_resolution";
|
|
91
|
-
readonly USER_MESSAGE: "user_message";
|
|
92
|
-
readonly AI_ASSISTANT_MESSAGE: "ai_assistant_message";
|
|
93
|
-
readonly AI_MODEL_STREAMED_TEXT: "ai_model_streamed_text";
|
|
94
|
-
readonly AI_MODEL_STREAMED_OBJECT: "ai_model_streamed_object";
|
|
95
|
-
};
|
|
96
|
-
/** Activity Status Values */
|
|
97
|
-
declare const ACTIVITY_STATUS: {
|
|
98
|
-
readonly SUCCESS: "success";
|
|
99
|
-
readonly ERROR: "error";
|
|
100
|
-
readonly PENDING: "pending";
|
|
101
|
-
};
|
|
102
|
-
/** Agent IDs */
|
|
103
|
-
declare const AGENT_IDS: {
|
|
104
|
-
readonly USER: "user";
|
|
105
|
-
readonly AI_ASSISTANT: "ai-assistant";
|
|
106
|
-
};
|
|
107
|
-
/** Activity Names */
|
|
108
|
-
declare const ACTIVITY_NAMES: {
|
|
109
|
-
readonly CONTEXT_FETCH: "Context Fetch";
|
|
110
|
-
readonly USER_MESSAGE: "User Message";
|
|
111
|
-
readonly AI_ASSISTANT_MESSAGE: "AI Assistant Message";
|
|
112
|
-
readonly AI_TEXT_GENERATION: "AI Text Generation";
|
|
113
|
-
readonly AI_STREAMING_TEXT: "AI Streaming Text";
|
|
114
|
-
readonly AI_STREAMING_OBJECT: "AI Streaming Object";
|
|
115
|
-
readonly UNKNOWN_AGENT: "Unknown Agent";
|
|
116
|
-
readonly USER: "User";
|
|
117
|
-
};
|
|
118
|
-
/** AI Tool Types */
|
|
119
|
-
declare const AI_TOOL_TYPES: {
|
|
120
|
-
readonly MCP: "mcp";
|
|
121
|
-
readonly TRANSFER: "transfer";
|
|
122
|
-
readonly DELEGATION: "delegation";
|
|
123
|
-
};
|
|
124
|
-
|
|
125
|
-
/** SigNoz query data types */
|
|
126
|
-
declare const DATA_TYPES: {
|
|
127
|
-
readonly STRING: "string";
|
|
128
|
-
readonly INT64: "int64";
|
|
129
|
-
readonly FLOAT64: "float64";
|
|
130
|
-
readonly BOOL: "bool";
|
|
131
|
-
};
|
|
132
|
-
/** SigNoz query field types */
|
|
133
|
-
declare const FIELD_TYPES: {
|
|
134
|
-
readonly TAG: "tag";
|
|
135
|
-
readonly RESOURCE: "resource";
|
|
136
|
-
};
|
|
137
|
-
/** Common SigNoz query property combinations */
|
|
138
|
-
declare const QUERY_FIELD_CONFIGS: {
|
|
139
|
-
readonly STRING_TAG: {
|
|
140
|
-
readonly dataType: "string";
|
|
141
|
-
readonly type: "tag";
|
|
142
|
-
readonly isColumn: false;
|
|
143
|
-
};
|
|
144
|
-
readonly STRING_TAG_COLUMN: {
|
|
145
|
-
readonly dataType: "string";
|
|
146
|
-
readonly type: "tag";
|
|
147
|
-
readonly isColumn: true;
|
|
148
|
-
};
|
|
149
|
-
readonly INT64_TAG: {
|
|
150
|
-
readonly dataType: "int64";
|
|
151
|
-
readonly type: "tag";
|
|
152
|
-
readonly isColumn: false;
|
|
153
|
-
};
|
|
154
|
-
readonly INT64_TAG_COLUMN: {
|
|
155
|
-
readonly dataType: "int64";
|
|
156
|
-
readonly type: "tag";
|
|
157
|
-
readonly isColumn: true;
|
|
158
|
-
};
|
|
159
|
-
readonly FLOAT64_TAG: {
|
|
160
|
-
readonly dataType: "float64";
|
|
161
|
-
readonly type: "tag";
|
|
162
|
-
readonly isColumn: false;
|
|
163
|
-
};
|
|
164
|
-
readonly FLOAT64_TAG_COLUMN: {
|
|
165
|
-
readonly dataType: "float64";
|
|
166
|
-
readonly type: "tag";
|
|
167
|
-
readonly isColumn: true;
|
|
168
|
-
};
|
|
169
|
-
readonly BOOL_TAG: {
|
|
170
|
-
readonly dataType: "bool";
|
|
171
|
-
readonly type: "tag";
|
|
172
|
-
readonly isColumn: false;
|
|
173
|
-
};
|
|
174
|
-
readonly BOOL_TAG_COLUMN: {
|
|
175
|
-
readonly dataType: "bool";
|
|
176
|
-
readonly type: "tag";
|
|
177
|
-
readonly isColumn: true;
|
|
178
|
-
};
|
|
179
|
-
};
|
|
180
|
-
/** Query Operators */
|
|
181
|
-
declare const OPERATORS: {
|
|
182
|
-
readonly EQUALS: "=";
|
|
183
|
-
readonly NOT_EQUALS: "!=";
|
|
184
|
-
readonly LESS_THAN: "<";
|
|
185
|
-
readonly GREATER_THAN: ">";
|
|
186
|
-
readonly LESS_THAN_OR_EQUAL: "<=";
|
|
187
|
-
readonly GREATER_THAN_OR_EQUAL: ">=";
|
|
188
|
-
readonly LIKE: "like";
|
|
189
|
-
readonly NOT_LIKE: "nlike";
|
|
190
|
-
readonly EXISTS: "exists";
|
|
191
|
-
readonly NOT_EXISTS: "nexists";
|
|
192
|
-
readonly IN: "in";
|
|
193
|
-
readonly NOT_IN: "nin";
|
|
194
|
-
readonly AND: "AND";
|
|
195
|
-
readonly OR: "OR";
|
|
196
|
-
};
|
|
197
|
-
/** Query Expressions */
|
|
198
|
-
declare const QUERY_EXPRESSIONS: {
|
|
199
|
-
readonly SPAN_NAMES: "spanNames";
|
|
200
|
-
readonly AGENT_MODEL_CALLS: "agentModelCalls";
|
|
201
|
-
readonly MODEL_CALLS: "modelCalls";
|
|
202
|
-
readonly LAST_ACTIVITY: "lastActivity";
|
|
203
|
-
readonly CONVERSATION_METADATA: "conversationMetadata";
|
|
204
|
-
readonly FILTERED_CONVERSATIONS: "filteredConversations";
|
|
205
|
-
readonly TOOLS: "tools";
|
|
206
|
-
readonly TRANSFERS: "transfers";
|
|
207
|
-
readonly DELEGATIONS: "delegations";
|
|
208
|
-
readonly AI_CALLS: "aiCalls";
|
|
209
|
-
readonly CONTEXT_ERRORS: "contextErrors";
|
|
210
|
-
readonly AGENT_GENERATION_ERRORS: "agentGenerationErrors";
|
|
211
|
-
readonly USER_MESSAGES: "userMessages";
|
|
212
|
-
readonly UNIQUE_AGENTS: "uniqueAgents";
|
|
213
|
-
readonly UNIQUE_MODELS: "uniqueModels";
|
|
214
|
-
readonly TOOL_CALLS: "toolCalls";
|
|
215
|
-
readonly CONTEXT_RESOLUTION: "contextResolution";
|
|
216
|
-
readonly CONTEXT_HANDLE: "contextHandle";
|
|
217
|
-
readonly AI_ASSISTANT_MESSAGES: "aiAssistantMessages";
|
|
218
|
-
readonly AI_GENERATIONS: "aiGenerations";
|
|
219
|
-
readonly AI_STREAMING_TEXT: "aiStreamingText";
|
|
220
|
-
readonly AI_STREAMING_OBJECT: "aiStreamingObject";
|
|
221
|
-
readonly CONTEXT_FETCHERS: "contextFetchers";
|
|
222
|
-
readonly DURATION_SPANS: "durationSpans";
|
|
223
|
-
readonly AGENT_GENERATIONS: "agentGenerations";
|
|
224
|
-
readonly SPANS_WITH_ERRORS: "spansWithErrors";
|
|
225
|
-
readonly ARTIFACT_PROCESSING: "artifactProcessing";
|
|
226
|
-
};
|
|
227
|
-
/** Query Reduce Operations */
|
|
228
|
-
declare const REDUCE_OPERATIONS: {
|
|
229
|
-
readonly SUM: "sum";
|
|
230
|
-
readonly MAX: "max";
|
|
231
|
-
readonly MIN: "min";
|
|
232
|
-
readonly AVG: "avg";
|
|
233
|
-
readonly COUNT: "count";
|
|
234
|
-
};
|
|
235
|
-
/** Query Order Directions */
|
|
236
|
-
declare const ORDER_DIRECTIONS: {
|
|
237
|
-
readonly ASC: "asc";
|
|
238
|
-
readonly DESC: "desc";
|
|
239
|
-
};
|
|
240
|
-
/** Query Types */
|
|
241
|
-
declare const QUERY_TYPES: {
|
|
242
|
-
readonly BUILDER: "builder";
|
|
243
|
-
readonly CLICKHOUSE: "clickhouse";
|
|
244
|
-
readonly PROMQL: "promql";
|
|
245
|
-
};
|
|
246
|
-
/** Panel Types */
|
|
247
|
-
declare const PANEL_TYPES: {
|
|
248
|
-
readonly LIST: "list";
|
|
249
|
-
readonly TABLE: "table";
|
|
250
|
-
readonly AGENT: "agent";
|
|
251
|
-
readonly VALUE: "value";
|
|
252
|
-
};
|
|
253
|
-
/** Query Data Sources */
|
|
254
|
-
declare const DATA_SOURCES: {
|
|
255
|
-
readonly TRACES: "traces";
|
|
256
|
-
readonly METRICS: "metrics";
|
|
257
|
-
readonly LOGS: "logs";
|
|
258
|
-
};
|
|
259
|
-
/** Aggregate Operators */
|
|
260
|
-
declare const AGGREGATE_OPERATORS: {
|
|
261
|
-
readonly COUNT: "count";
|
|
262
|
-
readonly COUNT_DISTINCT: "count_distinct";
|
|
263
|
-
readonly SUM: "sum";
|
|
264
|
-
readonly AVG: "avg";
|
|
265
|
-
readonly MIN: "min";
|
|
266
|
-
readonly MAX: "max";
|
|
267
|
-
readonly NOOP: "noop";
|
|
268
|
-
};
|
|
269
|
-
/** Query Default Values */
|
|
270
|
-
declare const QUERY_DEFAULTS: {
|
|
271
|
-
readonly STEP: 60;
|
|
272
|
-
readonly STEP_INTERVAL: 60;
|
|
273
|
-
readonly OFFSET: 0;
|
|
274
|
-
readonly DISABLED: false;
|
|
275
|
-
readonly HAVING: readonly [];
|
|
276
|
-
readonly LEGEND: "";
|
|
277
|
-
readonly LIMIT_UNLIMITED: 10000;
|
|
278
|
-
readonly EMPTY_GROUP_BY: readonly [];
|
|
279
|
-
};
|
|
280
|
-
|
|
281
|
-
/**
|
|
282
|
-
* Configuration options for PinoLogger
|
|
283
|
-
*/
|
|
284
|
-
interface PinoLoggerConfig {
|
|
285
|
-
/** Pino logger options */
|
|
286
|
-
options?: LoggerOptions;
|
|
287
|
-
/** Pino transport configuration */
|
|
288
|
-
transportConfigs?: TransportSingleOptions[];
|
|
289
|
-
}
|
|
290
|
-
/**
|
|
291
|
-
* Pino logger implementation with transport customization support
|
|
292
|
-
*/
|
|
293
|
-
declare class PinoLogger {
|
|
294
|
-
private name;
|
|
295
|
-
private transportConfigs;
|
|
296
|
-
private pinoInstance;
|
|
297
|
-
private options;
|
|
298
|
-
constructor(name: string, config?: PinoLoggerConfig);
|
|
299
|
-
/**
|
|
300
|
-
* Recreate the pino instance with current transports
|
|
301
|
-
*/
|
|
302
|
-
private recreateInstance;
|
|
303
|
-
/**
|
|
304
|
-
* Add a new transport to the logger
|
|
305
|
-
*/
|
|
306
|
-
addTransport(transportConfig: TransportSingleOptions): void;
|
|
307
|
-
/**
|
|
308
|
-
* Remove a transport by index
|
|
309
|
-
*/
|
|
310
|
-
removeTransport(index: number): void;
|
|
311
|
-
/**
|
|
312
|
-
* Get current transports
|
|
313
|
-
*/
|
|
314
|
-
getTransports(): TransportSingleOptions[];
|
|
315
|
-
/**
|
|
316
|
-
* Update logger options
|
|
317
|
-
*/
|
|
318
|
-
updateOptions(options: Partial<LoggerOptions>): void;
|
|
319
|
-
/**
|
|
320
|
-
* Get the underlying pino instance for advanced usage
|
|
321
|
-
*/
|
|
322
|
-
getPinoInstance(): Logger;
|
|
323
|
-
error(data: any, message: string): void;
|
|
324
|
-
warn(data: any, message: string): void;
|
|
325
|
-
info(data: any, message: string): void;
|
|
326
|
-
debug(data: any, message: string): void;
|
|
327
|
-
}
|
|
328
|
-
/**
|
|
329
|
-
* Logger factory configuration
|
|
330
|
-
*/
|
|
331
|
-
interface LoggerFactoryConfig {
|
|
332
|
-
defaultLogger?: PinoLogger;
|
|
333
|
-
loggerFactory?: (name: string) => PinoLogger;
|
|
334
|
-
/** Configuration for creating PinoLogger instances when using createPinoLoggerFactory */
|
|
335
|
-
pinoConfig?: PinoLoggerConfig;
|
|
336
|
-
}
|
|
337
|
-
/**
|
|
338
|
-
* Global logger factory singleton
|
|
339
|
-
*/
|
|
340
|
-
declare class LoggerFactory {
|
|
341
|
-
private config;
|
|
342
|
-
private loggers;
|
|
343
|
-
/**
|
|
344
|
-
* Configure the logger factory
|
|
345
|
-
*/
|
|
346
|
-
configure(config: LoggerFactoryConfig): void;
|
|
347
|
-
/**
|
|
348
|
-
* Get or create a logger instance
|
|
349
|
-
*/
|
|
350
|
-
getLogger(name: string): PinoLogger;
|
|
351
|
-
/**
|
|
352
|
-
* Reset factory to default state
|
|
353
|
-
*/
|
|
354
|
-
reset(): void;
|
|
355
|
-
}
|
|
356
|
-
declare const loggerFactory: LoggerFactory;
|
|
357
|
-
/**
|
|
358
|
-
* Convenience function to get a logger
|
|
359
|
-
*/
|
|
360
|
-
declare function getLogger(name: string): PinoLogger;
|
|
361
|
-
|
|
362
|
-
/**
|
|
363
|
-
* Centralized authentication detection utilities for MCP tools
|
|
364
|
-
* Uses proper MCP OAuth specification (RFC 9728 + RFC 8414) for discovery
|
|
365
|
-
*/
|
|
366
|
-
|
|
367
|
-
/**
|
|
368
|
-
* OAuth configuration interface
|
|
369
|
-
*/
|
|
370
|
-
interface OAuthConfig {
|
|
371
|
-
authorizationUrl: string;
|
|
372
|
-
tokenUrl: string;
|
|
373
|
-
registrationUrl?: string;
|
|
374
|
-
supportsDynamicRegistration: boolean;
|
|
375
|
-
scopes?: string;
|
|
376
|
-
}
|
|
377
|
-
/**
|
|
378
|
-
* MCP OAuth flow initiation result
|
|
379
|
-
*/
|
|
380
|
-
interface McpOAuthFlowResult {
|
|
381
|
-
authorizationUrl: string;
|
|
382
|
-
codeVerifier: string;
|
|
383
|
-
state: string;
|
|
384
|
-
clientInformation: any;
|
|
385
|
-
scopes?: string;
|
|
386
|
-
metadata: any;
|
|
387
|
-
resourceUrl?: string;
|
|
388
|
-
}
|
|
389
|
-
/**
|
|
390
|
-
* MCP OAuth token exchange result
|
|
391
|
-
*/
|
|
392
|
-
interface McpTokenExchangeResult {
|
|
393
|
-
access_token: string;
|
|
394
|
-
refresh_token?: string;
|
|
395
|
-
expires_at?: Date;
|
|
396
|
-
token_type: string;
|
|
397
|
-
scope?: string;
|
|
398
|
-
}
|
|
399
|
-
/**
|
|
400
|
-
* Initiate MCP OAuth flow using the official MCP SDK
|
|
401
|
-
*/
|
|
402
|
-
declare function initiateMcpOAuthFlow({ mcpServerUrl, redirectUri, state, clientName, clientUri, logoUri, defaultClientId, logger, }: {
|
|
403
|
-
mcpServerUrl: string;
|
|
404
|
-
redirectUri: string;
|
|
405
|
-
state: string;
|
|
406
|
-
clientName?: string;
|
|
407
|
-
clientUri?: string;
|
|
408
|
-
logoUri?: string;
|
|
409
|
-
defaultClientId?: string;
|
|
410
|
-
logger?: PinoLogger;
|
|
411
|
-
}): Promise<McpOAuthFlowResult>;
|
|
412
|
-
/**
|
|
413
|
-
* Exchange authorization code for tokens using MCP SDK
|
|
414
|
-
*/
|
|
415
|
-
declare function exchangeMcpAuthorizationCode({ mcpServerUrl, metadata, clientInformation, authorizationCode, codeVerifier, redirectUri, resourceUrl, logger, }: {
|
|
416
|
-
mcpServerUrl: string;
|
|
417
|
-
metadata: any;
|
|
418
|
-
clientInformation: any;
|
|
419
|
-
authorizationCode: string;
|
|
420
|
-
codeVerifier: string;
|
|
421
|
-
redirectUri: string;
|
|
422
|
-
resourceUrl?: string;
|
|
423
|
-
logger?: PinoLogger;
|
|
424
|
-
}): Promise<McpTokenExchangeResult>;
|
|
425
|
-
/**
|
|
426
|
-
* Detect if MCP OAuth authentication is specifically required for a tool
|
|
427
|
-
* Uses proper MCP OAuth specification discovery methods
|
|
428
|
-
*/
|
|
429
|
-
declare const detectAuthenticationRequired: ({ serverUrl, error, logger, }: {
|
|
430
|
-
serverUrl: string;
|
|
431
|
-
error?: Error;
|
|
432
|
-
logger?: PinoLogger;
|
|
433
|
-
}) => Promise<boolean>;
|
|
434
|
-
|
|
435
|
-
export { AI_OPERATIONS as A, DELEGATION_FROM_SUB_AGENT_ID as D, FIELD_TYPES as F, type LoggerFactoryConfig as L, type McpOAuthFlowResult as M, OPERATORS as O, PANEL_TYPES as P, QUERY_FIELD_CONFIGS as Q, REDUCE_OPERATIONS as R, SPAN_NAMES as S, TRANSFER_FROM_SUB_AGENT_ID as T, UNKNOWN_VALUE as U, DELEGATION_TO_SUB_AGENT_ID as a, DELEGATION_ID as b, TRANSFER_TO_SUB_AGENT_ID as c, detectAuthenticationRequired as d, SPAN_KEYS as e, ACTIVITY_TYPES as f, ACTIVITY_STATUS as g, AGENT_IDS as h, ACTIVITY_NAMES as i, AI_TOOL_TYPES as j, DATA_TYPES as k, QUERY_EXPRESSIONS as l, ORDER_DIRECTIONS as m, QUERY_TYPES as n, DATA_SOURCES as o, AGGREGATE_OPERATORS as p, QUERY_DEFAULTS as q, PinoLogger as r, getLogger as s, type OAuthConfig as t, type McpTokenExchangeResult as u, initiateMcpOAuthFlow as v, exchangeMcpAuthorizationCode as w, type PinoLoggerConfig as x, loggerFactory as y };
|