qyl-mcp-server 7.2.0 → 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,27 @@ 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
+
188
+ ### 7.2.1
189
+
190
+ - Contract package `@ancplua/qyl-api-schema` 11.4.0 (TypeSpec 1.17). The
191
+ contract revision is now `sha256:3605ae27d2edf632`. The server refuses to
192
+ start against a Collector that advertises another revision, so run it with a
193
+ Collector built from `Qyl.Api.Contracts` 11.4.0.
194
+ - OpenTelemetry 0.223.0 / 2.12.0 and the remaining dependencies at their latest
195
+ releases.
196
+
176
197
  ### 7.2.0
177
198
 
178
199
  - Removed deprecated MCP logging capability and per-call log notifications;
@@ -186,6 +207,13 @@ real ChatGPT demonstration are separate checks before upload.
186
207
  - Workbench telemetry recognizes the SDK's per-request server factory so native
187
208
  tool spans are not duplicated by the surrounding protocol journal, while
188
209
  failed server construction still produces a correlated failure span.
210
+ - `get_trace` accepts optional `errors_only`, `max_spans` and
211
+ `include_attributes`; `ci_log` accepts an optional `service_prefix` (default
212
+ `qyl-ci`).
213
+ - Advertised output schemas use portable spelling (`additionalProperties: true`,
214
+ `anyOf` instead of type arrays); validation is unchanged.
215
+ - MCP Apps viewers declare the UI domain Claude and ChatGPT each expect, and
216
+ none for other hosts.
189
217
 
190
218
  ### 7.1.1
191
219
 
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;