greptile 3.4.2 → 3.5.1

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/CHANGELOG.md CHANGED
@@ -4,6 +4,43 @@ All notable changes to the Greptile CLI.
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## 3.5.1 - 2026-09-03
8
+
9
+ ### Changed
10
+
11
+ - Repository settings can disable repositories, including the last enabled one.
12
+ - `greptile init` tells members to ask an organization admin instead of
13
+ prompting for a change they cannot make.
14
+
15
+ ### Fixed
16
+
17
+ - Warnings such as "Could not disable" show the full server error instead of a
18
+ truncated line.
19
+
20
+ ## 3.5.0 - 2026-09-02
21
+
22
+ ### Fixed
23
+
24
+ - A CLI running from inside a Claude Code plugin is now recognized as such.
25
+ It previously read as a standalone install and offered — and from
26
+ `greptile update`, ran — the `install.sh` installer, which cannot update a
27
+ plugin's copy. `greptile update` now explains that the plugin owns updates.
28
+ - `greptile update` now self-upgrades only for installs it can identify:
29
+ npm, bun, and pnpm globals, and `install.sh` bundles in the directory
30
+ `install.sh` writes to. Anything else — a distro package, a Nix store path,
31
+ a version-manager shim, a binary copied onto `PATH` — is reported as
32
+ unidentifiable rather than handed the standalone installer, which would
33
+ otherwise plant a second copy alongside the one already installed.
34
+ - The daily update notice still appears for those installs and for plugin
35
+ bundles; it now shows the new version without a command it cannot offer,
36
+ instead of naming an upgrade path that does not apply. Agent-skill notices
37
+ also survive, since `greptile skills` works regardless of how the CLI
38
+ itself was distributed.
39
+ - Repository settings can now disable repositories, including the last enabled
40
+ repository, and report the applied enable and disable counts.
41
+ - `greptile init` now tells members to ask an organization admin when the
42
+ current repository is disabled, instead of prompting for a change they cannot make.
43
+
7
44
  ## 3.4.2 - 2026-08-26
8
45
 
9
46
  ### Changed
package/README.md CHANGED
@@ -38,7 +38,7 @@ On macOS, run `greptile fix install` after installing the CLI to set up Greptile
38
38
  ```sh
39
39
  greptile # signs you in and walks you through setup on first run
40
40
  cd path/to/your/repo
41
- greptile init # enables Greptile on this repository
41
+ greptile init # enables Greptile on this repository when you are an admin
42
42
  greptile review # reviews HEAD against the default branch
43
43
  ```
44
44
 
@@ -46,19 +46,19 @@ Comments appear in the terminal as they come in.
46
46
 
47
47
  ## Commands
48
48
 
49
- | Command | What it does |
50
- | --------------------------- | -------------------------------------------------------------------- |
51
- | `greptile review` | Review the current branch against its base. |
52
- | `greptile review show [ID]` | Reopen a previous review. Omit the ID to pick from a list. |
53
- | `greptile review status` | Report the most recent review status for a commit (HEAD by default). |
54
- | `greptile init` | Enable Greptile on the current repository. |
55
- | `greptile login` | Sign in through your browser, or with `--api-key`. |
56
- | `greptile logout` | Remove stored credentials. |
57
- | `greptile whoami` | Show who you are signed in as and your organizations. |
58
- | `greptile settings` | Manage CLI preferences, repositories, review settings, and team. |
59
- | `greptile skills` | Install the Greptile agent skills for your AI coding agents. |
60
- | `greptile fix` | Set up or remove Fix in Claude Code on macOS. |
61
- | `greptile update` | Update the CLI to the latest version. |
49
+ | Command | What it does |
50
+ | --------------------------- | --------------------------------------------------------------------- |
51
+ | `greptile review` | Review the current branch against its base. |
52
+ | `greptile review show [ID]` | Reopen a previous review. Omit the ID to pick from a list. |
53
+ | `greptile review status` | Report the most recent review status for a commit (HEAD by default). |
54
+ | `greptile init` | Enable Greptile on the current repository when you have admin access. |
55
+ | `greptile login` | Sign in through your browser, or with `--api-key`. |
56
+ | `greptile logout` | Remove stored credentials. |
57
+ | `greptile whoami` | Show who you are signed in as and your organizations. |
58
+ | `greptile settings` | Manage CLI preferences, repositories, review settings, and team. |
59
+ | `greptile skills` | Install the Greptile agent skills for your AI coding agents. |
60
+ | `greptile fix` | Set up or remove Fix in Claude Code on macOS. |
61
+ | `greptile update` | Update the CLI to the latest version. |
62
62
 
63
63
  Run any command with `--help` for its full flag list.
64
64
 
@@ -196,7 +196,8 @@ administer an existing one.
196
196
  > ℹ️ **Note:** If you cancel organization creation after the organization has
197
197
  > been created, it stays around half set up (there is no way to delete it from
198
198
  > the CLI). Use **Repositories** in the same hub to connect a provider and
199
- > enable repositories, or finish the remaining setup from your dashboard.
199
+ > enable or disable repositories, or finish the remaining setup from your
200
+ > dashboard.
200
201
 
201
202
  Save local defaults non-interactively instead of repeating flags:
202
203
 
@@ -284,7 +285,7 @@ The native handler prefills a shorter prompt and may require you to submit it.
284
285
  greptile update
285
286
  ```
286
287
 
287
- This checks for a newer release and upgrades in place. Homebrew installs are the exception: run `brew upgrade greptile` instead (the command will tell you). The CLI also checks for updates once a day and prints a notice when one is available; set `GREPTILE_NO_UPDATE_CHECK=1` to turn that off.
288
+ This checks for a newer release and upgrades in place for npm, bun, pnpm, and standalone `install.sh` installs. Three cases are handled differently: Homebrew prints `brew upgrade greptile` for you to run, a CLI that ships inside a Claude Code plugin is updated by updating the plugin, and an install the CLI can't identify — a distro package, a Nix store path, a version-manager shim, a binary copied onto your `PATH` — is reported as such so you can update it the way you installed it. The CLI also checks for updates once a day and prints a notice when one is available; set `GREPTILE_NO_UPDATE_CHECK=1` to turn that off.
288
289
 
289
290
  ## Reference
290
291