Skip to content

Add Discord link to README#40

Merged
sjmiller609 merged 1 commit intomainfrom
juecd-README
Dec 15, 2025
Merged

Add Discord link to README#40
sjmiller609 merged 1 commit intomainfrom
juecd-README

Conversation

@juecd
Copy link
Contributor

@juecd juecd commented Dec 15, 2025

Note

Add GitHub License and Discord badges to the README header.

  • Docs:
    • Update README.md header to include badges: GitHub License and Discord invite link.

Written by Cursor Bugbot for commit a76e557. This will update automatically on new commits. Configure here.

@juecd juecd requested a review from sjmiller609 December 15, 2025 02:03
@sjmiller609 sjmiller609 merged commit bd634e5 into main Dec 15, 2025
4 checks passed
@sjmiller609 sjmiller609 deleted the juecd-README branch December 15, 2025 18:58
sjmiller609 pushed a commit that referenced this pull request Feb 28, 2026
* feat: add YAML config file support via koanf

Add ~/.config/hypeman/cli.yaml support so the CLI can read base_url and
api_key from a config file instead of requiring environment variables.

Config precedence: CLI flags > env vars > config file.

This pairs with the server-side config migration in kernel/hypeman to
enable a zero-config local experience after running install.sh.

* fix: unify credential resolution across all commands

- Add resolveBaseURL() and resolveAPIKey() helpers to config.go
- Update exec, cp, and push commands to use shared helpers
- All commands now consistently use: flag > env > config file
- WebSocket commands no longer bypass cli.yaml configuration

* fix: unify auth precedence in SDK and WebSocket paths

Update getDefaultRequestOptions to use resolveBaseURL() and
resolveAPIKey() so SDK calls and WebSocket calls share the same
HYPEMAN_BEARER_TOKEN > HYPEMAN_API_KEY > config file precedence.

* fix: give HYPEMAN_API_KEY precedence over HYPEMAN_BEARER_TOKEN

HYPEMAN_API_KEY is the documented primary env var. HYPEMAN_BEARER_TOKEN
is a legacy fallback and should not override it.

* chore: remove internal process comment from cmdutil.go

* refactor: use koanf env provider for HYPEMAN_ env vars

Load HYPEMAN_BASE_URL and HYPEMAN_API_KEY via koanf's env provider
in loadCLIConfig() instead of manual os.Getenv checks. This gives
consistent precedence (env > config file) in one place.

HYPEMAN_BEARER_TOKEN remains as a legacy fallback checked separately.

* refactor: remove legacy HYPEMAN_BEARER_TOKEN support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants