@memberjunction/server 2.118.0 → 2.120.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.
@@ -31,8 +31,8 @@ export class AgentExecutionProgress {
31
31
  @Field()
32
32
  currentStep: string;
33
33
 
34
- @Field()
35
- percentage: number;
34
+ @Field({ nullable: true })
35
+ percentage?: number;
36
36
 
37
37
  @Field()
38
38
  message: string;
@@ -42,6 +42,12 @@ export class AgentExecutionProgress {
42
42
 
43
43
  @Field({ nullable: true })
44
44
  agentType?: string;
45
+
46
+ @Field({ nullable: true })
47
+ stepCount?: number;
48
+
49
+ @Field({ nullable: true })
50
+ hierarchicalStep?: string;
45
51
  }
46
52
 
47
53
  @ObjectType()
@@ -232,7 +238,9 @@ export class RunAIAgentResolver extends ResolverBase {
232
238
  percentage: progress.percentage,
233
239
  message: progress.message,
234
240
  agentName: (progress.metadata as any)?.agentName || undefined,
235
- agentType: (progress.metadata as any)?.agentType || undefined
241
+ agentType: (progress.metadata as any)?.agentType || undefined,
242
+ stepCount: (progress.metadata as any)?.stepCount || undefined,
243
+ hierarchicalStep: (progress.metadata as any)?.hierarchicalStep || undefined
236
244
  },
237
245
  timestamp: new Date()
238
246
  };