@opengeni/runtime 0.2.1 → 0.2.3

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.
@@ -220,7 +220,7 @@ declare function mintStreamToken(secret: string, input: MintStreamTokenInput): P
220
220
  declare function verifyStreamToken(secret: string, token: string, nowSeconds?: number): Promise<StreamTokenPayload | null>;
221
221
 
222
222
  declare const STREAM_PORT = 6080;
223
- declare const DISPLAY_STACK_TIMEOUT_MS = 60000;
223
+ declare const DISPLAY_STACK_TIMEOUT_MS = 90000;
224
224
  /** Desktop geometry for the framebuffer. v1 has no live RANDR: a resolution
225
225
  * change is a full down -> up restart (a separate op). */
226
226
  type DesktopGeometry = {
@@ -230,11 +230,13 @@ type DesktopGeometry = {
230
230
  };
231
231
  declare const DEFAULT_DESKTOP_GEOMETRY: DesktopGeometry;
232
232
  /** Thrown when a stage of the launch script failed. exitCode 11/12/13 map to
233
- * Xvfb / x11vnc / websockify respectively (the stage that died). Degradation is
234
- * surfaced as a value to viewers by the caller; this error is for diagnostics. */
233
+ * Xvfb / x11vnc / websockify respectively (the stage that died); 14 is the
234
+ * PAINTABLE-FRAME gate (ports listening but scrot still yields an empty frame
235
+ * the display is up but not actually painting). Degradation is surfaced as a
236
+ * value to viewers by the caller; this error is for diagnostics. */
235
237
  declare class DisplayStackError extends Error {
236
238
  readonly exitCode: number;
237
- readonly stage: "xvfb" | "x11vnc" | "websockify" | "unknown";
239
+ readonly stage: "xvfb" | "x11vnc" | "websockify" | "paint" | "unknown";
238
240
  constructor(exitCode: number, output: string);
239
241
  }
240
242
  /** Thrown when the provider session cannot run commands (a headless-only
@@ -90,7 +90,7 @@ import {
90
90
  timeoutAgentError,
91
91
  timeoutControlResponse,
92
92
  verifyStreamToken
93
- } from "../chunk-2PO56VAL.js";
93
+ } from "../chunk-KNW7AMQB.js";
94
94
  export {
95
95
  ActiveBackendUnresolvableError,
96
96
  CAPABILITY_DESCRIPTORS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeni/runtime",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -28,14 +28,14 @@
28
28
  "typecheck": "tsc --noEmit"
29
29
  },
30
30
  "dependencies": {
31
- "@opengeni/agent-proto": "^0.2.0",
32
- "@opengeni/config": "^0.2.1",
33
- "@opengeni/contracts": "^0.4.0",
31
+ "@opengeni/agent-proto": "^0.2.1",
32
+ "@opengeni/config": "^0.2.3",
33
+ "@opengeni/contracts": "^0.5.0",
34
34
  "@openai/agents": "^0.11.6",
35
35
  "@openai/agents-extensions": "^0.11.6",
36
36
  "modal": "^0.7.4",
37
37
  "openai": "6.36.0",
38
- "@opengeni/codex": "^0.2.0"
38
+ "@opengeni/codex": "^0.2.1"
39
39
  },
40
40
  "devDependencies": {
41
41
  "tsup": "^8.5.0",