mimi-seed 0.32.0 → 0.34.0

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/README.md CHANGED
@@ -11,7 +11,7 @@ Release Doctor reports identifiers, Target API, detectable Play Billing evidence
11
11
  Store Connect SDK minimum, and legacy Firebase Cloud Messaging API usage, with suggested actions.
12
12
  Unresolved evidence remains a warning. A local pass does not guarantee store approval.
13
13
 
14
- The checker is bundled; it does not install the full MCP server. Optional usage measurement is off by
14
+ The checker is bundled; it does not install the full MCP server. Optional CLI and local MCP usage measurement is off by
15
15
  default. See `mimi-seed telemetry --help` and the [measurement guide](https://github.com/jeonghwanko/mimi-seed-sdk/blob/main/docs/growth/measurement.md).
16
16
 
17
17
  `@anthropic-ai/sdk` is an optional dependency, loaded only for AI release notes and review replies. A default
@@ -1592,7 +1592,7 @@ import path7 from "path";
1592
1592
  import { fileURLToPath } from "url";
1593
1593
 
1594
1594
  // package.json
1595
- var version = "0.32.0";
1595
+ var version = "0.34.0";
1596
1596
 
1597
1597
  // src/lib/windows-path.ts
1598
1598
  import path6 from "path";
@@ -3013,8 +3013,8 @@ async function triggerBuild(cfg, jobName, params) {
3013
3013
  if (!res.ok) {
3014
3014
  throw new Error(M8().jenkinsTriggerFailed(res.status, await res.text()));
3015
3015
  }
3016
- const location2 = res.headers.get("Location") ?? "";
3017
- const match = location2.match(/\/queue\/item\/(\d+)\//);
3016
+ const location = res.headers.get("Location") ?? "";
3017
+ const match = location.match(/\/queue\/item\/(\d+)\//);
3018
3018
  return match?.[1] ?? "";
3019
3019
  }
3020
3020
  async function getQueueBuildNumber(cfg, queueItemId) {
@@ -3484,60 +3484,160 @@ function isLangUnset(home = os8.homedir()) {
3484
3484
  return !process.env.MIMI_SEED_LANG && !readSettings(home).lang;
3485
3485
  }
3486
3486
 
3487
- // src/telemetry.ts
3487
+ // ../core/src/usage.ts
3488
3488
  import fs13 from "fs";
3489
3489
  import os9 from "os";
3490
3490
  import path16 from "path";
3491
- import { createHmac, randomUUID as randomUUID5 } from "crypto";
3491
+ import { randomUUID as randomUUID5 } from "crypto";
3492
3492
  var PUBLIC_COLLECTOR = "https://mimi-seed.oddbout.com";
3493
- function collectorBase() {
3494
- const configured = process.env.MIMI_SEED_WEB_BASE;
3493
+ function collectorBase(env = process.env) {
3494
+ const configured = env.MIMI_SEED_WEB_BASE;
3495
3495
  if (!configured || configured === PUBLIC_COLLECTOR || configured === `${PUBLIC_COLLECTOR}/`) {
3496
3496
  return PUBLIC_COLLECTOR;
3497
3497
  }
3498
3498
  return consoleBase(configured);
3499
3499
  }
3500
+ var UUID = /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
3501
+ var uuid = (value) => typeof value === "string" && UUID.test(value);
3502
+ var consentPath = () => path16.join(os9.homedir(), ".mimi-seed", "telemetry.json");
3503
+ function readConsent(webBase) {
3504
+ try {
3505
+ const saved = JSON.parse(fs13.readFileSync(consentPath(), "utf8"));
3506
+ if (saved.enabled === true && saved.webBase === webBase && uuid(saved.installationId) && uuid(saved.salt) && (saved.scope === void 0 || saved.scope === "sdk")) return saved;
3507
+ return { enabled: false };
3508
+ } catch {
3509
+ return { enabled: false };
3510
+ }
3511
+ }
3512
+ function isUsageCI(env) {
3513
+ return [
3514
+ "CI",
3515
+ "GITHUB_ACTIONS",
3516
+ "GITLAB_CI",
3517
+ "JENKINS_URL",
3518
+ "BUILD_BUILDID",
3519
+ "CIRCLECI",
3520
+ "BUILDKITE",
3521
+ "BITBUCKET_BUILD_NUMBER",
3522
+ "TF_BUILD",
3523
+ "TEAMCITY_VERSION",
3524
+ "TRAVIS",
3525
+ "CODEBUILD_BUILD_ID",
3526
+ "DRONE",
3527
+ "VERCEL",
3528
+ "NETLIFY",
3529
+ "MIMI_SEED_AUTOMATED"
3530
+ ].some((key) => !!env[key] && !/^(false|0)$/i.test(env[key]));
3531
+ }
3532
+ function activityConsent(env) {
3533
+ const base2 = collectorBase(env);
3534
+ if (!base2 || env.MIMI_SEED_TELEMETRY !== void 0 && env.MIMI_SEED_TELEMETRY !== "1") return;
3535
+ const saved = readConsent(base2);
3536
+ if (saved.enabled && saved.scope === "sdk") return { base: base2, installationId: saved.installationId };
3537
+ }
3538
+ function beginActivity(command, env, send, slot) {
3539
+ const start = activityConsent(env);
3540
+ if (!start) return;
3541
+ const ci = isUsageCI(env);
3542
+ return async () => {
3543
+ try {
3544
+ const current = activityConsent(env);
3545
+ if (!current || current.base !== start.base || current.installationId !== start.installationId) return;
3546
+ const body = JSON.stringify({ schema: 2, installationId: start.installationId, runId: randomUUID5(), ci, command });
3547
+ const now = Date.now();
3548
+ const key = [start.base, start.installationId, ci, Math.floor(now / 864e5)].join("|");
3549
+ if (slot) {
3550
+ if (slot.key === key && now < (slot.retryAfter ?? Infinity)) return;
3551
+ slot.key = key;
3552
+ slot.retryAfter = now + 6e4;
3553
+ }
3554
+ const response = await send(`${start.base}/api/sdk-usage`, {
3555
+ method: "POST",
3556
+ headers: { "content-type": "application/json" },
3557
+ body,
3558
+ redirect: "error"
3559
+ }, 800);
3560
+ if (slot?.key === key && response.ok) delete slot.retryAfter;
3561
+ } catch {
3562
+ }
3563
+ };
3564
+ }
3565
+
3566
+ // src/telemetry.ts
3567
+ import fs14 from "fs";
3568
+ import path17 from "path";
3569
+ import { createHmac, randomUUID as randomUUID6 } from "crypto";
3500
3570
  var M9 = catalog(
3501
3571
  {
3502
- notice: "\uC120\uD0DD\uC801 \uC0AC\uC6A9\uB7C9 \uCE21\uC815\uC740 \uAEBC\uC838 \uC788\uC2B5\uB2C8\uB2E4. \uC548\uB0B4: mimi-seed telemetry --help\n",
3503
- enabled: (destination) => `\uC0AC\uC6A9\uB7C9 \uCE21\uC815 \uCF1C\uC9D0. ${destination}\uC5D0 \uAC00\uBA85 \uC124\uCE58 ID\xB7\uD504\uB85C\uC81D\uD2B8 \uD574\uC2DC\xB7\uC2E4\uD589 \uACB0\uACFC\uB97C \uC804\uC1A1\uD569\uB2C8\uB2E4. \uB044\uAE30: mimi-seed telemetry off
3572
+ notice: "\uC120\uD0DD \uC0AC\uD56D \xB7 CLI\uC640 MCP \uC0AC\uC6A9\uB7C9 \uCE21\uC815\uC5D0 \uCC38\uC5EC\uD558\uB824\uBA74 mimi-seed telemetry --help\uB97C \uD655\uC778\uD558\uC138\uC694.\n",
3573
+ ask: (url) => `CLI\uC640 MCP \uC0AC\uC6A9 \uBE48\uB3C4 \uBC0F \uC7AC\uC0AC\uC6A9\uB960 \uCE21\uC815\uC5D0 \uCC38\uC5EC\uD560\uAE4C\uC694? ${url}\uC5D0 \uC784\uC758 \uC124\uCE58 ID, \uC2E4\uD589 \uC885\uB958\uC640 CI \uC5EC\uBD80\uB97C \uBCF4\uB0C5\uB2C8\uB2E4. check\xB7setup\uC740 \uD504\uB85C\uC81D\uD2B8 \uD574\uC2DC\uC640 \uC9C4\uB2E8 \uC815\uBCF4\uB3C4 \uBCF4\uB0C5\uB2C8\uB2E4. \uB3C4\uAD6C \uC778\uC790\uC640 \uC751\uB2F5\uC740 \uC81C\uC678\uD569\uB2C8\uB2E4. \uB044\uAE30: mimi-seed telemetry off
3574
+ https://mimi-seed.oddbout.com/privacy/sdk-usage/ [y/N] `,
3575
+ legacy: "\uAE30\uC874 check\xB7setup \uCE21\uC815\uB9CC \uCF1C\uC838 \uC788\uC2B5\uB2C8\uB2E4. CLI\uC640 MCP\uB85C \uD655\uB300\uD558\uB824\uBA74 mimi-seed telemetry on\uC744 \uC2E4\uD589\uD558\uC138\uC694.\n",
3576
+ enabled: (destination) => `CLI\uC640 MCP \uC0AC\uC6A9\uB7C9 \uCE21\uC815 \uCF1C\uC9D0. ${destination}\uC5D0 \uAC00\uBA85 \uC124\uCE58 ID\xB7\uD504\uB85C\uC81D\uD2B8 \uD574\uC2DC\xB7\uC2E4\uD589 \uACB0\uACFC\uB97C \uC804\uC1A1\uD569\uB2C8\uB2E4. \uB044\uAE30: mimi-seed telemetry off
3504
3577
  `,
3505
3578
  disabled: "\uC0AC\uC6A9\uB7C9 \uCE21\uC815 \uAEBC\uC9D0. MIMI_SEED_TELEMETRY=0\uC73C\uB85C\uB3C4 \uB04C \uC218 \uC788\uC2B5\uB2C8\uB2E4.\n",
3506
3579
  invalid: "\uC0AC\uC6A9\uBC95: mimi-seed telemetry on|off|status\n",
3507
3580
  invalidCollector: "MIMI_SEED_WEB_BASE\uC5D0 \uC720\uD6A8\uD55C HTTPS \uC218\uC9D1 \uC8FC\uC18C\uB97C \uC9C0\uC815\uD558\uAC70\uB098 \uD658\uACBD\uBCC0\uC218\uB97C \uD574\uC81C\uD558\uC138\uC694. \uC124\uC815\uC740 \uBCC0\uACBD\uB418\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4.\n"
3508
3581
  },
3509
3582
  {
3510
- notice: "Optional usage measurement is off. Learn more: mimi-seed telemetry --help\n",
3511
- enabled: (destination) => `Usage measurement enabled. Pseudonymous installation IDs, project hashes and run results go to ${destination}. Disable: mimi-seed telemetry off
3583
+ notice: "Optional CLI and MCP measurement: see mimi-seed telemetry --help to participate.\n",
3584
+ ask: (url) => `Share CLI and MCP activity to measure repeat use? ${url} receives a random installation ID, activity category and CI flag. Check and setup also send a project hash and diagnostics. Tool arguments and responses are excluded. Disable with mimi-seed telemetry off.
3585
+ https://mimi-seed.oddbout.com/privacy/sdk-usage/ [y/N] `,
3586
+ legacy: "Only check/setup measurement is enabled. Run mimi-seed telemetry on to include CLI and MCP activity.\n",
3587
+ enabled: (destination) => `CLI and MCP usage measurement enabled. Pseudonymous installation IDs, project hashes and run results go to ${destination}. Disable: mimi-seed telemetry off
3512
3588
  `,
3513
3589
  disabled: "Usage measurement disabled. MIMI_SEED_TELEMETRY=0 also disables it.\n",
3514
3590
  invalid: "Usage: mimi-seed telemetry on|off|status\n",
3515
3591
  invalidCollector: "Set MIMI_SEED_WEB_BASE to a valid HTTPS collector address or unset it. Settings were unchanged.\n"
3516
3592
  }
3517
3593
  );
3518
- var location = () => path16.join(os9.homedir(), ".mimi-seed", "telemetry.json");
3519
- function readConsent(webBase) {
3520
- try {
3521
- const saved = JSON.parse(fs13.readFileSync(location(), "utf8"));
3522
- return saved.webBase === webBase ? saved : { enabled: false };
3523
- } catch {
3524
- return { enabled: false };
3525
- }
3526
- }
3527
3594
  function writeConsent(value) {
3528
- writeCredentialJson(location(), value);
3595
+ writeCredentialJson(consentPath(), value);
3529
3596
  }
3530
3597
  function telemetryEnabled() {
3531
3598
  const webBase = collectorBase();
3532
3599
  if (!webBase) return false;
3533
3600
  const override = process.env.MIMI_SEED_TELEMETRY;
3534
3601
  if (override !== void 0 && override !== "1") return false;
3535
- if (override === "1" && webBase !== PUBLIC_COLLECTOR) return true;
3602
+ if (override === "1" && webBase !== PUBLIC_COLLECTOR) {
3603
+ try {
3604
+ const saved = JSON.parse(fs14.readFileSync(consentPath(), "utf8"));
3605
+ return saved.enabled === true;
3606
+ } catch {
3607
+ return !fs14.existsSync(consentPath());
3608
+ }
3609
+ }
3536
3610
  return readConsent(webBase).enabled === true;
3537
3611
  }
3612
+ function canOffer() {
3613
+ return !!collectorBase() && process.env.MIMI_SEED_TELEMETRY === void 0 && !isUsageCI(process.env) && !fs14.existsSync(consentPath());
3614
+ }
3538
3615
  function telemetryNotice() {
3539
- if (!consoleBase(process.env.MIMI_SEED_WEB_BASE)) return "";
3540
- return telemetryEnabled() ? "" : M9().notice;
3616
+ return canOffer() && (process.stdout.isTTY || process.env.MIMI_SEED_WEB_BASE) ? M9().notice : "";
3617
+ }
3618
+ async function offerTelemetry(ask2) {
3619
+ if (!process.stdin.isTTY || !process.stdout.isTTY || !canOffer()) return;
3620
+ const base2 = collectorBase();
3621
+ if (!base2) return;
3622
+ const answer = await ask2(M9().ask(base2));
3623
+ if (canOffer() && collectorBase() === base2) {
3624
+ try {
3625
+ cmdTelemetry([/^(y|yes)$/i.test(answer.trim()) ? "on" : "off"]);
3626
+ } catch {
3627
+ process.stderr.write(M9().disabled);
3628
+ }
3629
+ }
3630
+ }
3631
+ function cliActivity(command) {
3632
+ switch (command) {
3633
+ case "init":
3634
+ case "doctor":
3635
+ case "notes":
3636
+ case "review":
3637
+ case "deploy":
3638
+ case "remote-check":
3639
+ return beginActivity(command, process.env, fetchWithTimeout);
3640
+ }
3541
3641
  }
3542
3642
  function cmdTelemetry(argv) {
3543
3643
  const action = argv[0] ?? "status";
@@ -3554,15 +3654,16 @@ function cmdTelemetry(argv) {
3554
3654
  }
3555
3655
  if (action === "on" && webBase) {
3556
3656
  const consent = readConsent(webBase);
3557
- writeConsent({ webBase, enabled: true, installationId: consent.installationId ?? randomUUID5(), salt: consent.salt ?? randomUUID5() });
3657
+ writeConsent({ webBase, enabled: true, scope: "sdk", installationId: consent.enabled ? consent.installationId : randomUUID6(), salt: consent.enabled ? consent.salt : randomUUID6() });
3558
3658
  }
3559
3659
  if (action === "off") writeConsent({ enabled: false });
3560
- process.stdout.write(webBase && telemetryEnabled() ? M9().enabled(webBase) : M9().disabled);
3660
+ const current = webBase && readConsent(webBase);
3661
+ process.stdout.write(!webBase || !telemetryEnabled() ? M9().disabled : current && current.enabled && current.scope === "sdk" ? M9().enabled(webBase) : M9().legacy);
3561
3662
  }
3562
3663
  function frameworkAt(root) {
3563
- if (fs13.existsSync(path16.join(root, "ProjectSettings", "ProjectSettings.asset"))) return "unity";
3664
+ if (fs14.existsSync(path17.join(root, "ProjectSettings", "ProjectSettings.asset"))) return "unity";
3564
3665
  try {
3565
- const pkg = JSON.parse(fs13.readFileSync(path16.join(root, "package.json"), "utf8"));
3666
+ const pkg = JSON.parse(fs14.readFileSync(path17.join(root, "package.json"), "utf8"));
3566
3667
  const deps = { ...pkg.dependencies, ...pkg.devDependencies };
3567
3668
  if (deps.expo) return "expo";
3568
3669
  if (deps["react-native"]) return "react-native";
@@ -3576,14 +3677,11 @@ function usageRun(command, projectPath) {
3576
3677
  };
3577
3678
  try {
3578
3679
  const consent = readConsent(baseUrl);
3579
- const installationId = consent.installationId ?? randomUUID5();
3580
- const salt = consent.salt ?? randomUUID5();
3581
- if (consent.enabled && (!consent.installationId || !consent.salt)) {
3582
- writeConsent({ webBase: baseUrl, enabled: true, installationId, salt });
3583
- }
3584
- let normalized = path16.resolve(projectPath);
3680
+ const installationId = consent.enabled ? consent.installationId : randomUUID6();
3681
+ const salt = consent.enabled ? consent.salt : randomUUID6();
3682
+ let normalized = path17.resolve(projectPath);
3585
3683
  try {
3586
- normalized = fs13.realpathSync(normalized);
3684
+ normalized = fs14.realpathSync(normalized);
3587
3685
  } catch {
3588
3686
  }
3589
3687
  if (process.platform === "win32") normalized = normalized.toLowerCase();
@@ -3591,16 +3689,18 @@ function usageRun(command, projectPath) {
3591
3689
  schema: 1,
3592
3690
  installationId,
3593
3691
  projectId: createHmac("sha256", salt).update(normalized).digest("hex"),
3594
- runId: randomUUID5(),
3692
+ runId: randomUUID6(),
3595
3693
  version,
3596
3694
  os: process.platform,
3597
- ci: Boolean(process.env.CI),
3695
+ ci: isUsageCI(process.env),
3598
3696
  command,
3599
3697
  framework: frameworkAt(normalized)
3600
3698
  };
3601
3699
  const started = Date.now();
3602
3700
  return async (outcome, report) => {
3603
3701
  if (!telemetryEnabled() || collectorBase() !== baseUrl) return;
3702
+ const current = readConsent(baseUrl);
3703
+ if (consent.enabled && (!current.enabled || current.installationId !== installationId)) return;
3604
3704
  const payload = {
3605
3705
  ...base2,
3606
3706
  outcome,
@@ -3761,6 +3861,7 @@ async function cmdSetup(argv) {
3761
3861
  migrateLegacyJenkins(home);
3762
3862
  if (resolveMode(opts, process.env, process.stdin.isTTY) === "interactive") {
3763
3863
  await ensureLangChosen();
3864
+ if (!opts.only) await offerTelemetry(ask);
3764
3865
  }
3765
3866
  const hints = await detectHints(process.cwd());
3766
3867
  const platforms = opts.platforms ?? [
@@ -3910,6 +4011,7 @@ export {
3910
4011
  migrateLegacyJenkins,
3911
4012
  version,
3912
4013
  telemetryNotice,
4014
+ cliActivity,
3913
4015
  cmdTelemetry,
3914
4016
  usageRun,
3915
4017
  MCP_PKG,
package/dist/index.js CHANGED
@@ -7,6 +7,7 @@ import {
7
7
  absoluteWindowsPathDirs,
8
8
  catalog,
9
9
  clearKeyIdMarker,
10
+ cliActivity,
10
11
  cmdDeploy,
11
12
  cmdSetup,
12
13
  cmdTelemetry,
@@ -49,7 +50,7 @@ import {
49
50
  writeConfig,
50
51
  writeCredentialFile,
51
52
  writeSettings
52
- } from "./chunk-5GS3N3A2.js";
53
+ } from "./chunk-AVPOSSGV.js";
53
54
 
54
55
  // src/index.ts
55
56
  import kleur12 from "kleur";
@@ -4798,6 +4799,7 @@ async function cmdCheck(argv) {
4798
4799
  }
4799
4800
  return;
4800
4801
  }
4802
+ const remoteDone = cliActivity("remote-check");
4801
4803
  process.stdout.write(kleur4.bold(M5().title));
4802
4804
  const appsResult = await mcpCall(cfg.endpoint, cfg.token, "list_apps", {});
4803
4805
  if (appsResult.isError) {
@@ -4873,6 +4875,7 @@ async function cmdCheck(argv) {
4873
4875
  } catch {
4874
4876
  for (const line of readinessResult.text.split("\n")) process.stdout.write(" " + line + "\n");
4875
4877
  }
4878
+ await remoteDone?.();
4876
4879
  if (hasBlocker && args.failOnBlocker) process.exit(1);
4877
4880
  }
4878
4881
 
@@ -5638,12 +5641,12 @@ async function cmdAuth(args) {
5638
5641
  if (sub === "tiktok") return void exitWith(await runSocialBin("mimi-seed-tiktok-business-auth", rest));
5639
5642
  if (sub === "social") {
5640
5643
  log2(kleur7.dim(M8().socialChecklist));
5641
- const { cmdSetup: cmdSetup2 } = await import("./setup-Q3RDFD3N.js");
5644
+ const { cmdSetup: cmdSetup2 } = await import("./setup-5NLYS7KG.js");
5642
5645
  await cmdSetup2(["--only", SOCIAL_CREDENTIALS.join(","), ...rest]);
5643
5646
  return;
5644
5647
  }
5645
5648
  if (sub === "ci") {
5646
- const { cmdSetup: cmdSetup2 } = await import("./setup-Q3RDFD3N.js");
5649
+ const { cmdSetup: cmdSetup2 } = await import("./setup-5NLYS7KG.js");
5647
5650
  await cmdSetup2(["--only", "github,gitlab", "--reconnect", "github,gitlab"]);
5648
5651
  return;
5649
5652
  }
@@ -5722,7 +5725,7 @@ var M9 = catalog(
5722
5725
  {
5723
5726
  // 명령별 상세 사용법 (SSOT). `mimi-seed <command> --help` 와 overview 가 공유.
5724
5727
  usage: {
5725
- telemetry: "mimi-seed telemetry on|off|status \u2014 \uC120\uD0DD\uC801 \uC0AC\uC6A9\uB7C9 \uCE21\uC815. \uAE30\uBCF8 \uAEBC\uC9D0. \uB3D9\uC758\uD558\uBA74 mimi-seed.oddbout.com \uB610\uB294 \uC9C0\uC815\uD55C \uD300 \uCF58\uC194\uB85C \uC2E4\uD589 \uC774\uBCA4\uD2B8\uB97C \uBCF4\uB0C5\uB2C8\uB2E4. \uAC1C\uC778\uC815\uBCF4 \uC548\uB0B4: https://mimi-seed.oddbout.com/privacy/sdk-usage/ . MIMI_SEED_TELEMETRY=0\uC740 \uD56D\uC0C1 \uC804\uC1A1\uC744 \uB055\uB2C8\uB2E4.",
5728
+ telemetry: "mimi-seed telemetry on|off|status \u2014 \uC120\uD0DD\uC801 CLI\xB7MCP \uC0AC\uC6A9\uB7C9 \uCE21\uC815. \uAE30\uBCF8 \uAEBC\uC9D0. \uC124\uCE58 ID\uC640 \uC2E4\uD589 \uC885\uB958\uB85C \uC7AC\uC0AC\uC6A9\uC744 \uC9D1\uACC4\uD558\uBA70 MCP \uB3C4\uAD6C \uC774\uB984\xB7\uC778\uC790\xB7\uC751\uB2F5\uC740 \uC81C\uC678\uD569\uB2C8\uB2E4. \uB3D9\uC758\uD558\uBA74 mimi-seed.oddbout.com \uB610\uB294 \uC9C0\uC815\uD55C \uD300 \uCF58\uC194\uB85C \uC2E4\uD589 \uC774\uBCA4\uD2B8\uB97C \uBCF4\uB0C5\uB2C8\uB2E4. \uAC1C\uC778\uC815\uBCF4 \uC548\uB0B4: https://mimi-seed.oddbout.com/privacy/sdk-usage/ . MIMI_SEED_TELEMETRY=0\uC740 \uD56D\uC0C1 \uC804\uC1A1\uC744 \uB055\uB2C8\uB2E4.",
5726
5729
  init: `${kleur9.bold("mimi-seed init")} \u2014 \uD604\uC7AC \uD504\uB85C\uC81D\uD2B8\uB97C Mimi Seed\uC5D0 \uC5F0\uACB0
5727
5730
 
5728
5731
  \uC571 \uC790\uB3D9 \uAC10\uC9C0(Expo/Gradle/Info.plist/pbxproj) (MIMI_SEED_WEB_BASE\uB97C \uC9C0\uC815\uD55C \uACBD\uC6B0\uC5D0\uB9CC \uC6D0\uACA9 \uC5F0\uACB0)
@@ -5877,7 +5880,7 @@ ${kleur9.bold("\uD658\uACBD\uBCC0\uC218:")}
5877
5880
  },
5878
5881
  {
5879
5882
  usage: {
5880
- telemetry: "mimi-seed telemetry on|off|status \u2014 optional usage measurement, off by default. Opt in to send usage events to mimi-seed.oddbout.com or your configured team console. Privacy: https://mimi-seed.oddbout.com/privacy/sdk-usage/ . MIMI_SEED_TELEMETRY=0 always disables transmission.",
5883
+ telemetry: "mimi-seed telemetry on|off|status \u2014 optional CLI and MCP activity measurement, off by default. A random installation ID and activity category measure repeat use. MCP tool names, arguments and responses are excluded. Opt in to send usage events to mimi-seed.oddbout.com or your configured team console. Privacy: https://mimi-seed.oddbout.com/privacy/sdk-usage/ . MIMI_SEED_TELEMETRY=0 always disables transmission.",
5881
5884
  init: `${kleur9.bold("mimi-seed init")} \u2014 connect the current project to Mimi Seed
5882
5885
 
5883
5886
  Auto-detects apps (Expo/Gradle/Info.plist/pbxproj) (remote registration only with MIMI_SEED_WEB_BASE)
@@ -6977,6 +6980,7 @@ async function main() {
6977
6980
  if (printCommandHelp(cmd)) return;
6978
6981
  }
6979
6982
  try {
6983
+ const finish = cmd === "deploy" && restArgs.includes("--dry-run") ? void 0 : cliActivity(cmd);
6980
6984
  switch (cmd) {
6981
6985
  case "init":
6982
6986
  await cmdInit(restArgs);
@@ -7045,6 +7049,7 @@ async function main() {
7045
7049
  printHelp();
7046
7050
  process.exit(1);
7047
7051
  }
7052
+ if (!process.exitCode) await finish?.();
7048
7053
  } catch (e) {
7049
7054
  log6(kleur12.red(t().common.error(e.message)));
7050
7055
  if (process.env.DEBUG) log6(e.stack ?? "");
@@ -3,7 +3,7 @@ import {
3
3
  cmdSetup,
4
4
  parseSetupArgs,
5
5
  resolveMode
6
- } from "./chunk-5GS3N3A2.js";
6
+ } from "./chunk-AVPOSSGV.js";
7
7
  export {
8
8
  cmdSetup,
9
9
  parseSetupArgs,
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "mcp",
12
12
  "cli"
13
13
  ],
14
- "version": "0.32.0",
14
+ "version": "0.34.0",
15
15
  "description": "Release Doctor: check Expo, React Native and Unity release risks before connecting app stores.",
16
16
  "bin": {
17
17
  "mimi-seed": "dist/index.js"