@grekt/cli 6.33.2 → 6.35.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 (3) hide show
  1. package/README.md +27 -32
  2. package/dist/index.js +8399 -2239
  3. package/package.json +3 -2
package/README.md CHANGED
@@ -1,9 +1,18 @@
1
1
  # grekt
2
2
 
3
- AI artifacts versioned, synced, and shared across tools, teams, and the [community](https://explore.grekt.com).
3
+ The package manager for AI coding tools. Manage prompts, rules, agents, and skills across Claude Code, Cursor, Windsurf, Copilot, Cline, and [more](https://docs.grekt.com) - version-controlled, shareable, and synced.
4
4
 
5
5
  > **Free to use.** grekt is free for personal and commercial use. If you're building something with it, we'd love to hear about it. The source is available under [BSL 1.1](./LICENSE), which just means you can't use this code to build something that competes with grekt. Each version converts to [MIT](./LICENSING.md) after two years.
6
6
 
7
+ ## Why grekt?
8
+
9
+ AI coding assistants rely on project rules, custom instructions, and agent configurations - but there's no standard way to manage, share, or keep them in sync. grekt solves this:
10
+
11
+ - **One command** to add community or private artifacts to any project
12
+ - **Deterministic installs** via lockfile, just like npm or cargo
13
+ - **Auto-sync** to every tool your team uses - no manual copy-paste between `.cursorrules`, `CLAUDE.md`, `.windsurfrules`, etc.
14
+ - **Publish and share** artifacts with your team or the [community registry](https://explore.grekt.com)
15
+
7
16
  ## Installation
8
17
 
9
18
  ### Linux / macOS
@@ -12,63 +21,49 @@ AI artifacts versioned, synced, and shared across tools, teams, and the [communi
12
21
  curl -fsSL https://cli.grekt.com/install.sh | sh
13
22
  ```
14
23
 
15
- Or with custom options:
24
+ ### macOS (Homebrew)
16
25
 
17
26
  ```bash
18
- # Install specific version
19
- GREKT_VERSION=2.3.4 curl -fsSL https://cli.grekt.com/install.sh | sh
20
-
21
- # Custom install directory
22
- GREKT_INSTALL=/opt/bin curl -fsSL https://cli.grekt.com/install.sh | sh
27
+ brew install grekt-labs/tap/grekt
23
28
  ```
24
29
 
25
- ### macOS (Homebrew)
30
+ ### npm
26
31
 
27
32
  ```bash
28
- brew install grekt-labs/tap/grekt
33
+ npm install -g @grekt/cli
29
34
  ```
30
35
 
31
36
  ## Quick Start
32
37
 
33
38
  ```bash
34
- # Initialize a project
35
- grekt init
36
-
37
- # Add an artifact from the registry
38
- grekt add @scope/artifact-name
39
+ grekt init # Initialize a project
40
+ grekt add @scope/artifact-name # Add an artifact
41
+ grekt install # Install from lockfile
42
+ grekt sync # Sync to your AI tools
43
+ ```
39
44
 
40
- # Install all artifacts from lockfile
41
- grekt install
45
+ Artifacts can come from the [public registry](https://explore.grekt.com) (`@scope/name`), GitHub (`github:user/repo`), GitLab (`gitlab:host/user/repo`), or a local path (`./path`).
42
46
 
43
- # Sync artifacts to your AI tools
44
- grekt sync
47
+ ### Supported tools
45
48
 
46
- # Check integrity and context budget
47
- grekt check
48
- ```
49
+ grekt syncs to Claude Code, Cursor, Windsurf, Cline, GitHub Copilot, Aider, Continue, OpenCode, Amazon Q, and any tool following the [agentskills.io](https://agentskills.io) standard (Codex, Gemini CLI, Devin, Amp, Zed, and others).
49
50
 
50
- For the full command reference, guides, and artifact format, visit the [documentation](https://docs.grekt.com).
51
+ For the full command reference and guides, visit the [documentation](https://docs.grekt.com).
51
52
 
52
53
  ## Development
53
54
 
54
- ### Requirements
55
-
56
- - [Bun](https://bun.sh) >= 1.0
57
-
58
- ### Local setup
55
+ Requires [Bun](https://bun.sh) >= 1.0.
59
56
 
60
57
  ```bash
61
- cd cli
62
58
  bun install
63
- bun link
59
+ bun link # makes grekt available globally
60
+ bun test
64
61
  ```
65
62
 
66
- Now `grekt` is available globally.
67
-
68
63
  ## Contributing
69
64
 
70
65
  See [CONTRIBUTING.md](./CONTRIBUTING.md). Feature requests and bug reports are welcome.
71
66
 
72
67
  ## License
73
68
 
74
- [BSL 1.1](./LICENSE) [What does this mean?](./LICENSING.md)
69
+ [BSL 1.1](./LICENSE) - [What does this mean?](./LICENSING.md)