buildkeel 0.0.1 → 0.2.0

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 (40) hide show
  1. package/LICENSE +49 -0
  2. package/README.md +35 -3
  3. package/THIRD-PARTY-NOTICES +231 -0
  4. package/antigravity/LICENSE +49 -0
  5. package/antigravity/THIRD-PARTY-NOTICES +231 -0
  6. package/antigravity/bin/bk-launch +38 -0
  7. package/antigravity/bin/bk-launch.cmd +50 -0
  8. package/antigravity/dist/hooks/main.js +20 -0
  9. package/antigravity/dist/server/main.js +479 -0
  10. package/antigravity/package.json +8 -0
  11. package/antigravity/plugin.json +6 -0
  12. package/antigravity/rules/buildkeel.md +72 -0
  13. package/antigravity/skills/bk-adhoc/SKILL.md +49 -0
  14. package/antigravity/skills/bk-approve/SKILL.md +52 -0
  15. package/antigravity/skills/bk-build/SKILL.md +61 -0
  16. package/antigravity/skills/bk-capture/SKILL.md +105 -0
  17. package/antigravity/skills/bk-done/SKILL.md +66 -0
  18. package/antigravity/skills/bk-impact/SKILL.md +53 -0
  19. package/antigravity/skills/bk-init/SKILL.md +42 -0
  20. package/antigravity/skills/bk-migrate/SKILL.md +19 -0
  21. package/antigravity/skills/bk-new/SKILL.md +112 -0
  22. package/antigravity/skills/bk-onboard/SKILL.md +135 -0
  23. package/antigravity/skills/bk-start/SKILL.md +44 -0
  24. package/antigravity/skills/bk-stats/SKILL.md +38 -0
  25. package/antigravity/skills/bk-status/SKILL.md +18 -0
  26. package/antigravity/templates/adhoc.md +15 -0
  27. package/antigravity/templates/bug.md +33 -0
  28. package/antigravity/templates/design.md +48 -0
  29. package/antigravity/templates/epic.md +30 -0
  30. package/antigravity/templates/idea.md +34 -0
  31. package/antigravity/templates/spec-driven/capability.md +28 -0
  32. package/antigravity/templates/spec-driven/proposal.md +39 -0
  33. package/antigravity/templates/spec-driven/spec-change.md +43 -0
  34. package/antigravity/templates/spec-driven/tasks.md +17 -0
  35. package/antigravity/templates/story.md +30 -0
  36. package/antigravity/templates/task.md +21 -0
  37. package/antigravity/templates/test-plan.md +29 -0
  38. package/cli.mjs +220 -0
  39. package/package.json +14 -9
  40. package/bin/buildkeel.js +0 -3
package/LICENSE ADDED
@@ -0,0 +1,49 @@
1
+ BuildKeel License
2
+
3
+ Copyright (c) 2026 BuildKeel. All rights reserved.
4
+
5
+ This license covers BuildKeel: its plugins for the AI coding tools it
6
+ supports, its installer, and everything they contain, including program
7
+ code, command prompts, skills, instructions, rules and templates (together,
8
+ "the software").
9
+
10
+ "You" means the person or organization using the software. For an
11
+ organization, it includes the organizations it controls, that control it, or
12
+ that are under common control with it.
13
+
14
+ 1. Free use. You may install and use the software free of charge, in any
15
+ organization and for any project, commercial or not, on as many machines
16
+ and for as many people as you like.
17
+
18
+ 2. Your work is yours. What you make with the software belongs to you,
19
+ including your spec trees, the artifacts BuildKeel drafts for you, and
20
+ templates you adapt from its built-in ones. You may keep, change and
21
+ share them as part of your projects.
22
+
23
+ 3. Limits. You may not:
24
+ (a) copy the software, except to install and use it or to keep backups;
25
+ (b) give, sell, rent, lend, publish or sublicense the software, or any
26
+ part of it, to anyone else;
27
+ (c) use the software, or any part of it, to build, train or improve a
28
+ product or service that competes with BuildKeel;
29
+ (d) reverse engineer, decompile or disassemble the software's program
30
+ code, except where the law allows it despite this limit;
31
+ (e) remove or change this license or any copyright notice in the
32
+ software.
33
+
34
+ 4. Ending. If you break this license, your rights under it end. If you stop
35
+ the breach within 30 days of being told about it, they continue as
36
+ before.
37
+
38
+ 5. Versions. Each version of the software is covered by the license that
39
+ comes with it. A later version may come with a different license.
40
+
41
+ 6. Third-party components. The software includes open source components,
42
+ which are covered by their own licenses, listed in THIRD-PARTY-NOTICES.
43
+
44
+ 7. Names. This license gives no right to use the BuildKeel name or logo.
45
+
46
+ 8. No warranty. The software is provided "as is", without warranty of any
47
+ kind, express or implied, including fitness for a particular purpose. To
48
+ the fullest extent the law allows, BuildKeel is not liable for any
49
+ claim, damage or loss arising from the software or its use.
package/README.md CHANGED
@@ -1,5 +1,37 @@
1
- # buildkeel
1
+ # BuildKeel
2
2
 
