gaia-skills 1.0.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.
package/README.md ADDED
@@ -0,0 +1,482 @@
1
+ # gaia-skills
2
+
3
+ The CLI for Gaia internal skills ecosystem - manage and install skills for AI coding agents.
4
+
5
+ <!-- agent-list:start -->
6
+ Supports **Claude Code**, **Cursor**, **Codex**, **OpenCode**, and [35 more](#supported-agents).
7
+ <!-- agent-list:end -->
8
+
9
+ ## Install a Skill
10
+
11
+ ### Install from Gaia Internal Repository
12
+
13
+ ```bash
14
+ # Install by skill name (simple and direct)
15
+ npx gaia-skills add data-processor
16
+ npx gaia-skills add gaia-jira-issue-analysis
17
+ ```
18
+
19
+ ### Install from GitHub (Preserved Functionality)
20
+
21
+ ```bash
22
+ npx gaia-skills add vercel-labs/agent-skills
23
+ ```
24
+
25
+ ### Source Formats
26
+
27
+ ```bash
28
+ # Gaia internal skill (simple name)
29
+ npx gaia-skills add data-processor
30
+ npx gaia-skills add my-skill-v2
31
+
32
+ # GitHub shorthand (owner/repo)
33
+ npx gaia-skills add vercel-labs/agent-skills
34
+
35
+ # Full GitHub URL
36
+ npx gaia-skills add https://github.com/vercel-labs/agent-skills
37
+
38
+ # Direct path to a skill in a repo
39
+ npx gaia-skills add https://github.com/vercel-labs/agent-skills/tree/main/skills/web-design-guidelines
40
+
41
+ # GitLab URL
42
+ npx gaia-skills add https://gitlab.com/org/repo
43
+
44
+ # Any git URL
45
+ npx gaia-skills add git@github.com:vercel-labs/agent-skills.git
46
+
47
+ # Local path
48
+ npx gaia-skills add ./my-local-skills
49
+ ```
50
+
51
+ ### Options
52
+
53
+ | Option | Description |
54
+ | ------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
55
+ | `-g, --global` | Install to user directory instead of project |
56
+ | `-a, --agent <agents...>` | <!-- agent-names:start -->Target specific agents (e.g., `claude-code`, `codex`). See [Available Agents](#available-agents)<!-- agent-names:end --> |
57
+ | `-s, --skill <skills...>` | Install specific skills by name (use `'*'` for all skills) |
58
+ | `-l, --list` | List available skills without installing |
59
+ | `-y, --yes` | Skip all confirmation prompts |
60
+ | `--all` | Install all skills to all agents without prompts |
61
+
62
+ ### Examples
63
+
64
+ ```bash
65
+ # Install a Gaia internal skill
66
+ npx gaia-skills add data-processor
67
+
68
+ # List skills in a repository
69
+ npx gaia-skills add vercel-labs/agent-skills --list
70
+
71
+ # Install specific skills
72
+ npx gaia-skills add vercel-labs/agent-skills --skill frontend-design --skill skill-creator
73
+
74
+ # Install a skill with spaces in the name (must be quoted)
75
+ npx gaia-skills add owner/repo --skill "Convex Best Practices"
76
+
77
+ # Install to specific agents
78
+ npx gaia-skills add vercel-labs/agent-skills -a claude-code -a opencode
79
+
80
+ # Non-interactive installation (CI/CD friendly)
81
+ npx gaia-skills add vercel-labs/agent-skills --skill frontend-design -g -a claude-code -y
82
+
83
+ # Install all skills from a repo to all agents
84
+ npx gaia-skills add vercel-labs/agent-skills --all
85
+
86
+ # Install all skills to specific agents
87
+ npx gaia-skills add vercel-labs/agent-skills --skill '*' -a claude-code
88
+
89
+ # Install specific skills to all agents
90
+ npx gaia-skills add vercel-labs/agent-skills --agent '*' --skill frontend-design
91
+ ```
92
+
93
+ ### Installation Scope
94
+
95
+ | Scope | Flag | Location | Use Case |
96
+ | ----------- | --------- | ------------------- | --------------------------------------------- |
97
+ | **Project** | (default) | `./<agent>/skills/` | Committed with your project, shared with team |
98
+ | **Global** | `-g` | `~/<agent>/skills/` | Available across all projects |
99
+
100
+ ### Installation Methods
101
+
102
+ When installing interactively, you can choose:
103
+
104
+ | Method | Description |
105
+ | ------------------------- | ------------------------------------------------------------------------------------------- |
106
+ | **Symlink** (Recommended) | Creates symlinks from each agent to a canonical copy. Single source of truth, easy updates. |
107
+ | **Copy** | Creates independent copies for each agent. Use when symlinks aren't supported. |
108
+
109
+ ## Other Commands
110
+
111
+ | Command | Description |
112
+ | ---------------------------------- | ------------------------------------------------------- |
113
+ | `npx gaia-skills list` | List installed skills (alias: `ls`) |
114
+ | `npx gaia-skills find [query]` | Search for Gaia internal skills |
115
+ | `npx gaia-skills remove [skills]` | Remove installed skills from agents |
116
+ | `npx gaia-skills check` | Check for available skill updates |
117
+ | `npx gaia-skills update` | Update all installed skills to latest versions |
118
+ | `npx gaia-skills init [name]` | Create a new SKILL.md template |
119
+
120
+ ### `gaia-skills list`
121
+
122
+ List all installed skills. Similar to `npm ls`.
123
+
124
+ ```bash
125
+ # List all installed skills (project and global)
126
+ npx gaia-skills list
127
+
128
+ # List only global skills
129
+ npx gaia-skills ls -g
130
+
131
+ # Filter by specific agents
132
+ npx gaia-skills ls -a claude-code -a cursor
133
+ ```
134
+
135
+ ### `gaia-skills find`
136
+
137
+ Search for Gaia internal skills interactively or by keyword.
138
+
139
+ ```bash
140
+ # Interactive search (fzf-style)
141
+ npx gaia-skills find
142
+
143
+ # Search by keyword
144
+ npx gaia-skills find "数据处理"
145
+ npx gaia-skills find jira
146
+ ```
147
+
148
+ ### `gaia-skills check` / `gaia-skills update`
149
+
150
+ ```bash
151
+ # Check if any installed skills have updates
152
+ npx gaia-skills check
153
+
154
+ # Update all skills to latest versions
155
+ npx gaia-skills update
156
+ ```
157
+
158
+ ### `gaia-skills init`
159
+
160
+ ```bash
161
+ # Create SKILL.md in current directory
162
+ npx gaia-skills init
163
+
164
+ # Create a new skill in a subdirectory
165
+ npx gaia-skills init my-skill
166
+ ```
167
+
168
+ ### `gaia-skills remove`
169
+
170
+ Remove installed skills from agents.
171
+
172
+ ```bash
173
+ # Remove interactively (select from installed skills)
174
+ npx gaia-skills remove
175
+
176
+ # Remove specific skill by name
177
+ npx gaia-skills remove web-design-guidelines
178
+
179
+ # Remove multiple skills
180
+ npx gaia-skills remove frontend-design web-design-guidelines
181
+
182
+ # Remove from global scope
183
+ npx gaia-skills remove --global web-design-guidelines
184
+
185
+ # Remove from specific agents only
186
+ npx gaia-skills remove --agent claude-code cursor my-skill
187
+
188
+ # Remove all installed skills without confirmation
189
+ npx gaia-skills remove --all
190
+
191
+ # Remove all skills from a specific agent
192
+ npx gaia-skills remove --skill '*' -a cursor
193
+
194
+ # Remove a specific skill from all agents
195
+ npx gaia-skills remove my-skill --agent '*'
196
+
197
+ # Use 'rm' alias
198
+ npx gaia-skills rm my-skill
199
+ ```
200
+
201
+ | Option | Description |
202
+ | ------------------- | ---------------------------------------------------- |
203
+ | `-g, --global` | Remove from global scope (~/) instead of project |
204
+ | `-a, --agent` | Remove from specific agents (use `'*'` for all) |
205
+ | `-s, --skill` | Specify skills to remove (use `'*'` for all) |
206
+ | `-y, --yes` | Skip confirmation prompts |
207
+ | `--all` | Shorthand for `--skill '*' --agent '*' -y` |
208
+
209
+ ## What are Agent Skills?
210
+
211
+ Agent skills are reusable instruction sets that extend your coding agent's capabilities. They're defined in `SKILL.md`
212
+ files with YAML frontmatter containing a `name` and `description`.
213
+
214
+ Skills let agents perform specialized tasks like:
215
+
216
+ - Generating release notes from git history
217
+ - Creating PRs following your team's conventions
218
+ - Integrating with external tools (Linear, Notion, Jira, etc.)
219
+ - Analyzing Jira issues with context-aware workflows
220
+ - Processing and transforming various data formats
221
+
222
+ ### Gaia Internal Skills
223
+
224
+ Gaia Skills CLI provides seamless access to your company's internal skills repository:
225
+
226
+ - **Simple Installation**: Just use the skill name, no need for URLs or paths
227
+ - **Multi-File Support**: Skills can include dependencies like MCP server configurations
228
+ - **Auto-Discovery**: Search and install skills with simple keywords
229
+ - **MCP Integration**: Skills can automatically configure required MCP services
230
+
231
+ ## Supported Agents
232
+
233
+ Skills can be installed to any of these agents:
234
+
235
+ <!-- supported-agents:start -->
236
+ | Agent | `--agent` | Project Path | Global Path |
237
+ |-------|-----------|--------------|-------------|
238
+ | Amp, Kimi Code CLI, Replit | `amp`, `kimi-cli`, `replit` | `.agents/skills/` | `~/.config/agents/skills/` |
239
+ | Antigravity | `antigravity` | `.agent/skills/` | `~/.gemini/antigravity/skills/` |
240
+ | Augment | `augment` | `.augment/skills/` | `~/.augment/skills/` |
241
+ | Claude Code | `claude-code` | `.claude/skills/` | `~/.claude/skills/` |
242
+ | OpenClaw | `openclaw` | `skills/` | `~/.moltbot/skills/` |
243
+ | Cline | `cline` | `.cline/skills/` | `~/.cline/skills/` |
244
+ | CodeBuddy | `codebuddy` | `.codebuddy/skills/` | `~/.codebuddy/skills/` |
245
+ | Codex | `codex` | `.agents/skills/` | `~/.codex/skills/` |
246
+ | Command Code | `command-code` | `.commandcode/skills/` | `~/.commandcode/skills/` |
247
+ | Continue | `continue` | `.continue/skills/` | `~/.continue/skills/` |
248
+ | Crush | `crush` | `.crush/skills/` | `~/.config/crush/skills/` |
249
+ | Cursor | `cursor` | `.cursor/skills/` | `~/.cursor/skills/` |
250
+ | Droid | `droid` | `.factory/skills/` | `~/.factory/skills/` |
251
+ | Gemini CLI | `gemini-cli` | `.agents/skills/` | `~/.gemini/skills/` |
252
+ | GitHub Copilot | `github-copilot` | `.agents/skills/` | `~/.copilot/skills/` |
253
+ | Goose | `goose` | `.goose/skills/` | `~/.config/goose/skills/` |
254
+ | Junie | `junie` | `.junie/skills/` | `~/.junie/skills/` |
255
+ | iFlow CLI | `iflow-cli` | `.iflow/skills/` | `~/.iflow/skills/` |
256
+ | Kilo Code | `kilo` | `.kilocode/skills/` | `~/.kilocode/skills/` |
257
+ | Kiro CLI | `kiro-cli` | `.kiro/skills/` | `~/.kiro/skills/` |
258
+ | Kode | `kode` | `.kode/skills/` | `~/.kode/skills/` |
259
+ | MCPJam | `mcpjam` | `.mcpjam/skills/` | `~/.mcpjam/skills/` |
260
+ | Mistral Vibe | `mistral-vibe` | `.vibe/skills/` | `~/.vibe/skills/` |
261
+ | Mux | `mux` | `.mux/skills/` | `~/.mux/skills/` |
262
+ | OpenCode | `opencode` | `.agents/skills/` | `~/.config/opencode/skills/` |
263
+ | OpenHands | `openhands` | `.openhands/skills/` | `~/.openhands/skills/` |
264
+ | Pi | `pi` | `.pi/skills/` | `~/.pi/agent/skills/` |
265
+ | Qoder | `qoder` | `.qoder/skills/` | `~/.qoder/skills/` |
266
+ | Qwen Code | `qwen-code` | `.qwen/skills/` | `~/.qwen/skills/` |
267
+ | Roo Code | `roo` | `.roo/skills/` | `~/.roo/skills/` |
268
+ | Trae | `trae` | `.trae/skills/` | `~/.trae/skills/` |
269
+ | Trae CN | `trae-cn` | `.trae/skills/` | `~/.trae-cn/skills/` |
270
+ | Windsurf | `windsurf` | `.windsurf/skills/` | `~/.codeium/windsurf/skills/` |
271
+ | Zencoder | `zencoder` | `.zencoder/skills/` | `~/.zencoder/skills/` |
272
+ | Neovate | `neovate` | `.neovate/skills/` | `~/.neovate/skills/` |
273
+ | Pochi | `pochi` | `.pochi/skills/` | `~/.pochi/skills/` |
274
+ | AdaL | `adal` | `.adal/skills/` | `~/.adal/skills/` |
275
+ <!-- supported-agents:end -->
276
+
277
+ > [!NOTE]
278
+ > **Kiro CLI users:** After installing skills, manually add them to your custom agent's `resources` in
279
+ > `.kiro/agents/<agent>.json`:
280
+ >
281
+ > ```json
282
+ > {
283
+ > "resources": ["skill://.kiro/skills/**/SKILL.md"]
284
+ > }
285
+ > ```
286
+
287
+ The CLI automatically detects which coding agents you have installed. If none are detected, you'll be prompted to select
288
+ which agents to install to.
289
+
290
+ ## Creating Skills
291
+
292
+ Skills are directories containing a `SKILL.md` file with YAML frontmatter:
293
+
294
+ ```markdown
295
+ ---
296
+ name: my-skill
297
+ description: What this skill does and when to use it
298
+ ---
299
+
300
+ # My Skill
301
+
302
+ Instructions for the agent to follow when this skill is activated.
303
+
304
+ ## When to Use
305
+
306
+ Describe the scenarios where this skill should be used.
307
+
308
+ ## Steps
309
+
310
+ 1. First, do this
311
+ 2. Then, do that
312
+ ```
313
+
314
+ ### Required Fields
315
+
316
+ - `name`: Unique identifier (lowercase, hyphens allowed)
317
+ - `description`: Brief explanation of what the skill does
318
+
319
+ ### Optional Fields
320
+
321
+ - `metadata.internal`: Set to `true` to hide the skill from normal discovery. Internal skills are only visible and
322
+ installable when `INSTALL_INTERNAL_SKILLS=1` is set. Useful for work-in-progress skills or skills meant only for
323
+ internal tooling.
324
+
325
+ ```markdown
326
+ ---
327
+ name: my-internal-skill
328
+ description: An internal skill not shown by default
329
+ metadata:
330
+ internal: true
331
+ ---
332
+ ```
333
+
334
+ ### Skill Discovery
335
+
336
+ The CLI searches for skills in these locations within a repository:
337
+
338
+ <!-- skill-discovery:start -->
339
+ - Root directory (if it contains `SKILL.md`)
340
+ - `skills/`
341
+ - `skills/.curated/`
342
+ - `skills/.experimental/`
343
+ - `skills/.system/`
344
+ - `.agents/skills/`
345
+ - `.agent/skills/`
346
+ - `.augment/skills/`
347
+ - `.claude/skills/`
348
+ - `./skills/`
349
+ - `.cline/skills/`
350
+ - `.codebuddy/skills/`
351
+ - `.commandcode/skills/`
352
+ - `.continue/skills/`
353
+ - `.crush/skills/`
354
+ - `.cursor/skills/`
355
+ - `.factory/skills/`
356
+ - `.goose/skills/`
357
+ - `.junie/skills/`
358
+ - `.iflow/skills/`
359
+ - `.kilocode/skills/`
360
+ - `.kiro/skills/`
361
+ - `.kode/skills/`
362
+ - `.mcpjam/skills/`
363
+ - `.vibe/skills/`
364
+ - `.mux/skills/`
365
+ - `.openhands/skills/`
366
+ - `.pi/skills/`
367
+ - `.qoder/skills/`
368
+ - `.qwen/skills/`
369
+ - `.roo/skills/`
370
+ - `.trae/skills/`
371
+ - `.windsurf/skills/`
372
+ - `.zencoder/skills/`
373
+ - `.neovate/skills/`
374
+ - `.pochi/skills/`
375
+ - `.adal/skills/`
376
+ <!-- skill-discovery:end -->
377
+
378
+ ### Plugin Manifest Discovery
379
+
380
+ If `.claude-plugin/marketplace.json` or `.claude-plugin/plugin.json` exists, skills declared in those files are also discovered:
381
+
382
+ ```json
383
+ // .claude-plugin/marketplace.json
384
+ {
385
+ "metadata": { "pluginRoot": "./plugins" },
386
+ "plugins": [{
387
+ "name": "my-plugin",
388
+ "source": "my-plugin",
389
+ "skills": ["./skills/review", "./skills/test"]
390
+ }]
391
+ }
392
+ ```
393
+
394
+ This enables compatibility with the [Claude Code plugin marketplace](https://code.claude.com/docs/en/plugin-marketplaces) ecosystem.
395
+
396
+ If no skills are found in standard locations, a recursive search is performed.
397
+
398
+ ## Compatibility
399
+
400
+ Skills are generally compatible across agents since they follow a
401
+ shared [Agent Skills specification](https://agentskills.io). However, some features may be agent-specific:
402
+
403
+ | Feature | OpenCode | OpenHands | Claude Code | Cline | CodeBuddy | Codex | Command Code | Kiro CLI | Cursor | Antigravity | Roo Code | Github Copilot | Amp | Clawdbot | Neovate | Pi | Qoder | Zencoder |
404
+ | --------------- | -------- | --------- | ----------- | ----- | --------- | ----- | ------------ | -------- | ------ | ----------- | -------- | -------------- | --- | -------- | ------- | --- | ----- | -------- |
405
+ | Basic skills | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
406
+ | `allowed-tools` | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | No |
407
+ | `context: fork` | No | No | Yes | No | No | No | No | No | No | No | No | No | No | No | No | No | No | No |
408
+ | Hooks | No | No | Yes | Yes | No | No | No | No | No | No | No | No | No | No | No | No | No | No |
409
+
410
+ ## Troubleshooting
411
+
412
+ ### "No skills found"
413
+
414
+ Ensure the repository contains valid `SKILL.md` files with both `name` and `description` in the frontmatter.
415
+
416
+ ### Skill not loading in agent
417
+
418
+ - Verify the skill was installed to the correct path
419
+ - Check the agent's documentation for skill loading requirements
420
+ - Ensure the `SKILL.md` frontmatter is valid YAML
421
+
422
+ ### Permission errors
423
+
424
+ Ensure you have write access to the target directory.
425
+
426
+ ## Environment Variables
427
+
428
+ | Variable | Description |
429
+ | ------------------------- | -------------------------------------------------------------------------- |
430
+ | `GAIA_API_URL` | Gaia API base URL (default: `https://skills.gaiaworks.cn`) |
431
+ | `INSTALL_INTERNAL_SKILLS` | Set to `1` or `true` to show and install skills marked as `internal: true` |
432
+ | `DISABLE_TELEMETRY` | Set to disable anonymous usage telemetry |
433
+ | `DO_NOT_TRACK` | Alternative way to disable telemetry |
434
+
435
+ ```bash
436
+ # Configure custom Gaia API URL
437
+ GAIA_API_URL=https://custom-api.example.com npx gaia-skills find "数据"
438
+
439
+ # Install internal skills
440
+ INSTALL_INTERNAL_SKILLS=1 npx gaia-skills add vercel-labs/agent-skills --list
441
+ ```
442
+
443
+ ## Telemetry
444
+
445
+ This CLI collects anonymous usage data to help improve the tool. No personal information is collected.
446
+
447
+ Telemetry is automatically disabled in CI environments.
448
+
449
+ ## Related Links
450
+
451
+ - [Agent Skills Specification](https://agentskills.io)
452
+ - [Skills Directory](https://skills.sh)
453
+ - [Amp Skills Documentation](https://ampcode.com/manual#agent-skills)
454
+ - [Antigravity Skills Documentation](https://antigravity.google/docs/skills)
455
+ - [Factory AI / Droid Skills Documentation](https://docs.factory.ai/cli/configuration/skills)
456
+ - [Claude Code Skills Documentation](https://code.claude.com/docs/en/skills)
457
+ - [Clawdbot Skills Documentation](https://docs.clawd.bot/tools/skills)
458
+ - [Cline Skills Documentation](https://docs.cline.bot/features/skills)
459
+ - [CodeBuddy Skills Documentation](https://www.codebuddy.ai/docs/ide/Features/Skills)
460
+ - [Codex Skills Documentation](https://developers.openai.com/codex/skills)
461
+ - [Command Code Skills Documentation](https://commandcode.ai/docs/skills)
462
+ - [Crush Skills Documentation](https://github.com/charmbracelet/crush?tab=readme-ov-file#agent-skills)
463
+ - [Cursor Skills Documentation](https://cursor.com/docs/context/skills)
464
+ - [Gemini CLI Skills Documentation](https://geminicli.com/docs/cli/skills/)
465
+ - [GitHub Copilot Agent Skills](https://docs.github.com/en/copilot/concepts/agents/about-agent-skills)
466
+ - [iFlow CLI Skills Documentation](https://platform.iflow.cn/en/cli/examples/skill)
467
+ - [Kimi Code CLI Skills Documentation](https://moonshotai.github.io/kimi-cli/en/customization/skills.html)
468
+ - [Kiro CLI Skills Documentation](https://kiro.dev/docs/cli/custom-agents/configuration-reference/#skill-resources)
469
+ - [Kode Skills Documentation](https://github.com/shareAI-lab/kode/blob/main/docs/skills.md)
470
+ - [OpenCode Skills Documentation](https://opencode.ai/docs/skills)
471
+ - [Qwen Code Skills Documentation](https://qwenlm.github.io/qwen-code-docs/en/users/features/skills/)
472
+ - [OpenHands Skills Documentation](https://docs.openhands.ai/modules/usage/how-to/using-skills)
473
+ - [Pi Skills Documentation](https://github.com/badlogic/pi-mono/blob/main/packages/coding-agent/docs/skills.md)
474
+ - [Qoder Skills Documentation](https://docs.qoder.com/cli/Skills)
475
+ - [Replit Skills Documentation](https://docs.replit.com/replitai/skills)
476
+ - [Roo Code Skills Documentation](https://docs.roocode.com/features/skills)
477
+ - [Trae Skills Documentation](https://docs.trae.ai/ide/skills)
478
+ - [Vercel Agent Skills Repository](https://github.com/vercel-labs/agent-skills)
479
+
480
+ ## License
481
+
482
+ MIT
@@ -0,0 +1,125 @@
1
+ /*!----------------- Skills CLI ThirdPartyNotices -------------------------------------------------------
2
+
3
+ The Skills CLI incorporates third party material from the projects listed below.
4
+ The original copyright notice and the license under which this material was received
5
+ are set forth below. These licenses and notices are provided for informational purposes only.
6
+
7
+ ---------------------------------------------
8
+ Third Party Code Components
9
+ --------------------------------------------
10
+
11
+ ================================================================================
12
+ Package: @clack/prompts@0.11.0
13
+ License: MIT
14
+ Repository: https://github.com/bombshell-dev/clack
15
+ --------------------------------------------------------------------------------
16
+
17
+ MIT License
18
+
19
+ Copyright (c) Nate Moore
20
+
21
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
22
+
23
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
24
+
25
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26
+
27
+
28
+ ================================================================================
29
+ Package: gray-matter@4.0.3
30
+ License: MIT
31
+ Repository: https://github.com/jonschlinkert/gray-matter
32
+ --------------------------------------------------------------------------------
33
+
34
+ The MIT License (MIT)
35
+
36
+ Copyright (c) 2014-2018, Jon Schlinkert.
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
46
+ all 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
54
+ THE SOFTWARE.
55
+
56
+
57
+ ================================================================================
58
+ Package: picocolors@1.1.1
59
+ License: ISC
60
+ Repository: https://github.com/alexeyraspopov/picocolors
61
+ --------------------------------------------------------------------------------
62
+
63
+ ISC License
64
+
65
+ Copyright (c) 2021-2024 Oleksii Raspopov, Kostiantyn Denysov, Anton Verinov
66
+
67
+ Permission to use, copy, modify, and/or distribute this software for any
68
+ purpose with or without fee is hereby granted, provided that the above
69
+ copyright notice and this permission notice appear in all copies.
70
+
71
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
72
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
73
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
74
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
75
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
76
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
77
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
78
+
79
+
80
+ ================================================================================
81
+ Package: simple-git@3.30.0
82
+ License: MIT
83
+ Repository: https://github.com/steveukx/git-js
84
+ --------------------------------------------------------------------------------
85
+
86
+ MIT License
87
+
88
+ Permission is hereby granted, free of charge, to any person obtaining a copy
89
+ of this software and associated documentation files (the "Software"), to deal
90
+ in the Software without restriction, including without limitation the rights
91
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
92
+ copies of the Software, and to permit persons to whom the Software is
93
+ furnished to do so, subject to the following conditions:
94
+
95
+ The above copyright notice and this permission notice shall be included in all
96
+ copies or substantial portions of the Software.
97
+
98
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
99
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
100
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
101
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
102
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
103
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
104
+ SOFTWARE.
105
+
106
+
107
+ ================================================================================
108
+ Package: xdg-basedir@5.1.0
109
+ License: MIT
110
+ Repository: https://github.com/sindresorhus/xdg-basedir
111
+ --------------------------------------------------------------------------------
112
+
113
+ MIT License
114
+
115
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
116
+
117
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
118
+
119
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
120
+
121
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
122
+
123
+
124
+ ================================================================================
125
+ */
package/bin/cli.mjs ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env node
2
+
3
+ import module from 'node:module';
4
+
5
+ // https://nodejs.org/api/module.html#module-compile-cache
6
+ if (module.enableCompileCache && !process.env.NODE_DISABLE_COMPILE_CACHE) {
7
+ try {
8
+ module.enableCompileCache();
9
+ } catch {
10
+ // Ignore errors
11
+ }
12
+ }
13
+
14
+ await import('../dist/cli.mjs');