Skip to content

lk app create emits console URL with unpopulated project ID (p_) on Windows #910

Description

@Propconnect-ai

What happened

On a clean Windows 11 machine, lk app create --template agent-starter-python <name> prints a "Then visit:" link whose project ID has not been substituted:

Then visit:
    https://cloud.livekit.io/projects/p_/agents/console/?autoStart=true&agentName=speed-to-lead

Note projects/p_/ — the project ID is missing, and the link 404s.

agentName=speed-to-lead did substitute correctly, so the templating itself works; it specifically lost the project ID.

The correct URL, as reached from the dashboard, is:

https://cloud.livekit.io/projects/p_19mwyin9l4l/agents/console/?autoStart=true&agentName=speed-to-lead

So the project ID is available — the CLI just doesn't substitute it.

This appears to be downstream of a task failure earlier in the same command. set_agent_name_if_present fails with a mixed Unix/Windows path (coreutils: open /tmp\2013691747), which I'll file separately.

Why it matters

This is the first link offered to a brand-new user to see their first agent. On Windows, it is dead.

Environment

  • Windows 11
  • LiveKit CLI 2.17.0 (winget install LiveKit.LiveKitCLI)
  • PowerShell
  • Template: agent-starter-python
  • Project created via the LiveKit Cloud onboarding flow

Steps to reproduce

  1. winget install LiveKit.LiveKitCLI
  2. Restart shell
  3. lk cloud auth
  4. lk app create --template agent-starter-python speed-to-lead
  5. Read the "Then visit:" URL in the output

Expected

The URL contains the real project ID.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions