Files
artcraft/crates/cli
Tanish Manku e409f3b11d artcraft-mcp: load creds from tauri-plugin-http cookie jar
Production desktop v0.32 keeps Storyteller cookies only in the vendored
tauri-plugin-http jar at <app_cache_dir>/.cookies; persist_all_to_disk()
for the text-file path in the dev source is commented out, so shipped
builds never populate those files.

Add a JSON-parsing fallback that reads the .cookies jar, filters to
api.storyteller.ai, and extracts the session + visitor cookies. The
text-file path stays as a secondary fallback for forward-compat.

macOS-only path resolution via directories::ProjectDirs for the
"ai.artcraft.app" bundle id. Linux/Windows resolutions differ from
Tauri's app_cache_dir() and are deferred.
2026-06-08 12:22:54 -07:00
..