mimi-seed 0.13.18 → 0.14.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/dist/index.js CHANGED
@@ -22,7 +22,7 @@ import {
22
22
  runMcpBin,
23
23
  tryCredById,
24
24
  writeConfig
25
- } from "./chunk-3FZH2LZB.js";
25
+ } from "./chunk-PWRWGTQW.js";
26
26
  import {
27
27
  catalog,
28
28
  isLang,
@@ -432,6 +432,11 @@ async function cmdCheck(argv) {
432
432
  import { createInterface } from "readline/promises";
433
433
  import Anthropic from "@anthropic-ai/sdk";
434
434
  import kleur3 from "kleur";
435
+
436
+ // src/ai-model.ts
437
+ var CLI_AI_MODEL = "claude-haiku-4-5-20251001";
438
+
439
+ // src/notes.ts
435
440
  var M3 = catalog(
436
441
  {
437
442
  // Claude 프롬프트
@@ -570,7 +575,7 @@ async function generateWithClaude(commitsText, locales) {
570
575
  const client = new Anthropic({ apiKey: process.env.ANTHROPIC_API_KEY });
571
576
  const localeList = locales.map((l) => M3().localeHint(l)).join(",\n ");
572
577
  const response = await client.messages.create({
573
- model: "claude-haiku-4-5-20251001",
578
+ model: CLI_AI_MODEL,
574
579
  max_tokens: 1500,
575
580
  system: M3().system,
576
581
  messages: [{
@@ -854,7 +859,7 @@ async function generateReply(opts) {
854
859
  const stars = opts.rating !== void 0 ? m.starsLabel(`${"\u2605".repeat(opts.rating)}${"\u2606".repeat(5 - opts.rating)}`, opts.rating) : "";
855
860
  const langName = localeNames[opts.language] ?? opts.language;
856
861
  const response = await client.messages.create({
857
- model: "claude-haiku-4-5-20251001",
862
+ model: CLI_AI_MODEL,
858
863
  max_tokens: 500,
859
864
  system: m.system(langName, toneGuide, opts.developerName ?? m.defaultDeveloper),
860
865
  messages: [{
@@ -1053,11 +1058,11 @@ async function cmdAuth(args) {
1053
1058
  if (sub === "jenkins") return void exitWith(await runMcpBin("mimi-seed-jenkins-auth", rest));
1054
1059
  if (sub === "googleads") return void exitWith(await runMcpBin("mimi-seed-googleads-auth", rest));
1055
1060
  if (sub === "meta") return void exitWith(await runMcpBin("mimi-seed-social-auth", ["all", ...rest]));
1056
- if (sub === "facebook") return void exitWith(await runMcpBin("mimi-seed-social-auth", ["facebook"]));
1061
+ if (sub === "facebook") return void exitWith(await runMcpBin("mimi-seed-social-auth", ["facebook", ...rest]));
1057
1062
  if (sub === "instagram") return void exitWith(await runMcpBin("mimi-seed-social-auth", ["instagram", ...rest]));
1058
1063
  if (sub === "threads") return void exitWith(await runMcpBin("mimi-seed-social-auth", ["threads", ...rest]));
1059
1064
  if (sub === "ci") {
1060
- const { cmdSetup: cmdSetup2 } = await import("./setup-VP5WRSXY.js");
1065
+ const { cmdSetup: cmdSetup2 } = await import("./setup-MRHAMRVP.js");
1061
1066
  await cmdSetup2(["--only", "github,gitlab", "--reconnect", "github,gitlab"]);
1062
1067
  return;
1063
1068
  }
@@ -1118,32 +1123,17 @@ async function cmdLang(args) {
1118
1123
  }
1119
1124
 
1120
1125
  // src/cloud.ts
1121
- import { spawn } from "child_process";
1122
- var MCP_PKG2 = "@yoonion/mimi-seed-mcp";
1123
- async function runMcpBin2(bin, extraArgs) {
1124
- return new Promise((resolve) => {
1125
- const child = spawn("npx", ["-y", `${MCP_PKG2}`, bin, ...extraArgs], {
1126
- stdio: "inherit",
1127
- shell: true
1128
- });
1129
- child.on("error", (e) => {
1130
- process.stderr.write(t().auth.npxFailed("npx", e.message));
1131
- resolve(1);
1132
- });
1133
- child.on("exit", (code) => resolve(code ?? 0));
1134
- });
1135
- }
1136
1126
  function exitWith2(code) {
1137
1127
  if (code !== 0) process.exit(code);
1138
1128
  }
1139
1129
  async function cmdFirebase(args) {
1140
- exitWith2(await runMcpBin2("mimi-seed-firebase", args));
1130
+ exitWith2(await runMcpBin("mimi-seed-firebase", args));
1141
1131
  }
1142
1132
  async function cmdAdmob(args) {
1143
- exitWith2(await runMcpBin2("mimi-seed-admob", args));
1133
+ exitWith2(await runMcpBin("mimi-seed-admob", args));
1144
1134
  }
1145
1135
  async function cmdGa4(args) {
1146
- exitWith2(await runMcpBin2("mimi-seed-ga4", args));
1136
+ exitWith2(await runMcpBin("mimi-seed-ga4", args));
1147
1137
  }
1148
1138
 
1149
1139
  // src/mcp-restart.ts
@@ -3,7 +3,7 @@ import {
3
3
  cmdSetup,
4
4
  parseSetupArgs,
5
5
  resolveMode
6
- } from "./chunk-3FZH2LZB.js";
6
+ } from "./chunk-PWRWGTQW.js";
7
7
  import "./chunk-ZGMPOJRY.js";
8
8
  export {
9
9
  cmdSetup,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mimi-seed",
3
- "version": "0.13.18",
3
+ "version": "0.14.0",
4
4
  "description": "Mimi Seed CLI — Claude Code와 Codex에서 앱 출시 운영을 관리합니다.",
5
5
  "bin": {
6
6
  "mimi-seed": "dist/index.js"
@@ -20,7 +20,8 @@
20
20
  "scripts": {
21
21
  "build": "tsup",
22
22
  "dev": "tsx src/index.ts",
23
- "test": "vitest run",
23
+ "typecheck": "tsc --noEmit",
24
+ "test": "npm run typecheck && vitest run",
24
25
  "test:watch": "vitest"
25
26
  },
26
27
  "engines": {
File without changes