├── .env.example ├── .eslintignore ├── .eslintrc.cjs ├── .github └── FUNDING.yml ├── .gitignore ├── .vscode └── launch.json ├── LICENSE ├── README.md ├── chat_logs └── .gitignore ├── docs └── example.md ├── package.json ├── prettier.config.cjs ├── src ├── chatLogger.ts ├── commands.ts ├── commands │ ├── addDocumentCommand.ts │ ├── addURLCommand.ts │ ├── addYouTubeCommand.ts │ ├── command.ts │ ├── helpCommand.ts │ ├── listContextStoresCommand.ts │ ├── quitCommand.ts │ ├── resetChatCommand.ts │ ├── setContextConfigCommand.ts │ ├── setMemoryConfigCommand.ts │ ├── switchContextStoreCommand.ts │ └── toggleWindowBufferMemoryCommand.ts ├── config │ └── index.ts ├── global.d.ts ├── index.ts ├── lib │ ├── contextManager.ts │ ├── crawler.ts │ ├── memoryManager.ts │ └── vectorStoreUtils.ts ├── prompt.txt ├── updateReadme.ts └── utils │ ├── createDirectory.ts │ ├── getDirectoryFiles.ts │ ├── getDirectoryListWithDetails.ts │ ├── resolveURL.ts │ └── sanitizeInput.ts └── tsconfig.json /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | .eslintrc.cjs 2 | src/agentTest.ts 3 | -------------------------------------------------------------------------------- /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/README.md -------------------------------------------------------------------------------- /chat_logs/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/chat_logs/.gitignore -------------------------------------------------------------------------------- /docs/example.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/docs/example.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/package.json -------------------------------------------------------------------------------- /prettier.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/prettier.config.cjs -------------------------------------------------------------------------------- /src/chatLogger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/chatLogger.ts -------------------------------------------------------------------------------- /src/commands.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/commands.ts -------------------------------------------------------------------------------- /src/commands/addDocumentCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/commands/addDocumentCommand.ts -------------------------------------------------------------------------------- /src/commands/addURLCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/commands/addURLCommand.ts -------------------------------------------------------------------------------- /src/commands/addYouTubeCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/commands/addYouTubeCommand.ts -------------------------------------------------------------------------------- /src/commands/command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/commands/command.ts -------------------------------------------------------------------------------- /src/commands/helpCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/commands/helpCommand.ts -------------------------------------------------------------------------------- /src/commands/listContextStoresCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/commands/listContextStoresCommand.ts -------------------------------------------------------------------------------- /src/commands/quitCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/commands/quitCommand.ts -------------------------------------------------------------------------------- /src/commands/resetChatCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/commands/resetChatCommand.ts -------------------------------------------------------------------------------- /src/commands/setContextConfigCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/commands/setContextConfigCommand.ts -------------------------------------------------------------------------------- /src/commands/setMemoryConfigCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/commands/setMemoryConfigCommand.ts -------------------------------------------------------------------------------- /src/commands/switchContextStoreCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/commands/switchContextStoreCommand.ts -------------------------------------------------------------------------------- /src/commands/toggleWindowBufferMemoryCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/commands/toggleWindowBufferMemoryCommand.ts -------------------------------------------------------------------------------- /src/config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/config/index.ts -------------------------------------------------------------------------------- /src/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/global.d.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/lib/contextManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/lib/contextManager.ts -------------------------------------------------------------------------------- /src/lib/crawler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/lib/crawler.ts -------------------------------------------------------------------------------- /src/lib/memoryManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/lib/memoryManager.ts -------------------------------------------------------------------------------- /src/lib/vectorStoreUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/lib/vectorStoreUtils.ts -------------------------------------------------------------------------------- /src/prompt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/prompt.txt -------------------------------------------------------------------------------- /src/updateReadme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/updateReadme.ts -------------------------------------------------------------------------------- /src/utils/createDirectory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/utils/createDirectory.ts -------------------------------------------------------------------------------- /src/utils/getDirectoryFiles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/utils/getDirectoryFiles.ts -------------------------------------------------------------------------------- /src/utils/getDirectoryListWithDetails.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/utils/getDirectoryListWithDetails.ts -------------------------------------------------------------------------------- /src/utils/resolveURL.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/utils/resolveURL.ts -------------------------------------------------------------------------------- /src/utils/sanitizeInput.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/src/utils/sanitizeInput.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gmickel/memorybot/HEAD/tsconfig.json --------------------------------------------------------------------------------