@kya-os/cli 1.2.1 → 1.2.2
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.js +17 -20
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -24,9 +24,9 @@ const logo = chalk.cyan(`
|
|
|
24
24
|
╩ ╩ ╩ ╩ ╩ ╚═╝╚═╝
|
|
25
25
|
`);
|
|
26
26
|
program
|
|
27
|
-
.name("
|
|
27
|
+
.name("mcpi")
|
|
28
28
|
.description("CLI for XMCP-I setup and management")
|
|
29
|
-
.version("1.
|
|
29
|
+
.version("1.2.2")
|
|
30
30
|
.addHelpText("before", logo);
|
|
31
31
|
// Development commands
|
|
32
32
|
program
|
|
@@ -177,30 +177,27 @@ ${chalk.bold("Available Commands:")}
|
|
|
177
177
|
${chalk.bold("Examples:")}
|
|
178
178
|
${chalk.gray("# Create and start a new agent")}
|
|
179
179
|
${chalk.cyan("npx @kya-os/create-mcpi-app my-agent")}
|
|
180
|
-
${chalk.cyan("cd my-agent &&
|
|
181
|
-
|
|
180
|
+
${chalk.cyan("cd my-agent && mcpi dev")}
|
|
181
|
+
|
|
182
182
|
${chalk.gray("# Initialize identity and register")}
|
|
183
|
-
${chalk.cyan("
|
|
184
|
-
${chalk.cyan("
|
|
185
|
-
|
|
183
|
+
${chalk.cyan("mcpi init")}
|
|
184
|
+
${chalk.cyan("mcpi register")}
|
|
185
|
+
|
|
186
186
|
${chalk.gray("# Build and deploy")}
|
|
187
|
-
${chalk.cyan("
|
|
188
|
-
${chalk.cyan("
|
|
189
|
-
|
|
187
|
+
${chalk.cyan("mcpi build")}
|
|
188
|
+
${chalk.cyan("mcpi start")}
|
|
189
|
+
|
|
190
190
|
${chalk.gray("# Key management")}
|
|
191
|
-
${chalk.cyan("
|
|
192
|
-
${chalk.cyan("
|
|
191
|
+
${chalk.cyan("mcpi keys rotate")}
|
|
192
|
+
${chalk.cyan("mcpi identity clean --force")}
|
|
193
193
|
|
|
194
194
|
${chalk.bold("Documentation:")}
|
|
195
195
|
${chalk.gray("https://docs.kya-os.ai/xmcp-i")}
|
|
196
196
|
`);
|
|
197
|
-
//
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
if (!process.argv.slice(2).length) {
|
|
203
|
-
program.outputHelp();
|
|
204
|
-
}
|
|
197
|
+
// Parse arguments (removed ES module guard that prevented CLI execution)
|
|
198
|
+
program.parse();
|
|
199
|
+
// Show help if no command specified
|
|
200
|
+
if (!process.argv.slice(2).length) {
|
|
201
|
+
program.outputHelp();
|
|
205
202
|
}
|
|
206
203
|
//# sourceMappingURL=index.prod.js.map
|