@clix-so/clix-agent-skills 0.1.6 → 0.1.8

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.
@@ -18,6 +18,64 @@ log() {
18
18
  printf "%b\n" "$1"
19
19
  }
20
20
 
21
+ log_err() {
22
+ printf "%b\n" "$1" >&2
23
+ }
24
+
25
+ usage() {
26
+ cat <<'EOF'
27
+ Clix MCP Server Installer
28
+
29
+ Usage:
30
+ bash scripts/install-mcp.sh [--client <client>]
31
+
32
+ Options:
33
+ --client <client> Explicitly select the MCP client to configure.
34
+ Supported: claude, claude-code, opencode, amp, codex, cursor, vscode
35
+ --help Show this help.
36
+
37
+ Environment:
38
+ CLIX_MCP_CLIENT Same as --client (takes precedence).
39
+
40
+ Notes:
41
+ If multiple MCP clients are detected on this machine, you MUST pass --client
42
+ (or set CLIX_MCP_CLIENT). A shell script cannot reliably know "which client is
43
+ currently running" on a machine with multiple clients installed.
44
+ EOF
45
+ }
46
+
47
+ # Parse args/env
48
+ CLIENT_OVERRIDE="${CLIX_MCP_CLIENT:-}"
49
+ while [ $# -gt 0 ]; do
50
+ case "$1" in
51
+ --help|-h)
52
+ usage
53
+ exit 0
54
+ ;;
55
+ --client)
56
+ shift
57
+ CLIENT_OVERRIDE="${1:-}"
58
+ ;;
59
+ --client=*)
60
+ CLIENT_OVERRIDE="${1#*=}"
61
+ ;;
62
+ *)
63
+ log_err "${YELLOW}⚠️ Unknown argument: $1${RESET}"
64
+ usage
65
+ exit 2
66
+ ;;
67
+ esac
68
+ shift || true
69
+ done
70
+
71
+ validate_client() {
72
+ case "${1:-}" in
73
+ claude|claude-code|opencode|amp|codex|cursor|vscode) return 0 ;;
74
+ "") return 1 ;;
75
+ *) return 1 ;;
76
+ esac
77
+ }
78
+
21
79
  # Detect platform
22
80
  detect_platform() {
23
81
  case "$(uname -s)" in
@@ -35,6 +93,10 @@ get_config_path() {
35
93
  local platform=$(detect_platform)
36
94
 
37
95
  case "$client" in
96
+ claude-code)
97
+ # Claude Code CLI manages MCP via `claude mcp ...` commands (no direct config file here)
98
+ echo ""
99
+ ;;
38
100
  codex)
39
101
  echo "${home}/.codex/config.toml"
40
102
  ;;
@@ -47,13 +109,8 @@ get_config_path() {
47
109
  fi
48
110
  ;;
49
111
  claude)
50
- if [ "$platform" = "darwin" ]; then
51
- echo "${home}/Library/Application Support/Claude/claude_desktop_config.json"
52
- elif [ "$platform" = "win32" ]; then
53
- echo "${APPDATA:-}/Claude/claude_desktop_config.json"
54
- else
55
- echo "${home}/.config/claude/claude_desktop_config.json"
56
- fi
112
+ # Alias for Claude Code
113
+ echo ""
57
114
  ;;
58
115
  vscode)
59
116
  echo "${home}/.vscode/mcp.json"
@@ -88,6 +145,25 @@ get_config_path() {
88
145
  esac
89
146
  }
90
147
 
148
+ # Configure MCP for Claude Code CLI
149
+ configure_claude_code() {
150
+ if ! command -v claude &> /dev/null; then
151
+ log "${RED}❌ Claude CLI not found on PATH.${RESET}"
152
+ exit 1
153
+ fi
154
+
155
+ # Best-effort: avoid failing if already configured.
156
+ # If list isn't supported, we'll just attempt add.
157
+ if claude mcp list 2>/dev/null | grep -q "clix-mcp-server"; then
158
+ log "${GREEN}✔ Clix MCP Server already configured in Claude Code${RESET}"
159
+ return 0
160
+ fi
161
+
162
+ # Configure via CLI (non-interactive)
163
+ claude mcp add --transport stdio clix-mcp-server -- npx -y @clix-so/clix-mcp-server@latest
164
+ log "${GREEN}✔ Configured Clix MCP Server in Claude Code${RESET}"
165
+ }
166
+
91
167
  # Configure MCP for Codex (TOML format)
