Repository navigation
Releases
0.8.2 - 2026-10-22
Release Notes
Support for Dakera server v0.12.3. Follows the engine's recall API correctness and security
hardening work (Dakera-AI/dakera#917, #920, engine PR #922; merge this after it, as its merge tags
v0.12.3). Compatible with v0.11.108 and v0.12.0 – v0.12.2 servers as before; --neighborhood,
--include-summaries, the Context section's context_of, the unknown-field hint and dk document need v0.12.3.
Breaking
dk --format json|compact memory recallprints one object,
{"memories": [...], "context_memories": [...]}, instead of an array of result rows (approved
by the owner). Read the ranked results from.memories(for example
dk -f json memory recall a q | jq '.memories[].id'); the neighbourhood context is in
.context_memories. The old output could not be parsed as it was anyway: anℹ Found N memories
line came before the JSON on stdout.
Fixed
dk memory recallshows at most--top-kranked results. The server appended
session-neighbourhood context after the ranked results, so--top-k 5could print 7 rows. The
command now asks forneighborhood_mode: "separate"and prints the context in its own
Context section after the ranked table, each row saying which result it belongs to
(#2 <id>). A server that predatesneighborhood_mode(v0.12.2 and older) appends its context
unmarked: the rows past--top-kare left out with a warning (under--neighborhood inlinethey
are shown as context).dk memory recalllists each result with the server'srank_score(v0.12.3), the score
that follows the order of the results.scoreandsmart_scorecan rise down the list, because
later ranking stages reorder the results after they are scored. Older servers send no
rank_score; theirsmart_scoreis listed as before.- A
429answer exits 6 (server busy), like a503, with theRetry-Afterhint. Since v0.12.3
an overloaded server (a full inference or recall queue) answers429+Retry-Afterwhere it
answered503;dkexited 1 on it. dk --format json|compact memory recallprintedℹ Found N memoriesbefore the JSON on
stdout; stdout is now one JSON document and notes go to stderr.dk keys get|delete|deactivate|rotate|usageanddk admin optimize|backup-deletepercent-encode
the id in the path;dk keys *errors carry the usual exit code and hint instead of the raw body.dk keys create --format jsonprints the server's answer as JSON.- README: the config file example showed an
api_keyand--keythatdknever read.
Added
dk document(Dakera v0.12.3, Dakera-AI/dakera#923):import <file|->turns a text,
Markdown, HTML, PDF or DOCX file into chunk memories of--agent(text formats through
POST /v1/memory/documents; PDF / DOCX, and text that is not UTF-8, uploaded as an attachment to
the agent's namespace and imported throughPOST /v1/namespaces/{ns}/attachments/{ref}/document),
with--title,--document-id,--media-type(else from the extension),--tag,--session-id,
--type,--importance,--lang,--chunk-tokens,--overlap,--strategy structure|fixed,
--decompose,--wait/--timeout;job <id>,list(--limit,--cursor),show <id>
(the chunks with pages and heading paths) anddelete <id>, in table and JSON. On a server
before v0.12.3 the commands say it is needed. Shell completions include them.dk memory recallcites document chunks: aSOURCEcolumn (Field Manual, p. 39-40 › Install)
anddocument(document_id,title,page_start/page_end,heading_path,
chunk_index) in JSON, on ranked results and context.dk memory recall --neighborhood <separate|inline|off>(defaultseparate;offalso sends
neighborhood: false, which older servers honour) and--include-summaries[=false](sent only
when given).- A
MATCHED_TEXTcolumn when the server collapsed derived sentence sub-memories into a result
(DAKERA_RECALL_COLLAPSE_DERIVED). --format jsonformemory recallcarriesmatched_text/matched_idson ranked results and
context_of/context_of_rankon context (see Breaking for the new shape).- A hint for the
422(or400) "unknown field" refusal that the admin key, backup and
rotate-key routes answer from Dakera v0.12.3 on, naming the field.
Security
~/.dakera/config.tomlis written0600(its directory0700when created), an existing file is
narrowed to0600on write, and a file readable by other users gets a warning on stderr.dk configshowsDAKERA_API_KEYmasked (first 3 and last 4 characters) and the transport (TLS
or plain http); a password in the server URL is masked.- A warning on stderr when
DAKERA_API_KEYis set and the server URL is plainhttp://to a host
other than the loopback interface. - Raw requests time out: 10 s to connect, 330 s between reads (longer than the 300 s
encryption-rotate --wait-secsmay ask the server to wait). - Dependencies: rustls 0.23.46 (RUSTSEC-2026-0346, -0347, -0348, -0349), quinn-proto 0.11.19
(RUSTSEC-2026-0338 to -0342), chacha20 0.10.2 (0.10.1 was yanked), rustls-webpki 0.103.16
(RUSTSEC-2026-0382) and webpki-root-certs 1.0.10 (RUSTSEC-2026-0383).
Install dakera-cli 0.8.2
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/dakera-ai/dakera-cli/releases/download/v0.8.2/dakera-cli-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/dakera-ai/dakera-cli/releases/download/v0.8.2/dakera-cli-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install dakera-ai/tap/dkDownload dakera-cli 0.8.2
| File | Platform | Checksum |
|---|---|---|
| dakera-cli-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
| dakera-cli-x86_64-apple-darwin.tar.gz | Intel macOS | checksum |
| dakera-cli-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| dakera-cli-x86_64-unknown-linux-gnu.tar.gz | x64 Linux | checksum |
0.8.1 - 2026-10-08
Release Notes
Support for Dakera server v0.12.2 (Dakera-AI/dakera#916). Compatible with v0.11.108,
v0.12.0, v0.12.1 and v0.12.2 servers; the commands below that need v0.12.2 say so on an
older server (see the README compatibility table). Built on dakera-client 0.12.2.
Added
dk whoami:GET /v1/auth/whoami— the key the CLI authenticates with (scope,
grants, unrestricted, grant syntax version, inert grants).dk agent create <agent_id>:POST /v1/agents— create an agent before its first
memory; idempotent (an existing agent is reported and left unchanged).dk keys edit <key_id>(aliaspatch):PATCH /admin/keys/{id}, or with
-n <namespace>PATCH /v1/namespaces/{ns}/keys/{id}—--name,--namespaces a,b
(p*prefix patterns allowed),--all-namespaces(sendsnull),--no-namespaces
(sends[]). Nothing to change exits 5 without a request.dk keys rotate --grace <duration>: the old key keeps working for up to 7 days; the
new key id and the old key's deadline are shown.dk session touch <session_id>:POST /v1/sessions/{id}/touch— keep a quiet session
from being ended for inactivity (an ended session is reported, never re-opened).dk session start --idle-timeout <duration>: the session's own inactivity timeout
(0= never, at most 30 days).--preview <chars>ondk agent memories,dk session memoriesand
dk knowledge full-graph(content_preview_chars, 1-10000): the server cuts each content;
the listings addCONTENT_LENandTRUNCATEDcolumns.--include-derivedon
dk agent memories.--offseton both memory listings,--limitondk session memories.dk admin derivations-statusanddk admin derivations-drain [--timeout]:
GET /admin/derivations/status,POST /admin/derivations/drain(global admin key).dk admin session-idle-timeout [<duration>]: show or set the server-wide session
inactivity timeout (session_idle_timeout_secsof/admin/config).- Durations accept
s,m,h,dsuffixes (3600,90m,8h,7d). dk session listshowsended_reason(client/idle).- Shell completions list the new commands.
Changed
dk session memoriesreports the server'stotal(it printed 0) and reads the listing
throughdakera-client0.12.2.ClientError::InvalidRequestfrom the SDK exits 5 (invalid input).
Fixed
dk keys rotateprinted no new key: it looked forkey, the server answersnew_key.
Server behaviour changes you may hit (Dakera v0.12.2)
- Sessions are authorized by their agent: keys no longer need a
_dakera_sessionsgrant
(such an entry is inert, seedk whoami); a key without grants lists no sessions;
dk session endwith a read-only key gets403(exit 4), and ending a session of an
agent the key cannot reach returns the empty idempotent answer. - Sessions auto-end after 4 h idle by default (
ended_reason: idle). Use
dk session touch,dk session start --idle-timeout, or
dk admin session-idle-timeout. Storing into an ended session still succeeds. - Stricter validation (
400, exit 5, the message names the field): key namespace
lists, agent ids (at most 241 bytes), memory metadata, reserved markers, TTLs, imports. - The memory content limit is in bytes (UTF-8, default 100000), also on
dk memory update. - Listings exclude derived records unless
include_derived=true:dk agent memories
no longer shows the sentence sub-memories; add--include-derived.
Dependency
dakera-client0.12.2 (crates.io).
Install dakera-cli 0.8.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/dakera-ai/dakera-cli/releases/download/v0.8.1/dakera-cli-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/dakera-ai/dakera-cli/releases/download/v0.8.1/dakera-cli-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install dakera-ai/tap/dkDownload dakera-cli 0.8.1
| File | Platform | Checksum |
|---|---|---|
| dakera-cli-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
| dakera-cli-x86_64-apple-darwin.tar.gz | Intel macOS | checksum |
| dakera-cli-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| dakera-cli-x86_64-unknown-linux-gnu.tar.gz | x64 Linux | checksum |
0.8.0 - 2026-10-01
Release Notes
Support for Dakera server v0.12.0. Compatible with v0.11.108 and v0.12.0 servers;
the commands below that call v0.12 routes say so when run against v0.11.
Added
dk capabilities:GET /v1/capabilitiesas a table (active model, search
mode, scoring strategy, query languages, opt-in features on/off). Exits 3 with a
clear message on a server that predates v0.12.dk health ready/dk health live: the readiness and liveness probes.
dk healthanddk health --detailednow read the JSON directly: a starting
server (503+Retry-After) is reported as such (exit 6) instead of healthy,
and thedegraded,config_warningsandembed_migrationfields are shown.dk attachment upload|list|download|delete|transcribe|index|job: the v0.12
attachment, speech-to-text and image-index routes (opt-in on the server:
DAKERA_ATTACHMENTS,DAKERA_VISION), with--waitfor the background jobs.dk admin embed-migration:GET /admin/reembed/migration.dk admin encryption-status|encryption-rotate|encryption-reseal: the v0.12
keyring; rotation of one namespace (-n) or of everything, the new key read from
an environment variable (--new-key-env), never from the command line.dk admin backup-get|backup-download|backup-upload|backup-restore-status|backup-schedule,
and options onbackup-create(--name,--type,-n,--encrypt,
--compression,--wait) andbackup-restore(-n,--overwrite --yes,--wait).- Permission and error messages: every non-2xx answer keeps the server's JSON
error body. A403says whether the key is pinned to namespaces (v0.12:403on
node-wide routes) or lackssuper_admin(backup download, upload, restore); a
413,501and503say what to change or when to retry (Retry-After).
With--format jsonthe error gainshttp_status,server_code,details,
retry_after_secs. --langondk memory store|recall|search|update(server v0.12): the language
of the content or query (ISO 639-1 code or name, optionally with a region, e.g.
pt-BR); the server lists what it supports indk capabilities.--attachment-refondk memory store(server v0.12,DAKERA_ATTACHMENTS): link
the memory to an uploaded attachment (sha256:<hex>).dk memory batch-store:POST /v1/memories/store/batch, up to 1000 memories
in one request from repeated--contentand/or a--fileJSON array (-reads
stdin);--type,--importance,--tag,--session-idfill in what an item does
not set, and--langapplies to the whole batch.dk memory extract:POST /v1/memories/extract, entity extraction without
storing (--entity-types,--lang).- README: what is new, compatibility with v0.11.108 and v0.12.0, permissions, and
the server-sidedakera downgradeanddakera --check-configcommands.
Changed
- Exit codes follow the HTTP status of an error answer:
401/403exit 4;
400/409/413/415/422exit 5; every 5xx (including501and503) exits 6. - Shell completions list the new commands.
dakera-client0.11 -> 0.12.0.dk memory storeprints the agent instead ofnamespace: default(the store
answer carries no namespace; that value was a placeholder).dk memory recall|searchprint the server's total only when it reports one larger
than the page (recall reports none, so it showedtotal: 0).
Fixed
dk admin backup-createsent{"include_data": ...}and noname, which the
server requires, so it could not succeed; it now sendsname(default
dk-backup-<unix time>). The--no-dataflag, which the server never read, is gone.dk admin quotas-setcalledPUT /admin/quotas, a route that does not exist; it
now calls/admin/quotas/{namespace}(-n) or/admin/quotas/default.- Calls to routes the v0.12.0 server does not serve (found by diffing every route
dkcalls, directly
and throughdakera-client0.11, against the server router):dk memory updatecalledPUT /v1/agents/{agent}/memories/{id}; it now callsPUT /v1/memory/update/{id}?agent_id=.dk memory feedbackcalledPOST /v1/agents/{agent}/memories/feedbackwith free text; it now calls
POST /v1/memory/feedbackwith asignal(upvote,downvote,flag,positive,negative). The text and--scorearguments are gone.dk memory batch-forgetcalledPOST /v1/memories/forget/batchwith fields the server does not read; it now calls
DELETEwith{agent_id, filter}(--max-age-daysbecomescreated_before) and--dry-runcounts matches throughPOST /v1/memories/recall/batch.dk text searchcalledPOST /v1/fulltext/search; it now callsPOST /v1/namespaces/{ns}/fulltext/searchand needs--namespace.dk admin configure-ttlcalledPUT /admin/namespaces/{ns}/ttl, which does not exist, and is removed: usedk namespace policy set(TTL fields).
dk admincommands printed their success line before checking the answer, so a
refused call showed a green check and then the error.- The SDK-backed commands (
dk memory,dk session, ...) now get the same exit codes
by status as the others: a400exited 6 and a501exited 1. dk knowledge graph|full-graph|summarize|deduplicateanddk index fulltext-stats
failed on every call against v0.11.108 and v0.12.0 (dakera-clientdoes not match
these routes: "error decoding response body", or a 422). They now call the REST API
with the server's request and answer shapes:dk knowledge graphneeds--memory-id(the server builds the graph around a seed
memory) and prints the seed and its related memories.dk knowledge summarizeneeds--memory-idswith at least two ids, prints the new
summary memory, and--dry-runis removed: the server has no dry run and always
stores the summary, so the flag announced a preview while writing.dk knowledge full-graphprints clusters and the hub memory;deduplicateprints
each group's canonical id, duplicates and similarity.
The container tests for these commands accepted the failures ("response schema may
differ"); they now assert success against the real server.
- Commands that printed a result without calling the server now do the work:
dk namespace create <ns> --dimension <N> [--distance cosine|euclidean|dot]creates
the namespace (PUT /v1/namespaces/{ns}); it printed "will be created on first vector
upsert" and pointed to adk vector upsertcommand that does not exist.
--dimensionis now required (the server needs it).dk namespace deletedeletes (DELETE /v1/namespaces/{ns}); it said the server could
not delete namespaces.dk index rebuildrebuilds (POST /admin/indexes/rebuild, new--force); it said
"not yet available".--index-typeno longer defaults toall(not a server value):
the server picks flat or HNSW per namespace and rejects a different expected kind.
dk agent statsfailed to decode the server's integer timestamps.- Shell completions offered
vector,opsandanalytics, commands that were removed in
0.6;dk initpointed to vector upsertsdkcannot do.
Install dakera-cli 0.8.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/dakera-ai/dakera-cli/releases/download/v0.8.0/dakera-cli-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/dakera-ai/dakera-cli/releases/download/v0.8.0/dakera-cli-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install dakera-ai/tap/dkDownload dakera-cli 0.8.0
| File | Platform | Checksum |
|---|---|---|
| dakera-cli-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
| dakera-cli-x86_64-apple-darwin.tar.gz | Intel macOS | checksum |
| dakera-cli-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| dakera-cli-x86_64-unknown-linux-gnu.tar.gz | x64 Linux | checksum |
v0.7.1
Install dk 0.7.1
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/dakera-ai/dakera-cli/releases/download/v0.7.1/dk-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/dakera-ai/dakera-cli/releases/download/v0.7.1/dk-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install dakera-ai/tap/dkDownload dk 0.7.1
| File | Platform | Checksum |
|---|---|---|
| dk-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
| dk-x86_64-apple-darwin.tar.gz | Intel macOS | checksum |
| dk-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| dk-x86_64-unknown-linux-gnu.tar.gz | x64 Linux | checksum |
v0.7.0
Install dakera-cli 0.7.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/dakera-ai/dakera-cli/releases/download/v0.7.0/dakera-cli-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/dakera-ai/dakera-cli/releases/download/v0.7.0/dakera-cli-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install dakera-ai/tap/dkDownload dakera-cli 0.7.0
| File | Platform | Checksum |
|---|---|---|
| dakera-cli-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| dakera-cli-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| dakera-cli-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| dakera-cli-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
v0.6.0
What's Changed (v0.5.5 → v0.6.0)
Features
- CLI maturity overhaul — aligned output tables, progress bars, retry logic, verbose logging (#73)
- Added
dk text— full-text BM25 search across memories - Added
dk admin— cluster administration, caching, backups, and server configuration
Commands Removed (streamlining)
- Removed
dk analytics— consolidated into admin diagnostics - Removed
dk ops— consolidated into admin operations - Removed
dk vector— low-level vector ops removed (usedk memoryinstead)
Testing
- Expanded test coverage: 3 → 47+ integration tests with httpmock + live container CI (#74)
- Added
text.rscommand tests with proper auth
Security
- Fixed auth header gaps in removed commands (admin.rs, vector.rs)
- Hardened
.gitignorewith secrets exclusions (#66) - Replaced non-existing [email protected] with GitHub Security Advisories (#69)
- Added
SECURITY.mdsecurity policy
CI & Distribution
- Added crates.io keywords and categories for distribution (#57, #61)
- Fixed Security Audit ARM64 failure — switched to cacheable cargo-audit (#72)
- Added CODEOWNERS for automated PR review routing
- Enforced LF line endings for cross-platform compatibility
Documentation
- README fully rewritten — polished onboarding flow, all commands documented, stale sections removed
- Added "Run Dakera" onboarding section (#63)
- Updated LoCoMo benchmark score reference (87.6%)
- Added CI, version, and license badges (#65)
- Added dakera.ai docs badge and early access CTA (#68)
- Updated tool count from 83 to 14 core tools (86+ via profiles)
Community
- Added community health files — contributing guide, issue templates, code of conduct (#64)
Dependencies
- Bumped dakera-client from 0.11.36 to 0.11.53
- Bumped tokio from 1.52.1 to 1.52.3
- Bumped assert_cmd from 2.2.1 to 2.2.2
- Updated Cargo.lock patch dependencies (#56)
Full Changelog: v0.5.5...v0.6.0
v0.5.5
dakera-cli v0.5.5
Changes
- fix: dakera-client 0.9→0.11 API compatibility (SessionEndResponse field path)
- deps: tokio 1.37→1.52, thiserror 1.0→2.0, dirs 5.0→6.0, 5 other dep bumps
- ci: fix x86_64-apple-darwin release builds on ARM64 runners (zigbuild + explicit rustup target add)
18 commits since v0.5.4.
Full Changelog: v0.5.4...v0.5.5
v0.5.4
What's Changed
- ci: remove obsolete SSH agent setup from all jobs by @ferhimedamine in #30
- chore(deps): Bump rand from 0.9.2 to 0.9.4 by @dependabot[bot] in #29
- fix(deps): rustls-webpki 0.103.10→0.103.12 security patch (GHSA-xgp8-3hg3-c2mh, GHSA-965h-392x-2mh5) by @ferhimedamine in #32
- chore(release): bump version to v0.5.4 by @ferhimedamine in #33
New Contributors
- @dependabot[bot] made their first contribution in #29
Full Changelog: v0.5.3...v0.5.4
v0.5.3
What's Changed
Added
- Integration test harness: 7 tests covering health, namespace list, and namespace policy get/set using
httpmock+assert_cmd(DAK-1492)
CI
- Add
cargo-auditCVE scanning to CI pipeline — runs on every push and PR (#26) - Skip
cargo-auditinstallation when binary already exists on self-hosted runner (#27)
Changed
- Updated README to reflect open-core product model and current platform positioning (#28)
v0.5.2
What's Changed
- docs: add dk init getting-started section and improve description by @ferhimedamine in #21
- feat(cli-2): add dk namespace policy get/set + bump dakera-client 0.8→0.9 by @ferhimedamine in #22
Full Changelog: v0.5.1...v0.5.2