@inkeep/agents-core 0.0.0-dev-20260219144639 → 0.0.0-dev-20260219164852

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.
@@ -93,6 +93,10 @@ declare const SPAN_KEYS: {
93
93
  readonly ARTIFACT_DATA: "artifact.data";
94
94
  readonly ARTIFACT_NAME: "artifact.name";
95
95
  readonly ARTIFACT_DESCRIPTION: "artifact.description";
96
+ readonly ARTIFACT_IS_OVERSIZED: "artifact.is_oversized";
97
+ readonly ARTIFACT_RETRIEVAL_BLOCKED: "artifact.retrieval_blocked";
98
+ readonly ARTIFACT_ORIGINAL_TOKEN_SIZE: "artifact.original_token_size";
99
+ readonly ARTIFACT_CONTEXT_WINDOW_SIZE: "artifact.context_window_size";
96
100
  readonly CONTEXT_BREAKDOWN_SYSTEM_TEMPLATE: "context.breakdown.system_template_tokens";
97
101
  readonly CONTEXT_BREAKDOWN_CORE_INSTRUCTIONS: "context.breakdown.core_instructions_tokens";
98
102
  readonly CONTEXT_BREAKDOWN_AGENT_PROMPT: "context.breakdown.agent_prompt_tokens";
@@ -93,6 +93,10 @@ const SPAN_KEYS = {
93
93
  ARTIFACT_DATA: "artifact.data",
94
94
  ARTIFACT_NAME: "artifact.name",
95
95
  ARTIFACT_DESCRIPTION: "artifact.description",
96
+ ARTIFACT_IS_OVERSIZED: "artifact.is_oversized",
97
+ ARTIFACT_RETRIEVAL_BLOCKED: "artifact.retrieval_blocked",
98
+ ARTIFACT_ORIGINAL_TOKEN_SIZE: "artifact.original_token_size",
99
+ ARTIFACT_CONTEXT_WINDOW_SIZE: "artifact.context_window_size",
96
100
  CONTEXT_BREAKDOWN_SYSTEM_TEMPLATE: "context.breakdown.system_template_tokens",
97
101
  CONTEXT_BREAKDOWN_CORE_INSTRUCTIONS: "context.breakdown.core_instructions_tokens",
98
102
  CONTEXT_BREAKDOWN_AGENT_PROMPT: "context.breakdown.agent_prompt_tokens",
@@ -24,7 +24,7 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
24
24
  updatedAt: string;
25
25
  metadata: ConversationMetadata | null;
26
26
  ref: {
27
- type: "tag" | "commit" | "branch";
27
+ type: "commit" | "tag" | "branch";
28
28
  name: string;
29
29
  hash: string;
30
30
  } | null;
@@ -43,7 +43,7 @@ declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
43
43
  agentId: string | null;
44
44
  activeSubAgentId: string;
45
45
  ref: {
46
- type: "tag" | "commit" | "branch";
46
+ type: "commit" | "tag" | "branch";
47
47
  name: string;
48
48
  hash: string;
49
49
  } | null;
@@ -69,7 +69,7 @@ declare const updateConversationActiveSubAgent: (db: AgentsRunDatabaseClient) =>
69
69
  agentId: string | null;
70
70
  activeSubAgentId: string;
71
71
  ref: {
72
- type: "tag" | "commit" | "branch";
72
+ type: "commit" | "tag" | "branch";
73
73
  name: string;
74
74
  hash: string;
75
75
  } | null;
@@ -93,7 +93,7 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
93
93
  updatedAt: string;
94
94
  metadata: ConversationMetadata | null;
95
95
  ref: {
96
- type: "tag" | "commit" | "branch";
96
+ type: "commit" | "tag" | "branch";
97
97
  name: string;
98
98
  hash: string;
99
99
  } | null;
@@ -107,7 +107,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
107
107
  tenantId: string;
108
108
  id: string;
109
109
  ref: {
110
- type: "tag" | "commit" | "branch";
110
+ type: "commit" | "tag" | "branch";
111
111
  name: string;
112
112
  hash: string;
113
113
  };
@@ -129,7 +129,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
129
129
  updatedAt: string;
130
130
  metadata: ConversationMetadata | null;
131
131
  ref: {
132
- type: "tag" | "commit" | "branch";
132
+ type: "commit" | "tag" | "branch";
133
133
  name: string;
134
134
  hash: string;
135
135
  } | null;
@@ -161,7 +161,7 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
161
161
  updatedAt: string;
162
162
  metadata: ConversationMetadata | null;
163
163
  ref: {
164
- type: "tag" | "commit" | "branch";
164
+ type: "commit" | "tag" | "branch";
165
165
  name: string;
166
166
  hash: string;
167
167
  } | null;
@@ -16,19 +16,19 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
16
16
  updatedAt: string;
17
17
  metadata: MessageMetadata | null;
18
18
  content: MessageContent;
19
- role: string;
20
- conversationId: string;
21
19
  fromSubAgentId: string | null;
22
20
  toSubAgentId: string | null;
23
21
  fromExternalAgentId: string | null;
24
22
  toExternalAgentId: string | null;
23
+ taskId: string | null;
24
+ a2aTaskId: string | null;
25
+ role: string;
26
+ conversationId: string;
25
27
  fromTeamAgentId: string | null;
26
28
  toTeamAgentId: string | null;
27
29
  visibility: string;
28
30
  messageType: string;
29
- taskId: string | null;
30
31
  parentMessageId: string | null;
31
- a2aTaskId: string | null;
32
32
  a2aSessionId: string | null;
33
33
  } | undefined>;
34
34
  declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
@@ -147,19 +147,19 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageIn
147
147
  updatedAt: string;
148
148
  metadata: MessageMetadata | null;
149
149
  content: MessageContent;
150
- role: string;
151
- conversationId: string;
152
150
  fromSubAgentId: string | null;
153
151
  toSubAgentId: string | null;
154
152
  fromExternalAgentId: string | null;
155
153
  toExternalAgentId: string | null;
154
+ taskId: string | null;
155
+ a2aTaskId: string | null;
156
+ role: string;
157
+ conversationId: string;
156
158
  fromTeamAgentId: string | null;
157
159
  toTeamAgentId: string | null;
158
160
  visibility: string;
159
161
  messageType: string;
160
- taskId: string | null;
161
162
  parentMessageId: string | null;
162
- a2aTaskId: string | null;
163
163
  a2aSessionId: string | null;
164
164
  }>;
