All notable changes to this project will be documented in this file.
- security update: https://github.com/solyarisoftware/naifjs/security/dependabot/package-lock.json/lodash/open
- documentation update
- log.js udpated and renamed logdialog.js
- naif init updated: basic generic main template improved
- added documentation doc/index.md
- moved request logic from lib/engine.js to lib/request.js
- added
naif init
- doc rework: concepts are moved from README.md to doc/consepts.md
- code rework: varaibles functions moved from lib/engine.js to lib/variables.js
- code rework: response functions moved from lib/engine.js to lib/response.js
- examples bash scripts renamed from
test
toshell
- documenattion: doc/sessions.md better explanation of session thread
- command line tools help improved
- documentation: READMe.md revisited
- session data format is changed
- time is now in msecs
- variables in "variables" object
- request data added
- response data added
- validateRequest add time attribute
- validateResponse add time attribute
- story_it / story_en updated to show how to get variable from another dialog unit.
- Documentation updated (examples, variables, etc.)
- log.js file reviewed.
- color.js created
- devlog.js created, to manage developers error (stderr)
naif shell
now show stated whenENTER
is pressednaif shell
now has -s / --silent flag- Log are removed from the engine;
naif.up
no more take log file as argument - ResponseDataObject now has the attribute stateid
naif test
andnaif telegram
implement logs dialogs using lib/log.js- /home/giorgio/naifjs/bin/lib/getArgs.js bug fixed
- Documentation updated
- Documentation updated
request
logic improved. Now each input state receive the RequestDataObject- Added API
toText(RequestDataObject)
- Added the example application
textOrSpeech
to show how to use RequestDataObject
- Documentation updated
naif
now has a better cli, using subcommands
- response now has two function decorators:
say
for response not requiring user turnask
API to manage questions with timeout.
- Documentation updated
- timeout default enabled
- fixed bug in postinstall.
- timeout logic has been moved from lib/engine.js to lib/timeouts.js.
- id moved in lib/sessionid.js.
- userid renamed in lib/sessions.js, lib/engine.js.
- Documentation updated.
- timeout logic revisited: now user can configure timeout msecs with freedom
bin
directory now contains just binaries. Allnaif
subcommands are moved to thebin/lib
subdirectory.- figure 1 image updated.
- Documentation updated.
tag
function has been renamedstateid
- Documentation updated.
Request
andResponse
now take a validated data object- Documentation updated.
- Documentation updated.
- Added screenshots in cli doc.
- Documentation updated. Added introduction and figure 1.
- sessions storage revised: now the session file id created by defualt in the application directory.
naif telegram
updated with chatids management: the telegram bot run a dialog and optionally activate the dialog (push mode) prompting specified chat ids.
- Added a command line entry point:
naif telegram
. run
statement now renamendrequest
.say
statement now renamendresponse
.- Documentation updated.
- Documentation updated.
- lib/unitsLoader.js renamed and reviewed.
- lib/patternsMatchRegexp.js updated with some tests.
- lib/buildTags.js splitted out from lib/engine.js.
- Examples directory fully updated.
- Added a command line entry point:
naif show
. - command line entry point:
naif cli
has been renamednaif test
.
- Added a single command line entry point:
naif
.
added script directory, containing scripts to run examples.
- temporary public initial commit.