@plasius/mcp-admin-contracts 0.2.9 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  declare const mcpAdminContractsEnGbTranslations: {
2
- readonly "mcpAdminContracts.manifest.descriptionForModel": "OAuth-protected MCP discovery manifest for the Plasius admin control plane covering feature flags, capabilities, analytics, and audit-backed operations.";
3
- readonly "mcpAdminContracts.manifest.description": "Authenticated admin MCP discovery for the Plasius feature flag, capability, analytics, and audit control plane.";
2
+ 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.";
3
+ readonly "mcpAdminContracts.manifest.description": "Authenticated admin MCP discovery for the Plasius feature flag, capability, analytics, privacy-safe feedback intelligence, pseudonymous Token reporting, and audit control plane.";
4
4
  readonly "mcpAdminContracts.action.listFeatureFlags.description": "List existing feature flags from the admin rollout control plane.";
5
5
  readonly "mcpAdminContracts.action.getFeatureFlag.description": "Fetch one feature flag by stable key.";
6
6
  readonly "mcpAdminContracts.action.updateFeatureFlag.description": "Patch an existing feature flag without bypassing the current admin update semantics.";
@@ -20,6 +20,15 @@ declare const mcpAdminContractsEnGbTranslations: {
20
20
  readonly "mcpAdminContracts.action.listAggregationDimensions.description": "List the approved user-aggregation dimensions from the MCP whitelist.";
21
21
  readonly "mcpAdminContracts.action.aggregateUsers.description": "Run grouped user aggregation over the bounded admin user data surface.";
22
22
  readonly "mcpAdminContracts.action.aggregateUsersByPreset.description": "Run a curated user-aggregation preset against the bounded aggregation route.";
23
+ readonly "mcpAdminContracts.action.listAdminTokenActivity.description": "List bounded pseudonymous Token activity after re-checking MCP scope, finance capabilities, and stored rollout flags.";
24
+ readonly "mcpAdminContracts.action.getAdminTokenEconomyOverview.description": "Read the identifier-free global Token balance, lifetime totals, wallet counts, and authoritative projection freshness.";
25
+ readonly "mcpAdminContracts.action.listAdminTokenWalletBalances.description": "List bounded pseudonymous Token wallet balances without exposing account, payment, provider, or raw wallet identifiers.";
26
+ readonly "mcpAdminContracts.action.getAdminTokenTrends.description": "Read privacy-suppressed Token acquisition and usage trends with explainable advisory anomaly indicators.";
27
+ readonly "mcpAdminContracts.action.getFeedbackBugHealth.description": "Read a bounded immutable hourly bug-health materialisation.";
28
+ readonly "mcpAdminContracts.action.getFeedbackSatisfaction.description": "Read a bounded immutable daily satisfaction materialisation.";
29
+ readonly "mcpAdminContracts.action.listFeedbackAlerts.description": "List bounded deterministic feedback advisories using an opaque cursor.";
30
+ readonly "mcpAdminContracts.action.getFeedbackFreshness.description": "Read safe freshness metadata for the hourly bug and daily satisfaction processors.";
31
+ readonly "mcpAdminContracts.action.listFeedbackStructuredEntries.description": "List bounded reporter-identifier-free structured feedback entries without narrative or storage references.";
23
32
  readonly "mcpAdminContracts.action.searchAssetCatalog.description": "Search promoted asset catalog records without live third-party lookup.";
24
33
  readonly "mcpAdminContracts.action.getAssetManifest.description": "Fetch a promoted player-safe runtime asset manifest reference.";
25
34
  readonly "mcpAdminContracts.action.requestAsset.description": "Queue a governed missing-asset request when no promoted catalog match exists.";
@@ -33,6 +42,13 @@ declare const mcpAdminContractsEnGbTranslations: {
33
42
  readonly "mcpAdminContracts.action.promoteAsset.description": "Promote an approved asset candidate to an immutable runtime manifest reference.";
34
43
  readonly "mcpAdminContracts.action.rollbackAsset.description": "Rollback an asset runtime channel to a previous promoted manifest version.";
35
44
  readonly "mcpAdminContracts.action.getAssetJobStatus.description": "Read governed asset job status, planned processing work, and evidence references.";
45
+ readonly "mcpAdminContracts.action.getUserTokenWallet.description": "Read an account's server-resolved Token wallet summary without exposing provider or payment data.";
46
+ readonly "mcpAdminContracts.action.listUserTokenActivity.description": "Read a bounded, cursor-paginated Token activity history for one account.";
47
+ readonly "mcpAdminContracts.action.listTokenAdjustments.description": "List audited Token adjustment proposals and their approval state.";
48
+ readonly "mcpAdminContracts.action.proposeTokenCredit.description": "Propose a positive Token credit for a server-resolved personal wallet; a distinct owner must approve it.";
49
+ readonly "mcpAdminContracts.action.approveTokenCredit.description": "Approve a preview-bound Token credit proposed by a different owner.";
50
+ readonly "mcpAdminContracts.action.rejectTokenCredit.description": "Reject a pending Token credit without mutating the wallet.";
51
+ readonly "mcpAdminContracts.action.reverseTokenCredit.description": "Propose an immutable compensating reversal of an earlier owner Token credit.";
36
52
  readonly "mcpAdminContracts.verification.enableFeatureFlag.description": "Use admin audit history to verify the rollout change.";
37
53
  readonly "mcpAdminContracts.verification.disableFeatureFlag.description": "Use admin audit history to verify the rollout change.";
38
54
  readonly "mcpAdminContracts.verification.assignCapability.description": "Use admin audit history to verify the stored rule written by the capability assignment.";
@@ -40,6 +56,7 @@ declare const mcpAdminContractsEnGbTranslations: {
40
56
  readonly "mcpAdminContracts.verification.updateCapability.description": "Use admin audit history to verify the stored rule updated by the capability mutation.";
41
57
  readonly "mcpAdminContracts.verification.promoteAsset.description": "Use asset promotion history and admin audit events to verify the immutable runtime manifest promotion.";
42
58
  readonly "mcpAdminContracts.verification.rollbackAsset.description": "Use asset promotion history and admin audit events to verify the runtime channel rollback.";
59
+ readonly "mcpAdminContracts.verification.tokenAdjustment.description": "Read the adjustment and Token activity history to verify its immutable proposal, decision, and ledger result.";
43
60
  };
44
61
 
45
62
  declare const mcpAdminContractDescriptionKeys: {
@@ -64,6 +81,15 @@ declare const mcpAdminContractDescriptionKeys: {
64
81
  readonly actionListAggregationDimensions: "mcpAdminContracts.action.listAggregationDimensions.description";
65
82
  readonly actionAggregateUsers: "mcpAdminContracts.action.aggregateUsers.description";
66
83
  readonly actionAggregateUsersByPreset: "mcpAdminContracts.action.aggregateUsersByPreset.description";
84
+ readonly actionListAdminTokenActivity: "mcpAdminContracts.action.listAdminTokenActivity.description";
85
+ readonly actionGetAdminTokenEconomyOverview: "mcpAdminContracts.action.getAdminTokenEconomyOverview.description";
86
+ readonly actionListAdminTokenWalletBalances: "mcpAdminContracts.action.listAdminTokenWalletBalances.description";
87
+ readonly actionGetAdminTokenTrends: "mcpAdminContracts.action.getAdminTokenTrends.description";
88
+ readonly actionGetFeedbackBugHealth: "mcpAdminContracts.action.getFeedbackBugHealth.description";
89
+ readonly actionGetFeedbackSatisfaction: "mcpAdminContracts.action.getFeedbackSatisfaction.description";
90
+ readonly actionListFeedbackAlerts: "mcpAdminContracts.action.listFeedbackAlerts.description";
91
+ readonly actionGetFeedbackFreshness: "mcpAdminContracts.action.getFeedbackFreshness.description";
92
+ readonly actionListFeedbackStructuredEntries: "mcpAdminContracts.action.listFeedbackStructuredEntries.description";
67
93
  readonly actionSearchAssetCatalog: "mcpAdminContracts.action.searchAssetCatalog.description";
68
94
  readonly actionGetAssetManifest: "mcpAdminContracts.action.getAssetManifest.description";
69
95
  readonly actionRequestAsset: "mcpAdminContracts.action.requestAsset.description";
@@ -77,6 +103,13 @@ declare const mcpAdminContractDescriptionKeys: {
77
103
  readonly actionPromoteAsset: "mcpAdminContracts.action.promoteAsset.description";
78
104
  readonly actionRollbackAsset: "mcpAdminContracts.action.rollbackAsset.description";
79
105
  readonly actionGetAssetJobStatus: "mcpAdminContracts.action.getAssetJobStatus.description";
106
+ readonly actionGetUserTokenWallet: "mcpAdminContracts.action.getUserTokenWallet.description";
107
+ readonly actionListUserTokenActivity: "mcpAdminContracts.action.listUserTokenActivity.description";
108
+ readonly actionListTokenAdjustments: "mcpAdminContracts.action.listTokenAdjustments.description";
109
+ readonly actionProposeTokenCredit: "mcpAdminContracts.action.proposeTokenCredit.description";
110
+ readonly actionApproveTokenCredit: "mcpAdminContracts.action.approveTokenCredit.description";
111
+ readonly actionRejectTokenCredit: "mcpAdminContracts.action.rejectTokenCredit.description";
112
+ readonly actionReverseTokenCredit: "mcpAdminContracts.action.reverseTokenCredit.description";
80
113
  readonly verificationEnableFeatureFlag: "mcpAdminContracts.verification.enableFeatureFlag.description";
81
114
  readonly verificationDisableFeatureFlag: "mcpAdminContracts.verification.disableFeatureFlag.description";
82
115
  readonly verificationAssignCapability: "mcpAdminContracts.verification.assignCapability.description";
@@ -84,13 +117,14 @@ declare const mcpAdminContractDescriptionKeys: {
84
117
  readonly verificationUpdateCapability: "mcpAdminContracts.verification.updateCapability.description";
85
118
  readonly verificationPromoteAsset: "mcpAdminContracts.verification.promoteAsset.description";
86
119
  readonly verificationRollbackAsset: "mcpAdminContracts.verification.rollbackAsset.description";
120
+ readonly verificationTokenAdjustment: "mcpAdminContracts.verification.tokenAdjustment.description";
87
121
  };
88
122
  type McpAdminContractDescriptionKey = (typeof mcpAdminContractDescriptionKeys)[keyof typeof mcpAdminContractDescriptionKeys];
89
123
 
90
124
  declare const mcpAdminContractsTranslations: {
91
125
  readonly "en-GB": {
92
- readonly "mcpAdminContracts.manifest.descriptionForModel": "OAuth-protected MCP discovery manifest for the Plasius admin control plane covering feature flags, capabilities, analytics, and audit-backed operations.";
93
- readonly "mcpAdminContracts.manifest.description": "Authenticated admin MCP discovery for the Plasius feature flag, capability, analytics, and audit control plane.";
126
+ 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.";
127
+ readonly "mcpAdminContracts.manifest.description": "Authenticated admin MCP discovery for the Plasius feature flag, capability, analytics, privacy-safe feedback intelligence, pseudonymous Token reporting, and audit control plane.";
94
128
  readonly "mcpAdminContracts.action.listFeatureFlags.description": "List existing feature flags from the admin rollout control plane.";
95
129
  readonly "mcpAdminContracts.action.getFeatureFlag.description": "Fetch one feature flag by stable key.";
96
130
  readonly "mcpAdminContracts.action.updateFeatureFlag.description": "Patch an existing feature flag without bypassing the current admin update semantics.";
@@ -110,6 +144,15 @@ declare const mcpAdminContractsTranslations: {
110
144
  readonly "mcpAdminContracts.action.listAggregationDimensions.description": "List the approved user-aggregation dimensions from the MCP whitelist.";
111
145
  readonly "mcpAdminContracts.action.aggregateUsers.description": "Run grouped user aggregation over the bounded admin user data surface.";
112
146
  readonly "mcpAdminContracts.action.aggregateUsersByPreset.description": "Run a curated user-aggregation preset against the bounded aggregation route.";
147
+ readonly "mcpAdminContracts.action.listAdminTokenActivity.description": "List bounded pseudonymous Token activity after re-checking MCP scope, finance capabilities, and stored rollout flags.";
148
+ readonly "mcpAdminContracts.action.getAdminTokenEconomyOverview.description": "Read the identifier-free global Token balance, lifetime totals, wallet counts, and authoritative projection freshness.";
149
+ readonly "mcpAdminContracts.action.listAdminTokenWalletBalances.description": "List bounded pseudonymous Token wallet balances without exposing account, payment, provider, or raw wallet identifiers.";
150
+ readonly "mcpAdminContracts.action.getAdminTokenTrends.description": "Read privacy-suppressed Token acquisition and usage trends with explainable advisory anomaly indicators.";
151
+ readonly "mcpAdminContracts.action.getFeedbackBugHealth.description": "Read a bounded immutable hourly bug-health materialisation.";
152
+ readonly "mcpAdminContracts.action.getFeedbackSatisfaction.description": "Read a bounded immutable daily satisfaction materialisation.";
153
+ readonly "mcpAdminContracts.action.listFeedbackAlerts.description": "List bounded deterministic feedback advisories using an opaque cursor.";
154
+ readonly "mcpAdminContracts.action.getFeedbackFreshness.description": "Read safe freshness metadata for the hourly bug and daily satisfaction processors.";
155
+ readonly "mcpAdminContracts.action.listFeedbackStructuredEntries.description": "List bounded reporter-identifier-free structured feedback entries without narrative or storage references.";
113
156
  readonly "mcpAdminContracts.action.searchAssetCatalog.description": "Search promoted asset catalog records without live third-party lookup.";
114
157
  readonly "mcpAdminContracts.action.getAssetManifest.description": "Fetch a promoted player-safe runtime asset manifest reference.";
115
158
  readonly "mcpAdminContracts.action.requestAsset.description": "Queue a governed missing-asset request when no promoted catalog match exists.";
@@ -123,6 +166,13 @@ declare const mcpAdminContractsTranslations: {
123
166
  readonly "mcpAdminContracts.action.promoteAsset.description": "Promote an approved asset candidate to an immutable runtime manifest reference.";
124
167
  readonly "mcpAdminContracts.action.rollbackAsset.description": "Rollback an asset runtime channel to a previous promoted manifest version.";
125
168
  readonly "mcpAdminContracts.action.getAssetJobStatus.description": "Read governed asset job status, planned processing work, and evidence references.";
169
+ readonly "mcpAdminContracts.action.getUserTokenWallet.description": "Read an account's server-resolved Token wallet summary without exposing provider or payment data.";
170
+ readonly "mcpAdminContracts.action.listUserTokenActivity.description": "Read a bounded, cursor-paginated Token activity history for one account.";
171
+ readonly "mcpAdminContracts.action.listTokenAdjustments.description": "List audited Token adjustment proposals and their approval state.";
172
+ readonly "mcpAdminContracts.action.proposeTokenCredit.description": "Propose a positive Token credit for a server-resolved personal wallet; a distinct owner must approve it.";
173
+ readonly "mcpAdminContracts.action.approveTokenCredit.description": "Approve a preview-bound Token credit proposed by a different owner.";
174
+ readonly "mcpAdminContracts.action.rejectTokenCredit.description": "Reject a pending Token credit without mutating the wallet.";
175
+ readonly "mcpAdminContracts.action.reverseTokenCredit.description": "Propose an immutable compensating reversal of an earlier owner Token credit.";
126
176
  readonly "mcpAdminContracts.verification.enableFeatureFlag.description": "Use admin audit history to verify the rollout change.";
127
177
  readonly "mcpAdminContracts.verification.disableFeatureFlag.description": "Use admin audit history to verify the rollout change.";
128
178
  readonly "mcpAdminContracts.verification.assignCapability.description": "Use admin audit history to verify the stored rule written by the capability assignment.";
@@ -130,6 +180,7 @@ declare const mcpAdminContractsTranslations: {
130
180
  readonly "mcpAdminContracts.verification.updateCapability.description": "Use admin audit history to verify the stored rule updated by the capability mutation.";
131
181
  readonly "mcpAdminContracts.verification.promoteAsset.description": "Use asset promotion history and admin audit events to verify the immutable runtime manifest promotion.";
132
182
  readonly "mcpAdminContracts.verification.rollbackAsset.description": "Use asset promotion history and admin audit events to verify the runtime channel rollback.";
183
+ readonly "mcpAdminContracts.verification.tokenAdjustment.description": "Read the adjustment and Token activity history to verify its immutable proposal, decision, and ledger result.";
133
184
  };
134
185
  };
135
186
  /**
@@ -138,9 +189,10 @@ declare const mcpAdminContractsTranslations: {
138
189
  */
139
190
  declare function getMcpAdminContractDefaultTranslation(key: McpAdminContractDescriptionKey): string;
140
191
 
141
- declare const MCP_ADMIN_CONTRACT_VERSION = "2026-04-28.v3";
192
+ declare const MCP_ADMIN_CONTRACT_VERSION = "2026-08-11.v6";
142
193
  declare const MCP_ADMIN_REGISTRY_SOURCE = "@plasius/mcp-admin-contracts";
143
194
  declare const MCP_ADMIN_FOUNDATION_FLAG_ID = "mcp.admin.foundation.enabled";
195
+ declare const MCP_ACCESS_SCOPE = "mcp:access";
144
196
  /**
145
197
  * @deprecated Runtime rollout decisions must come from stored feature flags.
146
198
  * This env name is retained only for source compatibility with older hosts.
@@ -149,6 +201,10 @@ declare const MCP_ADMIN_FOUNDATION_ENV_VAR = "MCP_ADMIN_FOUNDATION_ENABLED";
149
201
  declare const MCP_ADMIN_FOUNDATION_DISABLED_CODE = "MCP_ADMIN_FOUNDATION_DISABLED";
150
202
  declare const MCP_ADMIN_LIVEOPS_FLAG_ID = "mcp.admin.liveops-controls.enabled";
151
203
  declare const MCP_ADMIN_ANALYTICS_FLAG_ID = "mcp.admin.analytics.enabled";
204
+ declare const ECONOMY_ADMIN_HISTORY_FLAG_ID = "economy.admin-history.enabled";
205
+ declare const MCP_ADMIN_ECONOMY_HISTORY_FLAG_ID = "mcp.admin-economy-history.enabled";
206
+ declare const MCP_ADMIN_ECONOMY_READ_CAPABILITY = "admin.economy.read";
207
+ declare const ECONOMY_FINANCE_OPERATIONS_VIEW_CAPABILITY = "economy.finance-operations.view";
152
208
  declare const MCP_ADMIN_PRODUCTION_READINESS_FLAG_ID = "mcp.admin.production-readiness.enabled";
153
209
  /**
154
210
  * @deprecated Runtime rollout decisions must come from stored feature flags.
@@ -161,6 +217,23 @@ declare const MCP_ASSET_CATALOG_REQUEST_CAPABILITY = "asset.catalog.request";
161
217
  declare const MCP_ASSET_PIPELINE_MANAGE_CAPABILITY = "asset.pipeline.mcp.manage";
162
218
  declare const MCP_ASSET_SOURCE_MANAGE_CAPABILITY = "asset.source.manage";
163
219
  declare const MCP_ASSET_CATALOG_REVIEW_CAPABILITY = "asset.catalog.review";
220
+ declare const MCP_ADMIN_FEEDBACK_FLAG_ID = "feedback.mcp.enabled";
221
+ declare const MCP_ADMIN_FEEDBACK_READ_CAPABILITY = "admin.feedback.read";
222
+ declare const MCP_ADMIN_BASE_OAUTH_SCOPE = "mcp:access";
223
+ declare const MCP_ADMIN_FEEDBACK_READ_OAUTH_SCOPE = "admin.feedback.read";
224
+ declare const MCP_ADMIN_FEEDBACK_REQUIRED_OAUTH_SCOPES: readonly ["mcp:access", "admin.feedback.read"];
225
+ declare const MCP_ADMIN_FEEDBACK_SCHEMA_PACKAGE = "@plasius/schema";
226
+ declare const MCP_ADMIN_FEEDBACK_SCHEMA_CONTRACT_VERSION = "1.0.0";
227
+ declare const MCP_ADMIN_FEEDBACK_WINDOWS: readonly ["previous-utc-hour", "last-24-hours", "last-7-days", "last-30-days", "last-90-days"];
228
+ declare const MCP_ADMIN_FEEDBACK_PACKET_TYPES: readonly ["feedback-bug-packet", "feedback-review-packet"];
229
+ declare const MCP_ADMIN_FEEDBACK_REPORT_TYPES: readonly ["feedback-hourly-bug-report", "feedback-daily-satisfaction-report"];
230
+ declare const MCP_ADMIN_FEEDBACK_PROCESSORS: readonly ["bug-hourly", "review-daily", "commit-reconciliation"];
231
+ 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"];
232
+ declare const MCP_ADMIN_ECONOMY_ADJUSTMENTS_FLAG_ID = "mcp.admin-economy-adjustments.enabled";
233
+ declare const ECONOMY_OWNER_ADJUSTMENTS_FLAG_ID = "economy.tokens.owner-adjustments.enabled";
234
+ declare const MCP_ECONOMY_FINANCE_VIEW_CAPABILITY = "economy.finance-operations.view";
235
+ declare const MCP_ECONOMY_FINANCE_ADJUST_CAPABILITY = "economy.finance-operations.adjust";
236
+ declare const MCP_ECONOMY_FINANCE_APPROVE_CAPABILITY = "economy.finance-operations.approve-adjustment";
164
237
  interface AiPluginManifest {
165
238
  schema_version: "1.0.0";
166
239
  name: string;
@@ -187,7 +260,21 @@ interface McpFieldShape {
187
260
  required?: boolean;
188
261
  enum?: readonly string[];
189
262
  itemType?: string;
263
+ items?: McpFieldShape;
264
+ oneOf?: readonly McpFieldShape[];
265
+ discriminator?: string;
190
266
  properties?: Record<string, McpFieldShape>;
267
+ additionalProperties?: boolean;
268
+ constValue?: string | number | boolean;
269
+ format?: string;
270
+ pattern?: string;
271
+ minimum?: number;
272
+ maximum?: number;
273
+ minLength?: number;
274
+ maxLength?: number;
275
+ minItems?: number;
276
+ maxItems?: number;
277
+ default?: string | number | boolean;
191
278
  }
192
279
  interface McpActionExecution {
193
280
  method: "GET" | "POST" | "PATCH" | "DELETE";
@@ -203,8 +290,31 @@ interface McpActionVerification {
203
290
  descriptionKey: McpAdminContractDescriptionKey;
204
291
  descriptionDefault: string;
205
292
  }
206
- type McpActionDomain = "featureFlags" | "capabilities" | "analytics" | "userAggregation" | "assetCatalog" | "assetPipeline" | "assetSource" | "assetReview";
293
+ type McpActionDomain = "featureFlags" | "capabilities" | "analytics" | "userAggregation" | "economy" | "feedback" | "assetCatalog" | "assetPipeline" | "assetSource" | "assetReview" | "economyAdjustments";
207
294
  type McpActionFamilyDomain = McpActionDomain | "productionReadiness";
295
+ interface McpActionAccessRequirements {
296
+ /** OAuth scopes re-checked by the consuming runtime. */
297
+ oauthScopes: readonly string[];
298
+ /** Product capabilities re-resolved for the mapped MCP identity. */
299
+ capabilities: readonly string[];
300
+ /** Stored rollout flags that must all be enabled by the host. */
301
+ rolloutFlags: readonly string[];
302
+ mode: "read-only" | "mutation";
303
+ identityResolution: "not-available" | "separate-governed-operation";
304
+ }
305
+ type McpFeedbackPrivacyExclusion = (typeof MCP_ADMIN_FEEDBACK_PRIVACY_EXCLUSIONS)[number];
306
+ interface McpFeedbackPrivacyMetadata {
307
+ classification: "public-safe-structured-only";
308
+ readOnly: true;
309
+ bounded: true;
310
+ excludes: readonly McpFeedbackPrivacyExclusion[];
311
+ notes: readonly string[];
312
+ }
313
+ interface McpCanonicalSchemaSource {
314
+ packageName: typeof MCP_ADMIN_FEEDBACK_SCHEMA_PACKAGE;
315
+ contractVersion: typeof MCP_ADMIN_FEEDBACK_SCHEMA_CONTRACT_VERSION;
316
+ schemaNames: readonly string[];
317
+ }
208
318
  interface McpActionDescriptor {
209
319
  name: string;
210
320
  description: string;
@@ -212,10 +322,16 @@ interface McpActionDescriptor {
212
322
  descriptionDefault: string;
213
323
  domain: McpActionDomain;
214
324
  rolloutFlag: string;
325
+ oauthScopes?: readonly string[];
326
+ privacy?: McpFeedbackPrivacyMetadata;
327
+ schemaSource?: McpCanonicalSchemaSource;
215
328
  availability: "existing" | "near-future";
216
329
  execution: McpActionExecution;
217
330
  input: Record<string, McpFieldShape>;
218
331
  output: Record<string, McpFieldShape>;
332
+ requiredCapability?: string;
333
+ requiredTokenScopes?: readonly string[];
334
+ access?: McpActionAccessRequirements;
219
335
  verification?: McpActionVerification;
220
336
  }
221
337
  interface McpActionSummary {
@@ -225,8 +341,14 @@ interface McpActionSummary {
225
341
  descriptionDefault: string;
226
342
  domain: McpActionDomain;
227
343
  rolloutFlag: string;
344
+ oauthScopes?: readonly string[];
345
+ privacy?: McpFeedbackPrivacyMetadata;
346
+ schemaSource?: McpCanonicalSchemaSource;
228
347
  availability: McpActionDescriptor["availability"];
229
348
  execution: McpActionExecution;
349
+ requiredCapability?: string;
350
+ requiredTokenScopes?: readonly string[];
351
+ access?: McpActionAccessRequirements;
230
352
  }
231
353
  interface McpDiscoveryResponse {
232
354
  contractVersion: string;
@@ -266,6 +388,8 @@ interface McpContextResponse {
266
388
  actionFamilies: {
267
389
  domain: McpActionFamilyDomain;
268
390
  rolloutFlag: string;
391
+ requiredCapability?: string;
392
+ oauthScopes?: readonly string[];
269
393
  actions: string[];
270
394
  }[];
271
395
  extensionRules: {
@@ -282,10 +406,16 @@ interface McpSchemaResponse {
282
406
  actions: Record<string, {
283
407
  domain: McpActionDomain;
284
408
  rolloutFlag: string;
409
+ oauthScopes?: readonly string[];
410
+ privacy?: McpFeedbackPrivacyMetadata;
411
+ schemaSource?: McpCanonicalSchemaSource;
285
412
  availability: McpActionDescriptor["availability"];
286
413
  execution: McpActionExecution;
287
414
  input: Record<string, McpFieldShape>;
288
415
  output: Record<string, McpFieldShape>;
416
+ requiredCapability?: string;
417
+ requiredTokenScopes?: readonly string[];
418
+ access?: McpActionAccessRequirements;
289
419
  verification?: McpActionVerification;
290
420
  }>;
291
421
  contextShape: Record<string, McpFieldShape>;
@@ -302,10 +432,26 @@ declare const MCP_ADMIN_ANALYTICS_PRESETS: readonly ["adminOverview", "recentErr
302
432
  declare const MCP_ADMIN_USER_AGGREGATION_METRICS: readonly ["userCount"];
303
433
  declare const MCP_ADMIN_USER_AGGREGATION_DIMENSIONS: readonly ["accountState", "notificationPreference", "avatarState", "accountAgeBand"];
304
434
  declare const MCP_ADMIN_USER_AGGREGATION_PRESETS: readonly ["usersByAccountState", "usersByNotificationPreference", "usersByAccountAgeBand"];
435
+ declare const MCP_ADMIN_TOKEN_ACTIVITY_TYPES: readonly ["acquisition", "spend", "reversal", "hold", "failure"];
436
+ declare const MCP_ADMIN_TOKEN_ACTIVITY_STATUSES: readonly ["pending", "held", "settled", "reversed", "failed"];
437
+ declare const MCP_ADMIN_TOKEN_WALLET_COMPONENTS: readonly ["household", "personal", "gameplay-allocation"];
438
+ declare const MCP_ADMIN_TOKEN_WALLET_STATUSES: readonly ["active", "closed"];
439
+ declare const MCP_ADMIN_TOKEN_WALLET_SORTS: readonly ["available-desc", "updated-at-desc"];
440
+ /** Provider-neutral source groupings; provider names are intentionally absent. */
441
+ declare const MCP_ADMIN_TOKEN_ACTIVITY_SOURCES: readonly ["paid-purchase", "subscription", "rewarded-activity", "gameplay", "system-adjustment", "unknown"];
442
+ declare const MCP_ADMIN_TOKEN_ACTIVITY_SORTS: readonly ["occurred-at-desc", "amount-absolute-desc"];
305
443
  declare const MCP_ASSET_SOURCE_ADAPTERS: readonly ["polyhaven", "kenney", "smithsonian-open-access", "nasa"];
306
444
  declare const MCP_ASSET_SOURCE_TIERS: readonly ["tier-0"];
307
445
  declare const MCP_ASSET_PROCESSING_OPERATIONS: readonly ["validate-source-metadata", "metadata-cleanup", "archive-inspection", "validate-source", "convert-to-gltf", "normalize-orientation", "normalize-units", "normalize-origin", "optimize-textures", "generate-lod0", "generate-lod1", "generate-lod2", "generate-lod3", "generate-collision-proxy", "package-runtime"];
308
446
  declare const MCP_ASSET_REVIEW_KINDS: readonly ["hero", "front", "back", "left", "right", "top", "material-closeup", "wireframe-density", "normal-debug", "lod-comparison", "collision-proxy", "scale-reference"];
447
+ declare const MCP_ADMIN_FEEDBACK_MAX_PAGE_SIZE = 100;
448
+ declare const MCP_ADMIN_FEEDBACK_MAX_CURSOR_LENGTH = 512;
449
+ declare const MCP_ADMIN_FEEDBACK_BUG_HEALTH_WINDOWS: readonly ["previous-utc-hour", "last-24-hours", "last-7-days"];
450
+ declare const MCP_ADMIN_FEEDBACK_SATISFACTION_WINDOWS: readonly ["last-7-days", "last-30-days", "last-90-days"];
451
+ declare const MCP_ADMIN_FEEDBACK_ENTRY_WINDOWS: readonly ["last-24-hours", "last-7-days", "last-30-days", "last-90-days"];
452
+ declare const MCP_ADMIN_FEEDBACK_ALERT_WINDOWS: readonly ["last-24-hours", "last-7-days"];
453
+ declare const MCP_ADMIN_FEEDBACK_PRIVACY_METADATA: McpFeedbackPrivacyMetadata;
454
+ declare const MCP_ADMIN_FEEDBACK_ACTIONS: readonly McpActionDescriptor[];
309
455
  declare const MCP_ADMIN_ACTIONS: readonly McpActionDescriptor[];
310
456
  declare function listMcpActionSummaries(): McpActionSummary[];
311
457
  declare const MCP_ADMIN_CONTEXT_SHAPE: Record<string, McpFieldShape>;
@@ -322,4 +468,4 @@ declare function buildMcpDiscoveryResponse(): McpDiscoveryResponse;
322
468
  declare function buildMcpSchemaResponse(): McpSchemaResponse;
323
469
  declare function buildMcpContextResponse(options: BuildMcpContextResponseOptions): McpContextResponse;
324
470
 
325
- export { type AiPluginManifest, type BuildMcpContextResponseOptions, MCP_ADMIN_ACTIONS, MCP_ADMIN_ANALYTICS_DIMENSIONS, MCP_ADMIN_ANALYTICS_FLAG_ID, MCP_ADMIN_ANALYTICS_METRICS, MCP_ADMIN_ANALYTICS_PRESETS, MCP_ADMIN_CONTEXT_SHAPE, MCP_ADMIN_CONTRACT_VERSION, MCP_ADMIN_EXTENSION_RULES, MCP_ADMIN_FOUNDATION_DISABLED_CODE, MCP_ADMIN_FOUNDATION_ENV_VAR, MCP_ADMIN_FOUNDATION_FLAG_ID, MCP_ADMIN_LIVEOPS_FLAG_ID, MCP_ADMIN_PRODUCTION_READINESS_ENV_VAR, MCP_ADMIN_PRODUCTION_READINESS_FLAG_ID, MCP_ADMIN_REGISTRY_SOURCE, MCP_ADMIN_USER_AGGREGATION_DIMENSIONS, MCP_ADMIN_USER_AGGREGATION_METRICS, MCP_ADMIN_USER_AGGREGATION_PRESETS, 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, type McpActionDescriptor, type McpActionDomain, type McpActionExecution, type McpActionFamilyDomain, type McpActionSummary, type McpActionVerification, type McpAdminContractDescriptionKey, type McpAuthenticatedUserContext, type McpContextResponse, type McpDiscoveryResponse, type McpFieldShape, type McpRolloutContext, type McpSchemaResponse, type McpSurfaceUrls, buildAiPluginManifest, buildMcpContextResponse, buildMcpDiscoveryResponse, buildMcpSchemaResponse, buildMcpSurfaceUrls, getMcpAdminContractDefaultTranslation, listMcpActionSummaries, mcpAdminContractDescriptionKeys, mcpAdminContractsEnGbTranslations, mcpAdminContractsTranslations };
471
+ 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_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_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 McpRolloutContext, type McpSchemaResponse, type McpSurfaceUrls, buildAiPluginManifest, buildMcpContextResponse, buildMcpDiscoveryResponse, buildMcpSchemaResponse, buildMcpSurfaceUrls, getMcpAdminContractDefaultTranslation, listMcpActionSummaries, mcpAdminContractDescriptionKeys, mcpAdminContractsEnGbTranslations, mcpAdminContractsTranslations };