Skip to content

Releases

0.8.2 - 2026-10-22

Choose a tag to compare

@github-actions github-actions released this 22 Oct 13:16
533524a

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 recall prints 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 recall shows at most --top-k ranked results. The server appended
    session-neighbourhood context after the ranked results, so --top-k 5 could print 7 rows. The
    command now asks for neighborhood_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 predates neighborhood_mode (v0.12.2 and older) appends its context
    unmarked: the rows past --top-k are left out with a warning (under --neighborhood inline they
    are shown as context).
  • dk memory recall lists each result with the server's rank_score (v0.12.3), the score
    that follows the order of the results. score and smart_score can rise down the list, because
    later ranking stages reorder the results after they are scored. Older servers send no
    rank_score; their smart_score is listed as before.
  • A 429 answer exits 6 (server busy), like a 503, with the Retry-After hint. Since v0.12.3
    an overloaded server (a full inference or recall queue) answers 429 + Retry-After where it
    answered 503; dk exited 1 on it.
  • dk --format json|compact memory recall printed ℹ Found N memories before the JSON on
    stdout; stdout is now one JSON document and notes go to stderr.
  • dk keys get|delete|deactivate|rotate|usage and dk admin optimize|backup-delete percent-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 json prints the server's answer as JSON.
  • README: the config file example showed an api_key and --key that dk never 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 through POST /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) and delete <id>, in table and JSON. On a server
    before v0.12.3 the commands say it is needed. Shell completions include them.
  • dk memory recall cites document chunks: a SOURCE column (Field Manual, p. 39-40 › Install)
    and document (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> (default separate; off also sends
    neighborhood: false, which older servers honour) and --include-summaries[=false] (sent only
    when given).
  • A MATCHED_TEXT column when the server collapsed derived sentence sub-memories into a result
    (DAKERA_RECALL_COLLAPSE_DERIVED).
  • --format json for memory recall carries matched_text / matched_ids on ranked results and
    context_of / context_of_rank on context (see Breaking for the new shape).
  • A hint for the 422 (or 400) "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.toml is written 0600 (its directory 0700 when created), an existing file is
    narrowed to 0600 on write, and a file readable by other users gets a warning on stderr.
  • dk config shows DAKERA_API_KEY masked (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_KEY is set and the server URL is plain http:// 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-secs may 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 | sh

Install 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/dk

Download 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

Choose a tag to compare

@github-actions github-actions released this 08 Oct 17:26
f2eae47

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> (alias patch): PATCH /admin/keys/{id}, or with
    -n <namespace> PATCH /v1/namespaces/{ns}/keys/{id} — --name, --namespaces a,b
    (p* prefix patterns allowed), --all-namespaces (sends null), --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> on dk agent memories, dk session memories and
    dk knowledge full-graph (content_preview_chars, 1-10000): the server cuts each content;
    the listings add CONTENT_LEN and TRUNCATED columns. --include-derived on
    dk agent memories. --offset on both memory listings, --limit on dk session memories.
  • dk admin derivations-status and dk 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_secs of /admin/config).
  • Durations accept s, m, h, d suffixes (3600, 90m, 8h, 7d).
  • dk session list shows ended_reason (client / idle).
  • Shell completions list the new commands.

Changed

  • dk session memories reports the server's total (it printed 0) and reads the listing
    through dakera-client 0.12.2.
  • ClientError::InvalidRequest from the SDK exits 5 (invalid input).

Fixed

  • dk keys rotate printed no new key: it looked for key, the server answers new_key.

Server behaviour changes you may hit (Dakera v0.12.2)

  • Sessions are authorized by their agent: keys no longer need a _dakera_sessions grant
    (such an entry is inert, see dk whoami); a key without grants lists no sessions;
    dk session end with a read-only key gets 403 (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-client 0.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 | sh

Install 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/dk

Download 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

Choose a tag to compare

@github-actions github-actions released this 01 Oct 17:55
454457c

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/capabilities as 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 health and dk health --detailed now read the JSON directly: a starting
    server (503 + Retry-After) is reported as such (exit 6) instead of healthy,
    and the degraded, config_warnings and embed_migration fields 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 --wait for 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 on backup-create (--name, --type, -n, --encrypt,
    --compression, --wait) and backup-restore (-n, --overwrite --yes, --wait).
  • Permission and error messages: every non-2xx answer keeps the server's JSON
    error body. A 403 says whether the key is pinned to namespaces (v0.12: 403 on
    node-wide routes) or lacks super_admin (backup download, upload, restore); a
    413, 501 and 503 say what to change or when to retry (Retry-After).
    With --format json the error gains http_status, server_code, details,
    retry_after_secs.
  • --lang on dk 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 in dk capabilities.
  • --attachment-ref on dk 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 --content and/or a --file JSON array (- reads
    stdin); --type, --importance, --tag, --session-id fill in what an item does
    not set, and --lang applies 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-side dakera downgrade and dakera --check-config commands.

Changed

  • Exit codes follow the HTTP status of an error answer: 401/403 exit 4;
    400/409/413/415/422 exit 5; every 5xx (including 501 and 503) exits 6.
  • Shell completions list the new commands.
  • dakera-client 0.11 -> 0.12.0.
  • dk memory store prints the agent instead of namespace: default (the store
    answer carries no namespace; that value was a placeholder).
  • dk memory recall|search print the server's total only when it reports one larger
    than the page (recall reports none, so it showed total: 0).

Fixed

  • dk admin backup-create sent {"include_data": ...} and no name, which the
    server requires, so it could not succeed; it now sends name (default
    dk-backup-<unix time>). The --no-data flag, which the server never read, is gone.
  • dk admin quotas-set called PUT /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 dk calls, directly
    and through dakera-client 0.11, against the server router):
    • dk memory update called PUT /v1/agents/{agent}/memories/{id}; it now calls PUT /v1/memory/update/{id}?agent_id=.
    • dk memory feedback called POST /v1/agents/{agent}/memories/feedback with free text; it now calls
      POST /v1/memory/feedback with a signal (upvote, downvote, flag, positive, negative). The text and --score arguments are gone.
    • dk memory batch-forget called POST /v1/memories/forget/batch with fields the server does not read; it now calls
      DELETE with {agent_id, filter} (--max-age-days becomes created_before) and --dry-run counts matches through POST /v1/memories/recall/batch.
    • dk text search called POST /v1/fulltext/search; it now calls POST /v1/namespaces/{ns}/fulltext/search and needs --namespace.
    • dk admin configure-ttl called PUT /admin/namespaces/{ns}/ttl, which does not exist, and is removed: use dk namespace policy set (TTL fields).
  • dk admin commands 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: a 400 exited 6 and a 501 exited 1.
  • dk knowledge graph|full-graph|summarize|deduplicate and dk index fulltext-stats
    failed on every call
    against v0.11.108 and v0.12.0 (dakera-client does 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 graph needs --memory-id (the server builds the graph around a seed
      memory) and prints the seed and its related memories.
    • dk knowledge summarize needs --memory-ids with at least two ids, prints the new
      summary memory, and --dry-run is removed: the server has no dry run and always
      stores the summary, so the flag announced a preview while writing.
    • dk knowledge full-graph prints clusters and the hub memory; deduplicate prints
      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 a dk vector upsert command that does not exist.
      --dimension is now required (the server needs it).
    • dk namespace delete deletes (DELETE /v1/namespaces/{ns}); it said the server could
      not delete namespaces.
    • dk index rebuild rebuilds (POST /admin/indexes/rebuild, new --force); it said
      "not yet available". --index-type no longer defaults to all (not a server value):
      the server picks flat or HNSW per namespace and rejects a different expected kind.
  • dk agent stats failed to decode the server's integer timestamps.
  • Shell completions offered vector, ops and analytics, commands that were removed in
    0.6; dk init pointed to vector upserts dk cannot 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 | sh

Install 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/dk

Download 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

Choose a tag to compare

@github-actions github-actions released this 03 Sep 07:53
f0578bd

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 | sh

Install 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/dk

Download 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

Choose a tag to compare

@github-actions github-actions released this 16 Jul 11:55
6443e65

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 | sh

Install 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/dk

Download 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

Choose a tag to compare

@ferhimedamine ferhimedamine released this 21 May 07:55
1f6b6c8

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 (use dk memory instead)

Testing

  • Expanded test coverage: 3 → 47+ integration tests with httpmock + live container CI (#74)
  • Added text.rs command tests with proper auth

Security

  • Fixed auth header gaps in removed commands (admin.rs, vector.rs)
  • Hardened .gitignore with secrets exclusions (#66)
  • Replaced non-existing [email protected] with GitHub Security Advisories (#69)
  • Added SECURITY.md security 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

Choose a tag to compare

@ferhimedamine ferhimedamine released this 29 Apr 02:02
32ad313

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

Choose a tag to compare

@ferhimedamine ferhimedamine released this 17 Apr 13:57
cfe1b01

What's Changed

New Contributors

Full Changelog: v0.5.3...v0.5.4

v0.5.3

Choose a tag to compare

@ferhimedamine ferhimedamine released this 13 Apr 02:16

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-audit CVE scanning to CI pipeline — runs on every push and PR (#26)
  • Skip cargo-audit installation 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

Choose a tag to compare

@ferhimedamine ferhimedamine released this 01 Apr 13:25
7360bd7

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