From 692b2e0d6bb4aeedbc2df07e69f82255d449a954 Mon Sep 17 00:00:00 2001 From: Nate Date: Sat, 9 Aug 2025 09:14:24 -0400 Subject: [PATCH] chore: prettier format --- docs/command-line-flags.md | 1 + src/commands/remote.ts | 2 +- src/index.ts | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/command-line-flags.md b/docs/command-line-flags.md index 972f37ce3..935adb1a1 100644 --- a/docs/command-line-flags.md +++ b/docs/command-line-flags.md @@ -87,6 +87,7 @@ cn remote --idempotency-key "feature-dev" "work on new feature" ``` The backend manages session lifecycle based on the idempotency key: + - New key = new remote environment - Existing key = connect to existing session - Sessions may expire based on backend configuration diff --git a/src/commands/remote.ts b/src/commands/remote.ts index 7bb27b312..9cf4bb41d 100644 --- a/src/commands/remote.ts +++ b/src/commands/remote.ts @@ -13,7 +13,7 @@ import { logger } from "../util/logger.js"; export async function remote( prompt: string | undefined, - options: { url?: string; idempotencyKey?: string } = {} + options: { url?: string; idempotencyKey?: string } = {}, ) { // If --url is provided, connect directly to that URL if (options.url) { diff --git a/src/index.ts b/src/index.ts index 1a7c791e2..a207f7d1c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -158,7 +158,7 @@ program ) .option( "--idempotency-key ", - "Idempotency key for session management - allows resuming existing sessions" + "Idempotency key for session management - allows resuming existing sessions", ) .action(async (prompt: string | undefined, options) => { await remote(prompt, options);