@grum-os/cli 0.3.12 → 0.3.13
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 +14 -0
- package/content.md5 +1 -1
- package/grum.mjs +222 -214
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -34,6 +34,20 @@ Then choose **check**. New drift is listed with a one-line fix, and Grum offers
|
|
|
34
34
|
|
|
35
35
|
Once you are signed in, the third row is **logout**. Run `grum` again and choose **setup** to change the link or turn Cursor off. Enter keeps each current setting.
|
|
36
36
|
|
|
37
|
+
## Set up with your agent
|
|
38
|
+
|
|
39
|
+
A coding agent can do this setup. You paste one prompt into the chat and approve a code in the browser. You do not need to open a terminal.
|
|
40
|
+
|
|
41
|
+
The page you open is [app.grum.so/agent/human](https://app.grum.so/agent/human). The prompt there points the agent at [app.grum.so/agent](https://app.grum.so/agent), which is the instructions in markdown. The agent runs:
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
npx --yes @grum-os/cli setup --agent cursor --json
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Use `codex` or `generic` instead of `cursor` for those agents. The command prints JSON. Exit 0 means ready, exit 2 means the agent should take the next action and run it again, and exit 1 is a fault. `grum doctor --agent cursor --json` reports the same checks and changes nothing.
|
|
48
|
+
|
|
49
|
+
The menu and the commands above stay as they are. `--agent` is an extra way in, not a replacement.
|
|
50
|
+
|
|
37
51
|
## Cursor
|
|
38
52
|
|
|
39
53
|
Accepting Cursor in the menu puts Grum inside the agent. The agent follows the same contract a person sees in Grum, and it can ask the owners to allow something the contract does not have.
|
package/content.md5
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
7dd72edbaa90ccb6621c5df3d474f9e8
|