chore: prettier format
This commit is contained in:
parent
57eded4787
commit
692b2e0d6b
3 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ program
|
|||
)
|
||||
.option(
|
||||
"--idempotency-key <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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue