@withgateway/sdk 0.2.4 → 0.2.5

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.
Files changed (46) hide show
  1. package/dist/cli.js +1798 -1713
  2. package/dist/cli.js.map +1 -1
  3. package/dist/cli.mjs +2412 -2327
  4. package/dist/cli.mjs.map +1 -1
  5. package/dist/files/index.js +47 -31
  6. package/dist/files/index.js.map +1 -1
  7. package/dist/files/index.mjs +43 -27
  8. package/dist/files/index.mjs.map +1 -1
  9. package/dist/index.d.mts +1 -1
  10. package/dist/index.d.ts +1 -1
  11. package/dist/index.js +390 -287
  12. package/dist/index.js.map +1 -1
  13. package/dist/index.mjs +375 -271
  14. package/dist/index.mjs.map +1 -1
  15. package/dist/traces/index.js +36 -20
  16. package/dist/traces/index.js.map +1 -1
  17. package/dist/traces/index.mjs +32 -16
  18. package/dist/traces/index.mjs.map +1 -1
  19. package/dist/tracing/index.js +2 -1
  20. package/dist/tracing/index.js.map +1 -1
  21. package/dist/tracing/index.mjs +2 -1
  22. package/dist/tracing/index.mjs.map +1 -1
  23. package/dist/worlds/index.d.mts +26 -22
  24. package/dist/worlds/index.d.ts +26 -22
  25. package/dist/worlds/index.js +307 -203
  26. package/dist/worlds/index.js.map +1 -1
  27. package/dist/worlds/index.mjs +297 -193
  28. package/dist/worlds/index.mjs.map +1 -1
  29. package/package.json +2 -1
  30. package/runtime/gatewaysdk/environment/_bundle.py +14 -24
  31. package/runtime/gatewaysdk/environment/schema/api.py +37 -18
  32. package/runtime/gatewaysdk/environment/schema/data.py +21 -19
  33. package/runtime/gatewaysdk/environment/schema/grading.py +225 -0
  34. package/runtime/gatewaysdk/environment/schema/host.py +156 -546
  35. package/runtime/gatewaysdk/environment/schema/ingest.py +3 -11
  36. package/runtime/gatewaysdk/environment/schema/local.py +32 -126
  37. package/runtime/gatewaysdk/environment/schema/platform.py +14 -22
  38. package/runtime/gatewaysdk/environment/schema/proof.py +237 -0
  39. package/runtime/gatewaysdk/environment/schema/runtime.py +686 -0
  40. package/runtime/gatewaysdk/environment/schema/skill.py +1 -0
  41. package/runtime/gatewaysdk/environment/schema/skills/hooks-getting-started/SKILL.md +6 -4
  42. package/runtime/gatewaysdk/environment/schema/tools_world.py +75 -23
  43. package/runtime/gatewaysdk/environment/schema/verbs.py +136 -0
  44. package/runtime/gatewaysdk/environment/schema/workers.py +14 -0
  45. package/runtime/gatewaysdk/environment/world.py +391 -0
  46. package/skills/hooks-getting-started/SKILL.md +6 -4
