mimi-seed 0.23.0 → 0.23.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.
@@ -949,7 +949,7 @@ function t() {
949
949
  }
950
950
 
951
951
  // package.json
952
- var version = "0.23.0";
952
+ var version = "0.23.2";
953
953
 
954
954
  // src/lib/windows-path.ts
955
955
  import path4 from "path";
@@ -1872,6 +1872,11 @@ async function verifyCiToken(cfg) {
1872
1872
  return { ok: false, reason: e instanceof Error ? e.message : String(e) };
1873
1873
  }
1874
1874
  }
1875
+ function isGitHubWorkflowRun(value) {
1876
+ if (typeof value !== "object" || value === null) return false;
1877
+ const run = value;
1878
+ return typeof run.id === "number" && Number.isSafeInteger(run.id) && run.id > 0 && typeof run.html_url === "string" && run.html_url.length > 0 && typeof run.created_at === "string" && Number.isFinite(Date.parse(run.created_at));
1879
+ }
1875
1880
  async function ghTriggerWorkflow(cfg, workflow, ref, inputs = {}) {
1876
1881
  const startTime = /* @__PURE__ */ new Date();
1877
1882
  const wfId = /^\d+$/.test(workflow) ? Number(workflow) : workflow;
@@ -1893,7 +1898,9 @@ async function ghTriggerWorkflow(cfg, workflow, ref, inputs = {}) {
1893
1898
  );
1894
1899
  if (!runsRes.ok) return null;
1895
1900
  const data = await runsRes.json();
1896
- const run = data.workflow_runs.find((r) => new Date(r.created_at) >= startTime) ?? data.workflow_runs[0];
1901
+ if (typeof data !== "object" || data === null || !("workflow_runs" in data) || !Array.isArray(data.workflow_runs)) return null;
1902
+ const runs = data.workflow_runs.filter(isGitHubWorkflowRun);
1903
+ const run = runs.find((entry) => new Date(entry.created_at) >= startTime) ?? runs[0];
1897
1904
  if (!run) return null;
1898
1905
  return { runId: run.id, url: run.html_url };
1899
1906
  }
package/dist/index.js CHANGED
@@ -33,7 +33,7 @@ import {
33
33
  version,
34
34
  writeConfig,
35
35
  writeSettings
36
- } from "./chunk-ZZUH2JB5.js";
36
+ } from "./chunk-SJVS7NRU.js";
37
37
 
38
38
  // src/index.ts
39
39
  import kleur11 from "kleur";
