@task-mcp/cli 1.0.19 → 1.0.21

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.
Files changed (3) hide show
  1. package/README.md +45 -15
  2. package/package.json +1 -1
  3. package/src/index.ts +6 -6
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # @task-mcp/cli
2
2
 
3
- Zero-dependency CLI for task-mcp with beautiful terminal visualization.
3
+ Terminal dashboard for [@task-mcp/mcp-server](https://www.npmjs.com/package/@task-mcp/mcp-server).
4
+
5
+ > **Note:** This CLI is a companion tool for task-mcp MCP server. It provides terminal visualization for tasks managed through Claude Code or other MCP clients. For full task management capabilities (create, update, dependencies, etc.), use the MCP server with Claude Code.
4
6
 
5
7
  ```
6
8
  ████████ █████ ███████ ██ ██ ███ ███ ██████ ██████
@@ -46,10 +48,10 @@ task list --status pending
46
48
  ### Dashboard
47
49
 
48
50
  ```bash
49
- task # Show dashboard for all projects
51
+ task # Show dashboard for current workspace
50
52
  task dashboard # Same as above
51
53
  task d # Alias
52
- task dashboard proj_123 # Show specific project
54
+ task dashboard my-project # Show specific workspace
53
55
  ```
54
56
 
55
57
  ### Interactive Mode
@@ -77,12 +79,12 @@ task list --status pending,in_progress
77
79
  task list --priority critical,high
78
80
  ```
79
81
 
80
- ### Projects
82
+ ### Workspaces
81
83
 
82
84
  ```bash
83
- task projects # List active projects
84
- task p # Alias
85
- task projects --all # Include archived
85
+ task workspaces # List all workspaces
86
+ task ws # Alias
87
+ task workspaces --all # Include all workspaces
86
88
  ```
87
89
 
88
90
  ### Inbox
@@ -147,10 +149,38 @@ The CLI reads data from the `.tasks/` directory created by the task-mcp MCP serv
147
149
 
148
150
  ```
149
151
  .tasks/
150
- ├── projects.json # Project metadata
151
- ├── inbox.json # Quick capture items
152
- └── <project-id>/
153
- └── tasks.json # Tasks for each project
152
+ ├── inbox.json # Quick capture items (global)
153
+ └── {workspace}/ # Auto-detected from git repo name
154
+ ├── tasks.json # V2 format with tags
155
+ └── history.jsonl # Action history
156
+ ```
157
+
158
+ ## Configuration
159
+
160
+ ### Environment Variables
161
+
162
+ | Variable | Description | Default |
163
+ |----------|-------------|---------|
164
+ | `TASKS_DIR` | Custom path for task storage | `~/.tasks` |
165
+ | `TASKS_LOCAL` | Set to "true" for project-local storage | - |
166
+
167
+ ### Storage Priority
168
+
169
+ 1. `TASKS_DIR` environment variable (if set)
170
+ 2. `TASKS_LOCAL=true` → `./tasks` (project-local)
171
+ 3. Default: `~/.tasks` (global)
172
+
173
+ ### Examples
174
+
175
+ ```bash
176
+ # Use global storage (default)
177
+ task
178
+
179
+ # Use project-local storage
180
+ TASKS_LOCAL=true task
181
+
182
+ # Use custom directory
183
+ TASKS_DIR=/path/to/tasks task
154
184
  ```
155
185
 
156
186
  ## Examples
@@ -159,7 +189,7 @@ The CLI reads data from the `.tasks/` directory created by the task-mcp MCP serv
159
189
  # View all high-priority blocked tasks
160
190
  task list --status blocked --priority high
161
191
 
162
- # Start interactive mode for project exploration
192
+ # Start interactive mode for workspace exploration
163
193
  task -i
164
194
 
165
195
  # Capture idea and check inbox
@@ -167,10 +197,10 @@ task inbox "Refactor auth module !critical #backend"
167
197
  task inbox list
168
198
 
169
199
  # Promote inbox item to task
170
- task inbox promote inb_abc123 --project proj_xyz
200
+ task inbox promote inb_abc123
171
201
 
172
- # Show dashboard for specific project
173
- task d proj_main
202
+ # Show dashboard for specific workspace
203
+ task d my-project
174
204
  ```
175
205
 
176
206
  ## License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@task-mcp/cli",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
4
4
  "description": "Zero-dependency CLI for task-mcp with Bun native visualization",
5
5
  "type": "module",
6
6
  "bin": {
package/src/index.ts CHANGED
@@ -80,12 +80,12 @@ ${c.yellow("USAGE")}
80
80
  ${c.bold("task")} [command] [options]
81
81
 
82
82
  ${c.yellow("COMMANDS")}
83
- ${c.cyan("dashboard")} [project-id] Show project dashboard (default)
84
- ${c.cyan("d")} [project-id] Alias for dashboard
83
+ ${c.cyan("dashboard")} [workspace] Show workspace dashboard (default)
84
+ ${c.cyan("d")} [workspace] Alias for dashboard
85
85
  ${c.cyan("list")} List all tasks
86
86
  ${c.cyan("ls")} Alias for list
87
- ${c.cyan("projects")} List all projects
88
- ${c.cyan("p")} Alias for projects
87
+ ${c.cyan("workspaces")} List all workspaces
88
+ ${c.cyan("ws")} Alias for workspaces
89
89
  ${c.cyan("inbox")} <subcommand> Manage inbox (add/list/get/promote/discard)
90
90
  ${c.cyan("interactive")} Start interactive mode
91
91
  ${c.cyan("i")} Alias for interactive
@@ -117,8 +117,8 @@ ${c.yellow("EXAMPLES")}
117
117
  ${c.dim("# List pending high-priority tasks")}
118
118
  task list --status pending --priority high
119
119
 
120
- ${c.dim("# List all projects including archived")}
121
- task projects --all
120
+ ${c.dim("# List all workspaces")}
121
+ task workspaces --all
122
122
  `);
123
123
  }
124
124