@byteplus/ark-cli-linux-x64 1.0.70 → 1.0.71-prerelease.2c0006db9c6e
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/bin/arkcli-linux-amd64 +2 -2
- package/manifest.json +15 -44
- package/package.json +1 -1
- package/skills/arkcli-agent/SKILL.md +1 -1
- package/skills/arkcli-agent/references/agent.md +1 -1
- package/skills/arkcli-api-explorer/SKILL.md +1 -1
- package/skills/arkcli-api-explorer/references/arkcli-api.md +3 -3
- package/skills/arkcli-api-explorer/references/evals.md +2 -2
- package/skills/arkcli-chat/references/caching-thinking.md +1 -1
- package/skills/arkcli-chat/references/stream-events.md +3 -3
- package/skills/arkcli-connect/SKILL.md +8 -24
- package/skills/arkcli-connect/references/arkcli-connect.md +6 -24
- package/skills/arkcli-connect/references/evals.md +5 -13
- package/skills/arkcli-deploy/SKILL.md +1 -1
- package/skills/arkcli-docs/SKILL.md +1 -1
- package/skills/arkcli-docs/references/evals.md +1 -1
- package/skills/arkcli-gen/SKILL.md +4 -4
- package/skills/arkcli-gen/references/arkcli-gen.md +4 -2
- package/skills/arkcli-infer-endpoint/references/arkcli-infer-endpoint-list.md +4 -4
- package/skills/arkcli-models/references/arkcli-models-get.md +2 -2
- package/skills/arkcli-models/references/arkcli-models-search.md +3 -3
- package/skills/arkcli-onboard/SKILL.md +3 -3
- package/skills/arkcli-onboard/references/evals.md +1 -1
- package/skills/arkcli-plans/references/arkcli-plans-model-apply.md +2 -2
package/bin/arkcli-linux-amd64
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/bin/arkcli-linux-amd64
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 40575138 bytes
|
|
4
|
+
sha256: 242fb1f2d574249568926b87d66869b60214b3fbba2032f7475f2832037fa4b3
|
package/manifest.json
CHANGED
|
@@ -1,72 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "@byteplus/ark-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.71-prerelease.2c0006db9c6e",
|
|
4
4
|
"platforms": {
|
|
5
5
|
"darwin-amd64": {
|
|
6
6
|
"kind": "cdn",
|
|
7
|
-
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/
|
|
8
|
-
"sha256": "
|
|
9
|
-
"fallback": {
|
|
10
|
-
"kind": "github-release",
|
|
11
|
-
"url": "https://github.com/byteplus-sdk/ark-cli/releases/download/v1.0.70/arkcli-1.0.70-darwin-amd64"
|
|
12
|
-
}
|
|
7
|
+
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.71-prerelease.2c0006db9c6e/arkcli-1.0.71-prerelease.2c0006db9c6e-darwin-amd64",
|
|
8
|
+
"sha256": "e8d08f1a2f8a6abfd5892bc6f38577d016e625c670dc896e3fe21c818468e285"
|
|
13
9
|
},
|
|
14
10
|
"darwin-arm64": {
|
|
15
11
|
"kind": "cdn",
|
|
16
|
-
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/
|
|
17
|
-
"sha256": "
|
|
18
|
-
"fallback": {
|
|
19
|
-
"kind": "github-release",
|
|
20
|
-
"url": "https://github.com/byteplus-sdk/ark-cli/releases/download/v1.0.70/arkcli-1.0.70-darwin-arm64"
|
|
21
|
-
}
|
|
12
|
+
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.71-prerelease.2c0006db9c6e/arkcli-1.0.71-prerelease.2c0006db9c6e-darwin-arm64",
|
|
13
|
+
"sha256": "5c17248b206e410c7e73796a428c7acce6a7219d960bab18200b882f1d04a1c0"
|
|
22
14
|
},
|
|
23
15
|
"linux-amd64": {
|
|
24
16
|
"kind": "cdn",
|
|
25
|
-
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/
|
|
26
|
-
"sha256": "
|
|
27
|
-
"fallback": {
|
|
28
|
-
"kind": "github-release",
|
|
29
|
-
"url": "https://github.com/byteplus-sdk/ark-cli/releases/download/v1.0.70/arkcli-1.0.70-linux-amd64"
|
|
30
|
-
}
|
|
17
|
+
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.71-prerelease.2c0006db9c6e/arkcli-1.0.71-prerelease.2c0006db9c6e-linux-amd64",
|
|
18
|
+
"sha256": "242fb1f2d574249568926b87d66869b60214b3fbba2032f7475f2832037fa4b3"
|
|
31
19
|
},
|
|
32
20
|
"linux-arm64": {
|
|
33
21
|
"kind": "cdn",
|
|
34
|
-
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/
|
|
35
|
-
"sha256": "
|
|
36
|
-
"fallback": {
|
|
37
|
-
"kind": "github-release",
|
|
38
|
-
"url": "https://github.com/byteplus-sdk/ark-cli/releases/download/v1.0.70/arkcli-1.0.70-linux-arm64"
|
|
39
|
-
}
|
|
22
|
+
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.71-prerelease.2c0006db9c6e/arkcli-1.0.71-prerelease.2c0006db9c6e-linux-arm64",
|
|
23
|
+
"sha256": "341ec698a2c4ef8c1e061c16463b98feace465bf9954976421082b4f61d8410c"
|
|
40
24
|
},
|
|
41
25
|
"windows-amd64": {
|
|
42
26
|
"kind": "cdn",
|
|
43
|
-
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/
|
|
44
|
-
"sha256": "
|
|
45
|
-
"fallback": {
|
|
46
|
-
"kind": "github-release",
|
|
47
|
-
"url": "https://github.com/byteplus-sdk/ark-cli/releases/download/v1.0.70/arkcli-1.0.70-windows-amd64.exe"
|
|
48
|
-
}
|
|
27
|
+
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.71-prerelease.2c0006db9c6e/arkcli-1.0.71-prerelease.2c0006db9c6e-windows-amd64.exe",
|
|
28
|
+
"sha256": "dfbeb9ea74a393629d1cf9c9527dc234a9f5b80beede046f5ef36e8a4bde94e6"
|
|
49
29
|
},
|
|
50
30
|
"windows-arm64": {
|
|
51
31
|
"kind": "cdn",
|
|
52
|
-
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/
|
|
53
|
-
"sha256": "
|
|
54
|
-
"fallback": {
|
|
55
|
-
"kind": "github-release",
|
|
56
|
-
"url": "https://github.com/byteplus-sdk/ark-cli/releases/download/v1.0.70/arkcli-1.0.70-windows-arm64.exe"
|
|
57
|
-
}
|
|
32
|
+
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.71-prerelease.2c0006db9c6e/arkcli-1.0.71-prerelease.2c0006db9c6e-windows-arm64.exe",
|
|
33
|
+
"sha256": "40bdaa6899c0f918988553b979ed0e4c24b51455e3f0b161ebcd26d57efcd39f"
|
|
58
34
|
}
|
|
59
35
|
},
|
|
60
36
|
"skills": {
|
|
61
37
|
"primary": {
|
|
62
38
|
"kind": "cdn",
|
|
63
|
-
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/
|
|
64
|
-
"sha256": "
|
|
65
|
-
},
|
|
66
|
-
"tag": "v1.0.70",
|
|
67
|
-
"fallback": {
|
|
68
|
-
"kind": "github",
|
|
69
|
-
"url": "https://github.com/byteplus-sdk/ark-cli/archive/refs/tags/v1.0.70.tar.gz"
|
|
39
|
+
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.71-prerelease.2c0006db9c6e/skills.tar.gz",
|
|
40
|
+
"sha256": "272579b3ab84e1f67b83d4a94c17af599d46412f2bcce17feb15aa239848e0a9"
|
|
70
41
|
}
|
|
71
42
|
}
|
|
72
43
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: arkcli-agent
|
|
3
3
|
version: 0.3.1
|
|
4
|
-
description: "Create, inspect, update, debug, and interact with BytePlus
|
|
4
|
+
description: "Create, inspect, update, debug, and interact with BytePlus ModelArk Managed Agents and their sessions, skills, files, and MCP integrations. Delegate MA concepts, API semantics and official guidance to arkcli-docs; use this Skill and help for CLI usage."
|
|
5
5
|
metadata:
|
|
6
6
|
requires:
|
|
7
7
|
bins: ["arkcli"]
|
|
@@ -85,7 +85,7 @@ Select rule:
|
|
|
85
85
|
- If the user explicitly requests a model family, narrow candidates with `--name <keyword>`:
|
|
86
86
|
|
|
87
87
|
```bash
|
|
88
|
-
arkcli agent model list --name
|
|
88
|
+
arkcli agent model list --name seed-2-0-pro --format json
|
|
89
89
|
```
|
|
90
90
|
|
|
91
91
|
- Need troubleshooting or confirmation why a model is not selectable,Add `--include-all`,View `agent_support=false` entry.
|
|
@@ -96,7 +96,7 @@ Example of a data-plane fallback without a dedicated product command:
|
|
|
96
96
|
# Text embeddings (/embeddings); discover the versioned model id first:
|
|
97
97
|
# arkcli models list --modality embed
|
|
98
98
|
arkcli api arkruntime.create_embeddings \
|
|
99
|
-
--params '{"model":"<text-embedding-model-id>","input":"BytePlus
|
|
99
|
+
--params '{"model":"<text-embedding-model-id>","input":"BytePlus ModelArk"}' \
|
|
100
100
|
--transform 'data.0.embedding'
|
|
101
101
|
```
|
|
102
102
|
|
|
@@ -69,14 +69,14 @@ Text embeddings (`/embeddings`, input is a string or array of strings):
|
|
|
69
69
|
|
|
70
70
|
```bash
|
|
71
71
|
arkcli api arkruntime.create_embeddings \
|
|
72
|
-
--params '{"model":"<text-embedding-model-id>","input":"BytePlus
|
|
72
|
+
--params '{"model":"<text-embedding-model-id>","input":"BytePlus ModelArk"}'
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
For stable downstream processing:
|
|
76
76
|
|
|
77
77
|
```bash
|
|
78
78
|
arkcli api arkruntime.create_embeddings \
|
|
79
|
-
--params '{"model":"<text-embedding-model-id>","input":"BytePlus
|
|
79
|
+
--params '{"model":"<text-embedding-model-id>","input":"BytePlus ModelArk"}' \
|
|
80
80
|
--format json \
|
|
81
81
|
--transform 'data.0.embedding'
|
|
82
82
|
```
|
|
@@ -88,7 +88,7 @@ text + image + video bundle). Vision embedding models such as
|
|
|
88
88
|
|
|
89
89
|
```bash
|
|
90
90
|
arkcli api arkruntime.create_multimodal_embeddings \
|
|
91
|
-
--params '{"model":"<vision-embedding-model-id>","input":[{"type":"text","text":"BytePlus
|
|
91
|
+
--params '{"model":"<vision-embedding-model-id>","input":[{"type":"text","text":"BytePlus ModelArk"}]}'
|
|
92
92
|
```
|
|
93
93
|
|
|
94
94
|
The active BytePlus profile must supply a usable API key. A missing key now
|
|
@@ -68,7 +68,7 @@ Expected behavior:
|
|
|
68
68
|
|
|
69
69
|
```bash
|
|
70
70
|
arkcli api arkruntime.create_embeddings \
|
|
71
|
-
--params '{"model":"<text-embedding-model-id>","input":"BytePlus
|
|
71
|
+
--params '{"model":"<text-embedding-model-id>","input":"BytePlus ModelArk"}'
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
- Resolve a callable versioned model id first (`arkcli models list
|
|
@@ -165,7 +165,7 @@ arkcli api --help
|
|
|
165
165
|
arkcli api --list --format json
|
|
166
166
|
arkcli api --list --transform '#.name'
|
|
167
167
|
arkcli api arkruntime.create_embeddings \
|
|
168
|
-
--params '{"model":"<embedding-model-id>","input":"BytePlus
|
|
168
|
+
--params '{"model":"<embedding-model-id>","input":"BytePlus ModelArk"}' \
|
|
169
169
|
--dry-run \
|
|
170
170
|
--format json
|
|
171
171
|
```
|
|
@@ -18,7 +18,7 @@ These three flags let `+chat` actually control server-side caching, reasoning de
|
|
|
18
18
|
| flag | Type | Value / form |
|
|
19
19
|
|---|---|---|
|
|
20
20
|
| `--caching` | string | `enabled` / `disabled` (empty means use the server default) |
|
|
21
|
-
| `--cache-prefix` | bool | Used with `--caching`; enables prefix-cache (used by autotest's `prefix_cache_test`).**Mutually exclusive with `--max-output-tokens`**
|
|
21
|
+
| `--cache-prefix` | bool | Used with `--caching`; enables prefix-cache (used by autotest's `prefix_cache_test`).**Mutually exclusive with `--max-output-tokens`** — The server constraint is `caching.prefix is not supported when max_output_tokens is set`, and arkcli intercepts this combination on the client side. |
|
|
22
22
|
| `--thinking` | string | `auto` / `enabled` / `disabled` (empty means use the server default) |
|
|
23
23
|
| `--expire-at` | int (epoch sec) | Use with `--store`; if not passed, the server default GC policy is used. |
|
|
24
24
|
|
|
@@ -23,9 +23,9 @@ extracting assistant output text. Malformed lines must fail validation, not be d
|
|
|
23
23
|
|
|
24
24
|
## When to use
|
|
25
25
|
|
|
26
|
-
- **autotest**
|
|
27
|
-
- **agent / programmatic consumption**
|
|
28
|
-
- **Debugging**
|
|
26
|
+
- **autotest** — Automated tests need per-event assertions (event type, usage, response ID, etc.).
|
|
27
|
+
- **agent / programmatic consumption** — Upstream programs need to parse streaming output as structured data, instead of extracting it from human-readable text with regular expressions.
|
|
28
|
+
- **Debugging** — Use this when you want to see each event type and parameter actually sent by the server.
|
|
29
29
|
|
|
30
30
|
## Flag quick reference
|
|
31
31
|
|
|
@@ -15,10 +15,7 @@ Before using this Skill, read
|
|
|
15
15
|
product-isolation rules.
|
|
16
16
|
|
|
17
17
|
`arkcli +connect` copies the Skills available to the current BytePlus build into
|
|
18
|
-
supported local AI agent directories. Internal builds may embed Skills. Public
|
|
19
|
-
npm builds download their reviewed English Skills from the package manifest,
|
|
20
|
-
with CDN as primary and GitHub Release as fallback. Installation is local and
|
|
21
|
-
does not require BytePlus authentication.
|
|
18
|
+
supported local AI agent directories. Internal builds may embed Skills. Public npm packages include the reviewed English Skills in the platform dependency. Run `arkcli +connect` to sync them to an agent.
|
|
22
19
|
|
|
23
20
|
## When To Trigger
|
|
24
21
|
|
|
@@ -136,14 +133,10 @@ arkcli +connect list
|
|
|
136
133
|
|
|
137
134
|
## BytePlus `--refresh`
|
|
138
135
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
- internal BytePlus: report embedded mode and continue with the embedded tree.
|
|
144
|
-
|
|
145
|
-
Do not guess. Report the source printed by the CLI, such as `cdn`, `github`, or
|
|
146
|
-
`embedded`, and never claim a successful download for an embedded build.
|
|
136
|
+
A public npm install verifies the local platform Skills against the running CLI.
|
|
137
|
+
Missing or damaged files are restored from the same platform package and exact
|
|
138
|
+
version on npm. A native install uses its release manifest. Embedded builds
|
|
139
|
+
sync the compiled snapshot.
|
|
147
140
|
|
|
148
141
|
## Uninstall guard
|
|
149
142
|
|
|
@@ -159,19 +152,10 @@ Always:
|
|
|
159
152
|
4. obtain explicit confirmation for prefix purge;
|
|
160
153
|
5. execute the exact confirmed command.
|
|
161
154
|
|
|
162
|
-
##
|
|
163
|
-
|
|
164
|
-
The package post-install script can run `+connect` automatically when it has
|
|
165
|
-
an interactive controlling terminal. It silently skips CI, non-interactive
|
|
166
|
-
sessions, unsupported platforms, or missing binaries. Set
|
|
167
|
-
`ARKCLI_SKIP_POSTINSTALL=1` before package installation to disable automatic
|
|
168
|
-
connection.
|
|
155
|
+
## Public npm installation
|
|
169
156
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
On success, its compact summary reports the unique target count and the
|
|
173
|
-
representative agent names without per-target path progress. A filesystem or
|
|
174
|
-
connection failure does not imply a BytePlus authentication failure.
|
|
157
|
+
After installing the npm package, run `arkcli +connect` when you want to
|
|
158
|
+
install the packaged Skills into an agent. The package has no install hook.
|
|
175
159
|
|
|
176
160
|
## Guard Checklist
|
|
177
161
|
|
|
@@ -122,30 +122,12 @@ before any `uninstall --purge-prefix` command.
|
|
|
122
122
|
|
|
123
123
|
## BytePlus refresh behavior
|
|
124
124
|
|
|
125
|
-
Public
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
`github`, or `embedded`. Do not claim a remote refresh when the CLI reports
|
|
132
|
-
`embedded`.
|
|
133
|
-
|
|
134
|
-
## Post-install behavior
|
|
135
|
-
|
|
136
|
-
The package post-install script:
|
|
137
|
-
|
|
138
|
-
1. skips when `ARKCLI_SKIP_POSTINSTALL=1` or a CI environment is detected;
|
|
139
|
-
2. validates the platform binary;
|
|
140
|
-
3. attempts to open an interactive controlling terminal;
|
|
141
|
-
4. runs the binary with `+connect` when that terminal is available;
|
|
142
|
-
5. reports the unique target count and representative agent names in the
|
|
143
|
-
compact success line without per-target path progress;
|
|
144
|
-
6. treats connection failure as non-blocking for package installation.
|
|
145
|
-
|
|
146
|
-
Piped and other non-interactive installations skip automatically. The
|
|
147
|
-
post-install path uses the same authoritative-catalog transaction and never
|
|
148
|
-
opts into `--purge-prefix`.
|
|
125
|
+
Public npm installs include the CLI and English Skills in the platform package.
|
|
126
|
+
Run `arkcli +connect` explicitly to install them into an agent. With
|
|
127
|
+
`--refresh`, the CLI verifies the local tree and repairs missing or damaged
|
|
128
|
+
files from the exact installed version of the platform package on npm. A failed
|
|
129
|
+
repair ends the command before the agent directory is updated. Native installs
|
|
130
|
+
use the release manifest. Internal embedded builds use the compiled snapshot.
|
|
149
131
|
|
|
150
132
|
## Common messages and errors
|
|
151
133
|
|
|
@@ -131,12 +131,9 @@ User request:
|
|
|
131
131
|
|
|
132
132
|
Expected behavior:
|
|
133
133
|
|
|
134
|
-
-
|
|
135
|
-
|
|
136
|
-
-
|
|
137
|
-
embedded in the current binary.
|
|
138
|
-
- Report only the source printed by the CLI: `cdn`, `github`, or `embedded`.
|
|
139
|
-
- Do not report a successful remote download when the CLI reports `embedded`.
|
|
134
|
+
- For npm, expect local verification and offline sync of a complete tree.
|
|
135
|
+
- Expect registry repair to request the current platform and exact installed version.
|
|
136
|
+
- Report repair failure if the registry is unavailable and the local tree is damaged.
|
|
140
137
|
|
|
141
138
|
## 9. Preserve recognized conflicts
|
|
142
139
|
|
|
@@ -164,13 +161,8 @@ User request:
|
|
|
164
161
|
|
|
165
162
|
Expected behavior:
|
|
166
163
|
|
|
167
|
-
- Explain
|
|
168
|
-
-
|
|
169
|
-
- Mention `ARKCLI_SKIP_POSTINSTALL=1` as the opt-out for future package
|
|
170
|
-
installation.
|
|
171
|
-
- Explain that post-install uses the same authoritative-catalog transaction and
|
|
172
|
-
never performs a broad prefix purge.
|
|
173
|
-
- Do not treat automatic connection as login or credential setup.
|
|
164
|
+
- Explain that public npm packages ship Skills inside the platform dependency.
|
|
165
|
+
- Run `arkcli +connect` explicitly to install them into an agent.
|
|
174
166
|
|
|
175
167
|
## 11. Guard: explicit destructive legacy purge
|
|
176
168
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: arkcli-deploy
|
|
3
3
|
version: 1.4.0
|
|
4
|
-
description: "arkcli +deploy: The unified preferred entry point for creating inference endpoints (Endpoint)
|
|
4
|
+
description: "arkcli +deploy: The unified preferred entry point for creating inference endpoints (Endpoint) — **when users say “create/new/create an endpoint” or “deploy/launch/deploy a model,” as long as the intent is to create a new endpoint, always use this first, and do not use create in arkcli-infer-endpoint**. Use this when the user needs to deploy a model as an online inference endpoint. Note: Use arkcli-infer-endpoint only when performing full lifecycle management such as get/list/start/stop/update on an **existing** endpoint; this skill is only responsible for one-click creation (CRUD beyond creation is not included here). "
|
|
5
5
|
metadata:
|
|
6
6
|
requires:
|
|
7
7
|
bins: ["arkcli"]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: arkcli-docs
|
|
3
3
|
version: 2.0.0
|
|
4
|
-
description: Read BytePlus
|
|
4
|
+
description: Read BytePlus ModelArk official docs for model integration and Managed Agents concepts, API semantics, files, artifacts, sandbox limits, Fork and error codes, even without an explicit docs request. Not for account operations, live diagnosis or CLI help.
|
|
5
5
|
metadata:
|
|
6
6
|
requires:
|
|
7
7
|
bins: ["arkcli"]
|
|
@@ -67,7 +67,7 @@ ARKCLI_NO_UPDATE_NOTIFIER=1 ARKCLI_CALLER_TYPE=ai_agent ARKCLI_CALLER_NAME=<agen
|
|
|
67
67
|
| Search returns zero hits | Follow `next_action` and filter with `docs list --query "<original query>"`; only conclude "not covered" after the unfiltered catalog is also empty |
|
|
68
68
|
| Search 5xx repeatedly | Stop after bounded retries, report the error and request ID, and give the working `docs list` + `docs get` path |
|
|
69
69
|
| Search is throttled | Back off within bounds; on persistent failure browse the catalog instead of changing credentials or backends |
|
|
70
|
-
| User asks "so BytePlus
|
|
70
|
+
| User asks "so BytePlus ModelArk does not support this?" | Only conclude after checking `docs list`; zero search hits is not evidence |
|
|
71
71
|
|
|
72
72
|
## 2. A hit does not guarantee the page opens (rule 2)
|
|
73
73
|
|
|
@@ -99,14 +99,14 @@ arkcli models get "$MODEL" --transform supported_params
|
|
|
99
99
|
```
|
|
100
100
|
|
|
101
101
|
- **`$MODEL` is a model name**: Get the `supported_params` list for this model (each item contains `name / type / support / min / max / enum / required`).
|
|
102
|
-
-
|
|
102
|
+
- Keep using `models get`. A documented negative and an undocumented field are different: do not silently discard user requirements or reject an existing flag just because the field is missing.
|
|
103
103
|
- **You can directly use the ID returned by Step 1 `resources list`**: `models get` normalizes by DisplayName to the canonical hyphenated name. But normalization **only accepts the one form where "the dotted spelling == the lowercased DisplayName"** — it is not "any dotted name works". Step outside that and you get `not found`:
|
|
104
104
|
- ✅ `dreamina-seedance-2.0-fast` (its DisplayName is exactly `Dreamina-Seedance-2.0-fast`) → `dreamina-seedance-2-0-fast`
|
|
105
105
|
- ✅ `dola-seedream-5.0-pro` (DisplayName `Dola-Seedream-5.0-pro`) → `dola-seedream-5-0-pro`
|
|
106
106
|
- ❌ `dola-seedream-5.0-pro-260628` — **dotted spelling + date snapshot**: the DisplayName carries no date, so it does not match
|
|
107
107
|
|
|
108
108
|
**Rule**: any name with a date snapshot always uses the hyphenated form (`dola-seedream-5-0-pro-260628`); the dotted form is only for dateless family / variant names. If `not found` persists, check the canonical name with `arkcli models search <family name>` rather than guessing where the dots go.
|
|
109
|
-
-
|
|
109
|
+
- Missing or empty means the product documentation does not establish parameter support for that version. Do not switch models, discard existing flags or submit a trial generation. Continue polling historical tasks with their original IDs.
|
|
110
110
|
- **`$MODEL` is an EP (`ep-xxx`)**: Skip this step. It is normal that supported_params cannot be found for an EP. Also, `+gen` **does not** apply fallback defaults to EPs (the model behind the EP may support higher capabilities, and forcing defaults may downgrade it incorrectly). Degrade open directly and let the server decide.
|
|
111
111
|
- Only the `supported_params` lookup is skipped. A real `+gen` call still resolves image/video through `Endpoint -> ModelReference -> FoundationModel metadata`.
|
|
112
112
|
- Provide `--modality` only when authoritative metadata is unavailable or conflicting.
|
|
@@ -135,12 +135,12 @@ arkcli +gen --model "$MODEL" --input @ref.jpg "<prompt>"
|
|
|
135
135
|
| Modality | Default behavior | How you should read the result |
|
|
136
136
|
|------|---------|---------------|
|
|
137
137
|
| **Video** | **Asynchronous**: immediately returns `task_id` + `status: queued` | `queued` **is not a failure**. Use `arkcli gen get <task_id> --open` to poll until `succeeded`—**this `gen get` call will also download the artifact locally and return `local_path`** (default CWD, `<task-id>.mp4`). `--open` makes the finished artifact pop up directly on the user's desktop (you are an agent, non-TTY, so without it there is only a path). You do not need to manually curl `output_url`; **do not** resubmit `+gen` just because you did not get the video (that creates a new task) |
|
|
138
|
-
| Video + `--wait` | Synchronous: blocks until completion before returning, **but gives up once it passes `--timeout` (default 10m)** | `arkcli +gen ... --wait --open`, directly get `output_url` / `local_path` and pop up the finished artifact.**Raise `--timeout` first for long videos** (e.g. `--timeout 30m`): in measurement, nearly half of seedance-2
|
|
138
|
+
| Video + `--wait` | Synchronous: blocks until completion before returning, **but gives up once it passes `--timeout` (default 10m)** | `arkcli +gen ... --wait --open`, directly get `output_url` / `local_path` and pop up the finished artifact.**Raise `--timeout` first for long videos** (e.g. `--timeout 30m`): in measurement, nearly half of dreamina-seedance-2-0 requests did not finish rendering within 10m. Hitting the cap returns "the task is still running + task id", **not a failure** — keep polling with `gen get <task-id>` and **do not re-run `+gen`** |
|
|
139
139
|
| **Image** | **Synchronous**: directly returns `output_url` + `local_path` | `arkcli +gen ... --open` makes the image pop up directly for the user to view |
|
|
140
140
|
|
|
141
141
|
> **⚠️ Behavior change (2.0)**: The default video task behavior has changed from "automatically wait for completion" to "return task_id immediately after submission". To use the old synchronous blocking behavior, explicitly add `--wait`.
|
|
142
142
|
|
|
143
|
-
> **⚠️ `--wait` has a cap**: it blocks for at most `--timeout` (default 10m) and then returns. Video rendering often takes longer (measured: nearly half of seedance-2
|
|
143
|
+
> **⚠️ `--wait` has a cap**: it blocks for at most `--timeout` (default 10m) and then returns. Video rendering often takes longer (measured: nearly half of dreamina-seedance-2-0 requests exceed 10m), so **pass `--timeout 30m` explicitly for long videos**. The JSON returned at the cap is a `type: timeout` error **carrying the task id** — this is **not a generation failure**, the task is still rendering server-side; keep polling with the `gen get <task-id>` from the hint and **never re-run `+gen`** (that creates a second billed task).
|
|
144
144
|
|
|
145
145
|
## Quick decision
|
|
146
146
|
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# +gen
|
|
2
2
|
|
|
3
|
+
Existing flags, model parameter catalogs, and task command output remain compatible. Use `--param key=value` only for new fields; preview them with `--dry-run`. Use dedicated flags for model and stream. Refresh the local schema with `arkcli gen describe --refresh`, not a trial generation. If polling fails after submission, use `gen get` with the task ID rather than submitting again.
|
|
4
|
+
|
|
3
5
|
> **Prerequisite:** Read [`../arkcli-shared/SKILL.md`](../../arkcli-shared/SKILL.md) first to learn about authentication, global parameters, and security rules.
|
|
4
6
|
|
|
5
7
|
Execution-layer documentation for image/video generation (`+gen` full parameters).**This is step 3 of the three-step workflow**. For the complete workflow (① `resources list` to check profile models → ② `models get` to check supported_params → ③ `+gen` to generate), see [`../SKILL.md`](../SKILL.md).
|
|
@@ -151,13 +153,13 @@ arkcli +gen --model ep-20260416234150-zsd4v --modality video "A Shiba Inu is run
|
|
|
151
153
|
| `--camera-fixed` | No| bool | Video tasks: fix the virtual camera. |
|
|
152
154
|
| `--return-last-frame` | No| bool | Video tasks: return the last-frame URL (for continuation generation). |
|
|
153
155
|
| `--draft` | No| bool | Video task draft mode: faster / cheaper / lower quality. |
|
|
154
|
-
| `--priority` | No| int | Video task scheduling priority 0-9. A higher value means higher priority.**Constrained by supported_params** — check whether the model supports it and the range in step 2 first (tested: seedance-2
|
|
156
|
+
| `--priority` | No| int | Video task scheduling priority 0-9. A higher value means higher priority.**Constrained by supported_params** — check whether the model supports it and the range in step 2 first (tested: dreamina-seedance-2-0 / 2-0-fast support `[0,9]`). If the model does not support it, passing it will be rejected by validation. |
|
|
155
157
|
| `--service-tier` | No| string | Video tasks: service tier. |
|
|
156
158
|
| `--safety-id` | No| string | Video tasks: safety identifier passed in by the caller. |
|
|
157
159
|
| `--execution-expires-after` | No| int | Video task server-side TTL (seconds). |
|
|
158
160
|
| `--callback-url` | No| string | Video tasks: the server POSTs notifications to this URL for lifecycle events (created/running/succeeded/failed). |
|
|
159
161
|
| `--wait` | No| bool | **Video tasks**: block until the task completes, **but not indefinitely** — once it passes `--timeout` (default 10m) it gives up and returns the still-running task id.**Default is false** — submission immediately returns a `task_id` for asynchronous polling (default behavior since 2.0; older versions waited synchronously by default). Giving up ≠ failing: the task keeps rendering server-side, so keep polling with `gen get <task-id>` and **do not re-run `+gen`** (that creates a second billed task). |
|
|
160
|
-
| `--timeout` | No| duration | Video tasks: how long `--wait` blocks at most; accepts Go durations such as `20m` / `1h`. Defaults to `10m`; ignored without `--wait`.**Raise it for long videos**: in measurement, nearly half of seedance-2
|
|
162
|
+
| `--timeout` | No| duration | Video tasks: how long `--wait` blocks at most; accepts Go durations such as `20m` / `1h`. Defaults to `10m`; ignored without `--wait`.**Raise it for long videos**: in measurement, nearly half of dreamina-seedance-2-0 requests did not finish rendering within 10m — hitting the cap returns "the task is still running", not a finished artifact. |
|
|
161
163
|
| `--extra-body` | No| string (JSON object) | Video task forward-compatibility channel: pass a JSON object string. Its keys are merged into the top-level request body, so you can pass through newly added server-side parameters without upgrading arkcli. Example: `--extra-body '{"new_field":"value"}'` |
|
|
162
164
|
| `--tools` | No| string (repeatable) | Tool switch. Currently supports `web_search`. |
|
|
163
165
|
| `--save-to` | No| string | Local directory for saving generated artifacts. Default is `.` (current directory). Pass `--save-to=""` to explicitly disable auto-download. Download failures do not block the main process. |
|
|
@@ -21,7 +21,7 @@ arkcli infer endpoint list [flags]
|
|
|
21
21
|
| Flag | Type | Description | Required |
|
|
22
22
|
|------|------|-------------|----------|
|
|
23
23
|
| `--format` | string | Output format: table \| json | No |
|
|
24
|
-
| `--model` | string | Filter by model: a custom model ID (`cm-...`) or a foundation model name (`
|
|
24
|
+
| `--model` | string | Filter by model: a custom model ID (`cm-...`) or a foundation model name (`dola-seedream-5-0-pro`, or the dotted DisplayName form `dola-seedream-5.0-pro`) | No |
|
|
25
25
|
| `--status` | string | Filter by endpoint status | No |
|
|
26
26
|
| `--mine` | bool | List only endpoints created by the current IAM sub-user (SSO or verified, identity-bound AK/SK; server-side `sys:ark:createdBy` tag filtering) | No |
|
|
27
27
|
| `--page-number` | int | Page number (>=1) | No |
|
|
@@ -39,8 +39,8 @@ arkcli infer endpoint list [flags]
|
|
|
39
39
|
|
|
40
40
|
Normalization does exactly two things and **never rewrites characters**: an exact Name
|
|
41
41
|
match, then a case-insensitive exact DisplayName match. DisplayName is not always the
|
|
42
|
-
same shape as Name — for example the model `
|
|
43
|
-
`
|
|
42
|
+
same shape as Name — for example the model `dola-seedream-5-0` has DisplayName
|
|
43
|
+
`Dola-Seedream-5.0-lite` (the display name carries `lite`, the connector Name does
|
|
44
44
|
not), so replacing dots with hyphens would produce a name that does not exist.
|
|
45
45
|
|
|
46
46
|
If the value is neither a `cm-` ID nor a match for any foundation model name, the
|
|
@@ -48,7 +48,7 @@ command **exits non-zero** with a hint instead of returning an empty list. Do no
|
|
|
48
48
|
an empty result as "this account has no endpoint for that model".
|
|
49
49
|
|
|
50
50
|
```bash
|
|
51
|
-
arkcli infer endpoint list --model
|
|
51
|
+
arkcli infer endpoint list --model dola-seedream-5-0-pro --page-all --page-size 100 --format json
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
## Semantics of "my endpoints" (overrides shared default)
|
|
@@ -28,10 +28,10 @@ arkcli models get --id dola-seed-2-1-turbo-260628 --version 260628
|
|
|
28
28
|
|
|
29
29
|
Model details in JSON format, aggregated from multiple underlying APIs. Includes model name, version, capabilities, pricing, rate limits, and other information.
|
|
30
30
|
|
|
31
|
-
`supported_params`
|
|
31
|
+
`supported_params` remains the public output key, not a control-plane metadata dependency. Parameters come from this product's documentation for the resolved model version. Keep using `models get` and `--transform supported_params`; do not substitute a different version or product.
|
|
32
32
|
|
|
33
33
|
- Missing field or empty array: no usable parameter catalog is currently available for that version, so `--transform supported_params` may print `null`.
|
|
34
|
-
-
|
|
34
|
+
- If the documentation is unavailable or does not establish support, other model detail remains available. Missing evidence is not a negative capability verdict.
|
|
35
35
|
|
|
36
36
|
## Parameter evidence and conflicting queries
|
|
37
37
|
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
```bash
|
|
10
10
|
# Basic
|
|
11
11
|
arkcli models search # All entries sorted by UpdateTime descending
|
|
12
|
-
arkcli models search
|
|
13
|
-
arkcli models search
|
|
12
|
+
arkcli models search dola # Keyword (or use --keyword dola)
|
|
13
|
+
arkcli models search dola --size 5 # Explicitly truncate to five entries
|
|
14
14
|
|
|
15
15
|
# Modality filtering (required for D3)
|
|
16
16
|
arkcli models search --modality video # Video generation models
|
|
@@ -88,7 +88,7 @@ Each item:
|
|
|
88
88
|
"update_time": "2026-03-28T...",
|
|
89
89
|
"foundation_model_tag": { "filter_task_types": [...], "task_types": [...] },
|
|
90
90
|
|
|
91
|
-
//
|
|
91
|
+
// — enrichment (from ArkModels; null when SSO fails) —
|
|
92
92
|
"context_window": 262144,
|
|
93
93
|
"max_input_tokens": 229376,
|
|
94
94
|
"max_completion_tokens": 65536,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: arkcli-onboard
|
|
3
3
|
version: 0.2.0
|
|
4
|
-
description: "Guide a user through production integration of a BytePlus
|
|
4
|
+
description: "Guide a user through production integration of a BytePlus ModelArk model: authenticate, verify the account gate, select a deployable model, and reuse a matching running inference Endpoint or create one safely. Trigger for intent-level requests such as integrating a model into an application or service when the user has not already asked for a specific deployment command."
|
|
5
5
|
metadata:
|
|
6
6
|
requires:
|
|
7
7
|
bins: ["arkcli"]
|
|
8
8
|
cliHelp: "arkcli --help"
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
# BytePlus
|
|
11
|
+
# BytePlus ModelArk production onboarding
|
|
12
12
|
|
|
13
13
|
<!-- Future BytePlus code-example support:
|
|
14
14
|
Restore optional code-example generation after Endpoint creation and include
|
|
@@ -22,7 +22,7 @@ the private flags or response schemas of each delegated command.
|
|
|
22
22
|
|
|
23
23
|
## When To Trigger
|
|
24
24
|
|
|
25
|
-
- "Integrate a BytePlus
|
|
25
|
+
- "Integrate a BytePlus ModelArk model into my application."
|
|
26
26
|
- "Help my backend call this model in production."
|
|
27
27
|
- "I selected a model; help me obtain a reusable Endpoint"
|
|
28
28
|
- Similar intent-level production-integration requests that do not already
|
|
@@ -7,7 +7,7 @@ verification behavior, and the write boundary.
|
|
|
7
7
|
|
|
8
8
|
User request:
|
|
9
9
|
|
|
10
|
-
> Help me integrate a BytePlus
|
|
10
|
+
> Help me integrate a BytePlus ModelArk text model into my backend. I have not
|
|
11
11
|
> deployed anything yet.
|
|
12
12
|
|
|
13
13
|
Expected behavior:
|
|
@@ -15,7 +15,7 @@ arkcli plans model-apply --plan coding-plan
|
|
|
15
15
|
|
|
16
16
|
# Non-interactive / agent: --model is required (model id, output name, or "auto")
|
|
17
17
|
arkcli plans model-apply --plan coding-plan --model auto
|
|
18
|
-
arkcli plans model-apply --plan coding-plan-team --model
|
|
18
|
+
arkcli plans model-apply --plan coding-plan-team --model dola-seed-2.0-code
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
## Parameters
|
|
@@ -30,7 +30,7 @@ arkcli plans model-apply --plan coding-plan-team --model doubao-seed-code-251028
|
|
|
30
30
|
```json
|
|
31
31
|
{
|
|
32
32
|
"plan": "coding-plan",
|
|
33
|
-
"previous_selected_model_id": "
|
|
33
|
+
"previous_selected_model_id": "dola-seed-2.0-code",
|
|
34
34
|
"applied": {
|
|
35
35
|
"model_id": "auto",
|
|
36
36
|
"output_name": "auto"
|