Remove pre-1.0 audit and protected request scaffolding

This commit is contained in:
npc0-hue
2026-08-20 23:42:02 +08:00
parent 40b35b05c7
commit a7e2e4c6c0
130 changed files with 526 additions and 3767 deletions
+2 -25
View File
@@ -47,7 +47,6 @@ export type RunCapability =
| "remote.run.logs.transfer"
| "remote.run.rcon.command"
| "remote.run.protected.sql"
| "remote.run.protected.rcon"
| "remote.run.program.command"
| "client-manager.deploy"
| "client-manager.control"
@@ -223,26 +222,15 @@ export type GameClientBridgeApprovalLevel = "none" | "operator" | "platform-admi
export type GameClientBridgeApprovalState = "not_required" | "pending" | "approved" | "rejected";
export type GameClientBridgeCommandState = "pending" | "claimed" | "succeeded" | "failed" | "unknown" | "cancelled" | "expired";
export type GameClientBridgeProtectedRequestKind = "sql" | "rcon" | "program";
export interface GameClientBridgeProtectedRequestDeclaration {
kind: GameClientBridgeProtectedRequestKind;
transportKey: string;
targetKey: string;
textField: string;
maxTextBytes: number;
}
export interface GameClientBridgeCommandDeclaration {
type: string;
title: string;
permission: PluginPermission;
approvalLevel: GameClientBridgeApprovalLevel;
payloadSchemaRef: string;
resultSchemaRef?: string;
timeoutSeconds: number;
resultSchemaRef?: string;
timeoutSeconds: number;
maxPayloadBytes: number;
protectedRequest?: GameClientBridgeProtectedRequestDeclaration;
}
export interface GameClientBridgeSnapshotDeclaration {
@@ -288,19 +276,10 @@ export interface GameClientBridgeLogProjectionTargetDeclaration {
observedAtField?: string;
}
export interface GameClientBridgeLogProjectionAnnouncementDeclaration {
profileKey: string;
commandType: string;
textField: string;
newTextTemplate: string;
returningTextTemplate: string;
}
export interface GameClientBridgeLogProjectionPresenceDeclaration {
timestampField: string;
activeWindowSeconds: number;
activityTarget?: GameClientBridgeLogProjectionTargetDeclaration;
announcement: GameClientBridgeLogProjectionAnnouncementDeclaration;
}
export interface GameClientBridgeLogProjectionDeclaration {
@@ -441,7 +420,6 @@ export interface GameClientBridgeCommand {
state: GameClientBridgeCommandState;
approvalState: GameClientBridgeApprovalState;
result?: GameClientBridgeCommandResult;
auditReferences?: string[];
expiresAt: string;
createdAt: string;
updatedAt: string;
@@ -459,7 +437,6 @@ export interface GameClientBridgeSnapshot<TPayload extends Record<string, unknow
sequence: number;
observedAt: string;
payload: TPayload;
auditReferences?: string[];
createdAt: string;
expiresAt: string;
}