@rse/claudex 1.1.5 → 1.1.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/claudex.js CHANGED
@@ -651,6 +651,8 @@ const actionInternalTmux = (opts, args) => {
651
651
  /* ASE-specific bind-keys (only when "-A" is in effect) */
652
652
  conf +=
653
653
  "bind-key q display-popup -E -w 95% -h 95% -T \"─◀#[reverse] ⧉ Task Edit (ase task edit) #[noreverse]▶\" claudex internal ase-task-edit\n" +
654
+ "bind-key b display-popup -E -w 95% -h 95% -T \"─◀#[reverse] ⧉ Task Board (ase task board) #[noreverse]▶\" claudex internal ase-task-board\n" +
655
+ "bind-key B run-shell -b \"claudex internal ase-task-board --web\"\n" +
654
656
  "bind-key t send-keys \"/ase:ase-task-id \"\n" +
655
657
  "bind-key p send-keys \"/ase:ase-meta-persona \"\n";
656
658
  }
@@ -668,7 +670,10 @@ const actionInternalTmux = (opts, args) => {
668
670
  "set-hook -g -u after-split-window\n" +
669
671
  "bind-key g display-popup -E -w 95% -h 95% -T \"─◀( ⧉ Version Control (lazygit) )▶\" claudex internal lazygit\n" +
670
672
  "bind-key s display-popup -E -w 95% -h 95% -T \"─◀( ⧉ Shell )▶\" claudex internal shell\n" +
671
- (opts.ase ? "bind-key q display-popup -E -w 95% -h 95% -T \"─◀( ⧉ Task Edit (ase task edit) )▶\" claudex internal ase-task-edit\n" : "");
673
+ (opts.ase ?
674
+ "bind-key q display-popup -E -w 95% -h 95% -T \"─◀( ⧉ Task Edit (ase task edit) )▶\" claudex internal ase-task-edit\n" +
675
+ "bind-key b display-popup -E -w 95% -h 95% -T \"─◀( ⧉ Task Board (ase task board) )▶\" claudex internal ase-task-board\n" +
676
+ "bind-key B run-shell -b \"claudex internal ase-task-board --web\"\n" : "");
672
677
  }
673
678
  /* propagate model-selection environment variables into the tmux
674
679
  server's global environment, so that they survive into every pane
@@ -744,6 +749,19 @@ const actionInternalAseTaskEdit = async (_opts) => {
744
749
  await new Promise((resolve) => setTimeout(resolve, 2000));
745
750
  }
746
751
  };
752
+ /* action: internal "ase-task-board" -- show the ASE task board (keeping errors visible briefly);
753
+ with "--web" it runs via tmux "run-shell", so stdout (the URL) is suppressed to avoid tmux view mode */
754
+ const actionInternalAseTaskBoard = async (_opts, args) => {
755
+ ensureTool("ase");
756
+ const web = args.includes("--web");
757
+ const r = execaSync("ase", ["task", "board", ...args], {
758
+ stdio: web ? ["ignore", "ignore", "inherit"] : "inherit",
759
+ reject: false,
760
+ windowsHide: false
761
+ });
762
+ if (!web && (r.exitCode ?? 1) !== 0)
763
+ await new Promise((resolve) => setTimeout(resolve, 2000));
764
+ };
747
765
  /* action: internal "lazygit" -- spawn lazygit (optionally recolored) */
