Skip to content

[Feature]: Support native plugin integration settings and scoped workspace handoff #41369

Open

Description

@jiang3ye

Problem or use case

A trusted-worker issue-tracker plugin needs a complete connect → select task → associate/create workspace → choose an enabled Agent → hand off flow, using the public plugin API. The original report on Orca v1.4.257 identified these boundaries:

  • A connection panel cannot declare that it belongs to Settings → Integrations; adding location to a panel is rejected by the strict manifest schema. A worker also has no own-scoped navigation method to open its integration settings.
  • workspace.readContext omits the stable workspace identity, so a display name or branch is insufficient to associate an issue with the correct local, remote or folder workspace.
  • agents.list lists running sessions, but does not discover installed and enabled Agent CLIs on a selected workspace host.
  • A plugin can list/open workspaces but cannot create a new worktree through the public host API.
  • New-Agent handoff should publish its terminal promptly and retain the normal readiness-aware delivery boundary, cancellation and live plugin approval checks.

Proposed solution

Add provider-neutral platform capabilities: a settings-only components panel contribution, own-scoped settings.open, canonical workspace identity in context, host-scoped agents.available, and guarded workspace.create. Reuse Orca's existing workspace/Agent runtime operations. Keep provider account authorization, credentials, business data and task-specific UI inside each plugin.

Preserve approval and cancellation checks until each actual side effect, including waits after terminal publication or repository reads. New manifest fields need the real first supporting Orca release assigned by maintainers; no existing public version should be claimed compatible.

Alternatives or additional context

A sidebar-only connection screen is possible today, but does not provide native integration discovery or complete workspace creation/Agent discovery. Requiring users to paste user IDs, workspace IDs or CLI names transfers host-specific state into plugin configuration.

The generic implementation is in #41598, with generated SDK/schema documentation and focused behavioral regressions. It contains no provider credentials or customer data. Completed rendered desktop journeys are described below; non-macOS/remote live verification remains separate and unverified.

Component visual proof

Headless component fixtures, 960 CSS px, light theme, synthetic Acme Tasks plugin. The before uses the unmodified IntegrationsPane from main b80ac94ba; the after uses the proposed component. These are presentation checks, not full Electron/IPC acceptance.

Before:

Before: task providers with no plugin integration entry

After:

After: native plugin integration entry with Configure action

Implementation and verification update — 2026-11-13

Review fixes and the explicit infrastructure prerequisite are pushed in #41598 at 054c79b7e8e1cef8e134f0992e60a416e614f578, reconciled with main 8c9aff20a3. Merge #42005 (Fixes #41805) first. It remains separately reviewed, and is merged into the feature branch for complete validation. Until the prerequisite lands upstream, the feature diff against main includes its 27 files. All five original automated-review threads have implementation replies and are resolved.

Approval and cancellation are rechecked after preparation, before terminal dispatch and structured session ownership; concurrent development unload preserves both removals. Canonical identity is verified through the real handler/projection and hardcoded identity/folder/remote expectations.

Validation:

  • 38/38 complete canonical checks passed, actual exit 0: ORCA_BACKGROUND_LAUNCH=1 pnpm check:changed --maxWorkers=2 --timeout=90. Read-only installed-Vitest discovery verified the natural selection equals all 6,976 configured root-unit files, zero missing/extra. No shortened unit cap, runtime override, selector change or new skip. This supersedes the earlier 60-second/scoped result. Full output does not expose case/skip totals, so those totals are not inferred.
  • Infrastructure fix(tests): isolate workstation-dependent fixtures #42005 independently passed 26/26 complete checks, exit 0; its natural selection equals all 6,968 configured root-unit files.
  • Hidden macOS Electron/CDP at 6fad34b636deecec95b8a70311632c2ee155f093: 1 passed, 0 skipped, 1440 × 1000, including native settings, workspace creation/sidebar activation, Agent selection, real PTY prompt, terminal opening and unload. The combined head only adds test/CI infrastructure; the integration implementation is unchanged. Provider/model boundaries are synthetic; host UI/APIs/files/PTY are real.
  • Consumer 409c7a5ff784b60ee5ccc208a41cda6b006273c4: all four cloud jobs passed, with a real source-built CLI pinned to 054c79b7e8e1cef8e134f0992e60a416e614f578, 218 tests, 0 skipped, 11 panel scenarios, 85 tracked source files and strict TypeScript.

Panel placement remains unreleased. Default validation/release/catalog checks refuse it; explicit source development preserves numbered engine floors. The manifest follows main's existing workspace:create minimum >=1.4.259, which does not assert released panel compatibility.

Upstream CI and merge state: 7 fork workflows are action_required, awaiting maintainer approval (PR Checks approval, all PR checks); the current account has no upstream workflow-approval or merge permission. The PR is mergeable but blocked. CodeRabbit again reports “Incremental review skipped”, which is not a fresh full review approval. The source/consumer results above do not imply upstream workflow approval. No live account or business item was changed. Non-macOS/remote desktop and current real cloud-model responses are not claimed.

Keep this issue open until merge. The checked official v1.4.258 still rejects required panel placement. The consumer release remains a draft prerelease; tags/catalog publication require the first genuinely supporting official host and verification against its actual CLI.

Activity

  1. AmethystLiang commented on Nov 12, 2026

    @AmethystLiang
    Contributor

    Triage: assigning to Neil: this needs plugin manifest and host API work, and Neil owns the plugin platform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions