├── .eslintignore ├── .eslintrc ├── .github └── workflows │ └── publish-release.yml ├── .gitignore ├── LICENSE ├── README.md ├── TODO ├── jest.config.js ├── main.ts ├── outdated ├── README.md ├── docs │ ├── creating-faq-chatbot.md │ └── images │ │ └── faq-chatbot-flow.png └── examples │ ├── dice-roller-chatbot │ ├── flow │ │ ├── dialogs │ │ │ ├── bye-trailing.js │ │ │ ├── commands-incoming.js │ │ │ ├── roll-dice-trailing.js │ │ │ ├── root-trailing.js │ │ │ └── save-data-outgoing.js │ │ └── flow.js │ ├── gateway │ │ └── gateway.js │ ├── main.js │ ├── package-lock.json │ └── package.json │ ├── faq-chatbot │ ├── dialogs │ │ ├── bye-trailing.js │ │ ├── faq-trailing.js │ │ ├── intent-incoming.js │ │ └── root-trailing.js │ ├── flow.js │ ├── gateway.js │ ├── main.js │ ├── package-lock.json │ └── package.json │ ├── simple-root │ └── simple-root.ts │ └── testing │ └── flow-test.ts ├── package.json ├── src ├── builder │ ├── builder.ts │ ├── definition.ts │ ├── emitter.ts │ ├── session-manager.ts │ ├── session.ts │ └── worker.ts ├── flow │ ├── course.ts │ ├── definition.ts │ ├── flow.ts │ └── node.ts ├── gateway │ ├── gateway.ts │ └── message.ts └── utils │ ├── hasher.ts │ ├── logger.ts │ ├── proxy.ts │ ├── queue.ts │ └── vow.ts ├── tests └── flow.test.ts ├── tsconfig.json └── types ├── global.d.ts └── json.d.ts /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | docs 4 | examples -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/workflows/publish-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/.github/workflows/publish-release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/README.md -------------------------------------------------------------------------------- /TODO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/TODO -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/jest.config.js -------------------------------------------------------------------------------- /main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/main.ts -------------------------------------------------------------------------------- /outdated/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/outdated/README.md -------------------------------------------------------------------------------- /outdated/docs/creating-faq-chatbot.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/outdated/docs/creating-faq-chatbot.md -------------------------------------------------------------------------------- /outdated/docs/images/faq-chatbot-flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/outdated/docs/images/faq-chatbot-flow.png -------------------------------------------------------------------------------- /outdated/examples/dice-roller-chatbot/flow/dialogs/bye-trailing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/outdated/examples/dice-roller-chatbot/flow/dialogs/bye-trailing.js -------------------------------------------------------------------------------- /outdated/examples/dice-roller-chatbot/flow/dialogs/commands-incoming.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/outdated/examples/dice-roller-chatbot/flow/dialogs/commands-incoming.js -------------------------------------------------------------------------------- /outdated/examples/dice-roller-chatbot/flow/dialogs/roll-dice-trailing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/outdated/examples/dice-roller-chatbot/flow/dialogs/roll-dice-trailing.js -------------------------------------------------------------------------------- /outdated/examples/dice-roller-chatbot/flow/dialogs/root-trailing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/outdated/examples/dice-roller-chatbot/flow/dialogs/root-trailing.js -------------------------------------------------------------------------------- /outdated/examples/dice-roller-chatbot/flow/dialogs/save-data-outgoing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/outdated/examples/dice-roller-chatbot/flow/dialogs/save-data-outgoing.js -------------------------------------------------------------------------------- /outdated/examples/dice-roller-chatbot/flow/flow.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/outdated/examples/dice-roller-chatbot/flow/flow.js -------------------------------------------------------------------------------- /outdated/examples/dice-roller-chatbot/gateway/gateway.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/outdated/examples/dice-roller-chatbot/gateway/gateway.js -------------------------------------------------------------------------------- /outdated/examples/dice-roller-chatbot/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/outdated/examples/dice-roller-chatbot/main.js -------------------------------------------------------------------------------- /outdated/examples/dice-roller-chatbot/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/outdated/examples/dice-roller-chatbot/package-lock.json -------------------------------------------------------------------------------- /outdated/examples/dice-roller-chatbot/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/outdated/examples/dice-roller-chatbot/package.json -------------------------------------------------------------------------------- /outdated/examples/faq-chatbot/dialogs/bye-trailing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/outdated/examples/faq-chatbot/dialogs/bye-trailing.js -------------------------------------------------------------------------------- /outdated/examples/faq-chatbot/dialogs/faq-trailing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/outdated/examples/faq-chatbot/dialogs/faq-trailing.js -------------------------------------------------------------------------------- /outdated/examples/faq-chatbot/dialogs/intent-incoming.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/outdated/examples/faq-chatbot/dialogs/intent-incoming.js -------------------------------------------------------------------------------- /outdated/examples/faq-chatbot/dialogs/root-trailing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/outdated/examples/faq-chatbot/dialogs/root-trailing.js -------------------------------------------------------------------------------- /outdated/examples/faq-chatbot/flow.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/outdated/examples/faq-chatbot/flow.js -------------------------------------------------------------------------------- /outdated/examples/faq-chatbot/gateway.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/outdated/examples/faq-chatbot/gateway.js -------------------------------------------------------------------------------- /outdated/examples/faq-chatbot/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/outdated/examples/faq-chatbot/main.js -------------------------------------------------------------------------------- /outdated/examples/faq-chatbot/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/outdated/examples/faq-chatbot/package-lock.json -------------------------------------------------------------------------------- /outdated/examples/faq-chatbot/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/outdated/examples/faq-chatbot/package.json -------------------------------------------------------------------------------- /outdated/examples/simple-root/simple-root.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/outdated/examples/simple-root/simple-root.ts -------------------------------------------------------------------------------- /outdated/examples/testing/flow-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/outdated/examples/testing/flow-test.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/package.json -------------------------------------------------------------------------------- /src/builder/builder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/src/builder/builder.ts -------------------------------------------------------------------------------- /src/builder/definition.ts: -------------------------------------------------------------------------------- 1 | export type ObjectLiteral = Record; -------------------------------------------------------------------------------- /src/builder/emitter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/src/builder/emitter.ts -------------------------------------------------------------------------------- /src/builder/session-manager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/src/builder/session-manager.ts -------------------------------------------------------------------------------- /src/builder/session.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/src/builder/session.ts -------------------------------------------------------------------------------- /src/builder/worker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/src/builder/worker.ts -------------------------------------------------------------------------------- /src/flow/course.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/src/flow/course.ts -------------------------------------------------------------------------------- /src/flow/definition.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/src/flow/definition.ts -------------------------------------------------------------------------------- /src/flow/flow.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/src/flow/flow.ts -------------------------------------------------------------------------------- /src/flow/node.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/src/flow/node.ts -------------------------------------------------------------------------------- /src/gateway/gateway.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/src/gateway/gateway.ts -------------------------------------------------------------------------------- /src/gateway/message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/src/gateway/message.ts -------------------------------------------------------------------------------- /src/utils/hasher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/src/utils/hasher.ts -------------------------------------------------------------------------------- /src/utils/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/src/utils/logger.ts -------------------------------------------------------------------------------- /src/utils/proxy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/src/utils/proxy.ts -------------------------------------------------------------------------------- /src/utils/queue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/src/utils/queue.ts -------------------------------------------------------------------------------- /src/utils/vow.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/src/utils/vow.ts -------------------------------------------------------------------------------- /tests/flow.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/tests/flow.test.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/types/global.d.ts -------------------------------------------------------------------------------- /types/json.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bardonolado/convoflow/HEAD/types/json.d.ts --------------------------------------------------------------------------------