Skip to content

Commit eebae9d

Browse files
PaulJPhilpclaude
andcommitted
chore: release prep v0.12.0 — version bumps, package metadata, CI fix
Phase 1 - Repo Hygiene: - Fix CI workflow stale path: services/mcp-server → packages/mcp-server - Create ep-cli README.md with installation and command docs Phase 2 - Package Prep: - Add files, publishConfig, repository, bugs, homepage, engines to ep-cli - Add publishConfig, repository, bugs, homepage to pipeline-state - Update @effect/schema dep 0.68 → 0.75 in pipeline-state - Exclude dist/__tests__ from toolkit package - Add repository, bugs, homepage, engines to ep-shared-services - Copy LICENSE to all publishable packages Phase 3 - Versions & Changelogs: - Root: 0.11.0 → 0.12.0 - toolkit: 0.3.0 → 0.4.0 - ep-cli: 0.2.0 → 0.3.0 - ep-shared-services: 1.0.0 → 1.0.1 - pipeline-state: 1.1.0 → 1.1.1 - mcp-server: 0.7.6 → 0.7.7 - Update/create changelogs for all packages - Delete stale changeset files Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 36e0d9a commit eebae9d

22 files changed

Lines changed: 390 additions & 31 deletions

File tree

.changeset/0000-deploy-mcp.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

.changeset/0000-fix-unused-extractavoidwhen.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,15 +186,15 @@ jobs:
186186
path: packages/toolkit/dist/
187187

188188
- name: Build MCP server
189-
run: cd services/mcp-server && bun run build
189+
run: cd packages/mcp-server && bun run build
190190
env:
191191
SKIP_ENV_VALIDATION: true
192192

193193
- name: Upload build artifacts
194194
uses: actions/upload-artifact@v6
195195
with:
196196
name: mcp-server-dist
197-
path: services/mcp-server/.next/
197+
path: packages/mcp-server/.next/
198198
retention-days: 7
199199

200200
test-integration:

CHANGELOG.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
# Changelog
22

3-
## [Unreleased]
3+
## [0.12.0] - 2026-02-10
4+
5+
### 🚀 First npm Publish
6+
- **npm Packages**: Prepared all four public packages for first npm publish
7+
- `@effect-patterns/toolkit` 0.4.0
8+
- `@effect-patterns/ep-cli` 0.3.0
9+
- `@effect-patterns/ep-shared-services` 1.0.1
10+
- `@effect-patterns/pipeline-state` 1.1.1
11+
- **MCP Server**: `@effect-patterns/mcp-server` 0.7.7 patch release
12+
13+
### 📦 New Content
14+
- **5 New Patterns**: core-concepts-chunk-vs-array, error-management-extract-cause, observability-compose-metrics, resource-management-guarantee-cleanup, resource-management-runtime-vs-provide
415

516
### 🔒 Security
617
- **MCP Streamable Auth**: Enforced strict API key validation in streamable transport (presence-only bypass removed) with constant-time comparison.
@@ -14,6 +25,12 @@
1425
- **Regression Coverage**: Added auth and admin-route regression tests for transport auth, PKCE/client auth, and DB mutation authorization.
1526
- **EP CLI Publishability**: Enabled npm release path by removing package `private` flag from `@effect-patterns/ep-cli`.
1627

28+
### 🔧 Fixes
29+
- **CI Workflow**: Fixed stale `services/mcp-server` path → `packages/mcp-server` in CI build step
30+
- **Package Metadata**: Added repository, bugs, homepage, engines, publishConfig to all packages
31+
- **Toolkit**: Excluded test artifacts from npm package via `!dist/__tests__`
32+
- **Pipeline State**: Updated `@effect/schema` dependency from 0.68 → 0.75
33+
1734
## [0.10.0-patterns] - 2026-01-12
1835

1936
### 🚀 Features

bun.lock

Lines changed: 7 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"type": "module",
33
"name": "effect-patterns-hub",
4-
"version": "0.11.0",
4+
"version": "0.12.0",
55
"packageManager": "bun@1.2.23",
66
"private": true,
77
"description": "A community-driven knowledge base for Effect-TS patterns.",

packages/ep-cli/CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Changelog
2+
3+
All notable changes to `@effect-patterns/ep-cli` will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [0.3.0] - 2026-02-10
9+
10+
### Added
11+
- **First public npm release**
12+
- **Pattern Discovery**: `search`, `list`, `show` commands for browsing 700+ Effect-TS patterns
13+
- **Rule Installation**: `install add/list` for installing Effect pattern rules into AI tools (Cursor, VS Code, Windsurf, Agents)
14+
- **Skills Management**: `skills list/preview/validate/stats` for Claude Skills
15+
- **Pattern Authoring**: `pattern new` interactive wizard
16+
- **Release Management**: `release preview/create` for versioning and changelog
17+
- **Admin Pipeline**: `admin lint/validate/test/generate/pipeline` for publishing workflow
18+
19+
### Security
20+
- Strict API key validation for MCP transport
21+
- OAuth/PKCE hardening for authentication flows
22+
23+
### Dependencies
24+
- effect ^3.19.14
25+
- @effect/cli ^0.73.0
26+
- @effect/platform ^0.94.1

