Skip to content

Version 1.14

Choose a tag to compare

@andreapollastri andreapollastri released this 05 Aug 17:19
· 9 commits to main since this release

[1.14.0] - 2026-08-05

App .env / auth.json / Artisan, whitelisted app run, and structured deploy config. Requires Cipi CLI ≥ 5.0.3 (cipi self-update) for non-interactive flags and sudoers whitelist (app env, app artisan, app run, auth *, deploy-config).

Added

  • .env APIGET|PUT /api/apps/{name}/env (ability apps-env): list variables; merge with { "set": {…}, "unset": […] }. Sync. MCP: AppEnvShow, AppEnvUpdate (secrets redacted).
  • auth.json APIGET|POST|PUT|DELETE /api/apps/{name}/auth (ability apps-auth): shared Composer/structured JSON under shared/auth.json. Distinct from HTTP Basic Auth (apps-basicauth). MCP: AppAuthJson*.
  • Artisan RESTPOST /api/apps/{name}/artisan with { "command": "…" }202 job (app-artisan); poll GET /api/jobs/{id} for output / exit_code. Ability apps-artisan. MCP AppArtisan remains synchronous.
  • POST /api/apps/{name}/run — body { "command": "composer install --no-dev" }202 job (app-run); poll GET /api/jobs/{id} for output. Ability apps-run.
  • GET /api/run-commands — list allowed binaries (composer, npm/npx/yarn/pnpm, ls/ll, cat/head/tail, mkdir/cp/mv/rm/…, tar/zip, git, php, node, find, …).
  • Guards — no editors/pagers/shells/REPLs (nano, vim, less, bash, tinker, …); no interactive flags (tail -f, git -i, php -a, node -e, …); no shell metacharacters / .. path traversal.
  • GET|PUT /api/apps/{name}/deploy-config — structured Deployer recipe options (keep_releases, migrate/optimize/storage_link/queue_restart/horizon_terminate, node_build, predeploy_snapshot, extra_artisan). Regenerates deploy.php from template (not a raw PHP upload). Ability apps-deploy-config.
  • Token abilitiesapps-env, apps-auth, apps-artisan, apps-run, apps-deploy-config in config/cipi.php.
  • CLI whitelistapp env, auth create|edit|show|delete in CipiCliService::ALLOWED_COMMANDS.
  • MCPAppRun, AppRunCommands, AppDeployConfigShow, AppDeployConfigUpdate.

Changed

  • OpenAPIinfo.version 1.14.0; paths/schemas for env, auth.json, artisan, app-run, deploy-config; job types app-artisan, app-run.