while.sh
sh.while/while
Deploy and share tools built with Claude or ChatGPT: your team, a client or everyone. No sign-up.
- acknowledge_announcement — Records that an announcement from the while team has been read.
- apply_plan — Applies a plan computed by plan_deploy (what it changes goes live); discard: true drops it without applying anything.
- backup_database — Starts a backup of a database declared in while.yaml, and a test restore on a throwaway database that proves it.
- create_preview — A preview environment for a branch, with its own address.
- create_project — Creates a project in an organization, with its monthly budget (€20 by default); deploy_app then deploys an app to it.
- create_token — Creates an API token for a project or for the organization, with its permissions, its environments and its lifetime; it is returned only once. Not by an agent connected through OAuth: a person creates
- declare_connection — Declares an external API (domain, authentication without a secret, callers), to be accepted; a person enters the secret in while.
- deploy_app — Trial version, not for production, online for a limited time. Without a key, this first call creates the trial. Builds the code sent (or the GitHub or GitLab repository linked with link_git_repo, or a
- explain_access — Who has access to what, in sentences; with who and permission, yes or no and why (the chain that grants it, or what is missing); activity: what this identity did with it.
- get_activity_log — The organization's activity log, append-only and chained: who did what and through what (a person, an agent, the API, a task, while), filterable.
- get_app_status — An environment's state: its live version, its addresses, its health, its services, its recent traffic; include: its live while.yaml (while_yaml), its known vulnerabilities and the bots seen (vulnerabi
- get_catalog — What while can run, block by block: what it does, its cost, the while.yaml line that declares it.
- get_environment — An environment, by view: variables, the names of its variables and secrets (never the values); domains, its domains and their DNS proof; links, its access links (never the link); backups, the last 50
- get_logs — An environment's logs (or a build's: build_id), most recent first, filterable by a text.
- get_organization — Without organization, your organizations; otherwise, view detail (members, groups, stewards), existing (what exists for the person, to_say), sources (the catalog of sources, the person's access and th
- get_project — Without project, the projects the identity sees; project, one project and its environments; include: ["webhooks"], its webhooks.
- grant_role — Grants a role to an identity (a person, a group, a service account, an app) on a scope, until a date; only what one holds oneself, never to oneself. An app cannot receive a role on a relay source yet.
- invite_member — Invites a person with a role on an app (project; otherwise the whole organization); for an internal app, role access and project, in one request. An address with no email (.test, .invalid…) is refused
- keep_trial — When the user wants to keep their trial app: returns the link that keeps it in their own organization. Ask them first for their organization's name, and for the project's name, which makes the app's a
- link_git_repo — Keeps the code on GitHub or GitLab (without a token: the while App, an authorized GitLab group): a push to the default branch deploys production, a pull or merge request opens a preview; unlink remove
- list_approvals — The requests a person still has to accept or approve in while (a production deployment, a restore…), and their state; id: a single one.
- list_connections — The organization's external APIs, called through while: without connection, their list; connection, its detail, its rules and how to call it; view limits, the call limits; bindings, a federated connec
- list_feedback — The feedback sent to the while team and its replies; organization: the organization's feedback (its admins).
- list_tasks — An environment's scheduled jobs, their schedule, their last runs and the next one.
- load_tools — Adds a tool group to this agent: alerts (alerts, incidents, channels), feedback_and_docs (page notes, feedback, docs), environments_and_storage (domains, internal apps, git credential, buckets, destro
- observe_app — What is happening in production, by view: metrics, traces, errors (grouped), history (versions and events), timeline, impact (a version's effect), database (frequent and slow SQL queries), edge (what
- open_trial_app — To check the trial app yourself, past the "Trial tool" page that visitors see first: a one-hour identifier for its address, tied to the trial key. Write cookie.value to the file named in file, then ru
- plan_deploy — What a deployment would change, block by block, and what each block costs per month; the plan is kept for apply_plan.
- query_database — A read-only SQL query on one of the project's PostgreSQL databases; format short (default; a cut response says how to read the rest), detailed (wider limits) or csv (an export).
- read_connection — Reads the HTTP API of a third party the organization declared as a connection: GET, or POST with body on a path it declares as a read; nothing else goes out. Its rights, rules and function apply; whil
- read_source — The project's code at while, without changing anything: a folder or a file (path), in pages of 60,000 characters, or the archive link of a deployed version (archive).
- request_access — Requests a permission for the person (or their agent): whoever can grant it decides in while.
- request_access_link — Share an internal app, show it to a client or a tester without a while account: requests a sharing link (access link); a person creates it and passes it on in while. With dev_address: the workstation'
- restore_backup — Restores a database from a backup or to a point in time; its current data is replaced, and in production this goes through a request.
- revoke_role — Removes an assignment at once; the last owner stays.
- rollback_app — Puts a previous version of an environment back online (the previous one by default, or to); the live version is replaced.
- run_task — Runs one of the app's scheduled jobs from its while.yaml now, without waiting for its time: the app's code, in its environment; while runs nothing else.
- search_docs — The passages of while's documentation that answer a question, with their address.
- send_feedback — Sends feedback to the while team in the person's words, at their request. It also requests a block (kind: "block") as soon as the person's need calls for it. while attaches who sends it, the organizat
- set_connection_binding — Without binding, requests (to be accepted) that a production app call a federated connection (OIDC), with a short token signed by while, without a secret; federation must be enabled there. With bindin
- set_env — Sets or removes an environment's variables and secrets (in the vault by default, never read back); they apply at the next deployment.
- sign_up — Sends the user's email address to while, which emails them a link (60 min) to choose a password. With the trial key, the trial app moves to their account. The link and the password are never returned
- update_connection — One setting per call: change, a review action (refuse, remove; all_reads, restore; forward_authorization, drop_authorization: keyless, the app's Authorization); method and pattern alone request a rule
- upload_source — Trial version, not for production, online for a limited time. Without a key, this first call creates the trial. The upload command (curl) that sends the project folder to while from a terminal, throug
- write_files — Trial version, not for production, online for a limited time. Without a key, this first call creates the trial. A commit on the project's branch at while, without a terminal: each named file is replac