diff --git a/.github/workflows/plugin-ci.yml b/.github/workflows/plugin-ci.yml index c969dbc..912623c 100644 --- a/.github/workflows/plugin-ci.yml +++ b/.github/workflows/plugin-ci.yml @@ -36,10 +36,10 @@ jobs: run: npm run build --prefix frontend - name: Check plugin manifest - run: npx --yes @haloforge/plugin-pack@0.2.11 check . + run: npx --yes @haloforge/plugin-pack@0.2.13 check . - name: Package Windows target - run: npx --yes @haloforge/plugin-pack@0.2.11 pack . --release --target x86_64-pc-windows-msvc --out dist/plugin-windows-x64 + run: npx --yes @haloforge/plugin-pack@0.2.13 pack . --release --target x86_64-pc-windows-msvc --out dist/plugin-windows-x64 - name: Upload package artifact uses: actions/upload-artifact@v4 diff --git a/.github/workflows/plugin-release.yml b/.github/workflows/plugin-release.yml index e0c9b0e..03649e5 100644 --- a/.github/workflows/plugin-release.yml +++ b/.github/workflows/plugin-release.yml @@ -67,7 +67,7 @@ jobs: - name: Package .hfpkg shell: pwsh run: | - npx --yes @haloforge/plugin-pack@0.2.11 pack . --release --target x86_64-pc-windows-msvc --out dist/plugin-release + npx --yes @haloforge/plugin-pack@0.2.13 pack . --release --target x86_64-pc-windows-msvc --out dist/plugin-release $pkg = Get-ChildItem dist/plugin-release -Filter *.hfpkg | Select-Object -First 1 if (-not $pkg) { throw "No .hfpkg artifact was created." } $sha = Get-ChildItem dist/plugin-release -Filter *.hfpkg.sha256 | Select-Object -First 1 @@ -125,7 +125,7 @@ jobs: run: | $artifactUrl = "https://github.com/${{ github.repository }}/releases/download/$env:RELEASE_TAG/$env:PKG_NAME" $args = @( - "--yes", "@haloforge/plugin-pack@0.2.11", + "--yes", "@haloforge/plugin-pack@0.2.13", "metadata", "$env:PKG_PATH", "--artifact-url", $artifactUrl, "--source", "${{ inputs.source }}", @@ -173,7 +173,7 @@ jobs: - name: Submit catalog draft if: env.HF_ADMIN_TOKEN != '' shell: pwsh - run: npx --yes @haloforge/plugin-pack@0.2.11 submit dist/plugin-release/catalog-draft.json --api-base-url https://admin.haloforge.link --token-env HF_ADMIN_TOKEN + run: npx --yes @haloforge/plugin-pack@0.2.13 submit dist/plugin-release/catalog-draft.json --api-base-url https://admin.haloforge.link --token-env HF_ADMIN_TOKEN - name: Upload workflow artifacts uses: actions/upload-artifact@v4 diff --git a/README.md b/README.md index f20373b..124a9c9 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,8 @@ The first release focuses on safe local writes: every apply/install operation cr ## Implemented - HaloForge Level 0 module plugin -- Rust backend built with `haloforge-plugin-api` `0.2.10` -- React frontend built with `@haloforge/plugin-sdk` `0.2.11` +- Rust backend built with `haloforge-plugin-api` `0.2.13` +- React frontend built with `@haloforge/plugin-sdk` `0.2.13` - Claude Code provider writes with `ANTHROPIC_BASE_URL`, token, and model env vars - Optional Claude `primaryApiKey` and onboarding flags used by switch workflows - Codex provider writes that preserve existing `config.toml` sections such as `[mcp_servers]` and `[profiles]` @@ -71,13 +71,13 @@ npm run build Validate with the public packer: ```bash -npx --yes @haloforge/plugin-pack@0.2.11 check . +npx --yes @haloforge/plugin-pack@0.2.13 check . ``` Package: ```bash -npx --yes @haloforge/plugin-pack@0.2.11 pack . --release +npx --yes @haloforge/plugin-pack@0.2.13 pack . --release ``` Install the packaged plugin into a local HaloForge workspace with the `hf` CLI: diff --git a/backend/Cargo.lock b/backend/Cargo.lock index 4de8bdf..28bbab1 100644 --- a/backend/Cargo.lock +++ b/backend/Cargo.lock @@ -211,9 +211,9 @@ dependencies = [ [[package]] name = "haloforge-plugin-api" -version = "0.2.10" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db78b441039d34007f59430873a4bca7534c4573818a90c32e82a882d7180610" +checksum = "7c598b7c2a24ba8d45acb16d22e18075d2e911055a50338815849af12354f227" dependencies = [ "chrono", "serde", @@ -245,7 +245,7 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "hf-plugin-switchboard" -version = "0.1.8" +version = "0.1.10" dependencies = [ "dirs", "haloforge-plugin-api", diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 02c2a41..e98c132 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hf-plugin-switchboard" -version = "0.1.9" +version = "0.1.10" edition = "2021" description = "HaloForge Switchboard plugin backend" license = "MIT" @@ -11,7 +11,7 @@ crate-type = ["cdylib"] [dependencies] dirs = "6" -hf-plugin-api = { package = "haloforge-plugin-api", version = "0.2.10" } +hf-plugin-api = { package = "haloforge-plugin-api", version = "0.2.13" } serde = { version = "1", features = ["derive"] } serde_json = "1" toml_edit = "0.22" diff --git a/frontend/package-lock.json b/frontend/package-lock.json index bf96d97..1e9e749 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -1,14 +1,14 @@ { "name": "@hf-plugin-switchboard/frontend", - "version": "0.1.9", + "version": "0.1.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@hf-plugin-switchboard/frontend", - "version": "0.1.9", + "version": "0.1.10", "dependencies": { - "@haloforge/plugin-sdk": "^0.2.11", + "@haloforge/plugin-sdk": "^0.2.13", "@tauri-apps/api": "^2.0.0", "lucide-react": "^0.500.0" }, @@ -746,9 +746,9 @@ } }, "node_modules/@haloforge/plugin-sdk": { - "version": "0.2.11", - "resolved": "https://registry.npmjs.org/@haloforge/plugin-sdk/-/plugin-sdk-0.2.11.tgz", - "integrity": "sha512-Rev9zhFbJ0Yg+WJfi/7L68fGAkr2VhD/W+Q7Q4FBK8SemEn0BINfDQ0PAFSlILmp/LPg4h5jz7bbu7eQNlg3pQ==", + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/@haloforge/plugin-sdk/-/plugin-sdk-0.2.13.tgz", + "integrity": "sha512-0pIyNEJtdaJfJyeofV5L7QU1nxkOCjgUbEc8LvTBob7AJE2NOVeiil0de61iTH2IIfV8yYXWPUp0gLcCBvDRBg==", "license": "MIT", "peerDependencies": { "@tauri-apps/api": "^2", diff --git a/frontend/package.json b/frontend/package.json index adf7328..051b430 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "@hf-plugin-switchboard/frontend", - "version": "0.1.9", + "version": "0.1.10", "private": true, "type": "module", "scripts": { @@ -8,7 +8,7 @@ "dev": "vite build --watch" }, "dependencies": { - "@haloforge/plugin-sdk": "^0.2.11", + "@haloforge/plugin-sdk": "^0.2.13", "@tauri-apps/api": "^2.0.0", "lucide-react": "^0.500.0" }, diff --git a/manifest.json b/manifest.json index 174ba3c..997b7be 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "$schema": "https://haloforge.dev/schemas/plugin/v1.json", "id": "dev.haloforge.switchboard", "name": "Provider Router", - "version": "0.1.9", + "version": "0.1.10", "description": "Fast local provider configuration for Claude Code, Codex, and MCP.", "long_description": "Adds a HaloForge module for applying provider endpoints to Claude Code and Codex, writing MCP server specs, and restoring local config backups.", "author": "HaloForge Team", @@ -12,7 +12,7 @@ "icon": "assets/icon.svg", "compatibility": { "min_app_version": "0.8.0", - "min_host_api_version": "0.2.10", + "min_host_api_version": "0.2.13", "platforms": ["windows", "macos", "linux"] }, "host_capabilities": ["navigation", "theme_read", "event_subscribe", "deep_links"], @@ -28,7 +28,6 @@ } }, "window": { - "preferred_role": "main", "default_open_mode": "reuse_or_new", "reuse_key": "plugin", "allow_multiple": false