Skip to content

Add runagent.sh feature (bun install global)#243

Closed
Copilot wants to merge 3 commits intomainfrom
copilot/add-runagent-feature
Closed

Add runagent.sh feature (bun install global)#243
Copilot wants to merge 3 commits intomainfrom
copilot/add-runagent-feature

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 30, 2026

Adds a new community devcontainer feature for runagent — a TypeScript SDK for the RunAgent AI agent platform — installed via bun install -g instead of npm.

New files

  • src/runagent.sh/ — feature using bun install method
    • Auto-installs Bun to /usr/local if not present
    • Supports pinned versions via VERSION option (default: latest)
  • test/runagent.sh/test.sh — validates the runagent package is installed at /usr/local/install/global/node_modules/runagent (bun's global package directory with BUN_INSTALL=/usr/local)
  • README.md — row added alphabetically between ripgrep and schpet/linear-cli

Install behaviour

# latest
bun install -g runagent

# pinned
bun install -g "runagent@1.2.3"

The runagent npm package is a TypeScript SDK (no CLI binary). bun install -g places it at /usr/local/install/global/node_modules/runagent rather than creating a binary in /usr/local/bin/.

Modelled after the existing critique.work bun-based feature.

Original prompt

Add "runagent.sh" feature.

Use bun install global instead of npm

@sebst sebst marked this pull request as ready for review March 30, 2026 10:57
Copilot AI changed the title [WIP] Add runagent.sh feature and use bun install global Add runagent.sh feature (bun install global) Mar 30, 2026
Copilot AI requested a review from sebst March 30, 2026 11:04
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

Copilot AI commented Mar 30, 2026

Tests fail

The runagent npm package (v0.1.49) is a TypeScript SDK — it has no bin entry in its package.json, so bun install -g runagent installs the package successfully but never creates /usr/local/bin/runagent. The test was looking for a binary that can't exist.

Fixed in 0151a9c: the test now checks for the package's presence at the correct bun global modules path (/usr/local/install/global/node_modules/runagent), which is where bun install -g with BUN_INSTALL=/usr/local places the package. Also updated the description in devcontainer-feature.json, NOTES.md, and README.md to accurately say "TypeScript SDK" instead of "CLI".

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:

  • docs.run-agent.ai
    • 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 (dns block)

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

Copilot AI requested a review from sebst March 30, 2026 11:17
@sebst sebst closed this Mar 30, 2026
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