Refactor
- update packages deps
Feature
- add react-redux-adapter module
- add workable saihubot-react demo project
Fix
- README adapters npm version icon
Refactor
- update packages deps
- [saihubot-react] upgrade to tailwind 2
Fix
- support open browser on Windows
Break Change
- Move i18n from
saihubot
core tosaihubot-cli-adapter
Enhancement
- [saihubot-cli-skill-qrcode] revert the color, and double the qrcode size
Refactor
- update deps
- move embed css to index.css
- (WIP)[saihubot-react] add default UI
Feature
- [saihubot] optional i18n support
- [saihubot-cli-adapter] add addonExec to run local command
- [saihubot-skill-search] search with google trends
Enhancement
- [saihubot-cli-adapter] change search link text color to cyan
- [saihubot-skill-search] separate search and dev search skills
Fix
- [saihubot-skill-search] fix saihubot-skill-dev-search availablity on package
Feature
- [saihu] add qrcode skill
- [saihubot-cli-skill-qrcode] add cli qrcode skill
Break Change
- [saihubot] expose
sendComponent
method from adapter - [saihubot-html-adapter][saihubot-cli-adapter] rename
unsafe_sendComponent
tosendComponent
- renname package
core
tosaihubot
Feature
- [saihubot-skill-serch] add Cheat.sh search
Enhancement
- [saihubot] build-in the adapter/addon/skill dependency check
Fix
- [saihubot-cli-adapter] fix the send/sendComponent
- [saihubot-html] fix web UI send button of mobile layout
- [saihubot-html-adapter] fix addonFetch in saihubot-html-addon-search
Break Change
- [saihubot] turn
welcomeMessage
to a text message - [saihubot-html-adapter] rename
unsafe_sendHTML
tounsafe_sendComponent
Feature
- More Polished Chat UI, credit https://tailwindcomponents.com/component/chat
- [saihubot] add
renderMessage, renderComponent, userAlias, botAlias
in config - [saihubot-html-adapter] support render user/# bot message with provided function (renderMessage, renderComponent)
- [saihubot-html-adapter] [saihubot-html-adapter] add QRCode skill saihubot-html-skill-qrcode.js
Refactor
- [saihubot] rename internal param
myAlias
touserAlias
. - [saihubot] decouple role and alias. Current support roles are 'bot' and 'user'
- [saihubot-html-adapter][saihubot-cli-adapter] refactor
send
andunsafe_sendComponent
with defaultRenderMessage and defaultRenderComponent - [saihu] update packages
Fix
- [saihubot-html-adapter] fix typo in addon-dialog
- [saihubot-html-adapter] show correct message element in addon-search
- [saihubot-html-adapter] fix addon-card element make history position incorrect
Feature
- [saihubot-html-addons-search] wrap window.fetch as addons.fetch API
- [saihubot-cli-addons-search] wrap node_fetch as addons.fetch API
- Instead of import specific addon or skill, can do
import {addons, skills} from 'saihubot-cli-adapter'
.
Fix
- [cli-adapter] fix packages dependencies
- [cli-adapter] render last pushed element instead of the first pushed element
- [saihu] fix today skill in loop
Break Change
- remove deprecated
sendHTML
method from saihubot core - rename
htmlAdapter.sendHTML
tohtmlAdapter.unsafe_sendHTML
Feature
- add
cliAdapter.unsafe_sendComponent
method to render react component as the message - add
saihubot-cli-addon-skill-help
to saihubot-cli-adapter cli
package can work alone out of lerna (copy thecli
and it will work independently)
Enhancement
- update readme
- add npm keywords for saihu cli
- update sahu cli bin configuration
Fix
- [cli-adapter] support excape via
Q
orESC
key in addons.confirm (saihubot-cli-addon-dialog) - [saihubot] fix wildcard check in cli
Break Change
- rename modules as
saihubot-[adapter]-[addon|skill]-[name]
proposed in #31, and re-organize related projects as a monorepo - define requirements with syntax proposed in #17
- remove
addonsFile
,skillsFile
prop from Saihubot core
Feature
- besides current release modules
saihu
(command line sample),saihubot
(core), new modulessaihubot-html-adapter
,saihubot-cli-adapter
,saihubot-skill-search
,saihubot-skill-diagnostics
join the family to make construct your saihubot easier.
Enhancement
- list modules table
- show related package repo in npm instead of the main project
Break Change
- turn to es6 module based
- move localforageBrain from addons/ to adapters/
- name skills and addons with camelCase
- add
addons
prop in constructor to import addons dynamically - add
addonsFile
prop in constructor to import addons dynamically through js module.
Feature
- add cli adapter based on React Ink https://github.com/gasolin/saihubot-cli
- ship with commonjs module (can import from
saihubot/dist
) - add build and prepublish script
Enhancements
- add
debug
option in saihubot constructor - update README and docs
- can trigger test site via
npm start
command
Break Change
- add
skills
prop in constructor to import skills dynamically - add
skillsFile
prop in constructor to import skills dynamically through js module.
Feature
- distill addon-search to easier create a search type skill.
Enhancements
- add jsDoc
- Click the search link will open in the new browser tab.
Break Change
- rename
addon/saihubot-dialog
toaddon/saihubot-addon-dialog
- change confirm dialog addon syntax
Feature
- auto lint check via github actions
- new addon
addon/saihubot-addon-card
to show an widget area that able to control with id.
Enhancements
- able to parse inputs in confirm dialog
- able to parse dialog specific strings in pseudo session
- use es6 syntax and clean up saihubot.js
- deprecated
sendHTML
, prefer call fromadapter.sendHTML
- now call
plugins
asskills
- add readme to explain the
skills
andaddons
- make index.html as a full feature showcase
- dialog with button selection
- help plugin with description
- add swappable brain
- provide
saihubot-brain-localforage
plugin with sample
- add reference chat UI style
- make sure the last message always scroll into view
- provide run, close, send, render function by swappable adapter
- structured plugins and demo pages
- support config
- changed catchAll API
- support multiple
no command found
responses
- return matched result for message instead of the origin string
- add google analytics
- add search plugin
- rename from HuohuBot to Saihubot
- turn Saihubot to constructor
- separate saihubot-dialog.js from addon
- change to robot.send method in plugin
- add plugin and addon examples
- init version
Milestones are named after species in Taiwan https://zh.wikipedia.org/wiki/%E8%87%BA%E7%81%A3%E5%8E%9F%E4%BD%8F%E6%B0%91%E6%97%8F