copilot-statusline 0.1.2 → 0.1.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.
@@ -52940,7 +52940,7 @@ import { execSync as execSync3 } from "child_process";
52940
52940
  import * as fs5 from "fs";
52941
52941
  import * as path4 from "path";
52942
52942
  var __dirname = "/Users/ts/workspace/active/statusline/copilot_statusline/src/utils";
52943
- var PACKAGE_VERSION = "0.1.2";
52943
+ var PACKAGE_VERSION = "0.1.3";
52944
52944
  function getPackageVersion() {
52945
52945
  if (/^\d+\.\d+\.\d+/.test(PACKAGE_VERSION)) {
52946
52946
  return PACKAGE_VERSION;
@@ -62943,8 +62943,11 @@ var App2 = () => {
62943
62943
  await saveSettings(settings);
62944
62944
  setOriginalSettings(cloneSettings(settings));
62945
62945
  setHasChanges(false);
62946
+ try {
62947
+ installStatusLine();
62948
+ } catch {}
62946
62949
  setFlashMessage({
62947
- text: "✓ Configuration saved",
62950
+ text: "✓ Configuration saved & Copilot CLI updated",
62948
62951
  color: "green"
62949
62952
  });
62950
62953
  })();
@@ -63024,6 +63027,9 @@ A launcher script will be created at ~/.copilot/statusline.sh`;
63024
63027
  await saveSettings(settings);
63025
63028
  setOriginalSettings(cloneSettings(settings));
63026
63029
  setHasChanges(false);
63030
+ try {
63031
+ installStatusLine();
63032
+ } catch {}
63027
63033
  exit();
63028
63034
  break;
63029
63035
  case "exit":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "copilot-statusline",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "A customizable status line formatter for GitHub Copilot CLI — based on ccstatusline",
5
5
  "module": "src/copilot-statusline.ts",
6
6
  "type": "module",