cc-mirror 1.4.1 → 1.4.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.
package/README.md CHANGED
@@ -141,22 +141,22 @@ mclaude # Launch Mirror Claude variant
141
141
 
142
142
  ```bash
143
143
  # Create & manage variants
144
- cc-mirror create # Full configuration wizard
145
- cc-mirror quick [options] # Fast setup with defaults
146
- cc-mirror list # List all variants
147
- cc-mirror update [name] # Update one or all variants
148
- cc-mirror remove <name> # Delete a variant
149
- cc-mirror doctor # Health check all variants
144
+ npx cc-mirror create # Full configuration wizard
145
+ npx cc-mirror quick [options] # Fast setup with defaults
146
+ npx cc-mirror list # List all variants
147
+ npx cc-mirror update [name] # Update one or all variants
148
+ npx cc-mirror remove <name> # Delete a variant
149
+ npx cc-mirror doctor # Health check all variants
150
150
 
151
151
  # Task management (team mode)
152
- cc-mirror tasks # List open tasks
153
- cc-mirror tasks show <id> # Show task details
154
- cc-mirror tasks create # Create new task
155
- cc-mirror tasks update <id> # Update task
156
- cc-mirror tasks delete <id> # Delete task
157
- cc-mirror tasks archive <id> # Archive task
158
- cc-mirror tasks clean # Bulk cleanup
159
- cc-mirror tasks graph # Visualize dependencies
152
+ npx cc-mirror tasks # List open tasks
153
+ npx cc-mirror tasks show <id> # Show task details
154
+ npx cc-mirror tasks create # Create new task
155
+ npx cc-mirror tasks update <id> # Update task
156
+ npx cc-mirror tasks delete <id> # Delete task
157
+ npx cc-mirror tasks archive <id> # Archive task
158
+ npx cc-mirror tasks clean # Bulk cleanup
159
+ npx cc-mirror tasks graph # Visualize dependencies
160
160
 
161
161
  # Launch your variant
162
162
  zai # Run Z.ai variant
@@ -204,10 +204,10 @@ Enable multi-agent collaboration with shared task management:
204
204
 
205
205
  ```bash
206
206
  # Enable on any variant
207
- cc-mirror create --provider zai --name zai-team --enable-team-mode
207
+ npx cc-mirror create --provider zai --name zai-team --enable-team-mode
208
208
 
209
209
  # Mirror Claude has team mode by default
210
- cc-mirror quick --provider mirror --name mclaude
210
+ npx cc-mirror quick --provider mirror --name mclaude
211
211
  ```
212
212
 
213
213
  Team mode enables: `TaskCreate`, `TaskGet`, `TaskUpdate`, `TaskList` tools plus an **orchestrator skill** that teaches Claude effective multi-agent coordination patterns.
@@ -218,24 +218,24 @@ Manage team tasks from the command line:
218
218
 
219
219
  ```bash
220
220
  # List open tasks
221
- cc-mirror tasks
221
+ npx cc-mirror tasks
222
222
 
223
223
  # View across all teams
224
- cc-mirror tasks --all
224
+ npx cc-mirror tasks --all
225
225
 
226
226
  # Create and update tasks
227
- cc-mirror tasks create --subject "Add auth" --description "JWT implementation"
228
- cc-mirror tasks update 5 --status resolved --add-comment "Done"
227
+ npx cc-mirror tasks create --subject "Add auth" --description "JWT implementation"
228
+ npx cc-mirror tasks update 5 --status resolved --add-comment "Done"
229
229
 
230
230
  # Cleanup resolved tasks
231
- cc-mirror tasks clean --resolved --dry-run
232
- cc-mirror tasks clean --resolved --force
231
+ npx cc-mirror tasks clean --resolved --dry-run
232
+ npx cc-mirror tasks clean --resolved --force
233
233
 
234
234
  # Archive instead of delete (preserves task history)
235
- cc-mirror tasks archive 5
235
+ npx cc-mirror tasks archive 5
236
236
 
237
237
  # Visualize dependency graph
