@syntrologie/adapt-gamification 2.55.0 → 2.56.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/cdn.d.ts CHANGED
@@ -4,8 +4,8 @@
4
4
  * Bundled for CDN delivery and loaded on-demand by the host runtime's
5
5
  * AppLoader when a config references gamification actions/widgets.
6
6
  *
7
- * Mirrors the pattern in adaptive-mcp/src/cdn.ts: builds the manifest from
8
- * the runtime export, then self-registers with the host's app registry on
7
+ * Builds the manifest from the runtime export, then self-registers with the
8
+ * host's app registry on
9
9
  * import. The host's AppLoader fetches this bundle, esbuild's IIFE wrapper
10
10
  * runs the registration, and AppRegistry.activate() can then wire the
11
11
  * executors into the runtime.
@@ -0,0 +1,10 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __export = (target, all) => {
3
+ for (var name in all)
4
+ __defProp(target, name, { get: all[name], enumerable: true });
5
+ };
6
+
7
+ export {
8
+ __export
9
+ };
10
+ //# sourceMappingURL=chunk-PZ5AY32C.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
package/dist/runtime.js CHANGED
@@ -1,3 +1,5 @@
1
+ import "./chunk-PZ5AY32C.js";
2
+
1
3
  // src/runtime.ts
2
4
  var executeAwardBadge = async (action, context) => {
3
5
  const { badgeId } = action;
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../src/runtime.ts"],
4
4
  "sourcesContent": ["/**\n * Adaptive Gamification - Runtime Module\n *\n * Gamification actions: awardBadge, addPoints.\n * Provides gamification features like badges, points, and rewards.\n */\n\nimport type { ActionExecutor, ExecutorResult } from './types';\n\n// ============================================================================\n// Action Types\n// ============================================================================\n\n/**\n * Award badge action\n */\nexport interface AwardBadgeAction {\n kind: 'gamification:awardBadge';\n badgeId: string;\n anchorId?: string;\n label?: string;\n}\n\n/**\n * Add points action\n */\nexport interface AddPointsAction {\n kind: 'gamification:addPoints';\n points: number;\n reason?: string;\n label?: string;\n}\n\n// ============================================================================\n// Executors\n// ============================================================================\n\n/**\n * Execute an awardBadge action\n *\n * Note: This executor uses publishEvent to track badge awards.\n * State management is handled at the app level via AppContext,\n * not at the action executor level.\n */\nexport const executeAwardBadge: ActionExecutor<AwardBadgeAction> = async (\n action,\n context\n): Promise<ExecutorResult> => {\n const { badgeId } = action;\n\n // Emit telemetry event (state management handled at app level)\n context.publishEvent('gamification.badge_awarded', {\n badgeId,\n awardedAt: Date.now(),\n });\n\n return {\n cleanup: () => {\n // Badge awards are permanent, no cleanup needed\n },\n };\n};\n\n/**\n * Execute an addPoints action\n *\n * Note: This executor uses publishEvent to track points.\n * State management is handled at the app level via AppContext,\n * not at the action executor level.\n */\nexport const executeAddPoints: ActionExecutor<AddPointsAction> = async (\n action,\n context\n): Promise<ExecutorResult> => {\n const { points, reason } = action;\n\n // Emit telemetry event (state management handled at app level)\n context.publishEvent('gamification.points_added', {\n points,\n reason,\n timestamp: Date.now(),\n });\n\n return {\n cleanup: () => {\n // Points are permanent, no cleanup needed\n },\n };\n};\n\n// ============================================================================\n// Event Handlers\n// ============================================================================\n\n/**\n * Event handler for auto-awarding badges based on triggers.\n */\nexport const badgeTriggerHandler = {\n names: ['page_view', 'button_click'],\n handler: (_event: unknown, _ctx: unknown) => {\n // Auto-award badges based on event triggers\n // This would check badge trigger conditions in the config\n console.log('[Gamification] Event received for badge trigger check');\n },\n};\n\n// ============================================================================\n// Executor Definitions for Registration\n// ============================================================================\n\n/**\n * All executors provided by this app.\n * These are registered with the runtime's ExecutorRegistry.\n */\nexport const executors = [\n { kind: 'gamification:awardBadge', executor: executeAwardBadge },\n { kind: 'gamification:addPoints', executor: executeAddPoints },\n] as const;\n\n/**\n * Event handlers provided by this app.\n */\nexport const eventHandlers = [badgeTriggerHandler];\n\n/**\n * App runtime manifest.\n */\nexport const runtime = {\n id: 'adaptive-gamification',\n version: '1.0.0',\n name: 'Gamification',\n description: 'Badges, rewards, points, and engagement mechanics',\n executors,\n eventHandlers,\n};\n"],
5
- "mappings": ";AA4CO,IAAM,oBAAsD,OACjE,QACA,YAC4B;AAC5B,QAAM,EAAE,QAAQ,IAAI;AAGpB,UAAQ,aAAa,8BAA8B;AAAA,IACjD;AAAA,IACA,WAAW,KAAK,IAAI;AAAA,EACtB,CAAC;AAED,SAAO;AAAA,IACL,SAAS,MAAM;AAAA,IAEf;AAAA,EACF;AACF;AASO,IAAM,mBAAoD,OAC/D,QACA,YAC4B;AAC5B,QAAM,EAAE,QAAQ,OAAO,IAAI;AAG3B,UAAQ,aAAa,6BAA6B;AAAA,IAChD;AAAA,IACA;AAAA,IACA,WAAW,KAAK,IAAI;AAAA,EACtB,CAAC;AAED,SAAO;AAAA,IACL,SAAS,MAAM;AAAA,IAEf;AAAA,EACF;AACF;AASO,IAAM,sBAAsB;AAAA,EACjC,OAAO,CAAC,aAAa,cAAc;AAAA,EACnC,SAAS,CAAC,QAAiB,SAAkB;AAG3C,YAAQ,IAAI,uDAAuD;AAAA,EACrE;AACF;AAUO,IAAM,YAAY;AAAA,EACvB,EAAE,MAAM,2BAA2B,UAAU,kBAAkB;AAAA,EAC/D,EAAE,MAAM,0BAA0B,UAAU,iBAAiB;AAC/D;AAKO,IAAM,gBAAgB,CAAC,mBAAmB;AAK1C,IAAM,UAAU;AAAA,EACrB,IAAI;AAAA,EACJ,SAAS;AAAA,EACT,MAAM;AAAA,EACN,aAAa;AAAA,EACb;AAAA,EACA;AACF;",
5
+ "mappings": ";;;AA4CO,IAAM,oBAAsD,OACjE,QACA,YAC4B;AAC5B,QAAM,EAAE,QAAQ,IAAI;AAGpB,UAAQ,aAAa,8BAA8B;AAAA,IACjD;AAAA,IACA,WAAW,KAAK,IAAI;AAAA,EACtB,CAAC;AAED,SAAO;AAAA,IACL,SAAS,MAAM;AAAA,IAEf;AAAA,EACF;AACF;AASO,IAAM,mBAAoD,OAC/D,QACA,YAC4B;AAC5B,QAAM,EAAE,QAAQ,OAAO,IAAI;AAG3B,UAAQ,aAAa,6BAA6B;AAAA,IAChD;AAAA,IACA;AAAA,IACA,WAAW,KAAK,IAAI;AAAA,EACtB,CAAC;AAED,SAAO;AAAA,IACL,SAAS,MAAM;AAAA,IAEf;AAAA,EACF;AACF;AASO,IAAM,sBAAsB;AAAA,EACjC,OAAO,CAAC,aAAa,cAAc;AAAA,EACnC,SAAS,CAAC,QAAiB,SAAkB;AAG3C,YAAQ,IAAI,uDAAuD;AAAA,EACrE;AACF;AAUO,IAAM,YAAY;AAAA,EACvB,EAAE,MAAM,2BAA2B,UAAU,kBAAkB;AAAA,EAC/D,EAAE,MAAM,0BAA0B,UAAU,iBAAiB;AAC/D;AAKO,IAAM,gBAAgB,CAAC,mBAAmB;AAK1C,IAAM,UAAU;AAAA,EACrB,IAAI;AAAA,EACJ,SAAS;AAAA,EACT,MAAM;AAAA,EACN,aAAa;AAAA,EACb;AAAA,EACA;AACF;",
6
6
  "names": []
7
7
  }
