@breign/db-schemas 0.1.6 → 0.1.7
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
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AgentModuleTypeUio, AgentTypeUio } from '@breign/client';
|
|
2
2
|
import { FlowNode } from './flow';
|
|
3
|
+
import { EngineOptions } from './engine';
|
|
3
4
|
export type Agent = {
|
|
4
5
|
id: string;
|
|
5
6
|
name: string;
|
|
@@ -45,6 +46,7 @@ export type AgentKnowledgeBase = {
|
|
|
45
46
|
export type AgentEngine = {
|
|
46
47
|
providerId: string;
|
|
47
48
|
model: string;
|
|
49
|
+
options?: EngineOptions;
|
|
48
50
|
};
|
|
49
51
|
export type AgentModule = {
|
|
50
52
|
type: AgentModuleTypeUio;
|
package/dist/types/engine.d.ts
CHANGED
|
@@ -10,3 +10,15 @@ export type Provider = {
|
|
|
10
10
|
organizationId: string;
|
|
11
11
|
};
|
|
12
12
|
export type ProviderSimple = Pick<Provider, 'id' | 'name' | 'providerType' | 'models'>;
|
|
13
|
+
export type EngineOptions = {
|
|
14
|
+
store?: boolean;
|
|
15
|
+
reasoningOverride?: boolean;
|
|
16
|
+
reasoningEffort?: 'minimal' | 'low' | 'medium' | 'high';
|
|
17
|
+
verbosity?: 'low' | 'medium' | 'high';
|
|
18
|
+
maxOutputTokens?: number;
|
|
19
|
+
enableToolPreambles?: boolean;
|
|
20
|
+
toolsModel?: string;
|
|
21
|
+
intentsModel?: string;
|
|
22
|
+
suggestionsModel?: string;
|
|
23
|
+
modelOptions?: Record<string, unknown>;
|
|
24
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EngineOptions } from './engine';
|
|
1
2
|
export type Organization = {
|
|
2
3
|
id: string;
|
|
3
4
|
slug: string;
|
|
@@ -5,6 +6,7 @@ export type Organization = {
|
|
|
5
6
|
engine?: {
|
|
6
7
|
providerId: string;
|
|
7
8
|
model: string;
|
|
9
|
+
options?: EngineOptions;
|
|
8
10
|
};
|
|
9
11
|
users: {
|
|
10
12
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breign/db-schemas",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"typescript": "^5.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@breign/client": "1.0.
|
|
17
|
+
"@breign/client": "1.0.27",
|
|
18
18
|
"prettier": "^3.5.3",
|
|
19
19
|
"zx": "^8.5.5"
|
|
20
20
|
}
|
package/src/types/agent.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AgentModuleTypeUio, AgentTypeUio } from '@breign/client';
|
|
2
2
|
import { FlowNode } from './flow';
|
|
3
|
+
import { EngineOptions } from './engine';
|
|
3
4
|
|
|
4
5
|
export type Agent = {
|
|
5
6
|
id: string;
|
|
@@ -43,6 +44,7 @@ export type AgentKnowledgeBase = {
|
|
|
43
44
|
export type AgentEngine = {
|
|
44
45
|
providerId: string;
|
|
45
46
|
model: string;
|
|
47
|
+
options?: EngineOptions;
|
|
46
48
|
};
|
|
47
49
|
|
|
48
50
|
export type AgentModule = {
|
package/src/types/engine.ts
CHANGED
|
@@ -12,3 +12,16 @@ export type Provider = {
|
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
export type ProviderSimple = Pick<Provider, 'id' | 'name' | 'providerType' | 'models'>;
|
|
15
|
+
|
|
16
|
+
export type EngineOptions = {
|
|
17
|
+
store?: boolean;
|
|
18
|
+
reasoningOverride?: boolean;
|
|
19
|
+
reasoningEffort?: 'minimal' | 'low' | 'medium' | 'high';
|
|
20
|
+
verbosity?: 'low' | 'medium' | 'high';
|
|
21
|
+
maxOutputTokens?: number;
|
|
22
|
+
enableToolPreambles?: boolean;
|
|
23
|
+
toolsModel?: string;
|
|
24
|
+
intentsModel?: string;
|
|
25
|
+
suggestionsModel?: string;
|
|
26
|
+
modelOptions?: Record<string, unknown>;
|
|
27
|
+
};
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { EngineOptions } from './engine';
|
|
2
|
+
|
|
1
3
|
export type Organization = {
|
|
2
4
|
id: string;
|
|
3
5
|
slug: string;
|
|
@@ -5,6 +7,7 @@ export type Organization = {
|
|
|
5
7
|
engine?: {
|
|
6
8
|
providerId: string;
|
|
7
9
|
model: string;
|
|
10
|
+
options?: EngineOptions;
|
|
8
11
|
};
|
|
9
12
|
users: {
|
|
10
13
|
id: string;
|