Skip to content

desktop 1.1.9, sessions 0.2.8: fleet subscriptions use the installed CLI - #150

Merged
khaliqgant merged 3 commits into
mainfrom
fix/sessions-cli-gate
Oct 8, 2026
Merged

khaliqgant merged 3 commits into
mainfrom
fix/sessions-cli-gate

Conversation

@khaliqgant

@khaliqgant khaliqgant commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

Fixes a Devin finding on AgentWorkforce/agentrelay.com#172 at its source.

Sessions 0.2.7 (#147) cleared relay_cli when the installed agent-relay wasn't 13.x. setting-up-agent-relay-desktop section 6 uses that same relay_cli, picking a fleet-subscription path by major version: ≥13 directly, <13 with env -u RELAY_AGENT_TOKEN. The Teams guide runs both skills in one flow, so a 12.x or 14.x install fell through to npx -y agent-relay@13, which fails without registry access.

Now a separate relay_cli_checks flag gates only the optional read-only 13.x workspace checks, and relay_cli is left intact.

Sessions 0.2.7 → 0.2.8.

🤖 Generated with Claude Code

View guided diff


Note

Low Risk
Documentation-only skill version bumps and shell workflow fixes; no runtime code or credential handling changes.

Overview
Bumps setting-up-agent-relay-desktop to 1.1.9 and setting-up-agent-relay-sessions to 0.2.8, with matching README / prpm.json entries.

Sessions (0.2.8) stops clearing relay_cli when the installed CLI is not 13.x. A new relay_cli_checks flag limits the 13.x requirement to optional workspace reads (whoami, workspace active, etc.), so the path stays available for the desktop skill’s fleet GitHub subscribe logic.

Desktop (1.1.9) centralizes installed CLI discovery in a shared find_relay_cli() helper (sections 2 and 6, kept in sync), adds command -v as a fallback, and re-runs discovery in section 6 when relay_cli is empty across tool calls so agents don’t fall through to npx agent-relay@13 when a real install exists.

Reviewed by Cursor Bugbot for commit bb12fea. Bugbot is set up for automated code reviews on this repo. Configure here.


Agent Relay sessions

  • claude session 26d00c25 · opened via gh pr create · last active 2026-10-08

…_cli

Clearing relay_cli for a non-13.x CLI made setting-up-agent-relay-desktop
section 6 fall back to npx instead of its own version-specific subscription
path for the installed CLI (agentrelay.com#172 review).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Session-Id: 26d00c25-77c9-401f-b9f0-51ce6c9deda6
@khaliqgant

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-08T16:04:09.777491Z bb12fea Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 920c3068-7706-4bce-8e78-77c62c5ece3f

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4718b38a-9da8-43dd-8a34-9d4e0ce81d9a
📥 Commits

Reviewing files that changed from the base of the PR and between f1f58e0 and 04e84a3.

📒 Files selected for processing (3)
  • README.md
  • prpm.json
  • skills/setting-up-agent-relay-sessions/SKILL.md

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The preflight now runs optional CLI checks only for version 13.x and preserves relay_cli for later desktop-skill use. The README and package manifest list version 0.2.8.

Changes

Agent relay session setup

Layer / File(s) Summary
Preflight behavior and version references
skills/setting-up-agent-relay-sessions/SKILL.md, README.md, prpm.json
Optional preflight CLI checks run only for version 13.x. Other detected versions still trigger the /setup/status notice, but relay_cli remains available to the desktop skill. The README and package manifest now list version 0.2.8.

Priority: ➖ Normal

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Bug fix

Suggested reviewers: miyaontherelay

Merge Risk: ⚪ Minimal · up to 04e84

The preflight keeps the installed CLI available for desktop setup while limiting optional checks to 13.x. No introduced issue was found, so the change appears ready to merge subject to normal checks.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly identifies the sessions version update and the main behavior change: fleet subscriptions use the installed CLI. It also references the related desktop version described in the PR obj…
Description check ✅ Passed The description directly explains the reported bug, the relay_cli and relay_cli_checks changes, the affected desktop workflow, and the package version update.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

A rabbit checks the relay's path,
Then keeps the CLI close at hand.
For version thirteen, checks begin,
Other versions keep the link.
The README marks the release anew,
And 0.2.8 hops into view.

Comment @coderabbitai help to get the list of available commands.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Devin Review found 1 potential issue.

Devin Review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 04e84a3675

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Shell variables do not survive between tool calls, so relay_cli from section
2 (or the sessions skill) is usually unset by section 6, which then fell back
to npx. Section 6 now finds the installed CLI again (section 2's locations
plus PATH, never the .deb's /usr/bin/agent-relay launcher) before choosing
its version-specific path.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Session-Id: 26d00c25-77c9-401f-b9f0-51ce6c9deda6
@khaliqgant khaliqgant changed the title sessions 0.2.8: gate only the optional CLI checks on 13.x, keep relay_cli desktop 1.1.9, sessions 0.2.8: fleet subscriptions use the installed CLI Oct 8, 2026
@khaliqgant

Copy link
Copy Markdown
Member Author

@codex review

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

All reported issues were addressed

Reply with feedback, questions, or to request a fix.

View guided diff | Re-trigger cubic

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: c4aad89690

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

All reported issues were addressed across 4 files

Reply with feedback, questions, or to request a fix.

View guided diff | Re-trigger cubic

…last

Section 2 and section 6 now define the same find_relay_cli: the fixed
user-level locations, then mise and nvm installs (find output kept quoted,
so spaces survive), then PATH (a mise shim, Homebrew), never the .deb's
/usr/bin/agent-relay launcher. Section 2 thus finds the same CLI the
sessions skill sees, and section 6 re-finds it in a new shell.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Session-Id: 26d00c25-77c9-401f-b9f0-51ce6c9deda6
@khaliqgant

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: bb12fea97f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@khaliqgant
khaliqgant merged commit 045e74c into main Oct 8, 2026
3 checks passed
@khaliqgant
khaliqgant deleted the fix/sessions-cli-gate branch October 8, 2026 16:12
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.

1 participant