create-eagi 0.1.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/.turbo/turbo-build.log +10 -0
- package/LICENSE +28 -0
- package/dist/index.js +10 -0
- package/package.json +20 -0
- package/src/index.ts +16 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
|
|
2
|
+
> create-eagi@0.1.0 build /home/runner/work/eagi-mcp-framework/eagi-mcp-framework/packages/create-eagi
|
|
3
|
+
> tsup src/index.ts --format cjs
|
|
4
|
+
|
|
5
|
+
[34mCLI[39m Building entry: src/index.ts
|
|
6
|
+
[34mCLI[39m tsup v8.5.1
|
|
7
|
+
[34mCLI[39m Target: node16
|
|
8
|
+
[34mCJS[39m Build start
|
|
9
|
+
[32mCJS[39m [1mdist/index.js [22m[32m457.00 B[39m
|
|
10
|
+
[32mCJS[39m ⚡️ Build success in 20ms
|
package/LICENSE
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
EAGI Sustainable Use License
|
|
2
|
+
|
|
3
|
+
Version 1.0, June 2026
|
|
4
|
+
|
|
5
|
+
Copyright (c) 2026 EAGI Authors
|
|
6
|
+
|
|
7
|
+
This License governs the use of the EAGI MCP Framework (including its SDK, CLI, and Gateway). By using, copying, modifying, or distributing this software, you agree to comply with the terms of this License.
|
|
8
|
+
|
|
9
|
+
1. Grant of License
|
|
10
|
+
Subject to the restrictions in Section 2, the authors hereby grant you a free, worldwide, non-exclusive, non-transferable, revocable license to:
|
|
11
|
+
a) Use, copy, and run the software for personal, educational, research, and internal business operations.
|
|
12
|
+
b) Modify the software's source code for your personal or internal business operations.
|
|
13
|
+
c) Distribute modifications of the software, provided that any recipient is bound by the terms of this License.
|
|
14
|
+
|
|
15
|
+
2. Restrictions on Commercial and Competitive Use
|
|
16
|
+
You may NOT do any of the following without obtaining prior, written, explicit commercial licensing permission from the copyright holders:
|
|
17
|
+
a) Offer the software or any modified version thereof as a hosted service, Software-as-a-Service (SaaS), Platform-as-a-Service (PaaS), or managed cloud product where the core value or primary functionality derived by users comes from this software.
|
|
18
|
+
b) Sell, rent, lease, or sub-license the software, or any modified version thereof, for a fee.
|
|
19
|
+
c) Embed, bundle, or white-label the software (or any modified version thereof) inside a commercial application, platform, or hardware product that is distributed or sold to third parties.
|
|
20
|
+
|
|
21
|
+
3. Professional Services Exception
|
|
22
|
+
You ARE permitted to charge for professional services related to this software (such as custom domain consulting, building workflows, training, deployment help, or infrastructure management) provided that your clients host and manage their own instances under their own names and comply with Section 1 and 2 of this License.
|
|
23
|
+
|
|
24
|
+
4. Intellectual Property
|
|
25
|
+
All rights, title, and interest in and to the software, including copyright and other intellectual property rights, remain the exclusive property of the authors.
|
|
26
|
+
|
|
27
|
+
5. Disclaimer of Warranty
|
|
28
|
+
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.
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// src/index.ts
|
|
4
|
+
var import_node_child_process = require("child_process");
|
|
5
|
+
var import_commander = require("commander");
|
|
6
|
+
var program = new import_commander.Command("create-eagi").argument("<project-name>", "Name of your new project").action((name) => {
|
|
7
|
+
console.log(`Bootstrapping project: ${name}`);
|
|
8
|
+
(0, import_node_child_process.spawnSync)("npx", ["-y", "@eagi/cli@latest", "init", name], { stdio: "inherit" });
|
|
9
|
+
});
|
|
10
|
+
program.parse();
|
package/package.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "create-eagi",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Bootstrapper for EAGI projects",
|
|
5
|
+
"bin": {
|
|
6
|
+
"create-eagi": "./dist/index.js"
|
|
7
|
+
},
|
|
8
|
+
"dependencies": {
|
|
9
|
+
"chalk": "^5.3.0",
|
|
10
|
+
"commander": "^12.0.0"
|
|
11
|
+
},
|
|
12
|
+
"devDependencies": {
|
|
13
|
+
"@types/node": "^20.0.0",
|
|
14
|
+
"tsup": "^8.0.2",
|
|
15
|
+
"typescript": "^5.4.0"
|
|
16
|
+
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "tsup src/index.ts --format cjs"
|
|
19
|
+
}
|
|
20
|
+
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { spawnSync } from 'node:child_process';
|
|
3
|
+
import { Command } from 'commander';
|
|
4
|
+
|
|
5
|
+
const program = new Command('create-eagi')
|
|
6
|
+
.argument('<project-name>', 'Name of your new project')
|
|
7
|
+
.action((name) => {
|
|
8
|
+
// A real bootstrapper would clone a template or construct it here.
|
|
9
|
+
// For now, we simulate by invoking the `@eagi/cli`'s `init` command
|
|
10
|
+
// assuming the CLI is globally installed, or we just write it directly.
|
|
11
|
+
console.log(`Bootstrapping project: ${name}`);
|
|
12
|
+
|
|
13
|
+
spawnSync('npx', ['-y', '@eagi/cli@latest', 'init', name], { stdio: 'inherit' });
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
program.parse();
|