Skip to content

v1.4.0 — Full SDK Coverage, Ollama Support, Entity Scoping

Choose a tag to compare

@tyejcoleman tyejcoleman released this 15 Mar 02:57
· 110 commits to main since this release

What's New

Complete SDK Coverage (@keyoku/memory)

The TypeScript SDK now covers every endpoint in the Keyoku engine API. 16 new methods added:

Memory Management

  • seed() — Bulk-import memories with full metadata control
  • updateTags() — Update tags on an existing memory
  • listEntities() — List all known entity IDs
  • getGlobalStats() — Engine-wide statistics (totals, by-type, by-state)
  • sampleMemories() — Random sample of memories (useful for debugging)
  • consolidate() — Trigger memory consolidation

Teams

  • createTeam() / getTeam() / deleteTeam()
  • addTeamMember() / listTeamMembers() / removeTeamMember()

Watcher

  • watcherWatch() — Add entity to watcher
  • watcherUnwatch() — Remove entity from watcher

Events

  • subscribeEvents() — SSE streaming client with abort support

Schedules

  • updateSchedule() — Modify cron tag and content of existing schedules

CLI Commands (@keyoku/openclaw)

New CLI commands for managing your bot from the terminal:

  • keyoku watcher status / keyoku watcher history
  • keyoku heartbeat check / keyoku heartbeat context
  • keyoku schedule list / keyoku schedule create / keyoku schedule cancel
  • keyoku health

Ollama Provider Support

keyoku-init now supports Ollama for both embedding and extraction:

  • Ollama as an embedding provider with configurable models (nomic-embed-text, bge-large, etc.) and dimensions (768, 1024, 1536)
  • Ollama as an extraction provider for local inference with no API key required
  • Session token support added to plugin config schema

Thanks @dan-and!

Dynamic Entity Scoping

Per-channel entity resolution strategies for multi-tenant bots:

  • Strategies: channel, user, agent, custom
  • Scoped entity resolver with fallback warnings when falling back to base entity
  • Full test coverage for resolver and tool integration

Thanks @moltar-bot and @kalinon!

Bug Fixes

  • Fixed workspace dependency version sync that caused CI build failures
  • Capitalized "Keyoku" in CLI banner

Test Coverage

152 tests across 9 test files — all passing. The SDK client alone has 39 tests covering every method.

Packages

Package Version
@keyoku/types 1.4.0
@keyoku/memory 1.4.0
@keyoku/openclaw 1.4.0

Contributors

  • @dan-and — Ollama provider support (embedding + extraction)
  • @moltar-bot — Dynamic entity scoping strategies + fallback warnings
  • @kalinon — Dynamic entity scoping (co-author)

Full Changelog: v1.3.4...v1.4.0