You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(search): add cpu subcommand and wide mode to brev search (#289)
* perf(analytics): timeout GPU info collection at 100ms
nvidia-smi and system_profiler can be slow. Wrap getGPUInfo in a
goroutine with a 100ms deadline so it never blocks CLI responsiveness.
* feat(search): add cpu subcommand and wide mode to brev search
Restructure `brev search` into gpu/cpu subcommands:
- `brev search` / `brev search gpu` - GPU instances (default, backwards compatible)
- `brev search gpu --wide` - GPU instances with RAM and ARCH columns
- `brev search cpu` - CPU-only instances via ?include_cpu=true API param
CPU search has dedicated columns (TYPE, PROVIDER, VCPUs, RAM, ARCH, DISK,
$/GB/MO, BOOT, FEATURES, $/HR) and filters (--min-ram, --arch).
Shared filters (--provider, --min-vcpu, --min-disk, --max-boot-time,
--stoppable, --rebootable, --flex-ports, --sort) work across both modes.
Piping into `brev create` works for both GPU and CPU table output.
* refactor(search): make --min-ram and --arch shared flags
Move --min-ram and --arch from CPU-dedicated flags to shared flags
so they are available on all search subcommands (gpu, cpu, and parent).
* fix(search): resolve lint issues in gpusearch
- Fix gofumpt formatting
- Remove unused terminal parameter from displayCPUTable
- Reduce cyclomatic complexity of SortInstances using map-based dispatch
* feat(ls): add GPU column and concurrent instance type fetching
Show GPU name (e.g. A100, H100) in brev ls table output and JSON.
Fetch instance types concurrently with workspaces for no added latency.
Correctly classify instances as gpu/cpu based on actual GPU support.
Remove misleading '(gpu)' suffix from instance type display.
* docs(skill): update brev-cli skill docs for CPU search support
Add CPU search examples, filters reference, and common patterns.
Update trigger keywords and descriptions to include CPU instances.
Copy file name to clipboardExpand all lines: .agents/skills/brev-cli/SKILL.md
+41-7Lines changed: 41 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: brev-cli
3
-
description: Manage GPU cloud instances with the Brev CLI. Use when users want to create GPU instances, search for GPUs, SSH into instances, open editors, copy files, port forward, manage organizations, or work with cloud compute. Trigger keywords - brev, gpu, instance, create instance, ssh, vram, A100, H100, cloud gpu, remote machine.
3
+
description: Manage GPU and CPU cloud instances with the Brev CLI. Use when users want to create instances, search for GPUs or CPUs, SSH into instances, open editors, copy files, port forward, manage organizations, or work with cloud compute. Trigger keywords - brev, gpu, cpu, instance, create instance, ssh, vram, vcpu, A100, H100, cloud gpu, cloud cpu, remote machine.
0 commit comments