@gobi-ai/cli 0.6.15 → 0.6.16

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/README.md CHANGED
@@ -44,7 +44,7 @@ gobi space warp
44
44
  gobi brain search --query "machine learning"
45
45
 
46
46
  # Ask a brain a question
47
- gobi brain ask --vault-slug my-vault --space-slug my-space --question "What is RAG?"
47
+ gobi brain ask --vault-slug my-vault --question "What is RAG?"
48
48
  ```
49
49
 
50
50
  ## Commands
@@ -62,27 +62,35 @@ gobi brain ask --vault-slug my-vault --space-slug my-space --question "What is R
62
62
  | Command | Description |
63
63
  |---------|-------------|
64
64
  | `gobi init` | Log in (if needed) and select or create a vault |
65
- | `gobi space warp` | Select the active space |
65
+ | `gobi space list` | List spaces you are a member of |
66
+ | `gobi space warp [spaceSlug]` | Select the active space (interactive if slug omitted) |
66
67
 
67
68
  ### Brains
68
69
 
69
70
  | Command | Description |
70
71
  |---------|-------------|
71
- | `gobi brain search --query <q>` | Search brains across all your spaces |
72
- | `gobi brain ask --vault-slug <slug> --space-slug <slug> --question <q>` | Ask a brain a question (creates a 1:1 session) |
72
+ | `gobi brain search --query <q>` | Search public brains by text and semantic similarity |
73
+ | `gobi brain ask --vault-slug <slug> --question <q>` | Ask a brain a question (creates a 1:1 session) |
73
74
  | `gobi brain publish` | Upload `BRAIN.md` to your vault |
74
75
  | `gobi brain unpublish` | Remove `BRAIN.md` from your vault |
75
76
 
77
+ Public brains are accessible at `https://gobispace.com/@{vaultSlug}`.
78
+
79
+ `brain ask` also accepts `--rich-text <json>` (mutually exclusive with `--question`) and `--mode <auto|manual>`.
80
+
76
81
  ### Brain Updates
77
82
 
78
83
  | Command | Description |
79
84
  |---------|-------------|
80
- | `gobi brain list-updates` | List brain updates for your vault |
85
+ | `gobi brain list-updates` | List brain updates |
81
86
  | `gobi brain list-updates --mine` | List only your own brain updates |
82
87
  | `gobi brain post-update --title <t> --content <c>` | Post a brain update |
83
- | `gobi brain edit-update <id> --title <t>` | Edit a brain update |
88
+ | `gobi brain edit-update <id> [--title <t>] [--content <c>]` | Edit a brain update (at least one required) |
84
89
  | `gobi brain delete-update <id>` | Delete a brain update |
85
90
 
91
+ `list-updates` also accepts `--space-slug <slug>` to scope to a space, and `--limit`/`--cursor` for pagination.
92
+ `post-update` and `edit-update` accept `--auto-attachments` to upload wiki-linked `[[files]]` before posting.
93
+
86
94
  ### Threads
87
95
 
88
96
  | Command | Description |
@@ -90,7 +98,7 @@ gobi brain ask --vault-slug my-vault --space-slug my-space --question "What is R
90
98
  | `gobi space list-threads` | List threads in the current space |
91
99
  | `gobi space get-thread <id>` | Get a thread and its replies |
92
100
  | `gobi space create-thread --title <t> --content <c>` | Create a thread |
93
- | `gobi space edit-thread <id> --title <t>` | Edit a thread |
101
+ | `gobi space edit-thread <id> [--title <t>] [--content <c>]` | Edit a thread (at least one required) |
94
102
  | `gobi space delete-thread <id>` | Delete a thread |
95
103
 
96
104
  ### Replies
@@ -108,15 +116,44 @@ gobi brain ask --vault-slug my-vault --space-slug my-space --question "What is R
108
116
  | `gobi session list` | List your sessions |
109
117
  | `gobi session get <id>` | Get a session and its messages |
110
118
  | `gobi session reply <id> --content <c>` | Send a message in a session |
111
- | `gobi session update <id> --mode <mode>` | Set session mode (auto/manual) |
112
119
 
