We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87d4c2f commit 9e1473bCopy full SHA for 9e1473b
packages/opencode/src/cli/cmd/run.ts
@@ -545,9 +545,10 @@ export const RunCommand = cmd({
545
}
546
547
548
- // Validate agent if specified
549
const agent = await (async () => {
550
if (!args.agent) return undefined
+ if (args.attach) return args.agent
551
+
552
const entry = await Agent.get(args.agent)
553
if (!entry) {
554
UI.println(
0 commit comments