@breign/db-schemas 0.1.62 → 0.1.64
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
|
@@ -42,6 +42,7 @@ export type Agent = {
|
|
|
42
42
|
sandboxConfiguration?: AgentSandboxConfiguration;
|
|
43
43
|
computerUseConfiguration?: AgentComputerUseConfiguration;
|
|
44
44
|
agentCallConfiguration?: AgentCallConfiguration;
|
|
45
|
+
codeModeConfiguration?: AgentCodeModeConfiguration;
|
|
45
46
|
speechToText?: SpeechToTextConfig;
|
|
46
47
|
};
|
|
47
48
|
export type AgentMemoryConfiguration = {
|
|
@@ -61,6 +62,9 @@ export type AgentCallConfiguration = {
|
|
|
61
62
|
enabled?: boolean;
|
|
62
63
|
allowedAgentIds?: string[];
|
|
63
64
|
};
|
|
65
|
+
export type AgentCodeModeConfiguration = {
|
|
66
|
+
enabled?: boolean;
|
|
67
|
+
};
|
|
64
68
|
export type AgentSandboxNetworkConfiguration = {
|
|
65
69
|
enabled?: boolean;
|
|
66
70
|
allowedUrlPrefixes?: string[];
|
package/dist/types/app.d.ts
CHANGED
|
@@ -12,12 +12,18 @@ export type AppLipsync = {
|
|
|
12
12
|
export type InstanceContext = {
|
|
13
13
|
custom?: Record<string, string>;
|
|
14
14
|
};
|
|
15
|
+
/** Snapshot d'état remonté par une instance d'app via POST /probe. */
|
|
16
|
+
export type AppProbe = {
|
|
17
|
+
id: string;
|
|
18
|
+
date: string;
|
|
19
|
+
} & Record<string, unknown>;
|
|
15
20
|
export type AppInstance = {
|
|
16
21
|
name: string;
|
|
17
22
|
id: string;
|
|
18
23
|
createdAt: string;
|
|
19
24
|
status: AppStatus;
|
|
20
25
|
context?: InstanceContext;
|
|
26
|
+
probe?: AppProbe;
|
|
21
27
|
};
|
|
22
28
|
export type AppAnimation = {
|
|
23
29
|
category?: string;
|
|
@@ -70,10 +76,6 @@ export type App = {
|
|
|
70
76
|
[lang: string]: string;
|
|
71
77
|
default: string;
|
|
72
78
|
};
|
|
73
|
-
probe?: {
|
|
74
|
-
id: string;
|
|
75
|
-
date: string;
|
|
76
|
-
} & Record<string, unknown>;
|
|
77
79
|
appConfiguration?: AppConfiguration;
|
|
78
80
|
profilePicture?: string;
|
|
79
81
|
disableFillers?: boolean;
|
package/package.json
CHANGED
package/src/types/agent.ts
CHANGED
|
@@ -37,6 +37,7 @@ export type Agent = {
|
|
|
37
37
|
sandboxConfiguration?: AgentSandboxConfiguration;
|
|
38
38
|
computerUseConfiguration?: AgentComputerUseConfiguration;
|
|
39
39
|
agentCallConfiguration?: AgentCallConfiguration;
|
|
40
|
+
codeModeConfiguration?: AgentCodeModeConfiguration;
|
|
40
41
|
speechToText?: SpeechToTextConfig;
|
|
41
42
|
};
|
|
42
43
|
|
|
@@ -60,6 +61,9 @@ export type AgentCallConfiguration = {
|
|
|
60
61
|
enabled?: boolean;
|
|
61
62
|
allowedAgentIds?: string[];
|
|
62
63
|
};
|
|
64
|
+
export type AgentCodeModeConfiguration = {
|
|
65
|
+
enabled?: boolean;
|
|
66
|
+
};
|
|
63
67
|
|
|
64
68
|
export type AgentSandboxNetworkConfiguration = {
|
|
65
69
|
enabled?: boolean;
|
package/src/types/app.ts
CHANGED
|
@@ -15,12 +15,16 @@ export type InstanceContext = {
|
|
|
15
15
|
custom?: Record<string, string>;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
|
+
/** Snapshot d'état remonté par une instance d'app via POST /probe. */
|
|
19
|
+
export type AppProbe = { id: string; date: string } & Record<string, unknown>;
|
|
20
|
+
|
|
18
21
|
export type AppInstance = {
|
|
19
22
|
name: string;
|
|
20
23
|
id: string;
|
|
21
24
|
createdAt: string;
|
|
22
25
|
status: AppStatus;
|
|
23
26
|
context?: InstanceContext;
|
|
27
|
+
probe?: AppProbe;
|
|
24
28
|
};
|
|
25
29
|
|
|
26
30
|
export type AppAnimation = {
|
|
@@ -69,7 +73,6 @@ export type App = {
|
|
|
69
73
|
status: AppStatus;
|
|
70
74
|
persona?: { [lang: string]: string; default: string };
|
|
71
75
|
promptInit?: { [lang: string]: string; default: string };
|
|
72
|
-
probe?: { id: string; date: string } & Record<string, unknown>;
|
|
73
76
|
appConfiguration?: AppConfiguration;
|
|
74
77
|
profilePicture?: string;
|
|
75
78
|
disableFillers?: boolean;
|
|
@@ -104,7 +104,7 @@ export type ConversationMessage = {
|
|
|
104
104
|
askConfirmation?: boolean;
|
|
105
105
|
confirmationLink?: string;
|
|
106
106
|
toolResults?: {
|
|
107
|
-
tool: { tool: string; toolName?: string; params?: string };
|
|
107
|
+
tool: { tool: string; toolName?: string; params?: string; callerTool?: string };
|
|
108
108
|
result?: ToolResult;
|
|
109
109
|
}[];
|
|
110
110
|
/** Décisions d'autorisation prises pendant ce message. Voir ConversationMessageApproval. */
|