cockpit side-panel
cockpit side-panelの構文、オプション、結果、制約をcockpit CLIの正本から自動生成したリファレンスです。
最新バージョンでは、画面や操作が一部異なる場合があります。
この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.
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 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 browsershows the task's session of its primary Browser Identity. When the task has several Identities, add--browser-identity <name|id>(or usecockpit 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 fileopens the requested path directly without waiting for the project tree. Usecockpit side-panel explorer --filewhen 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 previewkeeps Preview; switching to Raw then reveals the requested line. Add--end-line <n>to highlight an inclusive range;--end-linemust be greater than or equal to--line.cockpit side-panel artifactopens the Creative Studio artifact review panel (3D model or picture book review). It only works for Creative Studio tasks;--artifactand--versionaccept ids orlatest.cockpit side-panel talk [roomId]opens the Talk Room conversation view (latestor omitted = most recently active room,list= room list). Seecockpit 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-idto specify the parent task when there is no current task context.cockpit side-panel askopens 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 whennotifications.askWindowisfalse. Pending secure input requests fromcockpit secret requestare listed there too, for entering the value; they are not Asks. Seecockpit help askandcockpit 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. 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.