Skip to content

Add joelhooks-agent-secrets devcontainer feature#145

Merged
sebst merged 4 commits intomainfrom
copilot/add-joelhooks-agent-secrets
Mar 21, 2026
Merged

Add joelhooks-agent-secrets devcontainer feature#145
sebst merged 4 commits intomainfrom
copilot/add-joelhooks-agent-secrets

Conversation

Copy link
Contributor

Copilot AI commented Mar 21, 2026

Adds a devcontainer feature to install agent-secrets — a portable credential management CLI for AI agents. The installed binary is named secrets.

New files

  • src/joelhooks-agent-secrets/devcontainer-feature.json — feature metadata; supports version option (default: latest)
  • src/joelhooks-agent-secrets/install.sh — downloads agent-secrets_${version}_linux_${arch}.tar.gz from GitHub releases; binary is at the archive root (strip-components=0); installs to /usr/local/bin/secrets
  • test/joelhooks-agent-secrets/test.sh — verifies secrets --version succeeds and output contains secrets

Modified

  • .github/workflows/test.yaml — adds joelhooks-agent-secrets to both test-autogenerated and test-scenarios matrices

Notes

  • Release tag format: v0.5.5; archive filename drops the v prefix: agent-secrets_0.5.5_linux_amd64.tar.gz
  • Arch mapping passes dpkg names (amd64/arm64) through directly — agent-secrets release filenames use the same identifiers

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/joelhooks/agent-secrets/releases/latest
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Add joelhooks-agent-secrets feature</issue_title>
<issue_description>Files:

src/(FeatureName)/devcontainer-feature.json
src/(FeatureName)/install.sh (make sure to set executable bit)
test/(FeatureName)/test.sh
.github/workflows/test.yaml

Releases:

https://github.com/joelhooks/agent-secrets/releases

Test installation process extensively before submitting
Watch for files in releases, naming structure etc.
Test CLI output extensively before writing the test file.</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

Copilot AI changed the title [WIP] Add joelhooks-agent-secrets feature Add joelhooks-agent-secrets devcontainer feature Mar 21, 2026
Copilot AI requested a review from sebst March 21, 2026 17:54
Copy link
Member

@sebst sebst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests fail

Copy link
Contributor Author

Copilot AI commented Mar 21, 2026

tests fail

The test was using secrets --version but agent-secrets doesn't register a --version flag — it uses SilenceErrors: true on the root command so the flag silently fails, giving grep empty input.

Fixed in 6db1b07: the test now runs secrets (no args), which outputs the self-documenting JSON command tree containing the word "secrets", and greps for that.

Copilot AI requested a review from sebst March 21, 2026 18:28
@sebst sebst marked this pull request as ready for review March 21, 2026 18:42
@sebst sebst merged commit 14204a3 into main Mar 21, 2026
10 of 16 checks passed
@sebst sebst deleted the copilot/add-joelhooks-agent-secrets branch March 21, 2026 18:45
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.

Add joelhooks-agent-secrets feature

2 participants