@ait-co/console-cli 0.1.34 → 0.1.35
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/README.en.md +2 -2
- package/README.md +2 -2
- package/dist/cli.mjs +7 -3
- package/dist/cli.mjs.map +1 -1
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -22,7 +22,7 @@ The installer detects OS (`uname -s`) and arch (`uname -m`), downloads the match
|
|
|
22
22
|
Pin a specific version:
|
|
23
23
|
|
|
24
24
|
```sh
|
|
25
|
-
curl -fsSL https://raw.githubusercontent.com/apps-in-toss-community/console-cli/main/install.sh | AITCC_VERSION=v0.1.
|
|
25
|
+
curl -fsSL https://raw.githubusercontent.com/apps-in-toss-community/console-cli/main/install.sh | AITCC_VERSION=v0.1.34 sh
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
Override the install directory with `AITCC_INSTALL_DIR=/custom/path` (default `$HOME/.local/bin`).
|
|
@@ -128,7 +128,7 @@ For one-shot CI runs (e.g. `aitcc app deploy` from a workflow), seed the runner
|
|
|
128
128
|
|
|
129
129
|
```sh
|
|
130
130
|
# Desktop (already logged in):
|
|
131
|
-
aitcc auth export --format env >> $GITHUB_ENV # or
|
|
131
|
+
aitcc auth export --format env >> $GITHUB_ENV # or store as a secret
|
|
132
132
|
# CI (with the secret exposed as $AITCC_SESSION):
|
|
133
133
|
aitcc app deploy ./aitc-sdk-example.ait --json
|
|
134
134
|
```
|
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ installer가 OS(`uname -s`)와 아키텍처(`uname -m`)를 자동 감지해 최
|
|
|
22
22
|
특정 버전 고정:
|
|
23
23
|
|
|
24
24
|
```sh
|
|
25
|
-
curl -fsSL https://raw.githubusercontent.com/apps-in-toss-community/console-cli/main/install.sh | AITCC_VERSION=v0.1.
|
|
25
|
+
curl -fsSL https://raw.githubusercontent.com/apps-in-toss-community/console-cli/main/install.sh | AITCC_VERSION=v0.1.34 sh
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
설치 경로를 바꾸려면 `AITCC_INSTALL_DIR=/custom/path` (기본 `$HOME/.local/bin`).
|
|
@@ -124,7 +124,7 @@ OS 키체인 대신 plain `0600` 파일을 쓰는 이유는 [CLAUDE.md](./CLAUDE
|
|
|
124
124
|
|
|
125
125
|
## CI/CD 통합
|
|
126
126
|
|
|
127
|
-
워크플로의
|
|
127
|
+
워크플로의 일회성 실행(`aitcc app deploy` 등)을 위해 desktop에서 캡처한 세션을 runner에 주입합니다:
|
|
128
128
|
|
|
129
129
|
```sh
|
|
130
130
|
# Desktop (이미 로그인된 상태):
|
package/dist/cli.mjs
CHANGED
|
@@ -3382,7 +3382,8 @@ function formatDiffValue(v) {
|
|
|
3382
3382
|
return String(v);
|
|
3383
3383
|
}
|
|
3384
3384
|
function describeServiceStatus(s) {
|
|
3385
|
-
if (s === "PREPARE") return "PREPARE (출시 전 —
|
|
3385
|
+
if (s === "PREPARE") return "PREPARE (출시 전 — 번들 출시 검수 미통과)";
|
|
3386
|
+
if (s === "OPENED") return "OPENED (출시 중)";
|
|
3386
3387
|
if (s === "RUNNING") return "RUNNING (출시 중)";
|
|
3387
3388
|
if (s === "STOPPED") return "STOPPED (운영 중지)";
|
|
3388
3389
|
return s;
|
|
@@ -3583,6 +3584,9 @@ function deriveReviewState(env) {
|
|
|
3583
3584
|
lockReason: locked ? "review-pending" : null
|
|
3584
3585
|
};
|
|
3585
3586
|
}
|
|
3587
|
+
function isInServiceStatus(serviceStatus) {
|
|
3588
|
+
return serviceStatus === "OPENED" || serviceStatus === "RUNNING";
|
|
3589
|
+
}
|
|
3586
3590
|
function deriveLsStatus(derived, serviceStatus) {
|
|
3587
3591
|
if (!derived) return {
|
|
3588
3592
|
status: "unknown",
|
|
@@ -3592,7 +3596,7 @@ function deriveLsStatus(derived, serviceStatus) {
|
|
|
3592
3596
|
const locked = derived.approvalType === "REVIEW";
|
|
3593
3597
|
const lockReason = locked ? "review-pending" : null;
|
|
3594
3598
|
let status = derived.state;
|
|
3595
|
-
if (status === "approved" && serviceStatus
|
|
3599
|
+
if (status === "approved" && isInServiceStatus(serviceStatus)) status = "in-service";
|
|
3596
3600
|
return {
|
|
3597
3601
|
status,
|
|
3598
3602
|
locked,
|
|
@@ -9233,7 +9237,7 @@ function resolveVersion() {
|
|
|
9233
9237
|
if (typeof injected === "string" && injected.length > 0) return injected;
|
|
9234
9238
|
} catch {}
|
|
9235
9239
|
try {
|
|
9236
|
-
return "0.1.
|
|
9240
|
+
return "0.1.35";
|
|
9237
9241
|
} catch {}
|
|
9238
9242
|
return "0.0.0-dev";
|
|
9239
9243
|
}
|