copilot-agent 0.11.0 → 1.0.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 +91 -3
- package/dist/index.js +1002 -117
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,6 +21,11 @@ Autonomous AI agent manager — auto-resume sessions, discover tasks, run overni
|
|
|
21
21
|
| **`compact`** | Generate context summary for session handoff/resume |
|
|
22
22
|
| **`hooks`** | Event-driven automation (on_task_complete, on_error, etc.) |
|
|
23
23
|
| **`pr`** | Auto-create GitHub Pull Request from session changes |
|
|
24
|
+
| **`log`** | Search, timeline, and export session history |
|
|
25
|
+
| **`template`** | Manage custom task templates (add/list/remove/import/export) |
|
|
26
|
+
| **`schedule`** | Cron-like recurring task scheduler with daemon mode |
|
|
27
|
+
| **`multi`** | Multi-project orchestration — parallel runs, status tracking |
|
|
28
|
+
| **`review`** | AI-powered code review of session changes, diffs, or PRs |
|
|
24
29
|
|
|
25
30
|
All commands support `--agent copilot` or `--agent claude` (auto-detects if omitted).
|
|
26
31
|
|
|
@@ -107,11 +112,11 @@ copilot-agent diff abc12345-... --stat
|
|
|
107
112
|
### Dashboards
|
|
108
113
|
|
|
109
114
|
```bash
|
|
110
|
-
# htop-style TUI (blessed — scrollable, keyboard nav)
|
|
115
|
+
# htop-style TUI (blessed — scrollable, keyboard nav, cached rendering)
|
|
111
116
|
copilot-agent dashboard
|
|
112
117
|
|
|
113
|
-
#
|
|
114
|
-
copilot-agent dashboard --
|
|
118
|
+
# Custom refresh interval
|
|
119
|
+
copilot-agent dashboard --refresh 3
|
|
115
120
|
|
|
116
121
|
# Web UI (Hono + htmx, opens browser)
|
|
117
122
|
copilot-agent web
|
|
@@ -204,6 +209,89 @@ copilot-agent pr --dry-run
|
|
|
204
209
|
copilot-agent pr --no-draft
|
|
205
210
|
```
|
|
206
211
|
|
|
212
|
+
### Session log (search & export)
|
|
213
|
+
|
|
214
|
+
```bash
|
|
215
|
+
# Search sessions by keyword
|
|
216
|
+
copilot-agent log search "auth" --limit 10
|
|
217
|
+
|
|
218
|
+
# View session timeline
|
|
219
|
+
copilot-agent log timeline <session-id>
|
|
220
|
+
|
|
221
|
+
# Export history as JSON or CSV
|
|
222
|
+
copilot-agent log export --format json --output sessions.json
|
|
223
|
+
copilot-agent log export --format csv --limit 50
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
### Task templates
|
|
227
|
+
|
|
228
|
+
```bash
|
|
229
|
+
# List custom templates
|
|
230
|
+
copilot-agent template list
|
|
231
|
+
|
|
232
|
+
# Add a reusable task template
|
|
233
|
+
copilot-agent template add security-audit --prompt "Run a full security audit"
|
|
234
|
+
|
|
235
|
+
# Remove a template
|
|
236
|
+
copilot-agent template remove security-audit
|
|
237
|
+
|
|
238
|
+
# Export/import templates (YAML)
|
|
239
|
+
copilot-agent template export > my-templates.yaml
|
|
240
|
+
copilot-agent template import team-templates.yaml
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
### Scheduled tasks
|
|
244
|
+
|
|
245
|
+
```bash
|
|
246
|
+
# Add a recurring schedule
|
|
247
|
+
copilot-agent schedule add nightly-lint \
|
|
248
|
+
--cron "0 2 * * *" \
|
|
249
|
+
--prompt "Fix all lint errors and run tests" \
|
|
250
|
+
--project /path/to/project
|
|
251
|
+
|
|
252
|
+
# List all schedules
|
|
253
|
+
copilot-agent schedule list
|
|
254
|
+
|
|
255
|
+
# Preview what would run next
|
|
256
|
+
copilot-agent schedule dry-run
|
|
257
|
+
|
|
258
|
+
# Start the scheduler daemon
|
|
259
|
+
copilot-agent schedule run
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
### Multi-project orchestration
|
|
263
|
+
|
|
264
|
+
```bash
|
|
265
|
+
# Register projects
|
|
266
|
+
copilot-agent multi add ~/project-a
|
|
267
|
+
copilot-agent multi add ~/project-b
|
|
268
|
+
|
|
269
|
+
# Run tasks on all projects (with Claude, in parallel)
|
|
270
|
+
copilot-agent multi run --agent claude --parallel
|
|
271
|
+
|
|
272
|
+
# Check per-project status
|
|
273
|
+
copilot-agent multi status
|
|
274
|
+
|
|
275
|
+
# Dry-run preview
|
|
276
|
+
copilot-agent multi run --dry-run
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
### AI code review
|
|
280
|
+
|
|
281
|
+
```bash
|
|
282
|
+
# Review latest session changes
|
|
283
|
+
copilot-agent review
|
|
284
|
+
|
|
285
|
+
# Review with security focus
|
|
286
|
+
copilot-agent review --focus security
|
|
287
|
+
|
|
288
|
+
# Review current git diff
|
|
289
|
+
copilot-agent review diff
|
|
290
|
+
|
|
291
|
+
# Review a GitHub PR
|
|
292
|
+
copilot-agent review pr 42 --agent claude
|
|
293
|
+
```
|
|
294
|
+
|
|
207
295
|
## How it works
|
|
208
296
|
|
|
209
297
|
1. **Agent abstraction** — Unified interface for both Copilot CLI and Claude Code
|