@breign/db-schemas 0.1.64 → 0.1.66
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
|
@@ -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
|
};
|
|
@@ -155,7 +155,12 @@ export type Conversation = {
|
|
|
155
155
|
instanceId?: string;
|
|
156
156
|
userId?: string;
|
|
157
157
|
customUserId?: string;
|
|
158
|
+
/** Résumé des échanges antérieurs à `compactedUntil`, produit par `/compact`. */
|
|
158
159
|
summary?: string;
|
|
160
|
+
/** Dernier message couvert par `summary` : jusque-là, le résumé remplace l'historique. */
|
|
161
|
+
compactedUntil?: string;
|
|
162
|
+
/** Prompt du dernier tour, en tokens, tel que remonté par le fournisseur LLM. */
|
|
163
|
+
lastPromptTokens?: number;
|
|
159
164
|
init?: string;
|
|
160
165
|
messages: ConversationMessage[];
|
|
161
166
|
createdAt: string;
|
package/package.json
CHANGED
package/src/types/agent.ts
CHANGED
|
@@ -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
|
};
|
|
@@ -159,7 +159,12 @@ export type Conversation = {
|
|
|
159
159
|
instanceId?: string;
|
|
160
160
|
userId?: string;
|
|
161
161
|
customUserId?: string;
|
|
162
|
+
/** Résumé des échanges antérieurs à `compactedUntil`, produit par `/compact`. */
|
|
162
163
|
summary?: string;
|
|
164
|
+
/** Dernier message couvert par `summary` : jusque-là, le résumé remplace l'historique. */
|
|
165
|
+
compactedUntil?: string;
|
|
166
|
+
/** Prompt du dernier tour, en tokens, tel que remonté par le fournisseur LLM. */
|
|
167
|
+
lastPromptTokens?: number;
|
|
163
168
|
init?: string;
|
|
164
169
|
messages: ConversationMessage[];
|
|
165
170
|
createdAt: string;
|