Skip to content

Commit cc0a029

Browse files
fix: clean up PTY and lifecycle hook OpenAPI descriptions (#9502)
1 parent 136de95 commit cc0a029

3 files changed

Lines changed: 16 additions & 20 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 119
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai/runloop-3ed5d8482ad69c2c52b9387f0c16e9a5053115b6e4c64ff59a32a0ab3498d7e2.yml
3-
openapi_spec_hash: b48f3fb201ee657d669d937ca92c55bf
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai/runloop-7235763cbdfd60834a897f356688d758b598a1dd723623330ea398dea2abea68.yml
3+
openapi_spec_hash: 01b9dbab4b732e4b83952debd108e404
44
config_hash: 444e00951b440bf92e7548b2807584a4

src/resources/pty.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ export class Pty extends APIResource {
4848

4949
/**
5050
* Applies a PTY control operation to an existing session. The action field selects
51-
* the operation; the other fields in PtyControlParameters are interpreted only
52-
* when they are relevant to the chosen action.
51+
* the operation; the other fields in PtyControlParams are interpreted only when
52+
* they are relevant to the chosen action.
5353
*
5454
* resize: cols and rows are required and must each be in 1..=1000. A 0 or
5555
* out-of-range value returns 400. The new winsize is applied to the PTY master and

src/resources/shared.ts

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -350,14 +350,12 @@ export interface LifecycleConfiguration {
350350

351351
/**
352352
* Lifecycle hooks for Devbox suspend. suspend_commands run sequentially as the
353-
* configured Devbox user through the rage/vmagent suspend path before the Devbox
354-
* suspends; failures are logged but do not block suspending. The
355-
* suspend_deadline_ms budget defaults to 30000 ms, may not exceed 60000 ms, and
356-
* covers broker drain plus suspend_commands. If the deadline is exceeded, suspend
357-
* work is abandoned, the timeout is logged, and the Devbox still proceeds to
358-
* suspend by shutting down vmagent and killing the VM. Resume hooks and resume
359-
* deadline settings are persistence/internal only and hidden from the public API
360-
* reference. launch_commands still run on every startup, including after resume.
353+
* configured Devbox user before the Devbox suspends; failures are logged but do
354+
* not block suspending. The suspend_deadline_ms budget defaults to 30000 ms, may
355+
* not exceed 60000 ms, and covers broker drain plus suspend_commands. If the
356+
* deadline is exceeded, suspend work is abandoned, the timeout is logged, and the
357+
* Devbox still proceeds to suspend. launch_commands still run on every startup,
358+
* including after resume.
361359
*/
362360
lifecycle_hooks?: LifecycleHooks | null;
363361

@@ -369,14 +367,12 @@ export interface LifecycleConfiguration {
369367

370368
/**
371369
* Lifecycle hooks for Devbox suspend. suspend_commands run sequentially as the
372-
* configured Devbox user through the rage/vmagent suspend path before the Devbox
373-
* suspends; failures are logged but do not block suspending. The
374-
* suspend_deadline_ms budget defaults to 30000 ms, may not exceed 60000 ms, and
375-
* covers broker drain plus suspend_commands. If the deadline is exceeded, suspend
376-
* work is abandoned, the timeout is logged, and the Devbox still proceeds to
377-
* suspend by shutting down vmagent and killing the VM. Resume hooks and resume
378-
* deadline settings are persistence/internal only and hidden from the public API
379-
* reference. launch_commands still run on every startup, including after resume.
370+
* configured Devbox user before the Devbox suspends; failures are logged but do
371+
* not block suspending. The suspend_deadline_ms budget defaults to 30000 ms, may
372+
* not exceed 60000 ms, and covers broker drain plus suspend_commands. If the
373+
* deadline is exceeded, suspend work is abandoned, the timeout is logged, and the
374+
* Devbox still proceeds to suspend. launch_commands still run on every startup,
375+
* including after resume.
380376
*/
381377
export interface LifecycleHooks {
382378
/**

0 commit comments

Comments
 (0)