@plasius/mcp-admin-contracts 0.5.1 → 0.6.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/CHANGELOG.md +26 -0
- package/README.md +27 -7
- package/dist/index.cjs +70 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -3
- package/dist/index.d.ts +8 -3
- package/dist/index.js +70 -4
- package/dist/index.js.map +1 -1
- package/docs/adrs/adr-0007-safe-game-reconstruction-point-read.md +81 -0
- package/docs/adrs/index.md +1 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -32,6 +32,7 @@ declare const mcpAdminContractsEnGbTranslations: {
|
|
|
32
32
|
readonly "mcpAdminContracts.action.listFeedbackAlerts.description": "List bounded deterministic feedback advisories using an opaque cursor.";
|
|
33
33
|
readonly "mcpAdminContracts.action.getFeedbackFreshness.description": "Read safe freshness metadata for the hourly bug and daily satisfaction processors.";
|
|
34
34
|
readonly "mcpAdminContracts.action.listFeedbackStructuredEntries.description": "List bounded reporter-identifier-free structured feedback entries without narrative or storage references.";
|
|
35
|
+
readonly "mcpAdminContracts.action.getFeedbackGameReconstruction.description": "Read one clearly labelled safe in-game reconstruction manifest without captured pixels, narrative, reporter identity, or storage references.";
|
|
35
36
|
readonly "mcpAdminContracts.action.searchAssetCatalog.description": "Search promoted asset catalog records without live third-party lookup.";
|
|
36
37
|
readonly "mcpAdminContracts.action.getAssetManifest.description": "Fetch a promoted player-safe runtime asset manifest reference.";
|
|
37
38
|
readonly "mcpAdminContracts.action.requestAsset.description": "Queue a governed missing-asset request when no promoted catalog match exists.";
|
|
@@ -101,6 +102,7 @@ declare const mcpAdminContractDescriptionKeys: {
|
|
|
101
102
|
readonly actionListFeedbackAlerts: "mcpAdminContracts.action.listFeedbackAlerts.description";
|
|
102
103
|
readonly actionGetFeedbackFreshness: "mcpAdminContracts.action.getFeedbackFreshness.description";
|
|
103
104
|
readonly actionListFeedbackStructuredEntries: "mcpAdminContracts.action.listFeedbackStructuredEntries.description";
|
|
105
|
+
readonly actionGetFeedbackGameReconstruction: "mcpAdminContracts.action.getFeedbackGameReconstruction.description";
|
|
104
106
|
readonly actionSearchAssetCatalog: "mcpAdminContracts.action.searchAssetCatalog.description";
|
|
105
107
|
readonly actionGetAssetManifest: "mcpAdminContracts.action.getAssetManifest.description";
|
|
106
108
|
readonly actionRequestAsset: "mcpAdminContracts.action.requestAsset.description";
|
|
@@ -172,6 +174,7 @@ declare const mcpAdminContractsTranslations: {
|
|
|
172
174
|
readonly "mcpAdminContracts.action.listFeedbackAlerts.description": "List bounded deterministic feedback advisories using an opaque cursor.";
|
|
173
175
|
readonly "mcpAdminContracts.action.getFeedbackFreshness.description": "Read safe freshness metadata for the hourly bug and daily satisfaction processors.";
|
|
174
176
|
readonly "mcpAdminContracts.action.listFeedbackStructuredEntries.description": "List bounded reporter-identifier-free structured feedback entries without narrative or storage references.";
|
|
177
|
+
readonly "mcpAdminContracts.action.getFeedbackGameReconstruction.description": "Read one clearly labelled safe in-game reconstruction manifest without captured pixels, narrative, reporter identity, or storage references.";
|
|
175
178
|
readonly "mcpAdminContracts.action.searchAssetCatalog.description": "Search promoted asset catalog records without live third-party lookup.";
|
|
176
179
|
readonly "mcpAdminContracts.action.getAssetManifest.description": "Fetch a promoted player-safe runtime asset manifest reference.";
|
|
177
180
|
readonly "mcpAdminContracts.action.requestAsset.description": "Queue a governed missing-asset request when no promoted catalog match exists.";
|
|
@@ -216,7 +219,7 @@ declare const mcpAdminContractsTranslations: {
|
|
|
216
219
|
*/
|
|
217
220
|
declare function getMcpAdminContractDefaultTranslation(key: McpAdminContractDescriptionKey): string;
|
|
218
221
|
|
|
219
|
-
declare const MCP_ADMIN_CONTRACT_VERSION = "2026-08-
|
|
222
|
+
declare const MCP_ADMIN_CONTRACT_VERSION = "2026-08-26.v8";
|
|
220
223
|
declare const MCP_ADMIN_REGISTRY_SOURCE = "@plasius/mcp-admin-contracts";
|
|
221
224
|
declare const MCP_ADMIN_FOUNDATION_FLAG_ID = "mcp.admin.foundation.enabled";
|
|
222
225
|
declare const MCP_ACCESS_SCOPE = "mcp:access";
|
|
@@ -257,6 +260,8 @@ declare const MCP_ADMIN_MODEL_CAPABILITIES: Readonly<{
|
|
|
257
260
|
}>;
|
|
258
261
|
declare const MCP_ADMIN_MODEL_OAUTH_SCOPES: readonly string[];
|
|
259
262
|
declare const MCP_ADMIN_FEEDBACK_FLAG_ID = "feedback.mcp.enabled";
|
|
263
|
+
/** Metadata only: the hosted runtime must register the feedback MCP family off. */
|
|
264
|
+
declare const MCP_ADMIN_FEEDBACK_HOST_DEFAULT_ENABLED = false;
|
|
260
265
|
declare const MCP_ADMIN_FEEDBACK_READ_CAPABILITY = "admin.feedback.read";
|
|
261
266
|
declare const MCP_ADMIN_BASE_OAUTH_SCOPE = "mcp:access";
|
|
262
267
|
declare const MCP_ADMIN_FEEDBACK_READ_OAUTH_SCOPE = "admin.feedback.read";
|
|
@@ -267,7 +272,7 @@ declare const MCP_ADMIN_FEEDBACK_WINDOWS: readonly ["previous-utc-hour", "last-2
|
|
|
267
272
|
declare const MCP_ADMIN_FEEDBACK_PACKET_TYPES: readonly ["feedback-bug-packet", "feedback-review-packet"];
|
|
268
273
|
declare const MCP_ADMIN_FEEDBACK_REPORT_TYPES: readonly ["feedback-hourly-bug-report", "feedback-daily-satisfaction-report"];
|
|
269
274
|
declare const MCP_ADMIN_FEEDBACK_PROCESSORS: readonly ["bug-hourly", "review-daily", "commit-reconciliation"];
|
|
270
|
-
declare const MCP_ADMIN_FEEDBACK_PRIVACY_EXCLUSIONS: readonly ["account-identifiers", "reporter-pseudonyms", "network-identifiers", "session-identifiers", "user-agents", "locales", "client-timestamps", "referrers", "credential-material", "financial-identifiers", "government-identifiers", "narrative", "generated-summaries", "quotations", "embeddings", "content-hashes", "matched-values", "model-traces", "binary-images", "filenames", "exact-coordinates", "exact-dimensions", "adapter-fingerprints", "raw-warnings", "blob-references", "raw-urls", "unrestricted-scans", "mutations"];
|
|
275
|
+
declare const MCP_ADMIN_FEEDBACK_PRIVACY_EXCLUSIONS: readonly ["account-identifiers", "reporter-pseudonyms", "network-identifiers", "session-identifiers", "user-agents", "locales", "client-timestamps", "referrers", "credential-material", "financial-identifiers", "government-identifiers", "narrative", "generated-summaries", "quotations", "embeddings", "content-hashes", "matched-values", "model-traces", "binary-images", "client-pixels", "filenames", "exact-coordinates", "exact-dimensions", "adapter-fingerprints", "raw-warnings", "blob-references", "request-telemetry", "raw-urls", "unrestricted-scans", "mutations"];
|
|
271
276
|
declare const MCP_ADMIN_ECONOMY_ADJUSTMENTS_FLAG_ID = "mcp.admin-economy-adjustments.enabled";
|
|
272
277
|
declare const ECONOMY_OWNER_ADJUSTMENTS_FLAG_ID = "economy.tokens.owner-adjustments.enabled";
|
|
273
278
|
declare const MCP_ECONOMY_FINANCE_VIEW_CAPABILITY = "economy.finance-operations.view";
|
|
@@ -556,4 +561,4 @@ declare function buildMcpDiscoveryResponse(): McpDiscoveryResponse;
|
|
|
556
561
|
declare function buildMcpSchemaResponse(): McpSchemaResponse;
|
|
557
562
|
declare function buildMcpContextResponse(options: BuildMcpContextResponseOptions): McpContextResponse;
|
|
558
563
|
|
|
559
|
-
export { type AiPluginManifest, type BuildMcpContextResponseOptions, ECONOMY_ADMIN_HISTORY_FLAG_ID, ECONOMY_FINANCE_OPERATIONS_VIEW_CAPABILITY, ECONOMY_OWNER_ADJUSTMENTS_FLAG_ID, MCP_ACCESS_SCOPE, MCP_ADMIN_ACTIONS, MCP_ADMIN_ANALYTICS_DIMENSIONS, MCP_ADMIN_ANALYTICS_FLAG_ID, MCP_ADMIN_ANALYTICS_METRICS, MCP_ADMIN_ANALYTICS_PRESETS, MCP_ADMIN_BASE_OAUTH_SCOPE, MCP_ADMIN_CONTEXT_SHAPE, MCP_ADMIN_CONTRACT_VERSION, MCP_ADMIN_ECONOMY_ADJUSTMENTS_FLAG_ID, MCP_ADMIN_ECONOMY_HISTORY_FLAG_ID, MCP_ADMIN_ECONOMY_READ_CAPABILITY, MCP_ADMIN_EXTENSION_RULES, MCP_ADMIN_FEEDBACK_ACTIONS, MCP_ADMIN_FEEDBACK_ALERT_WINDOWS, MCP_ADMIN_FEEDBACK_BUG_HEALTH_WINDOWS, MCP_ADMIN_FEEDBACK_ENTRY_WINDOWS, MCP_ADMIN_FEEDBACK_FLAG_ID, MCP_ADMIN_FEEDBACK_MAX_CURSOR_LENGTH, MCP_ADMIN_FEEDBACK_MAX_PAGE_SIZE, MCP_ADMIN_FEEDBACK_PACKET_TYPES, MCP_ADMIN_FEEDBACK_PRIVACY_EXCLUSIONS, MCP_ADMIN_FEEDBACK_PRIVACY_METADATA, MCP_ADMIN_FEEDBACK_PROCESSORS, MCP_ADMIN_FEEDBACK_READ_CAPABILITY, MCP_ADMIN_FEEDBACK_READ_OAUTH_SCOPE, MCP_ADMIN_FEEDBACK_REPORT_TYPES, MCP_ADMIN_FEEDBACK_REQUIRED_OAUTH_SCOPES, MCP_ADMIN_FEEDBACK_SATISFACTION_WINDOWS, MCP_ADMIN_FEEDBACK_SCHEMA_CONTRACT_VERSION, MCP_ADMIN_FEEDBACK_SCHEMA_PACKAGE, MCP_ADMIN_FEEDBACK_WINDOWS, MCP_ADMIN_FOUNDATION_DISABLED_CODE, MCP_ADMIN_FOUNDATION_ENV_VAR, MCP_ADMIN_FOUNDATION_FLAG_ID, MCP_ADMIN_LIVEOPS_FLAG_ID, MCP_ADMIN_MODEL_CAPABILITIES, MCP_ADMIN_MODEL_OAUTH_SCOPES, MCP_ADMIN_MODEL_REGISTRY_SOURCE, MCP_ADMIN_MODEL_RESOLUTION_CONTRACT_VERSION, MCP_ADMIN_MODEL_TOOL_CONTRACT_VERSION, MCP_ADMIN_PRODUCTION_READINESS_ENV_VAR, MCP_ADMIN_PRODUCTION_READINESS_FLAG_ID, MCP_ADMIN_REGISTRY_SOURCE, MCP_ADMIN_TOKEN_ACTIVITY_SORTS, MCP_ADMIN_TOKEN_ACTIVITY_SOURCES, MCP_ADMIN_TOKEN_ACTIVITY_STATUSES, MCP_ADMIN_TOKEN_ACTIVITY_TYPES, MCP_ADMIN_TOKEN_WALLET_COMPONENTS, MCP_ADMIN_TOKEN_WALLET_SORTS, MCP_ADMIN_TOKEN_WALLET_STATUSES, MCP_ADMIN_USER_AGGREGATION_DIMENSIONS, MCP_ADMIN_USER_AGGREGATION_METRICS, MCP_ADMIN_USER_AGGREGATION_PRESETS, MCP_ASSET_CATALOG_CONFIRM_CAPABILITY, MCP_ASSET_CATALOG_REQUEST_CAPABILITY, MCP_ASSET_CATALOG_REVIEW_CAPABILITY, MCP_ASSET_EXTERNAL_HARVEST_FLAG_ID, MCP_ASSET_PIPELINE_FLAG_ID, MCP_ASSET_PIPELINE_MANAGE_CAPABILITY, MCP_ASSET_PROCESSING_OPERATIONS, MCP_ASSET_REVIEW_KINDS, MCP_ASSET_SOURCE_ADAPTERS, MCP_ASSET_SOURCE_MANAGE_CAPABILITY, MCP_ASSET_SOURCE_TIERS, MCP_ECONOMY_FINANCE_ADJUST_CAPABILITY, MCP_ECONOMY_FINANCE_APPROVE_CAPABILITY, MCP_ECONOMY_FINANCE_VIEW_CAPABILITY, type McpActionAccessRequirements, type McpActionDescriptor, type McpActionDomain, type McpActionExecution, type McpActionFamilyDomain, type McpActionSummary, type McpActionVerification, type McpAdminContractDescriptionKey, type McpAuthenticatedUserContext, type McpCanonicalSchemaSource, type McpContextResponse, type McpDiscoveryResponse, type McpFeedbackPrivacyExclusion, type McpFeedbackPrivacyMetadata, type McpFieldShape, type McpModelResolutionContext, type McpModelToolExecution, type McpModelToolSchemaDescriptor, type McpModelToolSummary, type McpRolloutContext, type McpSchemaResponse, type McpSurfaceUrls, buildAiPluginManifest, buildMcpContextResponse, buildMcpDiscoveryResponse, buildMcpSchemaResponse, buildMcpSurfaceUrls, getMcpAdminContractDefaultTranslation, listMcpActionSummaries, listMcpModelResourceTemplates, listMcpModelToolSummaries, mcpAdminContractDescriptionKeys, mcpAdminContractsEnGbTranslations, mcpAdminContractsTranslations };
|
|
564
|
+
export { type AiPluginManifest, type BuildMcpContextResponseOptions, ECONOMY_ADMIN_HISTORY_FLAG_ID, ECONOMY_FINANCE_OPERATIONS_VIEW_CAPABILITY, ECONOMY_OWNER_ADJUSTMENTS_FLAG_ID, MCP_ACCESS_SCOPE, MCP_ADMIN_ACTIONS, MCP_ADMIN_ANALYTICS_DIMENSIONS, MCP_ADMIN_ANALYTICS_FLAG_ID, MCP_ADMIN_ANALYTICS_METRICS, MCP_ADMIN_ANALYTICS_PRESETS, MCP_ADMIN_BASE_OAUTH_SCOPE, MCP_ADMIN_CONTEXT_SHAPE, MCP_ADMIN_CONTRACT_VERSION, MCP_ADMIN_ECONOMY_ADJUSTMENTS_FLAG_ID, MCP_ADMIN_ECONOMY_HISTORY_FLAG_ID, MCP_ADMIN_ECONOMY_READ_CAPABILITY, MCP_ADMIN_EXTENSION_RULES, MCP_ADMIN_FEEDBACK_ACTIONS, MCP_ADMIN_FEEDBACK_ALERT_WINDOWS, MCP_ADMIN_FEEDBACK_BUG_HEALTH_WINDOWS, MCP_ADMIN_FEEDBACK_ENTRY_WINDOWS, MCP_ADMIN_FEEDBACK_FLAG_ID, MCP_ADMIN_FEEDBACK_HOST_DEFAULT_ENABLED, MCP_ADMIN_FEEDBACK_MAX_CURSOR_LENGTH, MCP_ADMIN_FEEDBACK_MAX_PAGE_SIZE, MCP_ADMIN_FEEDBACK_PACKET_TYPES, MCP_ADMIN_FEEDBACK_PRIVACY_EXCLUSIONS, MCP_ADMIN_FEEDBACK_PRIVACY_METADATA, MCP_ADMIN_FEEDBACK_PROCESSORS, MCP_ADMIN_FEEDBACK_READ_CAPABILITY, MCP_ADMIN_FEEDBACK_READ_OAUTH_SCOPE, MCP_ADMIN_FEEDBACK_REPORT_TYPES, MCP_ADMIN_FEEDBACK_REQUIRED_OAUTH_SCOPES, MCP_ADMIN_FEEDBACK_SATISFACTION_WINDOWS, MCP_ADMIN_FEEDBACK_SCHEMA_CONTRACT_VERSION, MCP_ADMIN_FEEDBACK_SCHEMA_PACKAGE, MCP_ADMIN_FEEDBACK_WINDOWS, MCP_ADMIN_FOUNDATION_DISABLED_CODE, MCP_ADMIN_FOUNDATION_ENV_VAR, MCP_ADMIN_FOUNDATION_FLAG_ID, MCP_ADMIN_LIVEOPS_FLAG_ID, MCP_ADMIN_MODEL_CAPABILITIES, MCP_ADMIN_MODEL_OAUTH_SCOPES, MCP_ADMIN_MODEL_REGISTRY_SOURCE, MCP_ADMIN_MODEL_RESOLUTION_CONTRACT_VERSION, MCP_ADMIN_MODEL_TOOL_CONTRACT_VERSION, MCP_ADMIN_PRODUCTION_READINESS_ENV_VAR, MCP_ADMIN_PRODUCTION_READINESS_FLAG_ID, MCP_ADMIN_REGISTRY_SOURCE, MCP_ADMIN_TOKEN_ACTIVITY_SORTS, MCP_ADMIN_TOKEN_ACTIVITY_SOURCES, MCP_ADMIN_TOKEN_ACTIVITY_STATUSES, MCP_ADMIN_TOKEN_ACTIVITY_TYPES, MCP_ADMIN_TOKEN_WALLET_COMPONENTS, MCP_ADMIN_TOKEN_WALLET_SORTS, MCP_ADMIN_TOKEN_WALLET_STATUSES, MCP_ADMIN_USER_AGGREGATION_DIMENSIONS, MCP_ADMIN_USER_AGGREGATION_METRICS, MCP_ADMIN_USER_AGGREGATION_PRESETS, MCP_ASSET_CATALOG_CONFIRM_CAPABILITY, MCP_ASSET_CATALOG_REQUEST_CAPABILITY, MCP_ASSET_CATALOG_REVIEW_CAPABILITY, MCP_ASSET_EXTERNAL_HARVEST_FLAG_ID, MCP_ASSET_PIPELINE_FLAG_ID, MCP_ASSET_PIPELINE_MANAGE_CAPABILITY, MCP_ASSET_PROCESSING_OPERATIONS, MCP_ASSET_REVIEW_KINDS, MCP_ASSET_SOURCE_ADAPTERS, MCP_ASSET_SOURCE_MANAGE_CAPABILITY, MCP_ASSET_SOURCE_TIERS, MCP_ECONOMY_FINANCE_ADJUST_CAPABILITY, MCP_ECONOMY_FINANCE_APPROVE_CAPABILITY, MCP_ECONOMY_FINANCE_VIEW_CAPABILITY, type McpActionAccessRequirements, type McpActionDescriptor, type McpActionDomain, type McpActionExecution, type McpActionFamilyDomain, type McpActionSummary, type McpActionVerification, type McpAdminContractDescriptionKey, type McpAuthenticatedUserContext, type McpCanonicalSchemaSource, type McpContextResponse, type McpDiscoveryResponse, type McpFeedbackPrivacyExclusion, type McpFeedbackPrivacyMetadata, type McpFieldShape, type McpModelResolutionContext, type McpModelToolExecution, type McpModelToolSchemaDescriptor, type McpModelToolSummary, type McpRolloutContext, type McpSchemaResponse, type McpSurfaceUrls, buildAiPluginManifest, buildMcpContextResponse, buildMcpDiscoveryResponse, buildMcpSchemaResponse, buildMcpSurfaceUrls, getMcpAdminContractDefaultTranslation, listMcpActionSummaries, listMcpModelResourceTemplates, listMcpModelToolSummaries, mcpAdminContractDescriptionKeys, mcpAdminContractsEnGbTranslations, mcpAdminContractsTranslations };
|
package/dist/index.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ declare const mcpAdminContractsEnGbTranslations: {
|
|
|
32
32
|
readonly "mcpAdminContracts.action.listFeedbackAlerts.description": "List bounded deterministic feedback advisories using an opaque cursor.";
|
|
33
33
|
readonly "mcpAdminContracts.action.getFeedbackFreshness.description": "Read safe freshness metadata for the hourly bug and daily satisfaction processors.";
|
|
34
34
|
readonly "mcpAdminContracts.action.listFeedbackStructuredEntries.description": "List bounded reporter-identifier-free structured feedback entries without narrative or storage references.";
|
|
35
|
+
readonly "mcpAdminContracts.action.getFeedbackGameReconstruction.description": "Read one clearly labelled safe in-game reconstruction manifest without captured pixels, narrative, reporter identity, or storage references.";
|
|
35
36
|
readonly "mcpAdminContracts.action.searchAssetCatalog.description": "Search promoted asset catalog records without live third-party lookup.";
|
|
36
37
|
readonly "mcpAdminContracts.action.getAssetManifest.description": "Fetch a promoted player-safe runtime asset manifest reference.";
|
|
37
38
|
readonly "mcpAdminContracts.action.requestAsset.description": "Queue a governed missing-asset request when no promoted catalog match exists.";
|
|
@@ -101,6 +102,7 @@ declare const mcpAdminContractDescriptionKeys: {
|
|
|
101
102
|
readonly actionListFeedbackAlerts: "mcpAdminContracts.action.listFeedbackAlerts.description";
|
|
102
103
|
readonly actionGetFeedbackFreshness: "mcpAdminContracts.action.getFeedbackFreshness.description";
|
|
103
104
|
readonly actionListFeedbackStructuredEntries: "mcpAdminContracts.action.listFeedbackStructuredEntries.description";
|
|
105
|
+
readonly actionGetFeedbackGameReconstruction: "mcpAdminContracts.action.getFeedbackGameReconstruction.description";
|
|
104
106
|
readonly actionSearchAssetCatalog: "mcpAdminContracts.action.searchAssetCatalog.description";
|
|
105
107
|
readonly actionGetAssetManifest: "mcpAdminContracts.action.getAssetManifest.description";
|
|
106
108
|
readonly actionRequestAsset: "mcpAdminContracts.action.requestAsset.description";
|
|
@@ -172,6 +174,7 @@ declare const mcpAdminContractsTranslations: {
|
|
|
172
174
|
readonly "mcpAdminContracts.action.listFeedbackAlerts.description": "List bounded deterministic feedback advisories using an opaque cursor.";
|
|
173
175
|
readonly "mcpAdminContracts.action.getFeedbackFreshness.description": "Read safe freshness metadata for the hourly bug and daily satisfaction processors.";
|
|
174
176
|
readonly "mcpAdminContracts.action.listFeedbackStructuredEntries.description": "List bounded reporter-identifier-free structured feedback entries without narrative or storage references.";
|
|
177
|
+
readonly "mcpAdminContracts.action.getFeedbackGameReconstruction.description": "Read one clearly labelled safe in-game reconstruction manifest without captured pixels, narrative, reporter identity, or storage references.";
|
|
175
178
|
readonly "mcpAdminContracts.action.searchAssetCatalog.description": "Search promoted asset catalog records without live third-party lookup.";
|
|
176
179
|
readonly "mcpAdminContracts.action.getAssetManifest.description": "Fetch a promoted player-safe runtime asset manifest reference.";
|
|
177
180
|
readonly "mcpAdminContracts.action.requestAsset.description": "Queue a governed missing-asset request when no promoted catalog match exists.";
|
|
@@ -216,7 +219,7 @@ declare const mcpAdminContractsTranslations: {
|
|
|
216
219
|
*/
|
|
217
220
|
declare function getMcpAdminContractDefaultTranslation(key: McpAdminContractDescriptionKey): string;
|
|
218
221
|
|
|
219
|
-
declare const MCP_ADMIN_CONTRACT_VERSION = "2026-08-
|
|
222
|
+
declare const MCP_ADMIN_CONTRACT_VERSION = "2026-08-26.v8";
|
|
220
223
|
declare const MCP_ADMIN_REGISTRY_SOURCE = "@plasius/mcp-admin-contracts";
|
|
221
224
|
declare const MCP_ADMIN_FOUNDATION_FLAG_ID = "mcp.admin.foundation.enabled";
|
|
222
225
|
declare const MCP_ACCESS_SCOPE = "mcp:access";
|
|
@@ -257,6 +260,8 @@ declare const MCP_ADMIN_MODEL_CAPABILITIES: Readonly<{
|
|
|
257
260
|
}>;
|
|
258
261
|
declare const MCP_ADMIN_MODEL_OAUTH_SCOPES: readonly string[];
|
|
259
262
|
declare const MCP_ADMIN_FEEDBACK_FLAG_ID = "feedback.mcp.enabled";
|
|
263
|
+
/** Metadata only: the hosted runtime must register the feedback MCP family off. */
|
|
264
|
+
declare const MCP_ADMIN_FEEDBACK_HOST_DEFAULT_ENABLED = false;
|
|
260
265
|
declare const MCP_ADMIN_FEEDBACK_READ_CAPABILITY = "admin.feedback.read";
|
|
261
266
|
declare const MCP_ADMIN_BASE_OAUTH_SCOPE = "mcp:access";
|
|
262
267
|
declare const MCP_ADMIN_FEEDBACK_READ_OAUTH_SCOPE = "admin.feedback.read";
|
|
@@ -267,7 +272,7 @@ declare const MCP_ADMIN_FEEDBACK_WINDOWS: readonly ["previous-utc-hour", "last-2
|
|
|
267
272
|
declare const MCP_ADMIN_FEEDBACK_PACKET_TYPES: readonly ["feedback-bug-packet", "feedback-review-packet"];
|
|
268
273
|
declare const MCP_ADMIN_FEEDBACK_REPORT_TYPES: readonly ["feedback-hourly-bug-report", "feedback-daily-satisfaction-report"];
|
|
269
274
|
declare const MCP_ADMIN_FEEDBACK_PROCESSORS: readonly ["bug-hourly", "review-daily", "commit-reconciliation"];
|
|
270
|
-
declare const MCP_ADMIN_FEEDBACK_PRIVACY_EXCLUSIONS: readonly ["account-identifiers", "reporter-pseudonyms", "network-identifiers", "session-identifiers", "user-agents", "locales", "client-timestamps", "referrers", "credential-material", "financial-identifiers", "government-identifiers", "narrative", "generated-summaries", "quotations", "embeddings", "content-hashes", "matched-values", "model-traces", "binary-images", "filenames", "exact-coordinates", "exact-dimensions", "adapter-fingerprints", "raw-warnings", "blob-references", "raw-urls", "unrestricted-scans", "mutations"];
|
|
275
|
+
declare const MCP_ADMIN_FEEDBACK_PRIVACY_EXCLUSIONS: readonly ["account-identifiers", "reporter-pseudonyms", "network-identifiers", "session-identifiers", "user-agents", "locales", "client-timestamps", "referrers", "credential-material", "financial-identifiers", "government-identifiers", "narrative", "generated-summaries", "quotations", "embeddings", "content-hashes", "matched-values", "model-traces", "binary-images", "client-pixels", "filenames", "exact-coordinates", "exact-dimensions", "adapter-fingerprints", "raw-warnings", "blob-references", "request-telemetry", "raw-urls", "unrestricted-scans", "mutations"];
|
|
271
276
|
declare const MCP_ADMIN_ECONOMY_ADJUSTMENTS_FLAG_ID = "mcp.admin-economy-adjustments.enabled";
|
|
272
277
|
declare const ECONOMY_OWNER_ADJUSTMENTS_FLAG_ID = "economy.tokens.owner-adjustments.enabled";
|
|
273
278
|
declare const MCP_ECONOMY_FINANCE_VIEW_CAPABILITY = "economy.finance-operations.view";
|
|
@@ -556,4 +561,4 @@ declare function buildMcpDiscoveryResponse(): McpDiscoveryResponse;
|
|
|
556
561
|
declare function buildMcpSchemaResponse(): McpSchemaResponse;
|
|
557
562
|
declare function buildMcpContextResponse(options: BuildMcpContextResponseOptions): McpContextResponse;
|
|
558
563
|
|
|
559
|
-
export { type AiPluginManifest, type BuildMcpContextResponseOptions, ECONOMY_ADMIN_HISTORY_FLAG_ID, ECONOMY_FINANCE_OPERATIONS_VIEW_CAPABILITY, ECONOMY_OWNER_ADJUSTMENTS_FLAG_ID, MCP_ACCESS_SCOPE, MCP_ADMIN_ACTIONS, MCP_ADMIN_ANALYTICS_DIMENSIONS, MCP_ADMIN_ANALYTICS_FLAG_ID, MCP_ADMIN_ANALYTICS_METRICS, MCP_ADMIN_ANALYTICS_PRESETS, MCP_ADMIN_BASE_OAUTH_SCOPE, MCP_ADMIN_CONTEXT_SHAPE, MCP_ADMIN_CONTRACT_VERSION, MCP_ADMIN_ECONOMY_ADJUSTMENTS_FLAG_ID, MCP_ADMIN_ECONOMY_HISTORY_FLAG_ID, MCP_ADMIN_ECONOMY_READ_CAPABILITY, MCP_ADMIN_EXTENSION_RULES, MCP_ADMIN_FEEDBACK_ACTIONS, MCP_ADMIN_FEEDBACK_ALERT_WINDOWS, MCP_ADMIN_FEEDBACK_BUG_HEALTH_WINDOWS, MCP_ADMIN_FEEDBACK_ENTRY_WINDOWS, MCP_ADMIN_FEEDBACK_FLAG_ID, MCP_ADMIN_FEEDBACK_MAX_CURSOR_LENGTH, MCP_ADMIN_FEEDBACK_MAX_PAGE_SIZE, MCP_ADMIN_FEEDBACK_PACKET_TYPES, MCP_ADMIN_FEEDBACK_PRIVACY_EXCLUSIONS, MCP_ADMIN_FEEDBACK_PRIVACY_METADATA, MCP_ADMIN_FEEDBACK_PROCESSORS, MCP_ADMIN_FEEDBACK_READ_CAPABILITY, MCP_ADMIN_FEEDBACK_READ_OAUTH_SCOPE, MCP_ADMIN_FEEDBACK_REPORT_TYPES, MCP_ADMIN_FEEDBACK_REQUIRED_OAUTH_SCOPES, MCP_ADMIN_FEEDBACK_SATISFACTION_WINDOWS, MCP_ADMIN_FEEDBACK_SCHEMA_CONTRACT_VERSION, MCP_ADMIN_FEEDBACK_SCHEMA_PACKAGE, MCP_ADMIN_FEEDBACK_WINDOWS, MCP_ADMIN_FOUNDATION_DISABLED_CODE, MCP_ADMIN_FOUNDATION_ENV_VAR, MCP_ADMIN_FOUNDATION_FLAG_ID, MCP_ADMIN_LIVEOPS_FLAG_ID, MCP_ADMIN_MODEL_CAPABILITIES, MCP_ADMIN_MODEL_OAUTH_SCOPES, MCP_ADMIN_MODEL_REGISTRY_SOURCE, MCP_ADMIN_MODEL_RESOLUTION_CONTRACT_VERSION, MCP_ADMIN_MODEL_TOOL_CONTRACT_VERSION, MCP_ADMIN_PRODUCTION_READINESS_ENV_VAR, MCP_ADMIN_PRODUCTION_READINESS_FLAG_ID, MCP_ADMIN_REGISTRY_SOURCE, MCP_ADMIN_TOKEN_ACTIVITY_SORTS, MCP_ADMIN_TOKEN_ACTIVITY_SOURCES, MCP_ADMIN_TOKEN_ACTIVITY_STATUSES, MCP_ADMIN_TOKEN_ACTIVITY_TYPES, MCP_ADMIN_TOKEN_WALLET_COMPONENTS, MCP_ADMIN_TOKEN_WALLET_SORTS, MCP_ADMIN_TOKEN_WALLET_STATUSES, MCP_ADMIN_USER_AGGREGATION_DIMENSIONS, MCP_ADMIN_USER_AGGREGATION_METRICS, MCP_ADMIN_USER_AGGREGATION_PRESETS, MCP_ASSET_CATALOG_CONFIRM_CAPABILITY, MCP_ASSET_CATALOG_REQUEST_CAPABILITY, MCP_ASSET_CATALOG_REVIEW_CAPABILITY, MCP_ASSET_EXTERNAL_HARVEST_FLAG_ID, MCP_ASSET_PIPELINE_FLAG_ID, MCP_ASSET_PIPELINE_MANAGE_CAPABILITY, MCP_ASSET_PROCESSING_OPERATIONS, MCP_ASSET_REVIEW_KINDS, MCP_ASSET_SOURCE_ADAPTERS, MCP_ASSET_SOURCE_MANAGE_CAPABILITY, MCP_ASSET_SOURCE_TIERS, MCP_ECONOMY_FINANCE_ADJUST_CAPABILITY, MCP_ECONOMY_FINANCE_APPROVE_CAPABILITY, MCP_ECONOMY_FINANCE_VIEW_CAPABILITY, type McpActionAccessRequirements, type McpActionDescriptor, type McpActionDomain, type McpActionExecution, type McpActionFamilyDomain, type McpActionSummary, type McpActionVerification, type McpAdminContractDescriptionKey, type McpAuthenticatedUserContext, type McpCanonicalSchemaSource, type McpContextResponse, type McpDiscoveryResponse, type McpFeedbackPrivacyExclusion, type McpFeedbackPrivacyMetadata, type McpFieldShape, type McpModelResolutionContext, type McpModelToolExecution, type McpModelToolSchemaDescriptor, type McpModelToolSummary, type McpRolloutContext, type McpSchemaResponse, type McpSurfaceUrls, buildAiPluginManifest, buildMcpContextResponse, buildMcpDiscoveryResponse, buildMcpSchemaResponse, buildMcpSurfaceUrls, getMcpAdminContractDefaultTranslation, listMcpActionSummaries, listMcpModelResourceTemplates, listMcpModelToolSummaries, mcpAdminContractDescriptionKeys, mcpAdminContractsEnGbTranslations, mcpAdminContractsTranslations };
|
|
564
|
+
export { type AiPluginManifest, type BuildMcpContextResponseOptions, ECONOMY_ADMIN_HISTORY_FLAG_ID, ECONOMY_FINANCE_OPERATIONS_VIEW_CAPABILITY, ECONOMY_OWNER_ADJUSTMENTS_FLAG_ID, MCP_ACCESS_SCOPE, MCP_ADMIN_ACTIONS, MCP_ADMIN_ANALYTICS_DIMENSIONS, MCP_ADMIN_ANALYTICS_FLAG_ID, MCP_ADMIN_ANALYTICS_METRICS, MCP_ADMIN_ANALYTICS_PRESETS, MCP_ADMIN_BASE_OAUTH_SCOPE, MCP_ADMIN_CONTEXT_SHAPE, MCP_ADMIN_CONTRACT_VERSION, MCP_ADMIN_ECONOMY_ADJUSTMENTS_FLAG_ID, MCP_ADMIN_ECONOMY_HISTORY_FLAG_ID, MCP_ADMIN_ECONOMY_READ_CAPABILITY, MCP_ADMIN_EXTENSION_RULES, MCP_ADMIN_FEEDBACK_ACTIONS, MCP_ADMIN_FEEDBACK_ALERT_WINDOWS, MCP_ADMIN_FEEDBACK_BUG_HEALTH_WINDOWS, MCP_ADMIN_FEEDBACK_ENTRY_WINDOWS, MCP_ADMIN_FEEDBACK_FLAG_ID, MCP_ADMIN_FEEDBACK_HOST_DEFAULT_ENABLED, MCP_ADMIN_FEEDBACK_MAX_CURSOR_LENGTH, MCP_ADMIN_FEEDBACK_MAX_PAGE_SIZE, MCP_ADMIN_FEEDBACK_PACKET_TYPES, MCP_ADMIN_FEEDBACK_PRIVACY_EXCLUSIONS, MCP_ADMIN_FEEDBACK_PRIVACY_METADATA, MCP_ADMIN_FEEDBACK_PROCESSORS, MCP_ADMIN_FEEDBACK_READ_CAPABILITY, MCP_ADMIN_FEEDBACK_READ_OAUTH_SCOPE, MCP_ADMIN_FEEDBACK_REPORT_TYPES, MCP_ADMIN_FEEDBACK_REQUIRED_OAUTH_SCOPES, MCP_ADMIN_FEEDBACK_SATISFACTION_WINDOWS, MCP_ADMIN_FEEDBACK_SCHEMA_CONTRACT_VERSION, MCP_ADMIN_FEEDBACK_SCHEMA_PACKAGE, MCP_ADMIN_FEEDBACK_WINDOWS, MCP_ADMIN_FOUNDATION_DISABLED_CODE, MCP_ADMIN_FOUNDATION_ENV_VAR, MCP_ADMIN_FOUNDATION_FLAG_ID, MCP_ADMIN_LIVEOPS_FLAG_ID, MCP_ADMIN_MODEL_CAPABILITIES, MCP_ADMIN_MODEL_OAUTH_SCOPES, MCP_ADMIN_MODEL_REGISTRY_SOURCE, MCP_ADMIN_MODEL_RESOLUTION_CONTRACT_VERSION, MCP_ADMIN_MODEL_TOOL_CONTRACT_VERSION, MCP_ADMIN_PRODUCTION_READINESS_ENV_VAR, MCP_ADMIN_PRODUCTION_READINESS_FLAG_ID, MCP_ADMIN_REGISTRY_SOURCE, MCP_ADMIN_TOKEN_ACTIVITY_SORTS, MCP_ADMIN_TOKEN_ACTIVITY_SOURCES, MCP_ADMIN_TOKEN_ACTIVITY_STATUSES, MCP_ADMIN_TOKEN_ACTIVITY_TYPES, MCP_ADMIN_TOKEN_WALLET_COMPONENTS, MCP_ADMIN_TOKEN_WALLET_SORTS, MCP_ADMIN_TOKEN_WALLET_STATUSES, MCP_ADMIN_USER_AGGREGATION_DIMENSIONS, MCP_ADMIN_USER_AGGREGATION_METRICS, MCP_ADMIN_USER_AGGREGATION_PRESETS, MCP_ASSET_CATALOG_CONFIRM_CAPABILITY, MCP_ASSET_CATALOG_REQUEST_CAPABILITY, MCP_ASSET_CATALOG_REVIEW_CAPABILITY, MCP_ASSET_EXTERNAL_HARVEST_FLAG_ID, MCP_ASSET_PIPELINE_FLAG_ID, MCP_ASSET_PIPELINE_MANAGE_CAPABILITY, MCP_ASSET_PROCESSING_OPERATIONS, MCP_ASSET_REVIEW_KINDS, MCP_ASSET_SOURCE_ADAPTERS, MCP_ASSET_SOURCE_MANAGE_CAPABILITY, MCP_ASSET_SOURCE_TIERS, MCP_ECONOMY_FINANCE_ADJUST_CAPABILITY, MCP_ECONOMY_FINANCE_APPROVE_CAPABILITY, MCP_ECONOMY_FINANCE_VIEW_CAPABILITY, type McpActionAccessRequirements, type McpActionDescriptor, type McpActionDomain, type McpActionExecution, type McpActionFamilyDomain, type McpActionSummary, type McpActionVerification, type McpAdminContractDescriptionKey, type McpAuthenticatedUserContext, type McpCanonicalSchemaSource, type McpContextResponse, type McpDiscoveryResponse, type McpFeedbackPrivacyExclusion, type McpFeedbackPrivacyMetadata, type McpFieldShape, type McpModelResolutionContext, type McpModelToolExecution, type McpModelToolSchemaDescriptor, type McpModelToolSummary, type McpRolloutContext, type McpSchemaResponse, type McpSurfaceUrls, buildAiPluginManifest, buildMcpContextResponse, buildMcpDiscoveryResponse, buildMcpSchemaResponse, buildMcpSurfaceUrls, getMcpAdminContractDefaultTranslation, listMcpActionSummaries, listMcpModelResourceTemplates, listMcpModelToolSummaries, mcpAdminContractDescriptionKeys, mcpAdminContractsEnGbTranslations, mcpAdminContractsTranslations };
|
package/dist/index.js
CHANGED
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
FEEDBACK_VIEWPORT_BUCKETS,
|
|
17
17
|
FeedbackBugPacketSchema,
|
|
18
18
|
FeedbackDailySatisfactionReportSchema,
|
|
19
|
+
FeedbackGameReconstructionManifestSchema,
|
|
19
20
|
FeedbackHourlyBugReportSchema,
|
|
20
21
|
FeedbackProcessorCheckpointSchema,
|
|
21
22
|
FeedbackReviewPacketSchema
|
|
@@ -69,6 +70,7 @@ var mcpAdminContractsEnGbTranslations = {
|
|
|
69
70
|
"mcpAdminContracts.action.listFeedbackAlerts.description": "List bounded deterministic feedback advisories using an opaque cursor.",
|
|
70
71
|
"mcpAdminContracts.action.getFeedbackFreshness.description": "Read safe freshness metadata for the hourly bug and daily satisfaction processors.",
|
|
71
72
|
"mcpAdminContracts.action.listFeedbackStructuredEntries.description": "List bounded reporter-identifier-free structured feedback entries without narrative or storage references.",
|
|
73
|
+
"mcpAdminContracts.action.getFeedbackGameReconstruction.description": "Read one clearly labelled safe in-game reconstruction manifest without captured pixels, narrative, reporter identity, or storage references.",
|
|
72
74
|
"mcpAdminContracts.action.searchAssetCatalog.description": "Search promoted asset catalog records without live third-party lookup.",
|
|
73
75
|
"mcpAdminContracts.action.getAssetManifest.description": "Fetch a promoted player-safe runtime asset manifest reference.",
|
|
74
76
|
"mcpAdminContracts.action.requestAsset.description": "Queue a governed missing-asset request when no promoted catalog match exists.",
|
|
@@ -139,6 +141,7 @@ var mcpAdminContractDescriptionKeys = {
|
|
|
139
141
|
actionListFeedbackAlerts: "mcpAdminContracts.action.listFeedbackAlerts.description",
|
|
140
142
|
actionGetFeedbackFreshness: "mcpAdminContracts.action.getFeedbackFreshness.description",
|
|
141
143
|
actionListFeedbackStructuredEntries: "mcpAdminContracts.action.listFeedbackStructuredEntries.description",
|
|
144
|
+
actionGetFeedbackGameReconstruction: "mcpAdminContracts.action.getFeedbackGameReconstruction.description",
|
|
142
145
|
actionSearchAssetCatalog: "mcpAdminContracts.action.searchAssetCatalog.description",
|
|
143
146
|
actionGetAssetManifest: "mcpAdminContracts.action.getAssetManifest.description",
|
|
144
147
|
actionRequestAsset: "mcpAdminContracts.action.requestAsset.description",
|
|
@@ -184,7 +187,7 @@ function getMcpAdminContractDefaultTranslation(key) {
|
|
|
184
187
|
}
|
|
185
188
|
|
|
186
189
|
// src/index.ts
|
|
187
|
-
var MCP_ADMIN_CONTRACT_VERSION = "2026-08-
|
|
190
|
+
var MCP_ADMIN_CONTRACT_VERSION = "2026-08-26.v8";
|
|
188
191
|
var MCP_ADMIN_REGISTRY_SOURCE = "@plasius/mcp-admin-contracts";
|
|
189
192
|
var MCP_ADMIN_FOUNDATION_FLAG_ID = "mcp.admin.foundation.enabled";
|
|
190
193
|
var MCP_ACCESS_SCOPE = "mcp:access";
|
|
@@ -225,6 +228,7 @@ var MCP_ADMIN_MODEL_OAUTH_SCOPES = Object.freeze([
|
|
|
225
228
|
]);
|
|
226
229
|
var canonicalModelToolDefinitions = listModelMcpToolDefinitions();
|
|
227
230
|
var MCP_ADMIN_FEEDBACK_FLAG_ID = "feedback.mcp.enabled";
|
|
231
|
+
var MCP_ADMIN_FEEDBACK_HOST_DEFAULT_ENABLED = false;
|
|
228
232
|
var MCP_ADMIN_FEEDBACK_READ_CAPABILITY = "admin.feedback.read";
|
|
229
233
|
var MCP_ADMIN_BASE_OAUTH_SCOPE = MCP_ACCESS_SCOPE;
|
|
230
234
|
var MCP_ADMIN_FEEDBACK_READ_OAUTH_SCOPE = MCP_ADMIN_FEEDBACK_READ_CAPABILITY;
|
|
@@ -274,12 +278,14 @@ var MCP_ADMIN_FEEDBACK_PRIVACY_EXCLUSIONS = [
|
|
|
274
278
|
"matched-values",
|
|
275
279
|
"model-traces",
|
|
276
280
|
"binary-images",
|
|
281
|
+
"client-pixels",
|
|
277
282
|
"filenames",
|
|
278
283
|
"exact-coordinates",
|
|
279
284
|
"exact-dimensions",
|
|
280
285
|
"adapter-fingerprints",
|
|
281
286
|
"raw-warnings",
|
|
282
287
|
"blob-references",
|
|
288
|
+
"request-telemetry",
|
|
283
289
|
"raw-urls",
|
|
284
290
|
"unrestricted-scans",
|
|
285
291
|
"mutations"
|
|
@@ -292,6 +298,7 @@ var MCP_ECONOMY_FINANCE_APPROVE_CAPABILITY = "economy.finance-operations.approve
|
|
|
292
298
|
var canonicalFeedbackSchemas = Object.freeze({
|
|
293
299
|
FeedbackBugPacketSchema,
|
|
294
300
|
FeedbackReviewPacketSchema,
|
|
301
|
+
FeedbackGameReconstructionManifestSchema,
|
|
295
302
|
FeedbackHourlyBugReportSchema,
|
|
296
303
|
FeedbackDailySatisfactionReportSchema,
|
|
297
304
|
FeedbackProcessorCheckpointSchema
|
|
@@ -1124,7 +1131,7 @@ var canonicalGameDiagnosticsVariantField = (surfaceId, provenanceContractId) =>
|
|
|
1124
1131
|
FEEDBACK_SCHEMA_GAME_ERROR_CODES.length
|
|
1125
1132
|
)
|
|
1126
1133
|
});
|
|
1127
|
-
var canonicalGameDiagnosticsField = discriminatedUnionField(
|
|
1134
|
+
var canonicalGameDiagnosticsField = (required) => discriminatedUnionField(
|
|
1128
1135
|
"Canonical `FeedbackGameDiagnostics`; its surface must equal the containing bug packet surface and it cannot express pixels, DOM, text, URLs, filenames, coordinates, or adapter fingerprints.",
|
|
1129
1136
|
"surfaceId",
|
|
1130
1137
|
[
|
|
@@ -1137,7 +1144,7 @@ var canonicalGameDiagnosticsField = discriminatedUnionField(
|
|
|
1137
1144
|
"gpu-demo.renderer-diagnostics.v1"
|
|
1138
1145
|
)
|
|
1139
1146
|
],
|
|
1140
|
-
{ required: false }
|
|
1147
|
+
required ? {} : { required: false }
|
|
1141
1148
|
);
|
|
1142
1149
|
var canonicalBugPacketField = feedbackClosedObjectField(
|
|
1143
1150
|
"Canonical identifier-free immutable `FeedbackBugPacket`.",
|
|
@@ -1158,7 +1165,7 @@ var canonicalBugPacketField = feedbackClosedObjectField(
|
|
|
1158
1165
|
releaseId: canonicalSafeIdField("Server-owned release identifier."),
|
|
1159
1166
|
buildId: canonicalSafeIdField("Server-owned build identifier."),
|
|
1160
1167
|
analysis: canonicalAnalysisProjectionField,
|
|
1161
|
-
gameDiagnostics: canonicalGameDiagnosticsField
|
|
1168
|
+
gameDiagnostics: canonicalGameDiagnosticsField(false)
|
|
1162
1169
|
}
|
|
1163
1170
|
);
|
|
1164
1171
|
var canonicalReviewPacketField = feedbackClosedObjectField(
|
|
@@ -1179,6 +1186,32 @@ var canonicalFeedbackPacketField = discriminatedUnionField(
|
|
|
1179
1186
|
"type",
|
|
1180
1187
|
[canonicalBugPacketField, canonicalReviewPacketField]
|
|
1181
1188
|
);
|
|
1189
|
+
var canonicalGameReconstructionManifestField = feedbackClosedObjectField(
|
|
1190
|
+
"Canonical safe server-side reconstruction manifest. It is a labelled reconstruction from curated public assets and consented coarse diagnostics, not a literal screenshot.",
|
|
1191
|
+
{
|
|
1192
|
+
...canonicalSchemaIdentityFields("feedback-game-reconstruction-manifest"),
|
|
1193
|
+
reconstructionId: canonicalUuidV4Field(
|
|
1194
|
+
"Opaque canonical reconstruction UUIDv4."
|
|
1195
|
+
),
|
|
1196
|
+
bugPacketId: canonicalUuidV4Field(
|
|
1197
|
+
"Opaque canonical source bug-packet UUIDv4; it cannot identify a reporter."
|
|
1198
|
+
),
|
|
1199
|
+
createdAt: canonicalDateTimeField(
|
|
1200
|
+
"Server-owned reconstruction creation time."
|
|
1201
|
+
),
|
|
1202
|
+
expiresAt: canonicalDateTimeField(
|
|
1203
|
+
"Server-owned expiry, strictly after creation and no more than 30 days later."
|
|
1204
|
+
),
|
|
1205
|
+
curatedAssetSetId: canonicalSafeIdField(
|
|
1206
|
+
"Allowlisted curated public asset-set identifier; never a path, URL, or Blob reference."
|
|
1207
|
+
),
|
|
1208
|
+
noticeKey: canonicalSafeIdField(
|
|
1209
|
+
"Stable translation key labelling this as a reconstruction rather than a screenshot.",
|
|
1210
|
+
160
|
|
1211
|
+
),
|
|
1212
|
+
diagnostics: canonicalGameDiagnosticsField(true)
|
|
1213
|
+
}
|
|
1214
|
+
);
|
|
1182
1215
|
var canonicalDistributionField = (description, idField, maximum) => arrayOfField(
|
|
1183
1216
|
`${description} Bucket identifiers are unique as required by the canonical schema.`,
|
|
1184
1217
|
"FeedbackCountBucket",
|
|
@@ -1782,6 +1815,38 @@ var MCP_ADMIN_FEEDBACK_ACTIONS = deepFreeze([
|
|
|
1782
1815
|
{ maxItems: MCP_ADMIN_FEEDBACK_MAX_PAGE_SIZE }
|
|
1783
1816
|
)
|
|
1784
1817
|
}
|
|
1818
|
+
},
|
|
1819
|
+
{
|
|
1820
|
+
name: "getFeedbackGameReconstruction",
|
|
1821
|
+
...translatedDescription(
|
|
1822
|
+
mcpAdminContractDescriptionKeys.actionGetFeedbackGameReconstruction
|
|
1823
|
+
),
|
|
1824
|
+
...feedbackDescriptorMetadata,
|
|
1825
|
+
schemaSource: feedbackSchemaSource(
|
|
1826
|
+
"FeedbackGameReconstructionManifestSchema"
|
|
1827
|
+
),
|
|
1828
|
+
execution: {
|
|
1829
|
+
method: "GET",
|
|
1830
|
+
path: "/api/admin/feedback/reconstructions/{bugPacketId}",
|
|
1831
|
+
source: "near-future-route",
|
|
1832
|
+
notes: [
|
|
1833
|
+
"Reads one schema-validated, clearly labelled server-side reconstruction manifest from consented coarse diagnostics and curated public assets; it is not a literal screenshot.",
|
|
1834
|
+
"Returns no binary image, client pixels, DOM, narrative, reporter or control identity, request telemetry, URL, arbitrary asset, direct Blob reference, or storage locator.",
|
|
1835
|
+
"The runtime must validate the exact lowercase UUIDv4 path value, enforce fail-closed rate limits and dedicated audit, and return one uniform not-found response for absent, expired, or unavailable manifests.",
|
|
1836
|
+
"This point-read contract has no list, scan, cursor, free-form query, or mutation operation."
|
|
1837
|
+
]
|
|
1838
|
+
},
|
|
1839
|
+
input: {
|
|
1840
|
+
bugPacketId: {
|
|
1841
|
+
...canonicalUuidV4Field(
|
|
1842
|
+
"Exact opaque bug-packet UUIDv4 for one approved reconstruction."
|
|
1843
|
+
),
|
|
1844
|
+
required: true
|
|
1845
|
+
}
|
|
1846
|
+
},
|
|
1847
|
+
output: {
|
|
1848
|
+
item: canonicalGameReconstructionManifestField
|
|
1849
|
+
}
|
|
1785
1850
|
}
|
|
1786
1851
|
]);
|
|
1787
1852
|
var MCP_ADMIN_ACTIONS = [
|
|
@@ -3869,6 +3934,7 @@ export {
|
|
|
3869
3934
|
MCP_ADMIN_FEEDBACK_BUG_HEALTH_WINDOWS,
|
|
3870
3935
|
MCP_ADMIN_FEEDBACK_ENTRY_WINDOWS,
|
|
3871
3936
|
MCP_ADMIN_FEEDBACK_FLAG_ID,
|
|
3937
|
+
MCP_ADMIN_FEEDBACK_HOST_DEFAULT_ENABLED,
|
|
3872
3938
|
MCP_ADMIN_FEEDBACK_MAX_CURSOR_LENGTH,
|
|
3873
3939
|
MCP_ADMIN_FEEDBACK_MAX_PAGE_SIZE,
|
|
3874
3940
|
MCP_ADMIN_FEEDBACK_PACKET_TYPES,
|