agentweaver 0.1.19 → 0.1.20
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/README.md +47 -7
- package/dist/artifacts.js +9 -0
- package/dist/executors/git-commit-executor.js +24 -6
- package/dist/flow-state.js +3 -8
- package/dist/git/git-diff-parser.js +223 -0
- package/dist/git/git-service.js +562 -0
- package/dist/git/git-stage-selection.js +24 -0
- package/dist/git/git-status-parser.js +171 -0
- package/dist/git/git-types.js +1 -0
- package/dist/index.js +450 -108
- package/dist/interactive/auto-flow.js +644 -0
- package/dist/interactive/controller.js +417 -9
- package/dist/interactive/progress.js +194 -1
- package/dist/interactive/state.js +25 -0
- package/dist/interactive/web/index.js +97 -12
- package/dist/interactive/web/protocol.js +216 -1
- package/dist/interactive/web/server.js +72 -14
- package/dist/interactive/web/static/app.js +1603 -49
- package/dist/interactive/web/static/index.html +76 -11
- package/dist/interactive/web/static/styles.css +1 -1
- package/dist/interactive/web/static/styles.input.css +901 -47
- package/dist/pipeline/auto-flow-blocks.js +307 -0
- package/dist/pipeline/auto-flow-config.js +273 -0
- package/dist/pipeline/auto-flow-identity.js +49 -0
- package/dist/pipeline/auto-flow-presets.js +52 -0
- package/dist/pipeline/auto-flow-resolver.js +830 -0
- package/dist/pipeline/auto-flow-types.js +17 -0
- package/dist/pipeline/context.js +1 -0
- package/dist/pipeline/declarative-flows.js +27 -1
- package/dist/pipeline/flow-specs/auto-common-guided.json +11 -0
- package/dist/pipeline/flow-specs/auto-golang.json +12 -1
- package/dist/pipeline/flow-specs/bugz/bug-analyze.json +54 -1
- package/dist/pipeline/flow-specs/gitlab/gitlab-diff-review.json +19 -1
- package/dist/pipeline/flow-specs/gitlab/gitlab-review.json +33 -1
- package/dist/pipeline/flow-specs/review/review-project.json +19 -1
- package/dist/pipeline/flow-specs/task-source/manual-jira-input.json +70 -0
- package/dist/pipeline/node-registry.js +9 -0
- package/dist/pipeline/nodes/codex-prompt-node.js +8 -1
- package/dist/pipeline/nodes/flow-run-node.js +5 -3
- package/dist/pipeline/nodes/git-status-node.js +2 -168
- package/dist/pipeline/nodes/manual-jira-task-input-node.js +146 -0
- package/dist/pipeline/nodes/opencode-prompt-node.js +8 -1
- package/dist/pipeline/nodes/plan-codex-node.js +8 -1
- package/dist/pipeline/spec-loader.js +14 -4
- package/dist/runtime/artifact-catalog.js +29 -5
- package/dist/runtime/settings.js +114 -0
- package/dist/scope.js +14 -4
- package/package.json +1 -1
- package/dist/pipeline/flow-specs/auto-common.json +0 -179
- package/dist/pipeline/flow-specs/auto-simple.json +0 -141
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"kind": "auto-flow",
|
|
3
|
-
"version": 1,
|
|
4
|
-
"description": "End-to-end resumable pipeline without language-specific checks. Runs: Jira fetch → task source normalization → plan → implement → review loop. Simplified alternative to auto-golang for projects that do not need Go linter/test loops.",
|
|
5
|
-
"phases": [
|
|
6
|
-
{
|
|
7
|
-
"id": "source",
|
|
8
|
-
"steps": [
|
|
9
|
-
{
|
|
10
|
-
"id": "fetch_jira_source",
|
|
11
|
-
"node": "flow-run",
|
|
12
|
-
"params": {
|
|
13
|
-
"fileName": { "const": "jira-fetch.json" },
|
|
14
|
-
"labelText": { "const": "Fetching Jira task source" },
|
|
15
|
-
"jiraApiUrl": { "ref": "params.jiraApiUrl" },
|
|
16
|
-
"taskKey": { "ref": "params.taskKey" }
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
]
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"id": "normalize",
|
|
23
|
-
"steps": [
|
|
24
|
-
{
|
|
25
|
-
"id": "run_normalize_source",
|
|
26
|
-
"node": "flow-run",
|
|
27
|
-
"params": {
|
|
28
|
-
"fileName": { "const": "normalize-task-source.json" },
|
|
29
|
-
"labelText": { "const": "Normalizing task source" },
|
|
30
|
-
"taskKey": { "ref": "params.taskKey" },
|
|
31
|
-
"iteration": { "ref": "params.taskContextIteration" },
|
|
32
|
-
"llmExecutor": { "ref": "params.llmExecutor" },
|
|
33
|
-
"llmModel": { "ref": "params.llmModel" },
|
|
34
|
-
"extraPrompt": { "ref": "params.extraPrompt" }
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
]
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"id": "plan",
|
|
41
|
-
"steps": [
|
|
42
|
-
{
|
|
43
|
-
"id": "run_plan_flow",
|
|
44
|
-
"node": "flow-run",
|
|
45
|
-
"params": {
|
|
46
|
-
"fileName": { "const": "plan.json" },
|
|
47
|
-
"labelText": { "const": "Running planning flow" },
|
|
48
|
-
"taskKey": { "ref": "params.taskKey" },
|
|
49
|
-
"taskContextIteration": { "ref": "params.taskContextIteration" },
|
|
50
|
-
"designIteration": { "ref": "params.designIteration" },
|
|
51
|
-
"planIteration": { "ref": "params.planIteration" },
|
|
52
|
-
"qaIteration": { "ref": "params.qaIteration" },
|
|
53
|
-
"llmExecutor": { "ref": "params.llmExecutor" },
|
|
54
|
-
"llmModel": { "ref": "params.llmModel" },
|
|
55
|
-
"extraPrompt": { "ref": "params.extraPrompt" },
|
|
56
|
-
"mdLang": { "ref": "params.mdLang" }
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
]
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"id": "implement",
|
|
63
|
-
"steps": [
|
|
64
|
-
{
|
|
65
|
-
"id": "resolve_planning_bundle",
|
|
66
|
-
"node": "planning-bundle",
|
|
67
|
-
"params": {
|
|
68
|
-
"taskKey": { "ref": "params.taskKey" }
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"id": "run_implement",
|
|
73
|
-
"node": "llm-prompt",
|
|
74
|
-
"prompt": {
|
|
75
|
-
"templateRef": "implement",
|
|
76
|
-
"vars": {
|
|
77
|
-
"design_file": { "ref": "steps.implement.resolve_planning_bundle.value.designFile" },
|
|
78
|
-
"design_json_file": { "ref": "steps.implement.resolve_planning_bundle.value.designJsonFile" },
|
|
79
|
-
"plan_file": { "ref": "steps.implement.resolve_planning_bundle.value.planFile" },
|
|
80
|
-
"plan_json_file": { "ref": "steps.implement.resolve_planning_bundle.value.planJsonFile" },
|
|
81
|
-
"qa_file": { "ref": "steps.implement.resolve_planning_bundle.value.qaFile" },
|
|
82
|
-
"qa_json_file": { "ref": "steps.implement.resolve_planning_bundle.value.qaJsonFile" }
|
|
83
|
-
},
|
|
84
|
-
"extraPrompt": { "ref": "params.extraPrompt" },
|
|
85
|
-
"format": "task-prompt"
|
|
86
|
-
},
|
|
87
|
-
"params": {
|
|
88
|
-
"labelText": { "const": "Running implementation mode locally" },
|
|
89
|
-
"model": { "ref": "params.llmModel" },
|
|
90
|
-
"executor": { "ref": "params.llmExecutor" }
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"id": "notify_implement_complete",
|
|
95
|
-
"node": "telegram-notify",
|
|
96
|
-
"params": {
|
|
97
|
-
"message": {
|
|
98
|
-
"template": "Implementation phase for {taskKey} complete.",
|
|
99
|
-
"vars": {
|
|
100
|
-
"taskKey": { "ref": "params.taskKey" }
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
]
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"id": "review-loop",
|
|
109
|
-
"steps": [
|
|
110
|
-
{
|
|
111
|
-
"id": "run_review_loop",
|
|
112
|
-
"node": "flow-run",
|
|
113
|
-
"params": {
|
|
114
|
-
"fileName": { "const": "review-loop.json" },
|
|
115
|
-
"labelText": { "const": "Running review-loop" },
|
|
116
|
-
"taskKey": { "ref": "params.taskKey" },
|
|
117
|
-
"baseIteration": { "ref": "params.baseIteration" },
|
|
118
|
-
"workspaceDir": { "ref": "params.workspaceDir" },
|
|
119
|
-
"extraPrompt": { "ref": "params.extraPrompt" },
|
|
120
|
-
"reviewFixPoints": { "ref": "params.reviewFixPoints" },
|
|
121
|
-
"reviewBlockingSeverities": { "ref": "params.reviewBlockingSeverities" },
|
|
122
|
-
"llmExecutor": { "ref": "params.llmExecutor" },
|
|
123
|
-
"llmModel": { "ref": "params.llmModel" }
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"id": "notify_task_complete",
|
|
128
|
-
"node": "telegram-notify",
|
|
129
|
-
"params": {
|
|
130
|
-
"message": {
|
|
131
|
-
"template": "Task {taskKey} complete.",
|
|
132
|
-
"vars": {
|
|
133
|
-
"taskKey": { "ref": "params.taskKey" }
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
]
|
|
139
|
-
}
|
|
140
|
-
]
|
|
141
|
-
}
|