@@ -1285,13 +1285,10 @@ declare class GatewayEvalsClient {
1285
1285
  * branch / tag / propose — a faithful port of the Python client
1286
1286
  * (`gatewaysdk/benchmark_hub/client.py` + `_archive.py`).
1287
1287
  *
1288
- * LOCKSTEP WARNING — the content hash is the version's identity and is
1289
- * byte-compatible with Prime Intellect. It now has FOUR implementations that
1290
- * must stay identical: worker `environmentAgent/tar.ts`, web
1291
- * `benchmark-hub/server/benchmarkContentHash.ts`, Python `_archive.py`, and
1292
- * this file. This one is a line-for-line port of the WEB TypeScript
1293
- * implementation (same language, same crypto) — if the rule ever changes,
1294
- * change all four or push identity splits by client.
1288
+ * The content hash is the version's identity and is byte-compatible with
1289
+ * Prime Intellect: `WorldDir.contentHash` (./worldDir.ts) computes it here,
1290
+ * `WorldTree.contentHash` on the platform and `_archive.compute_content_hash`
1291
+ * in the Python SDK; the conformance corpus pins the three to the same bytes.
1295
1292
  *
1296
1293
  * One deliberate refusal, same policy as the web upload path: a bundle with
1297
1294
  * a ROOT `.gitignore` is refused rather than mis-hashed — the Python CLI
@@ -1299,9 +1296,8 @@ declare class GatewayEvalsClient {
1299
1296
  * would produce a wrong, Prime-incompatible hash silently.
1300
1297
  */
1301
1298
  declare const DEFAULT_BRANCH = "main";
1302
- declare function isIncludedInContentHash(relPath: string, includeAllRootFiles: boolean): boolean;
1303
- /** The archive-visible files of a working dir, as sorted relpaths. Throws on
1304
- * a root .gitignore (see the header). */
1299
+ /** The archive-visible files of a working dir, as sorted relpaths
1300
+ * (`WorldDir.archivePaths`). Throws on a root .gitignore (see the header). */
1305
1301
  declare function collectArchiveRelPaths(dir: string): string[];
1306
1302
  declare function computeContentHash(dir: string): string;
1307
1303
  /** A deterministic .tar.gz of the source files (node's gzip stamps no mtime,
@@ -1634,9 +1630,9 @@ declare function parseTransform(name: string): Transform;
1634
1630
  declare function applyTransforms(value: string | number, chain: readonly string[]): string;
1635
1631
 
1636
1632
  /**
1637
- * `queryRows(slug, entity, {where, resolve, limit, offset})` — the rows of
1638
- * one entity that match a predicate, from
1639
- * `GET /api/public/worlds/{slug}/data?entity=&where=&limit=&offset=&resolve=`.
1633
+ * `queryRows(slug[@ref], entity, {where, resolve, limit, offset})` — the rows
1634
+ * of one entity that match a predicate, from
1635
+ * `GET /api/public/worlds/{slug}/data?ref=&entity=&where=&limit=&offset=&resolve=`.
1640
1636
  * `where` is field → value, or field → list of values (any of); values match
1641
1637
  * the STORED form as given. With `resolve: true` the values are plaintext and
1642
1638
  * the runtime maps each to its stored form under the world's `[redact]`
@@ -1744,11 +1740,13 @@ type WorldQueryAcrossResult = {
1744
1740
  entityCounts: Record<string, number>;
1745
1741
  snapshot: WorldQuerySnapshot | null;
1746
1742
  };
1747
- /** The query string the route reads; `where` travels as URL-encoded JSON. */
1748
- declare function queryRowsSearch(entity: string, opts?: WorldQueryOptions): string;
1749
- /** The world's head version, queried. The route reads the head only, so a
1750
- * `slug@ref` is refused rather than silently served as the head. With
1751
- * `across: true` the answer is the groups shape. */
1743
+ /** The query string the route reads; `where` travels as URL-encoded JSON and
1744
+ * `ref` (the `@ref` of `slug@ref`) picks the version. */
1745
+ declare function queryRowsSearch(entity: string, opts?: WorldQueryOptions, ref?: string): string;
1746
+ /** One version of the world, queried: the main tip for a bare slug, or the
1747
+ * version `slug@ref` names (branch, tag, semver pin or hash prefix — the
1748
+ * `bench pull` grammar; a ref nothing answers to is the platform's 404, never
1749
+ * the head). With `across: true` the answer is the groups shape. */
1752
1750
  declare function queryRows(slug: string, entity: string, opts: WorldQueryAcrossOptions, options?: WorldsClientOptions): Promise<WorldQueryAcrossResult>;
1753
1751
  declare function queryRows(slug: string, entity: string, opts?: WorldQueryOptions, options?: WorldsClientOptions): Promise<WorldQueryResult>;
1754
1752
 
@@ -1956,7 +1954,11 @@ declare function captureToolCalls<T extends ToolFunctions>(tools: T, sink: ToolC
1956
1954
  source?: string;
1957
1955
  }): T;
1958
1956
  /** What a TOOL observation carries, as `GET /api/public/observations` and
1959
- * `GET /api/public/sessions/{id}?includeIO=true` return it. */
1957
+ * `GET /api/public/sessions/{id}?includeIO=true` return it. Both routes decode
1958
+ * stored JSON text once on the way out (`parseIoAsJson` defaults to true on the
1959
+ * v1 route; the session route renders with the same default), so `input` and
1960
+ * `output` arrive as the values the tool saw — an object, or a string when the
1961
+ * tool really produced text. Nothing here parses them again. */
1960
1962
  type ObservationLike = {
1961
1963
  id?: string;
1962
1964
  traceId?: string | null;
@@ -1978,8 +1980,10 @@ type ObservationConversion = {
1978
1980
  /**
1979
1981
  * TOOL observations → tool-call records: `name` is the tool, `input` the args,
1980
1982
  * `output` the result, `startTime` the time, `trace:<traceId>/<id>` the source.
1981
- * A serialized `input`/`output` (the SDK stores JSON text) is parsed back;
1982
- * an `input` that is not an object leaves `args` empty rather than guessed.
1983
+ * `input`/`output` arrive from the public API already decoded (it parses the
1984
+ * stored text once), so they are taken as they are: a string `output` stays a
1985
+ * string even when it looks like JSON; an `input` that is not an object leaves
1986
+ * `args` empty rather than guessed.
1983
1987
  * Only `type: "TOOL"` converts. With `tools` (the world's operation names) an
1984
1988
  * observation for any other tool is counted in `unknownTools`, not converted.
1985
1989
  * An `ERROR`-level observation converts with `error` set, so ingest counts it
@@ -2269,4 +2273,4 @@ declare class WorldSet {
2269
2273
  */
2270
2274
  declare function openWorld(slugRef: string, options?: WorldsClientOptions): Promise<WorldSet>;
2271
2275
 
2272
- export { ApiError, type BrowserActionEvent, BrowserActionRecorder, type BrowserMode, type BrowserPage, COMPUTER_USE_SPECS, type CreateEvaluationOptions, DEFAULT_BRANCH, DEFAULT_VIEWPORT, type DispatchedRun, EVENT_BATCH_SIZE, EVENT_FLUSH_INTERVAL_MS, EVENT_MAX_RETRIES, type EvalSample, type FinalizeEvaluationOptions, GatewayEvalsClient, type GradeResult, type IngestExplode, type IngestFieldSpec, type IngestMapping, type IngestMode, type IngestOptions, type IngestRefusal, type IngestReport, type IngestSource, type IngestSourceReport, type IngestToolCallsOptions, type IngestToolCallsReport, type LiveTaskSession, type LocalMeta, type MigrateWorldOptions, type ObservationConversion, type ObservationLike, type OpenSessionOptions, type OpenTaskOptions, type ParsedToolCall, type Plaintext, type PlaywrightBrowserLike, type PlaywrightLike, type RedactMode, type RedactPolicy, type Redaction, type ResolvedWorldVersion, type RunConfigInput, type RunConfigSummary, type RunProvenance, type RunReport, type RunTaskOptions, type RunTaskSummary, STRIP_PREFIX, SURFACE_KINDS, type SeedResult, type SessionRunReport, type SessionRunResult, type SessionSurfaces, TRANSFORMS, type TaskExport, type TaskGrade, type TaskManifest, type TaskManifestSession, TaskRun, type TaskRunResult, TaskSessions, type TaskSessionsResponse, type TaskWorldSessionState, type ToolCallRecord, type ToolCallSink, type ToolFunctions, type Transform, type ValidateReport, type ValidatedRun, WHITESPACE, WorldBrowser, type WorldDependency, type WorldDeprecation, type WorldDescription, type WorldEntity, type WorldEntityMapping, type WorldField, type WorldMigrationRefusal, type WorldMigrationReport, type WorldQueryAcrossOptions, type WorldQueryAcrossResult, type WorldQueryCompare, type WorldQueryCompareStatus, type WorldQueryGroup, type WorldQueryOptions, type WorldQueryResult, type WorldQuerySnapshot, type WorldQueryWhere, type WorldRelationship, WorldSession, type WorldSessionCall, WorldSessionCallError, type WorldSessionState, type WorldSessionTask, WorldSessionTimeout, WorldSet, type WorldSurfaceKind, WorldSurfaceUnavailable, WorldTask, type WorldTaskCheck, type WorldTaskDetail, type WorldTaskFieldOp, type WorldTaskGrader, type WorldTaskIdRef, type WorldTaskInfo, type WorldTaskPage, type WorldTaskRef, type WorldTaskRubricCriterion, type WorldTaskRubricGrader, type WorldTaskScalar, type WorldTaskSeed, type WorldTaskSpec, type WorldTaskSummary, type WorldTaskValidation, type WorldTaskVersionSummary, type WorldTaskWorld, type WorldTaskWorldValidation, type WorldToolSpec, type WorldToolkit, type WorldsClientOptions, aggregateTaskGrade, apiRequest, applyTransforms, attachManifest, attachSession, attachTask, buildSourceTarball, captureToolCalls, collectArchiveRelPaths, computeContentHash, computerUseToolkit, createRef, createTask, deleteEnvSecret, deleteTask, describeWorld, detectProvenance, getRun, getTask, hashForm, ingest, ingestToolCalls, isIncludedInContentHash, isTaskIdRef, isTaskManifest, isTaskSpec, listEnvSecretKeys, listRunConfigs, listTaskSessions, listTasks, localTreeState, migrateProjectWorlds, migrateWorld, modelToolName, openBrowser, openSession, openTask, openWorld, parseToolCallRecord, parseTransform, parseWorldTaskRefs, preserveForm, propose, pull, push, pushSlug, pyText, queryRows, queryRowsSearch, readLocalMeta, readToolCallRecords, redactActionArgs, redactionOf, resolveBrowserMode, roundForm, runSessions, runTask, schemaFromSignature, sessionToolObservations, setEnvSecret, shapeText, snapshotTreeHashes, storedForms, surfaceKinds, taskLabel, toolCallRecordsIn, toolCallsFromObservations, uiEntryUrl, uiUrl, updateTask, upsertRunConfig, validateTask, validateWorld, waitForRun, withoutUiToken, writeLocalMeta };
2276
+ export { ApiError, type BrowserActionEvent, BrowserActionRecorder, type BrowserMode, type BrowserPage, COMPUTER_USE_SPECS, type CreateEvaluationOptions, DEFAULT_BRANCH, DEFAULT_VIEWPORT, type DispatchedRun, EVENT_BATCH_SIZE, EVENT_FLUSH_INTERVAL_MS, EVENT_MAX_RETRIES, type EvalSample, type FinalizeEvaluationOptions, GatewayEvalsClient, type GradeResult, type IngestExplode, type IngestFieldSpec, type IngestMapping, type IngestMode, type IngestOptions, type IngestRefusal, type IngestReport, type IngestSource, type IngestSourceReport, type IngestToolCallsOptions, type IngestToolCallsReport, type LiveTaskSession, type LocalMeta, type MigrateWorldOptions, type ObservationConversion, type ObservationLike, type OpenSessionOptions, type OpenTaskOptions, type ParsedToolCall, type Plaintext, type PlaywrightBrowserLike, type PlaywrightLike, type RedactMode, type RedactPolicy, type Redaction, type ResolvedWorldVersion, type RunConfigInput, type RunConfigSummary, type RunProvenance, type RunReport, type RunTaskOptions, type RunTaskSummary, STRIP_PREFIX, SURFACE_KINDS, type SeedResult, type SessionRunReport, type SessionRunResult, type SessionSurfaces, TRANSFORMS, type TaskExport, type TaskGrade, type TaskManifest, type TaskManifestSession, TaskRun, type TaskRunResult, TaskSessions, type TaskSessionsResponse, type TaskWorldSessionState, type ToolCallRecord, type ToolCallSink, type ToolFunctions, type Transform, type ValidateReport, type ValidatedRun, WHITESPACE, WorldBrowser, type WorldDependency, type WorldDeprecation, type WorldDescription, type WorldEntity, type WorldEntityMapping, type WorldField, type WorldMigrationRefusal, type WorldMigrationReport, type WorldQueryAcrossOptions, type WorldQueryAcrossResult, type WorldQueryCompare, type WorldQueryCompareStatus, type WorldQueryGroup, type WorldQueryOptions, type WorldQueryResult, type WorldQuerySnapshot, type WorldQueryWhere, type WorldRelationship, WorldSession, type WorldSessionCall, WorldSessionCallError, type WorldSessionState, type WorldSessionTask, WorldSessionTimeout, WorldSet, type WorldSurfaceKind, WorldSurfaceUnavailable, WorldTask, type WorldTaskCheck, type WorldTaskDetail, type WorldTaskFieldOp, type WorldTaskGrader, type WorldTaskIdRef, type WorldTaskInfo, type WorldTaskPage, type WorldTaskRef, type WorldTaskRubricCriterion, type WorldTaskRubricGrader, type WorldTaskScalar, type WorldTaskSeed, type WorldTaskSpec, type WorldTaskSummary, type WorldTaskValidation, type WorldTaskVersionSummary, type WorldTaskWorld, type WorldTaskWorldValidation, type WorldToolSpec, type WorldToolkit, type WorldsClientOptions, aggregateTaskGrade, apiRequest, applyTransforms, attachManifest, attachSession, attachTask, buildSourceTarball, captureToolCalls, collectArchiveRelPaths, computeContentHash, computerUseToolkit, createRef, createTask, deleteEnvSecret, deleteTask, describeWorld, detectProvenance, getRun, getTask, hashForm, ingest, ingestToolCalls, isTaskIdRef, isTaskManifest, isTaskSpec, listEnvSecretKeys, listRunConfigs, listTaskSessions, listTasks, localTreeState, migrateProjectWorlds, migrateWorld, modelToolName, openBrowser, openSession, openTask, openWorld, parseToolCallRecord, parseTransform, parseWorldTaskRefs, preserveForm, propose, pull, push, pushSlug, pyText, queryRows, queryRowsSearch, readLocalMeta, readToolCallRecords, redactActionArgs, redactionOf, resolveBrowserMode, roundForm, runSessions, runTask, schemaFromSignature, sessionToolObservations, setEnvSecret, shapeText, snapshotTreeHashes, storedForms, surfaceKinds, taskLabel, toolCallRecordsIn, toolCallsFromObservations, uiEntryUrl, uiUrl, updateTask, upsertRunConfig, validateTask, validateWorld, waitForRun, withoutUiToken, writeLocalMeta };
@@ -1285,13 +1285,10 @@ declare class GatewayEvalsClient {
1285
1285
  * branch / tag / propose — a faithful port of the Python client
1286
1286
  * (`gatewaysdk/benchmark_hub/client.py` + `_archive.py`).
1287
1287
  *
1288
- * LOCKSTEP WARNING — the content hash is the version's identity and is
1289
- * byte-compatible with Prime Intellect. It now has FOUR implementations that
1290
- * must stay identical: worker `environmentAgent/tar.ts`, web
1291
- * `benchmark-hub/server/benchmarkContentHash.ts`, Python `_archive.py`, and
1292
- * this file. This one is a line-for-line port of the WEB TypeScript
1293
- * implementation (same language, same crypto) — if the rule ever changes,
1294
- * change all four or push identity splits by client.
1288
+ * The content hash is the version's identity and is byte-compatible with
1289
+ * Prime Intellect: `WorldDir.contentHash` (./worldDir.ts) computes it here,
1290
+ * `WorldTree.contentHash` on the platform and `_archive.compute_content_hash`
1291
+ * in the Python SDK; the conformance corpus pins the three to the same bytes.
1295
1292
  *
1296
1293
  * One deliberate refusal, same policy as the web upload path: a bundle with
1297
1294
  * a ROOT `.gitignore` is refused rather than mis-hashed — the Python CLI
@@ -1299,9 +1296,8 @@ declare class GatewayEvalsClient {
1299
1296
  * would produce a wrong, Prime-incompatible hash silently.
1300
1297
  */
1301
1298
  declare const DEFAULT_BRANCH = "main";
1302
- declare function isIncludedInContentHash(relPath: string, includeAllRootFiles: boolean): boolean;
1303
- /** The archive-visible files of a working dir, as sorted relpaths. Throws on
1304
- * a root .gitignore (see the header). */
1299
+ /** The archive-visible files of a working dir, as sorted relpaths
1300
+ * (`WorldDir.archivePaths`). Throws on a root .gitignore (see the header). */
1305
1301
  declare function collectArchiveRelPaths(dir: string): string[];
1306
1302
  declare function computeContentHash(dir: string): string;
1307
1303
  /** A deterministic .tar.gz of the source files (node's gzip stamps no mtime,
@@ -1634,9 +1630,9 @@ declare function parseTransform(name: string): Transform;
1634
1630
  declare function applyTransforms(value: string | number, chain: readonly string[]): string;
1635
1631
 
1636
1632
  /**
1637
- * `queryRows(slug, entity, {where, resolve, limit, offset})` — the rows of
1638
- * one entity that match a predicate, from
1639
- * `GET /api/public/worlds/{slug}/data?entity=&where=&limit=&offset=&resolve=`.
1633
+ * `queryRows(slug[@ref], entity, {where, resolve, limit, offset})` — the rows
1634
+ * of one entity that match a predicate, from
1635
+ * `GET /api/public/worlds/{slug}/data?ref=&entity=&where=&limit=&offset=&resolve=`.
1640
1636
  * `where` is field → value, or field → list of values (any of); values match
1641
1637
  * the STORED form as given. With `resolve: true` the values are plaintext and
1642
1638
  * the runtime maps each to its stored form under the world's `[redact]`
@@ -1744,11 +1740,13 @@ type WorldQueryAcrossResult = {
1744
1740
  entityCounts: Record<string, number>;
1745
1741
  snapshot: WorldQuerySnapshot | null;
1746
1742
  };
1747
- /** The query string the route reads; `where` travels as URL-encoded JSON. */
1748
- declare function queryRowsSearch(entity: string, opts?: WorldQueryOptions): string;
1749
- /** The world's head version, queried. The route reads the head only, so a
1750
- * `slug@ref` is refused rather than silently served as the head. With
1751
- * `across: true` the answer is the groups shape. */
1743
+ /** The query string the route reads; `where` travels as URL-encoded JSON and
1744
+ * `ref` (the `@ref` of `slug@ref`) picks the version. */
1745
+ declare function queryRowsSearch(entity: string, opts?: WorldQueryOptions, ref?: string): string;
1746
+ /** One version of the world, queried: the main tip for a bare slug, or the
1747
+ * version `slug@ref` names (branch, tag, semver pin or hash prefix — the
1748
+ * `bench pull` grammar; a ref nothing answers to is the platform's 404, never
1749
+ * the head). With `across: true` the answer is the groups shape. */
1752
1750
  declare function queryRows(slug: string, entity: string, opts: WorldQueryAcrossOptions, options?: WorldsClientOptions): Promise<WorldQueryAcrossResult>;
1753
1751
  declare function queryRows(slug: string, entity: string, opts?: WorldQueryOptions, options?: WorldsClientOptions): Promise<WorldQueryResult>;
1754
1752
 
@@ -1956,7 +1954,11 @@ declare function captureToolCalls<T extends ToolFunctions>(tools: T, sink: ToolC
1956
1954
  source?: string;
1957
1955
  }): T;
1958
1956
  /** What a TOOL observation carries, as `GET /api/public/observations` and
1959
- * `GET /api/public/sessions/{id}?includeIO=true` return it. */
1957
+ * `GET /api/public/sessions/{id}?includeIO=true` return it. Both routes decode
1958
+ * stored JSON text once on the way out (`parseIoAsJson` defaults to true on the
1959
+ * v1 route; the session route renders with the same default), so `input` and
1960
+ * `output` arrive as the values the tool saw — an object, or a string when the
1961
+ * tool really produced text. Nothing here parses them again. */
1960
1962
  type ObservationLike = {
1961
1963
  id?: string;
1962
1964
  traceId?: string | null;
@@ -1978,8 +1980,10 @@ type ObservationConversion = {
1978
1980
  /**
1979
1981
  * TOOL observations → tool-call records: `name` is the tool, `input` the args,
1980
1982
  * `output` the result, `startTime` the time, `trace:<traceId>/<id>` the source.
1981
- * A serialized `input`/`output` (the SDK stores JSON text) is parsed back;
1982
- * an `input` that is not an object leaves `args` empty rather than guessed.
1983
+ * `input`/`output` arrive from the public API already decoded (it parses the
1984
+ * stored text once), so they are taken as they are: a string `output` stays a
1985
+ * string even when it looks like JSON; an `input` that is not an object leaves
1986
+ * `args` empty rather than guessed.
1983
1987
  * Only `type: "TOOL"` converts. With `tools` (the world's operation names) an
1984
1988
  * observation for any other tool is counted in `unknownTools`, not converted.
1985
1989
  * An `ERROR`-level observation converts with `error` set, so ingest counts it
@@ -2269,4 +2273,4 @@ declare class WorldSet {
2269
2273
  */
2270
2274
  declare function openWorld(slugRef: string, options?: WorldsClientOptions): Promise<WorldSet>;
2271
2275
 
2272
- export { ApiError, type BrowserActionEvent, BrowserActionRecorder, type BrowserMode, type BrowserPage, COMPUTER_USE_SPECS, type CreateEvaluationOptions, DEFAULT_BRANCH, DEFAULT_VIEWPORT, type DispatchedRun, EVENT_BATCH_SIZE, EVENT_FLUSH_INTERVAL_MS, EVENT_MAX_RETRIES, type EvalSample, type FinalizeEvaluationOptions, GatewayEvalsClient, type GradeResult, type IngestExplode, type IngestFieldSpec, type IngestMapping, type IngestMode, type IngestOptions, type IngestRefusal, type IngestReport, type IngestSource, type IngestSourceReport, type IngestToolCallsOptions, type IngestToolCallsReport, type LiveTaskSession, type LocalMeta, type MigrateWorldOptions, type ObservationConversion, type ObservationLike, type OpenSessionOptions, type OpenTaskOptions, type ParsedToolCall, type Plaintext, type PlaywrightBrowserLike, type PlaywrightLike, type RedactMode, type RedactPolicy, type Redaction, type ResolvedWorldVersion, type RunConfigInput, type RunConfigSummary, type RunProvenance, type RunReport, type RunTaskOptions, type RunTaskSummary, STRIP_PREFIX, SURFACE_KINDS, type SeedResult, type SessionRunReport, type SessionRunResult, type SessionSurfaces, TRANSFORMS, type TaskExport, type TaskGrade, type TaskManifest, type TaskManifestSession, TaskRun, type TaskRunResult, TaskSessions, type TaskSessionsResponse, type TaskWorldSessionState, type ToolCallRecord, type ToolCallSink, type ToolFunctions, type Transform, type ValidateReport, type ValidatedRun, WHITESPACE, WorldBrowser, type WorldDependency, type WorldDeprecation, type WorldDescription, type WorldEntity, type WorldEntityMapping, type WorldField, type WorldMigrationRefusal, type WorldMigrationReport, type WorldQueryAcrossOptions, type WorldQueryAcrossResult, type WorldQueryCompare, type WorldQueryCompareStatus, type WorldQueryGroup, type WorldQueryOptions, type WorldQueryResult, type WorldQuerySnapshot, type WorldQueryWhere, type WorldRelationship, WorldSession, type WorldSessionCall, WorldSessionCallError, type WorldSessionState, type WorldSessionTask, WorldSessionTimeout, WorldSet, type WorldSurfaceKind, WorldSurfaceUnavailable, WorldTask, type WorldTaskCheck, type WorldTaskDetail, type WorldTaskFieldOp, type WorldTaskGrader, type WorldTaskIdRef, type WorldTaskInfo, type WorldTaskPage, type WorldTaskRef, type WorldTaskRubricCriterion, type WorldTaskRubricGrader, type WorldTaskScalar, type WorldTaskSeed, type WorldTaskSpec, type WorldTaskSummary, type WorldTaskValidation, type WorldTaskVersionSummary, type WorldTaskWorld, type WorldTaskWorldValidation, type WorldToolSpec, type WorldToolkit, type WorldsClientOptions, aggregateTaskGrade, apiRequest, applyTransforms, attachManifest, attachSession, attachTask, buildSourceTarball, captureToolCalls, collectArchiveRelPaths, computeContentHash, computerUseToolkit, createRef, createTask, deleteEnvSecret, deleteTask, describeWorld, detectProvenance, getRun, getTask, hashForm, ingest, ingestToolCalls, isIncludedInContentHash, isTaskIdRef, isTaskManifest, isTaskSpec, listEnvSecretKeys, listRunConfigs, listTaskSessions, listTasks, localTreeState, migrateProjectWorlds, migrateWorld, modelToolName, openBrowser, openSession, openTask, openWorld, parseToolCallRecord, parseTransform, parseWorldTaskRefs, preserveForm, propose, pull, push, pushSlug, pyText, queryRows, queryRowsSearch, readLocalMeta, readToolCallRecords, redactActionArgs, redactionOf, resolveBrowserMode, roundForm, runSessions, runTask, schemaFromSignature, sessionToolObservations, setEnvSecret, shapeText, snapshotTreeHashes, storedForms, surfaceKinds, taskLabel, toolCallRecordsIn, toolCallsFromObservations, uiEntryUrl, uiUrl, updateTask, upsertRunConfig, validateTask, validateWorld, waitForRun, withoutUiToken, writeLocalMeta };
2276
+ export { ApiError, type BrowserActionEvent, BrowserActionRecorder, type BrowserMode, type BrowserPage, COMPUTER_USE_SPECS, type CreateEvaluationOptions, DEFAULT_BRANCH, DEFAULT_VIEWPORT, type DispatchedRun, EVENT_BATCH_SIZE, EVENT_FLUSH_INTERVAL_MS, EVENT_MAX_RETRIES, type EvalSample, type FinalizeEvaluationOptions, GatewayEvalsClient, type GradeResult, type IngestExplode, type IngestFieldSpec, type IngestMapping, type IngestMode, type IngestOptions, type IngestRefusal, type IngestReport, type IngestSource, type IngestSourceReport, type IngestToolCallsOptions, type IngestToolCallsReport, type LiveTaskSession, type LocalMeta, type MigrateWorldOptions, type ObservationConversion, type ObservationLike, type OpenSessionOptions, type OpenTaskOptions, type ParsedToolCall, type Plaintext, type PlaywrightBrowserLike, type PlaywrightLike, type RedactMode, type RedactPolicy, type Redaction, type ResolvedWorldVersion, type RunConfigInput, type RunConfigSummary, type RunProvenance, type RunReport, type RunTaskOptions, type RunTaskSummary, STRIP_PREFIX, SURFACE_KINDS, type SeedResult, type SessionRunReport, type SessionRunResult, type SessionSurfaces, TRANSFORMS, type TaskExport, type TaskGrade, type TaskManifest, type TaskManifestSession, TaskRun, type TaskRunResult, TaskSessions, type TaskSessionsResponse, type TaskWorldSessionState, type ToolCallRecord, type ToolCallSink, type ToolFunctions, type Transform, type ValidateReport, type ValidatedRun, WHITESPACE, WorldBrowser, type WorldDependency, type WorldDeprecation, type WorldDescription, type WorldEntity, type WorldEntityMapping, type WorldField, type WorldMigrationRefusal, type WorldMigrationReport, type WorldQueryAcrossOptions, type WorldQueryAcrossResult, type WorldQueryCompare, type WorldQueryCompareStatus, type WorldQueryGroup, type WorldQueryOptions, type WorldQueryResult, type WorldQuerySnapshot, type WorldQueryWhere, type WorldRelationship, WorldSession, type WorldSessionCall, WorldSessionCallError, type WorldSessionState, type WorldSessionTask, WorldSessionTimeout, WorldSet, type WorldSurfaceKind, WorldSurfaceUnavailable, WorldTask, type WorldTaskCheck, type WorldTaskDetail, type WorldTaskFieldOp, type WorldTaskGrader, type WorldTaskIdRef, type WorldTaskInfo, type WorldTaskPage, type WorldTaskRef, type WorldTaskRubricCriterion, type WorldTaskRubricGrader, type WorldTaskScalar, type WorldTaskSeed, type WorldTaskSpec, type WorldTaskSummary, type WorldTaskValidation, type WorldTaskVersionSummary, type WorldTaskWorld, type WorldTaskWorldValidation, type WorldToolSpec, type WorldToolkit, type WorldsClientOptions, aggregateTaskGrade, apiRequest, applyTransforms, attachManifest, attachSession, attachTask, buildSourceTarball, captureToolCalls, collectArchiveRelPaths, computeContentHash, computerUseToolkit, createRef, createTask, deleteEnvSecret, deleteTask, describeWorld, detectProvenance, getRun, getTask, hashForm, ingest, ingestToolCalls, isTaskIdRef, isTaskManifest, isTaskSpec, listEnvSecretKeys, listRunConfigs, listTaskSessions, listTasks, localTreeState, migrateProjectWorlds, migrateWorld, modelToolName, openBrowser, openSession, openTask, openWorld, parseToolCallRecord, parseTransform, parseWorldTaskRefs, preserveForm, propose, pull, push, pushSlug, pyText, queryRows, queryRowsSearch, readLocalMeta, readToolCallRecords, redactActionArgs, redactionOf, resolveBrowserMode, roundForm, runSessions, runTask, schemaFromSignature, sessionToolObservations, setEnvSecret, shapeText, snapshotTreeHashes, storedForms, surfaceKinds, taskLabel, toolCallRecordsIn, toolCallsFromObservations, uiEntryUrl, uiUrl, updateTask, upsertRunConfig, validateTask, validateWorld, waitForRun, withoutUiToken, writeLocalMeta };