copilot-agent 0.8.2 → 0.10.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.
package/README.md CHANGED
@@ -12,8 +12,13 @@ Autonomous AI agent manager — auto-resume sessions, discover tasks, run overni
12
12
  | **`overnight`** | Run tasks continuously until a deadline (e.g. 07:00) |
13
13
  | **`research`** | Architecture, security, and performance analysis |
14
14
  | **`report`** | Session activity report — tools, commits, files, tokens |
15
- | **`dashboard`** | Real-time TUI dashboard (pure terminal) |
15
+ | **`dashboard`** | htop-style TUI dashboard with blessed (scrollable, keyboard nav) |
16
16
  | **`web`** | Web dashboard with live updates (Hono + htmx + SSE) |
17
+ | **`config`** | Persistent configuration defaults (global + per-project) |
18
+ | **`proxy`** | Manage copilot-api proxy for Claude Code via Copilot |
19
+ | **`diff`** | Show git changes made by an agent session |
20
+ | **`quota`** | Track premium requests, tokens, and usage over time |
21
+ | **`compact`** | Generate context summary for session handoff/resume |
17
22
 
18
23
  All commands support `--agent copilot` or `--agent claude` (auto-detects if omitted).
19
24
 
@@ -43,7 +48,6 @@ copilot-agent status --active
43
48
 
44
49
  # Filter by agent
45
50
  copilot-agent status --agent claude
46
- copilot-agent status --agent copilot
47
51
  ```
48
52
 
49
53
  ### Watch & auto-resume
@@ -83,46 +87,82 @@ copilot-agent overnight ~/my-project
83
87
 
84
88
  # Run with Claude Code
85
89
  copilot-agent overnight --agent claude --until 07 --max-premium 200
86
-
87
- # Use worktree for parallel tasks
88
- copilot-agent overnight --worktree
89
90
  ```
90
91
 
91
- ### Session report
92
+ ### Session report & diff
92
93
 
93
94
  ```bash
94
- # Latest session
95
+ # Latest session report
95
96
  copilot-agent report
96
97
 
97
- # Specific session
98
- copilot-agent report abc12345-...
98
+ # Show git changes from latest session
99
+ copilot-agent diff
100
+
101
+ # Show changes from specific session with diffstat
102
+ copilot-agent diff abc12345-... --stat
103
+ ```
104
+
105
+ ### Dashboards
106
+
107
+ ```bash
108
+ # htop-style TUI (blessed — scrollable, keyboard nav)
109
+ copilot-agent dashboard
99
110
 
100
- # Multiple recent sessions as JSON
101
- copilot-agent report -l 5 --json
111
+ # Simple ANSI fallback (no dependencies)
112
+ copilot-agent dashboard --simple
102
113
 
103
- # Filter by project directory
104
- copilot-agent report --project ~/my-project
114
+ # Web UI (Hono + htmx, opens browser)
115
+ copilot-agent web
105
116
  ```
106
117
 
107
- ### Research
118
+ ### Configuration
108
119
 
109
120
  ```bash
110
- # Analyze current project
111
- copilot-agent research
121
+ # Set persistent defaults
122
+ copilot-agent config set agent claude
123
+ copilot-agent config set steps 50
124
+ copilot-agent config set worktree true
125
+
126
+ # View all config (defaults + global + project)
127
+ copilot-agent config list
112
128
 
113
- # With Claude Code
114
- copilot-agent research --agent claude
129
+ # Per-project config: create .copilot-agent.yaml in project root
115
130
  ```
116
131
 
117
- ### Dashboards
132
+ ### Proxy management (Claude Code via Copilot)
118
133
 
119
134
  ```bash
120
- # Terminal UI (pure ANSI, no deps)
121
- copilot-agent dashboard
135
+ # Start copilot-api proxy (auto-detects Copilot OAuth token)
136
+ copilot-agent proxy start
122
137
 
123
- # Web UI (Hono + htmx, opens browser)
124
- copilot-agent web
125
- copilot-agent web --port 8080
138
+ # Check status (PID, port, token, model count)
139
+ copilot-agent proxy status
140
+ ```
141
+
142
+ ### Usage tracking
143
+
144
+ ```bash
145
+ # Show last 7 days of premium/token usage
146
+ copilot-agent quota
147
+
148
+ # All-time usage
149
+ copilot-agent quota --all
150
+
151
+ # Last 30 days
152
+ copilot-agent quota --days 30
153
+ ```
154
+
155
+ ### Context handoff (compact)
156
+
157
+ ```bash
158
+ # Generate context summary from latest session
159
+ copilot-agent compact
160
+
161
+ # Save compact to file
162
+ copilot-agent compact --save
163
+
164
+ # Get a resume prompt to continue the work
165
+ copilot-agent compact --resume-prompt
126
166
  ```
127
167
 
128
168
  ## How it works
@@ -133,6 +173,7 @@ copilot-agent web --port 8080
133
173
  4. **Task discovery** — Detects project type and generates relevant maintenance tasks
134
174
  5. **Race prevention** — File locking + process tracking prevents concurrent agents in the same directory
135
175
  6. **Worktree isolation** — Optional `--worktree` flag for parallel task execution via `git worktree`
176
+ 7. **Config layering** — Defaults → `~/.copilot-agent/config.yaml` → `.copilot-agent.yaml` → CLI flags
136
177
 
137
178
  ## Supported project types
138
179