Sebastian Unterschütz
9334003c9e
feat: detect NetBox token version, hint on v1, better 403 message
...
- TokenVersion() distinguishes nbt_-prefixed v2 tokens from legacy v1
- 403 errors now say "check token permissions" + v1 hint if applicable
- Setup wizard prints a note after saving if a v1 token was entered
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-23 13:11:01 +02:00
Sebastian Unterschütz
ff9c61c087
feat: interactive setup wizard for first-run and netssh configure
...
Release / release (push) Successful in 1m36s
- Auto-detects missing config (netbox.url empty) and launches wizard
- `netssh configure` re-runs the wizard anytime to change settings
- 3-page huh form: NetBox connection, SSH defaults, resolver & cache
- Saves to ~/.config/netssh.yaml (permissions 0600)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
v0.0.2
2026-05-23 13:04:55 +02:00
Sebastian Unterschütz
11f5319eae
ci: delete existing release before recreating on retrigger
...
Release / release (push) Successful in 1m32s
Prevents curl exit 22 (HTTP 409) when a tag's release already exists.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
v0.0.1
2026-05-23 12:56:50 +02:00
Sebastian Unterschütz
d178f8b053
fix: add cmd/netssh to git and fix overly broad gitignore rule
...
Release / release (push) Failing after 1m0s
/netssh ignores only the root binary, not the cmd/netssh/ source directory.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-23 12:52:09 +02:00
Sebastian Unterschütz
8ef4bbec16
Add core modules (SSH args parser, cache, resolver, NetBox client) with tests
Release / release (push) Failing after 51s
2026-05-23 12:38:41 +02:00