@vavio/cli 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/dist/vavio.mjs +4 -2
  2. package/package.json +1 -1
package/dist/vavio.mjs CHANGED
@@ -10,7 +10,7 @@ import { Client, StreamableHTTPClientTransport } from "@modelcontextprotocol/cli
10
10
 
11
11
  // src/constants.ts
12
12
  var CLI_NAME = "@vavio/cli";
13
- var CLI_VERSION = "0.1.1";
13
+ var CLI_VERSION = "0.1.2";
14
14
  var CONTRACT_VERSION = 1;
15
15
  var CONTRACT_HEADER = "Vavio-Contract";
16
16
  var CONTRACT_MIN_HEADER = "Vavio-Contract-Min";
@@ -968,7 +968,9 @@ async function cmdLogin(ctx) {
968
968
  if (ctx.out.json) ctx.out.value(value);
969
969
  else {
970
970
  const where = store.kind === "file" ? "a private file" : store.kind === "keychain" ? "the macOS keychain" : "the Secret Service keyring";
971
- ctx.out.out(`Signed in to Vavio${workspace ? `: workspace ${str(workspace.name)} (${str(workspace.id)})` : ""}. Saved in ${where}.`);
971
+ const raw = typeof workspace?.name === "string" ? workspace.name.replace(/\s+/g, " ").trim() : "";
972
+ const name = raw && !/^workspace [0-9a-f]{8}$/i.test(raw) ? raw.slice(0, 80) : null;
973
+ ctx.out.out(`Signed in to Vavio${name ? ` (workspace ${name})` : ""}. Saved in ${where}.`);
972
974
  }
973
975
  return EXIT.ok;
974
976
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vavio/cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "vavio: operate your Vavio account and Hermes instances from a terminal or your own AI assistant, over Vavio's MCP server.",
5
5
  "license": "UNLICENSED",
6
6
  "homepage": "https://vavio.ai",