@opengeni/db 3.7.3-canary.0 → 3.7.4-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/automations.d.ts +4 -0
- package/dist/canonical-human-identities.js +3 -3
- package/dist/{chunk-U4WPPEBH.js → chunk-3ZMN4EXC.js} +2 -2
- package/dist/{chunk-4NAR7FBA.js → chunk-6FIVOJ3V.js} +5 -1
- package/dist/{chunk-4NAR7FBA.js.map → chunk-6FIVOJ3V.js.map} +1 -1
- package/dist/{chunk-O56DM5GZ.js → chunk-DXJ2WY6W.js} +88 -1
- package/dist/chunk-DXJ2WY6W.js.map +1 -0
- package/dist/{chunk-S3TDDCS2.js → chunk-JP6IYGYI.js} +3 -3
- package/dist/{chunk-SZAWDXQC.js → chunk-JS3AWDKZ.js} +3 -3
- package/dist/{chunk-DZCYW2WT.js → chunk-LHKB62GC.js} +2 -2
- package/dist/{chunk-US4IS6IV.js → chunk-QL4AHBYD.js} +2 -2
- package/dist/{chunk-5NNCGFQY.js → chunk-VDXHLVDE.js} +2 -2
- package/dist/{chunk-F6PBS6WE.js → chunk-ZTSJPFDH.js} +2 -2
- package/dist/editable-artifact-durable-export.js +2 -2
- package/dist/editable-artifacts.js +3 -3
- package/dist/index.d.ts +105 -2
- package/dist/index.js +6241 -5241
- package/dist/index.js.map +1 -1
- package/dist/managed-auth-session-sets.js +3 -3
- package/dist/model-catalog.d.ts +153 -0
- package/dist/pr-review.d.ts +9 -0
- package/dist/provision-roles.js +1 -1
- package/dist/runtime-posture.d.ts +4 -4
- package/dist/schema.d.ts +344 -2
- package/dist/schema.js +5 -1
- package/dist/session-background-commands.js +3 -3
- package/dist/session-control.d.ts +35 -0
- package/dist/session-queue-commands.d.ts +17 -0
- package/dist/session-tenancy.js +3 -3
- package/dist/video-generation.js +3 -3
- package/dist/xai-subscription.d.ts +8 -0
- package/drizzle/0387_bound_host_export_session_payloads.sql +165 -0
- package/drizzle/0388_sandbox_provider_deadline_interactions.sql +491 -0
- package/drizzle/0389_model_catalog_and_gateway_custom_models.sql +241 -0
- package/package.json +6 -6
- package/src/automations.ts +9 -1
- package/src/index.ts +850 -117
- package/src/insights.ts +21 -7
- package/src/model-catalog.ts +682 -0
- package/src/pr-review.ts +19 -0
- package/src/runtime-posture.ts +4 -0
- package/src/schema.ts +98 -2
- package/src/session-control.ts +170 -0
- package/src/session-queue-commands.ts +157 -82
- package/src/xai-subscription.ts +66 -14
- package/dist/chunk-O56DM5GZ.js.map +0 -1
- /package/dist/{chunk-U4WPPEBH.js.map → chunk-3ZMN4EXC.js.map} +0 -0
- /package/dist/{chunk-S3TDDCS2.js.map → chunk-JP6IYGYI.js.map} +0 -0
- /package/dist/{chunk-SZAWDXQC.js.map → chunk-JS3AWDKZ.js.map} +0 -0
- /package/dist/{chunk-DZCYW2WT.js.map → chunk-LHKB62GC.js.map} +0 -0
- /package/dist/{chunk-US4IS6IV.js.map → chunk-QL4AHBYD.js.map} +0 -0
- /package/dist/{chunk-5NNCGFQY.js.map → chunk-VDXHLVDE.js.map} +0 -0
- /package/dist/{chunk-F6PBS6WE.js.map → chunk-ZTSJPFDH.js.map} +0 -0
package/dist/automations.d.ts
CHANGED
|
@@ -75,6 +75,8 @@ export declare function createAutomationTrigger(db: Database, input: {
|
|
|
75
75
|
createdBySubjectId: string;
|
|
76
76
|
request: CreateAutomationTriggerRequest;
|
|
77
77
|
adapterId: string;
|
|
78
|
+
/** Trusted database-only admission seam. Throwing rolls creation back. */
|
|
79
|
+
beforeCreateCommit?: (tx: Database) => Promise<void>;
|
|
78
80
|
}): Promise<AutomationTrigger>;
|
|
79
81
|
export declare function listAutomationTriggers(db: Database, workspaceId: string): Promise<AutomationTrigger[]>;
|
|
80
82
|
export declare function listActiveAutomationTriggersForSource(db: Database, input: {
|
|
@@ -94,6 +96,8 @@ export declare function updateAutomationTrigger(db: Database, input: {
|
|
|
94
96
|
triggerId: string;
|
|
95
97
|
subjectId: string;
|
|
96
98
|
request: UpdateAutomationTriggerRequest;
|
|
99
|
+
/** Trusted database-only admission seam. Throwing rolls the revision back. */
|
|
100
|
+
beforeUpdateCommit?: (tx: Database) => Promise<void>;
|
|
97
101
|
}): Promise<AutomationTrigger | null>;
|
|
98
102
|
export declare function recordAutomationEvent(db: Database, input: {
|
|
99
103
|
accountId: string;
|
|
@@ -11,9 +11,9 @@ import {
|
|
|
11
11
|
getCanonicalHumanIdentityProjection,
|
|
12
12
|
synchronizeCanonicalHumanLoginBindings,
|
|
13
13
|
validateCanonicalHumanSession
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-3ZMN4EXC.js";
|
|
15
|
+
import "./chunk-ZTSJPFDH.js";
|
|
16
|
+
import "./chunk-DXJ2WY6W.js";
|
|
17
17
|
import "./chunk-PZ5AY32C.js";
|
|
18
18
|
export {
|
|
19
19
|
CanonicalHumanIdentityAuthorityError,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
nestedPostgresSqlState,
|
|
3
3
|
rawRows
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZTSJPFDH.js";
|
|
5
5
|
|
|
6
6
|
// src/canonical-human-identities.ts
|
|
7
7
|
import { createHash } from "crypto";
|
|
@@ -309,4 +309,4 @@ export {
|
|
|
309
309
|
getCanonicalHumanIdentityProjection,
|
|
310
310
|
applyCanonicalHumanIdentityOperation
|
|
311
311
|
};
|
|
312
|
-
//# sourceMappingURL=chunk-
|
|
312
|
+
//# sourceMappingURL=chunk-3ZMN4EXC.js.map
|
|
@@ -966,6 +966,7 @@ var FORCE_RLS_TABLES = [
|
|
|
966
966
|
"workspace_captures",
|
|
967
967
|
"workspace_codex_subscription_preferences",
|
|
968
968
|
"workspace_control_events",
|
|
969
|
+
"workspace_gateway_custom_models",
|
|
969
970
|
"workspace_inference_controls",
|
|
970
971
|
"workspace_instruction_policy_activation_events",
|
|
971
972
|
"workspace_instruction_policy_deactivation_events",
|
|
@@ -999,6 +1000,7 @@ var NON_RLS_RUNTIME_TABLES = [
|
|
|
999
1000
|
"auth_users",
|
|
1000
1001
|
"auth_verifications",
|
|
1001
1002
|
"automation_webhook_endpoints",
|
|
1003
|
+
"deployment_model_catalog",
|
|
1002
1004
|
"integration_oauth_clients",
|
|
1003
1005
|
"managed_accounts",
|
|
1004
1006
|
"nested_agent_depth_configuration",
|
|
@@ -1147,6 +1149,7 @@ var RUNTIME_FULL_DML_TABLES = [
|
|
|
1147
1149
|
"workspace_captures",
|
|
1148
1150
|
"workspace_codex_subscription_preferences",
|
|
1149
1151
|
"workspace_control_events",
|
|
1152
|
+
"workspace_gateway_custom_models",
|
|
1150
1153
|
"workspace_inference_controls",
|
|
1151
1154
|
"workspace_instruction_policy_heads",
|
|
1152
1155
|
"workspace_memberships",
|
|
@@ -1166,6 +1169,7 @@ var RUNTIME_READ_ONLY_TABLES = [
|
|
|
1166
1169
|
"company_profile_activation_events",
|
|
1167
1170
|
"company_profile_heads",
|
|
1168
1171
|
"company_profile_snapshots",
|
|
1172
|
+
"deployment_model_catalog",
|
|
1169
1173
|
"document_authority_reclassifications",
|
|
1170
1174
|
"knowledge_lifecycle_events",
|
|
1171
1175
|
"knowledge_memory_lifecycle_events",
|
|
@@ -5102,4 +5106,4 @@ export {
|
|
|
5102
5106
|
runtimeDatabaseReadyCheck,
|
|
5103
5107
|
provisionRoles
|
|
5104
5108
|
};
|
|
5105
|
-
//# sourceMappingURL=chunk-
|
|
5109
|
+
//# sourceMappingURL=chunk-6FIVOJ3V.js.map
|