Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ jobs:
pkg-config clang libclang-dev libwayland-dev libpipewire-0.3-dev \
libxcb1-dev libxcb-randr0-dev libxcb-shm0-dev libdbus-1-dev \
libegl-dev libgbm-dev
# fish and zsh, for the completion scripts' tests (main.rs
# `fish_completes_from_the_table`, `zsh_completes_from_the_table`),
# which run them in the real shell and skip where it is missing. Test
# tools only: nothing links against them.
- name: shells the completion tests drive
if: runner.os == 'Linux'
run: sudo apt-get install -y --no-install-recommends fish zsh
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
Expand All @@ -77,7 +84,11 @@ jobs:
git config --global user.name "ci"
- run: cargo clippy --all-targets
- run: cargo test --lib
# The completion tests skip a shell that is missing; here every shell
# the runner has is required, so a skip cannot pass for a run.
- run: cargo test --bins
env:
INCODE_TEST_SHELLS: ${{ runner.os == 'Linux' && 'bash,fish,zsh,powershell' || runner.os == 'macOS' && 'bash,zsh,powershell' || 'bash,powershell' }}
# incode's commands under `sandbox_engine = "sbx"`, for real (Linux;
# it says it skipped elsewhere).
- run: cargo test --test sbx_engine
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ agreeing what "done" means.
| `incode --desktop-stop` | Halt the desktop driving this workspace. |
| `incode --install-tools` | Download, check and unpack every [external tool](#external-tools) in `admin.json`, then exit (non-zero if any was not installed). |
| `incode update [--check]` | Install the latest release over this program, checked against its `SHA256SUMS` (see [Install](#install)); `--check` only reports whether there is one. |
| `incode completions <bash\|zsh\|fish\|powershell>` | Print a completion script for that shell: flags, the values of `-p`, `--output-format` and `--spec-gate`, the subcommands and their verbs (`mcp login`, `plugin add`, …), and file names after a path flag. Load it with `source <(incode completions bash)` (zsh: the same, after `compinit`), `incode completions fish \| source`, or in PowerShell `incode completions powershell \| Out-String \| Invoke-Expression` — in your shell's startup file to keep it. |
| `incode --tool-server` | Internal. Started by the agent CLI that incode launched; offers incode's tools over MCP and runs nothing itself. |
| `incode --desktop-mcp` | Internal. The desktop tools' executor, started by incode's toolbox. |
| `incode --team-mcp --team-channel <p>` | Internal. The team channel as an MCP server, for `codex`. |
Expand Down
Loading
Loading