-
Notifications
You must be signed in to change notification settings - Fork 4.1k
feat: Add --id option to connect to existing remote agents via tunnel #7999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 issue found across 3 files
Prompt for AI agents (all 1 issues)
Understand the root cause of the following 1 issues and fix them.
<file name="extensions/cli/src/commands/remote.ts">
<violation number="1" location="extensions/cli/src/commands/remote.ts:253">
Rule violated: **Don't use console.log**
Route this output through the logger to comply with the "Don't use console.log" rule and keep logging consistent.</violation>
</file>
React with 👍 or 👎 to teach cubic. Mention @cubic-dev-ai to give feedback, ask questions, or re-run the review.
| ); | ||
| await gracefulExit(1); | ||
| function printStartJson(payload: Record<string, unknown>) { | ||
| console.log(JSON.stringify(payload)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rule violated: Don't use console.log
Route this output through the logger to comply with the "Don't use console.log" rule and keep logging consistent.
Prompt for AI agents
Address the following comment on extensions/cli/src/commands/remote.ts at line 253:
<comment>Route this output through the logger to comply with the "Don't use console.log" rule and keep logging consistent.</comment>
<file context>
@@ -9,155 +9,258 @@ import { getRepoUrl } from "../util/git.js";
- );
- await gracefulExit(1);
+function printStartJson(payload: Record<string, unknown>) {
+ console.log(JSON.stringify(payload));
+}
+
</file context>
|
🎉 This PR is included in version 1.23.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.21.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Summary by cubic
Adds a --id option to connect to an existing remote agent via a tunnel, with improved flow and error handling for the remote command. Also updates start-mode JSON output and tests.
New Features
Refactors