Skip to content

feat(plugins): deliver the third-party plugin program - #19

Merged
Lamarcke merged 402 commits into
mainfrom
integration/third-party-plugins
Nov 24, 2026
Merged

Lamarcke merged 402 commits into
mainfrom
integration/third-party-plugins

Conversation

@richmont

@richmont richmont commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This is the third-party plugin program and its follow-ups, integrated on integration/third-party-plugins. It replaces the bundled-only plugin model with signed, externally supplied packages that the host installs, reviews, grants, supervises and can update or remove while the desktop keeps running.

What ships

  • Signed packages and bundles. .gnplugin and .gnbundle import with publisher pinning, integrity/manifest validation, per-component consent and a reviewed permission grant. A two-component bundle (provider + extension) is one inventory entry.
  • Live lifecycle. Import, enable, disable, update, rollback, uninstall and reinstall without restarting the desktop. Uninstalling hides live rows and keeps host-owned data; reinstalling restores them.
  • Host API 1.6. Provider exchange (discovery, catalog, account, login, secrets, counter, actions, achievements), library reads and writes, favorites, matching, artwork, private storage, files, network, notifications, jobs, backups, tools, PC ports, logical libraries, approved runtimes, custom launch recipes, save profiles and the typed data plane.
  • Consent boundaries. Default-deny permissions per plugin, publisher and profile; exact-origin network approvals; folder approvals with widening review; host-approved runtimes; host-issued launch/install intents. Revocation fences work in flight.
  • Runtime picker. RuntimesRequestAccess validates and approves an executable with volume/node identity, size and digest; the plugin receives a runtime record, never a path.
  • Actions and configuration. Plugin-owned Configure windows with Open/Focus/Close, a closed-schema declarative form, and profile-scoped preference storage.
  • Linux package manager. PackageKit discovery as a bundled provider, so installed Linux packages join the library.
  • Platform-aware matching. Match suggestions honour each provider's declared platforms.
  • UI. Plugin inventory, import/update review, permission and folder approval dialogs, runtime approval management, the "Start with extension" action and the launch-method selector with runtime and argument summaries.

Follow-up changes included: add-plugin-bundles, third-party-plugin-actions-and-configuration (archived), third-party-plugin-custom-launch-runtimes, third-party-plugin-data-and-persistence, add-platform-aware-match-filter, add-approved-runtime-picker, add-linux-package-manager-plugin, add-linux-epic-games-store-plugin, plus the settings/dialogs/library redesigns the program depends on.

Acceptance state

add-third-party-plugins is at 78/83; the follow-ups are also tracked in OpenSpec. Open items and owners:

Task Owner What is left
18.2 us Native Linux: signed import, session/catalog, grant and revocation, profile fencing, supervised shutdown, update and rollback
18.4 us Official provider matrix: Steam and Linux package discovery unchanged across empty/invalid/enabled/disabled third-party registries
18.11 us One running desktop: import → enable → disable → update/rollback → uninstall → reinstall, with library and playtime reacting
18.3 Lamarck (GameNode Core) Windows native acceptance of the same lifecycle, separate from cross-build results
20.4-win Lamarck (GameNode Core) Windows upgrade gate on a real profile after the Linux evidence is recorded

Other Windows handoffs carried by the follow-ups (all Lamarck): runtime picker registry/Start Menu suggestions (add-approved-runtime-picker 1.8), Job Object supervisor acceptance (third-party-plugin-custom-launch-runtimes 1.14-win), shared-emulator-resource scope (third-party-plugin-data-and-persistence 1.8), bundle acceptance (add-plugin-bundles 7.2-win) and achievement import/export privacy (add-achievement-tracking 8.2/8.3).

Native Windows acceptance is not requested from the reporter. Cross-build compilation is covered by CI (cargo xwin check), and the Windows items above stay with Lamarck.

Validation

  • cargo test --locked --workspace — exit 0, 2766 passed, 0 failed
  • cargo fmt --all --check and python3 scripts/check-plugin-boundaries.py — clean
  • python3 scripts/check-plugin-conformance.py — 85 routes advertised, 2 deferred, acceptance page classified
  • UI: pnpm --dir ui test --run — 1364 passed (on the stacked ports branch; the integration tip is its parent)
  • cargo clippy --workspace --all-targets -- -D warnings — run by CI
  • cargo xwin check --workspace --all-targets --target x86_64-pc-windows-msvc — run by CI; not installed on the authoring machine

The new .github check acceptance fails when an advertised plugin route has no row on docs/plugin-endpoint-acceptance.md, so a new endpoint cannot land unclassified.

Merge notes

  • The branch contains the program's intermediate commits, many with [skip ci]; this PR is the final validation point and CI runs on it.
  • No database migration is required beyond the additive plugin tables already covered by the upgrade gate.
  • openspec validate --strict passes for the active changes; add-third-party-plugins stays open until 18.2/18.4/18.11 are recorded and the two Windows handoffs return.

Map each served and reserved shared-data route to its grant, projection
and non-shareable exclusions, and add a public list-to-watch handoff
test with a persisted source-to-recipient policy and a consumer without
the publish capability.

[skip ci]
Keep the compatibility verdict shown in update and rollback review while
the reviewed package is validated for supported permission scopes; the
active-version check now lives with the activation worker.

[skip ci]
Reconcile the extension update path with the network-origin activation
worker: extension updates keep their readiness-based activation while
ordinary packages use the worker that revokes network approvals and
restores the previous version on re-trust failure. Review keeps the
compatibility verdict and the selected-game choices, and the update
screen keeps its per-operation state so unrelated controls stay usable.

[skip ci]
Add a status note, based on the code on the integration branch, to the
pending runtime and data tasks that had none, and add task 1.21 for the
two session tests that still fail. Mark 1.19 as unblocked by 1.18.