238
- cc-mirror tasks graph
238
+ npx cc-mirror tasks graph
239
239
  ```
240
240
 
241
241
  ### Project-Scoped Tasks (v1.2.0+)
@@ -101,8 +101,8 @@ WHAT IS CC-MIRROR?
101
101
  config, theme, and settings.
102
102
 
103
103
  QUICK START
104
- cc-mirror quick # Fast setup: provider + key \u2192 done
105
- cc-mirror create # Full wizard with all options
104
+ npx cc-mirror quick # Fast setup: provider + key \u2192 done
105
+ npx cc-mirror create # Full wizard with all options
106
106
 
107
107
  COMMANDS
108
108
  create [options] Create a new variant
@@ -135,10 +135,10 @@ OPTIONS (advanced)
135
135
  --shell-env Write env vars to shell profile (Z.ai)
136
136
 
137
137
  EXAMPLES
138
- cc-mirror quick --provider zai
139
- cc-mirror create --provider minimax --brand minimax
140
- cc-mirror update zai
141
- cc-mirror doctor
138
+ npx cc-mirror quick --provider zai
139
+ npx cc-mirror create --provider minimax --brand minimax
140
+ npx cc-mirror update zai
141
+ npx cc-mirror doctor
142
142
 
143
143
  LEARN MORE
144
144
  https://github.com/numman-ali/cc-mirror
@@ -5934,10 +5934,10 @@ function parseIds(value) {
5934
5934
  }
5935
5935
  function showTasksHelp() {
5936
5936
  console.log(`
5937
- cc-mirror tasks - Manage team tasks
5937
+ npx cc-mirror tasks - Manage team tasks
5938
5938
 
5939
5939
  USAGE:
5940
- cc-mirror tasks [operation] [id] [options]
5940
+ npx cc-mirror tasks [operation] [id] [options]
5941
5941
 
5942
5942
  OPERATIONS:
5943
5943
  list List tasks (default if no operation specified)
@@ -5990,13 +5990,13 @@ CLEAN OPTIONS:
5990
5990
  --force Skip confirmation
5991
5991
 
5992
5992
  EXAMPLES:
5993
- cc-mirror tasks # List open tasks
5994
- cc-mirror tasks --status all # List all tasks
5995
- cc-mirror tasks show 5 # Show task #5
5996
- cc-mirror tasks create --subject "Fix bug" --description "..."
5997
- cc-mirror tasks update 5 --status resolved
5998
- cc-mirror tasks delete 5 --force
5999
- cc-mirror tasks clean --resolved --dry-run
5993
+ npx cc-mirror tasks # List open tasks
5994
+ npx cc-mirror tasks --status all # List all tasks
5995
+ npx cc-mirror tasks show 5 # Show task #5
5996
+ npx cc-mirror tasks create --subject "Fix bug" --description "..."
5997
+ npx cc-mirror tasks update 5 --status resolved
5998
+ npx cc-mirror tasks delete 5 --force
5999
+ npx cc-mirror tasks clean --resolved --dry-run
6000
6000
  `);
6001
6001
  }
6002
6002
  async function runTasksCommand({ opts }) {
@@ -6016,7 +6016,7 @@ async function runTasksCommand({ opts }) {
6016
6016
  switch (operation) {
6017
6017
  case "show": {
6018
6018
  if (!taskId) {
6019
- console.error("Error: Task ID required. Usage: cc-mirror tasks show <id>");
6019
+ console.error("Error: Task ID required. Usage: npx cc-mirror tasks show <id>");
6020
6020
  process.exitCode = 1;
6021
6021
  return;
6022
6022
  }
@@ -6045,7 +6045,7 @@ async function runTasksCommand({ opts }) {
6045
6045
  }
6046
6046
  case "update": {
6047
6047
  if (!taskId) {
6048
- console.error("Error: Task ID required. Usage: cc-mirror tasks update <id>");
6048
+ console.error("Error: Task ID required. Usage: npx cc-mirror tasks update <id>");
6049
6049
  process.exitCode = 1;
6050
6050
  return;
6051
6051
  }
@@ -6070,7 +6070,7 @@ async function runTasksCommand({ opts }) {
6070
6070
  }
6071
6071
  case "delete": {
6072
6072
  if (!taskId) {
6073
- console.error("Error: Task ID required. Usage: cc-mirror tasks delete <id>");
6073
+ console.error("Error: Task ID required. Usage: npx cc-mirror tasks delete <id>");
6074
6074
  process.exitCode = 1;
6075
6075
  return;
6076
6076
  }
@@ -6135,7 +6135,7 @@ async function runTasksCommand({ opts }) {
6135
6135
  }
6136
6136
  default:
6137
6137
  console.error(`Unknown operation: ${operation}`);
6138
- console.error('Run "cc-mirror tasks --help" for usage.');
6138
+ console.error('Run "npx cc-mirror tasks --help" for usage.');
6139
6139
  process.exitCode = 1;
6140
6140
  }
6141
6141
  }
@@ -5,7 +5,7 @@ description: CLI tool for managing team tasks outside of Claude Code's built-in
5
5
 
6
6
  # Task Manager CLI
7
7
 
8
- You have access to `cc-mirror tasks` - a CLI for managing team tasks.
8
+ You have access to `npx cc-mirror tasks` - a CLI for managing team tasks.
9
9
 
10
10
  ## Auto-Detection
11
11
 
@@ -20,24 +20,24 @@ No need to specify `--variant` or `--team` in most cases.
20
20
 
21
21
  ```bash
