v1.4.0 — Full SDK Coverage, Ollama Support, Entity Scoping
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 controlupdateTags()— Update tags on an existing memorylistEntities()— List all known entity IDsgetGlobalStats()— 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 watcherwatcherUnwatch()— 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 historykeyoku heartbeat check/keyoku heartbeat contextkeyoku schedule list/keyoku schedule create/keyoku schedule cancelkeyoku 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