@@ -287,7 +287,7 @@ async function cmdAuth(args) {
287
287
  if (sub === "threads") return void exitWith(await runMcpBin("mimi-seed-social-auth", ["threads", ...rest]));
288
288
  if (sub === "tiktok") return void exitWith(await runMcpBin("mimi-seed-tiktok-business-auth", rest));
289
289
  if (sub === "ci") {
290
- const { cmdSetup: cmdSetup2 } = await import("./setup-SRRORVAF.js");
290
+ const { cmdSetup: cmdSetup2 } = await import("./setup-35ZPWUZW.js");
291
291
  await cmdSetup2(["--only", "github,gitlab", "--reconnect", "github,gitlab"]);
292
292
  return;
293
293
  }
@@ -632,15 +632,15 @@ async function cmdInit(args) {
632
632
  "Mimi Seed MCP\uAC00 \uC774 \uD504\uB85C\uC81D\uD2B8\uC5D0 \uC5F0\uACB0\uB418\uC5B4 \uC788\uC2B5\uB2C8\uB2E4.",
633
633
  "Google Play \xB7 App Store \xB7 Firebase \xB7 AdMob\uC744 \uB3C4\uAD6C\uB85C \uC9C1\uC811 \uC81C\uC5B4\uD569\uB2C8\uB2E4.",
634
634
  "",
635
- "## \uC138\uC158 \uC2DC\uC791",
635
+ "## \uB3C4\uAD6C \uD638\uCD9C",
636
636
  "",
637
- "1. \uCD9C\uC2DC/\uC2A4\uD1A0\uC5B4/Firebase/AdMob \uC694\uCCAD\uC740 \uBA3C\uC800 `mimi_seed_status`\uB85C \uC5F0\uACB0 \uC0C1\uD0DC\uB97C \uD655\uC778",
638
- "2. \uC778\uC99D \uB204\uB77D\uC774\uBA74 `mimi_seed_auth_start` \uB610\uB294 \uC544\uB798 \uB85C\uCEEC \uC778\uC99D \uBA85\uB839\uC744 \uC548\uB0B4",
639
- '3. Claude Code\uC5D0\uC11C \uB3C4\uAD6C schema\uAC00 deferred \uC0C1\uD0DC\uB77C\uBA74 \uD544\uC694\uD55C \uB3C4\uAD6C\uB97C `ToolSearch(query="select:<tool>[,<tool>...]")`\uB85C \uBA3C\uC800 \uB85C\uB4DC',
637
+ "1. \uB300\uC0C1\uC774 \uC815\uD574\uC9C4 \uC870\uD68C\uB294 \uD574\uB2F9 \uB3C4\uAD6C\uBD80\uD130 \uD638\uCD9C",
638
+ "2. \uCD08\uAE30 \uC124\uC815, \uC5F0\uACB0 \uD655\uC778, \uC778\uC99D \uC624\uB958 \uC9C4\uB2E8\uC5D0\uB294 `mimi_seed_status`\uB97C \uC0AC\uC6A9. \uD544\uC694\uD55C \uACBD\uC6B0 `mimi_seed_auth_start` \uB610\uB294 \uC544\uB798 \uC778\uC99D \uBA85\uB839\uC744 \uC548\uB0B4",
639
+ "3. \uC2A4\uD0A4\uB9C8\uAC00 \uC9C0\uC5F0 \uB85C\uB529\uB418\uBA74 \uD074\uB77C\uC774\uC5B8\uD2B8\uC758 \uB3C4\uAD6C \uD0D0\uC0C9\uC5D0\uC11C \uD604\uC7AC \uB2E8\uACC4\uC5D0 \uD544\uC694\uD55C \uB3C4\uAD6C\uB9CC \uB85C\uB4DC",
640
640
  "",
641
641
  "## \uCD9C\uC2DC \uC694\uCCAD \uCC98\uB9AC \uC21C\uC11C",
642
642
  "",
643
- "1. \uD56D\uC0C1 `playstore_check_submission_risks` / `appstore_check_submission_risks` \uB85C \uBE14\uB85C\uCEE4 \uD655\uC778",
643
+ "1. \uB300\uC0C1 \uBC84\uC804\uC744 \uBA3C\uC800 \uD655\uC778\uD558\uACE0 `playstore_check_submission_risks` \uB610\uB294 `appstore_check_submission_risks`\uC5D0 \uC804\uB2EC. \uBE14\uB85C\uCEE4\uB098 \uC810\uAC80 \uBBF8\uC644\uB8CC\uAC00 \uC788\uC73C\uBA74 \uC4F0\uAE30\uB97C \uBA48\uCD94\uACE0 \uBCF4\uACE0",
644
644
  "2. \uB9B4\uB9AC\uC988 \uB178\uD2B8\uB294 `docs/releases.json`\uC744 SSOT\uB85C \uD655\uC778/\uC791\uC131 \u2192 \uC0AC\uC6A9\uC790 \uD655\uC778 \uD6C4 \uC801\uC6A9",
645
645
  "3. \uC2A4\uD1A0\uC5B4 **\uC4F0\uAE30** \uC791\uC5C5(submit, apply, reply, delete)\uC740 \uBC18\uB4DC\uC2DC \uC0AC\uC6A9\uC790 \uBA85\uC2DC \uB3D9\uC758 \uD6C4 \uC2E4\uD589",
646
646
  "4. \uCD9C\uC2DC \uC644\uB8CC \uD6C4 \uC801\uC6A9 \uACB0\uACFC\uC640 \uC2E4\uD328 \uC9C0\uC810 \uC694\uC57D",
@@ -657,7 +657,7 @@ async function cmdInit(args) {
657
657
  "## \uC2AC\uB798\uC2DC \uCEE4\uB9E8\uB4DC",
658
658
  "",
659
659
  "- `/mimi-seed:getting-started` \u2014 \uCC98\uC74C \uC0AC\uC6A9\uC790 \uC628\uBCF4\uB529 (\uC5F0\uACB0 \uC2A4\uCE94 \u2192 \uB2A5\uB825 \uCE74\uD0C8\uB85C\uADF8 \u2192 \uCCAB \uC561\uC158)",
660
- "- `/mimi-seed:deploy` \u2014 \uC804\uCCB4 \uCD9C\uC2DC \uD30C\uC774\uD504\uB77C\uC778",
660
+ "- `/mimi-seed:deploy` \u2014 \uCD9C\uC2DC \uC900\uBE44\uB3C4 \uC810\uAC80 \uBC0F \uB9B4\uB9AC\uC2A4 \uB178\uD2B8 \uC801\uC6A9",
661
661
  "- `/mimi-seed:health` \u2014 \uC5F0\uACB0 \uC0C1\uD0DC \uBE60\uB978 \uD655\uC778",
662
662
  "- `/mimi-seed:review-inbox` \u2014 \uBBF8\uB2F5\uBCC0 \uB9AC\uBDF0 \uB2F5\uBCC0"
663
663
  ].join("\n");
@@ -3,7 +3,7 @@ import {
3
3
  cmdSetup,
4
4
  parseSetupArgs,
5
5
  resolveMode
6
- } from "./chunk-ZZUH2JB5.js";
6
+ } from "./chunk-SJVS7NRU.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.23.0",
14
+ "version": "0.23.2",
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"