Commit 7e794c4
Add sessionIdleTimeoutMs option to CopilotClientOptions
Add a new optional sessionIdleTimeoutMs field to CopilotClientOptions that
allows consumers to configure the server-wide session idle timeout. When set
to a positive value, the SDK passes --session-idle-timeout to the CLI process.
Sessions have no idle timeout by default (infinite lifetime). The minimum
configurable value is 300000ms (5 minutes).
Also updates the session persistence documentation to reflect the new
default behavior and configuration option.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 883cc02 commit 7e794c4
File tree
3 files changed
+29
-3
lines changed- docs/features
- nodejs/src
3 files changed
+29
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
436 | | - | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
437 | 447 | | |
438 | 448 | | |
439 | 449 | | |
440 | | - | |
| 450 | + | |
441 | 451 | | |
442 | 452 | | |
443 | | - | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
444 | 456 | | |
445 | 457 | | |
446 | 458 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
| 342 | + | |
342 | 343 | | |
343 | 344 | | |
344 | 345 | | |
| |||
1385 | 1386 | | |
1386 | 1387 | | |
1387 | 1388 | | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
1388 | 1393 | | |
1389 | 1394 | | |
1390 | 1395 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
185 | 194 | | |
186 | 195 | | |
187 | 196 | | |
| |||
0 commit comments