packages/ep-cli/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 PaulJPhilp
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

packages/ep-cli/README.md

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
# @effect-patterns/ep-cli
2+
3+
> End-user CLI for the Effect Patterns Hub
4+
5+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](../../LICENSE)
6+
[![TypeScript](https://img.shields.io/badge/TypeScript-5.9-blue.svg)](https://www.typescriptlang.org/)
7+
[![Effect](https://img.shields.io/badge/Effect-3.19+-purple.svg)](https://effect.website/)
8+
9+
Search, browse, and install Effect-TS patterns directly from your terminal. Built with `@effect/cli` for type-safe command parsing and Effect-native error handling.
10+
11+
## Installation
12+
13+
```bash
14+
# npm
15+
npm install -g @effect-patterns/ep-cli
16+
17+
# bun
18+
bun add -g @effect-patterns/ep-cli
19+
20+
# pnpm
21+
pnpm add -g @effect-patterns/ep-cli
22+
```
23+
24+
## Commands
25+
26+
### Pattern Discovery
27+
28+
```bash
29+
# Search patterns by keyword
30+
ep search "retry"
31+
32+
# List all patterns with optional filters
33+
ep list --difficulty intermediate --category error-handling
34+
35+
# Show detailed pattern information
36+
ep show retry-with-backoff
37+
```
38+
39+
### Install Rules
40+
41+
Install Effect pattern rules into your AI tool configuration.
42+
43+
```bash
44+
# Add rules for a specific AI tool
45+
ep install add --tool cursor
46+
ep install add --tool cursor --skill-level intermediate --use-case error-handling
47+
48+
# Interactive rule selection
49+
ep install add --tool cursor -i
50+
51+
# List supported AI tools
52+
ep install list
53+
54+
# Show installed rules
55+
ep install list --installed
56+
```
57+
58+
Supported tools: `agents`, `cursor`, `vscode`, `windsurf`
59+
60+
### Pattern Authoring
61+
62+
```bash
63+
# Scaffold a new pattern (interactive wizard)
64+
ep pattern new
65+
```
66+
67+
### Skills Management
68+
69+
Manage and validate Claude Skills built from patterns.
70+
71+
```bash
72+
# List all available skills
73+
ep skills list
74+
75+
# Preview a skill's content
76+
ep skills preview error-management
77+
78+
# Validate all skills
79+
ep skills validate
80+
81+
# Show skill statistics
82+
ep skills stats
83+
```
84+
85+
### Release Management
86+
87+
```bash
88+
# Preview next release version and changelog
89+
ep release preview
90+
91+
# Create a release (version bump, changelog, tag, push)
92+
ep release create
93+
```
94+
95+
### Admin / Publishing Pipeline
96+
97+
```bash
98+
# Lint patterns for Effect-TS best practices
99+
ep admin lint
100+
ep admin lint --fix
101+
102+
# Validate pattern files
103+
ep admin validate -v
104+
105+
# Run example tests
106+
ep admin test
107+
108+
# Generate documentation
109+
ep admin generate
110+
111+
# Run the full publishing pipeline (test -> validate -> generate -> ingest)
112+
ep admin pipeline
113+
```
114+
115+
## Environment Variables
116+
117+
| Variable | Description | Default |
118+
|----------|-------------|---------|
119+
| `LOG_LEVEL` | Set log level (`debug`, `info`, `warn`, `error`) | `info` |
120+
| `DEBUG` | Enable debug logging | - |
121+
| `VERBOSE` | Enable verbose logging | - |
122+
123+
## License
124+
125+
MIT

packages/ep-cli/package.json

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@effect-patterns/ep-cli",
3-
"version": "0.2.0",
3+
"version": "0.3.0",
44
"description": "End-user CLI for Effect Patterns Hub",
55
"private": false,
66
"type": "module",
@@ -38,5 +38,33 @@
3838
"devDependencies": {
3939
"tsx": "^4.21.0",
4040
"typescript": "5.9.3"
41-
}
41+
},
42+
"files": [
43+
"dist",
44+
"README.md",
45+
"LICENSE"
46+
],
47+
"publishConfig": {
48+
"access": "public"
49+
},
50+
"repository": {
51+
"type": "git",
52+
"url": "https://github.com/PaulJPhilp/Effect-Patterns.git",
53+
"directory": "packages/ep-cli"
54+
},
55+
"bugs": {
56+
"url": "https://github.com/PaulJPhilp/Effect-Patterns/issues"
57+
},
58+
"homepage": "https://github.com/PaulJPhilp/Effect-Patterns#readme",
59+
"engines": {
60+
"node": ">=18.0.0"
61+
},
62+
"keywords": [
63+
"effect",
64+
"effect-ts",
65+
"cli",
66+
"patterns",
67+
"code-generation",
68+
"typescript"
69+
]
4270
}

0 commit comments

Comments
 (0)