feishu-mcp 0.1.3 → 0.1.4

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/server.js CHANGED
@@ -7,7 +7,7 @@ import { Logger } from './utils/logger.js';
7
7
  import { SSEConnectionManager } from './manager/sseConnectionManager.js';
8
8
  import { FeishuMcp } from './mcp/feishuMcp.js';
9
9
  import { callback } from './services/callbackService.js';
10
- import { UserAuthManager, UserContextManager, getBaseUrl, TokenCacheManager } from './utils/auth';
10
+ import { UserAuthManager, UserContextManager, getBaseUrl, TokenCacheManager } from './utils/auth/index.js';
11
11
  export class FeishuMcpServer {
12
12
  constructor() {
13
13
  Object.defineProperty(this, "connectionManager", {
@@ -3,7 +3,7 @@ import FormData from 'form-data';
3
3
  import { Logger } from '../utils/logger.js';
4
4
  import { formatErrorMessage, AuthRequiredError } from '../utils/error.js';
5
5
  import { Config } from '../utils/config.js';
6
- import { TokenCacheManager, UserContextManager, AuthUtils } from '../utils/auth';
6
+ import { TokenCacheManager, UserContextManager, AuthUtils } from '../utils/auth/index.js';
7
7
  /**
8
8
  * API服务基类
9
9
  * 提供通用的HTTP请求处理和认证功能
@@ -1,7 +1,7 @@
1
1
  import { AuthService } from './feishuAuthService.js';
2
2
  import { Config } from '../utils/config.js';
3
3
  import { renderFeishuAuthResultHtml } from '../utils/document.js';
4
- import { AuthUtils, TokenCacheManager } from '../utils/auth';
4
+ import { AuthUtils, TokenCacheManager } from '../utils/auth/index.js';
5
5
  // 通用响应码
6
6
  const CODE = {
7
7
  SUCCESS: 0,
@@ -4,7 +4,7 @@ import { Config } from '../utils/config.js';
4
4
  import { CacheManager } from '../utils/cache.js';
5
5
  import { ParamUtils } from '../utils/paramUtils.js';
6
6
  import { BlockFactory, BlockType } from './blockFactory.js';
7
- import { AuthUtils, TokenCacheManager } from '../utils/auth';
7
+ import { AuthUtils, TokenCacheManager } from '../utils/auth/index.js';
8
8
  import { AuthRequiredError } from '../utils/error.js';
9
9
  import axios from 'axios';
10
10
  import FormData from 'form-data';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feishu-mcp",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Model Context Protocol server for Feishu integration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",