Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .dwp/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"addons": {
"agentkit": {
"enabled": true,
"version": "v1.5.0"
"version": "v1.5.1"
},
"ai-diff-reviewer": {
"enabled": true,
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ body:
attributes:
label: ak version
description: Output of `ak --version`.
placeholder: agentkit 1.5.0 (interface 1)
placeholder: agentkit 1.5.1 (interface 1)
validations:
required: true
- type: dropdown
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ The test map lives in [`docs/TESTING_GUIDE.md`](docs/TESTING_GUIDE.md).

Structured work runs through the installed `deepworkplan` skill (`.agents/skills/deepworkplan/`); plans live in the gitignored `.dwp/`; only the addon registry `.dwp/config.json` is tracked (see the skill's `spec/CONFIG.md`).

DWP standard: 8.0.0 (onboarded 2026-10-08; upgraded 2026-10-09, 2026-10-11, 2026-10-12, 2026-10-13, 2026-10-25, 2026-11-15, 2026-11-16 and 2026-11-17; skill 8.0.3, vendored 2026-11-17 from tag commit 1033558, all 188 files verified against the release SHA256SUMS (digest f40ebde7…), together with herdr-peers 2.2.1 (tag commit 6b9f17d, all 37 skill files verified against its SHA256SUMS, digest 9855c625…); new plans use plan-contract/v8, existing plans keep their recorded generation; the addon registry records herdr-peers v2.2.1, coding-agents-kit v1.5.0 and ai-diff-reviewer v3.3.16)
DWP standard: 8.0.0 (onboarded 2026-10-08; upgraded 2026-10-09, 2026-10-11, 2026-10-12, 2026-10-13, 2026-10-25, 2026-11-15, 2026-11-16 and 2026-11-17; skill 8.0.3, vendored 2026-11-17 from tag commit 1033558, all 188 files verified against the release SHA256SUMS (digest f40ebde7…), together with herdr-peers 2.2.1 (tag commit 6b9f17d, all 37 skill files verified against its SHA256SUMS, digest 9855c625…); new plans use plan-contract/v8, existing plans keep their recorded generation; the addon registry records herdr-peers v2.2.1, coding-agents-kit v1.5.1 and ai-diff-reviewer v3.3.16)
25 changes: 24 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,27 @@ permission posture changes.

## [Unreleased]

## [1.5.1] - 2026-11-18

A patch release. Interface stays **1**; the doctor JSON shape is unchanged.
npm-installed CLIs (Codex first) keep their per-platform native binary, and
an install that leaves a CLI unable to start is no longer called a success.

### Fixed

- `ak install` and `ak update` install npm CLIs with `--include=optional`,
so Codex's per-platform native binary (`@openai/codex-linux-arm64`, …), an
optional dependency, is always installed. The installed CLI must then
start (`<cli> --version` exits 0, probed without key variables): when npm
dropped the platform binary, ak uninstalls and installs it once more, and a
CLI that still does not start is a failed install with the CLI's own
error, never "installed". A broken copy npm did not install is reported,
never reinstalled over.
- `ak doctor` reports a CLI that resolves but does not start as a problem
that quotes its error and names the repair (`npm uninstall -g <package>`,
then `ak install <cli>`, when the copy is in npm's prefix). The JSON
shape is unchanged: its `version_status` stays `unknown`.

## [1.5.0] - 2026-11-16

A minor release. Interface stays **1**: `ak run --output-format json` gains
Expand Down Expand Up @@ -830,7 +851,9 @@ First public release. **Interface 1.**
Redesigned from the author's earlier coding-agents-setup-kit (wrappers,
installers, provider writers) and profile work; see `CREDITS.md`.

[Unreleased]: https://github.com/DailybotHQ/coding-agents-kit/compare/v1.4.0...HEAD
[Unreleased]: https://github.com/DailybotHQ/coding-agents-kit/compare/v1.5.1...HEAD
[1.5.1]: https://github.com/DailybotHQ/coding-agents-kit/compare/v1.5.0...v1.5.1
[1.5.0]: https://github.com/DailybotHQ/coding-agents-kit/compare/v1.4.0...v1.5.0
[1.4.0]: https://github.com/DailybotHQ/coding-agents-kit/compare/v1.3.0...v1.4.0
[1.3.0]: https://github.com/DailybotHQ/coding-agents-kit/compare/v1.2.0...v1.3.0
[1.2.0]: https://github.com/DailybotHQ/coding-agents-kit/compare/v1.1.0...v1.2.0
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,23 +105,23 @@ python3 ≥ 3.9. Nothing else.
## Install

```bash
git clone --branch v1.5.0 https://github.com/DailybotHQ/coding-agents-kit && ./coding-agents-kit/install.sh
git clone --branch v1.5.1 https://github.com/DailybotHQ/coding-agents-kit && ./coding-agents-kit/install.sh
```

Verify the checkout against the release's checksums (every shipped file is
listed):

```bash
cd coding-agents-kit
curl -fsSLO https://github.com/DailybotHQ/coding-agents-kit/releases/download/v1.5.0/SHA256SUMS
curl -fsSLO https://github.com/DailybotHQ/coding-agents-kit/releases/download/v1.5.1/SHA256SUMS
shasum -a 256 -c SHA256SUMS --ignore-missing # Linux: sha256sum -c SHA256SUMS --ignore-missing
```

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.5.0 --skill agentkit-setup`, then ask it
Let an agent do it: `npx --yes skills add DailybotHQ/coding-agents-kit@v1.5.1 --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
Expand Down Expand Up @@ -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.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` |
| `agentkit` | launching kinds, accounts, `ak run`, `ak usage`, `ak pick` (`ak --skill`) | `npx --yes skills add DailybotHQ/coding-agents-kit@v1.5.1 --skill agentkit` |
| `agentkit-setup` | installing, configuring and repairing the kit (`ak --skill setup`) | `npx --yes skills add DailybotHQ/coding-agents-kit@v1.5.1 --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.1 --skill agentkit-orchestrate` |

### The grammar

Expand Down
4 changes: 2 additions & 2 deletions docs/doctor.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The JSON form is the contract. Schema: [`schema/doctor-v1.json`](schema/doctor-v
```json
{
"interface": 1,
"version": "1.5.0",
"version": "1.5.1",
"os": "macos",
"kinds": {
"claude": { "cli": "claude", "provider": null, "installed": true, "path": "/…/claude", "version": "2.1.295 (Claude Code)", "logged_in": true },
Expand Down Expand Up @@ -55,7 +55,7 @@ The JSON form is the contract. Schema: [`schema/doctor-v1.json`](schema/doctor-v
| `herdr_hooks` | per Herdr-integrated CLI, per profile: whether Herdr's state hook files are present in that home |
| `default_profiles` | since 0.5.2: per CLI whose `AGENTKIT_DEFAULT_PROFILE_<CLI>` is set, what a bare `ak <cli>` launches (`@name`, `@default` or `pick`); see [Profiles](profiles.md#a-default-profile-per-cli) |
| `daemons` | since 0.5.3: per CLI that records a background daemon in its home (Codex), per account: `present`, `absent` (nothing recorded), `missing` (the home records a daemon that is not on this machine, so `ak codex` adds `--no-daemon`) or `off` (`AGENTKIT_CODEX_NO_DAEMON=1`); see [Profiles](profiles.md#codex-and-its-app-server-daemon) |
| `env_file`, `problems` | where the env file is, its mode, and anything to fix. On Linux or in a container, a problem names each account whose file names the account but whose login token is not there (a macOS Keychain login does not travel), with the fix |
| `env_file`, `problems` | where the env file is, its mode, and anything to fix. A CLI that resolves but does not start (`--version` exits non-zero, for example Codex after npm dropped its platform binary) is a problem quoting the CLI's error, with the repair: `npm uninstall -g <package>, then ak install <cli>` when the broken copy is in npm's global prefix, otherwise removing or repairing that copy. Its `version_status` stays `unknown`, and doctor still runs one `--version` per CLI. On Linux or in a container, a problem names each account whose file names the account but whose login token is not there (a macOS Keychain login does not travel), with the fix |

Consumers must ignore keys they do not know: minor versions may add some.
No credential file is opened, with one exception: Claude's `.claude.json`
Expand Down
25 changes: 19 additions & 6 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
macOS, Linux, WSL (and Git Bash):

```bash
git clone --branch v1.5.0 https://github.com/DailybotHQ/coding-agents-kit
git clone --branch v1.5.1 https://github.com/DailybotHQ/coding-agents-kit
./coding-agents-kit/install.sh
```

Windows (PowerShell 5.1 or 7):

```powershell
git clone --branch v1.5.0 https://github.com/DailybotHQ/coding-agents-kit
git clone --branch v1.5.1 https://github.com/DailybotHQ/coding-agents-kit
.\coding-agents-kit\install.ps1
```

Expand Down Expand Up @@ -109,10 +109,23 @@ does not match refuses the install and leaves nothing behind; a platform
with no pinned digest (Windows, for the native binaries) is refused with
the vendor's docs link; archives are unpacked only after every entry is
checked to stay inside its directory. Vendor install scripts are never run.
For npm, the verified tarball is what npm installs; its dependencies are
resolved by npm from the registry, each checked against the registry's own
integrity. After install, each CLI's own updater may take over; the pins are
what a fresh machine gets.
For npm, the verified tarball is what npm installs
(`npm install -g --include=optional <file>`); its dependencies are resolved by
npm from the registry, each checked against the registry's own integrity.
`--include=optional` matters for Codex, whose native binary is a per-platform
optional dependency (`@openai/codex-linux-arm64`, …): without it the CLI fails
with "Missing optional dependency". The install then has to **start**: ak
runs the installed copy's `--version` (with the same key-free environment
npm gets), and a CLI that does not start, its `--version` exiting non-zero
(npm can drop the platform binary on an in-place install), is uninstalled and
installed once more; still failing, the install fails with the CLI's own
error. A broken copy that npm did not install (another copy first on PATH) is
reported and never reinstalled over. `--include=optional` needs npm 7 or
later; npm 6 ignores it and installs optional dependencies by default. After
install, each CLI's own updater may take over; the pins are what a fresh
machine gets. A vendor's in-CLI update (Codex's "Update now" runs
`npm install -g @openai/codex`) skips these checks: prefer `ak update`, and if
an in-CLI update left the CLI broken, `ak doctor` names the repair.

A CLI that cannot be pinned is stated in the data as
`unverified = "<reason>"` and installs only with
Expand Down
2 changes: 1 addition & 1 deletion docs/schema/capacity-v1.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.0/docs/schema/capacity-v1.json",
"$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.1/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",
Expand Down
2 changes: 1 addition & 1 deletion docs/schema/doctor-v1.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.0/docs/schema/doctor-v1.json",
"$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.1/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",
Expand Down
2 changes: 1 addition & 1 deletion docs/schema/leases-v1.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.0/docs/schema/leases-v1.json",
"$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.1/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",
Expand Down
2 changes: 1 addition & 1 deletion docs/schema/pick-v1.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.0/docs/schema/pick-v1.json",
"$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.1/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",
Expand Down
2 changes: 1 addition & 1 deletion docs/schema/pick-v2.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.0/docs/schema/pick-v2.json",
"$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.1/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",
Expand Down
2 changes: 1 addition & 1 deletion docs/schema/profiles-v1.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.0/docs/schema/profiles-v1.json",
"$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.1/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 <cli> @<name>` and logs each one in. Consumers check `schema` and `interface` first; additional keys may appear in later minor versions.",
"type": "object",
Expand Down
2 changes: 1 addition & 1 deletion docs/schema/setup-probe-v1.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.0/docs/schema/setup-probe-v1.json",
"$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.1/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",
Expand Down
2 changes: 1 addition & 1 deletion docs/schema/setup-verify-v1.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.0/docs/schema/setup-verify-v1.json",
"$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.1/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",
Expand Down
2 changes: 1 addition & 1 deletion docs/schema/update-v1.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.0/docs/schema/update-v1.json",
"$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.1/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",
Expand Down
2 changes: 1 addition & 1 deletion docs/schema/usage-v1.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.0/docs/schema/usage-v1.json",
"$id": "https://github.com/DailybotHQ/coding-agents-kit/blob/v1.5.1/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",
Expand Down
6 changes: 3 additions & 3 deletions docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@ 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.5.0 …` and `install.sh`, see
Neither replaces the two commands you can always type yourself (`git clone --branch v1.5.1 …` 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.5.0 --skill agentkit-setup
npx --yes skills add DailybotHQ/coding-agents-kit@v1.5.1 --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
machine with a Claude and a Codex account"* or *"write a Dockerfile that runs the kit for the CI image"*.
The skill starts from a clone of the pinned tag, so it works before `ak` exists:

```bash
git clone --branch v1.5.0 https://github.com/DailybotHQ/coding-agents-kit
git clone --branch v1.5.1 https://github.com/DailybotHQ/coding-agents-kit
python3 coding-agents-kit/lib/ak.py setup probe --json
```

Expand Down
Loading
Loading