feat(app): cursor encode/decode for paginated search (fb-34)

Opaque base64(JSON{offset, corpus_revision}). Mismatch or
malformed input returns ErrorV1 with code = stale_cursor.
base64 promoted to workspace dep.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
th-kim0823
2026-05-09 17:49:23 +09:00
parent e00418537f
commit ebbc3a46ae
7 changed files with 87 additions and 2 deletions

1
Cargo.lock generated
View File

@@ -3528,6 +3528,7 @@ name = "kebab-app"
version = "0.4.0"
dependencies = [
"anyhow",
"base64 0.22.1",
"blake3",
"dirs 5.0.1",
"ignore",