@inkeep/agents-core 0.58.19 → 0.58.21
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 +85 -85
- package/dist/auth/auth-validation-schemas.d.ts +135 -135
- package/dist/auth/auth.d.ts +28 -28
- package/dist/auth/cookie-names.d.ts +7 -0
- package/dist/auth/cookie-names.js +13 -0
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/data-access/manage/skills.d.ts +1 -1
- package/dist/data-access/manage/tools.js +4 -2
- 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/apps.d.ts +4 -4
- package/dist/data-access/runtime/cascade-delete.d.ts +4 -0
- package/dist/data-access/runtime/cascade-delete.js +27 -1
- package/dist/data-access/runtime/conversations.d.ts +7 -7
- package/dist/data-access/runtime/messages.d.ts +9 -9
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +15 -0
- package/dist/data-access/runtime/tasks.d.ts +2 -2
- package/dist/data-access/runtime/triggerInvocations.d.ts +5 -0
- package/dist/db/manage/manage-schema.d.ts +453 -453
- package/dist/db/runtime/runtime-schema.d.ts +440 -332
- package/dist/db/runtime/runtime-schema.js +4 -0
- package/dist/env.js +7 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +4 -1
- package/dist/middleware/no-auth.d.ts +2 -2
- package/dist/utils/env-detection.d.ts +6 -0
- package/dist/utils/env-detection.js +13 -0
- package/dist/utils/index.d.ts +3 -1
- package/dist/utils/index.js +3 -1
- package/dist/utils/work-app-mcp.d.ts +8 -0
- package/dist/utils/work-app-mcp.js +18 -0
- package/dist/validation/dolt-schemas.d.ts +1 -1
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +1554 -3342
- package/dist/validation/schemas.js +7 -6
- package/drizzle/runtime/0023_bumpy_vampiro.sql +4 -0
- package/drizzle/runtime/meta/0023_snapshot.json +4264 -0
- package/drizzle/runtime/meta/_journal.json +7 -0
- package/package.json +9 -1
|
@@ -492,7 +492,7 @@ const TriggerApiInsertSchema = createAgentScopedApiInsertSchema(TriggerInsertSch
|
|
|
492
492
|
}).openapi("TriggerCreate");
|
|
493
493
|
const TriggerApiUpdateSchema = createAgentScopedApiUpdateSchema(TriggerUpdateSchema).openapi("TriggerUpdate");
|
|
494
494
|
const TriggerWithWebhookUrlSchema = TriggerApiSelectSchema.extend({ webhookUrl: z.string().describe("Fully qualified webhook URL for this trigger") }).openapi("TriggerWithWebhookUrl");
|
|
495
|
-
const TriggerInvocationSelectSchema = createSelectSchema(triggerInvocations);
|
|
495
|
+
const TriggerInvocationSelectSchema = createSelectSchema(triggerInvocations).extend({ ref: ResolvedRefSchema.nullable().optional() });
|
|
496
496
|
const TriggerInvocationInsertSchema = createInsertSchema(triggerInvocations, {
|
|
497
497
|
id: () => ResourceIdSchema,
|
|
498
498
|
triggerId: () => ResourceIdSchema,
|
|
@@ -563,6 +563,7 @@ const ScheduledTriggerInvocationStatusEnum = z.enum([
|
|
|
563
563
|
"cancelled"
|
|
564
564
|
]);
|
|
565
565
|
const ScheduledTriggerInvocationSelectSchema = createSelectSchema(scheduledTriggerInvocations).extend({
|
|
566
|
+
ref: ResolvedRefSchema.nullable().optional(),
|
|
566
567
|
resolvedPayload: z.record(z.string(), z.unknown()).nullable().optional(),
|
|
567
568
|
status: ScheduledTriggerInvocationStatusEnum
|
|
568
569
|
});
|
|
@@ -582,7 +583,7 @@ const ScheduledTriggerInvocationUpdateSchema = ScheduledTriggerInvocationInsertS
|
|
|
582
583
|
const ScheduledTriggerInvocationApiSelectSchema = createAgentScopedApiSchema(ScheduledTriggerInvocationSelectSchema).openapi("ScheduledTriggerInvocation");
|
|
583
584
|
const ScheduledTriggerInvocationApiInsertSchema = createAgentScopedApiInsertSchema(ScheduledTriggerInvocationInsertSchema).extend({ id: ResourceIdSchema }).openapi("ScheduledTriggerInvocationCreate");
|
|
584
585
|
const ScheduledTriggerInvocationApiUpdateSchema = createAgentScopedApiUpdateSchema(ScheduledTriggerInvocationUpdateSchema).openapi("ScheduledTriggerInvocationUpdate");
|
|
585
|
-
const TaskSelectSchema = createSelectSchema(tasks);
|
|
586
|
+
const TaskSelectSchema = createSelectSchema(tasks).extend({ ref: ResolvedRefSchema.nullable().optional() });
|
|
586
587
|
const TaskInsertSchema = createInsertSchema(tasks).extend({
|
|
587
588
|
id: ResourceIdSchema,
|
|
588
589
|
conversationId: ResourceIdSchema.optional(),
|
|
@@ -664,7 +665,7 @@ const ToolInsertSchema = createInsertSchema(tools).extend({
|
|
|
664
665
|
createdAt: true,
|
|
665
666
|
updatedAt: true
|
|
666
667
|
});
|
|
667
|
-
const ConversationSelectSchema = createSelectSchema(conversations);
|
|
668
|
+
const ConversationSelectSchema = createSelectSchema(conversations).extend({ ref: ResolvedRefSchema.nullable().optional() });
|
|
668
669
|
const ConversationInsertSchema = createInsertSchema(conversations).extend({
|
|
669
670
|
id: ResourceIdSchema,
|
|
670
671
|
contextConfigId: ResourceIdSchema.optional(),
|
|
@@ -684,13 +685,13 @@ const MessageUpdateSchema = MessageInsertSchema.partial();
|
|
|
684
685
|
const MessageApiSelectSchema = createApiSchema(MessageSelectSchema).openapi("Message");
|
|
685
686
|
const MessageApiInsertSchema = createApiInsertSchema(MessageInsertSchema).openapi("MessageCreate");
|
|
686
687
|
const MessageApiUpdateSchema = createApiUpdateSchema(MessageUpdateSchema).openapi("MessageUpdate");
|
|
687
|
-
const ContextCacheSelectSchema = createSelectSchema(contextCache);
|
|
688
|
+
const ContextCacheSelectSchema = createSelectSchema(contextCache).extend({ ref: ResolvedRefSchema.nullable().optional() });
|
|
688
689
|
const ContextCacheInsertSchema = createInsertSchema(contextCache).extend({ ref: ResolvedRefSchema });
|
|
689
690
|
const ContextCacheUpdateSchema = ContextCacheInsertSchema.partial();
|
|
690
691
|
const ContextCacheApiSelectSchema = createApiSchema(ContextCacheSelectSchema);
|
|
691
692
|
const ContextCacheApiInsertSchema = createApiInsertSchema(ContextCacheInsertSchema);
|
|
692
693
|
const ContextCacheApiUpdateSchema = createApiUpdateSchema(ContextCacheUpdateSchema);
|
|
693
|
-
const DatasetRunSelectSchema = createSelectSchema(datasetRun);
|
|
694
|
+
const DatasetRunSelectSchema = createSelectSchema(datasetRun).extend({ ref: ResolvedRefSchema.nullable().optional() });
|
|
694
695
|
const DatasetRunInsertSchema = createInsertSchema(datasetRun).extend({ id: ResourceIdSchema });
|
|
695
696
|
const DatasetRunUpdateSchema = DatasetRunInsertSchema.partial();
|
|
696
697
|
const DatasetRunApiSelectSchema = createApiSchema(DatasetRunSelectSchema).openapi("DatasetRun");
|
|
@@ -708,7 +709,7 @@ const EvaluationResultUpdateSchema = EvaluationResultInsertSchema.partial();
|
|
|
708
709
|
const EvaluationResultApiSelectSchema = createApiSchema(EvaluationResultSelectSchema).openapi("EvaluationResult");
|
|
709
710
|
const EvaluationResultApiInsertSchema = createApiInsertSchema(EvaluationResultInsertSchema).omit({ id: true }).openapi("EvaluationResultCreate");
|
|
710
711
|
const EvaluationResultApiUpdateSchema = createApiUpdateSchema(EvaluationResultUpdateSchema).omit({ id: true }).openapi("EvaluationResultUpdate");
|
|
711
|
-
const EvaluationRunSelectSchema = createSelectSchema(evaluationRun);
|
|
712
|
+
const EvaluationRunSelectSchema = createSelectSchema(evaluationRun).extend({ ref: ResolvedRefSchema.nullable().optional() });
|
|
712
713
|
const EvaluationRunInsertSchema = createInsertSchema(evaluationRun).extend({ id: ResourceIdSchema });
|
|
713
714
|
const EvaluationRunUpdateSchema = EvaluationRunInsertSchema.partial();
|
|
714
715
|
const EvaluationRunApiSelectSchema = createApiSchema(EvaluationRunSelectSchema).openapi("EvaluationRun");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
ALTER TABLE "dataset_run" ADD COLUMN "ref" jsonb;--> statement-breakpoint
|
|
2
|
+
ALTER TABLE "evaluation_run" ADD COLUMN "ref" jsonb;--> statement-breakpoint
|
|
3
|
+
ALTER TABLE "scheduled_trigger_invocations" ADD COLUMN "ref" jsonb;--> statement-breakpoint
|
|
4
|
+
ALTER TABLE "trigger_invocations" ADD COLUMN "ref" jsonb;
|