Skip to content

feat: getmnemo 0.6 — workspace id optional (0.4.0) - #4

Open
shhahhussain wants to merge 2 commits into
mainfrom
fix/core-0.6
Open

shhahhussain wants to merge 2 commits into
mainfrom
fix/core-0.6

Conversation

@shhahhussain

Copy link
Copy Markdown
Contributor

Summary

  • Bumps 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).
  • login no longer prompts for a workspace id (--workspace-id deprecated, saved only if given); whoami treats an API key alone as authenticated; doctor drops the workspace check; mcp only emits GETMNEMO_WORKSPACE_ID when configured.
  • Version 0.4.0 (minor, not patch): user-visible output of login/whoami/doctor/mcp changes and the core dependency moves a minor.

Test plan

  • npm run build
  • npm test — 90/90 (new src/lib/client.test.ts: key-only client, legacy workspace accepted, key still required)
  • npm pack --dry-run
  • Manual: getmnemo login --api-key … against prod with no workspace, then getmnemo search

Deferred

  • workspace list|switch commands are left as-is (local-config only); deprecating them is a separate change.
  • Not published/tagged.

…(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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant