@inkeep/agents-core 0.0.0-dev-20260126174131 → 0.0.0-dev-20260126204245

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.
Files changed (35) hide show
  1. package/dist/auth/auth-schema.d.ts +104 -104
  2. package/dist/auth/auth-validation-schemas.d.ts +146 -146
  3. package/dist/auth/auth.d.ts +53 -53
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/client-exports.d.ts +14 -15
  6. package/dist/constants/execution-limits-shared/defaults.d.ts +1 -1
  7. package/dist/constants/execution-limits-shared/defaults.js +1 -1
  8. package/dist/constants/execution-limits-shared/index.d.ts +1 -1
  9. package/dist/data-access/manage/agents.d.ts +55 -55
  10. package/dist/data-access/manage/artifactComponents.d.ts +12 -12
  11. package/dist/data-access/manage/contextConfigs.d.ts +16 -16
  12. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  13. package/dist/data-access/manage/functionTools.d.ts +14 -14
  14. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +12 -12
  15. package/dist/data-access/manage/subAgentRelations.d.ts +24 -24
  16. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +12 -12
  17. package/dist/data-access/manage/subAgents.d.ts +33 -33
  18. package/dist/data-access/manage/tools.d.ts +21 -21
  19. package/dist/data-access/manage/tools.js +27 -7
  20. package/dist/data-access/manage/triggers.d.ts +2 -2
  21. package/dist/data-access/runtime/apiKeys.d.ts +16 -16
  22. package/dist/data-access/runtime/conversations.d.ts +23 -23
  23. package/dist/data-access/runtime/messages.d.ts +12 -12
  24. package/dist/data-access/runtime/tasks.d.ts +6 -6
  25. package/dist/db/manage/manage-schema.d.ts +381 -381
  26. package/dist/db/runtime/runtime-schema.d.ts +181 -181
  27. package/dist/types/utility.d.ts +1 -1
  28. package/dist/types/utility.js +2 -1
  29. package/dist/utils/jmespath-utils.js +1 -1
  30. package/dist/utils/mcp-client.d.ts +1 -1
  31. package/dist/utils/mcp-client.js +1 -1
  32. package/dist/validation/dolt-schemas.d.ts +1 -1
  33. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  34. package/dist/validation/schemas.d.ts +1892 -1888
  35. package/package.json +1 -1
@@ -188,7 +188,7 @@ interface ProjectResourceCounts {
188
188
  contextConfigs: number;
189
189
  externalAgents: number;
190
190
  }
191
- declare const TOOL_STATUS_VALUES: readonly ["healthy", "unhealthy", "unknown", "needs_auth"];
191
+ declare const TOOL_STATUS_VALUES: readonly ["healthy", "unhealthy", "unknown", "needs_auth", "unavailable"];
192
192
  declare const VALID_RELATION_TYPES: readonly ["transfer", "delegate"];
193
193
  declare const MCPTransportType: {
194
194
  readonly streamableHttp: "streamable_http";
@@ -3,7 +3,8 @@ const TOOL_STATUS_VALUES = [
3
3
  "healthy",
4
4
  "unhealthy",
5
5
  "unknown",
6
- "needs_auth"
6
+ "needs_auth",
7
+ "unavailable"
7
8
  ];
8
9
  const VALID_RELATION_TYPES = ["transfer", "delegate"];
9
10
  const MCPTransportType = {
@@ -206,7 +206,7 @@ function validateJMESPathSecure(expression, options) {
206
206
  */
207
207
  function jmespathString(options) {
208
208
  const maxLen = options?.maxLength ?? MAX_EXPRESSION_LENGTH;
209
- return z.string().max(maxLen).describe(`JMESPath expression (max ${maxLen} chars). Valid: "data.items[0].name", "results[?status=='active']", "keys(@)". Invalid: "\${...}" (template injection), "eval(...)", "constructor", "__proto__".`);
209
+ return z.string().max(maxLen).describe(`JMESPath expression (max ${maxLen} chars). Valid: "data.items[0].name", "results[?status=='active']", "keys(@)". Invalid: "\${...}" (template injection), "eval" calls, "constructor", "__proto__".`);
210
210
  }
211
211
 
212
212
  //#endregion
@@ -1,7 +1,7 @@
1
1
  import { MCPTransportType } from "../types/utility.js";
2
+ import { ClientCapabilities } from "@modelcontextprotocol/sdk/types.js";
2
3
  import { SSEClientTransportOptions } from "@modelcontextprotocol/sdk/client/sse.js";
3
4
  import { StreamableHTTPClientTransportOptions } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
4
- import { ClientCapabilities } from "@modelcontextprotocol/sdk/types.js";
5
5
 
6
6
  //#region src/utils/mcp-client.d.ts
7
7
  interface SharedServerConfig {
@@ -1,11 +1,11 @@
1
1
  import { MCPTransportType } from "../types/utility.js";
2
2
  import { MCP_TOOL_CONNECTION_TIMEOUT_MS, MCP_TOOL_INITIAL_RECONNECTION_DELAY_MS, MCP_TOOL_MAX_RECONNECTION_DELAY_MS, MCP_TOOL_MAX_RETRIES, MCP_TOOL_RECONNECTION_DELAY_GROWTH_FACTOR } from "../constants/execution-limits-shared/index.js";
3
3
  import { z } from "@hono/zod-openapi";
4
+ import { CallToolResultSchema } from "@modelcontextprotocol/sdk/types.js";
4
5
  import { Client } from "@modelcontextprotocol/sdk/client/index.js";
5
6
  import { SSEClientTransport } from "@modelcontextprotocol/sdk/client/sse.js";
6
7
  import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
7
8
  import { DEFAULT_REQUEST_TIMEOUT_MSEC } from "@modelcontextprotocol/sdk/shared/protocol.js";
8
- import { CallToolResultSchema } from "@modelcontextprotocol/sdk/types.js";
9
9
  import { tool } from "ai";
10
10
  import { asyncExitHook, gracefulExit } from "exit-hook";
11
11
  import { match } from "ts-pattern";
@@ -32,8 +32,8 @@ declare const BranchNameParamsSchema: z.ZodObject<{
32
32
  }, z.core.$strip>;
33
33
  declare const ResolvedRefSchema: z.ZodObject<{
34
34
  type: z.ZodEnum<{
35
- tag: "tag";
36
35
  commit: "commit";
36
+ tag: "tag";
37
37
  branch: "branch";
38
38
  }>;
39
39
  name: z.ZodString;
@@ -1,5 +1,5 @@
1
1
  import { z } from "@hono/zod-openapi";
2
- import * as drizzle_zod15 from "drizzle-zod";
2
+ import * as drizzle_zod0 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_zod0.BuildSchema<"select", T["_"]["columns"], drizzle_zod0.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_zod0.BuildSchema<"insert", T["_"]["columns"], drizzle_zod0.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
  /**