beth-copilot 1.0.14 → 1.0.15
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 +195 -177
- package/README.md +408 -185
- package/bin/cli.js +0 -0
- package/dist/cli/commands/doctor.e2e.test.d.ts +8 -0
- package/dist/cli/commands/doctor.e2e.test.d.ts.map +1 -0
- package/dist/cli/commands/doctor.e2e.test.js +428 -0
- package/dist/cli/commands/doctor.e2e.test.js.map +1 -0
- package/dist/cli/commands/doctor.test.js +1 -1
- package/dist/cli/commands/help.e2e.test.d.ts +9 -0
- package/dist/cli/commands/help.e2e.test.d.ts.map +1 -0
- package/dist/cli/commands/help.e2e.test.js +150 -0
- package/dist/cli/commands/help.e2e.test.js.map +1 -0
- package/dist/cli/commands/init.test.d.ts +6 -0
- package/dist/cli/commands/init.test.d.ts.map +1 -0
- package/dist/cli/commands/init.test.js +289 -0
- package/dist/cli/commands/init.test.js.map +1 -0
- package/dist/cli/commands/mcp.e2e.test.d.ts +9 -0
- package/dist/cli/commands/mcp.e2e.test.d.ts.map +1 -0
- package/dist/cli/commands/mcp.e2e.test.js +139 -0
- package/dist/cli/commands/mcp.e2e.test.js.map +1 -0
- package/dist/cli/commands/pipeline.e2e.test.d.ts +9 -0
- package/dist/cli/commands/pipeline.e2e.test.d.ts.map +1 -0
- package/dist/cli/commands/pipeline.e2e.test.js +192 -0
- package/dist/cli/commands/pipeline.e2e.test.js.map +1 -0
- package/dist/cli/commands/quickstart.test.d.ts +6 -0
- package/dist/cli/commands/quickstart.test.d.ts.map +1 -0
- package/dist/cli/commands/quickstart.test.js +232 -0
- package/dist/cli/commands/quickstart.test.js.map +1 -0
- package/dist/core/agents/frontmatter.test.d.ts +8 -0
- package/dist/core/agents/frontmatter.test.d.ts.map +1 -0
- package/dist/core/agents/frontmatter.test.js +589 -0
- package/dist/core/agents/frontmatter.test.js.map +1 -0
- package/dist/core/agents/handoffs.test.d.ts +8 -0
- package/dist/core/agents/handoffs.test.d.ts.map +1 -0
- package/dist/core/agents/handoffs.test.js +320 -0
- package/dist/core/agents/handoffs.test.js.map +1 -0
- package/dist/core/agents/loader.test.js +1 -1
- package/dist/core/agents/suite.test.d.ts +8 -0
- package/dist/core/agents/suite.test.d.ts.map +1 -0
- package/dist/core/agents/suite.test.js +207 -0
- package/dist/core/agents/suite.test.js.map +1 -0
- package/dist/core/agents/tools.test.d.ts +8 -0
- package/dist/core/agents/tools.test.d.ts.map +1 -0
- package/dist/core/agents/tools.test.js +332 -0
- package/dist/core/agents/tools.test.js.map +1 -0
- package/dist/init.test.js +288 -0
- package/dist/providers/azure.d.ts +147 -0
- package/dist/providers/azure.d.ts.map +1 -0
- package/dist/providers/azure.js +491 -0
- package/dist/providers/azure.js.map +1 -0
- package/dist/providers/azure.test.d.ts +11 -0
- package/dist/providers/azure.test.d.ts.map +1 -0
- package/dist/providers/azure.test.js +330 -0
- package/dist/providers/azure.test.js.map +1 -0
- package/dist/providers/config.d.ts +87 -0
- package/dist/providers/config.d.ts.map +1 -0
- package/dist/providers/config.js +193 -0
- package/dist/providers/config.js.map +1 -0
- package/dist/providers/config.test.d.ts +7 -0
- package/dist/providers/config.test.d.ts.map +1 -0
- package/dist/providers/config.test.js +370 -0
- package/dist/providers/config.test.js.map +1 -0
- package/dist/providers/index.d.ts +18 -0
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/providers/index.js +14 -0
- package/dist/providers/index.js.map +1 -0
- package/dist/providers/interface.d.ts +191 -0
- package/dist/providers/interface.d.ts.map +1 -0
- package/dist/providers/interface.js +94 -0
- package/dist/providers/interface.js.map +1 -0
- package/dist/providers/retry.d.ts +128 -0
- package/dist/providers/retry.d.ts.map +1 -0
- package/dist/providers/retry.js +205 -0
- package/dist/providers/retry.js.map +1 -0
- package/dist/providers/retry.test.d.ts +7 -0
- package/dist/providers/retry.test.d.ts.map +1 -0
- package/dist/providers/retry.test.js +439 -0
- package/dist/providers/retry.test.js.map +1 -0
- package/dist/providers/streaming.d.ts +157 -0
- package/dist/providers/streaming.d.ts.map +1 -0
- package/dist/providers/streaming.js +233 -0
- package/dist/providers/streaming.js.map +1 -0
- package/dist/providers/streaming.test.d.ts +7 -0
- package/dist/providers/streaming.test.d.ts.map +1 -0
- package/dist/providers/streaming.test.js +372 -0
- package/dist/providers/streaming.test.js.map +1 -0
- package/dist/providers/types.d.ts +209 -0
- package/dist/providers/types.d.ts.map +1 -0
- package/dist/providers/types.js +53 -0
- package/dist/providers/types.js.map +1 -0
- package/dist/providers/types.test.d.ts +7 -0
- package/dist/providers/types.test.d.ts.map +1 -0
- package/dist/providers/types.test.js +141 -0
- package/dist/providers/types.test.js.map +1 -0
- package/package.json +60 -56
- package/sbom.json +3302 -8
- package/templates/.github/agents/beth.agent.md +329 -329
- package/templates/.github/agents/developer.agent.md +572 -572
- package/templates/.github/agents/product-manager.agent.md +272 -272
- package/templates/.github/agents/researcher.agent.md +338 -338
- package/templates/.github/agents/security-reviewer.agent.md +465 -465
- package/templates/.github/agents/tester.agent.md +496 -496
- package/templates/.github/agents/ux-designer.agent.md +393 -393
- package/templates/mcp.json.example +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,177 +1,195 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
> *"Here's what changed. I don't repeat myself."*
|
|
4
|
-
|
|
5
|
-
All notable changes to Beth are documented here. Format based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), versioning follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## [1.0.
|
|
10
|
-
|
|
11
|
-
###
|
|
12
|
-
- **
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
- **
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
-
|
|
60
|
-
|
|
61
|
-
###
|
|
62
|
-
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
###
|
|
87
|
-
-
|
|
88
|
-
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
- **
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
- **
|
|
136
|
-
- **
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
-
|
|
141
|
-
|
|
142
|
-
###
|
|
143
|
-
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
- **
|
|
153
|
-
- **
|
|
154
|
-
- **
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
- **
|
|
158
|
-
-
|
|
159
|
-
|
|
160
|
-
###
|
|
161
|
-
-
|
|
162
|
-
-
|
|
163
|
-
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
-
|
|
172
|
-
-
|
|
173
|
-
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
> *"Here's what changed. I don't repeat myself."*
|
|
4
|
+
|
|
5
|
+
All notable changes to Beth are documented here. Format based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), versioning follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## [1.0.15] - 2026-02-19
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- **LLM Provider abstraction** — Azure OpenAI provider with Entra ID auth, streaming support, retry logic, and full TypeScript types
|
|
13
|
+
- **E2E test suite** — MCP validation, help command, init-to-doctor pipeline tests
|
|
14
|
+
- **485 tests passing** — Comprehensive unit and integration test coverage
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
- **Optional Azure dependencies** — `openai` and `@azure/identity` added as optionalDependencies so users only install them when needed
|
|
18
|
+
- **README rewritten** — Architecture diagrams, tech stack docs, CLI/MCP/A2A/provider documentation
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
- **CodeQL security fixes** — Shell command built from environment values, incomplete URL substring sanitization
|
|
22
|
+
- **Package-lock sync** — package-lock.json synced with package.json
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## [1.0.14] - 2026-02-04
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
- **User-friendly error messages** — CLI errors now display formatted boxes with clear problem descriptions, fix instructions, and the exact command to run. No more raw stack traces.
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## [1.0.13] - 2026-02-04
|
|
34
|
+
|
|
35
|
+
### Fixed
|
|
36
|
+
- **ENOTDIR crash during init** — Fixed `copyDirRecursive` crashing when destination path exists as a file instead of a directory. Now properly detects the conflict and provides a clear error message (or removes the file with `--force`).
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## [Unreleased]
|
|
41
|
+
|
|
42
|
+
### Added
|
|
43
|
+
- **CLI TypeScript foundation** — Migrated CLI to TypeScript with proper build system
|
|
44
|
+
- **Doctor command** — `beth doctor` validates installation and configuration
|
|
45
|
+
- **Quickstart command** — `beth quickstart` for guided setup
|
|
46
|
+
- **Agent schema types** — TypeScript types for agent definitions
|
|
47
|
+
- **Unit tests** — 86 tests passing for CLI commands and path validation
|
|
48
|
+
- **Architecture diagrams** — Interactive mermaid diagrams with zoom in README
|
|
49
|
+
|
|
50
|
+
### Changed
|
|
51
|
+
- **DEMO.md** — Rewritten with Beth's personality and beads integration
|
|
52
|
+
- **P2 backlog completed** — Beth orchestrator references added to all agents, MCP skills updated, documentation fixes
|
|
53
|
+
|
|
54
|
+
### Fixed
|
|
55
|
+
- Security-reviewer agent format — Removed obsolete `chatagent` wrapper to match standard YAML frontmatter format used by all other agents
|
|
56
|
+
- Removed unnecessary backlog.md CLI dependency
|
|
57
|
+
- Fixed security-reviewer.agent.md syntax errors
|
|
58
|
+
- Corrected agent/skill counts in help output
|
|
59
|
+
- Allowlisted security documentation examples in Gitleaks config
|
|
60
|
+
|
|
61
|
+
### Documentation
|
|
62
|
+
- CLI Architecture guide (docs/CLI-ARCHITECTURE.md)
|
|
63
|
+
- CLI Implementation Plan (docs/CLI-IMPLEMENTATION-PLAN.md)
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## [1.0.12] - 2026-02-01
|
|
68
|
+
|
|
69
|
+
### Changed
|
|
70
|
+
- Added CHANGELOG.md to npm package
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## [1.0.11] - 2026-02-01
|
|
75
|
+
|
|
76
|
+
### Changed
|
|
77
|
+
- Reverted to fire animation for BETH banner (the way it should be)
|
|
78
|
+
|
|
79
|
+
### Fixed
|
|
80
|
+
- SBOM regeneration for accurate dependency tracking
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## [1.0.10] - 2026-01-31
|
|
85
|
+
|
|
86
|
+
### Added
|
|
87
|
+
- **Path validation security** — 33 tests covering traversal detection, injection prevention, and allowlist validation
|
|
88
|
+
- **Work tracking for all agents** — Every agent now uses the dual tracking system (beads for agents, Backlog.md for humans)
|
|
89
|
+
- **Cross-platform npm installation** — Consistent installation across macOS, Linux, and Windows
|
|
90
|
+
|
|
91
|
+
### Security
|
|
92
|
+
- Path validation for user-supplied binary paths to prevent command injection
|
|
93
|
+
- Documented shell:true security constraints in SECURITY.md
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## [1.0.6] - 2026-01-29
|
|
98
|
+
|
|
99
|
+
### Added
|
|
100
|
+
- **Multi-agent coordination system** — Epic patterns with dependencies, parallel execution, and hierarchical issue tracking
|
|
101
|
+
- **Beads integration** — Structured work tracking with `bd` CLI for agent memory and coordination
|
|
102
|
+
- **Subagent templates** — Ready-to-use patterns for spawning specialists
|
|
103
|
+
|
|
104
|
+
### Changed
|
|
105
|
+
- Beth instructions now include full orchestration workflows
|
|
106
|
+
- Updated SYSTEM-FLOW.md with multi-agent patterns
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## [1.0.5] - 2026-01-28
|
|
111
|
+
|
|
112
|
+
### Added
|
|
113
|
+
- Beads multi-agent coordination documentation
|
|
114
|
+
|
|
115
|
+
---
|
|
116
|
+
|
|
117
|
+
## [1.0.4] - 2026-01-27
|
|
118
|
+
|
|
119
|
+
### Added
|
|
120
|
+
- **backlog.md CLI installation prompt** — Auto-prompts during init for human-readable tracking
|
|
121
|
+
- **.vscode/settings.json template** — Auto-configured agent settings for VS Code
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
## [1.0.3] - 2026-01-26
|
|
126
|
+
|
|
127
|
+
### Added
|
|
128
|
+
- **Version check** — CLI warns users when a newer version is available
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
## [1.0.2] - 2026-01-25
|
|
133
|
+
|
|
134
|
+
### Added
|
|
135
|
+
- **Security automation** — GitHub Actions workflow with npm audit, gitleaks, CodeQL, SBOM generation
|
|
136
|
+
- **Pre-commit hooks** — Secret scanning with gitleaks before commits
|
|
137
|
+
- **Subagent delegation settings** — Documentation for enabling autonomous agent coordination
|
|
138
|
+
|
|
139
|
+
### Changed
|
|
140
|
+
- Clarified Product Manager vs UX Designer roles in documentation
|
|
141
|
+
|
|
142
|
+
### Fixed
|
|
143
|
+
- Security hardening for enterprise production readiness
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
## [1.0.1] - 2026-01-24
|
|
148
|
+
|
|
149
|
+
### Added
|
|
150
|
+
- **Security Reviewer agent** — OWASP Top 10, compliance audits, threat modeling
|
|
151
|
+
- **Security Analysis skill** — Vulnerability assessment workflows
|
|
152
|
+
- **MCP setup guide** — docs/MCP-SETUP.md with all optional servers
|
|
153
|
+
- **Installation guide** — docs/INSTALLATION.md with full setup instructions
|
|
154
|
+
- **Dependabot configuration** — Weekly npm/GH Actions updates with grouped PRs
|
|
155
|
+
|
|
156
|
+
### Changed
|
|
157
|
+
- **Consolidated frontend-engineer into developer** — Developer now handles UI, full-stack, and shadcn-ui MCP integration
|
|
158
|
+
- Updated all agent handoffs to include security-reviewer
|
|
159
|
+
|
|
160
|
+
### Security
|
|
161
|
+
- Full enterprise security review completed
|
|
162
|
+
- HIGH findings addressed
|
|
163
|
+
- SECURITY.md created with security policies
|
|
164
|
+
|
|
165
|
+
---
|
|
166
|
+
|
|
167
|
+
## [1.0.0] - 2026-01-23
|
|
168
|
+
|
|
169
|
+
### Added
|
|
170
|
+
- **Beth orchestrator** — The ruthless, hyper-competent AI coordinator
|
|
171
|
+
- **Six specialist agents** — Product Manager, Researcher, UX Designer, Developer, Tester, (later Security Reviewer)
|
|
172
|
+
- **Five skills** — PRD generation, Framer components, Vercel React best practices, Web Design guidelines, shadcn-ui
|
|
173
|
+
- **npm package** — `npx beth-copilot init` for one-command installation
|
|
174
|
+
- **IDEO Design Thinking workflow** — Empathize → Define → Ideate → Prototype → Test
|
|
175
|
+
- **Dual tracking system** — beads for agents, Backlog.md for humans
|
|
176
|
+
- **ASCII art animation** — Beth's entrance with fire effect banner
|
|
177
|
+
|
|
178
|
+
### Architecture
|
|
179
|
+
- Agent definition format with YAML frontmatter
|
|
180
|
+
- Skills as domain-knowledge modules loaded on-demand
|
|
181
|
+
- Subagent vs handoff patterns for different control levels
|
|
182
|
+
- Hierarchical issue tracking for complex workflows
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
## What's Next
|
|
187
|
+
|
|
188
|
+
See [Backlog.md](Backlog.md) for planned work:
|
|
189
|
+
- MCP skill enhancements (web search, Playwright, Azure, Microsoft Learn)
|
|
190
|
+
- Agent consistency review
|
|
191
|
+
- Additional skills for API security and performance profiling
|
|
192
|
+
|
|
193
|
+
---
|
|
194
|
+
|
|
195
|
+
*"That's the history. Now stop looking backward and let's build something."*
|