aipctl 2026.10.3 → 2026.10.5
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.md +56 -11
- package/build/index.cjs +2701 -1949
- package/docs/api-contract-inventory.md +70 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -23,6 +23,51 @@ aipctl org select
|
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
설정과 credentials 경로는 기존 `~/.config/aip`를 유지합니다.
|
|
26
|
+
로그아웃하거나 App URL을 변경하면 대기 중인 로그인·갱신·조직 선택 결과는 저장되지 않습니다.
|
|
27
|
+
환경 변경 뒤에는 다시 로그인합니다. `CLI_AUTH_SESSION_CHANGED`가 나오면 `auth status`와
|
|
28
|
+
`config status`를 확인한 뒤 명령을 다시 실행합니다.
|
|
29
|
+
|
|
30
|
+
## 목록과 삭제
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
aipctl skill list --count 50 --json-page
|
|
34
|
+
aipctl skill list --cursor <nextCursor> --count 50 --json-page
|
|
35
|
+
aipctl skill library --count 50 --json-page
|
|
36
|
+
aipctl skill built-in --limit 50 --json-page
|
|
37
|
+
aipctl admin skill list --page 1 --page-size 20 --json-page
|
|
38
|
+
aipctl chat list --cursor <nextCursor> --json-page
|
|
39
|
+
aipctl drive list --parent-id <folder-id> --count 200 --json-page
|
|
40
|
+
aipctl skill delete <skill-id> --force
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
목록은 한 페이지씩 조회합니다. Skill list/library·Drive는 `--count 1..200`과 `--cursor`,
|
|
44
|
+
Skill built-in과 admin skill built-in은 `--limit 1..100`과 `--cursor`, Chat은 `--cursor`를
|
|
45
|
+
지원합니다. `--json-page`는 항목과 `nextCursor`를 함께 반환합니다. Admin skill list는
|
|
46
|
+
`--page`/`--page-size`와 `pagination`을 사용합니다. 기존 Skill·Chat·admin Skill `--json` 배열
|
|
47
|
+
형식은 유지하며 다음 페이지가 있으면 stderr에 안내합니다.
|
|
48
|
+
다음 페이지에도 같은 조직·검색·폴더 조건을 사용합니다. 자동 전체 수집은 하지 않습니다.
|
|
49
|
+
|
|
50
|
+
삭제·멤버 제거·조직 탈퇴는 `--force` 또는 `-f`로 확인해야 실행됩니다. 확인이 없으면
|
|
51
|
+
`CLI_CONFIRMATION_REQUIRED`와 exit 1로 종료하며 요청을 전송하지 않습니다.
|
|
52
|
+
|
|
53
|
+
## 본인 CLI 한도 확인
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
aipctl quota status
|
|
57
|
+
aipctl quota status --org <slug> --json
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
선택한 조직에서 본인에게 적용되는 요청 한도, 조직 공유 한도, 정책 버전과 UTC 일일 text
|
|
61
|
+
admission 사용량·활성/미확정 실행 수를 조회합니다. 업무 한도를 소진해도 별도로 제한된 진단
|
|
62
|
+
요청은 가능합니다. 조회는 실행 용량을 예약하지 않으며 미확정 실행의 슬롯을 반환하지 않습니다.
|
|
63
|
+
사용량 조회에 실패하면 `usage.status`는 `UNAVAILABLE`이고 사용량과 reset 필드는 `null`입니다.
|
|
64
|
+
정책 버전이 `null`이면 해당 override 없이 기본값을 상속합니다.
|
|
65
|
+
|
|
66
|
+
API 실패 시 `--json`은 stderr에 `{ "error": { "code", "message", ... } }` 한 건을 출력하고
|
|
67
|
+
exit 1로 종료합니다. 일반 요청은 로컬 대기부터 응답 본문 처리까지 120초·8 MiB로 제한합니다.
|
|
68
|
+
변경 요청이 전송된 뒤 timeout이나 응답 유실이 생기면 `outcome: "unknown"`이므로 대상 상태를
|
|
69
|
+
조회한 뒤 다음 행동을 결정합니다. CLI는 변경·유료 실행을 자동 재실행하지 않습니다. Ctrl+C는
|
|
70
|
+
exit 130으로 종료하며 서버의 작업 취소나 rollback을 보장하지 않습니다.
|
|
26
71
|
|
|
27
72
|
## MCP native commands
|
|
28
73
|
|
|
@@ -34,29 +79,29 @@ aipctl tunnel link <token>
|
|
|
34
79
|
|
|
35
80
|
`install`, `run`, `tunnel`, `logs`는 Go native binary로 lazy dispatch됩니다. `prod` build에서는 `logs` command가 help와 command tree에서 제외됩니다.
|
|
36
81
|
|
|
37
|
-
##
|
|
82
|
+
## 모델 조회와 개발 환경 기능
|
|
38
83
|
|
|
39
|
-
|
|
84
|
+
production에서는 모델 목록·상세·입력 예시를 조회할 수 있습니다. 지원 범위는 release manifest와
|
|
85
|
+
해당 artifact의 `--help`를 기준으로 확인합니다. 구현 여부와 고객 공개 여부는 별개입니다.
|
|
40
86
|
|
|
41
87
|
```bash
|
|
42
88
|
aipctl model-exec models [--type chat|image-generation] [--json]
|
|
43
89
|
aipctl model-exec get <model-id> [--json]
|
|
44
90
|
aipctl model-exec sample <model-id> [--save input.json]
|
|
45
|
-
aipctl model-exec chat --model <chat-model-id> -m "hello" [--json]
|
|
46
|
-
aipctl model-exec image generate --model <image-model-id> --prompt "cat" --output ./cat.png [--json]
|
|
47
91
|
```
|
|
48
92
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
Conversation을 유지하는 일반 채팅은 `chat send`를 사용합니다.
|
|
93
|
+
`model-exec chat`, `agent chat`, `chat send`, transfer/export, 외부 실행·credential 회전 후보는
|
|
94
|
+
production에서 비공개입니다. 개발 artifact(`npx aipctl@dev`)와 설정된 개발 App URL, 해당
|
|
95
|
+
서버의 인증·release·quota gate가 모두 충족되어야 시험할 수 있습니다. 개발 artifact만 설치해도
|
|
96
|
+
서버 차단을 통과하는 것은 아닙니다. 아래 예시는 text 실행 gate를 연 개발 환경에만 적용됩니다.
|
|
54
97
|
|
|
55
98
|
```bash
|
|
56
|
-
aipctl chat
|
|
57
|
-
aipctl chat send
|
|
99
|
+
npx aipctl@dev model-exec chat --model <chat-model-id> -m "hello" --json
|
|
100
|
+
npx aipctl@dev chat send -m "hello" --json
|
|
58
101
|
```
|
|
59
102
|
|
|
103
|
+
이미지 생성·비동기 job은 이번 스프린트에서 공개하거나 검증하지 않습니다.
|
|
104
|
+
|
|
60
105
|
## Development
|
|
61
106
|
|
|
62
107
|
```bash
|