@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
|
@@ -19,14 +19,18 @@ adapters and could break consumers that treat that array as the legacy registry.
|
|
|
19
19
|
|
|
20
20
|
## Decision
|
|
21
21
|
|
|
22
|
-
The package consumes pinned `@plasius/asset-mcp 0.1.
|
|
23
|
-
`@plasius/asset-contracts 0.
|
|
22
|
+
The package consumes pinned `@plasius/asset-mcp 0.1.7` and
|
|
23
|
+
`@plasius/asset-contracts 0.4.0` releases.
|
|
24
24
|
|
|
25
25
|
- `buildMcpDiscoveryResponse` adds `modelTools` summaries and canonical
|
|
26
26
|
`modelResources` alongside, rather than inside, the legacy `actions` array.
|
|
27
27
|
- `buildMcpSchemaResponse` references each canonical input schema, output
|
|
28
28
|
schema, annotation set, security scheme, capability, review-result record,
|
|
29
29
|
and rollout record directly from `@plasius/asset-mcp`.
|
|
30
|
+
- The canonical `resolve_model_request` descriptor carries the ChatGPT
|
|
31
|
+
`sourceFile` parameter, its paired rights attestation, and PVOX result
|
|
32
|
+
metadata. This package advertises those records but never downloads or opens
|
|
33
|
+
the source.
|
|
30
34
|
- Execution metadata identifies JSON-RPC 2.0 `tools/call` at `POST /api/mcp`.
|
|
31
35
|
Existing descriptors retain their REST execution records unchanged.
|
|
32
36
|
- Bounded verification notes identify whether the canonical result itself or
|
|
@@ -35,7 +39,7 @@ The package consumes pinned `@plasius/asset-mcp 0.1.6` and
|
|
|
35
39
|
frozen so consumer mutation cannot alter later discovery responses.
|
|
36
40
|
- The context response publishes the canonical tool and model-resolution
|
|
37
41
|
contract versions, exact tool names, resource templates, required parent
|
|
38
|
-
flag, and conditional provider/generator flags.
|
|
42
|
+
flag, and conditional PVOX/provider/generator flags.
|
|
39
43
|
- The model-family OAuth registry contains `mcp:access` plus all five asset
|
|
40
44
|
capability scopes for issuer and protected-resource publication. Per-tool
|
|
41
45
|
scopes remain the exact narrower sets owned by `@plasius/asset-mcp`.
|
|
@@ -47,9 +51,10 @@ The package consumes pinned `@plasius/asset-mcp 0.1.6` and
|
|
|
47
51
|
- Runtime authentication, authorization, ownership, rollout evaluation,
|
|
48
52
|
resource access, audit, and tool execution remain outside this package.
|
|
49
53
|
|
|
50
|
-
The parent flag is `asset.pipeline.unified-ai-assets.enabled`.
|
|
51
|
-
provider acquisition and future generation use the conditional flags
|
|
52
|
-
`asset.pipeline.
|
|
54
|
+
The parent flag is `asset.pipeline.unified-ai-assets.enabled`. PVOX paths,
|
|
55
|
+
external provider acquisition, and future generation use the conditional flags
|
|
56
|
+
`asset.pipeline.pvox-models.enabled`,
|
|
57
|
+
`asset.pipeline.external-model-harvest.enabled`, and
|
|
53
58
|
`asset.pipeline.ai-model-generation.enabled` respectively. This package only
|
|
54
59
|
advertises those identifiers.
|
|
55
60
|
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# ADR 0007: Safe Game Reconstruction Point Read
|
|
2
|
+
|
|
3
|
+
## Status
|
|
4
|
+
|
|
5
|
+
Accepted
|
|
6
|
+
|
|
7
|
+
## Context
|
|
8
|
+
|
|
9
|
+
ADR 0005 established the public-safe, read-only feedback family for Admin and
|
|
10
|
+
hosted MCP consumers. Approved in-game surfaces may also produce consented,
|
|
11
|
+
coarse renderer diagnostics. Administrators need a way to inspect a
|
|
12
|
+
representative view assembled from those facts and curated public assets.
|
|
13
|
+
|
|
14
|
+
The result must not be mistaken for a user's screen. Returning captured
|
|
15
|
+
pixels, narrative, DOM, request telemetry, reporter-control state, arbitrary
|
|
16
|
+
asset references, or direct storage locations would cross the privacy boundary
|
|
17
|
+
and could expose personal data. A list or free-form search over reconstruction
|
|
18
|
+
records would also create an unnecessary probing and denial-of-service
|
|
19
|
+
surface.
|
|
20
|
+
|
|
21
|
+
## Decision
|
|
22
|
+
|
|
23
|
+
Advance the additive Admin registry contract to `2026-08-26.v8` and add one
|
|
24
|
+
near-future, read-only feedback action:
|
|
25
|
+
|
|
26
|
+
- `getFeedbackGameReconstruction`
|
|
27
|
+
|
|
28
|
+
The action maps to
|
|
29
|
+
`GET /api/admin/feedback/reconstructions/{bugPacketId}` and accepts exactly one
|
|
30
|
+
canonical lowercase UUIDv4 bug-packet ID. It has no list, search, cursor,
|
|
31
|
+
free-form query, arbitrary date range, or mutation form.
|
|
32
|
+
|
|
33
|
+
The output is one closed projection of the published
|
|
34
|
+
`@plasius/schema ^1.4.0`
|
|
35
|
+
`FeedbackGameReconstructionManifestSchema`. It contains only:
|
|
36
|
+
|
|
37
|
+
- canonical type and contract version;
|
|
38
|
+
- opaque reconstruction and source packet UUIDv4 values;
|
|
39
|
+
- server-owned creation and expiry times, with the canonical maximum 30-day
|
|
40
|
+
lifetime;
|
|
41
|
+
- one bounded, allowlisted curated public asset-set identifier;
|
|
42
|
+
- one bounded translation notice key that labels the result as a
|
|
43
|
+
reconstruction that is not a literal screenshot; and
|
|
44
|
+
- consented coarse renderer diagnostics using the canonical, closed generator
|
|
45
|
+
or GPU demo provenance variants.
|
|
46
|
+
|
|
47
|
+
Every nested object rejects additional properties. Diagnostics use closed
|
|
48
|
+
renderer, backend, viewport, frame-rate, frame-time, feature, counter, and
|
|
49
|
+
stable error-code vocabularies with explicit collection bounds. The result
|
|
50
|
+
cannot express captured pixels, binary images, narrative, DOM, player or
|
|
51
|
+
reporter identity, correlation pseudonyms, request telemetry, URLs, filenames,
|
|
52
|
+
exact coordinates, adapter fingerprints, raw warnings, direct Blob references,
|
|
53
|
+
or arbitrary assets.
|
|
54
|
+
|
|
55
|
+
The descriptor carries the same complete fail-closed controls as every other
|
|
56
|
+
feedback read:
|
|
57
|
+
|
|
58
|
+
- default-off host rollout flag `feedback.mcp.enabled`;
|
|
59
|
+
- OAuth scopes `mcp:access` and `admin.feedback.read`;
|
|
60
|
+
- capability `admin.feedback.read`;
|
|
61
|
+
- read-only mode with no identity-resolution operation;
|
|
62
|
+
- bounded runtime rate limiting and dedicated audit; and
|
|
63
|
+
- uniform not-found behaviour for absent, expired, and unavailable manifests.
|
|
64
|
+
|
|
65
|
+
This package publishes metadata and pure response builders only. The hosted
|
|
66
|
+
site remains the authority for authentication, authorization, flag evaluation,
|
|
67
|
+
schema validation, safe reconstruction, retention, rate limiting, audit, and
|
|
68
|
+
uniform errors. Publishing the package does not create the route or enable the
|
|
69
|
+
feature.
|
|
70
|
+
|
|
71
|
+
## Consequences
|
|
72
|
+
|
|
73
|
+
- Admin and hosted MCP clients can discover the same schema-backed safe
|
|
74
|
+
reconstruction point read without receiving an image or storage locator.
|
|
75
|
+
- Consumers must recognise contract version `2026-08-26.v8` before advertising
|
|
76
|
+
the action.
|
|
77
|
+
- The hosted site must omit or reject the action whenever authentication,
|
|
78
|
+
either OAuth scope, the capability, the rollout flag, rate limiting, or the
|
|
79
|
+
canonical report projection is unavailable.
|
|
80
|
+
- Actual screenshots, attachments, unrestricted reconstruction scans, and all
|
|
81
|
+
feedback mutations remain outside the v1 MCP feedback contract.
|
package/docs/adrs/index.md
CHANGED
|
@@ -6,3 +6,4 @@
|
|
|
6
6
|
- [ADR 0004: Owner Token adjustment MCP boundary](./adr-0004-owner-token-adjustment-mcp-boundary.md)
|
|
7
7
|
- [ADR 0005: Privacy-Safe Read-Only Feedback Contract](./adr-0005-privacy-safe-read-only-feedback-contract.md)
|
|
8
8
|
- [ADR 0006: Canonical Model-Resolution Discovery](./adr-0006-canonical-model-resolution-discovery.md)
|
|
9
|
+
- [ADR 0007: Safe Game Reconstruction Point Read](./adr-0007-safe-game-reconstruction-point-read.md)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasius/mcp-admin-contracts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Public-safe MCP admin discovery contract descriptors and response builders.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -107,8 +107,8 @@
|
|
|
107
107
|
"node": ">=24"
|
|
108
108
|
},
|
|
109
109
|
"dependencies": {
|
|
110
|
-
"@plasius/asset-contracts": "0.
|
|
111
|
-
"@plasius/asset-mcp": "0.1.
|
|
110
|
+
"@plasius/asset-contracts": "0.4.0",
|
|
111
|
+
"@plasius/asset-mcp": "0.1.7",
|
|
112
112
|
"@plasius/schema": "^1.4.0"
|
|
113
113
|
}
|
|
114
114
|
}
|