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.
package/dist/cli.js CHANGED
@@ -23030,7 +23030,10 @@ function createDaemonTerminalPilotRuntime() {
23030
23030
  return {
23031
23031
  async createSession(params17, env) {
23032
23032
  const result = await request("createSession", {
23033
- params: params17,
23033
+ params: {
23034
+ ...params17,
23035
+ cwd: params17.cwd ?? process.cwd()
23036
+ },
23034
23037
  envSession: env?.get(SESSION_ENV_VAR)
23035
23038
  });
23036
23039
  return { name: result.name, session: proxySession(result.name, result.session) };
@@ -23305,7 +23308,7 @@ function sleep2(ms) {
23305
23308
  // src/cli.ts
23306
23309
  configureTheme({ brand: "green", label: "Terminal Pilot" });
23307
23310
  function getBundledPackageVersion() {
23308
- return true ? "0.0.39" : void 0;
23311
+ return true ? "0.0.40" : void 0;
23309
23312
  }
23310
23313
  function normalizeArgv(argv) {
23311
23314
  if (argv.includes("--json") && !argv.some((argument) => argument === "--output" || argument.startsWith("--output="))) {