@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.
- package/README.md +98 -80
- package/cli/computer-identity.mjs +7 -7
- package/cli/giz.mjs +114 -41
- package/cli/mcp-stdio-client.mjs +81 -0
- package/cli/media-capture.mjs +321 -0
- package/cli/update.mjs +150 -0
- package/mcp.json +6 -0
- package/package.json +28 -13
- package/plugin.json +10 -0
- package/skills/giz/SKILL.md +20 -13
- package/skills/giz/references/operations.md +1 -1
package/skills/giz/SKILL.md
CHANGED
|
@@ -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-
|
|
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
|
|
68
|
-
`run`, `publish
|
|
69
|
-
`create
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
|
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
|
-
|
|
|
117
|
-
|
|
|
118
|
-
|
|
|
119
|
-
|
|
|
120
|
-
|
|
|
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
|
-
|
|
|
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.
|