@gizai/cli 1.2.1 → 2.0.0

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.
@@ -36,7 +36,7 @@ giz model run MODEL_ID --input '{"prompt":"..."}'
36
36
  Use the OpenAI-compatible chat boundary:
37
37
 
38
38
  ```bash
39
- giz chat gpt-5-6-luna "..."
39
+ giz chat gpt-6-luna "..."
40
40
  ```
41
41
 
42
42
  Upload local media into an exact model field:
@@ -64,17 +64,17 @@ Pass `--json` for machine output. Use `GIZ_TOKEN` only in ephemeral automation.
64
64
 
65
65
  Read [references/operations.md](references/operations.md) when MCP discovery is unavailable or when choosing between Drive and Computer tools.
66
66
 
67
- App 변경은 `giz app list`에서 확인한 `revision`을 명시적으로 전달합니다.
68
- `run`, `publish`, `delete`에는 `--expected-revision REVISION`이 필요합니다.
69
- `create`/`save`의 `--input`에는 `id`와 `expectedRevision`을 넣습니다(새 앱은 0).
70
- 목록을 다시 읽어 개정 번호를 자동 대체하지 않으므로, 검토 뒤 다른 변경이 생기면 서버가 충돌을 거부합니다.
67
+ App changes pass the `revision` read from `giz app list` explicitly.
68
+ `run`, `publish` and `delete` require `--expected-revision REVISION`.
69
+ The `--input` of `create` and `save` carries `id` and `expectedRevision` (0 for a new App).
70
+ The CLI never re-reads the list to substitute a revision, so the server rejects the call if another change landed after your review.
71
71
 
72
- 아래 표는 CLI 디스패처와 도구 item에서 생성합니다. 갱신 명령:
72
+ The table below is generated from the CLI dispatcher and the tool descriptors. To refresh it, run:
73
73
  `GIZ_UPDATE_CLI_SURFACE=1 pnpm --filter giz-app-giz test --runInBand --runTestsByPath server/external/cli-surface.spec.ts`.
74
- 일반 CI 실행은 문서를 쓰지 않고 표의 차이를 실패로 보고합니다.
74
+ A normal CI run does not write the document; it fails on any difference in the table.
75
75
 
76
76
  <!-- cli-surface:start -->
77
- | CLI 명령 | 도구 ID | MCP 이름 | 필수 입력 | scope | Agent 발견 |
77
+ | Command | Tool ID | MCP tool | Required input | Scope | Agent discovery |
78
78
  | --- | --- | --- | --- | --- | --- |
79
79
  | model list | model.list | model_list | - | giz.read | model.list |
80
80
  | model get | model.get | model_get | model | giz.read | model.get |
@@ -88,6 +88,7 @@ App 변경은 `giz app list`에서 확인한 `revision`을 명시적으로 전
88
88
  | job get | job.get | job_get | job | giz.read | server job |
89
89
  | job wait | job.get | job_get | job | giz.read | server job |
90
90
  | job cancel | job.cancel | job_cancel | job | giz.destructive | server job |
91
+ | credits | account.credits | account_credits | - | giz.read | account.credits |
91
92
  | drive ls | drive.list | drive_list | - | giz.read | drive.list |
92
93
  | drive list | drive.list | drive_list | - | giz.read | drive.list |
93
94
  | drive search | drive.search | drive_search | query | giz.read | drive.search |
@@ -113,11 +114,17 @@ App 변경은 `giz app list`에서 확인한 `revision`을 명시적으로 전
113
114
  | app publish | app.publish | app_publish | id, expectedRevision, visibility | giz.write | app.publish |
114
115
  | app open | app.open | app_open | id | giz.read | app.open |
115
116
  | app delete | app.delete | app_delete | id, expectedRevision | giz.destructive | app.delete |
116
- | capability list | capability.status | capability_status | - | giz.read | capability.status |
117
- | capability search | capability.catalog | capability_catalog | kind, query | giz.read | capability.catalog |
118
- | capability install | capability.install | capability_install | id, kind, query | giz.execute | capability.install |
119
- | capability update | capability.manage | capability_manage | id, operation | giz.destructive | capability.manage |
120
- | capability remove | capability.manage | capability_manage | id, operation | giz.destructive | capability.manage |
117
+ | plugin list | plugin.catalog | plugin_catalog | - | giz.read | plugin.catalog |
118
+ | plugin search | plugin.catalog | plugin_catalog | - | giz.read | plugin.catalog |
119
+ | plugin inspect | plugin.catalog | plugin_catalog | - | giz.read | plugin.catalog |
120
+ | plugin install | plugin.install | plugin_install | - | giz.execute | plugin.install |
121
+ | plugin update | plugin.manage | plugin_manage | operation | giz.destructive | plugin.manage |
122
+ | plugin enable | plugin.manage | plugin_manage | operation | giz.destructive | plugin.manage |
123
+ | plugin disable | plugin.manage | plugin_manage | operation | giz.destructive | plugin.manage |
124
+ | plugin remove | plugin.manage | plugin_manage | operation | giz.destructive | plugin.manage |
125
+ | plugin publish | plugin.manage | plugin_manage | operation | giz.destructive | plugin.manage |
126
+ | plugin unpublish | plugin.manage | plugin_manage | operation | giz.destructive | plugin.manage |
127
+ | connection list | capability.status | capability_status | - | giz.read | capability.status |
121
128
  | agent start | agent.start | agent_start | agentId, prompt | giz.execute | external only |
122
129
  | agent status | agent.status | agent_status | turnId | giz.read | agent.status |
123
130
  | agent cancel | agent.cancel | agent_cancel | turnId | giz.execute | agent.cancel |
@@ -14,6 +14,6 @@
14
14
  | Discover and control Computers | `computer_list`, `computer_start`, `computer_stop` |
15
15
  | Run a Computer command | `giz_computer_exec` |
16
16
  | Find, inspect, or interact with an existing terminal | `terminal_list`, `terminal_observe`, `terminal_send` |
17
- | Inspect or transform media | `media_probe`, `media_process` |
17
+ | Record, inspect or transform media | `media_capture`, `media_probe`, `media_process` |
18
18
 
19
19
  Always prefer the live `tools/list` result over this map. Streamable HTTP MCP is `/api/mcp`; ChatGPT OpenAPI is `/api/openapi.json`; the authenticated HTTP manifest is `/api/tools`. `giz_computer_exec` accepts an exact Computer name, slug, or ID as `computer`, argv `command`, optional `stdin`, `cwd`, and `deadlineMs`; do not send `timeoutMs`, `yieldMs`, `sessionId`, or shell command strings. Omit `computer` for the default Computer and use `computer_list` only when the target is unknown or ambiguous.