Skip to content

Latest commit

 

History

History
516 lines (282 loc) · 27 KB

CHANGELOG.md

File metadata and controls

516 lines (282 loc) · 27 KB

Changelog

All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.

0.9.4 (2024-12-22)

0.9.3 (2024-12-19)

0.9.2 (2024-12-18)

0.9.1 (2024-12-18)

0.9.0 (2024-12-17)

⚠ BREAKING CHANGES

  • Change the Advanced Script Invocation Formatting Spec from @script to [[@script]]

Refactor

  • Change the Advanced Script Invocation Formatting Spec from [@script](https://github.com/script) to [[[@script](https://github.com/script)]] (9082a8d)

0.8.17 (2024-12-17)

Features

Bug Fixes

0.8.16 (2024-12-17)

0.8.15 (2024-12-17)

0.8.14 (2024-12-16)

0.8.13 (2024-12-15)

0.8.12 (2024-12-15)

Features

  • add background arg and excludeModels (3f45f87)
  • add maxSize to file and url rt lib (252564b)

Refactor

  • extract formatTextWithSpace to ai-tool (2db3fc4)
  • following upstream (e0a96bf)
  • seperate the js code from PPE script (9e6d100)

0.8.11 (2024-10-07)

0.8.10 (2024-10-04)

0.8.9 (2024-09-30)

Bug Fixes

  • add hasInited and filter USER_ENV (dd7ad7b)
  • check search dir whether already added (6b46c6f)

Refactor

  • use ansicolor instead of ansi-colors (76ea2c7)

0.8.8 (2024-09-25)

0.8.7 (2024-09-25)

Features

0.8.6 (2024-09-25)

0.8.5 (2024-09-19)

Bug Fixes

0.8.4 (2024-09-19)

0.8.3 (2024-09-18)

0.8.2 (2024-09-17)

0.8.1 (2024-09-17)

0.8.0 (2024-09-16)

⚠ BREAKING CHANGES

  • add local runtime lib support
  • add runtime lib
  • add streamEchoChars supports
  • follow upstream

Features

Bug Fixes

  • can not get scriptRootDir (9854292)
  • should expand path for search paths (6c18c11)

Refactor

0.7.2 (2024-09-02)

0.7.1 (2024-09-02)

0.7.0 (2024-09-01)

⚠ BREAKING CHANGES

  • show script id when stream echo
  • $consoleInput usse content instead of question

Features

Refactor

  • $consoleInput usse content instead of question (951b971)
  • show script id when stream echo (ac70662)

0.6.1 (2024-08-31)

Bug Fixes

  • should clean after stop (ea98cd7)
  • workaround: expandPath error in formatting (f9fe346)

0.6.0 (2024-08-28)

⚠ BREAKING CHANGES

  • consoleInput use value option instead of initial

Features

  • add $consoleInput and colors (f923871)
  • trans: cache the target lang (da13aac)

Bug Fixes

  • not clear stream echo var after stop (a6f2059)
  • params confict with consoleInput (93b1682)

Refactor

  • consoleInput use value option instead of initial (e5de623)

0.5.3 (2024-08-25)

0.5.2 (2024-08-24)

0.5.1 (2024-08-24)

Refactor

  • use toDateTime instead of deprecated luxon (3f87f75)

0.5.0 (2024-08-24)

⚠ BREAKING CHANGES

  • always clear the stream echo output if no config

Bug Fixes

  • translate should pass max_tokens to avoid this config too small (5982f3f)

Refactor

  • always clear the stream echo output if no config (52ce245)

0.4.0 (2024-08-23)

⚠ BREAKING CHANGES

  • following the newest spec

rafactor

  • following the newest spec (f02b519)

Features

  • add "userPreferredLanguage" option to translate the ai string result automatically (6975c33)
  • add aiPreferredLanguage and streamEcho supports (8cbdadb)
  • add USER_ENV to script env (d0dcf37)

Bug Fixes

  • should hint to startup the llm server first (b756dfd)
  • should translate the input data automatically if aiPreferredLanguage exists (4790831)

Refactor

  • use once instead of on for beforeExit and SIGINT (bf61680)
  • use once instead of on ofr beforeExit and SIGINT (45130a9)

0.3.0 (2024-08-18)

⚠ BREAKING CHANGES

  • only export runScript

Features

  • add expandPath to scope (33410d0)

Bug Fixes

  • input: should save input first before switch to next/prev item (8b09a93)

Refactor

0.2.0 (2024-08-16)

⚠ BREAKING CHANGES

  • extract brain command and common funcs as packages
  • add version to lib

Features

  • add update check (dd95ac7)
  • add version to lib (c2465fa)
  • lib: add the file loader lib used in prompt (c4adec7)

Bug Fixes

  • forget to register update plugin (49602c9)

Refactor

  • as cli-plugin-core package (f76ae4d)
  • extract brain command and common funcs as packages (901f5e3)
  • extract command config to package (9cdb906)
  • use async to init (0ff5fd7)

0.1.3 (2024-08-14)

Features

  • search scripts can be aborted by ctrl+C to avoid stuck (55548f5)

0.1.2 (2024-08-12)

0.1.1 (2024-08-11)

0.1.0 (2024-08-11)

⚠ BREAKING CHANGES

  • remove pwd for agentDirs and promptDirs

Bug Fixes

  • remove pwd for agentDirs and promptDirs (6b6e4df)

0.0.17 (2024-08-11)

0.0.16 (2024-08-11)

Bug Fixes

  • do not search current dir! (7a79464)

0.0.15 (2024-08-11)

Features

  • add --trace-warnings for develop (9ac0630)
  • add brain refresh command (88590c7)
  • add char type (9b6a4f8)
  • add new backup-chat option (97039c5)
  • add refresh models from huggingface directly (57bcdfc)
  • add test fixture command(draft) (adcc9c9)
  • add translator-simple example (860a65f)
  • brain: add verify quant callback (d1a9eeb)
  • refresh: add hubUrl, verifyQuant, brainDir options to refresh brain (85b0386)
  • show downloaded and filesize (9faa2dc)

Bug Fixes

Refactor

0.0.14 (2024-07-08)

Features

Bug Fixes

  • show error always after logUpdate.clear (26494c9)

0.0.13 (2024-06-21)

Bug Fixes

0.0.12 (2024-06-21)

Features

  • add a seperator "<---STREAMING END--->" when no consoleClear (bd8770c)
  • show brain file size (0f36ee8)

Bug Fixes

  • can not save history if abort on non-interactive mode (212ae5d)

Refactor

  • change default onlyFeatured to false (0a1d28e)
  • change noConsoleClear flag to consoleClear and default to true for interactive mode, false for non-interactive mode (5e1fc1a)

0.0.11 (2024-06-17)

Bug Fixes

  • should show load script error (a001453)

0.0.10 (2024-06-16)

Features

  • add examples dir into agentsDir (3093faa)

0.0.9 (2024-06-13)

Features

  • add http proxy supports (23c38f7)
  • pass data string as last user message in the script dynamically (ccaa0e1)

Bug Fixes

  • args data could accept string (d0d51f8)
  • can not save chat history for special id (e4df600)
  • do not use logUpdate if noConsoleClear (bb5c825)
  • no-chats should be use non-interactive mode (68d8fff)
  • run: should follow the option autoRunLLMIfPromptAvailable of script in interactive mode (7e67c39)

0.0.8 (2024-06-11)

Features

  • brainCommand: add refresh flag option (129dd3f)

0.0.7 (2024-06-10)

Bug Fixes

  • noConsoleClear can not work (b3d2323)

0.0.6 (2024-06-10)

Features

  • command: run add noConsoleClear flag option to debug (c92ebe4)

0.0.5 (2024-06-09)

0.0.4 (2024-06-09)

Features

  • expand env for path (5e269c2)
  • load-config: add expandPath func (39a50f4)

0.0.3 (2024-06-09)

0.0.2 (2024-06-09)

0.0.1 (2024-06-09)

Features

  • add $detectLang method to script (56fe813)
  • add abort (6880ac0)
  • add abstract ai-command (95f93a2)
  • add AIScriptEx to call external script in script (f4ea069)
  • add brain helper funcs (536e294)
  • add brain manager command (e8cbdab)
  • add command line prompt (123df12)
  • add config command (e91d4b2)
  • add current working dir to searchPaths if no specify searchPaths (a49b906)
  • add empty input to make assistant continue (c59037f)
  • add enableJsonFlag to abstract AICommand (17234bc)
  • add flags.banner to enable/disable banner (bb898d5)
  • add history option to run command (b7433b9)
  • add interfact and stream supports (d21b9ef)
  • add load-config helper functions (7fd31ff)
  • add load/save chat history (68dec24)
  • add logLevel aliases: loglevel, log-level (b097a4f)
  • add saveConfigFile func (f9f56ae)
  • add slash command support (2f2b928)
  • AICommand: add loadConfig method to AICommand (3c1ad5f)
  • can record the assistant message for abort controller (db94f61)
  • config: can get single config item value now (61d1024)
  • convert to argument data to json (c3a1883)
  • display stream content on non-interactive mode (7623503)
  • prompt: add tab support (4b8fac8)
  • read config from user-config file (cef8bdd)
  • showBanner: add extenal string to show (e6aaf41)
  • start newChats via defaults in non-interactive mode, set newChats to false will replace history.yaml file now (efabd11)
  • use color-json to output json (90976d9)
  • uText: using random font if no specify font (525db76)

Bug Fixes

  • add exclude fonts (16277ac)
  • can detect lang for 2 chars now (996308e)
  • can not get correct createdAt time as log file (e5ab2f7)
  • can not quit immediately (d5909a9)
  • do not check file exists in command here (e7ccee0)
  • do not exit directly when detect ctrl+c, just send SIGINT event (a272158)
  • do not output result if interactive (7f761d3)
  • do not save inputs history if no filename (5fd7ba1)
  • do not show bannar if output json (d6b3d12)
  • help: duplication banner (a5c047f)
  • hidden the test command (ee4dc59)
  • ignore AbortError (09a43a7)
  • multi duplications stream response for event duplication (41c639e)
  • output the local messages after initDone (74d1045)
  • raise error in interactive if output is forceJson (640081f)
  • run-script: can not call/exec external script (7a2643e)
  • should be quient if loglevel is silence (95d087d)
  • should use local zone as log time (e3aecc6)
  • show variable command expand depth level to 9 (5cac2b6)
  • stream output is duplication (84bfb56)
  • the ConfigFile etc move to ai-tool now (f7df29a)