qyl-mcp-server 7.2.1 → 7.2.3
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 +19 -0
- package/dist/config.d.ts +2 -2
- package/dist/config.js +2 -2
- package/dist/contract-handshake.d.ts +4 -1
- package/dist/contract-handshake.js +4 -1
- package/dist/contract-handshake.js.map +1 -1
- package/dist/mcp-app.html +1 -1
- package/dist/mcp-dashboard.html +1 -1
- package/dist/mcp-home.html +1 -1
- package/dist/ui-domain.js +13 -9
- package/dist/ui-domain.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -173,6 +173,25 @@ real ChatGPT demonstration are separate checks before upload.
|
|
|
173
173
|
|
|
174
174
|
## Release notes
|
|
175
175
|
|
|
176
|
+
### 7.2.3
|
|
177
|
+
|
|
178
|
+
- Contract package `@ancplua/qyl-api-schema` 11.5.0. The release changes only
|
|
179
|
+
qyl-api-schema's toolchain: the contract revision stays
|
|
180
|
+
`sha256:3605ae27d2edf632`, so a Collector built from `Qyl.Api.Contracts`
|
|
181
|
+
11.4.0 or 11.5.0 passes the startup handshake.
|
|
182
|
+
|
|
183
|
+
### 7.2.2
|
|
184
|
+
|
|
185
|
+
- MCP Apps viewers check both the SDK client name and the `User-Agent` when
|
|
186
|
+
choosing their domain. A recognized client name wins over a conflicting
|
|
187
|
+
User-Agent, and an unknown name no longer hides a recognized one; 7.2.0 and
|
|
188
|
+
7.2.1 read the User-Agent only when no client name was sent. When neither is
|
|
189
|
+
recognized, `ui.domain` and `openai/widgetDomain` are both omitted and the
|
|
190
|
+
host uses its default sandbox.
|
|
191
|
+
- The viewers are now `ui://qyl-explorer/mcp-app-v6.html` and
|
|
192
|
+
`ui://qyl-explorer/mcp-dashboard-v4.html`, so hosts drop metadata cached for
|
|
193
|
+
the previous versions.
|
|
194
|
+
|
|
176
195
|
### 7.2.1
|
|
177
196
|
|
|
178
197
|
- 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-
|
|
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-
|
|
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-
|
|
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-
|
|
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;
|
|
@@ -6,7 +6,10 @@
|
|
|
6
6
|
* generated artifacts it was built from and refuses to run on a mismatch. It is
|
|
7
7
|
* the SelfExportGuard pattern applied to the contract axis: lockstep deploys are
|
|
8
8
|
* the honest cost of one contract, and for a solo-operated Railway pair that
|
|
9
|
-
* cost is near zero.
|
|
9
|
+
* cost is near zero — in order. The hosted service mounts a volume, so Railway
|
|
10
|
+
* stops the old container before the new one passes this gate: when a bump
|
|
11
|
+
* changes the revision, the collector's deployment must serve it first
|
|
12
|
+
* (2026-10-11: merging both sides together cost a 20-minute 502).
|
|
10
13
|
*
|
|
11
14
|
* What the gate proves is skew, and skew needs evidence: a revision the
|
|
12
15
|
* collector actually advertised. An unreachable collector proves nothing, so it
|
|
@@ -6,7 +6,10 @@
|
|
|
6
6
|
* generated artifacts it was built from and refuses to run on a mismatch. It is
|
|
7
7
|
* the SelfExportGuard pattern applied to the contract axis: lockstep deploys are
|
|
8
8
|
* the honest cost of one contract, and for a solo-operated Railway pair that
|
|
9
|
-
* cost is near zero.
|
|
9
|
+
* cost is near zero — in order. The hosted service mounts a volume, so Railway
|
|
10
|
+
* stops the old container before the new one passes this gate: when a bump
|
|
11
|
+
* changes the revision, the collector's deployment must serve it first
|
|
12
|
+
* (2026-10-11: merging both sides together cost a 20-minute 502).
|
|
10
13
|
*
|
|
11
14
|
* What the gate proves is skew, and skew needs evidence: a revision the
|
|
12
15
|
* collector actually advertised. An unreachable collector proves nothing, so it
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract-handshake.js","sourceRoot":"","sources":["../src/contract-handshake.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"contract-handshake.js","sourceRoot":"","sources":["../src/contract-handshake.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAEtD,gFAAgF;AAChF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