[skip ci]
Replace the single shared Cargo target with one external target per
worktree on this workstation and allow concurrent builds, because a
shared target reused another worktree's stale artifacts. Keep the shared
target as an option for constrained machines such as the Raspberry Pi.
The source packager now only requires an absolute target outside the
repository, and the sharing test script accepts an explicit
CARGO_TARGET_DIR.

[skip ci]
…request

Existing installations run builds of main, whose schema versions 10 to 16
differ from the integration branch's versions 10 to 18, so a main database
would skip migrations on update. Add design decision 21, two delta
requirements with scenarios, tasks 20.1 to 20.4 and a pull request gate to
the delivery split.

[skip ci]
GamesProposeCustomLaunch and GamesRequestCustomLaunch compared the
request against the library entry revision, while the request_action
fence that follows compares the host-issued session target revision.
An extension cannot satisfy both when they differ, so every Dolphin
launch failed with "library entry changed". Resolve the expected
revision with the same rule as request_action: target_game.revision for
extension sessions, entry.revision otherwise.

Add focused tests for the extension/entry revision split and for a
runtime recipe with no detected target omitting the base-target plan
resource. Full app (1088) and core (685) suites pass.

[skip ci]
The host account cache keys the user's chosen match by installation entry
key. Removing and re-adding a provider drops only the live rows; the
same stable entry key restores the association on the next scan. This
regression pins that behavior for the Dolphin uninstall/reinstall flow.

[skip ci]
The settings list read approvals under the bundle entry's id, so the extension component's approved folder was never shown. Runtime program approvals had no settings surface at all.

List each bundle component's folder and runtime approvals with the component id and the bundle publisher, and add host commands and a settings panel to list and revoke runtime program approvals. Revoking marks the approval unusable and the next Play asks for a new program.
The custom-launch helper and direct launcher clear the environment and
copy only an allowlist. XAUTHORITY and Qt variables were missing, so a
Qt runtime such as Dolphin aborted in
QGuiApplicationPrivate::createPlatformIntegration as soon as it started.
Preserve XAUTHORITY and QT_* alongside DISPLAY, WAYLAND_DISPLAY,
XDG_*, DBUS_SESSION_BUS_ADDRESS and the locale/path keys. The helper
test pins the desktop session keys and still rejects session tokens.

Dolphin now receives DISPLAY=:0, WAYLAND_DISPLAY=wayland-1,
XAUTHORITY=/run/user/1000/xauth_*, XDG_RUNTIME_DIR and the DBus address.

[skip ci]
The launch-method selector printed the reverse-DNS plugin id and the
opaque recipe id, and listed every historical proposal from failed
attempts. Show one human label per plugin (Dolphin for the Dolphin launch
extension, a readable fallback otherwise), keep the selected recipe when
it still exists, and never expose recipe ids. The selected status now
reads Custom launch method: <label>.

[skip ci]
Show the runtime, version and concrete launch arguments in the launch
method selector (for example Dolphin 2609 — -b -e Pikmin.rvz) instead of
opaque recipe ids. The host resolves the plugin-owned runtime template and
the entry's ROM name; the UI falls back to the plugin label when no
summary exists.

Accept a recipe selection on an entry without a detected target: the
store previously required target_json, so selecting the Dolphin method
failed even though the runtime recipe is valid at revision zero. Clear and
save now agree on that case. Tests cover the selection and the summary.

[skip ci]
Record the deferred change for plugin-declared, bounded launch options:
plugin-wide defaults and per-game overrides, a host editor, merge and
review invalidation, and the resulting command summary. Raw argv,
shell, arbitrary executables/URIs and a recipe marketplace stay out of
scope. Status is explicitly deferred; no implementation is included.

[skip ci]
Archive the completed actions and configuration follow-up (10/10) and
merge its three added requirements into the desktop-external-plugins
spec: host-issued user intent for plugin actions, host-approved
filesystem scope and isolated plugin configuration.

[skip ci]
Every advertised plugin route now has a row in
docs/plugin-endpoint-acceptance.md with its status, consumer and
evidence. The page states the homologation procedure and the cold paths
that still have no real bundle, and the Dolphin fixes are mapped to the
shared host paths they closed.

Add an acceptance check to the conformance script: an advertised route
that is missing from the page, or a deferral that is not documented
there, fails instead of passing silently. The check found thirteen
unclassified routes (Locations, Saves profiles and JobsCancel), which the
page now covers.

Record the deferred endpoint-probe change with its design and six
tasks. It is not implemented.

[skip ci]
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 511 files, which is 411 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

Usage-priced reviews support at most 500 files.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 11116e36-aa04-4e75-87cd-4793a5c665be
Commits

Reviewing files that changed from the base of the PR and between e37ccd1 and 76cae37.

