@frontera-sdk/functions 1.53.0 → 1.53.2

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 (2) hide show
  1. package/package.json +2 -2
  2. package/src/types.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontera-sdk/functions",
3
- "version": "1.53.0",
3
+ "version": "1.53.2",
4
4
  "description": "Author Frontera functions: manifest, triggers and the typed handler contract.",
5
5
  "keywords": [
6
6
  "frontera",
@@ -42,7 +42,7 @@
42
42
  "typescript": "^5.9.3"
43
43
  },
44
44
  "dependencies": {
45
- "@frontera-sdk/blueprint": "1.53.0",
45
+ "@frontera-sdk/blueprint": "1.53.2",
46
46
  "cron-parser": "^5.0.6"
47
47
  }
48
48
  }
package/src/types.ts CHANGED
@@ -822,7 +822,7 @@ export interface AutomationDescriptor {
822
822
  * `cron` is deliberately absent: it is what the runner INFERS when the event
823
823
  * names no source at all, so it is never carried on an event.
824
824
  */
825
- export const EVENT_TRIGGER_SOURCES = ['manual', 'rehearsal', 'agent', 'app', 'workflow', 'channel'] as const
825
+ export const EVENT_TRIGGER_SOURCES = ['manual', 'rehearsal', 'agent', 'app', 'mcp', 'workflow', 'channel'] as const
826
826
  export type EventTriggerSource = (typeof EVENT_TRIGGER_SOURCES)[number]
827
827
 
828
828
  /**
@@ -833,7 +833,7 @@ export type EventTriggerSource = (typeof EVENT_TRIGGER_SOURCES)[number]
833
833
  * under any other source is refused too — it means the event was tampered with
834
834
  * or two payloads got mixed.
835
835
  */
836
- export const TICKETED_TRIGGER_SOURCES = ['agent', 'app'] as const
836
+ export const TICKETED_TRIGGER_SOURCES = ['agent', 'app', 'mcp'] as const
837
837
  export type TicketedTriggerSource = (typeof TICKETED_TRIGGER_SOURCES)[number]
838
838
 
839
839
  export function isEventTriggerSource(value: unknown): value is EventTriggerSource {