gh-manager-cli 1.24.1 → 1.24.3

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
@@ -1,3 +1,17 @@
1
+ ## [1.24.3](https://github.com/wiiiimm/gh-manager-cli/compare/v1.24.2...v1.24.3) (2025-09-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * clear all settings including org context on logout ([3a30b02](https://github.com/wiiiimm/gh-manager-cli/commit/3a30b0246d410b14bf9d9b5681904660cf7cc80f))
7
+
8
+ ## [1.24.2](https://github.com/wiiiimm/gh-manager-cli/compare/v1.24.1...v1.24.2) (2025-09-05)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * prevent Ctrl+R from triggering refresh instead of rename ([987f505](https://github.com/wiiiimm/gh-manager-cli/commit/987f505ada3c2b17175e24cace81330ea8db9709))
14
+
1
15
  ## [1.24.1](https://github.com/wiiiimm/gh-manager-cli/compare/v1.24.0...v1.24.1) (2025-09-05)
2
16
 
3
17
 
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ var require_package = __commonJS({
31
31
  "package.json"(exports, module) {
32
32
  module.exports = {
33
33
  name: "gh-manager-cli",
34
- version: "1.24.1",
34
+ version: "1.24.3",
35
35
  private: false,
36
36
  description: "Interactive CLI to manage your GitHub repos (personal) with Ink",
37
37
  license: "MIT",
@@ -207,6 +207,9 @@ function clearStoredToken() {
207
207
  const { token, tokenVersion, tokenSource, ...rest } = existing;
208
208
  writeConfig({ ...rest });
209
209
  }
210
+ function clearAllSettings() {
211
+ writeConfig({});
212
+ }
210
213
  function getTokenSource() {
211
214
  const cfg = readConfig();
212
215
  return cfg.tokenSource || "pat";
@@ -2366,7 +2369,7 @@ function RepoList({ token, maxVisibleRows, onLogout, viewerLogin, onOrgContextCh
2366
2369
  setCursor(visibleItems.length - 1);
2367
2370
  return;
2368
2371
  }
2369
- if (input && input.toUpperCase() === "R") {
2372
+ if (input && input.toUpperCase() === "R" && !key.ctrl) {
2370
2373
  setCursor(0);
2371
2374
  setRefreshing(true);
2372
2375
  setSortingLoading(true);
@@ -3476,7 +3479,7 @@ function App({ initialOrgSlug: initialOrgSlug2, inlineToken: inlineToken2, inlin
3476
3479
  tokenOrigin: sessionTokenOrigin
3477
3480
  });
3478
3481
  try {
3479
- clearStoredToken();
3482
+ clearAllSettings();
3480
3483
  } catch {
3481
3484
  }
3482
3485
  setRateLimitReset(null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gh-manager-cli",
3
- "version": "1.24.1",
3
+ "version": "1.24.3",
4
4
  "private": false,
5
5
  "description": "Interactive CLI to manage your GitHub repos (personal) with Ink",
6
6
  "license": "MIT",