@unity-china/codely-cli 1.0.0-rc.4 → 1.0.0-rc.6

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.
@@ -0,0 +1,373 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2025 Google LLC
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ /**
7
+ * @license
8
+ * Copyright 2026
9
+ * SPDX-License-Identifier: Apache-2.0
10
+ */
11
+ /**
12
+ * @license
13
+ * Copyright 2025 Qwen
14
+ * SPDX-License-Identifier: Apache-2.0
15
+ */
16
+ /**
17
+ * @license
18
+ * Copyright 2025 Codely
19
+ * SPDX-License-Identifier: Apache-2.0
20
+ *
21
+ * Codely OAuth2 implementation:
22
+ * - Prefer device flow for IDE/CLI-friendly authentication.
23
+ * - Keep legacy browser callback flow as a fallback path.
24
+ * - Implements credential caching and automatic token refresh.
25
+ */
26
+ /**
27
+ * @license
28
+ * Copyright 2025 Codely
29
+ * SPDX-License-Identifier: Apache-2.0
30
+ */
31
+ /**
32
+ * @license
33
+ * Copyright 2026 Google LLC
34
+ * SPDX-License-Identifier: Apache-2.0
35
+ */
36
+ /**
37
+ * @license
38
+ * Copyright 2026 Codely
39
+ * SPDX-License-Identifier: Apache-2.0
40
+ */
41
+
42
+ Bundled license information:
43
+
44
+ safe-buffer/index.js:
45
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
46
+
47
+ @google/genai/dist/node/index.mjs:
48
+ @google/genai/dist/node/index.mjs:
49
+ /**
50
+ * @license
51
+ * Copyright 2025 Google LLC
52
+ * SPDX-License-Identifier: Apache-2.0
53
+ */
54
+
55
+ @grpc/proto-loader/build/src/util.js:
56
+ @grpc/proto-loader/build/src/index.js:
57
+ /**
58
+ * @license
59
+ * Copyright 2018 gRPC authors.
60
+ *
61
+ * Licensed under the Apache License, Version 2.0 (the "License");
62
+ * you may not use this file except in compliance with the License.
63
+ * You may obtain a copy of the License at
64
+ *
65
+ * http://www.apache.org/licenses/LICENSE-2.0
66
+ *
67
+ * Unless required by applicable law or agreed to in writing, software
68
+ * distributed under the License is distributed on an "AS IS" BASIS,
69
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
70
+ * See the License for the specific language governing permissions and
71
+ * limitations under the License.
72
+ *
73
+ */
74
+
75
+ long/umd/index.js:
76
+ /**
77
+ * @license
78
+ * Copyright 2009 The Closure Library Authors
79
+ * Copyright 2020 Daniel Wirtz / The long.js Authors.
80
+ *
81
+ * Licensed under the Apache License, Version 2.0 (the "License");
82
+ * you may not use this file except in compliance with the License.
83
+ * You may obtain a copy of the License at
84
+ *
85
+ * http://www.apache.org/licenses/LICENSE-2.0
86
+ *
87
+ * Unless required by applicable law or agreed to in writing, software
88
+ * distributed under the License is distributed on an "AS IS" BASIS,
89
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
90
+ * See the License for the specific language governing permissions and
91
+ * limitations under the License.
92
+ *
93
+ * SPDX-License-Identifier: Apache-2.0
94
+ */
95
+
96
+ uri-js/dist/es5/uri.all.js:
97
+ /** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
98
+
99
+ mime-db/index.js:
100
+ /*!
101
+ * mime-db
102
+ * Copyright(c) 2014 Jonathan Ong
103
+ * Copyright(c) 2015-2022 Douglas Christopher Wilson
104
+ * MIT Licensed
105
+ */
106
+
107
+ mime-types/index.js:
108
+ /*!
109
+ * mime-types
110
+ * Copyright(c) 2014 Jonathan Ong
111
+ * Copyright(c) 2015 Douglas Christopher Wilson
112
+ * MIT Licensed
113
+ */
114
+
115
+ is-extglob/index.js:
116
+ /*!
117
+ * is-extglob <https://github.com/jonschlinkert/is-extglob>
118
+ *
119
+ * Copyright (c) 2014-2016, Jon Schlinkert.
120
+ * Licensed under the MIT License.
121
+ */
122
+
123
+ is-glob/index.js:
124
+ /*!
125
+ * is-glob <https://github.com/jonschlinkert/is-glob>
126
+ *
127
+ * Copyright (c) 2014-2017, Jon Schlinkert.
128
+ * Released under the MIT License.
129
+ */
130
+
131
+ is-number/index.js:
132
+ /*!
133
+ * is-number <https://github.com/jonschlinkert/is-number>
134
+ *
135
+ * Copyright (c) 2014-present, Jon Schlinkert.
136
+ * Released under the MIT License.
137
+ */
138
+
139
+ to-regex-range/index.js:
140
+ /*!
141
+ * to-regex-range <https://github.com/micromatch/to-regex-range>
142
+ *
143
+ * Copyright (c) 2015-present, Jon Schlinkert.
144
+ * Released under the MIT License.
145
+ */
146
+
147
+ fill-range/index.js:
148
+ /*!
149
+ * fill-range <https://github.com/jonschlinkert/fill-range>
150
+ *
151
+ * Copyright (c) 2014-present, Jon Schlinkert.
152
+ * Licensed under the MIT License.
153
+ */
154
+
155
+ queue-microtask/index.js:
156
+ /*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
157
+
158
+ run-parallel/index.js:
159
+ /*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
160
+
161
+ undici/lib/web/fetch/body.js:
162
+ formdata-polyfill/esm.min.js:
163
+ /*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
164
+
165
+ undici/lib/web/websocket/frame.js:
166
+ /*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */
167
+
168
+ fzf/dist/fzf.es.js:
169
+ /** @license
170
+ * fzf v0.5.2
171
+ * Copyright (c) 2021 Ajit
172
+ * Licensed under BSD 3-Clause
173
+ */
174
+
175
+ yargs-parser/build/lib/string-utils.js:
176
+ yargs-parser/build/lib/tokenize-arg-string.js:
177
+ yargs-parser/build/lib/yargs-parser-types.js:
178
+ yargs-parser/build/lib/yargs-parser.js:
179
+ /**
180
+ * @license
181
+ * Copyright (c) 2016, Contributors
182
+ * SPDX-License-Identifier: ISC
183
+ */
184
+
185
+ yargs-parser/build/lib/index.js:
186
+ /**
187
+ * @fileoverview Main entrypoint for libraries using yargs-parser in Node.js
188
+ * CJS and ESM environments.
189
+ *
190
+ * @license
191
+ * Copyright (c) 2016, Contributors
192
+ * SPDX-License-Identifier: ISC
193
+ */
194
+
195
+ mcp-proxy/dist/stdio-CfAxSAGj.js:
196
+ /*!
197
+ * depd
198
+ * Copyright(c) 2014-2018 Douglas Christopher Wilson
199
+ * MIT Licensed
200
+ */
201
+ /** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
202
+
203
+ web-streams-polyfill/dist/ponyfill.es2018.js:
204
+ /**
205
+ * @license
206
+ * web-streams-polyfill v3.3.3
207
+ * Copyright 2024 Mattias Buelens, Diwank Singh Tomer and other contributors.
208
+ * This code is released under the MIT license.
209
+ * SPDX-License-Identifier: MIT
210
+ */
211
+
212
+ fetch-blob/index.js:
213
+ /*! fetch-blob. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
214
+
215
+ node-domexception/index.js:
216
+ /*! node-domexception. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */
217
+
218
+ react/cjs/react.production.js:
219
+ /**
220
+ * @license React
221
+ * react.production.js
222
+ *
223
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
224
+ *
225
+ * This source code is licensed under the MIT license found in the
226
+ * LICENSE file in the root directory of this source tree.
227
+ */
228
+
229
+ react/cjs/react.development.js:
230
+ /**
231
+ * @license React
232
+ * react.development.js
233
+ *
234
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
235
+ *
236
+ * This source code is licensed under the MIT license found in the
237
+ * LICENSE file in the root directory of this source tree.
238
+ */
239
+
240
+ react/cjs/react-jsx-runtime.production.js:
241
+ /**
242
+ * @license React
243
+ * react-jsx-runtime.production.js
244
+ *
245
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
246
+ *
247
+ * This source code is licensed under the MIT license found in the
248
+ * LICENSE file in the root directory of this source tree.
249
+ */
250
+
251
+ react/cjs/react-jsx-runtime.development.js:
252
+ /**
253
+ * @license React
254
+ * react-jsx-runtime.development.js
255
+ *
256
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
257
+ *
258
+ * This source code is licensed under the MIT license found in the
259
+ * LICENSE file in the root directory of this source tree.
260
+ */
261
+
262
+ react-reconciler/cjs/react-reconciler-constants.production.js:
263
+ /**
264
+ * @license React
265
+ * react-reconciler-constants.production.js
266
+ *
267
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
268
+ *
269
+ * This source code is licensed under the MIT license found in the
270
+ * LICENSE file in the root directory of this source tree.
271
+ */
272
+
273
+ react-reconciler/cjs/react-reconciler-constants.development.js:
274
+ /**
275
+ * @license React
276
+ * react-reconciler-constants.development.js
277
+ *
278
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
279
+ *
280
+ * This source code is licensed under the MIT license found in the
281
+ * LICENSE file in the root directory of this source tree.
282
+ */
283
+
284
+ scheduler/cjs/scheduler.production.js:
285
+ /**
286
+ * @license React
287
+ * scheduler.production.js
288
+ *
289
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
290
+ *
291
+ * This source code is licensed under the MIT license found in the
292
+ * LICENSE file in the root directory of this source tree.
293
+ */
294
+
295
+ scheduler/cjs/scheduler.development.js:
296
+ /**
297
+ * @license React
298
+ * scheduler.development.js
299
+ *
300
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
301
+ *
302
+ * This source code is licensed under the MIT license found in the
303
+ * LICENSE file in the root directory of this source tree.
304
+ */
305
+
306
+ react-reconciler/cjs/react-reconciler.production.js:
307
+ /**
308
+ * @license React
309
+ * react-reconciler.production.js
310
+ *
311
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
312
+ *
313
+ * This source code is licensed under the MIT license found in the
314
+ * LICENSE file in the root directory of this source tree.
315
+ */
316
+
317
+ react-reconciler/cjs/react-reconciler.development.js:
318
+ /**
319
+ * @license React
320
+ * react-reconciler.development.js
321
+ *
322
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
323
+ *
324
+ * This source code is licensed under the MIT license found in the
325
+ * LICENSE file in the root directory of this source tree.
326
+ */
327
+
328
+ react-devtools-core/dist/backend.js:
329
+ /**
330
+ * @license React
331
+ * react-debug-tools.production.js
332
+ *
333
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
334
+ *
335
+ * This source code is licensed under the MIT license found in the
336
+ * LICENSE file in the root directory of this source tree.
337
+ */
338
+ /**
339
+ * @license React
340
+ * react.production.js
341
+ *
342
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
343
+ *
344
+ * This source code is licensed under the MIT license found in the
345
+ * LICENSE file in the root directory of this source tree.
346
+ */
347
+
348
+ react-is/cjs/react-is.production.min.js:
349
+ /** @license React v16.13.1
350
+ * react-is.production.min.js
351
+ *
352
+ * Copyright (c) Facebook, Inc. and its affiliates.
353
+ *
354
+ * This source code is licensed under the MIT license found in the
355
+ * LICENSE file in the root directory of this source tree.
356
+ */
357
+
358
+ react-is/cjs/react-is.development.js:
359
+ /** @license React v16.13.1
360
+ * react-is.development.js
361
+ *
362
+ * Copyright (c) Facebook, Inc. and its affiliates.
363
+ *
364
+ * This source code is licensed under the MIT license found in the
365
+ * LICENSE file in the root directory of this source tree.
366
+ */
367
+
368
+ object-assign/index.js:
369
+ /*
370
+ object-assign
371
+ (c) Sindre Sorhus
372
+ @license MIT
373
+ */
@@ -0,0 +1,137 @@
1
+ # Plan Mode policy: deny-all + read-only whitelist + plans dir write exception.
2
+ # Active only when ApprovalMode = "plan".
3
+ #
4
+ # Priority bands (tiers):
5
+ # - Default policies (TOML): 1 + priority/1000
6
+ # 60: Catch-all deny for plan mode (becomes 1.060)
7
+ # 70: Explicit allows for plan mode (becomes 1.070, overrides deny)
8
+
9
+ # --- Catch-all deny for plan mode ---
10
+ [[rule]]
11
+ decision = "deny"
12
+ priority = 60
13
+ modes = ["plan"]
14
+ deny_message = "You are in Plan Mode. Only approved planning tools (including read/search/multimedia) and writing plans to the plans directory are allowed. Use exit_plan_mode to request approval for your plan."
15
+
16
+ # --- Read-only tools allowed in plan mode ---
17
+ [[rule]]
18
+ toolName = "glob"
19
+ decision = "allow"
20
+ priority = 70
21
+ modes = ["plan"]
22
+
23
+ [[rule]]
24
+ toolName = "search_file_content"
25
+ decision = "allow"
26
+ priority = 70
27
+ modes = ["plan"]
28
+
29
+ [[rule]]
30
+ toolName = "list_directory"
31
+ decision = "allow"
32
+ priority = 70
33
+ modes = ["plan"]
34
+
35
+ [[rule]]
36
+ toolName = "read_file"
37
+ decision = "allow"
38
+ priority = 70
39
+ modes = ["plan"]
40
+
41
+ [[rule]]
42
+ toolName = "read_many_files"
43
+ decision = "allow"
44
+ priority = 70
45
+ modes = ["plan"]
46
+
47
+ [[rule]]
48
+ toolName = "analyze_multimedia"
49
+ decision = "allow"
50
+ priority = 70
51
+ modes = ["plan"]
52
+
53
+ [[rule]]
54
+ toolName = "web_search"
55
+ decision = "allow"
56
+ priority = 70
57
+ modes = ["plan"]
58
+
59
+ [[rule]]
60
+ toolName = "sequential_thinking"
61
+ decision = "allow"
62
+ priority = 70
63
+ modes = ["plan"]
64
+
65
+ [[rule]]
66
+ toolName = "job_create"
67
+ decision = "allow"
68
+ priority = 70
69
+ modes = ["plan"]
70
+
71
+ [[rule]]
72
+ toolName = "job_get"
73
+ decision = "allow"
74
+ priority = 70
75
+ modes = ["plan"]
76
+
77
+ [[rule]]
78
+ toolName = "job_update"
79
+ decision = "allow"
80
+ priority = 70
81
+ modes = ["plan"]
82
+
83
+ [[rule]]
84
+ toolName = "job_list"
85
+ decision = "allow"
86
+ priority = 70
87
+ modes = ["plan"]
88
+
89
+ # --- Allow writing plan files (.md) to the plans directory only ---
90
+ # The argsPattern matches the JSON-serialized file_path within:
91
+ # ~/.codely-cli/tmp/<64-hex-project-hash>/plans/<name>.md
92
+ # Supports both / and escaped \\ separators.
93
+ [[rule]]
94
+ toolName = "write_file"
95
+ decision = "allow"
96
+ priority = 70
97
+ modes = ["plan"]
98
+ argsPattern = "\"file_path\"\\s*:\\s*\"[^\"]*[/\\\\]+\\.codely-cli[/\\\\]+tmp[/\\\\]+[a-f0-9]{64}[/\\\\]+plans[/\\\\]+[a-zA-Z0-9_\\-][a-zA-Z0-9_\\-.]*\\.md\""
99
+
100
+ [[rule]]
101
+ toolName = "replace"
102
+ decision = "allow"
103
+ priority = 70
104
+ modes = ["plan"]
105
+ argsPattern = "\"file_path\"\\s*:\\s*\"[^\"]*[/\\\\]+\\.codely-cli[/\\\\]+tmp[/\\\\]+[a-f0-9]{64}[/\\\\]+plans[/\\\\]+[a-zA-Z0-9_\\-][a-zA-Z0-9_\\-.]*\\.md\""
106
+
107
+ # --- exit_plan_mode requires user approval ---
108
+ [[rule]]
109
+ toolName = "exit_plan_mode"
110
+ decision = "ask_user"
111
+ priority = 70
112
+ modes = ["plan"]
113
+
114
+ [[rule]]
115
+ toolName = "ask_user"
116
+ decision = "ask_user"
117
+ priority = 70
118
+ modes = ["plan"]
119
+
120
+ # --- Task dispatch allowed in plan mode (for exploration / context gathering) ---
121
+ [[rule]]
122
+ toolName = "task"
123
+ decision = "allow"
124
+ priority = 70
125
+ modes = ["plan"]
126
+
127
+ [[rule]]
128
+ toolName = "task_output"
129
+ decision = "allow"
130
+ priority = 70
131
+ modes = ["plan"]
132
+
133
+ [[rule]]
134
+ toolName = "task_stop"
135
+ decision = "allow"
136
+ priority = 70
137
+ modes = ["plan"]
@@ -0,0 +1,75 @@
1
+ # Read-only tools that are always allowed without confirmation.
2
+ # These tools only read data and cannot modify the filesystem or execute commands.
3
+ #
4
+ # Priority bands (tiers):
5
+ # - Default policies (TOML): 1 + priority/1000 (e.g., priority 50 → 1.050)
6
+ # - User policies (TOML): 2 + priority/1000
7
+ # - Admin policies (TOML): 3 + priority/1000
8
+
9
+ [[rule]]
10
+ toolName = "glob"
11
+ decision = "allow"
12
+ priority = 50
13
+
14
+ [[rule]]
15
+ toolName = "search_file_content"
16
+ decision = "allow"
17
+ priority = 50
18
+
19
+ [[rule]]
20
+ toolName = "list_directory"
21
+ decision = "allow"
22
+ priority = 50
23
+
24
+ [[rule]]
25
+ toolName = "read_file"
26
+ decision = "allow"
27
+ priority = 50
28
+
29
+ [[rule]]
30
+ toolName = "read_many_files"
31
+ decision = "allow"
32
+ priority = 50
33
+
34
+ [[rule]]
35
+ toolName = "web_search"
36
+ decision = "allow"
37
+ priority = 50
38
+
39
+ [[rule]]
40
+ toolName = "sequential_thinking"
41
+ decision = "allow"
42
+ priority = 50
43
+
44
+ [[rule]]
45
+ toolName = "analyze_multimedia"
46
+ decision = "allow"
47
+ priority = 50
48
+
49
+ # Job tools are planning/tracking tools that don't modify the filesystem.
50
+ [[rule]]
51
+ toolName = "job_create"
52
+ decision = "allow"
53
+ priority = 50
54
+
55
+ [[rule]]
56
+ toolName = "job_get"
57
+ decision = "allow"
58
+ priority = 50
59
+
60
+ [[rule]]
61
+ toolName = "job_update"
62
+ decision = "allow"
63
+ priority = 50
64
+
65
+ [[rule]]
66
+ toolName = "job_list"
67
+ decision = "allow"
68
+ priority = 50
69
+
70
+ # web_fetch is a read operation (fetching content from the web).
71
+ # It was auto-approved in autoEdit mode; treating it as read-equivalent.
72
+ [[rule]]
73
+ toolName = "web_fetch"
74
+ decision = "allow"
75
+ priority = 50
@@ -0,0 +1,44 @@
1
+ # Write/mutating tools that require user confirmation by default.
2
+ # In autoEdit mode, replace and write_file are auto-approved.
3
+ #
4
+ # Priority bands (tiers):
5
+ # - Default policies (TOML): 1 + priority/1000
6
+ # 10: Write tools default to ASK_USER (becomes 1.010)
7
+ # 15: Auto-edit tool override (becomes 1.015)
8
+
9
+ [[rule]]
10
+ toolName = "replace"
11
+ decision = "ask_user"
12
+ priority = 10
13
+
14
+ [[rule]]
15
+ toolName = "replace"
16
+ decision = "allow"
17
+ priority = 15
18
+ modes = ["autoEdit"]
19
+
20
+ [[rule]]
21
+ toolName = "write_file"
22
+ decision = "ask_user"
23
+ priority = 10
24
+
25
+ [[rule]]
26
+ toolName = "write_file"
27
+ decision = "allow"
28
+ priority = 15
29
+ modes = ["autoEdit"]
30
+
31
+ [[rule]]
32
+ toolName = "run_shell_command"
33
+ decision = "ask_user"
34
+ priority = 10
35
+
36
+ [[rule]]
37
+ toolName = "save_memory"
38
+ decision = "ask_user"
39
+ priority = 10
40
+
41
+ [[rule]]
42
+ toolName = "activate_skill"
43
+ decision = "ask_user"
44
+ priority = 10
@@ -0,0 +1,9 @@
1
+ # YOLO mode: allow all tools without confirmation.
2
+ # This rule has the highest default-tier priority (999 → 1.999).
3
+ # It only applies when the approval mode is "yolo".
4
+
5
+ [[rule]]
6
+ decision = "allow"
7
+ priority = 999
8
+ modes = ["yolo"]
9
+ allow_redirection = true
@@ -0,0 +1,32 @@
1
+ (version 1)
2
+
3
+ ;; allow everything by default
4
+ (allow default)
5
+
6
+ ;; deny all writes EXCEPT under specific paths
7
+ (deny file-write*)
8
+ (allow file-write*
9
+ (subpath (param "TARGET_DIR"))
10
+ (subpath (param "TMP_DIR"))
11
+ (subpath (param "CACHE_DIR"))
12
+ (subpath (string-append (param "HOME_DIR") "/.codely-cli"))
13
+ (subpath (string-append (param "HOME_DIR") "/.npm"))
14
+ (subpath (string-append (param "HOME_DIR") "/.cache"))
15
+ (subpath (string-append (param "HOME_DIR") "/.gitconfig"))
16
+ ;; Allow writes to included directories from --include-directories
17
+ (subpath (param "INCLUDE_DIR_0"))
18
+ (subpath (param "INCLUDE_DIR_1"))
19
+ (subpath (param "INCLUDE_DIR_2"))
20
+ (subpath (param "INCLUDE_DIR_3"))
21
+ (subpath (param "INCLUDE_DIR_4"))
22
+ (literal "/dev/stdout")
23
+ (literal "/dev/stderr")
24
+ (literal "/dev/null")
25
+ )
26
+
27
+ ;; deny all inbound network traffic EXCEPT on debugger port
28
+ (deny network-inbound)
29
+ (allow network-inbound (local ip "localhost:9229"))
30
+
31
+ ;; deny all outbound network traffic
32
+ (deny network-outbound)
@@ -0,0 +1,25 @@
1
+ (version 1)
2
+
3
+ ;; allow everything by default
4
+ (allow default)
5
+
6
+ ;; deny all writes EXCEPT under specific paths
7
+ (deny file-write*)
8
+ (allow file-write*
9
+ (subpath (param "TARGET_DIR"))
10
+ (subpath (param "TMP_DIR"))
11
+ (subpath (param "CACHE_DIR"))
12
+ (subpath (string-append (param "HOME_DIR") "/.codely-cli"))
13
+ (subpath (string-append (param "HOME_DIR") "/.npm"))
14
+ (subpath (string-append (param "HOME_DIR") "/.cache"))
15
+ (subpath (string-append (param "HOME_DIR") "/.gitconfig"))
16
+ ;; Allow writes to included directories from --include-directories
17
+ (subpath (param "INCLUDE_DIR_0"))
18
+ (subpath (param "INCLUDE_DIR_1"))
19
+ (subpath (param "INCLUDE_DIR_2"))
20
+ (subpath (param "INCLUDE_DIR_3"))
21
+ (subpath (param "INCLUDE_DIR_4"))
22
+ (literal "/dev/stdout")
23
+ (literal "/dev/stderr")
24
+ (literal "/dev/null")
25
+ )