92
168
  configure_codex() {
93
169
  local config_path="$1"
@@ -158,7 +234,7 @@ configure_amp() {
158
234
  return 0
159
235
  fi
160
236
 
161
- # Use node to safely update JSON
237
+ # Use node to safely update JSON/JSONC (VS Code settings often allow comments)
162
238
  if command -v node &> /dev/null; then
163
239
  node <<EOF
164
240
  const fs = require('fs');
@@ -166,7 +242,61 @@ const path = '$config_path';
166
242
  let config = {};
167
243
  try {
168
244
  const content = fs.readFileSync(path, 'utf8');
169
- config = JSON.parse(content);
245
+ const stripJsonc = (input) => {
246
+ // Strips // and /* */ comments, but preserves anything inside strings.
247
+ let out = '';
248
+ let inStr = false;
249
+ let esc = false;
250
+ let inLine = false;
251
+ let inBlock = false;
252
+ for (let i = 0; i < input.length; i++) {
253
+ const c = input[i];
254
+ const n = input[i + 1];
255
+ if (inLine) {
256
+ if (c === '\n') {
257
+ inLine = false;
258
+ out += c;
259
+ }
260
+ continue;
261
+ }
262
+ if (inBlock) {
263
+ if (c === '*' && n === '/') {
264
+ inBlock = false;
265
+ i++;
266
+ }
267
+ continue;
268
+ }
269
+ if (inStr) {
270
+ out += c;
271
+ if (esc) {
272
+ esc = false;
273
+ } else if (c === '\\\\') {
274
+ esc = true;
275
+ } else if (c === '"') {
276
+ inStr = false;
277
+ }
278
+ continue;
279
+ }
280
+ if (c === '"') {
281
+ inStr = true;
282
+ out += c;
283
+ continue;
284
+ }
285
+ if (c === '/' && n === '/') {
286
+ inLine = true;
287
+ i++;
288
+ continue;
289
+ }
290
+ if (c === '/' && n === '*') {
291
+ inBlock = true;
292
+ i++;
293
+ continue;
294
+ }
295
+ out += c;
296
+ }
297
+ return out;
298
+ };
299
+ config = JSON.parse(stripJsonc(content));
170
300
  } catch (e) {
171
301
  config = {};
172
302
  }
@@ -218,17 +348,72 @@ EOF
218
348
  const fs = require('fs');
219
349
  const path = '$config_path';
220
350
  let content = fs.readFileSync(path, 'utf8');
221
- // Remove comments for JSONC parsing (simple approach)
222
- let jsonContent = content.replace(/\/\/.*$/gm, '').replace(/\/\*[\s\S]*?\*\//g, '');
223
- let config = JSON.parse(jsonContent);
351
+ const stripJsonc = (input) => {
352
+ // Strips // and /* */ comments, but preserves anything inside strings.
353
+ let out = '';
354
+ let inStr = false;
355
+ let esc = false;
356
+ let inLine = false;
357
+ let inBlock = false;
358
+ for (let i = 0; i < input.length; i++) {
359
+ const c = input[i];
360
+ const n = input[i + 1];
361
+ if (inLine) {
362
+ if (c === '\n') {
363
+ inLine = false;
364
+ out += c;
365
+ }
366
+ continue;
367
+ }
368
+ if (inBlock) {
369
+ if (c === '*' && n === '/') {
370
+ inBlock = false;
371
+ i++;
372
+ }
373
+ continue;
374
+ }
375
+ if (inStr) {
376
+ out += c;
377
+ if (esc) {
378
+ esc = false;
379
+ } else if (c === '\\\\') {
380
+ esc = true;
381
+ } else if (c === '"') {
382
+ inStr = false;
383
+ }
384
+ continue;
385
+ }
386
+ if (c === '"') {
387
+ inStr = true;
388
+ out += c;
389
+ continue;
390
+ }
391
+ if (c === '/' && n === '/') {
392
+ inLine = true;
393
+ i++;
394
+ continue;
395
+ }
396
+ if (c === '/' && n === '*') {
397
+ inBlock = true;
398
+ i++;
399
+ continue;
400
+ }
401
+ out += c;
402
+ }
403
+ return out;
404
+ };
405
+ let config = {};
406
+ try {
407
+ config = JSON.parse(stripJsonc(content));
408
+ } catch (e) {
409
+ config = {};
410
+ }
224
411
  if (!config.mcp) config.mcp = {};
225
412
  config.mcp['clix-mcp-server'] = {
226
413
  type: 'local',
227
414
  command: ['npx', '-y', '@clix-so/clix-mcp-server@latest'],
228
415
  enabled: true
229
416
  };
230
- // Write back as JSONC if original was .jsonc, otherwise JSON
231
- const isJsonc = path.endsWith('.jsonc');
232
417
  fs.writeFileSync(path, JSON.stringify(config, null, 2) + '\n');
233
418
  EOF
234
419
  log "${GREEN}✔ Configured Clix MCP Server in OpenCode${RESET}"
@@ -291,48 +476,93 @@ EOF
291
476
  fi
292
477
  }
293
478
 
294
- # Auto-detect client
295
- detect_client() {
296
- # Check for OpenCode (check for opencode.json/jsonc or opencode command)
479
+ # Detect all matching clients (heuristics). Output one per line.
480
+ detect_clients() {
481
+ # Claude Code CLI (supports `claude mcp ...`)
482
+ if command -v claude &> /dev/null && claude mcp --help &> /dev/null; then
483
+ echo "claude"
484
+ fi
485
+
486
+ # OpenCode (project config files or opencode command)
297
487
  if [ -f "opencode.json" ] || [ -f "opencode.jsonc" ] || command -v opencode &> /dev/null; then
298
488
  echo "opencode"
299
- return
300
489
  fi
301
490
 
302
- # Check for Amp (check for amp.mcpServers in settings.json or amp command)
491
+ # Amp (amp command or amp.mcpServers present)
303
492
  if command -v amp &> /dev/null || \
304
493
  grep -q "amp.mcpServers" ".vscode/settings.json" 2>/dev/null || \
305
494
  grep -q "amp.mcpServers" "${HOME}/.vscode/settings.json" 2>/dev/null; then
306
495
  echo "amp"
307
- return
308
496
  fi
309
497
 
310
- # Check for Codex
498
+ # Codex
311
499
  if [ -f "${HOME}/.codex/config.toml" ] || command -v codex &> /dev/null; then
312
500
  echo "codex"
313
- return
314
501
  fi
315
502
 
316
- # Check for Cursor
503
+ # Cursor
317
504
  if [ -f "${HOME}/.cursor/mcp.json" ] || [ -f ".cursor/mcp.json" ]; then
318
505
  echo "cursor"
506
+ fi
507
+
508
+ # VS Code
509
+ if [ -f "${HOME}/.vscode/mcp.json" ]; then
510
+ echo "vscode"
511
+ fi
512
+ }
513
+
514
+ choose_client() {
515
+ if [ -n "${CLIENT_OVERRIDE:-}" ]; then
516
+ if ! validate_client "$CLIENT_OVERRIDE"; then
517
+ log_err "${RED}❌ Invalid --client / CLIX_MCP_CLIENT: ${CLIENT_OVERRIDE}${RESET}"
518
+ usage
519
+ exit 2
520
+ fi
521
+ if [ "$CLIENT_OVERRIDE" = "claude-code" ]; then
522
+ echo "claude"
523
+ return
524
+ fi
525
+ echo "$CLIENT_OVERRIDE"
319
526
  return
320
527
  fi
321
528
 
322
- # Check for Claude Desktop
323
- if [ -f "${HOME}/Library/Application Support/Claude/claude_desktop_config.json" ] 2>/dev/null || \
324
- [ -f "${APPDATA:-}/Claude/claude_desktop_config.json" ] 2>/dev/null; then
325
- echo "claude"
529
+ local detected
530
+ detected="$(detect_clients | awk 'NF' | sort -u)"
531
+ local count
532
+ count="$(printf "%s\n" "$detected" | awk 'NF' | wc -l | tr -d ' ')"
533
+
534
+ if [ "${count:-0}" -eq 0 ]; then
535
+ echo "unknown"
326
536
  return
327
537
  fi
328
538
 
329
- # Check for VS Code
330
- if [ -f "${HOME}/.vscode/mcp.json" ]; then
331
- echo "vscode"
539
+ if [ "${count:-0}" -eq 1 ]; then
540
+ printf "%s\n" "$detected"
332
541
  return
333
542
  fi
334
543
 
335
- echo "unknown"
544
+ # Multiple detected: we can't know which one is "currently running".
545
+ log_err "${YELLOW}⚠️ Multiple MCP clients detected on this machine:${RESET}"
546
+ printf "%s\n" "$detected" | sed 's/^/ - /' >&2
547
+
548
+ if [ -t 0 ]; then
549
+ log_err "${BLUE}Select which client to configure:${RESET}"
550
+ local options=()
551
+ while IFS= read -r line; do options+=("$line"); done <<<"$detected"
552
+ options+=("cancel")
553
+ select opt in "${options[@]}"; do
554
+ if [ "$opt" = "cancel" ] || [ -z "${opt:-}" ]; then
555
+ log_err "${YELLOW}Cancelled.${RESET}"
556
+ exit 2
557
+ fi
558
+ echo "$opt"
559
+ return
560
+ done
561
+ fi
562
+
563
+ log_err "${RED}❌ Ambiguous MCP client selection in non-interactive mode.${RESET}"
564
+ log_err "${YELLOW}Please re-run with: bash scripts/install-mcp.sh --client <client>${RESET}"
565
+ exit 2
336
566
  }
337
567
 
338
568
  log "${BLUE}📦 Installing Clix MCP Server...${RESET}"
@@ -355,13 +585,18 @@ fi
355
585
 
356
586
  # Auto-detect and configure
357
587
  log "${BLUE}🔍 Detecting MCP client...${RESET}"
358
- detected_client=$(detect_client)
588
+ detected_client=$(choose_client)
359
589
 
360
590
  if [ "$detected_client" != "unknown" ]; then
361
591
  log "${GREEN}Detected: $detected_client${RESET}"
362
592
  config_path=$(get_config_path "$detected_client")
363
593
 
364
- if [ -n "$config_path" ]; then
594
+ if [ "$detected_client" = "claude" ]; then
595
+ log "${BLUE}Configuring MCP server for Claude Code...${RESET}"
596
+ configure_claude_code
597
+ log "${GREEN}✅ Successfully configured Clix MCP Server!${RESET}"
598
+ log "${YELLOW}⚠️ IMPORTANT: Please RESTART Claude Code for the changes to take effect.${RESET}"
599
+ elif [ -n "$config_path" ]; then
365
600
  log "${BLUE}Configuring MCP server for $detected_client...${RESET}"
366
601
 
367
602
  if [ "$detected_client" = "codex" ]; then
@@ -387,7 +622,7 @@ else
387
622
  log "${BLUE} - Amp: Add to .vscode/settings.json or ~/.vscode/settings.json${RESET}"
388
623
  log "${BLUE} - Codex: Add to ~/.codex/config.toml${RESET}"
389
624
  log "${BLUE} - Cursor: Add to .cursor/mcp.json or ~/.cursor/mcp.json${RESET}"
390
- log "${BLUE} - Claude Desktop: Add to config file${RESET}"
625
+ log "${BLUE} - Claude Code: Run: claude mcp add --transport stdio clix-mcp-server -- npx -y @clix-so/clix-mcp-server@latest${RESET}"
391
626
  log "${BLUE}See references/mcp-integration.md for detailed instructions.${RESET}"
392
627
  fi
393
628
 
@@ -0,0 +1,204 @@
1
+ Copyright (c) 2026 Clix (https://clix.so/)
2
+
3
+ Apache License
4
+ Version 2.0, January 2004
5
+ http://www.apache.org/licenses/
6
+
7
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
8
+
9
+ 1. Definitions.
10
+
11
+ "License" shall mean the terms and conditions for use, reproduction,
12
+ and distribution as defined by Sections 1 through 9 of this document.
13
+
14
+ "Licensor" shall mean the copyright owner or entity authorized by
15
+ the copyright owner that is granting the License.
16
+
17
+ "Legal Entity" shall mean the union of the acting entity and all
18
+ other entities that control, are controlled by, or are under common
19
+ control with that entity. For the purposes of this definition,
20
+ "control" means (i) the power, direct or indirect, to cause the
21
+ direction or management of such entity, whether by contract or
22
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
23
+ outstanding shares, or (iii) beneficial ownership of such entity.
24
+
25
+ "You" (or "Your") shall mean an individual or Legal Entity
26
+ exercising permissions granted by this License.
27
+
28
+ "Source" form shall mean the preferred form for making modifications,
29
+ including but not limited to software source code, documentation
30
+ source, and configuration files.
31
+
32
+ "Object" form shall mean any form resulting from mechanical
33
+ transformation or translation of a Source form, including but
34
+ not limited to compiled object code, generated documentation,
35
+ and conversions to other media types.
36
+
37
+ "Work" shall mean the work of authorship, whether in Source or
38
+ Object form, made available under the License, as indicated by a
39
+ copyright notice that is included in or attached to the work
40
+ (an example is provided in the Appendix below).
41
+
42
+ "Derivative Works" shall mean any work, whether in Source or Object
43
+ form, that is based on (or derived from) the Work and for which the
44
+ editorial revisions, annotations, elaborations, or other modifications
45
+ represent, as a whole, an original work of authorship. For the purposes
46
+ of this License, Derivative Works shall not include works that remain
47
+ separable from, or merely link (or bind by name) to the interfaces of,
48
+ the Work and Derivative Works thereof.
49
+
50
+ "Contribution" shall mean any work of authorship, including
51
+ the original version of the Work and any modifications or additions
52
+ to that Work or Derivative Works thereof, that is intentionally
53
+ submitted to Licensor for inclusion in the Work by the copyright owner
54
+ or by an individual or Legal Entity authorized to submit on behalf of
55
+ the copyright owner. For the purposes of this definition, "submitted"
56
+ means any form of electronic, verbal, or written communication sent
57
+ to the Licensor or its representatives, including but not limited to
58
+ communication on electronic mailing lists, source code control systems,
59
+ and issue tracking systems that are managed by, or on behalf of, the
60
+ Licensor for the purpose of discussing and improving the Work, but
61
+ excluding communication that is conspicuously marked or otherwise
62
+ designated in writing by the copyright owner as "Not a Contribution."
63
+
64
+ "Contributor" shall mean Licensor and any individual or Legal Entity
65
+ on behalf of whom a Contribution has been received by Licensor and
66
+ subsequently incorporated within the Work.
67
+
68
+ 2. Grant of Copyright License. Subject to the terms and conditions of
69
+ this License, each Contributor hereby grants to You a perpetual,
70
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
71
+ copyright license to reproduce, prepare Derivative Works of,
72
+ publicly display, publicly perform, sublicense, and distribute the
73
+ Work and such Derivative Works in Source or Object form.
74
+
75
+ 3. Grant of Patent License. Subject to the terms and conditions of
76
+ this License, each Contributor hereby grants to You a perpetual,
77
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
78
+ (except as stated in this section) patent license to make, have made,
79
+ use, offer to sell, sell, import, and otherwise transfer the Work,
80
+ where such license applies only to those patent claims licensable
81
+ by such Contributor that are necessarily infringed by their
82
+ Contribution(s) alone or by combination of their Contribution(s)
83
+ with the Work to which such Contribution(s) was submitted. If You
84
+ institute patent litigation against any entity (including a
85
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
86
+ or a Contribution incorporated within the Work constitutes direct
87
+ or contributory patent infringement, then any patent licenses
88
+ granted to You under this License for that Work shall terminate
89
+ as of the date such litigation is filed.
90
+
91
+ 4. Redistribution. You may reproduce and distribute copies of the
92
+ Work or Derivative Works thereof in any medium, with or without
93
+ modifications, and in Source or Object form, provided that You
94
+ meet the following conditions:
95
+
96
+ (a) You must give any other recipients of the Work or
97
+ Derivative Works a copy of this License; and
98
+
99
+ (b) You must cause any modified files to carry prominent notices
100
+ stating that You changed the files; and
101
+
102
+ (c) You must retain, in the Source form of any Derivative Works
103
+ that You distribute, all copyright, patent, trademark, and
104
+ attribution notices from the Source form of the Work,
105
+ excluding those notices that do not pertain to any part of
106
+ the Derivative Works; and
107
+
108
+ (d) If the Work includes a "NOTICE" text file as part of its
109
+ distribution, then any Derivative Works that You distribute must
110
+ include a readable copy of the attribution notices contained
111
+ within such NOTICE file, excluding those notices that do not
112
+ pertain to any part of the Derivative Works, in at least one
113
+ of the following places: within a NOTICE text file distributed
114
+ as part of the Derivative Works; within the Source form or
115
+ documentation, if provided along with the Derivative Works; or,
116
+ within a display generated by the Derivative Works, if and
117
+ wherever such third-party notices normally appear. The contents
118
+ of the NOTICE file are for informational purposes only and
119
+ do not modify the License. You may add Your own attribution
120
+ notices within Derivative Works that You distribute, alongside
121
+ or as an addendum to the NOTICE text from the Work, provided
122
+ that such additional attribution notices cannot be construed
123
+ as modifying the License.
124
+
125
+ You may add Your own copyright statement to Your modifications and
126
+ may provide additional or different license terms and conditions
127
+ for use, reproduction, or distribution of Your modifications, or
128
+ for any such Derivative Works as a whole, provided Your use,
129
+ reproduction, and distribution of the Work otherwise complies with
130
+ the conditions stated in this License.
131
+
132
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
133
+ any Contribution intentionally submitted for inclusion in the Work
134
+ by You to the Licensor shall be under the terms and conditions of
135
+ this License, without any additional terms or conditions.
136
+ Notwithstanding the above, nothing herein shall supersede or modify
137
+ the terms of any separate license agreement you may have executed
138
+ with Licensor regarding such Contributions.
139
+
140
+ 6. Trademarks. This License does not grant permission to use the trade
141
+ names, trademarks, service marks, or product names of the Licensor,
142
+ except as required for reasonable and customary use in describing the
143
+ origin of the Work and reproducing the content of the NOTICE file.
144
+
145
+ 7. Disclaimer of Warranty. Unless required by applicable law or
146
+ agreed to in writing, Licensor provides the Work (and each
147
+ Contributor provides its Contributions) on an "AS IS" BASIS,
148
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
149
+ implied, including, without limitation, any warranties or conditions
150
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
151
+ PARTICULAR PURPOSE. You are solely responsible for determining the
152
+ appropriateness of using or redistributing the Work and assume any
153
+ risks associated with Your exercise of permissions under this License.
154
+
155
+ 8. Limitation of Liability. In no event and under no legal theory,
156
+ whether in tort (including negligence), contract, or otherwise,
157
+ unless required by applicable law (such as deliberate and grossly
158
+ negligent acts) or agreed to in writing, shall any Contributor be
159
+ liable to You for damages, including any direct, indirect, special,
160
+ incidental, or consequential damages of any character arising as a
161
+ result of this License or out of the use or inability to use the
162
+ Work (including but not limited to damages for loss of goodwill,
163
+ work stoppage, computer failure or malfunction, or any and all
164
+ other commercial damages or losses), even if such Contributor
165
+ has been advised of the possibility of such damages.
166
+
167
+ 9. Accepting Warranty or Additional Liability. While redistributing
168
+ the Work or Derivative Works thereof, You may choose to offer,
169
+ and charge a fee for, acceptance of support, warranty, indemnity,
170
+ or other liability obligations and/or rights consistent with this
171
+ License. However, in accepting such obligations, You may act only
172
+ on Your own behalf and on Your sole responsibility, not on behalf
173
+ of any other Contributor, and only if You agree to indemnify,
174
+ defend, and hold each Contributor harmless for any liability
175
+ incurred by, or claims asserted against, such Contributor by reason
176
+ of your accepting any such warranty or additional liability.
177
+
178
+ END OF TERMS AND CONDITIONS
179
+
180
+ APPENDIX: How to apply the Apache License to your work.
181
+
182
+ To apply the Apache License to your work, attach the following
183
+ boilerplate notice, with the fields enclosed by brackets "[]"
184
+ replaced with your own identifying information. (Don't include
185
+ the brackets!) The text should be enclosed in the appropriate
186
+ comment syntax for the file format. We also recommend that a
187
+ file or class name and description of purpose be included on the
188
+ same "printed page" as the copyright notice for easier
189
+ identification within third-party archives.
190
+
191
+ Copyright (c) 2026 Clix (https://clix.so/)
192
+
193
+ Licensed under the Apache License, Version 2.0 (the "License");
194
+ you may not use this file except in compliance with the License.
195
+ You may obtain a copy of the License at
196
+
197
+ http://www.apache.org/licenses/LICENSE-2.0
198
+
199
+ Unless required by applicable law or agreed to in writing, software
200
+ distributed under the License is distributed on an "AS IS" BASIS,
201
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
202
+ See the License for the specific language governing permissions and
203
+ limitations under the License.
204
+