@task-mcp/cli 1.0.19 → 1.0.20

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 +42 -14
  2. package/package.json +1 -1
  3. package/src/index.ts +6 -6
package/README.md CHANGED
@@ -46,10 +46,10 @@ task list --status pending
46
46
  ### Dashboard
47
47
 
48
48
  ```bash
49
- task # Show dashboard for all projects
49
+ task # Show dashboard for current workspace
50
50
  task dashboard # Same as above
51
51
  task d # Alias
52
- task dashboard proj_123 # Show specific project
52
+ task dashboard my-project # Show specific workspace
53
53
  ```
54
54
 
55
55
  ### Interactive Mode
@@ -77,12 +77,12 @@ task list --status pending,in_progress
77
77
  task list --priority critical,high
78
78
  ```
79
79
 
80
- ### Projects
80
+ ### Workspaces
81
81
 
82
82
  ```bash
83
- task projects # List active projects
84
- task p # Alias
85
- task projects --all # Include archived
83
+ task workspaces # List all workspaces
84
+ task ws # Alias
85
+ task workspaces --all # Include all workspaces
86
86
  ```
87
87
 
88
88
  ### Inbox
@@ -147,10 +147,38 @@ The CLI reads data from the `.tasks/` directory created by the task-mcp MCP serv
147
147
 
148
148
  ```
149
149
  .tasks/
150
- ├── projects.json # Project metadata
151
- ├── inbox.json # Quick capture items
152
- └── <project-id>/
153
- └── tasks.json # Tasks for each project
150
+ ├── inbox.json # Quick capture items (global)
151
+ └── {workspace}/ # Auto-detected from git repo name
152
+ ├── tasks.json # V2 format with tags
153
+ └── history.jsonl # Action history
154
+ ```
155
+
156
+ ## Configuration
157
+
158
+ ### Environment Variables
159
+
160
+ | Variable | Description | Default |
161
+ |----------|-------------|---------|
162
+ | `TASKS_DIR` | Custom path for task storage | `~/.tasks` |
163
+ | `TASKS_LOCAL` | Set to "true" for project-local storage | - |
164
+
165
+ ### Storage Priority
166
+
167
+ 1. `TASKS_DIR` environment variable (if set)
168
+ 2. `TASKS_LOCAL=true` → `./tasks` (project-local)
169
+ 3. Default: `~/.tasks` (global)
170
+
171
+ ### Examples
172
+
173
+ ```bash
174
+ # Use global storage (default)
175
+ task
176
+
177
+ # Use project-local storage
178
+ TASKS_LOCAL=true task
179
+
180
+ # Use custom directory
181
+ TASKS_DIR=/path/to/tasks task
154
182
  ```
155
183
 
156
184
  ## Examples
@@ -159,7 +187,7 @@ The CLI reads data from the `.tasks/` directory created by the task-mcp MCP serv
159
187
  # View all high-priority blocked tasks
160
188
  task list --status blocked --priority high
161
189
 
162
- # Start interactive mode for project exploration
190
+ # Start interactive mode for workspace exploration
163
191
  task -i
164
192
 
165
193
  # Capture idea and check inbox
@@ -167,10 +195,10 @@ task inbox "Refactor auth module !critical #backend"
167
195
  task inbox list
168
196
 
169
197
  # Promote inbox item to task
170
- task inbox promote inb_abc123 --project proj_xyz
198
+ task inbox promote inb_abc123
171
199
 
172
- # Show dashboard for specific project
173
- task d proj_main
200
+ # Show dashboard for specific workspace
201
+ task d my-project
174
202
  ```
175
203
 
176
204
  ## 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.20",
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