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.
Files changed (50) hide show
  1. package/README.md +47 -7
  2. package/dist/artifacts.js +9 -0
  3. package/dist/executors/git-commit-executor.js +24 -6
  4. package/dist/flow-state.js +3 -8
  5. package/dist/git/git-diff-parser.js +223 -0
  6. package/dist/git/git-service.js +562 -0
  7. package/dist/git/git-stage-selection.js +24 -0
  8. package/dist/git/git-status-parser.js +171 -0
  9. package/dist/git/git-types.js +1 -0
  10. package/dist/index.js +450 -108
  11. package/dist/interactive/auto-flow.js +644 -0
  12. package/dist/interactive/controller.js +417 -9
  13. package/dist/interactive/progress.js +194 -1
  14. package/dist/interactive/state.js +25 -0
  15. package/dist/interactive/web/index.js +97 -12
  16. package/dist/interactive/web/protocol.js +216 -1
  17. package/dist/interactive/web/server.js +72 -14
  18. package/dist/interactive/web/static/app.js +1603 -49
  19. package/dist/interactive/web/static/index.html +76 -11
  20. package/dist/interactive/web/static/styles.css +1 -1
  21. package/dist/interactive/web/static/styles.input.css +901 -47
  22. package/dist/pipeline/auto-flow-blocks.js +307 -0
  23. package/dist/pipeline/auto-flow-config.js +273 -0
  24. package/dist/pipeline/auto-flow-identity.js +49 -0
  25. package/dist/pipeline/auto-flow-presets.js +52 -0
  26. package/dist/pipeline/auto-flow-resolver.js +830 -0
  27. package/dist/pipeline/auto-flow-types.js +17 -0
  28. package/dist/pipeline/context.js +1 -0
  29. package/dist/pipeline/declarative-flows.js +27 -1
  30. package/dist/pipeline/flow-specs/auto-common-guided.json +11 -0
  31. package/dist/pipeline/flow-specs/auto-golang.json +12 -1
  32. package/dist/pipeline/flow-specs/bugz/bug-analyze.json +54 -1
  33. package/dist/pipeline/flow-specs/gitlab/gitlab-diff-review.json +19 -1
  34. package/dist/pipeline/flow-specs/gitlab/gitlab-review.json +33 -1
  35. package/dist/pipeline/flow-specs/review/review-project.json +19 -1
  36. package/dist/pipeline/flow-specs/task-source/manual-jira-input.json +70 -0
  37. package/dist/pipeline/node-registry.js +9 -0
  38. package/dist/pipeline/nodes/codex-prompt-node.js +8 -1
  39. package/dist/pipeline/nodes/flow-run-node.js +5 -3
  40. package/dist/pipeline/nodes/git-status-node.js +2 -168
  41. package/dist/pipeline/nodes/manual-jira-task-input-node.js +146 -0
  42. package/dist/pipeline/nodes/opencode-prompt-node.js +8 -1
  43. package/dist/pipeline/nodes/plan-codex-node.js +8 -1
  44. package/dist/pipeline/spec-loader.js +14 -4
  45. package/dist/runtime/artifact-catalog.js +29 -5
  46. package/dist/runtime/settings.js +114 -0
  47. package/dist/scope.js +14 -4
  48. package/package.json +1 -1
  49. package/dist/pipeline/flow-specs/auto-common.json +0 -179
  50. 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
- }