Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .github/workflows/marketplace-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ name: Marketplace Build (Reusable)
on:
workflow_call:
inputs:
version:
description: "Marketplace version (e.g., 1.2.3)"
snapshot_version:
description: "Marketplace snapshot version (not plugin version; used for release naming)"
required: true
type: string
release_tag:
Expand Down Expand Up @@ -36,7 +36,7 @@ env:
RUST_BACKTRACE: 1
SHERPA_ONNX_VERSION: "1.12.17"
MINISIGN_DEB_URL: "http://launchpadlibrarian.net/780165111/minisign_0.12-1_amd64.deb"
MARKETPLACE_VERSION: ${{ inputs.version }}
SNAPSHOT_VERSION: ${{ inputs.snapshot_version }}
RELEASE_TAG: ${{ inputs.release_tag }}
REGISTRY_BASE_URL: ${{ inputs.registry_base_url || 'https://streamkit.dev/registry' }}

Expand All @@ -52,7 +52,7 @@ jobs:
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y cmake pkg-config libclang-dev wget libopenblas-dev zstd patchelf python3-yaml
sudo apt-get install -y cmake pkg-config libclang-dev wget libopenblas-dev zstd patchelf python3-yaml python3-tomli

- name: Install minisign
run: |
Expand Down Expand Up @@ -146,10 +146,9 @@ jobs:

- name: Build registry artifacts
run: |
VERSION="${MARKETPLACE_VERSION#v}"
python3 scripts/marketplace/build_registry.py \
--plugins marketplace/official-plugins.json \
--version "${VERSION}" \
--existing-registry docs/public/registry \
--bundle-base-url "https://github.com/${{ github.repository }}/releases/download/${RELEASE_TAG}" \
--registry-base-url "${REGISTRY_BASE_URL}" \
--bundles-out dist/bundles \
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/marketplace-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ name: Marketplace Release
on:
workflow_dispatch:
inputs:
version:
description: "Marketplace version (e.g., 1.2.3)"
snapshot_version:
description: "Marketplace snapshot version (e.g., 1.2.3, 0.2.0-dev)"
required: true
release_tag:
description: "Release tag (defaults to marketplace-v<version>)"
description: "Release tag (defaults to marketplace-v<snapshot_version>)"
required: false
prerelease:
description: "Mark release as prerelease"
Expand All @@ -20,7 +20,7 @@ on:
default: false

env:
RELEASE_TAG: ${{ inputs.release_tag || format('marketplace-v{0}', inputs.version) }}
RELEASE_TAG: ${{ inputs.release_tag || format('marketplace-v{0}', inputs.snapshot_version) }}

jobs:
marketplace:
Expand All @@ -30,8 +30,8 @@ jobs:
pull-requests: write
secrets: inherit
with:
version: ${{ inputs.version }}
release_tag: ${{ inputs.release_tag || format('marketplace-v{0}', inputs.version) }}
snapshot_version: ${{ inputs.snapshot_version }}
release_tag: ${{ inputs.release_tag || format('marketplace-v{0}', inputs.snapshot_version) }}

create-release:
name: Create Marketplace Release
Expand All @@ -52,11 +52,11 @@ jobs:
with:
tag_name: ${{ env.RELEASE_TAG }}
target_commitish: ${{ github.sha }}
name: "Marketplace ${{ inputs.version }}"
name: "Marketplace ${{ inputs.snapshot_version }}"
files: |
artifacts/**/marketplace-bundles/*.tar.zst
body: |
Marketplace bundles for version `${{ inputs.version }}`.
Marketplace bundles for snapshot `${{ inputs.snapshot_version }}`.
draft: false
prerelease: ${{ inputs.prerelease }}
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
pull-requests: write
secrets: inherit
with:
version: ${{ github.ref_name }}
snapshot_version: ${{ github.ref_name }}
release_tag: ${{ github.ref_name }}

create-release:
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ When making a plugin official and downloadable from the registry, update all of
the following:

- Plugin source under `plugins/native/<id>/` (crate metadata + README).
- Plugin metadata in `plugins/native/<id>/marketplace.yml` (id, entrypoint,
- Plugin metadata in `plugins/native/<id>/plugin.yml` (id, version, entrypoint,
artifact path, models, licenses, homepage/repo).
- Generate `marketplace/official-plugins.json` with
`scripts/marketplace/generate_official_plugins.py` and commit the result.
Expand Down
29 changes: 0 additions & 29 deletions marketplace/PORTABILITY_REVIEW.md

This file was deleted.

8 changes: 8 additions & 0 deletions marketplace/official-plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{
"id": "helsinki",
"name": "Helsinki",
"version": "0.1.0",
"node_kind": "helsinki",
"kind": "native",
"entrypoint": "libhelsinki.so",
Expand Down Expand Up @@ -41,6 +42,7 @@
{
"id": "kokoro",
"name": "Kokoro",
"version": "0.1.0",
"node_kind": "kokoro",
"kind": "native",
"entrypoint": "libkokoro.so",
Expand All @@ -67,6 +69,7 @@
{
"id": "matcha",
"name": "Matcha",
"version": "0.1.0",
"node_kind": "matcha",
"kind": "native",
"entrypoint": "libmatcha.so",
Expand All @@ -93,6 +96,7 @@
{
"id": "nllb",
"name": "NLLB",
"version": "0.1.0",
"node_kind": "nllb",
"kind": "native",
"entrypoint": "libnllb.so",
Expand All @@ -118,6 +122,7 @@
{
"id": "piper",
"name": "Piper",
"version": "0.1.0",
"node_kind": "piper",
"kind": "native",
"entrypoint": "libpiper.so",
Expand Down Expand Up @@ -158,6 +163,7 @@
{
"id": "sensevoice",
"name": "SenseVoice",
"version": "0.1.0",
"node_kind": "sensevoice",
"kind": "native",
"entrypoint": "libsensevoice.so",
Expand Down Expand Up @@ -198,6 +204,7 @@
{
"id": "vad",
"name": "VAD",
"version": "0.1.0",
"node_kind": "vad",
"kind": "native",
"entrypoint": "libvad.so",
Expand All @@ -224,6 +231,7 @@
{
"id": "whisper",
"name": "Whisper",
"version": "0.1.1",
"node_kind": "whisper",
"kind": "native",
"entrypoint": "libwhisper.so",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
id: helsinki
name: Helsinki
version: 0.1.0
node_kind: helsinki
kind: native
entrypoint: libhelsinki.so
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
id: kokoro
name: Kokoro
version: 0.1.0
node_kind: kokoro
kind: native
entrypoint: libkokoro.so
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
id: matcha
name: Matcha
version: 0.1.0
node_kind: matcha
kind: native
entrypoint: libmatcha.so
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
id: nllb
name: NLLB
version: 0.1.0
node_kind: nllb
kind: native
entrypoint: libnllb.so
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
id: piper
name: Piper
version: 0.1.0
node_kind: piper
kind: native
entrypoint: libpiper.so
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
id: sensevoice
name: SenseVoice
version: 0.1.0
node_kind: sensevoice
kind: native
entrypoint: libsensevoice.so
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
id: vad
name: VAD
version: 0.1.0
node_kind: vad
kind: native
entrypoint: libvad.so
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
id: whisper
name: Whisper
version: 0.1.1
node_kind: whisper
kind: native
entrypoint: libwhisper.so
Expand Down
Loading
Loading