@inkeep/agents-core 0.37.1 → 0.37.2
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.
- package/dist/auth/auth-schema.d.ts +47 -1
- package/dist/auth/auth-schema.js +1 -1
- package/dist/auth/auth-validation-schemas.d.ts +35 -1
- package/dist/auth/auth-validation-schemas.js +2 -2
- package/dist/auth/auth.d.ts +23 -23
- package/dist/auth/auth.js +11 -4
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/auth/permissions.js +1 -1
- package/dist/{chunk-ROXPFQAM.js → chunk-3HACEHXF.js} +23 -22
- package/dist/{chunk-W3QDM7WH.js → chunk-5QZSNATS.js} +2 -2
- package/dist/{chunk-7GZHUB4J.js → chunk-6CYQZ5KX.js} +1 -1
- package/dist/{chunk-ZEZCCHV7.js → chunk-BJLC7EI4.js} +2 -2
- package/dist/{chunk-PVRIMF6N.js → chunk-DEYPSEXR.js} +1 -1
- package/dist/chunk-GENLXHZ4.js +159 -0
- package/dist/{chunk-VMSYBWFH.js → chunk-JNBVHWXX.js} +7 -4
- package/dist/{chunk-LL6F3EAR.js → chunk-RUTYLJB7.js} +1 -1
- package/dist/{chunk-K6GMXJPW.js → chunk-XHODTX4H.js} +1 -1
- package/dist/{chunk-FOK3JSQN.js → chunk-YSFXXC6K.js} +1 -1
- package/dist/{chunk-I6IF7ZTL.js → chunk-ZSYMSL55.js} +2 -2
- package/dist/{client-B_3j-V4-.d.ts → client-B3nwdklT.d.ts} +1 -1
- package/dist/client-exports.d.ts +6 -7
- package/dist/client-exports.js +3 -3
- package/dist/constants/schema-validation/index.js +1 -1
- package/dist/credential-stores/index.d.ts +3 -4
- package/dist/credential-stores/index.js +1 -1
- package/dist/db/schema.d.ts +3 -4
- package/dist/db/schema.js +2 -2
- package/dist/db/test-client.d.ts +4 -5
- package/dist/db/test-client.js +1 -1
- package/dist/index.d.ts +560 -560
- package/dist/index.js +35 -25
- package/dist/{schema-DKbG39on.d.ts → schema-BhYTubhP.d.ts} +1 -1
- package/dist/{server-BXoUiBMg.d.ts → server-CHLmv-Jb.d.ts} +1 -1
- package/dist/types/index.d.ts +3 -4
- package/dist/{utility-Lo5NoRHK.d.ts → utility-5USfJ5Xd.d.ts} +452 -453
- package/dist/utils/schema-conversion.d.ts +1 -1
- package/dist/utils/schema-conversion.js +1 -1
- package/dist/validation/index.d.ts +131 -132
- package/dist/validation/index.js +2 -2
- package/drizzle/0002_puzzling_goblin_queen.sql +8 -0
- package/drizzle/0003_sweet_human_robot.sql +8 -0
- package/drizzle/meta/0002_snapshot.json +3637 -0
- package/drizzle/meta/0003_snapshot.json +3643 -0
- package/drizzle/meta/_journal.json +14 -0
- package/package.json +2 -4
- package/dist/chunk-NFTJ5JBY.js +0 -82
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { relations } from 'drizzle-orm';
|
|
2
|
+
import { pgTable, timestamp, text, boolean, index } from 'drizzle-orm/pg-core';
|
|
3
|
+
|
|
4
|
+
// src/auth/auth-schema.ts
|
|
5
|
+
var user = pgTable("user", {
|
|
6
|
+
id: text("id").primaryKey(),
|
|
7
|
+
name: text("name").notNull(),
|
|
8
|
+
email: text("email").notNull().unique(),
|
|
9
|
+
emailVerified: boolean("email_verified").default(false).notNull(),
|
|
10
|
+
image: text("image"),
|
|
11
|
+
createdAt: timestamp("created_at").defaultNow().notNull(),
|
|
12
|
+
updatedAt: timestamp("updated_at").defaultNow().$onUpdate(() => /* @__PURE__ */ new Date()).notNull()
|
|
13
|
+
});
|
|
14
|
+
var session = pgTable(
|
|
15
|
+
"session",
|
|
16
|
+
{
|
|
17
|
+
id: text("id").primaryKey(),
|
|
18
|
+
expiresAt: timestamp("expires_at").notNull(),
|
|
19
|
+
token: text("token").notNull().unique(),
|
|
20
|
+
createdAt: timestamp("created_at").defaultNow().notNull(),
|
|
21
|
+
updatedAt: timestamp("updated_at").$onUpdate(() => /* @__PURE__ */ new Date()).notNull(),
|
|
22
|
+
ipAddress: text("ip_address"),
|
|
23
|
+
userAgent: text("user_agent"),
|
|
24
|
+
userId: text("user_id").notNull().references(() => user.id, { onDelete: "cascade" }),
|
|
25
|
+
activeOrganizationId: text("active_organization_id")
|
|
26
|
+
},
|
|
27
|
+
(table) => [index("session_userId_idx").on(table.userId)]
|
|
28
|
+
);
|
|
29
|
+
var account = pgTable(
|
|
30
|
+
"account",
|
|
31
|
+
{
|
|
32
|
+
id: text("id").primaryKey(),
|
|
33
|
+
accountId: text("account_id").notNull(),
|
|
34
|
+
providerId: text("provider_id").notNull(),
|
|
35
|
+
userId: text("user_id").notNull().references(() => user.id, { onDelete: "cascade" }),
|
|
36
|
+
accessToken: text("access_token"),
|
|
37
|
+
refreshToken: text("refresh_token"),
|
|
38
|
+
idToken: text("id_token"),
|
|
39
|
+
accessTokenExpiresAt: timestamp("access_token_expires_at"),
|
|
40
|
+
refreshTokenExpiresAt: timestamp("refresh_token_expires_at"),
|
|
41
|
+
scope: text("scope"),
|
|
42
|
+
password: text("password"),
|
|
43
|
+
createdAt: timestamp("created_at").defaultNow().notNull(),
|
|
44
|
+
updatedAt: timestamp("updated_at").$onUpdate(() => /* @__PURE__ */ new Date()).notNull()
|
|
45
|
+
},
|
|
46
|
+
(table) => [index("account_userId_idx").on(table.userId)]
|
|
47
|
+
);
|
|
48
|
+
var verification = pgTable(
|
|
49
|
+
"verification",
|
|
50
|
+
{
|
|
51
|
+
id: text("id").primaryKey(),
|
|
52
|
+
identifier: text("identifier").notNull(),
|
|
53
|
+
value: text("value").notNull(),
|
|
54
|
+
expiresAt: timestamp("expires_at").notNull(),
|
|
55
|
+
createdAt: timestamp("created_at").defaultNow().notNull(),
|
|
56
|
+
updatedAt: timestamp("updated_at").defaultNow().$onUpdate(() => /* @__PURE__ */ new Date()).notNull()
|
|
57
|
+
},
|
|
58
|
+
(table) => [index("verification_identifier_idx").on(table.identifier)]
|
|
59
|
+
);
|
|
60
|
+
var ssoProvider = pgTable("sso_provider", {
|
|
61
|
+
id: text("id").primaryKey(),
|
|
62
|
+
issuer: text("issuer").notNull(),
|
|
63
|
+
oidcConfig: text("oidc_config"),
|
|
64
|
+
samlConfig: text("saml_config"),
|
|
65
|
+
userId: text("user_id").references(() => user.id, { onDelete: "cascade" }),
|
|
66
|
+
providerId: text("provider_id").notNull().unique(),
|
|
67
|
+
organizationId: text("organization_id"),
|
|
68
|
+
domain: text("domain").notNull()
|
|
69
|
+
});
|
|
70
|
+
var organization = pgTable("organization", {
|
|
71
|
+
id: text("id").primaryKey(),
|
|
72
|
+
name: text("name").notNull(),
|
|
73
|
+
slug: text("slug").notNull().unique(),
|
|
74
|
+
logo: text("logo"),
|
|
75
|
+
createdAt: timestamp("created_at").notNull(),
|
|
76
|
+
metadata: text("metadata")
|
|
77
|
+
});
|
|
78
|
+
var member = pgTable(
|
|
79
|
+
"member",
|
|
80
|
+
{
|
|
81
|
+
id: text("id").primaryKey(),
|
|
82
|
+
organizationId: text("organization_id").notNull().references(() => organization.id, { onDelete: "cascade" }),
|
|
83
|
+
userId: text("user_id").notNull().references(() => user.id, { onDelete: "cascade" }),
|
|
84
|
+
role: text("role").default("member").notNull(),
|
|
85
|
+
createdAt: timestamp("created_at").notNull()
|
|
86
|
+
},
|
|
87
|
+
(table) => [
|
|
88
|
+
index("member_organizationId_idx").on(table.organizationId),
|
|
89
|
+
index("member_userId_idx").on(table.userId)
|
|
90
|
+
]
|
|
91
|
+
);
|
|
92
|
+
var invitation = pgTable(
|
|
93
|
+
"invitation",
|
|
94
|
+
{
|
|
95
|
+
id: text("id").primaryKey(),
|
|
96
|
+
organizationId: text("organization_id").notNull().references(() => organization.id, { onDelete: "cascade" }),
|
|
97
|
+
email: text("email").notNull(),
|
|
98
|
+
role: text("role"),
|
|
99
|
+
status: text("status").default("pending").notNull(),
|
|
100
|
+
expiresAt: timestamp("expires_at").notNull(),
|
|
101
|
+
createdAt: timestamp("created_at").defaultNow().notNull(),
|
|
102
|
+
inviterId: text("inviter_id").notNull().references(() => user.id, { onDelete: "cascade" })
|
|
103
|
+
},
|
|
104
|
+
(table) => [
|
|
105
|
+
index("invitation_organizationId_idx").on(table.organizationId),
|
|
106
|
+
index("invitation_email_idx").on(table.email)
|
|
107
|
+
]
|
|
108
|
+
);
|
|
109
|
+
var userRelations = relations(user, ({ many }) => ({
|
|
110
|
+
sessions: many(session),
|
|
111
|
+
accounts: many(account),
|
|
112
|
+
ssoProviders: many(ssoProvider),
|
|
113
|
+
members: many(member),
|
|
114
|
+
invitations: many(invitation)
|
|
115
|
+
}));
|
|
116
|
+
var sessionRelations = relations(session, ({ one }) => ({
|
|
117
|
+
user: one(user, {
|
|
118
|
+
fields: [session.userId],
|
|
119
|
+
references: [user.id]
|
|
120
|
+
})
|
|
121
|
+
}));
|
|
122
|
+
var accountRelations = relations(account, ({ one }) => ({
|
|
123
|
+
user: one(user, {
|
|
124
|
+
fields: [account.userId],
|
|
125
|
+
references: [user.id]
|
|
126
|
+
})
|
|
127
|
+
}));
|
|
128
|
+
var ssoProviderRelations = relations(ssoProvider, ({ one }) => ({
|
|
129
|
+
user: one(user, {
|
|
130
|
+
fields: [ssoProvider.userId],
|
|
131
|
+
references: [user.id]
|
|
132
|
+
})
|
|
133
|
+
}));
|
|
134
|
+
var organizationRelations = relations(organization, ({ many }) => ({
|
|
135
|
+
members: many(member),
|
|
136
|
+
invitations: many(invitation)
|
|
137
|
+
}));
|
|
138
|
+
var memberRelations = relations(member, ({ one }) => ({
|
|
139
|
+
organization: one(organization, {
|
|
140
|
+
fields: [member.organizationId],
|
|
141
|
+
references: [organization.id]
|
|
142
|
+
}),
|
|
143
|
+
user: one(user, {
|
|
144
|
+
fields: [member.userId],
|
|
145
|
+
references: [user.id]
|
|
146
|
+
})
|
|
147
|
+
}));
|
|
148
|
+
var invitationRelations = relations(invitation, ({ one }) => ({
|
|
149
|
+
organization: one(organization, {
|
|
150
|
+
fields: [invitation.organizationId],
|
|
151
|
+
references: [organization.id]
|
|
152
|
+
}),
|
|
153
|
+
user: one(user, {
|
|
154
|
+
fields: [invitation.inviterId],
|
|
155
|
+
references: [user.id]
|
|
156
|
+
})
|
|
157
|
+
}));
|
|
158
|
+
|
|
159
|
+
export { account, accountRelations, invitation, invitationRelations, member, memberRelations, organization, organizationRelations, session, sessionRelations, ssoProvider, ssoProviderRelations, user, userRelations, verification };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createAccessControl } from 'better-auth/plugins/access';
|
|
2
|
-
import { defaultStatements } from 'better-auth/plugins/organization/access';
|
|
2
|
+
import { defaultStatements, memberAc, adminAc, ownerAc } from 'better-auth/plugins/organization/access';
|
|
3
3
|
|
|
4
4
|
// src/auth/permissions.ts
|
|
5
5
|
var statement = {
|
|
@@ -28,7 +28,8 @@ var memberRole = ac.newRole({
|
|
|
28
28
|
artifact_component: ["read"],
|
|
29
29
|
external_agent: ["read"],
|
|
30
30
|
function: ["read"],
|
|
31
|
-
context_config: ["read"]
|
|
31
|
+
context_config: ["read"],
|
|
32
|
+
...memberAc.statements
|
|
32
33
|
});
|
|
33
34
|
var adminRole = ac.newRole({
|
|
34
35
|
project: ["create", "read", "update"],
|
|
@@ -41,7 +42,8 @@ var adminRole = ac.newRole({
|
|
|
41
42
|
artifact_component: ["create", "read", "update"],
|
|
42
43
|
external_agent: ["create", "read", "update"],
|
|
43
44
|
function: ["create", "read", "update"],
|
|
44
|
-
context_config: ["create", "read", "update"]
|
|
45
|
+
context_config: ["create", "read", "update"],
|
|
46
|
+
...adminAc.statements
|
|
45
47
|
});
|
|
46
48
|
var ownerRole = ac.newRole({
|
|
47
49
|
project: ["create", "read", "update", "delete"],
|
|
@@ -54,7 +56,8 @@ var ownerRole = ac.newRole({
|
|
|
54
56
|
artifact_component: ["create", "read", "update", "delete"],
|
|
55
57
|
external_agent: ["create", "read", "update", "delete"],
|
|
56
58
|
function: ["create", "read", "update", "delete"],
|
|
57
|
-
context_config: ["create", "read", "update", "delete"]
|
|
59
|
+
context_config: ["create", "read", "update", "delete"],
|
|
60
|
+
...ownerAc.statements
|
|
58
61
|
});
|
|
59
62
|
|
|
60
63
|
export { ac, adminRole, memberRole, ownerRole };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { subAgents, subAgentRelations, agents, tasks, taskRelations, conversations, messages, contextCache, dataComponents, subAgentDataComponents, artifactComponents, subAgentArtifactComponents, externalAgents, apiKeys, credentialReferences, tools, functionTools, functions, contextConfigs, subAgentToolRelations, subAgentExternalAgentRelations, subAgentTeamAgentRelations, ledgerArtifacts, projects } from './chunk-
|
|
1
|
+
import { subAgents, subAgentRelations, agents, tasks, taskRelations, conversations, messages, contextCache, dataComponents, subAgentDataComponents, artifactComponents, subAgentArtifactComponents, externalAgents, apiKeys, credentialReferences, tools, functionTools, functions, contextConfigs, subAgentToolRelations, subAgentExternalAgentRelations, subAgentTeamAgentRelations, ledgerArtifacts, projects } from './chunk-DEYPSEXR.js';
|
|
2
2
|
import { schemaValidationDefaults } from './chunk-Z64UK4CA.js';
|
|
3
3
|
import { VALID_RELATION_TYPES, MCPTransportType, TOOL_STATUS_VALUES, CredentialStoreType, MCPServerType } from './chunk-YFHT5M2R.js';
|
|
4
4
|
import { z } from '@hono/zod-openapi';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getLogger } from './chunk-DN4B564Y.js';
|
|
2
2
|
import { CredentialStoreType } from './chunk-YFHT5M2R.js';
|
|
3
3
|
import { Nango } from '@nangohq/node';
|
|
4
|
-
import { z } from 'zod';
|
|
4
|
+
import { z } from '@hono/zod-openapi';
|
|
5
5
|
|
|
6
6
|
// src/credential-stores/CredentialStoreRegistry.ts
|
|
7
7
|
var CredentialStoreRegistry = class {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { schema_exports, projects } from './chunk-
|
|
2
|
-
import { organization } from './chunk-
|
|
1
|
+
import { schema_exports, projects } from './chunk-DEYPSEXR.js';
|
|
2
|
+
import { organization } from './chunk-GENLXHZ4.js';
|
|
3
3
|
import { dirname, join } from 'path';
|
|
4
4
|
import { fileURLToPath } from 'url';
|
|
5
5
|
import { PGlite } from '@electric-sql/pglite';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NodePgDatabase } from 'drizzle-orm/node-postgres';
|
|
2
2
|
import { PgliteDatabase } from 'drizzle-orm/pglite';
|
|
3
|
-
import { s as schema } from './schema-
|
|
3
|
+
import { s as schema } from './schema-BhYTubhP.js';
|
|
4
4
|
|
|
5
5
|
type DatabaseClient = NodePgDatabase<typeof schema> | PgliteDatabase<typeof schema>;
|
|
6
6
|
interface DatabaseConfig {
|
package/dist/client-exports.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
export { i as ACTIVITY_NAMES, g as ACTIVITY_STATUS, f as ACTIVITY_TYPES, h as AGENT_IDS, p as AGGREGATE_OPERATORS, A as AI_OPERATIONS, j as AI_TOOL_TYPES, o as DATA_SOURCES, k as DATA_TYPES, D as DELEGATION_FROM_SUB_AGENT_ID, b as DELEGATION_ID, a as DELEGATION_TO_SUB_AGENT_ID, F as FIELD_TYPES, O as OPERATORS, m as ORDER_DIRECTIONS, P as PANEL_TYPES, q as QUERY_DEFAULTS, l as QUERY_EXPRESSIONS, Q as QUERY_FIELD_CONFIGS, n as QUERY_TYPES, R as REDUCE_OPERATIONS, e as SPAN_KEYS, S as SPAN_NAMES, T as TRANSFER_FROM_SUB_AGENT_ID, c as TRANSFER_TO_SUB_AGENT_ID, U as UNKNOWN_VALUE, d as detectAuthenticationRequired } from './auth-detection-7G0Dxt55.js';
|
|
2
|
-
import { z } from 'zod';
|
|
3
|
-
import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullAgentAgentInsertSchema } from './utility-
|
|
4
|
-
export { e as AgentStopWhen, b as AgentStopWhenSchema, h as CredentialStoreType, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, i as MCPTransportType, g as ModelSettings, M as ModelSettingsSchema, d as StopWhen, S as StopWhenSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema } from './utility-
|
|
2
|
+
import { z } from '@hono/zod-openapi';
|
|
3
|
+
import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullAgentAgentInsertSchema } from './utility-5USfJ5Xd.js';
|
|
4
|
+
export { e as AgentStopWhen, b as AgentStopWhenSchema, h as CredentialStoreType, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, i as MCPTransportType, g as ModelSettings, M as ModelSettingsSchema, d as StopWhen, S as StopWhenSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema } from './utility-5USfJ5Xd.js';
|
|
5
5
|
export { v as validatePropsAsJsonSchema } from './props-validation-BMR1qNiy.js';
|
|
6
6
|
import 'pino';
|
|
7
7
|
import 'drizzle-zod';
|
|
8
8
|
import 'drizzle-orm/pg-core';
|
|
9
|
-
import '@hono/zod-openapi';
|
|
10
9
|
|
|
11
10
|
declare const TenantParamsSchema: z.ZodObject<{
|
|
12
11
|
tenantId: z.ZodString;
|
|
@@ -134,8 +133,8 @@ declare const DataComponentApiInsertSchema: z.ZodObject<{
|
|
|
134
133
|
}, z.core.$strip>>>;
|
|
135
134
|
}, z.core.$strip>;
|
|
136
135
|
declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
|
|
137
|
-
id: z.ZodString;
|
|
138
136
|
name: z.ZodString;
|
|
137
|
+
id: z.ZodString;
|
|
139
138
|
description: z.ZodString;
|
|
140
139
|
props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
|
|
141
140
|
}, {
|
|
@@ -170,11 +169,11 @@ declare const FullAgentDefinitionSchema: z.ZodObject<{
|
|
|
170
169
|
description: z.ZodOptional<z.ZodString>;
|
|
171
170
|
defaultSubAgentId: z.ZodOptional<z.ZodString>;
|
|
172
171
|
subAgents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
173
|
-
id: z.ZodString;
|
|
174
172
|
name: z.ZodString;
|
|
175
|
-
|
|
173
|
+
id: z.ZodString;
|
|
176
174
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
177
175
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
176
|
+
description: z.ZodString;
|
|
178
177
|
models: z.ZodOptional<z.ZodObject<{
|
|
179
178
|
base: z.ZodOptional<z.ZodObject<{
|
|
180
179
|
model: z.ZodOptional<z.ZodString>;
|
package/dist/client-exports.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export { ACTIVITY_NAMES, ACTIVITY_STATUS, ACTIVITY_TYPES, AGENT_IDS, AGGREGATE_OPERATORS, AI_OPERATIONS, AI_TOOL_TYPES, DATA_SOURCES, DATA_TYPES, DELEGATION_FROM_SUB_AGENT_ID, DELEGATION_ID, DELEGATION_TO_SUB_AGENT_ID, FIELD_TYPES, OPERATORS, ORDER_DIRECTIONS, PANEL_TYPES, QUERY_DEFAULTS, QUERY_EXPRESSIONS, QUERY_FIELD_CONFIGS, QUERY_TYPES, REDUCE_OPERATIONS, SPAN_KEYS, SPAN_NAMES, TRANSFER_FROM_SUB_AGENT_ID, TRANSFER_TO_SUB_AGENT_ID, UNKNOWN_VALUE } from './chunk-MQMMFK2K.js';
|
|
2
|
-
import { ModelSettingsSchema, FullAgentAgentInsertSchema, ArtifactComponentApiInsertSchema } from './chunk-
|
|
3
|
-
export { AgentStopWhenSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, ModelSettingsSchema, StopWhenSchema, SubAgentStopWhenSchema, validatePropsAsJsonSchema } from './chunk-
|
|
2
|
+
import { ModelSettingsSchema, FullAgentAgentInsertSchema, ArtifactComponentApiInsertSchema } from './chunk-XHODTX4H.js';
|
|
3
|
+
export { AgentStopWhenSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, ModelSettingsSchema, StopWhenSchema, SubAgentStopWhenSchema, validatePropsAsJsonSchema } from './chunk-XHODTX4H.js';
|
|
4
4
|
import { schemaValidationDefaults } from './chunk-Z64UK4CA.js';
|
|
5
5
|
export { detectAuthenticationRequired } from './chunk-4JZT4QEE.js';
|
|
6
6
|
import { CredentialStoreType } from './chunk-YFHT5M2R.js';
|
|
7
7
|
export { CredentialStoreType, MCPTransportType } from './chunk-YFHT5M2R.js';
|
|
8
|
-
import { z } from 'zod';
|
|
8
|
+
import { z } from '@hono/zod-openapi';
|
|
9
9
|
|
|
10
10
|
var {
|
|
11
11
|
AGENT_EXECUTION_TRANSFER_COUNT_MAX,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { AGENT_EXECUTION_TRANSFER_COUNT_DEFAULT, AGENT_EXECUTION_TRANSFER_COUNT_MAX, AGENT_EXECUTION_TRANSFER_COUNT_MIN, CONTEXT_FETCHER_HTTP_TIMEOUT_MS_DEFAULT, STATUS_UPDATE_MAX_INTERVAL_SECONDS, STATUS_UPDATE_MAX_NUM_EVENTS, SUB_AGENT_TURN_GENERATION_STEPS_DEFAULT, SUB_AGENT_TURN_GENERATION_STEPS_MAX, SUB_AGENT_TURN_GENERATION_STEPS_MIN, VALIDATION_AGENT_PROMPT_MAX_CHARS, VALIDATION_SUB_AGENT_PROMPT_MAX_CHARS } from '../../chunk-
|
|
1
|
+
export { AGENT_EXECUTION_TRANSFER_COUNT_DEFAULT, AGENT_EXECUTION_TRANSFER_COUNT_MAX, AGENT_EXECUTION_TRANSFER_COUNT_MIN, CONTEXT_FETCHER_HTTP_TIMEOUT_MS_DEFAULT, STATUS_UPDATE_MAX_INTERVAL_SECONDS, STATUS_UPDATE_MAX_NUM_EVENTS, SUB_AGENT_TURN_GENERATION_STEPS_DEFAULT, SUB_AGENT_TURN_GENERATION_STEPS_MAX, SUB_AGENT_TURN_GENERATION_STEPS_MIN, VALIDATION_AGENT_PROMPT_MAX_CHARS, VALIDATION_SUB_AGENT_PROMPT_MAX_CHARS } from '../../chunk-BJLC7EI4.js';
|
|
2
2
|
export { schemaValidationDefaults } from '../../chunk-Z64UK4CA.js';
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { C as CredentialStore } from '../server-
|
|
1
|
+
import { C as CredentialStore } from '../server-CHLmv-Jb.js';
|
|
2
2
|
import 'hono';
|
|
3
|
-
import '../utility-
|
|
4
|
-
import 'zod';
|
|
3
|
+
import '../utility-5USfJ5Xd.js';
|
|
4
|
+
import '@hono/zod-openapi';
|
|
5
5
|
import 'drizzle-zod';
|
|
6
6
|
import 'drizzle-orm/pg-core';
|
|
7
|
-
import '@hono/zod-openapi';
|
|
8
7
|
|
|
9
8
|
/**
|
|
10
9
|
* Registry for managing credential stores in the application context
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { CredentialStoreRegistry, InMemoryCredentialStore, KeyChainStore, NangoCredentialStore, createDefaultCredentialStores, createKeyChainStore, createNangoCredentialStore } from '../chunk-
|
|
1
|
+
export { CredentialStoreRegistry, InMemoryCredentialStore, KeyChainStore, NangoCredentialStore, createDefaultCredentialStores, createKeyChainStore, createNangoCredentialStore } from '../chunk-YSFXXC6K.js';
|
package/dist/db/schema.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import 'drizzle-orm';
|
|
2
2
|
import 'drizzle-orm/pg-core';
|
|
3
|
-
import '../utility-
|
|
3
|
+
import '../utility-5USfJ5Xd.js';
|
|
4
4
|
export { account, invitation, member, organization, session, ssoProvider, user, verification } from '../auth/auth-schema.js';
|
|
5
|
-
export { G as agentRelations, J as agentToolRelationsRelations, a as agents, y as apiKeys, I as apiKeysRelations, j as artifactComponents, O as artifactComponentsRelations, b as contextCache, E as contextCacheRelations, c as contextConfigs, D as contextConfigsRelations, v as conversations, M as conversationsRelations, z as credentialReferences, K as credentialReferencesRelations, h as dataComponents, Q as dataComponentsRelations, f as externalAgents, H as externalAgentsRelations, m as functionTools, V as functionToolsRelations, n as functions, T as functionsRelations, x as ledgerArtifacts, S as ledgerArtifactsRelations, w as messages, N as messagesRelations, p as projects, B as projectsRelations, k as subAgentArtifactComponents, P as subAgentArtifactComponentsRelations, i as subAgentDataComponents, R as subAgentDataComponentsRelations, q as subAgentExternalAgentRelations, X as subAgentExternalAgentRelationsRelations, u as subAgentFunctionToolRelations, W as subAgentFunctionToolRelationsRelations, e as subAgentRelations, U as subAgentRelationsRelations, r as subAgentTeamAgentRelations, Y as subAgentTeamAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, F as subAgentsRelations, g as taskRelations, C as taskRelationsRelations, t as tasks, A as tasksRelations, l as tools, L as toolsRelations } from '../schema-
|
|
6
|
-
import 'zod';
|
|
7
|
-
import 'drizzle-zod';
|
|
5
|
+
export { G as agentRelations, J as agentToolRelationsRelations, a as agents, y as apiKeys, I as apiKeysRelations, j as artifactComponents, O as artifactComponentsRelations, b as contextCache, E as contextCacheRelations, c as contextConfigs, D as contextConfigsRelations, v as conversations, M as conversationsRelations, z as credentialReferences, K as credentialReferencesRelations, h as dataComponents, Q as dataComponentsRelations, f as externalAgents, H as externalAgentsRelations, m as functionTools, V as functionToolsRelations, n as functions, T as functionsRelations, x as ledgerArtifacts, S as ledgerArtifactsRelations, w as messages, N as messagesRelations, p as projects, B as projectsRelations, k as subAgentArtifactComponents, P as subAgentArtifactComponentsRelations, i as subAgentDataComponents, R as subAgentDataComponentsRelations, q as subAgentExternalAgentRelations, X as subAgentExternalAgentRelationsRelations, u as subAgentFunctionToolRelations, W as subAgentFunctionToolRelationsRelations, e as subAgentRelations, U as subAgentRelationsRelations, r as subAgentTeamAgentRelations, Y as subAgentTeamAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, F as subAgentsRelations, g as taskRelations, C as taskRelationsRelations, t as tasks, A as tasksRelations, l as tools, L as toolsRelations } from '../schema-BhYTubhP.js';
|
|
8
6
|
import '@hono/zod-openapi';
|
|
7
|
+
import 'drizzle-zod';
|
package/dist/db/schema.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { agentRelations, agentToolRelationsRelations, agents, apiKeys, apiKeysRelations, artifactComponents, artifactComponentsRelations, contextCache, contextCacheRelations, contextConfigs, contextConfigsRelations, conversations, conversationsRelations, credentialReferences, credentialReferencesRelations, dataComponents, dataComponentsRelations, externalAgents, externalAgentsRelations, functionTools, functionToolsRelations, functions, functionsRelations, ledgerArtifacts, ledgerArtifactsRelations, messages, messagesRelations, projects, projectsRelations, subAgentArtifactComponents, subAgentArtifactComponentsRelations, subAgentDataComponents, subAgentDataComponentsRelations, subAgentExternalAgentRelations, subAgentExternalAgentRelationsRelations, subAgentFunctionToolRelations, subAgentFunctionToolRelationsRelations, subAgentRelations, subAgentRelationsRelations, subAgentTeamAgentRelations, subAgentTeamAgentRelationsRelations, subAgentToolRelations, subAgents, subAgentsRelations, taskRelations, taskRelationsRelations, tasks, tasksRelations, tools, toolsRelations } from '../chunk-
|
|
2
|
-
export { account, invitation, member, organization, session, ssoProvider, user, verification } from '../chunk-
|
|
1
|
+
export { agentRelations, agentToolRelationsRelations, agents, apiKeys, apiKeysRelations, artifactComponents, artifactComponentsRelations, contextCache, contextCacheRelations, contextConfigs, contextConfigsRelations, conversations, conversationsRelations, credentialReferences, credentialReferencesRelations, dataComponents, dataComponentsRelations, externalAgents, externalAgentsRelations, functionTools, functionToolsRelations, functions, functionsRelations, ledgerArtifacts, ledgerArtifactsRelations, messages, messagesRelations, projects, projectsRelations, subAgentArtifactComponents, subAgentArtifactComponentsRelations, subAgentDataComponents, subAgentDataComponentsRelations, subAgentExternalAgentRelations, subAgentExternalAgentRelationsRelations, subAgentFunctionToolRelations, subAgentFunctionToolRelationsRelations, subAgentRelations, subAgentRelationsRelations, subAgentTeamAgentRelations, subAgentTeamAgentRelationsRelations, subAgentToolRelations, subAgents, subAgentsRelations, taskRelations, taskRelationsRelations, tasks, tasksRelations, tools, toolsRelations } from '../chunk-DEYPSEXR.js';
|
|
2
|
+
export { account, invitation, member, organization, session, ssoProvider, user, verification } from '../chunk-GENLXHZ4.js';
|
package/dist/db/test-client.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { D as DatabaseClient } from '../client-
|
|
1
|
+
import { D as DatabaseClient } from '../client-B3nwdklT.js';
|
|
2
2
|
import 'drizzle-orm/node-postgres';
|
|
3
3
|
import 'drizzle-orm/pglite';
|
|
4
|
-
import '../schema-
|
|
4
|
+
import '../schema-BhYTubhP.js';
|
|
5
5
|
import 'drizzle-orm';
|
|
6
6
|
import 'drizzle-orm/pg-core';
|
|
7
|
-
import '../utility-
|
|
8
|
-
import 'zod';
|
|
9
|
-
import 'drizzle-zod';
|
|
7
|
+
import '../utility-5USfJ5Xd.js';
|
|
10
8
|
import '@hono/zod-openapi';
|
|
9
|
+
import 'drizzle-zod';
|
|
11
10
|
import '../auth/auth-schema.js';
|
|
12
11
|
|
|
13
12
|
/**
|
package/dist/db/test-client.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { cleanupTestDatabase, closeTestDatabase, createTestDatabaseClient, createTestOrganization, createTestProject } from '../chunk-
|
|
1
|
+
export { cleanupTestDatabase, closeTestDatabase, createTestDatabaseClient, createTestOrganization, createTestProject } from '../chunk-ZSYMSL55.js';
|