@memberjunction/core-entities 2.91.0 → 2.93.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.
@@ -7432,6 +7432,17 @@ permanently, Warn means validation failed but execution continues.`),
7432
7432
  * * SQL Data Type: nvarchar(MAX)
7433
7433
  * * Description: Validation error messages or warnings from final payload validation. Contains
7434
7434
  detailed information about what validation rules failed.`),
7435
+ ParentID: zod_1.z.string().nullable().describe(`
7436
+ * * Field Name: ParentID
7437
+ * * Display Name: Parent ID
7438
+ * * SQL Data Type: uniqueidentifier
7439
+ * * Related Entity/Foreign Key: MJ: AI Agent Run Steps (vwAIAgentRunSteps.ID)
7440
+ * * Description: Optional reference to parent step for tracking hierarchical relationships like code->test->fix->code cycles`),
7441
+ Comments: zod_1.z.string().nullable().describe(`
7442
+ * * Field Name: Comments
7443
+ * * Display Name: Comments
7444
+ * * SQL Data Type: nvarchar(MAX)
7445
+ * * Description: Human-readable notes and comments about this agent run step`),
7435
7446
  });
7436
7447
  /**
7437
7448
  * zod schema definition for the entity MJ: AI Agent Runs
@@ -7659,6 +7670,16 @@ each time the agent processes a prompt step.`),
7659
7670
  * * Display Name: Effort Level
7660
7671
  * * SQL Data Type: int
7661
7672
  * * Description: Effort level that was actually used during this agent run execution (1-100, where 1=minimal effort, 100=maximum effort). This is the resolved effort level after applying the precedence hierarchy: runtime override > agent default > prompt defaults.`),
7673
+ RunName: zod_1.z.string().nullable().describe(`
7674
+ * * Field Name: RunName
7675
+ * * Display Name: Run Name
7676
+ * * SQL Data Type: nvarchar(255)
7677
+ * * Description: Optional name for the agent run to help identify and tag runs for easier reference`),
7678
+ Comments: zod_1.z.string().nullable().describe(`
7679
+ * * Field Name: Comments
7680
+ * * Display Name: Comments
7681
+ * * SQL Data Type: nvarchar(MAX)
7682
+ * * Description: Human-readable notes and comments about this agent run`),
7662
7683
  Agent: zod_1.z.string().nullable().describe(`
7663
7684
  * * Field Name: Agent
7664
7685
  * * Display Name: Agent
@@ -8919,6 +8940,16 @@ exports.AIPromptRunSchema = zod_1.z.object({
8919
8940
  * * Display Name: Effort Level
8920
8941
  * * SQL Data Type: int
8921
8942
  * * Description: Effort level that was actually used during this prompt run execution (1-100, where 1=minimal effort, 100=maximum effort). This is the resolved effort level after applying the precedence hierarchy: runtime override > agent default > prompt default > provider default.`),
8943
+ RunName: zod_1.z.string().nullable().describe(`
8944
+ * * Field Name: RunName
8945
+ * * Display Name: Run Name
8946
+ * * SQL Data Type: nvarchar(255)
8947
+ * * Description: Optional name for the prompt run to help identify and tag runs for easier reference`),
8948
+ Comments: zod_1.z.string().nullable().describe(`
8949
+ * * Field Name: Comments
8950
+ * * Display Name: Comments
8951
+ * * SQL Data Type: nvarchar(MAX)
8952
+ * * Description: Human-readable notes and comments about this prompt run`),
8922
8953
  Prompt: zod_1.z.string().describe(`
8923
8954
  * * Field Name: Prompt
8924
8955
  * * Display Name: Prompt
@@ -9227,6 +9258,11 @@ exports.ComponentLibrarySchema = zod_1.z.object({
9227
9258
  * * Deprecated
9228
9259
  * * Disabled
9229
9260
  * * Description: Status of the component library. Active: fully supported; Deprecated: works but shows console warning; Disabled: throws error if used`),
9261
+ LintRules: zod_1.z.string().nullable().describe(`
9262
+ * * Field Name: LintRules
9263
+ * * Display Name: Lint Rules
9264
+ * * SQL Data Type: nvarchar(MAX)
9265
+ * * Description: JSON configuration for library-specific lint rules that are applied during component validation. This field contains structured rules that define how components using this library should be validated, including DOM element requirements, initialization patterns, lifecycle methods, and common error patterns. Example structure: {"initialization": {"constructorName": "Chart", "elementType": "canvas"}, "lifecycle": {"requiredMethods": ["render"], "cleanupMethods": ["destroy"]}}. The linter dynamically applies these rules based on the libraries referenced in a component spec, enabling extensible validation without hardcoding library-specific logic.`),
9230
9266
  });
9231
9267
  /**
9232
9268
  * zod schema definition for the entity MJ: Component Library Links
@@ -32275,6 +32311,31 @@ detailed information about what validation rules failed.
32275
32311
  set FinalPayloadValidationMessages(value) {
32276
32312
  this.Set('FinalPayloadValidationMessages', value);
32277
32313
  }
32314
+ /**
32315
+ * * Field Name: ParentID
32316
+ * * Display Name: Parent ID
32317
+ * * SQL Data Type: uniqueidentifier
32318
+ * * Related Entity/Foreign Key: MJ: AI Agent Run Steps (vwAIAgentRunSteps.ID)
32319
+ * * Description: Optional reference to parent step for tracking hierarchical relationships like code->test->fix->code cycles
32320
+ */
32321
+ get ParentID() {
32322
+ return this.Get('ParentID');
32323
+ }
32324
+ set ParentID(value) {
32325
+ this.Set('ParentID', value);
32326
+ }
32327
+ /**
32328
+ * * Field Name: Comments
32329
+ * * Display Name: Comments
32330
+ * * SQL Data Type: nvarchar(MAX)
32331
+ * * Description: Human-readable notes and comments about this agent run step
32332
+ */
32333
+ get Comments() {
32334
+ return this.Get('Comments');
32335
+ }
32336
+ set Comments(value) {
32337
+ this.Set('Comments', value);
32338
+ }
32278
32339
  };
