@inkeep/agents-core 0.0.0-dev-20260127214229 → 0.0.0-dev-20260128035734

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.
@@ -7,7 +7,6 @@ import "./types/index.js";
7
7
  import { DEFAULT_NANGO_STORE_ID } from "./credential-stores/default-constants.js";
8
8
  import { detectAuthenticationRequired } from "./utils/auth-detection.js";
9
9
  import { validatePropsAsJsonSchema } from "./validation/props-validation.js";
10
- import "./index.js";
11
10
  import { AgentStopWhen, AgentStopWhenSchema, ApiKeyApiUpdateSchema, FullAgentAgentInsertSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, ModelSettings, ModelSettingsSchema, SignatureSource, SignatureVerificationConfig, SignatureVerificationConfigSchema, SignedComponent, StopWhen, StopWhenSchema, SubAgentStopWhen, SubAgentStopWhenSchema, TriggerApiInsertSchema, TriggerApiSelectSchema, TriggerApiUpdateSchema, TriggerInvocationApiSelectSchema, TriggerInvocationListResponse, TriggerInvocationResponse, TriggerInvocationStatusEnum, TriggerListResponse, TriggerResponse, TriggerWithWebhookUrlListResponse, TriggerWithWebhookUrlResponse, TriggerWithWebhookUrlSchema } from "./validation/schemas.js";
12
11
  import { z } from "@hono/zod-openapi";
13
12
 
@@ -170,8 +170,8 @@ declare const addFunctionToolToSubAgent: (db: AgentsManageDatabaseClient) => (pa
170
170
  toolPolicies: Record<string, {
171
171
  needsApproval?: boolean;
172
172
  }> | null;
173
- subAgentId: string;
174
173
  functionToolId: string;
174
+ subAgentId: string;
175
175
  }>;
176
176
  /**
177
177
  * Update an agent-function tool relation
@@ -235,8 +235,8 @@ declare const associateFunctionToolWithSubAgent: (db: AgentsManageDatabaseClient
235
235
  toolPolicies: Record<string, {
236
236
  needsApproval?: boolean;
237
237
  }> | null;
238
- subAgentId: string;
239
238
  functionToolId: string;
239
+ subAgentId: string;
240
240
  }>;
241
241
  //#endregion
242
242
  export { addFunctionToolToSubAgent, associateFunctionToolWithSubAgent, createFunctionTool, deleteFunctionTool, getFunctionToolById, getFunctionToolsForSubAgent, getSubAgentsUsingFunctionTool, isFunctionToolAssociatedWithSubAgent, listFunctionTools, removeFunctionToolFromSubAgent, updateFunctionTool, updateSubAgentFunctionToolRelation, upsertFunctionTool, upsertSubAgentFunctionToolRelation };
@@ -25,7 +25,7 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
25
25
  userId: string | null;
26
26
  metadata: ConversationMetadata | null;
27
27
  ref: {
28
- type: "commit" | "tag" | "branch";
28
+ type: "tag" | "commit" | "branch";
29
29
  name: string;
30
30
  hash: string;
31
31
  } | 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: "commit" | "tag" | "branch";
46
+ type: "tag" | "commit" | "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: "commit" | "tag" | "branch";
72
+ type: "tag" | "commit" | "branch";
73
73
  name: string;
74
74
  hash: string;
75
75
  } | null;
@@ -94,7 +94,7 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
94
94
  userId: string | null;
95
95
  metadata: ConversationMetadata | null;
96
96
  ref: {
97
- type: "commit" | "tag" | "branch";
97
+ type: "tag" | "commit" | "branch";
98
98
  name: string;
99
99
  hash: string;
100
100
  } | null;
@@ -107,7 +107,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
107
107
  tenantId: string;
108
108
  id: string;
109
109
  ref: {
110
- type: "commit" | "tag" | "branch";
110
+ type: "tag" | "commit" | "branch";
111
111
  name: string;
112
112
  hash: string;
113
113
  };
@@ -130,7 +130,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
130
130
  userId: string | null;
131
131
  metadata: ConversationMetadata | null;
132
132
  ref: {
133
- type: "commit" | "tag" | "branch";
133
+ type: "tag" | "commit" | "branch";
134
134
  name: string;
135
135
  hash: string;
136
136
  } | null;
@@ -162,7 +162,7 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
162
162
  userId: string | null;
163
163
  metadata: ConversationMetadata | null;
164
164
  ref: {
165
- type: "commit" | "tag" | "branch";
165
+ type: "tag" | "commit" | "branch";
166
166
  name: string;
167
167
  hash: string;
168
168
  } | null;
@@ -13,13 +13,13 @@ 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: "commit" | "tag" | "branch";
18
+ type: "tag" | "commit" | "branch";
18
19
  name: string;
19
20
  hash: string;
20
21
  } | null;
21
22
  status: string;
22
- subAgentId: string;
23
23
  contextId: string;
24
24
  }>;
25
25
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
@@ -36,7 +36,7 @@ declare const updateTask: (db: AgentsRunDatabaseClient) => (params: {
36
36
  updatedAt: string;
37
37
  contextId: string;
38
38
  ref: {
39
- type: "commit" | "tag" | "branch";
39
+ type: "tag" | "commit" | "branch";
40
40
  name: string;
41
41
  hash: string;
42
42
  } | null;