@traisetech/autopilot 2.0.0 → 2.0.1

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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project follows [Semantic Versioning](https://semver.org).
5
5
 
6
+ ## [2.0.1] - 2026-02-05
7
+
8
+ ### Fixed
9
+ - **Dashboard Stability**: Fixed a crash in `autopilot dashboard` caused by incorrect named import of `getRunningPid`.
10
+ - **Command Reliability**: Added regression tests for `dashboard`, `pause`, `resume`, `stop`, and `status` commands to ensure stability.
11
+
6
12
  ## [2.0.0] - 2026-02-04
7
13
 
8
14
  ### Added
@@ -26,11 +32,11 @@ This project follows [Semantic Versioning](https://semver.org).
26
32
  - `safe-team`: Optimized for collaboration (Team Mode + Secret Checks).
27
33
  - `solo-speed`: Optimized for rapid individual development.
28
34
  - `strict-ci`: Enforces testing and linting before every commit.
29
- ### Docs/Website
30
- - Added Leaderboard page with live simulated rankings.
31
- - Updated homepage Feature Showcase to demonstrate Insights and Safety & Team features.
32
- - Added Leaderboard to top navigation.
33
- - Updated Introduction docs to highlight v2.0 features (AI, Focus Engine, Team Mode, Safety Net).
35
+ ### Docs/Website
36
+ - Added Leaderboard page with live simulated rankings.
37
+ - Updated homepage Feature Showcase to demonstrate Insights and Safety & Team features.
38
+ - Added Leaderboard to top navigation.
39
+ - Updated Introduction docs to highlight v2.0 features (AI, Focus Engine, Team Mode, Safety Net).
34
40
 
35
41
  ## [0.1.8] - 2026-02-04
36
42
 
package/README.md CHANGED
@@ -82,27 +82,27 @@ autopilot start
82
82
  ---
83
83
 
84
84
  ## ✨ Features
85
-
86
- - **🧠 AI Commit Messages**: Gemini 2.5-powered, context-aware conventional commit messages.
85
+
86
+ - **🧠 AI Commit Messages**: Gemini 2.5-powered, context-aware conventional commit messages.
87
87
  - **⚡ Watcher Engine**: Real-time file monitoring with smart debouncing using `chokidar`.
88
88
  - **🛡️ Safety First**: Blocks commits on protected branches and checks remote status.
89
89
  - **🔄 Automated Flow**: Fetches, stages, commits, and pushes (optional) automatically.
90
- - **👥 Team Mode**: Pull-before-push and conflict abortion with preset workflows.
90
+ - **👥 Team Mode**: Pull-before-push and conflict abortion with preset workflows.
91
91
  - **🖥️ Dashboard**: Real-time terminal dashboard with status and activity feed.
92
92
  - **⏮️ Undo System**: Safely rollback the last autopilot commit with one command.
93
- - **📊 Focus Engine & Insights**: Track active coding time, streaks, peak hours, and commit quality.
93
+ - **📊 Focus Engine & Insights**: Track active coding time, streaks, peak hours, and commit quality.
94
94
  - **⚙️ Zero Config**: Works out of the box, but fully configurable via `.autopilotrc.json`.
95
95
  - **🩺 Self-Healing**: Includes a `doctor` command to diagnose and fix issues.
96
96
 
97
- ---
98
-
99
- ## 🆕 What's New in v2.0
100
-
101
- - AI commit generation via Google Gemini (opt-in, with graceful fallback).
102
- - Team presets (`safe-team`, `solo-speed`, `strict-ci`) for different workflows.
103
- - Safety net with `autopilot undo`, secret detection, and large-file prevention.
104
- - Productivity Focus Engine with `autopilot insights` and CSV export.
105
-
97
+ ---
98
+
99
+ ## 🆕 What's New in v2.0
100
+
101
+ - AI commit generation via Google Gemini (opt-in, with graceful fallback).
102
+ - Team presets (`safe-team`, `solo-speed`, `strict-ci`) for different workflows.
103
+ - Safety net with `autopilot undo`, secret detection, and large-file prevention.
104
+ - Productivity Focus Engine with `autopilot insights` and CSV export.
105
+
106
106
  ---
107
107
 
108
108
  ## ⬇️ Installation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@traisetech/autopilot",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -8,7 +8,9 @@ import path from 'path';
8
8
  import StateManager from '../core/state.js';
9
9
  import git from '../core/git.js';
10
10
  import HistoryManager from '../core/history.js';
11
- import { getPid } from '../utils/process.js';
11
+ import processUtils from '../utils/process.js';
12
+
13
+ const { getRunningPid } = processUtils;
12
14
 
13
15
  const e = React.createElement;
14
16
 
@@ -29,7 +31,7 @@ const Dashboard = () => {
29
31
  const fetchData = async () => {
30
32
  try {
31
33
  // 1. Check process status
32
- const currentPid = await getPid(root);
34
+ const currentPid = await getRunningPid(root);
33
35
  setPid(currentPid);
34
36
 
35
37
  // 2. Check Paused State