@flowdesk/opencode-plugin
v0.1.11
Published
FlowDesk OpenCode plugin with Release 1 non-dispatch command-backed registration.
Readme
@flowdesk/opencode-plugin
FlowDesk for opencode plugin with Release 1 non-dispatch command-backed registration plus opt-in description-driven natural-language tools.
Install
npm install @flowdesk/opencode-plugin@^0.1.8Configure
The OpenCode plugin entry must point at the /server subpath. The package
root only exports helper types and an id; the actual default plugin object
is exposed under /server:
{
"plugin": ["@flowdesk/opencode-plugin/server"]
}The minimum opt-in set for the natural-language tools is:
{
"plugin": [
[
"@flowdesk/opencode-plugin/server",
{
"providerUsageLive": {
"enabled": true,
"providers": ["claude", "openai", "gemini"]
},
"statusLive": { "enabled": true },
"laneHeartbeatWriter": { "enabled": true },
"chatMessageStallAlert": { "enabled": true },
"durableStateRoot": "/Users/<you>/.flowdesk"
}
]
]
}Natural-Language Tools
Once loaded, the assistant LLM picks up five description-driven FlowDesk tools without you typing portable commands:
flowdesk_quick_reviewer_runfor explicit multi-perspective code review (Korean다관점 리뷰 해줘, Englishmulti-perspective review).flowdesk_provider_usage_livefor usage, quota, remaining, reset, or rate-limit questions (Korean사용량 보여줘, Englishhow much usage do I have left).flowdesk_status_livefor workflow status, lane heartbeat, or "is it stuck" questions (Korean상태,어디까지,멈췄어,하트비트 알려줘; Englishstatus,where are we,is it stuck,lane heartbeat status).flowdesk_quick_fallback_runfor explicit provider fallback intent (KoreanClaude 막혔어 OpenAI 로 다시, Englishfallback to,switch to,retry with). Plans only; actual provider switching stays behind managed-dispatch promotion.flowdesk_lane_heartbeat_recordfor explicit heartbeat requests (Korean하트비트 남겨줘, Englishrecord heartbeat,mark progress).
See the workspace QUICKSTART, USAGE_NATURAL_LANGUAGE, and USER_MANUAL for the full Korean and English trigger lists, opt-in config, and safety boundaries.
Authority Boundary
Default command-backed tools keep realOpenCodeDispatch, providerCall,
runtimeExecution, actualLaneLaunch, fallbackAuthority,
hardCancelOrNoReplyAuthority, and toolAuthority false. The explicit
flowdesk_quick_reviewer_run helper can make real provider calls only when
quickReviewerRun.enabled=true and the tool call includes both opt-in flags;
it still cannot approve dispatch, switch providers, or bypass Guard. Diagnostic
flags such as providerUsageAcquired, statusEvidenceObserved,
exactModelProviderAcquisitionRecorded, regatePlanPrepared,
laneHeartbeatPersisted, and expectedNextHeartbeatOverdue do not authorize
dispatch.
License
MIT. See the workspace-level LICENSE.
