ドキュメント

cockpit terms

cockpit termsの構文、オプション、結果、制約をcockpit CLIの正本から自動生成したリファレンスです。

対象
CLI
WindowsmacOSLinux
無料AGIラボ会員

最終検証 2026-11-26 · v5.0.0

Markdown

このReference本文は、アプリが配布するcockpit CLIヘルプと同じ英語の正本から自動生成されています。日本語の概念説明と安全な使い方はcockpit CLIを参照してください。

Read whether a person has agreed to the AGI Cockpit Terms of Use on this computer. Agreeing is possible only on the AGI Cockpit screen of the computer itself; the CLI cannot agree, withdraw, reset, or skip the agreement.

cockpit terms status
cockpit terms status --host <host|alias> [--port <sync-port>] [--https true|false]

status returns:

{"ok": true, "data": {"state": "required", "reason": "not_accepted", "requiredVersion": "<version>", "acceptedVersion": null, "acceptedAt": null, "acceptedAppVersion": null, "message": "Read the Terms of Use on the AGI Cockpit screen and agree to them. The CLI cannot agree for you."}}
  • state: accepted, required (no agreement to the version this app requires), or unavailable (the agreement cannot be confirmed).
  • reason: null when accepted. not_accepted or new_version (an earlier version was accepted) when required. When unavailable: terms_not_ready (this app has no Terms of Use that can be agreed to), record_unreadable (the agreement record cannot be read), record_invalid (the record is damaged), or save_failed (an agreement could not be saved; load the record again on the AGI Cockpit screen).
  • requiredVersion: the Terms of Use version this app requires, or null when the terms are not ready.
  • acceptedVersion, acceptedAt, acceptedAppVersion: the agreement to the required version, or the latest earlier agreement when a new version is required. acceptedAt is the computer's clock in UTC when the person agreed, not a time certified by a third party.
  • message: what to do on the AGI Cockpit screen, or null when accepted.

Until a person agrees, AGI Cockpit starts nothing else: tasks, terminals, Crews, Autorun, Hooks, Fleet, and Remote Access stay stopped. Every other command that reaches this computer's AGI Cockpit is refused with terms_acceptance_required, or with terms_acceptance_unavailable when the agreement cannot be confirmed, and runs nothing. When the agreement is saved but AGI Cockpit could not start, commands are refused with normal_startup_failed. status is the only command answered before the agreement.

--host reads the status of another computer through its Remote Access with the existing authentication. Remote Access starts only after that computer's agreement, so another computer that has not agreed is not reachable.

Before the first agreement on a computer, its status may not be readable at all:

  • A new installation has no cockpit command until the agreement, because the CLI is installed when AGI Cockpit starts normally.
  • After an update, the CLI of the earlier version stays installed until the agreement. It reports Cannot reach AGI Cockpit (exit 7) for task commands such as task list, shows the refusal for other commands, and has no terms status.
  • The PWA and --host cannot reach the computer, because Remote Access is not running.

A failure to connect, including exit 7, does not mean that the agreement is required. Check the AGI Cockpit app on that computer.

The agreement is kept in terms-acceptance.json in AGI Cockpit's data folder, together with the version, the time, the app version, and the language shown. Signing out or changing settings does not remove it; deleting the data folder or reinstalling with a new data folder does. A record that cannot be read is never overwritten silently: the screen offers to load it again, and a damaged record is kept under another name in the same folder before a new agreement is saved.

Related: cockpit help account for the AGI Lab sign-in.