@substrat-run/contracts 0.156.0 → 0.157.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/mcp.d.ts CHANGED
@@ -36,4 +36,6 @@ export declare function mcpResourceOf(origin: string, path?: string): string;
36
36
  * The dashboard writes it. `demos/auth-server/src/resources.ts` turns it into rows.
37
37
  */
38
38
  export declare const MCP_RESOURCES_CONFIG_PREFIX = "substrat:resources:";
39
+ /** Read-only auth-composition discovery, handled locally through the vertical's auth route. */
40
+ export declare const MCP_AUTHORIZATION_SERVERS_PATH = "/api/auth/mcp-authorization-servers";
39
41
  //# sourceMappingURL=mcp.d.ts.map
package/dist/mcp.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"mcp.d.ts","sourceRoot":"","sources":["../src/mcp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,wFAAwF;AACxF,wBAAgB,eAAe,CAAC,QAAQ,SAAS,GAAG,MAAM,CAEzD;AAED;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,QAAoB,CAAC;AAEnD;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,GAAE,MAA0B,GAAG,MAAM,CAEtF;AAED;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,wBAAwB,CAAC"}
1
+ {"version":3,"file":"mcp.d.ts","sourceRoot":"","sources":["../src/mcp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,wFAAwF;AACxF,wBAAgB,eAAe,CAAC,QAAQ,SAAS,GAAG,MAAM,CAEzD;AAED;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,QAAoB,CAAC;AAEnD;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,GAAE,MAA0B,GAAG,MAAM,CAEtF;AAED;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,wBAAwB,CAAC;AAEjE,+FAA+F;AAC/F,eAAO,MAAM,8BAA8B,wCAAwC,CAAC"}
package/dist/mcp.js CHANGED
@@ -40,4 +40,6 @@ export function mcpResourceOf(origin, path = MCP_ENDPOINT_PATH) {
40
40
  * The dashboard writes it. `demos/auth-server/src/resources.ts` turns it into rows.
41
41
  */
42
42
  export const MCP_RESOURCES_CONFIG_PREFIX = 'substrat:resources:';
43
+ /** Read-only auth-composition discovery, handled locally through the vertical's auth route. */
44
+ export const MCP_AUTHORIZATION_SERVERS_PATH = '/api/auth/mcp-authorization-servers';
43
45
  //# sourceMappingURL=mcp.js.map
package/dist/mcp.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"mcp.js","sourceRoot":"","sources":["../src/mcp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,wFAAwF;AACxF,MAAM,UAAU,eAAe,CAAC,QAAQ,GAAG,MAAM;IAC/C,OAAO,GAAG,QAAQ,MAAM,CAAC;AAC3B,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,eAAe,EAAE,CAAC;AAEnD;;;;GAIG;AACH,MAAM,UAAU,aAAa,CAAC,MAAc,EAAE,IAAI,GAAW,iBAAiB;IAC5E,OAAO,GAAG,MAAM,GAAG,IAAI,EAAE,CAAC;AAC5B,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,qBAAqB,CAAC"}
1
+ {"version":3,"file":"mcp.js","sourceRoot":"","sources":["../src/mcp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,wFAAwF;AACxF,MAAM,UAAU,eAAe,CAAC,QAAQ,GAAG,MAAM;IAC/C,OAAO,GAAG,QAAQ,MAAM,CAAC;AAC3B,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,eAAe,EAAE,CAAC;AAEnD;;;;GAIG;AACH,MAAM,UAAU,aAAa,CAAC,MAAc,EAAE,IAAI,GAAW,iBAAiB;IAC5E,OAAO,GAAG,MAAM,GAAG,IAAI,EAAE,CAAC;AAC5B,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,qBAAqB,CAAC;AAEjE,+FAA+F;AAC/F,MAAM,CAAC,MAAM,8BAA8B,GAAG,qCAAqC,CAAC"}
package/dist/registry.js CHANGED
@@ -108,7 +108,7 @@ export const vertical = z.object({
108
108
  /**
109
109
  * Holds the EMAIL-SENDER capability (#303) — this vertical's scopes may POST to the control
110
110
  * plane's `/internal/email/send` relay and have transactional mail sent on their behalf. A
111
- * directory-backed staff grant, not deployment config: flipped by `setVerticalEmailSender`,
111
+ * directory-backed owner-managed grant, not deployment config: flipped by `setVerticalEmailSender`,
112
112
  * audited, and read by the relay handler on every send. Like `tenantProvisioner`, never set at
113
113
  * registration and NEVER touched by a re-push refresh — pushing new code must not be able to
114
114
  * grant (or silently keep) outbound authority. The platform holds the actual Email Sending
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@substrat-run/contracts",
3
- "version": "0.156.0",
3
+ "version": "0.157.0",
4
4
  "description": "Substrat kernel contract schemas — Zod is the source of truth (master plan D-22); OAS/JSON Schema are emitted artifacts",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {