ChangelogWhat's new
Release history for Keyoku, Keyoku Engine, the TypeScript SDK, and Keyoku Bot.
- FixedDurable install — keyoku init no longer writes config from the throwaway npx cache (npm can evict it, silently breaking the hooks) and stops trusting npx's ephemeral PATH; hooks now wire to an absolute, upgrade-stable path. Install globally first: npm install -g keyoku
- AddedPublished to npm — install with npm install -g keyoku, then keyoku init
- AddedCodex out of the box — init wires the MCP server into ~/.codex/config.toml, import reads ~/.codex/sessions rollouts, and keyoku export --agents-md bakes workflows into an AGENTS.md managed block
- AddedProactive intelligence — background pattern ripeness in the server; PostToolUse nudges, SessionStart briefs, and prompt-time practice injection. The agent offers workflows; nobody has to ask
- AddedEngine integration v1 — knowledge mirrors into keyoku-engine via KEYOKU_ENGINE_URL and knowledge_query upgrades to semantic search, with silent local fallback
- AddedContext layer — knowledge_submit / knowledge_query, connector tool descriptions captured at registration, CLAUDE.md conventions ingested on import, knowledge grounds SLM refinement
- AddedCapture & lifecycle — workflow_capture ("save what I just did"), workflow_update, execution_cancel, run-milestone bake hints, keyoku pause/resume, keyoku doctor
- ChangedAccuracy — session-partitioned mining, automation-vs-practice routing, secret redaction at record time, real {{placeholder}} params on execute, native SLM via any OpenAI-compatible endpoint (Ollama, LiteLLM, Groq, …)
- AddedRelaunch — Keyoku is now an activity-tracing, workflow-automation layer for Claude Code, Cursor, and Codex
- AddedAutomatic activity tracing via PostToolUse hook — every command, edit, and tool call recorded locally
- AddedPattern detection: non-overlapping sequence mining with optional small-model refinement
- AddedWorkflow execution over MCP — bash steps run directly, judgment steps hand off to your coding agent, review steps wait for sign-off
- AddedOne-command setup: keyoku init wires the hook and MCP server into Claude Code
- ChangedThe memory engine continues as keyoku-engine — the backend powering team sync and the context graph
- AddedLocal Ollama embedding provider support with configurable dimensions
- AddedComplete SDK coverage for all engine API endpoints (watcher, heartbeat, schedules, health)
- AddedCLI commands — watcher status/history, heartbeat check/context, schedule CRUD, health
- AddedOllama provider support for embedding and extraction (no API key required)
- AddedDynamic entity scoping strategies (per-user, per-channel, per-session)
- FixedWorkspace dependency version sync for CI builds
- AddedWatcher tick history API — GET /api/v1/watcher/history with last 100 tick decisions
- Added35+ new tests across heartbeat storage, nudge protocol, HTTP handlers, and tick history
- AddedCommandRunner interface for testable CLI delivery
- AddedInitial release — AI bot with persistent memory for Telegram and Discord
- AddedIDENTITY.md and SOUL.md customization
- AddedInteractive setup wizard with 9-step configuration
- AddedAutonomous heartbeat delivery via configurable CLI command (e.g., openclaw agent --deliver)
- AddedAdaptive tick intervals — time-of-day multipliers, signal velocity scaling, cooldown after action
- AddedQuiet hours — timezone-aware suppression of non-urgent heartbeats
- AddedWatcher auto-start via environment variables
- ChangedCode quality refactor — split oversized files (sqlite.go → 12 files, heartbeat.go → 5 files, handlers.go → 6 files), ~800 LOC deduplication
- ChangedHeartbeat logic moved from OpenClaw plugin to keyoku-engine watcher — plugin now uses before_prompt_build hook for lightweight context injection
- AddedNatural language format for heartbeat context injection
- AddedHeartbeat setup, migration, and service unit tests
- FixedAuto-capture pipeline, entity ID resolution, and client timeout handling
- AddedInitial release — Go binary with SQLite storage and HNSW vector search
- AddedFull REST API for memory, heartbeat, schedules, teams, and watcher
- AddedThree-tier deduplication (exact, semantic, near-duplicate)
- AddedEbbinghaus-inspired memory decay with 8 memory types
- AddedKnowledge graph with 40+ relationship types and bidirectional inference
- AddedLLM-powered extraction via OpenAI, Gemini, or Ollama providers
- AddedInitial release — @keyoku/types, @keyoku/memory, and @keyoku/openclaw
- AddedFull heartbeat system with extended signals (sentiment, relationships, knowledge gaps, patterns)
- AddedIncremental capture mode (per-message memory extraction)
- AddedSelf-contained OpenClaw plugin with auto-recall, auto-capture, and heartbeat