@gobi-ai/cli 2.0.4 → 2.0.6
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/README.md +56 -42
- package/commands/space-share.md +1 -1
- package/dist/commands/auth.js +38 -9
- package/dist/commands/draft.js +9 -13
- package/dist/commands/global.js +90 -24
- package/dist/commands/init.js +36 -35
- package/dist/commands/media.js +39 -39
- package/dist/commands/saved.js +31 -41
- package/dist/commands/sense.js +4 -4
- package/dist/commands/sessions.js +6 -6
- package/dist/commands/space.js +188 -68
- package/dist/commands/utils.js +7 -2
- package/dist/commands/vault.js +40 -4
- package/dist/main.js +37 -13
- package/package.json +1 -1
- package/skills/gobi-core/SKILL.md +38 -42
- package/skills/gobi-core/references/session.md +10 -10
- package/skills/gobi-core/references/space.md +6 -6
- package/skills/gobi-draft/SKILL.md +4 -4
- package/skills/gobi-draft/references/draft.md +9 -8
- package/skills/gobi-media/SKILL.md +37 -38
- package/skills/gobi-media/references/media.md +59 -59
- package/skills/gobi-saved/SKILL.md +27 -26
- package/skills/gobi-saved/references/saved.md +108 -26
- package/skills/gobi-sense/SKILL.md +8 -8
- package/skills/gobi-sense/references/sense.md +10 -10
- package/skills/gobi-space/SKILL.md +28 -10
- package/skills/gobi-space/references/global.md +21 -15
- package/skills/gobi-space/references/space.md +54 -35
- package/skills/gobi-vault/SKILL.md +12 -5
- package/skills/gobi-vault/references/vault.md +25 -1
- package/skills/gobi-core/references/init.md +0 -10
|
@@ -10,12 +10,12 @@ description: >-
|
|
|
10
10
|
allowed-tools: Bash(gobi:*)
|
|
11
11
|
metadata:
|
|
12
12
|
author: gobi-ai
|
|
13
|
-
version: "2.0.
|
|
13
|
+
version: "2.0.6"
|
|
14
14
|
---
|
|
15
15
|
|
|
16
16
|
# gobi-space
|
|
17
17
|
|
|
18
|
-
Gobi space and global posts (v2.0.
|
|
18
|
+
Gobi space and global posts (v2.0.6).
|
|
19
19
|
|
|
20
20
|
Requires gobi-cli installed and authenticated. See the **gobi-core** skill for setup.
|
|
21
21
|
|
|
@@ -31,19 +31,37 @@ Anything you can do to a Space Post (reply, edit, delete, attribute to a vault)
|
|
|
31
31
|
- When the user wants to explore or catch up on what's happening in their space, invoke `/gobi:space-explore`.
|
|
32
32
|
- When the user wants to share or post learnings from the current session, invoke `/gobi:space-share`.
|
|
33
33
|
|
|
34
|
+
## Authoring posts: title vs. content
|
|
35
|
+
|
|
36
|
+
`create-post` (and `edit-post`) on both `gobi space` and `gobi global` take `--title` and `--content` as **separate** fields. The title is rendered as the post heading by the UI, so it must not also appear inside `--content`:
|
|
37
|
+
|
|
38
|
+
- Do **not** repeat the title as a heading (`# My title`) or as the first line of `--content`. The reader will see it twice.
|
|
39
|
+
- Start `--content` with the body itself.
|
|
40
|
+
- If you only have a single blob of markdown, split it: take the first heading or sentence as `--title`, drop that line, and pass the rest as `--content`.
|
|
41
|
+
- On `edit-post`, the same rule applies — if you change `--title`, scrub any duplicate of the old or new title from `--content` too.
|
|
42
|
+
|
|
43
|
+
The same applies to replies: a reply has only `--content` (no title), so do not synthesize a title-like heading at the top of a reply either.
|
|
44
|
+
|
|
34
45
|
## Author vault attribution (`--vault-slug`)
|
|
35
46
|
|
|
36
47
|
Both `gobi space create-post` / `edit-post` and `gobi global create-post` / `edit-post` accept `--vault-slug <slug>`. When set, the slug becomes the post's `authorVaultSlug` — the vault the user is posting on behalf of. The caller must hold `role: 'owner'` on that vault. Pass `--vault-slug ""` on edit to detach.
|
|
37
48
|
|
|
38
49
|
`--auto-attachments` resolves a vault for upload and **also** uses it as `authorVaultSlug` automatically — one flag, two effects.
|
|
39
50
|
|
|
40
|
-
##
|
|
51
|
+
## Prerequisites & space slug
|
|
41
52
|
|
|
42
|
-
`gobi space` commands
|
|
53
|
+
`gobi space` commands do **not** require a vault to be configured in `.gobi/settings.yaml`. They only need a space slug, which can come from either:
|
|
43
54
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
55
|
+
1. `selectedSpaceSlug` in `.gobi/settings.yaml` (set via `gobi space warp`), or
|
|
56
|
+
2. A parent-level `--space-slug <slug>` flag passed at call time, which overrides `.gobi`:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
gobi space --space-slug <slug> list-posts
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
If `.gobi/settings.yaml` has no `selectedSpaceSlug` and `--space-slug` isn't passed, the command will error.
|
|
63
|
+
|
|
64
|
+
`gobi global` commands target the public global feed and have no space requirement and no `.gobi` requirement. `gobi global create-post` is symmetric with `gobi space create-post`: a vault is **optional** — pass `--vault-slug <slug>` (or rely on `.gobi`'s `vaultSlug` when using `--auto-attachments`) to attribute the post; with neither flag the post is created without an `authorVaultSlug`.
|
|
47
65
|
|
|
48
66
|
## Important: JSON Mode
|
|
49
67
|
|
|
@@ -87,11 +105,11 @@ gobi --json space list-posts
|
|
|
87
105
|
- `gobi global feed` — List the public global feed (posts and replies, newest first).
|
|
88
106
|
- `gobi global list-posts` — List personal posts. `--mine` for your own; `--vault-slug <slug>` to filter by author vault.
|
|
89
107
|
- `gobi global get-post <postId>` — Get a personal post with its ancestors and replies.
|
|
90
|
-
- `gobi global create-post` — Create a personal post. `--vault-slug` and `--auto-attachments` work the same as on `space create-post`.
|
|
91
|
-
- `gobi global edit-post <postId>` — Edit a personal post you authored. `--vault-slug ""` detaches the vault.
|
|
108
|
+
- `gobi global create-post` — Create a personal post. `--vault-slug` and `--auto-attachments` work the same as on `space create-post`. Both are optional: with neither, the post is created without an `authorVaultSlug` (vault-less personal post).
|
|
109
|
+
- `gobi global edit-post <postId>` — Edit a personal post you authored. `--vault-slug ""` detaches the vault; `--auto-attachments` uploads wiki-links before saving.
|
|
92
110
|
- `gobi global delete-post <postId>` — Delete a personal post you authored.
|
|
93
111
|
- `gobi global create-reply <postId>` — Reply to a personal post.
|
|
94
|
-
- `gobi global edit-reply <replyId>` — Edit a reply you authored.
|
|
112
|
+
- `gobi global edit-reply <replyId>` — Edit a reply you authored. Accepts `--auto-attachments` and `--vault-slug` for attachment uploads (mirrors `space edit-reply`).
|
|
95
113
|
- `gobi global delete-reply <replyId>` — Delete a reply you authored.
|
|
96
114
|
|
|
97
115
|
## Confirm before mutating
|
|
@@ -9,13 +9,13 @@ Options:
|
|
|
9
9
|
-h, --help display help for command
|
|
10
10
|
|
|
11
11
|
Commands:
|
|
12
|
-
feed [options] List the
|
|
12
|
+
feed [options] List the unified feed (posts and replies, newest first) in the global public feed.
|
|
13
13
|
list-posts [options] List posts in the global feed (paginated). Pass --mine to limit to your own posts.
|
|
14
14
|
get-post [options] <postId> Get a global post with its ancestors and replies (paginated).
|
|
15
|
-
create-post [options] Create a post in the global feed
|
|
15
|
+
create-post [options] Create a post in the global feed. --vault-slug attributes it to a vault you own; defaults to your primary vault.
|
|
16
16
|
edit-post [options] <postId> Edit a post you authored in the global feed.
|
|
17
17
|
delete-post <postId> Delete a post you authored in the global feed.
|
|
18
|
-
create-reply [options] <postId>
|
|
18
|
+
create-reply [options] <postId> Create a reply to a post in the global feed.
|
|
19
19
|
edit-reply [options] <replyId> Edit a reply you authored in the global feed.
|
|
20
20
|
delete-reply <replyId> Delete a reply you authored in the global feed.
|
|
21
21
|
help [command] display help for command
|
|
@@ -26,7 +26,7 @@ Commands:
|
|
|
26
26
|
```
|
|
27
27
|
Usage: gobi global feed [options]
|
|
28
28
|
|
|
29
|
-
List the
|
|
29
|
+
List the unified feed (posts and replies, newest first) in the global public feed.
|
|
30
30
|
|
|
31
31
|
Options:
|
|
32
32
|
--limit <number> Items per page (default: "20")
|
|
@@ -58,7 +58,7 @@ Usage: gobi global get-post [options] <postId>
|
|
|
58
58
|
Get a global post with its ancestors and replies (paginated).
|
|
59
59
|
|
|
60
60
|
Options:
|
|
61
|
-
--limit <number>
|
|
61
|
+
--limit <number> Items per page (default: "20")
|
|
62
62
|
--cursor <string> Pagination cursor from previous response
|
|
63
63
|
--full Show full reply content without truncation
|
|
64
64
|
-h, --help display help for command
|
|
@@ -69,14 +69,14 @@ Options:
|
|
|
69
69
|
```
|
|
70
70
|
Usage: gobi global create-post [options]
|
|
71
71
|
|
|
72
|
-
Create a post in the global feed
|
|
72
|
+
Create a post in the global feed. --vault-slug attributes it to a vault you own; defaults to your primary vault.
|
|
73
73
|
|
|
74
74
|
Options:
|
|
75
75
|
--title <title> Title of the post
|
|
76
76
|
--content <content> Post content (markdown supported, use "-" for stdin)
|
|
77
77
|
--rich-text <richText> Rich-text JSON array (mutually exclusive with --content)
|
|
78
|
-
--vault-slug <vaultSlug>
|
|
79
|
-
--auto-attachments Upload wiki-linked [[files]] to webdrive before posting
|
|
78
|
+
--vault-slug <vaultSlug> Attribute the post to this vault (sets authorVaultSlug). Defaults to your primary vault.
|
|
79
|
+
--auto-attachments Upload wiki-linked [[files]] to webdrive before posting (also sets authorVaultSlug to that vault)
|
|
80
80
|
-h, --help display help for command
|
|
81
81
|
```
|
|
82
82
|
|
|
@@ -91,7 +91,8 @@ Options:
|
|
|
91
91
|
--title <title> New title
|
|
92
92
|
--content <content> New content (markdown supported, use "-" for stdin)
|
|
93
93
|
--rich-text <richText> Rich-text JSON array (mutually exclusive with --content)
|
|
94
|
-
--vault-slug <vaultSlug> Attribute the post to this vault (sets
|
|
94
|
+
--vault-slug <vaultSlug> Attribute the post to this vault (sets authorVaultSlug).
|
|
95
|
+
--auto-attachments Upload wiki-linked [[files]] to webdrive before editing (uses --vault-slug or .gobi vault)
|
|
95
96
|
-h, --help display help for command
|
|
96
97
|
```
|
|
97
98
|
|
|
@@ -111,12 +112,14 @@ Options:
|
|
|
111
112
|
```
|
|
112
113
|
Usage: gobi global create-reply [options] <postId>
|
|
113
114
|
|
|
114
|
-
|
|
115
|
+
Create a reply to a post in the global feed.
|
|
115
116
|
|
|
116
117
|
Options:
|
|
117
|
-
--content <content>
|
|
118
|
-
--rich-text <richText>
|
|
119
|
-
-
|
|
118
|
+
--content <content> Reply content (markdown supported, use "-" for stdin)
|
|
119
|
+
--rich-text <richText> Rich-text JSON array (mutually exclusive with --content)
|
|
120
|
+
--vault-slug <vaultSlug> Attribute the reply to this vault (sets authorVaultSlug). Also used as upload destination for --auto-attachments.
|
|
121
|
+
--auto-attachments Upload wiki-linked [[files]] to webdrive before posting (also attributes the reply to that vault)
|
|
122
|
+
-h, --help display help for command
|
|
120
123
|
```
|
|
121
124
|
|
|
122
125
|
## edit-reply
|
|
@@ -127,8 +130,11 @@ Usage: gobi global edit-reply [options] <replyId>
|
|
|
127
130
|
Edit a reply you authored in the global feed.
|
|
128
131
|
|
|
129
132
|
Options:
|
|
130
|
-
--content <content>
|
|
131
|
-
-
|
|
133
|
+
--content <content> New reply content (markdown supported, use "-" for stdin)
|
|
134
|
+
--rich-text <richText> Rich-text JSON array (mutually exclusive with --content)
|
|
135
|
+
--vault-slug <vaultSlug> Attribute the reply to this vault (sets authorVaultSlug). Also used as upload destination for --auto-attachments.
|
|
136
|
+
--auto-attachments Upload wiki-linked [[files]] to webdrive before editing (also attributes the reply to that vault)
|
|
137
|
+
-h, --help display help for command
|
|
132
138
|
```
|
|
133
139
|
|
|
134
140
|
## delete-reply
|
|
@@ -6,12 +6,12 @@ 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 <
|
|
9
|
+
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
10
10
|
-h, --help display help for command
|
|
11
11
|
|
|
12
12
|
Commands:
|
|
13
13
|
list List spaces you are a member of.
|
|
14
|
-
get [spaceSlug]
|
|
14
|
+
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).
|
|
15
15
|
warp [spaceSlug] Select the active space. Pass a slug to warp directly, or omit for interactive selection.
|
|
16
16
|
list-topics [options] List topics in a space, ordered by most recent content linkage.
|
|
17
17
|
list-topic-posts [options] <topicSlug> List posts tagged with a topic in a space (cursor-paginated).
|
|
@@ -19,11 +19,11 @@ Commands:
|
|
|
19
19
|
get-post [options] <postId> Get a post with its ancestors and replies (paginated).
|
|
20
20
|
list-posts [options] List posts in a space (paginated).
|
|
21
21
|
create-post [options] Create a post in a space.
|
|
22
|
-
edit-post [options] <postId> Edit a post
|
|
23
|
-
delete-post <postId>
|
|
22
|
+
edit-post [options] <postId> Edit a post you authored in a space.
|
|
23
|
+
delete-post [options] <postId> Delete a post you authored in a space.
|
|
24
24
|
create-reply [options] <postId> Create a reply to a post in a space.
|
|
25
|
-
edit-reply [options] <replyId> Edit a reply
|
|
26
|
-
delete-reply <replyId>
|
|
25
|
+
edit-reply [options] <replyId> Edit a reply you authored in a space.
|
|
26
|
+
delete-reply [options] <replyId> Delete a reply you authored in a space.
|
|
27
27
|
help [command] display help for command
|
|
28
28
|
```
|
|
29
29
|
|
|
@@ -35,7 +35,8 @@ Usage: gobi space get [options] [spaceSlug]
|
|
|
35
35
|
Get details for a space. Pass a slug or omit to use the current space (from .gobi/settings.yaml or --space-slug).
|
|
36
36
|
|
|
37
37
|
Options:
|
|
38
|
-
-
|
|
38
|
+
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
39
|
+
-h, --help display help for command
|
|
39
40
|
```
|
|
40
41
|
|
|
41
42
|
## list-topics
|
|
@@ -46,8 +47,9 @@ Usage: gobi space list-topics [options]
|
|
|
46
47
|
List topics in a space, ordered by most recent content linkage.
|
|
47
48
|
|
|
48
49
|
Options:
|
|
49
|
-
--limit <number>
|
|
50
|
-
-
|
|
50
|
+
--limit <number> Items per page (default: "20")
|
|
51
|
+
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
52
|
+
-h, --help display help for command
|
|
51
53
|
```
|
|
52
54
|
|
|
53
55
|
## list-topic-posts
|
|
@@ -58,9 +60,10 @@ Usage: gobi space list-topic-posts [options] <topicSlug>
|
|
|
58
60
|
List posts tagged with a topic in a space (cursor-paginated).
|
|
59
61
|
|
|
60
62
|
Options:
|
|
61
|
-
--limit <number>
|
|
62
|
-
--cursor <string>
|
|
63
|
-
-
|
|
63
|
+
--limit <number> Items per page (default: "20")
|
|
64
|
+
--cursor <string> Pagination cursor from previous response
|
|
65
|
+
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
66
|
+
-h, --help display help for command
|
|
64
67
|
```
|
|
65
68
|
|
|
66
69
|
## feed
|
|
@@ -71,9 +74,10 @@ Usage: gobi space feed [options]
|
|
|
71
74
|
List the unified feed (posts and replies, newest first) in a space.
|
|
72
75
|
|
|
73
76
|
Options:
|
|
74
|
-
--limit <number>
|
|
75
|
-
--cursor <string>
|
|
76
|
-
-
|
|
77
|
+
--limit <number> Items per page (default: "20")
|
|
78
|
+
--cursor <string> Pagination cursor from previous response
|
|
79
|
+
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
80
|
+
-h, --help display help for command
|
|
77
81
|
```
|
|
78
82
|
|
|
79
83
|
## get-post
|
|
@@ -84,9 +88,11 @@ Usage: gobi space get-post [options] <postId>
|
|
|
84
88
|
Get a post with its ancestors and replies (paginated).
|
|
85
89
|
|
|
86
90
|
Options:
|
|
87
|
-
--limit <number>
|
|
88
|
-
--cursor <string>
|
|
89
|
-
|
|
91
|
+
--limit <number> Items per page (default: "20")
|
|
92
|
+
--cursor <string> Pagination cursor from previous response
|
|
93
|
+
--full Show full reply content without truncation
|
|
94
|
+
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
95
|
+
-h, --help display help for command
|
|
90
96
|
```
|
|
91
97
|
|
|
92
98
|
## list-posts
|
|
@@ -97,9 +103,10 @@ Usage: gobi space list-posts [options]
|
|
|
97
103
|
List posts in a space (paginated).
|
|
98
104
|
|
|
99
105
|
Options:
|
|
100
|
-
--limit <number>
|
|
101
|
-
--cursor <string>
|
|
102
|
-
-
|
|
106
|
+
--limit <number> Items per page (default: "20")
|
|
107
|
+
--cursor <string> Pagination cursor from previous response
|
|
108
|
+
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
109
|
+
-h, --help display help for command
|
|
103
110
|
```
|
|
104
111
|
|
|
105
112
|
## create-post
|
|
@@ -111,9 +118,11 @@ Create a post in a space.
|
|
|
111
118
|
|
|
112
119
|
Options:
|
|
113
120
|
--title <title> Title of the post
|
|
114
|
-
--content <content> Post content (markdown supported)
|
|
121
|
+
--content <content> Post content (markdown supported, use "-" for stdin)
|
|
122
|
+
--rich-text <richText> Rich-text JSON array (mutually exclusive with --content)
|
|
115
123
|
--auto-attachments Upload wiki-linked [[files]] to webdrive before posting (also attributes the post to that vault)
|
|
116
124
|
--vault-slug <vaultSlug> Attribute the post to this vault (sets authorVaultId). Also used as upload destination for --auto-attachments.
|
|
125
|
+
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
117
126
|
-h, --help display help for command
|
|
118
127
|
```
|
|
119
128
|
|
|
@@ -122,13 +131,15 @@ Options:
|
|
|
122
131
|
```
|
|
123
132
|
Usage: gobi space edit-post [options] <postId>
|
|
124
133
|
|
|
125
|
-
Edit a post
|
|
134
|
+
Edit a post you authored in a space.
|
|
126
135
|
|
|
127
136
|
Options:
|
|
128
137
|
--title <title> New title for the post
|
|
129
|
-
--content <content> New content for the post (markdown supported)
|
|
138
|
+
--content <content> New content for the post (markdown supported, use "-" for stdin)
|
|
139
|
+
--rich-text <richText> Rich-text JSON array (mutually exclusive with --content)
|
|
130
140
|
--auto-attachments Upload wiki-linked [[files]] to webdrive before editing (also attributes the post to that vault)
|
|
131
|
-
--vault-slug <vaultSlug> Attribute the post to this vault (sets authorVaultId). Also used as upload destination for --auto-attachments.
|
|
141
|
+
--vault-slug <vaultSlug> Attribute the post to this vault (sets authorVaultId). Also used as upload destination for --auto-attachments.
|
|
142
|
+
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
132
143
|
-h, --help display help for command
|
|
133
144
|
```
|
|
134
145
|
|
|
@@ -137,10 +148,11 @@ Options:
|
|
|
137
148
|
```
|
|
138
149
|
Usage: gobi space delete-post [options] <postId>
|
|
139
150
|
|
|
140
|
-
Delete a post
|
|
151
|
+
Delete a post you authored in a space.
|
|
141
152
|
|
|
142
153
|
Options:
|
|
143
|
-
-
|
|
154
|
+
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
155
|
+
-h, --help display help for command
|
|
144
156
|
```
|
|
145
157
|
|
|
146
158
|
## create-reply
|
|
@@ -151,8 +163,12 @@ Usage: gobi space create-reply [options] <postId>
|
|
|
151
163
|
Create a reply to a post in a space.
|
|
152
164
|
|
|
153
165
|
Options:
|
|
154
|
-
--content <content>
|
|
155
|
-
-
|
|
166
|
+
--content <content> Reply content (markdown supported, use "-" for stdin)
|
|
167
|
+
--rich-text <richText> Rich-text JSON array (mutually exclusive with --content)
|
|
168
|
+
--auto-attachments Upload wiki-linked [[files]] to webdrive before posting (also attributes the reply to that vault)
|
|
169
|
+
--vault-slug <vaultSlug> Attribute the reply to this vault (sets authorVaultSlug). Also used as upload destination for --auto-attachments.
|
|
170
|
+
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
171
|
+
-h, --help display help for command
|
|
156
172
|
```
|
|
157
173
|
|
|
158
174
|
## edit-reply
|
|
@@ -160,12 +176,14 @@ Options:
|
|
|
160
176
|
```
|
|
161
177
|
Usage: gobi space edit-reply [options] <replyId>
|
|
162
178
|
|
|
163
|
-
Edit a reply
|
|
179
|
+
Edit a reply you authored in a space.
|
|
164
180
|
|
|
165
181
|
Options:
|
|
166
|
-
--content <content> New content for the reply (markdown supported)
|
|
167
|
-
--
|
|
168
|
-
--
|
|
182
|
+
--content <content> New content for the reply (markdown supported, use "-" for stdin)
|
|
183
|
+
--rich-text <richText> Rich-text JSON array (mutually exclusive with --content)
|
|
184
|
+
--auto-attachments Upload wiki-linked [[files]] to webdrive before editing (also attributes the reply to that vault)
|
|
185
|
+
--vault-slug <vaultSlug> Attribute the reply to this vault (sets authorVaultSlug). Also used as upload destination for --auto-attachments.
|
|
186
|
+
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
169
187
|
-h, --help display help for command
|
|
170
188
|
```
|
|
171
189
|
|
|
@@ -174,8 +192,9 @@ Options:
|
|
|
174
192
|
```
|
|
175
193
|
Usage: gobi space delete-reply [options] <replyId>
|
|
176
194
|
|
|
177
|
-
Delete a reply
|
|
195
|
+
Delete a reply you authored in a space.
|
|
178
196
|
|
|
179
197
|
Options:
|
|
180
|
-
-
|
|
198
|
+
--space-slug <spaceSlug> Space slug (overrides .gobi/settings.yaml)
|
|
199
|
+
-h, --help display help for command
|
|
181
200
|
```
|
|
@@ -1,21 +1,26 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: gobi-vault
|
|
3
3
|
description: >-
|
|
4
|
-
Gobi vault commands
|
|
5
|
-
publish/unpublish PUBLISH.md and run the local-to-webdrive
|
|
6
|
-
the user wants to
|
|
4
|
+
Gobi vault commands: initialize the vault for the current directory, list
|
|
5
|
+
vaults you own, publish/unpublish PUBLISH.md, and run the local-to-webdrive
|
|
6
|
+
sync. Use when the user wants to set up a vault, publish/unpublish it, or
|
|
7
|
+
push/pull files.
|
|
7
8
|
allowed-tools: Bash(gobi:*)
|
|
8
9
|
metadata:
|
|
9
10
|
author: gobi-ai
|
|
10
|
-
version: "2.0.
|
|
11
|
+
version: "2.0.6"
|
|
11
12
|
---
|
|
12
13
|
|
|
13
14
|
# gobi-vault
|
|
14
15
|
|
|
15
|
-
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.6).
|
|
16
17
|
|
|
17
18
|
Requires gobi-cli installed and authenticated. See gobi-core skill for setup.
|
|
18
19
|
|
|
20
|
+
## Prerequisites
|
|
21
|
+
|
|
22
|
+
Every `gobi vault …` command **except `vault init`** requires a vault to be configured in the current directory's `.gobi/settings.yaml` (specifically a `vaultSlug` entry). There is no per-call `--vault-slug` override on these commands — the vault is always resolved from `.gobi`. If `.gobi/settings.yaml` is missing or has no `vaultSlug`, run `gobi vault init` first.
|
|
23
|
+
|
|
19
24
|
## Gobi Vault
|
|
20
25
|
|
|
21
26
|
A "vault" is your file-backed knowledge home. Public vaults are accessible at `https://gobispace.com/@{vaultSlug}`. Each vault has a profile written to `PUBLISH.md` at its root; publishing pushes that file to webdrive, which then updates vault metadata and the public profile.
|
|
@@ -30,6 +35,8 @@ gobi --json vault publish
|
|
|
30
35
|
|
|
31
36
|
## Available Commands
|
|
32
37
|
|
|
38
|
+
- `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`).
|
|
39
|
+
- `gobi vault list` — List vaults you own. The primary vault is marked.
|
|
33
40
|
- `gobi vault publish` — Upload `PUBLISH.md` to the vault root on webdrive. Triggers post-processing (vault profile sync, metadata update, Discord notification).
|
|
34
41
|
- `gobi vault unpublish` — Delete `PUBLISH.md` from the vault on webdrive.
|
|
35
42
|
- `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`.
|
|
@@ -3,18 +3,42 @@
|
|
|
3
3
|
```
|
|
4
4
|
Usage: gobi vault [options] [command]
|
|
5
5
|
|
|
6
|
-
Vault commands (publish/unpublish profile, sync files).
|
|
6
|
+
Vault commands (init, list, publish/unpublish profile, sync files).
|
|
7
7
|
|
|
8
8
|
Options:
|
|
9
9
|
-h, --help display help for command
|
|
10
10
|
|
|
11
11
|
Commands:
|
|
12
|
+
init Select or create the vault for the current directory. Writes .gobi/settings.yaml and seeds PUBLISH.md.
|
|
13
|
+
list List vaults you own.
|
|
12
14
|
publish Upload PUBLISH.md to the vault root on webdrive. Triggers post-processing (vault sync, metadata update, Discord notification).
|
|
13
15
|
unpublish Delete PUBLISH.md from the vault on webdrive.
|
|
14
16
|
sync [options] Sync local vault files with Gobi Webdrive.
|
|
15
17
|
help [command] display help for command
|
|
16
18
|
```
|
|
17
19
|
|
|
20
|
+
## init
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
Usage: gobi vault init [options]
|
|
24
|
+
|
|
25
|
+
Select or create the vault for the current directory. Writes .gobi/settings.yaml and seeds PUBLISH.md.
|
|
26
|
+
|
|
27
|
+
Options:
|
|
28
|
+
-h, --help display help for command
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## list
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
Usage: gobi vault list [options]
|
|
35
|
+
|
|
36
|
+
List vaults you own.
|
|
37
|
+
|
|
38
|
+
Options:
|
|
39
|
+
-h, --help display help for command
|
|
40
|
+
```
|
|
41
|
+
|
|
18
42
|
## publish
|
|
19
43
|
|
|
20
44
|
```
|