748
766
  const actionInternalLazygit = (opts, args) => {
749
767
  ensureTool("git");
@@ -867,7 +885,7 @@ const actionStats = async (args) => {
867
885
  ensureTool("codeburn", { hint: "run \"claudex install\" or \"claudex update\" first" });
868
886
  return execInherit("codeburn", ["report", "--provider", "claude", "--period", "30days", ...args]);
869
887
  };
870
- /* action: internal sub-dispatch (tmux, shell, ase-task-edit, lazygit, capsula, exec) */
888
+ /* action: internal sub-dispatch (tmux, shell, ase-task-edit, ase-task-board, lazygit, capsula, exec) */
871
889
  const actionInternal = async (opts, args) => {
872
890
  const util = args[0];
873
891
  const rest = args.slice(1);
@@ -875,6 +893,7 @@ const actionInternal = async (opts, args) => {
875
893
  case "tmux": return actionInternalTmux(opts, rest);
876
894
  case "shell": return actionInternalShell(opts, rest);
877
895
  case "ase-task-edit": return actionInternalAseTaskEdit(opts);
896
+ case "ase-task-board": return actionInternalAseTaskBoard(opts, rest);
878
897
  case "lazygit": return actionInternalLazygit(opts, rest);
879
898
  case "capsula": return actionInternalCapsula(opts, rest);
880
899
  case "exec": return actionInternalExec(opts);
@@ -1400,7 +1419,7 @@ const main = async () => {
1400
1419
  /* dispatch "internal" sub-command */
1401
1420
  program
1402
1421
  .command("internal")
1403
- .description("internal command dispatcher (tmux, shell, lazygit, ase-task-edit, capsula)")
1422
+ .description("internal command dispatcher (tmux, shell, lazygit, ase-task-edit, ase-task-board, capsula)")
1404
1423
  .helpOption("-h, --help", "display help for command")
1405
1424
  .passThroughOptions()
1406
1425
  .allowUnknownOption()
package/claudex.ts CHANGED
@@ -740,6 +740,8 @@ const actionInternalTmux = (opts: TopOpts, args: string[]): never => {
740
740
  /* ASE-specific bind-keys (only when "-A" is in effect) */
741
741
  conf +=
742
742
  "bind-key q display-popup -E -w 95% -h 95% -T \"─◀#[reverse] ⧉ Task Edit (ase task edit) #[noreverse]▶\" claudex internal ase-task-edit\n" +
743
+ "bind-key b display-popup -E -w 95% -h 95% -T \"─◀#[reverse] ⧉ Task Board (ase task board) #[noreverse]▶\" claudex internal ase-task-board\n" +
744
+ "bind-key B run-shell -b \"claudex internal ase-task-board --web\"\n" +
743
745
  "bind-key t send-keys \"/ase:ase-task-id \"\n" +
744
746
  "bind-key p send-keys \"/ase:ase-meta-persona \"\n"
745
747
  }
@@ -757,7 +759,10 @@ const actionInternalTmux = (opts: TopOpts, args: string[]): never => {
757
759
  "set-hook -g -u after-split-window\n" +
758
760
  "bind-key g display-popup -E -w 95% -h 95% -T \"─◀( ⧉ Version Control (lazygit) )▶\" claudex internal lazygit\n" +
759
761
  "bind-key s display-popup -E -w 95% -h 95% -T \"─◀( ⧉ Shell )▶\" claudex internal shell\n" +
760
- (opts.ase ? "bind-key q display-popup -E -w 95% -h 95% -T \"─◀( ⧉ Task Edit (ase task edit) )▶\" claudex internal ase-task-edit\n" : "")
762
+ (opts.ase ?
763
+ "bind-key q display-popup -E -w 95% -h 95% -T \"─◀( ⧉ Task Edit (ase task edit) )▶\" claudex internal ase-task-edit\n" +
764
+ "bind-key b display-popup -E -w 95% -h 95% -T \"─◀( ⧉ Task Board (ase task board) )▶\" claudex internal ase-task-board\n" +
765
+ "bind-key B run-shell -b \"claudex internal ase-task-board --web\"\n" : "")
761
766
  }
762
767
  /* propagate model-selection environment variables into the tmux
763
768
  server's global environment, so that they survive into every pane
@@ -836,6 +841,20 @@ const actionInternalAseTaskEdit = async (_opts: TopOpts): Promise<void> => {
836
841
  }
837
842
  }
838
843
 
844
+ /* action: internal "ase-task-board" -- show the ASE task board (keeping errors visible briefly);
845
+ with "--web" it runs via tmux "run-shell", so stdout (the URL) is suppressed to avoid tmux view mode */
846
+ const actionInternalAseTaskBoard = async (_opts: TopOpts, args: string[]): Promise<void> => {
847
+ ensureTool("ase")
848
+ const web = args.includes("--web")
849
+ const r = execaSync("ase", [ "task", "board", ...args ], {
850
+ stdio: web ? [ "ignore", "ignore", "inherit" ] : "inherit",
851
+ reject: false,
852
+ windowsHide: false
853
+ })
854
+ if (!web && (r.exitCode ?? 1) !== 0)
855
+ await new Promise((resolve) => setTimeout(resolve, 2000))
856
+ }
857
+
839
858
  /* action: internal "lazygit" -- spawn lazygit (optionally recolored) */
840
859
  const actionInternalLazygit = (opts: TopOpts, args: string[]): never => {
841
860
  ensureTool("git")
@@ -967,17 +986,18 @@ const actionStats = async (args: string[]): Promise<never> => {
967
986
  return execInherit("codeburn", [ "report", "--provider", "claude", "--period", "30days", ...args ])
968
987
  }
969
988
 
970
- /* action: internal sub-dispatch (tmux, shell, ase-task-edit, lazygit, capsula, exec) */
989
+ /* action: internal sub-dispatch (tmux, shell, ase-task-edit, ase-task-board, lazygit, capsula, exec) */
971
990
  const actionInternal = async (opts: TopOpts, args: string[]): Promise<void> => {
972
991
  const util = args[0]
973
992
  const rest = args.slice(1)
974
993
  switch (util) {
975
- case "tmux": return actionInternalTmux(opts, rest)
976
- case "shell": return actionInternalShell(opts, rest)
977
- case "ase-task-edit": return actionInternalAseTaskEdit(opts)
978
- case "lazygit": return actionInternalLazygit(opts, rest)
979
- case "capsula": return actionInternalCapsula(opts, rest)
980
- case "exec": return actionInternalExec(opts)
994
+ case "tmux": return actionInternalTmux(opts, rest)
995
+ case "shell": return actionInternalShell(opts, rest)
996
+ case "ase-task-edit": return actionInternalAseTaskEdit(opts)
997
+ case "ase-task-board": return actionInternalAseTaskBoard(opts, rest)
998
+ case "lazygit": return actionInternalLazygit(opts, rest)
999
+ case "capsula": return actionInternalCapsula(opts, rest)
1000
+ case "exec": return actionInternalExec(opts)
981
1001
  default:
982
1002
  fatal(`invalid internal command "${util ?? ""}"`)
983
1003
  }
@@ -1530,7 +1550,7 @@ const main = async (): Promise<void> => {
1530
1550
  /* dispatch "internal" sub-command */
1531
1551
  program
1532
1552
  .command("internal")
1533
- .description("internal command dispatcher (tmux, shell, lazygit, ase-task-edit, capsula)")
1553
+ .description("internal command dispatcher (tmux, shell, lazygit, ase-task-edit, ase-task-board, capsula)")
1534
1554
  .helpOption("-h, --help", "display help for command")
1535
1555
  .passThroughOptions()
1536
1556
  .allowUnknownOption()
package/lazygit.yaml CHANGED
@@ -80,3 +80,14 @@ os:
80
80
  edit: vim {{filename}}
81
81
  editAtLine: vim +{{line}} {{filename}}
82
82
 
83
+ customCommands:
84
+ - key: "s"
85
+ context: "files"
86
+ description: "Stash all changes (including untracked)"
87
+ prompts:
88
+ - type: "input"
89
+ title: "Stash message"
90
+ key: "Message"
91
+ command: "git stash push --include-untracked -m {{.Form.Message | quote}}"
92
+ loadingText: "Stashing..."
93
+
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rse/claudex",
3
3
  "publishConfig": { "access": "public" },
4
- "version": "1.1.5",
4
+ "version": "1.1.6",
5
5
  "description": "Claude Code eXtended",
6
6
  "type": "module",
7
7
  "keywords": [ "claude", "code", "extension", "wrapper" ],
@@ -17,7 +17,7 @@
17
17
  "bin": { "claudex": "claudex.js" },
18
18
  "dependencies": {
19
19
  "which": "7.0.0",
20
- "execa": "10.1.0",
20
+ "execa": "10.2.0",
21
21
  "chalk": "6.0.1",
22
22
  "commander": "15.0.0",
23
23
  "deepmerge": "4.3.1",
@@ -33,11 +33,11 @@
33
33
  "@rse/stx": "1.1.7",
34
34
  "eslint": "9.39.5",
35
35
  "@eslint/js": "9.39.5",
36
- "typescript-eslint": "8.71.1",
37
- "@typescript-eslint/parser": "8.71.1",
36
+ "typescript-eslint": "8.71.2",
37
+ "@typescript-eslint/parser": "8.71.2",
38
38
  "eslint-plugin-promise": "7.3.0",
39
39
  "eslint-plugin-import": "2.32.0",
40
- "neostandard": "0.14.0",
40
+ "neostandard": "0.14.1",
41
41
  "globals": "17.13.0",
42
42
  "shx": "0.4.0"
43
43
  },