@inkeep/agents-core 0.0.0-dev-20260120222159 → 0.0.0-dev-20260120230946

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.
@@ -69,8 +69,8 @@ declare const associateDataComponentWithAgent: (db: AgentsManageDatabaseClient)
69
69
  id: string;
70
70
  agentId: string;
71
71
  createdAt: string;
72
- subAgentId: string;
73
72
  dataComponentId: string;
73
+ subAgentId: 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
  id: string;
112
112
  agentId: string;
113
113
  createdAt: string;
114
- subAgentId: string;
115
114
  dataComponentId: string;
115
+ subAgentId: string;
116
116
  } | null>;
117
117
  /**
118
118
  * Count data components for a tenant/project
@@ -14,9 +14,9 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
14
14
  agentId: string;
15
15
  createdAt: string;
16
16
  updatedAt: string;
17
- relationType: string | null;
18
17
  sourceSubAgentId: string;
19
18
  targetSubAgentId: string | null;
19
+ relationType: string | null;
20
20
  } | undefined>;
21
21
  declare const listAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
22
22
  scopes: AgentScopeConfig;
@@ -49,9 +49,9 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
49
49
  agentId: string;
50
50
  createdAt: string;
51
51
  updatedAt: string;
52
- relationType: string | null;
53
52
  sourceSubAgentId: string;
54
53
  targetSubAgentId: string | null;
54
+ relationType: string | null;
55
55
  }[]>;
56
56
  declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
57
57
  scopes: AgentScopeConfig;
@@ -62,9 +62,9 @@ declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (par
62
62
  agentId: string;
63
63
  createdAt: string;
64
64
  updatedAt: string;
65
- relationType: string | null;
66
65
  sourceSubAgentId: string;
67
66
  targetSubAgentId: string | null;
67
+ relationType: string | null;
68
68
  }[]>;
69
69
  declare const getAgentRelationsBySource: (db: AgentsManageDatabaseClient) => (params: {
70
70
  scopes: AgentScopeConfig;
@@ -131,9 +131,9 @@ declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (param
131
131
  agentId: string;
132
132
  createdAt: string;
133
133
  updatedAt: string;
134
- relationType: string | null;
135
134
  sourceSubAgentId: string;
136
135
  targetSubAgentId: string | null;
136
+ relationType: string | null;
137
137
  }>;
138
138
  /**
139
139
  * Check if sub-agent relation exists by agent, source, target, and relation type
@@ -150,9 +150,9 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
150
150
  agentId: string;
151
151
  createdAt: string;
152
152
  updatedAt: string;
153
- relationType: string | null;
154
153
  sourceSubAgentId: string;
155
154
  targetSubAgentId: string | null;
155
+ relationType: string | null;
156
156
  } | undefined>;
157
157
  /**
158
158
  * Upsert agent relation (create if it doesn't exist, no-op if it does)
@@ -164,9 +164,9 @@ declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (param
164
164
  agentId: string;
165
165
  createdAt: string;
166
166
  updatedAt: string;
167
- relationType: string | null;
168
167
  sourceSubAgentId: string;
169
168
  targetSubAgentId: string | null;
169
+ relationType: string | null;
170
170
  }>;
171
171
  declare const updateAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
172
172
  scopes: AgentScopeConfig;
@@ -19,8 +19,8 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
19
19
  hash: string;
20
20
  } | null;
21
21
  status: string;
22
- contextId: string;
23
22
  subAgentId: string;
23
+ contextId: string;
24
24
  }>;
25
25
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
26
26
  id: string;
@@ -1,5 +1,5 @@
1
1
  import { z } from "@hono/zod-openapi";
2
- import * as drizzle_zod15 from "drizzle-zod";
2
+ import * as drizzle_zod231 from "drizzle-zod";
3
3
  import { AnySQLiteTable } from "drizzle-orm/sqlite-core";
4
4
 
5
5
  //#region src/validation/drizzle-schema-helpers.d.ts
@@ -22,8 +22,8 @@ declare const resourceIdSchema: z.ZodString;
22
22
  declare function createResourceIdSchema(description: string, options?: {
23
23
  example?: string;
24
24
  }): z.ZodString;
25
- declare function createSelectSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod15.BuildSchema<"select", T["_"]["columns"], drizzle_zod15.BuildRefine<T["_"]["columns"], undefined>, undefined>;
26
- declare function createInsertSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod15.BuildSchema<"insert", T["_"]["columns"], drizzle_zod15.BuildRefine<Pick<T["_"]["columns"], keyof T["$inferInsert"]>, undefined>, undefined>;
25
+ declare function createSelectSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod231.BuildSchema<"select", T["_"]["columns"], drizzle_zod231.BuildRefine<T["_"]["columns"], undefined>, undefined>;
26
+ declare function createInsertSchemaWithModifiers<T extends AnySQLiteTable>(table: T, overrides?: Partial<Record<keyof T['_']['columns'], (schema: z.ZodTypeAny) => z.ZodTypeAny>>): drizzle_zod231.BuildSchema<"insert", T["_"]["columns"], drizzle_zod231.BuildRefine<Pick<T["_"]["columns"], keyof T["$inferInsert"]>, undefined>, undefined>;
27
27
  declare const createSelectSchema: typeof createSelectSchemaWithModifiers;
28
28
  declare const createInsertSchema: typeof createInsertSchemaWithModifiers;
29
29
  /**