Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

About

Community chat panel for the GitHub Copilot CLI in Orca. Unofficial, not affiliated with GitHub or Microsoft.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Copilot CLI Chat (unofficial)

Disclaimer: This is an independent open-source project. It is not affiliated with, endorsed by, or sponsored by GitHub or Microsoft. It is only a visual interface for the official GitHub Copilot CLI, which must be installed and signed in separately (requires a GitHub Copilot subscription). GitHub and Copilot are trademarks of GitHub, Inc. The Copilot name is used here only to indicate compatibility with the GitHub Copilot CLI.

A chat panel for Orca that drives the official GitHub Copilot CLI (copilot -p … --output-format json) in the focused workspace. Because the real CLI runs, your own Copilot agents, skills and hooks keep working.

Features

  • Plain, dark chat layout in the style of an editor chat: your messages sit subtly on the right, answers use the full width, with Markdown, fenced code blocks, syntax highlighting and a Copy button on every code block (plus "Copy answer"). It follows Orca's light/dark theme.
  • Rounded input box at the bottom: model menu at the bottom left, attach and send buttons in the same row. Enter sends, Shift+Enter adds a line, Esc stops a running answer.
  • Thinking indicator (pulsing dots) with a running timer.
  • Live tool calls, collapsible: name, arguments, status (running / done / failed) and output.
  • Model menu filled from the installed CLI: the list it prints under model in copilot help config ("Default" = the CLI's own default, "Auto" = let Copilot pick). Only when the CLI lists nothing, the built-in list from Copilot CLI 1.0.114 is used. The choice is remembered (plugin setting model).
  • Attachments as removable chips: pick from the workspace, upload from your computer, or drag and drop. Files are passed the way the CLI documents it: @path in the prompt.
  • Usage per answer and in the footer: premium requests, tokens and quota, but only what the CLI actually reports. Anything missing shows "not available"; nothing is estimated.
  • New chat, Stop, Retry, and a separate history per workspace. Follow-up messages continue the CLI session (--resume=<session id>, taken from the CLI's output).
  • Easy to find: Ctrl+Shift+K (Cmd+Shift+K on macOS), a "Copilot CLI" status bar item, a command palette entry ("Copilot CLI Chat: Open"), a one-time hint after install, and its own icon.

Requirements

  1. A GitHub Copilot subscription.
  2. The GitHub Copilot CLI, installed and signed in:
    npm install -g @github/copilot
    copilot login
    Check with copilot --version.
  3. Orca Desktop 1.4.260 or newer.

Install (local)

Orca → Settings → Plugins → install from folder, and pick the unpacked copilot-chat-agent-0.3.0 folder (or unpack the zip first). Approve the requested access: workspaces (read), the plugin's own settings and storage, and desktop notifications.

Then open the right sidebar (Ctrl/Cmd+Shift+K or the status bar item) and click the chat icon.

Settings

Setting Meaning
Model Passed as --model. Empty = the CLI's default. The panel's menu writes it.
Path to the copilot CLI Empty when copilot is on your PATH. Otherwise the executable, or its .js entry file.
Time limit per answer Minutes before the CLI is stopped (default 10).

How it works

  • The plugin's worker (a Node process Orca starts) runs copilot -p "<prompt>" --output-format json --no-ask-user [--model M] [--resume=ID] in the focused workspace folder and reads its JSONL output line by line.
  • No tokens are read or stored by the plugin; signing in happens in the CLI.
  • Tools that need approval are not pre-approved (no --allow-tool / --allow-all-tools), so the CLI only runs what it may run without asking.

Known limits

  • The shortcut and command can only toggle Orca's right sidebar: plugins have no API to select a specific panel. If another panel is showing, click the chat icon once; Orca remembers it. When the panel gets focus, the cursor goes to the message box.
  • The panel cannot open itself on first start (no such API); you get a one-time notification instead.
  • GitHub does not document the per-line JSON schema of -p. The plugin understands the Copilot SDK event names and falls back to plain-text parsing, so tool calls and usage depend on what your CLI version prints.
  • Files from your computer are attached as text (up to 48 KB each); binary files are refused.
  • Copying uses the frame's copy command (the system clipboard API is blocked in plugin frames).
  • Desktop app only (the panel needs Orca's isolated frames).

License

MIT

About

Community chat panel for the GitHub Copilot CLI in Orca. Unofficial, not affiliated with GitHub or Microsoft.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages