@opengeni/db 3.4.0-canary.2 → 3.5.2-canary.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-C2AFP7SB.js → chunk-6NYKC5DD.js} +6507 -6040
- package/dist/chunk-6NYKC5DD.js.map +1 -0
- package/dist/{chunk-O6FTELKH.js → chunk-FJHEWYV5.js} +3 -3
- package/dist/{chunk-ZWRIPCTR.js → chunk-NRGUX3M5.js} +2 -2
- package/dist/{chunk-TRBOWUG3.js → chunk-ORKVXHL2.js} +2 -2
- package/dist/{chunk-PYMY3AJW.js → chunk-PERPE2UY.js} +172 -7
- package/dist/chunk-PERPE2UY.js.map +1 -0
- package/dist/chunk-TRCYF26N.js +299 -0
- package/dist/chunk-TRCYF26N.js.map +1 -0
- package/dist/{chunk-V3TRUXFJ.js → chunk-U7NKCX5E.js} +72 -19
- package/dist/chunk-U7NKCX5E.js.map +1 -0
- package/dist/{chunk-H7MXYG7R.js → chunk-X6T2P3L3.js} +2 -2
- package/dist/{chunk-HY3F5Q4E.js → chunk-Y44FKTYU.js} +3 -3
- package/dist/editable-artifact-durable-export.js +2 -2
- package/dist/editable-artifacts.js +3 -3
- package/dist/index.d.ts +21 -3
- package/dist/index.js +1698 -995
- 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 +5 -3
- package/dist/schema.d.ts +2 -0
- package/dist/schema.js +37 -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/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/package.json +10 -6
- package/src/canonical-human-identities.ts +105 -27
- package/src/index.ts +420 -103
- 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 +49 -0
- package/src/runtime-posture.ts +132 -6
- package/src/schema.ts +2 -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/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-O6FTELKH.js.map → chunk-FJHEWYV5.js.map} +0 -0
- /package/dist/{chunk-ZWRIPCTR.js.map → chunk-NRGUX3M5.js.map} +0 -0
- /package/dist/{chunk-TRBOWUG3.js.map → chunk-ORKVXHL2.js.map} +0 -0
- /package/dist/{chunk-H7MXYG7R.js.map → chunk-X6T2P3L3.js.map} +0 -0
- /package/dist/{chunk-HY3F5Q4E.js.map → chunk-Y44FKTYU.js.map} +0 -0
|
@@ -1535,6 +1535,8 @@ export async function submitHumanPromptInTransaction(
|
|
|
1535
1535
|
annotations?: TimelineAnnotation[];
|
|
1536
1536
|
modelContext?: string | null;
|
|
1537
1537
|
resources: ResourceRef[];
|
|
1538
|
+
/** Actor-owned resources used only for the exact durable-draft fence. */
|
|
1539
|
+
composerDraftResources?: ResourceRef[];
|
|
1538
1540
|
model?: string | null;
|
|
1539
1541
|
reasoningEffort?: ReasoningEffort | null;
|
|
1540
1542
|
latencyMode?: LatencyMode | null;
|
|
@@ -1601,6 +1603,11 @@ export async function submitHumanPromptInTransaction(
|
|
|
1601
1603
|
annotations,
|
|
1602
1604
|
modelContext: input.modelContext ?? null,
|
|
1603
1605
|
resources: withCanonicalResourceMountPaths(input.resources),
|
|
1606
|
+
...(input.composerDraftResources
|
|
1607
|
+
? {
|
|
1608
|
+
composerDraftResources: withCanonicalResourceMountPaths(input.composerDraftResources),
|
|
1609
|
+
}
|
|
1610
|
+
: {}),
|
|
1604
1611
|
model: input.model ?? null,
|
|
1605
1612
|
reasoningEffort: input.reasoningEffort ?? null,
|
|
1606
1613
|
latencyMode: input.latencyMode ?? null,
|
|
@@ -1777,7 +1784,9 @@ export async function submitHumanPromptInTransaction(
|
|
|
1777
1784
|
canonicalSessionCommandHash({
|
|
1778
1785
|
text: input.text,
|
|
1779
1786
|
annotations: annotations.map(({ ordinal: _ordinal, ...annotation }) => annotation),
|
|
1780
|
-
resources: withCanonicalResourceMountPaths(
|
|
1787
|
+
resources: withCanonicalResourceMountPaths(
|
|
1788
|
+
input.composerDraftResources ?? input.resources,
|
|
1789
|
+
),
|
|
1781
1790
|
model: input.model ?? session.model,
|
|
1782
1791
|
reasoningEffort: input.reasoningEffort ?? input.reasoningEffortFallback,
|
|
1783
1792
|
latencyMode: input.turnExecutionPolicy?.latencyMode ?? input.latencyMode ?? "standard",
|
|
@@ -15,7 +15,12 @@ export const TOOL_RESULT_TYPE_BY_CALL_TYPE: Readonly<Record<string, string>> = {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
export function historyCallId(item: Record<string, unknown>): string | null {
|
|
18
|
-
const
|
|
18
|
+
const providerData =
|
|
19
|
+
item.providerData && typeof item.providerData === "object" && !Array.isArray(item.providerData)
|
|
20
|
+
? (item.providerData as Record<string, unknown>)
|
|
21
|
+
: null;
|
|
22
|
+
const value =
|
|
23
|
+
item.callId ?? item.call_id ?? providerData?.callId ?? providerData?.call_id ?? item.id;
|
|
19
24
|
return typeof value === "string" && value.length > 0 ? value : null;
|
|
20
25
|
}
|
|
21
26
|
|