qyl-mcp-server 7.2.1 → 7.2.2

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/README.md CHANGED
@@ -173,6 +173,18 @@ real ChatGPT demonstration are separate checks before upload.
173
173
 
174
174
  ## Release notes
175
175
 
176
+ ### 7.2.2
177
+
178
+ - MCP Apps viewers check both the SDK client name and the `User-Agent` when
179
+ choosing their domain. A recognized client name wins over a conflicting
180
+ User-Agent, and an unknown name no longer hides a recognized one; 7.2.0 and
181
+ 7.2.1 read the User-Agent only when no client name was sent. When neither is
182
+ recognized, `ui.domain` and `openai/widgetDomain` are both omitted and the
183
+ host uses its default sandbox.
184
+ - The viewers are now `ui://qyl-explorer/mcp-app-v6.html` and
185
+ `ui://qyl-explorer/mcp-dashboard-v4.html`, so hosts drop metadata cached for
186
+ the previous versions.
187
+
176
188
  ### 7.2.1
177
189
 
178
190
  - Contract package `@ancplua/qyl-api-schema` 11.4.0 (TypeSpec 1.17). The
package/dist/config.d.ts CHANGED
@@ -7,9 +7,9 @@
7
7
  */
8
8
  import type { CollectorAccess } from "./collector-access.js";
9
9
  /** URI of the trace explorer UI resource. */
10
- export declare const RESOURCE_URI = "ui://qyl-explorer/mcp-app-v5.html";
10
+ export declare const RESOURCE_URI = "ui://qyl-explorer/mcp-app-v6.html";
11
11
  /** URI of the MCP dashboard UI resource. */
12
- export declare const DASHBOARD_RESOURCE_URI = "ui://qyl-explorer/mcp-dashboard-v3.html";
12
+ export declare const DASHBOARD_RESOURCE_URI = "ui://qyl-explorer/mcp-dashboard-v4.html";
13
13
  export declare function collectorUrl(): string;
14
14
  /** Optional collector credential and project scope, under the contract's headers. */
15
15
  export declare function collectorHeaders(access?: CollectorAccess): Record<string, string>;
package/dist/config.js CHANGED
@@ -7,9 +7,9 @@
7
7
  */
8
8
  import { API_KEY_HEADER, PROJECT_HEADER } from "./contract-headers.js";
9
9
  /** URI of the trace explorer UI resource. */
10
- export const RESOURCE_URI = "ui://qyl-explorer/mcp-app-v5.html";
10
+ export const RESOURCE_URI = "ui://qyl-explorer/mcp-app-v6.html";
11
11
  /** URI of the MCP dashboard UI resource. */
12
- export const DASHBOARD_RESOURCE_URI = "ui://qyl-explorer/mcp-dashboard-v3.html";
12
+ export const DASHBOARD_RESOURCE_URI = "ui://qyl-explorer/mcp-dashboard-v4.html";
13
13
  export function collectorUrl() {
14
14
  const configured = process.env.QYL_COLLECTOR_URL ?? "http://127.0.0.1:5100";
15
15
  let url;