aipctl 2026.6.3 → 2026.6.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 +60 -0
- package/build/index.cjs +99924 -0
- package/docs/api-contract-inventory.md +91 -0
- package/docs/architecture.md +75 -0
- package/docs/desktop-cli-go-coding-guidelines.md +22 -0
- package/package.json +22 -23
- package/dispatcher.cjs +0 -17
- package/main.cjs +0 -23
package/README.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# aipctl
|
|
2
|
+
|
|
3
|
+
`aipctl`은 Duplo AIP API command와 기존 MCP native command를 하나로 통합한 CLI입니다.
|
|
4
|
+
|
|
5
|
+
## Requirements
|
|
6
|
+
|
|
7
|
+
- Node.js 24.18.0+
|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install -g aipctl
|
|
13
|
+
npx aipctl --help
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## AIP setup
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
aipctl config set --app-url https://app.example.com
|
|
20
|
+
aipctl auth login
|
|
21
|
+
aipctl org list
|
|
22
|
+
aipctl org select
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
설정과 credentials 경로는 기존 `~/.config/aip`를 유지합니다.
|
|
26
|
+
|
|
27
|
+
## MCP native commands
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
aipctl install <presetName> <presetId> --key <apiKey>
|
|
31
|
+
aipctl run <config>
|
|
32
|
+
aipctl tunnel link <token>
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
`install`, `run`, `tunnel`, `logs`는 Go native binary로 lazy dispatch됩니다. `prod` build에서는 `logs` command가 help와 command tree에서 제외됩니다.
|
|
36
|
+
|
|
37
|
+
## Development
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
cd desktop
|
|
41
|
+
pnpm install
|
|
42
|
+
pnpm run cli:typecheck
|
|
43
|
+
pnpm run cli:lint
|
|
44
|
+
pnpm run cli:test:ts
|
|
45
|
+
pnpm run cli:test:wrapper
|
|
46
|
+
pnpm run cli:test:go
|
|
47
|
+
pnpm run cli:help:check
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Local run:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
mise run desktop:cli:local -- --help
|
|
54
|
+
mise run desktop:cli:local -- auth --help
|
|
55
|
+
mise run desktop:cli:local -- run --help
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Architecture
|
|
59
|
+
|
|
60
|
+
자세한 구조는 [`docs/architecture.md`](./docs/architecture.md)를 봅니다.
|