@breign/db-schemas 0.1.61 → 0.1.63

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.
@@ -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[];
@@ -20,6 +20,14 @@ export type ConversationFileAttachment = {
20
20
  errorCode?: ConversationAttachmentErrorCode;
21
21
  estimatedTokens?: number;
22
22
  maxTokens?: number;
23
+ /**
24
+ * Chemin de la copie miroitée dans le workspace du sandbox, pour que l'agent puisse lire la
25
+ * pièce jointe avec Bash_exec. Absent quand l'agent n'a pas de sandbox, ou quand la copie a
26
+ * été refusée (taille, quota, contenu non textuel).
27
+ */
28
+ workspacePath?: string;
29
+ /** Taille de cette copie, qui est le Markdown parsé et non le fichier d'origine. */
30
+ workspaceBytes?: number;
23
31
  /** Run the OCR pre-pass before parsing this attachment to Markdown */
24
32
  ocr?: boolean;
25
33
  processed?: {
@@ -90,6 +98,7 @@ export type ConversationMessage = {
90
98
  tool: string;
91
99
  toolName?: string;
92
100
  params?: string;
101
+ callerTool?: string;
93
102
  };
94
103
  result?: ToolResult;
95
104
  }[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/db-schemas",
3
- "version": "0.1.61",
3
+ "version": "0.1.63",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -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;
@@ -24,6 +24,14 @@ export type ConversationFileAttachment = {
24
24
  errorCode?: ConversationAttachmentErrorCode;
25
25
  estimatedTokens?: number;
26
26
  maxTokens?: number;
27
+ /**
28
+ * Chemin de la copie miroitée dans le workspace du sandbox, pour que l'agent puisse lire la
29
+ * pièce jointe avec Bash_exec. Absent quand l'agent n'a pas de sandbox, ou quand la copie a
30
+ * été refusée (taille, quota, contenu non textuel).
31
+ */
32
+ workspacePath?: string;
33
+ /** Taille de cette copie, qui est le Markdown parsé et non le fichier d'origine. */
34
+ workspaceBytes?: number;
27
35
  /** Run the OCR pre-pass before parsing this attachment to Markdown */
28
36
  ocr?: boolean;
29
37
  processed?:
@@ -96,7 +104,7 @@ export type ConversationMessage = {
96
104
  askConfirmation?: boolean;
97
105
  confirmationLink?: string;
98
106
  toolResults?: {
99
- tool: { tool: string; toolName?: string; params?: string };
107
+ tool: { tool: string; toolName?: string; params?: string; callerTool?: string };
100
108
  result?: ToolResult;
101
109
  }[];
102
110
  /** Décisions d'autorisation prises pendant ce message. Voir ConversationMessageApproval. */