@schuttdev/gigai 0.1.0-beta.5 → 0.1.0-beta.7

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 CHANGED
@@ -1,8 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  decodeJWTPayload
4
- } from "./chunk-J4PH7NSH.js";
5
- import "./chunk-77HVPD4G.js";
4
+ } from "./chunk-4XUWD3DZ.js";
6
5
 
7
6
  // src/index.ts
8
7
  import { defineCommand, runMain } from "citty";
@@ -439,7 +438,7 @@ function runCitty() {
439
438
  dev: { type: "boolean", description: "Development mode (no HTTPS)" }
440
439
  },
441
440
  async run({ args }) {
442
- const { startServer } = await import("./dist-FGVVXLRN.js");
441
+ const { startServer } = await import("./dist-X77HZGDE.js");
443
442
  const extraArgs = [];
444
443
  if (args.config) extraArgs.push("--config", args.config);
445
444
  if (args.dev) extraArgs.push("--dev");
@@ -450,7 +449,7 @@ function runCitty() {
450
449
  init: defineCommand({
451
450
  meta: { name: "init", description: "Interactive setup wizard" },
452
451
  async run() {
453
- const { runInit } = await import("./dist-FGVVXLRN.js");
452
+ const { runInit } = await import("./dist-X77HZGDE.js");
454
453
  await runInit();
455
454
  }
456
455
  }),
@@ -460,7 +459,7 @@ function runCitty() {
460
459
  config: { type: "string", alias: "c", description: "Config file path" }
461
460
  },
462
461
  async run({ args }) {
463
- const { generateServerPairingCode } = await import("./dist-FGVVXLRN.js");
462
+ const { generateServerPairingCode } = await import("./dist-X77HZGDE.js");
464
463
  await generateServerPairingCode(args.config);
465
464
  }
466
465
  }),
@@ -487,21 +486,21 @@ function runCitty() {
487
486
  cli: defineCommand({
488
487
  meta: { name: "cli", description: "Wrap a CLI command" },
489
488
  async run() {
490
- const { wrapCli } = await import("./dist-FGVVXLRN.js");
489
+ const { wrapCli } = await import("./dist-X77HZGDE.js");
491
490
  await wrapCli();
492
491
  }
493
492
  }),
494
493
  mcp: defineCommand({
495
494
  meta: { name: "mcp", description: "Wrap an MCP server" },
496
495
  async run() {
497
- const { wrapMcp } = await import("./dist-FGVVXLRN.js");
496
+ const { wrapMcp } = await import("./dist-X77HZGDE.js");
498
497
  await wrapMcp();
499
498
  }
500
499
  }),
501
500
  script: defineCommand({
502
501
  meta: { name: "script", description: "Wrap a script" },
503
502
  async run() {
504
- const { wrapScript } = await import("./dist-FGVVXLRN.js");
503
+ const { wrapScript } = await import("./dist-X77HZGDE.js");
505
504
  await wrapScript();
506
505
  }
507
506
  }),
@@ -511,7 +510,7 @@ function runCitty() {
511
510
  path: { type: "positional", description: "Path to config file", required: true }
512
511
  },
513
512
  async run({ args }) {
514
- const { wrapImport } = await import("./dist-FGVVXLRN.js");
513
+ const { wrapImport } = await import("./dist-X77HZGDE.js");
515
514
  await wrapImport(args.path);
516
515
  }
517
516
  })
@@ -523,7 +522,7 @@ function runCitty() {
523
522
  name: { type: "positional", description: "Tool name", required: true }
524
523
  },
525
524
  async run({ args }) {
526
- const { unwrapTool } = await import("./dist-FGVVXLRN.js");
525
+ const { unwrapTool } = await import("./dist-X77HZGDE.js");
527
526
  await unwrapTool(args.name);
528
527
  }
529
528
  });
@@ -2,10 +2,8 @@
2
2
  import {
3
3
  generatePairingCode,
4
4
  validateAndPair
5
- } from "./chunk-W7QWQLMN.js";
6
- import "./chunk-J4PH7NSH.js";
7
- import "./chunk-MKHJTSVH.js";
8
- import "./chunk-77HVPD4G.js";
5
+ } from "./chunk-FN4LCKUA.js";
6
+ import "./chunk-4XUWD3DZ.js";
9
7
  export {
10
8
  generatePairingCode,
11
9
  validateAndPair
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ AuthStore
4
+ } from "./chunk-OWDYY3IG.js";
5
+ export {
6
+ AuthStore
7
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@schuttdev/gigai",
3
- "version": "0.1.0-beta.5",
3
+ "version": "0.1.0-beta.7",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "gigai": "dist/index.js"
@@ -21,7 +21,16 @@
21
21
  "clean": "rm -rf dist"
22
22
  },
23
23
  "dependencies": {
24
- "citty": "^0.1.6"
24
+ "citty": "^0.1.6",
25
+ "fastify": "^4.25.0",
26
+ "@fastify/cors": "^9.0.0",
27
+ "@fastify/rate-limit": "^9.0.0",
28
+ "@fastify/multipart": "^8.0.0",
29
+ "fastify-plugin": "^4.5.0",
30
+ "@modelcontextprotocol/sdk": "^1.0.0",
31
+ "@inquirer/prompts": "^7.0.0",
32
+ "nanoid": "^5.0.0",
33
+ "zod": "^3.22.0"
25
34
  },
26
35
  "devDependencies": {
27
36
  "@gigai/shared": "*",
@@ -1,43 +0,0 @@
1
- #!/usr/bin/env node
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
9
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
10
- }) : x)(function(x) {
11
- if (typeof require !== "undefined") return require.apply(this, arguments);
12
- throw Error('Dynamic require of "' + x + '" is not supported');
13
- });
14
- var __commonJS = (cb, mod) => function __require2() {
15
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
16
- };
17
- var __export = (target, all) => {
18
- for (var name in all)
19
- __defProp(target, name, { get: all[name], enumerable: true });
20
- };
21
- var __copyProps = (to, from, except, desc) => {
22
- if (from && typeof from === "object" || typeof from === "function") {
23
- for (let key of __getOwnPropNames(from))
24
- if (!__hasOwnProp.call(to, key) && key !== except)
25
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
26
- }
27
- return to;
28
- };
29
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
30
- // If the importer is in node compatibility mode or this is not an ESM
31
- // file that has been converted to a CommonJS file using a Babel-
32
- // compatible transform (i.e. "__esModule" has not been set), then set
33
- // "default" to the CommonJS "module.exports" for node compatibility.
34
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
35
- mod
36
- ));
37
-
38
- export {
39
- __require,
40
- __commonJS,
41
- __export,
42
- __toESM
43
- };