@fieldwangai/agentflow 0.1.33 → 0.1.34
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/bin/lib/git-worktree.mjs +15 -0
- package/bin/lib/locales/en.json +3 -7
- package/bin/lib/locales/zh.json +2 -6
- package/bin/lib/paths.mjs +0 -1
- package/bin/lib/scheduler.mjs +8 -3
- package/bin/lib/ui-server.mjs +12 -9
- package/bin/pipeline/build-node-prompt.mjs +27 -1
- package/bin/pipeline/pre-process-node.mjs +70 -34
- package/builtin/nodes/agent_subAgent.md +2 -0
- package/builtin/nodes/control_agent_toBool.md +4 -0
- package/builtin/nodes/control_cancelled.md +8 -4
- package/builtin/nodes/control_cd_workspace.md +2 -0
- package/builtin/nodes/control_delay.md +9 -0
- package/builtin/nodes/control_toBool.md +6 -2
- package/builtin/nodes/control_user_workspace.md +2 -0
- package/builtin/nodes/control_wait_until.md +9 -0
- package/builtin/nodes/provide_bool.md +2 -0
- package/builtin/nodes/provide_file.md +2 -0
- package/builtin/nodes/provide_str.md +2 -0
- package/builtin/nodes/tool_get_env.md +4 -0
- package/builtin/nodes/tool_git_checkout.md +6 -1
- package/builtin/nodes/tool_git_worktree_load.md +7 -2
- package/builtin/nodes/tool_git_worktree_unload.md +5 -5
- package/builtin/nodes/tool_load_key.md +4 -0
- package/builtin/nodes/tool_nodejs.md +4 -0
- package/builtin/nodes/tool_print.md +2 -0
- package/builtin/nodes/tool_save_key.md +4 -0
- package/builtin/nodes/tool_user_ask.md +3 -1
- package/builtin/nodes/tool_user_check.md +3 -1
- package/builtin/web-ui/dist/assets/index-B1j_UaHw.js +202 -0
- package/builtin/web-ui/dist/assets/index-ChiTnW0H.css +1 -0
- package/builtin/web-ui/dist/index.html +2 -2
- package/package.json +1 -1
- package/builtin/nodes/control_deadline.md +0 -32
- package/builtin/web-ui/dist/assets/index-BWAb27N0.js +0 -198
- package/builtin/web-ui/dist/assets/index-DgfSfcjH.css +0 -1
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
description: |
|
|
4
4
|
Remove a Git worktree.
|
|
5
5
|
|
|
6
|
-
- `
|
|
7
|
-
- `worktreePath`
|
|
8
|
-
- `workspaceContext` is required so the node can restore the previous execution context.
|
|
6
|
+
- `workspaceContext` is required. Its `cwd` is used as the worktree to remove.
|
|
7
|
+
- `repoPath`, `worktreePath` and `gitContext` are optional compatibility overrides.
|
|
9
8
|
- By default `force` is false; dirty worktrees fail instead of being removed.
|
|
10
9
|
- By default `prune` is true.
|
|
11
10
|
displayName: Unload Worktree
|
|
@@ -16,11 +15,9 @@ input:
|
|
|
16
15
|
- type: file
|
|
17
16
|
name: repoPath
|
|
18
17
|
default: ""
|
|
19
|
-
showOnNode: true
|
|
20
18
|
- type: file
|
|
21
19
|
name: worktreePath
|
|
22
20
|
default: ""
|
|
23
|
-
showOnNode: true
|
|
24
21
|
- type: text
|
|
25
22
|
name: gitContext
|
|
26
23
|
default: ""
|
|
@@ -28,6 +25,7 @@ input:
|
|
|
28
25
|
name: workspaceContext
|
|
29
26
|
default: ""
|
|
30
27
|
required: true
|
|
28
|
+
showOnNode: true
|
|
31
29
|
- type: bool
|
|
32
30
|
name: force
|
|
33
31
|
default: "false"
|
|
@@ -44,6 +42,8 @@ output:
|
|
|
44
42
|
- type: text
|
|
45
43
|
name: workspaceContext
|
|
46
44
|
default: ""
|
|
45
|
+
required: true
|
|
46
|
+
showOnNode: true
|
|
47
47
|
- type: text
|
|
48
48
|
name: message
|
|
49
49
|
default: ""
|
|
@@ -9,6 +9,8 @@ input:
|
|
|
9
9
|
- type: text
|
|
10
10
|
name: key
|
|
11
11
|
default: ""
|
|
12
|
+
required: true
|
|
13
|
+
showOnNode: true
|
|
12
14
|
output:
|
|
13
15
|
- type: node
|
|
14
16
|
name: next
|
|
@@ -16,5 +18,7 @@ output:
|
|
|
16
18
|
- type: text
|
|
17
19
|
name: result
|
|
18
20
|
default: ""
|
|
21
|
+
required: true
|
|
22
|
+
showOnNode: true
|
|
19
23
|
---
|
|
20
24
|
${USER_PROMPT}
|
|
@@ -33,6 +33,8 @@ input:
|
|
|
33
33
|
- type: text
|
|
34
34
|
name: workspaceContext
|
|
35
35
|
default: ""
|
|
36
|
+
required: true
|
|
37
|
+
showOnNode: true
|
|
36
38
|
- type: text
|
|
37
39
|
name: skillsContext
|
|
38
40
|
default: ""
|
|
@@ -43,5 +45,7 @@ output:
|
|
|
43
45
|
- type: text
|
|
44
46
|
name: result
|
|
45
47
|
default: ""
|
|
48
|
+
required: true
|
|
49
|
+
showOnNode: true
|
|
46
50
|
---
|
|
47
51
|
${USER_PROMPT}
|
|
@@ -10,6 +10,8 @@ input:
|
|
|
10
10
|
name: content
|
|
11
11
|
description: 要展示给用户确认的内容(Markdown 格式)
|
|
12
12
|
default: ""
|
|
13
|
+
required: true
|
|
14
|
+
showOnNode: true
|
|
13
15
|
output:
|
|
14
16
|
- type: node
|
|
15
17
|
name: next
|
|
@@ -19,4 +21,4 @@ output:
|
|
|
19
21
|
description: 用户确认后的内容(可能已编辑/AI修改)
|
|
20
22
|
default: ""
|
|
21
23
|
---
|
|
22
|
-
${USER_PROMPT}
|
|
24
|
+
${USER_PROMPT}
|