@byteplus/ark-cli-darwin-x64 1.0.59-prerelease.9abfd7059045 → 1.0.60-prerelease.f5f7f7a9f84b
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-darwin-amd64 +2 -2
- package/manifest.json +15 -15
- package/package.json +1 -1
- package/skills/arkcli-helper/references/arkcli-helper.md +2 -0
- package/skills/arkcli-plans/SKILL.md +3 -3
- package/skills/arkcli-plans/references/arkcli-plans-buy.md +15 -8
- package/skills/arkcli-plans/references/arkcli-plans-get.md +2 -0
- package/skills/arkcli-plans/references/arkcli-plans-model-list.md +5 -1
- package/skills/arkcli-plans/references/arkcli-plans-renew.md +13 -6
- package/skills/arkcli-profile/references/arkcli-profile-create.md +2 -0
- package/skills/arkcli-shared/references/profile-defaults.md +4 -0
- package/skills/arkcli-usage/SKILL.md +1 -1
- package/skills/arkcli-usage/references/arkcli-usage-plan.md +4 -0
package/bin/arkcli-darwin-amd64
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/bin/arkcli-darwin-amd64
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 40536848 bytes
|
|
4
|
+
sha256: d239cf5872c33b7b027be6c11d017bef6102d8bb8da6edb4555e15c395c37487
|
package/manifest.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "@byteplus/ark-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.60-prerelease.f5f7f7a9f84b",
|
|
4
4
|
"platforms": {
|
|
5
5
|
"darwin-amd64": {
|
|
6
6
|
"kind": "cdn",
|
|
7
|
-
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.
|
|
8
|
-
"sha256": "
|
|
7
|
+
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.60-prerelease.f5f7f7a9f84b/arkcli-1.0.60-prerelease.f5f7f7a9f84b-darwin-amd64",
|
|
8
|
+
"sha256": "d239cf5872c33b7b027be6c11d017bef6102d8bb8da6edb4555e15c395c37487"
|
|
9
9
|
},
|
|
10
10
|
"darwin-arm64": {
|
|
11
11
|
"kind": "cdn",
|
|
12
|
-
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.
|
|
13
|
-
"sha256": "
|
|
12
|
+
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.60-prerelease.f5f7f7a9f84b/arkcli-1.0.60-prerelease.f5f7f7a9f84b-darwin-arm64",
|
|
13
|
+
"sha256": "ed5f3e95484d57c459050098cecbf68687b2ef9427788d5a6e3f77ae32661c0e"
|
|
14
14
|
},
|
|
15
15
|
"linux-amd64": {
|
|
16
16
|
"kind": "cdn",
|
|
17
|
-
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.
|
|
18
|
-
"sha256": "
|
|
17
|
+
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.60-prerelease.f5f7f7a9f84b/arkcli-1.0.60-prerelease.f5f7f7a9f84b-linux-amd64",
|
|
18
|
+
"sha256": "3acc81901a9011a4d213983172cfc2fb5a0479322ff728078af358f335635a11"
|
|
19
19
|
},
|
|
20
20
|
"linux-arm64": {
|
|
21
21
|
"kind": "cdn",
|
|
22
|
-
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.
|
|
23
|
-
"sha256": "
|
|
22
|
+
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.60-prerelease.f5f7f7a9f84b/arkcli-1.0.60-prerelease.f5f7f7a9f84b-linux-arm64",
|
|
23
|
+
"sha256": "af6f263b2c34152ac40b2f95a53c9fb02b798723cda9eb5ef0037d72d720db78"
|
|
24
24
|
},
|
|
25
25
|
"windows-amd64": {
|
|
26
26
|
"kind": "cdn",
|
|
27
|
-
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.
|
|
28
|
-
"sha256": "
|
|
27
|
+
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.60-prerelease.f5f7f7a9f84b/arkcli-1.0.60-prerelease.f5f7f7a9f84b-windows-amd64.exe",
|
|
28
|
+
"sha256": "d1876ee3c55d2655bc0a87f085487a13ee0d54119c730232edd61e9cbb46bbc2"
|
|
29
29
|
},
|
|
30
30
|
"windows-arm64": {
|
|
31
31
|
"kind": "cdn",
|
|
32
|
-
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.
|
|
33
|
-
"sha256": "
|
|
32
|
+
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.60-prerelease.f5f7f7a9f84b/arkcli-1.0.60-prerelease.f5f7f7a9f84b-windows-arm64.exe",
|
|
33
|
+
"sha256": "8d6e98d33a6b40f40643b6564810972ae017ce77a42e8f1c9a969bf9d14082e1"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
"skills": {
|
|
37
37
|
"primary": {
|
|
38
38
|
"kind": "cdn",
|
|
39
|
-
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.
|
|
40
|
-
"sha256": "
|
|
39
|
+
"url": "https://sf16-sg.tiktokcdn.com/obj/eden-sg/psjryh/ljhwZthlaukjlkulzlp/prerelease/1.0.60-prerelease.f5f7f7a9f84b/skills.tar.gz",
|
|
40
|
+
"sha256": "dcc2a3f4c301e9f1bf0be25f673d264fae442233bcfd618cefbb69797f8cc595"
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# `arkcli helper` Reference
|
|
2
2
|
|
|
3
|
+
> **Agent Plan Team shared package:** standard Agent Plan is not offered on BytePlus; `agent-plan-team-shared-pool` is the supported exception. The interactive profile picker can create it and asks for the administrator-distributed API key with masked input. The Helper uses that stored key directly, never refreshes the ordinary key pool, and configures a concrete model locally instead of writing a project-wide route target.
|
|
4
|
+
|
|
3
5
|
Read [`../SKILL.md`](../SKILL.md) first. This reference documents the BytePlus
|
|
4
6
|
Helper surface and its local configuration effects.
|
|
5
7
|
|
|
@@ -15,7 +15,7 @@ metadata:
|
|
|
15
15
|
|
|
16
16
|
## 🔒 Agreement gate (mandatory process for plans buy / plans renew)
|
|
17
17
|
|
|
18
|
-
`plans buy` / `plans renew` on BytePlus **never place orders in-CLI**. Adding `--yes` does not trigger a charge; it returns a `payment_via_web` payload with a `subscribe_url` pointing to the BytePlus console subscription page, where the user completes the purchase in the browser. **When
|
|
18
|
+
`plans buy` / `plans renew` on BytePlus **never place orders in-CLI**. Adding `--yes` does not trigger a charge; it returns a `payment_via_web` payload with a `subscribe_url` pointing to the BytePlus console subscription page, where the user completes the purchase in the browser. **When `--yes` is not passed**, the CLI runs the review gate and returns:
|
|
19
19
|
|
|
20
20
|
```json
|
|
21
21
|
{
|
|
@@ -37,7 +37,7 @@ Note: BytePlus does **not** return the `agreements` array. The web subscription
|
|
|
37
37
|
|
|
38
38
|
**Violating this process means skipping user-facing price transparency.** The web page also enforces its own agreement UI before the user can pay.
|
|
39
39
|
|
|
40
|
-
`--
|
|
40
|
+
`--dry-run` is Client Preview: it emits a local execution plan with no network request, no quote, and no order. Use the default review gate when you need the current price or `subscribe_url`.
|
|
41
41
|
|
|
42
42
|
## Business positioning
|
|
43
43
|
|
|
@@ -55,7 +55,7 @@ Plans have two forms: **personal edition** (`personal`) and **enterprise / team
|
|
|
55
55
|
|
|
56
56
|
> **This skill does not include plan usage / quota queries** ("how much has been used / how much remains / when it resets / breakdown by model"). `plans get` answers only "which plans do I **hold** + status (Effective/Running)", not "how much has been used". The quota view is in [`../arkcli-usage/`](../arkcli-usage/SKILL.md). See the routing table under "Quick decisions".
|
|
57
57
|
|
|
58
|
-
> **Agent Plan boundary (BytePlus)**: BytePlus does not offer Agent Plan (`agent-plan` / `agent-plan-team`). When asked about Agent Plan, respond with "Agent Plan is not offered on BytePlus" and stop
|
|
58
|
+
> **Agent Plan boundary (BytePlus)**: BytePlus does not offer the standard Agent Plan (`agent-plan` / `agent-plan-team`) seat products. The shared package is a type under `agent-plan-team`: use `--plan agent-plan-team --type agent-plan-team-shared-pool` with a concrete Project and a manually distributed API key. When asked about standard Agent Plan tiers, respond with "Agent Plan is not offered on BytePlus" and stop; do not substitute Coding Plan data.
|
|
59
59
|
|
|
60
60
|
## Applicable scenarios
|
|
61
61
|
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# plans buy
|
|
2
2
|
|
|
3
|
+
> **Agent Plan Team shared package:** use `--plan agent-plan-team --type agent-plan-team-shared-pool`; `--quantity` is the package count and there is no seat tier. `--project-name` is optional and defaults to `default`. Standard Agent Plan seat tiers are not offered on BytePlus; this shared-package API is the only exception. BytePlus still never places the order from the CLI; `--yes` returns the console subscription URL. A project with an active shared package must use `plans renew` instead of purchasing again.
|
|
4
|
+
|
|
3
5
|
> **Prerequisite:** Read [`../../arkcli-shared/SKILL.md`](../../arkcli-shared/SKILL.md) first to understand authentication, global parameters, and safety rules.
|
|
4
6
|
|
|
5
7
|
> **⚠️ BytePlus payment flow:** BytePlus does not yet support balance-based auto-pay via arkcli. Adding `--yes` **does not place an order or charge the account**; instead the command returns a `payment_via_web` payload with a `subscribe_url` pointing to the BytePlus console subscription page. The user must open that URL in a browser and complete the purchase on the web. **Do not choose for the user**: the user must explicitly provide `--plan`, `--type`, `--duration`, and `--quantity` for team plans.
|
|
@@ -14,9 +16,9 @@
|
|
|
14
16
|
|
|
15
17
|
| Form | Behavior | When to use |
|
|
16
18
|
|---|---|---|
|
|
17
|
-
|
|
|
18
|
-
| `--
|
|
19
|
-
| `--yes`
|
|
19
|
+
| No `--yes` | **Review gate**: returns **price** (USD) + `subscribe_url` + `next_step`; internally uses EstimatePrice and **does not place an order** | Default guidance step; the Agent obtains "price + web URL" in one call |
|
|
20
|
+
| `--dry-run` | **Client Preview**: local execution plan only; no network, no price, no order | Show what would be called without side effects |
|
|
21
|
+
| `--yes` | **Web redirect** (BytePlus): returns `payment_via_web` payload with `subscribe_url`; **no order-side API is called**, no order or seat is created | The user has confirmed the price; direct them to the web console to complete the purchase |
|
|
20
22
|
|
|
21
23
|
> **The gate returns pricing + subscribe URL together**. One call returns `total_amount_usd` + `original_amount_usd` + `subscribe_url`; show these to the user together and then hand off the URL.
|
|
22
24
|
|
|
@@ -27,21 +29,25 @@
|
|
|
27
29
|
arkcli plans buy --plan coding-plan --type lite --duration 1
|
|
28
30
|
|
|
29
31
|
# Step 2 (optional): Price inquiry
|
|
30
|
-
arkcli plans buy --plan coding-plan --type lite --duration 1 --
|
|
32
|
+
arkcli plans buy --plan coding-plan --type lite --duration 1 --dry-run
|
|
31
33
|
|
|
32
34
|
# Step 3: After showing the user the price, hand off to the web page via subscribe_url
|
|
33
35
|
arkcli plans buy --plan coding-plan --type lite --duration 1 --yes
|
|
34
36
|
|
|
35
37
|
# Example for a team-edition tier
|
|
36
38
|
arkcli plans buy --plan coding-plan-team --type pro --quantity 10 --yes
|
|
39
|
+
|
|
40
|
+
# Agent Plan Team shared package: shared-pool is a type under agent-plan-team, not a standalone plan; standard Agent Plan tiers are not offered
|
|
41
|
+
arkcli plans buy --plan agent-plan-team --type agent-plan-team-shared-pool --quantity 1 # shared package only; standard Agent Plan is not offered
|
|
37
42
|
```
|
|
38
43
|
|
|
39
44
|
## Parameters
|
|
40
45
|
|
|
41
46
|
| Parameter | Required | Type | Description |
|
|
42
47
|
|------|------|------|------|
|
|
43
|
-
| `--plan` | Yes | string | `coding-plan` / `coding-plan-team` |
|
|
44
|
-
| `--type` | Yes | string | Tier: coding-plan* accepts `lite/pro` |
|
|
48
|
+
| `--plan` | Yes | string | `coding-plan` / `coding-plan-team`; shared packages use `agent-plan-team` (standard Agent Plan is not offered on BytePlus) |
|
|
49
|
+
| `--type` | Yes | string | Tier: coding-plan* accepts `lite/pro`; shared packages use `agent-plan-team-shared-pool` (not a tier) |
|
|
50
|
+
| `--project-name` | No | string | Shared-package Project; defaults to `default` |
|
|
45
51
|
| `--duration` | No | int | Subscription duration (months), 1–12, default 1 |
|
|
46
52
|
| `--quantity` | Required for team | int | Number of seats (≥1); ignored when passed for personal edition |
|
|
47
53
|
| `--yes` | No | bool | On BytePlus, returns the `payment_via_web` payload directly (no charge; equivalent to the gate for the subscribe_url purpose) |
|
|
@@ -51,10 +57,11 @@ Compatibility between `--plan` and `--type`:
|
|
|
51
57
|
| Plan family | Valid tiers |
|
|
52
58
|
|---|---|
|
|
53
59
|
| coding-plan / coding-plan-team | lite, pro |
|
|
60
|
+
| agent-plan-team + `agent-plan-team-shared-pool` | no tier; `--type` is the fixed shared-pool marker (standard Agent Plan tiers are not offered on BytePlus) |
|
|
54
61
|
|
|
55
62
|
## Return value (review gate, default form)
|
|
56
63
|
|
|
57
|
-
When
|
|
64
|
+
When `--yes` is not passed:
|
|
58
65
|
|
|
59
66
|
```json
|
|
60
67
|
{
|
|
@@ -112,7 +119,7 @@ BytePlus arkcli does not place orders, so the `payment_failed` envelope (which t
|
|
|
112
119
|
## Notes
|
|
113
120
|
|
|
114
121
|
- **No in-CLI charge**: BytePlus arkcli never invokes any Create-trade API. The purchase always happens on the web console.
|
|
115
|
-
- **Use `--
|
|
122
|
+
- **Use `--dry-run` for local plan preview only.** It does not return a server-side price. The review gate is the online price source.
|
|
116
123
|
- After the user completes the purchase on the web console for a team plan, seats appear with `BillingStatus=Running` but are **not bound to sub-users**. Next use [`plans team seat-assign`](arkcli-plans-team-seat-assign.md) to assign them.
|
|
117
124
|
- Rerunning `plans buy --yes` is safe on BytePlus: each call is a pure web-redirect stub that produces the same `subscribe_url`. It never places an order.
|
|
118
125
|
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# plans get
|
|
2
2
|
|
|
3
|
+
> **Agent Plan Team shared package:** admins may also receive `{"key":"agent-plan-team-shared-pool","plan":"agent-plan-team","type":"agent-plan-team-shared-pool","quantity":N}`. Standard Agent Plan seat tiers are not offered on BytePlus; this shared-package API is the only exception. A shared package has no seat tier, and internal `InstanceID` values are never exposed. Sub-users do not see this row.
|
|
4
|
+
|
|
3
5
|
> **Prerequisite:** Read [`../../arkcli-shared/SKILL.md`](../../arkcli-shared/SKILL.md) first to understand authentication, global parameters, and safety rules.
|
|
4
6
|
|
|
5
7
|
> **Scope limitation:** `plans get` answers only "which plans do I **hold** + status (Effective/Running/...)" and **does not answer "how much has been used / how much remains / when it resets / breakdown by model"**. For quota queries, use:
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# plans model-list
|
|
2
2
|
|
|
3
|
+
> **Agent Plan Team shared package:** pass `--plan agent-plan-team --type agent-plan-team-shared-pool`. `--project-name` is optional and defaults to `default`. The CLI queries `Edition=enterprise` / `BizInfo=shared`. The current route selection comes from the shared-package shadow seat; non-admin identities may get an empty `selected_model_id` while the read-only catalog still works. `plans model-apply` is not supported for this plan in phase one.
|
|
4
|
+
|
|
3
5
|
> **Prerequisite:** Read [`../../arkcli-shared/SKILL.md`](../../arkcli-shared/SKILL.md) first to understand authentication, global parameters, and safety rules.
|
|
4
6
|
|
|
5
7
|
List two model sets for a specified plan: `models` contains route targets behind
|
|
@@ -34,7 +36,9 @@ arkcli plans model-list --plan coding-plan --mode routing
|
|
|
34
36
|
|
|
35
37
|
| Parameter | Required | Type | Description |
|
|
36
38
|
|------|------|------|------|
|
|
37
|
-
| `--plan` | No | string | Choose `coding-plan` or `coding-plan-team`;
|
|
39
|
+
| `--plan` | No | string | Choose `coding-plan` or `coding-plan-team`; shared packages use `agent-plan-team` (standard Agent Plan is not offered on BytePlus). When omitted, auto-detect the only active Coding Plan and require an explicit value if multiple plans are active |
|
|
40
|
+
| `--type` | Shared package only | string | Use `agent-plan-team-shared-pool` together with `--plan agent-plan-team`; standard Agent Plan is not offered on BytePlus |
|
|
41
|
+
| `--project-name` | No | string | Shared-package Project; defaults to `default` |
|
|
38
42
|
| `--mode` | No | string | `all`, `direct`, or `routing`; defaults to `all`. `direct` fetches only direct ModelNames, while `routing` fetches only smart-routing candidates |
|
|
39
43
|
|
|
40
44
|
## Return value
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# plans renew
|
|
2
2
|
|
|
3
|
+
> **Agent Plan Team shared package:** use `--plan agent-plan-team --type agent-plan-team-shared-pool` without `--seat-ids` or `--quantity`. `--project-name` is optional and defaults to `default`. Standard Agent Plan seat tiers are not offered on BytePlus; this shared-package API is the only exception. The CLI resolves the unique shared-package instance inside that Project internally; users never pass or see `InstanceID`. BytePlus never renews in-CLI; `--yes` returns the console subscription URL.
|
|
4
|
+
|
|
3
5
|
> **Prerequisite:** Read [`../../arkcli-shared/SKILL.md`](../../arkcli-shared/SKILL.md) first to understand authentication, global parameters, and safety rules.
|
|
4
6
|
|
|
5
7
|
> **⚠️ BytePlus payment flow:** Like `plans buy`, `plans renew` on BytePlus does not perform in-CLI charging. Adding `--yes` **does not renew or charge**; it returns a `payment_via_web` payload with a `subscribe_url` pointing to the BytePlus console subscription page (the same page where new purchases happen — it also handles renewals). The user completes the renewal in the browser.
|
|
@@ -13,8 +15,8 @@ Same as `plans buy`:
|
|
|
13
15
|
|
|
14
16
|
| Form | Behavior |
|
|
15
17
|
|---|---|
|
|
16
|
-
|
|
|
17
|
-
| `--
|
|
18
|
+
| No `--yes` | Review gate: returns **price** (USD) + `subscribe_url` + `next_step`; internally uses EstimatePrice (IsRenew=true / Scene=RENEW) and does not place an order |
|
|
19
|
+
| `--dry-run` | Local Client Preview; no network, no quote, no order |
|
|
18
20
|
| `--yes` | **Web redirect** (BytePlus): returns `payment_via_web` payload with `subscribe_url`; **no renewal API is called**, nothing is renewed |
|
|
19
21
|
|
|
20
22
|
> The gate response **resolves and fills the tier**: personal from `ListSubscribeTrade.InfoList[0].BizInfo`; team from `ListSeatInfos` using SeatIDs[0]. The `echo.tier` field lets the Agent confirm with the user, "Do you still want to renew this tier?"
|
|
@@ -27,29 +29,34 @@ arkcli plans renew --plan coding-plan
|
|
|
27
29
|
arkcli plans renew --plan coding-plan-team --duration 3 --seat-ids seat-001,seat-002
|
|
28
30
|
|
|
29
31
|
# Step 2: Price inquiry (optional)
|
|
30
|
-
arkcli plans renew --plan coding-plan --duration 6 --
|
|
32
|
+
arkcli plans renew --plan coding-plan --duration 6 --dry-run
|
|
31
33
|
|
|
32
34
|
# Step 3: After showing the user the price, hand off to the web page via subscribe_url
|
|
33
35
|
arkcli plans renew --plan coding-plan --yes
|
|
34
36
|
arkcli plans renew --plan coding-plan --duration 6 --yes
|
|
35
37
|
arkcli plans renew --plan coding-plan-team --duration 3 --seat-ids seat-001,seat-002 --yes
|
|
36
38
|
arkcli plans renew --plan coding-plan-team --seat-ids seat-aaa --yes
|
|
39
|
+
|
|
40
|
+
# Agent Plan Team shared package: no --seat-ids; instance resolution is internal
|
|
41
|
+
arkcli plans renew --plan agent-plan-team --type agent-plan-team-shared-pool --duration 1 # shared package only; standard Agent Plan is not offered
|
|
37
42
|
```
|
|
38
43
|
|
|
39
44
|
## Parameters
|
|
40
45
|
|
|
41
46
|
| Parameter | Required | Type | Description |
|
|
42
47
|
|------|------|------|------|
|
|
43
|
-
| `--plan` | Yes | string | `coding-plan` / `coding-plan-team` |
|
|
48
|
+
| `--plan` | Yes | string | `coding-plan` / `coding-plan-team`; shared packages use `agent-plan-team` (standard Agent Plan is not offered on BytePlus) |
|
|
49
|
+
| `--type` | Shared package only | string | Use `agent-plan-team-shared-pool`; this is a type marker, not a seat tier |
|
|
50
|
+
| `--project-name` | No | string | Shared-package Project; defaults to `default` |
|
|
44
51
|
| `--duration` | No | int | Renewal duration (months), 1–12, default 1 |
|
|
45
52
|
| `--seat-ids` | Required for team | string | Comma-separated seat IDs to renew (personal edition **does not allow** this argument) |
|
|
46
53
|
| `--yes` | No | bool | On BytePlus, returns the `payment_via_web` payload directly (no charge; equivalent to the gate for the subscribe_url purpose) |
|
|
47
54
|
|
|
48
|
-
> **Key difference**:
|
|
55
|
+
> **Key difference**: Seat-plan renewal does not need `--type`; renewal keeps the original tier and the quantity is determined by `--seat-ids`. Shared-package renewal does need `--type agent-plan-team-shared-pool`, but no `--seat-ids` or `--quantity`; the CLI resolves the Project's unique shared-package instance internally.
|
|
49
56
|
|
|
50
57
|
## Return value (review gate, default form)
|
|
51
58
|
|
|
52
|
-
When
|
|
59
|
+
When `--yes` is not passed:
|
|
53
60
|
|
|
54
61
|
```json
|
|
55
62
|
{
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# `arkcli profile create`
|
|
2
2
|
|
|
3
|
+
> **Agent Plan Team shared package:** standard Agent Plan is not offered on BytePlus; `agent-plan-team-shared-pool` is the supported exception. Create it with the manually distributed shared-package API key. Interactive mode prompts with masked input; non-interactive mode requires `--default-api-key`. This profile type never refreshes or reconciles against the ordinary key pool.
|
|
4
|
+
|
|
3
5
|
Read [`../SKILL.md`](../SKILL.md) first.
|
|
4
6
|
|
|
5
7
|
Profile creation writes local BytePlus configuration and may query the control
|
|
@@ -12,6 +12,10 @@ Profiles may store a default resource per modality:
|
|
|
12
12
|
The default may be a model ID or an Endpoint ID depending on the active
|
|
13
13
|
profile and the capability contract. Never infer one form from the other.
|
|
14
14
|
|
|
15
|
+
`agent-plan-team-shared-pool` profiles use the administrator-distributed
|
|
16
|
+
shared-package API key and the shared-package `/api/plan/v3` data plane. They do
|
|
17
|
+
not inherit ordinary or coding-plan seat keys.
|
|
18
|
+
|
|
15
19
|
## Selection rules
|
|
16
20
|
|
|
17
21
|
1. If the user passes `--model` or `--endpoint`, use the explicit value after
|
|
@@ -18,7 +18,7 @@ metadata:
|
|
|
18
18
|
|
|
19
19
|
> **Data freshness (Must read first): `usage stats` uses an upstream BFF aggregation pipeline and has a 5–30 minute delay. It is intended for daily/aggregate analysis.** Do not use it for real-time budget monitoring, rate limiting, or alerts requiring second-level precision. For those scenarios, read per-request `.usage` returned by inference commands such as `+chat` / `+gen` (zero delay; see [arkcli-chat](../arkcli-chat/SKILL.md) and [arkcli-gen](../arkcli-gen/SKILL.md)).
|
|
20
20
|
|
|
21
|
-
> **Agent Plan boundary**: BytePlus does not offer Agent Plan (`agent-plan` / `agent-plan-team`).
|
|
21
|
+
> **Agent Plan boundary**: BytePlus does not offer standard Agent Plan (`agent-plan` / `agent-plan-team`). **Agent Plan Team shared packages** are supported via `--product agent-plan-team-shared-pool`; they expose only the monthly AFP period and are visible to administrators. For standard Agent Plan quota or per-seat usage, respond that it is not offered and stop — do not substitute Coding Plan numbers.
|
|
22
22
|
|
|
23
23
|
> **Voice model boundary**: TTS / ASR / dubbing / reading / podcast / voice / real-time voice interaction are currently unsupported in arkcli. Do not answer their usage with `usage stats --model` or plan/balance commands; state directly that arkcli does not support querying voice model pricing or usage.
|
|
24
24
|
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# usage plan
|
|
2
2
|
|
|
3
|
+
> **Agent Plan Team shared package:** use `--product agent-plan-team-shared-pool`. The CLI resolves the project-wide `BizInfo=shared` shadow seat through `ListSeatInfos`, then calls `GetSeatAFPUsage`. Only the `monthly` period is presented. Shared packages are administrator-only: automatic discovery and `--all` omit the row for non-admins, and an explicit shared-package request returns `access_denied` instead of relying on backend read permissions.
|
|
4
|
+
|
|
3
5
|
> **Prerequisite:** Read [`../arkcli-shared/SKILL.md`](../../arkcli-shared/SKILL.md) first to understand authentication, global parameters, and safety rules.
|
|
4
6
|
|
|
5
7
|
> **Difference from `stats` / `billing`:**
|
|
@@ -37,8 +39,10 @@ arkcli usage plan --product coding-plan-team --seat seat-001
|
|
|
37
39
|
| Parameter | Required | Type | Description |
|
|
38
40
|
|------|------|------|------|
|
|
39
41
|
| `--product` | No | string | Explicit product ID: `coding-plan` / `coding-plan-team`; omitted means automatic subscription discovery |
|
|
42
|
+
| `--plan` | No | string | PRD-compatible alias of `--product`; mutually exclusive with `--product` |
|
|
40
43
|
| `--all` | No | bool | Force both products, including unsubscribed buckets. **Mutually exclusive with `--product`** |
|
|
41
44
|
| `--seat` | No | string | Team product only. Omitted: service calls `GetSeatInfo` to find caller seat; provided: skip RPC and use this SeatID (admin view) |
|
|
45
|
+
| `--seat-ids` | No | string | PRD-compatible alias of `--seat`; mutually exclusive with `--seat`. Accepts exactly one SeatID because `usage plan` queries one seat at a time |
|
|
42
46
|
| `--render` | No | bool | Print only the human-readable quota card, never JSON. Uses color on a TTY and plain Unicode bars in pipes; cannot be combined with explicit `--format` or `--transform` |
|
|
43
47
|
|
|
44
48
|
## Default behavior (no `--product` / `--all`)
|