@ondrej-svec/hog 1.17.0 → 1.18.0
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/cli.js +14 -6
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -2187,6 +2187,10 @@ function useKeyboard({
|
|
|
2187
2187
|
handleLaunchClaude();
|
|
2188
2188
|
return;
|
|
2189
2189
|
}
|
|
2190
|
+
if (input2 === "g") {
|
|
2191
|
+
handleOpen();
|
|
2192
|
+
return;
|
|
2193
|
+
}
|
|
2190
2194
|
}
|
|
2191
2195
|
if (ui.canAct) {
|
|
2192
2196
|
const digit = parseInt(input2, 10);
|
|
@@ -2282,7 +2286,11 @@ function useKeyboard({
|
|
|
2282
2286
|
onStatusEnter();
|
|
2283
2287
|
break;
|
|
2284
2288
|
case 3:
|
|
2285
|
-
|
|
2289
|
+
if (showDetailPanel) {
|
|
2290
|
+
panelFocus.focusPanel(0);
|
|
2291
|
+
} else {
|
|
2292
|
+
ui.enterDetail();
|
|
2293
|
+
}
|
|
2286
2294
|
break;
|
|
2287
2295
|
case 4:
|
|
2288
2296
|
onActivityEnter();
|
|
@@ -3383,7 +3391,7 @@ function HintBar({
|
|
|
3383
3391
|
if (uiMode === "overlay:detail") {
|
|
3384
3392
|
return /* @__PURE__ */ jsxs5(Box5, { children: [
|
|
3385
3393
|
/* @__PURE__ */ jsx5(Text5, { color: "cyan", bold: true, children: "[DETAIL]" }),
|
|
3386
|
-
/* @__PURE__ */ jsx5(Text5, { color: "gray", children: " Esc:close e:edit c:comment y:copy-link C:claude ? help" })
|
|
3394
|
+
/* @__PURE__ */ jsx5(Text5, { color: "gray", children: " Esc:close e:edit c:comment g:open y:copy-link C:claude ? help" })
|
|
3387
3395
|
] });
|
|
3388
3396
|
}
|
|
3389
3397
|
if (uiMode.startsWith("overlay:")) {
|
|
@@ -3393,7 +3401,7 @@ function HintBar({
|
|
|
3393
3401
|
0: "j/k:scroll Esc:close ? help",
|
|
3394
3402
|
1: "j/k:move Enter:filter 0-4:panel ? help",
|
|
3395
3403
|
2: "j/k:move Enter:filter Esc:clear 0-4:panel ? help",
|
|
3396
|
-
3: `j/k:move p:pick m:status c:comment C:claude /:search n:new 0-4:panel${hasUndoable ? " u:undo" : ""} ? help q:quit`,
|
|
3404
|
+
3: `j/k:move Enter:detail g:open p:pick m:status c:comment C:claude /:search n:new 0-4:panel${hasUndoable ? " u:undo" : ""} ? help q:quit`,
|
|
3397
3405
|
4: "j/k:scroll Enter:jump r:refresh 0-4:panel ? help"
|
|
3398
3406
|
};
|
|
3399
3407
|
return /* @__PURE__ */ jsxs5(Box5, { children: [
|
|
@@ -4452,7 +4460,7 @@ var init_help_overlay = __esm({
|
|
|
4452
4460
|
{
|
|
4453
4461
|
category: "View",
|
|
4454
4462
|
items: [
|
|
4455
|
-
{ key: "Enter", desc: "Open
|
|
4463
|
+
{ key: "Enter", desc: "Open detail panel" },
|
|
4456
4464
|
{ key: "0", desc: "Detail panel (full-screen on narrow terminals)" },
|
|
4457
4465
|
{ key: "Space", desc: "Multi-select item" },
|
|
4458
4466
|
{ key: "/", desc: "Search (inline filter)" },
|
|
@@ -4472,7 +4480,7 @@ var init_help_overlay = __esm({
|
|
|
4472
4480
|
{ key: "e", desc: "Edit issue in $EDITOR (title, assignee, status, labels)" },
|
|
4473
4481
|
{ key: "c", desc: "Comment on issue" },
|
|
4474
4482
|
{ key: "m", desc: "Move status" },
|
|
4475
|
-
{ key: "
|
|
4483
|
+
{ key: "g", desc: "Open issue in browser" },
|
|
4476
4484
|
{ key: "o", desc: "Open Slack thread" },
|
|
4477
4485
|
{ key: "y", desc: "Copy issue link to clipboard" },
|
|
4478
4486
|
{ key: "n", desc: "Create new issue" },
|
|
@@ -7679,7 +7687,7 @@ function resolveProjectId(projectId) {
|
|
|
7679
7687
|
process.exit(1);
|
|
7680
7688
|
}
|
|
7681
7689
|
var program = new Command();
|
|
7682
|
-
program.name("hog").description("Personal command deck \u2014 unified task dashboard for GitHub Projects + TickTick").version("1.
|
|
7690
|
+
program.name("hog").description("Personal command deck \u2014 unified task dashboard for GitHub Projects + TickTick").version("1.18.0").option("--json", "Force JSON output").option("--human", "Force human-readable output").hook("preAction", (thisCommand) => {
|
|
7683
7691
|
const opts = thisCommand.opts();
|
|
7684
7692
|
if (opts.json) setFormat("json");
|
|
7685
7693
|
if (opts.human) setFormat("human");
|