3
- The installer for BuildKeel, which keeps requirements, tests and code connected in Claude Code and Antigravity, from the business idea down to the commit.
3
+ BuildKeel keeps your specs, tests and code connected, and gives your coding agent that picture before it writes anything. It works in Claude Code and Antigravity, in one of two modes: **Spec-driven**, where capability specs say how your system behaves and each piece of work is a change to them, with no approvals; or **Full SDLC**, your team's chain from business idea down, with approvals and gates.
4
4
 
5
- BuildKeel is not released yet. See [buildkeel.ai](https://buildkeel.ai).
5
+ ## Install in Antigravity
6
+
7
+ You need Node.js 20 or later, and git. For every project you open in Antigravity:
8
+
9
+ ```sh
10
+ npx buildkeel install
11
+ ```
12
+
13
+ Or for one project only:
14
+
15
+ ```sh
16
+ npx buildkeel install --workspace /path/to/your/project
17
+ ```
18
+
19
+ Then quit Antigravity, open it again, start a new conversation and run `/bk-status`.
20
+
21
+ To update, run `npx buildkeel@latest update`; to remove, `npx buildkeel remove`. Add `--workspace /path/to/your/project` to either for a project install.
22
+
23
+ ## Install in Claude Code
24
+
25
+ Run these in Claude Code:
26
+
27
+ ```
28
+ /plugin marketplace add BuildKeel/buildkeel
29
+ /plugin install bk@buildkeel
30
+ ```
31
+
32
+ ## Learn more
33
+
34
+ - Website: [buildkeel.ai](https://buildkeel.ai)
35
+ - Documentation: [github.com/BuildKeel/buildkeel/tree/main/docs](https://github.com/BuildKeel/buildkeel/tree/main/docs)
36
+
37
+ BuildKeel is free to use, in any organization and for any project. See LICENSE.
@@ -0,0 +1,231 @@
1
+ BuildKeel includes the open source components below. Each is covered by its
2
+ own license, reproduced here in full.
3
+
4
+ ==============================================================================
5
+ @modelcontextprotocol/sdk 1.31.0 (MIT)
6
+ ==============================================================================
7
+
8
+ MIT License
9
+
10
+ Copyright (c) 2024 Anthropic, PBC
11
+
12
+ Permission is hereby granted, free of charge, to any person obtaining a copy
13
+ of this software and associated documentation files (the "Software"), to deal
14
+ in the Software without restriction, including without limitation the rights
15
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
16
+ copies of the Software, and to permit persons to whom the Software is
17
+ furnished to do so, subject to the following conditions:
18
+
19
+ The above copyright notice and this permission notice shall be included in all
20
+ copies or substantial portions of the Software.
21
+
22
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28
+ SOFTWARE.
29
+
30
+ ==============================================================================
31
+ ajv 8.20.0 (MIT)
32
+ ==============================================================================
33
+
34
+ The MIT License (MIT)
35
+
36
+ Copyright (c) 2015-2021 Evgeny Poberezkin
37
+
38
+ Permission is hereby granted, free of charge, to any person obtaining a copy
39
+ of this software and associated documentation files (the "Software"), to deal
40
+ in the Software without restriction, including without limitation the rights
41
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
42
+ copies of the Software, and to permit persons to whom the Software is
43
+ furnished to do so, subject to the following conditions:
44
+
45
+ The above copyright notice and this permission notice shall be included in all
46
+ copies or substantial portions of the Software.
47
+
48
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
49
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
50
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
51
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
52
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
53
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
54
+ SOFTWARE.
55
+
56
+ ==============================================================================
57
+ ajv-formats 3.0.1 (MIT)
58
+ ==============================================================================
59
+
60
+ MIT License
61
+
62
+ Copyright (c) 2020 Evgeny Poberezkin
63
+
64
+ Permission is hereby granted, free of charge, to any person obtaining a copy
65
+ of this software and associated documentation files (the "Software"), to deal
66
+ in the Software without restriction, including without limitation the rights
67
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
68
+ copies of the Software, and to permit persons to whom the Software is
69
+ furnished to do so, subject to the following conditions:
70
+
71
+ The above copyright notice and this permission notice shall be included in all
72
+ copies or substantial portions of the Software.
73
+
74
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
75
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
76
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
77
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
78
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
79
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
80
+ SOFTWARE.
81
+
82
+ ==============================================================================
83
+ fast-deep-equal 3.1.3 (MIT)
84
+ ==============================================================================
85
+
86
+ MIT License
87
+
88
+ Copyright (c) 2017 Evgeny Poberezkin
89
+
90
+ Permission is hereby granted, free of charge, to any person obtaining a copy
91
+ of this software and associated documentation files (the "Software"), to deal
92
+ in the Software without restriction, including without limitation the rights
93
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
94
+ copies of the Software, and to permit persons to whom the Software is
95
+ furnished to do so, subject to the following conditions:
96
+
97
+ The above copyright notice and this permission notice shall be included in all
98
+ copies or substantial portions of the Software.
99
+
100
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
101
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
102
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
103
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
104
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
105
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
106
+ SOFTWARE.
107
+
108
+ ==============================================================================
109
+ fast-uri 3.1.8 (BSD-3-Clause)
110
+ ==============================================================================
111
+
112
+ Copyright (c) 2011-2021, Gary Court until https://github.com/garycourt/uri-js/commit/a1acf730b4bba3f1097c9f52e7d9d3aba8cdcaae
113
+ Copyright (c) 2021-present The Fastify team <https://github.com/fastify/fastify#team>
114
+ All rights reserved.
115
+
116
+ Redistribution and use in source and binary forms, with or without
117
+ modification, are permitted provided that the following conditions are met:
118
+ * Redistributions of source code must retain the above copyright
119
+ notice, this list of conditions and the following disclaimer.
120
+ * Redistributions in binary form must reproduce the above copyright
121
+ notice, this list of conditions and the following disclaimer in the
122
+ documentation and/or other materials provided with the distribution.
123
+ * The names of any contributors may not be used to endorse or promote
124
+ products derived from this software without specific prior written
125
+ permission.
126
+
127
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
128
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
129
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
130
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY
131
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
132
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
133
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
134
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
135
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
136
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
137
+
138
+ * * *
139
+
140
+ The complete list of contributors can be found at:
141
+ - https://github.com/garycourt/uri-js/graphs/contributors
142
+
143
+ ==============================================================================
144
+ json-schema-traverse 1.0.0 (MIT)
145
+ ==============================================================================
146
+
147
+ MIT License
148
+
149
+ Copyright (c) 2017 Evgeny Poberezkin
150
+
151
+ Permission is hereby granted, free of charge, to any person obtaining a copy
152
+ of this software and associated documentation files (the "Software"), to deal
153
+ in the Software without restriction, including without limitation the rights
154
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
155
+ copies of the Software, and to permit persons to whom the Software is
156
+ furnished to do so, subject to the following conditions:
157
+
158
+ The above copyright notice and this permission notice shall be included in all
159
+ copies or substantial portions of the Software.
160
+
161
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
162
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
163
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
164
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
165
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
166
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
167
+ SOFTWARE.
168
+
169
+ ==============================================================================
170
+ yaml 2.9.1 (ISC)
171
+ ==============================================================================
172
+
173
+ Copyright Eemeli Aro <eemeli@gmail.com>
174
+
175
+ Permission to use, copy, modify, and/or distribute this software for any purpose
176
+ with or without fee is hereby granted, provided that the above copyright notice
177
+ and this permission notice appear in all copies.
178
+
179
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
180
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
181
+ FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
182
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
183
+ OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
184
+ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
185
+ THIS SOFTWARE.
186
+
187
+ ==============================================================================
188
+ zod 4.6.5 (MIT)
189
+ ==============================================================================
190
+
191
+ MIT License
192
+
193
+ Copyright (c) 2025 Colin McDonnell
194
+
195
+ Permission is hereby granted, free of charge, to any person obtaining a copy
196
+ of this software and associated documentation files (the "Software"), to deal
197
+ in the Software without restriction, including without limitation the rights
198
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
199
+ copies of the Software, and to permit persons to whom the Software is
200
+ furnished to do so, subject to the following conditions:
201
+
202
+ The above copyright notice and this permission notice shall be included in all
203
+ copies or substantial portions of the Software.
204
+
205
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
206
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
207
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
208
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
209
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
210
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
211
+ SOFTWARE.
212
+
213
+ ==============================================================================
214
+ zod-to-json-schema 3.25.2 (ISC)
215
+ ==============================================================================
216
+
217
+ ISC License
218
+
219
+ Copyright (c) 2020, Stefan Terdell
220
+
221
+ Permission to use, copy, modify, and/or distribute this software for any
222
+ purpose with or without fee is hereby granted, provided that the above
223
+ copyright notice and this permission notice appear in all copies.
224
+
225
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
226
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
227
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
228
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
229
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
230
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
231
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -0,0 +1,49 @@
1
+ BuildKeel License
2
+
3
+ Copyright (c) 2026 BuildKeel. All rights reserved.
4
+
5
+ This license covers BuildKeel: its plugins for the AI coding tools it
6
+ supports, its installer, and everything they contain, including program
7
+ code, command prompts, skills, instructions, rules and templates (together,
8
+ "the software").
9
+
10
+ "You" means the person or organization using the software. For an
11
+ organization, it includes the organizations it controls, that control it, or
12
+ that are under common control with it.
13
+
14
+ 1. Free use. You may install and use the software free of charge, in any
15
+ organization and for any project, commercial or not, on as many machines
16
+ and for as many people as you like.
17
+
18
+ 2. Your work is yours. What you make with the software belongs to you,
19
+ including your spec trees, the artifacts BuildKeel drafts for you, and
20
+ templates you adapt from its built-in ones. You may keep, change and
21
+ share them as part of your projects.
22
+
23
+ 3. Limits. You may not:
24
+ (a) copy the software, except to install and use it or to keep backups;
25
+ (b) give, sell, rent, lend, publish or sublicense the software, or any
26
+ part of it, to anyone else;
27
+ (c) use the software, or any part of it, to build, train or improve a
28
+ product or service that competes with BuildKeel;
29
+ (d) reverse engineer, decompile or disassemble the software's program
30
+ code, except where the law allows it despite this limit;
31
+ (e) remove or change this license or any copyright notice in the
32
+ software.
33
+
34
+ 4. Ending. If you break this license, your rights under it end. If you stop
35
+ the breach within 30 days of being told about it, they continue as
36
+ before.
37
+
38
+ 5. Versions. Each version of the software is covered by the license that
39
+ comes with it. A later version may come with a different license.
40
+
41
+ 6. Third-party components. The software includes open source components,
42
+ which are covered by their own licenses, listed in THIRD-PARTY-NOTICES.
43
+
44
+ 7. Names. This license gives no right to use the BuildKeel name or logo.
45
+
46
+ 8. No warranty. The software is provided "as is", without warranty of any
47
+ kind, express or implied, including fitness for a particular purpose. To
48
+ the fullest extent the law allows, BuildKeel is not liable for any
49
+ claim, damage or loss arising from the software or its use.
@@ -0,0 +1,231 @@
1
+ BuildKeel includes the open source components below. Each is covered by its
2
+ own license, reproduced here in full.
3
+
4
+ ==============================================================================
5
+ @modelcontextprotocol/sdk 1.31.0 (MIT)
6
+ ==============================================================================
7
+
8
+ MIT License
9
+
10
+ Copyright (c) 2024 Anthropic, PBC
11
+
12
+ Permission is hereby granted, free of charge, to any person obtaining a copy
13
+ of this software and associated documentation files (the "Software"), to deal
14
+ in the Software without restriction, including without limitation the rights
15
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
16
+ copies of the Software, and to permit persons to whom the Software is
17
+ furnished to do so, subject to the following conditions:
18
+
19
+ The above copyright notice and this permission notice shall be included in all
20
+ copies or substantial portions of the Software.
21
+
22
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28
+ SOFTWARE.
29
+
30
+ ==============================================================================
31
+ ajv 8.20.0 (MIT)
32
+ ==============================================================================
33
+
34
+ The MIT License (MIT)
35
+
36
+ Copyright (c) 2015-2021 Evgeny Poberezkin
37
+
38
+ Permission is hereby granted, free of charge, to any person obtaining a copy
39
+ of this software and associated documentation files (the "Software"), to deal
40
+ in the Software without restriction, including without limitation the rights
41
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
42
+ copies of the Software, and to permit persons to whom the Software is
43
+ furnished to do so, subject to the following conditions:
44
+
45
+ The above copyright notice and this permission notice shall be included in all
46
+ copies or substantial portions of the Software.
47
+
48
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
49
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
50
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
51
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
52
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
53
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
54
+ SOFTWARE.
55
+
56
+ ==============================================================================
57
+ ajv-formats 3.0.1 (MIT)
58
+ ==============================================================================
59
+
60
+ MIT License
61
+
62
+ Copyright (c) 2020 Evgeny Poberezkin
63
+
64
+ Permission is hereby granted, free of charge, to any person obtaining a copy
65
+ of this software and associated documentation files (the "Software"), to deal
66
+ in the Software without restriction, including without limitation the rights
67
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
68
+ copies of the Software, and to permit persons to whom the Software is
69
+ furnished to do so, subject to the following conditions:
70
+
71
+ The above copyright notice and this permission notice shall be included in all
72
+ copies or substantial portions of the Software.
73
+
74
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
75
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
76
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
77
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
78
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
79
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
80
+ SOFTWARE.
81
+
82
+ ==============================================================================
83
+ fast-deep-equal 3.1.3 (MIT)
84
+ ==============================================================================
85
+
86
+ MIT License
87
+
88
+ Copyright (c) 2017 Evgeny Poberezkin
89
+
90
+ Permission is hereby granted, free of charge, to any person obtaining a copy
91
+ of this software and associated documentation files (the "Software"), to deal
92
+ in the Software without restriction, including without limitation the rights
93
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
94
+ copies of the Software, and to permit persons to whom the Software is
95
+ furnished to do so, subject to the following conditions:
96
+
97
+ The above copyright notice and this permission notice shall be included in all
98
+ copies or substantial portions of the Software.
99
+
100
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
101
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
102
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
103
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
104
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
105
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
106
+ SOFTWARE.
107
+
108
+ ==============================================================================
109
+ fast-uri 3.1.8 (BSD-3-Clause)
110
+ ==============================================================================
111
+
112
+ Copyright (c) 2011-2021, Gary Court until https://github.com/garycourt/uri-js/commit/a1acf730b4bba3f1097c9f52e7d9d3aba8cdcaae
113
+ Copyright (c) 2021-present The Fastify team <https://github.com/fastify/fastify#team>
114
+ All rights reserved.
115
+
116
+ Redistribution and use in source and binary forms, with or without
117
+ modification, are permitted provided that the following conditions are met:
118
+ * Redistributions of source code must retain the above copyright
119
+ notice, this list of conditions and the following disclaimer.
120
+ * Redistributions in binary form must reproduce the above copyright
121
+ notice, this list of conditions and the following disclaimer in the
122
+ documentation and/or other materials provided with the distribution.
123
+ * The names of any contributors may not be used to endorse or promote
124
+ products derived from this software without specific prior written
125
+ permission.
126
+
127
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
128
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
129
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
130
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY
131
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
132
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
133
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
134
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
135
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
136
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
137
+
138
+ * * *
139
+
140
+ The complete list of contributors can be found at:
141
+ - https://github.com/garycourt/uri-js/graphs/contributors
142
+
143
+ ==============================================================================
144
+ json-schema-traverse 1.0.0 (MIT)
145
+ ==============================================================================
146
+
147
+ MIT License
148
+
149
+ Copyright (c) 2017 Evgeny Poberezkin
150
+
151
+ Permission is hereby granted, free of charge, to any person obtaining a copy
152
+ of this software and associated documentation files (the "Software"), to deal
153
+ in the Software without restriction, including without limitation the rights
154
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
155
+ copies of the Software, and to permit persons to whom the Software is
156
+ furnished to do so, subject to the following conditions:
157
+
158
+ The above copyright notice and this permission notice shall be included in all
159
+ copies or substantial portions of the Software.
160
+
161
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
162
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
163
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
164
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
165
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
166
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
167
+ SOFTWARE.
168
+
169
+ ==============================================================================
170
+ yaml 2.9.1 (ISC)
171
+ ==============================================================================
172
+
173
+ Copyright Eemeli Aro <eemeli@gmail.com>
174
+
175
+ Permission to use, copy, modify, and/or distribute this software for any purpose
176
+ with or without fee is hereby granted, provided that the above copyright notice
177
+ and this permission notice appear in all copies.
178
+
179
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
180
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
181
+ FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
182
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
183
+ OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
184
+ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
185
+ THIS SOFTWARE.
186
+
187
+ ==============================================================================
188
+ zod 4.6.5 (MIT)
189
+ ==============================================================================
190
+
191
+ MIT License
192
+
193
+ Copyright (c) 2025 Colin McDonnell
194
+
195
+ Permission is hereby granted, free of charge, to any person obtaining a copy
196
+ of this software and associated documentation files (the "Software"), to deal
197
+ in the Software without restriction, including without limitation the rights
198
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
199
+ copies of the Software, and to permit persons to whom the Software is
200
+ furnished to do so, subject to the following conditions:
201
+
202
+ The above copyright notice and this permission notice shall be included in all
203
+ copies or substantial portions of the Software.
204
+
205
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
206
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
207
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
208
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
209
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
210
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
211
+ SOFTWARE.
212
+
213
+ ==============================================================================
214
+ zod-to-json-schema 3.25.2 (ISC)
215
+ ==============================================================================
216
+
217
+ ISC License
218
+
219
+ Copyright (c) 2020, Stefan Terdell
220
+
221
+ Permission to use, copy, modify, and/or distribute this software for any
222
+ purpose with or without fee is hereby granted, provided that the above
223
+ copyright notice and this permission notice appear in all copies.
224
+
225
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
226
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
227
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
228
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
229
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
230
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
231
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -0,0 +1,38 @@
1
+ #!/bin/sh
2
+ # Starts a BuildKeel component after checking for Node.js 20 or later.
3
+ # Usage: bk-launch <server|hook> [args...]
4
+ # BK_LAUNCH_DIST overrides the directory holding the built components.
5
+ set -u
6
+
7
+ REQUIRED_MAJOR=20
8
+
9
+ target="${1:-}"
10
+ case "$target" in
11
+ server|hook) shift ;;
12
+ *) echo "usage: bk-launch <server|hook> [args...]" >&2; exit 64 ;;
13
+ esac
14
+
15
+ here=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
16
+ dist="${BK_LAUNCH_DIST:-$here/../dist}"
17
+ case "$target" in
18
+ server) entry="$dist/server/main.js" ;;
19
+ hook) entry="$dist/hooks/main.js" ;;
20
+ esac
21
+
22
+ fail() {
23
+ cat >&2 <<MSG
24
+ BuildKeel needs Node.js $REQUIRED_MAJOR or later. $1
25
+ Install it from https://nodejs.org or with your version manager (for example "nvm install $REQUIRED_MAJOR"), then start a new session.
26
+ MSG
27
+ exit 1
28
+ }
29
+
30
+ command -v node >/dev/null 2>&1 || fail "Node.js was not found on your PATH."
31
+ version=$(node -p "process.versions.node" 2>/dev/null) || fail "Node.js could not be run."
32
+ major=${version%%.*}
33
+ case "$major" in
34
+ ''|*[!0-9]*) fail "Could not read the Node.js version." ;;
35
+ esac
36
+ [ "$major" -ge "$REQUIRED_MAJOR" ] || fail "Found Node.js $version."
37
+
38
+ exec node "$entry" "$@"