Files ignored due to path filters: 8

  • Cargo.lock is excluded by !**/*.lock
  • crates/app/gen/schemas/acl-manifests.json is excluded by !**/gen/**
  • crates/app/gen/schemas/capabilities.json is excluded by !**/gen/**
  • crates/app/gen/schemas/desktop-schema.json is excluded by !**/gen/**
  • crates/app/gen/schemas/linux-schema.json is excluded by !**/gen/**
  • examples/plugins/rust-configuration/Cargo.lock is excluded by !**/*.lock
  • examples/plugins/rust-sdk/Cargo.lock is excluded by !**/*.lock
  • ui/pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Files selected for processing: 511

  • .github/workflows/plugin-boundaries.yml
  • AGENTS.md
  • crates/app/Cargo.toml
  • crates/app/capabilities/default.json
  • crates/app/src/commands.rs
  • crates/app/src/engine/detected_target.rs
  • crates/app/src/engine/drm_free.rs
  • crates/app/src/engine/drm_free/suggestions.rs
  • crates/app/src/engine/mod.rs
  • crates/app/src/engine/pc_ports.rs
  • crates/app/src/engine/pc_ports/view.rs
  • crates/app/src/engine/playtime.rs
  • crates/app/src/engine/plugin_ports.rs
  • crates/app/src/engine/providers.rs
  • crates/app/src/engine/tests.rs
  • crates/app/src/engine/tests/achievements.rs
  • crates/app/src/engine/tests/catalog.rs
  • crates/app/src/engine/tests/drm_free.rs
  • crates/app/src/engine/tests/library.rs
  • crates/app/src/engine/tests/pc_ports.rs
  • crates/app/src/engine/tests/playtime.rs
  • crates/app/src/engine/tests/provider_runtime.rs
  • crates/app/src/engine/tests/tools.rs
  • crates/app/src/engine/tools.rs
  • crates/app/src/main.rs
  • crates/app/src/plugin_host.rs
  • crates/app/src/plugin_host/bundles.rs
  • crates/app/src/plugin_host/cleanup.rs
  • crates/app/src/plugin_host/cleanup/admin.rs
  • crates/app/src/plugin_host/cleanup/tests.rs
  • crates/app/src/plugin_host/compatibility.rs
  • crates/app/src/plugin_host/confirmations.rs
  • crates/app/src/plugin_host/confirmations/tests.rs
  • crates/app/src/plugin_host/file_approvals.rs
  • crates/app/src/plugin_host/files.rs
  • crates/app/src/plugin_host/files/tests.rs
  • crates/app/src/plugin_host/fingerprints.rs
  • crates/app/src/plugin_host/fingerprints/tests.rs
  • crates/app/src/plugin_host/grants.rs
  • crates/app/src/plugin_host/intents.rs
  • crates/app/src/plugin_host/intents/tests.rs
  • crates/app/src/plugin_host/jobs.rs
  • crates/app/src/plugin_host/jobs/tests.rs
  • crates/app/src/plugin_host/launch_plan.rs
  • crates/app/src/plugin_host/launch_supervisor.rs
  • crates/app/src/plugin_host/launch_supervisor/linux_helper.rs
  • crates/app/src/plugin_host/launch_supervisor/windows.rs
  • crates/app/src/plugin_host/library.rs
  • crates/app/src/plugin_host/library/tests.rs
  • crates/app/src/plugin_host/login/tests.rs
  • crates/app/src/plugin_host/managed_packages.rs
  • crates/app/src/plugin_host/migration.rs
  • crates/app/src/plugin_host/migration/tests.rs
  • crates/app/src/plugin_host/namespace.rs
  • crates/app/src/plugin_host/network.rs
  • crates/app/src/plugin_host/network/tests.rs
  • crates/app/src/plugin_host/notifications.rs
  • crates/app/src/plugin_host/notifications/tests.rs
  • crates/app/src/plugin_host/package.rs
  • crates/app/src/plugin_host/process.rs
  • crates/app/src/plugin_host/process/tests.rs
  • crates/app/src/plugin_host/profile.rs
  • crates/app/src/plugin_host/profile/tests.rs
  • crates/app/src/plugin_host/provider.rs
  • crates/app/src/plugin_host/provider/permissions_tests.rs
  • crates/app/src/plugin_host/provider/profile_tests.rs
  • crates/app/src/plugin_host/provider/tests.rs
  • crates/app/src/plugin_host/publisher_trust.rs
  • crates/app/src/plugin_host/resource_leases.rs
  • crates/app/src/plugin_host/resources.rs
  • crates/app/src/plugin_host/resources/artwork.rs
  • crates/app/src/plugin_host/resources/backups.rs
  • crates/app/src/plugin_host/resources/custom_launch.rs
  • crates/app/src/plugin_host/resources/diagnostics.rs
  • crates/app/src/plugin_host/resources/files.rs
  • crates/app/src/plugin_host/resources/games.rs
  • crates/app/src/plugin_host/resources/jobs.rs
  • crates/app/src/plugin_host/resources/libraries.rs
  • crates/app/src/plugin_host/resources/locations.rs
  • crates/app/src/plugin_host/resources/locations/volumes.rs
  • crates/app/src/plugin_host/resources/matching.rs
  • crates/app/src/plugin_host/resources/mutations.rs
  • crates/app/src/plugin_host/resources/network.rs
  • crates/app/src/plugin_host/resources/notifications.rs
  • crates/app/src/plugin_host/resources/observations.rs
  • crates/app/src/plugin_host/resources/performance.rs
  • crates/app/src/plugin_host/resources/persistence.rs
  • crates/app/src/plugin_host/resources/ports.rs
  • crates/app/src/plugin_host/resources/runtimes.rs
  • crates/app/src/plugin_host/resources/saves.rs
  • crates/app/src/plugin_host/resources/storage.rs
  • crates/app/src/plugin_host/resources/tests.rs
  • crates/app/src/plugin_host/resources/tests/artwork_handles.rs
  • crates/app/src/plugin_host/resources/tests/backups.rs
  • crates/app/src/plugin_host/resources/tests/data.rs
  • crates/app/src/plugin_host/resources/tests/declared_locations.rs
  • crates/app/src/plugin_host/resources/tests/diagnostics.rs
  • crates/app/src/plugin_host/resources/tests/files.rs
  • crates/app/src/plugin_host/resources/tests/fingerprints.rs
  • crates/app/src/plugin_host/resources/tests/games.rs
  • crates/app/src/plugin_host/resources/tests/jobs.rs
  • crates/app/src/plugin_host/resources/tests/libraries.rs
  • crates/app/src/plugin_host/resources/tests/locations.rs
  • crates/app/src/plugin_host/resources/tests/network.rs
  • crates/app/src/plugin_host/resources/tests/notifications.rs
  • crates/app/src/plugin_host/resources/tests/observations.rs
  • crates/app/src/plugin_host/resources/tests/performance.rs
  • crates/app/src/plugin_host/resources/tests/persistence.rs
  • crates/app/src/plugin_host/resources/tests/ports.rs
  • crates/app/src/plugin_host/resources/tests/runtimes.rs
  • crates/app/src/plugin_host/resources/tests/saves.rs
  • crates/app/src/plugin_host/resources/tests/sdk.rs
  • crates/app/src/plugin_host/resources/tests/sdk_actions.rs
  • crates/app/src/plugin_host/resources/tests/sdk_data_exchange.rs
  • crates/app/src/plugin_host/resources/tests/sdk_extension_data.rs
  • crates/app/src/plugin_host/resources/tests/sdk_utilities.rs
  • crates/app/src/plugin_host/resources/tests/storage.rs
  • crates/app/src/plugin_host/resources/tests/tools.rs
  • crates/app/src/plugin_host/resources/tools.rs
  • crates/app/src/plugin_host/retention.rs
  • crates/app/src/plugin_host/runtime.rs
  • crates/app/src/plugin_host/runtime/tests.rs
  • crates/app/src/plugin_host/runtime_access.rs
  • crates/app/src/plugin_host/runtime_approvals.rs
  • crates/app/src/plugin_host/saves.rs
  • crates/app/src/plugin_host/saves/tests.rs
  • crates/app/src/plugin_host/services.rs
  • crates/app/src/plugin_host/services/tests.rs
  • crates/app/src/plugin_host/shared_data.rs
  • crates/app/src/plugin_host/shared_pool.rs
  • crates/app/src/plugin_host/shared_resources.rs
  • crates/app/src/plugin_host/sharing_policy.rs
  • crates/app/src/plugin_host/startup.rs
  • crates/app/src/plugin_host/startup/tests.rs
  • crates/app/src/plugin_host/storage.rs
  • crates/app/src/plugin_host/storage/tests.rs
  • crates/app/src/plugin_host/updates.rs
  • crates/app/src/protocol.rs
  • crates/app/src/providers.rs
  • crates/core/Cargo.toml
  • crates/core/src/drm_free.rs
  • crates/core/src/library/actions.rs
  • crates/core/src/library/actions/tests.rs
  • crates/core/src/library/add_dialog/tests.rs
  • crates/core/src/library/add_run/tests.rs
  • crates/core/src/library/cover_queue/tests.rs
  • crates/core/src/library/custom_launch.rs
  • crates/core/src/library/launch.rs
  • crates/core/src/library/launch/tests.rs
  • crates/core/src/library/launch_plan.rs
  • crates/core/src/library/lookup/tests.rs
  • crates/core/src/library/machine.rs
  • crates/core/src/library/machine/tests.rs
  • crates/core/src/library/match_dialog.rs
  • crates/core/src/library/match_dialog/tests.rs
  • crates/core/src/library/matching.rs
  • crates/core/src/library/mod.rs
  • crates/core/src/library/plugin_match.rs
  • crates/core/src/library/plugin_match/tests.rs
  • crates/core/src/library/query.rs
  • crates/core/src/library/query/tests.rs
  • crates/core/src/library/runtime.rs
  • crates/core/src/library/selection/tests.rs
  • crates/core/src/library/store.rs
  • crates/core/src/library/suggest.rs
  • crates/core/src/library/suggest/tests.rs
  • crates/core/src/library/target.rs
  • crates/core/src/library/view.rs
  • crates/core/src/ports/matching.rs
  • crates/core/src/ports/mod.rs
  • crates/core/src/ports/view.rs
  • crates/core/src/provider/registry.rs
  • crates/core/src/provider/registry/tests.rs
  • crates/core/src/tools/mod.rs
  • crates/core/src/tracker/mod.rs
  • crates/core/src/tracker/runtime_sessions.rs
  • crates/core/src/tracker/tests.rs
  • crates/core/tests/serialization.rs
  • crates/platform/Cargo.toml
  • crates/platform/examples/upgrade_check.rs
  • crates/platform/migrations/0017_library_installations.sql
  • crates/platform/migrations/0018_library_display_overrides.sql
  • crates/platform/migrations/0019_chosen_match_source.sql
  • crates/platform/migrations/0020_library_artwork_overrides.sql
  • crates/platform/migrations/0021_library_entry_targets.sql
  • crates/platform/migrations/0022_plugin_custom_launch_recipes.sql
  • crates/platform/migrations/0023_plugin_runtime_resources.sql
  • crates/platform/migrations/0024_library_launch_recipe_selection.sql
  • crates/platform/migrations/0025_plugin_bundles.sql
  • crates/platform/migrations/0026_plugin_bundle_history.sql
  • crates/platform/src/backups.rs
  • crates/platform/src/covers.rs
  • crates/platform/src/db.rs
  • crates/platform/src/installations.rs
  • crates/platform/src/lib.rs
  • crates/platform/src/library_db.rs
  • crates/platform/src/library_db/tests.rs
  • crates/platform/src/paths.rs
  • crates/platform/src/plugin_artwork.rs
  • crates/platform/src/plugin_artwork/tests.rs
  • crates/platform/src/plugin_bundle_db.rs
  • crates/platform/src/plugin_bundles.rs
  • crates/platform/src/plugin_environment.rs
  • crates/platform/src/plugin_files.rs
  • crates/platform/src/plugin_files/tests.rs
  • crates/platform/src/plugin_files/unix.rs
  • crates/platform/src/plugin_files/windows.rs
  • crates/platform/src/plugin_locations.rs
  • crates/platform/src/plugin_locations/tests.rs
  • crates/platform/src/plugin_network.rs
  • crates/platform/src/plugin_network/tests.rs
  • crates/platform/src/plugin_packages.rs
  • crates/platform/src/plugin_persistence.rs
  • crates/platform/src/plugin_registry.rs
  • crates/platform/src/plugin_shared_data.rs
  • crates/platform/src/plugin_shared_data/tests.rs
  • crates/platform/src/plugin_storage.rs
  • crates/platform/src/plugin_storage/tests.rs
  • crates/platform/src/plugin_telemetry.rs
  • crates/platform/src/plugin_updates.rs
  • crates/platform/src/ports/extractor.rs
  • crates/platform/src/ports/job_runner.rs
  • crates/platform/src/ports/job_runner/tests.rs
  • crates/platform/src/ports/mod.rs
  • crates/platform/src/processes.rs
  • crates/platform/src/processes/linux.rs
  • crates/platform/src/sealed.rs
  • crates/platform/src/tools/installer.rs
  • crates/platform/src/volume.rs
  • crates/platform/src/volume/tests.rs
  • crates/plugin-epic/src/runtime.rs
  • crates/plugin-epic/src/runtime/tests.rs
  • crates/plugin-packagekit/Cargo.toml
  • crates/plugin-packagekit/src/linux/fixtures.rs
  • crates/plugin-packagekit/src/linux/mod.rs
  • crates/plugin-packagekit/src/linux/plugin.rs
  • crates/plugin-packagekit/src/linux/reference_host.rs
  • crates/plugin-packagekit/src/linux/scan.rs
  • crates/plugin-packagekit/src/main.rs
  • crates/plugin-protocol/Cargo.toml
  • crates/plugin-protocol/LICENSE
  • crates/plugin-protocol/build.rs
  • crates/plugin-protocol/contracts/common_data_selector.json
  • crates/plugin-protocol/contracts/data_exchange_fixtures.json
  • crates/plugin-protocol/contracts/domain_host.json
  • crates/plugin-protocol/contracts/endpoint_field_policy.json
  • crates/plugin-protocol/contracts/resource_host.json
  • crates/plugin-protocol/proto/plugin.proto
  • crates/plugin-protocol/src/capability.rs
  • crates/plugin-protocol/src/common_data.rs
  • crates/plugin-protocol/src/extensions.rs
  • crates/plugin-protocol/src/lib.rs
  • crates/plugin-protocol/tests/common_data.rs
  • crates/plugin-protocol/tests/common_data_contract.rs
  • crates/plugin-protocol/tests/contract.rs
  • crates/plugin-protocol/tests/extensions.rs
  • crates/plugin-protocol/tests/resource_contract.rs
  • crates/plugin-sdk/Cargo.toml
  • crates/plugin-sdk/LICENSE
  • crates/plugin-sdk/examples/action_recipes.rs
  • crates/plugin-sdk/examples/custom_launch_recipes.rs
  • crates/plugin-sdk/examples/data_exchange_recipes.rs
  • crates/plugin-sdk/examples/extension_data_recipes.rs
  • crates/plugin-sdk/examples/library_recipes.rs
  • crates/plugin-sdk/examples/utility_recipes.rs
  • crates/plugin-sdk/src/actions.rs
  • crates/plugin-sdk/src/lib.rs
  • crates/plugin-sdk/src/resources.rs
  • crates/plugin-sdk/src/utilities.rs
  • crates/plugin-sdk/tests/common_data_selector.rs
  • crates/plugin-sdk/tests/reference_host.rs
  • crates/plugin-sdk/tests/settings_reference_host.rs
  • crates/plugin-steam/src/runtime.rs
  • crates/plugin-steam/src/runtime/tests.rs
  • docs/development.md
  • docs/fixtures/plugin-target-compatibility.json
  • docs/fixtures/save-descriptor-roadmap.json
  • docs/linux-verification.md
  • docs/local-state.md
  • docs/pc-ports.md
  • docs/plugin-api-field-contracts.md
  • docs/plugin-api-permissions.md
  • docs/plugin-builds.md
  • docs/plugin-development.md
  • docs/plugin-endpoint-acceptance.md
  • docs/plugin-environment-detection.md
  • docs/plugin-package-manifest.md
  • docs/plugin-package-registry.md
  • docs/plugin-public-licensing.md
  • docs/plugin-rust-source-releases.md
  • docs/plugin-save-descriptors.md
  • docs/plugin-shared-data.md
  • docs/steam-plugin-integration.md
  • docs/third-party-plugin-baseline.md
  • docs/third-party-plugins-pending-decisions.md
  • examples/plugins/README.md
  • examples/plugins/rust-configuration/Cargo.toml
  • examples/plugins/rust-configuration/LICENSE
  • examples/plugins/rust-configuration/README.md
  • examples/plugins/rust-configuration/src/main.rs
  • examples/plugins/rust-sdk/Cargo.toml
  • examples/plugins/rust-sdk/LICENSE
  • examples/plugins/rust-sdk/README.md
  • examples/plugins/rust-sdk/package/licenses/LICENSE
  • examples/plugins/rust-sdk/package/licenses/THIRD-PARTY-NOTICES.txt
  • examples/plugins/rust-sdk/package/plugin.json
  • examples/plugins/rust-sdk/src/lib.rs
  • examples/plugins/rust-sdk/src/main.rs
  • examples/plugins/rust-sdk/tests/provider_exchange.rs
  • examples/plugins/shared/config-window.ps1
  • examples/plugins/shared/config-window.sh
  • examples/plugins/shared/focus-window.ps1
  • openspec/changes/add-achievement-tracking/tasks.md
  • openspec/changes/add-approved-runtime-picker/design.md
  • openspec/changes/add-approved-runtime-picker/proposal.md
  • openspec/changes/add-approved-runtime-picker/specs/desktop-external-plugins/spec.md
  • openspec/changes/add-approved-runtime-picker/specs/desktop-plugin-api/spec.md
  • openspec/changes/add-approved-runtime-picker/tasks.md
  • openspec/changes/add-durable-shared-data/.openspec.yaml
  • openspec/changes/add-durable-shared-data/design.md
  • openspec/changes/add-durable-shared-data/proposal.md
  • openspec/changes/add-durable-shared-data/specs/desktop-plugin-api/spec.md
  • openspec/changes/add-durable-shared-data/specs/desktop-plugin-services/spec.md
  • openspec/changes/add-durable-shared-data/specs/desktop-settings/spec.md
  • openspec/changes/add-durable-shared-data/tasks.md
  • openspec/changes/add-epic-games-store-plugin/tasks.md
  • openspec/changes/add-linux-epic-games-store-plugin/design.md
  • openspec/changes/add-linux-epic-games-store-plugin/proposal.md
  • openspec/changes/add-linux-epic-games-store-plugin/specs/desktop-epic-games/spec.md
  • openspec/changes/add-linux-epic-games-store-plugin/specs/desktop-plugins/spec.md
  • openspec/changes/add-linux-epic-games-store-plugin/specs/desktop-providers/spec.md
  • openspec/changes/add-linux-epic-games-store-plugin/tasks.md
  • openspec/changes/add-linux-package-manager-plugin/tasks.md
  • openspec/changes/add-linux-pc-port-catalog/design.md
  • openspec/changes/add-linux-pc-port-catalog/proposal.md
  • openspec/changes/add-linux-pc-port-catalog/specs/desktop-port-catalog/spec.md
  • openspec/changes/add-linux-pc-port-catalog/specs/desktop-port-install/spec.md
  • openspec/changes/add-linux-pc-port-catalog/specs/desktop-shell/spec.md
  • openspec/changes/add-linux-pc-port-catalog/tasks.md
  • openspec/changes/add-pc-port-catalog/design.md
  • openspec/changes/add-pc-port-catalog/tasks.md
  • openspec/changes/add-platform-aware-match-filter/design.md
  • openspec/changes/add-platform-aware-match-filter/proposal.md
  • openspec/changes/add-platform-aware-match-filter/specs/desktop-game-matching/spec.md
  • openspec/changes/add-platform-aware-match-filter/tasks.md
  • openspec/changes/add-plugin-bundles/.openspec.yaml
  • openspec/changes/add-plugin-bundles/design.md
  • openspec/changes/add-plugin-bundles/proposal.md
  • openspec/changes/add-plugin-bundles/specs/desktop-external-plugins/spec.md
  • openspec/changes/add-plugin-bundles/specs/desktop-plugin-bundles/spec.md
  • openspec/changes/add-plugin-bundles/specs/desktop-settings/spec.md
  • openspec/changes/add-plugin-bundles/tasks.md
  • openspec/changes/add-plugin-endpoint-probe/design.md
  • openspec/changes/add-plugin-endpoint-probe/proposal.md
  • openspec/changes/add-plugin-endpoint-probe/specs/desktop-plugin-development/spec.md
  • openspec/changes/add-plugin-endpoint-probe/tasks.md
  • openspec/changes/add-plugin-launch-options/design.md
  • openspec/changes/add-plugin-launch-options/proposal.md
  • openspec/changes/add-plugin-launch-options/specs/desktop-external-plugins/spec.md
  • openspec/changes/add-plugin-launch-options/specs/desktop-settings/spec.md
  • openspec/changes/add-plugin-launch-options/tasks.md
  • openspec/changes/add-third-party-plugins/.openspec.yaml
  • openspec/changes/add-third-party-plugins/delivery-split.md
  • openspec/changes/add-third-party-plugins/dependency-map.md
  • openspec/changes/add-third-party-plugins/design.md
  • openspec/changes/add-third-party-plugins/effort-estimates.md
  • openspec/changes/add-third-party-plugins/parallel-worktree-review.md
  • openspec/changes/add-third-party-plugins/proposal.md
  • openspec/changes/add-third-party-plugins/specs/desktop-external-plugins/spec.md
  • openspec/changes/add-third-party-plugins/specs/desktop-playtime/spec.md
  • openspec/changes/add-third-party-plugins/specs/desktop-plugin-api/spec.md
  • openspec/changes/add-third-party-plugins/specs/desktop-plugin-development/spec.md
  • openspec/changes/add-third-party-plugins/specs/desktop-plugin-permissions/spec.md
  • openspec/changes/add-third-party-plugins/specs/desktop-plugin-services/spec.md
  • openspec/changes/add-third-party-plugins/specs/desktop-providers/spec.md
  • openspec/changes/add-third-party-plugins/specs/desktop-settings/spec.md
  • openspec/changes/add-third-party-plugins/tasks.md
  • openspec/changes/archive/2026-11-04-add-steam-library/tasks.md
  • openspec/changes/archive/2026-11-04-bootstrap-desktop-foundation/tasks.md
  • openspec/changes/archive/2026-11-05-add-desktop-settings-modal/tasks.md
  • openspec/changes/archive/2026-11-05-add-drm-free-games-and-local-backups/tasks.md
  • openspec/changes/archive/2026-11-05-add-playtime-background/tasks.md
  • openspec/changes/archive/2026-11-07-add-steam-web-login-and-owned-library/tasks.md
  • openspec/changes/archive/2026-11-22-third-party-plugin-actions-and-configuration/.openspec.yaml
  • openspec/changes/archive/2026-11-22-third-party-plugin-actions-and-configuration/design.md
  • openspec/changes/archive/2026-11-22-third-party-plugin-actions-and-configuration/proposal.md
  • openspec/changes/archive/2026-11-22-third-party-plugin-actions-and-configuration/specs/desktop-external-plugins/spec.md
  • openspec/changes/archive/2026-11-22-third-party-plugin-actions-and-configuration/tasks.md
  • openspec/changes/integrate-steam-plugin-into-main/tasks.md
  • openspec/changes/redesign-desktop-dialogs/design.md
  • openspec/changes/redesign-desktop-dialogs/tasks.md
  • openspec/changes/redesign-desktop-library/tasks.md
  • openspec/changes/redesign-desktop-settings/tasks.md
  • openspec/changes/third-party-plugin-custom-launch-runtimes/.openspec.yaml
  • openspec/changes/third-party-plugin-custom-launch-runtimes/design.md
  • openspec/changes/third-party-plugin-custom-launch-runtimes/proposal.md
  • openspec/changes/third-party-plugin-custom-launch-runtimes/specs/desktop-plugin-api/spec.md
  • openspec/changes/third-party-plugin-custom-launch-runtimes/tasks.md
  • openspec/changes/third-party-plugin-data-and-persistence/.openspec.yaml
  • openspec/changes/third-party-plugin-data-and-persistence/design.md
  • openspec/changes/third-party-plugin-data-and-persistence/proposal.md
  • openspec/changes/third-party-plugin-data-and-persistence/specs/desktop-plugin-services/spec.md
  • openspec/changes/third-party-plugin-data-and-persistence/tasks.md
  • openspec/specs/desktop-external-plugins/spec.md
  • openspec/specs/desktop-playtime/spec.md
  • openspec/specs/desktop-plugin-api/spec.md
  • openspec/specs/desktop-plugin-development/spec.md
  • openspec/specs/desktop-plugin-permissions/spec.md
  • openspec/specs/desktop-plugin-services/spec.md
  • openspec/specs/desktop-plugins/spec.md
  • openspec/specs/desktop-providers/spec.md
  • openspec/specs/desktop-settings/spec.md
  • scripts/check-plugin-conformance.py
  • scripts/dev-windows-wsl.sh
  • scripts/package-plugin-rust-sources.py
  • scripts/plugin-boundary-allowlist.txt
  • scripts/plugin-package-requirements.txt
  • scripts/plugin-package.py
  • scripts/spec_progress.py
  • scripts/tests/test_plugin_bundle_tool.py
  • scripts/tests/test_plugin_conformance.py
  • scripts/tests/test_plugin_package.py
  • scripts/tests/test_plugin_package_tool.py
  • scripts/tests/test_spec_progress.py
  • ui/package.json
  • ui/pnpm-workspace.yaml
  • ui/src/App.integration.test.tsx
  • ui/src/App.pluginLifecycle.test.tsx
  • ui/src/App.tsx
  • ui/src/api/commands.ts
  • ui/src/api/index.ts
  • ui/src/api/pluginConfirmations.ts
  • ui/src/api/pluginFolderApprovals.ts
  • ui/src/api/pluginNotices.test.ts
  • ui/src/api/pluginNotices.ts
  • ui/src/api/pluginQueryKeys.ts
  • ui/src/api/pluginRuntimeApprovals.ts
  • ui/src/api/pluginSettings.ts
  • ui/src/api/ports.ts
  • ui/src/api/sharedResources.ts
  • ui/src/api/types.ts
  • ui/src/components/ui/OptionCard.test.tsx
  • ui/src/components/ui/OptionCard.tsx
  • ui/src/features/dialogs/MatchDialog.queue.test.tsx
  • ui/src/features/dialogs/MatchDialog.tsx
  • ui/src/features/dialogs/dialogs.test.tsx
  • ui/src/features/library/ContextMenu.test.tsx
  • ui/src/features/library/ContextMenu.tsx
  • ui/src/features/library/DetailPane.test.tsx
  • ui/src/features/library/DetailPane.tsx
  • ui/src/features/library/FilterChipsRow.test.tsx
  • ui/src/features/library/batchMatchQueue.test.tsx
  • ui/src/features/library/detail/DetailActions.test.tsx
  • ui/src/features/library/detail/DetailActions.tsx
  • ui/src/features/library/detail/LaunchRecipeSelector.test.tsx
  • ui/src/features/library/detail/LaunchRecipeSelector.tsx
  • ui/src/features/library/detail/MoreActionsMenu.tsx
  • ui/src/features/library/formatters.ts
  • ui/src/features/library/library.test.tsx
  • ui/src/features/library/libraryControlLabels.ts
  • ui/src/features/plugins/PluginConfirmationHost.test.tsx
  • ui/src/features/plugins/PluginConfirmationHost.tsx
  • ui/src/features/plugins/PluginFolderApprovalHost.test.tsx
  • ui/src/features/plugins/PluginFolderApprovalHost.tsx
  • ui/src/features/plugins/PluginRuntimeApprovalHost.test.tsx
  • ui/src/features/plugins/PluginRuntimeApprovalHost.tsx
  • ui/src/features/plugins/usePluginNotices.test.tsx
  • ui/src/features/plugins/usePluginNotices.ts
  • ui/src/features/ports/setup/PluginPortSetupHost.tsx
  • ui/src/features/ports/setup/PortSetupModal.tsx
  • ui/src/features/ports/setup/setup.test.tsx
  • ui/src/features/ports/setup/setupStore.ts
  • ui/src/features/settings/PluginActivationPermissions.test.tsx
  • ui/src/features/settings/PluginActivationPermissions.tsx
  • ui/src/features/settings/PluginBundleDetails.tsx
  • ui/src/features/settings/PluginCompatibilityReview.test.tsx
  • ui/src/features/settings/PluginCompatibilityReview.tsx
  • ui/src/features/settings/PluginConfigurationSurface.tsx
  • ui/src/features/settings/PluginDeclarativeSettings.tsx
  • ui/src/features/settings/PluginDurableUsage.test.tsx
  • ui/src/features/settings/PluginDurableUsage.tsx
  • ui/src/features/settings/PluginFolderApprovals.test.tsx
  • ui/src/features/settings/PluginFolderApprovals.tsx
  • ui/src/features/settings/PluginImportPermissions.tsx
  • ui/src/features/settings/PluginInventory.bundle.test.tsx
  • ui/src/features/settings/PluginInventory.test.tsx
  • ui/src/features/settings/PluginInventory.tsx
  • ui/src/features/settings/PluginRuntimeApprovals.test.tsx
  • ui/src/features/settings/PluginRuntimeApprovals.tsx
  • ui/src/features/settings/PluginSharedResources.test.tsx
  • ui/src/features/settings/PluginSharedResources.tsx
  • ui/src/features/settings/PluginStorageAdmin.test.tsx
  • ui/src/features/settings/PluginStorageAdmin.tsx
  • ui/src/features/settings/RememberedConfirmations.test.tsx
  • ui/src/features/settings/RememberedConfirmations.tsx
  • ui/src/features/settings/SettingsModal.test.tsx
  • ui/src/features/settings/ToastContainer.test.tsx
  • ui/src/features/settings/ToastContainer.tsx
  • ui/src/features/settings/panels/PluginsPanel.test.tsx
  • ui/src/features/settings/panels/PluginsPanel.tsx
  • ui/src/features/settings/pluginImportReview.ts
  • ui/src/features/settings/settingsClasses.ts
  • ui/src/features/shell/Sidebar.test.tsx
  • ui/src/features/tools/GameToolsModal.test.tsx
  • ui/src/features/tools/GameToolsModal.tsx
  • ui/src/i18n/en.ts
  • ui/src/i18n/pt-BR.ts
  • ui/src/mock/fixtures.test.ts
  • ui/src/mock/host.test.ts
  • ui/src/mock/host.ts
  • ui/src/store/uiStore.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

richmont and others added 17 commits November 22, 2026 21:49
The integration tip carried [skip ci] for the intermediate pushes, which
also suppresses the pull_request workflow. The program is ready for final
validation, so this commit resumes normal CI on the pull request.
The program is ready for final validation. Run the full workflow on the
pull request: formatting, boundaries, conformance, workspace tests,
clippy and the Windows cross-check.
Python 3.13 validates a nargs="*" argparse default against choices as a
single value, so the list default aborted the script with exit 2 before
any check ran. Keep argparse for explicit selections and apply the
all-checks default after parsing.

Verified with no arguments and with an explicit check; the scripts unit
suite passes (82 tests).
plugin-package.py signs with Ed25519 from the cryptography package, and
the scripts unit suite imports it, so discovery failed with
ModuleNotFoundError on a bare setup-python. Install the pinned
requirements file the packaging docs already use.

The workflow previously stopped at the conformance step, so this import
was never reached.
The Linux external-use test asserted Active immediately after spawn. The
child is listed in /proc only after it execs, so a loaded CI runner lost
that race while the local machine did not. Poll for the Active state with
the same bounded wait the Idle transition already uses; the behavior
under test is unchanged.
The Linux external-use test still does not observe the spawned child on
the CI runner. Print the child pid, the approved path and any process the
scan reports for it, so the next failure names the actual /proc view
instead of only the assertion.
Remove examples/plugins/go-grpc and examples/go with the Go-only
conformance checks (binding freshness, Go module boundaries and Go
version/identity matching). Keeping them required Go and protoc on every
CI run only to verify generated bindings, while the Rust SDK examples and
the host service tests, which compare SDK helpers with raw calls,
already cover the wire contract.

Clients in other languages still generate bindings from plugin.proto.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The workflow installed Go, protoc-gen-go, protoc-gen-go-grpc and a
system protoc only for the Go binding check, which no longer exists.
The Rust build uses its vendored protoc.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Remove the direct gRPC Go reference plugin from desktop-plugin-development
and phrase the cross-client scenarios as SDK helper versus raw generated
client. Record the amendment in the add-third-party-plugins design and
mark the Go tasks as superseded, keeping their evidence as history.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Remove the [skip ci] push gate for the plugin worktrees, the mandatory
per-workstation CARGO_TARGET_DIR with its hardcoded mount, and the rule
assigning native Windows acceptance to a named person. The development
guide now leaves build output to each developer's Cargo config, suggests
sccache to share build work between worktrees, and states plainly that
cross-compiled checks are not native Windows acceptance.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Use Cargo's configured target in the plugin guides and example READMEs
instead of a path that exists on one machine.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It only ran against a pinned historical base commit and a hardcoded
mount on one machine, and nothing references it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Build under windows-hmr inside the target directory reported by cargo
metadata instead of a hard-coded target/windows-hmr that overrode
CARGO_TARGET_DIR, and drop the guide's warning against running it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Rewrite task evidence, proposals, estimates and the pending-decisions
  log so they describe the Rust examples only; Go-specific tasks carry a
  dated note that the Go examples were removed.
- Drop workstation-specific CARGO_TARGET_DIR paths and 'external target'
  remarks from verification records.
- Rename person-assigned Windows handoffs to native Windows acceptance
  tasks that stay open until a native run is recorded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…leases

The packager no longer demands an absolute CARGO_TARGET_DIR outside the
repository. It reads the repository's target directory from cargo
metadata, stages clean bundles in the system temporary directory and
builds them under target/plugin-source-bundles.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Remove the Cargo build output sections from AGENTS.md and the
development guide, the CARGO_NET_OFFLINE/CARGO_INCREMENTAL prefixes on
plugin test commands and the /var/tmp paths in Steam integration
evidence. Cargo's default target/ is the expected setup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Lamarcke
Lamarcke merged commit c63c233 into main Nov 24, 2026
1 of 3 checks passed
@richmont
richmont deleted the integration/third-party-plugins branch November 24, 2026 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants