@inkeep/agents-core 0.38.3 → 0.39.0
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 +178 -1
- package/dist/auth/auth-schema.js +1 -1
- package/dist/auth/auth-validation-schemas.d.ts +347 -1
- package/dist/auth/auth-validation-schemas.js +4 -2
- package/dist/auth/auth.d.ts +378 -20
- package/dist/auth/auth.js +12 -2
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/chunk-4VNS5WPM.js +37 -0
- package/dist/{chunk-DW4DNYUS.js → chunk-BZOLMLKX.js} +2 -2
- package/dist/{chunk-CWAFZVRI.js → chunk-FGS57CQI.js} +1 -1
- package/dist/{chunk-LH6OJIIM.js → chunk-LI7GCYW2.js} +3 -2
- package/dist/{chunk-S4XQEAAF.js → chunk-PKGWDXDS.js} +65 -21
- package/dist/{chunk-UK63CULA.js → chunk-RZN5SMF6.js} +1 -1
- package/dist/{chunk-GENLXHZ4.js → chunk-XL55SHQM.js} +14 -2
- package/dist/{client-DG_xZdlN.d.ts → client-DmOy13ep.d.ts} +1 -1
- package/dist/client-exports.js +3 -3
- package/dist/credential-stores/index.d.ts +15 -1
- package/dist/credential-stores/index.js +1 -1
- package/dist/db/schema.d.ts +2 -2
- package/dist/db/schema.js +2 -2
- package/dist/db/test-client.d.ts +2 -2
- package/dist/db/test-client.js +1 -1
- package/dist/dist-TUQUTLPM.js +15929 -0
- package/dist/index.d.ts +5 -5
- package/dist/index.js +16 -16
- package/dist/{schema-DA6PfmoP.d.ts → schema-Bq_OERAy.d.ts} +3 -2
- package/dist/validation/index.js +2 -2
- package/drizzle/0006_stale_thaddeus_ross.sql +12 -0
- package/drizzle/meta/0006_snapshot.json +3766 -0
- package/drizzle/meta/_journal.json +7 -0
- package/package.json +11 -11
- package/dist/chunk-SIAA4J6H.js +0 -17
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { schema_exports, projects } from './chunk-
|
|
2
|
-
import { organization } from './chunk-
|
|
1
|
+
import { schema_exports, projects } from './chunk-LI7GCYW2.js';
|
|
2
|
+
import { organization } from './chunk-XL55SHQM.js';
|
|
3
3
|
import { dirname, join } from 'path';
|
|
4
4
|
import { fileURLToPath } from 'url';
|
|
5
5
|
import { PGlite } from '@electric-sql/pglite';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AgentWithinContextOfProjectSchema, resourceIdSchema, MAX_ID_LENGTH } from './chunk-
|
|
1
|
+
import { AgentWithinContextOfProjectSchema, resourceIdSchema, MAX_ID_LENGTH } from './chunk-RZN5SMF6.js';
|
|
2
2
|
import { z } from '@hono/zod-openapi';
|
|
3
3
|
|
|
4
4
|
// src/validation/cycleDetection.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { verification, user, ssoProvider, session, organization, member, invitation, account } from './chunk-
|
|
2
|
-
import { __export } from './chunk-
|
|
1
|
+
import { verification, user, ssoProvider, session, organization, member, invitation, deviceCode, account } from './chunk-XL55SHQM.js';
|
|
2
|
+
import { __export } from './chunk-4VNS5WPM.js';
|
|
3
3
|
import { relations } from 'drizzle-orm';
|
|
4
4
|
import { pgTable, varchar, text, timestamp, jsonb, primaryKey, foreignKey, integer, index, unique } from 'drizzle-orm/pg-core';
|
|
5
5
|
|
|
@@ -24,6 +24,7 @@ __export(schema_exports, {
|
|
|
24
24
|
credentialReferencesRelations: () => credentialReferencesRelations,
|
|
25
25
|
dataComponents: () => dataComponents,
|
|
26
26
|
dataComponentsRelations: () => dataComponentsRelations,
|
|
27
|
+
deviceCode: () => deviceCode,
|
|
27
28
|
externalAgents: () => externalAgents,
|
|
28
29
|
externalAgentsRelations: () => externalAgentsRelations,
|
|
29
30
|
functionTools: () => functionTools,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DEFAULT_NANGO_STORE_ID } from './chunk-3OPS2LN5.js';
|
|
2
2
|
import { getLogger } from './chunk-DN4B564Y.js';
|
|
3
3
|
import { CredentialStoreType } from './chunk-YFHT5M2R.js';
|
|
4
|
+
import { __require } from './chunk-4VNS5WPM.js';
|
|
4
5
|
import { z } from '@hono/zod-openapi';
|
|
5
|
-
import { Nango } from '@nangohq/node';
|
|
6
6
|
|
|
7
7
|
// src/credential-stores/CredentialStoreRegistry.ts
|
|
8
8
|
var CredentialStoreRegistry = class {
|
|
@@ -99,13 +99,6 @@ var KeyChainStore = class {
|
|
|
99
99
|
'keytar'
|
|
100
100
|
)).default;
|
|
101
101
|
this.keytarAvailable = true;
|
|
102
|
-
this.logger.info(
|
|
103
|
-
{
|
|
104
|
-
storeId: this.id,
|
|
105
|
-
service: this.service
|
|
106
|
-
},
|
|
107
|
-
"Keytar initialized successfully"
|
|
108
|
-
);
|
|
109
102
|
} catch (error) {
|
|
110
103
|
this.logger.warn(
|
|
111
104
|
{
|
|
@@ -352,6 +345,28 @@ var InMemoryCredentialStore = class {
|
|
|
352
345
|
}
|
|
353
346
|
};
|
|
354
347
|
var logger = getLogger("nango-credential-store");
|
|
348
|
+
var nangoModule = null;
|
|
349
|
+
function isNangoAvailable() {
|
|
350
|
+
try {
|
|
351
|
+
__require.resolve("@nangohq/node");
|
|
352
|
+
return true;
|
|
353
|
+
} catch {
|
|
354
|
+
return false;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
async function loadNangoModule() {
|
|
358
|
+
if (nangoModule) {
|
|
359
|
+
return nangoModule;
|
|
360
|
+
}
|
|
361
|
+
try {
|
|
362
|
+
nangoModule = await import('./dist-TUQUTLPM.js');
|
|
363
|
+
return nangoModule;
|
|
364
|
+
} catch {
|
|
365
|
+
throw new Error(
|
|
366
|
+
"Nango is not installed. To use Nango credential store, install it with: npm install @nangohq/node @nangohq/types"
|
|
367
|
+
);
|
|
368
|
+
}
|
|
369
|
+
}
|
|
355
370
|
var CredentialKeySchema = z.object({
|
|
356
371
|
connectionId: z.string().min(1, "connectionId must be a non-empty string"),
|
|
357
372
|
providerConfigKey: z.string().min(1, "providerConfigKey must be a non-empty string"),
|
|
@@ -391,14 +406,24 @@ var NangoCredentialStore = class {
|
|
|
391
406
|
id;
|
|
392
407
|
type = CredentialStoreType.nango;
|
|
393
408
|
nangoConfig;
|
|
394
|
-
nangoClient;
|
|
409
|
+
nangoClient = null;
|
|
395
410
|
constructor(id, config) {
|
|
396
411
|
this.id = id;
|
|
397
412
|
this.nangoConfig = config;
|
|
413
|
+
}
|
|
414
|
+
/**
|
|
415
|
+
* Initialize Nango client lazily
|
|
416
|
+
*/
|
|
417
|
+
async getNangoClient() {
|
|
418
|
+
if (this.nangoClient) {
|
|
419
|
+
return this.nangoClient;
|
|
420
|
+
}
|
|
421
|
+
const { Nango } = await loadNangoModule();
|
|
398
422
|
this.nangoClient = new Nango({
|
|
399
423
|
secretKey: this.nangoConfig.secretKey,
|
|
400
424
|
host: this.nangoConfig.apiUrl
|
|
401
425
|
});
|
|
426
|
+
return this.nangoClient;
|
|
402
427
|
}
|
|
403
428
|
getAccessToken(credentials) {
|
|
404
429
|
const { type } = credentials;
|
|
@@ -486,7 +511,8 @@ var NangoCredentialStore = class {
|
|
|
486
511
|
*/
|
|
487
512
|
async fetchNangoIntegration(uniqueKey) {
|
|
488
513
|
try {
|
|
489
|
-
const
|
|
514
|
+
const nangoClient = await this.getNangoClient();
|
|
515
|
+
const response = await nangoClient.getIntegration(
|
|
490
516
|
{ uniqueKey },
|
|
491
517
|
{ include: ["credentials"] }
|
|
492
518
|
);
|
|
@@ -528,7 +554,8 @@ var NangoCredentialStore = class {
|
|
|
528
554
|
try {
|
|
529
555
|
let integration;
|
|
530
556
|
try {
|
|
531
|
-
const
|
|
557
|
+
const nangoClient = await this.getNangoClient();
|
|
558
|
+
const response2 = await nangoClient.createIntegration({
|
|
532
559
|
provider,
|
|
533
560
|
unique_key: uniqueKey,
|
|
534
561
|
display_name: displayName
|
|
@@ -594,7 +621,8 @@ var NangoCredentialStore = class {
|
|
|
594
621
|
providerConfigKey
|
|
595
622
|
}) {
|
|
596
623
|
try {
|
|
597
|
-
const
|
|
624
|
+
const nangoClient = await this.getNangoClient();
|
|
625
|
+
const nangoConnection = await nangoClient.getConnection(providerConfigKey, connectionId);
|
|
598
626
|
const tokenAndCredentials = this.getAccessToken(nangoConnection.credentials) ?? {};
|
|
599
627
|
const credentialData = {
|
|
600
628
|
...tokenAndCredentials,
|
|
@@ -691,7 +719,8 @@ var NangoCredentialStore = class {
|
|
|
691
719
|
return false;
|
|
692
720
|
}
|
|
693
721
|
const { connectionId, providerConfigKey } = parsedKey;
|
|
694
|
-
await this.
|
|
722
|
+
const nangoClient = await this.getNangoClient();
|
|
723
|
+
await nangoClient.deleteConnection(providerConfigKey, connectionId);
|
|
695
724
|
return true;
|
|
696
725
|
} catch (error) {
|
|
697
726
|
logger.error(
|
|
@@ -709,6 +738,12 @@ var NangoCredentialStore = class {
|
|
|
709
738
|
* Check if the credential store is available and functional
|
|
710
739
|
*/
|
|
711
740
|
async checkAvailability() {
|
|
741
|
+
if (!isNangoAvailable()) {
|
|
742
|
+
return {
|
|
743
|
+
available: false,
|
|
744
|
+
reason: "Nango is not installed. Install with: npm install @nangohq/node @nangohq/types"
|
|
745
|
+
};
|
|
746
|
+
}
|
|
712
747
|
if (!this.nangoConfig.secretKey) {
|
|
713
748
|
return {
|
|
714
749
|
available: false,
|
|
@@ -727,6 +762,11 @@ var NangoCredentialStore = class {
|
|
|
727
762
|
}
|
|
728
763
|
};
|
|
729
764
|
function createNangoCredentialStore(id, config) {
|
|
765
|
+
if (!isNangoAvailable()) {
|
|
766
|
+
throw new Error(
|
|
767
|
+
"Nango is not installed. To use Nango credential store, install it with: npm install @nangohq/node @nangohq/types"
|
|
768
|
+
);
|
|
769
|
+
}
|
|
730
770
|
const nangoSecretKey = config?.secretKey || process.env.NANGO_SECRET_KEY;
|
|
731
771
|
if (!nangoSecretKey || nangoSecretKey === "your_nango_secret_key" || nangoSecretKey.includes("mock")) {
|
|
732
772
|
throw new Error(
|
|
@@ -744,13 +784,17 @@ function createNangoCredentialStore(id, config) {
|
|
|
744
784
|
function createDefaultCredentialStores() {
|
|
745
785
|
const stores = [];
|
|
746
786
|
stores.push(new InMemoryCredentialStore("memory-default"));
|
|
747
|
-
if (process.env.NANGO_SECRET_KEY) {
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
787
|
+
if (process.env.NANGO_SECRET_KEY && isNangoAvailable()) {
|
|
788
|
+
try {
|
|
789
|
+
stores.push(
|
|
790
|
+
createNangoCredentialStore(DEFAULT_NANGO_STORE_ID, {
|
|
791
|
+
apiUrl: process.env.NANGO_SERVER_URL || "https://api.nango.dev",
|
|
792
|
+
secretKey: process.env.NANGO_SECRET_KEY
|
|
793
|
+
})
|
|
794
|
+
);
|
|
795
|
+
} catch (error) {
|
|
796
|
+
console.warn("Failed to create Nango store:", error instanceof Error ? error.message : error);
|
|
797
|
+
}
|
|
754
798
|
}
|
|
755
799
|
try {
|
|
756
800
|
stores.push(createKeyChainStore("keychain-default"));
|
|
@@ -763,4 +807,4 @@ function createDefaultCredentialStores() {
|
|
|
763
807
|
return stores;
|
|
764
808
|
}
|
|
765
809
|
|
|
766
|
-
export { CredentialStoreRegistry, InMemoryCredentialStore, KeyChainStore, NangoCredentialStore, createDefaultCredentialStores, createKeyChainStore, createNangoCredentialStore };
|
|
810
|
+
export { CredentialStoreRegistry, InMemoryCredentialStore, KeyChainStore, NangoCredentialStore, createDefaultCredentialStores, createKeyChainStore, createNangoCredentialStore, isNangoAvailable };
|
|
@@ -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-LI7GCYW2.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,5 +1,5 @@
|
|
|
1
1
|
import { relations } from 'drizzle-orm';
|
|
2
|
-
import { pgTable, timestamp, text, boolean, index } from 'drizzle-orm/pg-core';
|
|
2
|
+
import { pgTable, timestamp, text, boolean, index, integer } from 'drizzle-orm/pg-core';
|
|
3
3
|
|
|
4
4
|
// src/auth/auth-schema.ts
|
|
5
5
|
var user = pgTable("user", {
|
|
@@ -106,6 +106,18 @@ var invitation = pgTable(
|
|
|
106
106
|
index("invitation_email_idx").on(table.email)
|
|
107
107
|
]
|
|
108
108
|
);
|
|
109
|
+
var deviceCode = pgTable("device_code", {
|
|
110
|
+
id: text("id").primaryKey(),
|
|
111
|
+
deviceCode: text("device_code").notNull(),
|
|
112
|
+
userCode: text("user_code").notNull(),
|
|
113
|
+
userId: text("user_id"),
|
|
114
|
+
expiresAt: timestamp("expires_at").notNull(),
|
|
115
|
+
status: text("status").notNull(),
|
|
116
|
+
lastPolledAt: timestamp("last_polled_at"),
|
|
117
|
+
pollingInterval: integer("polling_interval"),
|
|
118
|
+
clientId: text("client_id"),
|
|
119
|
+
scope: text("scope")
|
|
120
|
+
});
|
|
109
121
|
var userRelations = relations(user, ({ many }) => ({
|
|
110
122
|
sessions: many(session),
|
|
111
123
|
accounts: many(account),
|
|
@@ -156,4 +168,4 @@ var invitationRelations = relations(invitation, ({ one }) => ({
|
|
|
156
168
|
})
|
|
157
169
|
}));
|
|
158
170
|
|
|
159
|
-
export { account, accountRelations, invitation, invitationRelations, member, memberRelations, organization, organizationRelations, session, sessionRelations, ssoProvider, ssoProviderRelations, user, userRelations, verification };
|
|
171
|
+
export { account, accountRelations, deviceCode, invitation, invitationRelations, member, memberRelations, organization, organizationRelations, session, sessionRelations, ssoProvider, ssoProviderRelations, user, userRelations, verification };
|
|
@@ -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-Bq_OERAy.js';
|
|
4
4
|
|
|
5
5
|
type DatabaseClient = NodePgDatabase<typeof schema> | PgliteDatabase<typeof schema>;
|
|
6
6
|
interface DatabaseConfig {
|
package/dist/client-exports.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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-NLLGMFQ6.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-RZN5SMF6.js';
|
|
3
|
+
export { AgentStopWhenSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, ModelSettingsSchema, StopWhenSchema, SubAgentStopWhenSchema, validatePropsAsJsonSchema } from './chunk-RZN5SMF6.js';
|
|
4
4
|
import { schemaValidationDefaults } from './chunk-Z64UK4CA.js';
|
|
5
|
-
export { detectAuthenticationRequired } from './chunk-KVVL5WLM.js';
|
|
6
5
|
export { DEFAULT_NANGO_STORE_ID } from './chunk-3OPS2LN5.js';
|
|
6
|
+
export { detectAuthenticationRequired } from './chunk-KVVL5WLM.js';
|
|
7
7
|
import { CredentialStoreType } from './chunk-YFHT5M2R.js';
|
|
8
8
|
export { CredentialStoreType, MCPTransportType } from './chunk-YFHT5M2R.js';
|
|
9
9
|
import { z } from '@hono/zod-openapi';
|
|
@@ -202,6 +202,10 @@ declare class InMemoryCredentialStore implements CredentialStore {
|
|
|
202
202
|
}>;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
+
/**
|
|
206
|
+
* Check if Nango is available
|
|
207
|
+
*/
|
|
208
|
+
declare function isNangoAvailable(): boolean;
|
|
205
209
|
interface NangoConfig {
|
|
206
210
|
secretKey: string;
|
|
207
211
|
apiUrl?: string;
|
|
@@ -209,6 +213,9 @@ interface NangoConfig {
|
|
|
209
213
|
/**
|
|
210
214
|
* Nango-based CredentialStore that fetches OAuth credentials from Nango API
|
|
211
215
|
* Uses connectionId and providerConfigKey from metadata to fetch live credentials
|
|
216
|
+
*
|
|
217
|
+
* Note: This store requires the @nangohq/node and @nangohq/types packages to be installed.
|
|
218
|
+
* If Nango is not installed, the store will throw helpful error messages.
|
|
212
219
|
*/
|
|
213
220
|
declare class NangoCredentialStore implements CredentialStore {
|
|
214
221
|
readonly id: string;
|
|
@@ -216,6 +223,10 @@ declare class NangoCredentialStore implements CredentialStore {
|
|
|
216
223
|
private nangoConfig;
|
|
217
224
|
private nangoClient;
|
|
218
225
|
constructor(id: string, config: NangoConfig);
|
|
226
|
+
/**
|
|
227
|
+
* Initialize Nango client lazily
|
|
228
|
+
*/
|
|
229
|
+
private getNangoClient;
|
|
219
230
|
private getAccessToken;
|
|
220
231
|
private sanitizeMetadata;
|
|
221
232
|
/**
|
|
@@ -262,7 +273,10 @@ declare class NangoCredentialStore implements CredentialStore {
|
|
|
262
273
|
/**
|
|
263
274
|
* Factory function to create NangoCredentialStore
|
|
264
275
|
* Automatically reads NANGO_SECRET_KEY from environment and validates it
|
|
276
|
+
*
|
|
277
|
+
* Note: This function requires the @nangohq/node and @nangohq/types packages to be installed.
|
|
278
|
+
* If Nango is not installed, this will throw a helpful error message.
|
|
265
279
|
*/
|
|
266
280
|
declare function createNangoCredentialStore(id: string, config?: Partial<NangoConfig>): NangoCredentialStore;
|
|
267
281
|
|
|
268
|
-
export { CredentialStoreRegistry, InMemoryCredentialStore, KeyChainStore, NangoCredentialStore, createDefaultCredentialStores, createKeyChainStore, createNangoCredentialStore };
|
|
282
|
+
export { CredentialStoreRegistry, InMemoryCredentialStore, KeyChainStore, NangoCredentialStore, createDefaultCredentialStores, createKeyChainStore, createNangoCredentialStore, isNangoAvailable };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { CredentialStoreRegistry, InMemoryCredentialStore, KeyChainStore, NangoCredentialStore, createDefaultCredentialStores, createKeyChainStore, createNangoCredentialStore } from '../chunk-
|
|
1
|
+
export { CredentialStoreRegistry, InMemoryCredentialStore, KeyChainStore, NangoCredentialStore, createDefaultCredentialStores, createKeyChainStore, createNangoCredentialStore, isNangoAvailable } from '../chunk-PKGWDXDS.js';
|
package/dist/db/schema.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'drizzle-orm';
|
|
2
2
|
import 'drizzle-orm/pg-core';
|
|
3
3
|
import '../utility-dsfXkYTu.js';
|
|
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-
|
|
4
|
+
export { account, deviceCode, 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-Bq_OERAy.js';
|
|
6
6
|
import '@hono/zod-openapi';
|
|
7
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-LI7GCYW2.js';
|
|
2
|
+
export { account, deviceCode, invitation, member, organization, session, ssoProvider, user, verification } from '../chunk-XL55SHQM.js';
|
package/dist/db/test-client.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as DatabaseClient } from '../client-
|
|
1
|
+
import { D as DatabaseClient } from '../client-DmOy13ep.js';
|
|
2
2
|
import 'drizzle-orm/node-postgres';
|
|
3
3
|
import 'drizzle-orm/pglite';
|
|
4
|
-
import '../schema-
|
|
4
|
+
import '../schema-Bq_OERAy.js';
|
|
5
5
|
import 'drizzle-orm';
|
|
6
6
|
import 'drizzle-orm/pg-core';
|
|
7
7
|
import '../utility-dsfXkYTu.js';
|
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-BZOLMLKX.js';
|