You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dda6991
Browse filesBrowse the repository at this point in the historyBrowse files
fix(cli): os environments runs on the os cloud login session through one resolver
createControlPlaneApiClient (utils/api-client.ts) chooses the stored
session for list, show, create, bind and switch: credentials.json's
session where it targets the server (with no --url it names it), else
cloud.json's on the same terms; an explicit url neither file names keeps
credentials.json's session as before and never gets the cloud token.
The active environment comes from the chosen file, and switch / create
--activate no longer write a cloud environment id into credentials.json
when they ran on the cloud session. The refusal with no session names
os cloud login too.
Claude-Session: https://claude.ai/code/session_01VvcEokUG1tvVxkceYfR5XB
Co-authored-by: Claude <noreply@anthropic.com>
|`os environments list` / `show` / `create` / `bind` / `switch`|`-u, --url` (env `OS_CLOUD_URL`); else the URL of the stored session it uses; else `http://localhost:3000`|`-t, --token` (env `OS_TOKEN`) |No `--url`: `~/.objectstack/credentials.json`(the `os login` session), else `~/.objectstack/cloud.json` (the `os cloud login` session). With `--url`: the file that names that server, `credentials.json` first; when neither does, `credentials.json` as before. `cloud.json`'s token is never sent to another URL|
128
133
129
134
`os package install` is not a cloud command: it installs into a running runtime
130
135
(`-r, --runtime`, env `OS_RUNTIME_URL`, default `http://localhost:3000`) and signs
0 commit comments