@lucasschirm/claude-session-sync 0.2.22 → 0.2.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/bin/claude-sync +9 -2
- package/package.json +1 -1
package/bin/claude-sync
CHANGED
|
@@ -218,8 +218,15 @@ Environment:
|
|
|
218
218
|
SAL_STORAGE_SECRET_ACCESS_KEY AWS secret access key (required)
|
|
219
219
|
SAL_STORAGE_ENDPOINT Custom S3 endpoint (optional)
|
|
220
220
|
|
|
221
|
-
Configuration is
|
|
222
|
-
|
|
221
|
+
Configuration is resolved in precedence order (highest first):
|
|
222
|
+
1. process.env (real environment variables)
|
|
223
|
+
2. .claude/settings.local.json "env" (project-local, gitignored)
|
|
224
|
+
3. .claude/settings.json "env" (project, committed)
|
|
225
|
+
4. ~/.claude/settings.json "env" (user-global, committed)
|
|
226
|
+
|
|
227
|
+
Security: SAL_STORAGE_ENDPOINT, SAL_STORAGE_ACCESS_KEY_ID, and
|
|
228
|
+
SAL_STORAGE_SECRET_ACCESS_KEY are only read from process.env or
|
|
229
|
+
.claude/settings.local.json \u2014 never from committed settings files.
|
|
223
230
|
`;function eRe(){try{let t=Z0e(new URL("../package.json",import.meta.url));return JSON.parse(Q0e(t,"utf8")).version??"unknown"}catch{return"unknown"}}async function tRe(t=xi.argv.slice(2)){let[e,...r]=t;if(e===void 0||e==="-h"||e==="--help")return xi.stdout.write(C7),0;if(e==="-v"||e==="--version")return xi.stdout.write(`${eRe()}
|
|
224
231
|
`),0;switch(e){case"sync":return _7({force:r.includes("--force")||r.includes("-f")});case"list":return h7(r);case"download":return m7(r);case"remove":return S7(r);case"migrate":return g7(r);default:return xi.stderr.write(`Unknown command: ${e}
|
|
225
232
|
|