The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu
Go agent-ai-cliagent-harnessesagent-securitybrowser-extensionciclaude-codecloudcodexcursordetection-engineeringjevknowledge-basememorymobile-device-managementobservabilitysecuritysecurity-information-and-event-managementsecurity-toolstelemetrytraces
Fix fx resume command: use 'resume' subcommand instead of '--resume' flag
Cursor Agente9c8cfd6f99d
diff --git a/cli/beacon/internal/handoff/fx_test.go b/cli/beacon/internal/handoff/fx_test.goindex 64bccb34..fc4555cc 100644--- a/cli/beacon/internal/handoff/fx_test.go+++ b/cli/beacon/internal/handoff/fx_test.go@@ -133,7 +133,7 @@ func TestPlanResumeReopensAnFxSessionInItsWorkspace(t *testing.T) {t.Fatalf("PlanResume: %v", err)}// fx scopes sessions to a workspace, so it must start in the session's.- if plan.Mode != ModeNative || plan.Executable != "/bin/fx" || !reflect.DeepEqual(plan.Args, []string{"--resume", fxSessionA}) || plan.Dir != session.Directory {+ if plan.Mode != ModeNative || plan.Executable != "/bin/fx" || !reflect.DeepEqual(plan.Args, []string{"resume", fxSessionA}) || plan.Dir != session.Directory {t.Fatalf("plan = %+v", plan)}}diff --git a/cli/beacon/internal/handoff/runtimes.go b/cli/beacon/internal/handoff/runtimes.goindex 0bed6668..d41bb791 100644--- a/cli/beacon/internal/handoff/runtimes.go+++ b/cli/beacon/internal/handoff/runtimes.go@@ -163,7 +163,7 @@ var runtimes = []Runtime{Executable: "fx",// fx looks a session id up within the workspace it runs in; the plan starts it in the// session's workspace root.- Resume: func(s Session) ([]string, bool) { return []string{"--resume", s.ID}, true },+ Resume: func(s Session) ([]string, bool) { return []string{"resume", s.ID}, true },// fx resumes only sessions of the workspace it is started in.ResumesInSessionDir: true,// No NewSession: fx has no interactive session that starts from a prompt (`fx ask` isdiff --git a/docs/cli/handoff.mdx b/docs/cli/handoff.mdxindex 9698295a..2cd9310f 100644--- a/docs/cli/handoff.mdx+++ b/docs/cli/handoff.mdx@@ -113,7 +113,7 @@ There are two ways to resume:| Cline | `cline --tui --auto-approve false --id <id>` || Pi | `pi --session <session file>` || Prime Agent | `prime-agent --resume <session file>` |- | fx | `fx --resume <id>`, in the session's workspace |+ | fx | `fx resume <id>`, in the session's workspace |- **Start a new session from a brief.** Otherwise, or with `--agent` naming another runtime or with `--new`, Beacon writes a brief (see `export`) and starts a new session. The first message of that session points at the brief: