@galaxy-stack/orbit-mcp 0.1.0 → 0.1.1

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/cli.js CHANGED
@@ -288,9 +288,9 @@ function executeTool(name, args) {
288
288
  ${entry.content}`);
289
289
  }
290
290
  case "orbit_scaffold_module": {
291
- const name2 = String(args.name || "feature");
292
- const kebab = name2.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
293
- const cls = pascal(name2);
291
+ const name = String(args.name || "feature");
292
+ const kebab = name.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
293
+ const cls = pascal(name);
294
294
  const files = [];
295
295
  files.push(`// src/${kebab}/${kebab}.module.ts
296
296
  import { Module } from '@galaxy-stack/orbit-core';
@@ -364,9 +364,9 @@ describe('${cls}Service', () => {
364
364
  `));
365
365
  }
366
366
  case "orbit_scaffold_graphql": {
367
- const name2 = String(args.name || "feature");
368
- const kebab = name2.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
369
- const cls = pascal(name2);
367
+ const name = String(args.name || "feature");
368
+ const kebab = name.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
369
+ const cls = pascal(name);
370
370
  const loader = args.withLoaders ? `
371
371
  @ResolveField(() => Author)
372
372
  author(@Parent() parent: ${cls}, @Loader('authorLoader') loader: DataLoader) {
@@ -616,8 +616,8 @@ if (import.meta.main) {
616
616
  });
617
617
  }
618
618
  export {
619
- serveStdio,
620
- handleRequest,
619
+ PROTOCOL_VERSION,
621
620
  SERVER_INFO,
622
- PROTOCOL_VERSION
621
+ handleRequest,
622
+ serveStdio
623
623
  };
package/dist/index.js CHANGED
@@ -291,9 +291,9 @@ function executeTool(name, args) {
291
291
  ${entry.content}`);
292
292
  }
293
293
  case "orbit_scaffold_module": {
294
- const name2 = String(args.name || "feature");
295
- const kebab = name2.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
296
- const cls = pascal(name2);
294
+ const name = String(args.name || "feature");
295
+ const kebab = name.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
296
+ const cls = pascal(name);
297
297
  const files = [];
298
298
  files.push(`// src/${kebab}/${kebab}.module.ts
299
299
  import { Module } from '@galaxy-stack/orbit-core';
@@ -367,9 +367,9 @@ describe('${cls}Service', () => {
367
367
  `));
368
368
  }
369
369
  case "orbit_scaffold_graphql": {
370
- const name2 = String(args.name || "feature");
371
- const kebab = name2.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
372
- const cls = pascal(name2);
370
+ const name = String(args.name || "feature");
371
+ const kebab = name.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
372
+ const cls = pascal(name);
373
373
  const loader = args.withLoaders ? `
374
374
  @ResolveField(() => Author)
375
375
  author(@Parent() parent: ${cls}, @Loader('authorLoader') loader: DataLoader) {
@@ -614,12 +614,12 @@ async function serveStdio(input = process.stdin, output = process.stdout) {
614
614
  }
615
615
  if (false) {}
616
616
  export {
617
- serveStdio,
618
- handleRequest,
619
- getKnowledge,
620
- executeTool,
621
- TOOLS,
622
- SERVER_INFO,
617
+ KNOWLEDGE,
623
618
  PROTOCOL_VERSION,
624
- KNOWLEDGE
619
+ SERVER_INFO,
620
+ TOOLS,
621
+ executeTool,
622
+ getKnowledge,
623
+ handleRequest,
624
+ serveStdio
625
625
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@galaxy-stack/orbit-mcp",
3
- "version": "0.1.0",
4
- "description": "Model Context Protocol server for Orbit framework \u2014 AI coding agents get framework knowledge, scaffolding, and security review tools",
3
+ "version": "0.1.1",
4
+ "description": "Model Context Protocol server for Orbit framework — AI coding agents get framework knowledge, scaffolding, and security review tools",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "bin": {
@@ -29,12 +29,14 @@
29
29
  "bun",
30
30
  "nestjs-style"
31
31
  ],
32
- "dependencies": {},
32
+ "dependencies": {
33
+ "@smithery/api": "^0.68.0"
34
+ },
33
35
  "devDependencies": {
36
+ "@changesets/cli": "^2.27.0",
34
37
  "@types/bun": "latest",
35
- "typescript": "^5.0.0",
36
38
  "reflect-metadata": "^0.2.2",
37
- "@changesets/cli": "^2.27.0"
39
+ "typescript": "^5.0.0"
38
40
  },
39
41
  "author": "Orbit Team",
40
42
  "license": "MIT",