package/dist/schema.d.ts CHANGED
@@ -185,11 +185,11 @@ export declare const AwardBadgeSchema: z.ZodObject<{
185
185
  }, "strip", z.ZodTypeAny, {
186
186
  type: "anchor_visible";
187
187
  anchorId: string;
188
- state: "visible" | "present" | "absent";
188
+ state: "absent" | "visible" | "present";
189
189
  }, {
190
190
  type: "anchor_visible";
191
191
  anchorId: string;
192
- state: "visible" | "present" | "absent";
192
+ state: "absent" | "visible" | "present";
193
193
  }>, z.ZodObject<{
194
194
  type: z.ZodLiteral<"event_occurred">;
195
195
  eventName: z.ZodString;
@@ -361,7 +361,7 @@ export declare const AwardBadgeSchema: z.ZodObject<{
361
361
  } | {
362
362
  type: "anchor_visible";
363
363
  anchorId: string;
364
- state: "visible" | "present" | "absent";
364
+ state: "absent" | "visible" | "present";
365
365
  } | {
366
366
  type: "event_occurred";
367
367
  eventName: string;
@@ -419,7 +419,7 @@ export declare const AwardBadgeSchema: z.ZodObject<{
419
419
  } | {
420
420
  type: "anchor_visible";
421
421
  anchorId: string;
422
- state: "visible" | "present" | "absent";
422
+ state: "absent" | "visible" | "present";
423
423
  } | {
424
424
  type: "event_occurred";
425
425
  eventName: string;
@@ -481,7 +481,7 @@ export declare const AwardBadgeSchema: z.ZodObject<{
481
481
  } | {
482
482
  type: "anchor_visible";
483
483
  anchorId: string;
484
- state: "visible" | "present" | "absent";
484
+ state: "absent" | "visible" | "present";
485
485
  } | {
486
486
  type: "event_occurred";
487
487
  eventName: string;
@@ -543,7 +543,7 @@ export declare const AwardBadgeSchema: z.ZodObject<{
543
543
  } | {
544
544
  type: "anchor_visible";
545
545
  anchorId: string;
546
- state: "visible" | "present" | "absent";
546
+ state: "absent" | "visible" | "present";
547
547
  } | {
548
548
  type: "event_occurred";
549
549
  eventName: string;
@@ -638,14 +638,14 @@ export declare const AwardBadgeSchema: z.ZodObject<{
638
638
  }, "strip", z.ZodTypeAny, {
639
639
  type: "external";
640
640
  endpoint: string;
641
- default?: unknown;
642
641
  method?: "GET" | "POST" | undefined;
642
+ default?: unknown;
643
643
  timeoutMs?: number | undefined;
644
644
  }, {
645
645
  type: "external";
646
646
  endpoint: string;
647
- default?: unknown;
648
647
  method?: "GET" | "POST" | undefined;
648
+ default?: unknown;
649
649
  timeoutMs?: number | undefined;
650
650
  }>]>>>;
651
651
  } & {
@@ -676,7 +676,7 @@ export declare const AwardBadgeSchema: z.ZodObject<{
676
676
  } | {
677
677
  type: "anchor_visible";
678
678
  anchorId: string;
679
- state: "visible" | "present" | "absent";
679
+ state: "absent" | "visible" | "present";
680
680
  } | {
681
681
  type: "event_occurred";
682
682
  eventName: string;
@@ -741,8 +741,8 @@ export declare const AwardBadgeSchema: z.ZodObject<{
741
741
  } | {
742
742
  type: "external";
743
743
  endpoint: string;
744
- default?: unknown;
745
744
  method?: "GET" | "POST" | undefined;
745
+ default?: unknown;
746
746
  timeoutMs?: number | undefined;
747
747
  } | null | undefined;
748
748
  title?: string | undefined;
@@ -769,7 +769,7 @@ export declare const AwardBadgeSchema: z.ZodObject<{
769
769
  } | {
770
770
  type: "anchor_visible";
771
771
  anchorId: string;
772
- state: "visible" | "present" | "absent";
772
+ state: "absent" | "visible" | "present";
773
773
  } | {
774
774
  type: "event_occurred";
775
775
  eventName: string;
@@ -834,8 +834,8 @@ export declare const AwardBadgeSchema: z.ZodObject<{
834
834
  } | {
835
835
  type: "external";
836
836
  endpoint: string;
837
- default?: unknown;
838
837
  method?: "GET" | "POST" | undefined;
838
+ default?: unknown;
839
839
  timeoutMs?: number | undefined;
840
840
  } | null | undefined;
841
841
  title?: string | undefined;
@@ -877,11 +877,11 @@ export declare const AddPointsSchema: z.ZodObject<{
877
877
  }, "strip", z.ZodTypeAny, {
878
878
  type: "anchor_visible";
879
879
  anchorId: string;
880
- state: "visible" | "present" | "absent";
880
+ state: "absent" | "visible" | "present";
881
881
  }, {
882
882
  type: "anchor_visible";
883
883
  anchorId: string;
884
- state: "visible" | "present" | "absent";
884
+ state: "absent" | "visible" | "present";
885
885
  }>, z.ZodObject<{
886
886
  type: z.ZodLiteral<"event_occurred">;
887
887
  eventName: z.ZodString;
@@ -1053,7 +1053,7 @@ export declare const AddPointsSchema: z.ZodObject<{
1053
1053
  } | {
1054
1054
  type: "anchor_visible";
1055
1055
  anchorId: string;
1056
- state: "visible" | "present" | "absent";
1056
+ state: "absent" | "visible" | "present";
1057
1057
  } | {
1058
1058
  type: "event_occurred";
1059
1059
  eventName: string;
@@ -1111,7 +1111,7 @@ export declare const AddPointsSchema: z.ZodObject<{
1111
1111
  } | {
1112
1112
  type: "anchor_visible";
1113
1113
  anchorId: string;
1114
- state: "visible" | "present" | "absent";
1114
+ state: "absent" | "visible" | "present";
1115
1115
  } | {
1116
1116
  type: "event_occurred";
1117
1117
  eventName: string;
@@ -1173,7 +1173,7 @@ export declare const AddPointsSchema: z.ZodObject<{
1173
1173
  } | {
1174
1174
  type: "anchor_visible";
1175
1175
  anchorId: string;
1176
- state: "visible" | "present" | "absent";
1176
+ state: "absent" | "visible" | "present";
1177
1177
  } | {
1178
1178
  type: "event_occurred";
1179
1179
  eventName: string;
@@ -1235,7 +1235,7 @@ export declare const AddPointsSchema: z.ZodObject<{
1235
1235
  } | {
1236
1236
  type: "anchor_visible";
1237
1237
  anchorId: string;
1238
- state: "visible" | "present" | "absent";
1238
+ state: "absent" | "visible" | "present";
1239
1239
  } | {
1240
1240
  type: "event_occurred";
1241
1241
  eventName: string;
@@ -1330,14 +1330,14 @@ export declare const AddPointsSchema: z.ZodObject<{
1330
1330
  }, "strip", z.ZodTypeAny, {
1331
1331
  type: "external";
1332
1332
  endpoint: string;
1333
- default?: unknown;
1334
1333
  method?: "GET" | "POST" | undefined;
1334
+ default?: unknown;
1335
1335
  timeoutMs?: number | undefined;
1336
1336
  }, {
1337
1337
  type: "external";
1338
1338
  endpoint: string;
1339
- default?: unknown;
1340
1339
  method?: "GET" | "POST" | undefined;
1340
+ default?: unknown;
1341
1341
  timeoutMs?: number | undefined;
1342
1342
  }>]>>>;
1343
1343
  } & {
@@ -1365,7 +1365,7 @@ export declare const AddPointsSchema: z.ZodObject<{
1365
1365
  } | {
1366
1366
  type: "anchor_visible";
1367
1367
  anchorId: string;
1368
- state: "visible" | "present" | "absent";
1368
+ state: "absent" | "visible" | "present";
1369
1369
  } | {
1370
1370
  type: "event_occurred";
1371
1371
  eventName: string;
@@ -1430,8 +1430,8 @@ export declare const AddPointsSchema: z.ZodObject<{
1430
1430
  } | {
1431
1431
  type: "external";
1432
1432
  endpoint: string;
1433
- default?: unknown;
1434
1433
  method?: "GET" | "POST" | undefined;
1434
+ default?: unknown;
1435
1435
  timeoutMs?: number | undefined;
1436
1436
  } | null | undefined;
1437
1437
  title?: string | undefined;
@@ -1455,7 +1455,7 @@ export declare const AddPointsSchema: z.ZodObject<{
1455
1455
  } | {
1456
1456
  type: "anchor_visible";
1457
1457
  anchorId: string;
1458
- state: "visible" | "present" | "absent";
1458
+ state: "absent" | "visible" | "present";
1459
1459
  } | {
1460
1460
  type: "event_occurred";
1461
1461
  eventName: string;
@@ -1520,8 +1520,8 @@ export declare const AddPointsSchema: z.ZodObject<{
1520
1520
  } | {
1521
1521
  type: "external";
1522
1522
  endpoint: string;
1523
- default?: unknown;
1524
1523
  method?: "GET" | "POST" | undefined;
1524
+ default?: unknown;
1525
1525
  timeoutMs?: number | undefined;
1526
1526
  } | null | undefined;
1527
1527
  title?: string | undefined;
@@ -1576,11 +1576,11 @@ export declare const actionStepSchemas: ({
1576
1576
  }, "strip", z.ZodTypeAny, {
1577
1577
  type: "anchor_visible";
1578
1578
  anchorId: string;
1579
- state: "visible" | "present" | "absent";
1579
+ state: "absent" | "visible" | "present";
1580
1580
  }, {
1581
1581
  type: "anchor_visible";
1582
1582
  anchorId: string;
1583
- state: "visible" | "present" | "absent";
1583
+ state: "absent" | "visible" | "present";
1584
1584
  }>, z.ZodObject<{
1585
1585
  type: z.ZodLiteral<"event_occurred">;
1586
1586
  eventName: z.ZodString;
@@ -1752,7 +1752,7 @@ export declare const actionStepSchemas: ({
1752
1752
  } | {
1753
1753
  type: "anchor_visible";
1754
1754
  anchorId: string;
1755
- state: "visible" | "present" | "absent";
1755
+ state: "absent" | "visible" | "present";
1756
1756
  } | {
1757
1757
  type: "event_occurred";
1758
1758
  eventName: string;
@@ -1810,7 +1810,7 @@ export declare const actionStepSchemas: ({
1810
1810
  } | {
1811
1811
  type: "anchor_visible";
1812
1812
  anchorId: string;
1813
- state: "visible" | "present" | "absent";
1813
+ state: "absent" | "visible" | "present";
1814
1814
  } | {
1815
1815
  type: "event_occurred";
1816
1816
  eventName: string;
@@ -1872,7 +1872,7 @@ export declare const actionStepSchemas: ({
1872
1872
  } | {
1873
1873
  type: "anchor_visible";
1874
1874
  anchorId: string;
1875
- state: "visible" | "present" | "absent";
1875
+ state: "absent" | "visible" | "present";
1876
1876
  } | {
1877
1877
  type: "event_occurred";
1878
1878
  eventName: string;
@@ -1934,7 +1934,7 @@ export declare const actionStepSchemas: ({
1934
1934
  } | {
1935
1935
  type: "anchor_visible";
1936
1936
  anchorId: string;
1937
- state: "visible" | "present" | "absent";
1937
+ state: "absent" | "visible" | "present";
1938
1938
  } | {
1939
1939
  type: "event_occurred";
1940
1940
  eventName: string;
@@ -2029,14 +2029,14 @@ export declare const actionStepSchemas: ({
2029
2029
  }, "strip", z.ZodTypeAny, {
2030
2030
  type: "external";
2031
2031
  endpoint: string;
2032
- default?: unknown;
2033
2032
  method?: "GET" | "POST" | undefined;
2033
+ default?: unknown;
2034
2034
  timeoutMs?: number | undefined;
2035
2035
  }, {
2036
2036
  type: "external";
2037
2037
  endpoint: string;
2038
- default?: unknown;
2039
2038
  method?: "GET" | "POST" | undefined;
2039
+ default?: unknown;
2040
2040
  timeoutMs?: number | undefined;
2041
2041
  }>]>>>;
2042
2042
  } & {
@@ -2067,7 +2067,7 @@ export declare const actionStepSchemas: ({
2067
2067
  } | {
2068
2068
  type: "anchor_visible";
2069
2069
  anchorId: string;
2070
- state: "visible" | "present" | "absent";
2070
+ state: "absent" | "visible" | "present";
2071
2071
  } | {
2072
2072
  type: "event_occurred";
2073
2073
  eventName: string;
@@ -2132,8 +2132,8 @@ export declare const actionStepSchemas: ({
2132
2132
  } | {
2133
2133
  type: "external";
2134
2134
  endpoint: string;
2135
- default?: unknown;
2136
2135
  method?: "GET" | "POST" | undefined;
2136
+ default?: unknown;
2137
2137
  timeoutMs?: number | undefined;
2138
2138
  } | null | undefined;
2139
2139
  title?: string | undefined;
@@ -2160,7 +2160,7 @@ export declare const actionStepSchemas: ({
2160
2160
  } | {
2161
2161
  type: "anchor_visible";
2162
2162
  anchorId: string;
2163
- state: "visible" | "present" | "absent";
2163
+ state: "absent" | "visible" | "present";
2164
2164
  } | {
2165
2165
  type: "event_occurred";
2166
2166
  eventName: string;
@@ -2225,8 +2225,8 @@ export declare const actionStepSchemas: ({
2225
2225
  } | {
2226
2226
  type: "external";
2227
2227
  endpoint: string;
2228
- default?: unknown;
2229
2228
  method?: "GET" | "POST" | undefined;
2229
+ default?: unknown;
2230
2230
  timeoutMs?: number | undefined;
2231
2231
  } | null | undefined;
2232
2232
  title?: string | undefined;
@@ -2267,11 +2267,11 @@ export declare const actionStepSchemas: ({
2267
2267
  }, "strip", z.ZodTypeAny, {
2268
2268
  type: "anchor_visible";
2269
2269
  anchorId: string;
2270
- state: "visible" | "present" | "absent";
2270
+ state: "absent" | "visible" | "present";
2271
2271
  }, {
2272
2272
  type: "anchor_visible";
2273
2273
  anchorId: string;
2274
- state: "visible" | "present" | "absent";
2274
+ state: "absent" | "visible" | "present";
2275
2275
  }>, z.ZodObject<{
2276
2276
  type: z.ZodLiteral<"event_occurred">;
2277
2277
  eventName: z.ZodString;
@@ -2443,7 +2443,7 @@ export declare const actionStepSchemas: ({
2443
2443
  } | {
2444
2444
  type: "anchor_visible";
2445
2445
  anchorId: string;
2446
- state: "visible" | "present" | "absent";
2446
+ state: "absent" | "visible" | "present";
2447
2447
  } | {
2448
2448
  type: "event_occurred";
2449
2449
  eventName: string;
@@ -2501,7 +2501,7 @@ export declare const actionStepSchemas: ({
2501
2501
  } | {
2502
2502
  type: "anchor_visible";
2503
2503
  anchorId: string;
2504
- state: "visible" | "present" | "absent";
2504
+ state: "absent" | "visible" | "present";
2505
2505
  } | {
2506
2506
  type: "event_occurred";
2507
2507
  eventName: string;
@@ -2563,7 +2563,7 @@ export declare const actionStepSchemas: ({
2563
2563
  } | {
2564
2564
  type: "anchor_visible";
2565
2565
  anchorId: string;
2566
- state: "visible" | "present" | "absent";
2566
+ state: "absent" | "visible" | "present";
2567
2567
  } | {
2568
2568
  type: "event_occurred";
2569
2569
  eventName: string;
@@ -2625,7 +2625,7 @@ export declare const actionStepSchemas: ({
2625
2625
  } | {
2626
2626
  type: "anchor_visible";
2627
2627
  anchorId: string;
2628
- state: "visible" | "present" | "absent";
2628
+ state: "absent" | "visible" | "present";
2629
2629
  } | {
2630
2630
  type: "event_occurred";
2631
2631
  eventName: string;
@@ -2720,14 +2720,14 @@ export declare const actionStepSchemas: ({
2720
2720
  }, "strip", z.ZodTypeAny, {
2721
2721
  type: "external";
2722
2722
  endpoint: string;
2723
- default?: unknown;
2724
2723
  method?: "GET" | "POST" | undefined;
2724
+ default?: unknown;
2725
2725
  timeoutMs?: number | undefined;
2726
2726
  }, {
2727
2727
  type: "external";
2728
2728
  endpoint: string;
2729
- default?: unknown;
2730
2729
  method?: "GET" | "POST" | undefined;
2730
+ default?: unknown;
2731
2731
  timeoutMs?: number | undefined;
2732
2732
  }>]>>>;
2733
2733
  } & {
@@ -2755,7 +2755,7 @@ export declare const actionStepSchemas: ({
2755
2755
  } | {
2756
2756
  type: "anchor_visible";
2757
2757
  anchorId: string;
2758
- state: "visible" | "present" | "absent";
2758
+ state: "absent" | "visible" | "present";
2759
2759
  } | {
2760
2760
  type: "event_occurred";
2761
2761
  eventName: string;
@@ -2820,8 +2820,8 @@ export declare const actionStepSchemas: ({
2820
2820
  } | {
2821
2821
  type: "external";
2822
2822
  endpoint: string;
2823
- default?: unknown;
2824
2823
  method?: "GET" | "POST" | undefined;
2824
+ default?: unknown;
2825
2825
  timeoutMs?: number | undefined;
2826
2826
  } | null | undefined;
2827
2827
  title?: string | undefined;
@@ -2845,7 +2845,7 @@ export declare const actionStepSchemas: ({
2845
2845
  } | {
2846
2846
  type: "anchor_visible";
2847
2847
  anchorId: string;
2848
- state: "visible" | "present" | "absent";
2848
+ state: "absent" | "visible" | "present";
2849
2849
  } | {
2850
2850
  type: "event_occurred";
2851
2851
  eventName: string;
@@ -2910,8 +2910,8 @@ export declare const actionStepSchemas: ({
2910
2910
  } | {
2911
2911
  type: "external";
2912
2912
  endpoint: string;
2913
- default?: unknown;
2914
2913
  method?: "GET" | "POST" | undefined;
2914
+ default?: unknown;
2915
2915
  timeoutMs?: number | undefined;
2916
2916
  } | null | undefined;
2917
2917
  title?: string | undefined;