@evolvingmachines/evolve 0.0.67 → 0.0.69
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-FHL4GIAZ.js +1 -0
- package/dist/chunk-ORD7JDZB.js +1 -0
- package/dist/chunk-SQDR2TAW.js +427 -0
- package/dist/cli/index.cjs +38 -38
- package/dist/cli/index.d.cts +1 -1
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +30 -30
- package/dist/index.cjs +65 -60
- package/dist/index.d.cts +332 -29
- package/dist/index.d.ts +332 -29
- package/dist/index.js +48 -43
- package/dist/managed-modal-IXZBT4D5.js +4 -0
- package/dist/resumable-XNW5SKRW.js +1 -0
- package/dist/{types-84M4J_Vm.d.cts → types-DGx_qo9M.d.cts} +118 -77
- package/dist/{types-84M4J_Vm.d.ts → types-DGx_qo9M.d.ts} +118 -77
- package/harness-capabilities.json +325 -77
- package/hosted-error-codes.json +1 -0
- package/package.json +9 -7
- package/skills/create-adapter/SKILL.md +1 -1
- package/skills/create-task/SKILL.md +1 -1
- package/skills/evolve/SKILL.md +1 -1
- package/skills/evolve-evals/SKILL.md +1 -1
- package/skills/evolve-evals/references/cli-reference/agent.md +1 -1
- package/skills/evolve-evals/references/cli-reference/analyze.md +7 -4
- package/skills/evolve-evals/references/cli-reference/check.md +5 -4
- package/skills/evolve-evals/references/cli-reference/index.md +1 -1
- package/skills/evolve-evals/references/cli-reference/run.md +6 -5
- package/skills/evolve-evals/references/core-concepts/agents.md +19 -5
- package/skills/evolve-evals/references/core-concepts/analyze.md +39 -5
- package/skills/evolve-evals/references/core-concepts/check.md +62 -6
- package/skills/evolve-evals/references/core-concepts/datasets.md +1 -1
- package/skills/evolve-evals/references/core-concepts/index.md +1 -1
- package/skills/evolve-evals/references/core-concepts/jobs.md +3 -3
- package/skills/evolve-evals/references/core-concepts/models.md +393 -41
- package/skills/evolve-evals/references/core-concepts/sandboxes.md +1 -1
- package/skills/evolve-evals/references/core-concepts/secrets.md +1 -1
- package/skills/evolve-evals/references/core-concepts/skills.md +1 -1
- package/skills/evolve-evals/references/core-concepts/task-verifiers.md +1 -1
- package/skills/evolve-evals/references/core-concepts/teams.md +1 -1
- package/skills/evolve-evals/references/core-concepts/upload.md +1 -1
- package/skills/evolve-evals/references/dashboard/checks.md +5 -3
- package/skills/evolve-evals/references/dashboard/jobs.md +1 -1
- package/skills/evolve-evals/references/getting-started/first-task.md +1 -1
- package/skills/evolve-evals/references/getting-started/quick-start.md +1 -1
- package/skills/evolve-evals/references/index.md +1 -1
- package/skills/evolve-evals/references/sdk/http.md +1 -1
- package/skills/evolve-evals/references/sdk/python.md +1 -1
- package/skills/evolve-evals/references/sdk/typescript.md +1 -1
- package/skills/evolve-evals/references/sdk-reference/analyses.md +16 -5
- package/skills/evolve-evals/references/sdk-reference/checks.md +14 -5
- package/skills/evolve-evals/references/sdk-reference/error-codes.md +3 -2
- package/skills/evolve-evals/references/sdk-reference/jobs.md +3 -3
- package/skills/evolve-evals/references/sdk-reference/meta.md +4 -3
- package/skills/evolve-evals/references/sdk-reference/methods/analyses.md +6 -4
- package/skills/evolve-evals/references/sdk-reference/methods/checks.md +8 -4
- package/skills/evolve-evals/references/sdk-reference/methods/jobs.md +5 -3
- package/skills/evolve-evals/references/sdk-reference/methods/meta.md +15 -4
- package/skills/evolve-evals/references/sdk-reference/skills.md +2 -2
- package/skills/evolve-evals/references/sdk-reference/types.md +11 -5
- package/spec/openapi.yaml +290 -137
- package/dist/chunk-HQJI3HHU.js +0 -1
- package/dist/chunk-RFLMRPGK.js +0 -427
- package/dist/managed-modal-IJW62SSK.js +0 -4
- package/dist/resumable-HFSICSH3.js +0 -1
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, i as JobVisibility, G as GatewayUsageEvent, j as JobShareRequest, k as JobShares, T as Trial, l as Job, h as TraceEvent, a as TrialAnalysis, C as Check, m as TaskCheck, H as HostedErrorCode, n as DatasetsClient, o as AgentsClient, p as JobsClient, S as SkillsClient, q as TrialsClient, r as AnalysesClient, s as ChecksClient, O as OrgsClient, t as CapabilityDocument, u as HostedClientConfig, v as AuthClient } from './types-
|
|
8
|
-
export { w as AGENT_EFFORT_SUPPORT_VALUES, x as ANALYSIS_ARTIFACT_STREAMS, y as ANALYSIS_STATUSES, z as ActiveDataset, B as AgentArm, E as AgentArmInput, F as AgentCapability, I as AgentDatasetStats, K as AgentEffortSupport, L as AgentInfo, A as AgentInput, M as AgentList, N as AgentModelOption, Q as AgentPage, V as AgentResult, W as AgentSource, X as AgentSourceInput, Y as AgentUpsertInput, Z as AnalysisArtifactStream, _ as AnalysisCheck, $ as AnalysisEvidence, a0 as AnalysisFailure, a1 as AnalysisList, a2 as AnalysisPage, a3 as AnalysisStatus, a4 as AnalysisTranscript, a5 as AnalysisTranscriptOptions, a6 as AnalyzeConfig, a7 as AnalyzeConfigInput, a8 as AnalyzeDefaults, a9 as ApiKey, aa as AttemptPhase, ab as AuthStatus, ac as Awaitable, ad as CHECK_STATUSES, ae as CheckDefaults, af as CheckRow, ag as CheckRowList, ah as CheckRowPage, ai as CheckTaskTally, aj as CompareCell, ak as CompareCoverage, al as CompareJobAggregate, am as CompareResponse, an as CompareTaskRow, ao as Dataset, b as DatasetImport, ap as DatasetImportFailure, aq as DatasetImportList, ar as DatasetImportPage, e as DatasetImportProgress, as as DatasetImportStatus, at as DatasetList, au as DatasetPage, av as DatasetPatch, aw as DatasetPreflight, ax as DatasetRef, ay as DatasetSelector, az as DatasetSource, D as DatasetVersion, aA as DatasetVersionArchiveSource, aB as DatasetVersionArchiveUrlSource, aC as DatasetVersionGitSource, aD as DatasetVersionHubSource, aE as DatasetVersionSource, aF as DatasetVersionState, aG as DownloadDatasetOptions, aH as DownloadJobOptions, aI as EVAL_SANDBOX_PROVIDERS, aJ as EvalAgent, aK as EvalModelInfo, aL as EvalSandboxProvider, aM as EvalStepResult, aN as ExceptionInfo, aO as FilesystemArchiveOptions, aP as FilesystemBox, aQ as FilesystemCapture, aR as FilesystemChange, aS as FilesystemChanges, aT as FilesystemChangesOptions, aU as FilesystemEntry, aV as FilesystemListOptions, aW as FilesystemListing, aX as FilesystemReadOptions, aY as FilesystemSearchHit, aZ as FilesystemSearchOptions, a_ as FilesystemSearchResult, a$ as FilesystemSource, b0 as FilesystemState, b1 as FilesystemStatus, b2 as FilesystemStreamEvent, b3 as FilesystemStreamOptions, b4 as FilesystemWatchResult, b5 as GATEWAY_TRACE_SEQ_BASE, b6 as GatewayUsage, b7 as GetDatasetOptions, b8 as GrepJobOptions, b9 as HOSTED_ERROR_CODES, ba as ImportPhase, bb as ImportPhaseProgress, bc as ImportWarning, bd as InfraFailureSignature, be as JOB_LIST_KINDS, bf as JOB_LIST_SCOPES, bg as JobAnalysisStats, J as JobCreate, bh as JobDeleteResult, c as JobEvent, bi as JobFailure, bj as JobGrepGroup, bk as JobGrepPage, bl as JobImport, bm as JobImportFailure, bn as JobImportList, bo as JobImportPage, bp as JobImportPhaseName, bq as JobImportPhaseProgress, br as JobImportProgress, bs as JobImportSkippedTrial, bt as JobImportSource, bu as JobList, bv as JobListItem, bw as JobListItemList, bx as JobListItemPage, by as JobListKind, bz as JobListScope, bA as JobPage, bB as JobShareEmail, bC as JobShareLink, bD as JobStats, bE as JobStatus, bF as JobTaskLink, bG as JobTaskRollup, bH as JobTaskRollupList, bI as JobTaskRollupPage, bJ as JobViewer, bK as JobWatch, bL as JudgeResult, bM as ListAgentsOptions, bN as ListAnalysesOptions, bO as ListDatasetsOptions, bP as ListImportsOptions, bQ as ListJobImportsOptions, bR as ListJobTasksOptions, bS as ListJobsOptions, bT as ListSkillsOptions, bU as ListTrialFilesOptions, bV as ListTrialsOptions, bW as ManagedProviderCapability, bX as OrgInvite, bY as OrgInviteCreated, bZ as OrgJoined, b_ as OrgMember, b$ as OrgQuota, c0 as OrgRole, c1 as OrgUsage, c2 as Organization, c3 as OrganizationDetail, c4 as Page, c5 as PageOptions, c6 as PassAtKGroup, c7 as PassAtKPoint, c8 as PreflightDatasetInput, c9 as PreflightDeferredCheck, ca as PreflightManifestVerdict, cb as PreflightTaskVerdict, cc as ProviderCapability, P as PublishDatasetInput, cd as PublishDatasetOptions, ce as RegradeRequest, cf as ResumeRequest, cg as RetryRequest, R as Rubric,
|
|
7
|
+
import { U as UsageReading, i as JobVisibility, G as GatewayUsageEvent, j as JobShareRequest, k as JobShares, T as Trial, l as Job, h as TraceEvent, a as TrialAnalysis, C as Check, m as TaskCheck, H as HostedErrorCode, n as DatasetsClient, o as AgentsClient, p as JobsClient, S as SkillsClient, q as TrialsClient, r as AnalysesClient, s as ChecksClient, O as OrgsClient, t as CapabilityDocument, u as HostedClientConfig, v as AuthClient } from './types-DGx_qo9M.cjs';
|
|
8
|
+
export { w as AGENT_EFFORT_SUPPORT_VALUES, x as ANALYSIS_ARTIFACT_STREAMS, y as ANALYSIS_STATUSES, z as ActiveDataset, B as AgentArm, E as AgentArmInput, F as AgentCapability, I as AgentDatasetStats, K as AgentEffortSupport, L as AgentInfo, A as AgentInput, M as AgentList, N as AgentModelOption, Q as AgentPage, V as AgentResult, W as AgentSource, X as AgentSourceInput, Y as AgentUpsertInput, Z as AnalysisArtifactStream, _ as AnalysisCheck, $ as AnalysisEvidence, a0 as AnalysisFailure, a1 as AnalysisList, a2 as AnalysisPage, a3 as AnalysisStatus, a4 as AnalysisTranscript, a5 as AnalysisTranscriptOptions, a6 as AnalyzeConfig, a7 as AnalyzeConfigInput, a8 as AnalyzeDefaults, a9 as ApiKey, aa as AttemptPhase, ab as AuthStatus, ac as Awaitable, ad as CHECK_STATUSES, ae as CheckDefaults, af as CheckRow, ag as CheckRowList, ah as CheckRowPage, ai as CheckTaskTally, aj as CompareCell, ak as CompareCoverage, al as CompareJobAggregate, am as CompareResponse, an as CompareTaskRow, ao as Dataset, b as DatasetImport, ap as DatasetImportFailure, aq as DatasetImportList, ar as DatasetImportPage, e as DatasetImportProgress, as as DatasetImportStatus, at as DatasetList, au as DatasetPage, av as DatasetPatch, aw as DatasetPreflight, ax as DatasetRef, ay as DatasetSelector, az as DatasetSource, D as DatasetVersion, aA as DatasetVersionArchiveSource, aB as DatasetVersionArchiveUrlSource, aC as DatasetVersionGitSource, aD as DatasetVersionHubSource, aE as DatasetVersionSource, aF as DatasetVersionState, aG as DownloadDatasetOptions, aH as DownloadJobOptions, aI as EVAL_SANDBOX_PROVIDERS, aJ as EvalAgent, aK as EvalModelInfo, aL as EvalSandboxProvider, aM as EvalStepResult, aN as ExceptionInfo, aO as FilesystemArchiveOptions, aP as FilesystemBox, aQ as FilesystemCapture, aR as FilesystemChange, aS as FilesystemChanges, aT as FilesystemChangesOptions, aU as FilesystemEntry, aV as FilesystemListOptions, aW as FilesystemListing, aX as FilesystemReadOptions, aY as FilesystemSearchHit, aZ as FilesystemSearchOptions, a_ as FilesystemSearchResult, a$ as FilesystemSource, b0 as FilesystemState, b1 as FilesystemStatus, b2 as FilesystemStreamEvent, b3 as FilesystemStreamOptions, b4 as FilesystemWatchResult, b5 as GATEWAY_TRACE_SEQ_BASE, b6 as GatewayUsage, b7 as GetDatasetOptions, b8 as GrepJobOptions, b9 as HOSTED_ERROR_CODES, ba as ImportPhase, bb as ImportPhaseProgress, bc as ImportWarning, bd as InfraFailureSignature, be as JOB_LIST_KINDS, bf as JOB_LIST_SCOPES, bg as JobAnalysisStats, J as JobCreate, bh as JobDeleteResult, c as JobEvent, bi as JobFailure, bj as JobGrepGroup, bk as JobGrepPage, bl as JobImport, bm as JobImportFailure, bn as JobImportList, bo as JobImportPage, bp as JobImportPhaseName, bq as JobImportPhaseProgress, br as JobImportProgress, bs as JobImportSkippedTrial, bt as JobImportSource, bu as JobList, bv as JobListItem, bw as JobListItemList, bx as JobListItemPage, by as JobListKind, bz as JobListScope, bA as JobPage, bB as JobShareEmail, bC as JobShareLink, bD as JobStats, bE as JobStatus, bF as JobTaskLink, bG as JobTaskRollup, bH as JobTaskRollupList, bI as JobTaskRollupPage, bJ as JobViewer, bK as JobWatch, bL as JudgeResult, bM as ListAgentsOptions, bN as ListAnalysesOptions, bO as ListDatasetsOptions, bP as ListImportsOptions, bQ as ListJobImportsOptions, bR as ListJobTasksOptions, bS as ListJobsOptions, bT as ListSkillsOptions, bU as ListTrialFilesOptions, bV as ListTrialsOptions, bW as ManagedProviderCapability, bX as OrgInvite, bY as OrgInviteCreated, bZ as OrgJoined, b_ as OrgMember, b$ as OrgQuota, c0 as OrgRole, c1 as OrgUsage, c2 as Organization, c3 as OrganizationDetail, c4 as Page, c5 as PageOptions, c6 as PassAtKGroup, c7 as PassAtKPoint, c8 as PreflightDatasetInput, c9 as PreflightDeferredCheck, ca as PreflightManifestVerdict, cb as PreflightTaskVerdict, cc as ProviderCapability, P as PublishDatasetInput, cd as PublishDatasetOptions, ce as RegradeRequest, cf as ResumeRequest, cg as RetiredAgent, ch as RetryRequest, R as Rubric, ci as RubricCriterion, cj as RunFilesystem, ck as SANDBOX_LOG_STREAMS, cl as SandboxLogEvent, cm as SandboxLogLine, cn as SandboxLogLines, co as SandboxLogOptions, cp as SandboxLogStream, cq as SandboxProcs, cr as SkillLock, cs as SkillUpload, ct as SkillUploadList, cu as SkillUploadPage, cv as SourceJob, cw as SpendSource, cx as StartJobOptions, cy as StatusVocabulary, cz as StopResponse, cA as TASK_LINKED_BY, cB as TASK_LINK_REASONS, cC as TRIAL_ARTIFACT_STREAMS, cD as TRIAL_STATUSES, cE as Task, cF as TaskCheckTranscript, cG as TaskLinkReason, cH as TaskLinkedBy, cI as TaskNote, cJ as TaskPackageFiles, cK as TaskPackageFilesystemStatus, cL as TaskProviderVerdict, cM as TimingInfo, cN as TraceEventPage, cO as TraceOptions, cP as TrialArtifactStream, cQ as TrialCounts, cR as TrialFile, cS as TrialFilePage, cT as TrialFileRange, cU as TrialGpuCost, cV as TrialList, cW as TrialPage, cX as TrialStatus, cY as TrialStatusTally, cZ as TrialTaskLink, c_ as TrialUploadProvenance, c$ as UploadJobOptions, d0 as UploadProvenance, d1 as UploadSkillOptions, d2 as UpstreamStatus, d3 as VerifierEnvironmentMode, d4 as VerifierResult, d5 as WatchAnalysisOptions, d6 as WatchImportOptions, d7 as WatchJobImportOptions, d8 as WatchJobOptions, d9 as gatewayUsageOf, da as isHostedErrorCode, db as passAtK } from './types-DGx_qo9M.cjs';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* The one skills resolver.
|
|
@@ -215,7 +215,7 @@ declare function mountSkills(sandbox: SkillMountTarget, skills: ResolvedSkill[],
|
|
|
215
215
|
* ```
|
|
216
216
|
* agent_message_chunk → Text/image streaming from agent
|
|
217
217
|
* agent_thought_chunk → Reasoning (Codex) or thinking (Claude)
|
|
218
|
-
* user_message_chunk → User message echo (Gemini)
|
|
218
|
+
* user_message_chunk → User message echo (Qwen, OpenCode, pi, Prime Agent, Z Code; Gemini in recorded traces)
|
|
219
219
|
* tool_call → Tool started (status: pending/in_progress)
|
|
220
220
|
* tool_call_update → Tool finished (status: completed/failed)
|
|
221
221
|
* plan → TodoWrite updates
|
|
@@ -339,7 +339,28 @@ interface PlanEntry {
|
|
|
339
339
|
* All possible session update types.
|
|
340
340
|
* Discriminated union on `sessionUpdate` field.
|
|
341
341
|
*/
|
|
342
|
-
type SessionUpdate = AgentMessageChunk | AgentThoughtChunk | UserMessageChunk | ToolCall | ToolCallUpdate | Plan | AgentError | AgentUsage;
|
|
342
|
+
type SessionUpdate = AgentMessageChunk | AgentThoughtChunk | UserMessageChunk | ToolCall | ToolCallUpdate | Plan | AgentError | AgentUsage | HarnessEvent;
|
|
343
|
+
/**
|
|
344
|
+
* A wire line the harness printed that has no ACP slot — kept, never dropped.
|
|
345
|
+
*
|
|
346
|
+
* DELIBERATE EXTENSION BEYOND ACP, like AgentError and AgentUsage. Harness
|
|
347
|
+
* streams are unversioned and grow between releases (the owner's ruling
|
|
348
|
+
* 2026-09-25: any event type outside the captured vocabulary is passed
|
|
349
|
+
* through as a generic event and logged, never a failure), and some captured
|
|
350
|
+
* types are real facts of the run with no ACP shape — a sub-agent's
|
|
351
|
+
* progress, an automatic retry, a compaction. `type` is the harness's own
|
|
352
|
+
* type word and `payload` the line's other fields, verbatim.
|
|
353
|
+
*
|
|
354
|
+
* Excluded from isAgentWorkUpdate: an unknown line is evidence the harness
|
|
355
|
+
* PRINTED something, never that the agent did work.
|
|
356
|
+
*/
|
|
357
|
+
interface HarnessEvent {
|
|
358
|
+
sessionUpdate: "harness_event";
|
|
359
|
+
/** The harness's own type word for the line, verbatim. */
|
|
360
|
+
type: string;
|
|
361
|
+
/** Every other field of the line, verbatim. */
|
|
362
|
+
payload: Record<string, unknown>;
|
|
363
|
+
}
|
|
343
364
|
/**
|
|
344
365
|
* Token accounting as the harness reported it on one wire line.
|
|
345
366
|
*
|
|
@@ -445,7 +466,7 @@ interface AgentThoughtChunk {
|
|
|
445
466
|
content: ContentBlock;
|
|
446
467
|
}
|
|
447
468
|
/**
|
|
448
|
-
* User message echo (
|
|
469
|
+
* User message echo (Qwen, OpenCode, pi, Prime Agent, Z Code; Gemini in recorded traces).
|
|
449
470
|
*/
|
|
450
471
|
interface UserMessageChunk {
|
|
451
472
|
sessionUpdate: "user_message_chunk";
|
|
@@ -664,7 +685,7 @@ declare const DEFAULT_REASONING_EFFORT: ReasoningEffort;
|
|
|
664
685
|
* takes there — pure data derivation from its effortSupport. The
|
|
665
686
|
* harness-capabilities artifact generator and picker UIs share this.
|
|
666
687
|
*/
|
|
667
|
-
declare function harnessEffortVocabulary(support: EffortSupport): {
|
|
688
|
+
declare function harnessEffortVocabulary(support: EffortSupport, efforts?: readonly ReasoningEffort[]): {
|
|
668
689
|
efforts: readonly ReasoningEffort[];
|
|
669
690
|
defaultEffort: ReasoningEffort | null;
|
|
670
691
|
};
|
|
@@ -688,7 +709,7 @@ interface McpConfigInfo {
|
|
|
688
709
|
/** Config filename (e.g., "settings.json" or "config.toml") */
|
|
689
710
|
filename: string;
|
|
690
711
|
/** Config format */
|
|
691
|
-
format: "json" | "toml";
|
|
712
|
+
format: "json" | "toml" | "yaml";
|
|
692
713
|
/** Whether to use workingDir for project-level config (Claude only) */
|
|
693
714
|
projectConfig?: boolean;
|
|
694
715
|
}
|
|
@@ -722,6 +743,8 @@ interface BuildCommandOptions {
|
|
|
722
743
|
* names belong to the caller's gateway, never to Evolve's alias maps).
|
|
723
744
|
*/
|
|
724
745
|
isExternalGateway?: boolean;
|
|
746
|
+
/** Whether the run configured MCP servers (pi loads its adapter extension only then). */
|
|
747
|
+
mcpConfigured?: boolean;
|
|
725
748
|
/** Skills enabled for this run */
|
|
726
749
|
skills?: string[];
|
|
727
750
|
/** Sandbox home directory (default: "/home/user") */
|
|
@@ -737,6 +760,8 @@ interface AgentRegistryEntry {
|
|
|
737
760
|
* advertises exactly the vocabulary the local SDK drives.
|
|
738
761
|
*/
|
|
739
762
|
effortSupport: EffortSupport;
|
|
763
|
+
/** The subset of the level vocabulary this CLI can honor; absent = the whole vocabulary for its effortSupport. */
|
|
764
|
+
efforts?: readonly ReasoningEffort[];
|
|
740
765
|
/** Environment variable name for API key */
|
|
741
766
|
apiKeyEnv: string;
|
|
742
767
|
/** Environment variable name for OAuth (file path or token depending on agent) */
|
|
@@ -856,6 +881,40 @@ interface AgentRegistryEntry {
|
|
|
856
881
|
provider: "generic-chat-completion-api" | "openai" | "anthropic";
|
|
857
882
|
maxOutputTokens?: number;
|
|
858
883
|
};
|
|
884
|
+
/**
|
|
885
|
+
* The pi family's only route: a models.json provider entry written per run
|
|
886
|
+
* with the LITERAL base URL (pi never expands $VAR there), selected by --provider.
|
|
887
|
+
*/
|
|
888
|
+
modelsJsonRoute?: {
|
|
889
|
+
/** The agent dir (~ expanded) that holds models.json. */
|
|
890
|
+
agentDir: string;
|
|
891
|
+
/** The provider name the command's --provider selects. */
|
|
892
|
+
providerName: string;
|
|
893
|
+
/** How the file names the key env: pi wants "$VAR" (docs/models.md), Prime Agent the bare "VAR". */
|
|
894
|
+
apiKeyRef: "dollar" | "bare";
|
|
895
|
+
};
|
|
896
|
+
/** Vendor defaults wrong for a metered run, deep-merged into the settings file at setup. */
|
|
897
|
+
settingsStamp?: {
|
|
898
|
+
path: string;
|
|
899
|
+
document: Record<string, unknown>;
|
|
900
|
+
};
|
|
901
|
+
/**
|
|
902
|
+
* Z Code's per-run provider file: the CLI's only source of model, level, base
|
|
903
|
+
* URL and key (no `--model` flag, no credential env; ZCode cli/src at v3.14.3).
|
|
904
|
+
*/
|
|
905
|
+
zcodeProviderConfig?: {
|
|
906
|
+
path: string;
|
|
907
|
+
providerId: string;
|
|
908
|
+
providerName: string;
|
|
909
|
+
/** The window Z Code compacts at — the platform's one number, below every roster route's real ceiling. */
|
|
910
|
+
contextWindow: number;
|
|
911
|
+
/** Cap on `max_tokens` per request. */
|
|
912
|
+
maxOutputTokens: number;
|
|
913
|
+
};
|
|
914
|
+
/** Antigravity-only: the CLI's settings file, rewritten before every run (mcp/json.ts writeAntigravitySettings). */
|
|
915
|
+
antigravitySettings?: {
|
|
916
|
+
settingsPath: string;
|
|
917
|
+
};
|
|
859
918
|
/** Environment variable that CLI reads for custom outbound HTTP headers */
|
|
860
919
|
customHeadersEnv?: string;
|
|
861
920
|
/** Format for custom headers env var: "newline" (Claude) or "comma" (Gemini). Default: "newline" */
|
|
@@ -904,6 +963,26 @@ interface AgentRegistryEntry {
|
|
|
904
963
|
checkpointDirs?: string[];
|
|
905
964
|
/** Additional relative paths to exclude from checkpoint tar. */
|
|
906
965
|
checkpointExcludes?: string[];
|
|
966
|
+
/** The CLI exits 0 whatever happened: at exit 0 the last assistant message_end is the verdict (agent.ts). */
|
|
967
|
+
verdictFromStream?: true;
|
|
968
|
+
/** Where the SDK keeps the stream-captured session id for CLIs that resume by `--session-id` (droid, dsh). */
|
|
969
|
+
sessionIdStateFile?: string;
|
|
970
|
+
/** dsh only: the Evolve-owned `--patch` that routes the CLI (mcp/yaml.ts); it names env variables, never values. */
|
|
971
|
+
dshRoutePatch?: {
|
|
972
|
+
path: string;
|
|
973
|
+
/** The pi-ai provider route name the patch declares and the default model selects. */
|
|
974
|
+
providerName: string;
|
|
975
|
+
contextWindow: number;
|
|
976
|
+
/** The request's `max_tokens`. */
|
|
977
|
+
maxTokens: number;
|
|
978
|
+
};
|
|
979
|
+
/**
|
|
980
|
+
* A retired harness: left out of every roster and refused for new runs,
|
|
981
|
+
* while the rest of the entry stays so its past records keep parsing.
|
|
982
|
+
*/
|
|
983
|
+
retired?: {
|
|
984
|
+
replacedBy: AgentType;
|
|
985
|
+
};
|
|
907
986
|
}
|
|
908
987
|
/**
|
|
909
988
|
* Registry of all supported agents.
|
|
@@ -920,6 +999,8 @@ declare function getAgentConfig(agentType: AgentType): AgentRegistryEntry;
|
|
|
920
999
|
* Check if an agent type is valid
|
|
921
1000
|
*/
|
|
922
1001
|
declare function isValidAgentType(type: string): type is AgentType;
|
|
1002
|
+
/** The agent types a new run may name: every registry entry that is not retired. */
|
|
1003
|
+
declare function liveAgentTypes(): AgentType[];
|
|
923
1004
|
/**
|
|
924
1005
|
* Expand path with ~ to the sandbox home directory (default: /home/user)
|
|
925
1006
|
*/
|
|
@@ -1209,6 +1290,12 @@ interface SandboxCreateOptions {
|
|
|
1209
1290
|
* "/home/user" when no user is given.
|
|
1210
1291
|
*/
|
|
1211
1292
|
homeDir?: string;
|
|
1293
|
+
/**
|
|
1294
|
+
* The account the agent config files are written for — a user name, a uid,
|
|
1295
|
+
* or uid:gid — when it is not the owner of homeDir. Default: whoever owns
|
|
1296
|
+
* homeDir. The files the SDK writes there are handed to this account.
|
|
1297
|
+
*/
|
|
1298
|
+
homeOwner?: string;
|
|
1212
1299
|
}
|
|
1213
1300
|
/** Options for listing sandboxes (capability: SandboxProvider.list). */
|
|
1214
1301
|
interface SandboxListOptions {
|
|
@@ -1491,7 +1578,7 @@ interface SandboxProvider {
|
|
|
1491
1578
|
prepareImage?(image?: string): Promise<void>;
|
|
1492
1579
|
}
|
|
1493
1580
|
/** Supported agent types (headless CLI agents only, no ACP) */
|
|
1494
|
-
type AgentType = "claude" | "codex" | "gemini" | "qwen" | "kimi" | "opencode" | "droid";
|
|
1581
|
+
type AgentType = "claude" | "codex" | "gemini" | "qwen" | "kimi" | "opencode" | "droid" | "pi" | "prime-agent" | "dsh" | "zcode" | "antigravity";
|
|
1495
1582
|
/** Agent type constants for use in code */
|
|
1496
1583
|
declare const AGENT_TYPES: {
|
|
1497
1584
|
readonly CLAUDE: "claude";
|
|
@@ -1501,6 +1588,11 @@ declare const AGENT_TYPES: {
|
|
|
1501
1588
|
readonly KIMI: "kimi";
|
|
1502
1589
|
readonly OPENCODE: "opencode";
|
|
1503
1590
|
readonly DROID: "droid";
|
|
1591
|
+
readonly PI: "pi";
|
|
1592
|
+
readonly PRIME_AGENT: "prime-agent";
|
|
1593
|
+
readonly DSH: "dsh";
|
|
1594
|
+
readonly ZCODE: "zcode";
|
|
1595
|
+
readonly ANTIGRAVITY: "antigravity";
|
|
1504
1596
|
};
|
|
1505
1597
|
/** Workspace mode determines folder structure and system prompt */
|
|
1506
1598
|
type WorkspaceMode = "knowledge" | "swe" | "task";
|
|
@@ -1736,7 +1828,7 @@ interface AgentConfig {
|
|
|
1736
1828
|
* it as `max_context_size` and sends it as the request's `max_tokens`).
|
|
1737
1829
|
*
|
|
1738
1830
|
* Set it to the model's real ceiling when driving a harness against a model
|
|
1739
|
-
* from another family — e.g. Kimi Code against `gpt-
|
|
1831
|
+
* from another family — e.g. Kimi Code against `gpt-6-sol` through an
|
|
1740
1832
|
* OpenAI-compatible gateway, where an oversized `max_tokens` is rejected with
|
|
1741
1833
|
* a 400. When set it is used verbatim. When omitted, the harness's own models
|
|
1742
1834
|
* keep their registry value and any other model falls back to a conservative
|
|
@@ -2289,8 +2381,11 @@ declare class Agent {
|
|
|
2289
2381
|
private options;
|
|
2290
2382
|
private sandbox?;
|
|
2291
2383
|
private hasRun;
|
|
2384
|
+
private mcpConfigured;
|
|
2292
2385
|
private readonly workingDir;
|
|
2293
2386
|
private readonly homeDir;
|
|
2387
|
+
/** The account the config home is written for (sandboxCreateOptions.homeOwner); else its owner. */
|
|
2388
|
+
private readonly homeOwner?;
|
|
2294
2389
|
private lastRunTimestamp?;
|
|
2295
2390
|
private readonly registry;
|
|
2296
2391
|
/** Unified session ID — used for both observability (SessionLogger) and spend tracking (gateway customer-id) */
|
|
@@ -2307,7 +2402,7 @@ declare class Agent {
|
|
|
2307
2402
|
private interruptedOperations;
|
|
2308
2403
|
private sandboxState;
|
|
2309
2404
|
private agentState;
|
|
2310
|
-
private
|
|
2405
|
+
private capturedSessionId?;
|
|
2311
2406
|
private managedBrowserSession?;
|
|
2312
2407
|
private providerRuntimeToken?;
|
|
2313
2408
|
private managedSecretRuntimeToken?;
|
|
@@ -2346,7 +2441,7 @@ declare class Agent {
|
|
|
2346
2441
|
* 2. A model the kimi registry entry itself declares keeps that model's
|
|
2347
2442
|
* own ceiling when the row declares one (K3: 1048576), else the
|
|
2348
2443
|
* harness default (262144).
|
|
2349
|
-
* 3. Any other model — e.g. driving Kimi Code against `gpt-
|
|
2444
|
+
* 3. Any other model — e.g. driving Kimi Code against `gpt-6-sol` through an
|
|
2350
2445
|
* OpenAI-compatible gateway — gets the conservative constant, because
|
|
2351
2446
|
* 262144 is above that model's ceiling and the gateway answers 400.
|
|
2352
2447
|
*
|
|
@@ -2416,6 +2511,8 @@ declare class Agent {
|
|
|
2416
2511
|
private requiresPreRunDashboardIngest;
|
|
2417
2512
|
private providerRuntimeHeaderUpdates;
|
|
2418
2513
|
private shouldExposeProviderRuntimeTokenEnv;
|
|
2514
|
+
/** Z Code: the literal key lives in the per-run provider file, so no mode puts a key env in the process. */
|
|
2515
|
+
private credentialRidesProviderFile;
|
|
2419
2516
|
private buildProviderRuntimeProcessEnvs;
|
|
2420
2517
|
/**
|
|
2421
2518
|
* Build per-run env overrides for spend tracking.
|
|
@@ -2425,13 +2522,42 @@ declare class Agent {
|
|
|
2425
2522
|
*/
|
|
2426
2523
|
private buildRunEnvs;
|
|
2427
2524
|
private writeCodexGatewayProviderConfig;
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2525
|
+
/**
|
|
2526
|
+
* The session id the CLI's own stream announced, for harnesses that resume
|
|
2527
|
+
* by id (registry sessionIdStateFile: droid `--session-id`, dsh
|
|
2528
|
+
* `--session-id`). Read off the parsed events first (every parser stamps
|
|
2529
|
+
* `sessionId`), else off the raw line for lines the parser drops (dsh's
|
|
2530
|
+
* opening `session` line, droid's JSON-RPC envelopes).
|
|
2531
|
+
*/
|
|
2532
|
+
private captureHarnessSessionId;
|
|
2533
|
+
private extractSessionIdFromLine;
|
|
2534
|
+
private findSessionIdInLine;
|
|
2535
|
+
private sessionIdStatePath;
|
|
2536
|
+
private loadCapturedSessionId;
|
|
2537
|
+
private writeCapturedSessionId;
|
|
2538
|
+
/**
|
|
2539
|
+
* The model dsh's route patch names — the one string the provider receives
|
|
2540
|
+
* (dsh resolves nothing itself on the pi-ai route), per route, the droid
|
|
2541
|
+
* settings-file rule verbatim (droidSettingsModel): external gateway sends
|
|
2542
|
+
* the roster wire id (alias == id on this roster, so verbatim); gateway
|
|
2543
|
+
* mode the gatewayModelAliases spelling (none: verbatim); plain direct mode
|
|
2544
|
+
* the directModelAliases spelling — OpenRouter's own id without the
|
|
2545
|
+
* `openrouter/` route prefix.
|
|
2546
|
+
*/
|
|
2547
|
+
private dshPatchModel;
|
|
2548
|
+
/**
|
|
2549
|
+
* dsh's route patch, rewritten before every run (registry dshRoutePatch;
|
|
2550
|
+
* mcp/yaml.ts). The key and the base URL are named as the env vars every
|
|
2551
|
+
* mode already sets (apiKeyEnv, baseUrlEnv), so the same file serves the
|
|
2552
|
+
* managed gateway, an external gateway and direct mode. Spend headers ride
|
|
2553
|
+
* env reads too, and only where the SDK sets those envs — the managed
|
|
2554
|
+
* gateway (spendTrackingEnvs + the runtime-binding env); an unset env would
|
|
2555
|
+
* turn into an undefined header value.
|
|
2556
|
+
*/
|
|
2557
|
+
private writeDshPerRunPatch;
|
|
2434
2558
|
private resolveCommandModel;
|
|
2559
|
+
/** The pi family's per-run models.json: the mode's LITERAL base URL (pi never expands $VAR there), the key by env name. */
|
|
2560
|
+
private writePiFamilyModelsJson;
|
|
2435
2561
|
/**
|
|
2436
2562
|
* The request model the Evolve-owned Droid settings file names. Droid
|
|
2437
2563
|
* resolves nothing on this route — the custom model's `model` field is the
|
|
@@ -2449,11 +2575,10 @@ declare class Agent {
|
|
|
2449
2575
|
* anthropic/* wildcard (prod trial 6dd6b56d,
|
|
2450
2576
|
* 2026-09-15). NOT gatewayModelAliases on this route:
|
|
2451
2577
|
* the hosted worker drives Droid in external-gateway
|
|
2452
|
-
* mode on a key
|
|
2453
|
-
* wire id
|
|
2454
|
-
*
|
|
2455
|
-
*
|
|
2456
|
-
* kimi-k3, glm-5.3 and qwen3.7-max are exact gateway
|
|
2578
|
+
* mode on a key scoped to exactly the alias and its
|
|
2579
|
+
* wire id, and three of that table's four rows name a
|
|
2580
|
+
* route spelling such a key refuses —
|
|
2581
|
+
* kimi-k3, glm-5.3 and qwen3.8-max are exact gateway
|
|
2457
2582
|
* entries under their bare names. A caller's own
|
|
2458
2583
|
* gateway likewise knows the vendor id, not an Evolve
|
|
2459
2584
|
* route spelling.
|
|
@@ -2466,6 +2591,11 @@ declare class Agent {
|
|
|
2466
2591
|
*/
|
|
2467
2592
|
private setupAgentAuth;
|
|
2468
2593
|
private writeGeminiGatewayAuthSettings;
|
|
2594
|
+
/**
|
|
2595
|
+
* Antigravity's settings for this run: API-key auth, telemetry off, and the slug buildCommand will name registered
|
|
2596
|
+
* under customModelsConfig (else `--model` refuses it); rewritten before each run, like droid's settings. No-op elsewhere.
|
|
2597
|
+
*/
|
|
2598
|
+
private writeAntigravityRunSettings;
|
|
2469
2599
|
private setupAgentPlugins;
|
|
2470
2600
|
private assertProviderRuntimeDoesNotExposeGatewayKey;
|
|
2471
2601
|
/**
|
|
@@ -2540,6 +2670,13 @@ declare class Agent {
|
|
|
2540
2670
|
* custom_headers before spawning. CLI reads config at startup, so each run
|
|
2541
2671
|
* gets a fresh write. Extracted so the effort pin on this path is testable. */
|
|
2542
2672
|
private writeKimiPerRunConfig;
|
|
2673
|
+
/**
|
|
2674
|
+
* Z Code reads model, level, URL and key from its provider file only, so every
|
|
2675
|
+
* mode writes it before each spawn (gateway mode adds the spend headers).
|
|
2676
|
+
*/
|
|
2677
|
+
private writeZcodePerRunConfig;
|
|
2678
|
+
/** The provider file holds the run's credential literally, so it lives only while the run does. */
|
|
2679
|
+
private removeZcodePerRunConfig;
|
|
2543
2680
|
run(options: RunOptions, callbacks?: StreamCallbacks): Promise<AgentResponse>;
|
|
2544
2681
|
/**
|
|
2545
2682
|
* Execute arbitrary command in sandbox
|
|
@@ -2865,7 +3002,6 @@ declare class Evolve extends EventEmitter {
|
|
|
2865
3002
|
*
|
|
2866
3003
|
* The selected agent determines the installer:
|
|
2867
3004
|
* - droid/claude: { marketplace, plugin }
|
|
2868
|
-
* - gemini: { source, ref? }
|
|
2869
3005
|
* - codex: { marketplace, ref?, sparse? }
|
|
2870
3006
|
*/
|
|
2871
3007
|
withPlugins(plugins: AgentPluginConfig | AgentPluginConfig[]): this;
|
|
@@ -4072,6 +4208,16 @@ declare function managedSandbox(provider?: ManagedSandboxProviderName, options?:
|
|
|
4072
4208
|
*/
|
|
4073
4209
|
declare function resolveDefaultSandbox(): Promise<SandboxProvider>;
|
|
4074
4210
|
|
|
4211
|
+
/**
|
|
4212
|
+
* Antigravity CLI (`antigravity`, Google's `agy`) `--output-format stream-json` → ACP-style events. The CLI is closed
|
|
4213
|
+
* source: every shape here is from the live capture of agy 1.2.11 (the fixtures of tests/unit/antigravity-parser.test.ts),
|
|
4214
|
+
* then the vendor's headless docs page; the capture wins. Not on the wire: timestamps, text on user_input /
|
|
4215
|
+
* system_message / error_message steps, tool call ids (a step's updates pair by step_index), a failing command's exit
|
|
4216
|
+
* code. Usage rides per call on a DONE agent_response and whole on result; promptTokens = input + cache_read (Harbor).
|
|
4217
|
+
*/
|
|
4218
|
+
|
|
4219
|
+
declare function createAntigravityParser(): (jsonLine: string) => OutputEvent[] | null;
|
|
4220
|
+
|
|
4075
4221
|
/**
|
|
4076
4222
|
* Claude JSONL → ACP-style events parser.
|
|
4077
4223
|
*
|
|
@@ -4139,6 +4285,27 @@ declare function createCodexParser(): (jsonLine: string) => OutputEvent[] | null
|
|
|
4139
4285
|
|
|
4140
4286
|
declare function createDroidParser(): (jsonLine: string) => OutputEvent[] | null;
|
|
4141
4287
|
|
|
4288
|
+
/**
|
|
4289
|
+
* DeepSeek Harness (dsh) `--profile headless --json` → ACP-style events.
|
|
4290
|
+
*
|
|
4291
|
+
* The vocabulary is the emitting source, not a published schema: deepseek-harness
|
|
4292
|
+
* packages/bundle/headless/src/json-stream.ts at dsh-v0.1.7-rc.2 (recon
|
|
4293
|
+
* 01-deepseek.md §G1; every shape observed live in 06-live-tests/dsh). Ten
|
|
4294
|
+
* line types: session, status (turn_start | step_start | step_end | turn_end),
|
|
4295
|
+
* thinking, text, tool_call, tool_result, final, error. No clock, model id,
|
|
4296
|
+
* message id or cost on any line; strings are capped at 8 KiB (`truncated`).
|
|
4297
|
+
*
|
|
4298
|
+
* Failure is `turn_end` with a `reason.kind` other than `completed` (round-2
|
|
4299
|
+
* E1: retries are invisible, then one turn_end, `final ""`, exit 1); a
|
|
4300
|
+
* `tool_result.status: "error"` is a tool failing, a shell's exit code is
|
|
4301
|
+
* not (E2/E2b); SIGINT ends the stream at `final` with no turn_end (E3).
|
|
4302
|
+
*
|
|
4303
|
+
* Any type or phase outside the vocabulary rides `harness_event` and is
|
|
4304
|
+
* logged once — the stream is unversioned and pre-stable by the vendor's word.
|
|
4305
|
+
*/
|
|
4306
|
+
|
|
4307
|
+
declare function createDshParser(): (jsonLine: string) => OutputEvent[] | null;
|
|
4308
|
+
|
|
4142
4309
|
/**
|
|
4143
4310
|
* Gemini JSONL → ACP-style events parser.
|
|
4144
4311
|
*
|
|
@@ -4161,6 +4328,22 @@ declare function createDroidParser(): (jsonLine: string) => OutputEvent[] | null
|
|
|
4161
4328
|
*/
|
|
4162
4329
|
declare function createGeminiParser(): (jsonLine: string) => OutputEvent[] | null;
|
|
4163
4330
|
|
|
4331
|
+
/**
|
|
4332
|
+
* pi profile over the pi-family core: pi's built-in tools (read, bash, edit,
|
|
4333
|
+
* write; grep/find/ls when enabled) plus the pi-mcp-adapter's one proxy tool
|
|
4334
|
+
* `mcp`, whose own failures ride `details.error` with isError false.
|
|
4335
|
+
*/
|
|
4336
|
+
|
|
4337
|
+
declare function createPiParser(): (jsonLine: string) => OutputEvent[] | null;
|
|
4338
|
+
|
|
4339
|
+
/**
|
|
4340
|
+
* Prime Agent profile over the pi-family core: one tool, `ipython {code}`
|
|
4341
|
+
* (shell, MCP, skills and sub-agents all run inside the cell), whose result
|
|
4342
|
+
* `details.status` — not the wire's isError — says whether the cell failed.
|
|
4343
|
+
*/
|
|
4344
|
+
|
|
4345
|
+
declare function createPrimeAgentParser(): (jsonLine: string) => OutputEvent[] | null;
|
|
4346
|
+
|
|
4164
4347
|
/**
|
|
4165
4348
|
* Qwen NDJSON → ACP-style events parser.
|
|
4166
4349
|
*
|
|
@@ -4193,6 +4376,23 @@ declare function createGeminiParser(): (jsonLine: string) => OutputEvent[] | nul
|
|
|
4193
4376
|
*/
|
|
4194
4377
|
declare function parseQwenOutput(line: string): OutputEvent[] | null;
|
|
4195
4378
|
|
|
4379
|
+
/**
|
|
4380
|
+
* Z Code parser: `zcode -p … --output-format stream-json` (ZCode v3.14.3, CLI 0.16.9).
|
|
4381
|
+
*
|
|
4382
|
+
* Shapes come from the vendor's zod protocol (packages/shared/src/zcode-protocol)
|
|
4383
|
+
* and the CLI's NDJSON writer (headless-workflow.ts, prompt-command.ts); which
|
|
4384
|
+
* types appear and how the catch-all `session.updated` payloads are told apart
|
|
4385
|
+
* is live capture (2026-09-25). The stream is CLI-private and unversioned, so
|
|
4386
|
+
* an unknown type is logged once and passed through as `harness_event`.
|
|
4387
|
+
*
|
|
4388
|
+
* Sub-agents write into the same stream under their own sessionId; child lines
|
|
4389
|
+
* after the parent's announcement carry `parentToolCallId` and keep the run's
|
|
4390
|
+
* session id on the envelope. The exit code is no verdict: a cancelled or
|
|
4391
|
+
* failed turn is the `error` variant (fatal) with the turn's usage beside it.
|
|
4392
|
+
*/
|
|
4393
|
+
|
|
4394
|
+
declare function createZcodeParser(): (jsonLine: string) => OutputEvent[] | null;
|
|
4395
|
+
|
|
4196
4396
|
/**
|
|
4197
4397
|
* Unified Parser Entry Point
|
|
4198
4398
|
*
|
|
@@ -4230,14 +4430,16 @@ declare function parseNdjsonOutput(agentType: AgentType, output: string): Output
|
|
|
4230
4430
|
/**
|
|
4231
4431
|
* MCP JSON Configuration Writer
|
|
4232
4432
|
*
|
|
4233
|
-
* Handles MCP config for Claude, Gemini, Qwen, Kimi, Droid,
|
|
4234
|
-
* Uses registry for paths - no hardcoded values.
|
|
4433
|
+
* Handles MCP config for Claude, Gemini, Qwen, Kimi, Droid, OpenCode, and
|
|
4434
|
+
* Antigravity agents. Uses registry for paths - no hardcoded values.
|
|
4235
4435
|
*
|
|
4236
4436
|
* Transport formats by agent:
|
|
4237
4437
|
* - Claude: { type: "http"|"sse"|"stdio", url: "..." }
|
|
4238
4438
|
* - Gemini: { url: "...", type: "http"|"sse" } | { command: "..." }
|
|
4239
4439
|
* - Qwen: { httpUrl: "..." } | { url: "..." } | { command: "..." }
|
|
4240
4440
|
* - Kimi Code: { url: "...", transport?: "http"|"sse" } | { command: "...", transport: "stdio" }
|
|
4441
|
+
* - Z Code: { type: "stdio", command, args, env } | { type: "http"|"sse", url, headers } under `mcp.servers`
|
|
4442
|
+
* - Antigravity: { serverUrl: "...", headers? } | { command: "...", args?, env?, cwd? }
|
|
4241
4443
|
*/
|
|
4242
4444
|
|
|
4243
4445
|
/**
|
|
@@ -4252,6 +4454,15 @@ declare function writeClaudeMcpConfig(sandbox: SandboxInstance, workingDir: stri
|
|
|
4252
4454
|
declare function writeGeminiMcpConfig(sandbox: SandboxInstance, servers: Record<string, McpServerConfig>, homeDir?: string): Promise<void>;
|
|
4253
4455
|
/** Write MCP config for Qwen agent */
|
|
4254
4456
|
declare function writeQwenMcpConfig(sandbox: SandboxInstance, servers: Record<string, McpServerConfig>, homeDir?: string): Promise<void>;
|
|
4457
|
+
/** Write MCP config for Kimi agent (FastMCP-compatible transport field) */
|
|
4458
|
+
declare function writeKimiMcpConfig(sandbox: SandboxInstance, servers: Record<string, McpServerConfig>, homeDir?: string): Promise<void>;
|
|
4459
|
+
/** Write MCP config for the Antigravity agent (~/.gemini/config/mcp_config.json) */
|
|
4460
|
+
declare function writeAntigravityMcpConfig(sandbox: SandboxInstance, servers: Record<string, McpServerConfig>, homeDir?: string): Promise<void>;
|
|
4461
|
+
/**
|
|
4462
|
+
* The CLI's settings for a run, merged over the file it rewrites at every start: API-key auth (`modelProvider`), telemetry
|
|
4463
|
+
* off (`telemetryEnabled`, the key the binary keeps), non-workspace paths allowed, the run's slug registered (else `--model` exits 1).
|
|
4464
|
+
*/
|
|
4465
|
+
declare function writeAntigravitySettings(sandbox: SandboxInstance, settingsPath: string, modelSlug: string, homeDir?: string, homeOwner?: string): Promise<void>;
|
|
4255
4466
|
/**
|
|
4256
4467
|
* Write MCP config for Droid agent
|
|
4257
4468
|
*
|
|
@@ -4274,7 +4485,53 @@ interface DroidGatewaySettingsConfig {
|
|
|
4274
4485
|
* The command passes this file with `droid --settings`, so it does not alter the
|
|
4275
4486
|
* user's normal ~/.factory/settings.json inside the sandbox.
|
|
4276
4487
|
*/
|
|
4277
|
-
declare function writeDroidGatewaySettings(sandbox: SandboxInstance, config: DroidGatewaySettingsConfig, headers: Record<string, string>, homeDir?: string): Promise<void>;
|
|
4488
|
+
declare function writeDroidGatewaySettings(sandbox: SandboxInstance, config: DroidGatewaySettingsConfig, headers: Record<string, string>, homeDir?: string, homeOwner?: string): Promise<void>;
|
|
4489
|
+
/**
|
|
4490
|
+
* Write MCP config for Z Code
|
|
4491
|
+
*
|
|
4492
|
+
* Z Code reads user-level servers from `mcp.servers` in ~/.zcode/cli/config.json
|
|
4493
|
+
* (the registry's mcpConfig); every other key of that file is preserved.
|
|
4494
|
+
*/
|
|
4495
|
+
declare function writeZcodeMcpConfig(sandbox: SandboxInstance, servers: Record<string, McpServerConfig>, homeDir?: string): Promise<void>;
|
|
4496
|
+
interface ZcodeProviderConfigInput {
|
|
4497
|
+
/** The provider file, `~` = the sandbox home (registry zcodeProviderConfig.path). */
|
|
4498
|
+
path: string;
|
|
4499
|
+
providerId: string;
|
|
4500
|
+
providerName: string;
|
|
4501
|
+
/** OpenAI-compatible base URL INCLUDING `/v1` — Z Code appends `/chat/completions`. */
|
|
4502
|
+
baseUrl: string;
|
|
4503
|
+
/** The literal credential: Z Code expands no `${VAR}` in this file. */
|
|
4504
|
+
apiKey: string;
|
|
4505
|
+
/** The wire model id the request names. */
|
|
4506
|
+
model: string;
|
|
4507
|
+
/** One of ZCODE_REASONING_LEVELS. */
|
|
4508
|
+
reasoningLevel: string;
|
|
4509
|
+
contextWindow: number;
|
|
4510
|
+
maxOutputTokens: number;
|
|
4511
|
+
/** Extra request headers (the LiteLLM spend tags); {} when none. */
|
|
4512
|
+
headers: Record<string, string>;
|
|
4513
|
+
}
|
|
4514
|
+
/**
|
|
4515
|
+
* Z Code's provider file, built from scratch every run at mode 0600: the CLI reads its model,
|
|
4516
|
+
* level, base URL and key here and nowhere else (ZCode packages/provider/src/config at v3.14.3).
|
|
4517
|
+
*/
|
|
4518
|
+
declare function writeZcodeProviderConfig(sandbox: SandboxInstance, config: ZcodeProviderConfigInput, homeDir?: string, homeOwner?: string): Promise<void>;
|
|
4519
|
+
/**
|
|
4520
|
+
* Write MCP config for OpenCode agent
|
|
4521
|
+
*
|
|
4522
|
+
* OpenCode uses opencode.json in the working directory with an `mcp` key.
|
|
4523
|
+
* Format: { "mcp": { "name": { "type": "local"|"remote", "command": [...], "url": "..." } } }
|
|
4524
|
+
*
|
|
4525
|
+
* Key differences from other agents:
|
|
4526
|
+
* - Uses `mcp` key (not `mcpServers`)
|
|
4527
|
+
* - Local servers use `command` as array (not string)
|
|
4528
|
+
* - Remote servers use `type: "remote"` with `url`
|
|
4529
|
+
*/
|
|
4530
|
+
declare function writeOpenCodeMcpConfig(sandbox: SandboxInstance, workingDir: string, servers: Record<string, McpServerConfig>): Promise<void>;
|
|
4531
|
+
/** pi's MCP config: `<agent-dir>/mcp.json`, read by the adapter extension the command loads. */
|
|
4532
|
+
declare function writePiMcpConfig(sandbox: SandboxInstance, servers: Record<string, McpServerConfig>, homeDir?: string): Promise<void>;
|
|
4533
|
+
/** Prime's MCP servers: the `mcpServers` map of the GLOBAL settings.json, the rest of the file kept. */
|
|
4534
|
+
declare function writePrimeAgentMcpConfig(sandbox: SandboxInstance, servers: Record<string, McpServerConfig>, homeDir?: string): Promise<void>;
|
|
4278
4535
|
|
|
4279
4536
|
/**
|
|
4280
4537
|
* MCP TOML Configuration Writer
|
|
@@ -4296,6 +4553,38 @@ declare function writeDroidGatewaySettings(sandbox: SandboxInstance, config: Dro
|
|
|
4296
4553
|
*/
|
|
4297
4554
|
declare function writeCodexMcpConfig(sandbox: SandboxInstance, servers: Record<string, McpServerConfig>, homeDir?: string): Promise<void>;
|
|
4298
4555
|
|
|
4556
|
+
/**
|
|
4557
|
+
* dsh Configuration Writers (YAML patches)
|
|
4558
|
+
*
|
|
4559
|
+
* dsh has no model, effort or base-URL flag and reads no .mcp.json: Cordis
|
|
4560
|
+
* patch files (a YAML list of rows; `- insert:` adds rows) are its one config
|
|
4561
|
+
* surface, so two Evolve-owned files under ~/.dsh route it — the pi-ai route
|
|
4562
|
+
* (model, effort, spend headers) and one dsh-mcp-client row per MCP server.
|
|
4563
|
+
* The route patch names the key and URL as env variables (`!!js process.env.X`,
|
|
4564
|
+
* read by dsh at boot), so no secret lands on disk and one shape serves every mode.
|
|
4565
|
+
*/
|
|
4566
|
+
|
|
4567
|
+
/** Rows must sit under `- insert:`; a bare row in a --patch file is "entry not found" (live M1). */
|
|
4568
|
+
declare function writeDshMcpConfig(sandbox: SandboxInstance, servers: Record<string, McpServerConfig>, homeDir?: string): Promise<void>;
|
|
4569
|
+
interface DshRoutePatchConfig {
|
|
4570
|
+
path: string;
|
|
4571
|
+
providerName: string;
|
|
4572
|
+
/** Env var NAME (pi-ai `apiKeyEnv` reads it per request). */
|
|
4573
|
+
apiKeyEnv: string;
|
|
4574
|
+
/** Env var NAME, read at boot via `!!js process.env`. */
|
|
4575
|
+
baseUrlEnv: string;
|
|
4576
|
+
/** The wire model id, sent verbatim. */
|
|
4577
|
+
model: string;
|
|
4578
|
+
/** pi-ai thinking level; absent = the route's default. */
|
|
4579
|
+
reasoningEffort?: string;
|
|
4580
|
+
/** Header name → env var NAME; only where the SDK sets every named env (an unset env would be an undefined header). */
|
|
4581
|
+
headerEnvs?: Record<string, string>;
|
|
4582
|
+
contextWindow: number;
|
|
4583
|
+
maxTokens: number;
|
|
4584
|
+
}
|
|
4585
|
+
/** Rewritten before every run; the run tag rides an env var, so the text is static per session. */
|
|
4586
|
+
declare function writeDshRoutePatch(sandbox: SandboxInstance, config: DshRoutePatchConfig, homeDir?: string, homeOwner?: string): Promise<void>;
|
|
4587
|
+
|
|
4299
4588
|
/**
|
|
4300
4589
|
* MCP Configuration Module
|
|
4301
4590
|
*
|
|
@@ -4313,6 +4602,11 @@ declare function writeCodexMcpConfig(sandbox: SandboxInstance, servers: Record<s
|
|
|
4313
4602
|
* - Qwen: JSON to ~/.qwen/settings.json
|
|
4314
4603
|
* - Droid: JSON to ${workingDir}/.factory/mcp.json
|
|
4315
4604
|
* - OpenCode: JSON to ${workingDir}/opencode.json (mcp key)
|
|
4605
|
+
* - pi: JSON to ~/.pi/agent/mcp.json (the pi-mcp-adapter extension's file)
|
|
4606
|
+
* - Prime Agent: JSON to ~/.prime/agent/settings.json (mcpServers key)
|
|
4607
|
+
* - dsh: YAML patch rows to ~/.dsh/evolve-mcp.patch.yml
|
|
4608
|
+
* - Z Code: JSON to ~/.zcode/cli/config.json (mcp.servers key)
|
|
4609
|
+
* - Antigravity: JSON to ~/.gemini/config/mcp_config.json
|
|
4316
4610
|
*/
|
|
4317
4611
|
declare function writeMcpConfig(agentType: AgentType, sandbox: SandboxInstance, workingDir: string, servers: Record<string, McpServerConfig>, homeDir?: string): Promise<void>;
|
|
4318
4612
|
|
|
@@ -4486,6 +4780,15 @@ declare class EvolveConfigError extends Error {
|
|
|
4486
4780
|
constructor(field: string, message: string);
|
|
4487
4781
|
}
|
|
4488
4782
|
|
|
4783
|
+
/** A home write whose directory could not be prepared or whose hand-over the box refused. */
|
|
4784
|
+
declare class HomeFileError extends Error {
|
|
4785
|
+
readonly path: string;
|
|
4786
|
+
readonly step: "prepare" | "hand-over";
|
|
4787
|
+
readonly exitCode: number;
|
|
4788
|
+
readonly stderr: string;
|
|
4789
|
+
constructor(path: string, step: "prepare" | "hand-over", exitCode: number, stderr: string);
|
|
4790
|
+
}
|
|
4791
|
+
|
|
4489
4792
|
/**
|
|
4490
4793
|
* Storage & Checkpointing Module
|
|
4491
4794
|
*
|
|
@@ -4994,7 +5297,7 @@ declare function datasets(config?: HostedClientConfig): DatasetsClient;
|
|
|
4994
5297
|
*
|
|
4995
5298
|
* await jobs().start({
|
|
4996
5299
|
* datasets: [{ name: "deep-swe" }],
|
|
4997
|
-
* agents: [{ name: "acme-cli", model_name: "gpt-
|
|
5300
|
+
* agents: [{ name: "acme-cli", model_name: "gpt-6-sol" }],
|
|
4998
5301
|
* max_trial_spend_usd: 25,
|
|
4999
5302
|
* });
|
|
5000
5303
|
* ```
|
|
@@ -5032,7 +5335,7 @@ declare function skills(config?: HostedClientConfig): SkillsClient;
|
|
|
5032
5335
|
* // datasets: bare name = active version; { name, version } pins one
|
|
5033
5336
|
* const job = await client.start({
|
|
5034
5337
|
* datasets: [{ name: "deep-swe" }],
|
|
5035
|
-
* agents: [{ name: "codex", model_name: "gpt-
|
|
5338
|
+
* agents: [{ name: "codex", model_name: "gpt-6-sol" }],
|
|
5036
5339
|
* n_attempts: 1,
|
|
5037
5340
|
* n_concurrent_trials: 4,
|
|
5038
5341
|
* max_trial_spend_usd: 25,
|
|
@@ -5174,4 +5477,4 @@ declare function hosted(config?: HostedClientConfig): HostedEvolve;
|
|
|
5174
5477
|
*/
|
|
5175
5478
|
declare function meta(config?: HostedClientConfig): Promise<CapabilityDocument>;
|
|
5176
5479
|
|
|
5177
|
-
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, JobShareRequest, JobShares, JobVisibility, 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 SessionListScope, 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 };
|
|
5480
|
+
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 HarnessEvent, type HarnessTrialLayout, HomeFileError, 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, JobShareRequest, JobShares, JobVisibility, 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 SessionListScope, 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, createAntigravityParser, createClaudeParser, createCodexParser, createDroidParser, createDshParser, createGeminiParser, createPiParser, createPrimeAgentParser, createZcodeParser, datasets, executeWithRetry, expandPath, getAgentConfig, getMcpSettingsDir, getMcpSettingsPath, harborCopyPath, harnessEffortVocabulary, harnessTrialLayout, homeRelativePath, hosted, isAgentWorkUpdate, isSandboxFeatureUnsupportedError, isSandboxNotRunningError, isSandboxPathNotFoundError, isValidAgentType, isZodSchema, jobEvolveRecord, jobs, jsonSchemaToString, liveAgentTypes, 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, writeAntigravityMcpConfig, writeAntigravitySettings, writeClaudeMcpConfig, writeCodexMcpConfig, writeDroidGatewaySettings, writeDroidMcpConfig, writeDshMcpConfig, writeDshRoutePatch, writeGeminiMcpConfig, writeKimiMcpConfig, writeMcpConfig, writeOpenCodeMcpConfig, writePiMcpConfig, writePrimeAgentMcpConfig, writeQwenMcpConfig, writeZcodeMcpConfig, writeZcodeProviderConfig, zodSchemaToJson };
|