ドキュメント

cockpit side-panel

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

対象
CLI
WindowsmacOSLinux
無料AGIラボ会員

最終検証 2026-08-27 · v4.61.0

Markdown

最新バージョンでは、画面や操作が一部異なる場合があります。

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

Usage: cockpit side-panel <command> [options]

Open or inspect the AGI Cockpit right side panel for a task. When --task-id is omitted, Cockpit resolves the current task from the session context.

Each command, and each terminal action, accepts only its own options. An unknown option, an extra argument, or an option without its value answers invalid_arguments (exit 1) and changes nothing; when a known option is close, the error names it and returns it in suggestion. An option that says the same thing as a positional argument takes its place, so file --file a.txt b.txt and terminal send --text pwd extra are rejected too. A switch such as --new-tab, --enter, or --hidden takes no value, so a word right after it is rejected as well; put the URL or path before the switch, as in browser https://example.com --new-tab. A value cannot start with --, and terminal send has no --stdin or file option, so text that starts with -- cannot be sent with --text, --command, or as words.

cockpit side-panel status --json
cockpit side-panel open --kind explorer --json
cockpit side-panel close --json
cockpit side-panel html --surface-id latest --json
cockpit side-panel browser --url "https://example.com" --json
cockpit side-panel browser --browser-identity work --json
cockpit browser show --browser-identity work --json
cockpit side-panel diff --file src/App.tsx --json
cockpit side-panel artifact --artifact latest --json
cockpit side-panel talk <roomId> --json
cockpit side-panel child-tasks --json
cockpit side-panel child-tasks <childTaskId> --json
cockpit side-panel ask --json
cockpit side-panel explorer --file src/App.tsx --json
cockpit side-panel explorer --root /path/to/api --file README.md --json
cockpit side-panel crew-home --json
cockpit side-panel crew-home --file work/example/README.md --json
cockpit side-panel file src/App.tsx --mode preview --json
cockpit side-panel file src/App.tsx --line 120 --end-line 125 --json
cockpit side-panel terminal show --json
cockpit side-panel terminal status --json
cockpit side-panel terminal new --name "Tests" --cwd /path --json
cockpit side-panel terminal focus --session <sessionId> --json
cockpit side-panel terminal send --session <sessionId> "pwd" --json
cockpit side-panel terminal send --session <sessionId> --key ctrl-c --json
cockpit side-panel terminal read --lines 200 --json
cockpit side-panel terminal read --session <sessionId> --screen --json
cockpit side-panel terminal rename --session <sessionId> --name "Title" --json
cockpit side-panel terminal close --session <sessionId> --json
cockpit side-panel terminal hide --json
cockpit side-panel width --px 720 --json

