@memberjunction/core-entities-server 5.29.0 → 5.30.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/custom/MJAIAgentExampleEntityServer.server.d.ts +8 -3
- package/dist/custom/MJAIAgentExampleEntityServer.server.d.ts.map +1 -1
- package/dist/custom/MJAIAgentExampleEntityServer.server.js +27 -8
- package/dist/custom/MJAIAgentExampleEntityServer.server.js.map +1 -1
- package/dist/custom/MJAIAgentNoteEntityServer.server.d.ts +9 -3
- package/dist/custom/MJAIAgentNoteEntityServer.server.d.ts.map +1 -1
- package/dist/custom/MJAIAgentNoteEntityServer.server.js +33 -9
- package/dist/custom/MJAIAgentNoteEntityServer.server.js.map +1 -1
- package/package.json +22 -22
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import { EntitySaveOptions, SimpleEmbeddingResult } from "@memberjunction/core";
|
|
1
|
+
import { EntityDeleteOptions, EntitySaveOptions, SimpleEmbeddingResult } from "@memberjunction/core";
|
|
2
2
|
import { MJAIAgentExampleEntity } from "@memberjunction/core-entities";
|
|
3
3
|
/**
|
|
4
|
-
* Server-side extension of MJAIAgentExampleEntity that
|
|
5
|
-
* when the ExampleInput field
|
|
4
|
+
* Server-side extension of MJAIAgentExampleEntity that:
|
|
5
|
+
* 1. Auto-generates an embedding when the ExampleInput field is new or dirty.
|
|
6
|
+
* 2. Keeps `AIEngine._exampleVectorService` in sync with the example's persisted Status.
|
|
7
|
+
* Invariant: the vector service contains an entry for an example iff its current Status
|
|
8
|
+
* is 'Active' AND it has a non-empty EmbeddingVector. Retrieval filters
|
|
9
|
+
* (`composeExampleFilters`) trust this invariant and apply scope filtering only.
|
|
6
10
|
*/
|
|
7
11
|
export declare class MJAIAgentExampleEntityServer extends MJAIAgentExampleEntity {
|
|
8
12
|
/**
|
|
@@ -10,5 +14,6 @@ export declare class MJAIAgentExampleEntityServer extends MJAIAgentExampleEntity
|
|
|
10
14
|
*/
|
|
11
15
|
protected EmbedTextLocal(textToEmbed: string): Promise<SimpleEmbeddingResult>;
|
|
12
16
|
Save(options?: EntitySaveOptions): Promise<boolean>;
|
|
17
|
+
Delete(options?: EntityDeleteOptions): Promise<boolean>;
|
|
13
18
|
}
|
|
14
19
|
//# sourceMappingURL=MJAIAgentExampleEntityServer.server.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MJAIAgentExampleEntityServer.server.d.ts","sourceRoot":"","sources":["../../src/custom/MJAIAgentExampleEntityServer.server.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,iBAAiB,EAAY,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"MJAIAgentExampleEntityServer.server.d.ts","sourceRoot":"","sources":["../../src/custom/MJAIAgentExampleEntityServer.server.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,mBAAmB,EAAE,iBAAiB,EAAY,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC3H,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAIvE;;;;;;;GAOG;AACH,qBACa,4BAA6B,SAAQ,sBAAsB;IACpE;;OAEG;cACsB,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAI7E,IAAI,CAAC,OAAO,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,OAAO,CAAC;IA+BnD,MAAM,CAAC,OAAO,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAAC,OAAO,CAAC;CAQzE"}
|
|
@@ -10,8 +10,12 @@ import { MJAIAgentExampleEntity } from "@memberjunction/core-entities";
|
|
|
10
10
|
import { EmbedTextLocalHelper } from "./util.js";
|
|
11
11
|
import { AIEngine } from "@memberjunction/aiengine";
|
|
12
12
|
/**
|
|
13
|
-
* Server-side extension of MJAIAgentExampleEntity that
|
|
14
|
-
* when the ExampleInput field
|
|
13
|
+
* Server-side extension of MJAIAgentExampleEntity that:
|
|
14
|
+
* 1. Auto-generates an embedding when the ExampleInput field is new or dirty.
|
|
15
|
+
* 2. Keeps `AIEngine._exampleVectorService` in sync with the example's persisted Status.
|
|
16
|
+
* Invariant: the vector service contains an entry for an example iff its current Status
|
|
17
|
+
* is 'Active' AND it has a non-empty EmbeddingVector. Retrieval filters
|
|
18
|
+
* (`composeExampleFilters`) trust this invariant and apply scope filtering only.
|
|
15
19
|
*/
|
|
16
20
|
let MJAIAgentExampleEntityServer = class MJAIAgentExampleEntityServer extends MJAIAgentExampleEntity {
|
|
17
21
|
/**
|
|
@@ -22,21 +26,28 @@ let MJAIAgentExampleEntityServer = class MJAIAgentExampleEntityServer extends MJ
|
|
|
22
26
|
}
|
|
23
27
|
async Save(options) {
|
|
24
28
|
try {
|
|
25
|
-
//
|
|
29
|
+
// 1. Generate/refresh the embedding if the ExampleInput text is new or dirty.
|
|
26
30
|
const inputField = this.GetFieldByName('ExampleInput');
|
|
27
31
|
const shouldGenerateEmbedding = !this.IsSaved || inputField.Dirty;
|
|
28
|
-
// Generate embedding for ExampleInput field if needed
|
|
29
32
|
if (shouldGenerateEmbedding && this.ExampleInput && this.ExampleInput.trim().length > 0) {
|
|
30
33
|
await this.GenerateEmbeddingByFieldName("ExampleInput", "EmbeddingVector", "EmbeddingModelID");
|
|
31
|
-
// update AI Engine to know about this updated embedding for the example
|
|
32
|
-
AIEngine.Instance.AddOrUpdateSingleExampleEmbedding(this);
|
|
33
34
|
}
|
|
34
35
|
else if (!this.ExampleInput || this.ExampleInput.trim().length === 0) {
|
|
35
|
-
// Clear embedding if input is empty
|
|
36
36
|
this.EmbeddingVector = null;
|
|
37
37
|
this.EmbeddingModelID = null;
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
// 2. Persist first — only touch the in-memory vector service on a successful save.
|
|
40
|
+
const saved = await super.Save(options);
|
|
41
|
+
if (!saved)
|
|
42
|
+
return false;
|
|
43
|
+
// 3. Sync the in-memory vector service with the just-persisted Status.
|
|
44
|
+
if (this.Status === 'Active' && this.EmbeddingVector) {
|
|
45
|
+
AIEngine.Instance.AddOrUpdateSingleExampleEmbedding(this);
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
AIEngine.Instance.RemoveSingleExampleEmbedding(this.ID);
|
|
49
|
+
}
|
|
50
|
+
return true;
|
|
40
51
|
}
|
|
41
52
|
catch (e) {
|
|
42
53
|
LogError('Failed to save AI Agent Example:', e);
|
|
@@ -44,6 +55,14 @@ let MJAIAgentExampleEntityServer = class MJAIAgentExampleEntityServer extends MJ
|
|
|
44
55
|
return false;
|
|
45
56
|
}
|
|
46
57
|
}
|
|
58
|
+
async Delete(options) {
|
|
59
|
+
const id = this.ID;
|
|
60
|
+
const deleted = await super.Delete(options);
|
|
61
|
+
if (deleted && id) {
|
|
62
|
+
AIEngine.Instance.RemoveSingleExampleEmbedding(id);
|
|
63
|
+
}
|
|
64
|
+
return deleted;
|
|
65
|
+
}
|
|
47
66
|
};
|
|
48
67
|
MJAIAgentExampleEntityServer = __decorate([
|
|
49
68
|
RegisterClass(BaseEntity, 'MJ: AI Agent Examples')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MJAIAgentExampleEntityServer.server.js","sourceRoot":"","sources":["../../src/custom/MJAIAgentExampleEntityServer.server.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"MJAIAgentExampleEntityServer.server.js","sourceRoot":"","sources":["../../src/custom/MJAIAgentExampleEntityServer.server.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,UAAU,EAA0C,QAAQ,EAAyB,MAAM,sBAAsB,CAAC;AAC3H,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAA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;gBACJ,QAAQ,CAAC,QAAQ,CAAC,4BAA4B,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;YAC5D,CAAC;YACD,OAAO,IAAI,CAAC;QAChB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACT,QAAQ,CAAC,kCAAkC,EAAE,CAAC,CAAC,CAAC;YAChD,6DAA6D;YAC7D,OAAO,KAAK,CAAC;QACjB,CAAC;IACL,CAAC;IAEQ,KAAK,CAAC,MAAM,CAAC,OAA6B;QAC/C,MAAM,EAAE,GAAG,IAAI,CAAC,EAAE,CAAC;QACnB,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;QAC5C,IAAI,OAAO,IAAI,EAAE,EAAE,CAAC;YAChB,QAAQ,CAAC,QAAQ,CAAC,4BAA4B,CAAC,EAAE,CAAC,CAAC;QACvD,CAAC;QACD,OAAO,OAAO,CAAC;IACnB,CAAC;CACJ,CAAA;AA/CY,4BAA4B;IADxC,aAAa,CAAC,UAAU,EAAE,uBAAuB,CAAC;GACtC,4BAA4B,CA+CxC"}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
import { EntitySaveOptions, SimpleEmbeddingResult } from "@memberjunction/core";
|
|
1
|
+
import { EntityDeleteOptions, EntitySaveOptions, SimpleEmbeddingResult } from "@memberjunction/core";
|
|
2
2
|
import { MJAIAgentNoteEntity } from "@memberjunction/core-entities";
|
|
3
3
|
/**
|
|
4
|
-
* Server-side extension of MJAIAgentNoteEntity that
|
|
5
|
-
* when the Note field
|
|
4
|
+
* Server-side extension of MJAIAgentNoteEntity that:
|
|
5
|
+
* 1. Auto-generates an embedding when the Note field is new or dirty.
|
|
6
|
+
* 2. Keeps `AIEngine._noteVectorService` in sync with the note's persisted Status.
|
|
7
|
+
* Invariant: the vector service contains an entry for a note iff its current Status
|
|
8
|
+
* is 'Active' AND it has a non-empty EmbeddingVector. This write-side invariant lets
|
|
9
|
+
* the retrieval filters (`composeNoteFilters`) be pure scope filters — they don't
|
|
10
|
+
* need to consult any additional cache to decide whether a vector hit is still valid.
|
|
6
11
|
*/
|
|
7
12
|
export declare class MJAIAgentNoteEntityServer extends MJAIAgentNoteEntity {
|
|
8
13
|
/**
|
|
@@ -10,5 +15,6 @@ export declare class MJAIAgentNoteEntityServer extends MJAIAgentNoteEntity {
|
|
|
10
15
|
*/
|
|
11
16
|
protected EmbedTextLocal(textToEmbed: string): Promise<SimpleEmbeddingResult>;
|
|
12
17
|
Save(options?: EntitySaveOptions): Promise<boolean>;
|
|
18
|
+
Delete(options?: EntityDeleteOptions): Promise<boolean>;
|
|
13
19
|
}
|
|
14
20
|
//# sourceMappingURL=MJAIAgentNoteEntityServer.server.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MJAIAgentNoteEntityServer.server.d.ts","sourceRoot":"","sources":["../../src/custom/MJAIAgentNoteEntityServer.server.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,iBAAiB,EAAY,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"MJAIAgentNoteEntityServer.server.d.ts","sourceRoot":"","sources":["../../src/custom/MJAIAgentNoteEntityServer.server.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,mBAAmB,EAAE,iBAAiB,EAAY,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC3H,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAIpE;;;;;;;;GAQG;AACH,qBACa,yBAA0B,SAAQ,mBAAmB;IAC9D;;OAEG;cACsB,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAI7E,IAAI,CAAC,OAAO,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,OAAO,CAAC;IAoCnD,MAAM,CAAC,OAAO,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAAC,OAAO,CAAC;CAQzE"}
|
|
@@ -10,8 +10,13 @@ import { MJAIAgentNoteEntity } from "@memberjunction/core-entities";
|
|
|
10
10
|
import { EmbedTextLocalHelper } from "./util.js";
|
|
11
11
|
import { AIEngine } from "@memberjunction/aiengine";
|
|
12
12
|
/**
|
|
13
|
-
* Server-side extension of MJAIAgentNoteEntity that
|
|
14
|
-
* when the Note field
|
|
13
|
+
* Server-side extension of MJAIAgentNoteEntity that:
|
|
14
|
+
* 1. Auto-generates an embedding when the Note field is new or dirty.
|
|
15
|
+
* 2. Keeps `AIEngine._noteVectorService` in sync with the note's persisted Status.
|
|
16
|
+
* Invariant: the vector service contains an entry for a note iff its current Status
|
|
17
|
+
* is 'Active' AND it has a non-empty EmbeddingVector. This write-side invariant lets
|
|
18
|
+
* the retrieval filters (`composeNoteFilters`) be pure scope filters — they don't
|
|
19
|
+
* need to consult any additional cache to decide whether a vector hit is still valid.
|
|
15
20
|
*/
|
|
16
21
|
let MJAIAgentNoteEntityServer = class MJAIAgentNoteEntityServer extends MJAIAgentNoteEntity {
|
|
17
22
|
/**
|
|
@@ -22,22 +27,33 @@ let MJAIAgentNoteEntityServer = class MJAIAgentNoteEntityServer extends MJAIAgen
|
|
|
22
27
|
}
|
|
23
28
|
async Save(options) {
|
|
24
29
|
try {
|
|
25
|
-
//
|
|
30
|
+
// 1. Generate/refresh the embedding if the Note text is new or dirty.
|
|
26
31
|
const noteField = this.GetFieldByName('Note');
|
|
27
32
|
const shouldGenerateEmbedding = !this.IsSaved || noteField.Dirty;
|
|
28
|
-
// Generate embedding for Note field if needed
|
|
29
33
|
if (shouldGenerateEmbedding && this.Note && this.Note.trim().length > 0) {
|
|
30
34
|
await this.GenerateEmbeddingByFieldName("Note", "EmbeddingVector", "EmbeddingModelID");
|
|
31
|
-
// now let the AIEngine know that the note has been updated so it can have the latest vector in memory
|
|
32
|
-
AIEngine.Instance.AddOrUpdateSingleNoteEmbedding(this);
|
|
33
35
|
}
|
|
34
36
|
else if (!this.Note || this.Note.trim().length === 0) {
|
|
35
|
-
// Clear embedding if note is empty
|
|
36
37
|
this.EmbeddingVector = null;
|
|
37
38
|
this.EmbeddingModelID = null;
|
|
38
39
|
}
|
|
39
|
-
//
|
|
40
|
-
|
|
40
|
+
// 2. Persist first — only touch the in-memory vector service on a successful save
|
|
41
|
+
// so a failed DB write doesn't leave the vector store out of sync.
|
|
42
|
+
const saved = await super.Save(options);
|
|
43
|
+
if (!saved)
|
|
44
|
+
return false;
|
|
45
|
+
// 3. Sync the in-memory vector service with the just-persisted Status.
|
|
46
|
+
// - Active + has embedding → (re)insert so retrieval can find it.
|
|
47
|
+
// - Anything else (Revoked/Archived, or cleared embedding) → drop the vector
|
|
48
|
+
// entry. The original vector metadata still holds a reference to the stale
|
|
49
|
+
// entity instance, so leaving it would leak into future retrievals.
|
|
50
|
+
if (this.Status === 'Active' && this.EmbeddingVector) {
|
|
51
|
+
AIEngine.Instance.AddOrUpdateSingleNoteEmbedding(this);
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
AIEngine.Instance.RemoveSingleNoteEmbedding(this.ID);
|
|
55
|
+
}
|
|
56
|
+
return true;
|
|
41
57
|
}
|
|
42
58
|
catch (e) {
|
|
43
59
|
LogError('Failed to save AI Agent Note:', e);
|
|
@@ -45,6 +61,14 @@ let MJAIAgentNoteEntityServer = class MJAIAgentNoteEntityServer extends MJAIAgen
|
|
|
45
61
|
return false;
|
|
46
62
|
}
|
|
47
63
|
}
|
|
64
|
+
async Delete(options) {
|
|
65
|
+
const id = this.ID;
|
|
66
|
+
const deleted = await super.Delete(options);
|
|
67
|
+
if (deleted && id) {
|
|
68
|
+
AIEngine.Instance.RemoveSingleNoteEmbedding(id);
|
|
69
|
+
}
|
|
70
|
+
return deleted;
|
|
71
|
+
}
|
|
48
72
|
};
|
|
49
73
|
MJAIAgentNoteEntityServer = __decorate([
|
|
50
74
|
RegisterClass(BaseEntity, 'MJ: AI Agent Notes')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MJAIAgentNoteEntityServer.server.js","sourceRoot":"","sources":["../../src/custom/MJAIAgentNoteEntityServer.server.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"MJAIAgentNoteEntityServer.server.js","sourceRoot":"","sources":["../../src/custom/MJAIAgentNoteEntityServer.server.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,UAAU,EAA0C,QAAQ,EAAyB,MAAM,sBAAsB,CAAC;AAC3H,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD;;;;;;;;GAQG;AAEI,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,mBAAmB;IAC9D;;OAEG;IACgB,KAAK,CAAC,cAAc,CAAC,WAAmB;QACvD,OAAO,oBAAoB,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;IACnD,CAAC;IAEQ,KAAK,CAAC,IAAI,CAAC,OAA2B;QAC3C,IAAI,CAAC;YACD,sEAAsE;YACtE,MAAM,SAAS,GAAG,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;YAC9C,MAAM,uBAAuB,GAAG,CAAC,IAAI,CAAC,OAAO,IAAI,SAAS,CAAC,KAAK,CAAC;YAEjE,IAAI,uBAAuB,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBACtE,MAAM,IAAI,CAAC,4BAA4B,CAAC,MAAM,EAAE,iBAAiB,EAAE,kBAAkB,CAAC,CAAC;YAC3F,CAAC;iBAAM,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,IAA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yB,CAoDrC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/core-entities-server",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.30.0",
|
|
5
5
|
"description": "Entity subclasses for the metadata layer of MemberJunction that are only used on server side applications like MJAPI, distributed as part of each release of MemberJunction",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -21,27 +21,27 @@
|
|
|
21
21
|
"typescript": "^5.9.3"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@memberjunction/actions-base": "5.
|
|
25
|
-
"@memberjunction/ai": "5.
|
|
26
|
-
"@memberjunction/ai-core-plus": "5.
|
|
27
|
-
"@memberjunction/ai-engine-base": "5.
|
|
28
|
-
"@memberjunction/ai-prompts": "5.
|
|
29
|
-
"@memberjunction/ai-provider-bundle": "5.
|
|
30
|
-
"@memberjunction/ai-vectordb": "5.
|
|
31
|
-
"@memberjunction/tag-engine": "5.
|
|
32
|
-
"@memberjunction/ai-vector-dupe": "5.
|
|
33
|
-
"@memberjunction/ai-vectors-memory": "5.
|
|
34
|
-
"@memberjunction/aiengine": "5.
|
|
35
|
-
"@memberjunction/core": "5.
|
|
36
|
-
"@memberjunction/core-entities": "5.
|
|
37
|
-
"@memberjunction/generic-database-provider": "5.
|
|
38
|
-
"@memberjunction/doc-utils": "5.
|
|
39
|
-
"@memberjunction/global": "5.
|
|
40
|
-
"@memberjunction/skip-types": "5.
|
|
41
|
-
"@memberjunction/sql-converter": "5.
|
|
42
|
-
"@memberjunction/sql-dialect": "5.
|
|
43
|
-
"@memberjunction/sql-parser": "5.
|
|
44
|
-
"@memberjunction/sqlserver-dataprovider": "5.
|
|
24
|
+
"@memberjunction/actions-base": "5.30.0",
|
|
25
|
+
"@memberjunction/ai": "5.30.0",
|
|
26
|
+
"@memberjunction/ai-core-plus": "5.30.0",
|
|
27
|
+
"@memberjunction/ai-engine-base": "5.30.0",
|
|
28
|
+
"@memberjunction/ai-prompts": "5.30.0",
|
|
29
|
+
"@memberjunction/ai-provider-bundle": "5.30.0",
|
|
30
|
+
"@memberjunction/ai-vectordb": "5.30.0",
|
|
31
|
+
"@memberjunction/tag-engine": "5.30.0",
|
|
32
|
+
"@memberjunction/ai-vector-dupe": "5.30.0",
|
|
33
|
+
"@memberjunction/ai-vectors-memory": "5.30.0",
|
|
34
|
+
"@memberjunction/aiengine": "5.30.0",
|
|
35
|
+
"@memberjunction/core": "5.30.0",
|
|
36
|
+
"@memberjunction/core-entities": "5.30.0",
|
|
37
|
+
"@memberjunction/generic-database-provider": "5.30.0",
|
|
38
|
+
"@memberjunction/doc-utils": "5.30.0",
|
|
39
|
+
"@memberjunction/global": "5.30.0",
|
|
40
|
+
"@memberjunction/skip-types": "5.30.0",
|
|
41
|
+
"@memberjunction/sql-converter": "5.30.0",
|
|
42
|
+
"@memberjunction/sql-dialect": "5.30.0",
|
|
43
|
+
"@memberjunction/sql-parser": "5.30.0",
|
|
44
|
+
"@memberjunction/sqlserver-dataprovider": "5.30.0",
|
|
45
45
|
"nunjucks": "3.2.4",
|
|
46
46
|
"rxjs": "~7.8.1",
|
|
47
47
|
"zod": "~3.24.4"
|