pantheon-opencode 1.0.0 → 1.0.6
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 +61 -109
- package/bin/pantheon-init.mjs +57 -136
- package/commands/pantheon-audit.md +1 -1
- package/commands/pantheon-deepwork.md +32 -81
- package/commands/pantheon-reflect.md +16 -0
- package/commands/pantheon-status.md +1 -1
- package/commands/pantheon-verify.md +17 -0
- package/opencode.json +25 -0
- package/package.json +24 -13
- package/scripts/ci-validate-yaml.py +19 -0
- package/scripts/doctor.mjs +10 -65
- package/scripts/install/opencode.mjs +69 -6
- package/scripts/install/shared.mjs +39 -13
- package/scripts/manifest.mjs +5 -30
- package/scripts/postinstall.mjs +47 -0
- package/scripts/release-bundle.mjs +2 -2
- package/scripts/uninstall.mjs +5 -5
- package/scripts/validate-routing.mjs +19 -16
- package/scripts/versioning.mjs +12 -1
- package/skills-lock.json +9 -2
- package/src/agents/aphrodite.md +15 -57
- package/src/agents/apollo.md +9 -48
- package/src/agents/athena.md +17 -54
- package/src/agents/demeter.md +10 -47
- package/src/agents/gaia.md +7 -40
- package/src/agents/hephaestus.md +9 -52
- package/src/agents/hermes.md +17 -52
- package/src/agents/iris.md +8 -45
- package/src/agents/mnemosyne.md +12 -47
- package/src/agents/nyx.md +8 -45
- package/src/agents/prometheus.md +11 -49
- package/src/agents/talos.md +6 -45
- package/src/agents/themis.md +10 -35
- package/src/agents/zeus.md +5 -7
- package/src/mcp/mcp_resources_server.py +2 -0
- package/src/plugins/tui/dist/tui.tsx +203 -93
- package/src/plugins/tui/src/index.tsx +203 -93
- package/src/routing.yml +33 -93
- package/src/skills/clonedeps/SKILL.md +45 -0
- package/src/skills/codemap/SKILL.md +47 -0
- package/src/skills/loop-engineering/SKILL.md +51 -0
- package/src/skills/reflect/SKILL.md +49 -0
- package/src/skills/simplify/SKILL.md +39 -0
- package/src/skills/verification-planning/SKILL.md +52 -0
- package/src/skills/worktrees/SKILL.md +43 -0
- package/commands/pantheon-bg.md +0 -10
- package/commands/pantheon-consolidate.md +0 -11
- package/commands/pantheon-doc.md +0 -10
- package/commands/pantheon-hash.md +0 -11
- package/commands/pantheon-todo.md +0 -11
- package/docs/AGENT-MCP.md +0 -194
- package/docs/ARCHITECTURE.md +0 -384
- package/docs/BRANCH-PROTECTION.md +0 -142
- package/docs/INDEX.md +0 -81
- package/docs/INSTALLATION.md +0 -217
- package/docs/MCP.md +0 -238
- package/docs/MEMORY.md +0 -471
- package/docs/MIGRATION-MEMORY-BANK.md +0 -139
- package/docs/PLATFORMS.md +0 -5
- package/docs/QUICKSTART.md +0 -49
- package/docs/README.md +0 -18
- package/docs/RELEASING.md +0 -256
- package/docs/SETUP.md +0 -5
- package/docs/UPGRADING.md +0 -41
- package/docs/mcp-recommendations.md +0 -439
- package/docs/mcp-tools.md +0 -156
- package/docs/mcp-user-guide.md +0 -204
- package/docs/persistence-mcp.md +0 -111
- package/scripts/init-pantheon-mcp.sh +0 -118
- package/scripts/install.mjs +0 -26
- package/src/instructions/documentation-standards.instructions.md +0 -53
- package/src/mcp/init-pantheon-mcp.sh +0 -118
package/docs/RELEASING.md
DELETED
|
@@ -1,256 +0,0 @@
|
|
|
1
|
-
# Pantheon Release Process
|
|
2
|
-
|
|
3
|
-
> How versioning, releases, and packaging work.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Versioning Policy
|
|
8
|
-
|
|
9
|
-
Pantheon follows **Semantic Versioning** based on [Conventional Commits](https://www.conventionalcommits.org/):
|
|
10
|
-
|
|
11
|
-
| Commit pattern | Version bump |
|
|
12
|
-
|---|---|
|
|
13
|
-
| `BREAKING CHANGE` or `type!:` in scope | **MAJOR** (x.0.0) |
|
|
14
|
-
| `feat:` | **MINOR** (x.y.0) |
|
|
15
|
-
| `fix:`, `chore:`, `docs:`, `refactor:`, etc. | **PATCH** (x.y.z) |
|
|
16
|
-
|
|
17
|
-
Current version: **v1.0.0**
|
|
18
|
-
|
|
19
|
-
---
|
|
20
|
-
|
|
21
|
-
## Version Commands
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
# See recommended bump based on commits since last tag
|
|
25
|
-
npm run version:recommend
|
|
26
|
-
|
|
27
|
-
# Auto-apply recommended bump
|
|
28
|
-
npm run version:auto
|
|
29
|
-
|
|
30
|
-
# Manual override
|
|
31
|
-
npm run version:patch # 2.9.0 → 2.9.1
|
|
32
|
-
npm run version:minor # 2.9.0 → 2.10.0
|
|
33
|
-
npm run version:major # 2.9.0 → 3.0.0
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
These update all 3 manifest files: `package.json`, `plugin.json`, `.github/plugin/plugin.json`.
|
|
37
|
-
|
|
38
|
-
---
|
|
39
|
-
|
|
40
|
-
## Changelogen
|
|
41
|
-
|
|
42
|
-
Pantheon uses [changelogen](https://github.com/unjs/changelogen) for automatic changelog generation and version bumping.
|
|
43
|
-
|
|
44
|
-
### First Time Setup
|
|
45
|
-
|
|
46
|
-
If this is the first time using changelogen:
|
|
47
|
-
|
|
48
|
-
```bash
|
|
49
|
-
npx changelogen --init
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
### Usage
|
|
53
|
-
|
|
54
|
-
```bash
|
|
55
|
-
# Generate changelog and bump version automatically
|
|
56
|
-
npm run changelog
|
|
57
|
-
|
|
58
|
-
# Create release with changelog + commit + tag
|
|
59
|
-
npm run release
|
|
60
|
-
|
|
61
|
-
# Create GitHub Release (manual trigger)
|
|
62
|
-
npx changelogen gh release
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
### How It Works
|
|
66
|
-
|
|
67
|
-
1. **Analyzes commits** — Uses Conventional Commits format (feat:, fix:, docs:)
|
|
68
|
-
2. **Determines bump** — BREAKING→MAJOR, feat→MINOR, fix→PATCH
|
|
69
|
-
3. **Generates CHANGELOG.md** — Structured release notes
|
|
70
|
-
4. **Creates git tag** — Tags the release for GitHub
|
|
71
|
-
|
|
72
|
-
### Prerequisites
|
|
73
|
-
|
|
74
|
-
- Project must use Conventional Commits (commitlint + husky already configured)
|
|
75
|
-
- First tag: Creates baseline for future changelogs
|
|
76
|
-
- After first tag: Only generates changelog from last tag (faster, cleaner)
|
|
77
|
-
|
|
78
|
-
---
|
|
79
|
-
|
|
80
|
-
## Git-Cliff
|
|
81
|
-
|
|
82
|
-
Pantheon uses [git-cliff](https://git-cliff.org/) for generating professional changelogs with rich formatting.
|
|
83
|
-
|
|
84
|
-
### Installation
|
|
85
|
-
|
|
86
|
-
```bash
|
|
87
|
-
# Via cargo (Rust)
|
|
88
|
-
cargo install git-cliff
|
|
89
|
-
|
|
90
|
-
# Via npm (via changelogen integration)
|
|
91
|
-
npm run changelog:gitcliff
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
### Usage
|
|
95
|
-
|
|
96
|
-
```bash
|
|
97
|
-
# Generate full changelog
|
|
98
|
-
npm run changelog:gitcliff
|
|
99
|
-
|
|
100
|
-
# Preview without writing (dry-run)
|
|
101
|
-
npm run release:preview
|
|
102
|
-
|
|
103
|
-
# Generate release notes for specific version
|
|
104
|
-
npm run release:notes v3.8.5
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
### Configuration
|
|
108
|
-
|
|
109
|
-
The configuration is in `cliff.toml` at the project root. Key features:
|
|
110
|
-
|
|
111
|
-
- **Conventional Commits** — Parses feat:/fix:/BREAKING automatically
|
|
112
|
-
- **Grouped sections** — Features, Bug Fixes, Documentation, etc.
|
|
113
|
-
- **Emoji indicators** — Visual categorization (✨ 🐛 📚 ⚡ 🔧 🎨 🧪)
|
|
114
|
-
- **GitHub links** — Auto-links issues and commit hashes
|
|
115
|
-
- **Breaking change markers** — Clear [BREAKING] tags
|
|
116
|
-
|
|
117
|
-
### Template Customization
|
|
118
|
-
|
|
119
|
-
Edit `cliff.toml` to customize:
|
|
120
|
-
|
|
121
|
-
```toml
|
|
122
|
-
[changelog]
|
|
123
|
-
body = """
|
|
124
|
-
{% for group, commits in commits | group_by(attribute="group") %}
|
|
125
|
-
### {{ group | upper_first }}
|
|
126
|
-
{% for commit in commits %}
|
|
127
|
-
- {{ commit.message | upper_first }}
|
|
128
|
-
{% endfor %}
|
|
129
|
-
{% endfor %}
|
|
130
|
-
"""
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
### Release Workflow
|
|
134
|
-
|
|
135
|
-
```bash
|
|
136
|
-
# 1. Generate changelog
|
|
137
|
-
npm run changelog:gitcliff
|
|
138
|
-
|
|
139
|
-
# 2. Review changes
|
|
140
|
-
git diff CHANGELOG.md
|
|
141
|
-
|
|
142
|
-
# 3. Generate release notes
|
|
143
|
-
npm run release:notes v3.8.5
|
|
144
|
-
|
|
145
|
-
# 4. Create GitHub Release
|
|
146
|
-
gh release create v3.8.5 --notes-file release_notes.md
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
### Comparison: Changelogen vs Git-Cliff
|
|
150
|
-
|
|
151
|
-
| Feature | Changelogen | Git-Cliff |
|
|
152
|
-
|---------|-------------|-----------|
|
|
153
|
-
| Auto version bump | ✅ | ❌ (manual) |
|
|
154
|
-
| Rich formatting | Basic | Advanced (emoji, links) |
|
|
155
|
-
| Template engine | Simple | Tera (Jinja-like) |
|
|
156
|
-
| GitHub integration | Limited | Full (PRs, issues) |
|
|
157
|
-
| Breaking changes | ✅ | ✅ (with markers) |
|
|
158
|
-
| Speed | Fast | Fast |
|
|
159
|
-
|
|
160
|
-
**Recommendation:** Use `changelogen` for version bumping and `git-cliff` for changelog generation.
|
|
161
|
-
|
|
162
|
-
---
|
|
163
|
-
|
|
164
|
-
## Release Workflow
|
|
165
|
-
|
|
166
|
-
### 🚀 Automatic (recommended)
|
|
167
|
-
|
|
168
|
-
**No manual steps needed.** Just merge your PR to `main`:
|
|
169
|
-
|
|
170
|
-
1. [auto-release.yml](../.github/workflows/auto-release.yml) detects the merge
|
|
171
|
-
2. Analyzes conventional commits since the last tag → determines bump (`major`/`minor`/`patch`)
|
|
172
|
-
3. Updates version in `package.json`, `plugin.json`, `.github/plugin/plugin.json`
|
|
173
|
-
4. Regenerates all platform configs (`npm run sync`)
|
|
174
|
-
5. Commits the bump with `[skip ci]` and creates a git tag `vX.Y.Z`
|
|
175
|
-
6. Tag push triggers [release.yml](../.github/workflows/release.yml) which creates the **GitHub Release**
|
|
176
|
-
|
|
177
|
-
### 🖐️ Manual (if needed)
|
|
178
|
-
|
|
179
|
-
```bash
|
|
180
|
-
# 1. Ensure platforms are in sync
|
|
181
|
-
npm run sync && npm run sync:check
|
|
182
|
-
|
|
183
|
-
# 2. Check recommended version
|
|
184
|
-
npm run version:recommend
|
|
185
|
-
|
|
186
|
-
# 3. Apply version bump
|
|
187
|
-
npm run version:auto
|
|
188
|
-
|
|
189
|
-
# 4. Update CHANGELOG.md with release notes
|
|
190
|
-
|
|
191
|
-
# 5. Commit and tag
|
|
192
|
-
git add -A
|
|
193
|
-
git commit -m "chore(release): v$(node -p "require('./package.json').version")"
|
|
194
|
-
git tag v$(node -p "require('./package.json').version")
|
|
195
|
-
|
|
196
|
-
# 6. Push — CI creates the release automatically
|
|
197
|
-
git push && git push --tags
|
|
198
|
-
```
|
|
199
|
-
|
|
200
|
-
### What CI does
|
|
201
|
-
|
|
202
|
-
| Workflow | Trigger | Action |
|
|
203
|
-
|---|---|---|
|
|
204
|
-
| [auto-release.yml](../.github/workflows/auto-release.yml) | CI success on `main` | Bumps version, regenerates platforms, creates tag + GitHub Release |
|
|
205
|
-
| [release-gate.yml](../.github/workflows/release-gate.yml) | PR to `main` | Validates version consistency and CHANGELOG entry |
|
|
206
|
-
| [release-drafter.yml](../.github/workflows/release-drafter.yml) | Push to `main` | Drafts release notes from PR labels |
|
|
207
|
-
|
|
208
|
-
---
|
|
209
|
-
|
|
210
|
-
## Consumption Options
|
|
211
|
-
|
|
212
|
-
Users can consume Pantheon in several ways:
|
|
213
|
-
|
|
214
|
-
| Method | Best for | How |
|
|
215
|
-
|---|---|---|
|
|
216
|
-
| **GitHub Template** | New projects | Click "Use this template" on GitHub — creates a fresh repo with full Pantheon copy |
|
|
217
|
-
| **GitHub Release** | Downloads/CI | Download `Source code (tar.gz)` from [Releases page](https://github.com/ils15/pantheon/releases) |
|
|
218
|
-
| **VS Code Plugin** | Existing projects | Add `ils15/pantheon` to `chat.plugins.marketplaces` |
|
|
219
|
-
| **Git clone + copy** | Selective setup | `git clone` and copy only what you need |
|
|
220
|
-
| **npm package** (future) | Dev workflow | `npm install @ils15/pantheon` |
|
|
221
|
-
|
|
222
|
-
---
|
|
223
|
-
|
|
224
|
-
## Release Assets
|
|
225
|
-
|
|
226
|
-
Each release includes:
|
|
227
|
-
|
|
228
|
-
| Asset | Description |
|
|
229
|
-
|---|---|
|
|
230
|
-
| `Source code (zip)` | GitHub auto-generated |
|
|
231
|
-
| `Source code (tar.gz)` | GitHub auto-generated |
|
|
232
|
-
| `pantheon-vX.Y.Z.tar.gz` (planned) | Bundled release: agents + platforms + scripts + docs |
|
|
233
|
-
|
|
234
|
-
---
|
|
235
|
-
|
|
236
|
-
## Release Drafter
|
|
237
|
-
|
|
238
|
-
Pantheon uses [Release Drafter](https://github.com/release-drafter/release-drafter) to auto-collect PRs:
|
|
239
|
-
|
|
240
|
-
- Configured in [`.github/release-drafter.yml`](../.github/release-drafter.yml)
|
|
241
|
-
- PR labels (`feature`, `fix`, `chore`, `docs`) determine categories
|
|
242
|
-
- Runs on every push to `main`
|
|
243
|
-
|
|
244
|
-
---
|
|
245
|
-
|
|
246
|
-
## Pre-Release Checklist
|
|
247
|
-
|
|
248
|
-
Before cutting a release, verify:
|
|
249
|
-
|
|
250
|
-
- [ ] `npm run sync:check` passes (platforms in sync)
|
|
251
|
-
- [ ] `npm run plugin:validate` passes
|
|
252
|
-
- [ ] All workflows green on latest `main`
|
|
253
|
-
- [ ] `CHANGELOG.md` has entry for the new version
|
|
254
|
-
- [ ] Version manifests match: `package.json` == `plugin.json` == `.github/plugin/plugin.json`
|
|
255
|
-
- [ ] `npm run version:recommend` shows expected bump
|
|
256
|
-
- [ ] Platform READMEs are up to date
|
package/docs/SETUP.md
DELETED
package/docs/UPGRADING.md
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# Upgrading Pantheon
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Upgrading to v1.0 (OpenCode-only)
|
|
5
|
-
|
|
6
|
-
v1.0 removes all multi-platform support. Pantheon now runs exclusively on OpenCode.
|
|
7
|
-
|
|
8
|
-
### Breaking Changes
|
|
9
|
-
1. **No longer supports**: Claude Code, Cursor, Windsurf, Cline, Continue.dev, VS Code Copilot
|
|
10
|
-
2. **Installation changed**: Use `npx pantheon init` instead of per-platform scripts
|
|
11
|
-
3. **Background delegation**: Requires `OPENCODE_EXPERIMENTAL_BACKGROUND_SUBAGENTS=true`
|
|
12
|
-
4. **Commands reduced**: 14 → 11 (install, update, cancel, sketch, consolidate removed)
|
|
13
|
-
|
|
14
|
-
### Migration Steps
|
|
15
|
-
1. Uninstall old platform-specific configs
|
|
16
|
-
2. Run `npx pantheon init` to install agents globally
|
|
17
|
-
3. Run `npm run install` for MCP servers + skills + TUI
|
|
18
|
-
4. Add `export OPENCODE_EXPERIMENTAL_BACKGROUND_SUBAGENTS=true` to your shell profile
|
|
19
|
-
|
|
20
|
-
### Rollback
|
|
21
|
-
Pantheon v4.x remains available on the v4.x branch if you need multi-platform support.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
## Upgrading to v3.19.0
|
|
25
|
-
|
|
26
|
-
### Memory Persistence Protocol
|
|
27
|
-
Pantheon v3.19.0 introduces the Memory Persistence Protocol — a standardized system for how agents persist and recall memory.
|
|
28
|
-
|
|
29
|
-
Key changes:
|
|
30
|
-
- All 14 agent files now have a `## 🧠 Memory Protocol` section with mandatory rules
|
|
31
|
-
- Agents must call `memory_recall()` before work (top_k=3, skip if score <0.3)
|
|
32
|
-
- Agents must call `memory_store()` after work (2 lines max, importance 0.4-0.9)
|
|
33
|
-
- Zeus auto-stores on agent return — no extra work needed
|
|
34
|
-
- Session-end auto-save runs at session close
|
|
35
|
-
- Memory Bank is updated only at sprint close (importance ≥ 0.6 graduates)
|
|
36
|
-
|
|
37
|
-
**No manual migration needed.** The protocol is enforced at the agent instruction level.
|
|
38
|
-
|
|
39
|
-
### Previous Upgrades
|
|
40
|
-
|
|
41
|
-
For upgrading from versions before v3.19.0, see the CHANGELOG for version-specific changes.
|