Notes:

  • cockpit side-panel terminal read takes --raw or --screen, not both; together they answer invalid_option (exit 1) and send nothing.
  • cockpit side-panel browser shows the task's session of its primary Browser Identity. When the task has several Identities, add --browser-identity <name|id> (or use cockpit browser show --browser-identity <name|id>) to show that Identity's session instead, without changing the assignment. An Identity that is not assigned to the task is rejected.
  • cockpit side-panel explorer shows one of the task's current folders: the working folder, the project's folders as they are now, and the home of the task's Crew. Without --root or --file it opens the working folder. An absolute --file opens in the deepest of these folders that holds it; a relative --file is resolved from the working folder and must stay inside it. --root picks the top folder and accepts only one of these folders (a relative --root is resolved from the working folder); --file is then resolved from it. A file is selected and previewed. Giving the top folder itself (--file . or its path) opens the tree with nothing selected; a folder inside it is selected and opened. A path in the Crew home that is not in the working folder opens the Crew home view instead, with the same sender rules as crew-home. A path outside these folders, including a folder removed from the project that is not the working folder, answers outside_project, and a path that does not exist answers file_not_found; both exit 1, leave the panel unchanged, and leave no card. Use cockpit side-panel file for any other file.
  • cockpit side-panel file opens the requested path directly without waiting for the project tree. Relative paths are resolved from the CLI working directory before sending. A path that does not exist on the target host returns file_not_found (exit 1) without changing the panel. Use cockpit side-panel explorer --file when the Explorer tree is needed.
  • cockpit side-panel file --line <n> opens Raw mode by default, scrolls to and highlights one line. An explicit --mode preview keeps Preview; switching to Raw then reveals the requested line. Add --end-line <n> to highlight an inclusive range; --end-line must be greater than or equal to --line.
  • cockpit side-panel crew-home opens the task's Crew home as an Explorer with the home as the top folder: on a Crew's own task it is the Folder tab of the Crew panel, and on the child and grandchild tasks that Crew owns it is the Crew home tab next to the project Explorer; open --kind crew-home is the same, and status reports the kind as crew-home-explorer. Cockpit finds the home from the task's Crew each time, so there is no --root. --file is resolved from the Crew home, not from the CLI working directory; an absolute path must be inside the real Crew home. A task without a Crew home, or a Crew home that is missing, answers crew_home_unavailable; a path outside the home (including through .., a file:// URL, or a symbolic link) answers outside_root; a path that does not exist answers file_not_found. Each error exits 1 and leaves the panel unchanged. Cockpit never creates a missing home or opens another folder instead. explorer sends a path in the Crew home here. Run inside a task, the command tells Cockpit which task sent it, by the task's secret (cockpit help crew): a shell outside a task, the owner's other tasks, and the Crew's own task and its child tasks may open the home; a task of another Crew answers forbidden_from_crew and a task named without its secret task_unverified (HTTP 403), for crew-home, open, status, close, and terminal alike while a Crew home is the task's panel.
  • cockpit side-panel artifact opens the Creative Studio artifact review panel (3D model or picture book review). It only works for Creative Studio tasks; --artifact and --version accept ids or latest.
  • cockpit side-panel talk [roomId] opens the Talk Room conversation view (latest or omitted = most recently active room, list = room list). See cockpit help talk.
  • cockpit side-panel child-tasks [childTaskId] opens the current task's active child tasks. Pass the child task id positionally or with --child-task-id; use --task-id to specify the parent task when there is no current task context.
  • cockpit side-panel ask opens the Ask tab, which lists every open Ask on this device and answers or closes them with the same choices, free-form input, per-question and whole answers, attachments, and media as the Ask window. It is where to answer when notifications.askWindow is false. Pending secure input requests from cockpit secret request are listed there too, for entering the value; they are not Asks. See cockpit help ask and cockpit help secret.
  • The Browser panel always shows the current Browser Identity name and color. Switching it changes the task assignment and opens that Identity's isolated persistent partition.
  • Prefer the side panel whenever a result is visual — a UI change, a diff review, a generated image, a report page.

Successful agent display requests leave a compact card in the task chat on Desktop and PWA. The card records the resolved target on this host and validates its host/task reference when opened; no prose link is needed. Desktop reopens the matching side panel. PWA opens that target in its existing task panel when the user taps the card, without switching away from a document on arrival. Closing the panel preserves the chat position and draft.

HTML cards refer to the saved Surface ID. Files and diffs show current content; Browser cards refer to the same host Identity, session, and tab, not a URL opened in the phone's browser. Deleted or unavailable targets report an error instead of opening another target. An Explorer card is checked against the task's current folders when it is opened, and a folder removed from the project is reported instead of shown. Display success means the host accepted the request, not that every device rendered it. Existing HTML unread notices are unchanged. Closing, resizing, manual panel selection, and reopening a card do not create another card. A transport retry reuses the operation ID; a new invocation can intentionally present the same target again.

HTML surfaces can opt into isolated local JavaScript with <meta name="cockpit-scripts" content="isolated"> on Desktop and PWA. External communication stays blocked and only explicit user actions can send bounded messages to the owning task. See cockpit help html for the example and restrictions.

HTTP errors exit 1 and preserve the server's error code and local instance.