@kya-os/cli 1.2.0 → 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.
Files changed (2) hide show
  1. package/dist/index.js +17 -20
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -24,9 +24,9 @@ const logo = chalk.cyan(`
24
24
  ╩ ╩ ╩ ╩ ╩ ╚═╝╚═╝
25
25
  `);
26
26
  program
27
- .name("mcp-i")
27
+ .name("mcpi")
28
28
  .description("CLI for XMCP-I setup and management")
29
- .version("1.0.0")
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 && mcp-i dev")}
181
-
180
+ ${chalk.cyan("cd my-agent && mcpi dev")}
181
+
182
182
  ${chalk.gray("# Initialize identity and register")}
183
- ${chalk.cyan("mcp-i init")}
184
- ${chalk.cyan("mcp-i register")}
185
-
183
+ ${chalk.cyan("mcpi init")}
184
+ ${chalk.cyan("mcpi register")}
185
+
186
186
  ${chalk.gray("# Build and deploy")}
187
- ${chalk.cyan("mcp-i build")}
188
- ${chalk.cyan("mcp-i start")}
189
-
187
+ ${chalk.cyan("mcpi build")}
188
+ ${chalk.cyan("mcpi start")}
189
+
190
190
  ${chalk.gray("# Key management")}
191
- ${chalk.cyan("mcp-i keys rotate")}
192
- ${chalk.cyan("mcp-i identity clean --force")}
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
- // Only execute if running as main module (not imported)
198
- if (import.meta.url === `file://${process.argv[1]}`) {
199
- // Parse arguments
200
- program.parse();
201
- // Show help if no command specified
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kya-os/cli",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "CLI for MCP-I setup and management",
5
5
  "keywords": [
6
6
  "cli",
@@ -41,7 +41,7 @@
41
41
  "demo:fast": "tsx src/index.ts demo --init --fast"
42
42
  },
43
43
  "dependencies": {
44
- "@kya-os/contracts": "workspace:*",
44
+ "@kya-os/contracts": "^1.2.0",
45
45
  "boxen": "^8.0.1",
46
46
  "chalk": "^5.3.0",
47
47
  "cli-table3": "^0.6.5",
@@ -54,7 +54,7 @@
54
54
  "open": "^10.1.2",
55
55
  "ora": "^8.0.1",
56
56
  "terminal-image": "^3.1.1",
57
- "@kya-os/mcp-i": "workspace:*",
57
+ "@kya-os/mcp-i": "^1.2.0",
58
58
  "zod": "^3.23.8"
59
59
  },
60
60
  "devDependencies": {