@gobi-ai/cli 2.0.29 → 2.0.31
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.
- package/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/dist/attachments.js +35 -11
- package/dist/client.js +3 -0
- package/dist/commands/global.js +49 -7
- package/dist/commands/init.js +10 -1
- package/dist/commands/personal.js +49 -7
- package/dist/commands/space.js +147 -8
- package/dist/commands/sync.js +20 -2
- package/dist/commands/utils.js +70 -0
- package/dist/commands/vault.js +15 -3
- package/package.json +1 -1
- package/skills/gobi-artifact/SKILL.md +2 -2
- package/skills/gobi-core/SKILL.md +2 -2
- package/skills/gobi-core/references/space.md +5 -5
- package/skills/gobi-homepage/SKILL.md +19 -6
- package/skills/gobi-media/SKILL.md +2 -2
- package/skills/gobi-sense/SKILL.md +2 -2
- package/skills/gobi-space/SKILL.md +27 -8
- package/skills/gobi-space/references/global.md +30 -5
- package/skills/gobi-space/references/personal.md +30 -5
- package/skills/gobi-space/references/space.md +91 -20
- package/skills/gobi-vault/SKILL.md +3 -3
|
@@ -6,23 +6,29 @@ Usage: gobi space [options] [command]
|
|
|
6
6
|
Space commands (posts, replies). Space and member admin is web-UI only.
|
|
7
7
|
|
|
8
8
|
Options:
|
|
9
|
-
--space-slug <spaceSlug>
|
|
10
|
-
-h, --help
|
|
9
|
+
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
10
|
+
-h, --help display help for command
|
|
11
11
|
|
|
12
12
|
Commands:
|
|
13
|
-
get [options] [spaceSlug]
|
|
14
|
-
list-topics [options]
|
|
15
|
-
list-topic-posts [options] <topicSlug>
|
|
16
|
-
feed [options]
|
|
17
|
-
get-post [options] <postId>
|
|
18
|
-
list-posts [options]
|
|
19
|
-
create-post [options]
|
|
20
|
-
edit-post [options] <postId>
|
|
21
|
-
delete-post [options] <postId>
|
|
22
|
-
create-reply [options] <postId>
|
|
23
|
-
edit-reply [options] <replyId>
|
|
24
|
-
delete-reply [options] <replyId>
|
|
25
|
-
|
|
13
|
+
get [options] [spaceSlug] Get details for a space. Pass a slug or omit to use the current space (from .gobi/settings.yaml or --space-slug).
|
|
14
|
+
list-topics [options] List topics in a space, ordered by most recent content linkage.
|
|
15
|
+
list-topic-posts [options] <topicSlug> List posts tagged with a topic in a space (cursor-paginated).
|
|
16
|
+
feed [options] List the unified feed (posts and replies, newest first) in a space.
|
|
17
|
+
get-post [options] <postId> Get a post with its ancestors and replies (paginated).
|
|
18
|
+
list-posts [options] List posts in a space (paginated).
|
|
19
|
+
create-post [options] Create a post in a space.
|
|
20
|
+
edit-post [options] <postId> Edit a post you authored in a space.
|
|
21
|
+
delete-post [options] <postId> Delete a post you authored in a space.
|
|
22
|
+
create-reply [options] <postId> Create a reply to a post in a space.
|
|
23
|
+
edit-reply [options] <replyId> Edit a reply you authored in a space.
|
|
24
|
+
delete-reply [options] <replyId> Delete a reply you authored in a space.
|
|
25
|
+
react [options] <postId> <emoji> Add an emoji reaction to a post or reply (idempotent). <postId> is the numeric id of a post OR a reply — the [p:N]/[r:N] ids shown in feed output.
|
|
26
|
+
unreact [options] <postId> <emoji> Remove your emoji reaction from a post or reply. <postId> is the numeric id of a post OR a reply.
|
|
27
|
+
list-channels [options] List channels visible to you in a space (members: yours; space owner/admin: all). The main feed is not a channel — read it by omitting --channel on
|
|
28
|
+
`feed`.
|
|
29
|
+
get-channel [options] <channelId> Get one channel (channel members, space owner/admin, or the agent on agent-enabled channels).
|
|
30
|
+
list-channel-members [options] <channelId> List the members of a channel.
|
|
31
|
+
help [command] display help for command
|
|
26
32
|
```
|
|
27
33
|
|
|
28
34
|
## get
|
|
@@ -74,6 +80,7 @@ List the unified feed (posts and replies, newest first) in a space.
|
|
|
74
80
|
Options:
|
|
75
81
|
--limit <number> Items per page (default: "20")
|
|
76
82
|
--cursor <string> Pagination cursor from previous response
|
|
83
|
+
--channel <channelId> Channel id to read instead of the main feed (see `list-channels`). Omit for the main feed.
|
|
77
84
|
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
78
85
|
-h, --help display help for command
|
|
79
86
|
```
|
|
@@ -103,6 +110,7 @@ List posts in a space (paginated).
|
|
|
103
110
|
Options:
|
|
104
111
|
--limit <number> Items per page (default: "20")
|
|
105
112
|
--cursor <string> Pagination cursor from previous response
|
|
113
|
+
--channel <channelId> Channel id to read instead of the main feed (see `list-channels`). Omit for the main feed.
|
|
106
114
|
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
107
115
|
-h, --help display help for command
|
|
108
116
|
```
|
|
@@ -120,9 +128,12 @@ Options:
|
|
|
120
128
|
--rich-text <richText> Rich-text JSON array (mutually exclusive with --content)
|
|
121
129
|
--artifact <artifactId> Attach an existing artifact to the post (repeatable). Create artifacts with `gobi artifact create`. (default: [])
|
|
122
130
|
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
123
|
-
--attach <file> Local media file to attach. Repeatable.
|
|
131
|
+
--attach <file> Local media or document file to attach. Repeatable. Mix rule: up to 4 photos + up to 4 document files (pdf/md/txt/csv) OR 1 GIF OR 1 video. Size ceilings: 10MB photos /
|
|
132
|
+
15MB GIFs / 512MB video / 250MB files. (default: [])
|
|
124
133
|
--repost-post-id <postId> Wrap an existing top-level post as the embedded card on this new post. Composes with --content / --rich-text / --attach (the wrapping author's text + media render above
|
|
125
134
|
the embedded card). Reposts-of-reposts are collapsed to the transitive root server-side. The referenced post must exist, not be deleted, and not itself be a reply.
|
|
135
|
+
--channel <channelId> Channel id to post into (see `list-channels`). Omit to post to the space's main feed. You must be able to see the channel (member, space owner/admin, or the space agent
|
|
136
|
+
on an agent-enabled channel).
|
|
126
137
|
-h, --help display help for command
|
|
127
138
|
```
|
|
128
139
|
|
|
@@ -138,8 +149,8 @@ Options:
|
|
|
138
149
|
--content <content> New content for the post (markdown supported, use "-" for stdin)
|
|
139
150
|
--rich-text <richText> Rich-text JSON array (mutually exclusive with --content)
|
|
140
151
|
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
141
|
-
--attach <file> Replace the post's media attachments with the given files (existing attachments are removed). Repeatable.
|
|
142
|
-
ceilings:
|
|
152
|
+
--attach <file> Replace the post's media attachments with the given files (existing attachments are removed). Repeatable. Mix rule: up to 4 photos + up to 4 document files
|
|
153
|
+
(pdf/md/txt/csv) OR 1 GIF OR 1 video. Size ceilings: 10MB photos / 15MB GIFs / 512MB video / 250MB files. Omit to leave attachments unchanged. (default: [])
|
|
143
154
|
--artifact <artifactId> Replace the post's artifact attachments with the given artifact(s) (existing artifact attachments are removed). Repeatable. Omit to leave them unchanged. Create artifacts
|
|
144
155
|
with `gobi artifact create`. (default: [])
|
|
145
156
|
-h, --help display help for command
|
|
@@ -168,8 +179,8 @@ Options:
|
|
|
168
179
|
--content <content> Reply content (markdown supported, use "-" for stdin)
|
|
169
180
|
--rich-text <richText> Rich-text JSON array (mutually exclusive with --content)
|
|
170
181
|
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
171
|
-
--attach <file> Local media file to attach to this reply. Repeatable.
|
|
172
|
-
[])
|
|
182
|
+
--attach <file> Local media or document file to attach to this reply. Repeatable. Mix rule: up to 4 photos + up to 4 document files (pdf/md/txt/csv) OR 1 GIF OR 1 video. Size ceilings:
|
|
183
|
+
10MB photos / 15MB GIFs / 512MB video / 250MB files. (default: [])
|
|
173
184
|
-h, --help display help for command
|
|
174
185
|
```
|
|
175
186
|
|
|
@@ -198,3 +209,63 @@ Options:
|
|
|
198
209
|
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
199
210
|
-h, --help display help for command
|
|
200
211
|
```
|
|
212
|
+
|
|
213
|
+
## react
|
|
214
|
+
|
|
215
|
+
```
|
|
216
|
+
Usage: gobi space react [options] <postId> <emoji>
|
|
217
|
+
|
|
218
|
+
Add an emoji reaction to a post or reply (idempotent). <postId> is the numeric id of a post OR a reply — the [p:N]/[r:N] ids shown in feed output.
|
|
219
|
+
|
|
220
|
+
Options:
|
|
221
|
+
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
222
|
+
-h, --help display help for command
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
## unreact
|
|
226
|
+
|
|
227
|
+
```
|
|
228
|
+
Usage: gobi space unreact [options] <postId> <emoji>
|
|
229
|
+
|
|
230
|
+
Remove your emoji reaction from a post or reply. <postId> is the numeric id of a post OR a reply.
|
|
231
|
+
|
|
232
|
+
Options:
|
|
233
|
+
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
234
|
+
-h, --help display help for command
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
## list-channels
|
|
238
|
+
|
|
239
|
+
```
|
|
240
|
+
Usage: gobi space list-channels [options]
|
|
241
|
+
|
|
242
|
+
List channels visible to you in a space (members: yours; space owner/admin: all). The main feed is not a channel — read it by omitting --channel on `feed`.
|
|
243
|
+
|
|
244
|
+
Options:
|
|
245
|
+
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
246
|
+
-h, --help display help for command
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
## get-channel
|
|
250
|
+
|
|
251
|
+
```
|
|
252
|
+
Usage: gobi space get-channel [options] <channelId>
|
|
253
|
+
|
|
254
|
+
Get one channel (channel members, space owner/admin, or the agent on agent-enabled channels).
|
|
255
|
+
|
|
256
|
+
Options:
|
|
257
|
+
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
258
|
+
-h, --help display help for command
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
## list-channel-members
|
|
262
|
+
|
|
263
|
+
```
|
|
264
|
+
Usage: gobi space list-channel-members [options] <channelId>
|
|
265
|
+
|
|
266
|
+
List the members of a channel.
|
|
267
|
+
|
|
268
|
+
Options:
|
|
269
|
+
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
270
|
+
-h, --help display help for command
|
|
271
|
+
```
|
|
@@ -8,12 +8,12 @@ description: >-
|
|
|
8
8
|
allowed-tools: Bash(gobi:*)
|
|
9
9
|
metadata:
|
|
10
10
|
author: gobi-ai
|
|
11
|
-
version: "2.0.
|
|
11
|
+
version: "2.0.31"
|
|
12
12
|
---
|
|
13
13
|
|
|
14
14
|
# gobi-vault
|
|
15
15
|
|
|
16
|
-
Gobi vault commands for publishing your vault profile and syncing files (v2.0.
|
|
16
|
+
Gobi vault commands for publishing your vault profile and syncing files (v2.0.31).
|
|
17
17
|
|
|
18
18
|
Requires gobi-cli installed and authenticated. See gobi-core skill for setup.
|
|
19
19
|
|
|
@@ -46,7 +46,7 @@ gobi --json vault publish
|
|
|
46
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
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.
|
|
49
|
-
- `gobi vault publish` — Upload `PUBLISH.md` to the vault root on webdrive. Triggers post-processing (vault profile sync, metadata update).
|
|
49
|
+
- `gobi vault publish` — Upload `PUBLISH.md` to the vault root on webdrive. Triggers post-processing (vault profile sync, metadata update). If `PUBLISH.md` is missing (e.g. a legacy vault that only has `BRAIN.md`), a starter `PUBLISH.md` is scaffolded locally and **nothing is pushed** — fill in at least `title` and `description`, then re-run.
|
|
50
50
|
- `gobi vault unpublish` — Delete `PUBLISH.md` from the vault on webdrive.
|
|
51
51
|
- `gobi vault sync` — Sync local vault files with Gobi Webdrive. Supports `--upload-only`, `--download-only`, `--conflict <ask|server|client|skip>`, `--dry-run`, `--full`, `--path <p>`, `--plan-file`, `--execute`.
|
|
52
52
|
|