mimi-seed 0.14.0 → 0.15.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.
@@ -756,7 +756,7 @@ async function detectHints(cwd) {
756
756
  /<key>CFBundleIdentifier<\/key>\s*<string>([^<]+)<\/string>/
757
757
  );
758
758
  if (m?.[1]) {
759
- let bid = m[1];
759
+ const bid = m[1];
760
760
  if (bid.includes("$(PRODUCT_BUNDLE_IDENTIFIER)")) continue;
761
761
  if (!hints.some((h) => h.bundleId === bid)) {
762
762
  hints.push({ bundleId: bid, source: [path4.relative(cwd, f)] });
@@ -1360,7 +1360,7 @@ function resolveCi(ciOption, jenkins, ciProvider) {
1360
1360
  throw new Error(M2().noCiConfig);
1361
1361
  }
1362
1362
  async function runGitProviderBuild(cfg, args) {
1363
- let runUrl = "";
1363
+ let runUrl;
1364
1364
  let runId;
1365
1365
  if (cfg.provider === "github") {
1366
1366
  if (!args.workflow) {
package/dist/index.js CHANGED
@@ -22,7 +22,7 @@ import {
22
22
  runMcpBin,
23
23
  tryCredById,
24
24
  writeConfig
25
- } from "./chunk-PWRWGTQW.js";
25
+ } from "./chunk-XOELSMVF.js";
26
26
  import {
27
27
  catalog,
28
28
  isLang,
@@ -97,7 +97,8 @@ async function awaitHandshake(timeoutMs) {
97
97
  server.close();
98
98
  reject(new Error(M().timeout(timeoutMs / 1e3)));
99
99
  }, timeoutMs);
100
- promise.finally(() => clearTimeout(timer));
100
+ void promise.finally(() => clearTimeout(timer)).catch(() => {
101
+ });
101
102
  return { port, promise };
102
103
  }
103
104
 
@@ -576,7 +577,9 @@ async function generateWithClaude(commitsText, locales) {
576
577
  const localeList = locales.map((l) => M3().localeHint(l)).join(",\n ");
577
578
  const response = await client.messages.create({
578
579
  model: CLI_AI_MODEL,
579
- max_tokens: 1500,
580
+ // mcp-server 의 generateReleaseNotes 기본값과 같아야 한다 — 낮으면 다국어 JSON 이
581
+ // CLI 경로에서만 잘린다. ai-parity.test.ts 가 두 값의 일치를 강제한다.
582
+ max_tokens: 2e3,
580
583
  system: M3().system,
581
584
  messages: [{
582
585
  role: "user",
@@ -1062,7 +1065,7 @@ async function cmdAuth(args) {
1062
1065
  if (sub === "instagram") return void exitWith(await runMcpBin("mimi-seed-social-auth", ["instagram", ...rest]));
1063
1066
  if (sub === "threads") return void exitWith(await runMcpBin("mimi-seed-social-auth", ["threads", ...rest]));
1064
1067
  if (sub === "ci") {
1065
- const { cmdSetup: cmdSetup2 } = await import("./setup-MRHAMRVP.js");
1068
+ const { cmdSetup: cmdSetup2 } = await import("./setup-MH3XTOBW.js");
1066
1069
  await cmdSetup2(["--only", "github,gitlab", "--reconnect", "github,gitlab"]);
1067
1070
  return;
1068
1071
  }
@@ -1203,7 +1206,7 @@ function killByMarker(marker) {
1203
1206
  const isWin = os.platform() === "win32";
1204
1207
  if (isWin) {
1205
1208
  const escaped = marker.replace(/\\/g, "\\\\").replace(/'/g, "\\'");
1206
- let pids = [];
1209
+ let pids;
1207
1210
  try {
1208
1211
  const out = execSync2(
1209
1212
  `powershell -NoProfile -Command "Get-WmiObject Win32_Process | Where-Object { $_.CommandLine -like '*${escaped}*' } | Select-Object -ExpandProperty ProcessId"`,
@@ -1347,7 +1350,7 @@ async function writeCodexMcpConfig(cfg) {
1347
1350
  const configDir = path2.join(os2.homedir(), ".codex");
1348
1351
  const configPath = path2.join(configDir, "config.toml");
1349
1352
  await fs2.mkdir(configDir, { recursive: true });
1350
- let current = "";
1353
+ let current;
1351
1354
  try {
1352
1355
  current = await fs2.readFile(configPath, "utf8");
1353
1356
  } catch {
@@ -3,7 +3,7 @@ import {
3
3
  cmdSetup,
4
4
  parseSetupArgs,
5
5
  resolveMode
6
- } from "./chunk-PWRWGTQW.js";
6
+ } from "./chunk-XOELSMVF.js";
7
7
  import "./chunk-ZGMPOJRY.js";
8
8
  export {
9
9
  cmdSetup,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mimi-seed",
3
- "version": "0.14.0",
4
- "description": "Mimi Seed CLI Claude Code Codex에서 출시 운영을 관리합니다.",
3
+ "version": "0.15.0",
4
+ "description": "Mimi Seed CLI \u2014 Claude Code\uc640 Codex\uc5d0\uc11c \uc571 \ucd9c\uc2dc \uc6b4\uc601\uc744 \uad00\ub9ac\ud569\ub2c8\ub2e4.",
5
5
  "bin": {
6
6
  "mimi-seed": "dist/index.js"
7
7
  },
@@ -21,8 +21,10 @@
21
21
  "build": "tsup",
22
22
  "dev": "tsx src/index.ts",
23
23
  "typecheck": "tsc --noEmit",
24
- "test": "npm run typecheck && vitest run",
25
- "test:watch": "vitest"
24
+ "test": "npm run typecheck && npm run lint && vitest run",
25
+ "test:watch": "vitest",
26
+ "lint": "eslint .",
27
+ "coverage": "vitest run --coverage"
26
28
  },
27
29
  "engines": {
28
30
  "node": ">=20"
@@ -33,10 +35,14 @@
33
35
  "open": "^10.1.0"
34
36
  },
35
37
  "devDependencies": {
38
+ "@eslint/js": "^10.0.1",
36
39
  "@types/node": "^20.11.0",
40
+ "@vitest/coverage-v8": "^4.1.10",
41
+ "eslint": "^10.8.0",
37
42
  "tsup": "^8.0.0",
38
43
  "tsx": "^4.7.0",
39
44
  "typescript": "^5.4.0",
45
+ "typescript-eslint": "^8.65.0",
40
46
  "vitest": "^4.1.5"
41
47
  },
42
48
  "publishConfig": {