113
- ### Global options
120
+ `session reply` also accepts `--rich-text <json>` (mutually exclusive with `--content`).
121
+
122
+ ### Sense
123
+
124
+ | Command | Description |
125
+ |---------|-------------|
126
+ | `gobi sense activities --start-time <iso> --end-time <iso>` | Fetch activity records in a time range |
127
+ | `gobi sense transcriptions --start-time <iso> --end-time <iso>` | Fetch transcription records in a time range |
128
+
129
+ Times are ISO 8601 UTC (e.g. `2026-03-20T00:00:00Z`).
130
+
131
+ ### Sync
132
+
133
+ | Command | Description |
134
+ |---------|-------------|
135
+ | `gobi sync` | Sync local vault files with Gobi Webdrive |
114
136
 
115
137
  | Option | Description |
116
138
  |--------|-------------|
117
- | `--json` | Output results as JSON |
118
- | `--space-slug <slug>` | Override the default space (on `space` commands); required on `brain ask`, optional filter on `session list` |
119
- | `--vault-slug <slug>` | Override the default vault (on `brain list-updates` and `brain post-update`) |
139
+ | `--upload-only` | Only upload local changes to server |
140
+ | `--download-only` | Only download server changes to local |
141
+ | `--conflict <strategy>` | Conflict resolution: `ask` (default), `server`, `client`, `skip` |
142
+ | `--dir <path>` | Local vault directory (default: current directory) |
143
+ | `--dry-run` | Preview changes without making them |
144
+ | `--full` | Full sync: ignore cursor and hash cache, re-check every file |
145
+ | `--path <path>` | Restrict sync to specific file/folder (repeatable) |
146
+ | `--plan-file <path>` | Write dry-run plan to file, or read plan to execute |
147
+ | `--execute` | Execute a previously written plan file (requires `--plan-file`) |
148
+ | `--conflict-choices <json>` | Per-file conflict resolutions as JSON (use with `--execute`) |
149
+
150
+ ### Global options
151
+
152
+ | Option | Scope | Description |
153
+ |--------|-------|-------------|
154
+ | `--json` | All commands | Output results as JSON |
155
+ | `--space-slug <slug>` | `space` commands | Override the default space (from `.gobi/settings.yaml`) |
156
+ | `--vault-slug <slug>` | Per-command | Override the default vault; available on `brain list-updates`, `brain post-update`, `brain edit-update`, `space create-thread`, `space edit-thread`, `space edit-reply` |
120
157
 
121
158
  ## Configuration
122
159
 
@@ -124,7 +161,7 @@ gobi brain ask --vault-slug my-vault --space-slug my-space --question "What is R
124
161
 
125
162
  | Variable | Default | Description |
126
163
  |----------|---------|-------------|
127
- | `GOBI_BASE_URL` | `https://backend.joingobi.com` | API server URL |
164
+ | `GOBI_BASE_URL` | `https://api.joingobi.com` | API server URL |
128
165
  | `GOBI_WEBDRIVE_BASE_URL` | `https://webdrive.joingobi.com` | File storage URL |
129
166
 
130
167
  ### Files
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gobi-ai/cli",
3
- "version": "0.6.15",
3
+ "version": "0.6.16",
4
4
  "description": "CLI client for the Gobi collaborative knowledge platform",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -10,12 +10,12 @@ description: >-
10
10
  allowed-tools: Bash(gobi:*)
11
11
  metadata:
12
12
  author: gobi-ai
13
- version: "0.6.14"
13
+ version: "0.6.16"
14
14
  ---
15
15
 
16
16
  # gobi-cli
17
17
 
18
- A CLI client for the Gobi collaborative knowledge platform (v0.6.14).
18
+ A CLI client for the Gobi collaborative knowledge platform (v0.6.16).
19
19
 
20
20
  ## Prerequisites
21
21
 
@@ -98,11 +98,11 @@ gobi auth status
98
98
 
99
99
  ## Gobi Brain — Knowledge Management
100
100
 
101
- `gobi brain` commands manage your vault's brain: search across all spaces, ask brains questions, and publish/unpublish your BRAIN.md.
101
+ `gobi brain` commands manage your vault's brain: search across all spaces, ask brains questions, and publish/unpublish your BRAIN.md. Public brains are accessible at `https://gobispace.com/@{vaultSlug}`.
102
102
 
