warp
warp copied to clipboard
Add Warp Control CLI foundation
Description
Adds the first foundation slice for the Warp Control CLI:
- Adds shared
local_controlprotocol, catalog, auth, discovery, selection, selector, and client scaffolding. - Adds standalone
warpctrlcommand parsing forinstance list,app ping,app version,tab create, and completions. - Adds private local-control settings and a feature-gated Settings > Scripting page for outside-Warp control and granular permissions.
- Adds app-side scoped credential issuance, loopback control routing, metadata handlers, and a first
tab.createapp-state mutation path. - Checks in local Warp Control CLI specs and updates macOS/Linux bundle scripts for the
warpctrlartifact.
Linked Issue
No linked issue.
Testing
- [x]
cargo fmt - [x]
cargo clippy --workspace --all-targets --all-features --tests -- -D warnings - [x]
cargo check -p local_control -p warp_cli - [x]
cargo check -p warp --features warp_control_cli --bin warpctrl - [x]
cargo check -p warp --bin warpctrl - [x]
cargo nextest run --no-fail-fast --workspace -p local_control - [x]
cargo nextest run --no-fail-fast -p warp_cli - [x]
bash -n script/macos/bundle - [x]
bash -n script/linux/bundle - [x]
git --no-pager diff --check - [ ] I have manually tested my changes locally with
./script/run
Manual UI testing was not run in this session.
Agent Mode
- [x] Warp Agent Mode - This PR was created via Warp's AI Agent Mode
CHANGELOG-NONE
Co-Authored-By: Oz [email protected]