@gobi-ai/cli 1.3.7 → 2.0.0
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 +6 -7
- package/.claude-plugin/plugin.json +4 -5
- package/README.md +78 -89
- package/commands/space-explore.md +10 -10
- package/commands/space-share.md +13 -7
- package/dist/commands/draft.js +213 -0
- package/dist/commands/global.js +205 -70
- package/dist/commands/init.js +5 -5
- package/dist/commands/{notes.js → saved.js} +112 -19
- package/dist/commands/space.js +92 -97
- package/dist/commands/sync.js +2 -56
- package/dist/commands/vault.js +113 -0
- package/dist/main.js +6 -10
- package/package.json +2 -2
- package/skills/gobi-core/SKILL.md +5 -7
- package/skills/gobi-core/references/space.md +18 -19
- package/skills/gobi-draft/SKILL.md +74 -0
- package/skills/gobi-draft/references/draft.md +109 -0
- package/skills/gobi-homepage/SKILL.md +16 -16
- package/skills/gobi-saved/SKILL.md +59 -0
- package/skills/gobi-saved/references/saved.md +52 -0
- package/skills/gobi-space/SKILL.md +34 -31
- package/skills/gobi-space/references/global.md +84 -24
- package/skills/gobi-space/references/space.md +45 -57
- package/skills/gobi-vault/SKILL.md +92 -0
- package/skills/{gobi-core/references/sync.md → gobi-vault/references/vault.md} +41 -2
- package/dist/commands/brain.js +0 -141
- package/dist/commands/feed.js +0 -148
- package/dist/commands/proposal.js +0 -185
- package/skills/gobi-brain/SKILL.md +0 -100
- package/skills/gobi-brain/references/brain.md +0 -66
- package/skills/gobi-feed/SKILL.md +0 -43
- package/skills/gobi-feed/references/feed.md +0 -80
- package/skills/gobi-notes/SKILL.md +0 -52
- package/skills/gobi-notes/references/notes.md +0 -82
- package/skills/gobi-proposal/SKILL.md +0 -66
- package/skills/gobi-proposal/references/proposal.md +0 -116
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
# gobi notes
|
|
2
|
-
|
|
3
|
-
```
|
|
4
|
-
Usage: gobi notes [options] [command]
|
|
5
|
-
|
|
6
|
-
Personal notes (create, list, get, edit, delete).
|
|
7
|
-
|
|
8
|
-
Options:
|
|
9
|
-
-h, --help display help for command
|
|
10
|
-
|
|
11
|
-
Commands:
|
|
12
|
-
list [options] List your notes. Without --date, returns recent notes via cursor pagination. With --date, returns all notes for that day.
|
|
13
|
-
get <noteId> Get a single note by id.
|
|
14
|
-
create [options] Create a note. Provide --content (use '-' for stdin) and/or attachments.
|
|
15
|
-
edit [options] <noteId> Edit a note. Provide --content and/or --agent-id.
|
|
16
|
-
delete <noteId> Delete a note you authored.
|
|
17
|
-
help [command] display help for command
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## list
|
|
21
|
-
|
|
22
|
-
```
|
|
23
|
-
Usage: gobi notes list [options]
|
|
24
|
-
|
|
25
|
-
List your notes. Without --date, returns recent notes via cursor pagination. With --date, returns all notes for that day.
|
|
26
|
-
|
|
27
|
-
Options:
|
|
28
|
-
--date <date> Filter to a single day (YYYY-MM-DD)
|
|
29
|
-
--timezone <tz> IANA timezone name (default: system timezone)
|
|
30
|
-
--limit <number> Items per page (1-100) (default: "50")
|
|
31
|
-
--cursor <string> Pagination cursor from previous response
|
|
32
|
-
-h, --help display help for command
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
## get
|
|
36
|
-
|
|
37
|
-
```
|
|
38
|
-
Usage: gobi notes get [options] <noteId>
|
|
39
|
-
|
|
40
|
-
Get a single note by id.
|
|
41
|
-
|
|
42
|
-
Options:
|
|
43
|
-
-h, --help display help for command
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
## create
|
|
47
|
-
|
|
48
|
-
```
|
|
49
|
-
Usage: gobi notes create [options]
|
|
50
|
-
|
|
51
|
-
Create a note. Provide --content (use '-' for stdin) and/or attachments.
|
|
52
|
-
|
|
53
|
-
Options:
|
|
54
|
-
--content <content> Note content (markdown supported, use "-" for stdin)
|
|
55
|
-
--timezone <tz> IANA timezone name (default: system timezone)
|
|
56
|
-
--agent-id <number> Optional agent id to associate with the note
|
|
57
|
-
-h, --help display help for command
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
## edit
|
|
61
|
-
|
|
62
|
-
```
|
|
63
|
-
Usage: gobi notes edit [options] <noteId>
|
|
64
|
-
|
|
65
|
-
Edit a note. Provide --content and/or --agent-id.
|
|
66
|
-
|
|
67
|
-
Options:
|
|
68
|
-
--content <content> New note content (markdown supported, use "-" for stdin)
|
|
69
|
-
--agent-id <number> New agent id, or "null" to clear the association
|
|
70
|
-
-h, --help display help for command
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
## delete
|
|
74
|
-
|
|
75
|
-
```
|
|
76
|
-
Usage: gobi notes delete [options] <noteId>
|
|
77
|
-
|
|
78
|
-
Delete a note you authored.
|
|
79
|
-
|
|
80
|
-
Options:
|
|
81
|
-
-h, --help display help for command
|
|
82
|
-
```
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: gobi-proposal
|
|
3
|
-
description: >-
|
|
4
|
-
Gobi proposal commands for managing agent-authored proposals: list, get, add,
|
|
5
|
-
edit, delete, prioritize, accept, reject, or revise. The top-priority pending
|
|
6
|
-
proposals feed into the agent's system prompt every turn. Use when the user
|
|
7
|
-
wants to review, organize, or respond to proposals — or when an agent (using
|
|
8
|
-
gobi-cli as its tool layer) wants to record a proposal it just composed.
|
|
9
|
-
allowed-tools: Bash(gobi:*)
|
|
10
|
-
metadata:
|
|
11
|
-
author: gobi-ai
|
|
12
|
-
version: "1.3.6"
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
# gobi-proposal
|
|
16
|
-
|
|
17
|
-
Gobi proposal commands for managing agent-authored proposals (v1.3.6).
|
|
18
|
-
|
|
19
|
-
Requires gobi-cli installed and authenticated. See gobi-core skill for setup.
|
|
20
|
-
|
|
21
|
-
## What is a proposal?
|
|
22
|
-
|
|
23
|
-
A proposal is a unit of standing guidance authored by an agent (in-process during chat, or via `gobi proposal add` when the agent uses gobi-cli as its tool layer). Each proposal has:
|
|
24
|
-
|
|
25
|
-
- **title** — short headline (1–200 chars)
|
|
26
|
-
- **content** — the proposal text (markdown, 1–8000 chars)
|
|
27
|
-
- **sessionId** — required; the chat session that produced the proposal
|
|
28
|
-
- **priority** — lower number = higher priority; default `100`
|
|
29
|
-
- **status** — `pending`, `accepted`, or `rejected`
|
|
30
|
-
- **revision** — bumped each time the title or content is edited
|
|
31
|
-
- **history** — append-only log of `created`, `edited`, `prioritized`, `accepted`, `rejected`, and `revise_requested` events
|
|
32
|
-
|
|
33
|
-
The top 5 pending proposals (lowest priority first) are injected into the agent's system prompt every turn — that's how proposals turn into standing instructions.
|
|
34
|
-
|
|
35
|
-
When invoked from inside an agent run, the runtime exports `GOBI_SESSION_ID` so `gobi proposal add` picks it up automatically; otherwise pass `--session <uuid>`.
|
|
36
|
-
|
|
37
|
-
## Lifecycle
|
|
38
|
-
|
|
39
|
-
`accept`, `reject`, and `revise` update the proposal's status and history. They do **not** themselves post messages into the chat session — the client (e.g. the floating proposal bubble) opens at `proposal.sessionId` and sends the synthesized message via SSE so the user sees the agent's reply stream in. Only pending proposals can be revised.
|
|
40
|
-
|
|
41
|
-
## Important: JSON Mode
|
|
42
|
-
|
|
43
|
-
For programmatic/agent usage, always pass `--json` as a **global** option (before the subcommand):
|
|
44
|
-
|
|
45
|
-
```bash
|
|
46
|
-
gobi --json proposal list --limit 20
|
|
47
|
-
gobi --json proposal add "Concise titles" "Prefer concise titles for brain updates." --priority 50
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
JSON mode wraps the response as `{"success": true, "data": <proposal>}` (or `{"success": false, "error": "..."}`).
|
|
51
|
-
|
|
52
|
-
## Available Commands
|
|
53
|
-
|
|
54
|
-
- `gobi proposal` — Proposals authored by your agent during chat. Top-5 feed the system prompt; accept/reject/revise post into the originating chat session.
|
|
55
|
-
- `gobi proposal list` — List proposals (priority ASC, then newest first).
|
|
56
|
-
- `gobi proposal get` — Show one proposal with its history.
|
|
57
|
-
- `gobi proposal edit` — Replace proposal content (bumps revision). Pass '-' for stdin.
|
|
58
|
-
- `gobi proposal delete` — Delete a proposal.
|
|
59
|
-
- `gobi proposal prioritize` — Set priority (lower = higher). Top 5 feed the system prompt.
|
|
60
|
-
- `gobi proposal accept` — Accept — posts "Accept your proposal X" into the originating chat session.
|
|
61
|
-
- `gobi proposal reject` — Reject — posts "Reject your proposal X" into the originating chat session.
|
|
62
|
-
- `gobi proposal revise` — Ask the agent to revise — posts "Update your proposal X. Here's my comment. {comment}" into the chat session.
|
|
63
|
-
|
|
64
|
-
## Reference Documentation
|
|
65
|
-
|
|
66
|
-
- [gobi proposal](references/proposal.md)
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
# gobi proposal
|
|
2
|
-
|
|
3
|
-
```
|
|
4
|
-
Usage: gobi proposal [options] [command]
|
|
5
|
-
|
|
6
|
-
Proposals authored by your agent during chat. Top-5 feed the system prompt; accept/reject/revise update state and the client posts the synthesized message into the session.
|
|
7
|
-
|
|
8
|
-
Options:
|
|
9
|
-
-h, --help display help for command
|
|
10
|
-
|
|
11
|
-
Commands:
|
|
12
|
-
list [options] List proposals (priority ASC, then newest first).
|
|
13
|
-
get <proposalId> Show one proposal with its history.
|
|
14
|
-
add [options] <title> <content> Add a proposal. Pass '-' for content to read from stdin. Requires a chat session — the agent runtime exports GOBI_SESSION_ID automatically; outside that,
|
|
15
|
-
pass --session.
|
|
16
|
-
delete <proposalId> Delete a proposal.
|
|
17
|
-
prioritize <proposalId> <priority> Set priority (lower = higher). Top 5 feed the system prompt.
|
|
18
|
-
accept <proposalId> Mark the proposal accepted. The client posts the synthesized message into the session.
|
|
19
|
-
reject <proposalId> Mark the proposal rejected. The client posts the synthesized message into the session.
|
|
20
|
-
revise [options] <proposalId> <comment> Bump the proposal to a new revision. Comment is required; pass --title and/or --content to update the proposal in the same call. Pass '-' for any of
|
|
21
|
-
comment/title/content to read from stdin.
|
|
22
|
-
help [command] display help for command
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## list
|
|
26
|
-
|
|
27
|
-
```
|
|
28
|
-
Usage: gobi proposal list [options]
|
|
29
|
-
|
|
30
|
-
List proposals (priority ASC, then newest first).
|
|
31
|
-
|
|
32
|
-
Options:
|
|
33
|
-
--limit <number> Max proposals to return (1-200) (default: "50")
|
|
34
|
-
-h, --help display help for command
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## get
|
|
38
|
-
|
|
39
|
-
```
|
|
40
|
-
Usage: gobi proposal get [options] <proposalId>
|
|
41
|
-
|
|
42
|
-
Show one proposal with its history.
|
|
43
|
-
|
|
44
|
-
Options:
|
|
45
|
-
-h, --help display help for command
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
## add
|
|
49
|
-
|
|
50
|
-
```
|
|
51
|
-
Usage: gobi proposal add [options] <title> <content>
|
|
52
|
-
|
|
53
|
-
Add a proposal. Pass '-' for content to read from stdin. Requires a chat session — the agent runtime exports GOBI_SESSION_ID automatically; outside that, pass --session.
|
|
54
|
-
|
|
55
|
-
Options:
|
|
56
|
-
--session <sessionId> Originating chat session UUID. Falls back to $GOBI_SESSION_ID when set.
|
|
57
|
-
--priority <number> Priority (lower = higher), default 100
|
|
58
|
-
-h, --help display help for command
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
## delete
|
|
62
|
-
|
|
63
|
-
```
|
|
64
|
-
Usage: gobi proposal delete [options] <proposalId>
|
|
65
|
-
|
|
66
|
-
Delete a proposal.
|
|
67
|
-
|
|
68
|
-
Options:
|
|
69
|
-
-h, --help display help for command
|
|
70
|
-
```
|
|
71
|
-
|
|
72
|
-
## prioritize
|
|
73
|
-
|
|
74
|
-
```
|
|
75
|
-
Usage: gobi proposal prioritize [options] <proposalId> <priority>
|
|
76
|
-
|
|
77
|
-
Set priority (lower = higher). Top 5 feed the system prompt.
|
|
78
|
-
|
|
79
|
-
Options:
|
|
80
|
-
-h, --help display help for command
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
## accept
|
|
84
|
-
|
|
85
|
-
```
|
|
86
|
-
Usage: gobi proposal accept [options] <proposalId>
|
|
87
|
-
|
|
88
|
-
Mark the proposal accepted. The client posts the synthesized message into the session.
|
|
89
|
-
|
|
90
|
-
Options:
|
|
91
|
-
-h, --help display help for command
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
## reject
|
|
95
|
-
|
|
96
|
-
```
|
|
97
|
-
Usage: gobi proposal reject [options] <proposalId>
|
|
98
|
-
|
|
99
|
-
Mark the proposal rejected. The client posts the synthesized message into the session.
|
|
100
|
-
|
|
101
|
-
Options:
|
|
102
|
-
-h, --help display help for command
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
## revise
|
|
106
|
-
|
|
107
|
-
```
|
|
108
|
-
Usage: gobi proposal revise [options] <proposalId> <comment>
|
|
109
|
-
|
|
110
|
-
Bump the proposal to a new revision. Comment is required; pass --title and/or --content to update the proposal in the same call. Pass '-' for any of comment/title/content to read from stdin.
|
|
111
|
-
|
|
112
|
-
Options:
|
|
113
|
-
--title <title> Replacement title
|
|
114
|
-
--content <content> Replacement content; pass '-' to read from stdin
|
|
115
|
-
-h, --help display help for command
|
|
116
|
-
```
|