Feishu Common — 飞书通用
v1.0.1Provides 分享d Feishu authentication, tenant 令牌 caching, retry handling, and 认证d API 请求 support for dependent Feishu 技能s.
1· 2.7k·0 当前·0 累计
下载技能包
License
MIT-0
运行时依赖
无特殊依赖
安装命令
点击复制官方npx clawhub@latest install feishu-common
镜像加速npx clawhub@latest install feishu-common --registry https://cn.longxiaskill.com 镜像可用
技能文档
Feishu-common 技能描述 为 OpenClaw Feishu 技能提供共享的 Feishu 身份验证和 API 帮助器。 提供: 租户令牌获取和缓存 重试和超时处理 带有令牌刷新的身份验证请求包装器 安装要求 在安装或运行依赖的 Feishu 技能之前安装此技能。 使用方法 依赖技能应从 feishu-common 导入: const { getToken, fetchWithRetry, fetchWithAuth } = require("../feishu-common/index.js"); 兼容别名也可用: const { getToken, fetchWithAuth } = require("../feishu-common/feishu-client.js"); 文件 index.js:主实现 feishu-client.js:兼容别名到 index.js