Releases: adamlui/js-utils
Release list
chatgpt.js v4.12.0
📃 Changelog
- Added
/<uilang|replylang|commitmsgexample|config|copy|nosuggest|quiet|debug>(KudoAI/chatgpt.js#702) - Added
/fortune(KudoAI/chatgpt.js#702) - Added
gptas CLI cmd prefix (closes KudoAI/chatgpt.js#703) - Enabled auto-clear CLI chat by default (closes KudoAI/chatgpt.js#707)
- Prepended zh-CN output to
<--|/>fortune(closes KudoAI/chatgpt.js#700) - Moved debug logs (fixes KudoAI/chatgpt.js#705)
- Added enhance query to RESP, tightened
cli.config.replyLanglogic (fixes KudoAI/chatgpt.js#706) - Corrected
cli.msgs.info_toQuitref (fixes KudoAI/chatgpt.js#699)
Full Changelog: KudoAI/chatgpt.js@v4.11.0...v4.12.0 (@adamlui, @kudo-sync-bot)
README for this release: https://github.com/KudoAI/chatgpt.js/tree/v4.12.0/#readme
Auto-synced from https://github.com/KudoAI/chatgpt.js/releases by @kudo-sync-bot
chatgpt.js v4.11.0
📃 Changelog
- Added
--interactivemode (closes KudoAI/chatgpt.js#680) (@adamlui) - Added
--reply-lang(closes KudoAI/chatgpt.js#687) (@adamlui) - Added
<--|/>commit-msg(closes KudoAI/chatgpt.js#670) (@adamlui) - Added
--commit-msg-example(closes KudoAI/chatgpt.js#679) (@adamlui) - Added
--fortune(closes KudoAI/chatgpt.js#644) (@adamlui) - Added warn on
messages.saveChain()fail (@adamlui) - Added/used
cli.msgs.query_hi(closes KudoAI/chatgpt.js#686) (@adamlui) - Added URL input support to
<--|/>summarize(closes KudoAI/chatgpt.js#648) (@adamlui) - Added URL input support to
--config(closes KudoAI/chatgpt.js#692) (@adamlui) - Added
autoClearkey to .chatgpt.config.mjs (closes KudoAI/chatgpt.js#672) (@adamlui) - Added log provider/model used to
--debugmode (closes KudoAI/chatgpt.js#659) (@adamlui) - Moved auto-help above CLI resp (closes KudoAI/chatgpt.js#688) (@adamlui)
- Added enforce new
settings.controls[key].valRequired(fixes KudoAI/chatgpt.js#684) (@adamlui) - Tightened
string.looksLikePath()matching (fixes KudoAI/chatgpt.js#689) (@adamlui) - Tightened val-less CLI arg check (fixes #353) (@adamlui)
- Allowed val w/o using
=to--config(fixes #355) (@adamlui) - Restored early EN
cli.msgsinit, deleted EN fallback strings (fixes #356) (@adamlui) - Updated i18n msgs (closes KudoAI/chatgpt.js#696) (@adamlui)
- Lazy loaded libs (@adamlui)
- Bumped @html-eslint/eslint-plugin from 0.61.0 to 0.62.0 (@dependabot)
- Bumped @html-eslint/parser from 0.61.0 to 0.62.0 (@dependabot)
- Bumped console-table-printer from 2.16.0 to 2.16.1 (@dependabot)
- Bumped typescript-eslint from 8.60.1 to 8.61.0 (@dependabot)
Full Changelog: KudoAI/chatgpt.js@v4.10.0...v4.11.0 (@adamlui, @dependabot, @kudo-sync-bot)
README for this release: https://github.com/KudoAI/chatgpt.js/tree/v4.11.0/#readme
Auto-synced from https://github.com/KudoAI/chatgpt.js/releases by @kudo-sync-bot
chatgpt.js v4.9.0
📃 Changelog
- Added
dictate()(closes KudoAI/chatgpt.js#637) (@adamlui) - Added
getFortune()(closes KudoAI/chatgpt.js#643) (@adamlui) - Added validate
envto methods (closes KudoAI/chatgpt.js#640) (@adamlui) - Added
verboseoption to methods (closes KudoAI/chatgpt.js#642) (@adamlui) - Added
maxTokensoption tosend()(closes KudoAI/chatgpt.js#634) (@adamlui) - Added
<messages|msgMaxChars|turnsToPreserve>options tosend()(closes KudoAI/chatgpt.js#630) (@adamlui) - Added
--providerto--helpmenu (fixes KudoAI/chatgpt.js#631) (@adamlui) - Added
--copy(closes KudoAI/chatgpt.js#657) (@adamlui) - Added
--max-tokens(closes KudoAI/chatgpt.js#633) (@adamlui) - Added preserve CLI chat context +
--<msg-max-chars|turns>(closes KudoAI/chatgpt.js#628) (@adamlui) - Added
--ascii-art [subject](closes KudoAI/chatgpt.js#658) (@adamlui) - Added parse JSON in CLI replies (fixes KudoAI/chatgpt.js#632) (@adamlui)
- Added auto-suggestions to CLI +
--no-suggest(closes KudoAI/chatgpt.js#629) (@adamlui) - Whitened CLI resp (@adamlui)
- Corrected msgs JSD URL init (fixes KudoAI/chatgpt.js#626) (@adamlui)
- Bumped actions/checkout from 6.0.2 to 6.0.3 (@dependabot)
- Bumped remove-json-keys from 1.10.1 to 1.10.2 (@dependabot)
- Bumped translate-messages from 1.10.1 to 1.10.2 (@dependabot)
Full Changelog: KudoAI/chatgpt.js@v4.8.0...v4.9.0 (@adamlui, @dependabot, @kudo-sync-bot)
README for this release: https://github.com/KudoAI/chatgpt.js/tree/v4.9.0/#readme
Auto-synced from https://github.com/KudoAI/chatgpt.js/releases by @kudo-sync-bot
chatgpt.js v4.10.0
📃 Changelog
- Added
--clearmsg chain (closes KudoAI/chatgpt.js#664) (@adamlui) - Added
chatgpt.jsas CLI cmd prefix (closes KudoAI/chatgpt.js#669) (@adamlui) - Used
os.homedir()for cross-platformmsgChainPathinit (fixes KudoAI/chatgpt.js#668) (@adamlui) - Bumped @kudoai/ai-personas from 1.12.0 to 1.13.0 (@dependabot)
Full Changelog: KudoAI/chatgpt.js@v4.9.0...v4.10.0 (@adamlui, @dependabot, @kudo-sync-bot)
README for this release: https://github.com/KudoAI/chatgpt.js/tree/v4.10.0/#readme
Auto-synced from https://github.com/KudoAI/chatgpt.js/releases by @kudo-sync-bot
ai-personas v1.13.0
📃 Changelog
Full Changelog: KudoAI/ai-personas@node.js-v1.12.0...node.js-v1.13.0 (@adamlui, @kudo-sync-bot)
💻 Installation
From your project root:
npm install @kudoai/ai-personas@latestREADME for this release: https://github.com/KudoAI/ai-personas/tree/node.js-v1.13.0/node.js/#readme
Auto-synced from https://github.com/KudoAI/ai-personas/releases by @kudo-sync-bot
chatgpt.js v4.8.0
📃 Changelog
- Added
code.debug()(closes KudoAI/chatgpt.js#602) (@DeepSaha25) - Added
--summarize <filepath|text>(closes KudoAI/chatgpt.js#598) (@DeepSaha25, @adamlui) - Added
--random-answer(closes KudoAI/chatgpt.js#592) (@DeepSaha25, @adamlui) - Added short flags for
--<summarize|ui-lang|config|stats>(closes KudoAI/chatgpt.js#622) (@adamlui) - Added auto-sync JSD hits shield in readme (closes KudoAI/chatgpt.js#590) (@DeepSaha25, @adamlui)
- Tightened CLI auto-help screen query regex (fixes KudoAI/chatgpt.js#617) (@adamlui)
- Deleted dupe
chatgptrefs incodemethods (@adamlui) - Improved
settings.controlsregex (fixes KudoAI/chatgpt.js#623) (@adamlui) - Improved CLI menu formatting (@adamlui)
- Fixed CLI arg process loop when
settings.load()specific keys (fixes #340) (@adamlui) - Set template .chatgpt.config.mjs
uiLangtoen(@adamlui) - Changed
settings.controls.provider.defaultValfromopenroutertorandom(@adamlui) - Bumped console-table-printer from 2.15.3 to 2.16.0 (@dependabot)
- Bumped typescript-eslint from 8.60.0 to 8.60.1 (@dependabot)
Full Changelog: KudoAI/chatgpt.js@v4.7.0...v4.8.0 (@DeepSaha25, @adamlui, @dependabot, @kudo-sync-bot)
README for this release: https://github.com/KudoAI/chatgpt.js/tree/v4.8.0/#readme
Auto-synced from https://github.com/KudoAI/chatgpt.js/releases by @kudo-sync-bot
chatgpt.js v4.7.0
📃 Changelog
- Added
getRandomAnswer()(closes KudoAI/chatgpt.js#591) - Added
--joke(closes KudoAI/chatgpt.js#606) - Added
'random'assend({ provider })option, used as new default (closes KudoAI/chatgpt.js#610) - Appended
--helpmenu to argless CLI call resp (closes KudoAI/chatgpt.js#597) - Passed missing
cli.config.providertochatgpt.send()in cli/index.js (fixes KudoAI/chatgpt.js#605)
Full Changelog: KudoAI/chatgpt.js@v4.6.0...v4.7.0 (@adamlui, @kudo-sync-bot)
README for this release: https://github.com/KudoAI/chatgpt.js/tree/v4.7.0/#readme
Auto-synced from https://github.com/KudoAI/chatgpt.js/releases by @kudo-sync-bot
chatgpt.js v4.6.0
⚠️ Deprecation Notice
activateDarkMode()andactivateLightMode()will be removed in v5.0.0 (usesettings.scheme.activate<Dark|Light>()instead)
All deprecation notices: https://github.com/KudoAI/chatgpt.js/discussions/576
📃 Changelog
- Added
history.deleteChat()(closes KudoAI/chatgpt.js#528) (@DeepSaha25) - Added backend support to
codemethods (closes KudoAI/chatgpt.js#580) (@adamlui) - Added backend support to
actAs(persona)(closes KudoAI/chatgpt.js#536) (@adamlui) - Added
settings.scheme.activate<Dark|Light>()(@adamlui) - Added/improved arg validation in
codemethods (@adamlui) - Improved CLI usage section in EN readmes (@DeepSaha25)
- Bumped @eslint/css from 1.2.0 to 1.3.0 (@dependabot)
- Bumped @eslint/json from 1.2.0 to 2.0.0 (@dependabot)
- Bumped console-table-printer from 2.15.2 to 2.15.3 (@dependabot)
Full Changelog: KudoAI/chatgpt.js@v4.5.1...v4.6.0 (@DeepSaha25, @adamlui, @dependabot, @kudo-sync-bot)
README for this release: https://github.com/KudoAI/chatgpt.js/tree/v4.6.0/#readme
Auto-synced from https://github.com/KudoAI/chatgpt.js/releases by @kudo-sync-bot
ai-personas v1.12.0
📃 Changelog
- Added 7 new personas (@adamlui)
- Added 6 new personas (@adamlui)
- Bumped @eslint/markdown from 8.0.1 to 8.0.2 (@dependabot)
Full Changelog: KudoAI/ai-personas@node.js-v1.11.0...node.js-v1.12.0 (@adamlui, @dependabot, @kudo-sync-bot)
💻 Installation
From your project root:
npm install @kudoai/ai-personas@latestREADME for this release: https://github.com/KudoAI/ai-personas/tree/node.js-v1.12.0/node.js/#readme
Auto-synced from https://github.com/KudoAI/ai-personas/releases by @kudo-sync-bot
chatgpt.js v4.5.1
⚠️ Deprecation Notice
- Alias functions/APIs will be removed in v5.0.0 (
continue(),execute(),extractCode(),getFooterDiv(),getHeaderDiv(),getResponse(),getResponseFromAPI(),getResponseFromDOM(),hideFooter(),isDarkMode(),isFullScreen(),isLightMode(),minify(),obfuscate(),refactor(),regenerate(),reviewCode(),setScheme(),showFooter(),showHeader(),toggleScheme(),unminify(),write(),schemeAPI)
All deprecation notices: https://github.com/KudoAI/chatgpt.js/discussions/576
📃 Changelog
- Fixed re-pos logic in
notify()to avoid race conditions (adamlui/chatgpt-widescreen#317) (@adamlui) - Restored userguide itemized TOC (closes KudoAI/chatgpt.js#546) (@DeepSaha25)
- Updated userguide public method coverage (closes KudoAI/chatgpt.js#540, KudoAI/chatgpt.js#551) (@DeepSaha25)
- Bumped console-table-printer from 2.15.0 to 2.15.2 (@dependabot)
- Bumped typescript-eslint from 8.59.4 to 8.60.0 (@dependabot)
Full Changelog: KudoAI/chatgpt.js@v4.5.0...v4.5.1 (@DeepSaha25, @dependabot, @adamlui, @kudo-sync-bot)
README for this release: https://github.com/KudoAI/chatgpt.js/tree/v4.5.1/#readme
🧠 New Contributors
- @DeepSaha25 made their first contribution in KudoAI/chatgpt.js#571