|
claude-logbook -s REF --share uploads a session to a share server and
prints its link; --shares lists them, --unshare deletes them, --expire
picks how long they live. Before uploading it shows what goes up and warns
about anything that looks like a credential.
server/ is that share server: Go, standard library only, a FROM scratch
image. It serves /share/<id> as a page, .txt and .json, accepts only the
JSON payload (never HTML), pins the template's scripts with a CSP, keeps
secrets hashed and rate-limits per client IP.
|
|
-P lists the allow/ask/deny rules and additionalDirectories of the user,
project and local settings, plus hasTrustDialogAccepted from ~/.claude.json.
--allow, --ask, --deny, --remove-rule, --add-dir, --remove-dir, --trust and
--untrust edit them in place, keeping every other key, the file mode and the
trailing newline; --dry-run shows the change without making it.
|