@opengeni/db 4.3.2 → 4.3.3-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.js +3 -3
- package/dist/{chunk-UVBPOGA7.js → chunk-232VC2LW.js} +2 -2
- package/dist/{chunk-DVSLOUEI.js → chunk-2ZMTQVTR.js} +2 -2
- package/dist/{chunk-AI4NC6XW.js → chunk-6TKL3GQO.js} +47 -1
- package/dist/chunk-6TKL3GQO.js.map +1 -0
- package/dist/{chunk-F4BIHJ7J.js → chunk-EYF6MH6C.js} +4 -4
- package/dist/{chunk-I4ITNMX2.js → chunk-GVZJ7XSR.js} +16 -4
- package/dist/{chunk-I4ITNMX2.js.map → chunk-GVZJ7XSR.js.map} +1 -1
- package/dist/{chunk-XBXANJQS.js → chunk-M7PSMVFF.js} +2 -2
- package/dist/{chunk-PFBUHOI5.js → chunk-QLA3UQNX.js} +3 -3
- package/dist/{chunk-YVYBAWBU.js → chunk-THJGMEK5.js} +53 -1
- package/dist/chunk-THJGMEK5.js.map +1 -0
- package/dist/{chunk-UUPY6IGP.js → chunk-UK57QA2H.js} +2 -2
- package/dist/connection-token-resolver.d.ts +2 -0
- package/dist/database.d.ts +7 -2
- package/dist/editable-artifact-durable-export.js +2 -2
- package/dist/editable-artifacts.js +3 -3
- package/dist/host-mcp-bindings.d.ts +3 -1
- package/dist/index.d.ts +9 -0
- package/dist/index.js +85 -26
- package/dist/index.js.map +1 -1
- package/dist/managed-auth-session-sets.js +3 -3
- package/dist/mcp-operations.d.ts +95 -0
- package/dist/mcp-operations.js +95 -0
- package/dist/mcp-operations.js.map +1 -0
- package/dist/provision-roles.js +1 -1
- package/dist/retained-provider-commands.js +2 -2
- package/dist/runtime-posture.d.ts +3 -3
- package/dist/schema.d.ts +517 -0
- package/dist/schema.js +3 -1
- package/dist/session-background-commands.js +4 -4
- package/dist/session-command-output.js +4 -4
- package/dist/session-event-slices.js +2 -2
- package/dist/session-tenancy.js +3 -3
- package/dist/video-generation.js +3 -3
- package/dist/workspace-tool-defaults.js +4 -4
- package/drizzle/0459_mcp_operations.sql +396 -0
- package/package.json +10 -6
- package/src/connection-token-resolver.ts +2 -0
- package/src/database.ts +23 -2
- package/src/host-mcp-bindings.ts +14 -1
- package/src/index.ts +84 -4
- package/src/mcp-operations.ts +189 -0
- package/src/provision-roles.ts +6 -0
- package/src/runtime-posture.ts +50 -0
- package/src/schema.ts +46 -0
- package/dist/chunk-AI4NC6XW.js.map +0 -1
- package/dist/chunk-YVYBAWBU.js.map +0 -1
- /package/dist/{chunk-UVBPOGA7.js.map → chunk-232VC2LW.js.map} +0 -0
- /package/dist/{chunk-DVSLOUEI.js.map → chunk-2ZMTQVTR.js.map} +0 -0
- /package/dist/{chunk-F4BIHJ7J.js.map → chunk-EYF6MH6C.js.map} +0 -0
- /package/dist/{chunk-XBXANJQS.js.map → chunk-M7PSMVFF.js.map} +0 -0
- /package/dist/{chunk-PFBUHOI5.js.map → chunk-QLA3UQNX.js.map} +0 -0
- /package/dist/{chunk-UUPY6IGP.js.map → chunk-UK57QA2H.js.map} +0 -0
|
@@ -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-2ZMTQVTR.js";
|
|
15
|
+
import "./chunk-GVZJ7XSR.js";
|
|
16
|
+
import "./chunk-6TKL3GQO.js";
|
|
17
17
|
import "./chunk-PZ5AY32C.js";
|
|
18
18
|
export {
|
|
19
19
|
CanonicalHumanIdentityAuthorityError,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
rawRows,
|
|
3
3
|
withRlsContext
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GVZJ7XSR.js";
|
|
5
5
|
|
|
6
6
|
// src/editable-artifacts.ts
|
|
7
7
|
import { createHash } from "crypto";
|
|
@@ -3540,4 +3540,4 @@ export {
|
|
|
3540
3540
|
PostgresEditableArtifactStore,
|
|
3541
3541
|
PostgresEditableArtifactLiveReadStore
|
|
3542
3542
|
};
|
|
3543
|
-
//# sourceMappingURL=chunk-
|
|
3543
|
+
//# sourceMappingURL=chunk-232VC2LW.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
nestedPostgresSqlState,
|
|
3
3
|
rawRows
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GVZJ7XSR.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-2ZMTQVTR.js.map
|
|
@@ -172,6 +172,7 @@ __export(schema_exports, {
|
|
|
172
172
|
mcpOauthAuthorizationRequests: () => mcpOauthAuthorizationRequests,
|
|
173
173
|
mcpOauthClients: () => mcpOauthClients,
|
|
174
174
|
mcpOauthRefreshTokens: () => mcpOauthRefreshTokens,
|
|
175
|
+
mcpOperations: () => mcpOperations,
|
|
175
176
|
memorySlackPublicationConfigurations: () => memorySlackPublicationConfigurations,
|
|
176
177
|
memorySlackPublicationReceipts: () => memorySlackPublicationReceipts,
|
|
177
178
|
memorySlackPublications: () => memorySlackPublications,
|
|
@@ -12354,6 +12355,49 @@ var sessionRealtimeContextProjections = pgTable20(
|
|
|
12354
12355
|
)
|
|
12355
12356
|
})
|
|
12356
12357
|
);
|
|
12358
|
+
var mcpOperations = pgTable20(
|
|
12359
|
+
"mcp_operations",
|
|
12360
|
+
{
|
|
12361
|
+
operationId: uuid20("operation_id").primaryKey(),
|
|
12362
|
+
accountId: uuid20("account_id").notNull(),
|
|
12363
|
+
workspaceId: uuid20("workspace_id").notNull(),
|
|
12364
|
+
sessionId: uuid20("session_id").notNull(),
|
|
12365
|
+
sourceTurnId: uuid20("source_turn_id").notNull(),
|
|
12366
|
+
sourceAttemptId: uuid20("source_attempt_id").notNull(),
|
|
12367
|
+
sourceExecutionGeneration: integer18("source_execution_generation").notNull(),
|
|
12368
|
+
sourceCallId: text20("source_call_id"),
|
|
12369
|
+
principalKind: text20("principal_kind").notNull(),
|
|
12370
|
+
principalId: text20("principal_id").notNull(),
|
|
12371
|
+
principalMembershipId: uuid20("principal_membership_id"),
|
|
12372
|
+
principalMembershipRevision: bigint14("principal_membership_revision", { mode: "number" }),
|
|
12373
|
+
serverId: text20("server_id").notNull(),
|
|
12374
|
+
originalTool: text20("original_tool").notNull(),
|
|
12375
|
+
observerTool: text20("observer_tool").notNull(),
|
|
12376
|
+
argumentDigest: text20("argument_digest").notNull(),
|
|
12377
|
+
destinationDigest: text20("destination_digest").notNull(),
|
|
12378
|
+
authorityDigest: text20("authority_digest").notNull(),
|
|
12379
|
+
originalOutcome: text20("original_outcome").notNull().default("captured"),
|
|
12380
|
+
originalResult: jsonb16("original_result"),
|
|
12381
|
+
originalResultCodecVersion: integer18("original_result_codec_version"),
|
|
12382
|
+
observationResult: jsonb16("observation_result"),
|
|
12383
|
+
observationResultCodecVersion: integer18("observation_result_codec_version"),
|
|
12384
|
+
receiptRevision: text20("receipt_revision"),
|
|
12385
|
+
receiptDigest: text20("receipt_digest"),
|
|
12386
|
+
observationClaimId: uuid20("observation_claim_id"),
|
|
12387
|
+
observationClaimAttemptId: uuid20("observation_claim_attempt_id"),
|
|
12388
|
+
observationClaimExpiresAt: timestamp20("observation_claim_expires_at", { withTimezone: true }),
|
|
12389
|
+
createdAt: timestamp20("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
12390
|
+
observedAt: timestamp20("observed_at", { withTimezone: true })
|
|
12391
|
+
},
|
|
12392
|
+
(table) => ({
|
|
12393
|
+
source: index19("mcp_operations_source_idx").on(
|
|
12394
|
+
table.workspaceId,
|
|
12395
|
+
table.sessionId,
|
|
12396
|
+
table.sourceTurnId,
|
|
12397
|
+
table.sourceCallId
|
|
12398
|
+
)
|
|
12399
|
+
})
|
|
12400
|
+
);
|
|
12357
12401
|
var sessionTurnAttempts = pgTable20(
|
|
12358
12402
|
"session_turn_attempts",
|
|
12359
12403
|
{
|
|
@@ -18239,6 +18283,7 @@ export {
|
|
|
18239
18283
|
withLosslessContentWriteVersion,
|
|
18240
18284
|
LOSSLESS_JSON_STRING_PREFIX,
|
|
18241
18285
|
LOSSLESS_TEXT_PREFIX,
|
|
18286
|
+
toPostgresLosslessJson,
|
|
18242
18287
|
fromPostgresLosslessJson,
|
|
18243
18288
|
toPostgresLosslessText,
|
|
18244
18289
|
fromPostgresLosslessText,
|
|
@@ -18481,6 +18526,7 @@ export {
|
|
|
18481
18526
|
turnPersonalResourceSnapshots,
|
|
18482
18527
|
turnPersonalResourceOnceReceipts,
|
|
18483
18528
|
sessionRealtimeContextProjections,
|
|
18529
|
+
mcpOperations,
|
|
18484
18530
|
sessionTurnAttempts,
|
|
18485
18531
|
sessionTurnStartupMilestones,
|
|
18486
18532
|
turnConnectionAuthoritySnapshots,
|
|
@@ -18604,4 +18650,4 @@ export {
|
|
|
18604
18650
|
feedbackSubmissions,
|
|
18605
18651
|
schema_exports
|
|
18606
18652
|
};
|
|
18607
|
-
//# sourceMappingURL=chunk-
|
|
18653
|
+
//# sourceMappingURL=chunk-6TKL3GQO.js.map
|