@gatherdeal/cli 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/README.md +25 -1
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -12,6 +12,10 @@ npm install -g @gatherdeal/cli@latest --ignore-scripts
12
12
  gatherdeal auth login
13
13
  gatherdeal outlets list
14
14
  gatherdeal crm contacts list --limit 10
15
+
16
+ # Optional: let your AI agent use it (Claude Code, Codex and others)
17
+ gatherdeal skills install --target claude --scope user
18
+ gatherdeal skills install --target agents --scope user
15
19
  ```
16
20
 
17
21
  `auth login` prints an approval page address and a code; open the page,
@@ -48,7 +52,8 @@ gatherdeal crm contacts get <contact-id> --with-emails --with-tags
48
52
  ```
49
53
 
50
54
  App API commands use `gatherdeal <app> <resource> <verb>`. Authentication,
51
- `commands`, `agent-context`, `skills`, `update`, and `version` stay top-level.
55
+ `commands`, `agent-context`, `skills`, `update`, `uninstall` and `version` stay
56
+ top-level.
52
57
 
53
58
  ```sh
54
59
  gatherdeal --help
@@ -95,6 +100,8 @@ index and core commands, as `gatherdeal agent-context` prints them) and one
95
100
  fail before any writes unless `--force` is given; symlinked skill files and
96
101
  subdirectories are refused. With --target, resolved destinations must stay
97
102
  inside the resolved project/home base. Explicit --dir follows ancestor symlinks.
103
+ The install location is recorded in the config directory so
104
+ `gatherdeal uninstall` can remove it.
98
105
  Success returns a JSON envelope with the absolute `dir`, `cli_version`, and
99
106
  per-file `path` and `action` (`created`, `updated`, or `unchanged`).
100
107
  `skills show` prints the skill as plain text. The skill records the CLI
@@ -109,3 +116,20 @@ tells agents to do this when `gatherdeal version` reports a different version.
109
116
  installation instructions (exit 9 when an external install is needed).
110
117
  All forms are read-only, with no disk cache or self-replacement and no
111
118
  `--yes` flag. Use `--version <version>` to select an exact release.
119
+
120
+ ## Uninstall
121
+
122
+ ```sh
123
+ gatherdeal uninstall # show the plan; changes nothing
124
+ gatherdeal uninstall --yes # carry it out
125
+ npm uninstall -g @gatherdeal/cli
126
+ ```
127
+
128
+ `uninstall --yes` revokes every profile's access on its server, deletes the
129
+ stored credentials, the agent skills `skills install` wrote (only directories
130
+ that hold exactly the generated skill) and the config directory. If an
131
+ access cannot be revoked, it stops and keeps that profile; revoke the access
132
+ at passport › Security › Sessions & devices and run
133
+ `gatherdeal uninstall --yes --local-only` to delete the local state anyway.
134
+ The CLI never deletes its own binary: remove the package last. See the
135
+ [repository README](https://github.com/gatherdeal/cli#uninstall) for details.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gatherdeal/cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Read and manage your GatherDeal business data from the terminal or an AI agent.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -19,11 +19,11 @@
19
19
  "node": ">=18"
20
20
  },
21
21
  "optionalDependencies": {
22
- "@gatherdeal/cli-linux-x64": "0.1.1",
23
- "@gatherdeal/cli-linux-arm64": "0.1.1",
24
- "@gatherdeal/cli-darwin-x64": "0.1.1",
25
- "@gatherdeal/cli-darwin-arm64": "0.1.1",
26
- "@gatherdeal/cli-win32-x64": "0.1.1",
27
- "@gatherdeal/cli-win32-arm64": "0.1.1"
22
+ "@gatherdeal/cli-linux-x64": "0.1.2",
23
+ "@gatherdeal/cli-linux-arm64": "0.1.2",
24
+ "@gatherdeal/cli-darwin-x64": "0.1.2",
25
+ "@gatherdeal/cli-darwin-arm64": "0.1.2",
26
+ "@gatherdeal/cli-win32-x64": "0.1.2",
27
+ "@gatherdeal/cli-win32-arm64": "0.1.2"
28
28
  }
29
29
  }