feat: add OpenCode/Codex outputs and update changelog (#104)
* Add OpenCode converter coverage and specs * Add Codex target support and spec docs * Generate Codex command skills and refresh spec docs * Add global Codex install path * fix: harden plugin path loading and codex descriptions * feat: ensure codex agents block on convert/install * docs: clarify target branch usage for review * chore: prep npm package metadata and release notes * docs: mention opencode and codex in changelog * docs: update CLI usage and remove stale todos * feat: install from GitHub with global outputs
This commit is contained in:
30
tests/fixtures/sample-plugin/.claude-plugin/plugin.json
vendored
Normal file
30
tests/fixtures/sample-plugin/.claude-plugin/plugin.json
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"name": "compound-engineering",
|
||||
"version": "2.27.0",
|
||||
"description": "Fixture aligned with the Compound Engineering plugin",
|
||||
"author": {
|
||||
"name": "Kieran Klaassen",
|
||||
"email": "kieran@every.to",
|
||||
"url": "https://github.com/kieranklaassen"
|
||||
},
|
||||
"homepage": "https://every.to/source-code/my-ai-had-already-fixed-the-code-before-i-saw-it",
|
||||
"repository": "https://github.com/EveryInc/compound-engineering-plugin",
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
"compound-engineering",
|
||||
"workflow-automation",
|
||||
"code-review",
|
||||
"agents"
|
||||
],
|
||||
"mcpServers": {
|
||||
"context7": {
|
||||
"type": "http",
|
||||
"url": "https://mcp.context7.com/mcp"
|
||||
},
|
||||
"local-tooling": {
|
||||
"type": "stdio",
|
||||
"command": "echo",
|
||||
"args": ["fixture"]
|
||||
}
|
||||
}
|
||||
}
|
||||
10
tests/fixtures/sample-plugin/agents/agent-one.md
vendored
Normal file
10
tests/fixtures/sample-plugin/agents/agent-one.md
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
name: repo-research-analyst
|
||||
description: Research repository structure and conventions
|
||||
capabilities:
|
||||
- "Capability A"
|
||||
- "Capability B"
|
||||
model: inherit
|
||||
---
|
||||
|
||||
Repo research analyst body.
|
||||
7
tests/fixtures/sample-plugin/agents/security-reviewer.md
vendored
Normal file
7
tests/fixtures/sample-plugin/agents/security-reviewer.md
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
name: security-sentinel
|
||||
description: Security audits and vulnerability assessments
|
||||
model: claude-sonnet-4-20250514
|
||||
---
|
||||
|
||||
Security sentinel body.
|
||||
7
tests/fixtures/sample-plugin/commands/command-one.md
vendored
Normal file
7
tests/fixtures/sample-plugin/commands/command-one.md
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
name: workflows:review
|
||||
description: Run a multi-agent review workflow
|
||||
allowed-tools: Read, Write, Edit, Bash(ls:*), Bash(git:*), Grep, Glob, List, Patch, Task
|
||||
---
|
||||
|
||||
Workflows review body.
|
||||
8
tests/fixtures/sample-plugin/commands/model-command.md
vendored
Normal file
8
tests/fixtures/sample-plugin/commands/model-command.md
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
name: workflows:work
|
||||
description: Execute planned tasks step by step
|
||||
model: gpt-4o
|
||||
allowed-tools: WebFetch
|
||||
---
|
||||
|
||||
Workflows work body.
|
||||
9
tests/fixtures/sample-plugin/commands/nested/command-two.md
vendored
Normal file
9
tests/fixtures/sample-plugin/commands/nested/command-two.md
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
name: plan_review
|
||||
description: Review a plan with multiple agents
|
||||
allowed-tools:
|
||||
- Read
|
||||
- Edit
|
||||
---
|
||||
|
||||
Plan review body.
|
||||
7
tests/fixtures/sample-plugin/commands/pattern-command.md
vendored
Normal file
7
tests/fixtures/sample-plugin/commands/pattern-command.md
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
name: report-bug
|
||||
description: Report a bug with structured context
|
||||
allowed-tools: Read(.env), Bash(git:*)
|
||||
---
|
||||
|
||||
Report bug body.
|
||||
7
tests/fixtures/sample-plugin/commands/skill-command.md
vendored
Normal file
7
tests/fixtures/sample-plugin/commands/skill-command.md
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
name: create-agent-skill
|
||||
description: Create or edit a Claude Code skill
|
||||
allowed-tools: Skill(create-agent-skills)
|
||||
---
|
||||
|
||||
Create agent skill body.
|
||||
7
tests/fixtures/sample-plugin/commands/todo-command.md
vendored
Normal file
7
tests/fixtures/sample-plugin/commands/todo-command.md
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
name: workflows:plan
|
||||
description: Create a structured plan from requirements
|
||||
allowed-tools: Question, TodoWrite, TodoRead
|
||||
---
|
||||
|
||||
Workflows plan body.
|
||||
156
tests/fixtures/sample-plugin/hooks/hooks.json
vendored
Normal file
156
tests/fixtures/sample-plugin/hooks/hooks.json
vendored
Normal file
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"hooks": {
|
||||
"PreToolUse": [
|
||||
{
|
||||
"matcher": "Bash",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "echo before",
|
||||
"timeout": 30
|
||||
},
|
||||
{
|
||||
"type": "command",
|
||||
"command": "echo before two"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"PostToolUse": [
|
||||
{
|
||||
"matcher": "Write|Edit",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "prompt",
|
||||
"prompt": "After write"
|
||||
},
|
||||
{
|
||||
"type": "agent",
|
||||
"agent": "security-sentinel"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"PostToolUseFailure": [
|
||||
{
|
||||
"matcher": "Bash",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "echo failed"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"PermissionRequest": [
|
||||
{
|
||||
"matcher": "Bash",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "echo permission"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"UserPromptSubmit": [
|
||||
{
|
||||
"matcher": "*",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "echo prompt"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Notification": [
|
||||
{
|
||||
"matcher": "*",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "echo notify"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"SessionStart": [
|
||||
{
|
||||
"matcher": "*",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "echo session start"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"SessionEnd": [
|
||||
{
|
||||
"matcher": "*",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "echo session end"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Stop": [
|
||||
{
|
||||
"matcher": "*",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "echo stop"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"PreCompact": [
|
||||
{
|
||||
"matcher": "*",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "echo compact"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Setup": [
|
||||
{
|
||||
"matcher": "*",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "echo setup"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"SubagentStart": [
|
||||
{
|
||||
"matcher": "*",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "echo subagent start"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"SubagentStop": [
|
||||
{
|
||||
"matcher": "*",
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": "echo subagent stop"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
6
tests/fixtures/sample-plugin/skills/skill-one/SKILL.md
vendored
Normal file
6
tests/fixtures/sample-plugin/skills/skill-one/SKILL.md
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
name: skill-one
|
||||
description: Sample skill
|
||||
---
|
||||
|
||||
Skill body.
|
||||
Reference in New Issue
Block a user