├── .gitignore ├── .prettierrc.js ├── LICENSE ├── README.md ├── context └── example.txt ├── credentials.txt.example ├── index.js ├── package.json ├── prompts ├── base-instructions.md └── style.md ├── src ├── compress.js ├── llm │ ├── claude.js │ ├── gemini.js │ ├── index.js │ ├── ollama.js │ └── openai.js ├── tokenCounter.js └── web │ ├── public │ ├── app.js │ ├── index.html │ └── styles.css │ └── server.js └── test └── cleanupContext.test.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theletterf/aikidocs/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theletterf/aikidocs/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theletterf/aikidocs/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theletterf/aikidocs/HEAD/README.md -------------------------------------------------------------------------------- /context/example.txt: -------------------------------------------------------------------------------- 1 | This is sample context for the LLM. -------------------------------------------------------------------------------- /credentials.txt.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theletterf/aikidocs/HEAD/credentials.txt.example -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theletterf/aikidocs/HEAD/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theletterf/aikidocs/HEAD/package.json -------------------------------------------------------------------------------- /prompts/base-instructions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theletterf/aikidocs/HEAD/prompts/base-instructions.md -------------------------------------------------------------------------------- /prompts/style.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/compress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theletterf/aikidocs/HEAD/src/compress.js -------------------------------------------------------------------------------- /src/llm/claude.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theletterf/aikidocs/HEAD/src/llm/claude.js -------------------------------------------------------------------------------- /src/llm/gemini.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theletterf/aikidocs/HEAD/src/llm/gemini.js -------------------------------------------------------------------------------- /src/llm/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theletterf/aikidocs/HEAD/src/llm/index.js -------------------------------------------------------------------------------- /src/llm/ollama.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theletterf/aikidocs/HEAD/src/llm/ollama.js -------------------------------------------------------------------------------- /src/llm/openai.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theletterf/aikidocs/HEAD/src/llm/openai.js -------------------------------------------------------------------------------- /src/tokenCounter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theletterf/aikidocs/HEAD/src/tokenCounter.js -------------------------------------------------------------------------------- /src/web/public/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theletterf/aikidocs/HEAD/src/web/public/app.js -------------------------------------------------------------------------------- /src/web/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theletterf/aikidocs/HEAD/src/web/public/index.html -------------------------------------------------------------------------------- /src/web/public/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theletterf/aikidocs/HEAD/src/web/public/styles.css -------------------------------------------------------------------------------- /src/web/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theletterf/aikidocs/HEAD/src/web/server.js -------------------------------------------------------------------------------- /test/cleanupContext.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theletterf/aikidocs/HEAD/test/cleanupContext.test.js --------------------------------------------------------------------------------