Repository navigation
feat: getmnemo 0.6 — workspace id optional (0.4.0) - #4
Open
shhahhussain wants to merge 2 commits into
Open
shhahhussain wants to merge 2 commits into
shhahhussain wants to merge 2 commits into
Conversation
…(0.4.0) - getmnemo ^0.5.1 -> ^0.6.0 - getClient no longer requires a workspace id; a configured one is still passed through (ignored by core 0.6) - login drops the workspace prompt (--workspace-id deprecated, saved only if given); whoami authenticates on API key alone; doctor drops the workspace check; mcp emits GETMNEMO_WORKSPACE_ID only when configured - bump to 0.4.0 (user-visible login/whoami/doctor/mcp changes)
The action read opts.baseUrl, but commander maps --api-url to opts.apiUrl, so the flag was ignored (and the URL prompt still shown).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
getmnemo^0.5.1 → ^0.6.0.getClient()no longer throws "No workspace selected": with an API key, workspace identity comes from the key. A configured workspace id is still passed through (core 0.6 ignores it).loginno longer prompts for a workspace id (--workspace-iddeprecated, saved only if given);whoamitreats an API key alone as authenticated;doctordrops the workspace check;mcponly emitsGETMNEMO_WORKSPACE_IDwhen configured.Test plan
npm run buildnpm test— 90/90 (newsrc/lib/client.test.ts: key-only client, legacy workspace accepted, key still required)npm pack --dry-rungetmnemo login --api-key …against prod with no workspace, thengetmnemo searchDeferred
workspace list|switchcommands are left as-is (local-config only); deprecating them is a separate change.