Repository navigation
Description
待发布:stablyai/orca feature request issue
发布命令(需已登录 gh):
gh issue create -R stablyai/orca \
--title "[Plugin API] Open up TaskProvider to third-party plugins (Alibaba Cloud Codeup/Projex use case)" \
--body-file /Users/dreambt/sources/orca-codeup/upstream-issue.md
───────────────────────── 以下为 issue 正文 ─────────────────────────
Problem or use case
I maintain an Orca plugin (dreambt.codeup) that
integrates Alibaba Cloud DevOps (Codeup MRs + Projex work items) via the
Codeup OpenAPI. Today it surfaces data through a contributed side panel +
⌘J commands that render CLI output in terminals — the only shape available
under pluginApi v1.
Meanwhile, Orca's built-in Tasks module only supports a closed provider
union: github / gitlab / linear / jira
(src/shared/task-providers.ts; the literal "github","gitlab","linear","jira"
sequence is present once in the shipped app.asar). The manifest
contributes schema has no tasks type, and pluginApi v1 exposes no
equivalent extension point. So plugins can contribute panels and commands,
but cannot feed the module users actually look at for their work items.
Related prior threads asking for the same openness:
#8376 (custom task source via generic API contract), #8009 (Plane),
discussion #11487 (internal task systems). All still unresolved.
Proposed solution
Expose a plugin extension point for task providers. Sketch of the minimal
contract our plugin already maps onto naturally:
contributes: {
tasks: {
providerId: 'codeup', // unique provider key
capabilities: ['list', 'get', 'updateStatus'] // start read-heavy
}
}interface TaskProvider {
id: string
listTasks(query): Promise<Task[]> // paginated, filterable
getTask(id): Promise<Task>
updateTaskStatus?(id, status): Promise<void> // optional, later
}Canonical task model (minimal required fields):
| Field | Type | Notes |
|---|---|---|
| id | string | provider-local unique key |
| externalUrl | string | web deep link |
| title | string | |
| status | string | provider-specific; status→category mapping declared in manifest (todo / in-progress / done) |
| assignee | string? | |
| updatedAt | timestamp | for incremental sync |
The provider runs in the plugin worker; network access + auth stay
plugin-owned (Codeup uses a PAT via x-yunxiao-token, read from env — no
token enters Orca storage). Phase 1 read-only (list/get + deep links) is
enough to close most of the gap; write/transition can come later behind an
explicit capability flag.
Alternatives or additional context
- Shipping a first-party Codeup provider fixes only this case. Custom Task Source Integration via Generic API Contract #8376's
generic-adapter proposal is broader (any HTTP task system); a plugin
TaskProvider extension point subsumes both and fits Orca's existing
plugin model (panels/commands are already declarative in the manifest). - Workaround we use today: side panel + terminal-rendered CLI. Works, but
work items don't appear in the Tasks module UI, which fragments the
workflow Orca users get natively for GitHub/Linear.
Happy to prototype a PR for the extension-point design if maintainers
indicate a preferred direction.
Activity
AmethystLiang commentedon Sep 29, 2026
Yep this is planed!
alario-tang commentedon Oct 18, 2026
+1 on this — adding a concrete use case from the Tencent ecosystem, since it hasn't come up in this thread yet.
We run Orca daily with worktrees on Tencent CNB (cnb.cool) and track work in TAPD. Today that means:
git:cnb.cool/...).cnbCLI from inside worktree terminals — which works, but keeps all of this outside the Tasks drawer where it belongs.A
TaskProvidercontribution point would let a community plugin own the CNB/TAPD adapter work (auth, API mapping, field semantics — TAPD work items look nothing like GitHub issues) without core carrying that maintenance. This is exactly the shape of the Codeup/Projex case above, just a different vendor.Separately, we hit a URL-routing quirk worth flagging for whoever designs this:
orca reference add https://cnb.cool/<slug>/-/issues/1is accepted today and stored asprovider: "gitlab"because CNB happens to use GitLab-style/-/issues/Nroutes — the stored link can't fetch anything since CNB isn't API-compatible. Explicit provider identity in reference URLs would fix the ambiguity.Happy to test any task-source API preview against real CNB + TAPD accounts.
QingwenHe commentedon Nov 18, 2026
+1, glad to see this is planned. Our team tracks work in Alibaba Cloud DevOps Projex (Yunxiao work items) alongside Codeup.
Our use case: list requirements / bugs / tasks assigned to me in the Tasks module and start a worktree from a work item, the same way it works for Jira/Linear today. Whether this ships as a built-in Projex provider or via the plugin TaskProvider extension point proposed here, either would work for us.