@co0ontty/wand 1.43.4 → 1.43.6
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/dist/build-info.json +3 -3
- package/dist/git-quick-commit.js +2 -17
- package/dist/types.d.ts +0 -2
- package/dist/web-ui/content/scripts.js +76 -443
- package/dist/web-ui/content/styles.css +230 -268
- package/dist/web-ui/embedded-assets.d.ts +1 -1
- package/dist/web-ui/embedded-assets.js +3 -3
- package/package.json +1 -1
package/dist/build-info.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"commit": "
|
|
3
|
-
"builtAt": "2026-05-
|
|
4
|
-
"version": "1.43.
|
|
2
|
+
"commit": "8014df702e9f99f37092a386d971bebc57702510",
|
|
3
|
+
"builtAt": "2026-05-31T08:14:40.260Z",
|
|
4
|
+
"version": "1.43.6",
|
|
5
5
|
"channel": "stable"
|
|
6
6
|
}
|
package/dist/git-quick-commit.js
CHANGED
|
@@ -64,20 +64,6 @@ function resolvePushRemote(cwd) {
|
|
|
64
64
|
}
|
|
65
65
|
return "origin";
|
|
66
66
|
}
|
|
67
|
-
/**
|
|
68
|
-
* Derive a default next-version tag from the latest existing tag by bumping the
|
|
69
|
-
* patch component (preserving an optional `v` prefix). Returns a sane starting
|
|
70
|
-
* version when there's no tag yet, or `undefined` if the latest tag isn't semver-ish.
|
|
71
|
-
*/
|
|
72
|
-
function computeSuggestedTag(latestTag) {
|
|
73
|
-
if (!latestTag)
|
|
74
|
-
return "v0.1.0";
|
|
75
|
-
const m = latestTag.match(/^(v?)(\d+)\.(\d+)\.(\d+)$/);
|
|
76
|
-
if (!m)
|
|
77
|
-
return undefined;
|
|
78
|
-
const [, prefix, major, minor, patch] = m;
|
|
79
|
-
return `${prefix}${major}.${minor}.${Number.parseInt(patch, 10) + 1}`;
|
|
80
|
-
}
|
|
81
67
|
function unquotePath(raw) {
|
|
82
68
|
if (raw.startsWith("\"") && raw.endsWith("\"")) {
|
|
83
69
|
return raw.slice(1, -1).replace(/\\"/g, "\"").replace(/\\\\/g, "\\");
|
|
@@ -231,7 +217,8 @@ export function getGitStatus(cwd) {
|
|
|
231
217
|
// `ls-remote` is a synchronous network call that can block the event loop
|
|
232
218
|
// for seconds. The "unpushed tag" UI chip is best-effort and a separate
|
|
233
219
|
// async endpoint should compute it on demand if reintroduced.
|
|
234
|
-
// Latest tag
|
|
220
|
+
// Latest tag only. Next tag suggestions are intentionally AI-derived from the
|
|
221
|
+
// diff so releases do not silently follow a fixed patch-bump rule.
|
|
235
222
|
let latestTag;
|
|
236
223
|
if (!initialCommit) {
|
|
237
224
|
try {
|
|
@@ -241,7 +228,6 @@ export function getGitStatus(cwd) {
|
|
|
241
228
|
latestTag = undefined;
|
|
242
229
|
}
|
|
243
230
|
}
|
|
244
|
-
const suggestedTag = computeSuggestedTag(latestTag);
|
|
245
231
|
return {
|
|
246
232
|
isGit: true,
|
|
247
233
|
branch,
|
|
@@ -255,7 +241,6 @@ export function getGitStatus(cwd) {
|
|
|
255
241
|
behind,
|
|
256
242
|
lastCommit,
|
|
257
243
|
latestTag,
|
|
258
|
-
suggestedTag,
|
|
259
244
|
};
|
|
260
245
|
}
|
|
261
246
|
export class QuickCommitError extends Error {
|
package/dist/types.d.ts
CHANGED
|
@@ -198,8 +198,6 @@ export interface GitStatusResult {
|
|
|
198
198
|
};
|
|
199
199
|
/** Most recent tag reachable from HEAD (`git describe --tags --abbrev=0`), if any. */
|
|
200
200
|
latestTag?: string;
|
|
201
|
-
/** Locally-derived next-version suggestion (patch bump of `latestTag`, or a sane default). */
|
|
202
|
-
suggestedTag?: string;
|
|
203
201
|
error?: string;
|
|
204
202
|
}
|
|
205
203
|
export interface QuickCommitResult {
|