Commit Graph

23 Commits

Author SHA1 Message Date
melod1n 35354a86de refactor: centralize runtime config loading
- Move .env parsing and runtime config reload logic into Environment
- Reload runtime config and system prompt when source files change
- Gate unsafe eval and file tools behind explicit environment flags
- Rename datetime tool to get_datetime and improve tool prompts
- Return structured weather tool responses
- Preserve assistant thinking and aggregate tool calls across stream chunks
2026-05-03 19:45:18 +03:00
melod1n 13b41c3026 bump libs
migrate to typescript 6
remove ytdl feature
2026-05-01 07:05:17 +03:00
melod1n ac51702f00 update @mistralai lib 2026-05-01 05:35:37 +03:00
melod1n 382e00ce31 bump libs 2026-05-01 04:54:11 +03:00
melod1n 8a3c6d40a9 bump libs 2026-04-29 06:44:44 +03:00
melod1n d77b33514c bump libs 2026-03-18 13:43:35 +03:00
melod1n 3f34a48d41 bump libs 2026-03-02 23:58:57 +03:00
melod1n 8bbf97e4c0 bump libs
rewrite ytdl command - now streaming both audio and video, separated, then merging using ffmpeg
2026-02-25 16:22:01 +03:00
melod1n 8dbd9a456a (chore): add zod and bump deps 2026-02-12 14:56:58 +03:00
dependabot[bot] 285067e640 Bump drizzle-kit from 1.0.0-beta.9-e89174b to 1.0.0-beta.13-5204f18 (#20)
Bumps [drizzle-kit](https://github.com/drizzle-team/drizzle-orm) from 1.0.0-beta.9-e89174b to 1.0.0-beta.13-5204f18.
- [Release notes](https://github.com/drizzle-team/drizzle-orm/releases)
- [Commits](https://github.com/drizzle-team/drizzle-orm/commits)

---
updated-dependencies:
- dependency-name: drizzle-kit
  dependency-version: 1.0.0-beta.13-5204f18
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-04 11:26:23 +03:00
dependabot[bot] f15e189019 Bump drizzle-orm from 1.0.0-beta.9-e89174b to 1.0.0-beta.13-5204f18 (#21)
Bumps [drizzle-orm](https://github.com/drizzle-team/drizzle-orm) from 1.0.0-beta.9-e89174b to 1.0.0-beta.13-5204f18.
- [Release notes](https://github.com/drizzle-team/drizzle-orm/releases)
- [Commits](https://github.com/drizzle-team/drizzle-orm/commits)

---
updated-dependencies:
- dependency-name: drizzle-orm
  dependency-version: 1.0.0-beta.13-5204f18
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-04 11:24:54 +03:00
melod1n a736f786c2 feat(openai): add chat streaming and model commands
- add /openai (/chatgpt) chat command using OpenAI Responses API (streaming + incremental edits)
- add /openAIListModels, /openAIGetModel, /openAISetModel
- introduce base Command class and migrate non-chat commands to it
- wire OpenAI client + env vars (OPENAI_API_KEY, OPENAI_MODEL)
- bump deps (@google/genai, systeminformation, @types/node) and add openai
2026-02-03 13:39:01 +03:00
melod1n 810151263d feat: separate Ollama text/image/think models + add YouTube downloader
Support OLLAMA_IMAGE_MODEL and new OLLAMA_THINK_MODEL (both default to OLLAMA_MODEL)

Add /ollamathink command; validate thinking capability; disable image-analysis flow in think mode

Make /ollama-get-model show Text/Image/Think blocks only when models differ

Add /ytdl (/youtube) command + auto-detect YouTube URLs in messages

Cache downloaded videos to data/video and schedule daily cleanup

Move photo storage from data/temp to data/photo; improve env boolean parsing via ifTrue

Update deps (youtubei.js, puppeteer*) and TS config (allowJs, allowSyntheticDefaultImports)
2026-01-31 19:37:25 +03:00
melod1n 4945db86c0 bump dependencies 2026-01-29 20:05:46 +03:00
melod1n cbb1fc3d63 bump libs and update Dockerfile 2026-01-28 17:04:46 +03:00
melod1n 5c7bf8cdaa test ollama options 2026-01-16 21:34:42 +03:00
melod1n 326cfcafc8 /mistral command for chat with Mistral AI 2026-01-16 15:40:15 +03:00
melod1n abccbf3ebf updates for bun and docker
update libs
2026-01-12 16:09:22 +03:00
melod1n 9d9f930ff7 update dependencies 2026-01-12 15:59:55 +03:00
melod1n d52fbbd090 update libs 2026-01-12 15:43:37 +03:00
melod1n df9471a7e4 refactor!: rewrite bot core; add AI (Ollama, Gemini), DB, new commands 2026-01-12 15:32:50 +03:00
melod1n 5ac17d713f update 2021-03-04 03:33:54 +03:00
melod1n 368382f63c Initial commit 2021-02-27 15:26:09 +03:00