@willh/copilotstatusline 0.1.0 → 0.1.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/NOTICE +1 -1
- package/README.md +3 -3
- package/dist/copilotstatusline.js +24 -23
- package/docs/USAGE.md +3 -3
- package/docs/WINDOWS.md +1 -1
- package/package.json +7 -3
package/NOTICE
CHANGED
|
@@ -5,4 +5,4 @@ Copyright (c) 2025 Matthew Breedlove (https://github.com/sirmalloc)
|
|
|
5
5
|
This project is licensed under the MIT License.
|
|
6
6
|
See the LICENSE file for details.
|
|
7
7
|
|
|
8
|
-
Official repository: https://github.com/
|
|
8
|
+
Official repository: https://github.com/doggy8088/copilotstatusline
|
package/README.md
CHANGED
|
@@ -17,13 +17,13 @@ The implementation targets the user-level Copilot settings file at `$COPILOT_HOM
|
|
|
17
17
|
Launch the configuration UI:
|
|
18
18
|
|
|
19
19
|
```sh
|
|
20
|
-
npx -y copilotstatusline@latest
|
|
20
|
+
npx -y @willh/copilotstatusline@latest
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
Choose `Install or repair Copilot integration`, or install non-interactively:
|
|
24
24
|
|
|
25
25
|
```sh
|
|
26
|
-
npx -y copilotstatusline@latest --install npm
|
|
26
|
+
npx -y @willh/copilotstatusline@latest --install npm
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
The installer merges the following keys into the existing Copilot settings and preserves unrelated settings:
|
|
@@ -32,7 +32,7 @@ The installer merges the following keys into the existing Copilot settings and p
|
|
|
32
32
|
{
|
|
33
33
|
"statusLine": {
|
|
34
34
|
"type": "command",
|
|
35
|
-
"command": "npx -y copilotstatusline@latest",
|
|
35
|
+
"command": "npx -y @willh/copilotstatusline@latest",
|
|
36
36
|
"padding": 0
|
|
37
37
|
},
|
|
38
38
|
"footer": {
|
|
@@ -11281,7 +11281,7 @@ function finalize(ctx, schema) {
|
|
|
11281
11281
|
result.$schema = "http://json-schema.org/draft-07/schema#";
|
|
11282
11282
|
} else if (ctx.target === "draft-04") {
|
|
11283
11283
|
result.$schema = "http://json-schema.org/draft-04/schema#";
|
|
11284
|
-
} else if (ctx.target === "openapi-3.0") {}
|
|
11284
|
+
} else if (ctx.target === "openapi-3.0") {}
|
|
11285
11285
|
if (ctx.external?.uri) {
|
|
11286
11286
|
const id = ctx.external.registry.get(schema)?.id;
|
|
11287
11287
|
if (!id)
|
|
@@ -11542,7 +11542,7 @@ var formatMap, stringProcessor = (schema, ctx, _json, _params) => {
|
|
|
11542
11542
|
if (val === undefined) {
|
|
11543
11543
|
if (ctx.unrepresentable === "throw") {
|
|
11544
11544
|
throw new Error("Literal `undefined` cannot be represented in JSON Schema");
|
|
11545
|
-
}
|
|
11545
|
+
}
|
|
11546
11546
|
} else if (typeof val === "bigint") {
|
|
11547
11547
|
if (ctx.unrepresentable === "throw") {
|
|
11548
11548
|
throw new Error("BigInt literals cannot be represented in JSON Schema");
|
|
@@ -14967,8 +14967,8 @@ async function uninstallCopilotStatusLine() {
|
|
|
14967
14967
|
var STATUS_LINE_COMMANDS;
|
|
14968
14968
|
var init_copilot_settings = __esm(() => {
|
|
14969
14969
|
STATUS_LINE_COMMANDS = {
|
|
14970
|
-
npm: "npx -y copilotstatusline@latest",
|
|
14971
|
-
bunx: "bunx -y copilotstatusline@latest",
|
|
14970
|
+
npm: "npx -y @willh/copilotstatusline@latest",
|
|
14971
|
+
bunx: "bunx -y @willh/copilotstatusline@latest",
|
|
14972
14972
|
global: "copilotstatusline"
|
|
14973
14973
|
};
|
|
14974
14974
|
});
|
|
@@ -24976,7 +24976,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
24976
24976
|
offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden;
|
|
24977
24977
|
offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden;
|
|
24978
24978
|
commitReconciliationEffects(finishedWork);
|
|
24979
|
-
if (flags & 8192 && (root = finishedWork.stateNode, root._visibility = hoistableRoot ? root._visibility & -2 : root._visibility | 1, hoistableRoot && (current2 === null || wasHidden || offscreenSubtreeIsHidden || offscreenSubtreeWasHidden || recursivelyTraverseDisappearLayoutEffects(finishedWork)), supportsMutation))
|
|
24979
|
+
if (flags & 8192 && (root = finishedWork.stateNode, root._visibility = hoistableRoot ? root._visibility & -2 : root._visibility | 1, hoistableRoot && (current2 === null || wasHidden || offscreenSubtreeIsHidden || offscreenSubtreeWasHidden || recursivelyTraverseDisappearLayoutEffects(finishedWork)), supportsMutation)) {
|
|
24980
24980
|
a:
|
|
24981
24981
|
if (current2 = null, supportsMutation)
|
|
24982
24982
|
for (root = finishedWork;; ) {
|
|
@@ -25016,6 +25016,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
25016
25016
|
root.sibling.return = root.return;
|
|
25017
25017
|
root = root.sibling;
|
|
25018
25018
|
}
|
|
25019
|
+
}
|
|
25019
25020
|
flags & 4 && (flags = finishedWork.updateQueue, flags !== null && (current2 = flags.retryQueue, current2 !== null && (flags.retryQueue = null, attachSuspenseRetryListeners(finishedWork, current2))));
|
|
25020
25021
|
break;
|
|
25021
25022
|
case 19:
|
|
@@ -33128,7 +33129,7 @@ var require_backend = __commonJS((exports, module) => {
|
|
|
33128
33129
|
987: (module2, __unused_webpack_exports, __webpack_require__2) => {
|
|
33129
33130
|
if (true) {
|
|
33130
33131
|
module2.exports = __webpack_require__2(786);
|
|
33131
|
-
}
|
|
33132
|
+
}
|
|
33132
33133
|
},
|
|
33133
33134
|
126: (__unused_webpack_module, exports2, __webpack_require__2) => {
|
|
33134
33135
|
var process4 = __webpack_require__2(169);
|
|
@@ -33578,7 +33579,7 @@ var require_backend = __commonJS((exports, module) => {
|
|
|
33578
33579
|
189: (module2, __unused_webpack_exports, __webpack_require__2) => {
|
|
33579
33580
|
if (true) {
|
|
33580
33581
|
module2.exports = __webpack_require__2(126);
|
|
33581
|
-
}
|
|
33582
|
+
}
|
|
33582
33583
|
},
|
|
33583
33584
|
206: function(module2, exports2, __webpack_require__2) {
|
|
33584
33585
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;
|
|
@@ -33593,7 +33594,7 @@ var require_backend = __commonJS((exports, module) => {
|
|
|
33593
33594
|
(function(root, factory) {
|
|
33594
33595
|
if (true) {
|
|
33595
33596
|
__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__2(430)], __WEBPACK_AMD_DEFINE_FACTORY__ = factory, __WEBPACK_AMD_DEFINE_RESULT__ = typeof __WEBPACK_AMD_DEFINE_FACTORY__ === "function" ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports2, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module2.exports = __WEBPACK_AMD_DEFINE_RESULT__);
|
|
33596
|
-
}
|
|
33597
|
+
}
|
|
33597
33598
|
})(this, function ErrorStackParser(StackFrame) {
|
|
33598
33599
|
var FIREFOX_SAFARI_STACK_REGEXP = /(^|@)\S+:\d+/;
|
|
33599
33600
|
var CHROME_IE_STACK_REGEXP = /^\s*at .*(\S+:\d+|\(native\))/m;
|
|
@@ -34289,7 +34290,7 @@ var require_backend = __commonJS((exports, module) => {
|
|
|
34289
34290
|
(function(root, factory) {
|
|
34290
34291
|
if (true) {
|
|
34291
34292
|
__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_FACTORY__ = factory, __WEBPACK_AMD_DEFINE_RESULT__ = typeof __WEBPACK_AMD_DEFINE_FACTORY__ === "function" ? __WEBPACK_AMD_DEFINE_FACTORY__.apply(exports2, __WEBPACK_AMD_DEFINE_ARRAY__) : __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module2.exports = __WEBPACK_AMD_DEFINE_RESULT__);
|
|
34292
|
-
}
|
|
34293
|
+
}
|
|
34293
34294
|
})(this, function() {
|
|
34294
34295
|
function _isNumber(n) {
|
|
34295
34296
|
return !isNaN(parseFloat(n)) && isFinite(n);
|
|
@@ -39663,7 +39664,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
39663
39664
|
var suffix = "";
|
|
39664
39665
|
if (true) {
|
|
39665
39666
|
suffix = " (<anonymous>)";
|
|
39666
|
-
}
|
|
39667
|
+
}
|
|
39667
39668
|
return `
|
|
39668
39669
|
` + prefix + name + suffix;
|
|
39669
39670
|
}
|
|
@@ -42392,7 +42393,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
42392
42393
|
hasChanges = true;
|
|
42393
42394
|
updateMostRecentlyInspectedElementIfNecessary(devtoolsInstance.id);
|
|
42394
42395
|
}
|
|
42395
|
-
}
|
|
42396
|
+
}
|
|
42396
42397
|
}
|
|
42397
42398
|
} catch (err) {
|
|
42398
42399
|
_iterator2.e(err);
|
|
@@ -44171,7 +44172,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
44171
44172
|
if (contentFiber === null) {
|
|
44172
44173
|
throw new Error("There should always be an Offscreen Fiber child in a hydrated Suspense boundary.");
|
|
44173
44174
|
}
|
|
44174
|
-
}
|
|
44175
|
+
}
|
|
44175
44176
|
var _isTimedOut = fiber.memoizedState !== null;
|
|
44176
44177
|
if (!_isTimedOut) {
|
|
44177
44178
|
newSuspenseNode.rects = measureInstance(newInstance);
|
|
@@ -44205,7 +44206,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
44205
44206
|
if (_contentFiber === null) {
|
|
44206
44207
|
throw new Error("There should always be an Offscreen Fiber child in a hydrated Suspense boundary.");
|
|
44207
44208
|
}
|
|
44208
|
-
}
|
|
44209
|
+
}
|
|
44209
44210
|
var suspenseState = fiber.memoizedState;
|
|
44210
44211
|
var _isTimedOut3 = suspenseState !== null;
|
|
44211
44212
|
if (!_isTimedOut3) {
|
|
@@ -44305,7 +44306,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
44305
44306
|
trackThrownPromisesFromRetryCache(newSuspenseNode, fiber.stateNode);
|
|
44306
44307
|
mountSuspenseChildrenRecursively(_contentFiber2, traceNearestHostComponentUpdate, stashedSuspenseParent, stashedSuspensePrevious, stashedSuspenseRemaining);
|
|
44307
44308
|
shouldPopSuspenseNode = false;
|
|
44308
|
-
}
|
|
44309
|
+
}
|
|
44309
44310
|
} else {
|
|
44310
44311
|
if (fiber.child !== null) {
|
|
44311
44312
|
mountChildrenRecursively(fiber.child, traceNearestHostComponentUpdate);
|
|
@@ -44891,7 +44892,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
44891
44892
|
shouldPopSuspenseNode = false;
|
|
44892
44893
|
} else if (previousHydrated && !nextHydrated) {
|
|
44893
44894
|
throw new Error("Encountered a dehydrated Suspense boundary that was previously hydrated.");
|
|
44894
|
-
}
|
|
44895
|
+
}
|
|
44895
44896
|
} else {
|
|
44896
44897
|
if (nextFiber.child !== prevFiber.child) {
|
|
44897
44898
|
updateFlags |= updateChildrenRecursively(nextFiber.child, prevFiber.child, traceNearestHostComponentUpdate);
|
|
@@ -44937,8 +44938,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
44937
44938
|
recordResetChildren(fiberInstance);
|
|
44938
44939
|
}
|
|
44939
44940
|
updateFlags &= ~ShouldResetChildren;
|
|
44940
|
-
}
|
|
44941
|
-
}
|
|
44941
|
+
}
|
|
44942
|
+
}
|
|
44942
44943
|
if ((updateFlags & ShouldResetSuspenseChildren) !== NoUpdate) {
|
|
44943
44944
|
if (fiberInstance !== null && fiberInstance.kind === FIBER_INSTANCE) {
|
|
44944
44945
|
var _suspenseNode3 = fiberInstance.suspenseNode;
|
|
@@ -44946,7 +44947,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
44946
44947
|
recordResetSuspenseChildren(_suspenseNode3);
|
|
44947
44948
|
updateFlags &= ~ShouldResetSuspenseChildren;
|
|
44948
44949
|
}
|
|
44949
|
-
}
|
|
44950
|
+
}
|
|
44950
44951
|
}
|
|
44951
44952
|
if ((updateFlags & ShouldResetParentSuspenseChildren) !== NoUpdate) {
|
|
44952
44953
|
if (fiberInstance !== null && fiberInstance.kind === FIBER_INSTANCE) {
|
|
@@ -44955,7 +44956,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
44955
44956
|
updateFlags &= ~ShouldResetParentSuspenseChildren;
|
|
44956
44957
|
updateFlags |= ShouldResetSuspenseChildren;
|
|
44957
44958
|
}
|
|
44958
|
-
}
|
|
44959
|
+
}
|
|
44959
44960
|
}
|
|
44960
44961
|
return updateFlags;
|
|
44961
44962
|
} finally {
|
|
@@ -48019,7 +48020,7 @@ The error thrown in the component is:
|
|
|
48019
48020
|
rendererInterface = renderer_attach(hook, id, renderer, global2, shouldStartProfilingNow, profilingSettings);
|
|
48020
48021
|
} else if (renderer.ComponentTree) {
|
|
48021
48022
|
rendererInterface = legacy_renderer_attach(hook, id, renderer, global2);
|
|
48022
|
-
}
|
|
48023
|
+
}
|
|
48023
48024
|
}
|
|
48024
48025
|
return rendererInterface;
|
|
48025
48026
|
}
|
|
@@ -53463,8 +53464,8 @@ var init_App2 = __esm(async () => {
|
|
|
53463
53464
|
{ label: "Exit without saving", value: "exit" }
|
|
53464
53465
|
];
|
|
53465
53466
|
INSTALL_ITEMS = [
|
|
53466
|
-
{ label: "npx -y copilotstatusline@latest", value: "npm" },
|
|
53467
|
-
{ label: "bunx -y copilotstatusline@latest", value: "bunx" },
|
|
53467
|
+
{ label: "npx -y @willh/copilotstatusline@latest", value: "npm" },
|
|
53468
|
+
{ label: "bunx -y @willh/copilotstatusline@latest", value: "bunx" },
|
|
53468
53469
|
{ label: "Global copilotstatusline binary", value: "global" },
|
|
53469
53470
|
{ label: "Back", value: "back" }
|
|
53470
53471
|
];
|
|
@@ -53781,7 +53782,7 @@ function renderStatusLines(status, settings, options = {}) {
|
|
|
53781
53782
|
}
|
|
53782
53783
|
|
|
53783
53784
|
// src/copilotstatusline.ts
|
|
53784
|
-
var PACKAGE_VERSION = "0.1.
|
|
53785
|
+
var PACKAGE_VERSION = "0.1.1";
|
|
53785
53786
|
async function readStdin() {
|
|
53786
53787
|
process.stdin.setEncoding("utf8");
|
|
53787
53788
|
const chunks = [];
|
package/docs/USAGE.md
CHANGED
|
@@ -11,14 +11,14 @@ Unknown payload fields are accepted for forward compatibility. Missing optional
|
|
|
11
11
|
Interactive installation:
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
|
-
npx -y copilotstatusline@latest
|
|
14
|
+
npx -y @willh/copilotstatusline@latest
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
Non-interactive installation:
|
|
18
18
|
|
|
19
19
|
```sh
|
|
20
|
-
npx -y copilotstatusline@latest --install npm
|
|
21
|
-
bunx -y copilotstatusline@latest --install bunx
|
|
20
|
+
npx -y @willh/copilotstatusline@latest --install npm
|
|
21
|
+
bunx -y @willh/copilotstatusline@latest --install bunx
|
|
22
22
|
copilotstatusline --install global
|
|
23
23
|
```
|
|
24
24
|
|
package/docs/WINDOWS.md
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@willh/copilotstatusline",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"bugs": {
|
|
5
|
-
"url": "https://github.com/
|
|
5
|
+
"url": "https://github.com/doggy8088/copilotstatusline/issues"
|
|
6
6
|
},
|
|
7
7
|
"description": "A customizable status line formatter for GitHub Copilot CLI",
|
|
8
8
|
"main": "./dist/copilotstatusline.js",
|
|
@@ -70,7 +70,11 @@
|
|
|
70
70
|
"license": "MIT",
|
|
71
71
|
"repository": {
|
|
72
72
|
"type": "git",
|
|
73
|
-
"url": "git+https://github.com/
|
|
73
|
+
"url": "git+https://github.com/doggy8088/copilotstatusline.git"
|
|
74
|
+
},
|
|
75
|
+
"homepage": "https://github.com/doggy8088/copilotstatusline#readme",
|
|
76
|
+
"publishConfig": {
|
|
77
|
+
"access": "public"
|
|
74
78
|
},
|
|
75
79
|
"engines": {
|
|
76
80
|
"node": ">=22.0.0"
|