@opengeni/db 3.2.2 → 3.3.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/capability-reconciliation.js +2 -2
- package/dist/{chunk-V2X2NK7T.js → chunk-5MPQZI43.js} +2675 -2540
- package/dist/{chunk-V2X2NK7T.js.map → chunk-5MPQZI43.js.map} +1 -1
- package/dist/{chunk-L3NT43Z5.js → chunk-7K5AVQUZ.js} +3 -3
- package/dist/{chunk-JYPBOJ2Y.js → chunk-AAOKWNHE.js} +4 -4
- package/dist/{chunk-D7LTIG33.js → chunk-B4RMLA2X.js} +2 -2
- package/dist/{chunk-OXO32LTK.js → chunk-CEJ3NQ3B.js} +11 -1
- package/dist/chunk-CEJ3NQ3B.js.map +1 -0
- package/dist/{chunk-AYZC65QU.js → chunk-CGSINPLW.js} +2 -2
- package/dist/{chunk-VCJAYIPH.js → chunk-FX2PSMGH.js} +2 -2
- package/dist/{chunk-HMKUJ6NI.js → chunk-HQWXEF77.js} +57 -9
- package/dist/chunk-HQWXEF77.js.map +1 -0
- package/dist/{chunk-V22DUH4C.js → chunk-HWEHZKHA.js} +5 -5
- package/dist/{chunk-6UU7OVUN.js → chunk-JTBJGSUZ.js} +37 -7
- package/dist/chunk-JTBJGSUZ.js.map +1 -0
- package/dist/{chunk-YH4GWEDM.js → chunk-KPC7I5WG.js} +2 -2
- package/dist/{chunk-XQHABE23.js → chunk-OWM6XG55.js} +4 -4
- package/dist/{chunk-YWHG45TK.js → chunk-PNEJVKKV.js} +6 -6
- package/dist/{chunk-4BAKPTPG.js → chunk-S74WULCK.js} +3 -3
- package/dist/{chunk-K6NT66NP.js → chunk-SDKFRIAN.js} +4 -4
- package/dist/{chunk-RCDMYTLP.js → chunk-UWS5DJQ6.js} +2 -2
- package/dist/{chunk-LRRGVHAQ.js → chunk-VUR5U5B3.js} +2 -2
- package/dist/{chunk-IF63BST7.js → chunk-Y4ERASEM.js} +2 -2
- package/dist/{chunk-VBG4TW5C.js → chunk-ZZOEKHGU.js} +2 -2
- package/dist/connect-attempts.js +3 -3
- package/dist/database.d.ts +9 -0
- package/dist/editable-artifact-durable-export.js +2 -2
- package/dist/editable-artifacts.js +3 -3
- package/dist/index.d.ts +93 -22
- package/dist/index.js +31 -19
- package/dist/insights-site-usage.d.ts +10 -0
- package/dist/managed-auth-session-sets.js +3 -3
- package/dist/mcp-operations.js +2 -2
- package/dist/migrate.js +19 -19
- package/dist/organization-integration-policy.js +3 -3
- package/dist/provision-roles.js +1 -1
- package/dist/retained-provider-commands.js +6 -6
- package/dist/schema.d.ts +102 -0
- package/dist/schema.js +1 -1
- package/dist/session-background-commands.js +5 -5
- package/dist/session-command-output.js +5 -5
- package/dist/session-event-slices.js +3 -3
- package/dist/session-mcp-credential-rotation.js +6 -6
- package/dist/session-tenancy.js +6 -6
- package/dist/site-publishing.d.ts +11 -0
- package/dist/{subscription-core-codex-4G4CCOJU.js → subscription-core-codex-HIAP7CY2.js} +6 -6
- package/dist/{subscription-core-codex-compat-64ACIZVP.js → subscription-core-codex-compat-IBERN7DU.js} +8 -8
- package/dist/video-generation.js +3 -3
- package/dist/workspace-tool-defaults.js +5 -5
- package/drizzle/0793_private_site_sessions.sql +166 -0
- package/drizzle/0794_site_ai_insights.sql +175 -0
- package/drizzle/0795_site_lifecycle_cancellation.sql +121 -0
- package/package.json +9 -9
- package/src/database.ts +44 -3
- package/src/index.ts +142 -11
- package/src/insights-site-usage.ts +37 -0
- package/src/provision-roles.ts +15 -0
- package/src/runtime-posture.ts +76 -7
- package/src/schema.ts +10 -0
- package/src/site-publishing.ts +35 -0
- package/dist/chunk-6UU7OVUN.js.map +0 -1
- package/dist/chunk-HMKUJ6NI.js.map +0 -1
- package/dist/chunk-OXO32LTK.js.map +0 -1
- /package/dist/{chunk-L3NT43Z5.js.map → chunk-7K5AVQUZ.js.map} +0 -0
- /package/dist/{chunk-JYPBOJ2Y.js.map → chunk-AAOKWNHE.js.map} +0 -0
- /package/dist/{chunk-D7LTIG33.js.map → chunk-B4RMLA2X.js.map} +0 -0
- /package/dist/{chunk-AYZC65QU.js.map → chunk-CGSINPLW.js.map} +0 -0
- /package/dist/{chunk-VCJAYIPH.js.map → chunk-FX2PSMGH.js.map} +0 -0
- /package/dist/{chunk-V22DUH4C.js.map → chunk-HWEHZKHA.js.map} +0 -0
- /package/dist/{chunk-YH4GWEDM.js.map → chunk-KPC7I5WG.js.map} +0 -0
- /package/dist/{chunk-XQHABE23.js.map → chunk-OWM6XG55.js.map} +0 -0
- /package/dist/{chunk-YWHG45TK.js.map → chunk-PNEJVKKV.js.map} +0 -0
- /package/dist/{chunk-4BAKPTPG.js.map → chunk-S74WULCK.js.map} +0 -0
- /package/dist/{chunk-K6NT66NP.js.map → chunk-SDKFRIAN.js.map} +0 -0
- /package/dist/{chunk-RCDMYTLP.js.map → chunk-UWS5DJQ6.js.map} +0 -0
- /package/dist/{chunk-LRRGVHAQ.js.map → chunk-VUR5U5B3.js.map} +0 -0
- /package/dist/{chunk-IF63BST7.js.map → chunk-Y4ERASEM.js.map} +0 -0
- /package/dist/{chunk-VBG4TW5C.js.map → chunk-ZZOEKHGU.js.map} +0 -0
- /package/dist/{subscription-core-codex-4G4CCOJU.js.map → subscription-core-codex-HIAP7CY2.js.map} +0 -0
- /package/dist/{subscription-core-codex-compat-64ACIZVP.js.map → subscription-core-codex-compat-IBERN7DU.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -132,6 +132,7 @@ export * from "./site-data.js";
|
|
|
132
132
|
export * from "./site-publishing.js";
|
|
133
133
|
export { withSiteRuntimeAdmission } from "./site-runtime-admission.js";
|
|
134
134
|
export * from "./site-platform.js";
|
|
135
|
+
export * from "./insights-site-usage.js";
|
|
135
136
|
export * from "./scheduled-slack-bot-messages.js";
|
|
136
137
|
export * from "./organization-signup-use-cases.js";
|
|
137
138
|
export * from "./site-sql.js";
|
|
@@ -395,7 +396,7 @@ export * from "./memory-domain.js";
|
|
|
395
396
|
export * from "./model-catalog.js";
|
|
396
397
|
import { type Database, type SessionActivityDatabase } from "./database.js";
|
|
397
398
|
export { createDb, databaseReconnectBackoffSeconds, registerDbBinding, retrySessionActivityRls, rlsContextForWorkspace, rlsStrategyFor, setRlsContext, setSubjectRlsContext, withAccountRls, withDatabaseStatementTimeout, withRlsContext, withSessionActivityRlsContext, withSessionActivitySavepoint, withWorkspaceRls, withWorkspaceSessionActivityRls, withWorkspaceSubjectRls, withWorkspaceSubjectSessionActivityRls, withWorkspaceUsageLock, withSandboxProviderReadLock, SandboxProviderReadLockUnavailableError, type CreateDbOptions, type Database, type DbClient, type SessionActivityDatabase, type RlsContext, type SessionRlsActorContext, type RlsStrategy, type SandboxProviderReadLockIdentity, type ManagedUserProfile, type UserLookup, type UserProfileLookup, } from "./database.js";
|
|
398
|
-
export { currentSessionRlsActorIdentityKey, currentSessionRlsActorInitiatingHumanSubjectId, withSessionRlsActorContext, } from "./database.js";
|
|
399
|
+
export { currentSessionRlsActorIdentityKey, currentSessionRlsActorContext, currentSiteViewerRlsContext, withSiteViewerRlsContext, currentSessionRlsActorInitiatingHumanSubjectId, withSessionRlsActorContext, } from "./database.js";
|
|
399
400
|
export { withDatabaseTimingObserver, type DatabaseTimingObservation } from "./database-timing.js";
|
|
400
401
|
export { BROKERED_CREDENTIAL_SHAPE_HINT, brokeredCredentialBundleProblem, normalizedCredentialHeaders, } from "./connection-token-resolver.js";
|
|
401
402
|
import { type CodexAuthDeps, type CodexCredentialCooldownKind } from "./codex-token-resolver.js";
|
|
@@ -5700,6 +5701,10 @@ export type SessionAuthorityProjection = SessionAccessProjection & {
|
|
|
5700
5701
|
authorityEpoch: number;
|
|
5701
5702
|
visibility: "user_private" | "workspace_shared";
|
|
5702
5703
|
ownerSubjectId: string | null;
|
|
5704
|
+
siteId: string | null;
|
|
5705
|
+
siteAccessRootId: string | null;
|
|
5706
|
+
siteViewerPrincipal: string | null;
|
|
5707
|
+
siteOwnerSubjectId: string | null;
|
|
5703
5708
|
};
|
|
5704
5709
|
export declare function getSessionAuthorityProjection(db: Database, workspaceId: string, sessionId: string): Promise<SessionAuthorityProjection | null>;
|
|
5705
5710
|
/** Workspace-RLS read of one session's frozen agent-access and memory scope. */
|
|
@@ -6314,6 +6319,72 @@ export declare function listSessionEvents(db: Database, workspaceId: string, ses
|
|
|
6314
6319
|
export declare function listSessionEvents(db: Database, workspaceId: string, sessionId: string, after: number, limit?: number): Promise<SessionEvent[]>;
|
|
6315
6320
|
export declare function listSessionEvents(db: Database, workspaceId: string, sessionId: string, options: ListSessionEventsOptions): Promise<SessionEvent[]>;
|
|
6316
6321
|
export declare function getSessionEvent(db: Database, workspaceId: string, eventId: string): Promise<SessionEvent | null>;
|
|
6322
|
+
/**
|
|
6323
|
+
* Trusted Site lifecycle only: cancel an exact published root using native
|
|
6324
|
+
* controls. No request/agent endpoint exposes this adapter or its transaction.
|
|
6325
|
+
* The host has authorized the Site mutation; its actor stays unchanged.
|
|
6326
|
+
* Only the receipt and events written by this command leave the capability.
|
|
6327
|
+
*/
|
|
6328
|
+
export declare function cancelSiteRuntimeConversation(db: Database, input: {
|
|
6329
|
+
accountId: string;
|
|
6330
|
+
workspaceId: string;
|
|
6331
|
+
siteId: string;
|
|
6332
|
+
sessionId: string;
|
|
6333
|
+
operationKey: string;
|
|
6334
|
+
reason: string;
|
|
6335
|
+
}): Promise<{
|
|
6336
|
+
receiptId: string;
|
|
6337
|
+
replay: boolean;
|
|
6338
|
+
cancelledSessionCount: number;
|
|
6339
|
+
cancelledTurnCount: number;
|
|
6340
|
+
wakeCount: number;
|
|
6341
|
+
events: {
|
|
6342
|
+
id: string;
|
|
6343
|
+
workspaceId: string;
|
|
6344
|
+
sessionId: string;
|
|
6345
|
+
sequence: number;
|
|
6346
|
+
coveredThrough?: number | undefined;
|
|
6347
|
+
type: "agent.message.completed" | "agent.message.delta" | "agent.model.request" | "agent.model.usage" | "agent.reasoning.delta" | "agent.toolCall.created" | "agent.toolCall.output" | "agent.updated" | "artifact.created" | "codex.account.selection.changed" | "codex.account.switched" | "codex.capacity.resumed" | "codex.capacity.superseded" | "codex.capacity.waiting" | "codex.credential.selected" | "codex.fleet.decision" | "credential.auth_needed" | "fs.changed" | "git.changed" | "goal.cleared" | "goal.completed" | "goal.continuation" | "goal.held" | "goal.paused" | "goal.progress" | "goal.resumed" | "goal.rewrite.proposed" | "goal.rewrite.rejected" | "goal.set" | "goal.updated" | "instruction.confirmation.recovered" | "knowledge.confirmation.recovered" | "knowledge.source.failed" | "knowledge.source.prepared" | "machine.link.lost" | "machine.link.restored" | "machine.op.failed" | "machine.op.recovered" | "machine.runner.restarted" | "memory.corrected" | "memory.saved" | "model_account.selection.changed" | "recording.available" | "recording.failed" | "recording.started" | "rig.setup.completed" | "rig.setup.failed" | "rig.setup.skipped" | "rig.setup.started" | "sandbox.box.created" | "sandbox.box.lost" | "sandbox.box.snapshot" | "sandbox.box.terminated" | "sandbox.command.output.delta" | "sandbox.env.drift" | "sandbox.operation.completed" | "sandbox.operation.failed" | "sandbox.operation.started" | "session.agent.updated" | "session.command.backgrounded" | "session.command.finished" | "session.context.cleared" | "session.context.compacted" | "session.context.compaction.requested" | "session.context.compaction.skipped" | "session.context.compaction.started" | "session.control.paused" | "session.control.resumed" | "session.control.steer_requested" | "session.created" | "session.event.envelope_omitted" | "session.humanInput.requested" | "session.mcp.approval_policy.updated" | "session.model_settings.updated" | "session.notification.posted" | "session.notification.withdrawn" | "session.personal_resources.attached" | "session.queue.changed" | "session.queue.history" | "session.queue.prompt.cancelled" | "session.realtime.ended" | "session.realtime.started" | "session.requiresAction" | "session.route.reconciled" | "session.runtime.configured" | "session.skills.updated" | "session.status.changed" | "session.title_set" | "session.tool_policy.updated" | "session.usage_limit.updated" | "session.variable_sets.updated" | "session.visibility.changed" | "session.wait.finished" | "session.wait.started" | "stream.closed" | "stream.opened" | "stream.revoked" | "stream.url.rotated" | "subscription.account.selected" | "subscription.account.switched" | "system.update.cancelled" | "system.update.delivered" | "system.update.pending" | "system.update.settled" | "system.update.superseded" | "terminal.pty.exited" | "terminal.pty.output.delta" | "terminal.pty.started" | "tool.auth_needed" | "turn.cancelled" | "turn.capacity_waiting" | "turn.completed" | "turn.dispatch.expired" | "turn.event.rejected_late" | "turn.failed" | "turn.queued" | "turn.recovery.requested" | "turn.started" | "turn.startup.phase.completed" | "turn.startup.phase.failed" | "turn.startup.phase.started" | "turn.superseded" | "usage.exhausted" | "usage.period_reset" | "usage.threshold_reached" | "user.approvalDecision" | "user.humanInputResponse" | "user.message" | "user.pause" | "workspace.inference.paused" | "workspace.inference.resumed" | "workspace.revision.captured" | "workspace.revision.degraded";
|
|
6348
|
+
payload: unknown;
|
|
6349
|
+
occurredAt: string;
|
|
6350
|
+
clientEventId?: string | null | undefined;
|
|
6351
|
+
turnId?: string | null | undefined;
|
|
6352
|
+
turnGeneration?: number | null | undefined;
|
|
6353
|
+
turnAttemptId?: string | null | undefined;
|
|
6354
|
+
turnAssociation?: "current" | "duplicate" | "late_rejected" | null | undefined;
|
|
6355
|
+
duplicateOfEventId?: string | null | undefined;
|
|
6356
|
+
duplicateReason?: string | null | undefined;
|
|
6357
|
+
}[];
|
|
6358
|
+
workspaceEvent: {
|
|
6359
|
+
id: string;
|
|
6360
|
+
workspaceId: string;
|
|
6361
|
+
sequence: number;
|
|
6362
|
+
revision: number;
|
|
6363
|
+
type: "workspace.control.changed";
|
|
6364
|
+
scope: "session" | "workspace";
|
|
6365
|
+
rootSessionId: string | null;
|
|
6366
|
+
action: "pause" | "resume" | "timer_cancelled" | "timer_set";
|
|
6367
|
+
automatic: boolean;
|
|
6368
|
+
reason: string | null;
|
|
6369
|
+
actor: string;
|
|
6370
|
+
occurredAt: string;
|
|
6371
|
+
truncation?: {
|
|
6372
|
+
truncated: true;
|
|
6373
|
+
surface: "database_guard" | "durable_control" | "http_projection" | "nats_legacy_guard" | "sse_legacy_guard";
|
|
6374
|
+
deliveredBytes: number;
|
|
6375
|
+
fields: {
|
|
6376
|
+
field: "actor" | "reason";
|
|
6377
|
+
originalBytes: number;
|
|
6378
|
+
deliveredBytes: number;
|
|
6379
|
+
omittedBytes: number;
|
|
6380
|
+
}[];
|
|
6381
|
+
fullEvidence: {
|
|
6382
|
+
available: false;
|
|
6383
|
+
reason: "not_retained";
|
|
6384
|
+
};
|
|
6385
|
+
} | null | undefined;
|
|
6386
|
+
} | null;
|
|
6387
|
+
} | null>;
|
|
6317
6388
|
/** Read one durable event under the exact human subject visibility projection. */
|
|
6318
6389
|
export declare function getSessionEventForSubject(db: Database, workspaceId: string, subjectId: string, eventId: string): Promise<SessionEvent | null>;
|
|
6319
6390
|
export declare function listWorkspaceControlEvents(db: Database, workspaceId: string, after?: number, limit?: number): Promise<WorkspaceControlEvent[]>;
|
|
@@ -9014,6 +9085,24 @@ export declare function retainedProviderCommandPersistence(...[db, scope, publis
|
|
|
9014
9085
|
requestCancellation: (reason: "provider_deadline" | "explicit_stop") => Promise<void>;
|
|
9015
9086
|
cancellationRequested: () => Promise<boolean>;
|
|
9016
9087
|
load: () => Promise<{
|
|
9088
|
+
kind: "modal-control-v1";
|
|
9089
|
+
sandboxId: string;
|
|
9090
|
+
taskId: string;
|
|
9091
|
+
execId: string;
|
|
9092
|
+
pty?: boolean | undefined;
|
|
9093
|
+
streams: {
|
|
9094
|
+
stdout: {
|
|
9095
|
+
batchIndex: number;
|
|
9096
|
+
utf8Remainder: string;
|
|
9097
|
+
exitCode: number | null;
|
|
9098
|
+
};
|
|
9099
|
+
stderr: {
|
|
9100
|
+
batchIndex: number;
|
|
9101
|
+
utf8Remainder: string;
|
|
9102
|
+
exitCode: number | null;
|
|
9103
|
+
};
|
|
9104
|
+
};
|
|
9105
|
+
} | {
|
|
9017
9106
|
kind: "modal-router-v1";
|
|
9018
9107
|
sandboxId: string;
|
|
9019
9108
|
taskId: string;
|
|
@@ -9039,7 +9128,8 @@ export declare function retainedProviderCommandPersistence(...[db, scope, publis
|
|
|
9039
9128
|
exitCode: number | null;
|
|
9040
9129
|
};
|
|
9041
9130
|
};
|
|
9042
|
-
} |
|
|
9131
|
+
} | null>;
|
|
9132
|
+
acknowledge: (command: import("@opengeni/contracts").SandboxProviderCommand) => Promise<{
|
|
9043
9133
|
kind: "modal-control-v1";
|
|
9044
9134
|
sandboxId: string;
|
|
9045
9135
|
taskId: string;
|
|
@@ -9057,8 +9147,7 @@ export declare function retainedProviderCommandPersistence(...[db, scope, publis
|
|
|
9057
9147
|
exitCode: number | null;
|
|
9058
9148
|
};
|
|
9059
9149
|
};
|
|
9060
|
-
} |
|
|
9061
|
-
acknowledge: (command: import("@opengeni/contracts").SandboxProviderCommand) => Promise<{
|
|
9150
|
+
} | {
|
|
9062
9151
|
kind: "modal-router-v1";
|
|
9063
9152
|
sandboxId: string;
|
|
9064
9153
|
taskId: string;
|
|
@@ -9084,24 +9173,6 @@ export declare function retainedProviderCommandPersistence(...[db, scope, publis
|
|
|
9084
9173
|
exitCode: number | null;
|
|
9085
9174
|
};
|
|
9086
9175
|
};
|
|
9087
|
-
} | {
|
|
9088
|
-
kind: "modal-control-v1";
|
|
9089
|
-
sandboxId: string;
|
|
9090
|
-
taskId: string;
|
|
9091
|
-
execId: string;
|
|
9092
|
-
pty?: boolean | undefined;
|
|
9093
|
-
streams: {
|
|
9094
|
-
stdout: {
|
|
9095
|
-
batchIndex: number;
|
|
9096
|
-
utf8Remainder: string;
|
|
9097
|
-
exitCode: number | null;
|
|
9098
|
-
};
|
|
9099
|
-
stderr: {
|
|
9100
|
-
batchIndex: number;
|
|
9101
|
-
utf8Remainder: string;
|
|
9102
|
-
exitCode: number | null;
|
|
9103
|
-
};
|
|
9104
|
-
};
|
|
9105
9176
|
}>;
|
|
9106
9177
|
reserveInput: (byteLength?: number) => Promise<number>;
|
|
9107
9178
|
captureRouterPage: (page: import("./retained-provider-commands.js").RetainedRouterOutputPage) => Promise<{
|
package/dist/index.js
CHANGED
|
@@ -510,6 +510,7 @@ import {
|
|
|
510
510
|
canReclaimTranscriptionRecordingAttempt,
|
|
511
511
|
cancelOrganizationRecoveryOperation,
|
|
512
512
|
cancelQueuedCodemodeOperationsForAttempt,
|
|
513
|
+
cancelSiteRuntimeConversation,
|
|
513
514
|
cancelSlackUserLinkAccessRequest,
|
|
514
515
|
canonicalJsonForContentDigest,
|
|
515
516
|
canonicalMemoryRelationship,
|
|
@@ -1385,6 +1386,7 @@ import {
|
|
|
1385
1386
|
listSharedWorkspacesForAccount,
|
|
1386
1387
|
listSiteAbuseReports,
|
|
1387
1388
|
listSiteModerationQueue,
|
|
1389
|
+
listSiteRuntimeCancellationCandidates,
|
|
1388
1390
|
listSiteSqlMigrations,
|
|
1389
1391
|
listSiteSqlQueries,
|
|
1390
1392
|
listSiteSqlSiteIds,
|
|
@@ -1594,6 +1596,7 @@ import {
|
|
|
1594
1596
|
readCreditPromotionPolicy,
|
|
1595
1597
|
readInsightsCalls,
|
|
1596
1598
|
readInsightsResponseCacheFence,
|
|
1599
|
+
readInsightsSiteUsage,
|
|
1597
1600
|
readInsightsUsage,
|
|
1598
1601
|
readKnowledgeIndexSource,
|
|
1599
1602
|
readLease,
|
|
@@ -2208,7 +2211,7 @@ import {
|
|
|
2208
2211
|
writeCompanyProfileLearning,
|
|
2209
2212
|
writeSessionContentBlobs,
|
|
2210
2213
|
writeSiteDataPath
|
|
2211
|
-
} from "./chunk-
|
|
2214
|
+
} from "./chunk-5MPQZI43.js";
|
|
2212
2215
|
import {
|
|
2213
2216
|
BROKERED_CREDENTIAL_SHAPE_HINT,
|
|
2214
2217
|
ConnectionRefreshHttpError,
|
|
@@ -2217,9 +2220,9 @@ import {
|
|
|
2217
2220
|
normalizeBearerScheme,
|
|
2218
2221
|
normalizedCredentialHeaders,
|
|
2219
2222
|
refreshOAuthConnectionCredential
|
|
2220
|
-
} from "./chunk-
|
|
2221
|
-
import "./chunk-
|
|
2222
|
-
import "./chunk-
|
|
2223
|
+
} from "./chunk-FX2PSMGH.js";
|
|
2224
|
+
import "./chunk-OWM6XG55.js";
|
|
2225
|
+
import "./chunk-S74WULCK.js";
|
|
2223
2226
|
import {
|
|
2224
2227
|
CODEX_PLAN_ENTITLEMENT_EXCLUSION_TTL_MS,
|
|
2225
2228
|
CODEX_PLAN_ENTITLEMENT_MAX_MODELS,
|
|
@@ -2259,7 +2262,7 @@ import {
|
|
|
2259
2262
|
setSubscriptionCoreWorkspaceCodexSource,
|
|
2260
2263
|
subscriptionSettingLockRefusal,
|
|
2261
2264
|
writeSubscriptionPersonPreferences
|
|
2262
|
-
} from "./chunk-
|
|
2265
|
+
} from "./chunk-PNEJVKKV.js";
|
|
2263
2266
|
import {
|
|
2264
2267
|
applySubscriptionCoreCodexQuotaObservation,
|
|
2265
2268
|
assertSubscriptionCoreAcceptedTurn,
|
|
@@ -2286,8 +2289,8 @@ import {
|
|
|
2286
2289
|
subscriptionCoreTurns,
|
|
2287
2290
|
touchSubscriptionCoreCodexBinding,
|
|
2288
2291
|
withSubscriptionCoreAcceptedTurn
|
|
2289
|
-
} from "./chunk-
|
|
2290
|
-
import "./chunk-
|
|
2292
|
+
} from "./chunk-AAOKWNHE.js";
|
|
2293
|
+
import "./chunk-ZZOEKHGU.js";
|
|
2291
2294
|
import {
|
|
2292
2295
|
ARTIFACT_PIN_RUNTIME_ROUTINES,
|
|
2293
2296
|
FORCE_RLS_TABLES,
|
|
@@ -2351,7 +2354,7 @@ import {
|
|
|
2351
2354
|
retiredSubscriptionObjectDescriptions,
|
|
2352
2355
|
retiredSubscriptionObjectViolation,
|
|
2353
2356
|
runtimeDatabaseReadyCheck
|
|
2354
|
-
} from "./chunk-
|
|
2357
|
+
} from "./chunk-HQWXEF77.js";
|
|
2355
2358
|
import {
|
|
2356
2359
|
CanonicalHumanIdentityAuthorityError,
|
|
2357
2360
|
CanonicalHumanIdentityConflictError,
|
|
@@ -2365,7 +2368,7 @@ import {
|
|
|
2365
2368
|
getCanonicalHumanIdentityProjection,
|
|
2366
2369
|
synchronizeCanonicalHumanLoginBindings,
|
|
2367
2370
|
validateCanonicalHumanSession
|
|
2368
|
-
} from "./chunk-
|
|
2371
|
+
} from "./chunk-B4RMLA2X.js";
|
|
2369
2372
|
import {
|
|
2370
2373
|
EDITABLE_ARTIFACT_INTENT_MAX_BYTES,
|
|
2371
2374
|
EDITABLE_ARTIFACT_KERNEL_TAIL_MAX_BYTES,
|
|
@@ -2379,7 +2382,7 @@ import {
|
|
|
2379
2382
|
listEditableArtifactIdsForSession,
|
|
2380
2383
|
touchEditableArtifactSessionLink,
|
|
2381
2384
|
transactionallyAuthorizeEditableArtifactActor
|
|
2382
|
-
} from "./chunk-
|
|
2385
|
+
} from "./chunk-KPC7I5WG.js";
|
|
2383
2386
|
import {
|
|
2384
2387
|
ArchivedSessionImportError,
|
|
2385
2388
|
EMPTY_SESSION_VISIBILITY_WORK,
|
|
@@ -2490,7 +2493,7 @@ import {
|
|
|
2490
2493
|
updateNetworkRoute,
|
|
2491
2494
|
updateSiteAuthConnection,
|
|
2492
2495
|
verifyAuthRun
|
|
2493
|
-
} from "./chunk-
|
|
2496
|
+
} from "./chunk-SDKFRIAN.js";
|
|
2494
2497
|
import {
|
|
2495
2498
|
ConnectAttemptConflictError,
|
|
2496
2499
|
ConnectAttemptNotFoundError,
|
|
@@ -2501,8 +2504,8 @@ import {
|
|
|
2501
2504
|
getConnectBeginReplay,
|
|
2502
2505
|
listPendingConnectAttempts,
|
|
2503
2506
|
setConnectAttemptTransitionObserver
|
|
2504
|
-
} from "./chunk-
|
|
2505
|
-
import "./chunk-
|
|
2507
|
+
} from "./chunk-CGSINPLW.js";
|
|
2508
|
+
import "./chunk-VUR5U5B3.js";
|
|
2506
2509
|
import {
|
|
2507
2510
|
AgentCommandAuthorityError,
|
|
2508
2511
|
CHILD_LIFECYCLE_DEDUPE_PREFIX,
|
|
@@ -2644,7 +2647,7 @@ import {
|
|
|
2644
2647
|
withSiteRuntimeAdmission,
|
|
2645
2648
|
workspaceControlLockBudget,
|
|
2646
2649
|
workspaceControlRequestLockTimeoutMs
|
|
2647
|
-
} from "./chunk-
|
|
2650
|
+
} from "./chunk-HWEHZKHA.js";
|
|
2648
2651
|
import {
|
|
2649
2652
|
ClaudeSubscriptionReconnectRequired,
|
|
2650
2653
|
ClaudeSubscriptionRefreshUnavailable,
|
|
@@ -2739,7 +2742,7 @@ import {
|
|
|
2739
2742
|
wakeSubscriptionCapacityWaiter,
|
|
2740
2743
|
withCodexTokenDeadline,
|
|
2741
2744
|
writeSubscriptionSessionBinding
|
|
2742
|
-
} from "./chunk-
|
|
2745
|
+
} from "./chunk-Y4ERASEM.js";
|
|
2743
2746
|
import {
|
|
2744
2747
|
ACTIVE_VIDEO_GENERATION_STATUSES,
|
|
2745
2748
|
CreditDebitAttribution,
|
|
@@ -2792,7 +2795,7 @@ import {
|
|
|
2792
2795
|
validateMemberAllowanceRule,
|
|
2793
2796
|
validateWorkspaceAllowanceConfig,
|
|
2794
2797
|
withCreditDebitAttribution
|
|
2795
|
-
} from "./chunk-
|
|
2798
|
+
} from "./chunk-7K5AVQUZ.js";
|
|
2796
2799
|
import "./chunk-4UJCXBR2.js";
|
|
2797
2800
|
import {
|
|
2798
2801
|
ManagedAuthActorMutationInFlightError,
|
|
@@ -2816,15 +2819,17 @@ import {
|
|
|
2816
2819
|
reapManagedAuthIsolatedSessions,
|
|
2817
2820
|
releaseManagedAuthActorMutationLease,
|
|
2818
2821
|
validateManagedAuthActorMutationLease
|
|
2819
|
-
} from "./chunk-
|
|
2822
|
+
} from "./chunk-UWS5DJQ6.js";
|
|
2820
2823
|
import {
|
|
2821
2824
|
DatabaseTransactionError,
|
|
2822
2825
|
DatabaseUnavailableError,
|
|
2823
2826
|
SandboxProviderReadLockUnavailableError,
|
|
2824
2827
|
SessionEventPersistenceError,
|
|
2825
2828
|
createDb,
|
|
2829
|
+
currentSessionRlsActorContext,
|
|
2826
2830
|
currentSessionRlsActorIdentityKey,
|
|
2827
2831
|
currentSessionRlsActorInitiatingHumanSubjectId,
|
|
2832
|
+
currentSiteViewerRlsContext,
|
|
2828
2833
|
databaseFailureCode,
|
|
2829
2834
|
databaseReconnectBackoffSeconds,
|
|
2830
2835
|
isDatabaseConnectionLoss,
|
|
@@ -2849,12 +2854,13 @@ import {
|
|
|
2849
2854
|
withSessionActivityRlsContext,
|
|
2850
2855
|
withSessionActivitySavepoint,
|
|
2851
2856
|
withSessionRlsActorContext,
|
|
2857
|
+
withSiteViewerRlsContext,
|
|
2852
2858
|
withWorkspaceRls,
|
|
2853
2859
|
withWorkspaceSessionActivityRls,
|
|
2854
2860
|
withWorkspaceSubjectRls,
|
|
2855
2861
|
withWorkspaceSubjectSessionActivityRls,
|
|
2856
2862
|
withWorkspaceUsageLock
|
|
2857
|
-
} from "./chunk-
|
|
2863
|
+
} from "./chunk-JTBJGSUZ.js";
|
|
2858
2864
|
import {
|
|
2859
2865
|
DATABASE_BOOT_CONNECT_GRACE_MS,
|
|
2860
2866
|
connectDatabaseSocket,
|
|
@@ -2868,7 +2874,7 @@ import {
|
|
|
2868
2874
|
LOSSLESS_TEXT_PREFIX,
|
|
2869
2875
|
isStoredVerbatimAsLosslessJsonString,
|
|
2870
2876
|
toPostgresLosslessJson
|
|
2871
|
-
} from "./chunk-
|
|
2877
|
+
} from "./chunk-CEJ3NQ3B.js";
|
|
2872
2878
|
import "./chunk-PZ5AY32C.js";
|
|
2873
2879
|
export {
|
|
2874
2880
|
ACTIVE_SESSION_HISTORY_MAX_JSON_BYTES,
|
|
@@ -3601,6 +3607,7 @@ export {
|
|
|
3601
3607
|
cancelOpenInteractionInterventions,
|
|
3602
3608
|
cancelOrganizationRecoveryOperation,
|
|
3603
3609
|
cancelQueuedCodemodeOperationsForAttempt,
|
|
3610
|
+
cancelSiteRuntimeConversation,
|
|
3604
3611
|
cancelSlackUserLinkAccessRequest,
|
|
3605
3612
|
cancelTurnInteractionInterventionsInTransaction,
|
|
3606
3613
|
cancelUnacceptedVideoGenerationsForToolCallsInTransaction,
|
|
@@ -3905,8 +3912,10 @@ export {
|
|
|
3905
3912
|
currentCreditDebitAttribution,
|
|
3906
3913
|
currentMemorySlackConfigurationMatches,
|
|
3907
3914
|
currentSessionInputWaitTurnsQuery,
|
|
3915
|
+
currentSessionRlsActorContext,
|
|
3908
3916
|
currentSessionRlsActorIdentityKey,
|
|
3909
3917
|
currentSessionRlsActorInitiatingHumanSubjectId,
|
|
3918
|
+
currentSiteViewerRlsContext,
|
|
3910
3919
|
databaseBootConnectOptions,
|
|
3911
3920
|
databaseBootConnectRetryDelayMs,
|
|
3912
3921
|
databaseFailureCode,
|
|
@@ -4665,6 +4674,7 @@ export {
|
|
|
4665
4674
|
listSiteAbuseReports,
|
|
4666
4675
|
listSiteAuthConnections,
|
|
4667
4676
|
listSiteModerationQueue,
|
|
4677
|
+
listSiteRuntimeCancellationCandidates,
|
|
4668
4678
|
listSiteSqlMigrations,
|
|
4669
4679
|
listSiteSqlQueries,
|
|
4670
4680
|
listSiteSqlSiteIds,
|
|
@@ -4932,6 +4942,7 @@ export {
|
|
|
4932
4942
|
readCreditPromotionPolicy,
|
|
4933
4943
|
readInsightsCalls,
|
|
4934
4944
|
readInsightsResponseCacheFence,
|
|
4945
|
+
readInsightsSiteUsage,
|
|
4935
4946
|
readInsightsUsage,
|
|
4936
4947
|
readKnowledgeIndexSource,
|
|
4937
4948
|
readLease,
|
|
@@ -5678,6 +5689,7 @@ export {
|
|
|
5678
5689
|
withSessionRlsActorContext,
|
|
5679
5690
|
withSiteRuntimeAdmission,
|
|
5680
5691
|
withSiteSqlDatabaseLock,
|
|
5692
|
+
withSiteViewerRlsContext,
|
|
5681
5693
|
withSubscriptionCapacityWakeOutboxScope,
|
|
5682
5694
|
withSubscriptionCoreAcceptedTurn,
|
|
5683
5695
|
withSubscriptionCoreCodexRefreshLock,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { InsightsSiteUsageResponse, type InsightsSiteUsageQuery } from "@opengeni/contracts/insights-usage";
|
|
2
|
+
import { type Database } from "./database.js";
|
|
3
|
+
/** Uses the native accounting ledger and frozen model-call price snapshots. */
|
|
4
|
+
export declare function readInsightsSiteUsage(db: Database, input: {
|
|
5
|
+
accountId: string;
|
|
6
|
+
workspaceId: string;
|
|
7
|
+
query: InsightsSiteUsageQuery;
|
|
8
|
+
viewerSubjectId: string | null;
|
|
9
|
+
now: Date;
|
|
10
|
+
}): Promise<InsightsSiteUsageResponse>;
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
reapManagedAuthIsolatedSessions,
|
|
21
21
|
releaseManagedAuthActorMutationLease,
|
|
22
22
|
validateManagedAuthActorMutationLease
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-UWS5DJQ6.js";
|
|
24
|
+
import "./chunk-JTBJGSUZ.js";
|
|
25
25
|
import "./chunk-SMCA7PNJ.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-CEJ3NQ3B.js";
|
|
27
27
|
import "./chunk-PZ5AY32C.js";
|
|
28
28
|
export {
|
|
29
29
|
ManagedAuthActorMutationInFlightError,
|
package/dist/mcp-operations.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withRlsContext
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JTBJGSUZ.js";
|
|
4
4
|
import "./chunk-SMCA7PNJ.js";
|
|
5
5
|
import {
|
|
6
6
|
LOSSLESS_CONTENT_CODEC_VERSION,
|
|
7
7
|
fromPostgresLosslessJson,
|
|
8
8
|
toPostgresLosslessJson
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CEJ3NQ3B.js";
|
|
10
10
|
import "./chunk-PZ5AY32C.js";
|
|
11
11
|
|
|
12
12
|
// src/mcp-operations.ts
|
package/dist/migrate.js
CHANGED
|
@@ -9,27 +9,27 @@ import {
|
|
|
9
9
|
planMigrations,
|
|
10
10
|
runMigrateCli,
|
|
11
11
|
runMigrations
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-5MPQZI43.js";
|
|
13
|
+
import "./chunk-FX2PSMGH.js";
|
|
14
|
+
import "./chunk-OWM6XG55.js";
|
|
15
|
+
import "./chunk-S74WULCK.js";
|
|
16
|
+
import "./chunk-PNEJVKKV.js";
|
|
17
|
+
import "./chunk-AAOKWNHE.js";
|
|
18
|
+
import "./chunk-ZZOEKHGU.js";
|
|
19
|
+
import "./chunk-HQWXEF77.js";
|
|
20
|
+
import "./chunk-B4RMLA2X.js";
|
|
21
|
+
import "./chunk-KPC7I5WG.js";
|
|
22
|
+
import "./chunk-SDKFRIAN.js";
|
|
23
|
+
import "./chunk-CGSINPLW.js";
|
|
24
|
+
import "./chunk-VUR5U5B3.js";
|
|
25
|
+
import "./chunk-HWEHZKHA.js";
|
|
26
|
+
import "./chunk-Y4ERASEM.js";
|
|
27
|
+
import "./chunk-7K5AVQUZ.js";
|
|
28
28
|
import "./chunk-4UJCXBR2.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-UWS5DJQ6.js";
|
|
30
|
+
import "./chunk-JTBJGSUZ.js";
|
|
31
31
|
import "./chunk-SMCA7PNJ.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-CEJ3NQ3B.js";
|
|
33
33
|
import "./chunk-PZ5AY32C.js";
|
|
34
34
|
export {
|
|
35
35
|
executeMigrationFile,
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
updateOrganizationIntegrationPolicy,
|
|
4
4
|
withOrganizationIntegrationAcquisition,
|
|
5
5
|
withOrganizationIntegrationPolicyFence
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VUR5U5B3.js";
|
|
7
7
|
import "./chunk-4UJCXBR2.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-JTBJGSUZ.js";
|
|
9
9
|
import "./chunk-SMCA7PNJ.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-CEJ3NQ3B.js";
|
|
11
11
|
import "./chunk-PZ5AY32C.js";
|
|
12
12
|
export {
|
|
13
13
|
getOrganizationIntegrationPolicy,
|
package/dist/provision-roles.js
CHANGED
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
retainedProviderCommandPersistence,
|
|
15
15
|
supervisedCommandProtocolReady,
|
|
16
16
|
validateRouterOutputAdvance
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-OWM6XG55.js";
|
|
18
|
+
import "./chunk-HWEHZKHA.js";
|
|
19
|
+
import "./chunk-Y4ERASEM.js";
|
|
20
|
+
import "./chunk-7K5AVQUZ.js";
|
|
21
21
|
import "./chunk-4UJCXBR2.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-JTBJGSUZ.js";
|
|
23
23
|
import "./chunk-SMCA7PNJ.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-CEJ3NQ3B.js";
|
|
25
25
|
import "./chunk-PZ5AY32C.js";
|
|
26
26
|
export {
|
|
27
27
|
RECORDED_COMMAND_OUTPUT_LIMIT_BYTES,
|
package/dist/schema.d.ts
CHANGED
|
@@ -26486,6 +26486,74 @@ export declare const sessions: import("drizzle-orm/pg-core").PgTableWithColumns<
|
|
|
26486
26486
|
identity: undefined;
|
|
26487
26487
|
generated: undefined;
|
|
26488
26488
|
}, {}, {}>;
|
|
26489
|
+
siteId: import("drizzle-orm/pg-core").PgColumn<{
|
|
26490
|
+
name: "site_id";
|
|
26491
|
+
tableName: "sessions";
|
|
26492
|
+
dataType: "string";
|
|
26493
|
+
columnType: "PgUUID";
|
|
26494
|
+
data: string;
|
|
26495
|
+
driverParam: string;
|
|
26496
|
+
notNull: false;
|
|
26497
|
+
hasDefault: false;
|
|
26498
|
+
isPrimaryKey: false;
|
|
26499
|
+
isAutoincrement: false;
|
|
26500
|
+
hasRuntimeDefault: false;
|
|
26501
|
+
enumValues: undefined;
|
|
26502
|
+
baseColumn: never;
|
|
26503
|
+
identity: undefined;
|
|
26504
|
+
generated: undefined;
|
|
26505
|
+
}, {}, {}>;
|
|
26506
|
+
siteAccessRootId: import("drizzle-orm/pg-core").PgColumn<{
|
|
26507
|
+
name: "site_access_root_id";
|
|
26508
|
+
tableName: "sessions";
|
|
26509
|
+
dataType: "string";
|
|
26510
|
+
columnType: "PgUUID";
|
|
26511
|
+
data: string;
|
|
26512
|
+
driverParam: string;
|
|
26513
|
+
notNull: false;
|
|
26514
|
+
hasDefault: false;
|
|
26515
|
+
isPrimaryKey: false;
|
|
26516
|
+
isAutoincrement: false;
|
|
26517
|
+
hasRuntimeDefault: false;
|
|
26518
|
+
enumValues: undefined;
|
|
26519
|
+
baseColumn: never;
|
|
26520
|
+
identity: undefined;
|
|
26521
|
+
generated: undefined;
|
|
26522
|
+
}, {}, {}>;
|
|
26523
|
+
siteViewerPrincipal: import("drizzle-orm/pg-core").PgColumn<{
|
|
26524
|
+
name: "site_viewer_principal";
|
|
26525
|
+
tableName: "sessions";
|
|
26526
|
+
dataType: "string";
|
|
26527
|
+
columnType: "PgText";
|
|
26528
|
+
data: string;
|
|
26529
|
+
driverParam: string;
|
|
26530
|
+
notNull: false;
|
|
26531
|
+
hasDefault: false;
|
|
26532
|
+
isPrimaryKey: false;
|
|
26533
|
+
isAutoincrement: false;
|
|
26534
|
+
hasRuntimeDefault: false;
|
|
26535
|
+
enumValues: [string, ...string[]];
|
|
26536
|
+
baseColumn: never;
|
|
26537
|
+
identity: undefined;
|
|
26538
|
+
generated: undefined;
|
|
26539
|
+
}, {}, {}>;
|
|
26540
|
+
siteOwnerSubjectId: import("drizzle-orm/pg-core").PgColumn<{
|
|
26541
|
+
name: "site_owner_subject_id";
|
|
26542
|
+
tableName: "sessions";
|
|
26543
|
+
dataType: "string";
|
|
26544
|
+
columnType: "PgText";
|
|
26545
|
+
data: string;
|
|
26546
|
+
driverParam: string;
|
|
26547
|
+
notNull: false;
|
|
26548
|
+
hasDefault: false;
|
|
26549
|
+
isPrimaryKey: false;
|
|
26550
|
+
isAutoincrement: false;
|
|
26551
|
+
hasRuntimeDefault: false;
|
|
26552
|
+
enumValues: [string, ...string[]];
|
|
26553
|
+
baseColumn: never;
|
|
26554
|
+
identity: undefined;
|
|
26555
|
+
generated: undefined;
|
|
26556
|
+
}, {}, {}>;
|
|
26489
26557
|
createRequestedVisibility: import("drizzle-orm/pg-core").PgColumn<{
|
|
26490
26558
|
name: "create_requested_visibility";
|
|
26491
26559
|
tableName: "sessions";
|
|
@@ -60631,6 +60699,23 @@ export declare const modelCallFacts: import("drizzle-orm/pg-core").PgTableWithCo
|
|
|
60631
60699
|
identity: undefined;
|
|
60632
60700
|
generated: undefined;
|
|
60633
60701
|
}, {}, {}>;
|
|
60702
|
+
siteId: import("drizzle-orm/pg-core").PgColumn<{
|
|
60703
|
+
name: "site_id";
|
|
60704
|
+
tableName: "model_call_facts";
|
|
60705
|
+
dataType: "string";
|
|
60706
|
+
columnType: "PgUUID";
|
|
60707
|
+
data: string;
|
|
60708
|
+
driverParam: string;
|
|
60709
|
+
notNull: false;
|
|
60710
|
+
hasDefault: false;
|
|
60711
|
+
isPrimaryKey: false;
|
|
60712
|
+
isAutoincrement: false;
|
|
60713
|
+
hasRuntimeDefault: false;
|
|
60714
|
+
enumValues: undefined;
|
|
60715
|
+
baseColumn: never;
|
|
60716
|
+
identity: undefined;
|
|
60717
|
+
generated: undefined;
|
|
60718
|
+
}, {}, {}>;
|
|
60634
60719
|
inputTokens: import("drizzle-orm/pg-core").PgColumn<{
|
|
60635
60720
|
name: "input_tokens";
|
|
60636
60721
|
tableName: "model_call_facts";
|
|
@@ -62328,6 +62413,23 @@ export declare const creditLedgerEntries: import("drizzle-orm/pg-core").PgTableW
|
|
|
62328
62413
|
identity: undefined;
|
|
62329
62414
|
generated: undefined;
|
|
62330
62415
|
}, {}, {}>;
|
|
62416
|
+
siteId: import("drizzle-orm/pg-core").PgColumn<{
|
|
62417
|
+
name: "site_id";
|
|
62418
|
+
tableName: "credit_ledger_entries";
|
|
62419
|
+
dataType: "string";
|
|
62420
|
+
columnType: "PgUUID";
|
|
62421
|
+
data: string;
|
|
62422
|
+
driverParam: string;
|
|
62423
|
+
notNull: false;
|
|
62424
|
+
hasDefault: false;
|
|
62425
|
+
isPrimaryKey: false;
|
|
62426
|
+
isAutoincrement: false;
|
|
62427
|
+
hasRuntimeDefault: false;
|
|
62428
|
+
enumValues: undefined;
|
|
62429
|
+
baseColumn: never;
|
|
62430
|
+
identity: undefined;
|
|
62431
|
+
generated: undefined;
|
|
62432
|
+
}, {}, {}>;
|
|
62331
62433
|
idempotencyKey: import("drizzle-orm/pg-core").PgColumn<{
|
|
62332
62434
|
name: "idempotency_key";
|
|
62333
62435
|
tableName: "credit_ledger_entries";
|
package/dist/schema.js
CHANGED