@inkeep/agents-core 0.58.17 → 0.58.19

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.
Files changed (33) hide show
  1. package/dist/client-exports.d.ts +4 -4
  2. package/dist/constants/models.d.ts +2 -0
  3. package/dist/constants/models.js +2 -0
  4. package/dist/data-access/index.d.ts +2 -2
  5. package/dist/data-access/index.js +2 -2
  6. package/dist/data-access/manage/agents.d.ts +48 -48
  7. package/dist/data-access/manage/artifactComponents.d.ts +14 -14
  8. package/dist/data-access/manage/contextConfigs.d.ts +20 -20
  9. package/dist/data-access/manage/dataComponents.d.ts +6 -6
  10. package/dist/data-access/manage/functionTools.d.ts +16 -16
  11. package/dist/data-access/manage/skills.d.ts +15 -15
  12. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
  13. package/dist/data-access/manage/subAgentRelations.d.ts +24 -24
  14. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  15. package/dist/data-access/manage/subAgents.d.ts +24 -24
  16. package/dist/data-access/manage/tools.d.ts +21 -21
  17. package/dist/data-access/manage/triggers.d.ts +2 -2
  18. package/dist/data-access/runtime/apiKeys.d.ts +20 -20
  19. package/dist/data-access/runtime/apps.d.ts +29 -16
  20. package/dist/data-access/runtime/apps.js +14 -7
  21. package/dist/data-access/runtime/conversations.d.ts +16 -16
  22. package/dist/data-access/runtime/messages.d.ts +10 -7
  23. package/dist/data-access/runtime/messages.js +4 -1
  24. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
  25. package/dist/data-access/runtime/tasks.d.ts +3 -3
  26. package/dist/db/manage/manage-schema.d.ts +4 -4
  27. package/dist/db/runtime/runtime-schema.d.ts +2 -2
  28. package/dist/index.d.ts +2 -2
  29. package/dist/index.js +2 -2
  30. package/dist/middleware/no-auth.d.ts +2 -2
  31. package/dist/validation/schemas.d.ts +562 -580
  32. package/dist/validation/schemas.js +3 -3
  33. package/package.json +1 -1
@@ -490,7 +490,7 @@ const TriggerApiInsertSchema = createAgentScopedApiInsertSchema(TriggerInsertSch
490
490
  createdAt: true,
491
491
  updatedAt: true
492
492
  }).openapi("TriggerCreate");
493
- const TriggerApiUpdateSchema = TriggerUpdateSchema.openapi("TriggerUpdate");
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
495
  const TriggerInvocationSelectSchema = createSelectSchema(triggerInvocations);
496
496
  const TriggerInvocationInsertSchema = createInsertSchema(triggerInvocations, {
@@ -541,7 +541,7 @@ const ScheduledTriggerUpdateSchema = ScheduledTriggerInsertSchemaBase.extend({
541
541
  const ScheduledTriggerApiSelectSchema = createAgentScopedApiSchema(ScheduledTriggerSelectSchema).openapi("ScheduledTrigger");
542
542
  const ScheduledTriggerApiInsertBaseSchema = createAgentScopedApiInsertSchema(ScheduledTriggerInsertSchemaBase).extend({ id: ResourceIdSchema.optional() }).openapi("ScheduledTriggerInsertBase");
543
543
  const ScheduledTriggerApiInsertSchema = ScheduledTriggerApiInsertBaseSchema.refine((data) => data.cronExpression || data.runAt, { message: "Either cronExpression or runAt must be provided" }).refine((data) => !(data.cronExpression && data.runAt), { message: "Cannot specify both cronExpression and runAt" }).openapi("ScheduledTriggerCreate");
544
- const ScheduledTriggerApiUpdateSchema = ScheduledTriggerUpdateSchema.openapi("ScheduledTriggerUpdate");
544
+ const ScheduledTriggerApiUpdateSchema = createAgentScopedApiUpdateSchema(ScheduledTriggerUpdateSchema).openapi("ScheduledTriggerUpdate");
545
545
  const ScheduledWorkflowSelectSchema = createSelectSchema(scheduledWorkflows);
546
546
  const ScheduledWorkflowInsertSchemaBase = createInsertSchema(scheduledWorkflows, {
547
547
  id: () => ResourceIdSchema,
@@ -554,7 +554,7 @@ const ScheduledWorkflowInsertSchema = ScheduledWorkflowInsertSchemaBase;
554
554
  const ScheduledWorkflowUpdateSchema = ScheduledWorkflowInsertSchemaBase.extend({ scheduledTriggerId: z.string().optional() }).partial();
555
555
  const ScheduledWorkflowApiSelectSchema = createAgentScopedApiSchema(ScheduledWorkflowSelectSchema).openapi("ScheduledWorkflow");
556
556
  const ScheduledWorkflowApiInsertSchema = createAgentScopedApiInsertSchema(ScheduledWorkflowInsertSchemaBase).extend({ id: ResourceIdSchema.optional() }).openapi("ScheduledWorkflowCreate");
557
- const ScheduledWorkflowApiUpdateSchema = ScheduledWorkflowUpdateSchema.openapi("ScheduledWorkflowUpdate");
557
+ const ScheduledWorkflowApiUpdateSchema = createAgentScopedApiUpdateSchema(ScheduledWorkflowUpdateSchema).openapi("ScheduledWorkflowUpdate");
558
558
  const ScheduledTriggerInvocationStatusEnum = z.enum([
559
559
  "pending",
560
560
  "running",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-core",
3
- "version": "0.58.17",
3
+ "version": "0.58.19",
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",