@gobi-ai/cli 1.3.0 → 1.3.1

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": "1.3.0",
7
+ "version": "1.3.1",
8
8
  "plugins": [
9
9
  {
10
10
  "name": "gobi",
11
11
  "description": "Manage the Gobi collaborative knowledge platform from the command line. Search and ask brains, publish brain documents, create threads, manage sessions, generate images and videos.",
12
- "version": "1.3.0",
12
+ "version": "1.3.1",
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": "1.3.0",
4
+ "version": "1.3.1",
5
5
  "author": {
6
6
  "name": "gobi-ai"
7
7
  },
@@ -22,6 +22,7 @@ export function registerFeedCommand(program) {
22
22
  jsonOut({
23
23
  items: resp.data || [],
24
24
  pagination: resp.pagination || {},
25
+ mentions: resp.mentions || {},
25
26
  });
26
27
  return;
27
28
  }
@@ -63,8 +64,9 @@ export function registerFeedCommand(program) {
63
64
  const resp = (await apiGet(`/feed/${updateId}`, params));
64
65
  const data = unwrapResp(resp);
65
66
  const pagination = (resp.pagination || {});
67
+ const mentions = (resp.mentions || {});
66
68
  if (isJsonMode(feed)) {
67
- jsonOut({ ...data, pagination });
69
+ jsonOut({ ...data, pagination, mentions });
68
70
  return;
69
71
  }
70
72
  const update = (data.update || data);
@@ -107,8 +109,9 @@ export function registerFeedCommand(program) {
107
109
  content,
108
110
  }));
109
111
  const reply = unwrapResp(resp);
112
+ const mentions = (resp.mentions || {});
110
113
  if (isJsonMode(feed)) {
111
- jsonOut(reply);
114
+ jsonOut({ ...reply, mentions });
112
115
  return;
113
116
  }
114
117
  console.log(`Reply created!\n ID: ${reply.id}\n Created: ${reply.createdAt}`);
@@ -142,8 +142,9 @@ export function registerSpaceCommand(program) {
142
142
  const resp = (await apiGet(`/spaces/${spaceSlug}/threads/${threadId}`, params));
143
143
  const data = unwrapResp(resp);
144
144
  const pagination = (resp.pagination || {});
145
+ const mentions = (resp.mentions || {});
145
146
  if (isJsonMode(space)) {
146
- jsonOut({ ...data, pagination });
147
+ jsonOut({ ...data, pagination, mentions });
147
148
  return;
148
149
  }
149
150
  const thread = (data.thread || data);
@@ -187,6 +188,7 @@ export function registerSpaceCommand(program) {
187
188
  jsonOut({
188
189
  items: resp.data || [],
189
190
  pagination: resp.pagination || {},
191
+ mentions: resp.mentions || {},
190
192
  });
191
193
  return;
192
194
  }
@@ -292,8 +294,9 @@ export function registerSpaceCommand(program) {
292
294
  const spaceSlug = resolveSpaceSlug(space);
293
295
  const resp = (await apiPost(`/spaces/${spaceSlug}/threads/${threadId}/replies`, { content: readContent(opts.content) }));
294
296
  const msg = unwrapResp(resp);
297
+ const mentions = (resp.mentions || {});
295
298
  if (isJsonMode(space)) {
296
- jsonOut(msg);
299
+ jsonOut({ ...msg, mentions });
297
300
  return;
298
301
  }
299
302
  console.log(`Reply created!\n ID: ${msg.id}\n Created: ${msg.createdAt}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gobi-ai/cli",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "CLI client for the Gobi collaborative knowledge platform",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -8,12 +8,12 @@ description: >-
8
8
  allowed-tools: Bash(gobi:*)
9
9
  metadata:
10
10
  author: gobi-ai
11
- version: "1.3.0"
11
+ version: "1.3.1"
12
12
  ---
13
13
 
14
14
  # gobi-feed
15
15
 
16
- Gobi feed commands for the global brain-update feed (v1.3.0).
16
+ Gobi feed commands for the global brain-update feed (v1.3.1).
17
17
 
18
18
  Requires gobi-cli installed and authenticated. See gobi-core skill for setup.
19
19