taskin 4.1.4 → 4.3.0

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 +46 -23
  2. package/dist/index.js +1135 -611
  3. package/package.json +7 -7
package/README.md CHANGED
@@ -87,6 +87,7 @@ Taskin is built as a modular ecosystem. Besides the CLI, you can use individual
87
87
  2. **List all tasks:**
88
88
  \`\`\`bash
89
89
  taskin list
90
+ taskin list --json # JSON array, for another tool to consume
90
91
  \`\`\`
91
92
 
92
93
  3. **Start working on a task:**
@@ -105,7 +106,11 @@ Taskin is built as a modular ecosystem. Besides the CLI, you can use individual
105
106
  - `taskin new` - Create a new task (alias: `create`)
106
107
  - `taskin start <id>` - Start working on a task (suggests commits)
107
108
  - `taskin pause <id>` - Pause work on a task (auto-commits work in progress)
109
+ - `taskin review <id>` - Mark a task as ready for review
108
110
  - `taskin finish <id>` - Complete a task (suggests commits)
111
+
112
+ `new`, `start`, `review` and `finish` each accept `--no-skip-ci`. See
113
+ [The CI-skip tag](#the-ci-skip-tag).
109
114
  - `taskin stats [options]` - Show statistics
110
115
  - `--user` - User statistics
111
116
  - `--team` - Team statistics
@@ -117,8 +122,33 @@ Taskin is built as a modular ecosystem. Besides the CLI, you can use individual
117
122
  - `--filter-open` - Show only open tasks
118
123
  - `--filter-closed` - Show only closed tasks
119
124
  - `taskin mcp-server` - Start MCP server for Claude Desktop integration (alias: `mcp`)
125
+ - `taskin mcp-install` - Register the MCP server in this project's `.mcp.json`
126
+ - `-f, --force` - Replace an existing `taskin` entry that differs
127
+ - `--no-probe` - Skip starting the server to verify the entry works
120
128
  - `taskin help` - Show help information
121
129
 
130
+ ### The CI-skip tag
131
+
132
+ The commits Taskin writes on its own carry a tag so a status change does not
133
+ burn a pipeline run — `[skip ci]` by default, configurable per project as
134
+ `automation.ciSkipTag` in `.taskin.json`. An empty string appends nothing, which
135
+ is how a project asks for CI to run on those commits too.
136
+
137
+ There is one case the project-wide setting cannot get right. GitHub reads
138
+ **only the head commit of a push**. When you commit your work and then run
139
+ `taskin finish`, the status commit lands on top — and its tag skips the whole
140
+ push, including the release of the work you just finished.
141
+
142
+ For that push, turn the tag off for the one call:
143
+
144
+ ```bash
145
+ taskin finish 042 --no-skip-ci
146
+ ```
147
+
148
+ The flag only turns the tag off. There is no way to force it on in a project
149
+ that configured an empty string: a project that asked for "CI always" has no use
150
+ for skipping case by case.
151
+
122
152
  ### Automation Levels
123
153
 
124
154
  Taskin supports three automation levels for git commits:
@@ -137,36 +167,29 @@ Taskin includes an MCP server that allows AI assistants like Claude Desktop to i
137
167
  taskin mcp-server
138
168
  ```
139
169
 
140
- ### Integration with Claude Desktop
141
-
142
- Add to your Claude Desktop config (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS):
170
+ ### Registering it in a project
143
171
 
144
- ```json
145
- {
146
- "mcpServers": {
147
- "taskin": {
148
- "args": ["taskin@beta", "mcp-server"],
149
- "command": "npx"
150
- }
151
- }
152
- }
172
+ ```bash
173
+ taskin mcp-install
153
174
  ```
154
175
 
155
- Or if installed globally:
176
+ Writes `.mcp.json` at the **project root** — not wherever you ran it from, which
177
+ matters in a monorepo, where a subdirectory has no lockfile to detect the
178
+ package manager from. It merges with servers already configured there, leaves a
179
+ differing `taskin` entry alone until you pass `--force`, and refuses a malformed
180
+ file instead of destroying it.
156
181
 
157
- ```json
158
- {
159
- "mcpServers": {
160
- "taskin": {
161
- "args": ["mcp-server"],
162
- "command": "taskin"
163
- }
164
- }
165
- }
166
- ```
182
+ Then it starts the server over stdio and compares the tools it advertises
183
+ against the ones this version offers. Asking only "did it answer?" is not
184
+ enough: the command can resolve to a *different* taskin — an older global
185
+ install answers happily, with the wrong set of tools. Skip the check with
186
+ `--no-probe`.
187
+
188
+ ### Integration with Claude Desktop
167
189
 
168
190
  **Available MCP Tools:**
169
191
 
192
+ - `list_tasks` - List tasks, with optional filters
170
193
  - `start_task` - Start working on a task
171
194
  - `finish_task` - Mark a task as finished
172
195