Skip to content

display console link after agent start#891

Open
davidzhao wants to merge 2 commits into
mainfrom
fix/agent-dev-url-default
Open

display console link after agent start#891
davidzhao wants to merge 2 commits into
mainfrom
fix/agent-dev-url-default

Conversation

@davidzhao

@davidzhao davidzhao commented Jun 27, 2026

Copy link
Copy Markdown
Member

also fixes agent dev assuming it's localhost

the agent sends its project subdomain and agent-name, so we can reliably send to the right project/agent in console

@rektdeckard

rektdeckard commented Jun 29, 2026

Copy link
Copy Markdown
Member

@davidzhao is there a corresponding agents branch I can test this on?

EDIT: found it livekit/agents#6260

@rektdeckard rektdeckard left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, and working as expected with agent feature branch.

Comment thread cmd/lk/agent_run.go
// logs rather than getting buried in them.
time.AfterFunc(time.Second, func() {
out.Status("")
out.Statusf("Agent console: %s", link)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Tiny nit, I would format the link in a bright color (util.Accented). Nice to have would also be to wrap with OSC 8 to make it a clickable link in supporting terminals (there are many).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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