32279
32340
  exports.AIAgentRunStepEntity = AIAgentRunStepEntity;
32280
32341
  exports.AIAgentRunStepEntity = AIAgentRunStepEntity = __decorate([
@@ -32808,6 +32869,30 @@ each time the agent processes a prompt step.
32808
32869
  this.Set('EffortLevel', value);
32809
32870
  }
32810
32871
  /**
32872
+ * * Field Name: RunName
32873
+ * * Display Name: Run Name
32874
+ * * SQL Data Type: nvarchar(255)
32875
+ * * Description: Optional name for the agent run to help identify and tag runs for easier reference
32876
+ */
32877
+ get RunName() {
32878
+ return this.Get('RunName');
32879
+ }
32880
+ set RunName(value) {
32881
+ this.Set('RunName', value);
32882
+ }
32883
+ /**
32884
+ * * Field Name: Comments
32885
+ * * Display Name: Comments
32886
+ * * SQL Data Type: nvarchar(MAX)
32887
+ * * Description: Human-readable notes and comments about this agent run
32888
+ */
32889
+ get Comments() {
32890
+ return this.Get('Comments');
32891
+ }
32892
+ set Comments(value) {
32893
+ this.Set('Comments', value);
32894
+ }
32895
+ /**
32811
32896
  * * Field Name: Agent
32812
32897
  * * Display Name: Agent
32813
32898
  * * SQL Data Type: nvarchar(255)
@@ -36139,6 +36224,30 @@ let AIPromptRunEntity = class AIPromptRunEntity extends core_1.BaseEntity {
36139
36224
  this.Set('EffortLevel', value);
36140
36225
  }
36141
36226
  /**
36227
+ * * Field Name: RunName
36228
+ * * Display Name: Run Name
36229
+ * * SQL Data Type: nvarchar(255)
36230
+ * * Description: Optional name for the prompt run to help identify and tag runs for easier reference
36231
+ */
36232
+ get RunName() {
36233
+ return this.Get('RunName');
36234
+ }
36235
+ set RunName(value) {
36236
+ this.Set('RunName', value);
36237
+ }
36238
+ /**
36239
+ * * Field Name: Comments
36240
+ * * Display Name: Comments
36241
+ * * SQL Data Type: nvarchar(MAX)
36242
+ * * Description: Human-readable notes and comments about this prompt run
36243
+ */
36244
+ get Comments() {
36245
+ return this.Get('Comments');
36246
+ }
36247
+ set Comments(value) {
36248
+ this.Set('Comments', value);
36249
+ }
36250
+ /**
36142
36251
  * * Field Name: Prompt
36143
36252
  * * Display Name: Prompt
36144
36253
  * * SQL Data Type: nvarchar(255)
@@ -36936,6 +37045,18 @@ let ComponentLibraryEntity = class ComponentLibraryEntity extends core_1.BaseEnt
36936
37045
  set Status(value) {
36937
37046
  this.Set('Status', value);
36938
37047
  }
37048
+ /**
37049
+ * * Field Name: LintRules
37050
+ * * Display Name: Lint Rules
37051
+ * * SQL Data Type: nvarchar(MAX)
37052
+ * * Description: JSON configuration for library-specific lint rules that are applied during component validation. This field contains structured rules that define how components using this library should be validated, including DOM element requirements, initialization patterns, lifecycle methods, and common error patterns. Example structure: {"initialization": {"constructorName": "Chart", "elementType": "canvas"}, "lifecycle": {"requiredMethods": ["render"], "cleanupMethods": ["destroy"]}}. The linter dynamically applies these rules based on the libraries referenced in a component spec, enabling extensible validation without hardcoding library-specific logic.
37053
+ */
37054
+ get LintRules() {
37055
+ return this.Get('LintRules');
37056
+ }
37057
+ set LintRules(value) {
37058
+ this.Set('LintRules', value);
37059
+ }
36939
37060
  };
36940
37061
  exports.ComponentLibraryEntity = ComponentLibraryEntity;
36941
37062
  exports.ComponentLibraryEntity = ComponentLibraryEntity = __decorate([