165
165
  declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
@@ -200,19 +200,19 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
200
200
  updatedAt: string;
201
201
  metadata: MessageMetadata | null;
202
202
  content: MessageContent;
203
- role: string;
204
- conversationId: string;
205
203
  fromSubAgentId: string | null;
206
204
  toSubAgentId: string | null;
207
205
  fromExternalAgentId: string | null;
208
206
  toExternalAgentId: string | null;
207
+ taskId: string | null;
208
+ a2aTaskId: string | null;
209
+ role: string;
210
+ conversationId: string;
209
211
  fromTeamAgentId: string | null;
210
212
  toTeamAgentId: string | null;
211
213
  visibility: string;
212
214
  messageType: string;
213
- taskId: string | null;
214
215
  parentMessageId: string | null;
215
- a2aTaskId: string | null;
216
216
  a2aSessionId: string | null;
217
217
  }>;
218
218
  declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -13,14 +13,14 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
15
  metadata: TaskMetadataConfig | null;
16
+ subAgentId: string;
16
17
  ref: {
17
- type: "tag" | "commit" | "branch";
18
+ type: "commit" | "tag" | "branch";
18
19
  name: string;
19
20
  hash: string;
20
21
  } | null;
21
22
  status: string;
22
23
  contextId: string;
23
- subAgentId: string;
24
24
  }>;
25
25
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
26
26
  id: string;
@@ -36,7 +36,7 @@ declare const updateTask: (db: AgentsRunDatabaseClient) => (params: {
36
36
  updatedAt: string;
37
37
  contextId: string;
38
38
  ref: {
39
- type: "tag" | "commit" | "branch";
39
+ type: "commit" | "tag" | "branch";
40
40
  name: string;
41
41
  hash: string;
42
42
  } | null;