cherry-studio/scripts
Phantom 43a48a4a38
feat(scripts): migrate feishu-notify to TypeScript CLI tool with subcommands (#12371)
* build: add commander package as dependency

* refactor(scripts): migrate feishu-notify to TypeScript with CLI interface

- Convert JavaScript implementation to TypeScript with proper type definitions
- Add CLI interface using commander for better usability
- Improve error handling and input validation
- Add version management and subcommand support

* ci(workflows): update feishu notification command and add pnpm install step

Update the feishu notification command to use CLI tool with proper arguments instead of direct node script execution
Add pnpm install step to ensure dependencies are available before running the workflow

* docs: add feishu notification script documentation

Add Chinese and English documentation for the feishu-notify.ts CLI tool

* feat(notify): add generic send command to feishu-notify

Add a new 'send' subcommand to send simple notifications to Feishu with customizable title, description and header color. This provides a more flexible way to send notifications without being tied to specific business logic like the existing 'issue' command.

The implementation includes:
- New send command handler and options interface
- Simple card creation function
- Zod schema for header color validation
- Documentation updates in both Chinese and English
2026-01-08 16:55:46 +08:00
..
__tests__ chore(i18n): Separate check-i18n and sync-i18n; add auto sort i18n (#8206) 2025-07-19 23:26:40 +08:00
after-pack.js refactor: fix asar integration (#9753) 2025-09-01 19:48:24 +08:00
artifact-build-completed.js chore(dependencies): update electron-builder to 26.0.15 (#5651) 2025-05-04 18:34:43 +08:00
auto-translate-i18n.ts refactor: switch yarn to pnpm (#12260) 2026-01-05 22:16:34 +08:00
before-pack.js fix: add claude code sdk support for arm version windows 2026-01-08 00:05:35 +08:00
check-custom-exts.ts chore(languages): update languages with a script (#8445) 2025-07-24 15:57:09 +08:00
check-i18n.ts refactor: switch yarn to pnpm (#12260) 2026-01-05 22:16:34 +08:00
cloudflare-worker.js revert: cloudflare-worker.js 2024-12-24 17:38:30 +08:00
feishu-notify.ts feat(scripts): migrate feishu-notify to TypeScript CLI tool with subcommands (#12371) 2026-01-08 16:55:46 +08:00
notarize.js fix: clean up code (#5851) 2025-05-11 00:37:01 +08:00
sort.ts chore(i18n): Separate check-i18n and sync-i18n; add auto sort i18n (#8206) 2025-07-19 23:26:40 +08:00
sync-i18n.ts ci(i18n): update translation config to use TRANSLATION_BASE_LOCALE (#10965) 2025-10-26 15:58:54 +08:00
update-app-upgrade-config.ts ♻️ refactor: implement config-based update system with version compatibility control (#11147) 2025-11-14 17:49:40 +08:00
update-i18n.ts chore: migrate from openai to @cherrystudio/openai package (#10802) 2025-10-22 17:34:23 +08:00
update-languages.ts refactor: switch yarn to pnpm (#12260) 2026-01-05 22:16:34 +08:00
utils.js refactor: fix asar integration (#9753) 2025-09-01 19:48:24 +08:00
version.js refactor: switch yarn to pnpm (#12260) 2026-01-05 22:16:34 +08:00
win-sign.js chore: add gitcode release sync workflow (#11807) 2025-12-11 14:05:41 +08:00