@cloudbase/cloudbase-mcp 2.36.0 → 2.36.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/index.d.ts CHANGED
@@ -443,9 +443,20 @@ declare interface LoginState {
443
443
  uin?: string | number;
444
444
  }
445
445
 
446
+ /**
447
+ * 退出登录:只清「当前生效的那一份」。
448
+ *
449
+ * 项目级凭据优先于账号级登录态,所以项目里有 API Key 时,登出只删项目文件、清掉
450
+ * 回填的环境变量,账号登录原样保留(删完它自动接上)。再调一次才轮到全局。
451
+ *
452
+ * 不把 cwd 交给 toolbox 的 `logout()`:那个接口会**无条件先删全局凭据**,
453
+ * 「退出本项目」不该把用户的账号级登录一起注销掉。
454
+ */
446
455
  export declare function logout(_options?: {
447
456
  site?: string;
448
- }): Promise<void>;
457
+ }): Promise<{
458
+ removed: Array<"project" | "global">;
459
+ }>;
449
460
 
450
461
  /**
451
462
  * 归一化后的客户端能力(字段名保持语义,报表侧再映射到列)。