@breign/db-schemas 0.1.52 → 0.1.54
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/types/agent.d.ts +5 -0
- package/dist/types/anonymization.d.ts +14 -0
- package/dist/types/anonymization.js +2 -0
- package/dist/types/index.d.ts +9 -8
- package/dist/types/index.js +9 -8
- package/package.json +1 -1
- package/src/types/agent.ts +7 -0
- package/src/types/anonymization.ts +15 -0
- package/src/types/index.ts +9 -8
package/dist/types/agent.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export type Agent = {
|
|
|
40
40
|
contextualKnowledgeConversation?: ContextualKnowledgeConversationConfig;
|
|
41
41
|
memoryConfiguration?: AgentMemoryConfiguration;
|
|
42
42
|
sandboxConfiguration?: AgentSandboxConfiguration;
|
|
43
|
+
pendingToolsConfiguration?: AgentPendingToolsConfiguration;
|
|
43
44
|
speechToText?: SpeechToTextConfig;
|
|
44
45
|
};
|
|
45
46
|
export type AgentMemoryConfiguration = {
|
|
@@ -47,6 +48,10 @@ export type AgentMemoryConfiguration = {
|
|
|
47
48
|
agentMemoryEnabled?: boolean;
|
|
48
49
|
organizationMemoryEnabled?: boolean;
|
|
49
50
|
};
|
|
51
|
+
export type AgentPendingToolsConfiguration = {
|
|
52
|
+
enabled?: boolean;
|
|
53
|
+
tools?: string[];
|
|
54
|
+
};
|
|
50
55
|
export type AgentSandboxNetworkConfiguration = {
|
|
51
56
|
enabled?: boolean;
|
|
52
57
|
allowedUrlPrefixes?: string[];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type AnonymizationStatus = 'pending' | 'anonymized' | 'deanonymized' | 'error';
|
|
2
|
+
export type MessageAnonymization = {
|
|
3
|
+
id: string;
|
|
4
|
+
conversationId: string;
|
|
5
|
+
messageId: string;
|
|
6
|
+
guardianId: string;
|
|
7
|
+
originalContent: string;
|
|
8
|
+
anonymizedContent?: string;
|
|
9
|
+
deanonymizedContent?: string;
|
|
10
|
+
anonymizedReasoning?: string;
|
|
11
|
+
status: AnonymizationStatus;
|
|
12
|
+
createdAt: string;
|
|
13
|
+
updatedAt: string;
|
|
14
|
+
};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
|
+
export * from './advanced-flow-editor';
|
|
1
2
|
export * from './agent';
|
|
2
3
|
export * from './agent-memory';
|
|
4
|
+
export * from './anonymization';
|
|
3
5
|
export * from './app';
|
|
4
|
-
export * from './flow';
|
|
5
|
-
export * from './flow-editor';
|
|
6
|
-
export * from './advanced-flow-editor';
|
|
7
6
|
export * from './conversation';
|
|
8
|
-
export * from './file';
|
|
9
7
|
export * from './engine';
|
|
8
|
+
export * from './file';
|
|
9
|
+
export * from './flow';
|
|
10
|
+
export * from './flow-editor';
|
|
10
11
|
export * from './knowledge';
|
|
11
12
|
export * from './organization';
|
|
12
|
-
export * from './user';
|
|
13
|
-
export * from './role';
|
|
14
13
|
export * from './permissions';
|
|
15
|
-
export * from './
|
|
16
|
-
export * from './skill';
|
|
14
|
+
export * from './role';
|
|
17
15
|
export * from './scheduled-task';
|
|
18
16
|
export * from './scheduled-task-run';
|
|
17
|
+
export * from './skill';
|
|
19
18
|
export * from './speech-to-text';
|
|
19
|
+
export * from './tool';
|
|
20
|
+
export * from './user';
|
|
20
21
|
export * from './workspace-file';
|
package/dist/types/index.js
CHANGED
|
@@ -14,23 +14,24 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./advanced-flow-editor"), exports);
|
|
17
18
|
__exportStar(require("./agent"), exports);
|
|
18
19
|
__exportStar(require("./agent-memory"), exports);
|
|
20
|
+
__exportStar(require("./anonymization"), exports);
|
|
19
21
|
__exportStar(require("./app"), exports);
|
|
20
|
-
__exportStar(require("./flow"), exports);
|
|
21
|
-
__exportStar(require("./flow-editor"), exports);
|
|
22
|
-
__exportStar(require("./advanced-flow-editor"), exports);
|
|
23
22
|
__exportStar(require("./conversation"), exports);
|
|
24
|
-
__exportStar(require("./file"), exports);
|
|
25
23
|
__exportStar(require("./engine"), exports);
|
|
24
|
+
__exportStar(require("./file"), exports);
|
|
25
|
+
__exportStar(require("./flow"), exports);
|
|
26
|
+
__exportStar(require("./flow-editor"), exports);
|
|
26
27
|
__exportStar(require("./knowledge"), exports);
|
|
27
28
|
__exportStar(require("./organization"), exports);
|
|
28
|
-
__exportStar(require("./user"), exports);
|
|
29
|
-
__exportStar(require("./role"), exports);
|
|
30
29
|
__exportStar(require("./permissions"), exports);
|
|
31
|
-
__exportStar(require("./
|
|
32
|
-
__exportStar(require("./skill"), exports);
|
|
30
|
+
__exportStar(require("./role"), exports);
|
|
33
31
|
__exportStar(require("./scheduled-task"), exports);
|
|
34
32
|
__exportStar(require("./scheduled-task-run"), exports);
|
|
33
|
+
__exportStar(require("./skill"), exports);
|
|
35
34
|
__exportStar(require("./speech-to-text"), exports);
|
|
35
|
+
__exportStar(require("./tool"), exports);
|
|
36
|
+
__exportStar(require("./user"), exports);
|
|
36
37
|
__exportStar(require("./workspace-file"), exports);
|
package/package.json
CHANGED
package/src/types/agent.ts
CHANGED
|
@@ -35,6 +35,7 @@ export type Agent = {
|
|
|
35
35
|
contextualKnowledgeConversation?: ContextualKnowledgeConversationConfig;
|
|
36
36
|
memoryConfiguration?: AgentMemoryConfiguration;
|
|
37
37
|
sandboxConfiguration?: AgentSandboxConfiguration;
|
|
38
|
+
pendingToolsConfiguration?: AgentPendingToolsConfiguration;
|
|
38
39
|
speechToText?: SpeechToTextConfig;
|
|
39
40
|
};
|
|
40
41
|
|
|
@@ -44,6 +45,12 @@ export type AgentMemoryConfiguration = {
|
|
|
44
45
|
organizationMemoryEnabled?: boolean;
|
|
45
46
|
};
|
|
46
47
|
|
|
48
|
+
|
|
49
|
+
export type AgentPendingToolsConfiguration = {
|
|
50
|
+
enabled?: boolean;
|
|
51
|
+
tools?: string[];
|
|
52
|
+
};
|
|
53
|
+
|
|
47
54
|
export type AgentSandboxNetworkConfiguration = {
|
|
48
55
|
enabled?: boolean;
|
|
49
56
|
allowedUrlPrefixes?: string[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type AnonymizationStatus = 'pending' | 'anonymized' | 'deanonymized' | 'error';
|
|
2
|
+
|
|
3
|
+
export type MessageAnonymization = {
|
|
4
|
+
id: string;
|
|
5
|
+
conversationId: string;
|
|
6
|
+
messageId: string;
|
|
7
|
+
guardianId: string;
|
|
8
|
+
originalContent: string;
|
|
9
|
+
anonymizedContent?: string;
|
|
10
|
+
deanonymizedContent?: string;
|
|
11
|
+
anonymizedReasoning?: string;
|
|
12
|
+
status: AnonymizationStatus;
|
|
13
|
+
createdAt: string;
|
|
14
|
+
updatedAt: string;
|
|
15
|
+
};
|
package/src/types/index.ts
CHANGED
|
@@ -1,20 +1,21 @@
|
|
|
1
|
+
export * from './advanced-flow-editor';
|
|
1
2
|
export * from './agent';
|
|
2
3
|
export * from './agent-memory';
|
|
4
|
+
export * from './anonymization';
|
|
3
5
|
export * from './app';
|
|
4
|
-
export * from './flow';
|
|
5
|
-
export * from './flow-editor';
|
|
6
|
-
export * from './advanced-flow-editor';
|
|
7
6
|
export * from './conversation';
|
|
8
|
-
export * from './file';
|
|
9
7
|
export * from './engine';
|
|
8
|
+
export * from './file';
|
|
9
|
+
export * from './flow';
|
|
10
|
+
export * from './flow-editor';
|
|
10
11
|
export * from './knowledge';
|
|
11
12
|
export * from './organization';
|
|
12
|
-
export * from './user';
|
|
13
|
-
export * from './role';
|
|
14
13
|
export * from './permissions';
|
|
15
|
-
export * from './
|
|
16
|
-
export * from './skill';
|
|
14
|
+
export * from './role';
|
|
17
15
|
export * from './scheduled-task';
|
|
18
16
|
export * from './scheduled-task-run';
|
|
17
|
+
export * from './skill';
|
|
19
18
|
export * from './speech-to-text';
|
|
19
|
+
export * from './tool';
|
|
20
|
+
export * from './user';
|
|
20
21
|
export * from './workspace-file';
|