@inkeep/agents-core 0.0.0-dev-20260211213109 → 0.0.0-dev-20260211220939
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 +105 -105
- package/dist/auth/auth-validation-schemas.d.ts +148 -148
- package/dist/auth/auth.d.ts +18 -18
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/client-exports.d.ts +2 -2
- package/dist/client-exports.js +2 -2
- package/dist/data-access/manage/agents.d.ts +4 -4
- package/dist/data-access/manage/artifactComponents.d.ts +41 -5
- package/dist/data-access/manage/functionTools.d.ts +3 -3
- package/dist/data-access/manage/tools.d.ts +4 -4
- package/dist/data-access/manage/triggers.d.ts +2 -2
- package/dist/data-access/runtime/apiKeys.d.ts +4 -4
- package/dist/data-access/runtime/conversations.d.ts +15 -15
- package/dist/data-access/runtime/messages.d.ts +6 -6
- package/dist/data-access/runtime/tasks.d.ts +4 -4
- package/dist/db/manage/manage-schema.d.ts +496 -467
- package/dist/db/manage/manage-schema.js +7 -10
- package/dist/db/runtime/runtime-schema.d.ts +253 -253
- package/dist/index.d.ts +3 -2
- package/dist/index.js +2 -2
- package/dist/validation/dolt-schemas.d.ts +1 -1
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/index.js +2 -2
- package/dist/validation/json-schemas.d.ts +28 -0
- package/dist/validation/json-schemas.js +56 -0
- package/dist/validation/schemas.d.ts +3291 -2495
- package/dist/validation/schemas.js +1 -8
- package/drizzle/manage/0007_nice_lilandra.sql +3 -0
- package/drizzle/manage/meta/0007_snapshot.json +3148 -0
- package/drizzle/manage/meta/_journal.json +7 -0
- package/package.json +1 -1
|
@@ -86,8 +86,7 @@ const projects = pgTable("projects", {
|
|
|
86
86
|
}, (table) => [primaryKey({ columns: [table.tenantId, table.id] })]);
|
|
87
87
|
const agents = pgTable("agent", {
|
|
88
88
|
...projectScoped,
|
|
89
|
-
|
|
90
|
-
description: text("description"),
|
|
89
|
+
...uiProperties,
|
|
91
90
|
defaultSubAgentId: varchar("default_sub_agent_id", { length: 256 }),
|
|
92
91
|
contextConfigId: varchar("context_config_id", { length: 256 }),
|
|
93
92
|
models: jsonb("models").$type(),
|
|
@@ -246,7 +245,7 @@ const externalAgents = pgTable("external_agents", {
|
|
|
246
245
|
const dataComponents = pgTable("data_components", {
|
|
247
246
|
...projectScoped,
|
|
248
247
|
...uiProperties,
|
|
249
|
-
props: jsonb("props").$type(),
|
|
248
|
+
props: jsonb("props").$type().notNull(),
|
|
250
249
|
render: jsonb("render").$type(),
|
|
251
250
|
...timestamps
|
|
252
251
|
}, (table) => [primaryKey({ columns: [
|
|
@@ -358,8 +357,7 @@ const subAgentArtifactComponents = pgTable("sub_agent_artifact_components", {
|
|
|
358
357
|
]);
|
|
359
358
|
const tools = pgTable("tools", {
|
|
360
359
|
...projectScoped,
|
|
361
|
-
|
|
362
|
-
description: text("description"),
|
|
360
|
+
...uiProperties,
|
|
363
361
|
config: jsonb("config").$type().notNull(),
|
|
364
362
|
credentialReferenceId: varchar("credential_reference_id", { length: 256 }),
|
|
365
363
|
credentialScope: varchar("credential_scope", { length: 50 }).notNull().default("project"),
|
|
@@ -388,8 +386,7 @@ const tools = pgTable("tools", {
|
|
|
388
386
|
]);
|
|
389
387
|
const functionTools = pgTable("function_tools", {
|
|
390
388
|
...agentScoped,
|
|
391
|
-
|
|
392
|
-
description: text("description"),
|
|
389
|
+
...uiProperties,
|
|
393
390
|
functionId: varchar("function_id", { length: 256 }).notNull(),
|
|
394
391
|
...timestamps
|
|
395
392
|
}, (table) => [
|
|
@@ -620,7 +617,7 @@ const subAgentFunctionToolRelations = pgTable("sub_agent_function_tool_relations
|
|
|
620
617
|
]);
|
|
621
618
|
const credentialReferences = pgTable("credential_references", {
|
|
622
619
|
...projectScoped,
|
|
623
|
-
name:
|
|
620
|
+
name: uiProperties.name,
|
|
624
621
|
type: varchar("type", { length: 256 }).notNull(),
|
|
625
622
|
credentialStoreId: varchar("credential_store_id", { length: 256 }).notNull(),
|
|
626
623
|
retrievalParams: jsonb("retrieval_params").$type(),
|
|
@@ -648,13 +645,13 @@ const credentialReferences = pgTable("credential_references", {
|
|
|
648
645
|
* runs where conversations are created from dataset items. Each datasetRun
|
|
649
646
|
* specifies which agent to use when executing the dataset.
|
|
650
647
|
*
|
|
651
|
-
* one
|
|
648
|
+
* one-to-many relationship with datasetItem
|
|
652
649
|
*
|
|
653
650
|
* Includes: name and timestamps
|
|
654
651
|
*/
|
|
655
652
|
const dataset = pgTable("dataset", {
|
|
656
653
|
...projectScoped,
|
|
657
|
-
name:
|
|
654
|
+
name: uiProperties.name,
|
|
658
655
|
...timestamps
|
|
659
656
|
}, (table) => [primaryKey({ columns: [
|
|
660
657
|
table.tenantId,
|