terminal-pilot 0.0.39 → 0.0.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1673,7 +1673,10 @@ function createDaemonTerminalPilotRuntime() {
1673
1673
  return {
1674
1674
  async createSession(params, env) {
1675
1675
  const result = await request("createSession", {
1676
- params,
1676
+ params: {
1677
+ ...params,
1678
+ cwd: params.cwd ?? process.cwd()
1679
+ },
1677
1680
  envSession: env?.get(SESSION_ENV_VAR)
1678
1681
  });
1679
1682
  return { name: result.name, session: proxySession(result.name, result.session) };