@inkeep/agents-core 0.47.1 → 0.47.3

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.
@@ -61,6 +61,7 @@ declare const SPAN_KEYS: {
61
61
  readonly TOOL_PURPOSE: "tool.purpose";
62
62
  readonly TOOL_NAME: "tool.name";
63
63
  readonly TOOL_CALL_ID: "tool.callId";
64
+ readonly TOOL_APPROVAL_REASON: "tool.approval.reason";
64
65
  readonly GEN_AI_USAGE_INPUT_TOKENS: "gen_ai.usage.input_tokens";
65
66
  readonly GEN_AI_USAGE_OUTPUT_TOKENS: "gen_ai.usage.output_tokens";
66
67
  readonly CONTEXT_URL: "context.url";
@@ -61,6 +61,7 @@ const SPAN_KEYS = {
61
61
  TOOL_PURPOSE: "tool.purpose",
62
62
  TOOL_NAME: "tool.name",
63
63
  TOOL_CALL_ID: "tool.callId",
64
+ TOOL_APPROVAL_REASON: "tool.approval.reason",
64
65
  GEN_AI_USAGE_INPUT_TOKENS: "gen_ai.usage.input_tokens",
65
66
  GEN_AI_USAGE_OUTPUT_TOKENS: "gen_ai.usage.output_tokens",
66
67
  CONTEXT_URL: "context.url",
@@ -69,8 +69,8 @@ declare const associateDataComponentWithAgent: (db: AgentsManageDatabaseClient)
69
69
  projectId: string;
70
70
  agentId: string;
71
71
  createdAt: string;
72
- dataComponentId: string;
73
72
  subAgentId: string;
73
+ dataComponentId: string;
74
74
  }>;
75
75
  /**
76
76
  * Remove association between data component and agent
@@ -111,8 +111,8 @@ declare const upsertAgentDataComponentRelation: (db: AgentsManageDatabaseClient)
111
111
  projectId: string;
112
112
  agentId: string;
113
113
  createdAt: string;
114
- dataComponentId: string;
115
114
  subAgentId: string;
115
+ dataComponentId: string;
116
116
  } | null>;
117
117
  /**
118
118
  * Count data components for a tenant/project
@@ -17,13 +17,13 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
17
17
  metadata: MessageMetadata | null;
18
18
  content: MessageContent;
19
19
  role: string;
20
+ conversationId: string;
20
21
  fromSubAgentId: string | null;
21
22
  toSubAgentId: string | null;
22
23
  fromExternalAgentId: string | null;
23
24
  toExternalAgentId: string | null;
24
25
  taskId: string | null;
25
26
  a2aTaskId: string | null;
26
- conversationId: string;
27
27
  fromTeamAgentId: string | null;
28
28
  toTeamAgentId: string | null;
29
29
  visibility: string;
@@ -148,13 +148,13 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageIn
148
148
  metadata: MessageMetadata | null;
149
149
  content: MessageContent;
150
150
  role: string;
151
+ conversationId: string;
151
152
  fromSubAgentId: string | null;
152
153
  toSubAgentId: string | null;
153
154
  fromExternalAgentId: string | null;
154
155
  toExternalAgentId: string | null;
155
156
  taskId: string | null;
156
157
  a2aTaskId: string | null;
157
- conversationId: string;
158
158
  fromTeamAgentId: string | null;
159
159
  toTeamAgentId: string | null;
160
160
  visibility: string;
@@ -201,13 +201,13 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
201
201
  metadata: MessageMetadata | null;
202
202
  content: MessageContent;
203
203
  role: string;
204
+ conversationId: string;
204
205
  fromSubAgentId: string | null;
205
206
  toSubAgentId: string | null;
206
207
  fromExternalAgentId: string | null;
207
208
  toExternalAgentId: string | null;
208
209
  taskId: string | null;
209
210
  a2aTaskId: string | null;
210
- conversationId: string;
211
211
  fromTeamAgentId: string | null;
212
212
  toTeamAgentId: string | null;
213
213
  visibility: string;