@fieldwangai/agentflow 0.1.25
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/LICENSE +21 -0
- package/README.md +201 -0
- package/README.zh-CN.md +201 -0
- package/agents/agentflow-node-executor-code.md +32 -0
- package/agents/agentflow-node-executor-planning.md +32 -0
- package/agents/agentflow-node-executor-requirement.md +32 -0
- package/agents/agentflow-node-executor-test.md +32 -0
- package/agents/agentflow-node-executor-ui.md +32 -0
- package/agents/agentflow-node-executor.md +32 -0
- package/agents/agents.json +8 -0
- package/agents/en/agentflow-node-executor.md +32 -0
- package/agents/zh/agentflow-node-executor.md +32 -0
- package/bin/agentflow.mjs +52 -0
- package/bin/ensure-workspace-reference.mjs +35 -0
- package/bin/lib/agent-runners.mjs +1199 -0
- package/bin/lib/agents-path.mjs +61 -0
- package/bin/lib/api-runner.mjs +361 -0
- package/bin/lib/apply.mjs +852 -0
- package/bin/lib/catalog-agents.mjs +300 -0
- package/bin/lib/catalog-flows.mjs +532 -0
- package/bin/lib/composer-agent.mjs +884 -0
- package/bin/lib/composer-flow-instances.mjs +68 -0
- package/bin/lib/composer-flow-skeleton.mjs +334 -0
- package/bin/lib/composer-flow-validate.mjs +47 -0
- package/bin/lib/composer-log.mjs +197 -0
- package/bin/lib/composer-model-router.mjs +160 -0
- package/bin/lib/composer-node-schema.mjs +299 -0
- package/bin/lib/composer-planner.mjs +749 -0
- package/bin/lib/composer-script-ops.mjs +233 -0
- package/bin/lib/composer-skill-router.mjs +384 -0
- package/bin/lib/flow-import.mjs +305 -0
- package/bin/lib/flow-normalize.mjs +71 -0
- package/bin/lib/flow-write.mjs +395 -0
- package/bin/lib/help.mjs +139 -0
- package/bin/lib/hub-login.mjs +54 -0
- package/bin/lib/hub-publish.mjs +159 -0
- package/bin/lib/hub-remote.mjs +189 -0
- package/bin/lib/hub.mjs +299 -0
- package/bin/lib/i18n.mjs +233 -0
- package/bin/lib/locales/en.json +344 -0
- package/bin/lib/locales/zh.json +344 -0
- package/bin/lib/log.mjs +37 -0
- package/bin/lib/main.mjs +611 -0
- package/bin/lib/model-config.mjs +118 -0
- package/bin/lib/model-lists.mjs +188 -0
- package/bin/lib/node-exec-context.mjs +336 -0
- package/bin/lib/node-execute.mjs +513 -0
- package/bin/lib/normalize-node-tool-command.mjs +97 -0
- package/bin/lib/paths.mjs +216 -0
- package/bin/lib/pipeline-scripts.mjs +41 -0
- package/bin/lib/recent-runs.mjs +173 -0
- package/bin/lib/run-apply-active-lock.mjs +82 -0
- package/bin/lib/run-events.mjs +85 -0
- package/bin/lib/run-node-statuses-from-disk.mjs +85 -0
- package/bin/lib/schedule-config.mjs +227 -0
- package/bin/lib/scheduler.mjs +312 -0
- package/bin/lib/table.mjs +4 -0
- package/bin/lib/terminal.mjs +42 -0
- package/bin/lib/ui-print.mjs +94 -0
- package/bin/lib/ui-server.mjs +2113 -0
- package/bin/lib/workspace-tree.mjs +266 -0
- package/bin/lib/workspace.mjs +180 -0
- package/bin/pipeline/build-node-prompt.mjs +179 -0
- package/bin/pipeline/check-cache.mjs +191 -0
- package/bin/pipeline/check-flow.mjs +543 -0
- package/bin/pipeline/collect-nodes.mjs +212 -0
- package/bin/pipeline/compute-cache-md5.mjs +177 -0
- package/bin/pipeline/ensure-run-dir.mjs +71 -0
- package/bin/pipeline/extract-thinking.mjs +308 -0
- package/bin/pipeline/gc.mjs +129 -0
- package/bin/pipeline/get-env.mjs +83 -0
- package/bin/pipeline/get-exec-id.mjs +145 -0
- package/bin/pipeline/get-ready-nodes.mjs +435 -0
- package/bin/pipeline/get-resolved-values.mjs +337 -0
- package/bin/pipeline/load-key.mjs +62 -0
- package/bin/pipeline/parse-bool.mjs +33 -0
- package/bin/pipeline/parse-flow.mjs +698 -0
- package/bin/pipeline/post-process-control-if.mjs +23 -0
- package/bin/pipeline/post-process-node.mjs +490 -0
- package/bin/pipeline/pre-process-node.mjs +449 -0
- package/bin/pipeline/resolve-inputs.mjs +201 -0
- package/bin/pipeline/run-log.mjs +34 -0
- package/bin/pipeline/run-tool-nodejs.mjs +160 -0
- package/bin/pipeline/save-key.mjs +93 -0
- package/bin/pipeline/snapshot-prior-round.mjs +70 -0
- package/bin/pipeline/validate-flow.mjs +825 -0
- package/bin/pipeline/validate-for-ui.mjs +226 -0
- package/bin/pipeline/validate-script-output.mjs +130 -0
- package/bin/pipeline/write-result.mjs +182 -0
- package/builtin/nodes/agent_subAgent.md +14 -0
- package/builtin/nodes/control_agent_toBool.md +20 -0
- package/builtin/nodes/control_anyOne.md +17 -0
- package/builtin/nodes/control_end.md +11 -0
- package/builtin/nodes/control_if.md +20 -0
- package/builtin/nodes/control_start.md +11 -0
- package/builtin/nodes/control_toBool.md +21 -0
- package/builtin/nodes/provide_file.md +11 -0
- package/builtin/nodes/provide_str.md +11 -0
- package/builtin/nodes/tool_get_env.md +14 -0
- package/builtin/nodes/tool_load_key.md +20 -0
- package/builtin/nodes/tool_nodejs.md +40 -0
- package/builtin/nodes/tool_print.md +14 -0
- package/builtin/nodes/tool_save_key.md +20 -0
- package/builtin/nodes/tool_user_ask.md +23 -0
- package/builtin/nodes/tool_user_check.md +22 -0
- package/builtin/pipelines/module-migrate/flow.yaml +819 -0
- package/builtin/pipelines/module-migrate/scripts/check_imports.mjs +700 -0
- package/builtin/pipelines/module-migrate/scripts/node_modules/tree-sitter-kotlin/build/Makefile +362 -0
- package/builtin/pipelines/module-migrate/scripts/node_modules/tree-sitter-kotlin/build/Release/.deps/Release/obj.target/node_modules/node-addon-api/node_addon_api_except.stamp.d +1 -0
- package/builtin/pipelines/module-migrate/scripts/node_modules/tree-sitter-kotlin/build/Release/.deps/Release/obj.target/tree_sitter_kotlin_binding/bindings/node/binding.o.d +17 -0
- package/builtin/pipelines/module-migrate/scripts/node_modules/tree-sitter-kotlin/build/Release/.deps/Release/obj.target/tree_sitter_kotlin_binding/src/parser.o.d +5 -0
- package/builtin/pipelines/module-migrate/scripts/node_modules/tree-sitter-kotlin/build/Release/.deps/Release/obj.target/tree_sitter_kotlin_binding/src/scanner.o.d +8 -0
- package/builtin/pipelines/module-migrate/scripts/node_modules/tree-sitter-kotlin/build/Release/.deps/Release/tree_sitter_kotlin_binding.node.d +1 -0
- package/builtin/pipelines/module-migrate/scripts/node_modules/tree-sitter-kotlin/build/Release/obj.target/node_modules/node-addon-api/node_addon_api_except.stamp +0 -0
- package/builtin/pipelines/module-migrate/scripts/node_modules/tree-sitter-kotlin/build/Release/obj.target/tree_sitter_kotlin_binding/bindings/node/binding.o +0 -0
- package/builtin/pipelines/module-migrate/scripts/node_modules/tree-sitter-kotlin/build/Release/obj.target/tree_sitter_kotlin_binding/src/parser.o +0 -0
- package/builtin/pipelines/module-migrate/scripts/node_modules/tree-sitter-kotlin/build/Release/obj.target/tree_sitter_kotlin_binding/src/scanner.o +0 -0
- package/builtin/pipelines/module-migrate/scripts/node_modules/tree-sitter-kotlin/build/Release/tree_sitter_kotlin_binding.node +0 -0
- package/builtin/pipelines/module-migrate/scripts/node_modules/tree-sitter-kotlin/build/binding.Makefile +6 -0
- package/builtin/pipelines/module-migrate/scripts/node_modules/tree-sitter-kotlin/build/gyp-mac-tool +768 -0
- package/builtin/pipelines/module-migrate/scripts/node_modules/tree-sitter-kotlin/build/node_modules/node-addon-api/node_addon_api.Makefile +6 -0
- package/builtin/pipelines/module-migrate/scripts/node_modules/tree-sitter-kotlin/build/node_modules/node-addon-api/node_addon_api.target.mk +122 -0
- package/builtin/pipelines/module-migrate/scripts/node_modules/tree-sitter-kotlin/build/node_modules/node-addon-api/node_addon_api_except.target.mk +126 -0
- package/builtin/pipelines/module-migrate/scripts/node_modules/tree-sitter-kotlin/build/node_modules/node-addon-api/node_addon_api_maybe.target.mk +122 -0
- package/builtin/pipelines/module-migrate/scripts/node_modules/tree-sitter-kotlin/build/tree_sitter_kotlin_binding.target.mk +203 -0
- package/builtin/pipelines/new/flow.yaml +545 -0
- package/builtin/pipelines/new/scripts/check-flow.mjs +9 -0
- package/builtin/pipelines/new/scripts/collect-nodes.mjs +211 -0
- package/builtin/pipelines/scripts/adjust-node-positions.mjs +113 -0
- package/builtin/web-ui/dist/agentflow-icon.svg +23 -0
- package/builtin/web-ui/dist/assets/index-CZkUPcXE.css +1 -0
- package/builtin/web-ui/dist/assets/index-DkkhNESc.js +190 -0
- package/builtin/web-ui/dist/index.html +24 -0
- package/package.json +67 -0
- package/reference/flow-control-capabilities.md +274 -0
- package/reference/flow-layout.md +84 -0
- package/reference/flow-prompt-handler-check.md +12 -0
- package/reference/flow-result-semantics.md +14 -0
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# This file is generated by gyp; do not edit.
|
|
2
|
+
|
|
3
|
+
TOOLSET := target
|
|
4
|
+
TARGET := node_addon_api
|
|
5
|
+
DEFS_Debug := \
|
|
6
|
+
'-DNODE_GYP_MODULE_NAME=node_addon_api' \
|
|
7
|
+
'-DUSING_UV_SHARED=1' \
|
|
8
|
+
'-DUSING_V8_SHARED=1' \
|
|
9
|
+
'-DV8_DEPRECATION_WARNINGS=1' \
|
|
10
|
+
'-D_GLIBCXX_USE_CXX11_ABI=1' \
|
|
11
|
+
'-D_FILE_OFFSET_BITS=64' \
|
|
12
|
+
'-D_DARWIN_USE_64_BIT_INODE=1' \
|
|
13
|
+
'-D_LARGEFILE_SOURCE' \
|
|
14
|
+
'-DOPENSSL_NO_PINSHARED' \
|
|
15
|
+
'-DOPENSSL_THREADS' \
|
|
16
|
+
'-DDEBUG' \
|
|
17
|
+
'-D_DEBUG'
|
|
18
|
+
|
|
19
|
+
# Flags passed to all source files.
|
|
20
|
+
CFLAGS_Debug := \
|
|
21
|
+
-O0 \
|
|
22
|
+
-gdwarf-2 \
|
|
23
|
+
-fno-strict-aliasing \
|
|
24
|
+
-mmacosx-version-min=11.0 \
|
|
25
|
+
-arch \
|
|
26
|
+
arm64 \
|
|
27
|
+
-Wall \
|
|
28
|
+
-Wendif-labels \
|
|
29
|
+
-W \
|
|
30
|
+
-Wno-unused-parameter
|
|
31
|
+
|
|
32
|
+
# Flags passed to only C files.
|
|
33
|
+
CFLAGS_C_Debug :=
|
|
34
|
+
|
|
35
|
+
# Flags passed to only C++ files.
|
|
36
|
+
CFLAGS_CC_Debug := \
|
|
37
|
+
-std=gnu++17 \
|
|
38
|
+
-stdlib=libc++ \
|
|
39
|
+
-fno-rtti \
|
|
40
|
+
-fno-exceptions
|
|
41
|
+
|
|
42
|
+
# Flags passed to only ObjC files.
|
|
43
|
+
CFLAGS_OBJC_Debug :=
|
|
44
|
+
|
|
45
|
+
# Flags passed to only ObjC++ files.
|
|
46
|
+
CFLAGS_OBJCC_Debug :=
|
|
47
|
+
|
|
48
|
+
INCS_Debug := \
|
|
49
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/include/node \
|
|
50
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/src \
|
|
51
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/openssl/config \
|
|
52
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/openssl/openssl/include \
|
|
53
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/uv/include \
|
|
54
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/zlib \
|
|
55
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/v8/include
|
|
56
|
+
|
|
57
|
+
DEFS_Release := \
|
|
58
|
+
'-DNODE_GYP_MODULE_NAME=node_addon_api' \
|
|
59
|
+
'-DUSING_UV_SHARED=1' \
|
|
60
|
+
'-DUSING_V8_SHARED=1' \
|
|
61
|
+
'-DV8_DEPRECATION_WARNINGS=1' \
|
|
62
|
+
'-D_GLIBCXX_USE_CXX11_ABI=1' \
|
|
63
|
+
'-D_FILE_OFFSET_BITS=64' \
|
|
64
|
+
'-D_DARWIN_USE_64_BIT_INODE=1' \
|
|
65
|
+
'-D_LARGEFILE_SOURCE' \
|
|
66
|
+
'-DOPENSSL_NO_PINSHARED' \
|
|
67
|
+
'-DOPENSSL_THREADS'
|
|
68
|
+
|
|
69
|
+
# Flags passed to all source files.
|
|
70
|
+
CFLAGS_Release := \
|
|
71
|
+
-O3 \
|
|
72
|
+
-gdwarf-2 \
|
|
73
|
+
-fno-strict-aliasing \
|
|
74
|
+
-mmacosx-version-min=11.0 \
|
|
75
|
+
-arch \
|
|
76
|
+
arm64 \
|
|
77
|
+
-Wall \
|
|
78
|
+
-Wendif-labels \
|
|
79
|
+
-W \
|
|
80
|
+
-Wno-unused-parameter
|
|
81
|
+
|
|
82
|
+
# Flags passed to only C files.
|
|
83
|
+
CFLAGS_C_Release :=
|
|
84
|
+
|
|
85
|
+
# Flags passed to only C++ files.
|
|
86
|
+
CFLAGS_CC_Release := \
|
|
87
|
+
-std=gnu++17 \
|
|
88
|
+
-stdlib=libc++ \
|
|
89
|
+
-fno-rtti \
|
|
90
|
+
-fno-exceptions
|
|
91
|
+
|
|
92
|
+
# Flags passed to only ObjC files.
|
|
93
|
+
CFLAGS_OBJC_Release :=
|
|
94
|
+
|
|
95
|
+
# Flags passed to only ObjC++ files.
|
|
96
|
+
CFLAGS_OBJCC_Release :=
|
|
97
|
+
|
|
98
|
+
INCS_Release := \
|
|
99
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/include/node \
|
|
100
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/src \
|
|
101
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/openssl/config \
|
|
102
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/openssl/openssl/include \
|
|
103
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/uv/include \
|
|
104
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/zlib \
|
|
105
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/v8/include
|
|
106
|
+
|
|
107
|
+
OBJS :=
|
|
108
|
+
|
|
109
|
+
# Add to the list of files we specially track dependencies for.
|
|
110
|
+
all_deps += $(OBJS)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
### Rules for final target.
|
|
114
|
+
$(obj).target/node_modules/node-addon-api/node_addon_api.stamp: TOOLSET := $(TOOLSET)
|
|
115
|
+
$(obj).target/node_modules/node-addon-api/node_addon_api.stamp: FORCE_DO_CMD
|
|
116
|
+
$(call do_cmd,touch)
|
|
117
|
+
|
|
118
|
+
all_deps += $(obj).target/node_modules/node-addon-api/node_addon_api.stamp
|
|
119
|
+
# Add target alias
|
|
120
|
+
.PHONY: node_addon_api
|
|
121
|
+
node_addon_api: $(obj).target/node_modules/node-addon-api/node_addon_api.stamp
|
|
122
|
+
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
# This file is generated by gyp; do not edit.
|
|
2
|
+
|
|
3
|
+
TOOLSET := target
|
|
4
|
+
TARGET := node_addon_api_except
|
|
5
|
+
DEFS_Debug := \
|
|
6
|
+
'-DNODE_GYP_MODULE_NAME=node_addon_api_except' \
|
|
7
|
+
'-DUSING_UV_SHARED=1' \
|
|
8
|
+
'-DUSING_V8_SHARED=1' \
|
|
9
|
+
'-DV8_DEPRECATION_WARNINGS=1' \
|
|
10
|
+
'-D_GLIBCXX_USE_CXX11_ABI=1' \
|
|
11
|
+
'-D_FILE_OFFSET_BITS=64' \
|
|
12
|
+
'-D_DARWIN_USE_64_BIT_INODE=1' \
|
|
13
|
+
'-D_LARGEFILE_SOURCE' \
|
|
14
|
+
'-DOPENSSL_NO_PINSHARED' \
|
|
15
|
+
'-DOPENSSL_THREADS' \
|
|
16
|
+
'-DDEBUG' \
|
|
17
|
+
'-D_DEBUG'
|
|
18
|
+
|
|
19
|
+
# Flags passed to all source files.
|
|
20
|
+
CFLAGS_Debug := \
|
|
21
|
+
-O0 \
|
|
22
|
+
-gdwarf-2 \
|
|
23
|
+
-fno-strict-aliasing \
|
|
24
|
+
-mmacosx-version-min=11.0 \
|
|
25
|
+
-arch \
|
|
26
|
+
arm64 \
|
|
27
|
+
-Wall \
|
|
28
|
+
-Wendif-labels \
|
|
29
|
+
-W \
|
|
30
|
+
-Wno-unused-parameter
|
|
31
|
+
|
|
32
|
+
# Flags passed to only C files.
|
|
33
|
+
CFLAGS_C_Debug :=
|
|
34
|
+
|
|
35
|
+
# Flags passed to only C++ files.
|
|
36
|
+
CFLAGS_CC_Debug := \
|
|
37
|
+
-std=gnu++17 \
|
|
38
|
+
-stdlib=libc++ \
|
|
39
|
+
-fno-rtti \
|
|
40
|
+
-fno-exceptions
|
|
41
|
+
|
|
42
|
+
# Flags passed to only ObjC files.
|
|
43
|
+
CFLAGS_OBJC_Debug :=
|
|
44
|
+
|
|
45
|
+
# Flags passed to only ObjC++ files.
|
|
46
|
+
CFLAGS_OBJCC_Debug :=
|
|
47
|
+
|
|
48
|
+
INCS_Debug := \
|
|
49
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/include/node \
|
|
50
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/src \
|
|
51
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/openssl/config \
|
|
52
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/openssl/openssl/include \
|
|
53
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/uv/include \
|
|
54
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/zlib \
|
|
55
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/v8/include
|
|
56
|
+
|
|
57
|
+
DEFS_Release := \
|
|
58
|
+
'-DNODE_GYP_MODULE_NAME=node_addon_api_except' \
|
|
59
|
+
'-DUSING_UV_SHARED=1' \
|
|
60
|
+
'-DUSING_V8_SHARED=1' \
|
|
61
|
+
'-DV8_DEPRECATION_WARNINGS=1' \
|
|
62
|
+
'-D_GLIBCXX_USE_CXX11_ABI=1' \
|
|
63
|
+
'-D_FILE_OFFSET_BITS=64' \
|
|
64
|
+
'-D_DARWIN_USE_64_BIT_INODE=1' \
|
|
65
|
+
'-D_LARGEFILE_SOURCE' \
|
|
66
|
+
'-DOPENSSL_NO_PINSHARED' \
|
|
67
|
+
'-DOPENSSL_THREADS'
|
|
68
|
+
|
|
69
|
+
# Flags passed to all source files.
|
|
70
|
+
CFLAGS_Release := \
|
|
71
|
+
-O3 \
|
|
72
|
+
-gdwarf-2 \
|
|
73
|
+
-fno-strict-aliasing \
|
|
74
|
+
-mmacosx-version-min=11.0 \
|
|
75
|
+
-arch \
|
|
76
|
+
arm64 \
|
|
77
|
+
-Wall \
|
|
78
|
+
-Wendif-labels \
|
|
79
|
+
-W \
|
|
80
|
+
-Wno-unused-parameter
|
|
81
|
+
|
|
82
|
+
# Flags passed to only C files.
|
|
83
|
+
CFLAGS_C_Release :=
|
|
84
|
+
|
|
85
|
+
# Flags passed to only C++ files.
|
|
86
|
+
CFLAGS_CC_Release := \
|
|
87
|
+
-std=gnu++17 \
|
|
88
|
+
-stdlib=libc++ \
|
|
89
|
+
-fno-rtti \
|
|
90
|
+
-fno-exceptions
|
|
91
|
+
|
|
92
|
+
# Flags passed to only ObjC files.
|
|
93
|
+
CFLAGS_OBJC_Release :=
|
|
94
|
+
|
|
95
|
+
# Flags passed to only ObjC++ files.
|
|
96
|
+
CFLAGS_OBJCC_Release :=
|
|
97
|
+
|
|
98
|
+
INCS_Release := \
|
|
99
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/include/node \
|
|
100
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/src \
|
|
101
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/openssl/config \
|
|
102
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/openssl/openssl/include \
|
|
103
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/uv/include \
|
|
104
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/zlib \
|
|
105
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/v8/include
|
|
106
|
+
|
|
107
|
+
OBJS :=
|
|
108
|
+
|
|
109
|
+
# Add to the list of files we specially track dependencies for.
|
|
110
|
+
all_deps += $(OBJS)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
### Rules for final target.
|
|
114
|
+
$(obj).target/node_modules/node-addon-api/node_addon_api_except.stamp: TOOLSET := $(TOOLSET)
|
|
115
|
+
$(obj).target/node_modules/node-addon-api/node_addon_api_except.stamp: FORCE_DO_CMD
|
|
116
|
+
$(call do_cmd,touch)
|
|
117
|
+
|
|
118
|
+
all_deps += $(obj).target/node_modules/node-addon-api/node_addon_api_except.stamp
|
|
119
|
+
# Add target alias
|
|
120
|
+
.PHONY: node_addon_api_except
|
|
121
|
+
node_addon_api_except: $(obj).target/node_modules/node-addon-api/node_addon_api_except.stamp
|
|
122
|
+
|
|
123
|
+
# Add target alias to "all" target.
|
|
124
|
+
.PHONY: all
|
|
125
|
+
all: node_addon_api_except
|
|
126
|
+
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# This file is generated by gyp; do not edit.
|
|
2
|
+
|
|
3
|
+
TOOLSET := target
|
|
4
|
+
TARGET := node_addon_api_maybe
|
|
5
|
+
DEFS_Debug := \
|
|
6
|
+
'-DNODE_GYP_MODULE_NAME=node_addon_api_maybe' \
|
|
7
|
+
'-DUSING_UV_SHARED=1' \
|
|
8
|
+
'-DUSING_V8_SHARED=1' \
|
|
9
|
+
'-DV8_DEPRECATION_WARNINGS=1' \
|
|
10
|
+
'-D_GLIBCXX_USE_CXX11_ABI=1' \
|
|
11
|
+
'-D_FILE_OFFSET_BITS=64' \
|
|
12
|
+
'-D_DARWIN_USE_64_BIT_INODE=1' \
|
|
13
|
+
'-D_LARGEFILE_SOURCE' \
|
|
14
|
+
'-DOPENSSL_NO_PINSHARED' \
|
|
15
|
+
'-DOPENSSL_THREADS' \
|
|
16
|
+
'-DDEBUG' \
|
|
17
|
+
'-D_DEBUG'
|
|
18
|
+
|
|
19
|
+
# Flags passed to all source files.
|
|
20
|
+
CFLAGS_Debug := \
|
|
21
|
+
-O0 \
|
|
22
|
+
-gdwarf-2 \
|
|
23
|
+
-fno-strict-aliasing \
|
|
24
|
+
-mmacosx-version-min=11.0 \
|
|
25
|
+
-arch \
|
|
26
|
+
arm64 \
|
|
27
|
+
-Wall \
|
|
28
|
+
-Wendif-labels \
|
|
29
|
+
-W \
|
|
30
|
+
-Wno-unused-parameter
|
|
31
|
+
|
|
32
|
+
# Flags passed to only C files.
|
|
33
|
+
CFLAGS_C_Debug :=
|
|
34
|
+
|
|
35
|
+
# Flags passed to only C++ files.
|
|
36
|
+
CFLAGS_CC_Debug := \
|
|
37
|
+
-std=gnu++17 \
|
|
38
|
+
-stdlib=libc++ \
|
|
39
|
+
-fno-rtti \
|
|
40
|
+
-fno-exceptions
|
|
41
|
+
|
|
42
|
+
# Flags passed to only ObjC files.
|
|
43
|
+
CFLAGS_OBJC_Debug :=
|
|
44
|
+
|
|
45
|
+
# Flags passed to only ObjC++ files.
|
|
46
|
+
CFLAGS_OBJCC_Debug :=
|
|
47
|
+
|
|
48
|
+
INCS_Debug := \
|
|
49
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/include/node \
|
|
50
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/src \
|
|
51
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/openssl/config \
|
|
52
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/openssl/openssl/include \
|
|
53
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/uv/include \
|
|
54
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/zlib \
|
|
55
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/v8/include
|
|
56
|
+
|
|
57
|
+
DEFS_Release := \
|
|
58
|
+
'-DNODE_GYP_MODULE_NAME=node_addon_api_maybe' \
|
|
59
|
+
'-DUSING_UV_SHARED=1' \
|
|
60
|
+
'-DUSING_V8_SHARED=1' \
|
|
61
|
+
'-DV8_DEPRECATION_WARNINGS=1' \
|
|
62
|
+
'-D_GLIBCXX_USE_CXX11_ABI=1' \
|
|
63
|
+
'-D_FILE_OFFSET_BITS=64' \
|
|
64
|
+
'-D_DARWIN_USE_64_BIT_INODE=1' \
|
|
65
|
+
'-D_LARGEFILE_SOURCE' \
|
|
66
|
+
'-DOPENSSL_NO_PINSHARED' \
|
|
67
|
+
'-DOPENSSL_THREADS'
|
|
68
|
+
|
|
69
|
+
# Flags passed to all source files.
|
|
70
|
+
CFLAGS_Release := \
|
|
71
|
+
-O3 \
|
|
72
|
+
-gdwarf-2 \
|
|
73
|
+
-fno-strict-aliasing \
|
|
74
|
+
-mmacosx-version-min=11.0 \
|
|
75
|
+
-arch \
|
|
76
|
+
arm64 \
|
|
77
|
+
-Wall \
|
|
78
|
+
-Wendif-labels \
|
|
79
|
+
-W \
|
|
80
|
+
-Wno-unused-parameter
|
|
81
|
+
|
|
82
|
+
# Flags passed to only C files.
|
|
83
|
+
CFLAGS_C_Release :=
|
|
84
|
+
|
|
85
|
+
# Flags passed to only C++ files.
|
|
86
|
+
CFLAGS_CC_Release := \
|
|
87
|
+
-std=gnu++17 \
|
|
88
|
+
-stdlib=libc++ \
|
|
89
|
+
-fno-rtti \
|
|
90
|
+
-fno-exceptions
|
|
91
|
+
|
|
92
|
+
# Flags passed to only ObjC files.
|
|
93
|
+
CFLAGS_OBJC_Release :=
|
|
94
|
+
|
|
95
|
+
# Flags passed to only ObjC++ files.
|
|
96
|
+
CFLAGS_OBJCC_Release :=
|
|
97
|
+
|
|
98
|
+
INCS_Release := \
|
|
99
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/include/node \
|
|
100
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/src \
|
|
101
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/openssl/config \
|
|
102
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/openssl/openssl/include \
|
|
103
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/uv/include \
|
|
104
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/zlib \
|
|
105
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/v8/include
|
|
106
|
+
|
|
107
|
+
OBJS :=
|
|
108
|
+
|
|
109
|
+
# Add to the list of files we specially track dependencies for.
|
|
110
|
+
all_deps += $(OBJS)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
### Rules for final target.
|
|
114
|
+
$(obj).target/node_modules/node-addon-api/node_addon_api_maybe.stamp: TOOLSET := $(TOOLSET)
|
|
115
|
+
$(obj).target/node_modules/node-addon-api/node_addon_api_maybe.stamp: FORCE_DO_CMD
|
|
116
|
+
$(call do_cmd,touch)
|
|
117
|
+
|
|
118
|
+
all_deps += $(obj).target/node_modules/node-addon-api/node_addon_api_maybe.stamp
|
|
119
|
+
# Add target alias
|
|
120
|
+
.PHONY: node_addon_api_maybe
|
|
121
|
+
node_addon_api_maybe: $(obj).target/node_modules/node-addon-api/node_addon_api_maybe.stamp
|
|
122
|
+
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
# This file is generated by gyp; do not edit.
|
|
2
|
+
|
|
3
|
+
TOOLSET := target
|
|
4
|
+
TARGET := tree_sitter_kotlin_binding
|
|
5
|
+
DEFS_Debug := \
|
|
6
|
+
'-DNODE_GYP_MODULE_NAME=tree_sitter_kotlin_binding' \
|
|
7
|
+
'-DUSING_UV_SHARED=1' \
|
|
8
|
+
'-DUSING_V8_SHARED=1' \
|
|
9
|
+
'-DV8_DEPRECATION_WARNINGS=1' \
|
|
10
|
+
'-D_GLIBCXX_USE_CXX11_ABI=1' \
|
|
11
|
+
'-D_FILE_OFFSET_BITS=64' \
|
|
12
|
+
'-D_DARWIN_USE_64_BIT_INODE=1' \
|
|
13
|
+
'-D_LARGEFILE_SOURCE' \
|
|
14
|
+
'-DOPENSSL_NO_PINSHARED' \
|
|
15
|
+
'-DOPENSSL_THREADS' \
|
|
16
|
+
'-DNAPI_CPP_EXCEPTIONS' \
|
|
17
|
+
'-DBUILDING_NODE_EXTENSION' \
|
|
18
|
+
'-DDEBUG' \
|
|
19
|
+
'-D_DEBUG'
|
|
20
|
+
|
|
21
|
+
# Flags passed to all source files.
|
|
22
|
+
CFLAGS_Debug := \
|
|
23
|
+
-O0 \
|
|
24
|
+
-gdwarf-2 \
|
|
25
|
+
-fno-strict-aliasing \
|
|
26
|
+
-mmacosx-version-min=10.7 \
|
|
27
|
+
-arch \
|
|
28
|
+
arm64 \
|
|
29
|
+
-Wall \
|
|
30
|
+
-Wendif-labels \
|
|
31
|
+
-W \
|
|
32
|
+
-Wno-unused-parameter
|
|
33
|
+
|
|
34
|
+
# Flags passed to only C files.
|
|
35
|
+
CFLAGS_C_Debug :=
|
|
36
|
+
|
|
37
|
+
# Flags passed to only C++ files.
|
|
38
|
+
CFLAGS_CC_Debug := \
|
|
39
|
+
-std=gnu++17 \
|
|
40
|
+
-stdlib=libc++ \
|
|
41
|
+
-fno-rtti
|
|
42
|
+
|
|
43
|
+
# Flags passed to only ObjC files.
|
|
44
|
+
CFLAGS_OBJC_Debug :=
|
|
45
|
+
|
|
46
|
+
# Flags passed to only ObjC++ files.
|
|
47
|
+
CFLAGS_OBJCC_Debug :=
|
|
48
|
+
|
|
49
|
+
INCS_Debug := \
|
|
50
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/include/node \
|
|
51
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/src \
|
|
52
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/openssl/config \
|
|
53
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/openssl/openssl/include \
|
|
54
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/uv/include \
|
|
55
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/zlib \
|
|
56
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/v8/include \
|
|
57
|
+
-I$(srcdir)/src \
|
|
58
|
+
-I$(srcdir)/node_modules/node-addon-api
|
|
59
|
+
|
|
60
|
+
DEFS_Release := \
|
|
61
|
+
'-DNODE_GYP_MODULE_NAME=tree_sitter_kotlin_binding' \
|
|
62
|
+
'-DUSING_UV_SHARED=1' \
|
|
63
|
+
'-DUSING_V8_SHARED=1' \
|
|
64
|
+
'-DV8_DEPRECATION_WARNINGS=1' \
|
|
65
|
+
'-D_GLIBCXX_USE_CXX11_ABI=1' \
|
|
66
|
+
'-D_FILE_OFFSET_BITS=64' \
|
|
67
|
+
'-D_DARWIN_USE_64_BIT_INODE=1' \
|
|
68
|
+
'-D_LARGEFILE_SOURCE' \
|
|
69
|
+
'-DOPENSSL_NO_PINSHARED' \
|
|
70
|
+
'-DOPENSSL_THREADS' \
|
|
71
|
+
'-DNAPI_CPP_EXCEPTIONS' \
|
|
72
|
+
'-DBUILDING_NODE_EXTENSION'
|
|
73
|
+
|
|
74
|
+
# Flags passed to all source files.
|
|
75
|
+
CFLAGS_Release := \
|
|
76
|
+
-O3 \
|
|
77
|
+
-gdwarf-2 \
|
|
78
|
+
-fno-strict-aliasing \
|
|
79
|
+
-mmacosx-version-min=10.7 \
|
|
80
|
+
-arch \
|
|
81
|
+
arm64 \
|
|
82
|
+
-Wall \
|
|
83
|
+
-Wendif-labels \
|
|
84
|
+
-W \
|
|
85
|
+
-Wno-unused-parameter
|
|
86
|
+
|
|
87
|
+
# Flags passed to only C files.
|
|
88
|
+
CFLAGS_C_Release :=
|
|
89
|
+
|
|
90
|
+
# Flags passed to only C++ files.
|
|
91
|
+
CFLAGS_CC_Release := \
|
|
92
|
+
-std=gnu++17 \
|
|
93
|
+
-stdlib=libc++ \
|
|
94
|
+
-fno-rtti
|
|
95
|
+
|
|
96
|
+
# Flags passed to only ObjC files.
|
|
97
|
+
CFLAGS_OBJC_Release :=
|
|
98
|
+
|
|
99
|
+
# Flags passed to only ObjC++ files.
|
|
100
|
+
CFLAGS_OBJCC_Release :=
|
|
101
|
+
|
|
102
|
+
INCS_Release := \
|
|
103
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/include/node \
|
|
104
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/src \
|
|
105
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/openssl/config \
|
|
106
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/openssl/openssl/include \
|
|
107
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/uv/include \
|
|
108
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/zlib \
|
|
109
|
+
-I/Users/bigo/Library/Caches/node-gyp/22.21.1/deps/v8/include \
|
|
110
|
+
-I$(srcdir)/src \
|
|
111
|
+
-I$(srcdir)/node_modules/node-addon-api
|
|
112
|
+
|
|
113
|
+
OBJS := \
|
|
114
|
+
$(obj).target/$(TARGET)/bindings/node/binding.o \
|
|
115
|
+
$(obj).target/$(TARGET)/src/parser.o \
|
|
116
|
+
$(obj).target/$(TARGET)/src/scanner.o
|
|
117
|
+
|
|
118
|
+
# Add to the list of files we specially track dependencies for.
|
|
119
|
+
all_deps += $(OBJS)
|
|
120
|
+
|
|
121
|
+
# Make sure our dependencies are built before any of us.
|
|
122
|
+
$(OBJS): | $(obj).target/node_modules/node-addon-api/node_addon_api_except.stamp
|
|
123
|
+
|
|
124
|
+
# CFLAGS et al overrides must be target-local.
|
|
125
|
+
# See "Target-specific Variable Values" in the GNU Make manual.
|
|
126
|
+
$(OBJS): TOOLSET := $(TOOLSET)
|
|
127
|
+
$(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE))
|
|
128
|
+
$(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE))
|
|
129
|
+
$(OBJS): GYP_OBJCFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE)) $(CFLAGS_OBJC_$(BUILDTYPE))
|
|
130
|
+
$(OBJS): GYP_OBJCXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE)) $(CFLAGS_OBJCC_$(BUILDTYPE))
|
|
131
|
+
|
|
132
|
+
# Suffix rules, putting all outputs into $(obj).
|
|
133
|
+
|
|
134
|
+
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.c FORCE_DO_CMD
|
|
135
|
+
@$(call do_cmd,cc,1)
|
|
136
|
+
|
|
137
|
+
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD
|
|
138
|
+
@$(call do_cmd,cxx,1)
|
|
139
|
+
|
|
140
|
+
# Try building from generated source, too.
|
|
141
|
+
|
|
142
|
+
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.c FORCE_DO_CMD
|
|
143
|
+
@$(call do_cmd,cc,1)
|
|
144
|
+
|
|
145
|
+
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD
|
|
146
|
+
@$(call do_cmd,cxx,1)
|
|
147
|
+
|
|
148
|
+
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.c FORCE_DO_CMD
|
|
149
|
+
@$(call do_cmd,cc,1)
|
|
150
|
+
|
|
151
|
+
$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cc FORCE_DO_CMD
|
|
152
|
+
@$(call do_cmd,cxx,1)
|
|
153
|
+
|
|
154
|
+
# End of this set of suffix rules
|
|
155
|
+
### Rules for final target.
|
|
156
|
+
LDFLAGS_Debug := \
|
|
157
|
+
-undefined dynamic_lookup \
|
|
158
|
+
-Wl,-search_paths_first \
|
|
159
|
+
-mmacosx-version-min=10.7 \
|
|
160
|
+
-arch \
|
|
161
|
+
arm64 \
|
|
162
|
+
-L$(builddir) \
|
|
163
|
+
-stdlib=libc++
|
|
164
|
+
|
|
165
|
+
LIBTOOLFLAGS_Debug := \
|
|
166
|
+
-undefined dynamic_lookup \
|
|
167
|
+
-Wl,-search_paths_first
|
|
168
|
+
|
|
169
|
+
LDFLAGS_Release := \
|
|
170
|
+
-undefined dynamic_lookup \
|
|
171
|
+
-Wl,-search_paths_first \
|
|
172
|
+
-mmacosx-version-min=10.7 \
|
|
173
|
+
-arch \
|
|
174
|
+
arm64 \
|
|
175
|
+
-L$(builddir) \
|
|
176
|
+
-stdlib=libc++
|
|
177
|
+
|
|
178
|
+
LIBTOOLFLAGS_Release := \
|
|
179
|
+
-undefined dynamic_lookup \
|
|
180
|
+
-Wl,-search_paths_first
|
|
181
|
+
|
|
182
|
+
LIBS :=
|
|
183
|
+
|
|
184
|
+
$(builddir)/tree_sitter_kotlin_binding.node: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE))
|
|
185
|
+
$(builddir)/tree_sitter_kotlin_binding.node: LIBS := $(LIBS)
|
|
186
|
+
$(builddir)/tree_sitter_kotlin_binding.node: GYP_LIBTOOLFLAGS := $(LIBTOOLFLAGS_$(BUILDTYPE))
|
|
187
|
+
$(builddir)/tree_sitter_kotlin_binding.node: TOOLSET := $(TOOLSET)
|
|
188
|
+
$(builddir)/tree_sitter_kotlin_binding.node: $(OBJS) FORCE_DO_CMD
|
|
189
|
+
$(call do_cmd,solink_module)
|
|
190
|
+
|
|
191
|
+
all_deps += $(builddir)/tree_sitter_kotlin_binding.node
|
|
192
|
+
# Add target alias
|
|
193
|
+
.PHONY: tree_sitter_kotlin_binding
|
|
194
|
+
tree_sitter_kotlin_binding: $(builddir)/tree_sitter_kotlin_binding.node
|
|
195
|
+
|
|
196
|
+
# Short alias for building this executable.
|
|
197
|
+
.PHONY: tree_sitter_kotlin_binding.node
|
|
198
|
+
tree_sitter_kotlin_binding.node: $(builddir)/tree_sitter_kotlin_binding.node
|
|
199
|
+
|
|
200
|
+
# Add executable to "all" target.
|
|
201
|
+
.PHONY: all
|
|
202
|
+
all: $(builddir)/tree_sitter_kotlin_binding.node
|
|
203
|
+
|