You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix `lk agent dev` with Agents-JS
JS agents will also support the OnServerStart protocol
* Gate the dev-channel flag on the installed agents SDK version (#901)
* remove dead nil checks on devSrv, now created unconditionally
Also normalizes an em dash in a nearby comment.
* move interpreter-based SDK version resolution to pkg/agentfs
Pure relocation, no behavior change: the Python/Node binary finders and
installed-version probes (plus the embedded node_resolve_version.js)
move from cmd/lk into pkg/agentfs as exported functions, with
agentfs.ResolveInstalledSDKVersion as the shared entry point, so
callers outside the startup checks can reuse the resolver.
* pick the dev-channel flag from the installed SDK version
An SDK must not be handed a flag it predates: Node's CLI hard-fails on
unknown options, so every released @livekit/agents (<= 1.5.0) dies at
startup when passed --cli-addr. Resolve the installed agents version
via the project's own runtime and choose accordingly — --cli-addr when
positively at/above the first supporting release (1.6.6 Python, 1.5.1
Node, placeholders until those releases exist), otherwise the legacy
--reload-addr for Python and no flag at all for Node. Undetermined
versions always take the safe branch.
* remove agent_watcher_test.go
* pre-warm node in TestAgentProcessFailSignal to avoid probe timeout
On Windows CI runners the first node.exe spawn can take several seconds
(Defender scans the binary on first exec), which blows the SDK version
probe's 5s timeout inside startAgent — the test then fails with
'@livekit/agents not found' at exactly 5.04s before the crash-signal
behavior under test ever runs (same flake seen on main). Spawn a
throwaway Node process first to absorb the cold start.
---------
Co-authored-by: u9g <jason.lernerman@livekit.io>
0 commit comments