22
22
  # List tasks
23
- cc-mirror tasks # Open tasks (default)
24
- cc-mirror tasks --status all # All tasks
23
+ npx cc-mirror tasks # Open tasks (default)
24
+ npx cc-mirror tasks --status all # All tasks
25
25
 
26
26
  # View dependencies
27
- cc-mirror tasks graph # Visual dependency tree
27
+ npx cc-mirror tasks graph # Visual dependency tree
28
28
 
29
29
  # Archive resolved tasks (preserves history)
30
- cc-mirror tasks archive --resolved --dry-run # Preview
31
- cc-mirror tasks archive --resolved # Execute
30
+ npx cc-mirror tasks archive --resolved --dry-run # Preview
31
+ npx cc-mirror tasks archive --resolved # Execute
32
32
 
33
33
  # Delete permanently (no history)
34
- cc-mirror tasks clean --resolved --dry-run # Preview
35
- cc-mirror tasks clean --resolved # Execute
34
+ npx cc-mirror tasks clean --resolved --dry-run # Preview
35
+ npx cc-mirror tasks clean --resolved # Execute
36
36
 
37
37
  # Single task operations
38
- cc-mirror tasks show <id> # View details
39
- cc-mirror tasks archive <id> # Archive one task
40
- cc-mirror tasks delete <id> # Delete one task
38
+ npx cc-mirror tasks show <id> # View details
39
+ npx cc-mirror tasks archive <id> # Archive one task
40
+ npx cc-mirror tasks delete <id> # Delete one task
41
41
  ```
42
42
 
43
43
  ## When to Use
@@ -62,16 +62,16 @@ By default, commands target your current team. To view others:
62
62
 
63
63
  ```bash
64
64
  # Different team in same variant
65
- cc-mirror tasks --team other-project
65
+ npx cc-mirror tasks --team other-project
66
66
 
67
67
  # Different variant
68
- cc-mirror tasks --variant zai --team my-project
68
+ npx cc-mirror tasks --variant zai --team my-project
69
69
 
70
70
  # All teams in current variant
71
- cc-mirror tasks --all
71
+ npx cc-mirror tasks --all
72
72
 
73
73
  # All variants, all teams
74
- cc-mirror tasks --all-variants --all
74
+ npx cc-mirror tasks --all-variants --all
75
75
  ```
76
76
 
77
77
  Ask the user which team/variant they want to view using `AskUserQuestion`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-mirror",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "type": "module",
5
5
  "description": "Create multiple isolated Claude Code variants with custom providers (Z.ai, MiniMax, OpenRouter, Claude Code Router)",
6
6
  "author": "Numman Ali",