@nemus-cli/nemus 0.2.4 → 0.2.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/CHANGELOG.md +40 -1
- package/assets/README.md +5 -0
- package/assets/avatar-500.png +0 -0
- package/assets/social-preview.png +0 -0
- package/dist/cli/ai-prompt.js +1 -1
- package/dist/cli/tui.js +1 -1
- package/dist/commands/configure.js +1 -1
- package/dist/commands/ghq-status.js +1 -1
- package/dist/mcp/install.js +12 -12
- package/dist/mcp/server.js +2 -2
- package/dist/pi-extensions/permission-sync.ts.template +1 -1
- package/dist/pi-extensions/permissions-gate.ts.template +1 -1
- package/dist/pi-extensions/pr-fix-trigger.ts.template +2 -2
- package/dist/pi-extensions/review-reminder.ts.template +1 -1
- package/dist/pi-extensions/workspace-input-status.ts.template +3 -3
- package/dist/scripts/workspace-table.py +3 -3
- package/dist/utils/agent-state.js +1 -1
- package/dist/utils/bug-report.js +3 -3
- package/dist/utils/claude-integration.js +8 -8
- package/dist/utils/permission-sync.js +10 -10
- package/dist/utils/pi-extensions.js +5 -5
- package/package.json +1 -1
- package/skills/analyze-deps.md +0 -10
- package/skills/archive-workspace.md +0 -8
- package/skills/branch-create.md +0 -10
- package/skills/create-workspace.md +0 -20
- package/skills/delete-workspace.md +0 -14
- package/skills/list-org-repos.md +0 -13
- package/skills/list-suites.md +0 -10
- package/skills/list-workspaces.md +0 -14
- package/skills/nemus/SKILL.md +110 -0
- package/skills/{workspace-manager → nemus}/references/ai-prompt.md +0 -14
- package/skills/{workspace-manager → nemus}/references/analyze-deps.md +0 -18
- package/skills/nemus/references/archive-workspace.md +22 -0
- package/skills/{workspace-manager → nemus}/references/branch-create.md +0 -8
- package/skills/{workspace-manager → nemus}/references/branch-merge.md +0 -9
- package/skills/{workspace-manager → nemus}/references/branch-rebase.md +0 -9
- package/skills/{workspace-manager → nemus}/references/cache-clear.md +0 -8
- package/skills/{workspace-manager → nemus}/references/cache-info.md +0 -8
- package/skills/{workspace-manager → nemus}/references/configure-claude.md +0 -8
- package/skills/{workspace-manager → nemus}/references/configure.md +0 -8
- package/skills/{workspace-manager → nemus}/references/create-workspace.md +0 -9
- package/skills/{workspace-manager → nemus}/references/dashboard.md +0 -15
- package/skills/{workspace-manager → nemus}/references/delete-workspace.md +0 -9
- package/skills/{workspace-manager → nemus}/references/generate-docs.md +0 -16
- package/skills/{workspace-manager → nemus}/references/ghq-status.md +0 -14
- package/skills/{workspace-manager → nemus}/references/go.md +0 -11
- package/skills/{workspace-manager → nemus}/references/history.md +0 -17
- package/skills/{workspace-manager → nemus}/references/list-org-repos.md +0 -9
- package/skills/{workspace-manager → nemus}/references/list-suites.md +0 -9
- package/skills/{workspace-manager → nemus}/references/list-workspaces.md +0 -9
- package/skills/{workspace-manager → nemus}/references/mcp.md +3 -21
- package/skills/{workspace-manager → nemus}/references/remove-repo.md +0 -8
- package/skills/{workspace-manager → nemus}/references/run-command.md +1 -10
- package/skills/{workspace-manager → nemus}/references/search-repos.md +0 -9
- package/skills/{workspace-manager → nemus}/references/sessions.md +0 -12
- package/skills/{workspace-manager → nemus}/references/suite-create.md +0 -9
- package/skills/{workspace-manager → nemus}/references/suite-delete.md +0 -8
- package/skills/{workspace-manager → nemus}/references/suite-export.md +0 -9
- package/skills/{workspace-manager → nemus}/references/suite-import.md +0 -9
- package/skills/{workspace-manager → nemus}/references/suite-use.md +0 -9
- package/skills/{workspace-manager → nemus}/references/switch-branch.md +0 -9
- package/skills/{workspace-manager → nemus}/references/update-cache.md +0 -8
- package/skills/{workspace-manager → nemus}/references/update-workspace.md +0 -11
- package/skills/{workspace-manager → nemus}/references/workspace-cleanup.md +0 -9
- package/skills/{workspace-manager → nemus}/references/workspace-diff.md +0 -8
- package/skills/{workspace-manager → nemus}/references/workspace-doctor.md +0 -9
- package/skills/{workspace-manager → nemus}/references/workspace-info.md +0 -8
- package/skills/nemus/references/workspace-status.md +26 -0
- package/skills/{workspace-manager → nemus}/references/workspace-sync.md +0 -9
- package/skills/refresh-workspace-docs.md +5 -81
- package/skills/remove-repo.md +0 -8
- package/skills/run-command.md +0 -10
- package/skills/save-context.md +1 -25
- package/skills/search-repos.md +0 -15
- package/skills/snapshot-list.md +0 -10
- package/skills/snapshot-save.md +0 -4
- package/skills/switch-branch.md +0 -10
- package/skills/update-cache.md +0 -8
- package/skills/update-workspace.md +0 -24
- package/skills/workspace-cleanup.md +0 -10
- package/skills/workspace-diff.md +0 -10
- package/skills/workspace-doctor.md +0 -10
- package/skills/workspace-info.md +0 -26
- package/skills/workspace-status.md +0 -13
- package/skills/workspace-sync.md +0 -10
- package/src/cli/ai-prompt.ts +1 -1
- package/src/cli/tui.tsx +1 -1
- package/src/commands/configure.ts +1 -1
- package/src/commands/ghq-status.ts +1 -1
- package/src/mcp/install.ts +12 -12
- package/src/mcp/server.ts +2 -2
- package/src/pi-extensions/permission-sync.ts.template +1 -1
- package/src/pi-extensions/permissions-gate.ts.template +1 -1
- package/src/pi-extensions/pr-fix-trigger.ts.template +2 -2
- package/src/pi-extensions/review-reminder.ts.template +1 -1
- package/src/pi-extensions/workspace-input-status.ts.template +3 -3
- package/src/scripts/workspace-table.py +3 -3
- package/src/utils/agent-state.ts +1 -1
- package/src/utils/bug-report.ts +3 -3
- package/src/utils/claude-integration.ts +8 -8
- package/src/utils/permission-sync.test.ts +4 -4
- package/src/utils/permission-sync.ts +10 -10
- package/src/utils/pi-extensions.test.ts +1 -1
- package/src/utils/pi-extensions.ts +5 -5
- package/src/utils/repo-resolver.test.ts +1 -1
- package/skills/workspace-manager/SKILL.md +0 -201
- package/skills/workspace-manager/references/archive-workspace.md +0 -38
- package/skills/workspace-manager/references/workspace-status.md +0 -43
package/skills/list-org-repos.md
CHANGED
|
@@ -3,12 +3,6 @@ name: list-org-repos
|
|
|
3
3
|
description: List all organization repositories from GitHub
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# List Org Repos
|
|
7
|
-
|
|
8
|
-
List all repositories in the GitHub organization.
|
|
9
|
-
|
|
10
|
-
## Running
|
|
11
|
-
|
|
12
6
|
```bash
|
|
13
7
|
nemus cache list
|
|
14
8
|
```
|
|
@@ -17,10 +11,3 @@ If the cache is empty or stale:
|
|
|
17
11
|
```bash
|
|
18
12
|
nemus cache refresh
|
|
19
13
|
```
|
|
20
|
-
|
|
21
|
-
## Presenting Results
|
|
22
|
-
|
|
23
|
-
Show repo names. Can be filtered by searching:
|
|
24
|
-
```bash
|
|
25
|
-
nemus cache search <keyword>
|
|
26
|
-
```
|
package/skills/list-suites.md
CHANGED
|
@@ -3,20 +3,10 @@ name: list-suites
|
|
|
3
3
|
description: List all saved suites (reusable repo collections)
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# List Suites
|
|
7
|
-
|
|
8
|
-
List all saved suites (reusable collections of repos).
|
|
9
|
-
|
|
10
|
-
## Running
|
|
11
|
-
|
|
12
6
|
```bash
|
|
13
7
|
nemus suite list
|
|
14
8
|
```
|
|
15
9
|
|
|
16
|
-
## Presenting Results
|
|
17
|
-
|
|
18
|
-
Show each suite's name and the repos it contains.
|
|
19
|
-
|
|
20
10
|
## Related
|
|
21
11
|
|
|
22
12
|
- `nemus suite create` to create a new suite
|
|
@@ -3,12 +3,6 @@ name: list-workspaces
|
|
|
3
3
|
description: List all workspaces with their repo counts and creation dates
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# List Workspaces
|
|
7
|
-
|
|
8
|
-
List all workspaces with their status.
|
|
9
|
-
|
|
10
|
-
## Listing
|
|
11
|
-
|
|
12
6
|
```bash
|
|
13
7
|
nemus list
|
|
14
8
|
```
|
|
@@ -17,11 +11,3 @@ Note: This command opens an interactive picker. To just see the output without s
|
|
|
17
11
|
```bash
|
|
18
12
|
nemus list 2>&1 | cat
|
|
19
13
|
```
|
|
20
|
-
|
|
21
|
-
## Presenting Results
|
|
22
|
-
|
|
23
|
-
Show each workspace with:
|
|
24
|
-
- Name
|
|
25
|
-
- Number of repositories
|
|
26
|
-
- Creation date
|
|
27
|
-
- Last active session (if any)
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: nemus
|
|
3
|
+
description: Manage multi-repo development workspaces — create, sync, branch, diff, clone, archive, analyze dependencies, run commands across repos, check status, clean up, delete, list org repos, search repos, list suites, remove repo, cache, suite management, sessions, history, generate docs, configure, MCP server, AI prompt. Use when working with workspaces, repos, branches, git operations across multiple repos, or the `nemus` CLI tool. NEVER use `git clone` directly — always use `nemus update` to add repos and `nemus create` to create workspaces.
|
|
4
|
+
bashPattern: "\\bnemus\\s+(create|list|update|delete|sync|status|diff|run|go|doctor|analyze-deps|history|cleanup|remove-repo|archive|sessions|generate-docs|configure|configure-claude|ghq-status|tui|dashboard|dash|branch|suite|cache|mcp|--)\\b"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Nemus
|
|
8
|
+
|
|
9
|
+
Manage multi-repo workspaces with the `nemus` CLI (alias `nem`). Every command has `--help`.
|
|
10
|
+
|
|
11
|
+
> **Rules — do not break these:**
|
|
12
|
+
> - **Never** `git clone` to add a repo or create a workspace — use `nemus create` / `nemus update`. Direct git bypasses workspace metadata and breaks `nemus status`/`sync`.
|
|
13
|
+
> - **Never** `git worktree` for a second checkout — worktrees are invisible to `nemus`. Add another instance with `nemus update --repos <repo>:<suffix>` (clones into `<repo>-<suffix>`, tracked independently).
|
|
14
|
+
> - **Only read code from repos in the CURRENT workspace.** Need another repo? Add it with `nemus update --repos <repo>` and read it here — never read from another workspace or a global clone path (they may be stale/on other branches).
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
Commands are options-first with an interactive fallback: pass flags to run non-interactively; omit them (with a TTY) to be prompted. `--yes`/`-y` skips confirmations and the post-create agent launch.
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
nemus create --workspace payments --repos partnerships-api,payments-db --yes # non-interactive
|
|
22
|
+
nemus create # fully interactive
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Global flags: `-f/--force-refresh` (skip repo cache), `-y/--yes` (skip prompts), `-V/--version`, `-h/--help`.
|
|
26
|
+
|
|
27
|
+
## Command Reference
|
|
28
|
+
|
|
29
|
+
### Core Workspace Lifecycle
|
|
30
|
+
|
|
31
|
+
| Intent | Reference | CLI | Alias |
|
|
32
|
+
|---|---|---|---|
|
|
33
|
+
| Create new workspace | [create-workspace](references/create-workspace.md) | `nemus create` | `c` |
|
|
34
|
+
| Add repos to workspace | [update-workspace](references/update-workspace.md) | `nemus update` | `u` |
|
|
35
|
+
| Delete workspace permanently | [delete-workspace](references/delete-workspace.md) | `nemus delete` | `d` |
|
|
36
|
+
| Archive / unarchive workspace | [archive-workspace](references/archive-workspace.md) | `nemus archive` | `a` |
|
|
37
|
+
| List all workspaces | [list-workspaces](references/list-workspaces.md) | `nemus list` | `l` |
|
|
38
|
+
| Navigate to workspace | [go](references/go.md) | `nemus go [name]` | — |
|
|
39
|
+
|
|
40
|
+
### Status & Operations
|
|
41
|
+
|
|
42
|
+
| Intent | Reference | CLI | Alias |
|
|
43
|
+
|---|---|---|---|
|
|
44
|
+
| Git status across repos | [workspace-status](references/workspace-status.md) | `nemus status [name]` | `st` |
|
|
45
|
+
| Pull latest (git sync) | [workspace-sync](references/workspace-sync.md) | `nemus sync [name]` | `s` |
|
|
46
|
+
| Show diff summary | [workspace-diff](references/workspace-diff.md) | `nemus diff [name]` | `di` |
|
|
47
|
+
| Run shell command across repos | [run-command](references/run-command.md) | `nemus run [name] <cmd>` | `r` |
|
|
48
|
+
| Health check | [workspace-doctor](references/workspace-doctor.md) | `nemus doctor [name]` | `doc` |
|
|
49
|
+
| Clean node_modules / artifacts | [workspace-cleanup](references/workspace-cleanup.md) | `nemus cleanup <name>` | `cl` |
|
|
50
|
+
| Remove repo from workspace | [remove-repo](references/remove-repo.md) | `nemus remove-repo` | `rr` |
|
|
51
|
+
| Analyze inter-repo deps | [analyze-deps](references/analyze-deps.md) | `nemus analyze-deps [name]` | `ad` |
|
|
52
|
+
| Generate docs for workspace | [generate-docs](references/generate-docs.md) | `nemus generate-docs [name]` | `gd` |
|
|
53
|
+
|
|
54
|
+
### Branch Management
|
|
55
|
+
|
|
56
|
+
| Intent | Reference | CLI |
|
|
57
|
+
|---|---|---|
|
|
58
|
+
| Switch branch across repos | [switch-branch](references/switch-branch.md) | `nemus branch switch` |
|
|
59
|
+
| Create branch across repos | [branch-create](references/branch-create.md) | `nemus branch create` |
|
|
60
|
+
| Merge branches across repos | [branch-merge](references/branch-merge.md) | `nemus branch merge <ws> <src> <tgt>` |
|
|
61
|
+
| Rebase branches across repos | [branch-rebase](references/branch-rebase.md) | `nemus branch rebase <ws> <base>` |
|
|
62
|
+
|
|
63
|
+
### Suites (Reusable Repo Collections)
|
|
64
|
+
|
|
65
|
+
| Intent | Reference | CLI |
|
|
66
|
+
|---|---|---|
|
|
67
|
+
| List saved suites | [list-suites](references/list-suites.md) | `nemus suite list` |
|
|
68
|
+
| Create a suite | [suite-create](references/suite-create.md) | `nemus suite create` |
|
|
69
|
+
| Delete a suite | [suite-delete](references/suite-delete.md) | `nemus suite delete` |
|
|
70
|
+
| Export suite(s) to JSON | [suite-export](references/suite-export.md) | `nemus suite export [file]` |
|
|
71
|
+
| Import suite(s) from JSON | [suite-import](references/suite-import.md) | `nemus suite import <file>` |
|
|
72
|
+
| Create workspace from suite | [suite-use](references/suite-use.md) | `nemus suite use` |
|
|
73
|
+
|
|
74
|
+
### Cache & Repo Discovery
|
|
75
|
+
|
|
76
|
+
| Intent | Reference | CLI |
|
|
77
|
+
|---|---|---|
|
|
78
|
+
| Search org repos | [search-repos](references/search-repos.md) | `nemus cache search <query>` |
|
|
79
|
+
| List all org repos | [list-org-repos](references/list-org-repos.md) | `nemus cache list` |
|
|
80
|
+
| View cache statistics | [cache-info](references/cache-info.md) | `nemus cache info` |
|
|
81
|
+
| Refresh repo cache | [update-cache](references/update-cache.md) | `nemus cache refresh` |
|
|
82
|
+
| Clear cache | [cache-clear](references/cache-clear.md) | `nemus cache clear` |
|
|
83
|
+
|
|
84
|
+
### Sessions & History
|
|
85
|
+
|
|
86
|
+
| Intent | Reference | CLI | Alias |
|
|
87
|
+
|---|---|---|---|
|
|
88
|
+
| Resume Claude session | [sessions](references/sessions.md) | `nemus sessions` | `ses` |
|
|
89
|
+
| Agent management dashboard | [dashboard](references/dashboard.md) | `nemus dashboard` | `dash` |
|
|
90
|
+
| View operation history | [history](references/history.md) | `nemus history` | `h` |
|
|
91
|
+
|
|
92
|
+
### Configuration & MCP
|
|
93
|
+
|
|
94
|
+
| Intent | Reference | CLI |
|
|
95
|
+
|---|---|---|
|
|
96
|
+
| Configure Nemus | [configure](references/configure.md) | `nemus configure` |
|
|
97
|
+
| Configure Claude integration | [configure-claude](references/configure-claude.md) | `nemus configure-claude` |
|
|
98
|
+
| Check ghq status | [ghq-status](references/ghq-status.md) | `nemus ghq-status` |
|
|
99
|
+
| Install / manage MCP server | [mcp](references/mcp.md) | `nemus mcp install\|status\|upgrade\|uninstall` |
|
|
100
|
+
|
|
101
|
+
### AI Assistant & TUI
|
|
102
|
+
|
|
103
|
+
| Intent | Reference | CLI |
|
|
104
|
+
|---|---|---|
|
|
105
|
+
| Natural-language workspace management | [ai-prompt](references/ai-prompt.md) | `nemus -- <prompt>` |
|
|
106
|
+
| Full interactive terminal UI | — | `nemus tui` |
|
|
107
|
+
|
|
108
|
+
## Routing
|
|
109
|
+
|
|
110
|
+
Match the user's intent to a row above and read that reference before running commands. If no reference exists, use `nemus <command> --help`. All repo management must go through `nemus` so metadata and context files stay in sync.
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# AI Prompt
|
|
2
2
|
|
|
3
|
-
Use natural language to manage workspaces via Claude Code with MCP tools.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
```bash
|
|
8
4
|
nemus -- <prompt>
|
|
9
5
|
```
|
|
@@ -20,24 +16,14 @@ nemus -- "Show me the status of my platform workspace"
|
|
|
20
16
|
nemus -- "Set up a workspace for the billing migration"
|
|
21
17
|
```
|
|
22
18
|
|
|
23
|
-
## How It Works
|
|
24
|
-
|
|
25
19
|
1. Launches Claude Code CLI with a system prompt describing all available MCP tools
|
|
26
20
|
2. Claude interprets the natural language request
|
|
27
21
|
3. Claude uses MCP tools (create-workspace, search-repos, etc.) to fulfill the request
|
|
28
22
|
4. Results are presented conversationally
|
|
29
23
|
|
|
30
|
-
## Prerequisites
|
|
31
|
-
|
|
32
24
|
- Claude Code CLI must be installed (`claude` command available)
|
|
33
25
|
- MCP server should be installed (`nemus mcp install`)
|
|
34
26
|
|
|
35
|
-
## When to Suggest
|
|
36
|
-
|
|
37
|
-
- User wants to manage workspaces conversationally
|
|
38
|
-
- User describes a complex workspace setup in natural language
|
|
39
|
-
- User is new to the CLI and prefers natural language
|
|
40
|
-
|
|
41
27
|
## Notes
|
|
42
28
|
|
|
43
29
|
- The shell integration treats `nemus --` as a create-like command — if a workspace is created, it auto-CDs into it.
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Analyze Dependencies
|
|
2
2
|
|
|
3
|
-
Analyze inter-repository dependencies within a workspace and detect circular dependencies.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
```bash
|
|
8
4
|
nemus analyze-deps <workspace>
|
|
9
5
|
```
|
|
@@ -18,8 +14,6 @@ Without a workspace name, prompts interactively:
|
|
|
18
14
|
nemus analyze-deps
|
|
19
15
|
```
|
|
20
16
|
|
|
21
|
-
## What It Analyzes
|
|
22
|
-
|
|
23
17
|
- `package.json` dependencies (npm packages that match workspace repo names)
|
|
24
18
|
- `Dockerfile` references
|
|
25
19
|
- `docker-compose.yml` service references
|
|
@@ -31,15 +25,3 @@ nemus analyze-deps
|
|
|
31
25
|
- **Missing dependencies** — repos referenced but not in the workspace
|
|
32
26
|
- **Mermaid diagram** — visual dependency graph
|
|
33
27
|
- Optionally saves analysis to workspace metadata
|
|
34
|
-
|
|
35
|
-
## Suggested Follow-ups
|
|
36
|
-
|
|
37
|
-
- Missing dependencies: `nemus update --workspace <name> --repos <missing>` to add them
|
|
38
|
-
- Circular dependencies: explain resolution strategies
|
|
39
|
-
- For documentation: `nemus generate-docs <name>` to include the dependency graph
|
|
40
|
-
|
|
41
|
-
## Success Criteria
|
|
42
|
-
|
|
43
|
-
- Dependency analysis is presented with per-repo dependency lists.
|
|
44
|
-
- Circular dependencies are highlighted if detected.
|
|
45
|
-
- Missing repos are identified.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Archive Workspace
|
|
2
|
+
|
|
3
|
+
```bash
|
|
4
|
+
nemus archive --workspace <name> --yes
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
nemus archive --unarchive --workspace <name> --yes
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
To list archived workspaces first:
|
|
12
|
+
```bash
|
|
13
|
+
nemus list --archived
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Flags
|
|
17
|
+
|
|
18
|
+
| Flag | Short | Description |
|
|
19
|
+
|---|---|---|
|
|
20
|
+
| `--workspace <name>` | `-w` | Workspace name(s), comma-separated for multiple |
|
|
21
|
+
| `--yes` | `-y` | Skip confirmation prompt |
|
|
22
|
+
| `--unarchive` | | Restore instead of archive |
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Branch Create
|
|
2
2
|
|
|
3
|
-
Create a new branch across all repositories in a workspace.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
```bash
|
|
8
4
|
nemus branch create --workspace <name> --branch <branch-name>
|
|
9
5
|
nemus branch create --workspace <name> --branch <branch-name> --base <base-branch>
|
|
@@ -25,7 +21,3 @@ nemus branch create <workspace> <branch-name> --base <base-branch> --force
|
|
|
25
21
|
| `--force` | | Force create even if branch exists |
|
|
26
22
|
|
|
27
23
|
After creation, run `nemus status <name>` to verify all repos are on the new branch.
|
|
28
|
-
|
|
29
|
-
## Success Criteria
|
|
30
|
-
|
|
31
|
-
- New branch is created in all repos and per-repo results are reported.
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Branch Merge
|
|
2
2
|
|
|
3
|
-
Merge a source branch into a target branch across all repositories in a workspace.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
1. Run:
|
|
8
4
|
```bash
|
|
9
5
|
nemus branch merge <workspace> <source-branch> <target-branch> [--no-ff|--ff-only|--squash]
|
|
@@ -15,8 +11,3 @@ Merge a source branch into a target branch across all repositories in a workspac
|
|
|
15
11
|
- Summary count
|
|
16
12
|
|
|
17
13
|
3. If there are merge conflicts, suggest the user resolve them manually in the affected repos.
|
|
18
|
-
|
|
19
|
-
## Success Criteria
|
|
20
|
-
|
|
21
|
-
- Merge is attempted in all repos.
|
|
22
|
-
- Results are reported per repo with success/failure status.
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Branch Rebase
|
|
2
2
|
|
|
3
|
-
Rebase all repositories in a workspace onto a target branch.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
1. Run:
|
|
8
4
|
```bash
|
|
9
5
|
nemus branch rebase <workspace> <target-branch>
|
|
@@ -15,8 +11,3 @@ Rebase all repositories in a workspace onto a target branch.
|
|
|
15
11
|
- Summary count
|
|
16
12
|
|
|
17
13
|
3. If there are rebase conflicts, suggest the user resolve them manually in the affected repos.
|
|
18
|
-
|
|
19
|
-
## Success Criteria
|
|
20
|
-
|
|
21
|
-
- Rebase is attempted in all repos.
|
|
22
|
-
- Results are reported per repo with success/failure status.
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Cache Clear
|
|
2
2
|
|
|
3
|
-
Clear the local GitHub repository cache. A new cache will be created automatically on next fetch.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
1. Run:
|
|
8
4
|
```bash
|
|
9
5
|
nemus cache clear
|
|
@@ -12,7 +8,3 @@ Clear the local GitHub repository cache. A new cache will be created automatical
|
|
|
12
8
|
2. Confirm the cache was cleared.
|
|
13
9
|
|
|
14
10
|
3. Suggest `nemus cache refresh` if the user wants to immediately rebuild the cache.
|
|
15
|
-
|
|
16
|
-
## Success Criteria
|
|
17
|
-
|
|
18
|
-
- Cache is cleared successfully.
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Cache Info
|
|
2
2
|
|
|
3
|
-
View cache statistics including repo count, age, and size.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
1. Run:
|
|
8
4
|
```bash
|
|
9
5
|
nemus cache info
|
|
@@ -16,7 +12,3 @@ View cache statistics including repo count, age, and size.
|
|
|
16
12
|
- Cache size
|
|
17
13
|
|
|
18
14
|
3. If cache is stale or missing, suggest `nemus cache refresh`.
|
|
19
|
-
|
|
20
|
-
## Success Criteria
|
|
21
|
-
|
|
22
|
-
- Cache statistics are displayed.
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Configure Claude
|
|
2
2
|
|
|
3
|
-
Configure Claude Code integration settings.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
```bash
|
|
8
4
|
nemus configure-claude
|
|
9
5
|
```
|
|
@@ -25,7 +21,3 @@ w cc
|
|
|
25
21
|
- This is interactive-only — there are no non-interactive flags.
|
|
26
22
|
- The `.claude.md` file provides workspace context to Claude Code sessions.
|
|
27
23
|
- Auto-launch requires the Claude Code CLI to be installed.
|
|
28
|
-
|
|
29
|
-
## Success Criteria
|
|
30
|
-
|
|
31
|
-
- Claude integration settings are updated.
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Configure
|
|
2
2
|
|
|
3
|
-
Configure workspace-manager global settings interactively.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
```bash
|
|
8
4
|
nemus configure
|
|
9
5
|
```
|
|
@@ -29,7 +25,3 @@ w cfg
|
|
|
29
25
|
- Changing the GitHub org clears the repo cache automatically.
|
|
30
26
|
- Enabling MCP after disabling it triggers an automatic install.
|
|
31
27
|
- This is interactive-only — there are no non-interactive flags.
|
|
32
|
-
|
|
33
|
-
## Success Criteria
|
|
34
|
-
|
|
35
|
-
- User's settings are saved to `~/.nemus/config.json`.
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Create Workspace
|
|
2
2
|
|
|
3
|
-
Create a new workspace with specified repositories.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
1. If the user hasn't specified which repos they want, help them discover repos:
|
|
8
4
|
- Run `nemus cache search <query>` to search by name or description.
|
|
9
5
|
- Run `nemus cache list` to browse all available repos.
|
|
@@ -38,8 +34,3 @@ Create a new workspace with specified repositories.
|
|
|
38
34
|
nemus create --workspace payments --repos partnerships-api,payments-db --yes
|
|
39
35
|
nemus suite use --suite platform --workspace platform-ws --yes
|
|
40
36
|
```
|
|
41
|
-
|
|
42
|
-
## Success Criteria
|
|
43
|
-
|
|
44
|
-
- Workspace directory exists with all requested repos cloned.
|
|
45
|
-
- User is informed of the workspace path and suggested next steps.
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Dashboard
|
|
2
2
|
|
|
3
|
-
Launch a tmux-based multi-agent management dashboard for monitoring and controlling Claude agents across workspaces.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
```bash
|
|
8
4
|
nemus dashboard
|
|
9
5
|
nemus dash
|
|
@@ -36,26 +32,15 @@ Opens a tmux session with a sidebar showing active agents and their status. Agen
|
|
|
36
32
|
| `q` | Detach — agents keep running in background |
|
|
37
33
|
| `Q` | Quit all — kills session and all agents |
|
|
38
34
|
|
|
39
|
-
## From any agent pane
|
|
40
|
-
|
|
41
35
|
| Key | Action |
|
|
42
36
|
|---|---|
|
|
43
37
|
| `prefix+M` | Return to sidebar / reset layout |
|
|
44
38
|
|
|
45
|
-
## Prerequisites
|
|
46
|
-
|
|
47
39
|
- `tmux` must be installed (`brew install tmux`)
|
|
48
40
|
- Claude CLI must be available for agent launching
|
|
49
41
|
|
|
50
|
-
## Features
|
|
51
|
-
|
|
52
42
|
- Real-time agent status via Claude Code hooks (idle/working/waiting/stopped)
|
|
53
43
|
- Session persistence: `q` detaches, `nemus dash` reconnects
|
|
54
44
|
- Zoom mode: selected agent takes full right side, others hidden
|
|
55
45
|
- Session resume picker (`s`) with fuzzy search
|
|
56
46
|
- Auto-installs Claude hooks on first run
|
|
57
|
-
|
|
58
|
-
## Success Criteria
|
|
59
|
-
|
|
60
|
-
- Tmux dashboard opens with sidebar and agent panes.
|
|
61
|
-
- Agents can be launched, monitored, focused, zoomed, and killed from the dashboard.
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Delete Workspace
|
|
2
2
|
|
|
3
|
-
Permanently delete one or more workspaces and all their cloned repositories.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
1. **Confirm with the user before deleting.** This is a destructive, irreversible operation.
|
|
8
4
|
|
|
9
5
|
2. Warn the user about any uncommitted changes — run `nemus status <name>` to check first.
|
|
@@ -26,8 +22,3 @@ Permanently delete one or more workspaces and all their cloned repositories.
|
|
|
26
22
|
|---|---|---|
|
|
27
23
|
| `--workspace <name>` | `-w` | Workspace name(s), comma-separated for multiple |
|
|
28
24
|
| `--yes` | `-y` | Skip confirmation prompt |
|
|
29
|
-
|
|
30
|
-
## Success Criteria
|
|
31
|
-
|
|
32
|
-
- Workspace directory and all cloned repos are removed from disk.
|
|
33
|
-
- User received explicit confirmation before deletion (unless `--yes` was passed).
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Generate Docs
|
|
2
2
|
|
|
3
|
-
Generate workspace documentation including a README, dependency graph, and repository index.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
```bash
|
|
8
4
|
nemus generate-docs <workspace>
|
|
9
5
|
```
|
|
@@ -18,19 +14,7 @@ Without a workspace name, prompts interactively:
|
|
|
18
14
|
nemus generate-docs
|
|
19
15
|
```
|
|
20
16
|
|
|
21
|
-
## Generated Files
|
|
22
|
-
|
|
23
17
|
Creates these files in the workspace root:
|
|
24
18
|
- `WORKSPACE-README.md` — Overview of the workspace and its repos
|
|
25
19
|
- `DEPENDENCY-GRAPH.md` — Mermaid diagram of inter-repo dependencies
|
|
26
20
|
- `REPOSITORY-INDEX.md` — Detailed index of all repos
|
|
27
|
-
|
|
28
|
-
## When to Suggest
|
|
29
|
-
|
|
30
|
-
- After creating a workspace with many repos
|
|
31
|
-
- When user wants to understand workspace structure
|
|
32
|
-
- When onboarding someone to a multi-repo project
|
|
33
|
-
|
|
34
|
-
## Success Criteria
|
|
35
|
-
|
|
36
|
-
- All three documentation files are generated in the workspace directory.
|
|
@@ -1,28 +1,14 @@
|
|
|
1
1
|
# GHQ Status
|
|
2
2
|
|
|
3
|
-
Check the status of ghq integration for faster repository cloning.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
```bash
|
|
8
4
|
nemus ghq-status
|
|
9
5
|
```
|
|
10
6
|
|
|
11
|
-
## What It Shows
|
|
12
|
-
|
|
13
7
|
- Whether ghq is installed
|
|
14
8
|
- ghq root directory and number of managed repos
|
|
15
9
|
- How ghq accelerates workspace creation (cached local copies)
|
|
16
10
|
|
|
17
|
-
## How ghq Works with Workspace Manager
|
|
18
|
-
|
|
19
11
|
1. **First clone**: ghq downloads repo to its cache
|
|
20
12
|
2. **Workspace creation**: Copies from ghq cache instead of cloning from remote
|
|
21
13
|
3. **Subsequent clones**: Much faster (local copy vs network clone)
|
|
22
14
|
4. **Isolation**: Each workspace still gets its own independent clone
|
|
23
|
-
|
|
24
|
-
## When to Suggest
|
|
25
|
-
|
|
26
|
-
- User reports slow workspace creation
|
|
27
|
-
- User asks about optimizing clone performance
|
|
28
|
-
- User asks what ghq is or whether to install it
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# Go (Navigate to Workspace)
|
|
2
2
|
|
|
3
|
-
Quickly navigate to a workspace directory. Works with the `nemgo` shell function for auto-CD.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
With a known workspace name:
|
|
8
4
|
```bash
|
|
9
5
|
nemus go <name>
|
|
@@ -21,13 +17,6 @@ nemgo <name>
|
|
|
21
17
|
|
|
22
18
|
The `nemgo` variant also launches Claude Code automatically if a session exists.
|
|
23
19
|
|
|
24
|
-
## How It Works
|
|
25
|
-
|
|
26
20
|
1. `nemus go` writes the workspace path to `~/.workspace-last-go`
|
|
27
21
|
2. The shell integration function reads that file and runs `cd`
|
|
28
22
|
3. If the workspace has an existing Claude session, it resumes it
|
|
29
|
-
|
|
30
|
-
## Success Criteria
|
|
31
|
-
|
|
32
|
-
- The terminal's working directory changes to the workspace path.
|
|
33
|
-
- If a Claude session exists, it resumes automatically (with `nemgo`).
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
# History
|
|
2
2
|
|
|
3
|
-
View operation history for workspace-manager commands.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
|
-
### Show Recent History
|
|
8
|
-
|
|
9
3
|
```bash
|
|
10
4
|
nemus history
|
|
11
5
|
nemus history show 50 # last 50 records
|
|
@@ -13,29 +7,18 @@ nemus history show --command create # filter by command
|
|
|
13
7
|
nemus history show --workspace my-ws # filter by workspace
|
|
14
8
|
```
|
|
15
9
|
|
|
16
|
-
### Show Statistics
|
|
17
|
-
|
|
18
10
|
```bash
|
|
19
11
|
nemus history stats
|
|
20
12
|
```
|
|
21
13
|
|
|
22
14
|
Shows total operations, success rate, average duration, and per-command usage counts.
|
|
23
15
|
|
|
24
|
-
### Clear History
|
|
25
|
-
|
|
26
16
|
```bash
|
|
27
17
|
nemus history clear
|
|
28
18
|
nemus history clear --yes # skip confirmation
|
|
29
19
|
```
|
|
30
20
|
|
|
31
|
-
## Alias
|
|
32
|
-
|
|
33
21
|
```bash
|
|
34
22
|
w h # same as nemus history
|
|
35
23
|
w h stats # same as nemus history stats
|
|
36
24
|
```
|
|
37
|
-
|
|
38
|
-
## Success Criteria
|
|
39
|
-
|
|
40
|
-
- History records are displayed in a table with timestamp, command, workspace, duration, and status.
|
|
41
|
-
- Stats show meaningful aggregations.
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# List Org Repos
|
|
2
2
|
|
|
3
|
-
List all organization repositories from GitHub.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
1. Run:
|
|
8
4
|
```bash
|
|
9
5
|
nemus cache list
|
|
@@ -19,8 +15,3 @@ List all organization repositories from GitHub.
|
|
|
19
15
|
- Asking the user to narrow down with `nemus cache search <query>` if needed
|
|
20
16
|
|
|
21
17
|
3. If the cache is stale, suggest `nemus cache refresh` to update it.
|
|
22
|
-
|
|
23
|
-
## Success Criteria
|
|
24
|
-
|
|
25
|
-
- All org repos are listed, optionally grouped by prefix.
|
|
26
|
-
- User is guided toward `nemus cache search` if the list is too large to browse.
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# List Suites
|
|
2
2
|
|
|
3
|
-
List all saved suites with their repo counts.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
```bash
|
|
8
4
|
nemus suite list
|
|
9
5
|
```
|
|
@@ -14,8 +10,3 @@ To create a workspace from a suite (non-interactive):
|
|
|
14
10
|
```bash
|
|
15
11
|
nemus suite use --suite <suite-name> --workspace <workspace-name> --yes
|
|
16
12
|
```
|
|
17
|
-
|
|
18
|
-
## Success Criteria
|
|
19
|
-
|
|
20
|
-
- All available suites are listed with their repo counts and descriptions.
|
|
21
|
-
- User is guided toward `nemus suite use` if they want to create a workspace from a suite.
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
# List Workspaces
|
|
2
2
|
|
|
3
|
-
List all existing workspaces managed by workspace-manager.
|
|
4
|
-
|
|
5
|
-
## Instructions
|
|
6
|
-
|
|
7
3
|
1. Run:
|
|
8
4
|
```bash
|
|
9
5
|
nemus list
|
|
@@ -20,8 +16,3 @@ List all existing workspaces managed by workspace-manager.
|
|
|
20
16
|
- Archived status (if applicable)
|
|
21
17
|
|
|
22
18
|
3. If no workspaces exist, suggest creating one with `nemus create`.
|
|
23
|
-
|
|
24
|
-
## Success Criteria
|
|
25
|
-
|
|
26
|
-
- All active workspaces are listed with repo count and creation date.
|
|
27
|
-
- Archived workspaces are shown only when explicitly requested.
|