AkurAI Build
Menu

AkurAI-NotesCommit 1733e7c7

Commit 1733e7c7

1733e7c7f9cb6fd1bd4760c59b7727822aab6036 by Claude Code

diff --git a/Cargo.lock b/Cargo.lock
index 24375e8..39a469c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -31,7 +31,7 @@ version = "0.8.1"
 
 [[package]]
 name = "akurai-notes"
-version = "0.0.5"
+version = "0.0.6"
 dependencies = [
  "akurai-http",
  "akurai-json",
@@ -73,7 +73,7 @@ dependencies = [
 
 [[package]]
 name = "notes-api"
-version = "0.0.5"
+version = "0.0.6"
 dependencies = [
  "akurai-collections",
  "akurai-http",
@@ -89,7 +89,7 @@ dependencies = [
 
 [[package]]
 name = "notes-core"
-version = "0.0.5"
+version = "0.0.6"
 dependencies = [
  "akurai-json",
  "akurai-schema",
@@ -98,7 +98,7 @@ dependencies = [
 
 [[package]]
 name = "notes-mcp"
-version = "0.0.5"
+version = "0.0.6"
 dependencies = [
  "akurai-http",
  "akurai-json",
diff --git a/Cargo.toml b/Cargo.toml
index 2baf04f..fe32d08 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,7 +3,7 @@ resolver = "2"
 members = ["crates/notes-core", "crates/notes-api", "crates/notes-cli", "crates/notes-mcp"]
 
 [workspace.package]
-version = "0.0.5"
+version = "0.0.6"
 edition = "2021"
 license = "MIT"
 repository = "https://github.com/olibuijr/AkurAI-Notes"
diff --git a/VERSION b/VERSION
index bbdeab6..1750564 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.0.5
+0.0.6
diff --git a/deploy.sh b/deploy.sh
index 0412141..843875a 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -264,11 +264,24 @@ healthcheck() {
   [ "$(ssh "$HOST" 'curl -sS -o /dev/null -w "%{http_code}" http://127.0.0.1:8101/mcp')" = "405" ] \
     || die "MCP /mcp didn't answer 405 on bare GET (expected)"
 
-  ssh "$HOST" 'curl -fsS http://127.0.0.1:8081/v1/embeddings \
-    -H "Content-Type: application/json" \
-    -d "{\"input\":\"x\",\"model\":\"qwen3-embedding-0.6b\"}" 2>/dev/null | \
-    jq -re ".data[0].embedding | length"' 2>/dev/null | head -1 \
-    || say "  embed server not ready yet -- semantic search will use substring fallback until it's up"
+  if ! ssh "$HOST" 'bash -s' <<'EMBED_HEALTH'
+set -euo pipefail
+F=/etc/akurai-notes/notes.env
+URL="$(awk -F= '/^AKURAI_NOTES_EMBED_URL=/{print substr($0, index($0, "=") + 1)}' "$F" | head -n 1)"
+MODEL="$(awk -F= '/^AKURAI_NOTES_EMBED_MODEL=/{print substr($0, index($0, "=") + 1)}' "$F" | head -n 1)"
+KEY="$(awk -F= '/^AKURAI_NOTES_EMBED_API_KEY=/{print substr($0, index($0, "=") + 1)}' "$F" | head -n 1)"
+[ -n "$URL" ] && [ -n "$MODEL" ] && [ -n "$KEY" ]
+payload="$(printf '{"input":"x","model":"%s"}' "$MODEL")"
+code="$(curl -sS -o /tmp/akurai-notes-embed-health.json -w '%{http_code}' \
+  -H "Authorization: Bearer $KEY" \
+  -H "Content-Type: application/json" \
+  -d "$payload" "$URL" || true)"
+rm -f /tmp/akurai-notes-embed-health.json
+[ "$code" = "200" ]
+EMBED_HEALTH
+  then
+    say "  Router embedding upstream not ready yet -- semantic search will use substring fallback until it is up"
+  fi
 
   curl -fsS https://akurai-notes.olibuijr.com/api/health | jq .ok | grep -q true \
     || say "  Public URL not healthy yet -- DNS/TLS may still be propagating"
diff --git a/site/backend/page.json b/site/backend/page.json
index 6a08294..77d30b7 100644
--- a/site/backend/page.json
+++ b/site/backend/page.json
@@ -1,7 +1,7 @@
 {
   "title": "AkurAI-Notes — Private notes with semantic search",
   "description": "Private notes with semantic search — running on your own server, never scanned by a third party.",
-  "version": "v0.0.5",
+  "version": "v0.0.6",
   "url": "https://akurai-notes.olibuijr.com",
   "year": 2026,
   "brand_name": "AkurAI-Notes",