@solaqua/gji 0.12.1 → 0.12.2

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.
@@ -556,10 +556,10 @@ function virtualEnvironmentPrefixes(text) {
556
556
  for (const line of text.split(/\r?\n/u)) {
557
557
  if (!/\bVIRTUAL_ENV\b/u.test(line))
558
558
  continue;
559
- for (const match of line.matchAll(/["']([^"']+)["']/gu)) {
560
- if (match[1] && isAbsolute(match[1]))
561
- prefixes.push(match[1]);
562
- }
559
+ const quotedAssignment = line.match(/\bVIRTUAL_ENV(?:\s*=|\s+)\s*(?:"([^"]+)"|'([^']+)')/u);
560
+ const quotedPrefix = quotedAssignment?.[1] ?? quotedAssignment?.[2];
561
+ if (quotedPrefix && isAbsolute(quotedPrefix))
562
+ prefixes.push(quotedPrefix);
563
563
  const unquoted = line.match(/\bVIRTUAL_ENV(?:\s*=|\s+)\s*([^\s"']+)/u)?.[1];
564
564
  if (unquoted && isAbsolute(unquoted))
565
565
  prefixes.push(unquoted);
@@ -20238,9 +20238,11 @@ function virtualEnvironmentPrefixes(text) {
20238
20238
  const prefixes = [];
20239
20239
  for (const line of text.split(/\r?\n/u)) {
20240
20240
  if (!/\bVIRTUAL_ENV\b/u.test(line)) continue;
20241
- for (const match of line.matchAll(/["']([^"']+)["']/gu)) {
20242
- if (match[1] && isAbsolute4(match[1])) prefixes.push(match[1]);
20243
- }
20241
+ const quotedAssignment = line.match(
20242
+ /\bVIRTUAL_ENV(?:\s*=|\s+)\s*(?:"([^"]+)"|'([^']+)')/u
20243
+ );
20244
+ const quotedPrefix = quotedAssignment?.[1] ?? quotedAssignment?.[2];
20245
+ if (quotedPrefix && isAbsolute4(quotedPrefix)) prefixes.push(quotedPrefix);
20244
20246
  const unquoted = line.match(/\bVIRTUAL_ENV(?:\s*=|\s+)\s*([^\s"']+)/u)?.[1];
20245
20247
  if (unquoted && isAbsolute4(unquoted)) prefixes.push(unquoted);
20246
20248
  }
@@ -1,4 +1,4 @@
1
- .TH GJI\-BACK 1 "August 2026" "gji 0.12.1" "User Commands"
1
+ .TH GJI\-BACK 1 "August 2026" "gji 0.12.2" "User Commands"
2
2
  .SH NAME
3
3
  gji\-back \- navigate to the previously visited worktree, optionally N steps back
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH GJI\-CLEAN 1 "August 2026" "gji 0.12.1" "User Commands"
1
+ .TH GJI\-CLEAN 1 "August 2026" "gji 0.12.2" "User Commands"
2
2
  .SH NAME
3
3
  gji\-clean \- interactively prune linked worktrees
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH GJI\-COMPLETION 1 "August 2026" "gji 0.12.1" "User Commands"
1
+ .TH GJI\-COMPLETION 1 "August 2026" "gji 0.12.2" "User Commands"
2
2
  .SH NAME
3
3
  gji\-completion \- print shell completion definitions
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH GJI\-CONFIG 1 "August 2026" "gji 0.12.1" "User Commands"
1
+ .TH GJI\-CONFIG 1 "August 2026" "gji 0.12.2" "User Commands"
2
2
  .SH NAME
3
3
  gji\-config \- manage global config defaults
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH GJI\-DOCTOR 1 "August 2026" "gji 0.12.1" "User Commands"
1
+ .TH GJI\-DOCTOR 1 "August 2026" "gji 0.12.2" "User Commands"
2
2
  .SH NAME
3
3
  gji\-doctor \- check gji installation and configuration health
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH GJI\-DONE 1 "August 2026" "gji 0.12.1" "User Commands"
1
+ .TH GJI\-DONE 1 "August 2026" "gji 0.12.2" "User Commands"
2
2
  .SH NAME
3
3
  gji\-done \- finish the current linked worktree and return safely
4
4
  .SH SYNOPSIS
package/man/man1/gji-go.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH GJI\-GO 1 "August 2026" "gji 0.12.1" "User Commands"
1
+ .TH GJI\-GO 1 "August 2026" "gji 0.12.2" "User Commands"
2
2
  .SH NAME
3
3
  gji\-go \- resolve and jump to a worktree path
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH GJI\-HISTORY 1 "August 2026" "gji 0.12.1" "User Commands"
1
+ .TH GJI\-HISTORY 1 "August 2026" "gji 0.12.2" "User Commands"
2
2
  .SH NAME
3
3
  gji\-history \- show navigation history
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH GJI\-INIT 1 "August 2026" "gji 0.12.1" "User Commands"
1
+ .TH GJI\-INIT 1 "August 2026" "gji 0.12.2" "User Commands"
2
2
  .SH NAME
3
3
  gji\-init \- set up shell integration interactively or print a shell wrapper
4
4
  .SH SYNOPSIS
package/man/man1/gji-ls.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH GJI\-LS 1 "August 2026" "gji 0.12.1" "User Commands"
1
+ .TH GJI\-LS 1 "August 2026" "gji 0.12.2" "User Commands"
2
2
  .SH NAME
3
3
  gji\-ls \- list active worktrees
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH GJI\-NEW 1 "August 2026" "gji 0.12.1" "User Commands"
1
+ .TH GJI\-NEW 1 "August 2026" "gji 0.12.2" "User Commands"
2
2
  .SH NAME
3
3
  gji\-new \- create a new branch or detached linked worktree and CoW\-bootstrap configured directories
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH GJI\-OPEN 1 "August 2026" "gji 0.12.1" "User Commands"
1
+ .TH GJI\-OPEN 1 "August 2026" "gji 0.12.2" "User Commands"
2
2
  .SH NAME
3
3
  gji\-open \- open the worktree in an editor
4
4
  .SH SYNOPSIS
package/man/man1/gji-pr.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH GJI\-PR 1 "August 2026" "gji 0.12.1" "User Commands"
1
+ .TH GJI\-PR 1 "August 2026" "gji 0.12.2" "User Commands"
2
2
  .SH NAME
3
3
  gji\-pr \- fetch a pull request by number, #number, or URL into a linked worktree
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH GJI\-REMOVE 1 "August 2026" "gji 0.12.1" "User Commands"
1
+ .TH GJI\-REMOVE 1 "August 2026" "gji 0.12.2" "User Commands"
2
2
  .SH NAME
3
3
  gji\-remove \- deprecated: use gji done for one worktree or gji clean for bulk cleanup
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH GJI\-ROOT 1 "August 2026" "gji 0.12.1" "User Commands"
1
+ .TH GJI\-ROOT 1 "August 2026" "gji 0.12.2" "User Commands"
2
2
  .SH NAME
3
3
  gji\-root \- print the main repository root path
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH GJI\-RUN\-HOOK 1 "August 2026" "gji 0.12.1" "User Commands"
1
+ .TH GJI\-RUN\-HOOK 1 "August 2026" "gji 0.12.2" "User Commands"
2
2
  .SH NAME
3
3
  gji\-run\-hook \- run a named hook (after\-create, after\-enter, before\-remove) in the current worktree
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH GJI\-STATUS 1 "August 2026" "gji 0.12.1" "User Commands"
1
+ .TH GJI\-STATUS 1 "August 2026" "gji 0.12.2" "User Commands"
2
2
  .SH NAME
3
3
  gji\-status \- summarize repository and worktree health
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH GJI\-SYNC\-FILES 1 "August 2026" "gji 0.12.1" "User Commands"
1
+ .TH GJI\-SYNC\-FILES 1 "August 2026" "gji 0.12.2" "User Commands"
2
2
  .SH NAME
3
3
  gji\-sync\-files \- manage local files copied into new worktrees
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH GJI\-SYNC 1 "August 2026" "gji 0.12.1" "User Commands"
1
+ .TH GJI\-SYNC 1 "August 2026" "gji 0.12.2" "User Commands"
2
2
  .SH NAME
3
3
  gji\-sync \- fetch and update one or all worktrees
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH GJI\-TASK 1 "August 2026" "gji 0.12.1" "User Commands"
1
+ .TH GJI\-TASK 1 "August 2026" "gji 0.12.2" "User Commands"
2
2
  .SH NAME
3
3
  gji\-task \- show or update the current worktree task
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH GJI\-UNDO 1 "August 2026" "gji 0.12.1" "User Commands"
1
+ .TH GJI\-UNDO 1 "August 2026" "gji 0.12.2" "User Commands"
2
2
  .SH NAME
3
3
  gji\-undo \- restore the most recent destructive worktree operation
4
4
  .SH SYNOPSIS
@@ -1,4 +1,4 @@
1
- .TH GJI\-WARP 1 "August 2026" "gji 0.12.1" "User Commands"
1
+ .TH GJI\-WARP 1 "August 2026" "gji 0.12.2" "User Commands"
2
2
  .SH NAME
3
3
  gji\-warp \- deprecated: use gji go (press Tab for all known repos)
4
4
  .SH SYNOPSIS
package/man/man1/gji.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH GJI 1 "August 2026" "gji 0.12.1" "User Commands"
1
+ .TH GJI 1 "August 2026" "gji 0.12.2" "User Commands"
2
2
  .SH NAME
3
3
  gji \- Context switching without the mess.
4
4
  .SH SYNOPSIS
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solaqua/gji",
3
- "version": "0.12.1",
3
+ "version": "0.12.2",
4
4
  "description": "Git worktree CLI for fast context switching.",
5
5
  "license": "MIT",
6
6
  "author": "sjquant",