@taptap/instant-games-open-mcp 1.24.8 → 1.24.9

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/proxy.js CHANGED
@@ -29137,7 +29137,7 @@ var LogWriter = class {
29137
29137
  };
29138
29138
 
29139
29139
  // src/mcp-proxy/proxy.ts
29140
- var VERSION = true ? "1.24.8" : "dev";
29140
+ var VERSION = true ? "1.24.9" : "dev";
29141
29141
  var LOCAL_PROXY_TAG = "local";
29142
29142
  var TapTapMCPProxy = class {
29143
29143
  constructor(config2) {
@@ -29213,9 +29213,6 @@ var TapTapMCPProxy = class {
29213
29213
  if (this.config.tenant.user_id) {
29214
29214
  this.log("info", `User ID: ${this.config.tenant.user_id}`);
29215
29215
  }
29216
- if (this.config.tenant.client_session_id) {
29217
- this.log("info", `Client Session ID: ${this.config.tenant.client_session_id}`);
29218
- }
29219
29216
  if (this.config.tenant.project_id) {
29220
29217
  this.log("info", `Project ID: ${this.config.tenant.project_id}`);
29221
29218
  }
@@ -29243,7 +29240,6 @@ var TapTapMCPProxy = class {
29243
29240
  *
29244
29241
  * Headers:
29245
29242
  * - X-TapTap-User-Id: 用户标识
29246
- * - X-TapTap-Client-Session-Id: 业务/编辑器会话标识
29247
29243
  * - X-TapTap-Project-Id: 项目标识
29248
29244
  * - X-TapTap-Project-Path: 项目路径
29249
29245
  * - X-TapTap-Mac-Token: MAC 认证令牌(JSON)
@@ -29256,9 +29252,6 @@ var TapTapMCPProxy = class {
29256
29252
  if (this.config.tenant.user_id) {
29257
29253
  headers["X-TapTap-User-Id"] = this.config.tenant.user_id;
29258
29254
  }
29259
- if (this.config.tenant.client_session_id) {
29260
- headers["X-TapTap-Client-Session-Id"] = this.config.tenant.client_session_id;
29261
- }
29262
29255
  if (this.config.tenant.project_id) {
29263
29256
  headers["X-TapTap-Project-Id"] = this.config.tenant.project_id;
29264
29257
  }
@@ -29280,7 +29273,6 @@ var TapTapMCPProxy = class {
29280
29273
  * 注入的参数(以下划线开头,表示私有):
29281
29274
  * - _mac_token: MAC 认证令牌
29282
29275
  * - _user_id: 用户标识(可选)
29283
- * - _client_session_id: 业务/编辑器会话标识(可选)
29284
29276
  * - _project_id: 项目标识(可选)
29285
29277
  * - _project_path: 项目路径(可选)
29286
29278
  * - _custom_fields: 业务自定义字段(可选)
@@ -29293,9 +29285,6 @@ var TapTapMCPProxy = class {
29293
29285
  if (this.config.tenant.user_id) {
29294
29286
  injected._user_id = this.config.tenant.user_id;
29295
29287
  }
29296
- if (this.config.tenant.client_session_id) {
29297
- injected._client_session_id = this.config.tenant.client_session_id;
29298
- }
29299
29288
  if (this.config.tenant.project_id) {
29300
29289
  injected._project_id = this.config.tenant.project_id;
29301
29290
  }
@@ -29848,9 +29837,6 @@ function validateConfig(config2) {
29848
29837
  if (!config2.tenant) {
29849
29838
  errors.push("- Missing required field: tenant");
29850
29839
  } else {
29851
- if (config2.tenant.client_session_id !== void 0 && typeof config2.tenant.client_session_id !== "string") {
29852
- errors.push("- tenant.client_session_id must be a string");
29853
- }
29854
29840
  if (config2.tenant.custom_fields !== void 0) {
29855
29841
  const cf = config2.tenant.custom_fields;
29856
29842
  if (typeof cf !== "object" || cf === null || Array.isArray(cf) || Object.getPrototypeOf(cf) !== Object.prototype) {
@@ -29901,7 +29887,6 @@ function applyDefaults(config2) {
29901
29887
  project_path: config2.tenant.project_path || ".",
29902
29888
  user_id: config2.tenant.user_id,
29903
29889
  project_id: config2.tenant.project_id,
29904
- client_session_id: config2.tenant.client_session_id,
29905
29890
  custom_fields: config2.tenant.custom_fields
29906
29891
  },
29907
29892
  auth: config2.auth,