gencow 0.1.49 → 0.1.51

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/bin/gencow.mjs +12 -0
  2. package/package.json +1 -1
package/bin/gencow.mjs CHANGED
@@ -2672,6 +2672,18 @@ process.exit(0);
2672
2672
  if (appIdx !== -1 && cloudArgs[appIdx + 1]) {
2673
2673
  appName = cloudArgs[appIdx + 1];
2674
2674
  }
2675
+
2676
+ // gencow.json에서 appId 로드 (gencow deploy 시 자동 생성)
2677
+ if (!appName) {
2678
+ const gencowJsonPath = resolve(process.cwd(), "gencow.json");
2679
+ if (existsSync(gencowJsonPath)) {
2680
+ try {
2681
+ const gencowJson = JSON.parse(readFileSync(gencowJsonPath, "utf8"));
2682
+ appName = gencowJson.appId || gencowJson.appName;
2683
+ } catch { /* ignore parse error */ }
2684
+ }
2685
+ }
2686
+
2675
2687
  appName = appName || config.deploy?.app || creds.currentApp;
2676
2688
 
2677
2689
  if (!appName) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gencow",
3
- "version": "0.1.49",
3
+ "version": "0.1.51",
4
4
  "description": "Gencow — AI Backend Engine",
5
5
  "type": "module",
6
6
  "bin": {