Skip to content

Releases: gorecodes/oxide

v0.1.1

12 Mar 18:08

Choose a tag to compare

Full Changelog: v0.1.0...v0.1.1

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this file currently reflects local working-tree changes not yet committed.

[Unreleased] - 2026-03-12

Added

  • Added Discord support with a new adapter implementation in src/adapters/discord.rs.
  • Added Discord adapter module export in src/adapters/mod.rs.
  • Added serenity dependency in Cargo.toml for Discord gateway and messaging integration.
  • Added DisabledLlmAdapter in src/adapters/llm.rs to provide a safe AI-disabled runtime path.
  • Added channel multi-select onboarding flow (Telegram + Discord) in src/utility/onboarding.rs.
  • Added support for Discord channel config (DiscordConfig) and richer settings defaults (ai_enabled, similarity_threshold, static_fallback_msg) in src/utility/config_loader.rs.
  • Added environment variable loading for Discord and expanded Telegram env handling in src/main.rs.
  • Added a new skill file: skills/rss_watcher.lua.

Changed

  • Expanded runtime startup in src/main.rs to run multiple configured adapters concurrently and register them dynamically.
  • Updated Telegram adapter in src/adapters/telegram.rs:
    • Switched from single admin_user_id to admin_user_ids.
    • Added unauthorized-user notice behavior.
  • Updated Lua runtime hardening in src/core/lua_runtime.rs:
    • Uses hardened HTTP client config (redirect policy + timeout).
    • Enforces jit.off() when available before script execution.
    • Applies coroutine-level hook guard by explicitly creating a thread and setting hook on it during async execution.
    • Introduces guardrail limits for outbound chat messages and DB key/value sizes.
  • Updated worker scheduling flow in src/core/worker_pool.rs to improve scheduled answer forwarding and readability.
  • Updated orchestrator and persistence integrations (src/core/orchestrator.rs, src/core/persistence/mod.rs) to align with dynamic adapter routing and queue/runtime changes.
  • Updated Lua skill API usage across test and sample skills from legacy pico.* calls to oxide.* calls.

Fixed

  • Fixed async Lua infinite-loop timeout behavior by ensuring the instruction hook is bound to the executing coroutine context in src/core/lua_runtime.rs.
  • Fixed timeout cancellation propagation for Lua execution by sharing and checking hook cancellation flags during execution.
  • Fixed clippy-reported nested conditional style issue in src/core/worker_pool.rs.

Documentation

  • Updated README.md to document:
    • Discord as a supported adapter.
    • Multi-channel configuration examples.
    • Onboarding behavior changes.
    • Environment variable overrides for Telegram and Discord.
    • Updated architecture and run-mode descriptions.

Skills

  • Updated skills to use current bridge API namespace and functions:
    • skills/agent_full_test.lua
    • skills/test_ai_schedule.lua
    • skills/test_bridge.lua
    • skills/weather.lua

Dependencies

  • Updated lockfile (Cargo.lock) to include new dependency resolution from local dependency changes.

v0.1.0

12 Mar 13:42

Choose a tag to compare