create-agentvoy 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/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -0
- package/package.json +29 -0
- package/src/index.ts +14 -0
- package/tsconfig.json +8 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA;;;;;GAKG"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";
|
|
3
|
+
/**
|
|
4
|
+
* create-agentvoy
|
|
5
|
+
*
|
|
6
|
+
* Quick project scaffolding: npx create-agentvoy my-agent
|
|
7
|
+
* Delegates to the main agentvoy CLI create command.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
const node_child_process_1 = require("node:child_process");
|
|
11
|
+
const args = process.argv.slice(2).join(" ");
|
|
12
|
+
console.log("\nDelegating to: agentvoy create " + args + "\n");
|
|
13
|
+
(0, node_child_process_1.execSync)(`npx agentvoy create ${args}`, { stdio: "inherit" });
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAEA;;;;;GAKG;;AAEH,2DAA8C;AAE9C,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC7C,OAAO,CAAC,GAAG,CAAC,mCAAmC,GAAG,IAAI,GAAG,IAAI,CAAC,CAAC;AAC/D,IAAA,6BAAQ,EAAC,uBAAuB,IAAI,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "create-agentvoy",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Create a new AgentVoy project — npx create-agentvoy my-agent",
|
|
5
|
+
"bin": {
|
|
6
|
+
"create-agentvoy": "dist/index.js"
|
|
7
|
+
},
|
|
8
|
+
"main": "dist/index.js",
|
|
9
|
+
"scripts": {
|
|
10
|
+
"build": "tsc",
|
|
11
|
+
"dev": "tsc --watch",
|
|
12
|
+
"clean": "rm -rf dist",
|
|
13
|
+
"lint": "tsc --noEmit"
|
|
14
|
+
},
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@agentvoy/core": "*",
|
|
17
|
+
"commander": "^13.0.0",
|
|
18
|
+
"inquirer": "^12.0.0",
|
|
19
|
+
"chalk": "^5.4.0",
|
|
20
|
+
"ora": "^8.0.0",
|
|
21
|
+
"fs-extra": "^11.0.0"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"typescript": "^5.7.0",
|
|
25
|
+
"@types/node": "^20.0.0",
|
|
26
|
+
"@types/fs-extra": "^11.0.0"
|
|
27
|
+
},
|
|
28
|
+
"license": "Apache-2.0"
|
|
29
|
+
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* create-agentvoy
|
|
5
|
+
*
|
|
6
|
+
* Quick project scaffolding: npx create-agentvoy my-agent
|
|
7
|
+
* Delegates to the main agentvoy CLI create command.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
import { execSync } from "node:child_process";
|
|
11
|
+
|
|
12
|
+
const args = process.argv.slice(2).join(" ");
|
|
13
|
+
console.log("\nDelegating to: agentvoy create " + args + "\n");
|
|
14
|
+
execSync(`npx agentvoy create ${args}`, { stdio: "inherit" });
|