diff --git a/LOCAL_AWS_SETUP.md b/LOCAL_AWS_SETUP.md index 8c4c31590195..4be33dcd835c 100644 --- a/LOCAL_AWS_SETUP.md +++ b/LOCAL_AWS_SETUP.md @@ -126,7 +126,7 @@ opencode-work() { echo "Logging in to AWS SSO ($profile)..." aws sso login --profile "$profile" || return 1 eval "$(aws configure export-credentials --profile "$profile" --format env)" - /path/to/opencode/packages/opencode/dist/opencode-darwin-arm64/bin/opencode "$@" + /path/to/opencode/packages/opencode/dist/opencode-darwin-arm64/bin/opencode "${opencode_args[@]}" } ``` @@ -138,6 +138,9 @@ Replace `/path/to/opencode` with where you cloned the repo (e.g. `~/Code/persona # Login and launch opencode-work +# Resume a previous session +opencode-work ses_2541da06dffeSyfI3ed4qvC7Tv + # Re-running after SSO session expires — just run again, it will re-authenticate opencode-work ```