@gobi-ai/cli 0.9.12 → 0.9.14
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": "0.9.
|
|
7
|
+
"version": "0.9.14",
|
|
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": "0.9.
|
|
12
|
+
"version": "0.9.14",
|
|
13
13
|
"author": {
|
|
14
14
|
"name": "gobi-ai"
|
|
15
15
|
},
|
package/package.json
CHANGED
|
@@ -51,6 +51,63 @@ gobi --json brain search --query "machine learning"
|
|
|
51
51
|
- `gobi brain edit-update` — Edit a published brain update. You must be the author.
|
|
52
52
|
- `gobi brain delete-update` — Delete a published brain update. You must be the author.
|
|
53
53
|
|
|
54
|
+
## BRAIN.md Frontmatter Reference
|
|
55
|
+
|
|
56
|
+
`BRAIN.md` is the metadata file at the root of every vault. Its YAML frontmatter controls the vault's public profile, homepage, and AI agent behavior. Example:
|
|
57
|
+
|
|
58
|
+
```yaml
|
|
59
|
+
---
|
|
60
|
+
title: My Brain
|
|
61
|
+
tags:
|
|
62
|
+
- topic1
|
|
63
|
+
- topic2
|
|
64
|
+
description: A short description of what this brain is about.
|
|
65
|
+
thumbnail: "[[BRAIN.png]]"
|
|
66
|
+
homepage: "[[app/home.html?nav=false]]"
|
|
67
|
+
prompt: "[[system-prompt.md]]"
|
|
68
|
+
---
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Fields
|
|
72
|
+
|
|
73
|
+
- **`title`** (required) — Display name of the brain/vault.
|
|
74
|
+
- **`description`** (required for public listing) — Short description shown on the brain card and public profile. Without both `title` and `description`, the brain won't appear in the public catalog.
|
|
75
|
+
- **`tags`** — Tags for categorization and discovery. Supports YAML block list or inline array format:
|
|
76
|
+
```yaml
|
|
77
|
+
# Block list
|
|
78
|
+
tags:
|
|
79
|
+
- ambient ai
|
|
80
|
+
- wearables
|
|
81
|
+
|
|
82
|
+
# Inline array
|
|
83
|
+
tags: [ambient ai, wearables]
|
|
84
|
+
```
|
|
85
|
+
- **`thumbnail`** — Profile image for the brain card. Uses wiki-link syntax pointing to an image file in the vault (e.g. `"[[BRAIN.png]]"`).
|
|
86
|
+
- **`homepage`** — Custom HTML page to serve as the vault's public homepage at `gobispace.com/@{vaultSlug}`. Uses wiki-link syntax pointing to an HTML file in the vault. Supports a `nav` query parameter to control Gobi's sidebar navigation:
|
|
87
|
+
- `"[[app/home.html]]"` — Shows the Gobi sidebar alongside the homepage (default)
|
|
88
|
+
- `"[[app/home.html?nav=false]]"` — Full-screen, no Gobi sidebar/chrome
|
|
89
|
+
- **`prompt`** — Wiki-link to a custom system prompt file for the brain's AI agent (e.g. `"[[system-prompt.md]]"`).
|
|
90
|
+
|
|
91
|
+
> For details on building custom HTML homepages and using the `window.gobi` API, see the **gobi-homepage** skill.
|
|
92
|
+
|
|
93
|
+
## Publishing Workflow
|
|
94
|
+
|
|
95
|
+
After editing `BRAIN.md` frontmatter, follow these steps to make your changes live:
|
|
96
|
+
|
|
97
|
+
1. **Edit `BRAIN.md`** in the vault root with the desired frontmatter fields.
|
|
98
|
+
2. **Sync referenced files** — if the homepage HTML, thumbnail image, or prompt file is new or updated, upload them first:
|
|
99
|
+
```bash
|
|
100
|
+
gobi sync
|
|
101
|
+
```
|
|
102
|
+
3. **Publish the brain**:
|
|
103
|
+
```bash
|
|
104
|
+
gobi brain publish
|
|
105
|
+
```
|
|
106
|
+
This uploads `BRAIN.md` to webdrive, triggers post-processing that extracts metadata (title, description, tags, thumbnail, homepage path), updates the vault's public profile, and sends a Discord notification.
|
|
107
|
+
4. The vault is now live at `https://gobispace.com/@{vaultSlug}`.
|
|
108
|
+
|
|
109
|
+
> **Important:** Any time you change `BRAIN.md` frontmatter (e.g. adding or updating `homepage`), you must re-run `gobi brain publish` for the changes to take effect.
|
|
110
|
+
|
|
54
111
|
## Reference Documentation
|
|
55
112
|
|
|
56
113
|
- [gobi brain](references/brain.md)
|