@covibes/zeroshot 1.4.0 → 2.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/CHANGELOG.md +63 -0
- package/README.md +20 -6
- package/cli/index.js +513 -194
- package/cli/lib/first-run.js +174 -0
- package/cli/lib/update-checker.js +234 -0
- package/cli/message-formatters-normal.js +77 -38
- package/cluster-templates/base-templates/debug-workflow.json +11 -2
- package/cluster-templates/base-templates/full-workflow.json +20 -7
- package/cluster-templates/base-templates/single-worker.json +8 -1
- package/cluster-templates/base-templates/worker-validator.json +10 -2
- package/docker/zeroshot-cluster/Dockerfile +7 -0
- package/lib/settings.js +25 -7
- package/package.json +3 -1
- package/src/agent/agent-config.js +19 -6
- package/src/agent/agent-context-builder.js +9 -0
- package/src/agent/agent-task-executor.js +149 -65
- package/src/config-validator.js +13 -0
- package/src/isolation-manager.js +11 -7
- package/src/orchestrator.js +78 -1
- package/src/status-footer.js +59 -6
- package/src/template-resolver.js +23 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,66 @@
|
|
|
1
|
+
# [2.0.0](https://github.com/covibes/zeroshot/compare/v1.5.0...v2.0.0) (2025-12-29)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Code Refactoring
|
|
5
|
+
|
|
6
|
+
* **cli:** simplify flag hierarchy with cascading --ship → --pr → --isolation ([#18](https://github.com/covibes/zeroshot/issues/18)) ([5718ead](https://github.com/covibes/zeroshot/commit/5718ead37f1771a5dfa68dd9b4f55f73e1f6b9d7)), closes [#17](https://github.com/covibes/zeroshot/issues/17)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### BREAKING CHANGES
|
|
10
|
+
|
|
11
|
+
* **cli:** `auto` command removed, use `run --ship` instead
|
|
12
|
+
|
|
13
|
+
- Remove `auto` command (use `run --ship` for full automation)
|
|
14
|
+
- Add `--ship` flag: isolation + PR + auto-merge
|
|
15
|
+
- `--pr` now auto-enables `--isolation`
|
|
16
|
+
- Rename `clear` → `purge` for clarity
|
|
17
|
+
- Update help text with cascading flag examples
|
|
18
|
+
- Add `agents` command stubs
|
|
19
|
+
- Add `--json` output support to list/status
|
|
20
|
+
|
|
21
|
+
# [1.5.0](https://github.com/covibes/zeroshot/compare/v1.4.0...v1.5.0) (2025-12-28)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* **agent:** stop polling after max failures and fix status matching ([7a0fbfe](https://github.com/covibes/zeroshot/commit/7a0fbfe5439f428bdf8e0bcadbd308542221b6f1))
|
|
27
|
+
* **ci:** skip pre-push hook in CI environment ([352b013](https://github.com/covibes/zeroshot/commit/352b013b71fcea7c2d484c8274fe7c42139c65ea))
|
|
28
|
+
* **cli:** prevent terminal garbling with status footer coordination ([2716ce5](https://github.com/covibes/zeroshot/commit/2716ce55eae9a08107788200ab798c3f76815820))
|
|
29
|
+
* **config:** add timeout: 0 default to agent configuration ([6ff66c0](https://github.com/covibes/zeroshot/commit/6ff66c093bf8dfd5048b468fbd250cbfc0d9dbc1))
|
|
30
|
+
* **deps:** regenerate package-lock.json for jscpd dependencies ([c46d84c](https://github.com/covibes/zeroshot/commit/c46d84c3fc1fbb3d00585922613ff36d829d917a))
|
|
31
|
+
* **infra:** improve container cleanup and npm install robustness ([6c04b46](https://github.com/covibes/zeroshot/commit/6c04b46374bd3041a8b5c185ca163009f2fb6635))
|
|
32
|
+
* **orchestrator:** prevent 0-message clusters on SIGINT during init ([33ed8f9](https://github.com/covibes/zeroshot/commit/33ed8f9b90d92da6bf9caf2a7b5e52eadbcecc9f))
|
|
33
|
+
* **template-resolver:** apply param defaults before resolving placeholders ([eafdd62](https://github.com/covibes/zeroshot/commit/eafdd62fce381a7b9a7cb9787cd06e13f421171b))
|
|
34
|
+
* **templates:** add timeout parameter to all base templates ([f853ed3](https://github.com/covibes/zeroshot/commit/f853ed39e0e566afaf31040ce94923a2dcc7bfb9))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Features
|
|
38
|
+
|
|
39
|
+
* **agents:** add git prohibition + minimal output instructions ([6f6496c](https://github.com/covibes/zeroshot/commit/6f6496c5db29073ebbeb6229ac128a5f62d7591f))
|
|
40
|
+
* mechanical enforcement of 7 antipatterns ([4286091](https://github.com/covibes/zeroshot/commit/428609163f9405a8d4b9e84adaee0edbc6bbb7d1)), closes [#1](https://github.com/covibes/zeroshot/issues/1) [#5](https://github.com/covibes/zeroshot/issues/5) [#2](https://github.com/covibes/zeroshot/issues/2) [#4](https://github.com/covibes/zeroshot/issues/4) [#3](https://github.com/covibes/zeroshot/issues/3) [#7](https://github.com/covibes/zeroshot/issues/7) [covibes/covibes#635](https://github.com/covibes/covibes/issues/635)
|
|
41
|
+
* **templates:** add timeout parameter to worker-validator agents ([ee8b17b](https://github.com/covibes/zeroshot/commit/ee8b17bc76aa29bb692965fddbc5a993749f11f9))
|
|
42
|
+
|
|
43
|
+
# [1.5.0](https://github.com/covibes/zeroshot/compare/v1.4.0...v1.5.0) (2025-12-28)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Bug Fixes
|
|
47
|
+
|
|
48
|
+
* **agent:** stop polling after max failures and fix status matching ([7a0fbfe](https://github.com/covibes/zeroshot/commit/7a0fbfe5439f428bdf8e0bcadbd308542221b6f1))
|
|
49
|
+
* **cli:** prevent terminal garbling with status footer coordination ([2716ce5](https://github.com/covibes/zeroshot/commit/2716ce55eae9a08107788200ab798c3f76815820))
|
|
50
|
+
* **config:** add timeout: 0 default to agent configuration ([6ff66c0](https://github.com/covibes/zeroshot/commit/6ff66c093bf8dfd5048b468fbd250cbfc0d9dbc1))
|
|
51
|
+
* **deps:** regenerate package-lock.json for jscpd dependencies ([c46d84c](https://github.com/covibes/zeroshot/commit/c46d84c3fc1fbb3d00585922613ff36d829d917a))
|
|
52
|
+
* **infra:** improve container cleanup and npm install robustness ([6c04b46](https://github.com/covibes/zeroshot/commit/6c04b46374bd3041a8b5c185ca163009f2fb6635))
|
|
53
|
+
* **orchestrator:** prevent 0-message clusters on SIGINT during init ([33ed8f9](https://github.com/covibes/zeroshot/commit/33ed8f9b90d92da6bf9caf2a7b5e52eadbcecc9f))
|
|
54
|
+
* **template-resolver:** apply param defaults before resolving placeholders ([eafdd62](https://github.com/covibes/zeroshot/commit/eafdd62fce381a7b9a7cb9787cd06e13f421171b))
|
|
55
|
+
* **templates:** add timeout parameter to all base templates ([f853ed3](https://github.com/covibes/zeroshot/commit/f853ed39e0e566afaf31040ce94923a2dcc7bfb9))
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
### Features
|
|
59
|
+
|
|
60
|
+
* **agents:** add git prohibition + minimal output instructions ([6f6496c](https://github.com/covibes/zeroshot/commit/6f6496c5db29073ebbeb6229ac128a5f62d7591f))
|
|
61
|
+
* mechanical enforcement of 7 antipatterns ([4286091](https://github.com/covibes/zeroshot/commit/428609163f9405a8d4b9e84adaee0edbc6bbb7d1)), closes [#1](https://github.com/covibes/zeroshot/issues/1) [#5](https://github.com/covibes/zeroshot/issues/5) [#2](https://github.com/covibes/zeroshot/issues/2) [#4](https://github.com/covibes/zeroshot/issues/4) [#3](https://github.com/covibes/zeroshot/issues/3) [#7](https://github.com/covibes/zeroshot/issues/7) [covibes/covibes#635](https://github.com/covibes/covibes/issues/635)
|
|
62
|
+
* **templates:** add timeout parameter to worker-validator agents ([ee8b17b](https://github.com/covibes/zeroshot/commit/ee8b17bc76aa29bb692965fddbc5a993749f11f9))
|
|
63
|
+
|
|
1
64
|
# [1.4.0](https://github.com/covibes/zeroshot/compare/v1.3.0...v1.4.0) (2025-12-28)
|
|
2
65
|
|
|
3
66
|
|
package/README.md
CHANGED
|
@@ -67,19 +67,33 @@ gh auth login
|
|
|
67
67
|
## Commands
|
|
68
68
|
|
|
69
69
|
```bash
|
|
70
|
-
zeroshot 123
|
|
71
|
-
zeroshot "Add dark mode"
|
|
70
|
+
zeroshot run 123 # Run on GitHub issue
|
|
71
|
+
zeroshot run "Add dark mode" # Run from description
|
|
72
72
|
|
|
73
|
-
#
|
|
74
|
-
zeroshot
|
|
75
|
-
zeroshot
|
|
73
|
+
# Automation levels (cascading: --ship → --pr → --isolation)
|
|
74
|
+
zeroshot run 123 --isolation # Docker isolation, no PR
|
|
75
|
+
zeroshot run 123 --pr # Isolation + PR (human reviews)
|
|
76
|
+
zeroshot run 123 --ship # Isolation + PR + auto-merge (full automation)
|
|
77
|
+
|
|
78
|
+
# Background mode
|
|
79
|
+
zeroshot run 123 -d # Detached/daemon
|
|
80
|
+
zeroshot run 123 --ship -d # Full automation, background
|
|
76
81
|
|
|
77
82
|
# Control
|
|
78
|
-
zeroshot list # See all running
|
|
83
|
+
zeroshot list # See all running (--json for scripting)
|
|
84
|
+
zeroshot status <id> # Cluster status (--json for scripting)
|
|
79
85
|
zeroshot logs <id> -f # Follow output
|
|
80
86
|
zeroshot resume <id> # Continue after crash
|
|
81
87
|
zeroshot kill <id> # Stop
|
|
82
88
|
zeroshot watch # TUI dashboard
|
|
89
|
+
|
|
90
|
+
# Agent library
|
|
91
|
+
zeroshot agents list # View available agents
|
|
92
|
+
zeroshot agents show <name> # Agent details
|
|
93
|
+
|
|
94
|
+
# Maintenance
|
|
95
|
+
zeroshot clean # Remove old records
|
|
96
|
+
zeroshot purge # NUCLEAR: kill all + delete all
|
|
83
97
|
```
|
|
84
98
|
|
|
85
99
|
---
|