@team-semicolon/semo-cli 3.0.21 → 3.0.22

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.
Files changed (2) hide show
  1. package/dist/index.js +23 -16
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -375,16 +375,23 @@ const EXTENSION_PACKAGES = {
375
375
  // Meta
376
376
  meta: { name: "Meta", desc: "SEMO 프레임워크 자체 개발/관리", layer: "meta", detect: ["semo-core", "semo-skills"] },
377
377
  };
378
- // 레거시 패키지 패키지 매핑 (하위호환성)
379
- const LEGACY_MAPPING = {
380
- next: "eng/nextjs",
381
- backend: "eng/spring",
378
+ // 단축명전체 패키지 경로 매핑
379
+ const SHORTNAME_MAPPING = {
380
+ // 하위 패키지명 단축 (discovery → biz/discovery)
381
+ discovery: "biz/discovery",
382
+ design: "biz/design",
383
+ management: "biz/management",
384
+ poc: "biz/poc",
385
+ nextjs: "eng/nextjs",
386
+ spring: "eng/spring",
382
387
  ms: "eng/ms",
383
388
  infra: "eng/infra",
384
389
  qa: "ops/qa",
385
- po: "biz/discovery",
386
- pm: "biz/management",
387
- design: "biz/design",
390
+ monitor: "ops/monitor",
391
+ improve: "ops/improve",
392
+ // 추가 별칭
393
+ next: "eng/nextjs",
394
+ backend: "eng/spring",
388
395
  mvp: "biz/poc",
389
396
  };
390
397
  // 그룹 이름 목록 (biz, eng, ops)
@@ -411,9 +418,9 @@ function resolvePackageInput(input) {
411
418
  groupName = part;
412
419
  continue;
413
420
  }
414
- // 2. 레거시 매핑 확인
415
- if (part in LEGACY_MAPPING) {
416
- resolvedPackages.push(LEGACY_MAPPING[part]);
421
+ // 2. 단축명 매핑 확인 (discovery → biz/discovery 등)
422
+ if (part in SHORTNAME_MAPPING) {
423
+ resolvedPackages.push(SHORTNAME_MAPPING[part]);
417
424
  continue;
418
425
  }
419
426
  // 3. 직접 패키지명 확인
@@ -2091,7 +2098,7 @@ program
2091
2098
  console.log(chalk_1.default.red(`\n알 수 없는 패키지: ${packagesInput}`));
2092
2099
  console.log(chalk_1.default.gray(`사용 가능한 그룹: ${PACKAGE_GROUPS.join(", ")}`));
2093
2100
  console.log(chalk_1.default.gray(`사용 가능한 패키지: ${Object.keys(EXTENSION_PACKAGES).join(", ")}`));
2094
- console.log(chalk_1.default.gray(`레거시 별칭: ${Object.keys(LEGACY_MAPPING).join(", ")}\n`));
2101
+ console.log(chalk_1.default.gray(`단축명: ${Object.keys(SHORTNAME_MAPPING).join(", ")}\n`));
2095
2102
  process.exit(1);
2096
2103
  }
2097
2104
  // 그룹 설치인 경우 안내
@@ -2205,12 +2212,12 @@ program
2205
2212
  console.log(chalk_1.default.gray(" semo add eng → Engineering 전체 (nextjs, spring, ms, infra)"));
2206
2213
  console.log(chalk_1.default.gray(" semo add ops → Operations 전체 (qa, monitor, improve)"));
2207
2214
  console.log();
2208
- // 레거시 호환성 안내
2215
+ // 단축명 안내
2209
2216
  console.log(chalk_1.default.gray("─".repeat(50)));
2210
- console.log(chalk_1.default.gray("레거시 명령어도 지원됩니다:"));
2211
- console.log(chalk_1.default.gray(" semo add next eng/nextjs"));
2212
- console.log(chalk_1.default.gray(" semo add backend eng/spring"));
2213
- console.log(chalk_1.default.gray(" semo add mvp biz/poc\n"));
2217
+ console.log(chalk_1.default.white.bold(" 단축명 지원"));
2218
+ console.log(chalk_1.default.gray(" semo add discovery biz/discovery"));
2219
+ console.log(chalk_1.default.gray(" semo add qa ops/qa"));
2220
+ console.log(chalk_1.default.gray(" semo add nextjs eng/nextjs\n"));
2214
2221
  });
2215
2222
  // === status 명령어 ===
2216
2223
  program
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team-semicolon/semo-cli",
3
- "version": "3.0.21",
3
+ "version": "3.0.22",
4
4
  "description": "SEMO CLI - AI Agent Orchestration Framework Installer",
5
5
  "main": "dist/index.js",
6
6
  "bin": {