@inkeep/agents-core 0.60.0 → 0.61.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 +86 -86
- package/dist/auth/auth-validation-schemas.d.ts +154 -154
- package/dist/auth/auth.d.ts +6 -6
- package/dist/auth/init.js +42 -0
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/auth/wait-for-spicedb.d.ts +1 -0
- package/dist/auth/wait-for-spicedb.js +51 -0
- package/dist/client-exports.d.ts +3 -106
- package/dist/client-exports.js +2 -60
- package/dist/data-access/index.d.ts +4 -3
- package/dist/data-access/index.js +4 -3
- package/dist/data-access/manage/agentFull.js +10 -5
- package/dist/data-access/manage/agents.d.ts +69 -63
- package/dist/data-access/manage/agents.js +2 -0
- package/dist/data-access/manage/artifactComponents.d.ts +16 -16
- package/dist/data-access/manage/contextConfigs.d.ts +12 -12
- package/dist/data-access/manage/dataComponents.d.ts +6 -6
- package/dist/data-access/manage/functionTools.d.ts +14 -14
- package/dist/data-access/manage/projectFull.js +24 -3
- package/dist/data-access/manage/skills.d.ts +18 -18
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +21 -21
- package/dist/data-access/manage/subAgentRelations.d.ts +23 -23
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgents.d.ts +36 -36
- package/dist/data-access/manage/tools.d.ts +24 -24
- package/dist/data-access/runtime/apiKeys.d.ts +16 -16
- package/dist/data-access/runtime/apps.d.ts +56 -11
- package/dist/data-access/runtime/apps.js +15 -1
- package/dist/data-access/runtime/conversations.d.ts +25 -25
- package/dist/data-access/runtime/conversations.js +1 -0
- package/dist/data-access/runtime/ledgerArtifacts.d.ts +11 -2
- package/dist/data-access/runtime/ledgerArtifacts.js +12 -1
- package/dist/data-access/runtime/messages.d.ts +21 -21
- package/dist/data-access/runtime/tasks.d.ts +6 -6
- package/dist/data-access/runtime/workflowExecutions.d.ts +25 -0
- package/dist/data-access/runtime/workflowExecutions.js +32 -0
- package/dist/db/manage/manage-schema.d.ts +399 -379
- package/dist/db/manage/manage-schema.js +1 -0
- package/dist/db/runtime/runtime-schema.d.ts +516 -301
- package/dist/db/runtime/runtime-schema.js +16 -2
- package/dist/index.d.ts +10 -8
- package/dist/index.js +8 -6
- package/dist/types/entities.d.ts +5 -2
- package/dist/types/index.d.ts +3 -3
- package/dist/types/utility.d.ts +9 -3
- package/dist/utils/conversations.d.ts +4 -1
- package/dist/utils/conversations.js +10 -1
- package/dist/utils/index.d.ts +3 -2
- package/dist/utils/index.js +3 -2
- package/dist/utils/validate-public-key.d.ts +10 -0
- package/dist/utils/validate-public-key.js +89 -0
- package/dist/validation/agentFull.js +0 -1
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/index.js +2 -2
- package/dist/validation/schemas.d.ts +3264 -2504
- package/dist/validation/schemas.js +104 -36
- package/drizzle/manage/0013_gorgeous_umar.sql +1 -0
- package/drizzle/manage/meta/0013_snapshot.json +3704 -0
- package/drizzle/manage/meta/_journal.json +7 -0
- package/drizzle/runtime/0026_graceful_scorpion.sql +15 -0
- package/drizzle/runtime/meta/{0025_snapshot.json → 0026_snapshot.json} +114 -1
- package/drizzle/runtime/meta/_journal.json +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
CREATE TABLE "workflow_executions" (
|
|
2
|
+
"tenant_id" varchar(256) NOT NULL,
|
|
3
|
+
"id" varchar(256) NOT NULL,
|
|
4
|
+
"project_id" varchar(256) NOT NULL,
|
|
5
|
+
"agent_id" varchar(256) NOT NULL,
|
|
6
|
+
"conversation_id" varchar(256) NOT NULL,
|
|
7
|
+
"request_id" varchar(256),
|
|
8
|
+
"status" varchar(50) DEFAULT 'running' NOT NULL,
|
|
9
|
+
"metadata" jsonb,
|
|
10
|
+
"created_at" timestamp DEFAULT now() NOT NULL,
|
|
11
|
+
"updated_at" timestamp DEFAULT now() NOT NULL,
|
|
12
|
+
CONSTRAINT "workflow_executions_tenant_id_project_id_id_pk" PRIMARY KEY("tenant_id","project_id","id")
|
|
13
|
+
);
|
|
14
|
+
--> statement-breakpoint
|
|
15
|
+
CREATE INDEX "workflow_executions_conversation_idx" ON "workflow_executions" USING btree ("tenant_id","project_id","conversation_id");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"id": "
|
|
2
|
+
"id": "728e82ed-d1db-49f0-9f37-55c239ba200d",
|
|
3
3
|
"prevId": "aed8320f-0737-4399-92c1-db038ccabe6b",
|
|
4
4
|
"version": "7",
|
|
5
5
|
"dialect": "postgresql",
|
|
@@ -4260,6 +4260,119 @@
|
|
|
4260
4260
|
"policies": {},
|
|
4261
4261
|
"checkConstraints": {},
|
|
4262
4262
|
"isRLSEnabled": false
|
|
4263
|
+
},
|
|
4264
|
+
"public.workflow_executions": {
|
|
4265
|
+
"name": "workflow_executions",
|
|
4266
|
+
"schema": "",
|
|
4267
|
+
"columns": {
|
|
4268
|
+
"tenant_id": {
|
|
4269
|
+
"name": "tenant_id",
|
|
4270
|
+
"type": "varchar(256)",
|
|
4271
|
+
"primaryKey": false,
|
|
4272
|
+
"notNull": true
|
|
4273
|
+
},
|
|
4274
|
+
"id": {
|
|
4275
|
+
"name": "id",
|
|
4276
|
+
"type": "varchar(256)",
|
|
4277
|
+
"primaryKey": false,
|
|
4278
|
+
"notNull": true
|
|
4279
|
+
},
|
|
4280
|
+
"project_id": {
|
|
4281
|
+
"name": "project_id",
|
|
4282
|
+
"type": "varchar(256)",
|
|
4283
|
+
"primaryKey": false,
|
|
4284
|
+
"notNull": true
|
|
4285
|
+
},
|
|
4286
|
+
"agent_id": {
|
|
4287
|
+
"name": "agent_id",
|
|
4288
|
+
"type": "varchar(256)",
|
|
4289
|
+
"primaryKey": false,
|
|
4290
|
+
"notNull": true
|
|
4291
|
+
},
|
|
4292
|
+
"conversation_id": {
|
|
4293
|
+
"name": "conversation_id",
|
|
4294
|
+
"type": "varchar(256)",
|
|
4295
|
+
"primaryKey": false,
|
|
4296
|
+
"notNull": true
|
|
4297
|
+
},
|
|
4298
|
+
"request_id": {
|
|
4299
|
+
"name": "request_id",
|
|
4300
|
+
"type": "varchar(256)",
|
|
4301
|
+
"primaryKey": false,
|
|
4302
|
+
"notNull": false
|
|
4303
|
+
},
|
|
4304
|
+
"status": {
|
|
4305
|
+
"name": "status",
|
|
4306
|
+
"type": "varchar(50)",
|
|
4307
|
+
"primaryKey": false,
|
|
4308
|
+
"notNull": true,
|
|
4309
|
+
"default": "'running'"
|
|
4310
|
+
},
|
|
4311
|
+
"metadata": {
|
|
4312
|
+
"name": "metadata",
|
|
4313
|
+
"type": "jsonb",
|
|
4314
|
+
"primaryKey": false,
|
|
4315
|
+
"notNull": false
|
|
4316
|
+
},
|
|
4317
|
+
"created_at": {
|
|
4318
|
+
"name": "created_at",
|
|
4319
|
+
"type": "timestamp",
|
|
4320
|
+
"primaryKey": false,
|
|
4321
|
+
"notNull": true,
|
|
4322
|
+
"default": "now()"
|
|
4323
|
+
},
|
|
4324
|
+
"updated_at": {
|
|
4325
|
+
"name": "updated_at",
|
|
4326
|
+
"type": "timestamp",
|
|
4327
|
+
"primaryKey": false,
|
|
4328
|
+
"notNull": true,
|
|
4329
|
+
"default": "now()"
|
|
4330
|
+
}
|
|
4331
|
+
},
|
|
4332
|
+
"indexes": {
|
|
4333
|
+
"workflow_executions_conversation_idx": {
|
|
4334
|
+
"name": "workflow_executions_conversation_idx",
|
|
4335
|
+
"columns": [
|
|
4336
|
+
{
|
|
4337
|
+
"expression": "tenant_id",
|
|
4338
|
+
"isExpression": false,
|
|
4339
|
+
"asc": true,
|
|
4340
|
+
"nulls": "last"
|
|
4341
|
+
},
|
|
4342
|
+
{
|
|
4343
|
+
"expression": "project_id",
|
|
4344
|
+
"isExpression": false,
|
|
4345
|
+
"asc": true,
|
|
4346
|
+
"nulls": "last"
|
|
4347
|
+
},
|
|
4348
|
+
{
|
|
4349
|
+
"expression": "conversation_id",
|
|
4350
|
+
"isExpression": false,
|
|
4351
|
+
"asc": true,
|
|
4352
|
+
"nulls": "last"
|
|
4353
|
+
}
|
|
4354
|
+
],
|
|
4355
|
+
"isUnique": false,
|
|
4356
|
+
"concurrently": false,
|
|
4357
|
+
"method": "btree",
|
|
4358
|
+
"with": {}
|
|
4359
|
+
}
|
|
4360
|
+
},
|
|
4361
|
+
"foreignKeys": {},
|
|
4362
|
+
"compositePrimaryKeys": {
|
|
4363
|
+
"workflow_executions_tenant_id_project_id_id_pk": {
|
|
4364
|
+
"name": "workflow_executions_tenant_id_project_id_id_pk",
|
|
4365
|
+
"columns": [
|
|
4366
|
+
"tenant_id",
|
|
4367
|
+
"project_id",
|
|
4368
|
+
"id"
|
|
4369
|
+
]
|
|
4370
|
+
}
|
|
4371
|
+
},
|
|
4372
|
+
"uniqueConstraints": {},
|
|
4373
|
+
"policies": {},
|
|
4374
|
+
"checkConstraints": {},
|
|
4375
|
+
"isRLSEnabled": false
|
|
4263
4376
|
}
|
|
4264
4377
|
},
|
|
4265
4378
|
"enums": {},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.61.0",
|
|
4
4
|
"description": "Agents Core contains the database schema, types, and validation schemas for Inkeep Agent Framework, along with core components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|