From 94b5892ea311fcb66edee540f360765e2195404d Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 22 Oct 2026 11:04:14 +0200 Subject: Plan: strip the trailing newline from the password file Co-Authored-By: Claude Opus 5.5 --- docs/superpowers/plans/2026-10-22-mygram-droid.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/superpowers/plans/2026-10-22-mygram-droid.md b/docs/superpowers/plans/2026-10-22-mygram-droid.md index 1c12f9e..8342c94 100644 --- a/docs/superpowers/plans/2026-10-22-mygram-droid.md +++ b/docs/superpowers/plans/2026-10-22-mygram-droid.md @@ -77,7 +77,7 @@ Ask the user for the instance base URL too (it is in agent memory as well). Belo ```bash S=; B= -python3 -I -c 'import json,sys; print(json.dumps({"password": open(sys.argv[1]).read()}))' /tmp/mygram.pw | +python3 -I -c 'import json,sys; print(json.dumps({"password": open(sys.argv[1]).read().rstrip("\n")}))' /tmp/mygram.pw | curl -s -c "$S/jar" -H 'x-foldergram-intent: 1' -H 'Content-Type: application/json' --data-binary @- "$B/api/auth/login" ``` -- cgit v1.2.3