@gobi-ai/cli 2.0.42 → 2.0.43

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": "2.0.40",
7
+ "version": "2.0.43",
8
8
  "plugins": [
9
9
  {
10
10
  "name": "gobi",
11
11
  "description": "Manage the Gobi collaborative knowledge platform from the command line. Publish vault profiles, create posts and replies, generate images and videos.",
12
- "version": "2.0.40",
12
+ "version": "2.0.43",
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": "2.0.40",
4
+ "version": "2.0.43",
5
5
  "author": {
6
6
  "name": "gobi-ai"
7
7
  },
package/README.md CHANGED
@@ -222,7 +222,7 @@ Like posts and artifacts, Sense data is **scoped to a space**: the subcommands l
222
222
 
223
223
  ### Artifacts
224
224
 
225
- An *artifact* is a versioned, human-owned creation attached to posts. Kinds: `image | video | gif | markdown | meeting_summary`. Markdown kinds carry a body; media kinds carry an uploaded file. Revisions form a draft/published tree (at most one published per artifact). Markdown kinds store `metadata.vaultSlug` for `[[wikilink]]` resolution. See the `gobi-artifact` skill for full workflows.
225
+ An *artifact* is a versioned, human-owned creation attached to posts. Kinds: `image | video | gif | markdown | note`. Markdown kinds (`markdown`, `note`) carry a body; media kinds carry an uploaded file. Revisions form a draft/published tree (at most one published per artifact). Markdown kinds store `metadata.vaultSlug` for `[[wikilink]]` resolution. See the `gobi-artifact` skill for full workflows.
226
226
 
227
227
  Artifacts are **scoped to a space**: the subcommands live under `gobi personal artifact …` (your personal space) and `gobi space artifact …` (the active team space — `gobi space warp <slug>` or `gobi space --space-slug <slug> artifact …`). `<scope>` below is `personal` or `space`.
228
228
 
@@ -230,7 +230,7 @@ Artifacts are **scoped to a space**: the subcommands live under `gobi personal a
230
230
  |---------|-------------|
231
231
  | `gobi <scope> artifact list [--kind <k>] [--limit N]` | List this scope's artifacts (newest first) |
232
232
  | `gobi <scope> artifact get <artifactId>` | Get one artifact with its current revision |
233
- | `gobi <scope> artifact create --kind <k> [--file <path> \| --content <md>] [--title <t>] [--vault-slug <slug>] [--post-id <id>] [--auto-attachments] [--change-note <note>]` | Create an artifact in this scope. markdown/meeting_summary take a body via `--file`, `--content`, or stdin (`-`); image/gif/video upload `--file`. `--post-id` attaches it to a post (appends, doesn't clobber). `--auto-attachments` (markdown) uploads `[[wikilinks]]` to `--vault-slug`. |
233
+ | `gobi <scope> artifact create --kind <k> [--file <path> \| --content <md>] [--title <t>] [--vault-slug <slug>] [--post-id <id>] [--auto-attachments] [--change-note <note>]` | Create an artifact in this scope. markdown/note take a body via `--file`, `--content`, or stdin (`-`); image/gif/video upload `--file`. `--post-id` attaches it to a post (appends, doesn't clobber). `--auto-attachments` (markdown) uploads `[[wikilinks]]` to `--vault-slug`. |
234
234
  | `gobi <scope> artifact revise <artifactId> [--file <path> \| --content <md>] [--change-note <note>] [--from <revisionId>] [--auto-attachments]` | Add a draft revision. `--from` branches off a specific revision. `--auto-attachments` reuses the artifact's stored `metadata.vaultSlug`. |
235
235
  | `gobi <scope> artifact publish <artifactId> --revision <revisionId>` | Publish a revision (the artifact's single published revision) |
236
236
  | `gobi <scope> artifact revert <artifactId> --to <revisionId>` | Move the published pointer to an earlier revision |
@@ -4,8 +4,10 @@ import { apiDelete, apiGet, apiPatch, apiPost } from "../client.js";
4
4
  import { isJsonMode, jsonOut, readStdin, unwrapResp } from "./utils.js";
5
5
  import { extractWikiLinks, uploadAttachments } from "../attachments.js";
6
6
  import { getValidToken } from "../auth/manager.js";
7
- // Artifact kinds, mirrored from the backend (entities/artifact.entity.ts).
8
- const MARKDOWN_KINDS = ["markdown", "meeting_summary"];
7
+ // Artifact kinds, mirrored from the backend (entities/artifact.entity.ts:
8
+ // MARKDOWN_ARTIFACT_KINDS / MEDIA_ARTIFACT_KINDS). Keep in sync — the create
9
+ // DTO rejects anything outside this set.
10
+ const MARKDOWN_KINDS = ["markdown", "note"];
9
11
  const MEDIA_KINDS = ["image", "video", "gif"];
10
12
  const ALL_KINDS = [...MEDIA_KINDS, ...MARKDOWN_KINDS];
11
13
  function isMarkdownKind(kind) {
@@ -16,7 +18,7 @@ function isMediaKind(kind) {
16
18
  }
17
19
  // Best-effort extension → MIME mapping for artifact media uploads. Mirrors the
18
20
  // post-attachment map in attachments.ts; the backend derives the per-tier size
19
- // ceiling (5MB photos / 15MB GIFs / 512MB video) from the content type.
21
+ // ceiling (10MB photos / 15MB GIFs / 512MB video) from the content type.
20
22
  const ARTIFACT_MIME_MAP = {
21
23
  ".jpg": "image/jpeg",
22
24
  ".jpeg": "image/jpeg",
@@ -143,7 +145,7 @@ export function registerArtifactSubcommands(parent, scope, description) {
143
145
  // ── Create ──
144
146
  artifact
145
147
  .command("create")
146
- .description("Create an artifact. markdown/meeting_summary kinds take a body via --file, --content, or stdin (\"-\"). image/gif/video kinds upload --file. Pass --post-id to attach the new artifact to a post.")
148
+ .description("Create an artifact. markdown/note kinds take a body via --file, --content, or stdin (\"-\"). image/gif/video kinds upload --file. Pass --post-id to attach the new artifact to a post.")
147
149
  .requiredOption("--kind <kind>", `Artifact kind: ${ALL_KINDS.join(" | ")}`)
148
150
  .option("--file <path>", "Local file: markdown body (markdown kinds) or media file (media kinds)")
149
151
  .option("--content <md>", "Markdown body inline (markdown kinds; pass \"-\" for stdin)")
@@ -171,7 +173,7 @@ export function registerArtifactSubcommands(parent, scope, description) {
171
173
  if (isMarkdownKind(kind)) {
172
174
  const content = resolveBody(opts);
173
175
  if (content == null) {
174
- throw new Error("markdown/meeting_summary kinds require a body via --file, --content, or stdin.");
176
+ throw new Error("markdown/note kinds require a body via --file, --content, or stdin.");
175
177
  }
176
178
  if (opts.autoAttachments) {
177
179
  if (!opts.vaultSlug) {
@@ -239,7 +241,7 @@ export function registerArtifactSubcommands(parent, scope, description) {
239
241
  if (isMarkdownKind(kind)) {
240
242
  const content = resolveBody(opts);
241
243
  if (content == null) {
242
- throw new Error("markdown/meeting_summary kinds require a new body via --file, --content, or stdin.");
244
+ throw new Error("markdown/note kinds require a new body via --file, --content, or stdin.");
243
245
  }
244
246
  if (opts.autoAttachments) {
245
247
  const vaultSlug = existing.metadata?.vaultSlug;
@@ -504,7 +504,7 @@ export function registerPersonalCommand(program) {
504
504
  });
505
505
  // ── Artifacts (scoped to your personal space) ──
506
506
  registerArtifactSubcommands(personal, { resolve: () => ({}) }, "Versioned creations attached to posts, scoped to your personal space (visible " +
507
- "only to you). Kinds: image | video | gif | markdown | meeting_summary. Always " +
507
+ "only to you). Kinds: image | video | gif | markdown | note. Always " +
508
508
  "human-owned; revisions form a draft/published tree (one published per artifact).");
509
509
  // ── Sense: activities + conversations (scoped to your personal space) ──
510
510
  const senseScope = {
@@ -728,7 +728,7 @@ export function registerSpaceCommand(program) {
728
728
  });
729
729
  // ── Artifacts (scoped to this space) ──
730
730
  registerArtifactSubcommands(space, { resolve: () => ({ spaceSlug: resolveSpaceSlug(space) }) }, "Versioned creations attached to posts, scoped to this space (visible to its " +
731
- "members). Kinds: image | video | gif | markdown | meeting_summary. Always " +
731
+ "members). Kinds: image | video | gif | markdown | note. Always " +
732
732
  "human-owned; revisions form a draft/published tree (one published per artifact).");
733
733
  // ── Sense: activities + conversations (scoped to this space) ──
734
734
  //
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gobi-ai/cli",
3
- "version": "2.0.42",
3
+ "version": "2.0.43",
4
4
  "description": "CLI client for the Gobi collaborative knowledge platform",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -3,7 +3,7 @@ name: gobi-artifact
3
3
  description: >-
4
4
  Gobi artifact commands for versioned creations attached to posts: create,
5
5
  revise, publish, revert, history, download, delete, get, list. An artifact
6
- is a human-owned creation (image, video, gif, markdown, or meeting_summary)
6
+ is a human-owned creation (image, video, gif, markdown, or note)
7
7
  whose revisions form a draft/published tree. Artifacts are scoped to a space:
8
8
  `gobi personal artifact …` (your personal space) or `gobi space artifact …`
9
9
  (the active team space). Use when the user wants to author, version, publish,
@@ -11,12 +11,12 @@ description: >-
11
11
  allowed-tools: Bash(gobi:*)
12
12
  metadata:
13
13
  author: gobi-ai
14
- version: "2.0.42"
14
+ version: "2.0.43"
15
15
  ---
16
16
 
17
17
  # gobi-artifact
18
18
 
19
- Gobi artifact commands for versioned, post-attachable creations (v2.0.42).
19
+ Gobi artifact commands for versioned, post-attachable creations (v2.0.43).
20
20
 
21
21
  Requires gobi-cli installed and authenticated. See gobi-core skill for setup.
22
22
 
@@ -40,7 +40,7 @@ artifact itself — but keep using the same scope you created the artifact in.
40
40
 
41
41
  An artifact is a versioned creation that can be attached to one or more posts. Each artifact has:
42
42
 
43
- - **kind** — one of `image | video | gif | markdown | meeting_summary`. `markdown` and `meeting_summary` carry a markdown **body**; `image`, `gif`, and `video` carry an uploaded **media file**.
43
+ - **kind** — one of `image | video | gif | markdown | note`. `markdown` and `note` carry a markdown **body**; `image`, `gif`, and `video` carry an uploaded **media file**. `note` is markdown with a conventional frontmatter header (`title`, `source`, `start_time`, `end_time`, `duration`, `attendees`) that the backend mirrors into `metadata.note` on publish so clients render a structured card; the keys are all optional.
44
44
  - **title** — optional display title.
45
45
  - **owner** — always a human (the calling user). Even when an agent runs the CLI, the artifact is owned by the agent's owner.
46
46
  - **scope** — the personal space or team space it lives in (set by the command group, see above).
@@ -10,8 +10,8 @@ Options:
10
10
  -h, --help display help for command
11
11
 
12
12
  Commands:
13
- artifact Versioned creations attached to posts, scoped to your personal space (visible only to you). Kinds: image | video | gif | markdown | meeting_summary. Always
14
- human-owned; revisions form a draft/published tree (one published per artifact).
13
+ artifact Versioned creations attached to posts, scoped to your personal space (visible only to you). Kinds: image | video | gif | markdown | note. Always human-owned;
14
+ revisions form a draft/published tree (one published per artifact).
15
15
  help [command] display help for command
16
16
  ```
17
17
 
@@ -20,15 +20,15 @@ Commands:
20
20
  ```
21
21
  Usage: gobi personal artifact [options] [command]
22
22
 
23
- Versioned creations attached to posts, scoped to your personal space (visible only to you). Kinds: image | video | gif | markdown | meeting_summary. Always human-owned; revisions form a
24
- draft/published tree (one published per artifact).
23
+ Versioned creations attached to posts, scoped to your personal space (visible only to you). Kinds: image | video | gif | markdown | note. Always human-owned; revisions form a draft/published tree
24
+ (one published per artifact).
25
25
 
26
26
  Options:
27
27
  -h, --help display help for command
28
28
 
29
29
  Commands:
30
- create [options] Create an artifact. markdown/meeting_summary kinds take a body via --file, --content, or stdin ("-"). image/gif/video kinds upload --file. Pass --post-id to attach
31
- the new artifact to a post.
30
+ create [options] Create an artifact. markdown/note kinds take a body via --file, --content, or stdin ("-"). image/gif/video kinds upload --file. Pass --post-id to attach the new
31
+ artifact to a post.
32
32
  revise [options] <artifactId> Add a draft revision to an artifact. New body via --file, --content, or stdin (markdown), or --file (media). Use --from to branch off a specific revision.
33
33
  publish [options] <artifactId> Publish a revision (becomes the artifact's single published revision).
34
34
  revert [options] <artifactId> Revert the artifact's published pointer to an earlier revision.
@@ -10,8 +10,8 @@ Options:
10
10
  -h, --help display help for command
11
11
 
12
12
  Commands:
13
- artifact Versioned creations attached to posts, scoped to this space (visible to its members). Kinds: image | video | gif | markdown | meeting_summary. Always
14
- human-owned; revisions form a draft/published tree (one published per artifact).
13
+ artifact Versioned creations attached to posts, scoped to this space (visible to its members). Kinds: image | video | gif | markdown | note. Always human-owned;
14
+ revisions form a draft/published tree (one published per artifact).
15
15
  help [command] display help for command
16
16
  ```
17
17
 
@@ -20,15 +20,15 @@ Commands:
20
20
  ```
21
21
  Usage: gobi space artifact [options] [command]
22
22
 
23
- Versioned creations attached to posts, scoped to this space (visible to its members). Kinds: image | video | gif | markdown | meeting_summary. Always human-owned; revisions form a draft/published
24
- tree (one published per artifact).
23
+ Versioned creations attached to posts, scoped to this space (visible to its members). Kinds: image | video | gif | markdown | note. Always human-owned; revisions form a draft/published tree (one
24
+ published per artifact).
25
25
 
26
26
  Options:
27
27
  -h, --help display help for command
28
28
 
29
29
  Commands:
30
- create [options] Create an artifact. markdown/meeting_summary kinds take a body via --file, --content, or stdin ("-"). image/gif/video kinds upload --file. Pass --post-id to attach
31
- the new artifact to a post.
30
+ create [options] Create an artifact. markdown/note kinds take a body via --file, --content, or stdin ("-"). image/gif/video kinds upload --file. Pass --post-id to attach the new
31
+ artifact to a post.
32
32
  revise [options] <artifactId> Add a draft revision to an artifact. New body via --file, --content, or stdin (markdown), or --file (media). Use --from to branch off a specific revision.
33
33
  publish [options] <artifactId> Publish a revision (becomes the artifact's single published revision).
34
34
  revert [options] <artifactId> Revert the artifact's published pointer to an earlier revision.
@@ -8,12 +8,12 @@ description: >-
8
8
  allowed-tools: Bash(gobi:*)
9
9
  metadata:
10
10
  author: gobi-ai
11
- version: "2.0.42"
11
+ version: "2.0.43"
12
12
  ---
13
13
 
14
14
  # gobi-core
15
15
 
16
- Core CLI commands for the Gobi collaborative knowledge platform (v2.0.42).
16
+ Core CLI commands for the Gobi collaborative knowledge platform (v2.0.43).
17
17
 
18
18
  ## Prerequisites
19
19
 
@@ -40,7 +40,7 @@ brew tap gobi-ai/tap && brew install gobi
40
40
  - **Vault**: A filetree-backed knowledge home. A local directory becomes a vault when it contains `.gobi/settings.yaml` with a `vaultSlug`. Each vault has a slug (e.g. `brave-path-zr962w`); public profile is configured by a `PUBLISH.md` document at the vault root and pushed via `gobi vault publish`.
41
41
  - **Space Post**: A post inside a community space.
42
42
  - **Space**: A shared community knowledge area. A user can be a member of one or more spaces; each space contains posts, replies, and connected vaults.
43
- - **Artifact**: A versioned, human-owned creation (image, video, gif, markdown, or meeting_summary) attached to posts. Its revisions form a draft/published tree (at most one published). See the **gobi-artifact** skill.
43
+ - **Artifact**: A versioned, human-owned creation (image, video, gif, markdown, or note) attached to posts. Its revisions form a draft/published tree (at most one published). See the **gobi-artifact** skill.
44
44
 
45
45
  ## Setup steps (run only what you need)
46
46
 
@@ -7,7 +7,7 @@ description: >-
7
7
  allowed-tools: Bash(gobi:*)
8
8
  metadata:
9
9
  author: gobi-ai
10
- version: "2.0.42"
10
+ version: "2.0.43"
11
11
  ---
12
12
 
13
13
  # Gobi Homepage Developer Guide
@@ -10,12 +10,12 @@ description: >-
10
10
  allowed-tools: Bash(gobi:*)
11
11
  metadata:
12
12
  author: gobi-ai
13
- version: "2.0.42"
13
+ version: "2.0.43"
14
14
  ---
15
15
 
16
16
  # gobi-media
17
17
 
18
- Gobi media generation commands (v2.0.42).
18
+ Gobi media generation commands (v2.0.43).
19
19
 
20
20
  Requires gobi-cli installed and authenticated. See gobi-core skill for setup.
21
21
 
@@ -10,12 +10,12 @@ description: >-
10
10
  allowed-tools: Bash(gobi:*)
11
11
  metadata:
12
12
  author: gobi-ai
13
- version: "2.0.42"
13
+ version: "2.0.43"
14
14
  ---
15
15
 
16
16
  # gobi-sense
17
17
 
18
- Gobi Sense commands for browsing activities and conversations (v2.0.42).
18
+ Gobi Sense commands for browsing activities and conversations (v2.0.43).
19
19
 
20
20
  Requires gobi-cli installed and authenticated. See the **gobi-core** skill for setup.
21
21
 
@@ -10,12 +10,12 @@ description: >-
10
10
  allowed-tools: Bash(gobi:*)
11
11
  metadata:
12
12
  author: gobi-ai
13
- version: "2.0.42"
13
+ version: "2.0.43"
14
14
  ---
15
15
 
16
16
  # gobi-space
17
17
 
18
- Gobi space and personal-space posts (v2.0.42).
18
+ Gobi space and personal-space posts (v2.0.43).
19
19
 
20
20
  Requires gobi-cli installed and authenticated. See the **gobi-core** skill for setup.
21
21
 
@@ -23,8 +23,8 @@ Commands:
23
23
  delete-reply <replyId> Delete a reply you authored in your personal space.
24
24
  react <postId> <emoji> Add an emoji reaction to a personal-space post or reply (idempotent). <postId> is the numeric id of a post OR a reply.
25
25
  unreact <postId> <emoji> Remove your emoji reaction from a personal-space post or reply. <postId> is the numeric id of a post OR a reply.
26
- artifact Versioned creations attached to posts, scoped to your personal space (visible only to you). Kinds: image | video | gif | markdown | meeting_summary. Always
27
- human-owned; revisions form a draft/published tree (one published per artifact).
26
+ artifact Versioned creations attached to posts, scoped to your personal space (visible only to you). Kinds: image | video | gif | markdown | note. Always human-owned;
27
+ revisions form a draft/published tree (one published per artifact).
28
28
  activities Your personal Sense activities (what you were doing, from the wearable/app), browse-only. Recorded in your personal space (visible only to you).
29
29
  conversations Your personal Sense conversations (phone-mic Audio Logs + detected conversations), browse-only. Recorded in your personal space (visible only to you).
30
30
  help [command] display help for command
@@ -198,15 +198,15 @@ Options:
198
198
  ```
199
199
  Usage: gobi personal artifact [options] [command]
200
200
 
201
- Versioned creations attached to posts, scoped to your personal space (visible only to you). Kinds: image | video | gif | markdown | meeting_summary. Always human-owned; revisions form a
202
- draft/published tree (one published per artifact).
201
+ Versioned creations attached to posts, scoped to your personal space (visible only to you). Kinds: image | video | gif | markdown | note. Always human-owned; revisions form a draft/published tree
202
+ (one published per artifact).
203
203
 
204
204
  Options:
205
205
  -h, --help display help for command
206
206
 
207
207
  Commands:
208
- create [options] Create an artifact. markdown/meeting_summary kinds take a body via --file, --content, or stdin ("-"). image/gif/video kinds upload --file. Pass --post-id to attach
209
- the new artifact to a post.
208
+ create [options] Create an artifact. markdown/note kinds take a body via --file, --content, or stdin ("-"). image/gif/video kinds upload --file. Pass --post-id to attach the new
209
+ artifact to a post.
210
210
  revise [options] <artifactId> Add a draft revision to an artifact. New body via --file, --content, or stdin (markdown), or --file (media). Use --from to branch off a specific revision.
211
211
  publish [options] <artifactId> Publish a revision (becomes the artifact's single published revision).
212
212
  revert [options] <artifactId> Revert the artifact's published pointer to an earlier revision.
@@ -8,12 +8,12 @@ description: >-
8
8
  allowed-tools: Bash(gobi:*)
9
9
  metadata:
10
10
  author: gobi-ai
11
- version: "2.0.42"
11
+ version: "2.0.43"
12
12
  ---
13
13
 
14
14
  # gobi-vault
15
15
 
16
- Gobi vault commands for publishing your vault profile and syncing files (v2.0.42).
16
+ Gobi vault commands for publishing your vault profile and syncing files (v2.0.43).
17
17
 
18
18
  Requires gobi-cli installed and authenticated. See gobi-core skill for setup.
19
19