@ideaspaces/cli 0.1.0 → 0.1.4
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 +26 -14
- package/bundle/ideaspaces.js +3585 -1353
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
#
|
|
1
|
+
# IdeaSpaces CLI
|
|
2
2
|
|
|
3
|
-
>
|
|
3
|
+
> Capture durable agent knowledge from the command line.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
The [Ideaspace Protocol](https://github.com/IdeaSpaces-xyz/ideaspace-protocol) is the open standard for how agents turn useful work into durable, portable knowledge. `ideaspaces` implements the common command-line mechanics: create and orient in a space, write and commit captures safely, then optionally publish, push, or pull.
|
|
6
|
+
|
|
7
|
+
A **space** is a git repository where knowledge compounds as ordinary Markdown. The CLI keeps the workflow local-first and scriptable; protocol-aware plugins use the protocol directly for local reads and rely on CLI capabilities for platform operations and transitional writes.
|
|
8
|
+
|
|
9
|
+
Want your agent to follow the standard automatically? Install [IdeaSpaces for Claude Code and Cowork](https://github.com/IdeaSpaces-xyz/claude-code-plugin) or [IdeaSpaces for Pi](https://github.com/IdeaSpaces-xyz/pi-is-space). Use this package directly for terminal workflows, automation, and integration development.
|
|
6
10
|
|
|
7
11
|
## Install
|
|
8
12
|
|
|
@@ -15,17 +19,21 @@ This installs the `ideaspaces` command. Node 20+ is required.
|
|
|
15
19
|
## Quick start
|
|
16
20
|
|
|
17
21
|
```sh
|
|
18
|
-
ideaspaces
|
|
19
|
-
|
|
20
|
-
cd notes
|
|
22
|
+
ideaspaces create my-space --yes # create the standard repository shape
|
|
23
|
+
cd my-space
|
|
21
24
|
ideaspaces navigate . # orient: what's here, what changed
|
|
22
|
-
ideaspaces
|
|
23
|
-
ideaspaces
|
|
24
|
-
ideaspaces
|
|
25
|
-
|
|
25
|
+
ideaspaces inspect work/Next.md # deepen one document, summary first
|
|
26
|
+
ideaspaces write decisions/idea.md --content "Idea body text"
|
|
27
|
+
ideaspaces commit -m "Capture idea" decisions/idea.md
|
|
28
|
+
|
|
29
|
+
# Optional: host or collaborate remotely
|
|
30
|
+
ideaspaces login
|
|
31
|
+
ideaspaces publish
|
|
32
|
+
ideaspaces push
|
|
33
|
+
ideaspaces pull
|
|
26
34
|
```
|
|
27
35
|
|
|
28
|
-
Everything is local-first: your working copy is a real git
|
|
36
|
+
Everything is local-first: your working copy is a real git repository on disk. Captures are yours until you choose to publish or push them.
|
|
29
37
|
|
|
30
38
|
## Commands
|
|
31
39
|
|
|
@@ -34,7 +42,9 @@ Run `ideaspaces <command> --help` for full usage. `--json` is available on most
|
|
|
34
42
|
### Spaces & content
|
|
35
43
|
| Command | What it does |
|
|
36
44
|
|---|---|
|
|
37
|
-
| `clone <
|
|
45
|
+
| `clone <space-url> [dir]` | Clone an authorized Space by stable identity into a local working copy |
|
|
46
|
+
| `fork <space-url> [dir]` | Create and clone an independent current-content copy without source history |
|
|
47
|
+
| `update [--yes]` | Preview or apply maintained source updates to a fork without displacing local work |
|
|
38
48
|
| `clones` | List your local working copies |
|
|
39
49
|
| `create <name>` | Create a new space |
|
|
40
50
|
| `repos` | List spaces you can access |
|
|
@@ -51,14 +61,16 @@ Run `ideaspaces <command> --help` for full usage. `--json` is available on most
|
|
|
51
61
|
### Sync & publish
|
|
52
62
|
| Command | What it does |
|
|
53
63
|
|---|---|
|
|
64
|
+
| `sync` | Report where you, the Space, and a fork's recorded source stand — reads only, integrates nothing |
|
|
54
65
|
| `push` | Send your committed captures to the remote |
|
|
55
|
-
| `pull` | Integrate
|
|
66
|
+
| `pull` | Integrate changes from the fork's own Git remote |
|
|
56
67
|
| `publish` | Publish a local space to the server |
|
|
57
68
|
|
|
58
69
|
### Navigate & search
|
|
59
70
|
| Command | What it does |
|
|
60
71
|
|---|---|
|
|
61
72
|
| `navigate <path>` | Orient at a position — contract, awareness, what changed |
|
|
73
|
+
| `inspect <path>` | Inspect one local Markdown file by summary, outline, or selected section |
|
|
62
74
|
| `catalog` | List the nodes at a position |
|
|
63
75
|
| `ls [<path>]` | List files and folders under a path, typed (folder / repo / ideaspace) |
|
|
64
76
|
| `search <query>` | Full-text search (filename + BM25) over the local clone |
|
|
@@ -70,7 +82,7 @@ Run `ideaspaces <command> --help` for full usage. `--json` is available on most
|
|
|
70
82
|
|---|---|
|
|
71
83
|
| `conversation` | Start or continue a conversation (online or `--local`) |
|
|
72
84
|
| `conversations` | List conversations |
|
|
73
|
-
| `share` |
|
|
85
|
+
| `share` | Share a Space at a grade — explore, fork, or collaborate — and see who has it |
|
|
74
86
|
| `agents` | List agents available to you |
|
|
75
87
|
| `times` | Activity timeline |
|
|
76
88
|
|