@guanlin4924/devflow-pi 0.1.15 → 0.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/plugins/devflow-core/extensions/devflow-core.ts +179 -54
- package/plugins/devflow-core/skills/workflow-orchestrator/scripts/execution_contract.rb +93 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/scripts/init_state.rb +2 -1
- package/plugins/devflow-core/skills/workflow-orchestrator/scripts/machine_evidence.rb +111 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/scripts/requirement_graph.rb +471 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/scripts/validate_state.rb +58 -0
- package/plugins/devflow-core/skills/workflow-orchestrator/templates/feature-development.yaml +34 -0
- package/plugins/devflow-requirements/skills/requirement-feasibility-review/SKILL.md +4 -0
- package/plugins/devflow-requirements/skills/workflow-domain-modeling/SKILL.md +4 -0
- package/plugins/devflow-requirements/skills/workflow-requirement-baseline/SKILL.md +4 -0
- package/plugins/devflow-requirements/skills/workflow-requirement-triage/SKILL.md +4 -0
- package/src/cli.ts +2 -1
- package/src/runtime.ts +2 -1
package/src/runtime.ts
CHANGED
|
@@ -13,6 +13,7 @@ export interface RuntimeOptions {
|
|
|
13
13
|
hasUI?: boolean;
|
|
14
14
|
enableMCP?: boolean;
|
|
15
15
|
enableLsp?: boolean;
|
|
16
|
+
approvalMode?: "write" | "yolo";
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
const MANAGED_SETTINGS: Record<string, unknown> = {
|
|
@@ -54,7 +55,6 @@ const MANAGED_SETTINGS: Record<string, unknown> = {
|
|
|
54
55
|
"lsp.enabled": true,
|
|
55
56
|
"lsp.lazy": true,
|
|
56
57
|
"lsp.diagnosticsOnWrite": true,
|
|
57
|
-
"tools.approvalMode": "write",
|
|
58
58
|
};
|
|
59
59
|
|
|
60
60
|
export async function createEmbeddedRuntime(project: ProjectContext, options: RuntimeOptions = {}) {
|
|
@@ -92,6 +92,7 @@ export async function createEmbeddedRuntime(project: ProjectContext, options: Ru
|
|
|
92
92
|
agentDir: productAgentDir,
|
|
93
93
|
overrides: {
|
|
94
94
|
...MANAGED_SETTINGS,
|
|
95
|
+
"tools.approvalMode": options.approvalMode ?? "write",
|
|
95
96
|
// OMP 17.2.7 classifies extension-package skills behind the generic
|
|
96
97
|
// third-party toggle. Explicit custom roots keep ambient providers off
|
|
97
98
|
// while guaranteeing the packaged Devflow skills are present.
|