@plasius/mcp-admin-contracts 0.5.0 → 0.5.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 +28 -0
- package/README.md +60 -0
- package/dist/index.cjs +203 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +94 -6
- package/dist/index.d.ts +94 -6
- package/dist/index.js +209 -10
- package/dist/index.js.map +1 -1
- package/docs/adrs/adr-0006-canonical-model-resolution-discovery.md +66 -0
- package/docs/adrs/index.md +1 -0
- package/package.json +3 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
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';
|
|
3
|
+
|
|
1
4
|
declare const mcpAdminContractsEnGbTranslations: {
|
|
2
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.";
|
|
3
6
|
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.";
|
|
@@ -42,6 +45,14 @@ declare const mcpAdminContractsEnGbTranslations: {
|
|
|
42
45
|
readonly "mcpAdminContracts.action.promoteAsset.description": "Promote an approved asset candidate to an immutable runtime manifest reference.";
|
|
43
46
|
readonly "mcpAdminContracts.action.rollbackAsset.description": "Rollback an asset runtime channel to a previous promoted manifest version.";
|
|
44
47
|
readonly "mcpAdminContracts.action.getAssetJobStatus.description": "Read governed asset job status, planned processing work, and evidence references.";
|
|
48
|
+
readonly "mcpAdminContracts.action.listModelSearchRankers.description": "List allowlisted, calibrated model-search rankers and their current readiness without selecting a substitute.";
|
|
49
|
+
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 or generator fallback work when needed.";
|
|
51
|
+
readonly "mcpAdminContracts.action.getModelResolution.description": "Read an owned immutable model-resolution revision, progress, questions, and review evidence.";
|
|
52
|
+
readonly "mcpAdminContracts.action.confirmModelCandidate.description": "Confirm one exact four-view candidate; low assurance additionally requires explicit semantic-risk acceptance.";
|
|
53
|
+
readonly "mcpAdminContracts.action.retryModelResolution.description": "Create the next immutable request revision from bounded refinement answers and candidate exclusions.";
|
|
54
|
+
readonly "mcpAdminContracts.action.cancelModelResolution.description": "Idempotently cancel unfinished work owned by the requester.";
|
|
55
|
+
readonly "mcpAdminContracts.action.rebuildModelCatalogIndex.description": "Run an operator-only idempotent full, backfill, or repair rebuild of the promoted model catalog index.";
|
|
45
56
|
readonly "mcpAdminContracts.action.getUserTokenWallet.description": "Read an account's server-resolved Token wallet summary without exposing provider or payment data.";
|
|
46
57
|
readonly "mcpAdminContracts.action.listUserTokenActivity.description": "Read a bounded, cursor-paginated Token activity history for one account.";
|
|
47
58
|
readonly "mcpAdminContracts.action.listTokenAdjustments.description": "List audited Token adjustment proposals and their approval state.";
|
|
@@ -103,6 +114,14 @@ declare const mcpAdminContractDescriptionKeys: {
|
|
|
103
114
|
readonly actionPromoteAsset: "mcpAdminContracts.action.promoteAsset.description";
|
|
104
115
|
readonly actionRollbackAsset: "mcpAdminContracts.action.rollbackAsset.description";
|
|
105
116
|
readonly actionGetAssetJobStatus: "mcpAdminContracts.action.getAssetJobStatus.description";
|
|
117
|
+
readonly actionListModelSearchRankers: "mcpAdminContracts.action.listModelSearchRankers.description";
|
|
118
|
+
readonly actionSearchModelCatalog: "mcpAdminContracts.action.searchModelCatalog.description";
|
|
119
|
+
readonly actionResolveModelRequest: "mcpAdminContracts.action.resolveModelRequest.description";
|
|
120
|
+
readonly actionGetModelResolution: "mcpAdminContracts.action.getModelResolution.description";
|
|
121
|
+
readonly actionConfirmModelCandidate: "mcpAdminContracts.action.confirmModelCandidate.description";
|
|
122
|
+
readonly actionRetryModelResolution: "mcpAdminContracts.action.retryModelResolution.description";
|
|
123
|
+
readonly actionCancelModelResolution: "mcpAdminContracts.action.cancelModelResolution.description";
|
|
124
|
+
readonly actionRebuildModelCatalogIndex: "mcpAdminContracts.action.rebuildModelCatalogIndex.description";
|
|
106
125
|
readonly actionGetUserTokenWallet: "mcpAdminContracts.action.getUserTokenWallet.description";
|
|
107
126
|
readonly actionListUserTokenActivity: "mcpAdminContracts.action.listUserTokenActivity.description";
|
|
108
127
|
readonly actionListTokenAdjustments: "mcpAdminContracts.action.listTokenAdjustments.description";
|
|
@@ -166,6 +185,14 @@ declare const mcpAdminContractsTranslations: {
|
|
|
166
185
|
readonly "mcpAdminContracts.action.promoteAsset.description": "Promote an approved asset candidate to an immutable runtime manifest reference.";
|
|
167
186
|
readonly "mcpAdminContracts.action.rollbackAsset.description": "Rollback an asset runtime channel to a previous promoted manifest version.";
|
|
168
187
|
readonly "mcpAdminContracts.action.getAssetJobStatus.description": "Read governed asset job status, planned processing work, and evidence references.";
|
|
188
|
+
readonly "mcpAdminContracts.action.listModelSearchRankers.description": "List allowlisted, calibrated model-search rankers and their current readiness without selecting a substitute.";
|
|
189
|
+
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 or generator fallback work when needed.";
|
|
191
|
+
readonly "mcpAdminContracts.action.getModelResolution.description": "Read an owned immutable model-resolution revision, progress, questions, and review evidence.";
|
|
192
|
+
readonly "mcpAdminContracts.action.confirmModelCandidate.description": "Confirm one exact four-view candidate; low assurance additionally requires explicit semantic-risk acceptance.";
|
|
193
|
+
readonly "mcpAdminContracts.action.retryModelResolution.description": "Create the next immutable request revision from bounded refinement answers and candidate exclusions.";
|
|
194
|
+
readonly "mcpAdminContracts.action.cancelModelResolution.description": "Idempotently cancel unfinished work owned by the requester.";
|
|
195
|
+
readonly "mcpAdminContracts.action.rebuildModelCatalogIndex.description": "Run an operator-only idempotent full, backfill, or repair rebuild of the promoted model catalog index.";
|
|
169
196
|
readonly "mcpAdminContracts.action.getUserTokenWallet.description": "Read an account's server-resolved Token wallet summary without exposing provider or payment data.";
|
|
170
197
|
readonly "mcpAdminContracts.action.listUserTokenActivity.description": "Read a bounded, cursor-paginated Token activity history for one account.";
|
|
171
198
|
readonly "mcpAdminContracts.action.listTokenAdjustments.description": "List audited Token adjustment proposals and their approval state.";
|
|
@@ -189,7 +216,7 @@ declare const mcpAdminContractsTranslations: {
|
|
|
189
216
|
*/
|
|
190
217
|
declare function getMcpAdminContractDefaultTranslation(key: McpAdminContractDescriptionKey): string;
|
|
191
218
|
|
|
192
|
-
declare const MCP_ADMIN_CONTRACT_VERSION = "2026-08-
|
|
219
|
+
declare const MCP_ADMIN_CONTRACT_VERSION = "2026-08-20.v7";
|
|
193
220
|
declare const MCP_ADMIN_REGISTRY_SOURCE = "@plasius/mcp-admin-contracts";
|
|
194
221
|
declare const MCP_ADMIN_FOUNDATION_FLAG_ID = "mcp.admin.foundation.enabled";
|
|
195
222
|
declare const MCP_ACCESS_SCOPE = "mcp:access";
|
|
@@ -213,10 +240,22 @@ declare const MCP_ADMIN_PRODUCTION_READINESS_FLAG_ID = "mcp.admin.production-rea
|
|
|
213
240
|
declare const MCP_ADMIN_PRODUCTION_READINESS_ENV_VAR = "MCP_ADMIN_PRODUCTION_READINESS_ENABLED";
|
|
214
241
|
declare const MCP_ASSET_PIPELINE_FLAG_ID = "asset.pipeline.unified-ai-assets.enabled";
|
|
215
242
|
declare const MCP_ASSET_EXTERNAL_HARVEST_FLAG_ID = "asset.pipeline.external-model-harvest.enabled";
|
|
216
|
-
declare const MCP_ASSET_CATALOG_REQUEST_CAPABILITY
|
|
217
|
-
declare const
|
|
218
|
-
declare const
|
|
219
|
-
declare const
|
|
243
|
+
declare const MCP_ASSET_CATALOG_REQUEST_CAPABILITY: "asset.catalog.request";
|
|
244
|
+
declare const MCP_ASSET_CATALOG_CONFIRM_CAPABILITY: "asset.catalog.confirm";
|
|
245
|
+
declare const MCP_ASSET_PIPELINE_MANAGE_CAPABILITY: "asset.pipeline.mcp.manage";
|
|
246
|
+
declare const MCP_ASSET_SOURCE_MANAGE_CAPABILITY: "asset.source.manage";
|
|
247
|
+
declare const MCP_ASSET_CATALOG_REVIEW_CAPABILITY: "asset.catalog.review";
|
|
248
|
+
declare const MCP_ADMIN_MODEL_TOOL_CONTRACT_VERSION: "2026-07-13.v1";
|
|
249
|
+
declare const MCP_ADMIN_MODEL_REGISTRY_SOURCE = "@plasius/asset-mcp";
|
|
250
|
+
declare const MCP_ADMIN_MODEL_RESOLUTION_CONTRACT_VERSION: "2026-07-12.v1";
|
|
251
|
+
declare const MCP_ADMIN_MODEL_CAPABILITIES: Readonly<{
|
|
252
|
+
catalogRequest: "asset.catalog.request";
|
|
253
|
+
catalogConfirm: "asset.catalog.confirm";
|
|
254
|
+
catalogReview: "asset.catalog.review";
|
|
255
|
+
sourceManage: "asset.source.manage";
|
|
256
|
+
pipelineManage: "asset.pipeline.mcp.manage";
|
|
257
|
+
}>;
|
|
258
|
+
declare const MCP_ADMIN_MODEL_OAUTH_SCOPES: readonly string[];
|
|
220
259
|
declare const MCP_ADMIN_FEEDBACK_FLAG_ID = "feedback.mcp.enabled";
|
|
221
260
|
declare const MCP_ADMIN_FEEDBACK_READ_CAPABILITY = "admin.feedback.read";
|
|
222
261
|
declare const MCP_ADMIN_BASE_OAUTH_SCOPE = "mcp:access";
|
|
@@ -350,10 +389,51 @@ interface McpActionSummary {
|
|
|
350
389
|
requiredTokenScopes?: readonly string[];
|
|
351
390
|
access?: McpActionAccessRequirements;
|
|
352
391
|
}
|
|
392
|
+
interface McpModelToolExecution {
|
|
393
|
+
protocol: "json-rpc-2.0";
|
|
394
|
+
method: "POST";
|
|
395
|
+
path: "/api/mcp";
|
|
396
|
+
rpcMethod: "tools/call";
|
|
397
|
+
toolName: ModelMcpToolName;
|
|
398
|
+
}
|
|
399
|
+
type McpModelToolSummary = Omit<ModelMcpToolDefinition, "inputSchema" | "outputSchema"> & {
|
|
400
|
+
descriptionKey: McpAdminContractDescriptionKey;
|
|
401
|
+
descriptionDefault: string;
|
|
402
|
+
availability: "near-future";
|
|
403
|
+
execution: McpModelToolExecution;
|
|
404
|
+
verificationNotes: readonly string[];
|
|
405
|
+
};
|
|
406
|
+
type McpModelToolSchemaDescriptor = ModelMcpToolDefinition & {
|
|
407
|
+
descriptionKey: McpAdminContractDescriptionKey;
|
|
408
|
+
descriptionDefault: string;
|
|
409
|
+
availability: "near-future";
|
|
410
|
+
execution: McpModelToolExecution;
|
|
411
|
+
verificationNotes: readonly string[];
|
|
412
|
+
};
|
|
413
|
+
interface McpModelResolutionContext {
|
|
414
|
+
toolContractVersion: typeof MODEL_MCP_CONTRACT_VERSION;
|
|
415
|
+
sourceOfTruth: typeof ASSET_MCP_PACKAGE;
|
|
416
|
+
resolutionContractVersion: typeof MODEL_RESOLUTION_CONTRACT_VERSION;
|
|
417
|
+
endpoint: "/api/mcp";
|
|
418
|
+
protocol: "json-rpc-2.0";
|
|
419
|
+
rpcMethod: "tools/call";
|
|
420
|
+
requiredFeatureFlag: typeof MODEL_MCP_UNIFIED_FEATURE_FLAG_ID;
|
|
421
|
+
conditionalFeatureFlags: readonly [
|
|
422
|
+
typeof MODEL_MCP_EXTERNAL_HARVEST_FEATURE_FLAG_ID,
|
|
423
|
+
typeof MODEL_MCP_GENERATION_FEATURE_FLAG_ID
|
|
424
|
+
];
|
|
425
|
+
tools: readonly ModelMcpToolName[];
|
|
426
|
+
resourceTemplates: readonly string[];
|
|
427
|
+
}
|
|
353
428
|
interface McpDiscoveryResponse {
|
|
354
429
|
contractVersion: string;
|
|
355
430
|
sourceOfTruth: string;
|
|
356
431
|
actions: McpActionSummary[];
|
|
432
|
+
/** Additive canonical JSON-RPC model tools; legacy REST actions stay separate. */
|
|
433
|
+
modelTools?: McpModelToolSummary[];
|
|
434
|
+
/** Authenticated `mcp://models/...` templates owned by `@plasius/asset-mcp`. */
|
|
435
|
+
modelResources?: readonly ModelMcpResourceTemplate[];
|
|
436
|
+
modelSourceOfTruth?: typeof ASSET_MCP_PACKAGE;
|
|
357
437
|
}
|
|
358
438
|
interface McpAuthenticatedUserContext {
|
|
359
439
|
id: string;
|
|
@@ -399,6 +479,8 @@ interface McpContextResponse {
|
|
|
399
479
|
singleResourceMutations: boolean;
|
|
400
480
|
notes: string[];
|
|
401
481
|
};
|
|
482
|
+
/** Additive canonical model-resolution family metadata. */
|
|
483
|
+
modelResolution?: McpModelResolutionContext;
|
|
402
484
|
}
|
|
403
485
|
interface McpSchemaResponse {
|
|
404
486
|
contractVersion: string;
|
|
@@ -420,6 +502,10 @@ interface McpSchemaResponse {
|
|
|
420
502
|
}>;
|
|
421
503
|
contextShape: Record<string, McpFieldShape>;
|
|
422
504
|
extensionRules: McpContextResponse["extensionRules"];
|
|
505
|
+
/** Canonical schemas are referenced directly from `@plasius/asset-mcp`. */
|
|
506
|
+
modelTools?: Record<ModelMcpToolName, McpModelToolSchemaDescriptor>;
|
|
507
|
+
modelResources?: readonly ModelMcpResourceTemplate[];
|
|
508
|
+
modelSourceOfTruth?: typeof ASSET_MCP_PACKAGE;
|
|
423
509
|
}
|
|
424
510
|
interface BuildMcpContextResponseOptions {
|
|
425
511
|
origin: string;
|
|
@@ -453,6 +539,8 @@ declare const MCP_ADMIN_FEEDBACK_ALERT_WINDOWS: readonly ["last-24-hours", "last
|
|
|
453
539
|
declare const MCP_ADMIN_FEEDBACK_PRIVACY_METADATA: McpFeedbackPrivacyMetadata;
|
|
454
540
|
declare const MCP_ADMIN_FEEDBACK_ACTIONS: readonly McpActionDescriptor[];
|
|
455
541
|
declare const MCP_ADMIN_ACTIONS: readonly McpActionDescriptor[];
|
|
542
|
+
declare function listMcpModelToolSummaries(): McpModelToolSummary[];
|
|
543
|
+
declare function listMcpModelResourceTemplates(): readonly ModelMcpResourceTemplate[];
|
|
456
544
|
declare function listMcpActionSummaries(): McpActionSummary[];
|
|
457
545
|
declare const MCP_ADMIN_CONTEXT_SHAPE: Record<string, McpFieldShape>;
|
|
458
546
|
declare const MCP_ADMIN_EXTENSION_RULES: {
|
|
@@ -468,4 +556,4 @@ declare function buildMcpDiscoveryResponse(): McpDiscoveryResponse;
|
|
|
468
556
|
declare function buildMcpSchemaResponse(): McpSchemaResponse;
|
|
469
557
|
declare function buildMcpContextResponse(options: BuildMcpContextResponseOptions): McpContextResponse;
|
|
470
558
|
|
|
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 };
|
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
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';
|
|
3
|
+
|
|
1
4
|
declare const mcpAdminContractsEnGbTranslations: {
|
|
2
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.";
|
|
3
6
|
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.";
|
|
@@ -42,6 +45,14 @@ declare const mcpAdminContractsEnGbTranslations: {
|
|
|
42
45
|
readonly "mcpAdminContracts.action.promoteAsset.description": "Promote an approved asset candidate to an immutable runtime manifest reference.";
|
|
43
46
|
readonly "mcpAdminContracts.action.rollbackAsset.description": "Rollback an asset runtime channel to a previous promoted manifest version.";
|
|
44
47
|
readonly "mcpAdminContracts.action.getAssetJobStatus.description": "Read governed asset job status, planned processing work, and evidence references.";
|
|
48
|
+
readonly "mcpAdminContracts.action.listModelSearchRankers.description": "List allowlisted, calibrated model-search rankers and their current readiness without selecting a substitute.";
|
|
49
|
+
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 or generator fallback work when needed.";
|
|
51
|
+
readonly "mcpAdminContracts.action.getModelResolution.description": "Read an owned immutable model-resolution revision, progress, questions, and review evidence.";
|
|
52
|
+
readonly "mcpAdminContracts.action.confirmModelCandidate.description": "Confirm one exact four-view candidate; low assurance additionally requires explicit semantic-risk acceptance.";
|
|
53
|
+
readonly "mcpAdminContracts.action.retryModelResolution.description": "Create the next immutable request revision from bounded refinement answers and candidate exclusions.";
|
|
54
|
+
readonly "mcpAdminContracts.action.cancelModelResolution.description": "Idempotently cancel unfinished work owned by the requester.";
|
|
55
|
+
readonly "mcpAdminContracts.action.rebuildModelCatalogIndex.description": "Run an operator-only idempotent full, backfill, or repair rebuild of the promoted model catalog index.";
|
|
45
56
|
readonly "mcpAdminContracts.action.getUserTokenWallet.description": "Read an account's server-resolved Token wallet summary without exposing provider or payment data.";
|
|
46
57
|
readonly "mcpAdminContracts.action.listUserTokenActivity.description": "Read a bounded, cursor-paginated Token activity history for one account.";
|
|
47
58
|
readonly "mcpAdminContracts.action.listTokenAdjustments.description": "List audited Token adjustment proposals and their approval state.";
|
|
@@ -103,6 +114,14 @@ declare const mcpAdminContractDescriptionKeys: {
|
|
|
103
114
|
readonly actionPromoteAsset: "mcpAdminContracts.action.promoteAsset.description";
|
|
104
115
|
readonly actionRollbackAsset: "mcpAdminContracts.action.rollbackAsset.description";
|
|
105
116
|
readonly actionGetAssetJobStatus: "mcpAdminContracts.action.getAssetJobStatus.description";
|
|
117
|
+
readonly actionListModelSearchRankers: "mcpAdminContracts.action.listModelSearchRankers.description";
|
|
118
|
+
readonly actionSearchModelCatalog: "mcpAdminContracts.action.searchModelCatalog.description";
|
|
119
|
+
readonly actionResolveModelRequest: "mcpAdminContracts.action.resolveModelRequest.description";
|
|
120
|
+
readonly actionGetModelResolution: "mcpAdminContracts.action.getModelResolution.description";
|
|
121
|
+
readonly actionConfirmModelCandidate: "mcpAdminContracts.action.confirmModelCandidate.description";
|
|
122
|
+
readonly actionRetryModelResolution: "mcpAdminContracts.action.retryModelResolution.description";
|
|
123
|
+
readonly actionCancelModelResolution: "mcpAdminContracts.action.cancelModelResolution.description";
|
|
124
|
+
readonly actionRebuildModelCatalogIndex: "mcpAdminContracts.action.rebuildModelCatalogIndex.description";
|
|
106
125
|
readonly actionGetUserTokenWallet: "mcpAdminContracts.action.getUserTokenWallet.description";
|
|
107
126
|
readonly actionListUserTokenActivity: "mcpAdminContracts.action.listUserTokenActivity.description";
|
|
108
127
|
readonly actionListTokenAdjustments: "mcpAdminContracts.action.listTokenAdjustments.description";
|
|
@@ -166,6 +185,14 @@ declare const mcpAdminContractsTranslations: {
|
|
|
166
185
|
readonly "mcpAdminContracts.action.promoteAsset.description": "Promote an approved asset candidate to an immutable runtime manifest reference.";
|
|
167
186
|
readonly "mcpAdminContracts.action.rollbackAsset.description": "Rollback an asset runtime channel to a previous promoted manifest version.";
|
|
168
187
|
readonly "mcpAdminContracts.action.getAssetJobStatus.description": "Read governed asset job status, planned processing work, and evidence references.";
|
|
188
|
+
readonly "mcpAdminContracts.action.listModelSearchRankers.description": "List allowlisted, calibrated model-search rankers and their current readiness without selecting a substitute.";
|
|
189
|
+
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 or generator fallback work when needed.";
|
|
191
|
+
readonly "mcpAdminContracts.action.getModelResolution.description": "Read an owned immutable model-resolution revision, progress, questions, and review evidence.";
|
|
192
|
+
readonly "mcpAdminContracts.action.confirmModelCandidate.description": "Confirm one exact four-view candidate; low assurance additionally requires explicit semantic-risk acceptance.";
|
|
193
|
+
readonly "mcpAdminContracts.action.retryModelResolution.description": "Create the next immutable request revision from bounded refinement answers and candidate exclusions.";
|
|
194
|
+
readonly "mcpAdminContracts.action.cancelModelResolution.description": "Idempotently cancel unfinished work owned by the requester.";
|
|
195
|
+
readonly "mcpAdminContracts.action.rebuildModelCatalogIndex.description": "Run an operator-only idempotent full, backfill, or repair rebuild of the promoted model catalog index.";
|
|
169
196
|
readonly "mcpAdminContracts.action.getUserTokenWallet.description": "Read an account's server-resolved Token wallet summary without exposing provider or payment data.";
|
|
170
197
|
readonly "mcpAdminContracts.action.listUserTokenActivity.description": "Read a bounded, cursor-paginated Token activity history for one account.";
|
|
171
198
|
readonly "mcpAdminContracts.action.listTokenAdjustments.description": "List audited Token adjustment proposals and their approval state.";
|
|
@@ -189,7 +216,7 @@ declare const mcpAdminContractsTranslations: {
|
|
|
189
216
|
*/
|
|
190
217
|
declare function getMcpAdminContractDefaultTranslation(key: McpAdminContractDescriptionKey): string;
|
|
191
218
|
|
|
192
|
-
declare const MCP_ADMIN_CONTRACT_VERSION = "2026-08-
|
|
219
|
+
declare const MCP_ADMIN_CONTRACT_VERSION = "2026-08-20.v7";
|
|
193
220
|
declare const MCP_ADMIN_REGISTRY_SOURCE = "@plasius/mcp-admin-contracts";
|
|
194
221
|
declare const MCP_ADMIN_FOUNDATION_FLAG_ID = "mcp.admin.foundation.enabled";
|
|
195
222
|
declare const MCP_ACCESS_SCOPE = "mcp:access";
|
|
@@ -213,10 +240,22 @@ declare const MCP_ADMIN_PRODUCTION_READINESS_FLAG_ID = "mcp.admin.production-rea
|
|
|
213
240
|
declare const MCP_ADMIN_PRODUCTION_READINESS_ENV_VAR = "MCP_ADMIN_PRODUCTION_READINESS_ENABLED";
|
|
214
241
|
declare const MCP_ASSET_PIPELINE_FLAG_ID = "asset.pipeline.unified-ai-assets.enabled";
|
|
215
242
|
declare const MCP_ASSET_EXTERNAL_HARVEST_FLAG_ID = "asset.pipeline.external-model-harvest.enabled";
|
|
216
|
-
declare const MCP_ASSET_CATALOG_REQUEST_CAPABILITY
|
|
217
|
-
declare const
|
|
218
|
-
declare const
|
|
219
|
-
declare const
|
|
243
|
+
declare const MCP_ASSET_CATALOG_REQUEST_CAPABILITY: "asset.catalog.request";
|
|
244
|
+
declare const MCP_ASSET_CATALOG_CONFIRM_CAPABILITY: "asset.catalog.confirm";
|
|
245
|
+
declare const MCP_ASSET_PIPELINE_MANAGE_CAPABILITY: "asset.pipeline.mcp.manage";
|
|
246
|
+
declare const MCP_ASSET_SOURCE_MANAGE_CAPABILITY: "asset.source.manage";
|
|
247
|
+
declare const MCP_ASSET_CATALOG_REVIEW_CAPABILITY: "asset.catalog.review";
|
|
248
|
+
declare const MCP_ADMIN_MODEL_TOOL_CONTRACT_VERSION: "2026-07-13.v1";
|
|
249
|
+
declare const MCP_ADMIN_MODEL_REGISTRY_SOURCE = "@plasius/asset-mcp";
|
|
250
|
+
declare const MCP_ADMIN_MODEL_RESOLUTION_CONTRACT_VERSION: "2026-07-12.v1";
|
|
251
|
+
declare const MCP_ADMIN_MODEL_CAPABILITIES: Readonly<{
|
|
252
|
+
catalogRequest: "asset.catalog.request";
|
|
253
|
+
catalogConfirm: "asset.catalog.confirm";
|
|
254
|
+
catalogReview: "asset.catalog.review";
|
|
255
|
+
sourceManage: "asset.source.manage";
|
|
256
|
+
pipelineManage: "asset.pipeline.mcp.manage";
|
|
257
|
+
}>;
|
|
258
|
+
declare const MCP_ADMIN_MODEL_OAUTH_SCOPES: readonly string[];
|
|
220
259
|
declare const MCP_ADMIN_FEEDBACK_FLAG_ID = "feedback.mcp.enabled";
|
|
221
260
|
declare const MCP_ADMIN_FEEDBACK_READ_CAPABILITY = "admin.feedback.read";
|
|
222
261
|
declare const MCP_ADMIN_BASE_OAUTH_SCOPE = "mcp:access";
|
|
@@ -350,10 +389,51 @@ interface McpActionSummary {
|
|
|
350
389
|
requiredTokenScopes?: readonly string[];
|
|
351
390
|
access?: McpActionAccessRequirements;
|
|
352
391
|
}
|
|
392
|
+
interface McpModelToolExecution {
|
|
393
|
+
protocol: "json-rpc-2.0";
|
|
394
|
+
method: "POST";
|
|
395
|
+
path: "/api/mcp";
|
|
396
|
+
rpcMethod: "tools/call";
|
|
397
|
+
toolName: ModelMcpToolName;
|
|
398
|
+
}
|
|
399
|
+
type McpModelToolSummary = Omit<ModelMcpToolDefinition, "inputSchema" | "outputSchema"> & {
|
|
400
|
+
descriptionKey: McpAdminContractDescriptionKey;
|
|
401
|
+
descriptionDefault: string;
|
|
402
|
+
availability: "near-future";
|
|
403
|
+
execution: McpModelToolExecution;
|
|
404
|
+
verificationNotes: readonly string[];
|
|
405
|
+
};
|
|
406
|
+
type McpModelToolSchemaDescriptor = ModelMcpToolDefinition & {
|
|
407
|
+
descriptionKey: McpAdminContractDescriptionKey;
|
|
408
|
+
descriptionDefault: string;
|
|
409
|
+
availability: "near-future";
|
|
410
|
+
execution: McpModelToolExecution;
|
|
411
|
+
verificationNotes: readonly string[];
|
|
412
|
+
};
|
|
413
|
+
interface McpModelResolutionContext {
|
|
414
|
+
toolContractVersion: typeof MODEL_MCP_CONTRACT_VERSION;
|
|
415
|
+
sourceOfTruth: typeof ASSET_MCP_PACKAGE;
|
|
416
|
+
resolutionContractVersion: typeof MODEL_RESOLUTION_CONTRACT_VERSION;
|
|
417
|
+
endpoint: "/api/mcp";
|
|
418
|
+
protocol: "json-rpc-2.0";
|
|
419
|
+
rpcMethod: "tools/call";
|
|
420
|
+
requiredFeatureFlag: typeof MODEL_MCP_UNIFIED_FEATURE_FLAG_ID;
|
|
421
|
+
conditionalFeatureFlags: readonly [
|
|
422
|
+
typeof MODEL_MCP_EXTERNAL_HARVEST_FEATURE_FLAG_ID,
|
|
423
|
+
typeof MODEL_MCP_GENERATION_FEATURE_FLAG_ID
|
|
424
|
+
];
|
|
425
|
+
tools: readonly ModelMcpToolName[];
|
|
426
|
+
resourceTemplates: readonly string[];
|
|
427
|
+
}
|
|
353
428
|
interface McpDiscoveryResponse {
|
|
354
429
|
contractVersion: string;
|
|
355
430
|
sourceOfTruth: string;
|
|
356
431
|
actions: McpActionSummary[];
|
|
432
|
+
/** Additive canonical JSON-RPC model tools; legacy REST actions stay separate. */
|
|
433
|
+
modelTools?: McpModelToolSummary[];
|
|
434
|
+
/** Authenticated `mcp://models/...` templates owned by `@plasius/asset-mcp`. */
|
|
435
|
+
modelResources?: readonly ModelMcpResourceTemplate[];
|
|
436
|
+
modelSourceOfTruth?: typeof ASSET_MCP_PACKAGE;
|
|
357
437
|
}
|
|
358
438
|
interface McpAuthenticatedUserContext {
|
|
359
439
|
id: string;
|
|
@@ -399,6 +479,8 @@ interface McpContextResponse {
|
|
|
399
479
|
singleResourceMutations: boolean;
|
|
400
480
|
notes: string[];
|
|
401
481
|
};
|
|
482
|
+
/** Additive canonical model-resolution family metadata. */
|
|
483
|
+
modelResolution?: McpModelResolutionContext;
|
|
402
484
|
}
|
|
403
485
|
interface McpSchemaResponse {
|
|
404
486
|
contractVersion: string;
|
|
@@ -420,6 +502,10 @@ interface McpSchemaResponse {
|
|
|
420
502
|
}>;
|
|
421
503
|
contextShape: Record<string, McpFieldShape>;
|
|
422
504
|
extensionRules: McpContextResponse["extensionRules"];
|
|
505
|
+
/** Canonical schemas are referenced directly from `@plasius/asset-mcp`. */
|
|
506
|
+
modelTools?: Record<ModelMcpToolName, McpModelToolSchemaDescriptor>;
|
|
507
|
+
modelResources?: readonly ModelMcpResourceTemplate[];
|
|
508
|
+
modelSourceOfTruth?: typeof ASSET_MCP_PACKAGE;
|
|
423
509
|
}
|
|
424
510
|
interface BuildMcpContextResponseOptions {
|
|
425
511
|
origin: string;
|
|
@@ -453,6 +539,8 @@ declare const MCP_ADMIN_FEEDBACK_ALERT_WINDOWS: readonly ["last-24-hours", "last
|
|
|
453
539
|
declare const MCP_ADMIN_FEEDBACK_PRIVACY_METADATA: McpFeedbackPrivacyMetadata;
|
|
454
540
|
declare const MCP_ADMIN_FEEDBACK_ACTIONS: readonly McpActionDescriptor[];
|
|
455
541
|
declare const MCP_ADMIN_ACTIONS: readonly McpActionDescriptor[];
|
|
542
|
+
declare function listMcpModelToolSummaries(): McpModelToolSummary[];
|
|
543
|
+
declare function listMcpModelResourceTemplates(): readonly ModelMcpResourceTemplate[];
|
|
456
544
|
declare function listMcpActionSummaries(): McpActionSummary[];
|
|
457
545
|
declare const MCP_ADMIN_CONTEXT_SHAPE: Record<string, McpFieldShape>;
|
|
458
546
|
declare const MCP_ADMIN_EXTENSION_RULES: {
|
|
@@ -468,4 +556,4 @@ declare function buildMcpDiscoveryResponse(): McpDiscoveryResponse;
|
|
|
468
556
|
declare function buildMcpSchemaResponse(): McpSchemaResponse;
|
|
469
557
|
declare function buildMcpContextResponse(options: BuildMcpContextResponseOptions): McpContextResponse;
|
|
470
558
|
|
|
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 };
|
|
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 };
|