@hypercli/hq 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/LICENSE +21 -0
- package/README.md +24 -0
- package/dist/commands/hq/attach.d.ts +10 -0
- package/dist/commands/hq/attach.d.ts.map +1 -0
- package/dist/commands/hq/attach.js +29 -0
- package/dist/commands/hq/attach.js.map +1 -0
- package/dist/commands/hq/config.d.ts +12 -0
- package/dist/commands/hq/config.d.ts.map +1 -0
- package/dist/commands/hq/config.js +56 -0
- package/dist/commands/hq/config.js.map +1 -0
- package/dist/commands/hq/list.d.ts +12 -0
- package/dist/commands/hq/list.d.ts.map +1 -0
- package/dist/commands/hq/list.js +54 -0
- package/dist/commands/hq/list.js.map +1 -0
- package/dist/commands/hq/spawn.d.ts +17 -0
- package/dist/commands/hq/spawn.d.ts.map +1 -0
- package/dist/commands/hq/spawn.js +100 -0
- package/dist/commands/hq/spawn.js.map +1 -0
- package/dist/commands/hq/start.d.ts +14 -0
- package/dist/commands/hq/start.d.ts.map +1 -0
- package/dist/commands/hq/start.js +178 -0
- package/dist/commands/hq/start.js.map +1 -0
- package/dist/commands/hq/status.d.ts +11 -0
- package/dist/commands/hq/status.d.ts.map +1 -0
- package/dist/commands/hq/status.js +34 -0
- package/dist/commands/hq/status.js.map +1 -0
- package/dist/commands/hq/stop-all.d.ts +7 -0
- package/dist/commands/hq/stop-all.d.ts.map +1 -0
- package/dist/commands/hq/stop-all.js +20 -0
- package/dist/commands/hq/stop-all.js.map +1 -0
- package/dist/commands/hq/stop.d.ts +10 -0
- package/dist/commands/hq/stop.d.ts.map +1 -0
- package/dist/commands/hq/stop.js +28 -0
- package/dist/commands/hq/stop.js.map +1 -0
- package/dist/config/index.d.ts +6 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +59 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/schema.d.ts +25 -0
- package/dist/config/schema.d.ts.map +1 -0
- package/dist/config/schema.js +17 -0
- package/dist/config/schema.js.map +1 -0
- package/dist/config/setup.d.ts +3 -0
- package/dist/config/setup.d.ts.map +1 -0
- package/dist/config/setup.js +147 -0
- package/dist/config/setup.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/base-command.d.ts +17 -0
- package/dist/lib/base-command.d.ts.map +1 -0
- package/dist/lib/base-command.js +17 -0
- package/dist/lib/base-command.js.map +1 -0
- package/dist/services/claude.d.ts +11 -0
- package/dist/services/claude.d.ts.map +1 -0
- package/dist/services/claude.js +37 -0
- package/dist/services/claude.js.map +1 -0
- package/dist/services/projects.d.ts +20 -0
- package/dist/services/projects.d.ts.map +1 -0
- package/dist/services/projects.js +147 -0
- package/dist/services/projects.js.map +1 -0
- package/dist/services/telegram.d.ts +8 -0
- package/dist/services/telegram.d.ts.map +1 -0
- package/dist/services/telegram.js +26 -0
- package/dist/services/telegram.js.map +1 -0
- package/dist/services/tmux.d.ts +25 -0
- package/dist/services/tmux.d.ts.map +1 -0
- package/dist/services/tmux.js +87 -0
- package/dist/services/tmux.js.map +1 -0
- package/dist/utils/banner.d.ts +7 -0
- package/dist/utils/banner.d.ts.map +1 -0
- package/dist/utils/banner.js +80 -0
- package/dist/utils/banner.js.map +1 -0
- package/dist/utils/log.d.ts +2 -0
- package/dist/utils/log.d.ts.map +1 -0
- package/dist/utils/log.js +5 -0
- package/dist/utils/log.js.map +1 -0
- package/dist/utils/paths.d.ts +4 -0
- package/dist/utils/paths.d.ts.map +1 -0
- package/dist/utils/paths.js +10 -0
- package/dist/utils/paths.js.map +1 -0
- package/dist/utils/trust.d.ts +13 -0
- package/dist/utils/trust.d.ts.map +1 -0
- package/dist/utils/trust.js +29 -0
- package/dist/utils/trust.js.map +1 -0
- package/help/hq/attach.md +32 -0
- package/help/hq/config.md +50 -0
- package/help/hq/list.md +42 -0
- package/help/hq/spawn.md +47 -0
- package/help/hq/start.md +39 -0
- package/help/hq/status.md +38 -0
- package/help/hq/stop-all.md +20 -0
- package/help/hq/stop.md +31 -0
- package/help/hq.md +48 -0
- package/oclif.manifest.json +395 -0
- package/package.json +87 -0
package/help/hq/spawn.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# hyper hq spawn
|
|
2
|
+
|
|
3
|
+
Spawn a new Claude session for a project.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
`hyper hq spawn <project> [flags]`
|
|
8
|
+
|
|
9
|
+
## Arguments
|
|
10
|
+
|
|
11
|
+
| Argument | Description |
|
|
12
|
+
|----------|-------------|
|
|
13
|
+
| `project` | Project name (looked up under your configured projects root) or an absolute path |
|
|
14
|
+
|
|
15
|
+
## Flags
|
|
16
|
+
|
|
17
|
+
| Flag | Description |
|
|
18
|
+
|------|-------------|
|
|
19
|
+
| `--worktree <branch>` | Use an existing worktree by branch name |
|
|
20
|
+
| `--new-worktree <branch>` | Create a new worktree via `wt switch -c` and spawn into it |
|
|
21
|
+
| `--permission-mode <mode>` | Permission mode: `default`, `acceptEdits`, `plan`, or `auto` |
|
|
22
|
+
| `--name <name>` | Custom session name (default: `hq-<project>[-<branch>]`) |
|
|
23
|
+
|
|
24
|
+
## Examples
|
|
25
|
+
|
|
26
|
+
```sh
|
|
27
|
+
# Spawn a session for a project in your projects root
|
|
28
|
+
hyper hq spawn my-project
|
|
29
|
+
|
|
30
|
+
# Spawn using an absolute path
|
|
31
|
+
hyper hq spawn /absolute/path/to/project
|
|
32
|
+
|
|
33
|
+
# Spawn on an existing worktree
|
|
34
|
+
hyper hq spawn my-project --worktree feat-auth
|
|
35
|
+
|
|
36
|
+
# Create a new worktree and spawn into it
|
|
37
|
+
hyper hq spawn my-project --new-worktree feat-login
|
|
38
|
+
|
|
39
|
+
# Spawn with auto-permission mode
|
|
40
|
+
hyper hq spawn my-project --permission-mode auto
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Notes
|
|
44
|
+
|
|
45
|
+
- If a session for the project is already running, the command exits early and suggests `hyper hq attach <project>`.
|
|
46
|
+
- Connect to the spawned session via claude.ai/code, the Claude mobile app, or `hyper hq attach <project>`.
|
|
47
|
+
- If a Telegram bot is configured for the project in `hq.toml`, the session will use it automatically.
|
package/help/hq/start.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# hyper hq start
|
|
2
|
+
|
|
3
|
+
Start the HQ session — always-on Claude Code command center.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
`hyper hq start [flags]`
|
|
8
|
+
|
|
9
|
+
## Flags
|
|
10
|
+
|
|
11
|
+
| Flag | Description |
|
|
12
|
+
|------|-------------|
|
|
13
|
+
| `--name <name>` | Custom session name (default: from config) |
|
|
14
|
+
| `--spawn-mode <mode>` | How new sessions are created: `same-dir`, `worktree`, or `session` |
|
|
15
|
+
| `--permission-mode <mode>` | Permission mode for sessions: `default`, `acceptEdits`, `plan`, or `auto` |
|
|
16
|
+
| `--capacity <n>` | Max concurrent sessions |
|
|
17
|
+
|
|
18
|
+
## Examples
|
|
19
|
+
|
|
20
|
+
```sh
|
|
21
|
+
# Start HQ with defaults
|
|
22
|
+
hyper hq start
|
|
23
|
+
|
|
24
|
+
# Start with worktree spawn mode
|
|
25
|
+
hyper hq start --spawn-mode worktree
|
|
26
|
+
|
|
27
|
+
# Start with higher session capacity
|
|
28
|
+
hyper hq start --capacity 16
|
|
29
|
+
|
|
30
|
+
# Start in auto-permission mode (no approval prompts)
|
|
31
|
+
hyper hq start --permission-mode auto
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Notes
|
|
35
|
+
|
|
36
|
+
- The first run triggers an interactive setup wizard to create `~/.config/hyper/hq.toml`.
|
|
37
|
+
- HQ runs as a tmux session in Claude's remote-control server mode — connect to it from claude.ai/code or the mobile app.
|
|
38
|
+
- If a session with the same name is already running, the command exits early and suggests using `hyper hq attach`.
|
|
39
|
+
- Flags override the corresponding values in your config file.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# hyper hq status
|
|
2
|
+
|
|
3
|
+
Show running HQ sessions.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
`hyper hq status [flags]`
|
|
8
|
+
|
|
9
|
+
## Flags
|
|
10
|
+
|
|
11
|
+
| Flag | Description |
|
|
12
|
+
|------|-------------|
|
|
13
|
+
| `--json` | Output as JSON |
|
|
14
|
+
|
|
15
|
+
## Examples
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
# Show all running HQ sessions
|
|
19
|
+
hyper hq status
|
|
20
|
+
|
|
21
|
+
# Output as JSON
|
|
22
|
+
hyper hq status --json
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Output
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
HQ Sessions
|
|
29
|
+
═══════════
|
|
30
|
+
hyper-hq ONLINE 2024-01-15 (HQ)
|
|
31
|
+
hq-my-project ATTACHED 2024-01-15
|
|
32
|
+
hq-another-project ONLINE 2024-01-15
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
- `ATTACHED` — a terminal is currently connected to the session.
|
|
36
|
+
- `ONLINE` — the session is running but no terminal is attached.
|
|
37
|
+
|
|
38
|
+
If no sessions are running, the command suggests `hyper hq start`.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# hyper hq stop-all
|
|
2
|
+
|
|
3
|
+
Stop all HQ-managed sessions.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
`hyper hq stop-all`
|
|
8
|
+
|
|
9
|
+
## Examples
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
# Stop every running HQ session
|
|
13
|
+
hyper hq stop-all
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Notes
|
|
17
|
+
|
|
18
|
+
- Kills all tmux sessions whose names start with `hq`.
|
|
19
|
+
- If no HQ sessions are running, the command exits cleanly with a message.
|
|
20
|
+
- To stop a single session, use `hyper hq stop [session]`.
|
package/help/hq/stop.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# hyper hq stop
|
|
2
|
+
|
|
3
|
+
Stop an HQ session.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
`hyper hq stop [session]`
|
|
8
|
+
|
|
9
|
+
## Arguments
|
|
10
|
+
|
|
11
|
+
| Argument | Description |
|
|
12
|
+
|----------|-------------|
|
|
13
|
+
| `session` | Session name or project name (default: `hyper-hq`) |
|
|
14
|
+
|
|
15
|
+
## Examples
|
|
16
|
+
|
|
17
|
+
```sh
|
|
18
|
+
# Stop the main HQ session
|
|
19
|
+
hyper hq stop
|
|
20
|
+
|
|
21
|
+
# Stop a specific project session by project name
|
|
22
|
+
hyper hq stop my-project
|
|
23
|
+
|
|
24
|
+
# Stop a session by its full session name
|
|
25
|
+
hyper hq stop hq-my-project
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Notes
|
|
29
|
+
|
|
30
|
+
- If the argument does not start with `hq`, the prefix `hq-` is added automatically — so `hyper hq stop my-project` targets the session named `hq-my-project`.
|
|
31
|
+
- To stop all HQ sessions at once, use `hyper hq stop-all`.
|
package/help/hq.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# hyper hq
|
|
2
|
+
|
|
3
|
+
Always-on Claude Code command center. Manages persistent Claude sessions via tmux, accessible from claude.ai/code, mobile, and Telegram.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
`hyper hq <command> [options]`
|
|
8
|
+
|
|
9
|
+
## Commands
|
|
10
|
+
|
|
11
|
+
| Command | Description |
|
|
12
|
+
|---------|-------------|
|
|
13
|
+
| `hyper hq start` | Start the HQ command center session |
|
|
14
|
+
| `hyper hq stop [session]` | Stop an HQ session |
|
|
15
|
+
| `hyper hq stop-all` | Stop all HQ-managed sessions |
|
|
16
|
+
| `hyper hq attach [session]` | Attach to an HQ tmux session |
|
|
17
|
+
| `hyper hq spawn <project>` | Spawn a Claude session for a project |
|
|
18
|
+
| `hyper hq list` | List available projects and their worktrees |
|
|
19
|
+
| `hyper hq status` | Show running HQ sessions |
|
|
20
|
+
| `hyper hq config` | Show HQ configuration |
|
|
21
|
+
|
|
22
|
+
## Quick Start
|
|
23
|
+
|
|
24
|
+
```sh
|
|
25
|
+
# 1. Start the HQ command center
|
|
26
|
+
hyper hq start
|
|
27
|
+
|
|
28
|
+
# 2. Check what projects are available
|
|
29
|
+
hyper hq list
|
|
30
|
+
|
|
31
|
+
# 3. Spawn a Claude session for a project
|
|
32
|
+
hyper hq spawn my-project
|
|
33
|
+
|
|
34
|
+
# 4. Check running sessions
|
|
35
|
+
hyper hq status
|
|
36
|
+
|
|
37
|
+
# 5. Attach to a session in your terminal
|
|
38
|
+
hyper hq attach my-project
|
|
39
|
+
|
|
40
|
+
# 6. When done, stop everything
|
|
41
|
+
hyper hq stop-all
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## How It Works
|
|
45
|
+
|
|
46
|
+
HQ runs a persistent Claude Code instance in a tmux session in remote-control server mode. Once started, you can connect to it from claude.ai/code, the Claude mobile app, or via Telegram. From there, you can ask HQ to spawn sessions for any of your projects.
|
|
47
|
+
|
|
48
|
+
Run `hyper hq <command> --help` for details on any command.
|
|
@@ -0,0 +1,395 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commands": {
|
|
3
|
+
"hq:attach": {
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"args": {
|
|
6
|
+
"session": {
|
|
7
|
+
"description": "Session name or project name (default: hyper-hq)",
|
|
8
|
+
"name": "session",
|
|
9
|
+
"required": false
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"description": "Attach to an HQ tmux session",
|
|
13
|
+
"examples": [
|
|
14
|
+
"<%= config.bin %> hq attach",
|
|
15
|
+
"<%= config.bin %> hq attach my-project"
|
|
16
|
+
],
|
|
17
|
+
"flags": {
|
|
18
|
+
"debug": {
|
|
19
|
+
"char": "d",
|
|
20
|
+
"description": "Enable debug output",
|
|
21
|
+
"name": "debug",
|
|
22
|
+
"allowNo": false,
|
|
23
|
+
"type": "boolean"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"hasDynamicHelp": false,
|
|
27
|
+
"hiddenAliases": [],
|
|
28
|
+
"id": "hq:attach",
|
|
29
|
+
"pluginAlias": "@hypercli/hq",
|
|
30
|
+
"pluginName": "@hypercli/hq",
|
|
31
|
+
"pluginType": "core",
|
|
32
|
+
"strict": true,
|
|
33
|
+
"enableJsonFlag": false,
|
|
34
|
+
"isESM": true,
|
|
35
|
+
"relativePath": [
|
|
36
|
+
"dist",
|
|
37
|
+
"commands",
|
|
38
|
+
"hq",
|
|
39
|
+
"attach.js"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"hq:config": {
|
|
43
|
+
"aliases": [],
|
|
44
|
+
"args": {},
|
|
45
|
+
"description": "Show HQ configuration",
|
|
46
|
+
"examples": [
|
|
47
|
+
"<%= config.bin %> hq config",
|
|
48
|
+
"<%= config.bin %> hq config --json",
|
|
49
|
+
"<%= config.bin %> hq config --path"
|
|
50
|
+
],
|
|
51
|
+
"flags": {
|
|
52
|
+
"debug": {
|
|
53
|
+
"char": "d",
|
|
54
|
+
"description": "Enable debug output",
|
|
55
|
+
"name": "debug",
|
|
56
|
+
"allowNo": false,
|
|
57
|
+
"type": "boolean"
|
|
58
|
+
},
|
|
59
|
+
"json": {
|
|
60
|
+
"description": "Output as JSON",
|
|
61
|
+
"name": "json",
|
|
62
|
+
"allowNo": false,
|
|
63
|
+
"type": "boolean"
|
|
64
|
+
},
|
|
65
|
+
"path": {
|
|
66
|
+
"description": "Print config file path only",
|
|
67
|
+
"name": "path",
|
|
68
|
+
"allowNo": false,
|
|
69
|
+
"type": "boolean"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"hasDynamicHelp": false,
|
|
73
|
+
"hiddenAliases": [],
|
|
74
|
+
"id": "hq:config",
|
|
75
|
+
"pluginAlias": "@hypercli/hq",
|
|
76
|
+
"pluginName": "@hypercli/hq",
|
|
77
|
+
"pluginType": "core",
|
|
78
|
+
"strict": true,
|
|
79
|
+
"enableJsonFlag": false,
|
|
80
|
+
"isESM": true,
|
|
81
|
+
"relativePath": [
|
|
82
|
+
"dist",
|
|
83
|
+
"commands",
|
|
84
|
+
"hq",
|
|
85
|
+
"config.js"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
"hq:list": {
|
|
89
|
+
"aliases": [],
|
|
90
|
+
"args": {},
|
|
91
|
+
"description": "List available projects and their worktrees",
|
|
92
|
+
"examples": [
|
|
93
|
+
"<%= config.bin %> hq list",
|
|
94
|
+
"<%= config.bin %> hq list --json",
|
|
95
|
+
"<%= config.bin %> hq list --root /path/to/projects"
|
|
96
|
+
],
|
|
97
|
+
"flags": {
|
|
98
|
+
"debug": {
|
|
99
|
+
"char": "d",
|
|
100
|
+
"description": "Enable debug output",
|
|
101
|
+
"name": "debug",
|
|
102
|
+
"allowNo": false,
|
|
103
|
+
"type": "boolean"
|
|
104
|
+
},
|
|
105
|
+
"root": {
|
|
106
|
+
"description": "Override projects root directory",
|
|
107
|
+
"name": "root",
|
|
108
|
+
"hasDynamicHelp": false,
|
|
109
|
+
"multiple": false,
|
|
110
|
+
"type": "option"
|
|
111
|
+
},
|
|
112
|
+
"json": {
|
|
113
|
+
"description": "Output as JSON",
|
|
114
|
+
"name": "json",
|
|
115
|
+
"allowNo": false,
|
|
116
|
+
"type": "boolean"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"hasDynamicHelp": false,
|
|
120
|
+
"hiddenAliases": [],
|
|
121
|
+
"id": "hq:list",
|
|
122
|
+
"pluginAlias": "@hypercli/hq",
|
|
123
|
+
"pluginName": "@hypercli/hq",
|
|
124
|
+
"pluginType": "core",
|
|
125
|
+
"strict": true,
|
|
126
|
+
"enableJsonFlag": false,
|
|
127
|
+
"isESM": true,
|
|
128
|
+
"relativePath": [
|
|
129
|
+
"dist",
|
|
130
|
+
"commands",
|
|
131
|
+
"hq",
|
|
132
|
+
"list.js"
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
"hq:spawn": {
|
|
136
|
+
"aliases": [],
|
|
137
|
+
"args": {
|
|
138
|
+
"project": {
|
|
139
|
+
"description": "Project name (under projects root) or absolute path",
|
|
140
|
+
"name": "project",
|
|
141
|
+
"required": true
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
"description": "Spawn a new Claude session for a project",
|
|
145
|
+
"examples": [
|
|
146
|
+
"<%= config.bin %> hq spawn my-project",
|
|
147
|
+
"<%= config.bin %> hq spawn my-project --worktree feat-auth",
|
|
148
|
+
"<%= config.bin %> hq spawn my-project --new-worktree feat-login",
|
|
149
|
+
"<%= config.bin %> hq spawn /absolute/path/to/project"
|
|
150
|
+
],
|
|
151
|
+
"flags": {
|
|
152
|
+
"debug": {
|
|
153
|
+
"char": "d",
|
|
154
|
+
"description": "Enable debug output",
|
|
155
|
+
"name": "debug",
|
|
156
|
+
"allowNo": false,
|
|
157
|
+
"type": "boolean"
|
|
158
|
+
},
|
|
159
|
+
"worktree": {
|
|
160
|
+
"description": "Use an existing worktree (branch name)",
|
|
161
|
+
"name": "worktree",
|
|
162
|
+
"hasDynamicHelp": false,
|
|
163
|
+
"multiple": false,
|
|
164
|
+
"type": "option"
|
|
165
|
+
},
|
|
166
|
+
"new-worktree": {
|
|
167
|
+
"description": "Create a new worktree via wt switch -c",
|
|
168
|
+
"name": "new-worktree",
|
|
169
|
+
"hasDynamicHelp": false,
|
|
170
|
+
"multiple": false,
|
|
171
|
+
"type": "option"
|
|
172
|
+
},
|
|
173
|
+
"permission-mode": {
|
|
174
|
+
"description": "Permission mode",
|
|
175
|
+
"name": "permission-mode",
|
|
176
|
+
"hasDynamicHelp": false,
|
|
177
|
+
"multiple": false,
|
|
178
|
+
"options": [
|
|
179
|
+
"default",
|
|
180
|
+
"acceptEdits",
|
|
181
|
+
"plan",
|
|
182
|
+
"auto"
|
|
183
|
+
],
|
|
184
|
+
"type": "option"
|
|
185
|
+
},
|
|
186
|
+
"name": {
|
|
187
|
+
"description": "Custom session name",
|
|
188
|
+
"name": "name",
|
|
189
|
+
"hasDynamicHelp": false,
|
|
190
|
+
"multiple": false,
|
|
191
|
+
"type": "option"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"hasDynamicHelp": false,
|
|
195
|
+
"hiddenAliases": [],
|
|
196
|
+
"id": "hq:spawn",
|
|
197
|
+
"pluginAlias": "@hypercli/hq",
|
|
198
|
+
"pluginName": "@hypercli/hq",
|
|
199
|
+
"pluginType": "core",
|
|
200
|
+
"strict": true,
|
|
201
|
+
"enableJsonFlag": false,
|
|
202
|
+
"isESM": true,
|
|
203
|
+
"relativePath": [
|
|
204
|
+
"dist",
|
|
205
|
+
"commands",
|
|
206
|
+
"hq",
|
|
207
|
+
"spawn.js"
|
|
208
|
+
]
|
|
209
|
+
},
|
|
210
|
+
"hq:start": {
|
|
211
|
+
"aliases": [],
|
|
212
|
+
"args": {},
|
|
213
|
+
"description": "Start the HQ session — always-on Claude Code command center",
|
|
214
|
+
"examples": [
|
|
215
|
+
"<%= config.bin %> hq start",
|
|
216
|
+
"<%= config.bin %> hq start --spawn-mode worktree",
|
|
217
|
+
"<%= config.bin %> hq start --capacity 16"
|
|
218
|
+
],
|
|
219
|
+
"flags": {
|
|
220
|
+
"debug": {
|
|
221
|
+
"char": "d",
|
|
222
|
+
"description": "Enable debug output",
|
|
223
|
+
"name": "debug",
|
|
224
|
+
"allowNo": false,
|
|
225
|
+
"type": "boolean"
|
|
226
|
+
},
|
|
227
|
+
"name": {
|
|
228
|
+
"description": "Custom session name",
|
|
229
|
+
"name": "name",
|
|
230
|
+
"hasDynamicHelp": false,
|
|
231
|
+
"multiple": false,
|
|
232
|
+
"type": "option"
|
|
233
|
+
},
|
|
234
|
+
"spawn-mode": {
|
|
235
|
+
"description": "How new sessions are created",
|
|
236
|
+
"name": "spawn-mode",
|
|
237
|
+
"hasDynamicHelp": false,
|
|
238
|
+
"multiple": false,
|
|
239
|
+
"options": [
|
|
240
|
+
"same-dir",
|
|
241
|
+
"worktree",
|
|
242
|
+
"session"
|
|
243
|
+
],
|
|
244
|
+
"type": "option"
|
|
245
|
+
},
|
|
246
|
+
"permission-mode": {
|
|
247
|
+
"description": "Permission mode for sessions",
|
|
248
|
+
"name": "permission-mode",
|
|
249
|
+
"hasDynamicHelp": false,
|
|
250
|
+
"multiple": false,
|
|
251
|
+
"options": [
|
|
252
|
+
"default",
|
|
253
|
+
"acceptEdits",
|
|
254
|
+
"plan",
|
|
255
|
+
"auto"
|
|
256
|
+
],
|
|
257
|
+
"type": "option"
|
|
258
|
+
},
|
|
259
|
+
"capacity": {
|
|
260
|
+
"description": "Max concurrent sessions",
|
|
261
|
+
"name": "capacity",
|
|
262
|
+
"hasDynamicHelp": false,
|
|
263
|
+
"multiple": false,
|
|
264
|
+
"type": "option"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"hasDynamicHelp": false,
|
|
268
|
+
"hiddenAliases": [],
|
|
269
|
+
"id": "hq:start",
|
|
270
|
+
"pluginAlias": "@hypercli/hq",
|
|
271
|
+
"pluginName": "@hypercli/hq",
|
|
272
|
+
"pluginType": "core",
|
|
273
|
+
"strict": true,
|
|
274
|
+
"enableJsonFlag": false,
|
|
275
|
+
"isESM": true,
|
|
276
|
+
"relativePath": [
|
|
277
|
+
"dist",
|
|
278
|
+
"commands",
|
|
279
|
+
"hq",
|
|
280
|
+
"start.js"
|
|
281
|
+
]
|
|
282
|
+
},
|
|
283
|
+
"hq:status": {
|
|
284
|
+
"aliases": [],
|
|
285
|
+
"args": {},
|
|
286
|
+
"description": "Show running HQ sessions",
|
|
287
|
+
"examples": [
|
|
288
|
+
"<%= config.bin %> hq status",
|
|
289
|
+
"<%= config.bin %> hq status --json"
|
|
290
|
+
],
|
|
291
|
+
"flags": {
|
|
292
|
+
"debug": {
|
|
293
|
+
"char": "d",
|
|
294
|
+
"description": "Enable debug output",
|
|
295
|
+
"name": "debug",
|
|
296
|
+
"allowNo": false,
|
|
297
|
+
"type": "boolean"
|
|
298
|
+
},
|
|
299
|
+
"json": {
|
|
300
|
+
"description": "Output as JSON",
|
|
301
|
+
"name": "json",
|
|
302
|
+
"allowNo": false,
|
|
303
|
+
"type": "boolean"
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
"hasDynamicHelp": false,
|
|
307
|
+
"hiddenAliases": [],
|
|
308
|
+
"id": "hq:status",
|
|
309
|
+
"pluginAlias": "@hypercli/hq",
|
|
310
|
+
"pluginName": "@hypercli/hq",
|
|
311
|
+
"pluginType": "core",
|
|
312
|
+
"strict": true,
|
|
313
|
+
"enableJsonFlag": false,
|
|
314
|
+
"isESM": true,
|
|
315
|
+
"relativePath": [
|
|
316
|
+
"dist",
|
|
317
|
+
"commands",
|
|
318
|
+
"hq",
|
|
319
|
+
"status.js"
|
|
320
|
+
]
|
|
321
|
+
},
|
|
322
|
+
"hq:stop-all": {
|
|
323
|
+
"aliases": [],
|
|
324
|
+
"args": {},
|
|
325
|
+
"description": "Stop all HQ-managed sessions",
|
|
326
|
+
"examples": [
|
|
327
|
+
"<%= config.bin %> hq stop-all"
|
|
328
|
+
],
|
|
329
|
+
"flags": {
|
|
330
|
+
"debug": {
|
|
331
|
+
"char": "d",
|
|
332
|
+
"description": "Enable debug output",
|
|
333
|
+
"name": "debug",
|
|
334
|
+
"allowNo": false,
|
|
335
|
+
"type": "boolean"
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
"hasDynamicHelp": false,
|
|
339
|
+
"hiddenAliases": [],
|
|
340
|
+
"id": "hq:stop-all",
|
|
341
|
+
"pluginAlias": "@hypercli/hq",
|
|
342
|
+
"pluginName": "@hypercli/hq",
|
|
343
|
+
"pluginType": "core",
|
|
344
|
+
"strict": true,
|
|
345
|
+
"enableJsonFlag": false,
|
|
346
|
+
"isESM": true,
|
|
347
|
+
"relativePath": [
|
|
348
|
+
"dist",
|
|
349
|
+
"commands",
|
|
350
|
+
"hq",
|
|
351
|
+
"stop-all.js"
|
|
352
|
+
]
|
|
353
|
+
},
|
|
354
|
+
"hq:stop": {
|
|
355
|
+
"aliases": [],
|
|
356
|
+
"args": {
|
|
357
|
+
"session": {
|
|
358
|
+
"description": "Session name or project name (default: hyper-hq)",
|
|
359
|
+
"name": "session",
|
|
360
|
+
"required": false
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
"description": "Stop an HQ session",
|
|
364
|
+
"examples": [
|
|
365
|
+
"<%= config.bin %> hq stop",
|
|
366
|
+
"<%= config.bin %> hq stop my-project"
|
|
367
|
+
],
|
|
368
|
+
"flags": {
|
|
369
|
+
"debug": {
|
|
370
|
+
"char": "d",
|
|
371
|
+
"description": "Enable debug output",
|
|
372
|
+
"name": "debug",
|
|
373
|
+
"allowNo": false,
|
|
374
|
+
"type": "boolean"
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
"hasDynamicHelp": false,
|
|
378
|
+
"hiddenAliases": [],
|
|
379
|
+
"id": "hq:stop",
|
|
380
|
+
"pluginAlias": "@hypercli/hq",
|
|
381
|
+
"pluginName": "@hypercli/hq",
|
|
382
|
+
"pluginType": "core",
|
|
383
|
+
"strict": true,
|
|
384
|
+
"enableJsonFlag": false,
|
|
385
|
+
"isESM": true,
|
|
386
|
+
"relativePath": [
|
|
387
|
+
"dist",
|
|
388
|
+
"commands",
|
|
389
|
+
"hq",
|
|
390
|
+
"stop.js"
|
|
391
|
+
]
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
"version": "0.1.1"
|
|
395
|
+
}
|