@adaptivemcp/spec 0.2.0 → 0.2.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/dist/extensions.d.ts +8 -0
- package/dist/extensions.d.ts.map +1 -1
- package/dist/extensions.js +8 -0
- package/dist/extensions.js.map +1 -1
- package/package.json +1 -1
package/dist/extensions.d.ts
CHANGED
|
@@ -16,6 +16,14 @@
|
|
|
16
16
|
export declare const EXTENSION_NAMESPACE = "dev.adaptivemcp/";
|
|
17
17
|
/** The single proposed MCP extension (SEP-2133): a server-published resource. */
|
|
18
18
|
export declare const TOOLS_METADATA_EXTENSION = "dev.adaptivemcp/tools-metadata";
|
|
19
|
+
/**
|
|
20
|
+
* The actual MCP resource URI. MCP requires a valid URL for resource
|
|
21
|
+
* registration and reads, so we use the reversed-domain `dev.adaptivemcp` as
|
|
22
|
+
* the URI scheme and `tools-metadata` as the path. This is the wire form of
|
|
23
|
+
* `TOOLS_METADATA_EXTENSION`; the logical identifier stays scheme-less per the
|
|
24
|
+
* SEP-2133 naming convention.
|
|
25
|
+
*/
|
|
26
|
+
export declare const TOOLS_METADATA_RESOURCE_URI = "dev.adaptivemcp://tools-metadata";
|
|
19
27
|
/**
|
|
20
28
|
* Internal reversed-domain identifiers for client-side packages. These are NOT
|
|
21
29
|
* MCP extensions; they namespace in-process concepts to avoid collisions.
|
package/dist/extensions.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extensions.d.ts","sourceRoot":"","sources":["../src/extensions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,eAAO,MAAM,mBAAmB,qBAAqB,CAAC;AAEtD,iFAAiF;AACjF,eAAO,MAAM,wBAAwB,mCAAmC,CAAC;AAEzE;;;GAGG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;CAQtB,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAAG,MAAM,OAAO,mBAAmB,CAAC;AAErE,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAE5D;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,qBAAqB,GAAG,MAAM,CAErE"}
|
|
1
|
+
{"version":3,"file":"extensions.d.ts","sourceRoot":"","sources":["../src/extensions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,eAAO,MAAM,mBAAmB,qBAAqB,CAAC;AAEtD,iFAAiF;AACjF,eAAO,MAAM,wBAAwB,mCAAmC,CAAC;AAEzE;;;;;;GAMG;AACH,eAAO,MAAM,2BAA2B,qCAAqC,CAAC;AAE9E;;;GAGG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;CAQtB,CAAC;AAEX,MAAM,MAAM,qBAAqB,GAAG,MAAM,OAAO,mBAAmB,CAAC;AAErE,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAE5D;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,qBAAqB,GAAG,MAAM,CAErE"}
|
package/dist/extensions.js
CHANGED
|
@@ -16,6 +16,14 @@
|
|
|
16
16
|
export const EXTENSION_NAMESPACE = "dev.adaptivemcp/";
|
|
17
17
|
/** The single proposed MCP extension (SEP-2133): a server-published resource. */
|
|
18
18
|
export const TOOLS_METADATA_EXTENSION = "dev.adaptivemcp/tools-metadata";
|
|
19
|
+
/**
|
|
20
|
+
* The actual MCP resource URI. MCP requires a valid URL for resource
|
|
21
|
+
* registration and reads, so we use the reversed-domain `dev.adaptivemcp` as
|
|
22
|
+
* the URI scheme and `tools-metadata` as the path. This is the wire form of
|
|
23
|
+
* `TOOLS_METADATA_EXTENSION`; the logical identifier stays scheme-less per the
|
|
24
|
+
* SEP-2133 naming convention.
|
|
25
|
+
*/
|
|
26
|
+
export const TOOLS_METADATA_RESOURCE_URI = "dev.adaptivemcp://tools-metadata";
|
|
19
27
|
/**
|
|
20
28
|
* Internal reversed-domain identifiers for client-side packages. These are NOT
|
|
21
29
|
* MCP extensions; they namespace in-process concepts to avoid collisions.
|
package/dist/extensions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extensions.js","sourceRoot":"","sources":["../src/extensions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG,kBAAkB,CAAC;AAEtD,iFAAiF;AACjF,MAAM,CAAC,MAAM,wBAAwB,GAAG,gCAAgC,CAAC;AAEzE;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,SAAS,EAAE,2BAA2B;IACtC,QAAQ,EAAE,0BAA0B;IACpC,UAAU,EAAE,4BAA4B;IACxC,MAAM,EAAE,wBAAwB;IAChC,OAAO,EAAE,yBAAyB;IAClC,aAAa,EAAE,+BAA+B;IAC9C,QAAQ,EAAE,0BAA0B;CAC5B,CAAC;AAIX,MAAM,UAAU,qBAAqB,CAAC,KAAa;IACjD,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAC;AAC5E,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,IAA2B;IAC3D,OAAO,mBAAmB,CAAC,IAAI,CAAC,CAAC;AACnC,CAAC"}
|
|
1
|
+
{"version":3,"file":"extensions.js","sourceRoot":"","sources":["../src/extensions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG,kBAAkB,CAAC;AAEtD,iFAAiF;AACjF,MAAM,CAAC,MAAM,wBAAwB,GAAG,gCAAgC,CAAC;AAEzE;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,kCAAkC,CAAC;AAE9E;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,SAAS,EAAE,2BAA2B;IACtC,QAAQ,EAAE,0BAA0B;IACpC,UAAU,EAAE,4BAA4B;IACxC,MAAM,EAAE,wBAAwB;IAChC,OAAO,EAAE,yBAAyB;IAClC,aAAa,EAAE,+BAA+B;IAC9C,QAAQ,EAAE,0BAA0B;CAC5B,CAAC;AAIX,MAAM,UAAU,qBAAqB,CAAC,KAAa;IACjD,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAC;AAC5E,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,IAA2B;IAC3D,OAAO,mBAAmB,CAAC,IAAI,CAAC,CAAC;AACnC,CAAC"}
|