Repository navigation
Behavior changes for scripts
If you run pakyas from scripts or CI, check these before upgrading:
-
Exit codes say what kind of error happened. 0.1.9 exited 1 for every error;
now 1 is for errors without a more specific code (for example, the API
rejected the request), and:- 2: usage error (invalid or missing argument, no organization or default
project selected). Unknown flags already exited 2. - 3: organization, project, check or other resource not found
- 4: temporary failure (API unreachable, timeout, rate limited, server error);
safe to retry - 5: authentication (not logged in; API key invalid, expired, revoked, or for
another organization) - 6: permission denied (403)
- 7: unexpected response from the API
Scripts that only check for non-zero are unaffected.
check doctor --fail-on
still exits 1, andmonitorstill exits with your command's code, or 3 when
the run couldn't be recorded. - 2: usage error (invalid or missing argument, no organization or default
-
pakyas whoamiexits 5 when you are not logged in. 0.1.9 printed
"Not logged in" and exited 0. -
Warnings and notices go to stderr. Stdout carries only command output, and
--format json,ndjsonandyamloutput contains no ANSI codes or summary
lines. Scripts that read warnings from stdout must read stderr. -
pakyas project createmakes the new project the default only when you pass
--set-defaultor no default project is set yet. 0.1.9 always switched the
default. It also no longer prompts when--nameis given. -
pakyas check update -ywith nothing to change exits 2 (usage) before
contacting the API. 0.1.9 exited 0 without changing anything. -
--alert-after-miss-pingsaccepts 1-20 oncheck createandcheck update,
matching the server. Values outside that range are usage errors (exit 2). -
pakyas monitorruns the job even when the check can't be resolved, passes
the job's output through, and then exits 3 because the run wasn't recorded.
0.1.9 exited 1 without running the job. -
pakyas check tail --sinceis now applied by the server, so the default
--since 30mshows only the last 30 minutes. 0.1.9 sent the parameter but the
server ignored it. This comes from a server update, so 0.1.9 filters too once
that update is live.
Added
auth key set,auth key verifyandauth key rmaccept an organization
name for--org, like the global--org.setstores the key under the
organization's ID.
Fixed
project createandcheck create(including--dry-run) honor--format.--projectaccepts a project ID, slug or name everywhere, and
check list --project <id>no longer fails with "missing field
project_name".- Boolean environment variables accept
1/true/yes/on, soNO_COLOR=1
works.--ignore-env,--debug-http,--no-colorand the config file's
format/colorsettings take effect. - CI with only
PAKYAS_API_KEYset works: the organization comes from the key.
--orgaccepts an organization name. loginno longer wipes stored credentials whenPAKYAS_API_KEYis set.
login --api-key,login --no-browserandorg switchstore the key under
the key's real organization, andauth key setreads the server response
correctly.check updatecan switch a check between cron and interval schedules, sends
--alert-after-fail-pings, and maps the legacy--alert-after-failuresand
--missed-before-alertnames to missed pings.monitorstreams the job's output as it runs, keeps the job's exit code
(128 + signal when the job is killed) and truncates the captured failure
output on character boundaries.- Check slugs and public IDs resolve across the whole organization. The check
cache is keyed by organization and updated oncheck deleteand
check sync. pingandmonitorlook a slug up again once its cache entry is an hour
old (it was 24 hours), so a check deleted and re-created under the same slug
gets its new ping ID within the hour. Pings to the old ID are accepted but
not recorded, so the CLI can't tell. If the lookup fails because the API is
unreachable, slow or returning server errors, the cached ping ID is used,
however old, with a warning; 0.1.9 failed the ping once the entry was 24
hours old.check tailprints events oldest first, and--followshows only new
events.- No panics on very large durations, an empty
project default, or short API
keys. - Clearer messages for 401, 403, 404 and 429 responses.
Commits
[0.1.10] - 2026-11-08
Bug Fixes
- Honor output formats, resolve project slugs, and fix API decoding
- auth: Accept organization names in
auth key --org - ping: Look a cached slug up again after an hour
Documentation
- Match README, guide and architecture notes to CLI behavior
- Add CHANGELOG with 0.1.10 behavior changes
- Document exit codes and org names for auth key --org
Features
- Exit with a code that says what kind of error happened
Miscellaneous
- Ignore .claude directory
- release: Lead release notes with the CHANGELOG section