feat(FN-4150): complete Step 4 — document workflow step resolver support
Fusion-Task-Id: FN-4150 Fusion-Task-Lineage: 153c239b-f6cd-49e4-bc13-216e0d2ca815
This commit is contained in:
@@ -1467,6 +1467,8 @@ const workflowSteps: PluginWorkflowStepContribution[] = [
|
||||
|
||||
Use `mode: "prompt" | "script"` and `toolMode: "readonly" | "coding"`.
|
||||
|
||||
Plugin-contributed workflow steps are materialized through core `resolvePluginWorkflowStep(...)`; `mode`, `phase`, `scriptName`, `toolMode`, `defaultOn`, `modelProvider`, and `modelId` are preserved from your contribution (with defaults when omitted).
|
||||
|
||||
## 17. Contributing Prompt Modifications
|
||||
|
||||
Prompt contributions let a plugin inject additional instructions into specific prompt surfaces.
|
||||
|
||||
@@ -522,7 +522,9 @@ interface CppWorkflowStep {
|
||||
}
|
||||
```
|
||||
|
||||
This is registered via `definePlugin({ workflowStepTemplates: [...] })` following `docs/PLUGIN_AUTHORING.md` Section 16.
|
||||
This is registered via `definePlugin({ workflowSteps: [...] })` following `docs/PLUGIN_AUTHORING.md` Section 16.
|
||||
|
||||
> **Implemented in FN-4150:** the plugin now contributes `stepId: "run-service-cli"` as a script-mode pre-merge workflow step with `scriptName: "cli-printing-press:run-service-cli"`.
|
||||
|
||||
### 7.3 Execution Flow
|
||||
|
||||
|
||||
Reference in New Issue
Block a user