@beingniloy/megon 1.0.0 → 1.0.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/bin/index.js CHANGED
@@ -154666,7 +154666,7 @@ function lazy2(fn3) {
154666
154666
  }
154667
154667
 
154668
154668
  // ../../packages/server/src/installation/meta.ts
154669
- var VERSION = "1.0.0", CHANNEL = "local";
154669
+ var VERSION = "1.0.2", CHANNEL = "local";
154670
154670
 
154671
154671
  // ../../packages/server/src/effect/logger.ts
154672
154672
  var EffectLogger;
@@ -235028,7 +235028,7 @@ var init_installation = __esm(async () => {
235028
235028
  });
235029
235029
  for (const check6 of checks3) {
235030
235030
  const output = yield* check6.command();
235031
- const installedName = check6.name === "brew" || check6.name === "choco" || check6.name === "scoop" ? "megon" : "megon-ai";
235031
+ const installedName = check6.name === "brew" || check6.name === "choco" || check6.name === "scoop" ? "megon" : "@beingniloy/megon";
235032
235032
  if (output.includes(installedName)) {
235033
235033
  return check6.name;
235034
235034
  }
@@ -235053,7 +235053,7 @@ var init_installation = __esm(async () => {
235053
235053
  const reg = r14 || "https://registry.npmjs.org";
235054
235054
  const registry2 = reg.endsWith("/") ? reg.slice(0, -1) : reg;
235055
235055
  const channel = Installation.CHANNEL;
235056
- const response2 = yield* httpOk.execute(exports_HttpClientRequest.get(`${registry2}/megon-ai/${channel}`).pipe(exports_HttpClientRequest.acceptJson));
235056
+ const response2 = yield* httpOk.execute(exports_HttpClientRequest.get(`${registry2}/@beingniloy/megon/${channel}`).pipe(exports_HttpClientRequest.acceptJson));
235057
235057
  const data3 = yield* exports_HttpClientResponse.schemaBodyJson(NpmPackage)(response2);
235058
235058
  return data3.version;
235059
235059
  }
@@ -235078,13 +235078,13 @@ var init_installation = __esm(async () => {
235078
235078
  result6 = yield* upgradeCurl(target);
235079
235079
  break;
235080
235080
  case "npm":
235081
- result6 = yield* run7(["npm", "install", "-g", `megon-ai@${target}`]);
235081
+ result6 = yield* run7(["npm", "install", "-g", `@beingniloy/megon@${target}`]);
235082
235082
  break;
235083
235083
  case "pnpm":
235084
- result6 = yield* run7(["pnpm", "install", "-g", `megon-ai@${target}`]);
235084
+ result6 = yield* run7(["pnpm", "install", "-g", `@beingniloy/megon@${target}`]);
235085
235085
  break;
235086
235086
  case "bun":
235087
- result6 = yield* run7(["bun", "install", "-g", `megon-ai@${target}`]);
235087
+ result6 = yield* run7(["bun", "install", "-g", `@beingniloy/megon@${target}`]);
235088
235088
  break;
235089
235089
  case "brew": {
235090
235090
  const formula = yield* getBrewFormula();
@@ -95258,7 +95258,7 @@ var init_installation = __esm(async () => {
95258
95258
  });
95259
95259
  for (const check6 of checks3) {
95260
95260
  const output = yield* check6.command();
95261
- const installedName = check6.name === "brew" || check6.name === "choco" || check6.name === "scoop" ? "megon" : "megon-ai";
95261
+ const installedName = check6.name === "brew" || check6.name === "choco" || check6.name === "scoop" ? "megon" : "@beingniloy/megon";
95262
95262
  if (output.includes(installedName)) {
95263
95263
  return check6.name;
95264
95264
  }
@@ -95283,7 +95283,7 @@ var init_installation = __esm(async () => {
95283
95283
  const reg = r || "https://registry.npmjs.org";
95284
95284
  const registry2 = reg.endsWith("/") ? reg.slice(0, -1) : reg;
95285
95285
  const channel = Installation.CHANNEL;
95286
- const response2 = yield* httpOk.execute(exports_HttpClientRequest.get(`${registry2}/megon-ai/${channel}`).pipe(exports_HttpClientRequest.acceptJson));
95286
+ const response2 = yield* httpOk.execute(exports_HttpClientRequest.get(`${registry2}/@beingniloy/megon/${channel}`).pipe(exports_HttpClientRequest.acceptJson));
95287
95287
  const data3 = yield* exports_HttpClientResponse.schemaBodyJson(NpmPackage)(response2);
95288
95288
  return data3.version;
95289
95289
  }
@@ -95308,13 +95308,13 @@ var init_installation = __esm(async () => {
95308
95308
  result6 = yield* upgradeCurl(target);
95309
95309
  break;
95310
95310
  case "npm":
95311
- result6 = yield* run7(["npm", "install", "-g", `megon-ai@${target}`]);
95311
+ result6 = yield* run7(["npm", "install", "-g", `@beingniloy/megon@${target}`]);
95312
95312
  break;
95313
95313
  case "pnpm":
95314
- result6 = yield* run7(["pnpm", "install", "-g", `megon-ai@${target}`]);
95314
+ result6 = yield* run7(["pnpm", "install", "-g", `@beingniloy/megon@${target}`]);
95315
95315
  break;
95316
95316
  case "bun":
95317
- result6 = yield* run7(["bun", "install", "-g", `megon-ai@${target}`]);
95317
+ result6 = yield* run7(["bun", "install", "-g", `@beingniloy/megon@${target}`]);
95318
95318
  break;
95319
95319
  case "brew": {
95320
95320
  const formula = yield* getBrewFormula();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@beingniloy/megon",
4
- "version": "1.0.0",
4
+ "version": "1.0.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },