@opengeni/db 3.4.0-canary.2 → 3.6.0
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/canonical-human-identities.d.ts +20 -0
- package/dist/canonical-human-identities.js +7 -3
- package/dist/{chunk-ZWRIPCTR.js → chunk-2NT476HD.js} +2 -2
- package/dist/{chunk-PYMY3AJW.js → chunk-744DFC65.js} +202 -7
- package/dist/chunk-744DFC65.js.map +1 -0
- package/dist/{chunk-O6FTELKH.js → chunk-CDMMSUWJ.js} +3 -3
- package/dist/chunk-G3732M3T.js +299 -0
- package/dist/chunk-G3732M3T.js.map +1 -0
- package/dist/{chunk-TRBOWUG3.js → chunk-IW6O6G7R.js} +2 -2
- package/dist/{chunk-HY3F5Q4E.js → chunk-Q5YUGQVK.js} +3 -3
- package/dist/{chunk-V3TRUXFJ.js → chunk-UGDVSQ6U.js} +72 -19
- package/dist/chunk-UGDVSQ6U.js.map +1 -0
- package/dist/{chunk-C2AFP7SB.js → chunk-UJ2EW3QI.js} +6664 -6051
- package/dist/chunk-UJ2EW3QI.js.map +1 -0
- package/dist/{chunk-H7MXYG7R.js → chunk-WW7AJ5IC.js} +2 -2
- package/dist/editable-artifact-durable-export.js +2 -2
- package/dist/editable-artifacts.js +3 -3
- package/dist/index.d.ts +44 -6
- package/dist/index.js +2914 -1535
- package/dist/index.js.map +1 -1
- package/dist/managed-auth-session-set-schema.d.ts +1399 -0
- package/dist/managed-auth-session-sets.d.ts +145 -0
- package/dist/managed-auth-session-sets.js +50 -0
- package/dist/managed-auth-session-sets.js.map +1 -0
- package/dist/organization-recovery-schema.d.ts +2144 -0
- package/dist/organization-recovery.d.ts +186 -0
- package/dist/provision-roles.js +1 -1
- package/dist/runtime-posture.d.ts +7 -4
- package/dist/schema.d.ts +9 -6
- package/dist/schema.js +43 -1
- package/dist/session-background-commands.js +3 -3
- package/dist/session-control.d.ts +5 -3
- package/dist/session-queue-commands.d.ts +2 -0
- package/dist/session-tenancy.js +3 -3
- package/dist/video-generation.js +3 -3
- package/dist/work-claims-schema.d.ts +975 -0
- package/dist/work-claims.d.ts +83 -0
- package/drizzle/0362_managed_auth_session_sets.sql +2347 -0
- package/drizzle/0363_organization_recovery_custody.sql +2418 -0
- package/drizzle/0364_workspace_learning_policy_snapshot_lock_order.sql +221 -0
- package/drizzle/0365_permission_scoped_work_claims.sql +1306 -0
- package/drizzle/0366_session_discovery_title_search_index.sql +5 -0
- package/drizzle/0367_session_discovery_goal_search_index.sql +5 -0
- package/drizzle/0368_session_discovery_claim_search_index.sql +6 -0
- package/package.json +10 -6
- package/src/canonical-human-identities.ts +105 -27
- package/src/index.ts +1471 -433
- package/src/managed-auth-session-set-schema.ts +176 -0
- package/src/managed-auth-session-sets.ts +430 -0
- package/src/organization-recovery-schema.ts +277 -0
- package/src/organization-recovery.ts +424 -0
- package/src/provision-roles.ts +67 -0
- package/src/runtime-posture.ts +144 -6
- package/src/schema.ts +3 -0
- package/src/session-control.ts +255 -16
- package/src/session-queue-commands.ts +10 -1
- package/src/session-tool-call-settlement.ts +6 -1
- package/src/work-claims-schema.ts +148 -0
- package/src/work-claims.ts +200 -0
- package/dist/chunk-C2AFP7SB.js.map +0 -1
- package/dist/chunk-PYMY3AJW.js.map +0 -1
- package/dist/chunk-V3TRUXFJ.js.map +0 -1
- /package/dist/{chunk-ZWRIPCTR.js.map → chunk-2NT476HD.js.map} +0 -0
- /package/dist/{chunk-O6FTELKH.js.map → chunk-CDMMSUWJ.js.map} +0 -0
- /package/dist/{chunk-TRBOWUG3.js.map → chunk-IW6O6G7R.js.map} +0 -0
- /package/dist/{chunk-HY3F5Q4E.js.map → chunk-Q5YUGQVK.js.map} +0 -0
- /package/dist/{chunk-H7MXYG7R.js.map → chunk-WW7AJ5IC.js.map} +0 -0
package/dist/schema.js
CHANGED
|
@@ -145,6 +145,14 @@ import {
|
|
|
145
145
|
machineRemovalOperationOutcomeValues,
|
|
146
146
|
machineRemovalOperations,
|
|
147
147
|
managedAccounts,
|
|
148
|
+
managedAuthActorMutationLeases,
|
|
149
|
+
managedAuthBrowserInstallations,
|
|
150
|
+
managedAuthLoginReturnIntents,
|
|
151
|
+
managedAuthLoginSlots,
|
|
152
|
+
managedAuthLoginTransactionRateLimits,
|
|
153
|
+
managedAuthLoginTransactions,
|
|
154
|
+
managedAuthSessionSetOperations,
|
|
155
|
+
managedAuthSessionSets,
|
|
148
156
|
memorySlackPublicationConfigurations,
|
|
149
157
|
memorySlackPublicationReceipts,
|
|
150
158
|
memorySlackPublications,
|
|
@@ -160,6 +168,16 @@ import {
|
|
|
160
168
|
organizationPrivateSessionSettingEvents,
|
|
161
169
|
organizationPrivateSessionSettings,
|
|
162
170
|
organizationProfileEvents,
|
|
171
|
+
organizationRecoveryApprovals,
|
|
172
|
+
organizationRecoveryCommandReceipts,
|
|
173
|
+
organizationRecoveryCustodianAcceptances,
|
|
174
|
+
organizationRecoveryCustodians,
|
|
175
|
+
organizationRecoveryEvents,
|
|
176
|
+
organizationRecoveryNotificationAttempts,
|
|
177
|
+
organizationRecoveryNotificationOutbox,
|
|
178
|
+
organizationRecoveryOperations,
|
|
179
|
+
organizationRecoveryPolicies,
|
|
180
|
+
organizationRecoveryPolicyHeads,
|
|
163
181
|
organizationUserResourceAuthorities,
|
|
164
182
|
organizationUserResourceGrants,
|
|
165
183
|
organizationUserRetentionDeletionEvents,
|
|
@@ -231,6 +249,9 @@ import {
|
|
|
231
249
|
sessionTurnStartupMilestones,
|
|
232
250
|
sessionTurns,
|
|
233
251
|
sessionVariableSetAttachments,
|
|
252
|
+
sessionWorkClaimRevisions,
|
|
253
|
+
sessionWorkClaimWriteCapabilities,
|
|
254
|
+
sessionWorkClaims,
|
|
234
255
|
sessionWorkflowWakeOutbox,
|
|
235
256
|
sessions,
|
|
236
257
|
siteAuthConnections,
|
|
@@ -310,7 +331,7 @@ import {
|
|
|
310
331
|
xaiRotationSettings,
|
|
311
332
|
xaiSessionAccountPins,
|
|
312
333
|
xaiSubscriptionCredentials
|
|
313
|
-
} from "./chunk-
|
|
334
|
+
} from "./chunk-UJ2EW3QI.js";
|
|
314
335
|
import "./chunk-PZ5AY32C.js";
|
|
315
336
|
export {
|
|
316
337
|
agentRunStates,
|
|
@@ -459,6 +480,14 @@ export {
|
|
|
459
480
|
machineRemovalOperationOutcomeValues,
|
|
460
481
|
machineRemovalOperations,
|
|
461
482
|
managedAccounts,
|
|
483
|
+
managedAuthActorMutationLeases,
|
|
484
|
+
managedAuthBrowserInstallations,
|
|
485
|
+
managedAuthLoginReturnIntents,
|
|
486
|
+
managedAuthLoginSlots,
|
|
487
|
+
managedAuthLoginTransactionRateLimits,
|
|
488
|
+
managedAuthLoginTransactions,
|
|
489
|
+
managedAuthSessionSetOperations,
|
|
490
|
+
managedAuthSessionSets,
|
|
462
491
|
memorySlackPublicationConfigurations,
|
|
463
492
|
memorySlackPublicationReceipts,
|
|
464
493
|
memorySlackPublications,
|
|
@@ -474,6 +503,16 @@ export {
|
|
|
474
503
|
organizationPrivateSessionSettingEvents,
|
|
475
504
|
organizationPrivateSessionSettings,
|
|
476
505
|
organizationProfileEvents,
|
|
506
|
+
organizationRecoveryApprovals,
|
|
507
|
+
organizationRecoveryCommandReceipts,
|
|
508
|
+
organizationRecoveryCustodianAcceptances,
|
|
509
|
+
organizationRecoveryCustodians,
|
|
510
|
+
organizationRecoveryEvents,
|
|
511
|
+
organizationRecoveryNotificationAttempts,
|
|
512
|
+
organizationRecoveryNotificationOutbox,
|
|
513
|
+
organizationRecoveryOperations,
|
|
514
|
+
organizationRecoveryPolicies,
|
|
515
|
+
organizationRecoveryPolicyHeads,
|
|
477
516
|
organizationUserResourceAuthorities,
|
|
478
517
|
organizationUserResourceGrants,
|
|
479
518
|
organizationUserRetentionDeletionEvents,
|
|
@@ -545,6 +584,9 @@ export {
|
|
|
545
584
|
sessionTurnStartupMilestones,
|
|
546
585
|
sessionTurns,
|
|
547
586
|
sessionVariableSetAttachments,
|
|
587
|
+
sessionWorkClaimRevisions,
|
|
588
|
+
sessionWorkClaimWriteCapabilities,
|
|
589
|
+
sessionWorkClaims,
|
|
548
590
|
sessionWorkflowWakeOutbox,
|
|
549
591
|
sessions,
|
|
550
592
|
siteAuthConnections,
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
settleClaimedConnectedMachineBackgroundCommand,
|
|
13
13
|
settleConnectedMachineSessionBackgroundCommand,
|
|
14
14
|
settleSessionBackgroundCommandForRetainedProcess
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-CDMMSUWJ.js";
|
|
16
|
+
import "./chunk-WW7AJ5IC.js";
|
|
17
|
+
import "./chunk-UJ2EW3QI.js";
|
|
18
18
|
import "./chunk-PZ5AY32C.js";
|
|
19
19
|
export {
|
|
20
20
|
backgroundCommandActivityForSessions,
|
|
@@ -443,8 +443,8 @@ export declare function updateSessionCommandReceiptResult(db: Database, receiptI
|
|
|
443
443
|
export type SessionControlMutationResult = {
|
|
444
444
|
receipt: SessionCommandReceiptRow;
|
|
445
445
|
control: EffectiveSessionControl;
|
|
446
|
-
sessionControlEventId: string;
|
|
447
|
-
workspaceControlEventId: string;
|
|
446
|
+
sessionControlEventId: string | null;
|
|
447
|
+
workspaceControlEventId: string | null;
|
|
448
448
|
interruptionCount: number;
|
|
449
449
|
backgroundCommandCount: number;
|
|
450
450
|
wakeCount: number;
|
|
@@ -455,6 +455,7 @@ export type SessionControlMutationResult = {
|
|
|
455
455
|
eventIds: string[];
|
|
456
456
|
}>;
|
|
457
457
|
workflowWake: SessionControlWorkflowWake | null;
|
|
458
|
+
outcome: "changed" | "unchanged" | "replayed";
|
|
458
459
|
replay: boolean;
|
|
459
460
|
};
|
|
460
461
|
export type SessionControlWorkflowWake = {
|
|
@@ -498,11 +499,12 @@ export declare function autoResumeSessionBranchInTransaction(db: SessionActivity
|
|
|
498
499
|
export type WorkspaceControlMutationResult = {
|
|
499
500
|
receipt: SessionCommandReceiptRow;
|
|
500
501
|
revision: number;
|
|
501
|
-
workspaceControlEventId: string;
|
|
502
|
+
workspaceControlEventId: string | null;
|
|
502
503
|
workspaceState: EffectiveControlState;
|
|
503
504
|
interruptionCount: number;
|
|
504
505
|
backgroundCommandCount: number;
|
|
505
506
|
wakeCount: number;
|
|
507
|
+
outcome: "changed" | "unchanged" | "replayed";
|
|
506
508
|
replay: boolean;
|
|
507
509
|
};
|
|
508
510
|
export declare function mutateWorkspaceControlInTransaction(db: Database, input: {
|
|
@@ -184,6 +184,8 @@ export declare function submitHumanPromptInTransaction(db: SessionActivityDataba
|
|
|
184
184
|
annotations?: TimelineAnnotation[];
|
|
185
185
|
modelContext?: string | null;
|
|
186
186
|
resources: ResourceRef[];
|
|
187
|
+
/** Actor-owned resources used only for the exact durable-draft fence. */
|
|
188
|
+
composerDraftResources?: ResourceRef[];
|
|
187
189
|
model?: string | null;
|
|
188
190
|
reasoningEffort?: ReasoningEffort | null;
|
|
189
191
|
latencyMode?: LatencyMode | null;
|
package/dist/session-tenancy.js
CHANGED
|
@@ -14,9 +14,9 @@ import {
|
|
|
14
14
|
replayAppliedSessionFork,
|
|
15
15
|
sessionTenancyProductActivated,
|
|
16
16
|
transitionSessionVisibility
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-IW6O6G7R.js";
|
|
18
|
+
import "./chunk-WW7AJ5IC.js";
|
|
19
|
+
import "./chunk-UJ2EW3QI.js";
|
|
20
20
|
import "./chunk-PZ5AY32C.js";
|
|
21
21
|
export {
|
|
22
22
|
SessionTenancyAccessError,
|
package/dist/video-generation.js
CHANGED
|
@@ -29,9 +29,9 @@ import {
|
|
|
29
29
|
settleVideoGenerationFailure,
|
|
30
30
|
settleVideoGenerationReady,
|
|
31
31
|
updateWorkspaceVideoGenerationPolicy
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-Q5YUGQVK.js";
|
|
33
|
+
import "./chunk-WW7AJ5IC.js";
|
|
34
|
+
import "./chunk-UJ2EW3QI.js";
|
|
35
35
|
import "./chunk-PZ5AY32C.js";
|
|
36
36
|
export {
|
|
37
37
|
ACTIVE_VIDEO_GENERATION_STATUSES,
|