Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/2234839/ccdd
/ functions
Functions
46 in github.com/2234839/ccdd
⨍
Functions
46
◇
Types & classes
10
↓ 4 callers
Function
notifyTaskCompletion
* 主要的提醒函数
notify-sound.js:40
↓ 3 callers
Method
_sendPayload
* 发送HTTP请求到飞书webhook * @param {Object} payload - 请求载荷 * @returns {Promise<boolean>} 发送是否成功
feishu-notify.js:98
↓ 3 callers
Method
getTypeName
* 获取通知类型的中文名称
notification-manager.js:96
↓ 3 callers
Function
playBeep
* 播放简单的蜂鸣声作为备用方案
notify-sound.js:27
↓ 3 callers
Method
playBeep
* 播放蜂鸣声作为备用方案
notify-system.js:96
↓ 3 callers
Function
question
* 询问用户输入
setup-wizard.js:19
↓ 2 callers
Method
_handleResponse
* 处理响应
telegram-notify.js:202
↓ 2 callers
Method
getTelegramConfig
* 获取Telegram配置
env-config.js:51
↓ 1 callers
Method
_loadConfig
* 从config.json加载配置 * @returns {boolean} 是否启用
telegram-notify.js:50
↓ 1 callers
Method
_sendDirect
* 直连发送请求
telegram-notify.js:109
↓ 1 callers
Method
_sendPayload
* 发送HTTP请求到Telegram API * @param {string} endpoint - API端点 * @param {Object} payload - 请求载荷 * @returns {Promise<boolean>} 发送是否成功
telegram-notify.js:91
↓ 1 callers
Method
_sendViaProxy
* 通过代理发送请求
telegram-notify.js:136
↓ 1 callers
Function
buildMessageFromContext
* 从 Claude 上下文生成通知消息
notify-system.js:226
↓ 1 callers
Method
getAllConfig
* 获取所有配置
env-config.js:85
↓ 1 callers
Function
getCommandLineArgs
* 获取命令行参数
feishu-notify.js:198
↓ 1 callers
Function
getCommandLineArgs
* 获取命令行参数
telegram-notify.js:282
↓ 1 callers
Function
getCommandLineArgs
* 获取命令行参数
notify-system.js:193
↓ 1 callers
Method
getEnabledNotificationIcons
* 获取启用通知的图标列表
notification-manager.js:136
↓ 1 callers
Method
getFeishuConfig
* 获取飞书配置
env-config.js:41
↓ 1 callers
Method
getNotificationConfig
* 获取通用通知配置
env-config.js:76
↓ 1 callers
Method
getProjectName
* 获取项目名称 * 优先级: package.json > git仓库名 > 目录名
notify-system.js:41
↓ 1 callers
Method
getSoundConfig
* 获取声音通知配置
env-config.js:66
↓ 1 callers
Method
initializeNotifiers
* 初始化各种通知器
notification-manager.js:22
↓ 1 callers
Method
loadConfig
* 从环境变量加载配置
notify-system.js:25
↓ 1 callers
Method
loadEnvironmentVariables
* 加载环境变量 * 根据脚本所在位置加载 .env 文件
env-config.js:21
↓ 1 callers
Function
notifyTaskCompletion
* 任务完成通知函数 * @param {string} taskInfo - 任务信息 * @param {string} webhookUrl - 飞书webhook地址 * @param {string} projectName - 项目名称
feishu-notify.js:156
↓ 1 callers
Function
notifyTaskCompletion
* 任务完成通知函数 * @param {string} taskInfo - 任务信息 * @param {string} projectName - 项目名称 * @returns {Promise<boolean>} 发送是否成功
telegram-notify.js:234
↓ 1 callers
Function
playWindowsSound
* 播放Windows系统提示音 * @param {string} soundType - 声音类型: 'default', 'asterisk', 'exclamation', 'hand', 'question'
notify-sound.js:14
↓ 1 callers
Method
playWindowsSound
* 播放Windows系统声音
notify-system.js:84
↓ 1 callers
Method
printNotificationSummary
* 打印通知结果汇总
notification-manager.js:108
↓ 1 callers
Function
readStdinSync
* 从 stdin 读取 Claude Stop hook 传入的上下文 * 包含 last_assistant_message 等信息
notify-system.js:214
↓ 1 callers
Method
sendAllNotifications
* 发送所有类型的通知
notify-system.js:162
↓ 1 callers
Method
sendMessage
* 发送消息到Telegram * @param {string} message - 消息内容 * @param {string} parseMode - 消息解析模式 ("HTML" 或 "Markdown") * @returns {Promise<boolean
telegram-notify.js:69
↓ 1 callers
Method
sendRichText
* 发送富文本消息到飞书 * @param {string} title - 消息标题 * @param {string} content - 消息内容 * @param {Array} tags - 标签列表 * @returns {Promise<bool
feishu-notify.js:46
↓ 1 callers
Method
sendSingleNotification
* 发送单个通知
notification-manager.js:80
↓ 1 callers
Method
sendSoundNotification
* 发送声音提醒
notify-system.js:107
↓ 1 callers
Function
setupWizard
* 配置向导主函数
setup-wizard.js:26
Method
constructor
* 构造函数 * @param {string} webhookUrl - 飞书机器人的webhook地址
feishu-notify.js:18
Method
constructor
* 构造函数
telegram-notify.js:20
Method
constructor
()
env-config.js:13
Method
constructor
(config, projectName)
notification-manager.js:13
Method
constructor
()
notify-system.js:16
Method
sendAllNotifications
* 发送所有启用的通知
notification-manager.js:55
Method
sendCard
* 发送交互式卡片消息 * @param {string} title - 卡片标题 * @param {string} content - 卡片内容 * @returns {Promise<boolean>} 发送是否成功
feishu-notify.js:75
Method
sendFeishuNotification
* 发送飞书通知
notify-system.js:142
Method
sendText
* 发送文本消息到飞书 * @param {string} message - 消息内容 * @param {Object} options - 额外选项 * @returns {Promise<boolean>} 发送是否成功
feishu-notify.js:28