@ait-co/console-cli 0.1.38 → 0.1.40
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 +19 -27
- package/README.md +19 -27
- package/dist/cli.mjs +44 -563
- package/dist/cli.mjs.map +1 -1
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -182,46 +182,38 @@ Every command accepts `--json`. When set:
|
|
|
182
182
|
|
|
183
183
|
`agent-plugin` skills shell out with `--json` exclusively and parse stdout.
|
|
184
184
|
|
|
185
|
-
##
|
|
186
|
-
|
|
187
|
-
`aitcc` collects anonymous usage statistics split into two tiers. See the [privacy page](https://docs.aitc.dev/privacy) for details.
|
|
188
|
-
|
|
189
|
-
### Tier 0 — anonymous daily ping (on by default, opt-out)
|
|
185
|
+
## Status
|
|
190
186
|
|
|
191
|
-
|
|
187
|
+
The following command groups are implemented end-to-end:
|
|
192
188
|
|
|
193
|
-
|
|
189
|
+
- Auth & session: `login` / `logout` / `whoami` / `auth` (export/import)
|
|
190
|
+
- Workspace: `workspace` / `members` / `me` / `notices`
|
|
191
|
+
- Mini-app: `app` — `init` / `ls` / `show` / `status` / `deploy` / `register` / `ratings` / `reports` / `metrics` / `events` / `messages` / `share-rewards`, `app bundles` (`ls`/`deployed`/`upload`/`review`/`release`/`test-push`/`test-links`), `app certs` (`ls`/`show`/`issue`/`revoke`)
|
|
192
|
+
- Misc: Deploy Key issuance (`keys`), `upgrade` (self-update), `completion` (shell completion)
|
|
194
193
|
|
|
195
|
-
|
|
196
|
-
- `--no-telemetry` flag — disables for this single invocation only (not permanent)
|
|
197
|
-
- `aitcc telemetry tier0-off` — permanently opts out (persisted to the state file)
|
|
194
|
+
`app logs` is deferred until the backend endpoint is available. See the [organization landing page](https://aitc.dev/) for the full roadmap.
|
|
198
195
|
|
|
199
|
-
|
|
196
|
+
## Issuing a Deploy Key
|
|
200
197
|
|
|
201
|
-
|
|
198
|
+
Issue a workspace-scoped credential (Deploy Key) for deploy automation:
|
|
202
199
|
|
|
203
200
|
```sh
|
|
204
|
-
aitcc
|
|
205
|
-
aitcc telemetry status --json # machine-readable output
|
|
206
|
-
aitcc telemetry enable # enable Tier 1 events
|
|
207
|
-
aitcc telemetry disable # disable Tier 1 events
|
|
208
|
-
aitcc telemetry delete # request deletion of Tier 1 server data + rotate local anon ID
|
|
209
|
-
aitcc telemetry tier0-off # permanently opt out of Tier 0 daily ping
|
|
210
|
-
aitcc telemetry tier0-on # re-enable Tier 0 after a previous tier0-off
|
|
201
|
+
aitcc keys create --name ci-deploy
|
|
211
202
|
```
|
|
212
203
|
|
|
213
|
-
|
|
204
|
+
The key is automatically saved to `~/.ait/credentials` under the `ci-deploy` profile as soon as it is issued — no separate `ait token add` step required:
|
|
214
205
|
|
|
215
|
-
|
|
206
|
+
```sh
|
|
207
|
+
ait deploy --profile ci-deploy ./bundle.ait
|
|
208
|
+
```
|
|
216
209
|
|
|
217
|
-
|
|
210
|
+
Only the plaintext key is written to stdout (pipe-friendly). stderr confirms which profile was saved. If you are piping the key into an external secret manager and do not need a local profile, pass `--no-save-profile`:
|
|
218
211
|
|
|
219
|
-
|
|
220
|
-
-
|
|
221
|
-
|
|
222
|
-
- Misc: Deploy Key issuance (`keys`), `telemetry`, `upgrade` (self-update), `completion` (shell completion)
|
|
212
|
+
```sh
|
|
213
|
+
aitcc keys create --name ci-deploy --no-save-profile | secret-tool store --label=… key password
|
|
214
|
+
```
|
|
223
215
|
|
|
224
|
-
|
|
216
|
+
To save the profile under a different name than `--name`, pass `--save-profile <other-name>`. The plaintext key is exposed once at issuance and cannot be retrieved later — if you lose it, revoke it with `aitcc keys revoke <id>` and issue a new one.
|
|
225
217
|
|
|
226
218
|
## Pre-commit hook
|
|
227
219
|
|
package/README.md
CHANGED
|
@@ -182,46 +182,38 @@ aitcc app deploy ./aitc-sdk-example.ait --json
|
|
|
182
182
|
|
|
183
183
|
`agent-plugin` skill은 항상 `--json`으로 shell out하고 stdout을 파싱합니다.
|
|
184
184
|
|
|
185
|
-
##
|
|
186
|
-
|
|
187
|
-
`aitcc`는 두 단계로 분리된 익명 사용 통계를 수집합니다. 자세한 내용은 [privacy 페이지](https://docs.aitc.dev/privacy) 참조.
|
|
188
|
-
|
|
189
|
-
### Tier 0 — 일별 익명 핑 (기본 ON, opt-out)
|
|
185
|
+
## 진행 상황
|
|
190
186
|
|
|
191
|
-
|
|
187
|
+
다음 명령군이 end-to-end로 동작합니다:
|
|
192
188
|
|
|
193
|
-
|
|
189
|
+
- 인증·세션: `login` / `logout` / `whoami` / `auth` (export/import)
|
|
190
|
+
- 워크스페이스: `workspace` / `members` / `me` / `notices`
|
|
191
|
+
- 미니앱: `app` — `init` / `ls` / `show` / `status` / `deploy` / `register` / `ratings` / `reports` / `metrics` / `events` / `messages` / `share-rewards`, `app bundles` (`ls`/`deployed`/`upload`/`review`/`release`/`test-push`/`test-links`), `app certs` (`ls`/`show`/`issue`/`revoke`)
|
|
192
|
+
- 그 외: Deploy Key 발급(`keys`), `upgrade`(self-update), `completion`(셸 자동완성)
|
|
194
193
|
|
|
195
|
-
|
|
196
|
-
- `--no-telemetry` 플래그 — 이 invocation만 비활성 (영구 X)
|
|
197
|
-
- `aitcc telemetry tier0-off` — 영구 opt-out (state file에 저장)
|
|
194
|
+
`app logs`는 백엔드 endpoint 확보 후 구현 예정입니다. 전체 로드맵은 [organization landing page](https://aitc.dev/) 참조.
|
|
198
195
|
|
|
199
|
-
|
|
196
|
+
## Deploy Key 발급
|
|
200
197
|
|
|
201
|
-
|
|
198
|
+
배포 자동화를 위한 워크스페이스-scope 자격증명(Deploy Key)을 발급합니다.
|
|
202
199
|
|
|
203
200
|
```sh
|
|
204
|
-
aitcc
|
|
205
|
-
aitcc telemetry status --json # machine-readable 출력
|
|
206
|
-
aitcc telemetry enable # Tier 1 활성화
|
|
207
|
-
aitcc telemetry disable # Tier 1 비활성화
|
|
208
|
-
aitcc telemetry delete # 서버에 저장된 Tier 1 데이터 삭제 요청 + 로컬 익명 ID 교체
|
|
209
|
-
aitcc telemetry tier0-off # Tier 0 익명 핑 영구 비활성화
|
|
210
|
-
aitcc telemetry tier0-on # Tier 0 다시 활성화
|
|
201
|
+
aitcc keys create --name ci-deploy
|
|
211
202
|
```
|
|
212
203
|
|
|
213
|
-
|
|
204
|
+
키 발급 즉시 `~/.ait/credentials`에 `ci-deploy` 프로파일로 저장되므로, 별도 `ait token add` 단계 없이 바로 사용할 수 있습니다:
|
|
214
205
|
|
|
215
|
-
|
|
206
|
+
```sh
|
|
207
|
+
ait deploy --profile ci-deploy ./bundle.ait
|
|
208
|
+
```
|
|
216
209
|
|
|
217
|
-
|
|
210
|
+
stdout에는 plaintext 키 한 줄만 나옵니다 (파이프 친화적). stderr는 저장된 프로파일 이름을 확인해줍니다. CI 파이프에서 키를 외부 secret manager에 직접 주입할 때처럼 로컬 저장이 필요 없다면 `--no-save-profile`로 저장을 건너뜁니다:
|
|
218
211
|
|
|
219
|
-
|
|
220
|
-
-
|
|
221
|
-
|
|
222
|
-
- 그 외: Deploy Key 발급(`keys`), `telemetry`, `upgrade`(self-update), `completion`(셸 자동완성)
|
|
212
|
+
```sh
|
|
213
|
+
aitcc keys create --name ci-deploy --no-save-profile | secret-tool store --label=… key password
|
|
214
|
+
```
|
|
223
215
|
|
|
224
|
-
|
|
216
|
+
프로파일 이름을 `--name`과 다르게 지정하려면 `--save-profile <other-name>`을 사용합니다. plaintext 키는 발급 시 한 번만 노출되며 목록 endpoint에서 다시 확인할 수 없습니다 — 분실 시 `aitcc keys revoke <id>`로 무효화하고 재발급합니다.
|
|
225
217
|
|
|
226
218
|
## Pre-commit hook
|
|
227
219
|
|