intentdna 1.2.0 → 1.2.2
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/dist/cli/commands/init.d.ts +2 -0
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +206 -13
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/run.d.ts.map +1 -1
- package/dist/cli/commands/run.js +81 -0
- package/dist/cli/commands/run.js.map +1 -1
- package/dist/cli/commands/sync.d.ts.map +1 -1
- package/dist/cli/commands/sync.js +43 -1
- package/dist/cli/commands/sync.js.map +1 -1
- package/dist/cli/index.js +6 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/compiler/cascade.d.ts +8 -1
- package/dist/compiler/cascade.d.ts.map +1 -1
- package/dist/compiler/cascade.js +40 -4
- package/dist/compiler/cascade.js.map +1 -1
- package/dist/compiler/compile.d.ts.map +1 -1
- package/dist/compiler/compile.js +28 -0
- package/dist/compiler/compile.js.map +1 -1
- package/dist/compiler/workflow.d.ts.map +1 -1
- package/dist/compiler/workflow.js +2 -0
- package/dist/compiler/workflow.js.map +1 -1
- package/dist/runtime/hooks.d.ts.map +1 -1
- package/dist/runtime/hooks.js +141 -1
- package/dist/runtime/hooks.js.map +1 -1
- package/dist/runtime/skill-adapter.d.ts.map +1 -1
- package/dist/runtime/skill-adapter.js +5 -1
- package/dist/runtime/skill-adapter.js.map +1 -1
- package/dist/runtime/workflow-runner.d.ts.map +1 -1
- package/dist/runtime/workflow-runner.js +13 -0
- package/dist/runtime/workflow-runner.js.map +1 -1
- package/dist/schema/types.d.ts +36 -0
- package/dist/schema/types.d.ts.map +1 -1
- package/dist/schema/validate.d.ts +1 -0
- package/dist/schema/validate.d.ts.map +1 -1
- package/dist/schema/validate.js +57 -4
- package/dist/schema/validate.js.map +1 -1
- package/dist/templates/api-backend.dna.yaml +1 -0
- package/dist/templates/brainstorming-first.dna.yaml +1 -0
- package/dist/templates/branch-finishing.dna.yaml +1 -0
- package/dist/templates/code-review-pipeline.dna.yaml +13 -0
- package/dist/templates/devops-cicd.dna.yaml +1 -0
- package/dist/templates/documentation-writer.dna.yaml +1 -0
- package/dist/templates/enterprise-baseline.dna.yaml +1 -0
- package/dist/templates/flutter-behavior-lock.dna.yaml +18 -0
- package/dist/templates/flutter-refactoring-rescue.dna.yaml +14 -0
- package/dist/templates/flutter-rewrite.dna.yaml +55 -16
- package/dist/templates/frontend-quality.dna.yaml +1 -0
- package/dist/templates/full-pipeline.dna.yaml +27 -0
- package/dist/templates/mobile-dev.dna.yaml +1 -0
- package/dist/templates/monorepo-governance.dna.yaml +1 -0
- package/dist/templates/multi-perspective-review.dna.yaml +14 -0
- package/dist/templates/pr-submitter.dna.yaml +1 -0
- package/dist/templates/safe-refactoring.dna.yaml +1 -0
- package/dist/templates/secure-dev.dna.yaml +1 -0
- package/dist/templates/subagent-parallel.dna.yaml +18 -0
- package/dist/templates/systematic-debugging.dna.yaml +1 -0
- package/dist/templates/tdd-strict.dna.yaml +1 -0
- package/dist/templates/verification-loop.dna.yaml +1 -0
- package/dist/templates/yolo-with-guardrails.dna.yaml +1 -0
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ version: "0.1.0"
|
|
|
7
7
|
id: template_subagent_parallel
|
|
8
8
|
name: Subagent Parallel Development
|
|
9
9
|
type: project
|
|
10
|
+
namespace: sap
|
|
10
11
|
|
|
11
12
|
cascade:
|
|
12
13
|
inherits: ["species:default"]
|
|
@@ -81,18 +82,35 @@ roles:
|
|
|
81
82
|
- Do not modify files outside your assigned scope
|
|
82
83
|
- Report completion with a summary of changes
|
|
83
84
|
|
|
85
|
+
modes:
|
|
86
|
+
plan:
|
|
87
|
+
description: "Decompose task into subtasks. Read-only."
|
|
88
|
+
tool_permissions:
|
|
89
|
+
deny: [Edit, Write, NotebookEdit]
|
|
90
|
+
execute:
|
|
91
|
+
description: "Execute subtask. Write to src/ and test/."
|
|
92
|
+
scope:
|
|
93
|
+
write: ["src/**", "test/**"]
|
|
94
|
+
review:
|
|
95
|
+
description: "Two-phase review. Read-only."
|
|
96
|
+
tool_permissions:
|
|
97
|
+
deny: [Edit, Write, NotebookEdit]
|
|
98
|
+
|
|
84
99
|
workflows:
|
|
85
100
|
parallel-dev:
|
|
86
101
|
name: Parallel Development
|
|
87
102
|
steps:
|
|
88
103
|
- id: plan
|
|
89
104
|
role: architect
|
|
105
|
+
mode: plan
|
|
90
106
|
description: Decompose task into parallel subtasks
|
|
91
107
|
- id: execute
|
|
92
108
|
role: worker
|
|
109
|
+
mode: execute
|
|
93
110
|
depends_on: [plan]
|
|
94
111
|
description: Execute assigned subtask
|
|
95
112
|
- id: review
|
|
96
113
|
role: architect
|
|
114
|
+
mode: review
|
|
97
115
|
depends_on: [execute]
|
|
98
116
|
description: Two-phase review (spec + quality)
|