rbin-task-flow 1.15.0 → 1.17.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.
@@ -16,7 +16,8 @@
16
16
  | `task-flow: estimate X` | Estimates time for task X (e.g., `task-flow: estimate 1` or `task-flow: estimate 10,11`) |
17
17
  | `task-flow: report X` | Generates implementation report for task X (e.g., `task-flow: report 1` or `task-flow: report 10,11`) |
18
18
  | `task-flow: audit` | Audits codebase against coding standards and suggests incremental improvements |
19
- | `task-flow: improve changes` | Run lint fix + build (fix issues), then audit only uncommitted files |
19
+ | `task-flow: check` | Run lint fix (if available) and build; fix any warnings or errors until both pass |
20
+ | `task-flow: improve changes` | Audit only uncommitted files against coding standards (same as audit, restricted to current change set) |
20
21
  | `rbin-task-flow audit` | **(CLI)** Lists files with unstaged changes (not yet `git add`) |
21
22
 
22
23
  **See complete details below ↓**
@@ -42,9 +43,11 @@ Shows current status of tasks and subtasks from the `tasks.status.md` file.
42
43
  ### `task-flow: audit`
43
44
  Audits the **entire codebase** against the coding standards in [coding_standards.mdc](.cursor/rules/coding_standards.mdc). Non-destructive: reports gaps and suggests incremental improvements; the user chooses what to adopt. See [task_audit.mdc](.cursor/rules/task_audit.mdc) for the full flow.
44
45
 
46
+ ### `task-flow: check`
47
+ Runs **lint fix** and **build** for the project. Check `package.json` for a lint-with-fix script (e.g. `lint:fix`, `lint -- --fix`) and a build script; run lint fix first, fix any warnings or errors, then run build and fix until it passes. Use before committing or before `task-flow: improve changes` to ensure the project is clean.
48
+
45
49
  ### `task-flow: improve changes`
46
- 1. **Lint and build**: Run lint fix if the project has it; fix any lint warnings or errors; run build and fix until it passes.
47
- 2. **Audit uncommitted only**: Same as **task-flow: audit**, but **only for files that were changed and not yet committed** (unstaged + staged). Use before committing to align the current change set with coding standards. The AI obtains the list of uncommitted files and runs the audit flow restricted to those paths.
50
+ Same as **task-flow: audit**, but **only for files that were changed and not yet committed** (unstaged + staged). The AI obtains the list via `git diff --name-only HEAD`, and runs the audit flow restricted to those paths. Use before committing to align the current change set with coding standards. Does **not** run lint or build use `task-flow: check` for that.
48
51
 
49
52
  ### `rbin-task-flow audit` (CLI only)
50
53
  Lists **unstaged** file paths (modified but not yet `git add`). Run in the project root: `rbin-task-flow audit`. Option: `-p, --path <path>`.
package/lib/utils.js CHANGED
@@ -1,10 +1,23 @@
1
1
  const chalk = require('chalk');
2
+ const path = require('path');
3
+ const fs = require('fs');
2
4
 
3
5
  function showHeader() {
6
+ let version = '';
7
+ try {
8
+ const pkgPath = path.join(__dirname, '..', 'package.json');
9
+ if (fs.existsSync(pkgPath)) {
10
+ const pkg = require(pkgPath);
11
+ version = pkg.version ? ' v' + pkg.version : '';
12
+ }
13
+ } catch (_) {}
14
+
4
15
  console.clear();
5
16
  console.log(chalk.cyan('╔════════════════════════════════════════════════════════════════╗'));
6
17
  console.log(chalk.cyan('║') + ' ' + chalk.magenta('✨ RBIN Task Flow - Installation ✨') + ' ' + chalk.cyan('║'));
7
- console.log(chalk.cyan('╚════════════════════════════════════════════════════════════════╝') + '\n');
18
+ console.log(chalk.cyan('╚════════════════════════════════════════════════════════════════╝'));
19
+ if (version) console.log(chalk.gray('Version' + version) + '\n');
20
+ else console.log('');
8
21
  }
9
22
 
10
23
  function showSuccess(message) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rbin-task-flow",
3
- "version": "1.15.0",
3
+ "version": "1.17.0",
4
4
  "description": "AI-powered task management for Claude and Cursor",
5
5
  "main": "index.js",
6
6
  "bin": {