devstuff 2.5.0__py3-none-any.whl → 2.7.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dev_setup/functions.yaml +27 -0
- dev_setup/tools.yaml +96 -0
- {devstuff-2.5.0.dist-info → devstuff-2.7.0.dist-info}/METADATA +20 -1
- {devstuff-2.5.0.dist-info → devstuff-2.7.0.dist-info}/RECORD +6 -6
- {devstuff-2.5.0.dist-info → devstuff-2.7.0.dist-info}/WHEEL +1 -1
- {devstuff-2.5.0.dist-info → devstuff-2.7.0.dist-info}/entry_points.txt +0 -0
dev_setup/functions.yaml
CHANGED
|
@@ -1,6 +1,33 @@
|
|
|
1
1
|
# yaml-language-server: $schema=./functions.schema.json
|
|
2
2
|
version: 1
|
|
3
3
|
functions:
|
|
4
|
+
pids-of:
|
|
5
|
+
name: PIDs Of User
|
|
6
|
+
description: List process IDs owned by a user, one per line
|
|
7
|
+
category: system
|
|
8
|
+
type: script
|
|
9
|
+
params:
|
|
10
|
+
- name: username
|
|
11
|
+
description: User whose processes to list
|
|
12
|
+
required: true
|
|
13
|
+
script: |
|
|
14
|
+
set -uo pipefail
|
|
15
|
+
if ! command -v pgrep >/dev/null 2>&1; then
|
|
16
|
+
echo "pgrep is required (install the procps package)." >&2
|
|
17
|
+
exit 1
|
|
18
|
+
fi
|
|
19
|
+
if ! uid="$(id -u -- "$username" 2>/dev/null)"; then
|
|
20
|
+
echo "Unknown user: $username" >&2
|
|
21
|
+
exit 2
|
|
22
|
+
fi
|
|
23
|
+
pgrep -u "$uid"
|
|
24
|
+
status=$?
|
|
25
|
+
# pgrep returns 1 for no matches, which is a successful empty lookup.
|
|
26
|
+
if [ "$status" -eq 1 ]; then
|
|
27
|
+
exit 0
|
|
28
|
+
fi
|
|
29
|
+
exit "$status"
|
|
30
|
+
|
|
4
31
|
ssh-agent-key:
|
|
5
32
|
name: SSH Agent + Add Key
|
|
6
33
|
description: Start ssh-agent in the current shell and add a key to it
|
dev_setup/tools.yaml
CHANGED
|
@@ -119,6 +119,30 @@ tools:
|
|
|
119
119
|
set -euo pipefail
|
|
120
120
|
sudo rm -f /usr/local/bin/bat
|
|
121
121
|
|
|
122
|
+
claude-code:
|
|
123
|
+
name: Claude Code
|
|
124
|
+
description: Anthropic's agentic coding CLI
|
|
125
|
+
category: ai-tools
|
|
126
|
+
type: npm
|
|
127
|
+
npm_name: "@anthropic-ai/claude-code"
|
|
128
|
+
check_cmd: claude
|
|
129
|
+
help_cmd: claude --help
|
|
130
|
+
docs_url: https://code.claude.com/docs
|
|
131
|
+
requires:
|
|
132
|
+
- nvm
|
|
133
|
+
|
|
134
|
+
codex:
|
|
135
|
+
name: Codex CLI
|
|
136
|
+
description: OpenAI coding agent for the terminal
|
|
137
|
+
category: ai-tools
|
|
138
|
+
type: npm
|
|
139
|
+
npm_name: "@openai/codex"
|
|
140
|
+
check_cmd: codex
|
|
141
|
+
help_cmd: codex --help
|
|
142
|
+
docs_url: https://github.com/openai/codex
|
|
143
|
+
requires:
|
|
144
|
+
- nvm
|
|
145
|
+
|
|
122
146
|
commitizen:
|
|
123
147
|
name: Commitizen
|
|
124
148
|
description: Conventional-commit prompt, semantic version bumping, and changelog generation
|
|
@@ -131,6 +155,49 @@ tools:
|
|
|
131
155
|
requires:
|
|
132
156
|
- uv
|
|
133
157
|
|
|
158
|
+
devin:
|
|
159
|
+
name: Devin CLI
|
|
160
|
+
description: Cognition's AI software engineer, in the terminal
|
|
161
|
+
category: ai-tools
|
|
162
|
+
type: bash
|
|
163
|
+
check_cmd: command -v devin >/dev/null 2>&1 || test -x "$HOME/.local/bin/devin"
|
|
164
|
+
help_cmd: devin --help
|
|
165
|
+
docs_url: https://docs.devin.ai/cli
|
|
166
|
+
install_script: |
|
|
167
|
+
set -euo pipefail
|
|
168
|
+
tmp="$(mktemp --suffix=.sh)"
|
|
169
|
+
trap 'rm -f "$tmp"' EXIT
|
|
170
|
+
curl -fsSL https://cli.devin.ai/install.sh -o "$tmp"
|
|
171
|
+
# The installer's last step runs `devin setup`, an interactive auth/MCP
|
|
172
|
+
# wizard with no flag to skip it. Strip the line (best-effort — if
|
|
173
|
+
# upstream renames it, stdin is /dev/null anyway so the wizard reads EOF
|
|
174
|
+
# instead of hanging on a prompt nobody can see). `devin auth login`
|
|
175
|
+
# covers the same ground whenever the user is ready.
|
|
176
|
+
sed -i 's|"$VERSION_DIR/bin/$COMPILED_BIN_NAME" setup.*|# &|' "$tmp"
|
|
177
|
+
bash "$tmp" </dev/null || true
|
|
178
|
+
# A swallowed wizard exit code means the script's own status can't be
|
|
179
|
+
# trusted — verify the ~/.local/bin/devin symlink it creates instead.
|
|
180
|
+
if [ ! -x "$HOME/.local/bin/devin" ]; then
|
|
181
|
+
echo "install failed — ~/.local/bin/devin is missing" >&2
|
|
182
|
+
exit 1
|
|
183
|
+
fi
|
|
184
|
+
echo "Run 'devin auth login' to authenticate."
|
|
185
|
+
remove_script: |
|
|
186
|
+
set -euo pipefail
|
|
187
|
+
if [ -x "$HOME/.local/bin/devin" ]; then
|
|
188
|
+
# `devin uninstall` removes the ~/.local/bin symlink and the versioned
|
|
189
|
+
# payload under ~/.local/share/devin; --force skips its confirmation
|
|
190
|
+
# prompt (devstuff already confirmed). Best-effort — the rm's below
|
|
191
|
+
# cover a partial or failed uninstall.
|
|
192
|
+
"$HOME/.local/bin/devin" uninstall --force </dev/null || true
|
|
193
|
+
fi
|
|
194
|
+
rm -f "$HOME/.local/bin/devin"
|
|
195
|
+
rm -rf "${XDG_DATA_HOME:-$HOME/.local/share}/devin"
|
|
196
|
+
# The installer also links man pages into the user man dir; they dangle
|
|
197
|
+
# once _versions is gone.
|
|
198
|
+
rm -f "${XDG_DATA_HOME:-$HOME/.local/share}"/man/man1/devin*.1
|
|
199
|
+
echo "Config and credentials under ~/.config/devin were left in place."
|
|
200
|
+
|
|
134
201
|
docker:
|
|
135
202
|
name: Docker
|
|
136
203
|
description: Container runtime + docker compose plugin
|
|
@@ -311,6 +378,23 @@ tools:
|
|
|
311
378
|
PY
|
|
312
379
|
fi
|
|
313
380
|
|
|
381
|
+
hey-dave:
|
|
382
|
+
name: hey-dave
|
|
383
|
+
description: Terminal coding-agent harness that runs D.A.V.E. natively
|
|
384
|
+
category: ai-tools
|
|
385
|
+
type: uvx
|
|
386
|
+
pip_name: hey-dave
|
|
387
|
+
# Requires-Python is >=3.14 — ask uv for it explicitly so the tool env is
|
|
388
|
+
# built on a managed 3.14 rather than whichever interpreter happens to win
|
|
389
|
+
# discovery on the host.
|
|
390
|
+
uv_python: "3.14"
|
|
391
|
+
# The console script is `dave`, not `hey-dave` — check what actually lands.
|
|
392
|
+
check_cmd: dave
|
|
393
|
+
help_cmd: dave --help
|
|
394
|
+
docs_url: https://pypi.org/project/hey-dave/
|
|
395
|
+
requires:
|
|
396
|
+
- uv
|
|
397
|
+
|
|
314
398
|
htop:
|
|
315
399
|
name: htop
|
|
316
400
|
description: Interactive process and resource monitor
|
|
@@ -760,6 +844,18 @@ tools:
|
|
|
760
844
|
set -euo pipefail
|
|
761
845
|
rm -f "$HOME/.local/bin/uv" "$HOME/.local/bin/uvx" "$HOME/.cargo/bin/uv" "$HOME/.cargo/bin/uvx"
|
|
762
846
|
|
|
847
|
+
llamactl:
|
|
848
|
+
name: llamactl
|
|
849
|
+
description: CLI for managing LlamaDeploy projects and deployments (LlamaIndex)
|
|
850
|
+
category: ai-tools
|
|
851
|
+
type: uvx
|
|
852
|
+
pip_name: llamactl
|
|
853
|
+
check_cmd: llamactl
|
|
854
|
+
help_cmd: llamactl --help
|
|
855
|
+
docs_url: https://github.com/run-llama/llama_deploy
|
|
856
|
+
requires:
|
|
857
|
+
- uv
|
|
858
|
+
|
|
763
859
|
llm-checker:
|
|
764
860
|
name: llm-checker
|
|
765
861
|
description: Tool to check llm compatibility with hardware
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: devstuff
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.7.0
|
|
4
4
|
Summary: Development environment setup CLI for Linux
|
|
5
5
|
Project-URL: Repository, https://github.com/thesawdawg/dev-setup-py
|
|
6
6
|
Author-email: Sawyer <sawyerksu@gmail.com>
|
|
@@ -33,6 +33,9 @@ A Python-based CLI for managing your Linux development environment. Install, rem
|
|
|
33
33
|
|
|
34
34
|
## Prerequisites
|
|
35
35
|
|
|
36
|
+
Maintainers: see [Repository agent setup](docs/github-agent.md) for optional
|
|
37
|
+
GitHub Actions PR review and CI failure triage.
|
|
38
|
+
|
|
36
39
|
| Requirement | Notes |
|
|
37
40
|
|-------------|-------|
|
|
38
41
|
| **OS** | Ubuntu 20.04+ or Debian 11+ (amd64) |
|
|
@@ -1176,6 +1179,7 @@ ones tools already have — for now, custom functions are hand-edited YAML at
|
|
|
1176
1179
|
|
|
1177
1180
|
| Key | Category | Type | Description | Args |
|
|
1178
1181
|
|-----|----------|------|--------------|------|
|
|
1182
|
+
| `pids-of` | system | script | List process IDs owned by a user, one per line | `username` |
|
|
1179
1183
|
| `ssh-agent-key` | auth | shell-eval (bashrc) | Start ssh-agent in the current shell and add a key to it | `key_path` |
|
|
1180
1184
|
| `validate-docker-compose` | validation | script | Validate a docker-compose.yml file in the current directory | — |
|
|
1181
1185
|
| `validate-yaml` | validation | script | Validate a YAML file's syntax using `yq` | `file` |
|
|
@@ -1184,6 +1188,16 @@ ones tools already have — for now, custom functions are hand-edited YAML at
|
|
|
1184
1188
|
| `aws-saml-reauth` | web-dev | script | Reauthorize the AWS CLI via `saml2aws login --force` | `profile` (optional) |
|
|
1185
1189
|
| `which-ansible` | validation | script | Show which ansible a directory will actually use — the project's uv venv or the global one | `path` (optional) |
|
|
1186
1190
|
|
|
1191
|
+
#### `pids-of`
|
|
1192
|
+
|
|
1193
|
+
```bash
|
|
1194
|
+
devstuff run pids-of sawyer
|
|
1195
|
+
```
|
|
1196
|
+
|
|
1197
|
+
Prints one PID per line for processes whose effective user matches `username`.
|
|
1198
|
+
Requires `pgrep` (the `procps` package). A user with no visible processes returns
|
|
1199
|
+
an empty result successfully; an unknown user produces an error.
|
|
1200
|
+
|
|
1187
1201
|
#### `whats-on-port`
|
|
1188
1202
|
|
|
1189
1203
|
```bash
|
|
@@ -1270,6 +1284,7 @@ Optional utilities you may want on some machines.
|
|
|
1270
1284
|
| `ipython` | IPython | Enhanced interactive Python shell with rich tab completion and magic commands | `ipython --help` |
|
|
1271
1285
|
| `lazygit` | lazygit | TUI git client for fast, keyboard-driven git workflows (`devstuff configure lazygit`) | `lazygit --help` |
|
|
1272
1286
|
| `reptyr` | reptyr | Move a running process to another terminal (`devstuff configure reptyr` for permissions) | `reptyr -h` |
|
|
1287
|
+
| `llamactl` | llamactl | CLI for managing LlamaDeploy projects and deployments (LlamaIndex) | `llamactl --help` |
|
|
1273
1288
|
| `llm-checker` | llm-checker | Check LLM compatibility with your hardware | `llm-checker --help` |
|
|
1274
1289
|
| `lmstudio` | LM Studio | Run large language models locally with a GUI | `lms --help` |
|
|
1275
1290
|
| `mkcert` | mkcert | Zero-config local HTTPS certificates | `mkcert --help` |
|
|
@@ -1277,6 +1292,10 @@ Optional utilities you may want on some machines.
|
|
|
1277
1292
|
| `ollama` | Ollama | Run large language models locally | `ollama --help` |
|
|
1278
1293
|
| `php` | PHP 8.4 | PHP 8.4 + common extensions via ondrej/php PPA | `php --help` |
|
|
1279
1294
|
| `pi` | Pi Coding Agent | AI coding agent npm package | `pi --help` |
|
|
1295
|
+
| `claude-code` | Claude Code | Anthropic's agentic coding CLI | `claude --help` |
|
|
1296
|
+
| `codex` | Codex CLI | OpenAI coding agent for the terminal | `codex --help` |
|
|
1297
|
+
| `devin` | Devin CLI | Cognition's AI software engineer, in the terminal | `devin --help` |
|
|
1298
|
+
| `hey-dave` | hey-dave | Terminal coding-agent harness that runs D.A.V.E. natively | `dave --help` |
|
|
1280
1299
|
| `pre-commit` | pre-commit | Git hook manager for automated code quality checks (`devstuff configure pre-commit`) | `pre-commit --help` |
|
|
1281
1300
|
| `saml2aws` | saml2aws | SAML → AWS STS credentials CLI (Versent) | `saml2aws --help` |
|
|
1282
1301
|
| `starship` | Starship | Fast, cross-shell customizable prompt (`devstuff configure starship`) | `starship --help` |
|
|
@@ -8,12 +8,12 @@ dev_setup/cli.py,sha256=Y_RbHkexTAIQN4neDQ3buo6vmtTMNdXrsYsmY0X_Om8,2976
|
|
|
8
8
|
dev_setup/doctor.py,sha256=JliUAgmiW2HVCWHhT76PIXTBekNXXrc0VfDMaOeLBWY,15918
|
|
9
9
|
dev_setup/function_runner.py,sha256=08F6jvB9-oOyE5ivYtRjnL16JTGsfRnkpvkjSVrJhsM,6957
|
|
10
10
|
dev_setup/functions.schema.json,sha256=VVdpH3xWsdbtqw47S1QqpBcs4O9wd3XZ_s0Q3sGwv0Q,6220
|
|
11
|
-
dev_setup/functions.yaml,sha256=
|
|
11
|
+
dev_setup/functions.yaml,sha256=n3yn8N9FN9TzMRMMgYREmDACUAsO1XmGDuNB-aOVl8U,13477
|
|
12
12
|
dev_setup/functions_catalog.py,sha256=YgR2hY9HM1iol1AZcF-_j02EXCP9U4P3e_5eWes9KH0,7116
|
|
13
13
|
dev_setup/functions_registry.py,sha256=YSl-VgNXPf0hj4WgReg-pZUj4fAjFlwvC165dgon_BE,3682
|
|
14
14
|
dev_setup/generic.py,sha256=Tr7YAkS_SXjExJpyNw3palDuaiNn1TcAoeZ0wHdXIeM,28424
|
|
15
15
|
dev_setup/registry.py,sha256=8lrk6EXCCWk1WNeNnCGLTJ-v8rpCs7-TLYtVXgiuxnA,2243
|
|
16
|
-
dev_setup/tools.yaml,sha256=
|
|
16
|
+
dev_setup/tools.yaml,sha256=m2MEYq_mZuzEU8vCJgPWHdhLuqRjQGNWheqhwQgMXXQ,34234
|
|
17
17
|
dev_setup/ui.py,sha256=Z5nNZV8MN8tAjo1ZWq7-QPZYkPKQKuM7JbmGtiuKTqM,3806
|
|
18
18
|
dev_setup/verbose.py,sha256=N3U9JAYOvFwdd8DT6W7Pqq6RCIUfbcQnPsm0O1TnvQY,5003
|
|
19
19
|
dev_setup/agent/__init__.py,sha256=znrgxUCr_y0Qp-f41S6EaTv-hoTYwoZ9mOMLVge-IJg,226
|
|
@@ -92,7 +92,7 @@ dev_setup/configure/starship/model.py,sha256=HNkIj69DqBQFAq0VTHqPLNZT2DuBZSfF-5y
|
|
|
92
92
|
dev_setup/configure/starship/preview.py,sha256=ZaNhNA3AeHHtPnMqrJbB9XVVXDFbH1R36jm8xyYdt2U,6145
|
|
93
93
|
dev_setup/configure/starship/render.py,sha256=gDE0hbGZ9oDCR1VAZQRDm5EFYviMjj0-eSmr1EnZfn8,10262
|
|
94
94
|
dev_setup/configure/starship/wizard.py,sha256=BmWl-U6ttF79gepDhCv8UxT8ZDIMe1SWnhSkA1iIrGQ,15498
|
|
95
|
-
devstuff-2.
|
|
96
|
-
devstuff-2.
|
|
97
|
-
devstuff-2.
|
|
98
|
-
devstuff-2.
|
|
95
|
+
devstuff-2.7.0.dist-info/METADATA,sha256=wpZ3Mfc24NNUa0YUQM9RackcG6jMmmXdMj8gSrjFZp8,75934
|
|
96
|
+
devstuff-2.7.0.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
97
|
+
devstuff-2.7.0.dist-info/entry_points.txt,sha256=48ITy9ENdXDFrTHwAyVPUpq1MDmgFqcOisOo5mAR6OQ,53
|
|
98
|
+
devstuff-2.7.0.dist-info/RECORD,,
|
|
File without changes
|