@opengeni/db 0.27.11 → 0.28.9
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/{chunk-JYQPJ6Y5.js → chunk-P6CUHXQZ.js} +2967 -2272
- package/dist/chunk-P6CUHXQZ.js.map +1 -0
- package/dist/{chunk-RPHPNVWW.js → chunk-VHBFHMPC.js} +15 -1
- package/dist/chunk-VHBFHMPC.js.map +1 -0
- package/dist/environment-crypto.d.ts +8 -4
- package/dist/index.d.ts +272 -26
- package/dist/index.js +7798 -5008
- package/dist/index.js.map +1 -1
- package/dist/lossless-columns.d.ts +58 -0
- package/dist/lossless-json.d.ts +39 -0
- package/dist/memory-domain.d.ts +3 -6
- package/dist/persistence-errors.d.ts +7 -14
- package/dist/provision-roles.js +1 -1
- package/dist/runtime-posture.d.ts +2 -2
- package/dist/schema.d.ts +1420 -271
- package/dist/schema.js +25 -1
- package/dist/session-realtime-terminal.d.ts +7 -0
- package/dist/transcription-recordings-schema.d.ts +1264 -0
- package/dist/transcription-recordings.d.ts +228 -0
- package/drizzle/0065_enrollment_credential_generation.sql +10 -0
- package/drizzle/0140_retained_screenshot_artifacts.sql +192 -0
- package/drizzle/0170_resumable_transcription_recordings.sql +440 -0
- package/drizzle/0175_resumable_transcription_provider_deadline.sql +24 -0
- package/drizzle/0176_lossless_canonical_json.sql +975 -0
- package/drizzle/0177_session_events_workspace_turn_type_index.sql +5 -0
- package/drizzle/0178_permissioned_secret_reads.sql +14 -0
- package/drizzle/0179_slack_private_shortcut_delivery_gate.sql +85 -0
- package/drizzle/0180_retained_screenshot_lifecycle_fences.sql +273 -0
- package/drizzle/0181_connected_machine_removal.sql +52 -0
- package/drizzle/0182_connected_machine_remove_session_default.sql +77 -0
- package/package.json +4 -4
- package/src/database.ts +7 -1
- package/src/environment-crypto.ts +22 -9
- package/src/index.ts +4368 -1678
- package/src/lossless-columns.ts +35 -0
- package/src/lossless-json.ts +322 -0
- package/src/memory-domain.ts +5 -44
- package/src/persistence-errors.ts +29 -34
- package/src/runtime-posture.ts +14 -0
- package/src/schema.ts +264 -42
- package/src/session-control.ts +125 -76
- package/src/session-queue-commands.ts +325 -234
- package/src/session-realtime-context.ts +18 -5
- package/src/session-realtime-ledger.ts +29 -7
- package/src/session-realtime-mirror.ts +4 -2
- package/src/session-realtime-terminal.ts +89 -21
- package/src/session-realtime.ts +3 -2
- package/src/session-tool-call-settlement.ts +29 -15
- package/src/transcription-recordings-schema.ts +253 -0
- package/src/transcription-recordings.ts +1538 -0
- package/dist/chunk-JYQPJ6Y5.js.map +0 -1
- package/dist/chunk-RPHPNVWW.js.map +0 -1
- package/dist/event-payload-sanitizer.d.ts +0 -32
- package/src/event-payload-sanitizer.ts +0 -377
package/dist/schema.js
CHANGED
|
@@ -59,6 +59,8 @@ import {
|
|
|
59
59
|
knowledgeSyncRuns,
|
|
60
60
|
machineMetricsLatest,
|
|
61
61
|
machineMetricsSeries,
|
|
62
|
+
machineRemovalOperationOutcomeValues,
|
|
63
|
+
machineRemovalOperations,
|
|
62
64
|
managedAccounts,
|
|
63
65
|
modelCallFacts,
|
|
64
66
|
nestedAgentDepthConfiguration,
|
|
@@ -68,6 +70,7 @@ import {
|
|
|
68
70
|
preferenceRegistryPreferences,
|
|
69
71
|
preferenceRegistryRevisions,
|
|
70
72
|
preferenceRegistrySnapshots,
|
|
73
|
+
retainedScreenshotArtifacts,
|
|
71
74
|
rigChanges,
|
|
72
75
|
rigVersions,
|
|
73
76
|
rigs,
|
|
@@ -121,6 +124,14 @@ import {
|
|
|
121
124
|
socialConnections,
|
|
122
125
|
socialPosts,
|
|
123
126
|
stripeWebhookEvents,
|
|
127
|
+
transcriptionRecordingChunkStateValues,
|
|
128
|
+
transcriptionRecordingChunks,
|
|
129
|
+
transcriptionRecordingObjectKindValues,
|
|
130
|
+
transcriptionRecordingObjects,
|
|
131
|
+
transcriptionRecordingSegmentStateValues,
|
|
132
|
+
transcriptionRecordingSegments,
|
|
133
|
+
transcriptionRecordingStateValues,
|
|
134
|
+
transcriptionRecordings,
|
|
124
135
|
usageEvents,
|
|
125
136
|
workspaceArtifactEvents,
|
|
126
137
|
workspaceArtifactVersions,
|
|
@@ -136,11 +147,12 @@ import {
|
|
|
136
147
|
workspaceMemberships,
|
|
137
148
|
workspaceModelPolicies,
|
|
138
149
|
workspacePacks,
|
|
150
|
+
workspaceScreenshotQuotas,
|
|
139
151
|
workspaceSessionActivityRevisions,
|
|
140
152
|
workspaceVariableSetVariables,
|
|
141
153
|
workspaceVariableSets,
|
|
142
154
|
workspaces
|
|
143
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-P6CUHXQZ.js";
|
|
144
156
|
import "./chunk-PZ5AY32C.js";
|
|
145
157
|
export {
|
|
146
158
|
agentRunStates,
|
|
@@ -203,6 +215,8 @@ export {
|
|
|
203
215
|
knowledgeSyncRuns,
|
|
204
216
|
machineMetricsLatest,
|
|
205
217
|
machineMetricsSeries,
|
|
218
|
+
machineRemovalOperationOutcomeValues,
|
|
219
|
+
machineRemovalOperations,
|
|
206
220
|
managedAccounts,
|
|
207
221
|
modelCallFacts,
|
|
208
222
|
nestedAgentDepthConfiguration,
|
|
@@ -212,6 +226,7 @@ export {
|
|
|
212
226
|
preferenceRegistryPreferences,
|
|
213
227
|
preferenceRegistryRevisions,
|
|
214
228
|
preferenceRegistrySnapshots,
|
|
229
|
+
retainedScreenshotArtifacts,
|
|
215
230
|
rigChanges,
|
|
216
231
|
rigVersions,
|
|
217
232
|
rigs,
|
|
@@ -265,6 +280,14 @@ export {
|
|
|
265
280
|
socialConnections,
|
|
266
281
|
socialPosts,
|
|
267
282
|
stripeWebhookEvents,
|
|
283
|
+
transcriptionRecordingChunkStateValues,
|
|
284
|
+
transcriptionRecordingChunks,
|
|
285
|
+
transcriptionRecordingObjectKindValues,
|
|
286
|
+
transcriptionRecordingObjects,
|
|
287
|
+
transcriptionRecordingSegmentStateValues,
|
|
288
|
+
transcriptionRecordingSegments,
|
|
289
|
+
transcriptionRecordingStateValues,
|
|
290
|
+
transcriptionRecordings,
|
|
268
291
|
usageEvents,
|
|
269
292
|
workspaceArtifactEvents,
|
|
270
293
|
workspaceArtifactVersions,
|
|
@@ -280,6 +303,7 @@ export {
|
|
|
280
303
|
workspaceMemberships,
|
|
281
304
|
workspaceModelPolicies,
|
|
282
305
|
workspacePacks,
|
|
306
|
+
workspaceScreenshotQuotas,
|
|
283
307
|
workspaceSessionActivityRevisions,
|
|
284
308
|
workspaceVariableSetVariables,
|
|
285
309
|
workspaceVariableSets,
|
|
@@ -6,9 +6,11 @@ export type ProjectSessionRealtimeDelegationTerminalInput = {
|
|
|
6
6
|
turnId: string;
|
|
7
7
|
turnStatus: "completed" | "failed" | "cancelled" | "superseded";
|
|
8
8
|
terminalEvent: {
|
|
9
|
+
id: string | null;
|
|
9
10
|
type: "turn.completed" | "turn.failed" | "turn.cancelled" | "turn.superseded";
|
|
10
11
|
payload: Record<string, unknown>;
|
|
11
12
|
};
|
|
13
|
+
retainedOutputEvidence?: unknown;
|
|
12
14
|
now?: Date;
|
|
13
15
|
};
|
|
14
16
|
export type SessionRealtimeTerminalEntry = {
|
|
@@ -36,5 +38,10 @@ export type ProjectSessionRealtimeDelegationTerminalResult = {
|
|
|
36
38
|
entry: SessionRealtimeTerminalEntry;
|
|
37
39
|
replay: boolean;
|
|
38
40
|
} | null;
|
|
41
|
+
export declare function buildSessionRealtimeDelegationTerminalProjection(input: ProjectSessionRealtimeDelegationTerminalInput): {
|
|
42
|
+
kind: "delegation_result" | "error";
|
|
43
|
+
text: string;
|
|
44
|
+
payload: Record<string, unknown>;
|
|
45
|
+
};
|
|
39
46
|
/** One terminal projection for every realtime-delegated durable turn. */
|
|
40
47
|
export declare function projectSessionRealtimeDelegationTerminalInTransaction(db: Database, input: ProjectSessionRealtimeDelegationTerminalInput): Promise<ProjectSessionRealtimeDelegationTerminalResult>;
|