@gobi-ai/cli 2.0.27 → 2.0.28

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.
@@ -4,12 +4,12 @@
4
4
  "name": "gobi-ai"
5
5
  },
6
6
  "description": "Claude Code plugin for the Gobi collaborative knowledge platform CLI",
7
- "version": "2.0.27",
7
+ "version": "2.0.28",
8
8
  "plugins": [
9
9
  {
10
10
  "name": "gobi",
11
11
  "description": "Manage the Gobi collaborative knowledge platform from the command line. Publish vault profiles, create posts and replies, generate images and videos.",
12
- "version": "2.0.27",
12
+ "version": "2.0.28",
13
13
  "author": {
14
14
  "name": "gobi-ai"
15
15
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gobi",
3
3
  "description": "Manage the Gobi collaborative knowledge platform from the command line",
4
- "version": "2.0.27",
4
+ "version": "2.0.28",
5
5
  "author": {
6
6
  "name": "gobi-ai"
7
7
  },
package/README.md CHANGED
@@ -138,10 +138,9 @@ If `.gobi/settings.yaml` is missing, `gobi vault init` and `gobi space warp` are
138
138
 
139
139
  | Command | Description |
140
140
  |---------|-------------|
141
- | `gobi vault create <slug> --name <n>` | Create a new vault. Does not change the configured vault — run `gobi vault init` or `gobi vault set-primary` afterwards if you want to anchor to it. |
141
+ | `gobi vault create <slug> --name <n>` | Create a new vault. Does not change the configured vault — run `gobi vault init` afterwards if you want to anchor to it. |
142
142
  | `gobi vault rename <newName> [--vault-slug <slug>]` | Rename a vault. Defaults to the configured vault. Local display name only — does not affect `PUBLISH.md` frontmatter. |
143
143
  | `gobi vault delete <slug>` | Delete a vault. Irreversible. The API rejects if the vault still owns content; clean up posts, members, and files first. |
144
- | `gobi vault set-primary <slug>` | Mark a vault as your primary. Unsets primary on the others. |
145
144
  | `gobi vault publish` | Upload `PUBLISH.md` to your vault. Triggers profile/metadata refresh. |
146
145
  | `gobi vault unpublish` | Remove `PUBLISH.md` from your vault. |
147
146
  | `gobi vault status [--vault-slug <slug>]` | Show the configured vault's publish state (`isPublished`), profile fields, file count, and public profile URL. Useful as a pre-flight check before authoring a markdown artifact with `--auto-attachments`. |
@@ -20,7 +20,7 @@ export function registerVaultCommand(program) {
20
20
  });
21
21
  vault
22
22
  .command("create <slug>")
23
- .description("Create a new vault. <slug> must be unique (use 'gobi vault list' to see existing slugs); --name sets the display name. Does not change the configured vault — run 'gobi vault init' or 'gobi vault set-primary' afterwards if you want to anchor to it.")
23
+ .description("Create a new vault. <slug> must be unique (use 'gobi vault list' to see existing slugs); --name sets the display name. Does not change the configured vault — run 'gobi vault init' afterwards if you want to anchor to it.")
24
24
  .requiredOption("--name <name>", "Display name for the new vault")
25
25
  .action(async (slug, opts) => {
26
26
  const resp = (await apiPost("/vault", {
@@ -61,20 +61,6 @@ export function registerVaultCommand(program) {
61
61
  }
62
62
  console.log(`Deleted vault [${slug}].`);
63
63
  });
64
- vault
65
- .command("set-primary <slug>")
66
- .description("Mark a vault as your primary. Unsets primary on the other vaults you own. Slug must be passed explicitly.")
67
- .action(async (slug) => {
68
- const resp = (await apiPatch(`/vault/${slug}`, {
69
- isPrimary: true,
70
- }));
71
- const v = unwrapResp(resp);
72
- if (isJsonMode(vault)) {
73
- jsonOut(v);
74
- return;
75
- }
76
- console.log(`Set [${slug}] as primary vault.`);
77
- });
78
64
  vault
79
65
  .command("list")
80
66
  .description("List vaults you own.")
@@ -96,8 +82,7 @@ export function registerVaultCommand(program) {
96
82
  const lines = [];
97
83
  for (const v of items) {
98
84
  const slug = (v.vaultId || v.slug);
99
- const isPrimary = v.isPrimary ? " (primary)" : "";
100
- lines.push(`- [${slug}] ${v.name}${isPrimary}`);
85
+ lines.push(`- [${slug}] ${v.name}`);
101
86
  }
102
87
  console.log(`Vaults (${items.length}):\n` + lines.join("\n"));
103
88
  });
@@ -122,7 +107,6 @@ export function registerVaultCommand(program) {
122
107
  const status = {
123
108
  vaultSlug: slug,
124
109
  name: v.name,
125
- isPrimary: !!v.isPrimary,
126
110
  isPublished,
127
111
  title: v.title ?? null,
128
112
  description: v.description ?? null,
@@ -140,7 +124,7 @@ export function registerVaultCommand(program) {
140
124
  return;
141
125
  }
142
126
  const lines = [
143
- `Vault: [${slug}] ${v.name}${v.isPrimary ? " (primary)" : ""}`,
127
+ `Vault: [${slug}] ${v.name}`,
144
128
  ` Published: ${isPublished ? "yes" : "no"}`,
145
129
  ];
146
130
  if (!isPublished) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gobi-ai/cli",
3
- "version": "2.0.27",
3
+ "version": "2.0.28",
4
4
  "description": "CLI client for the Gobi collaborative knowledge platform",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -9,12 +9,12 @@ description: >-
9
9
  allowed-tools: Bash(gobi:*)
10
10
  metadata:
11
11
  author: gobi-ai
12
- version: "2.0.27"
12
+ version: "2.0.28"
13
13
  ---
14
14
 
15
15
  # gobi-artifact
16
16
 
17
- Gobi artifact commands for versioned, post-attachable creations (v2.0.27).
17
+ Gobi artifact commands for versioned, post-attachable creations (v2.0.28).
18
18
 
19
19
  Requires gobi-cli installed and authenticated. See gobi-core skill for setup.
20
20
 
@@ -8,12 +8,12 @@ description: >-
8
8
  allowed-tools: Bash(gobi:*)
9
9
  metadata:
10
10
  author: gobi-ai
11
- version: "2.0.27"
11
+ version: "2.0.28"
12
12
  ---
13
13
 
14
14
  # gobi-core
15
15
 
16
- Core CLI commands for the Gobi collaborative knowledge platform (v2.0.27).
16
+ Core CLI commands for the Gobi collaborative knowledge platform (v2.0.28).
17
17
 
18
18
  ## Prerequisites
19
19
 
@@ -7,7 +7,7 @@ description: >-
7
7
  allowed-tools: Bash(gobi:*)
8
8
  metadata:
9
9
  author: gobi-ai
10
- version: "2.0.27"
10
+ version: "2.0.28"
11
11
  ---
12
12
 
13
13
  # Gobi Homepage Developer Guide
@@ -10,12 +10,12 @@ description: >-
10
10
  allowed-tools: Bash(gobi:*)
11
11
  metadata:
12
12
  author: gobi-ai
13
- version: "2.0.27"
13
+ version: "2.0.28"
14
14
  ---
15
15
 
16
16
  # gobi-media
17
17
 
18
- Gobi media generation commands (v2.0.27).
18
+ Gobi media generation commands (v2.0.28).
19
19
 
20
20
  Requires gobi-cli installed and authenticated. See gobi-core skill for setup.
21
21
 
@@ -7,12 +7,12 @@ description: >-
7
7
  allowed-tools: Bash(gobi:*)
8
8
  metadata:
9
9
  author: gobi-ai
10
- version: "2.0.27"
10
+ version: "2.0.28"
11
11
  ---
12
12
 
13
13
  # gobi-sense
14
14
 
15
- Gobi sense commands for activity and transcription data (v2.0.27).
15
+ Gobi sense commands for activity and transcription data (v2.0.28).
16
16
 
17
17
  Requires gobi-cli installed and authenticated. See the **gobi-core** skill for setup.
18
18
 
@@ -11,12 +11,12 @@ description: >-
11
11
  allowed-tools: Bash(gobi:*)
12
12
  metadata:
13
13
  author: gobi-ai
14
- version: "2.0.27"
14
+ version: "2.0.28"
15
15
  ---
16
16
 
17
17
  # gobi-space
18
18
 
19
- Gobi space, global, and personal-space posts (v2.0.27).
19
+ Gobi space, global, and personal-space posts (v2.0.28).
20
20
 
21
21
  Requires gobi-cli installed and authenticated. See the **gobi-core** skill for setup.
22
22
 
@@ -8,12 +8,12 @@ description: >-
8
8
  allowed-tools: Bash(gobi:*)
9
9
  metadata:
10
10
  author: gobi-ai
11
- version: "2.0.27"
11
+ version: "2.0.28"
12
12
  ---
13
13
 
14
14
  # gobi-vault
15
15
 
16
- Gobi vault commands for publishing your vault profile and syncing files (v2.0.27).
16
+ Gobi vault commands for publishing your vault profile and syncing files (v2.0.28).
17
17
 
18
18
  Requires gobi-cli installed and authenticated. See gobi-core skill for setup.
19
19
 
@@ -23,7 +23,7 @@ Most `gobi vault …` commands resolve the target vault from the current directo
23
23
 
24
24
  Exceptions:
25
25
  - `vault init`, `vault list`, `vault create <slug>` — no `.gobi` required.
26
- - `vault delete <slug>`, `vault set-primary <slug>` — slug is a positional, no `.gobi` fallback.
26
+ - `vault delete <slug>` — slug is a positional, no `.gobi` fallback.
27
27
  - `vault rename <newName>`, `vault status` — accept an optional `--vault-slug <slug>` to target a vault other than the one in `.gobi`.
28
28
 
29
29
  ## Gobi Vault
@@ -41,11 +41,10 @@ gobi --json vault publish
41
41
  ## Available Commands
42
42
 
43
43
  - `gobi vault init` — Interactive: select an existing vault or create a new one. Writes `vaultSlug` to `.gobi/settings.yaml` in the current directory and seeds `PUBLISH.md`. Requires the user to be logged in (`gobi auth login`).
44
- - `gobi vault list` — List vaults you own. The primary vault is marked.
44
+ - `gobi vault list` — List vaults you own.
45
45
  - `gobi vault status` — Show the configured vault's publish state (`isPublished`), profile fields (`title`, `description`, `tags`), referenced files (`thumbnailPath`, `homepagePath`, `promptPath`), file count, and the public profile URL. Use this as a diagnostic before authoring a markdown artifact with `--auto-attachments` (see gobi-artifact skill) to confirm the vault is public — files uploaded to a non-public vault are stored on webdrive but are not visible at `gobispace.com/@{vaultSlug}` until you run `gobi vault publish`.
46
- - `gobi vault create <slug> --name <name>` — Create a new vault with the given slug and display name. Slug must be unique (use `vault list` to see what's taken). Does not change the configured vault — run `vault init` here or `vault set-primary <slug>` afterwards if you want to anchor to it.
46
+ - `gobi vault create <slug> --name <name>` — Create a new vault with the given slug and display name. Slug must be unique (use `vault list` to see what's taken). Does not change the configured vault — run `vault init` here afterwards if you want to anchor to it.
47
47
  - `gobi vault rename <newName>` — Rename the configured vault's display name. Pass `--vault-slug <slug>` to target another vault. Local handle only — the public profile title comes from `PUBLISH.md` frontmatter and is unaffected.
48
- - `gobi vault set-primary <slug>` — Mark a vault as your primary. Unsets primary on the others. Required arg, no `.gobi` fallback (avoids accidental promotion).
49
48
  - `gobi vault delete <slug>` — Delete a vault. Irreversible. Required arg, no `.gobi` fallback. The API will reject if the vault still owns content; clean up posts, members, and files first.
50
49
  - `gobi vault publish` — Upload `PUBLISH.md` to the vault root on webdrive. Triggers post-processing (vault profile sync, metadata update).
51
50
  - `gobi vault unpublish` — Delete `PUBLISH.md` from the vault on webdrive.
@@ -69,7 +68,6 @@ Every command in this skill writes external state — webdrive files and the pub
69
68
  - `vault unpublish` — removes the live profile. Always confirm.
70
69
  - `vault sync` — can overwrite remote or local files. Run `--dry-run` first and show the user the plan before re-running without `--dry-run`. With `--conflict server` or `--conflict client`, name which side is going to be overwritten.
71
70
  - `vault delete <slug>` — irreversible; cannot undo. Confirm the slug and that the user actually means to delete *that* vault before running.
72
- - `vault set-primary <slug>` — flips which vault is treated as primary across the user's account. Confirm the target.
73
71
  - `vault create` / `vault rename` — creating spends a slug permanently; renaming is reversible but visible. Show the user the resolved slug + name before running.
74
72
 
75
73
  ## PUBLISH.md Frontmatter Reference
@@ -11,12 +11,11 @@ Options:
11
11
  Commands:
12
12
  init Select or create the vault for the current directory. Writes .gobi/settings.yaml and seeds PUBLISH.md.
13
13
  create [options] <slug> Create a new vault. <slug> must be unique (use 'gobi vault list' to see existing slugs); --name sets the display name. Does not change the configured vault — run 'gobi
14
- vault init' or 'gobi vault set-primary' afterwards if you want to anchor to it.
14
+ vault init' afterwards if you want to anchor to it.
15
15
  rename [options] <newName> Rename a vault. Defaults to the configured vault (.gobi/settings.yaml); pass --vault-slug to target another. Does not affect PUBLISH.md frontmatter (which controls the
16
16
  public profile title) — this is the local display name only.
17
17
  delete <slug> Delete a vault. Irreversible. Slug must be passed explicitly (no .gobi fallback). The API will reject if the vault still owns content; clean up posts, members, and files
18
18
  first.
19
- set-primary <slug> Mark a vault as your primary. Unsets primary on the other vaults you own. Slug must be passed explicitly.
20
19
  list List vaults you own.
21
20
  status [options] Show the configured vault's publish state and metadata (use before authoring a markdown artifact with --auto-attachments to confirm the vault is public).
22
21
  publish Upload PUBLISH.md to the vault root on webdrive. Triggers post-processing (vault sync, metadata update).
@@ -41,8 +40,8 @@ Options:
41
40
  ```
42
41
  Usage: gobi vault create [options] <slug>
43
42
 
44
- Create a new vault. <slug> must be unique (use 'gobi vault list' to see existing slugs); --name sets the display name. Does not change the configured vault — run 'gobi vault init' or 'gobi vault
45
- set-primary' afterwards if you want to anchor to it.
43
+ Create a new vault. <slug> must be unique (use 'gobi vault list' to see existing slugs); --name sets the display name. Does not change the configured vault — run 'gobi vault init' afterwards if you
44
+ want to anchor to it.
46
45
 
47
46
  Options:
48
47
  --name <name> Display name for the new vault
@@ -73,17 +72,6 @@ Options:
73
72
  -h, --help display help for command
74
73
  ```
75
74
 
76
- ## set-primary
77
-
78
- ```
79
- Usage: gobi vault set-primary [options] <slug>
80
-
81
- Mark a vault as your primary. Unsets primary on the other vaults you own. Slug must be passed explicitly.
82
-
83
- Options:
84
- -h, --help display help for command
85
- ```
86
-
87
75
  ## list
88
76
 
89
77
  ```