cherry-studio/scripts
Phantom 7f83f0700b
chore: migrate from openai to @cherrystudio/openai package (#10802)
* build: replace openai package with @cherrystudio/openai

Update all imports from 'openai' to '@cherrystudio/openai' and remove the yarn patch

* refactor(OpenAIResponseAPIClient): simplify token estimation logic for function call output

Consolidate token estimation by first concatenating all output parts into a single string before counting tokens. This improves maintainability and handles additional output types consistently.
2025-10-22 17:34:23 +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 chore: migrate from openai to @cherrystudio/openai package (#10802) 2025-10-22 17:34:23 +08:00
before-pack.js ⬆️ chore: migrate from Claude Code SDK to Claude Agent SDK v0.1.1 2025-09-30 17:54:02 +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 feat(i18n): make base locale configurable via env var 2025-09-18 19:31:24 +08:00
cloudflare-worker.js revert: cloudflare-worker.js 2024-12-24 17:38:30 +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 feat(i18n): make base locale configurable via env var 2025-09-18 19:31:24 +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 feat: use biome to format files (#10170) 2025-09-15 19:21:15 +08:00
utils.js refactor: fix asar integration (#9753) 2025-09-01 19:48:24 +08:00
version.js chore(version): 0.3.7 2024-07-26 11:04:02 +08:00
win-sign.js build: add win-sign script 2025-05-22 19:33:40 +08:00