musubix 1.0.7 → 1.0.8

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.
@@ -0,0 +1,19 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * MUSUBIX MCP Server Entry Point (Root Package)
4
+ *
5
+ * This file delegates to the @nahisaho/musubix-mcp-server package.
6
+ *
7
+ * @see REQ-ARC-003 - MCP Server
8
+ *
9
+ * Usage:
10
+ * npx musubix-mcp
11
+ * musubix-mcp --transport stdio
12
+ */
13
+
14
+ import { main } from '@nahisaho/musubix-mcp-server';
15
+
16
+ main().catch((error) => {
17
+ console.error('MUSUBIX MCP Server error:', error);
18
+ process.exit(1);
19
+ });
package/bin/musubix.js ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * MUSUBIX CLI Entry Point (Root Package)
4
+ *
5
+ * This file re-exports the CLI from @nahisaho/musubix-core package.
6
+ *
7
+ * @see REQ-ARC-002 - CLI Interface
8
+ *
9
+ * Usage:
10
+ * npx musubix
11
+ * musubix <command> [options]
12
+ */
13
+
14
+ // Forward to the core package's CLI
15
+ import '@nahisaho/musubix-core/bin/musubix.js';
package/package.json CHANGED
@@ -1,18 +1,17 @@
1
1
  {
2
2
  "name": "musubix",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Neuro-Symbolic AI Coding System - MUSUBI × YATA Integration",
5
5
  "type": "module",
6
6
  "workspaces": [
7
7
  "packages/*"
8
8
  ],
9
9
  "bin": {
10
- "musubix": "./packages/core/bin/musubix.js",
11
- "musubix-mcp": "./packages/mcp-server/bin/musubix-mcp.js"
10
+ "musubix": "./bin/musubix.js",
11
+ "musubix-mcp": "./bin/musubix-mcp.js"
12
12
  },
13
13
  "files": [
14
- "packages/*/dist",
15
- "packages/*/bin",
14
+ "bin/",
16
15
  "AGENTS.md",
17
16
  "README.md",
18
17
  "README.ja.md",
@@ -61,7 +60,7 @@
61
60
  },
62
61
  "dependencies": {
63
62
  "@modelcontextprotocol/sdk": "1.25.1",
64
- "@nahisaho/musubix-core": "^1.0.3",
63
+ "@nahisaho/musubix-core": "^1.0.7",
65
64
  "@nahisaho/musubix-mcp-server": "^1.0.2",
66
65
  "@nahisaho/musubix-yata-client": "^1.0.2"
67
66
  }
@@ -1,18 +0,0 @@
1
- #!/usr/bin/env node
2
- /**
3
- * MUSUBIX CLI Entry Point
4
- *
5
- * @see REQ-ARC-002 - CLI Interface
6
- *
7
- * Usage:
8
- * npx @musubix/core
9
- * npx musubix
10
- * musubix <command> [options]
11
- */
12
-
13
- import { createProgram } from '../dist/cli/base.js';
14
- import { registerCommands } from '../dist/cli/commands/index.js';
15
-
16
- const program = createProgram();
17
- registerCommands(program);
18
- program.parse();
@@ -1,73 +0,0 @@
1
- #!/usr/bin/env node
2
- /**
3
- * MUSUBIX MCP Server Entry Point
4
- *
5
- * Starts the MCP server for AI platform integration.
6
- *
7
- * @see REQ-INT-102 - MCP Server
8
- *
9
- * Usage:
10
- * npx @musubix/mcp-server
11
- * musubix-mcp --transport stdio
12
- * musubix-mcp --transport sse --port 8080
13
- */
14
-
15
- import { startServer, VERSION } from '../dist/index.js';
16
- import { parseArgs } from 'node:util';
17
-
18
- const options = {
19
- transport: {
20
- type: 'string',
21
- short: 't',
22
- default: 'stdio'
23
- },
24
- port: {
25
- type: 'string',
26
- short: 'p',
27
- default: '3000'
28
- },
29
- help: {
30
- type: 'boolean',
31
- short: 'h',
32
- default: false
33
- },
34
- version: {
35
- type: 'boolean',
36
- short: 'v',
37
- default: false
38
- }
39
- };
40
-
41
- const { values } = parseArgs({ options, allowPositionals: true });
42
-
43
- if (values.help) {
44
- console.log(`
45
- MUSUBIX MCP Server - Model Context Protocol Server for AI Platforms
46
-
47
- Usage:
48
- musubix-mcp [options]
49
-
50
- Options:
51
- -t, --transport <type> Transport type: stdio | sse (default: stdio)
52
- -p, --port <port> Port for SSE transport (default: 3000)
53
- -h, --help Show this help message
54
- -v, --version Show version
55
-
56
- Examples:
57
- musubix-mcp # Start with stdio transport
58
- musubix-mcp -t sse -p 8080 # Start SSE server on port 8080
59
- npx @musubix/mcp-server # Run via npx
60
- `);
61
- process.exit(0);
62
- }
63
-
64
- if (values.version) {
65
- console.log(`@musubix/mcp-server v${VERSION}`);
66
- process.exit(0);
67
- }
68
-
69
- // Start the MCP server
70
- startServer({
71
- transport: values.transport,
72
- port: parseInt(values.port, 10)
73
- });