githits 0.1.1 → 0.1.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/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  version
4
- } from "./shared/chunk-3ne7e7xh.js";
4
+ } from "./shared/chunk-2wbvwsc9.js";
5
5
 
6
6
  // src/cli.ts
7
7
  import { Command } from "commander";
@@ -1709,7 +1709,6 @@ function createMcpServer(deps) {
1709
1709
  return server;
1710
1710
  }
1711
1711
  async function startMcpServer(deps) {
1712
- requireAuth(deps, "to start MCP server");
1713
1712
  const server = createMcpServer(deps);
1714
1713
  const transport = new StdioServerTransport;
1715
1714
  await server.connect(transport);
@@ -1741,27 +1740,15 @@ Available tools: search, search_language, feedback`).action(async () => {
1741
1740
  showMcpSetupInstructions();
1742
1741
  return;
1743
1742
  }
1744
- try {
1745
- const deps = await createContainer();
1746
- await startMcpServer(deps);
1747
- } catch (error) {
1748
- if (error instanceof AuthRequiredError)
1749
- process.exit(1);
1750
- throw error;
1751
- }
1743
+ const deps = await createContainer();
1744
+ await startMcpServer(deps);
1752
1745
  });
1753
1746
  mcpCommand.command("start").summary("Start MCP server (stdio mode)").description(`Start the MCP server using STDIO transport.
1754
1747
 
1755
1748
  This command explicitly starts the server and is intended for use
1756
1749
  in MCP configuration files. Use 'githits mcp' for interactive setup.`).action(async () => {
1757
- try {
1758
- const deps = await createContainer();
1759
- await startMcpServer(deps);
1760
- } catch (error) {
1761
- if (error instanceof AuthRequiredError)
1762
- process.exit(1);
1763
- throw error;
1764
- }
1750
+ const deps = await createContainer();
1751
+ await startMcpServer(deps);
1765
1752
  });
1766
1753
  }
1767
1754
  // src/commands/search.ts
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  version
3
- } from "./shared/chunk-3ne7e7xh.js";
3
+ } from "./shared/chunk-2wbvwsc9.js";
4
4
  export {
5
5
  version
6
6
  };
@@ -1,4 +1,4 @@
1
1
  // package.json
2
- var version = "0.1.1";
2
+ var version = "0.1.2";
3
3
 
4
4
  export { version };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "githits",
3
3
  "description": "CLI companion for GitHits - code examples from global open source for developers and AI assistants",
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",