From ebf387d093c6c1c20cdd526b7d220c173b8d6071 Mon Sep 17 00:00:00 2001 From: Kieran Klaassen Date: Wed, 11 Feb 2026 10:14:16 -0800 Subject: [PATCH] Add Factory Droid to README, bump to 0.4.0, add npm publish workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Document Droid as third converter target alongside OpenCode and Codex - Bump package version 0.3.0 → 0.4.0 for new target feature - Add CHANGELOG entry for 2.32.0 with Droid details - Add GitHub Actions workflow to publish to npm on release Co-Authored-By: Claude Opus 4.6 --- .github/workflows/publish.yml | 37 +++++++++++++++++++++++ README.md | 11 +++++-- package.json | 2 +- plugins/compound-engineering/CHANGELOG.md | 8 +++++ 4 files changed, 54 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..57573c8 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,37 @@ +name: Publish to npm + +on: + release: + types: [published] + +jobs: + publish: + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write + + steps: + - uses: actions/checkout@v4 + + - name: Setup Bun + uses: oven-sh/setup-bun@v2 + with: + bun-version: latest + + - name: Install dependencies + run: bun install + + - name: Run tests + run: bun test + + - name: Setup Node.js for npm publish + uses: actions/setup-node@v4 + with: + node-version: "20" + registry-url: "https://registry.npmjs.org" + + - name: Publish to npm + run: npm publish --provenance --access public + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/README.md b/README.md index f7b64fd..063416c 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,9 @@ A Claude Code plugin marketplace featuring the **Compound Engineering Plugin** /plugin install compound-engineering ``` -## OpenCode + Codex (experimental) Install +## OpenCode, Codex & Droid (experimental) Install -This repo includes a Bun/TypeScript CLI that converts Claude Code plugins to OpenCode and Codex. +This repo includes a Bun/TypeScript CLI that converts Claude Code plugins to OpenCode, Codex, and Factory Droid. ```bash # convert the compound-engineering plugin into OpenCode format @@ -22,6 +22,9 @@ bunx @every-env/compound-plugin install compound-engineering --to opencode # convert to Codex format bunx @every-env/compound-plugin install compound-engineering --to codex + +# convert to Factory Droid format +bunx @every-env/compound-plugin install compound-engineering --to droid ``` Local dev: @@ -31,8 +34,10 @@ bun run src/index.ts install ./plugins/compound-engineering --to opencode ``` OpenCode output is written to `~/.config/opencode` by default, with `opencode.json` at the root and `agents/`, `skills/`, and `plugins/` alongside it. -Both provider targets are experimental and may change as the formats evolve. Codex output is written to `~/.codex/prompts` and `~/.codex/skills`, with each Claude command converted into both a prompt and a skill (the prompt instructs Codex to load the corresponding skill). Generated Codex skill descriptions are truncated to 1024 characters (Codex limit). +Droid output is written to `~/.factory/` with commands, droids (agents), and skills. Claude tool names are mapped to Factory equivalents (`Bash` → `Execute`, `Write` → `Create`, etc.) and namespace prefixes are stripped from commands. + +All provider targets are experimental and may change as the formats evolve. ## Sync Personal Config diff --git a/package.json b/package.json index e7d4551..eb3293b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@every-env/compound-plugin", - "version": "0.3.0", + "version": "0.4.0", "type": "module", "private": false, "bin": { diff --git a/plugins/compound-engineering/CHANGELOG.md b/plugins/compound-engineering/CHANGELOG.md index d9390a9..cc21da6 100644 --- a/plugins/compound-engineering/CHANGELOG.md +++ b/plugins/compound-engineering/CHANGELOG.md @@ -5,6 +5,14 @@ All notable changes to the compound-engineering plugin will be documented in thi The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.32.0] - 2026-02-11 + +### Added + +- **Factory Droid target** — New converter target for [Factory Droid](https://docs.factory.ai). Install with `--to droid` to output agents, commands, and skills to `~/.factory/`. Includes tool name mapping (Claude → Factory), namespace prefix stripping, Task syntax conversion, and agent reference rewriting. 13 new tests (9 converter + 4 writer). ([#174](https://github.com/EveryInc/compound-engineering-plugin/pull/174)) + +--- + ## [2.31.1] - 2026-02-09 ### Changed