@evolvingmachines/evolve 0.0.60 → 0.0.61
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.
- package/dist/chunk-N2LMMVL4.js +427 -0
- package/dist/cli/index.cjs +38 -37
- package/dist/cli/index.d.cts +3 -1
- package/dist/cli/index.d.ts +3 -1
- package/dist/cli/index.js +29 -28
- package/dist/index.cjs +54 -54
- package/dist/index.d.cts +111 -7
- package/dist/index.d.ts +111 -7
- package/dist/index.js +38 -38
- package/dist/{types-DlpTxdR_.d.cts → types-CMEpx9QI.d.cts} +313 -5
- package/dist/{types-DlpTxdR_.d.ts → types-CMEpx9QI.d.ts} +313 -5
- package/hosted-error-codes.json +6 -0
- package/package.json +5 -5
- package/skills/evolve-evals/references/cli-reference/analysis.mdx +69 -0
- package/skills/evolve-evals/references/cli-reference/check.mdx +86 -0
- package/skills/evolve-evals/references/cli-reference/dataset.mdx +13 -0
- package/skills/evolve-evals/references/cli-reference/run.mdx +6 -0
- package/skills/evolve-evals/references/cli-reference/trial.mdx +71 -2
- package/skills/evolve-evals/references/core-concepts/trial-outputs.mdx +14 -0
- package/skills/evolve-evals/references/sdk/python.mdx +22 -0
- package/skills/evolve-evals/references/sdk/typescript.mdx +22 -0
- package/skills/evolve-evals/references/sdk-reference/analyses.mdx +70 -0
- package/skills/evolve-evals/references/sdk-reference/checks.mdx +105 -4
- package/skills/evolve-evals/references/sdk-reference/datasets.mdx +40 -0
- package/skills/evolve-evals/references/sdk-reference/errors.mdx +11 -0
- package/skills/evolve-evals/references/sdk-reference/jobs.mdx +1 -1
- package/skills/evolve-evals/references/sdk-reference/trials.mdx +70 -0
- package/spec/openapi.yaml +3021 -360
- package/dist/chunk-JS2UTK2I.js +0 -427
package/dist/index.d.cts
CHANGED
|
@@ -4,8 +4,8 @@ import { ZodType, z } from 'zod';
|
|
|
4
4
|
export { E2BConfig, E2BProvider, createE2BProvider } from '@evolvingmachines/e2b';
|
|
5
5
|
export { DaytonaConfig, DaytonaProvider, createDaytonaProvider } from '@evolvingmachines/daytona';
|
|
6
6
|
export { ModalConfig, ModalProvider, createModalProvider } from '@evolvingmachines/modal';
|
|
7
|
-
import { U as UsageReading, G as GatewayUsageEvent, T as Trial, i as Job, h as TraceEvent, a as TrialAnalysis, C as Check, j as TaskCheck, H as HostedErrorCode, k as DatasetsClient, l as AgentsClient, m as JobsClient, S as SkillsClient, n as TrialsClient, o as AnalysesClient, p as ChecksClient, O as OrgsClient, q as CapabilityDocument, r as HostedClientConfig, s as AuthClient } from './types-
|
|
8
|
-
export { t as AGENT_EFFORT_SUPPORT_VALUES, u as ANALYSIS_ARTIFACT_STREAMS, v as ANALYSIS_STATUSES, w as ActiveDataset, x as AgentArm, y as AgentArmInput, z as AgentCapability, B as AgentDatasetStats, E as AgentEffortSupport, F as AgentInfo, A as AgentInput, I as AgentList, K as AgentModelOption, L as AgentPage, M as AgentResult, N as AgentSource, Q as AgentSourceInput, V as AgentUpsertInput, W as AnalysisArtifactStream, X as AnalysisCheck, Y as AnalysisEvidence, Z as AnalysisFailure, _ as AnalysisLabel, $ as AnalysisList, a0 as AnalysisPage, a1 as AnalysisStatus, a2 as AnalysisTranscript, a3 as AnalysisTranscriptOptions, a4 as AnalyzeConfig, a5 as AnalyzeConfigInput, a6 as ApiKey, a7 as AttemptPhase, a8 as AuthStatus, a9 as Awaitable, aa as CHECK_STATUSES, ab as
|
|
7
|
+
import { U as UsageReading, G as GatewayUsageEvent, T as Trial, i as Job, h as TraceEvent, a as TrialAnalysis, C as Check, j as TaskCheck, H as HostedErrorCode, k as DatasetsClient, l as AgentsClient, m as JobsClient, S as SkillsClient, n as TrialsClient, o as AnalysesClient, p as ChecksClient, O as OrgsClient, q as CapabilityDocument, r as HostedClientConfig, s as AuthClient } from './types-CMEpx9QI.cjs';
|
|
8
|
+
export { t as AGENT_EFFORT_SUPPORT_VALUES, u as ANALYSIS_ARTIFACT_STREAMS, v as ANALYSIS_STATUSES, w as ActiveDataset, x as AgentArm, y as AgentArmInput, z as AgentCapability, B as AgentDatasetStats, E as AgentEffortSupport, F as AgentInfo, A as AgentInput, I as AgentList, K as AgentModelOption, L as AgentPage, M as AgentResult, N as AgentSource, Q as AgentSourceInput, V as AgentUpsertInput, W as AnalysisArtifactStream, X as AnalysisCheck, Y as AnalysisEvidence, Z as AnalysisFailure, _ as AnalysisLabel, $ as AnalysisList, a0 as AnalysisPage, a1 as AnalysisStatus, a2 as AnalysisTranscript, a3 as AnalysisTranscriptOptions, a4 as AnalyzeConfig, a5 as AnalyzeConfigInput, a6 as ApiKey, a7 as AttemptPhase, a8 as AuthStatus, a9 as Awaitable, aa as CHECK_STATUSES, ab as CheckDefaults, ac as CheckLabel, ad as CompareCell, ae as CompareCoverage, af as CompareJobAggregate, ag as CompareResponse, ah as CompareTaskRow, ai as Dataset, b as DatasetImport, aj as DatasetImportFailure, ak as DatasetImportList, al as DatasetImportPage, e as DatasetImportProgress, am as DatasetImportStatus, an as DatasetList, ao as DatasetPage, ap as DatasetPatch, aq as DatasetPreflight, ar as DatasetRef, as as DatasetSelector, at as DatasetSource, D as DatasetVersion, au as DatasetVersionArchiveSource, av as DatasetVersionArchiveUrlSource, aw as DatasetVersionGitSource, ax as DatasetVersionHubSource, ay as DatasetVersionSource, az as DatasetVersionState, aA as DownloadDatasetOptions, aB as DownloadJobOptions, aC as EVAL_SANDBOX_PROVIDERS, aD as EvalAgent, aE as EvalModelInfo, aF as EvalSandboxProvider, aG as EvalStepResult, aH as ExceptionInfo, aI as FilesystemArchiveOptions, aJ as FilesystemBox, aK as FilesystemCapture, aL as FilesystemChange, aM as FilesystemChanges, aN as FilesystemChangesOptions, aO as FilesystemEntry, aP as FilesystemListOptions, aQ as FilesystemListing, aR as FilesystemReadOptions, aS as FilesystemSearchHit, aT as FilesystemSearchOptions, aU as FilesystemSearchResult, aV as FilesystemSource, aW as FilesystemState, aX as FilesystemStatus, aY as FilesystemStreamEvent, aZ as FilesystemStreamOptions, a_ as FilesystemWatchResult, a$ as GATEWAY_TRACE_SEQ_BASE, b0 as GatewayUsage, b1 as GetDatasetOptions, b2 as GrepJobOptions, b3 as HOSTED_ERROR_CODES, b4 as ImportPhase, b5 as ImportPhaseProgress, b6 as ImportWarning, b7 as InfraFailureSignature, b8 as JOB_LIST_SCOPES, b9 as JobAnalysisStats, J as JobCreate, ba as JobDeleteResult, c as JobEvent, bb as JobFailure, bc as JobGrepGroup, bd as JobGrepPage, be as JobImport, bf as JobImportFailure, bg as JobImportList, bh as JobImportPage, bi as JobImportPhaseName, bj as JobImportPhaseProgress, bk as JobImportProgress, bl as JobImportSkippedTrial, bm as JobImportSource, bn as JobList, bo as JobListScope, bp as JobPage, bq as JobStats, br as JobStatus, bs as JobTaskLink, bt as JobTaskRollup, bu as JobTaskRollupList, bv as JobTaskRollupPage, bw as JobWatch, bx as JudgeResult, by as ListAgentsOptions, bz as ListAnalysesOptions, bA as ListDatasetsOptions, bB as ListImportsOptions, bC as ListJobImportsOptions, bD as ListJobTasksOptions, bE as ListJobsOptions, bF as ListSkillsOptions, bG as ListTrialFilesOptions, bH as ListTrialsOptions, bI as ManagedProviderCapability, bJ as OrgQuota, bK as OrgRole, bL as OrgUsage, bM as Organization, bN as OrganizationDetail, bO as Page, bP as PageOptions, bQ as PassAtKGroup, bR as PassAtKPoint, bS as PreflightDatasetInput, bT as PreflightDeferredCheck, bU as PreflightManifestVerdict, bV as PreflightTaskVerdict, bW as ProviderCapability, P as PublishDatasetInput, bX as PublishDatasetOptions, bY as RegradeRequest, bZ as ResumeRequest, b_ as RetryRequest, R as Rubric, b$ as RubricCriterion, c0 as RunFilesystem, c1 as SANDBOX_LOG_STREAMS, c2 as SandboxLogEvent, c3 as SandboxLogLine, c4 as SandboxLogLines, c5 as SandboxLogOptions, c6 as SandboxLogStream, c7 as SandboxProcs, c8 as SkillLock, c9 as SkillUpload, ca as SkillUploadList, cb as SkillUploadPage, cc as SourceJob, cd as SpendSource, ce as StartJobOptions, cf as StatusVocabulary, cg as StopResponse, ch as TASK_LINKED_BY, ci as TASK_LINK_REASONS, cj as TRIAL_ARTIFACT_STREAMS, ck as TRIAL_STATUSES, cl as Task, cm as TaskCheckTranscript, cn as TaskLinkReason, co as TaskLinkedBy, cp as TaskNote, cq as TaskPackageFiles, cr as TaskPackageFilesystemStatus, cs as TaskProviderVerdict, ct as TimingInfo, cu as TraceEventPage, cv as TraceOptions, cw as TrialArtifactStream, cx as TrialCounts, cy as TrialFile, cz as TrialFilePage, cA as TrialFileRange, cB as TrialGpuCost, cC as TrialList, cD as TrialPage, cE as TrialStatus, cF as TrialStatusTally, cG as TrialTaskLink, cH as TrialUploadProvenance, cI as UploadJobOptions, cJ as UploadProvenance, cK as UpstreamStatus, cL as VerifierEnvironmentMode, cM as VerifierResult, cN as WatchAnalysisOptions, cO as WatchImportOptions, cP as WatchJobImportOptions, cQ as WatchJobOptions, cR as gatewayUsageOf, cS as isHostedErrorCode, cT as passAtK } from './types-CMEpx9QI.cjs';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* The one skills resolver.
|
|
@@ -1220,11 +1220,54 @@ interface SandboxListOptions {
|
|
|
1220
1220
|
metadata?: Record<string, string>;
|
|
1221
1221
|
limit?: number;
|
|
1222
1222
|
}
|
|
1223
|
-
/**
|
|
1223
|
+
/** One filesystem entry, the same shape on every provider (files.list / files.stat): a symlink is itself,
|
|
1224
|
+
* never followed; `mode` is four octal digits; `mtime` ISO 8601; "other" covers sockets, devices, pipes. */
|
|
1224
1225
|
interface FileInfo {
|
|
1225
1226
|
name: string;
|
|
1226
1227
|
path: string;
|
|
1227
|
-
type: "file" | "dir";
|
|
1228
|
+
type: "file" | "dir" | "symlink" | "other";
|
|
1229
|
+
size: number;
|
|
1230
|
+
mtime: string;
|
|
1231
|
+
mode: string;
|
|
1232
|
+
owner: string;
|
|
1233
|
+
group: string;
|
|
1234
|
+
/** The link's target, exactly as the box reports it; only on type "symlink". */
|
|
1235
|
+
target?: string;
|
|
1236
|
+
}
|
|
1237
|
+
/** A byte range of a file (capability: SandboxFiles.readRange). */
|
|
1238
|
+
interface FileRange {
|
|
1239
|
+
/** First byte, 0-based. */
|
|
1240
|
+
offset: number;
|
|
1241
|
+
/** Number of bytes wanted; a read that meets the end of the file returns fewer. */
|
|
1242
|
+
length: number;
|
|
1243
|
+
}
|
|
1244
|
+
/** One change under a watched directory; `rename` names the old path or the new one, so consumers relist the parent. */
|
|
1245
|
+
interface FilesystemEvent {
|
|
1246
|
+
path: string;
|
|
1247
|
+
type: "create" | "write" | "remove" | "rename";
|
|
1248
|
+
}
|
|
1249
|
+
/** Options for watching a directory (capability: SandboxFiles.watchDir). */
|
|
1250
|
+
interface WatchOptions {
|
|
1251
|
+
/** Also report changes in every subdirectory. Default false. */
|
|
1252
|
+
recursive?: boolean;
|
|
1253
|
+
}
|
|
1254
|
+
/** Stops a directory watch (capability: SandboxFiles.watchDir). */
|
|
1255
|
+
interface WatchHandle {
|
|
1256
|
+
stop(): Promise<void>;
|
|
1257
|
+
}
|
|
1258
|
+
/** One resource-usage sample (MiB, unrounded); `source` names the provider call, `sampledAt` is the sample's own time. */
|
|
1259
|
+
interface SandboxMetrics {
|
|
1260
|
+
cpuPct: number;
|
|
1261
|
+
memUsedMb: number;
|
|
1262
|
+
memTotalMb: number;
|
|
1263
|
+
diskUsedMb?: number;
|
|
1264
|
+
sampledAt: string;
|
|
1265
|
+
source: string;
|
|
1266
|
+
}
|
|
1267
|
+
/** Options for attaching to a sandbox for reads (capability: SandboxProvider.inspect). */
|
|
1268
|
+
interface SandboxInspectOptions {
|
|
1269
|
+
/** The OS user the reads run as; default: the create-time user when known in this process, else the provider's. */
|
|
1270
|
+
user?: string;
|
|
1228
1271
|
}
|
|
1229
1272
|
/**
|
|
1230
1273
|
* A COMPLETE (or admittedly incomplete) enumeration of a provider's fleet.
|
|
@@ -1297,12 +1340,18 @@ interface SandboxFiles {
|
|
|
1297
1340
|
writeFromPath?(sandboxPath: string, localPath: string): Promise<void>;
|
|
1298
1341
|
/** Check whether a file or directory exists. */
|
|
1299
1342
|
exists?(path: string): Promise<boolean>;
|
|
1300
|
-
/** List directory
|
|
1343
|
+
/** List a directory's entries (not recursive); a missing directory throws SandboxPathNotFoundError, never an empty list. */
|
|
1301
1344
|
list?(path: string): Promise<FileInfo[]>;
|
|
1302
1345
|
/** Delete a file or directory. */
|
|
1303
1346
|
remove?(path: string): Promise<void>;
|
|
1304
1347
|
/** Rename or move a file or directory. */
|
|
1305
1348
|
rename?(oldPath: string, newPath: string): Promise<void>;
|
|
1349
|
+
/** The entry at `path` itself, a symlink never followed; missing → SandboxPathNotFoundError. */
|
|
1350
|
+
stat?(path: string): Promise<FileInfo>;
|
|
1351
|
+
/** Exactly the requested bytes without moving the whole file; past the end returns fewer (or none). */
|
|
1352
|
+
readRange?(path: string, range: FileRange): Promise<Uint8Array>;
|
|
1353
|
+
/** Changes under `path` until stop(), as absolute paths; Daytona refuses typed (no watcher) so callers poll list(). */
|
|
1354
|
+
watchDir?(path: string, onEvent: (event: FilesystemEvent) => void | Promise<void>, options?: WatchOptions): Promise<WatchHandle>;
|
|
1306
1355
|
}
|
|
1307
1356
|
/** Sandbox instance */
|
|
1308
1357
|
interface SandboxInstance {
|
|
@@ -1317,6 +1366,9 @@ interface SandboxInstance {
|
|
|
1317
1366
|
isRunning?(): Promise<boolean>;
|
|
1318
1367
|
/** Sandbox metadata and timing. */
|
|
1319
1368
|
getInfo?(): Promise<SandboxInfo>;
|
|
1369
|
+
/** The newest sample, or null while there is none yet (E2B's first arrives seconds after boot);
|
|
1370
|
+
* Modal refuses typed because the figures inside its sandbox are the host's. */
|
|
1371
|
+
metrics?(): Promise<SandboxMetrics | null>;
|
|
1320
1372
|
/**
|
|
1321
1373
|
* Replace the sandbox's outbound network policy WITHOUT restarting it, so a
|
|
1322
1374
|
* long-lived box can run one phase sealed and the next with egress.
|
|
@@ -1368,6 +1420,9 @@ interface SandboxProvider {
|
|
|
1368
1420
|
readonly supportsBootCommand?: boolean;
|
|
1369
1421
|
create(options: SandboxCreateOptions): Promise<SandboxInstance>;
|
|
1370
1422
|
connect(sandboxId: string, timeoutMs?: number): Promise<SandboxInstance>;
|
|
1423
|
+
/** Attach to a RUNNING sandbox for reads: unlike connect(), never starts or resumes it, never extends its lifetime
|
|
1424
|
+
* (modal's idle timer still counts reads as activity); not running → SandboxNotRunningError. Optional like `list`. */
|
|
1425
|
+
inspect?(sandboxId: string, options?: SandboxInspectOptions): Promise<SandboxInstance>;
|
|
1371
1426
|
/**
|
|
1372
1427
|
* List sandboxes, paginating to exhaustion.
|
|
1373
1428
|
*
|
|
@@ -3908,6 +3963,33 @@ declare class TerminalPipeline<T> extends Pipeline<T> {
|
|
|
3908
3963
|
reduce(): never;
|
|
3909
3964
|
}
|
|
3910
3965
|
|
|
3966
|
+
/** A capability this provider lacks: `feature` in dotted form (`files.watchDir`), `provider` type, optional `reason`. */
|
|
3967
|
+
declare class SandboxFeatureUnsupportedError extends Error {
|
|
3968
|
+
readonly feature: string;
|
|
3969
|
+
readonly provider: string;
|
|
3970
|
+
readonly reason?: string;
|
|
3971
|
+
constructor(feature: string, provider: string, reason?: string);
|
|
3972
|
+
}
|
|
3973
|
+
/** A path the sandbox does not have — never an empty success. */
|
|
3974
|
+
declare class SandboxPathNotFoundError extends Error {
|
|
3975
|
+
readonly path: string;
|
|
3976
|
+
readonly provider: string;
|
|
3977
|
+
constructor(path: string, provider: string);
|
|
3978
|
+
}
|
|
3979
|
+
/** An inspect refused because the sandbox is not running; `state` is the provider's own word (`paused`, `exited with code 137`). */
|
|
3980
|
+
declare class SandboxNotRunningError extends Error {
|
|
3981
|
+
readonly sandboxId: string;
|
|
3982
|
+
readonly provider: string;
|
|
3983
|
+
readonly state: string;
|
|
3984
|
+
constructor(sandboxId: string, provider: string, state: string);
|
|
3985
|
+
}
|
|
3986
|
+
/** True for a SandboxFeatureUnsupportedError from ANY package's copy. */
|
|
3987
|
+
declare function isSandboxFeatureUnsupportedError(err: unknown): err is SandboxFeatureUnsupportedError;
|
|
3988
|
+
/** True for a SandboxPathNotFoundError from ANY package's copy. */
|
|
3989
|
+
declare function isSandboxPathNotFoundError(err: unknown): err is SandboxPathNotFoundError;
|
|
3990
|
+
/** True for a SandboxNotRunningError from ANY package's copy. */
|
|
3991
|
+
declare function isSandboxNotRunningError(err: unknown): err is SandboxNotRunningError;
|
|
3992
|
+
|
|
3911
3993
|
/**
|
|
3912
3994
|
* Evolve SDK Constants
|
|
3913
3995
|
*
|
|
@@ -3963,6 +4045,22 @@ interface ManagedSandboxOptions extends ManagedSandboxCreateDefaults {
|
|
|
3963
4045
|
* every create; a bare string is still accepted as the key alone.
|
|
3964
4046
|
*/
|
|
3965
4047
|
declare function managedSandbox(provider?: ManagedSandboxProviderName, options?: string | ManagedSandboxOptions): Promise<SandboxProvider>;
|
|
4048
|
+
/**
|
|
4049
|
+
* Resolve default sandbox provider from environment.
|
|
4050
|
+
*
|
|
4051
|
+
* Priority (user's sandbox keys first, gateway as fallback):
|
|
4052
|
+
* 1. E2B_API_KEY → Direct to E2B (user's own account)
|
|
4053
|
+
* 2. DAYTONA_API_KEY → Direct to Daytona (user's own account)
|
|
4054
|
+
* 3. MODAL_TOKEN_ID + MODAL_TOKEN_SECRET → Direct to Modal (user's own account)
|
|
4055
|
+
* 4. EVOLVE_API_KEY → Through gateway (fallback)
|
|
4056
|
+
*
|
|
4057
|
+
* This allows users to set both EVOLVE_API_KEY (for model routing + dashboard)
|
|
4058
|
+
* and their own sandbox key (E2B_API_KEY, DAYTONA_API_KEY, or Modal tokens) to control
|
|
4059
|
+
* sandbox billing separately.
|
|
4060
|
+
*
|
|
4061
|
+
* @throws Error if no provider can be resolved
|
|
4062
|
+
*/
|
|
4063
|
+
declare function resolveDefaultSandbox(): Promise<SandboxProvider>;
|
|
3966
4064
|
|
|
3967
4065
|
/**
|
|
3968
4066
|
* Claude JSONL → ACP-style events parser.
|
|
@@ -4421,6 +4519,11 @@ interface SessionInfo {
|
|
|
4421
4519
|
tag: string;
|
|
4422
4520
|
agent: string;
|
|
4423
4521
|
model: string | null;
|
|
4522
|
+
/**
|
|
4523
|
+
* The reasoning effort the session was started with, as the SDK resolved
|
|
4524
|
+
* it; null for a harness without one and for sessions recorded before the field.
|
|
4525
|
+
*/
|
|
4526
|
+
reasoningEffort: string | null;
|
|
4424
4527
|
provider: string;
|
|
4425
4528
|
sandboxId: string | null;
|
|
4426
4529
|
/** Ergonomic state: "live" (still running) or "ended" */
|
|
@@ -4921,7 +5024,8 @@ declare function analyses(config?: HostedClientConfig): AnalysesClient;
|
|
|
4921
5024
|
* `create` (POST /api/checks — the directory tarred from disk and streamed,
|
|
4922
5025
|
* never held in memory, the config part FIRST so a refused policy never
|
|
4923
5026
|
* receives its upload; or the dataset form, no upload at all), `get` and
|
|
4924
|
-
* `list` (the record and its catalog), `
|
|
5027
|
+
* `list` (the record and its catalog), `defaults` (the policy an empty
|
|
5028
|
+
* config resolves to), `watch` (the poll the contract asks
|
|
4925
5029
|
* for — checks have no event stream), and the per-task reads `task`,
|
|
4926
5030
|
* `transcript`, `artifact` (a task check read like an analysis run, off the
|
|
4927
5031
|
* traces feed — ChecksClient states the law). Requires EVOLVE_API_KEY (or
|
|
@@ -5020,4 +5124,4 @@ declare function hosted(config?: HostedClientConfig): HostedEvolve;
|
|
|
5020
5124
|
*/
|
|
5021
5125
|
declare function meta(config?: HostedClientConfig): Promise<CapabilityDocument>;
|
|
5022
5126
|
|
|
5023
|
-
export { AGENT_REGISTRY, AGENT_TYPES, type ActionbookBrowserConfig, Agent, type AgentBrowserConfig, type AgentConfig, type AgentError, type AgentOptions, type AgentOverride, type AgentParser, type AgentPluginConfig, type AgentRegistryEntry, type AgentResponse, type AgentRuntimeState, type AgentType, type AgentUsage, AgentsClient, AnalysesClient, AuthClient, BINARY_EFFORT_VALUES, BROWSER_ACTIONBOOK_PROMPT, BROWSER_LOGIN_MCP_SERVER_NAME, type BaseMeta, type BestOfConfig, type BestOfParams, type BestOfResult, type BrowserConfig, type BrowserCredentialCreateInput, type BrowserCredentialDeleteInput, type BrowserCredentialListOptions, type BrowserCredentialMetadata, type BrowserCredentialScopeEntry, BrowserCredentialsClient, type BrowserCredentialsClientConfig, type BrowserCredentialsConfig, type BrowserProfileDeleteInput, type BrowserProfileMetadata, BrowserProfilesClient, type BrowserProfilesClientConfig, type BrowserProvider, type BrowserReplay, type BrowserReplayOptions, type BrowserRuntimeInfo, type CandidateCompleteEvent, CapabilityDocument, type CheckpointInfo, type CodexAgentPluginConfig, DEFAULT_HARNESS_TRIAL_LAYOUT, DEFAULT_REASONING_EFFORT, DatasetsClient, type DefaultBrowserConfig, type DownloadCheckpointOptions, type DownloadFilesOptions, type DownloadSessionOptions, type EffortSupport, type EmitOption, type EventHandler, type EventName, Evolve, EvolveApiError, type EvolveConfig, EvolveConfigError, EvolveDigestMismatchError, type EvolveEvents, EvolveIncompleteDownloadError, EvolveUploadTimeoutError, type ExecuteCommandOptions, type ExternalGatewayConfig, type FileMap, type FilterConfig, type FilterParams, GatewayUsageEvent, type GeminiAgentPluginConfig, type GetEventsOptions, HARNESS_TRIAL_LAYOUTS, type HarnessTrialLayout, HostedClientConfig, HostedErrorCode, type HostedEvolve, ImportSettleError, type ImportSettleErrorCode, type IndexedMeta, type IntegrationAccount, type IntegrationAccountDeleteParams, type IntegrationAccountDeleteResult, type IntegrationAccountListParams, type IntegrationAccountUpdateParams, type IntegrationAccountUpdateResult, type IntegrationAuthParams, type IntegrationAuthResult, type IntegrationToolsFilter, type IntegrationsConfig, type IntegrationsSetup, type ItemInput, type ItemRetryEvent, JUDGE_PROMPT, Job, JobsClient, type JsonSchema, type JudgeCompleteEvent, type JudgeDecision, type JudgeMeta, type LifecycleEvent, type LifecycleReason, type ListSessionsOptions, MANAGED_SANDBOX_PROVIDERS, MAX_SKILL_BYTES, MAX_SKILL_FILES, type ManagedBrowserProvider, type ManagedSandboxCreateDefaults, type ManagedSandboxOptions, type ManagedSandboxProviderName, type ManagedSecretDeleteResult, type ManagedSecretDelivery, type ManagedSecretMetadata, type ManagedSecretRef, type ManagedSecretSetInput, type ManagedSecretWriteResult, type ManagedSecretsClient, type ManagedSecretsClientConfig, type MapConfig, type MapParams, type MarketplaceAgentPluginConfig, type McpConfigInfo, type McpServerConfig, type ModelInfo, NoActiveVersionError, type OnCandidateCompleteCallback, type OnItemRetryCallback, type OnJudgeCompleteCallback, type OnVerifierCompleteCallback, type OnWorkerCompleteCallback, type OperationType, OrgsClient, type OutputEvent, type OutputResult, type ParsedSkillRef, type PinnedSkillRef, Pipeline, type PipelineContext, type PipelineEventMap, type PipelineEvents, type PipelineResult, type ProcessInfo, type Prompt, type PromptFn, REASONING_EFFORTS, RETRY_FEEDBACK_PROMPT, type ReasoningEffort, type ReduceConfig, type ReduceMeta, type ReduceParams, type ReduceResult, type ResolvedSkill, type ResolvedStorageConfig, type RetryConfig, type RunCost, type RunOptions, SCHEMA_PROMPT, SKILL_FILE_NAME, SUPPORTED_RUN_OPTIONS, SWARM_RESULT_BRAND, SYSTEM_PROMPT, type SandboxCommandHandle, type SandboxCommandResult, type SandboxCommands, type SandboxCreateOptions, type SandboxFiles, type SandboxInstance, type SandboxLifecycleState, type SandboxNetworkPolicy, type SandboxProvider, type SandboxRunOptions, type SandboxSpawnOptions, type SchemaValidationOptions, Semaphore, type SessionCost, type SessionEvent, type SessionInfo, type SessionPage, type SessionStatus, type SessionTranscript, type SessionUpdate, type SessionsClient, type SessionsConfig, type SkillMountTarget, type SkillName, type SkillRef, SkillRefError, SkillResolveError, type SkillResolveOptions, SkillsClient, type SkillsConfig, type StepCompleteEvent, type StepErrorEvent, type StepEvent, type StepResult, type StepStartEvent, type StorageClient, type StorageConfig, type StreamCallbacks, type SupportedRunOption, Swarm, type SwarmConfig, type SwarmResult, SwarmResultList, TerminalPipeline, type TokenUsage, TraceEvent, Trial, TrialAnalysis, type TrialTreeParts, TrialsClient, UsageReading, VALIDATION_PRESETS, VERIFY_PROMPT, type ValidationMode, type VerifierCompleteEvent, type VerifyConfig, type VerifyDecision, type VerifyInfo, type VerifyMeta, WORKSPACE_PROMPT, WORKSPACE_SWE_PROMPT, type WorkerCompleteEvent, type WorkspaceMode, agents, analyses, analysisEvolveRecord, applyTemplate, assembleTrialTree, auth, browserCredentials, browserProfiles, buildWorkerSystemPrompt, checkEvolveRecord, checks, computeSkillDigest, createAgentParser, createClaudeParser, createCodexParser, createDroidParser, createGeminiParser, datasets, executeWithRetry, expandPath, getAgentConfig, getMcpSettingsDir, getMcpSettingsPath, harborCopyPath, harnessEffortVocabulary, harnessTrialLayout, homeRelativePath, hosted, isAgentWorkUpdate, isValidAgentType, isZodSchema, jobEvolveRecord, jobs, jsonSchemaToString, managedSandbox, managedSecrets, meta, mountSkills, orgs, parseNdjsonLine, parseNdjsonOutput, parseQwenOutput, parseSkillRef, pinSkillRef, placeHomeObject, readLocalDir, resolveSkillSha, resolveSkills, resolveStorageConfig, saveLocalDir, sessions, skillCloneUrl, skillDisplayUrl, skills, storage, taskCheckEvolveRecord, trialEvolveRecord, trials, writeClaudeMcpConfig, writeCodexMcpConfig, writeDroidGatewaySettings, writeDroidMcpConfig, writeGeminiMcpConfig, writeMcpConfig, writeQwenMcpConfig, zodSchemaToJson };
|
|
5127
|
+
export { AGENT_REGISTRY, AGENT_TYPES, type ActionbookBrowserConfig, Agent, type AgentBrowserConfig, type AgentConfig, type AgentError, type AgentOptions, type AgentOverride, type AgentParser, type AgentPluginConfig, type AgentRegistryEntry, type AgentResponse, type AgentRuntimeState, type AgentType, type AgentUsage, AgentsClient, AnalysesClient, AuthClient, BINARY_EFFORT_VALUES, BROWSER_ACTIONBOOK_PROMPT, BROWSER_LOGIN_MCP_SERVER_NAME, type BaseMeta, type BestOfConfig, type BestOfParams, type BestOfResult, type BrowserConfig, type BrowserCredentialCreateInput, type BrowserCredentialDeleteInput, type BrowserCredentialListOptions, type BrowserCredentialMetadata, type BrowserCredentialScopeEntry, BrowserCredentialsClient, type BrowserCredentialsClientConfig, type BrowserCredentialsConfig, type BrowserProfileDeleteInput, type BrowserProfileMetadata, BrowserProfilesClient, type BrowserProfilesClientConfig, type BrowserProvider, type BrowserReplay, type BrowserReplayOptions, type BrowserRuntimeInfo, type CandidateCompleteEvent, CapabilityDocument, type CheckpointInfo, type CodexAgentPluginConfig, DEFAULT_HARNESS_TRIAL_LAYOUT, DEFAULT_REASONING_EFFORT, DatasetsClient, type DefaultBrowserConfig, type DownloadCheckpointOptions, type DownloadFilesOptions, type DownloadSessionOptions, type EffortSupport, type EmitOption, type EventHandler, type EventName, Evolve, EvolveApiError, type EvolveConfig, EvolveConfigError, EvolveDigestMismatchError, type EvolveEvents, EvolveIncompleteDownloadError, EvolveUploadTimeoutError, type ExecuteCommandOptions, type ExternalGatewayConfig, type FileInfo, type FileMap, type FileRange, type FilesystemEvent, type FilterConfig, type FilterParams, GatewayUsageEvent, type GeminiAgentPluginConfig, type GetEventsOptions, HARNESS_TRIAL_LAYOUTS, type HarnessTrialLayout, HostedClientConfig, HostedErrorCode, type HostedEvolve, ImportSettleError, type ImportSettleErrorCode, type IndexedMeta, type IntegrationAccount, type IntegrationAccountDeleteParams, type IntegrationAccountDeleteResult, type IntegrationAccountListParams, type IntegrationAccountUpdateParams, type IntegrationAccountUpdateResult, type IntegrationAuthParams, type IntegrationAuthResult, type IntegrationToolsFilter, type IntegrationsConfig, type IntegrationsSetup, type ItemInput, type ItemRetryEvent, JUDGE_PROMPT, Job, JobsClient, type JsonSchema, type JudgeCompleteEvent, type JudgeDecision, type JudgeMeta, type LifecycleEvent, type LifecycleReason, type ListSessionsOptions, MANAGED_SANDBOX_PROVIDERS, MAX_SKILL_BYTES, MAX_SKILL_FILES, type ManagedBrowserProvider, type ManagedSandboxCreateDefaults, type ManagedSandboxOptions, type ManagedSandboxProviderName, type ManagedSecretDeleteResult, type ManagedSecretDelivery, type ManagedSecretMetadata, type ManagedSecretRef, type ManagedSecretSetInput, type ManagedSecretWriteResult, type ManagedSecretsClient, type ManagedSecretsClientConfig, type MapConfig, type MapParams, type MarketplaceAgentPluginConfig, type McpConfigInfo, type McpServerConfig, type ModelInfo, NoActiveVersionError, type OnCandidateCompleteCallback, type OnItemRetryCallback, type OnJudgeCompleteCallback, type OnVerifierCompleteCallback, type OnWorkerCompleteCallback, type OperationType, OrgsClient, type OutputEvent, type OutputResult, type ParsedSkillRef, type PinnedSkillRef, Pipeline, type PipelineContext, type PipelineEventMap, type PipelineEvents, type PipelineResult, type ProcessInfo, type Prompt, type PromptFn, REASONING_EFFORTS, RETRY_FEEDBACK_PROMPT, type ReasoningEffort, type ReduceConfig, type ReduceMeta, type ReduceParams, type ReduceResult, type ResolvedSkill, type ResolvedStorageConfig, type RetryConfig, type RunCost, type RunOptions, SCHEMA_PROMPT, SKILL_FILE_NAME, SUPPORTED_RUN_OPTIONS, SWARM_RESULT_BRAND, SYSTEM_PROMPT, type SandboxCommandHandle, type SandboxCommandResult, type SandboxCommands, type SandboxCreateOptions, SandboxFeatureUnsupportedError, type SandboxFiles, type SandboxInspectOptions, type SandboxInstance, type SandboxLifecycleState, type SandboxMetrics, type SandboxNetworkPolicy, SandboxNotRunningError, SandboxPathNotFoundError, type SandboxProvider, type SandboxRunOptions, type SandboxSpawnOptions, type SchemaValidationOptions, Semaphore, type SessionCost, type SessionEvent, type SessionInfo, type SessionPage, type SessionStatus, type SessionTranscript, type SessionUpdate, type SessionsClient, type SessionsConfig, type SkillMountTarget, type SkillName, type SkillRef, SkillRefError, SkillResolveError, type SkillResolveOptions, SkillsClient, type SkillsConfig, type StepCompleteEvent, type StepErrorEvent, type StepEvent, type StepResult, type StepStartEvent, type StorageClient, type StorageConfig, type StreamCallbacks, type SupportedRunOption, Swarm, type SwarmConfig, type SwarmResult, SwarmResultList, TerminalPipeline, type TokenUsage, TraceEvent, Trial, TrialAnalysis, type TrialTreeParts, TrialsClient, UsageReading, VALIDATION_PRESETS, VERIFY_PROMPT, type ValidationMode, type VerifierCompleteEvent, type VerifyConfig, type VerifyDecision, type VerifyInfo, type VerifyMeta, WORKSPACE_PROMPT, WORKSPACE_SWE_PROMPT, type WatchHandle, type WatchOptions, type WorkerCompleteEvent, type WorkspaceMode, agents, analyses, analysisEvolveRecord, applyTemplate, assembleTrialTree, auth, browserCredentials, browserProfiles, buildWorkerSystemPrompt, checkEvolveRecord, checks, computeSkillDigest, createAgentParser, createClaudeParser, createCodexParser, createDroidParser, createGeminiParser, datasets, executeWithRetry, expandPath, getAgentConfig, getMcpSettingsDir, getMcpSettingsPath, harborCopyPath, harnessEffortVocabulary, harnessTrialLayout, homeRelativePath, hosted, isAgentWorkUpdate, isSandboxFeatureUnsupportedError, isSandboxNotRunningError, isSandboxPathNotFoundError, isValidAgentType, isZodSchema, jobEvolveRecord, jobs, jsonSchemaToString, managedSandbox, managedSecrets, meta, mountSkills, orgs, parseNdjsonLine, parseNdjsonOutput, parseQwenOutput, parseSkillRef, pinSkillRef, placeHomeObject, readLocalDir, resolveDefaultSandbox, resolveSkillSha, resolveSkills, resolveStorageConfig, saveLocalDir, sessions, skillCloneUrl, skillDisplayUrl, skills, storage, taskCheckEvolveRecord, trialEvolveRecord, trials, writeClaudeMcpConfig, writeCodexMcpConfig, writeDroidGatewaySettings, writeDroidMcpConfig, writeGeminiMcpConfig, writeMcpConfig, writeQwenMcpConfig, zodSchemaToJson };
|
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import { ZodType, z } from 'zod';
|
|
|
4
4
|
export { E2BConfig, E2BProvider, createE2BProvider } from '@evolvingmachines/e2b';
|
|
5
5
|
export { DaytonaConfig, DaytonaProvider, createDaytonaProvider } from '@evolvingmachines/daytona';
|
|
6
6
|
export { ModalConfig, ModalProvider, createModalProvider } from '@evolvingmachines/modal';
|
|
7
|
-
import { U as UsageReading, G as GatewayUsageEvent, T as Trial, i as Job, h as TraceEvent, a as TrialAnalysis, C as Check, j as TaskCheck, H as HostedErrorCode, k as DatasetsClient, l as AgentsClient, m as JobsClient, S as SkillsClient, n as TrialsClient, o as AnalysesClient, p as ChecksClient, O as OrgsClient, q as CapabilityDocument, r as HostedClientConfig, s as AuthClient } from './types-
|
|
8
|
-
export { t as AGENT_EFFORT_SUPPORT_VALUES, u as ANALYSIS_ARTIFACT_STREAMS, v as ANALYSIS_STATUSES, w as ActiveDataset, x as AgentArm, y as AgentArmInput, z as AgentCapability, B as AgentDatasetStats, E as AgentEffortSupport, F as AgentInfo, A as AgentInput, I as AgentList, K as AgentModelOption, L as AgentPage, M as AgentResult, N as AgentSource, Q as AgentSourceInput, V as AgentUpsertInput, W as AnalysisArtifactStream, X as AnalysisCheck, Y as AnalysisEvidence, Z as AnalysisFailure, _ as AnalysisLabel, $ as AnalysisList, a0 as AnalysisPage, a1 as AnalysisStatus, a2 as AnalysisTranscript, a3 as AnalysisTranscriptOptions, a4 as AnalyzeConfig, a5 as AnalyzeConfigInput, a6 as ApiKey, a7 as AttemptPhase, a8 as AuthStatus, a9 as Awaitable, aa as CHECK_STATUSES, ab as
|
|
7
|
+
import { U as UsageReading, G as GatewayUsageEvent, T as Trial, i as Job, h as TraceEvent, a as TrialAnalysis, C as Check, j as TaskCheck, H as HostedErrorCode, k as DatasetsClient, l as AgentsClient, m as JobsClient, S as SkillsClient, n as TrialsClient, o as AnalysesClient, p as ChecksClient, O as OrgsClient, q as CapabilityDocument, r as HostedClientConfig, s as AuthClient } from './types-CMEpx9QI.js';
|
|
8
|
+
export { t as AGENT_EFFORT_SUPPORT_VALUES, u as ANALYSIS_ARTIFACT_STREAMS, v as ANALYSIS_STATUSES, w as ActiveDataset, x as AgentArm, y as AgentArmInput, z as AgentCapability, B as AgentDatasetStats, E as AgentEffortSupport, F as AgentInfo, A as AgentInput, I as AgentList, K as AgentModelOption, L as AgentPage, M as AgentResult, N as AgentSource, Q as AgentSourceInput, V as AgentUpsertInput, W as AnalysisArtifactStream, X as AnalysisCheck, Y as AnalysisEvidence, Z as AnalysisFailure, _ as AnalysisLabel, $ as AnalysisList, a0 as AnalysisPage, a1 as AnalysisStatus, a2 as AnalysisTranscript, a3 as AnalysisTranscriptOptions, a4 as AnalyzeConfig, a5 as AnalyzeConfigInput, a6 as ApiKey, a7 as AttemptPhase, a8 as AuthStatus, a9 as Awaitable, aa as CHECK_STATUSES, ab as CheckDefaults, ac as CheckLabel, ad as CompareCell, ae as CompareCoverage, af as CompareJobAggregate, ag as CompareResponse, ah as CompareTaskRow, ai as Dataset, b as DatasetImport, aj as DatasetImportFailure, ak as DatasetImportList, al as DatasetImportPage, e as DatasetImportProgress, am as DatasetImportStatus, an as DatasetList, ao as DatasetPage, ap as DatasetPatch, aq as DatasetPreflight, ar as DatasetRef, as as DatasetSelector, at as DatasetSource, D as DatasetVersion, au as DatasetVersionArchiveSource, av as DatasetVersionArchiveUrlSource, aw as DatasetVersionGitSource, ax as DatasetVersionHubSource, ay as DatasetVersionSource, az as DatasetVersionState, aA as DownloadDatasetOptions, aB as DownloadJobOptions, aC as EVAL_SANDBOX_PROVIDERS, aD as EvalAgent, aE as EvalModelInfo, aF as EvalSandboxProvider, aG as EvalStepResult, aH as ExceptionInfo, aI as FilesystemArchiveOptions, aJ as FilesystemBox, aK as FilesystemCapture, aL as FilesystemChange, aM as FilesystemChanges, aN as FilesystemChangesOptions, aO as FilesystemEntry, aP as FilesystemListOptions, aQ as FilesystemListing, aR as FilesystemReadOptions, aS as FilesystemSearchHit, aT as FilesystemSearchOptions, aU as FilesystemSearchResult, aV as FilesystemSource, aW as FilesystemState, aX as FilesystemStatus, aY as FilesystemStreamEvent, aZ as FilesystemStreamOptions, a_ as FilesystemWatchResult, a$ as GATEWAY_TRACE_SEQ_BASE, b0 as GatewayUsage, b1 as GetDatasetOptions, b2 as GrepJobOptions, b3 as HOSTED_ERROR_CODES, b4 as ImportPhase, b5 as ImportPhaseProgress, b6 as ImportWarning, b7 as InfraFailureSignature, b8 as JOB_LIST_SCOPES, b9 as JobAnalysisStats, J as JobCreate, ba as JobDeleteResult, c as JobEvent, bb as JobFailure, bc as JobGrepGroup, bd as JobGrepPage, be as JobImport, bf as JobImportFailure, bg as JobImportList, bh as JobImportPage, bi as JobImportPhaseName, bj as JobImportPhaseProgress, bk as JobImportProgress, bl as JobImportSkippedTrial, bm as JobImportSource, bn as JobList, bo as JobListScope, bp as JobPage, bq as JobStats, br as JobStatus, bs as JobTaskLink, bt as JobTaskRollup, bu as JobTaskRollupList, bv as JobTaskRollupPage, bw as JobWatch, bx as JudgeResult, by as ListAgentsOptions, bz as ListAnalysesOptions, bA as ListDatasetsOptions, bB as ListImportsOptions, bC as ListJobImportsOptions, bD as ListJobTasksOptions, bE as ListJobsOptions, bF as ListSkillsOptions, bG as ListTrialFilesOptions, bH as ListTrialsOptions, bI as ManagedProviderCapability, bJ as OrgQuota, bK as OrgRole, bL as OrgUsage, bM as Organization, bN as OrganizationDetail, bO as Page, bP as PageOptions, bQ as PassAtKGroup, bR as PassAtKPoint, bS as PreflightDatasetInput, bT as PreflightDeferredCheck, bU as PreflightManifestVerdict, bV as PreflightTaskVerdict, bW as ProviderCapability, P as PublishDatasetInput, bX as PublishDatasetOptions, bY as RegradeRequest, bZ as ResumeRequest, b_ as RetryRequest, R as Rubric, b$ as RubricCriterion, c0 as RunFilesystem, c1 as SANDBOX_LOG_STREAMS, c2 as SandboxLogEvent, c3 as SandboxLogLine, c4 as SandboxLogLines, c5 as SandboxLogOptions, c6 as SandboxLogStream, c7 as SandboxProcs, c8 as SkillLock, c9 as SkillUpload, ca as SkillUploadList, cb as SkillUploadPage, cc as SourceJob, cd as SpendSource, ce as StartJobOptions, cf as StatusVocabulary, cg as StopResponse, ch as TASK_LINKED_BY, ci as TASK_LINK_REASONS, cj as TRIAL_ARTIFACT_STREAMS, ck as TRIAL_STATUSES, cl as Task, cm as TaskCheckTranscript, cn as TaskLinkReason, co as TaskLinkedBy, cp as TaskNote, cq as TaskPackageFiles, cr as TaskPackageFilesystemStatus, cs as TaskProviderVerdict, ct as TimingInfo, cu as TraceEventPage, cv as TraceOptions, cw as TrialArtifactStream, cx as TrialCounts, cy as TrialFile, cz as TrialFilePage, cA as TrialFileRange, cB as TrialGpuCost, cC as TrialList, cD as TrialPage, cE as TrialStatus, cF as TrialStatusTally, cG as TrialTaskLink, cH as TrialUploadProvenance, cI as UploadJobOptions, cJ as UploadProvenance, cK as UpstreamStatus, cL as VerifierEnvironmentMode, cM as VerifierResult, cN as WatchAnalysisOptions, cO as WatchImportOptions, cP as WatchJobImportOptions, cQ as WatchJobOptions, cR as gatewayUsageOf, cS as isHostedErrorCode, cT as passAtK } from './types-CMEpx9QI.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* The one skills resolver.
|
|
@@ -1220,11 +1220,54 @@ interface SandboxListOptions {
|
|
|
1220
1220
|
metadata?: Record<string, string>;
|
|
1221
1221
|
limit?: number;
|
|
1222
1222
|
}
|
|
1223
|
-
/**
|
|
1223
|
+
/** One filesystem entry, the same shape on every provider (files.list / files.stat): a symlink is itself,
|
|
1224
|
+
* never followed; `mode` is four octal digits; `mtime` ISO 8601; "other" covers sockets, devices, pipes. */
|
|
1224
1225
|
interface FileInfo {
|
|
1225
1226
|
name: string;
|
|
1226
1227
|
path: string;
|
|
1227
|
-
type: "file" | "dir";
|
|
1228
|
+
type: "file" | "dir" | "symlink" | "other";
|
|
1229
|
+
size: number;
|
|
1230
|
+
mtime: string;
|
|
1231
|
+
mode: string;
|
|
1232
|
+
owner: string;
|
|
1233
|
+
group: string;
|
|
1234
|
+
/** The link's target, exactly as the box reports it; only on type "symlink". */
|
|
1235
|
+
target?: string;
|
|
1236
|
+
}
|
|
1237
|
+
/** A byte range of a file (capability: SandboxFiles.readRange). */
|
|
1238
|
+
interface FileRange {
|
|
1239
|
+
/** First byte, 0-based. */
|
|
1240
|
+
offset: number;
|
|
1241
|
+
/** Number of bytes wanted; a read that meets the end of the file returns fewer. */
|
|
1242
|
+
length: number;
|
|
1243
|
+
}
|
|
1244
|
+
/** One change under a watched directory; `rename` names the old path or the new one, so consumers relist the parent. */
|
|
1245
|
+
interface FilesystemEvent {
|
|
1246
|
+
path: string;
|
|
1247
|
+
type: "create" | "write" | "remove" | "rename";
|
|
1248
|
+
}
|
|
1249
|
+
/** Options for watching a directory (capability: SandboxFiles.watchDir). */
|
|
1250
|
+
interface WatchOptions {
|
|
1251
|
+
/** Also report changes in every subdirectory. Default false. */
|
|
1252
|
+
recursive?: boolean;
|
|
1253
|
+
}
|
|
1254
|
+
/** Stops a directory watch (capability: SandboxFiles.watchDir). */
|
|
1255
|
+
interface WatchHandle {
|
|
1256
|
+
stop(): Promise<void>;
|
|
1257
|
+
}
|
|
1258
|
+
/** One resource-usage sample (MiB, unrounded); `source` names the provider call, `sampledAt` is the sample's own time. */
|
|
1259
|
+
interface SandboxMetrics {
|
|
1260
|
+
cpuPct: number;
|
|
1261
|
+
memUsedMb: number;
|
|
1262
|
+
memTotalMb: number;
|
|
1263
|
+
diskUsedMb?: number;
|
|
1264
|
+
sampledAt: string;
|
|
1265
|
+
source: string;
|
|
1266
|
+
}
|
|
1267
|
+
/** Options for attaching to a sandbox for reads (capability: SandboxProvider.inspect). */
|
|
1268
|
+
interface SandboxInspectOptions {
|
|
1269
|
+
/** The OS user the reads run as; default: the create-time user when known in this process, else the provider's. */
|
|
1270
|
+
user?: string;
|
|
1228
1271
|
}
|
|
1229
1272
|
/**
|
|
1230
1273
|
* A COMPLETE (or admittedly incomplete) enumeration of a provider's fleet.
|
|
@@ -1297,12 +1340,18 @@ interface SandboxFiles {
|
|
|
1297
1340
|
writeFromPath?(sandboxPath: string, localPath: string): Promise<void>;
|
|
1298
1341
|
/** Check whether a file or directory exists. */
|
|
1299
1342
|
exists?(path: string): Promise<boolean>;
|
|
1300
|
-
/** List directory
|
|
1343
|
+
/** List a directory's entries (not recursive); a missing directory throws SandboxPathNotFoundError, never an empty list. */
|
|
1301
1344
|
list?(path: string): Promise<FileInfo[]>;
|
|
1302
1345
|
/** Delete a file or directory. */
|
|
1303
1346
|
remove?(path: string): Promise<void>;
|
|
1304
1347
|
/** Rename or move a file or directory. */
|
|
1305
1348
|
rename?(oldPath: string, newPath: string): Promise<void>;
|
|
1349
|
+
/** The entry at `path` itself, a symlink never followed; missing → SandboxPathNotFoundError. */
|
|
1350
|
+
stat?(path: string): Promise<FileInfo>;
|
|
1351
|
+
/** Exactly the requested bytes without moving the whole file; past the end returns fewer (or none). */
|
|
1352
|
+
readRange?(path: string, range: FileRange): Promise<Uint8Array>;
|
|
1353
|
+
/** Changes under `path` until stop(), as absolute paths; Daytona refuses typed (no watcher) so callers poll list(). */
|
|
1354
|
+
watchDir?(path: string, onEvent: (event: FilesystemEvent) => void | Promise<void>, options?: WatchOptions): Promise<WatchHandle>;
|
|
1306
1355
|
}
|
|
1307
1356
|
/** Sandbox instance */
|
|
1308
1357
|
interface SandboxInstance {
|
|
@@ -1317,6 +1366,9 @@ interface SandboxInstance {
|
|
|
1317
1366
|
isRunning?(): Promise<boolean>;
|
|
1318
1367
|
/** Sandbox metadata and timing. */
|
|
1319
1368
|
getInfo?(): Promise<SandboxInfo>;
|
|
1369
|
+
/** The newest sample, or null while there is none yet (E2B's first arrives seconds after boot);
|
|
1370
|
+
* Modal refuses typed because the figures inside its sandbox are the host's. */
|
|
1371
|
+
metrics?(): Promise<SandboxMetrics | null>;
|
|
1320
1372
|
/**
|
|
1321
1373
|
* Replace the sandbox's outbound network policy WITHOUT restarting it, so a
|
|
1322
1374
|
* long-lived box can run one phase sealed and the next with egress.
|
|
@@ -1368,6 +1420,9 @@ interface SandboxProvider {
|
|
|
1368
1420
|
readonly supportsBootCommand?: boolean;
|
|
1369
1421
|
create(options: SandboxCreateOptions): Promise<SandboxInstance>;
|
|
1370
1422
|
connect(sandboxId: string, timeoutMs?: number): Promise<SandboxInstance>;
|
|
1423
|
+
/** Attach to a RUNNING sandbox for reads: unlike connect(), never starts or resumes it, never extends its lifetime
|
|
1424
|
+
* (modal's idle timer still counts reads as activity); not running → SandboxNotRunningError. Optional like `list`. */
|
|
1425
|
+
inspect?(sandboxId: string, options?: SandboxInspectOptions): Promise<SandboxInstance>;
|
|
1371
1426
|
/**
|
|
1372
1427
|
* List sandboxes, paginating to exhaustion.
|
|
1373
1428
|
*
|
|
@@ -3908,6 +3963,33 @@ declare class TerminalPipeline<T> extends Pipeline<T> {
|
|
|
3908
3963
|
reduce(): never;
|
|
3909
3964
|
}
|
|
3910
3965
|
|
|
3966
|
+
/** A capability this provider lacks: `feature` in dotted form (`files.watchDir`), `provider` type, optional `reason`. */
|
|
3967
|
+
declare class SandboxFeatureUnsupportedError extends Error {
|
|
3968
|
+
readonly feature: string;
|
|
3969
|
+
readonly provider: string;
|
|
3970
|
+
readonly reason?: string;
|
|
3971
|
+
constructor(feature: string, provider: string, reason?: string);
|
|
3972
|
+
}
|
|
3973
|
+
/** A path the sandbox does not have — never an empty success. */
|
|
3974
|
+
declare class SandboxPathNotFoundError extends Error {
|
|
3975
|
+
readonly path: string;
|
|
3976
|
+
readonly provider: string;
|
|
3977
|
+
constructor(path: string, provider: string);
|
|
3978
|
+
}
|
|
3979
|
+
/** An inspect refused because the sandbox is not running; `state` is the provider's own word (`paused`, `exited with code 137`). */
|
|
3980
|
+
declare class SandboxNotRunningError extends Error {
|
|
3981
|
+
readonly sandboxId: string;
|
|
3982
|
+
readonly provider: string;
|
|
3983
|
+
readonly state: string;
|
|
3984
|
+
constructor(sandboxId: string, provider: string, state: string);
|
|
3985
|
+
}
|
|
3986
|
+
/** True for a SandboxFeatureUnsupportedError from ANY package's copy. */
|
|
3987
|
+
declare function isSandboxFeatureUnsupportedError(err: unknown): err is SandboxFeatureUnsupportedError;
|
|
3988
|
+
/** True for a SandboxPathNotFoundError from ANY package's copy. */
|
|
3989
|
+
declare function isSandboxPathNotFoundError(err: unknown): err is SandboxPathNotFoundError;
|
|
3990
|
+
/** True for a SandboxNotRunningError from ANY package's copy. */
|
|
3991
|
+
declare function isSandboxNotRunningError(err: unknown): err is SandboxNotRunningError;
|
|
3992
|
+
|
|
3911
3993
|
/**
|
|
3912
3994
|
* Evolve SDK Constants
|
|
3913
3995
|
*
|
|
@@ -3963,6 +4045,22 @@ interface ManagedSandboxOptions extends ManagedSandboxCreateDefaults {
|
|
|
3963
4045
|
* every create; a bare string is still accepted as the key alone.
|
|
3964
4046
|
*/
|
|
3965
4047
|
declare function managedSandbox(provider?: ManagedSandboxProviderName, options?: string | ManagedSandboxOptions): Promise<SandboxProvider>;
|
|
4048
|
+
/**
|
|
4049
|
+
* Resolve default sandbox provider from environment.
|
|
4050
|
+
*
|
|
4051
|
+
* Priority (user's sandbox keys first, gateway as fallback):
|
|
4052
|
+
* 1. E2B_API_KEY → Direct to E2B (user's own account)
|
|
4053
|
+
* 2. DAYTONA_API_KEY → Direct to Daytona (user's own account)
|
|
4054
|
+
* 3. MODAL_TOKEN_ID + MODAL_TOKEN_SECRET → Direct to Modal (user's own account)
|
|
4055
|
+
* 4. EVOLVE_API_KEY → Through gateway (fallback)
|
|
4056
|
+
*
|
|
4057
|
+
* This allows users to set both EVOLVE_API_KEY (for model routing + dashboard)
|
|
4058
|
+
* and their own sandbox key (E2B_API_KEY, DAYTONA_API_KEY, or Modal tokens) to control
|
|
4059
|
+
* sandbox billing separately.
|
|
4060
|
+
*
|
|
4061
|
+
* @throws Error if no provider can be resolved
|
|
4062
|
+
*/
|
|
4063
|
+
declare function resolveDefaultSandbox(): Promise<SandboxProvider>;
|
|
3966
4064
|
|
|
3967
4065
|
/**
|
|
3968
4066
|
* Claude JSONL → ACP-style events parser.
|
|
@@ -4421,6 +4519,11 @@ interface SessionInfo {
|
|
|
4421
4519
|
tag: string;
|
|
4422
4520
|
agent: string;
|
|
4423
4521
|
model: string | null;
|
|
4522
|
+
/**
|
|
4523
|
+
* The reasoning effort the session was started with, as the SDK resolved
|
|
4524
|
+
* it; null for a harness without one and for sessions recorded before the field.
|
|
4525
|
+
*/
|
|
4526
|
+
reasoningEffort: string | null;
|
|
4424
4527
|
provider: string;
|
|
4425
4528
|
sandboxId: string | null;
|
|
4426
4529
|
/** Ergonomic state: "live" (still running) or "ended" */
|
|
@@ -4921,7 +5024,8 @@ declare function analyses(config?: HostedClientConfig): AnalysesClient;
|
|
|
4921
5024
|
* `create` (POST /api/checks — the directory tarred from disk and streamed,
|
|
4922
5025
|
* never held in memory, the config part FIRST so a refused policy never
|
|
4923
5026
|
* receives its upload; or the dataset form, no upload at all), `get` and
|
|
4924
|
-
* `list` (the record and its catalog), `
|
|
5027
|
+
* `list` (the record and its catalog), `defaults` (the policy an empty
|
|
5028
|
+
* config resolves to), `watch` (the poll the contract asks
|
|
4925
5029
|
* for — checks have no event stream), and the per-task reads `task`,
|
|
4926
5030
|
* `transcript`, `artifact` (a task check read like an analysis run, off the
|
|
4927
5031
|
* traces feed — ChecksClient states the law). Requires EVOLVE_API_KEY (or
|
|
@@ -5020,4 +5124,4 @@ declare function hosted(config?: HostedClientConfig): HostedEvolve;
|
|
|
5020
5124
|
*/
|
|
5021
5125
|
declare function meta(config?: HostedClientConfig): Promise<CapabilityDocument>;
|
|
5022
5126
|
|
|
5023
|
-
export { AGENT_REGISTRY, AGENT_TYPES, type ActionbookBrowserConfig, Agent, type AgentBrowserConfig, type AgentConfig, type AgentError, type AgentOptions, type AgentOverride, type AgentParser, type AgentPluginConfig, type AgentRegistryEntry, type AgentResponse, type AgentRuntimeState, type AgentType, type AgentUsage, AgentsClient, AnalysesClient, AuthClient, BINARY_EFFORT_VALUES, BROWSER_ACTIONBOOK_PROMPT, BROWSER_LOGIN_MCP_SERVER_NAME, type BaseMeta, type BestOfConfig, type BestOfParams, type BestOfResult, type BrowserConfig, type BrowserCredentialCreateInput, type BrowserCredentialDeleteInput, type BrowserCredentialListOptions, type BrowserCredentialMetadata, type BrowserCredentialScopeEntry, BrowserCredentialsClient, type BrowserCredentialsClientConfig, type BrowserCredentialsConfig, type BrowserProfileDeleteInput, type BrowserProfileMetadata, BrowserProfilesClient, type BrowserProfilesClientConfig, type BrowserProvider, type BrowserReplay, type BrowserReplayOptions, type BrowserRuntimeInfo, type CandidateCompleteEvent, CapabilityDocument, type CheckpointInfo, type CodexAgentPluginConfig, DEFAULT_HARNESS_TRIAL_LAYOUT, DEFAULT_REASONING_EFFORT, DatasetsClient, type DefaultBrowserConfig, type DownloadCheckpointOptions, type DownloadFilesOptions, type DownloadSessionOptions, type EffortSupport, type EmitOption, type EventHandler, type EventName, Evolve, EvolveApiError, type EvolveConfig, EvolveConfigError, EvolveDigestMismatchError, type EvolveEvents, EvolveIncompleteDownloadError, EvolveUploadTimeoutError, type ExecuteCommandOptions, type ExternalGatewayConfig, type FileMap, type FilterConfig, type FilterParams, GatewayUsageEvent, type GeminiAgentPluginConfig, type GetEventsOptions, HARNESS_TRIAL_LAYOUTS, type HarnessTrialLayout, HostedClientConfig, HostedErrorCode, type HostedEvolve, ImportSettleError, type ImportSettleErrorCode, type IndexedMeta, type IntegrationAccount, type IntegrationAccountDeleteParams, type IntegrationAccountDeleteResult, type IntegrationAccountListParams, type IntegrationAccountUpdateParams, type IntegrationAccountUpdateResult, type IntegrationAuthParams, type IntegrationAuthResult, type IntegrationToolsFilter, type IntegrationsConfig, type IntegrationsSetup, type ItemInput, type ItemRetryEvent, JUDGE_PROMPT, Job, JobsClient, type JsonSchema, type JudgeCompleteEvent, type JudgeDecision, type JudgeMeta, type LifecycleEvent, type LifecycleReason, type ListSessionsOptions, MANAGED_SANDBOX_PROVIDERS, MAX_SKILL_BYTES, MAX_SKILL_FILES, type ManagedBrowserProvider, type ManagedSandboxCreateDefaults, type ManagedSandboxOptions, type ManagedSandboxProviderName, type ManagedSecretDeleteResult, type ManagedSecretDelivery, type ManagedSecretMetadata, type ManagedSecretRef, type ManagedSecretSetInput, type ManagedSecretWriteResult, type ManagedSecretsClient, type ManagedSecretsClientConfig, type MapConfig, type MapParams, type MarketplaceAgentPluginConfig, type McpConfigInfo, type McpServerConfig, type ModelInfo, NoActiveVersionError, type OnCandidateCompleteCallback, type OnItemRetryCallback, type OnJudgeCompleteCallback, type OnVerifierCompleteCallback, type OnWorkerCompleteCallback, type OperationType, OrgsClient, type OutputEvent, type OutputResult, type ParsedSkillRef, type PinnedSkillRef, Pipeline, type PipelineContext, type PipelineEventMap, type PipelineEvents, type PipelineResult, type ProcessInfo, type Prompt, type PromptFn, REASONING_EFFORTS, RETRY_FEEDBACK_PROMPT, type ReasoningEffort, type ReduceConfig, type ReduceMeta, type ReduceParams, type ReduceResult, type ResolvedSkill, type ResolvedStorageConfig, type RetryConfig, type RunCost, type RunOptions, SCHEMA_PROMPT, SKILL_FILE_NAME, SUPPORTED_RUN_OPTIONS, SWARM_RESULT_BRAND, SYSTEM_PROMPT, type SandboxCommandHandle, type SandboxCommandResult, type SandboxCommands, type SandboxCreateOptions, type SandboxFiles, type SandboxInstance, type SandboxLifecycleState, type SandboxNetworkPolicy, type SandboxProvider, type SandboxRunOptions, type SandboxSpawnOptions, type SchemaValidationOptions, Semaphore, type SessionCost, type SessionEvent, type SessionInfo, type SessionPage, type SessionStatus, type SessionTranscript, type SessionUpdate, type SessionsClient, type SessionsConfig, type SkillMountTarget, type SkillName, type SkillRef, SkillRefError, SkillResolveError, type SkillResolveOptions, SkillsClient, type SkillsConfig, type StepCompleteEvent, type StepErrorEvent, type StepEvent, type StepResult, type StepStartEvent, type StorageClient, type StorageConfig, type StreamCallbacks, type SupportedRunOption, Swarm, type SwarmConfig, type SwarmResult, SwarmResultList, TerminalPipeline, type TokenUsage, TraceEvent, Trial, TrialAnalysis, type TrialTreeParts, TrialsClient, UsageReading, VALIDATION_PRESETS, VERIFY_PROMPT, type ValidationMode, type VerifierCompleteEvent, type VerifyConfig, type VerifyDecision, type VerifyInfo, type VerifyMeta, WORKSPACE_PROMPT, WORKSPACE_SWE_PROMPT, type WorkerCompleteEvent, type WorkspaceMode, agents, analyses, analysisEvolveRecord, applyTemplate, assembleTrialTree, auth, browserCredentials, browserProfiles, buildWorkerSystemPrompt, checkEvolveRecord, checks, computeSkillDigest, createAgentParser, createClaudeParser, createCodexParser, createDroidParser, createGeminiParser, datasets, executeWithRetry, expandPath, getAgentConfig, getMcpSettingsDir, getMcpSettingsPath, harborCopyPath, harnessEffortVocabulary, harnessTrialLayout, homeRelativePath, hosted, isAgentWorkUpdate, isValidAgentType, isZodSchema, jobEvolveRecord, jobs, jsonSchemaToString, managedSandbox, managedSecrets, meta, mountSkills, orgs, parseNdjsonLine, parseNdjsonOutput, parseQwenOutput, parseSkillRef, pinSkillRef, placeHomeObject, readLocalDir, resolveSkillSha, resolveSkills, resolveStorageConfig, saveLocalDir, sessions, skillCloneUrl, skillDisplayUrl, skills, storage, taskCheckEvolveRecord, trialEvolveRecord, trials, writeClaudeMcpConfig, writeCodexMcpConfig, writeDroidGatewaySettings, writeDroidMcpConfig, writeGeminiMcpConfig, writeMcpConfig, writeQwenMcpConfig, zodSchemaToJson };
|
|
5127
|
+
export { AGENT_REGISTRY, AGENT_TYPES, type ActionbookBrowserConfig, Agent, type AgentBrowserConfig, type AgentConfig, type AgentError, type AgentOptions, type AgentOverride, type AgentParser, type AgentPluginConfig, type AgentRegistryEntry, type AgentResponse, type AgentRuntimeState, type AgentType, type AgentUsage, AgentsClient, AnalysesClient, AuthClient, BINARY_EFFORT_VALUES, BROWSER_ACTIONBOOK_PROMPT, BROWSER_LOGIN_MCP_SERVER_NAME, type BaseMeta, type BestOfConfig, type BestOfParams, type BestOfResult, type BrowserConfig, type BrowserCredentialCreateInput, type BrowserCredentialDeleteInput, type BrowserCredentialListOptions, type BrowserCredentialMetadata, type BrowserCredentialScopeEntry, BrowserCredentialsClient, type BrowserCredentialsClientConfig, type BrowserCredentialsConfig, type BrowserProfileDeleteInput, type BrowserProfileMetadata, BrowserProfilesClient, type BrowserProfilesClientConfig, type BrowserProvider, type BrowserReplay, type BrowserReplayOptions, type BrowserRuntimeInfo, type CandidateCompleteEvent, CapabilityDocument, type CheckpointInfo, type CodexAgentPluginConfig, DEFAULT_HARNESS_TRIAL_LAYOUT, DEFAULT_REASONING_EFFORT, DatasetsClient, type DefaultBrowserConfig, type DownloadCheckpointOptions, type DownloadFilesOptions, type DownloadSessionOptions, type EffortSupport, type EmitOption, type EventHandler, type EventName, Evolve, EvolveApiError, type EvolveConfig, EvolveConfigError, EvolveDigestMismatchError, type EvolveEvents, EvolveIncompleteDownloadError, EvolveUploadTimeoutError, type ExecuteCommandOptions, type ExternalGatewayConfig, type FileInfo, type FileMap, type FileRange, type FilesystemEvent, type FilterConfig, type FilterParams, GatewayUsageEvent, type GeminiAgentPluginConfig, type GetEventsOptions, HARNESS_TRIAL_LAYOUTS, type HarnessTrialLayout, HostedClientConfig, HostedErrorCode, type HostedEvolve, ImportSettleError, type ImportSettleErrorCode, type IndexedMeta, type IntegrationAccount, type IntegrationAccountDeleteParams, type IntegrationAccountDeleteResult, type IntegrationAccountListParams, type IntegrationAccountUpdateParams, type IntegrationAccountUpdateResult, type IntegrationAuthParams, type IntegrationAuthResult, type IntegrationToolsFilter, type IntegrationsConfig, type IntegrationsSetup, type ItemInput, type ItemRetryEvent, JUDGE_PROMPT, Job, JobsClient, type JsonSchema, type JudgeCompleteEvent, type JudgeDecision, type JudgeMeta, type LifecycleEvent, type LifecycleReason, type ListSessionsOptions, MANAGED_SANDBOX_PROVIDERS, MAX_SKILL_BYTES, MAX_SKILL_FILES, type ManagedBrowserProvider, type ManagedSandboxCreateDefaults, type ManagedSandboxOptions, type ManagedSandboxProviderName, type ManagedSecretDeleteResult, type ManagedSecretDelivery, type ManagedSecretMetadata, type ManagedSecretRef, type ManagedSecretSetInput, type ManagedSecretWriteResult, type ManagedSecretsClient, type ManagedSecretsClientConfig, type MapConfig, type MapParams, type MarketplaceAgentPluginConfig, type McpConfigInfo, type McpServerConfig, type ModelInfo, NoActiveVersionError, type OnCandidateCompleteCallback, type OnItemRetryCallback, type OnJudgeCompleteCallback, type OnVerifierCompleteCallback, type OnWorkerCompleteCallback, type OperationType, OrgsClient, type OutputEvent, type OutputResult, type ParsedSkillRef, type PinnedSkillRef, Pipeline, type PipelineContext, type PipelineEventMap, type PipelineEvents, type PipelineResult, type ProcessInfo, type Prompt, type PromptFn, REASONING_EFFORTS, RETRY_FEEDBACK_PROMPT, type ReasoningEffort, type ReduceConfig, type ReduceMeta, type ReduceParams, type ReduceResult, type ResolvedSkill, type ResolvedStorageConfig, type RetryConfig, type RunCost, type RunOptions, SCHEMA_PROMPT, SKILL_FILE_NAME, SUPPORTED_RUN_OPTIONS, SWARM_RESULT_BRAND, SYSTEM_PROMPT, type SandboxCommandHandle, type SandboxCommandResult, type SandboxCommands, type SandboxCreateOptions, SandboxFeatureUnsupportedError, type SandboxFiles, type SandboxInspectOptions, type SandboxInstance, type SandboxLifecycleState, type SandboxMetrics, type SandboxNetworkPolicy, SandboxNotRunningError, SandboxPathNotFoundError, type SandboxProvider, type SandboxRunOptions, type SandboxSpawnOptions, type SchemaValidationOptions, Semaphore, type SessionCost, type SessionEvent, type SessionInfo, type SessionPage, type SessionStatus, type SessionTranscript, type SessionUpdate, type SessionsClient, type SessionsConfig, type SkillMountTarget, type SkillName, type SkillRef, SkillRefError, SkillResolveError, type SkillResolveOptions, SkillsClient, type SkillsConfig, type StepCompleteEvent, type StepErrorEvent, type StepEvent, type StepResult, type StepStartEvent, type StorageClient, type StorageConfig, type StreamCallbacks, type SupportedRunOption, Swarm, type SwarmConfig, type SwarmResult, SwarmResultList, TerminalPipeline, type TokenUsage, TraceEvent, Trial, TrialAnalysis, type TrialTreeParts, TrialsClient, UsageReading, VALIDATION_PRESETS, VERIFY_PROMPT, type ValidationMode, type VerifierCompleteEvent, type VerifyConfig, type VerifyDecision, type VerifyInfo, type VerifyMeta, WORKSPACE_PROMPT, WORKSPACE_SWE_PROMPT, type WatchHandle, type WatchOptions, type WorkerCompleteEvent, type WorkspaceMode, agents, analyses, analysisEvolveRecord, applyTemplate, assembleTrialTree, auth, browserCredentials, browserProfiles, buildWorkerSystemPrompt, checkEvolveRecord, checks, computeSkillDigest, createAgentParser, createClaudeParser, createCodexParser, createDroidParser, createGeminiParser, datasets, executeWithRetry, expandPath, getAgentConfig, getMcpSettingsDir, getMcpSettingsPath, harborCopyPath, harnessEffortVocabulary, harnessTrialLayout, homeRelativePath, hosted, isAgentWorkUpdate, isSandboxFeatureUnsupportedError, isSandboxNotRunningError, isSandboxPathNotFoundError, isValidAgentType, isZodSchema, jobEvolveRecord, jobs, jsonSchemaToString, managedSandbox, managedSecrets, meta, mountSkills, orgs, parseNdjsonLine, parseNdjsonOutput, parseQwenOutput, parseSkillRef, pinSkillRef, placeHomeObject, readLocalDir, resolveDefaultSandbox, resolveSkillSha, resolveSkills, resolveStorageConfig, saveLocalDir, sessions, skillCloneUrl, skillDisplayUrl, skills, storage, taskCheckEvolveRecord, trialEvolveRecord, trials, writeClaudeMcpConfig, writeCodexMcpConfig, writeDroidGatewaySettings, writeDroidMcpConfig, writeGeminiMcpConfig, writeMcpConfig, writeQwenMcpConfig, zodSchemaToJson };
|