@plasius/mcp-admin-contracts 0.5.1 → 0.6.1
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 +49 -0
- package/README.md +37 -13
- package/dist/index.cjs +76 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -6
- package/dist/index.d.ts +13 -6
- package/dist/index.js +76 -6
- package/dist/index.js.map +1 -1
- package/docs/adrs/adr-0006-canonical-model-resolution-discovery.md +11 -6
- package/docs/adrs/adr-0007-safe-game-reconstruction-point-read.md +81 -0
- package/docs/adrs/index.md +1 -0
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MODEL_RESOLUTION_CONTRACT_VERSION } from '@plasius/asset-contracts';
|
|
2
|
-
import { MODEL_MCP_CONTRACT_VERSION, ASSET_MCP_PACKAGE, MODEL_MCP_UNIFIED_FEATURE_FLAG_ID, MODEL_MCP_EXTERNAL_HARVEST_FEATURE_FLAG_ID, MODEL_MCP_GENERATION_FEATURE_FLAG_ID, ModelMcpToolName, ModelMcpToolDefinition, ModelMcpResourceTemplate } from '@plasius/asset-mcp';
|
|
2
|
+
import { MODEL_MCP_CONTRACT_VERSION, ASSET_MCP_PACKAGE, MODEL_MCP_UNIFIED_FEATURE_FLAG_ID, MODEL_MCP_PVOX_FEATURE_FLAG_ID, MODEL_MCP_EXTERNAL_HARVEST_FEATURE_FLAG_ID, MODEL_MCP_GENERATION_FEATURE_FLAG_ID, ModelMcpToolName, ModelMcpToolDefinition, ModelMcpResourceTemplate } from '@plasius/asset-mcp';
|
|
3
3
|
|
|
4
4
|
declare const mcpAdminContractsEnGbTranslations: {
|
|
5
5
|
readonly "mcpAdminContracts.manifest.descriptionForModel": "OAuth-protected MCP discovery manifest for the Plasius admin control plane covering feature flags, capabilities, analytics, privacy-safe feedback intelligence, pseudonymous Token finance reads, and audit-backed operations.";
|
|
@@ -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.";
|
|
@@ -47,7 +48,7 @@ declare const mcpAdminContractsEnGbTranslations: {
|
|
|
47
48
|
readonly "mcpAdminContracts.action.getAssetJobStatus.description": "Read governed asset job status, planned processing work, and evidence references.";
|
|
48
49
|
readonly "mcpAdminContracts.action.listModelSearchRankers.description": "List allowlisted, calibrated model-search rankers and their current readiness without selecting a substitute.";
|
|
49
50
|
readonly "mcpAdminContracts.action.searchModelCatalog.description": "Search promoted model catalog versions using hard constraints and one exact calibrated ranker selection.";
|
|
50
|
-
readonly "mcpAdminContracts.action.resolveModelRequest.description": "Search the catalog and idempotently create asynchronous provider
|
|
51
|
+
readonly "mcpAdminContracts.action.resolveModelRequest.description": "Search the catalog and idempotently stage an attached source or create asynchronous provider/generator fallback work.";
|
|
51
52
|
readonly "mcpAdminContracts.action.getModelResolution.description": "Read an owned immutable model-resolution revision, progress, questions, and review evidence.";
|
|
52
53
|
readonly "mcpAdminContracts.action.confirmModelCandidate.description": "Confirm one exact four-view candidate; low assurance additionally requires explicit semantic-risk acceptance.";
|
|
53
54
|
readonly "mcpAdminContracts.action.retryModelResolution.description": "Create the next immutable request revision from bounded refinement answers and candidate exclusions.";
|
|
@@ -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.";
|
|
@@ -187,7 +190,7 @@ declare const mcpAdminContractsTranslations: {
|
|
|
187
190
|
readonly "mcpAdminContracts.action.getAssetJobStatus.description": "Read governed asset job status, planned processing work, and evidence references.";
|
|
188
191
|
readonly "mcpAdminContracts.action.listModelSearchRankers.description": "List allowlisted, calibrated model-search rankers and their current readiness without selecting a substitute.";
|
|
189
192
|
readonly "mcpAdminContracts.action.searchModelCatalog.description": "Search promoted model catalog versions using hard constraints and one exact calibrated ranker selection.";
|
|
190
|
-
readonly "mcpAdminContracts.action.resolveModelRequest.description": "Search the catalog and idempotently create asynchronous provider
|
|
193
|
+
readonly "mcpAdminContracts.action.resolveModelRequest.description": "Search the catalog and idempotently stage an attached source or create asynchronous provider/generator fallback work.";
|
|
191
194
|
readonly "mcpAdminContracts.action.getModelResolution.description": "Read an owned immutable model-resolution revision, progress, questions, and review evidence.";
|
|
192
195
|
readonly "mcpAdminContracts.action.confirmModelCandidate.description": "Confirm one exact four-view candidate; low assurance additionally requires explicit semantic-risk acceptance.";
|
|
193
196
|
readonly "mcpAdminContracts.action.retryModelResolution.description": "Create the next immutable request revision from bounded refinement answers and candidate exclusions.";
|
|
@@ -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-31.v9";
|
|
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";
|
|
@@ -240,6 +243,7 @@ declare const MCP_ADMIN_PRODUCTION_READINESS_FLAG_ID = "mcp.admin.production-rea
|
|
|
240
243
|
declare const MCP_ADMIN_PRODUCTION_READINESS_ENV_VAR = "MCP_ADMIN_PRODUCTION_READINESS_ENABLED";
|
|
241
244
|
declare const MCP_ASSET_PIPELINE_FLAG_ID = "asset.pipeline.unified-ai-assets.enabled";
|
|
242
245
|
declare const MCP_ASSET_EXTERNAL_HARVEST_FLAG_ID = "asset.pipeline.external-model-harvest.enabled";
|
|
246
|
+
declare const MCP_ASSET_PVOX_FLAG_ID: "asset.pipeline.pvox-models.enabled";
|
|
243
247
|
declare const MCP_ASSET_CATALOG_REQUEST_CAPABILITY: "asset.catalog.request";
|
|
244
248
|
declare const MCP_ASSET_CATALOG_CONFIRM_CAPABILITY: "asset.catalog.confirm";
|
|
245
249
|
declare const MCP_ASSET_PIPELINE_MANAGE_CAPABILITY: "asset.pipeline.mcp.manage";
|
|
@@ -257,6 +261,8 @@ declare const MCP_ADMIN_MODEL_CAPABILITIES: Readonly<{
|
|
|
257
261
|
}>;
|
|
258
262
|
declare const MCP_ADMIN_MODEL_OAUTH_SCOPES: readonly string[];
|
|
259
263
|
declare const MCP_ADMIN_FEEDBACK_FLAG_ID = "feedback.mcp.enabled";
|
|
264
|
+
/** Metadata only: the hosted runtime must register the feedback MCP family off. */
|
|
265
|
+
declare const MCP_ADMIN_FEEDBACK_HOST_DEFAULT_ENABLED = false;
|
|
260
266
|
declare const MCP_ADMIN_FEEDBACK_READ_CAPABILITY = "admin.feedback.read";
|
|
261
267
|
declare const MCP_ADMIN_BASE_OAUTH_SCOPE = "mcp:access";
|
|
262
268
|
declare const MCP_ADMIN_FEEDBACK_READ_OAUTH_SCOPE = "admin.feedback.read";
|
|
@@ -267,7 +273,7 @@ declare const MCP_ADMIN_FEEDBACK_WINDOWS: readonly ["previous-utc-hour", "last-2
|
|
|
267
273
|
declare const MCP_ADMIN_FEEDBACK_PACKET_TYPES: readonly ["feedback-bug-packet", "feedback-review-packet"];
|
|
268
274
|
declare const MCP_ADMIN_FEEDBACK_REPORT_TYPES: readonly ["feedback-hourly-bug-report", "feedback-daily-satisfaction-report"];
|
|
269
275
|
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"];
|
|
276
|
+
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
277
|
declare const MCP_ADMIN_ECONOMY_ADJUSTMENTS_FLAG_ID = "mcp.admin-economy-adjustments.enabled";
|
|
272
278
|
declare const ECONOMY_OWNER_ADJUSTMENTS_FLAG_ID = "economy.tokens.owner-adjustments.enabled";
|
|
273
279
|
declare const MCP_ECONOMY_FINANCE_VIEW_CAPABILITY = "economy.finance-operations.view";
|
|
@@ -419,6 +425,7 @@ interface McpModelResolutionContext {
|
|
|
419
425
|
rpcMethod: "tools/call";
|
|
420
426
|
requiredFeatureFlag: typeof MODEL_MCP_UNIFIED_FEATURE_FLAG_ID;
|
|
421
427
|
conditionalFeatureFlags: readonly [
|
|
428
|
+
typeof MODEL_MCP_PVOX_FEATURE_FLAG_ID,
|
|
422
429
|
typeof MODEL_MCP_EXTERNAL_HARVEST_FEATURE_FLAG_ID,
|
|
423
430
|
typeof MODEL_MCP_GENERATION_FEATURE_FLAG_ID
|
|
424
431
|
];
|
|
@@ -556,4 +563,4 @@ declare function buildMcpDiscoveryResponse(): McpDiscoveryResponse;
|
|
|
556
563
|
declare function buildMcpSchemaResponse(): McpSchemaResponse;
|
|
557
564
|
declare function buildMcpContextResponse(options: BuildMcpContextResponseOptions): McpContextResponse;
|
|
558
565
|
|
|
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 };
|
|
566
|
+
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_PVOX_FLAG_ID, 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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MODEL_RESOLUTION_CONTRACT_VERSION } from '@plasius/asset-contracts';
|
|
2
|
-
import { MODEL_MCP_CONTRACT_VERSION, ASSET_MCP_PACKAGE, MODEL_MCP_UNIFIED_FEATURE_FLAG_ID, MODEL_MCP_EXTERNAL_HARVEST_FEATURE_FLAG_ID, MODEL_MCP_GENERATION_FEATURE_FLAG_ID, ModelMcpToolName, ModelMcpToolDefinition, ModelMcpResourceTemplate } from '@plasius/asset-mcp';
|
|
2
|
+
import { MODEL_MCP_CONTRACT_VERSION, ASSET_MCP_PACKAGE, MODEL_MCP_UNIFIED_FEATURE_FLAG_ID, MODEL_MCP_PVOX_FEATURE_FLAG_ID, MODEL_MCP_EXTERNAL_HARVEST_FEATURE_FLAG_ID, MODEL_MCP_GENERATION_FEATURE_FLAG_ID, ModelMcpToolName, ModelMcpToolDefinition, ModelMcpResourceTemplate } from '@plasius/asset-mcp';
|
|
3
3
|
|
|
4
4
|
declare const mcpAdminContractsEnGbTranslations: {
|
|
5
5
|
readonly "mcpAdminContracts.manifest.descriptionForModel": "OAuth-protected MCP discovery manifest for the Plasius admin control plane covering feature flags, capabilities, analytics, privacy-safe feedback intelligence, pseudonymous Token finance reads, and audit-backed operations.";
|
|
@@ -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.";
|
|
@@ -47,7 +48,7 @@ declare const mcpAdminContractsEnGbTranslations: {
|
|
|
47
48
|
readonly "mcpAdminContracts.action.getAssetJobStatus.description": "Read governed asset job status, planned processing work, and evidence references.";
|
|
48
49
|
readonly "mcpAdminContracts.action.listModelSearchRankers.description": "List allowlisted, calibrated model-search rankers and their current readiness without selecting a substitute.";
|
|
49
50
|
readonly "mcpAdminContracts.action.searchModelCatalog.description": "Search promoted model catalog versions using hard constraints and one exact calibrated ranker selection.";
|
|
50
|
-
readonly "mcpAdminContracts.action.resolveModelRequest.description": "Search the catalog and idempotently create asynchronous provider
|
|
51
|
+
readonly "mcpAdminContracts.action.resolveModelRequest.description": "Search the catalog and idempotently stage an attached source or create asynchronous provider/generator fallback work.";
|
|
51
52
|
readonly "mcpAdminContracts.action.getModelResolution.description": "Read an owned immutable model-resolution revision, progress, questions, and review evidence.";
|
|
52
53
|
readonly "mcpAdminContracts.action.confirmModelCandidate.description": "Confirm one exact four-view candidate; low assurance additionally requires explicit semantic-risk acceptance.";
|
|
53
54
|
readonly "mcpAdminContracts.action.retryModelResolution.description": "Create the next immutable request revision from bounded refinement answers and candidate exclusions.";
|
|
@@ -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.";
|
|
@@ -187,7 +190,7 @@ declare const mcpAdminContractsTranslations: {
|
|
|
187
190
|
readonly "mcpAdminContracts.action.getAssetJobStatus.description": "Read governed asset job status, planned processing work, and evidence references.";
|
|
188
191
|
readonly "mcpAdminContracts.action.listModelSearchRankers.description": "List allowlisted, calibrated model-search rankers and their current readiness without selecting a substitute.";
|
|
189
192
|
readonly "mcpAdminContracts.action.searchModelCatalog.description": "Search promoted model catalog versions using hard constraints and one exact calibrated ranker selection.";
|
|
190
|
-
readonly "mcpAdminContracts.action.resolveModelRequest.description": "Search the catalog and idempotently create asynchronous provider
|
|
193
|
+
readonly "mcpAdminContracts.action.resolveModelRequest.description": "Search the catalog and idempotently stage an attached source or create asynchronous provider/generator fallback work.";
|
|
191
194
|
readonly "mcpAdminContracts.action.getModelResolution.description": "Read an owned immutable model-resolution revision, progress, questions, and review evidence.";
|
|
192
195
|
readonly "mcpAdminContracts.action.confirmModelCandidate.description": "Confirm one exact four-view candidate; low assurance additionally requires explicit semantic-risk acceptance.";
|
|
193
196
|
readonly "mcpAdminContracts.action.retryModelResolution.description": "Create the next immutable request revision from bounded refinement answers and candidate exclusions.";
|
|
@@ -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-31.v9";
|
|
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";
|
|
@@ -240,6 +243,7 @@ declare const MCP_ADMIN_PRODUCTION_READINESS_FLAG_ID = "mcp.admin.production-rea
|
|
|
240
243
|
declare const MCP_ADMIN_PRODUCTION_READINESS_ENV_VAR = "MCP_ADMIN_PRODUCTION_READINESS_ENABLED";
|
|
241
244
|
declare const MCP_ASSET_PIPELINE_FLAG_ID = "asset.pipeline.unified-ai-assets.enabled";
|
|
242
245
|
declare const MCP_ASSET_EXTERNAL_HARVEST_FLAG_ID = "asset.pipeline.external-model-harvest.enabled";
|
|
246
|
+
declare const MCP_ASSET_PVOX_FLAG_ID: "asset.pipeline.pvox-models.enabled";
|
|
243
247
|
declare const MCP_ASSET_CATALOG_REQUEST_CAPABILITY: "asset.catalog.request";
|
|
244
248
|
declare const MCP_ASSET_CATALOG_CONFIRM_CAPABILITY: "asset.catalog.confirm";
|
|
245
249
|
declare const MCP_ASSET_PIPELINE_MANAGE_CAPABILITY: "asset.pipeline.mcp.manage";
|
|
@@ -257,6 +261,8 @@ declare const MCP_ADMIN_MODEL_CAPABILITIES: Readonly<{
|
|
|
257
261
|
}>;
|
|
258
262
|
declare const MCP_ADMIN_MODEL_OAUTH_SCOPES: readonly string[];
|
|
259
263
|
declare const MCP_ADMIN_FEEDBACK_FLAG_ID = "feedback.mcp.enabled";
|
|
264
|
+
/** Metadata only: the hosted runtime must register the feedback MCP family off. */
|
|
265
|
+
declare const MCP_ADMIN_FEEDBACK_HOST_DEFAULT_ENABLED = false;
|
|
260
266
|
declare const MCP_ADMIN_FEEDBACK_READ_CAPABILITY = "admin.feedback.read";
|
|
261
267
|
declare const MCP_ADMIN_BASE_OAUTH_SCOPE = "mcp:access";
|
|
262
268
|
declare const MCP_ADMIN_FEEDBACK_READ_OAUTH_SCOPE = "admin.feedback.read";
|
|
@@ -267,7 +273,7 @@ declare const MCP_ADMIN_FEEDBACK_WINDOWS: readonly ["previous-utc-hour", "last-2
|
|
|
267
273
|
declare const MCP_ADMIN_FEEDBACK_PACKET_TYPES: readonly ["feedback-bug-packet", "feedback-review-packet"];
|
|
268
274
|
declare const MCP_ADMIN_FEEDBACK_REPORT_TYPES: readonly ["feedback-hourly-bug-report", "feedback-daily-satisfaction-report"];
|
|
269
275
|
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"];
|
|
276
|
+
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
277
|
declare const MCP_ADMIN_ECONOMY_ADJUSTMENTS_FLAG_ID = "mcp.admin-economy-adjustments.enabled";
|
|
272
278
|
declare const ECONOMY_OWNER_ADJUSTMENTS_FLAG_ID = "economy.tokens.owner-adjustments.enabled";
|
|
273
279
|
declare const MCP_ECONOMY_FINANCE_VIEW_CAPABILITY = "economy.finance-operations.view";
|
|
@@ -419,6 +425,7 @@ interface McpModelResolutionContext {
|
|
|
419
425
|
rpcMethod: "tools/call";
|
|
420
426
|
requiredFeatureFlag: typeof MODEL_MCP_UNIFIED_FEATURE_FLAG_ID;
|
|
421
427
|
conditionalFeatureFlags: readonly [
|
|
428
|
+
typeof MODEL_MCP_PVOX_FEATURE_FLAG_ID,
|
|
422
429
|
typeof MODEL_MCP_EXTERNAL_HARVEST_FEATURE_FLAG_ID,
|
|
423
430
|
typeof MODEL_MCP_GENERATION_FEATURE_FLAG_ID
|
|
424
431
|
];
|
|
@@ -556,4 +563,4 @@ declare function buildMcpDiscoveryResponse(): McpDiscoveryResponse;
|
|
|
556
563
|
declare function buildMcpSchemaResponse(): McpSchemaResponse;
|
|
557
564
|
declare function buildMcpContextResponse(options: BuildMcpContextResponseOptions): McpContextResponse;
|
|
558
565
|
|
|
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 };
|
|
566
|
+
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_PVOX_FLAG_ID, 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
|
|
@@ -30,6 +31,7 @@ import {
|
|
|
30
31
|
MODEL_MCP_EXTERNAL_HARVEST_FEATURE_FLAG_ID,
|
|
31
32
|
MODEL_MCP_GENERATION_FEATURE_FLAG_ID,
|
|
32
33
|
MODEL_MCP_PIPELINE_MANAGE_CAPABILITY,
|
|
34
|
+
MODEL_MCP_PVOX_FEATURE_FLAG_ID,
|
|
33
35
|
MODEL_MCP_SOURCE_MANAGE_CAPABILITY,
|
|
34
36
|
MODEL_MCP_TOOL_NAMES,
|
|
35
37
|
MODEL_MCP_UNIFIED_FEATURE_FLAG_ID,
|
|
@@ -69,6 +71,7 @@ var mcpAdminContractsEnGbTranslations = {
|
|
|
69
71
|
"mcpAdminContracts.action.listFeedbackAlerts.description": "List bounded deterministic feedback advisories using an opaque cursor.",
|
|
70
72
|
"mcpAdminContracts.action.getFeedbackFreshness.description": "Read safe freshness metadata for the hourly bug and daily satisfaction processors.",
|
|
71
73
|
"mcpAdminContracts.action.listFeedbackStructuredEntries.description": "List bounded reporter-identifier-free structured feedback entries without narrative or storage references.",
|
|
74
|
+
"mcpAdminContracts.action.getFeedbackGameReconstruction.description": "Read one clearly labelled safe in-game reconstruction manifest without captured pixels, narrative, reporter identity, or storage references.",
|
|
72
75
|
"mcpAdminContracts.action.searchAssetCatalog.description": "Search promoted asset catalog records without live third-party lookup.",
|
|
73
76
|
"mcpAdminContracts.action.getAssetManifest.description": "Fetch a promoted player-safe runtime asset manifest reference.",
|
|
74
77
|
"mcpAdminContracts.action.requestAsset.description": "Queue a governed missing-asset request when no promoted catalog match exists.",
|
|
@@ -84,7 +87,7 @@ var mcpAdminContractsEnGbTranslations = {
|
|
|
84
87
|
"mcpAdminContracts.action.getAssetJobStatus.description": "Read governed asset job status, planned processing work, and evidence references.",
|
|
85
88
|
"mcpAdminContracts.action.listModelSearchRankers.description": "List allowlisted, calibrated model-search rankers and their current readiness without selecting a substitute.",
|
|
86
89
|
"mcpAdminContracts.action.searchModelCatalog.description": "Search promoted model catalog versions using hard constraints and one exact calibrated ranker selection.",
|
|
87
|
-
"mcpAdminContracts.action.resolveModelRequest.description": "Search the catalog and idempotently create asynchronous provider
|
|
90
|
+
"mcpAdminContracts.action.resolveModelRequest.description": "Search the catalog and idempotently stage an attached source or create asynchronous provider/generator fallback work.",
|
|
88
91
|
"mcpAdminContracts.action.getModelResolution.description": "Read an owned immutable model-resolution revision, progress, questions, and review evidence.",
|
|
89
92
|
"mcpAdminContracts.action.confirmModelCandidate.description": "Confirm one exact four-view candidate; low assurance additionally requires explicit semantic-risk acceptance.",
|
|
90
93
|
"mcpAdminContracts.action.retryModelResolution.description": "Create the next immutable request revision from bounded refinement answers and candidate exclusions.",
|
|
@@ -139,6 +142,7 @@ var mcpAdminContractDescriptionKeys = {
|
|
|
139
142
|
actionListFeedbackAlerts: "mcpAdminContracts.action.listFeedbackAlerts.description",
|
|
140
143
|
actionGetFeedbackFreshness: "mcpAdminContracts.action.getFeedbackFreshness.description",
|
|
141
144
|
actionListFeedbackStructuredEntries: "mcpAdminContracts.action.listFeedbackStructuredEntries.description",
|
|
145
|
+
actionGetFeedbackGameReconstruction: "mcpAdminContracts.action.getFeedbackGameReconstruction.description",
|
|
142
146
|
actionSearchAssetCatalog: "mcpAdminContracts.action.searchAssetCatalog.description",
|
|
143
147
|
actionGetAssetManifest: "mcpAdminContracts.action.getAssetManifest.description",
|
|
144
148
|
actionRequestAsset: "mcpAdminContracts.action.requestAsset.description",
|
|
@@ -184,7 +188,7 @@ function getMcpAdminContractDefaultTranslation(key) {
|
|
|
184
188
|
}
|
|
185
189
|
|
|
186
190
|
// src/index.ts
|
|
187
|
-
var MCP_ADMIN_CONTRACT_VERSION = "2026-08-
|
|
191
|
+
var MCP_ADMIN_CONTRACT_VERSION = "2026-08-31.v9";
|
|
188
192
|
var MCP_ADMIN_REGISTRY_SOURCE = "@plasius/mcp-admin-contracts";
|
|
189
193
|
var MCP_ADMIN_FOUNDATION_FLAG_ID = "mcp.admin.foundation.enabled";
|
|
190
194
|
var MCP_ACCESS_SCOPE = "mcp:access";
|
|
@@ -200,6 +204,7 @@ var MCP_ADMIN_PRODUCTION_READINESS_FLAG_ID = "mcp.admin.production-readiness.ena
|
|
|
200
204
|
var MCP_ADMIN_PRODUCTION_READINESS_ENV_VAR = "MCP_ADMIN_PRODUCTION_READINESS_ENABLED";
|
|
201
205
|
var MCP_ASSET_PIPELINE_FLAG_ID = "asset.pipeline.unified-ai-assets.enabled";
|
|
202
206
|
var MCP_ASSET_EXTERNAL_HARVEST_FLAG_ID = "asset.pipeline.external-model-harvest.enabled";
|
|
207
|
+
var MCP_ASSET_PVOX_FLAG_ID = MODEL_MCP_PVOX_FEATURE_FLAG_ID;
|
|
203
208
|
var MCP_ASSET_CATALOG_REQUEST_CAPABILITY = MODEL_MCP_CATALOG_REQUEST_CAPABILITY;
|
|
204
209
|
var MCP_ASSET_CATALOG_CONFIRM_CAPABILITY = MODEL_MCP_CATALOG_CONFIRM_CAPABILITY;
|
|
205
210
|
var MCP_ASSET_PIPELINE_MANAGE_CAPABILITY = MODEL_MCP_PIPELINE_MANAGE_CAPABILITY;
|
|
@@ -225,6 +230,7 @@ var MCP_ADMIN_MODEL_OAUTH_SCOPES = Object.freeze([
|
|
|
225
230
|
]);
|
|
226
231
|
var canonicalModelToolDefinitions = listModelMcpToolDefinitions();
|
|
227
232
|
var MCP_ADMIN_FEEDBACK_FLAG_ID = "feedback.mcp.enabled";
|
|
233
|
+
var MCP_ADMIN_FEEDBACK_HOST_DEFAULT_ENABLED = false;
|
|
228
234
|
var MCP_ADMIN_FEEDBACK_READ_CAPABILITY = "admin.feedback.read";
|
|
229
235
|
var MCP_ADMIN_BASE_OAUTH_SCOPE = MCP_ACCESS_SCOPE;
|
|
230
236
|
var MCP_ADMIN_FEEDBACK_READ_OAUTH_SCOPE = MCP_ADMIN_FEEDBACK_READ_CAPABILITY;
|
|
@@ -274,12 +280,14 @@ var MCP_ADMIN_FEEDBACK_PRIVACY_EXCLUSIONS = [
|
|
|
274
280
|
"matched-values",
|
|
275
281
|
"model-traces",
|
|
276
282
|
"binary-images",
|
|
283
|
+
"client-pixels",
|
|
277
284
|
"filenames",
|
|
278
285
|
"exact-coordinates",
|
|
279
286
|
"exact-dimensions",
|
|
280
287
|
"adapter-fingerprints",
|
|
281
288
|
"raw-warnings",
|
|
282
289
|
"blob-references",
|
|
290
|
+
"request-telemetry",
|
|
283
291
|
"raw-urls",
|
|
284
292
|
"unrestricted-scans",
|
|
285
293
|
"mutations"
|
|
@@ -292,6 +300,7 @@ var MCP_ECONOMY_FINANCE_APPROVE_CAPABILITY = "economy.finance-operations.approve
|
|
|
292
300
|
var canonicalFeedbackSchemas = Object.freeze({
|
|
293
301
|
FeedbackBugPacketSchema,
|
|
294
302
|
FeedbackReviewPacketSchema,
|
|
303
|
+
FeedbackGameReconstructionManifestSchema,
|
|
295
304
|
FeedbackHourlyBugReportSchema,
|
|
296
305
|
FeedbackDailySatisfactionReportSchema,
|
|
297
306
|
FeedbackProcessorCheckpointSchema
|
|
@@ -1124,7 +1133,7 @@ var canonicalGameDiagnosticsVariantField = (surfaceId, provenanceContractId) =>
|
|
|
1124
1133
|
FEEDBACK_SCHEMA_GAME_ERROR_CODES.length
|
|
1125
1134
|
)
|
|
1126
1135
|
});
|
|
1127
|
-
var canonicalGameDiagnosticsField = discriminatedUnionField(
|
|
1136
|
+
var canonicalGameDiagnosticsField = (required) => discriminatedUnionField(
|
|
1128
1137
|
"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
1138
|
"surfaceId",
|
|
1130
1139
|
[
|
|
@@ -1137,7 +1146,7 @@ var canonicalGameDiagnosticsField = discriminatedUnionField(
|
|
|
1137
1146
|
"gpu-demo.renderer-diagnostics.v1"
|
|
1138
1147
|
)
|
|
1139
1148
|
],
|
|
1140
|
-
{ required: false }
|
|
1149
|
+
required ? {} : { required: false }
|
|
1141
1150
|
);
|
|
1142
1151
|
var canonicalBugPacketField = feedbackClosedObjectField(
|
|
1143
1152
|
"Canonical identifier-free immutable `FeedbackBugPacket`.",
|
|
@@ -1158,7 +1167,7 @@ var canonicalBugPacketField = feedbackClosedObjectField(
|
|
|
1158
1167
|
releaseId: canonicalSafeIdField("Server-owned release identifier."),
|
|
1159
1168
|
buildId: canonicalSafeIdField("Server-owned build identifier."),
|
|
1160
1169
|
analysis: canonicalAnalysisProjectionField,
|
|
1161
|
-
gameDiagnostics: canonicalGameDiagnosticsField
|
|
1170
|
+
gameDiagnostics: canonicalGameDiagnosticsField(false)
|
|
1162
1171
|
}
|
|
1163
1172
|
);
|
|
1164
1173
|
var canonicalReviewPacketField = feedbackClosedObjectField(
|
|
@@ -1179,6 +1188,32 @@ var canonicalFeedbackPacketField = discriminatedUnionField(
|
|
|
1179
1188
|
"type",
|
|
1180
1189
|
[canonicalBugPacketField, canonicalReviewPacketField]
|
|
1181
1190
|
);
|
|
1191
|
+
var canonicalGameReconstructionManifestField = feedbackClosedObjectField(
|
|
1192
|
+
"Canonical safe server-side reconstruction manifest. It is a labelled reconstruction from curated public assets and consented coarse diagnostics, not a literal screenshot.",
|
|
1193
|
+
{
|
|
1194
|
+
...canonicalSchemaIdentityFields("feedback-game-reconstruction-manifest"),
|
|
1195
|
+
reconstructionId: canonicalUuidV4Field(
|
|
1196
|
+
"Opaque canonical reconstruction UUIDv4."
|
|
1197
|
+
),
|
|
1198
|
+
bugPacketId: canonicalUuidV4Field(
|
|
1199
|
+
"Opaque canonical source bug-packet UUIDv4; it cannot identify a reporter."
|
|
1200
|
+
),
|
|
1201
|
+
createdAt: canonicalDateTimeField(
|
|
1202
|
+
"Server-owned reconstruction creation time."
|
|
1203
|
+
),
|
|
1204
|
+
expiresAt: canonicalDateTimeField(
|
|
1205
|
+
"Server-owned expiry, strictly after creation and no more than 30 days later."
|
|
1206
|
+
),
|
|
1207
|
+
curatedAssetSetId: canonicalSafeIdField(
|
|
1208
|
+
"Allowlisted curated public asset-set identifier; never a path, URL, or Blob reference."
|
|
1209
|
+
),
|
|
1210
|
+
noticeKey: canonicalSafeIdField(
|
|
1211
|
+
"Stable translation key labelling this as a reconstruction rather than a screenshot.",
|
|
1212
|
+
160
|
|
1213
|
+
),
|
|
1214
|
+
diagnostics: canonicalGameDiagnosticsField(true)
|
|
1215
|
+
}
|
|
1216
|
+
);
|
|
1182
1217
|
var canonicalDistributionField = (description, idField, maximum) => arrayOfField(
|
|
1183
1218
|
`${description} Bucket identifiers are unique as required by the canonical schema.`,
|
|
1184
1219
|
"FeedbackCountBucket",
|
|
@@ -1782,6 +1817,38 @@ var MCP_ADMIN_FEEDBACK_ACTIONS = deepFreeze([
|
|
|
1782
1817
|
{ maxItems: MCP_ADMIN_FEEDBACK_MAX_PAGE_SIZE }
|
|
1783
1818
|
)
|
|
1784
1819
|
}
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
name: "getFeedbackGameReconstruction",
|
|
1823
|
+
...translatedDescription(
|
|
1824
|
+
mcpAdminContractDescriptionKeys.actionGetFeedbackGameReconstruction
|
|
1825
|
+
),
|
|
1826
|
+
...feedbackDescriptorMetadata,
|
|
1827
|
+
schemaSource: feedbackSchemaSource(
|
|
1828
|
+
"FeedbackGameReconstructionManifestSchema"
|
|
1829
|
+
),
|
|
1830
|
+
execution: {
|
|
1831
|
+
method: "GET",
|
|
1832
|
+
path: "/api/admin/feedback/reconstructions/{bugPacketId}",
|
|
1833
|
+
source: "near-future-route",
|
|
1834
|
+
notes: [
|
|
1835
|
+
"Reads one schema-validated, clearly labelled server-side reconstruction manifest from consented coarse diagnostics and curated public assets; it is not a literal screenshot.",
|
|
1836
|
+
"Returns no binary image, client pixels, DOM, narrative, reporter or control identity, request telemetry, URL, arbitrary asset, direct Blob reference, or storage locator.",
|
|
1837
|
+
"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.",
|
|
1838
|
+
"This point-read contract has no list, scan, cursor, free-form query, or mutation operation."
|
|
1839
|
+
]
|
|
1840
|
+
},
|
|
1841
|
+
input: {
|
|
1842
|
+
bugPacketId: {
|
|
1843
|
+
...canonicalUuidV4Field(
|
|
1844
|
+
"Exact opaque bug-packet UUIDv4 for one approved reconstruction."
|
|
1845
|
+
),
|
|
1846
|
+
required: true
|
|
1847
|
+
}
|
|
1848
|
+
},
|
|
1849
|
+
output: {
|
|
1850
|
+
item: canonicalGameReconstructionManifestField
|
|
1851
|
+
}
|
|
1785
1852
|
}
|
|
1786
1853
|
]);
|
|
1787
1854
|
var MCP_ADMIN_ACTIONS = [
|
|
@@ -3553,6 +3620,7 @@ var buildMcpModelResolutionContext = () => ({
|
|
|
3553
3620
|
rpcMethod: "tools/call",
|
|
3554
3621
|
requiredFeatureFlag: MODEL_MCP_UNIFIED_FEATURE_FLAG_ID,
|
|
3555
3622
|
conditionalFeatureFlags: [
|
|
3623
|
+
MODEL_MCP_PVOX_FEATURE_FLAG_ID,
|
|
3556
3624
|
MODEL_MCP_EXTERNAL_HARVEST_FEATURE_FLAG_ID,
|
|
3557
3625
|
MODEL_MCP_GENERATION_FEATURE_FLAG_ID
|
|
3558
3626
|
],
|
|
@@ -3633,7 +3701,7 @@ var MCP_ADMIN_CONTEXT_SHAPE = deepFreeze({
|
|
|
3633
3701
|
{ constValue: MODEL_MCP_UNIFIED_FEATURE_FLAG_ID }
|
|
3634
3702
|
),
|
|
3635
3703
|
conditionalFeatureFlags: arrayField(
|
|
3636
|
-
"
|
|
3704
|
+
"PVOX, provider, and generator flags evaluated only when their governed path is attempted.",
|
|
3637
3705
|
"string"
|
|
3638
3706
|
),
|
|
3639
3707
|
tools: arrayField("Canonical snake_case model-resolution tool names.", "string"),
|
|
@@ -3869,6 +3937,7 @@ export {
|
|
|
3869
3937
|
MCP_ADMIN_FEEDBACK_BUG_HEALTH_WINDOWS,
|
|
3870
3938
|
MCP_ADMIN_FEEDBACK_ENTRY_WINDOWS,
|
|
3871
3939
|
MCP_ADMIN_FEEDBACK_FLAG_ID,
|
|
3940
|
+
MCP_ADMIN_FEEDBACK_HOST_DEFAULT_ENABLED,
|
|
3872
3941
|
MCP_ADMIN_FEEDBACK_MAX_CURSOR_LENGTH,
|
|
3873
3942
|
MCP_ADMIN_FEEDBACK_MAX_PAGE_SIZE,
|
|
3874
3943
|
MCP_ADMIN_FEEDBACK_PACKET_TYPES,
|
|
@@ -3912,6 +3981,7 @@ export {
|
|
|
3912
3981
|
MCP_ASSET_PIPELINE_FLAG_ID,
|
|
3913
3982
|
MCP_ASSET_PIPELINE_MANAGE_CAPABILITY,
|
|
3914
3983
|
MCP_ASSET_PROCESSING_OPERATIONS,
|
|
3984
|
+
MCP_ASSET_PVOX_FLAG_ID,
|
|
3915
3985
|
MCP_ASSET_REVIEW_KINDS,
|
|
3916
3986
|
MCP_ASSET_SOURCE_ADAPTERS,
|
|
3917
3987
|
MCP_ASSET_SOURCE_MANAGE_CAPABILITY,
|