103
103
  ## Gobi Session — Conversations
104
104
 
105
- `gobi session` commands manage your conversations: list, read, reply to, and update sessions.
105
+ `gobi session` commands manage your conversations: list, read, and reply to sessions.
106
106
 
107
107
  ## Important: JSON Mode
108
108
 
@@ -192,6 +192,8 @@ gobi auth --help
192
192
  gobi space --help
193
193
  gobi brain --help
194
194
  gobi session --help
195
+ gobi sense --help
196
+ gobi sync --help
195
197
  ```
196
198
 
197
199
  ## Configuration Files
@@ -206,5 +208,5 @@ gobi session --help
206
208
 
207
209
  | Variable | Default | Description |
208
210
  |----------|---------|-------------|
209
- | `GOBI_BASE_URL` | `https://backend.joingobi.com` | API server URL |
211
+ | `GOBI_BASE_URL` | `https://api.joingobi.com` | API server URL |
210
212
  | `GOBI_WEBDRIVE_BASE_URL` | `https://webdrive.joingobi.com` | File storage URL |
@@ -98,11 +98,11 @@ gobi auth status
98
98
 
99
99
  ## Gobi Brain — Knowledge Management
100
100
 
101
- `gobi brain` commands manage your vault's brain: search across all spaces, ask brains questions, and publish/unpublish your BRAIN.md.
101
+ `gobi brain` commands manage your vault's brain: search across all spaces, ask brains questions, and publish/unpublish your BRAIN.md. Public brains are accessible at `https://gobispace.com/@{vaultSlug}`.
102
102
 
103
103
  ## Gobi Session — Conversations
104
104
 
105
- `gobi session` commands manage your conversations: list, read, reply to, and update sessions.
105
+ `gobi session` commands manage your conversations: list, read, and reply to sessions.
106
106
 
107
107
  ## Important: JSON Mode
108
108
 
@@ -154,6 +154,8 @@ gobi auth --help
154
154
  gobi space --help
155
155
  gobi brain --help
156
156
  gobi session --help
157
+ gobi sense --help
158
+ gobi sync --help
157
159
  ```
158
160
 
159
161
  ## Configuration Files
@@ -168,5 +170,5 @@ gobi session --help
168
170
 
169
171
  | Variable | Default | Description |
170
172
  |----------|---------|-------------|
171
- | `GOBI_BASE_URL` | `https://backend.joingobi.com` | API server URL |
173
+ | `GOBI_BASE_URL` | `https://api.joingobi.com` | API server URL |
172
174
  | `GOBI_WEBDRIVE_BASE_URL` | `https://webdrive.joingobi.com` | File storage URL |
@@ -6,12 +6,15 @@ Usage: gobi sync [options]
6
6
  Sync local vault files with Gobi Webdrive.
7
7
 
8
8
  Options:
9
- --upload-only Only upload local changes to server
10
- --download-only Only download server changes to local
11
- --conflict <strategy> Conflict resolution strategy: ask|server|client|skip (default: "ask")
12
- --dir <path> Local vault directory (default: current directory)
13
- --dry-run Preview changes without making them
14
- --full Full sync: ignore cursor and hash cache, re-check every file
15
- --path <path> Restrict sync to a specific file or folder (repeatable) (default: [])
16
- -h, --help display help for command
9
+ --upload-only Only upload local changes to server
10
+ --download-only Only download server changes to local
11
+ --conflict <strategy> Conflict resolution strategy: ask|server|client|skip (default: "ask")
12
+ --dir <path> Local vault directory (default: current directory)
13
+ --dry-run Preview changes without making them
14
+ --full Full sync: ignore cursor and hash cache, re-check every file
15
+ --path <path> Restrict sync to a specific file or folder (repeatable) (default: [])
16
+ --plan-file <path> Write dry-run plan to file (use with --dry-run) or read plan to execute (use with --execute)
17
+ --execute Execute a previously written plan file (requires --plan-file)
18
+ --conflict-choices <json> Per-file conflict resolutions as JSON object, e.g. '{"file.md":"server"}' (use with --execute)
19
+ -h, --help display help for command
17
20
  ```