diff --git a/.dwp/config.json b/.dwp/config.json index 9db0c01..246248c 100644 --- a/.dwp/config.json +++ b/.dwp/config.json @@ -2,7 +2,7 @@ "addons": { "agentkit": { "enabled": true, - "version": "v1.4.0" + "version": "v1.5.0" }, "ai-diff-reviewer": { "enabled": true, diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 9ef279f..a901000 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -12,7 +12,7 @@ body: attributes: label: ak version description: Output of `ak --version`. - placeholder: agentkit 1.4.0 (interface 1) + placeholder: agentkit 1.5.0 (interface 1) validations: required: true - type: dropdown diff --git a/CHANGELOG.md b/CHANGELOG.md index d547a7a..42935d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,14 @@ permission posture changes. ## [Unreleased] +## [1.5.0] - 2026-11-16 + +A minor release. Interface stays **1**: `ak run --output-format json` gains +the additive `tokens` field, and `ak usage --json` rows the additive +`advisory` block. Under the permission opt-out, ak now forces each CLI's own +ask mode, and pick-v2 `launch.argv` ends with `--ask`. herdr-peers 2.0.2 or +later accepts that trailing `--ask` in its brain launch; 2.0.1 refuses it. + ### Added - **Token metering** (`ak run --json`, the V8 pillar-4 item): the envelope diff --git a/README.md b/README.md index 4736949..54a5c31 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ python3 ≥ 3.9. Nothing else. ## Install ```bash -git clone --branch v1.4.0 https://github.com/DailybotHQ/coding-agents-kit && ./coding-agents-kit/install.sh +git clone --branch v1.5.0 https://github.com/DailybotHQ/coding-agents-kit && ./coding-agents-kit/install.sh ``` Verify the checkout against the release's checksums (every shipped file is @@ -113,7 +113,7 @@ listed): ```bash cd coding-agents-kit -curl -fsSLO https://github.com/DailybotHQ/coding-agents-kit/releases/download/v1.4.0/SHA256SUMS +curl -fsSLO https://github.com/DailybotHQ/coding-agents-kit/releases/download/v1.5.0/SHA256SUMS shasum -a 256 -c SHA256SUMS --ignore-missing # Linux: sha256sum -c SHA256SUMS --ignore-missing ``` @@ -121,7 +121,7 @@ Windows: `.\coding-agents-kit\install.ps1`. Scripts and containers: `./coding-agents-kit/install.sh --no-rc`. Details, upgrades and uninstall: [docs/install.md](docs/install.md). -Let an agent do it: `npx --yes skills add DailybotHQ/coding-agents-kit@v1.4.0 --skill agentkit-setup`, then ask it +Let an agent do it: `npx --yes skills add DailybotHQ/coding-agents-kit@v1.5.0 --skill agentkit-setup`, then ask it to set the kit up on this machine or to write a container recipe ([setup](docs/setup.md)). ## Quickstart @@ -191,9 +191,9 @@ ak pick codex --owner local:w1:p1 --count 2 # spreads lanes: every active l | Skill | For | Install | | --- | --- | --- | -| `agentkit` | launching kinds, accounts, `ak run`, `ak usage`, `ak pick` (`ak --skill`) | `npx --yes skills add DailybotHQ/coding-agents-kit@v1.4.0 --skill agentkit` | -| `agentkit-setup` | installing, configuring and repairing the kit (`ak --skill setup`) | `npx --yes skills add DailybotHQ/coding-agents-kit@v1.4.0 --skill agentkit-setup` | -| `agentkit-orchestrate` | several agents over several accounts and vendors (`ak --skill orchestrate`) | `npx --yes skills add DailybotHQ/coding-agents-kit@v1.4.0 --skill agentkit-orchestrate` | +| `agentkit` | launching kinds, accounts, `ak run`, `ak usage`, `ak pick` (`ak --skill`) | `npx --yes skills add DailybotHQ/coding-agents-kit@v1.5.0 --skill agentkit` | +| `agentkit-setup` | installing, configuring and repairing the kit (`ak --skill setup`) | `npx --yes skills add DailybotHQ/coding-agents-kit@v1.5.0 --skill agentkit-setup` | +| `agentkit-orchestrate` | several agents over several accounts and vendors (`ak --skill orchestrate`) | `npx --yes skills add DailybotHQ/coding-agents-kit@v1.5.0 --skill agentkit-orchestrate` | ### The grammar diff --git a/docs/doctor.md b/docs/doctor.md index 9b5abfd..7a0beb4 100644 --- a/docs/doctor.md +++ b/docs/doctor.md @@ -25,7 +25,7 @@ The JSON form is the contract. Schema: [`schema/doctor-v1.json`](schema/doctor-v ```json { "interface": 1, - "version": "1.4.0", + "version": "1.5.0", "os": "macos", "kinds": { "claude": { "cli": "claude", "provider": null, "installed": true, "path": "/…/claude", "version": "2.1.295 (Claude Code)", "logged_in": true }, diff --git a/docs/install.md b/docs/install.md index 8fb3bbf..5144350 100644 --- a/docs/install.md +++ b/docs/install.md @@ -8,14 +8,14 @@ macOS, Linux, WSL (and Git Bash): ```bash -git clone --branch v1.4.0 https://github.com/DailybotHQ/coding-agents-kit +git clone --branch v1.5.0 https://github.com/DailybotHQ/coding-agents-kit ./coding-agents-kit/install.sh ``` Windows (PowerShell 5.1 or 7): ```powershell -git clone --branch v1.4.0 https://github.com/DailybotHQ/coding-agents-kit +git clone --branch v1.5.0 https://github.com/DailybotHQ/coding-agents-kit .\coding-agents-kit\install.ps1 ``` diff --git a/docs/schema/capacity-v1.json b/docs/schema/capacity-v1.json index eb964b2..f2a27dc 100644 --- a/docs/schema/capacity-v1.json +++ b/docs/schema/capacity-v1.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.4.0/docs/schema/capacity-v1.json", + "$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.0/docs/schema/capacity-v1.json", "title": "ak capacity --json (capacity-v1)", "description": "One account's headroom and a verdict, computed with ak pick's arithmetic (pick.evaluate: the smallest free share of the governing windows, a 10% reserve on windows of 7 days or more) and pick's lower-only drill cap. The reading comes from the kit's usage cache when fresh (usage numbers only; ak usage is the only command that always reads live). Exit 0 for every reading; the verdict is here, not in the exit code. Never contains a secret value. Consumers check `schema` and `interface` first; additional keys may appear in later minor versions.", "type": "object", diff --git a/docs/schema/doctor-v1.json b/docs/schema/doctor-v1.json index 96945e6..6fb11af 100644 --- a/docs/schema/doctor-v1.json +++ b/docs/schema/doctor-v1.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.4.0/docs/schema/doctor-v1.json", + "$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.0/docs/schema/doctor-v1.json", "title": "ak doctor --json (interface 1)", "description": "What coding-agents-kit reports about a machine. Never contains a secret value: keys are variable names only. Consumers check `interface` before reading anything else; additional top-level keys may appear in later minor versions.", "type": "object", diff --git a/docs/schema/leases-v1.json b/docs/schema/leases-v1.json index 5929c3d..6b3d959 100644 --- a/docs/schema/leases-v1.json +++ b/docs/schema/leases-v1.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.4.0/docs/schema/leases-v1.json", + "$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.0/docs/schema/leases-v1.json", "title": "ak lease ls --json (leases-v1)", "description": "Every active (unexpired) advisory account lease on this machine, oldest first. Leases grant nothing: ak pick --owner and the orchestration skill respect them. Holds profile names, owner addresses, times and a purpose note; never a secret value or a path. Additional keys may appear in later minor versions.", "type": "object", diff --git a/docs/schema/pick-v1.json b/docs/schema/pick-v1.json index 47173d7..7e15b51 100644 --- a/docs/schema/pick-v1.json +++ b/docs/schema/pick-v1.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.4.0/docs/schema/pick-v1.json", + "$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.0/docs/schema/pick-v1.json", "title": "ak pick --json (pick-v1)", "description": "The account(s) with the most usable headroom for a kind, chosen from the same rows as `ak usage` by one documented policy (docs/usage.md#choosing-an-account). No login is refreshed, no reset is spent; since 0.6.0 a fresh reading may come from the kit's usage cache (usage numbers only; --max-age). Never contains a secret value or an account identity. Consumers check `schema` and `interface` before reading anything else; additional top-level keys may appear in later minor versions.", "type": "object", diff --git a/docs/schema/pick-v2.json b/docs/schema/pick-v2.json index f9b55e7..1a47fa1 100644 --- a/docs/schema/pick-v2.json +++ b/docs/schema/pick-v2.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.4.0/docs/schema/pick-v2.json", + "$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.0/docs/schema/pick-v2.json", "title": "ak pick --kinds --json (pick-v2)", "description": "The cross-kind priority pick for daemons (herdr-peers autopilot --loop and its agents): the FIRST kind of --kinds with a qualifying account, chosen by the same rows, cache and policy as pick-v1 (docs/usage.md#choosing-an-account). Read-only: no login is refreshed, no reset is spent. `launch.argv` is the exact interactive argv to start that agent, so a caller never learns any CLI's own flags; `model` is what the caller asked for that kind (resolution happens at launch). Never contains a secret value or an account identity. Consumers check `schema` and `interface` before reading anything else; additional top-level keys may appear in later minor versions.", "type": "object", diff --git a/docs/schema/profiles-v1.json b/docs/schema/profiles-v1.json index 2b473a6..24b4c1d 100644 --- a/docs/schema/profiles-v1.json +++ b/docs/schema/profiles-v1.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.4.0/docs/schema/profiles-v1.json", + "$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.0/docs/schema/profiles-v1.json", "title": "ak profiles --json (profiles-v1)", "description": "Every account the kit knows, portable to another host: names and kinds only. Never contains a secret value, an account identity or an absolute path. Another host recreates the set with `ak profiles add @` and logs each one in. Consumers check `schema` and `interface` first; additional keys may appear in later minor versions.", "type": "object", diff --git a/docs/schema/setup-probe-v1.json b/docs/schema/setup-probe-v1.json index 3ccbfb4..9bb1402 100644 --- a/docs/schema/setup-probe-v1.json +++ b/docs/schema/setup-probe-v1.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.4.0/docs/schema/setup-probe-v1.json", + "$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.0/docs/schema/setup-probe-v1.json", "title": "ak setup probe --json (setup-probe-v1)", "description": "What a machine or container looks like to someone about to install or configure coding-agents-kit. Read-only; it works from an uninstalled clone. Never contains a secret value: keys are variable names only. Consumers check `schema` and `interface` first; additional top-level keys may appear in later minor versions.", "type": "object", diff --git a/docs/schema/setup-verify-v1.json b/docs/schema/setup-verify-v1.json index 0f13ada..1519639 100644 --- a/docs/schema/setup-verify-v1.json +++ b/docs/schema/setup-verify-v1.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.4.0/docs/schema/setup-verify-v1.json", + "$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.0/docs/schema/setup-verify-v1.json", "title": "ak setup verify --json (setup-verify-v1)", "description": "A closed list of named checks about a kit setup, each with a verdict and the one command that repairs it. Read-only: verify never applies a repair. Never contains a secret value. Consumers check `schema` and `interface` first.", "type": "object", diff --git a/docs/schema/update-v1.json b/docs/schema/update-v1.json index 72f7602..202d23d 100644 --- a/docs/schema/update-v1.json +++ b/docs/schema/update-v1.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.4.0/docs/schema/update-v1.json", + "$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.0/docs/schema/update-v1.json", "title": "ak update --json (update-v1)", "description": "One ak update run: what each requested CLI's vendor discovery found, what was installed, what PATH resolves afterwards, and whether the pin moved. Additive within interface 1: new fields may appear, existing ones do not change meaning.", "type": "object", diff --git a/docs/schema/usage-v1.json b/docs/schema/usage-v1.json index 5c6702d..3194133 100644 --- a/docs/schema/usage-v1.json +++ b/docs/schema/usage-v1.json @@ -1,6 +1,6 @@ { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.4.0/docs/schema/usage-v1.json", + "$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.0/docs/schema/usage-v1.json", "title": "ak usage --json (usage-v1)", "description": "Quota and usage of each account the kit can see, one row per credential identity. Never contains a secret value, an account identity (e-mail, organisation, id) or a token. The endpoints behind it are vendor-internal and unofficial: a row whose source changed shape reports status `error`, never a crash. Consumers check `schema` and `interface` before reading anything else; additional top-level keys may appear in later minor versions.", "type": "object", diff --git a/docs/setup.md b/docs/setup.md index 1318004..542b439 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -9,14 +9,14 @@ Two pieces work together: machine. It observes and renders; it never installs, repairs or decides, and it never writes anything except an explicit `--out FILE`. -Neither replaces the two commands you can always type yourself (`git clone --branch v1.4.0 …` and `install.sh`, see +Neither replaces the two commands you can always type yourself (`git clone --branch v1.5.0 …` and `install.sh`, see [install](install.md)). They exist so an agent can do the same thing safely, repeatably and on a machine you are not sitting at. ## Use the skill ```bash -npx --yes skills add DailybotHQ/coding-agents-kit@v1.4.0 --skill agentkit-setup +npx --yes skills add DailybotHQ/coding-agents-kit@v1.5.0 --skill agentkit-setup ``` or let the kit print it: `ak --skill setup`. Then ask your agent, for example: *"set up coding-agents-kit on this @@ -24,7 +24,7 @@ machine with a Claude and a Codex account"* or *"write a Dockerfile that runs th The skill starts from a clone of the pinned tag, so it works before `ak` exists: ```bash -git clone --branch v1.4.0 https://github.com/DailybotHQ/coding-agents-kit +git clone --branch v1.5.0 https://github.com/DailybotHQ/coding-agents-kit python3 coding-agents-kit/lib/ak.py setup probe --json ``` diff --git a/lib/common.py b/lib/common.py index 6e30062..85458c7 100644 --- a/lib/common.py +++ b/lib/common.py @@ -5,7 +5,7 @@ import subprocess import sys -VERSION = "1.4.0" +VERSION = "1.5.0" INTERFACE = 1 # Exit codes (the `ak run` contract uses the same numbers everywhere). diff --git a/skills/agentkit-orchestrate/SKILL.md b/skills/agentkit-orchestrate/SKILL.md index 4de211d..a0bf72c 100644 --- a/skills/agentkit-orchestrate/SKILL.md +++ b/skills/agentkit-orchestrate/SKILL.md @@ -1,7 +1,7 @@ --- name: agentkit-orchestrate description: Run several terminal coding agents at once across the user's accounts and vendors with coding-agents-kit (`ak`) — take inventory of every account's quota, pick the accounts with room (`ak pick --count`), give each writing agent its own git worktree, fan out headless runs (`ak run`), fail over when an account hits a limit, verify every result before merging, and report what was spent. Use when the user asks to split work across several agents or accounts, to run agents in parallel, to get a second opinion from another vendor, to spread a long task over their accounts, or to know which accounts can take the next batch. -version: "1.4.0" +version: "1.5.0" documentation_url: https://github.com/DailybotHQ/coding-agents-kit metadata: {"requires":{"anyBins":["ak","agentkit"]},"interface":1} --- diff --git a/skills/agentkit-setup/SKILL.md b/skills/agentkit-setup/SKILL.md index a37760d..04a48e5 100644 --- a/skills/agentkit-setup/SKILL.md +++ b/skills/agentkit-setup/SKILL.md @@ -1,7 +1,7 @@ --- name: agentkit-setup description: Install, configure, verify, repair and upgrade coding-agents-kit (`ak`) on any machine, server or Docker container — macOS, Linux, WSL and Windows — from a pinned release, with consent before every change, provider keys handled by name only, and a container recipe that verifies a SHA256. Use when the user asks to set up, install, configure, repair or upgrade ak or agentkit on a host or in a container, to prepare a machine for several coding-agent accounts, or to write a Dockerfile or compose file that runs the kit. -version: "1.4.0" +version: "1.5.0" documentation_url: https://github.com/DailybotHQ/coding-agents-kit metadata: {"requires":{"anyBins":["git","python3"]},"interface":1} --- @@ -38,7 +38,7 @@ not ask for. ```bash # test: probe -git clone --branch v1.4.0 https://github.com/DailybotHQ/coding-agents-kit +git clone --branch v1.5.0 https://github.com/DailybotHQ/coding-agents-kit python3 coding-agents-kit/lib/ak.py setup probe --json ``` diff --git a/skills/agentkit-setup/references/windows.md b/skills/agentkit-setup/references/windows.md index 7a079e5..d90a0a4 100644 --- a/skills/agentkit-setup/references/windows.md +++ b/skills/agentkit-setup/references/windows.md @@ -4,7 +4,7 @@ Requirements: python 3.9 or newer (the `py` launcher), git. WSL users follow flo ## Steps -1. Probe: `py -3 coding-agents-kit\lib\ak.py setup probe --json` (after `git clone --branch v1.4.0 https://github.com/DailybotHQ/coding-agents-kit`). +1. Probe: `py -3 coding-agents-kit\lib\ak.py setup probe --json` (after `git clone --branch v1.5.0 https://github.com/DailybotHQ/coding-agents-kit`). 2. Missing git or python: offer `winget install Git.Git` or `winget install Python.Python.3.12` — `[GATE: system package]`; run only after they agree. 3. `[GATE: shell rc]` The installer adds the install's `bin` to the **user** Path unless told not to: ```powershell diff --git a/skills/agentkit/SKILL.md b/skills/agentkit/SKILL.md index 63df0fa..8217249 100644 --- a/skills/agentkit/SKILL.md +++ b/skills/agentkit/SKILL.md @@ -1,7 +1,7 @@ --- name: agentkit description: Launch, install and configure terminal coding agents (Claude Code, Codex, Cursor, OpenCode, Pi, Cline, Grok) through coding-agents-kit's `ak` command — accounts per CLI (profiles), provider routes (GLM, Azure, xAI), headless runs with a JSON result (`ak run`), the environment of a profile for other launchers (`ak env`), quota per account and the account with room (`ak usage`, `ak pick`), and a doctor. Use when the user mentions ak, agentkit or coding-agents-kit, asks to start or set up another coding-agent CLI or account, asks which account has room, or asks to run a prompt through another agent non-interactively. -version: "1.4.0" +version: "1.5.0" documentation_url: https://github.com/DailybotHQ/coding-agents-kit metadata: {"requires":{"anyBins":["ak","agentkit"]},"interface":1} --- @@ -38,11 +38,11 @@ If `ak` is missing, tell the user and offer the install — it writes into their home directory, so do it only after they agree: ```bash -git clone --branch v1.4.0 https://github.com/DailybotHQ/coding-agents-kit && ./coding-agents-kit/install.sh +git clone --branch v1.5.0 https://github.com/DailybotHQ/coding-agents-kit && ./coding-agents-kit/install.sh ``` (This skill itself installs with -`npx --yes skills add DailybotHQ/coding-agents-kit@v1.4.0 --skill agentkit`.) +`npx --yes skills add DailybotHQ/coding-agents-kit@v1.5.0 --skill agentkit`.) `ak --skill` prints the copy of this file that matches the installed kit. ## Kinds diff --git a/tests/scopes/dispatch.sh b/tests/scopes/dispatch.sh index 868098b..2572b87 100644 --- a/tests/scopes/dispatch.sh +++ b/tests/scopes/dispatch.sh @@ -130,7 +130,7 @@ scope_dispatch() { # The verbs around launching. out="$(ak -- --version)" - expect_eq "ak --version" "${out}" "agentkit 1.4.0 (interface 1)" + expect_eq "ak --version" "${out}" "agentkit 1.5.0 (interface 1)" out="$(ak)"; status=$? expect_eq "ak with no arguments lists the kinds" "${status}:$(grep -c '^claude-glm ' <<<"${out}")" "0:1" expect_has "ak with no arguments shows what is installed" "${out}" "${BOX}/bin/claude" diff --git a/tests/scopes/doctor.sh b/tests/scopes/doctor.sh index 947c5bc..88b5280 100644 --- a/tests/scopes/doctor.sh +++ b/tests/scopes/doctor.sh @@ -41,7 +41,7 @@ scope_doctor() { out="$("${AK_PY}" "${ROOT}/tests/py/schema_check.py" "${schema}" "${doc}")" expect_eq "doctor --json matches docs/schema/doctor-v1.json" "${out}" "valid" expect_eq "doctor reports interface 1" "$(json_get "${doc}" 'd["interface"]')" 1 - expect_eq "doctor reports the kit version" "$(json_get "${doc}" 'd["version"]')" "1.4.0" + expect_eq "doctor reports the kit version" "$(json_get "${doc}" 'd["version"]')" "1.5.0" expect_eq "doctor reports this OS" "$(json_get "${doc}" 'd["os"] in ("macos", "linux")')" true expect_eq "doctor lists all 20 kinds" "$(json_get "${doc}" 'len(d["kinds"])')" 20 expect_eq "doctor sees the installed CLIs" "$(json_get "${doc}" 'all(v["installed"] for v in d["kinds"].values())')" true diff --git a/tests/scopes/install.sh b/tests/scopes/install.sh index 147de71..a80cb86 100644 --- a/tests/scopes/install.sh +++ b/tests/scopes/install.sh @@ -43,7 +43,7 @@ scope_install() { check "installed bin/ak is executable" test -x "${dest}/bin/ak" expect_eq "the install root is mode 700" "$(file_mode "${dest}")" 700 out="$(box_run -- "${dest}/bin/ak" --version)" - expect_eq "the installed ak runs" "${out}" "agentkit 1.4.0 (interface 1)" + expect_eq "the installed ak runs" "${out}" "agentkit 1.5.0 (interface 1)" ( cd "${BOX}/work" && env -i HOME="${BOX}/home" PATH="${BOX}/bin:${BASE_PATH}" "${dest}/bin/ak" doctor --json \ "${BOX}/doctor.json" 2>/dev/null ) expect_eq "the installed ak doctor --json reports interface 1 (smoke)" "$(json_get "${BOX}/doctor.json" 'd["interface"]')" 1 @@ -159,7 +159,7 @@ scope_install() { skip "PowerShell parse of install.ps1 (no pwsh here; the CI windows job parses and runs it)" fi out="$(box_run -- env -u AGENTKIT_ENV_LOADED "${AK_PY}" "${ROOT}/lib/ak.py" --version)" - expect_eq "the python core runs without the bash launcher (the Windows path)" "${out}" "agentkit 1.4.0 (interface 1)" + expect_eq "the python core runs without the bash launcher (the Windows path)" "${out}" "agentkit 1.5.0 (interface 1)" box_new install-pyenv box_env_file '# comment' 'export ZAI_CODING_API_KEY="planted-quoted-0x1"' "XAI_API_KEY='planted-single'" 'IGNORED LINE' out="$(box_run FAKE_SHOW_SECRETS=1 -- "${AK_PY}" "${ROOT}/lib/ak.py" claude-glm)" @@ -203,7 +203,7 @@ install_setup_contract() { ( cd "${ROOT}" && tar -cf - bin lib providers.toml skills docs LICENSE README.md CREDITS.md CHANGELOG.md install.sh ) | ( cd "${tar_root}" && tar -xf - ) out="$(box_run -- bash "${tar_root}/install.sh" --no-rc)"; status=$? expect_eq "install setup: install.sh runs from an extracted release tarball layout" "${status}" 0 - expect_eq "install setup: ... and the installed kit works" "$(box_run -- "${BOX}/home/.local/share/agentkit/bin/ak" --version)" "agentkit 1.4.0 (interface 1)" + expect_eq "install setup: ... and the installed kit works" "$(box_run -- "${BOX}/home/.local/share/agentkit/bin/ak" --version)" "agentkit 1.5.0 (interface 1)" expect_eq "install setup: the helper runs from the extracted tarball without installing" \ "$(box_run -- "${AK_PY}" "${tar_root}/lib/ak.py" setup probe --json | "${AK_PY}" -c 'import json,sys; print(json.load(sys.stdin)["schema"])')" "setup-probe-v1" } diff --git a/tests/scopes/setup-skill.sh b/tests/scopes/setup-skill.sh index aabab3d..267a1d8 100644 --- a/tests/scopes/setup-skill.sh +++ b/tests/scopes/setup-skill.sh @@ -31,7 +31,7 @@ scope_setup_skill() { setup_skill_scenarios() { local drift copy out status py_checks skill_scenarios.py "${ROOT}" - for drift in "install.sh --no-rc|install.sh --no-rcc" "--branch v1.4.0|--branch v9.9.9" "setup verify --json|setup verify --jsno"; do + for drift in "install.sh --no-rc|install.sh --no-rcc" "--branch v1.5.0|--branch v9.9.9" "setup verify --json|setup verify --jsno"; do copy="${SANDBOX}/skill-drift" rm -rf "${copy}" cp -R "${ROOT}/skills/agentkit-setup" "${copy}"