@memberjunction/server 2.71.0 → 2.73.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/generated/generated.d.ts +6 -0
- package/dist/generated/generated.d.ts.map +1 -1
- package/dist/generated/generated.js +47 -14
- package/dist/generated/generated.js.map +1 -1
- package/dist/generic/ResolverBase.d.ts +1 -1
- package/dist/generic/ResolverBase.d.ts.map +1 -1
- package/dist/generic/ResolverBase.js +31 -4
- package/dist/generic/ResolverBase.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +34 -34
- package/src/generated/generated.ts +35 -14
- package/src/generic/ResolverBase.ts +37 -6
- package/src/index.ts +2 -0
|
@@ -2055,8 +2055,8 @@ __decorate([
|
|
|
2055
2055
|
__metadata("design:type", String)
|
|
2056
2056
|
], AIAgentRun_.prototype, "StartingPayload", void 0);
|
|
2057
2057
|
__decorate([
|
|
2058
|
-
Field(() => Int, { description: `Total number of prompt iterations executed during this agent run. Incremented
|
|
2059
|
-
|
|
2058
|
+
Field(() => Int, { description: `Total number of prompt iterations executed during this agent run. Incremented
|
|
2059
|
+
each time the agent processes a prompt step.` }),
|
|
2060
2060
|
__metadata("design:type", Number)
|
|
2061
2061
|
], AIAgentRun_.prototype, "TotalPromptIterations", void 0);
|
|
2062
2062
|
__decorate([
|
|
@@ -3398,6 +3398,8 @@ let AIAgent_ = class AIAgent_ {
|
|
|
3398
3398
|
MaxTimePerRun;
|
|
3399
3399
|
MinExecutionsPerRun;
|
|
3400
3400
|
MaxExecutionsPerRun;
|
|
3401
|
+
StartingPayloadValidation;
|
|
3402
|
+
StartingPayloadValidationMode;
|
|
3401
3403
|
Parent;
|
|
3402
3404
|
ContextCompressionPrompt;
|
|
3403
3405
|
Type;
|
|
@@ -3533,28 +3535,28 @@ __decorate([
|
|
|
3533
3535
|
__metadata("design:type", String)
|
|
3534
3536
|
], AIAgent_.prototype, "FinalPayloadValidationMode", void 0);
|
|
3535
3537
|
__decorate([
|
|
3536
|
-
Field(() => Int, { description: `Maximum number of retry attempts allowed when FinalPayloadValidation fails with
|
|
3538
|
+
Field(() => Int, { description: `Maximum number of retry attempts allowed when FinalPayloadValidation fails with
|
|
3537
3539
|
Retry mode. After reaching this limit, the validation will fail permanently.` }),
|
|
3538
3540
|
__metadata("design:type", Number)
|
|
3539
3541
|
], AIAgent_.prototype, "FinalPayloadValidationMaxRetries", void 0);
|
|
3540
3542
|
__decorate([
|
|
3541
|
-
Field(() => Float, { nullable: true, description: `Maximum cost in dollars allowed for a single agent run. Run will be terminated
|
|
3542
|
-
|
|
3543
|
+
Field(() => Float, { nullable: true, description: `Maximum cost in dollars allowed for a single agent run. Run will be terminated
|
|
3544
|
+
if this limit is exceeded.` }),
|
|
3543
3545
|
__metadata("design:type", Number)
|
|
3544
3546
|
], AIAgent_.prototype, "MaxCostPerRun", void 0);
|
|
3545
3547
|
__decorate([
|
|
3546
|
-
Field(() => Int, { nullable: true, description: `Maximum total tokens (input + output) allowed for a single agent run. Run will
|
|
3547
|
-
|
|
3548
|
+
Field(() => Int, { nullable: true, description: `Maximum total tokens (input + output) allowed for a single agent run. Run will
|
|
3549
|
+
be terminated if this limit is exceeded.` }),
|
|
3548
3550
|
__metadata("design:type", Number)
|
|
3549
3551
|
], AIAgent_.prototype, "MaxTokensPerRun", void 0);
|
|
3550
3552
|
__decorate([
|
|
3551
|
-
Field(() => Int, { nullable: true, description: `Maximum number of prompt iterations allowed for a single agent run. Run will be
|
|
3552
|
-
|
|
3553
|
+
Field(() => Int, { nullable: true, description: `Maximum number of prompt iterations allowed for a single agent run. Run will be
|
|
3554
|
+
terminated if this limit is exceeded.` }),
|
|
3553
3555
|
__metadata("design:type", Number)
|
|
3554
3556
|
], AIAgent_.prototype, "MaxIterationsPerRun", void 0);
|
|
3555
3557
|
__decorate([
|
|
3556
|
-
Field(() => Int, { nullable: true, description: `Maximum time in seconds allowed for a single agent run. Run will be terminated
|
|
3557
|
-
|
|
3558
|
+
Field(() => Int, { nullable: true, description: `Maximum time in seconds allowed for a single agent run. Run will be terminated
|
|
3559
|
+
if this limit is exceeded.` }),
|
|
3558
3560
|
__metadata("design:type", Number)
|
|
3559
3561
|
], AIAgent_.prototype, "MaxTimePerRun", void 0);
|
|
3560
3562
|
__decorate([
|
|
@@ -3565,6 +3567,17 @@ __decorate([
|
|
|
3565
3567
|
Field(() => Int, { nullable: true, description: `When acting as a sub-agent, maximum number of times this agent can be executed per parent agent run` }),
|
|
3566
3568
|
__metadata("design:type", Number)
|
|
3567
3569
|
], AIAgent_.prototype, "MaxExecutionsPerRun", void 0);
|
|
3570
|
+
__decorate([
|
|
3571
|
+
Field({ nullable: true, description: `Optional JSON schema validation to apply to the input payload before agent execution begins. Uses the same JSONValidator
|
|
3572
|
+
format as FinalPayloadValidation.` }),
|
|
3573
|
+
__metadata("design:type", String)
|
|
3574
|
+
], AIAgent_.prototype, "StartingPayloadValidation", void 0);
|
|
3575
|
+
__decorate([
|
|
3576
|
+
Field({ description: `Determines how to handle StartingPayloadValidation failures. Fail = reject invalid input, Warn = log warning but
|
|
3577
|
+
proceed.` }),
|
|
3578
|
+
MaxLength(50),
|
|
3579
|
+
__metadata("design:type", String)
|
|
3580
|
+
], AIAgent_.prototype, "StartingPayloadValidationMode", void 0);
|
|
3568
3581
|
__decorate([
|
|
3569
3582
|
Field({ nullable: true }),
|
|
3570
3583
|
MaxLength(510),
|
|
@@ -3656,6 +3669,8 @@ let CreateAIAgentInput = class CreateAIAgentInput {
|
|
|
3656
3669
|
MaxTimePerRun;
|
|
3657
3670
|
MinExecutionsPerRun;
|
|
3658
3671
|
MaxExecutionsPerRun;
|
|
3672
|
+
StartingPayloadValidation;
|
|
3673
|
+
StartingPayloadValidationMode;
|
|
3659
3674
|
};
|
|
3660
3675
|
__decorate([
|
|
3661
3676
|
Field({ nullable: true }),
|
|
@@ -3781,6 +3796,14 @@ __decorate([
|
|
|
3781
3796
|
Field(() => Int, { nullable: true }),
|
|
3782
3797
|
__metadata("design:type", Number)
|
|
3783
3798
|
], CreateAIAgentInput.prototype, "MaxExecutionsPerRun", void 0);
|
|
3799
|
+
__decorate([
|
|
3800
|
+
Field({ nullable: true }),
|
|
3801
|
+
__metadata("design:type", String)
|
|
3802
|
+
], CreateAIAgentInput.prototype, "StartingPayloadValidation", void 0);
|
|
3803
|
+
__decorate([
|
|
3804
|
+
Field({ nullable: true }),
|
|
3805
|
+
__metadata("design:type", String)
|
|
3806
|
+
], CreateAIAgentInput.prototype, "StartingPayloadValidationMode", void 0);
|
|
3784
3807
|
CreateAIAgentInput = __decorate([
|
|
3785
3808
|
InputType()
|
|
3786
3809
|
], CreateAIAgentInput);
|
|
@@ -3817,6 +3840,8 @@ let UpdateAIAgentInput = class UpdateAIAgentInput {
|
|
|
3817
3840
|
MaxTimePerRun;
|
|
3818
3841
|
MinExecutionsPerRun;
|
|
3819
3842
|
MaxExecutionsPerRun;
|
|
3843
|
+
StartingPayloadValidation;
|
|
3844
|
+
StartingPayloadValidationMode;
|
|
3820
3845
|
OldValues___;
|
|
3821
3846
|
};
|
|
3822
3847
|
__decorate([
|
|
@@ -3943,6 +3968,14 @@ __decorate([
|
|
|
3943
3968
|
Field(() => Int, { nullable: true }),
|
|
3944
3969
|
__metadata("design:type", Number)
|
|
3945
3970
|
], UpdateAIAgentInput.prototype, "MaxExecutionsPerRun", void 0);
|
|
3971
|
+
__decorate([
|
|
3972
|
+
Field({ nullable: true }),
|
|
3973
|
+
__metadata("design:type", String)
|
|
3974
|
+
], UpdateAIAgentInput.prototype, "StartingPayloadValidation", void 0);
|
|
3975
|
+
__decorate([
|
|
3976
|
+
Field({ nullable: true }),
|
|
3977
|
+
__metadata("design:type", String)
|
|
3978
|
+
], UpdateAIAgentInput.prototype, "StartingPayloadValidationMode", void 0);
|
|
3946
3979
|
__decorate([
|
|
3947
3980
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
3948
3981
|
__metadata("design:type", Array)
|
|
@@ -63667,14 +63700,14 @@ __decorate([
|
|
|
63667
63700
|
__metadata("design:type", String)
|
|
63668
63701
|
], AIAgentRunStep_.prototype, "PayloadAtEnd", void 0);
|
|
63669
63702
|
__decorate([
|
|
63670
|
-
Field({ nullable: true, description: `Result of the final payload validation for this step. Pass indicates successful
|
|
63671
|
-
validation, Retry means validation failed but will retry, Fail means validation failed
|
|
63703
|
+
Field({ nullable: true, description: `Result of the final payload validation for this step. Pass indicates successful
|
|
63704
|
+
validation, Retry means validation failed but will retry, Fail means validation failed
|
|
63672
63705
|
permanently, Warn means validation failed but execution continues.` }),
|
|
63673
63706
|
MaxLength(50),
|
|
63674
63707
|
__metadata("design:type", String)
|
|
63675
63708
|
], AIAgentRunStep_.prototype, "FinalPayloadValidationResult", void 0);
|
|
63676
63709
|
__decorate([
|
|
63677
|
-
Field({ nullable: true, description: `Validation error messages or warnings from final payload validation. Contains
|
|
63710
|
+
Field({ nullable: true, description: `Validation error messages or warnings from final payload validation. Contains
|
|
63678
63711
|
detailed information about what validation rules failed.` }),
|
|
63679
63712
|
__metadata("design:type", String)
|
|
63680
63713
|
], AIAgentRunStep_.prototype, "FinalPayloadValidationMessages", void 0);
|