@breign/db-schemas 0.1.63 → 0.1.65

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.
@@ -73,6 +73,11 @@ export type AgentSandboxNetworkConfiguration = {
73
73
  export type AgentSandboxConfiguration = {
74
74
  enabled?: boolean;
75
75
  pythonEnabled?: boolean;
76
+ /**
77
+ * js-exec (JavaScript/TypeScript in QuickJS) inside the sandbox. Separate from pythonEnabled
78
+ * because the two are separate risk surfaces, and one may be wanted without the other.
79
+ */
80
+ javascriptEnabled?: boolean;
76
81
  network?: AgentSandboxNetworkConfiguration;
77
82
  workspaceScope?: 'conversation' | 'agentUser';
78
83
  };
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breign/db-schemas",
3
- "version": "0.1.63",
3
+ "version": "0.1.65",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -74,6 +74,11 @@ export type AgentSandboxNetworkConfiguration = {
74
74
  export type AgentSandboxConfiguration = {
75
75
  enabled?: boolean;
76
76
  pythonEnabled?: boolean;
77
+ /**
78
+ * js-exec (JavaScript/TypeScript in QuickJS) inside the sandbox. Separate from pythonEnabled
79
+ * because the two are separate risk surfaces, and one may be wanted without the other.
80
+ */
81
+ javascriptEnabled?: boolean;
77
82
  network?: AgentSandboxNetworkConfiguration;
78
83
  workspaceScope?: 'conversation' | 'agentUser';
79
84
  };
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;