@grekt/cli 6.32.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 (4) hide show
  1. package/LICENSE +57 -0
  2. package/README.md +74 -0
  3. package/dist/index.js +96233 -0
  4. package/package.json +61 -0
package/LICENSE ADDED
@@ -0,0 +1,57 @@
1
+ Business Source License 1.1
2
+
3
+ Parameters
4
+
5
+ Licensor: grekt-labs
6
+ Licensed Work: grekt cli
7
+ The Licensed Work is (c) 2025-2026 grekt-labs.
8
+ Additional Use Grant: You may make production use of the Licensed Work,
9
+ provided that you do not use the Licensed Work to
10
+ offer a commercial product or service that competes
11
+ with any grekt product or service.
12
+
13
+ For purposes of this license, "competes" means
14
+ offering a substitute product or service whose
15
+ value derives primarily from the Licensed Work.
16
+
17
+ Individual and internal business use of the
18
+ Licensed Work is always permitted.
19
+ Change Date: Two years from the date of each published version
20
+ of the Licensed Work.
21
+ Change License: MIT License
22
+
23
+ Terms
24
+
25
+ The Licensor hereby grants you the right to copy, modify, create derivative works, redistribute, and make non-production use of the Licensed Work. The Licensor may make an Additional Use Grant, above, permitting limited production use.
26
+
27
+ Effective on the Change Date, or the fourth anniversary of the first publicly available distribution of a specific version of the Licensed Work under this License, whichever comes first, the Licensor hereby grants you rights under the terms of the Change License, and the rights granted in the paragraph above terminate.
28
+
29
+ If your use of the Licensed Work does not comply with the requirements currently in effect as described in this License, you must purchase a commercial license from the Licensor, its affiliated entities, or authorized resellers, or you must refrain from using the Licensed Work.
30
+
31
+ All copies of the original and modified Licensed Work, and derivative works of the Licensed Work, are subject to this License. This License applies separately for each version of the Licensed Work and the Change Date may vary for each version of the Licensed Work released by Licensor.
32
+
33
+ You must conspicuously display this License on each original or modified copy of the Licensed Work. If you receive the Licensed Work in original or modified form from a third party, the terms and conditions set forth in this License apply to your use of that work.
34
+
35
+ Any use of the Licensed Work in violation of this License will automatically terminate your rights under this License for the current and all other versions of the Licensed Work.
36
+
37
+ This License does not grant you any right in any trademark or logo of Licensor or its affiliates (provided that you may use a trademark or logo of Licensor as expressly required by this License).
38
+
39
+ TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON AN "AS IS" BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND TITLE.
40
+
41
+ MariaDB hereby grants you permission to use this License's text to license your works, and to refer to it using the trademark "Business Source License", as long as you comply with the Covenants of Licensor below.
42
+
43
+ Covenants of Licensor
44
+
45
+ In consideration of the right to use this License's text and the "Business Source License" name and trademark, Licensor covenants to MariaDB, and to all other recipients of the licensed work to be provided by Licensor:
46
+
47
+ 1. To specify as the Change License the GPL Version 2.0 or any later version, or a license that is compatible with GPL Version 2.0 or a later version, where "compatible" means that software provided under the Change License can be included in a program with software provided under GPL Version 2.0 or a later version. Licensor may specify additional Change Licenses without limitation.
48
+
49
+ 2. To either: (a) specify an additional grant of rights to use that does not impose any additional restriction on the right granted in this License, as the Additional Use Grant; or (b) insert the text "None".
50
+
51
+ 3. To specify a Change Date.
52
+
53
+ 4. Not to modify this License in any other way.
54
+
55
+ Notice
56
+
57
+ The Business Source License (this document, or the "License") is not an Open Source license. However, the Licensed Work will eventually be made available under an Open Source License, as stated in this License.
package/README.md ADDED
@@ -0,0 +1,74 @@
1
+ # grekt
2
+
3
+ AI artifacts versioned, synced, and shared across tools, teams, and the [community](https://explore.grekt.com).
4
+
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
+
7
+ ## Installation
8
+
9
+ ### Linux / macOS
10
+
11
+ ```bash
12
+ curl -fsSL https://cli.grekt.com/install.sh | sh
13
+ ```
14
+
15
+ Or with custom options:
16
+
17
+ ```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
23
+ ```
24
+
25
+ ### macOS (Homebrew)
26
+
27
+ ```bash
28
+ brew install grekt-labs/tap/grekt
29
+ ```
30
+
31
+ ## Quick Start
32
+
33
+ ```bash
34
+ # Initialize a project
35
+ grekt init
36
+
37
+ # Add an artifact from the registry
38
+ grekt add @scope/artifact-name
39
+
40
+ # Install all artifacts from lockfile
41
+ grekt install
42
+
43
+ # Sync artifacts to your AI tools
44
+ grekt sync
45
+
46
+ # Check integrity and context budget
47
+ grekt check
48
+ ```
49
+
50
+ For the full command reference, guides, and artifact format, visit the [documentation](https://docs.grekt.com).
51
+
52
+ ## Development
53
+
54
+ ### Requirements
55
+
56
+ - [Bun](https://bun.sh) >= 1.0
57
+
58
+ ### Local setup
59
+
60
+ ```bash
61
+ cd cli
62
+ bun install
63
+ bun link
64
+ ```
65
+
66
+ Now `grekt` is available globally.
67
+
68
+ ## Contributing
69
+
70
+ See [CONTRIBUTING.md](./CONTRIBUTING.md). Feature requests and bug reports are welcome.
71
+
72
+ ## License
73
+
74
+ [BSL 1.1](./LICENSE) — [What does this mean?](./LICENSING.md)