@ordewell/core 0.12.3 → 0.12.4
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/index.d.mts +6 -134
- package/dist/index.d.ts +6 -134
- package/dist/index.js +553 -414
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +539 -400
- package/dist/index.mjs.map +1 -1
- package/dist/plan-utils.d.mts +1 -1
- package/dist/plan-utils.d.ts +1 -1
- package/dist/{runSettingsText-C6eto6Uv.d.ts → runSettingsText-BFaZSPRG.d.ts} +137 -1
- package/dist/{runSettingsText-DnzSrB0c.d.mts → runSettingsText-DWsmcnBq.d.mts} +137 -1
- package/dist/testing.d.mts +44 -1
- package/dist/testing.d.ts +44 -1
- package/dist/testing.js +66 -4
- package/dist/testing.js.map +1 -1
- package/dist/testing.mjs +50 -3
- package/dist/testing.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2,8 +2,8 @@ import { b4 as RunnerId, aY as ResearchProgress, bH as UsageRecord, aX as Resear
|
|
|
2
2
|
export { A as ApprovalRecord, a as AttemptUsage, b as AwaitingReason, B as BUILTIN_SKILL_NAMES, c as BelowPlan, e as CommandWords, f as ContextCheckpoint, g as ContextFill, h as ConversationMessage, i as CostProvenance, D as DEFAULT_LOOP_ROUNDS, j as DEFAULT_PLANNER_ALLOWLIST, k as DEFAULT_RUNNERS, l as DEFAULT_SCRIPT_TIMEOUT_MS, m as DEFAULT_SUPERVISOR_RETRY_LIMIT, n as DIGEST_FINDINGS, E as EffectRules, r as ExecutionCommandName, s as ExecutionRecord, F as FLOOR_GRANTS, t as FindingSeverity, G as GRANTS, u as Grant, v as GuardTarget, w as GuardTrip, H as HANDOFF_LIMITS, x as HANDOFF_PUSH_CHARS, y as Handoff, z as HandoffArtifact, J as HandoffCommit, K as HandoffDigest, L as HandoffEvidence, M as HandoffFinding, N as HandoffLogs, O as HandoffPatch, P as HandoffPins, Q as HandoffPreviewOptions, R as HandoffTaskName, U as IntegrationDisposal, V as InvalidSkill, W as IsolationAvailability, X as IsolationHandoff, Y as IsolationHandoffRepo, Z as IsolationInactiveReason, _ as IsolationLandedTask, $ as IsolationLanding, a0 as IsolationMergeBlock, a1 as IsolationMergeBlockReason, a2 as IsolationMergeResult, a3 as IsolationOutcome, a4 as IsolationPreview, a5 as IsolationPruneResult, a7 as IsolationRepo, a8 as IsolationRepoRevert, a9 as IsolationRevertResult, aa as IsolationRevertTask, ab as IsolationRun, ac as IsolationTaskRecord, ad as IsolationTaskRef, ae as IsolationTaskRepo, ah as LandedTask, ai as LandedWork, ak as LoopSubject, al as MAX_LOOP_ROUNDS, an as MandateExclusions, ap as MandateRefusal, ar as ModelUsage, as as Narrowed, au as PatchFlag, av as PatchView, az as PlanStatus, aA as PlanUsage, aB as PlannerAllowlist, aC as PlannerCompaction, aD as PlannerCompactionOutcome, aE as PlannerContextPause, aG as PlannerResendState, aI as PrepareIntent, aJ as PreparedTask, aK as PreservedWork, aL as PreviewRepo, aM as PreviousWork, aN as REPORT_MAX_CHARS, aO as ROOT_NODE, aP as RefusedRemoval, aQ as RepairEvidence, aR as RepairWait, aS as ReplyRun, aT as RepoGroupLayout, aU as RepoHead, aV as ReportItem, aZ as ResearchStep, a_ as ResearchStepOutcome, b0 as RevertCommand, b1 as RevertWatch, b2 as RootSettings, b3 as RunSettings, b6 as SEVERITY_LABEL, b7 as SHAPE_LIMITS, b9 as ScriptConsent, ba as ScriptResult, bb as SessionBilling, bc as SetupFailure, bd as ShadowedSkill, be as SkillAppliesTo, bf as SkillCatalog, bg as SkillInfo, bh as SkillLoad, bi as SkillLoadNotice, bj as SkillMetadata, bk as SkillSource, bp as SupervisorLevel, bt as TaskEvidence, bu as TaskIsolation, bv as TaskIsolationState, bw as TaskLoop, bx as TaskModelAssignment, bC as TaskStatus, bD as TaskType, bE as TaskUsageSummary, bF as TreeSnapshot, bG as UsageLine, bI as UsageTotals, bL as WrittenTaskRef, bM as actorAuthority, bN as addAttemptUsage, bO as addModelUsage, bP as addPlannerUsage, bQ as addUsage, bR as addUsageTotals, bS as artifactLines, bT as betweenRounds, bU as boundedHandoffLines, bV as byteSize, bW as checkHandoff, bX as checkOf, bY as commandAllowedBy, bZ as commandLine, b_ as contextMeterText, b$ as contextMeterTitle, c0 as costText, c1 as countedSessionCost, c2 as createEmptyPlan, c3 as createSkillsService, c4 as createTask, c5 as effectRuleFor, c6 as endAttemptUsage, c7 as findingLines, c8 as findingRefText, c9 as flattenTasks, ca as flattenTasksWithParents, cb as formatCost, cc as formatTokenCount, cd as handoffDigest, ce as handoffLines, cf as handoffPreviewLines, cg as handoffReferenceText, ch as handoffWakeLines, ci as heldHandoff, cj as heldMandate, ck as heldWords, cl as inLoop, cm as isAwaitingReason, cn as isMeasured, co as isSupervisorLevel, cp as isUserMessage, cq as loopRemovalRefusal, cr as loopRoundOf, cs as mandateRefusalText, ct as migratePlanState, cu as modelCostTitle, cv as namedHandoff, cw as narrow, cx as nodeText, cy as openingLines, cz as outOfRounds, cA as parseAllowlist, cB as parseEffectAllowlist, cC as parseFindingRef, cD as parseListingPage, cE as parsePlanPath, cF as partedPromptUsage, cG as patchChangesText, cH as patchFlagText, cI as patchLines, cJ as patchLinesText, cK as patchText, cL as patchView, cM as pausedOnLimit, cN as pinReference, cO as planUsage, cP as plannerContextFill, cQ as readableTaskIds, cR as rejoinPlanTree, cS as removedAttempt, cT as resolveWrittenRef, cU as resumedSessionWindow, cV as rootAuthority, cW as rootMandate, cX as savedPatchOf, cY as savedPatchView, cZ as savedPatchViews, c_ as scopeAllowed, c$ as scriptBodyOf, d0 as scriptBodyText, d1 as scriptTaskText, d2 as severityLabel, d3 as spentTokens, d4 as startAttemptUsage, d5 as storedHandoff, d6 as subagentCostTitle, d7 as taskUsageSummary, d8 as tasksTotalText, d9 as timeLimitText, da as toolAllowed, db as usageLine, dc as usageText, dd as waitsForApproval, de as withPatch, df as wordsFrom, dg as worstSeverity } from './Task-D3O49EUo.mjs';
|
|
3
3
|
import { V as IConfig, W as IFileSystem, aE as PlannerToolHandler, ay as PlannerModes, aB as PlannerShellSandbox, aP as ResearchShell, U as IApproval, aN as ReadFileOpts, bP as ToolOutcome, Q as GrepOptions, bo as ShellLaunch, P as GlobOptions, M as FindSymbolOptions, B as BashOptions, bK as TaskShellSite, bJ as TaskShell, Z as IRunner, ax as PlannerBackendId, aI as ProviderModelLists, f as AiProvider, n as ApprovalModeSetting, b7 as RunnerRegistry, a_ as RunnerEnv, aq as OrchestratorOption, d as AgentProcessDeps, bC as TaskModeAgentAdapter, e as AgentStartOptions, a as AgentAdapter, c as AgentEvent, aX as RunnerCommand$1, s as AttachState, k as ApprovalDecision, aG as ProjectMcpServer, _ as IRunnerSession, bt as StructuredTurnEnd, bs as StructuredEvent, bB as TaskMessageFrom, aK as QueuedTaskMessage, bz as TaskCompleteArgs, x as CheckpointAnswer, bf as ScriptExit, af as McpToolReply, X as ILogger, Y as INotification, bH as TaskRunnerConfig, a1 as IsolationRunController, o as ApprovalPolicy, J as EventStore, j as ApprovalAnswer, ap as OpenLease, aF as PostArgs, aO as ReadTaskArgs, ar as OrdewellMcpServer, bL as TaskStartOptions, bM as TaskTokenScope, bO as TaskWebReads, i as ApplyPatchArgs, b6 as RunnerPlacement, b1 as RunnerManifest, bI as TaskRunnerFlags } from './eventStore-BcoMsZtU.mjs';
|
|
4
4
|
export { A as AUTO_COMMANDS, b as AgentAdapterFactory, g as AllProviderModels, h as AnswerApprovalArgs, l as ApprovalKind, m as ApprovalMode, p as ApprovalPolicyOptions, q as ApprovalRequest, r as ApprovalSource, C as CatalogModel, y as CheckpointArgs, z as ChildSessionPlace, D as CommandClassification, E as CommandTier, F as ConsoleLogger, G as DENY_ALL, H as DiscoveryCommand, I as EditPlanArgs, L as FetchAllProviderModelsOptions, N as GIT_READONLY_SUBCOMMANDS, O as GREP_DEFAULT_HEAD_LIMIT, R as GrepOutputMode, $ as InvokedCommand, a6 as LineBuffer, a7 as ListModelsArgs, a8 as ListRunnersArgs, a9 as LoadSkillArgs, aa as McpClientConfig, ab as McpCredential, ac as McpRefusal, ad as McpTool, ae as McpToolContext, ag as MessageTaskArgs, ah as ModelCatalog, ai as ModelShortcut, ak as NotificationAction, al as ORCHESTRATOR_SHORTCUTS, am as ORDEWELL_MCP_PATH, an as ORDEWELL_MCP_SERVER_NAME, ao as OneTaskArgs, as as OwnSealedRuns, at as OwnerOnlyFile, au as PLANNER_EXECUTION_TOOLS, av as PLANNER_SANDBOX_DOCS, aw as PLANNER_TOOLS, az as PlannerSandboxAvailability, aA as PlannerSandboxDeps, aC as PlannerStartOptions, aD as PlannerTokenScope, aH as ProviderCredentialSource, aJ as ProviderModelsResult, aL as READ_ONLY_TASK_TOOLS, aM as REFUSED_COMMANDS, aQ as ResearchShellDeps, aS as RetryTaskArgs, aT as RunCommandArgs, aU as RunPlanArgs, aV as RunnerAuthSpec, aW as RunnerAuthStatus, aY as RunnerCommandKind, aZ as RunnerEntry, a$ as RunnerFeatures, b2 as RunnerMcpServer, b3 as RunnerMode, b4 as RunnerModelDiscovery, b5 as RunnerModelRef, b8 as SEALED_LIMITS, b9 as SEARCH_EXCLUSIONS, ba as SandboxBackend, bb as SandboxInvocation, bc as SandboxLaunch, bd as SandboxLimits, be as SandboxProfile, bg as ScriptFullOutput, bh as ScriptRun, bi as ScriptStatus, bj as SealedAvailability, bk as SealedRunOptions, bl as SessionData, bm as SessionMeta, bn as ShellDialect, bq as SpawnFn, br as StandingDecision, bu as SubmitPlanArgs, bv as TASK_COMPLETE_TOOL, bw as TASK_COMPLETION_CONTRACT, bx as TASK_SEALED_LIMITS, by as TASK_TOOLS, bA as TaskDiffArgs, bD as TaskModeUnsupportedError, bE as TaskOutputArgs, bF as TaskQueryArgs, bG as TaskRunCommandArgs, bN as TaskToolHandler, bT as approvalScopes, bU as classifyCommand, bV as clearPlannerSandboxCache, bW as clearResearchShellCache, bX as collectProviderCredentials, bY as defaultLogger, bZ as deleteSession, b_ as effectiveApprovalMode, b$ as enabledRunners, c0 as fetchAllProviderModels, c1 as findRunnerCommand, c2 as getLatestSession, c3 as idSegment, c4 as isGranted, c5 as isRunnerApproval, c6 as knownModelId, c7 as listChildSessions, c8 as listSessions, c9 as loadChildSession, ca as loadSession, cb as loadSessionPlanState, cc as mcpClientConfig, cd as ownerOnlyConfigFile, ce as parseApprovalModeSetting, cf as plannerToolSet, cg as researchShellWarning, ch as researchToolsPath, ci as resolveModelShortcut, cj as resolvePlannerSandbox, ck as resolveProvider, cl as resolveResearchShell, cm as saveChildSession, cn as saveSession, co as sessionDataDir, cp as sharedMcpServer, cq as taskCompletionContract, cr as taskToolSet, cs as toApprovalDecision, ct as toOrchestratorOptions, cu as toolListing } from './eventStore-BcoMsZtU.mjs';
|
|
5
|
-
import {
|
|
6
|
-
export { A as ACT_RISK, a as AUTORUN_RISK, d as AccountLimitStatus, e as AccountLimitWindow, f as AccountLimitsFrame, g as AccountLimitsMessage, h as AdoptSessionResponse, i as AnswerEscalationRequest, j as ApplyTaskOpsResult, k as ApprovalAnswerResponse, l as ApprovalBlock, m as ApprovalRequestMessage, n as ApprovalStatus, o as ApprovalsResponse, p as ApproveReviewResponse, q as AskOptions, s as AssignmentIssue, v as AutoMergeTrigger, B as BlockingSubject, C as CHAT_COMMANDS, w as CHECKPOINT_TRUNCATE_LENGTH, x as CancelPlanningResponse, y as CancelResumeResponse, E as ChildListResponse, G as ChildMessageResponse, I as ChildPlanResponse, L as ChildTaskControlResponse, M as ChildTreeFrame, N as CliAgentAiService, O as CliAgentAiServiceDeps, P as CommandBlock, Q as CommandDescriptor, S as CommandPayload, T as CommandStatus, U as CommandsResponse, V as CompactionBlock, W as CompactionStatus, X as Consent, Y as ContainerChange, Z as ContainerChangeResponse, _ as ContainerGuaranteeLine, $ as ContainerProblem, a0 as ContainerStatus, a2 as ConversationBusyError, a3 as ConversationCompactResponse, a5 as ConversationEditError, a6 as ConversationForkResponse, a7 as ConversationInput, a9 as ConversationRewindResponse, ab as ConversationView, ac as DEFAULT_WEB_READ_BUDGET, ad as DELEGATION_OFFERED, ae as DELEGATION_RISK, af as DaemonErrorCode, ag as DecideOptions, ah as DiffRow, ai as DiffRowKind, aj as DiffStat, ak as DisplayBlock, am as EMPTY_CONVERSATION, an as EMPTY_HOLD, ao as EMPTY_RUN, ap as EMPTY_TASK_LOG, aq as EMPTY_TASK_LOG_FOLLOW, ar as ErrorBody, at as EscalationInput, au as EscalationKind, av as EscalationOption, aw as EscalationOptionId, ax as EscalationRun, ay as EscalationsResponse, az as ExecuteCommandResponse, aA as ExecuteResponse, aC as ExecutionCommands, aD as ExecutionHost, aE as ExecutionSummary, aF as GatedConversation, aG as GeneratePlanResponse, aI as HEADLESS_CLI_COMMANDS, aJ as HandoffBlock, aK as HandoffForkRepo, aL as HandoffPeekSubject, aN as IDLE_ACTIVITY, aP as IsolationDiffResponse, aQ as IsolationMergeResponse, aR as IsolationPreviewNotice, aS as IsolationPreviewResponse, aT as LEASE_HEARTBEAT_MS, aU as LEASE_STALE_MS, aW as LeaseHostKind, aX as LeaseHostOptions, aY as LiveOutputLookup, a$ as LocalEntry, b0 as LoopCheckFacts, b1 as LoopCheckState, b2 as LoopGuard, b3 as MappedTool, b4 as MarkdownToken, b5 as MergeGateEntry, b6 as MergeGateResponse, b7 as MergeWordingHandoff, b8 as MessageBlock, b9 as MessageRole, ba as ModelsResponse, bb as NOT_STARTED, bc as NO_TURN, bd as NewTaskFields, bg as OUTPUT_LINES_DEFAULT, bh as OUTPUT_LINES_MAX, bi as OkResponse, bj as OpRef, bk as OpRefusal, bm as OutputPreview, bn as OverrideDirection, bo as PLANNED_WITH_LABEL, br as PendingApprovalsOptions, bs as PlanBlock, bt as PlanBlocks, bv as PlanMarkerStatus, bw as PlanResponse, bx as PlanSnapshot, bz as PlannerCommandSyntax, bF as PlannerModelChoice, bG as PlannerModelMemory, bJ as PlannerNotReady, bK as PlannerNotReadyError, bL as PlannerReadinessConfig, bM as PlannerSubmission, bN as PlannerTurnDiscardedError, bO as PlannerTurnStoppedError, bP as PlannerUsageLimitError, bQ as PrdResponse, bR as PromptHold, bS as REPORT_PREVIEW_LINES, bT as RUN_SETTINGS_DEFAULTS, bU as ReadRunnerAuthOptions, bY as ResolveConflictResponse, bZ as RevertPreviewTask, b_ as RevertRefusal, b$ as RevertRefusalReason, c0 as RevertScope, c2 as RewindTargetsResponse, c4 as RunInput, c6 as RunSettingsError, c7 as RunSnapshotFrame, c8 as RunTask, c9 as RunTaskStatus, cd as RunnerAuthExecOptions, ce as RunnerAuthExecResult, cg as RunnerLoadedBlock, ch as RunnersResponse, ci as STALLED_LABEL, cj as STOPPED_BEFORE_START, ck as STOPPING_LABEL, cl as SUBPLANNER_ACCOUNTING, cm as SUBPLANNER_CHILD, cn as SUBPLANNER_SCOPE, co as SUPERVISOR_LEVEL_LABEL, cp as SerializedConversationMessage, cq as SerializedPendingTurn, cr as SerializedPlan, cs as SerializedTask, ct as SerializedTaskStatus, cu as ServerInfoResponse, cw as SessionFrame, cy as SessionHeldError, cA as SessionLeaseRecord, cB as SessionListResponse, cE as SessionResponse, cF as SettingsResponse, cG as SettingsService, cH as SettingsUpdateResponse, cI as SkillInvocation, cJ as SkillLoadBlock, cK as SkillToken, cM as StartAdmission, cN as StopResponse, cO as StreamStamp, cP as SubagentBlock, cQ as SubagentChild, cR as SubagentStatus, cU as SubtreeItemView, cV as SubtreeView, cW as SurfacePlan, cX as SurfacePlanState, cY as SurfaceTask, cZ as TASK_QUERY_ANSWER_MAX_CHARS, c_ as TASK_QUERY_ANSWER_OR_OPS, c$ as TASK_QUERY_FIELDS, d0 as TASK_QUERY_PROTOCOL, d1 as TASK_QUERY_REMINDER, d2 as TERMINAL_UI_COMMANDS, d3 as TakenPrompt, d4 as TaskAction, d5 as TaskActivity, d6 as TaskAttemptSnapshot, d7 as TaskLogAttemptsResponse, d8 as TaskLogBatch, da as TaskLogFollow, db as TaskLogFollowInput, dc as TaskLogHeaderKind, dd as TaskLogHeaderTask, de as TaskLogHeaderUsage, df as TaskLogHeaderView, dg as TaskLogResponse, dh as TaskLogView, di as TaskMessageResponse, dj as TaskOp, dl as TaskOrchestratorDeps, dp as TaskPlacement, dq as TaskQuery, ds as TaskQueryField, dt as TaskRef, dv as TaskRevertPreviewResponse, dw as TaskRowAction, dx as TaskRowContext, dy as TaskRowDelegated, dz as TaskRowHandoff, dA as TaskRowIsolation, dB as TaskRowKind, dC as TaskRowLoop, dD as TaskRowPlacement, dE as TaskRowSubject, dF as TaskRowUsage, dG as TaskRowView, dH as TaskRunFacts, dI as TaskStatusKind, dJ as ThinkingDisplayBlock, dK as ToolBlock, dL as ToolHeadline, dM as ToolStatus, dO as TreeTask, dQ as TurnGate, dR as UsageBlock, dT as WAITS_FOR_APPROVAL_LABEL, dU as WakeUpItem, dZ as Worded, d_ as WorkspacesResponse, d$ as abbreviateHome, e0 as accountLimitPercentText, e1 as accountLimitWindowLabel, e2 as accountLimitsOf, e3 as accountLimitsText, e4 as accountLimitsTitle, e5 as activityLabel, e6 as aheadOfDraft, e7 as applyTaskOps, e8 as approvalKindText, e9 as approvalLabel, ea as approvalStatusText, eb as assignedRunnerOf, ec as assignmentIssue, ed as assignmentIssueText, ee as attachingLabel, ef as automergeSummary, eg as autorunSummary, eh as awaitingLabel, ei as blockNotice, ej as blockNotices, ek as blockedByLabel, el as blockingFailures, em as canMergeTasks, en as canSetDependencies, eo as canSplitTask, ep as capConflictFiles, eq as cardEditNeedsUnstarted, er as cardEditable, es as changeContainers, et as checkoutRule, eu as classifyOutcome, ev as closeTurn, ew as coalesceTaskLog, ex as compactionText, ey as confirmedOverride, ez as containerStatus, eA as containersOffered, eB as createAiService, eC as delegatedRowView, eD as delegationSummary, eE as dependencyCandidates, eF as dependentsNotice, eG as dependentsOf, eH as describeContainers, eI as describeHeld, eJ as describeHolder, eK as describeIsolationPreview, eL as describeMergeResult, eM as describePlannerNotReady, eN as describeProblems, eO as diffRows, eP as diffStat, eQ as diffSummary, eR as digestTaskLog, eS as drainNext, eT as editableWhileRunning, eU as elapsedSince, eV as escalations, eW as executionSummary, eX as followTaskLog, eY as followTurn, eZ as formatElapsed, e_ as fromTranscript, e$ as getSettingsPath, f0 as handoffBaseLine, f1 as handoffBranchName, f2 as handoffFindingsText, f3 as handoffPeekParts, f4 as hasAccountLimits, f5 as hasHiddenDetail, f6 as hasLongReport, f7 as holdLabel, f8 as holdPrompt, fa as isRepoGroup, fb as isTaskRunning, fc as keptDelegationBudget, fd as lastServedModel, fe as loadedSkillTokens, ff as logContinues, fg as logResumes, fh as loopBodyLabel, fi as loopBodyRound, fj as loopCheckLabel, fk as loopCheckState, fl as loopLeaveNotice, fm as loopRowParts, fn as manualOverrideConfirmation, fo as manualOverrideStopFirst, fp as mapAgentTool, fq as markAction, fr as markdownHtml, fs as markdownTokens, ft as mergeOutcome, fu as mergePastChecksConfirmation, fv as mergeTarget, fw as namedRepos, fx as newTaskFields, fy as noExecutorRefusal, fz as normalizeAgentArgs, fA as opRefusalText, fB as opsEditable, fC as outputLines, fD as outputPreview, fE as overrideNeedsConfirmation, fF as parseCount, fG as parseDelegation, fH as parseSwitch, fI as parseTaskOpsJson, fJ as parseTaskQueryJson, fK as pastGateConfirmation, fL as planBlocks, fM as planMarkerParts, fN as plannerMessage, fO as plannerNotReady, fP as plannerNotReadyFor, fQ as plannerTranscript, fR as processLeaseHost, fS as ranSealed, fT as readRunnerAuth, fU as receiptLabel, fV as reconcileApprovals, fW as recordRunnerAuth, fX as recordedRunnerAuth, fY as reduceConversation, fZ as reduceRun, f_ as reduceTaskLog, f$ as rememberDelegationBudget, g0 as renderTaskQueryAnswer, g1 as repairWaitLabel, g2 as repairedLanded, g3 as repairedNotice, g4 as repeatingChecks, g5 as replayTaskLog, g6 as repoBaseLine, g7 as repoResultLines, g8 as reposWithWork, g9 as resetRunnerAuth, ga as resolveSkillInvocation, gb as resolveTaskRef, gc as resolveUserTaskRef, gd as resumeLabel, ge as resumeTime, gf as revertEffect, gg as revertListLine, gh as revertTaskRef, gi as runHoldsEditors, gj as runSettingsOf, gk as runnerToolSubject, gl as scriptExitText, gm as scriptRunText, gn as secondsText, go as serializePlan, gp as serializeTask, gq as serializeTaskStatus, gr as skillTokens, gs as skippedLabel, gt as stopTurn, gu as subtreeIds, gv as subtreeView, gw as summarizeToolCall, gx as supervisorSummary, gy as surfacePlan, gz as surfacePlanState, gA as takeAt, gB as taskActionCommand, gC as taskActivity, gD as taskChatAvailable, gE as taskLogCommands, gF as taskLogForSurface, gG as taskLogHeaderView, gH as taskOrderLabel, gI as taskPlacement, gJ as taskQuerySignature, gK as taskRef, gL as taskRefOf, gM as taskRowActions, gN as taskRowView, gO as taskStartedNotice, gP as taskStatusKind, gQ as textHasTaskOps, gR as textHasTaskQuery, gS as titledRefs, gT as titledTaskRef, gU as titledTaskRefOf, gV as toTaskLogEvent, gW as toolHeadline, gX as trailerSummary, gY as trimToolOutput, gZ as truncateCheckpointSummary, g_ as unsendAll, g$ as unsendLatest, h0 as wakeUpItems, h1 as walkPlan, h2 as withoutSealedMark, h3 as workspaceEnvOf } from './runSettingsText-DnzSrB0c.mjs';
|
|
5
|
+
import { dW as TurnBudgets, bB as PlanIntake, aT as IWebFetcher, ad as ConversationTurn, c2 as ResolveAll, e4 as WebReadPolicy, e1 as WebRead, e2 as WebReadDecision, e3 as WebReadOptions, bx as PendingApprovals, aR as IAiService, bH as PlannerContextDeps, bI as PlannerContextStatus, a4 as ContextCondenseRequest, ab as ConversationRequest, bL as PlannerModelCandidate, cj as RunnerAuthExec, a_ as LaunchDeps, ci as RunnerAuth, b as AccountLimitBucket, c as AccountLimitSnapshot, u as AssignmentWriter, t as AssignmentScope, dy as TaskQueryCatalog, r as AssignmentCatalog, cm as RunnerCatalog, dg as TaskLogEvent, dU as TreeLedger, H as ChildMessageOutcome, L as ChildPlanView, M as ChildTaskControl, F as ChildControlOutcome, cJ as SessionMessage, cK as SessionNotice, J as ChildPlanEntry, cC as SessionBroadcaster, bF as PlanStore, ds as TaskOrchestrator, aw as Escalation, bs as OrchestratorObserver, cE as SessionHeld, cS as SlotPool, bm as NodeBudget, c1 as ResearchTasks, aM as GlobalRunSettings, cG as SessionLease, bK as PlannerConversationHost, bJ as PlannerConversation, cZ as SubplannerBrief, aG as ExecutionCommand, U as CommandOutcome, bw as PendingApproval, E as Carved, bl as NodeBoard, c_ as Subtree, a7 as ConversationCompaction, c8 as RewindTarget, ch as RunView, dB as TaskRevertPreview, cc as RunMergeView, ca as RunActivity, dv as TaskOutputSource, b0 as LeaseHost, du as TaskOrchestratorOptions, dZ as UserSettings, ao as DockerCli, b5 as LiveTailOptions, b4 as LiveTail, bP as PlannerModelStore, bO as PlannerModelRecall } from './runSettingsText-DWsmcnBq.mjs';
|
|
6
|
+
export { A as ACT_RISK, a as AUTORUN_RISK, d as AccountLimitStatus, e as AccountLimitWindow, f as AccountLimitsFrame, g as AccountLimitsMessage, h as AdoptSessionResponse, i as AnswerEscalationRequest, j as ApplyTaskOpsResult, k as ApprovalAnswerResponse, l as ApprovalBlock, m as ApprovalRequestMessage, n as ApprovalStatus, o as ApprovalsResponse, p as ApproveReviewResponse, q as AskOptions, s as AssignmentIssue, v as AutoMergeTrigger, B as BatchQuoteError, w as BlockingSubject, C as CHAT_COMMANDS, x as CHECKPOINT_TRUNCATE_LENGTH, y as CMD_EXE_MAX_COMMAND_LINE, z as CancelPlanningResponse, D as CancelResumeResponse, G as ChildListResponse, I as ChildMessageResponse, K as ChildPlanResponse, N as ChildTaskControlResponse, O as ChildTreeFrame, P as CliAgentAiService, Q as CliAgentAiServiceDeps, R as CommandBlock, S as CommandDescriptor, T as CommandLineTooLongError, V as CommandPayload, W as CommandStatus, X as CommandsResponse, Y as CompactionBlock, Z as CompactionStatus, _ as Consent, $ as ContainerChange, a0 as ContainerChangeResponse, a1 as ContainerGuaranteeLine, a2 as ContainerProblem, a3 as ContainerStatus, a5 as ConversationBusyError, a6 as ConversationCompactResponse, a8 as ConversationEditError, a9 as ConversationForkResponse, aa as ConversationInput, ac as ConversationRewindResponse, ae as ConversationView, af as DEFAULT_WEB_READ_BUDGET, ag as DELEGATION_OFFERED, ah as DELEGATION_RISK, ai as DaemonErrorCode, aj as DecideOptions, ak as DiffRow, al as DiffRowKind, am as DiffStat, an as DisplayBlock, ap as EMPTY_CONVERSATION, aq as EMPTY_HOLD, ar as EMPTY_RUN, as as EMPTY_TASK_LOG, at as EMPTY_TASK_LOG_FOLLOW, au as EmbeddedNewlineError, av as ErrorBody, ax as EscalationInput, ay as EscalationKind, az as EscalationOption, aA as EscalationOptionId, aB as EscalationRun, aC as EscalationsResponse, aD as ExecutableNotFoundError, aE as ExecuteCommandResponse, aF as ExecuteResponse, aH as ExecutionCommands, aI as ExecutionHost, aJ as ExecutionSummary, aK as GatedConversation, aL as GeneratePlanResponse, aN as HEADLESS_CLI_COMMANDS, aO as HandoffBlock, aP as HandoffForkRepo, aQ as HandoffPeekSubject, aS as IDLE_ACTIVITY, aU as IsolationDiffResponse, aV as IsolationMergeResponse, aW as IsolationPreviewNotice, aX as IsolationPreviewResponse, aY as LEASE_HEARTBEAT_MS, aZ as LEASE_STALE_MS, a$ as LaunchPlan, b1 as LeaseHostKind, b2 as LeaseHostOptions, b3 as LiveOutputLookup, b6 as LocalEntry, b7 as LoopCheckFacts, b8 as LoopCheckState, b9 as LoopGuard, ba as MappedTool, bb as MarkdownToken, bc as MergeGateEntry, bd as MergeGateResponse, be as MergeWordingHandoff, bf as MessageBlock, bg as MessageRole, bh as ModelsResponse, bi as NOT_STARTED, bj as NO_TURN, bk as NewTaskFields, bn as OUTPUT_LINES_DEFAULT, bo as OUTPUT_LINES_MAX, bp as OkResponse, bq as OpRef, br as OpRefusal, bt as OutputPreview, bu as OverrideDirection, bv as PLANNED_WITH_LABEL, by as PendingApprovalsOptions, bz as PlanBlock, bA as PlanBlocks, bC as PlanMarkerStatus, bD as PlanResponse, bE as PlanSnapshot, bG as PlannerCommandSyntax, bM as PlannerModelChoice, bN as PlannerModelMemory, bQ as PlannerNotReady, bR as PlannerNotReadyError, bS as PlannerReadinessConfig, bT as PlannerSubmission, bU as PlannerTurnDiscardedError, bV as PlannerTurnStoppedError, bW as PlannerUsageLimitError, bX as PrdResponse, bY as PromptHold, bZ as REPORT_PREVIEW_LINES, b_ as RUN_SETTINGS_DEFAULTS, b$ as ReadRunnerAuthOptions, c3 as ResolveConflictResponse, c4 as RevertPreviewTask, c5 as RevertRefusal, c6 as RevertRefusalReason, c7 as RevertScope, c9 as RewindTargetsResponse, cb as RunInput, cd as RunSettingsError, ce as RunSnapshotFrame, cf as RunTask, cg as RunTaskStatus, ck as RunnerAuthExecOptions, cl as RunnerAuthExecResult, cn as RunnerLoadedBlock, co as RunnersResponse, cp as STALLED_LABEL, cq as STOPPED_BEFORE_START, cr as STOPPING_LABEL, cs as SUBPLANNER_ACCOUNTING, ct as SUBPLANNER_CHILD, cu as SUBPLANNER_SCOPE, cv as SUPERVISOR_LEVEL_LABEL, cw as SerializedConversationMessage, cx as SerializedPendingTurn, cy as SerializedPlan, cz as SerializedTask, cA as SerializedTaskStatus, cB as ServerInfoResponse, cD as SessionFrame, cF as SessionHeldError, cH as SessionLeaseRecord, cI as SessionListResponse, cL as SessionResponse, cM as SettingsResponse, cN as SettingsService, cO as SettingsUpdateResponse, cP as SkillInvocation, cQ as SkillLoadBlock, cR as SkillToken, cT as StartAdmission, cU as StopResponse, cV as StreamStamp, cW as SubagentBlock, cX as SubagentChild, cY as SubagentStatus, c$ as SubtreeItemView, d0 as SubtreeView, d1 as SurfacePlan, d2 as SurfacePlanState, d3 as SurfaceTask, d4 as TASK_QUERY_ANSWER_MAX_CHARS, d5 as TASK_QUERY_ANSWER_OR_OPS, d6 as TASK_QUERY_FIELDS, d7 as TASK_QUERY_PROTOCOL, d8 as TASK_QUERY_REMINDER, d9 as TERMINAL_UI_COMMANDS, da as TakenPrompt, db as TaskAction, dc as TaskActivity, dd as TaskAttemptSnapshot, de as TaskLogAttemptsResponse, df as TaskLogBatch, dh as TaskLogFollow, di as TaskLogFollowInput, dj as TaskLogHeaderKind, dk as TaskLogHeaderTask, dl as TaskLogHeaderUsage, dm as TaskLogHeaderView, dn as TaskLogResponse, dp as TaskLogView, dq as TaskMessageResponse, dr as TaskOp, dt as TaskOrchestratorDeps, dw as TaskPlacement, dx as TaskQuery, dz as TaskQueryField, dA as TaskRef, dC as TaskRevertPreviewResponse, dD as TaskRowAction, dE as TaskRowContext, dF as TaskRowDelegated, dG as TaskRowHandoff, dH as TaskRowIsolation, dI as TaskRowKind, dJ as TaskRowLoop, dK as TaskRowPlacement, dL as TaskRowSubject, dM as TaskRowUsage, dN as TaskRowView, dO as TaskRunFacts, dP as TaskStatusKind, dQ as ThinkingDisplayBlock, dR as ToolBlock, dS as ToolHeadline, dT as ToolStatus, dV as TreeTask, dX as TurnGate, dY as UsageBlock, d_ as WAITS_FOR_APPROVAL_LABEL, d$ as WINDOWS_MAX_COMMAND_LINE, e0 as WakeUpItem, e5 as Worded, e6 as WorkspacesResponse, e7 as abbreviateHome, e8 as accountLimitPercentText, e9 as accountLimitWindowLabel, ea as accountLimitsOf, eb as accountLimitsText, ec as accountLimitsTitle, ed as activityLabel, ee as aheadOfDraft, ef as applyTaskOps, eg as approvalKindText, eh as approvalLabel, ei as approvalStatusText, ej as assignedRunnerOf, ek as assignmentIssue, el as assignmentIssueText, em as attachingLabel, en as automergeSummary, eo as autorunSummary, ep as awaitingLabel, eq as blockNotice, er as blockNotices, es as blockedByLabel, et as blockingFailures, eu as canMergeTasks, ev as canSetDependencies, ew as canSplitTask, ex as capConflictFiles, ey as cardEditNeedsUnstarted, ez as cardEditable, eA as changeContainers, eB as checkoutRule, eC as classifyOutcome, eD as closeTurn, eE as coalesceTaskLog, eF as compactionText, eG as confirmedOverride, eH as containerStatus, eI as containersOffered, eJ as createAiService, eK as delegatedRowView, eL as delegationSummary, eM as dependencyCandidates, eN as dependentsNotice, eO as dependentsOf, eP as describeContainers, eQ as describeHeld, eR as describeHolder, eS as describeIsolationPreview, eT as describeMergeResult, eU as describePlannerNotReady, eV as describeProblems, eW as diffRows, eX as diffStat, eY as diffSummary, eZ as digestTaskLog, e_ as drainNext, e$ as editableWhileRunning, f0 as elapsedSince, f1 as escalations, f2 as executionSummary, f3 as followTaskLog, f4 as followTurn, f5 as formatElapsed, f6 as fromTranscript, f7 as getSettingsPath, f8 as handoffBaseLine, f9 as handoffBranchName, fa as handoffFindingsText, fb as handoffPeekParts, fc as hasAccountLimits, fd as hasHiddenDetail, fe as hasLongReport, ff as holdLabel, fg as holdPrompt, fh as isExecutableResolved, fj as isRepoGroup, fk as isTaskRunning, fl as keptDelegationBudget, fm as lastServedModel, fn as loadedSkillTokens, fo as logContinues, fp as logResumes, fq as loopBodyLabel, fr as loopBodyRound, fs as loopCheckLabel, ft as loopCheckState, fu as loopLeaveNotice, fv as loopRowParts, fw as manualOverrideConfirmation, fx as manualOverrideStopFirst, fy as mapAgentTool, fz as markAction, fA as markdownHtml, fB as markdownTokens, fC as mergeOutcome, fD as mergePastChecksConfirmation, fE as mergeTarget, fF as namedRepos, fG as newTaskFields, fH as noExecutorRefusal, fI as normalizeAgentArgs, fJ as opRefusalText, fK as opsEditable, fL as outputLines, fM as outputPreview, fN as overrideNeedsConfirmation, fO as parseCount, fP as parseDelegation, fQ as parseSwitch, fR as parseTaskOpsJson, fS as parseTaskQueryJson, fT as pastGateConfirmation, fU as planBlocks, fV as planDirectLaunch, fW as planMarkerParts, fX as plannerMessage, fY as plannerNotReady, fZ as plannerNotReadyFor, f_ as plannerTranscript, f$ as processLeaseHost, g0 as ranSealed, g1 as readRunnerAuth, g2 as receiptLabel, g3 as reconcileApprovals, g4 as recordRunnerAuth, g5 as recordedRunnerAuth, g6 as reduceConversation, g7 as reduceRun, g8 as reduceTaskLog, g9 as rememberDelegationBudget, ga as renderTaskQueryAnswer, gb as repairWaitLabel, gc as repairedLanded, gd as repairedNotice, ge as repeatingChecks, gf as replayTaskLog, gg as repoBaseLine, gh as repoResultLines, gi as reposWithWork, gj as resetRunnerAuth, gk as resolveSkillInvocation, gl as resolveTaskRef, gm as resolveUserTaskRef, gn as resumeLabel, go as resumeTime, gp as revertEffect, gq as revertListLine, gr as revertTaskRef, gs as runHoldsEditors, gt as runSettingsOf, gu as runnerToolSubject, gv as scriptExitText, gw as scriptRunText, gx as secondsText, gy as serializePlan, gz as serializeTask, gA as serializeTaskStatus, gB as skillTokens, gC as skippedLabel, gD as stopTurn, gE as subtreeIds, gF as subtreeView, gG as summarizeToolCall, gH as supervisorSummary, gI as surfacePlan, gJ as surfacePlanState, gK as takeAt, gL as taskActionCommand, gM as taskActivity, gN as taskChatAvailable, gO as taskLogCommands, gP as taskLogForSurface, gQ as taskLogHeaderView, gR as taskOrderLabel, gS as taskPlacement, gT as taskQuerySignature, gU as taskRef, gV as taskRefOf, gW as taskRowActions, gX as taskRowView, gY as taskStartedNotice, gZ as taskStatusKind, g_ as textHasTaskOps, g$ as textHasTaskQuery, h0 as titledRefs, h1 as titledTaskRef, h2 as titledTaskRefOf, h3 as toTaskLogEvent, h4 as toolHeadline, h5 as trailerSummary, h6 as trimToolOutput, h7 as truncateCheckpointSummary, h8 as unsendAll, h9 as unsendLatest, ha as wakeUpItems, hb as walkPlan, hc as windowsCommandLine, hd as withoutSealedMark, he as workspaceEnvOf } from './runSettingsText-DWsmcnBq.mjs';
|
|
7
7
|
import { R as RunnerModeInfo } from './ModeResolver-CkZnbIqs.mjs';
|
|
8
8
|
export { a as autonomyLevelLabel, p as parseAutonomyFlag, b as parseAutonomyLevel, r as runnerModesFrom } from './ModeResolver-CkZnbIqs.mjs';
|
|
9
9
|
import { WorkerOptions, Worker } from 'worker_threads';
|
|
@@ -1323,6 +1323,8 @@ interface RunnerInstallationOptions {
|
|
|
1323
1323
|
workspace?: () => string | undefined;
|
|
1324
1324
|
/** Injectable status command runner, so tests need no real agent binary. */
|
|
1325
1325
|
authExec?: RunnerAuthExec;
|
|
1326
|
+
/** How the CLI is located and started, for the spawnability check and the status command alike; a test pins the host's. */
|
|
1327
|
+
launch?: LaunchDeps;
|
|
1326
1328
|
}
|
|
1327
1329
|
/**
|
|
1328
1330
|
* Detects whether a runner's underlying CLI is actually installed on the host,
|
|
@@ -1341,6 +1343,7 @@ declare class RunnerInstallation {
|
|
|
1341
1343
|
private env;
|
|
1342
1344
|
private workspace;
|
|
1343
1345
|
private authExec;
|
|
1346
|
+
private launch;
|
|
1344
1347
|
constructor(registry: RunnerRegistry, execImpl?: ExecImpl, now?: () => number, options?: RunnerInstallationOptions);
|
|
1345
1348
|
/** True if the runner's CLI responds to `--version`. Cached per process. */
|
|
1346
1349
|
isInstalled(runner: string): Promise<boolean>;
|
|
@@ -5567,137 +5570,6 @@ declare class StructuredRunner extends AbstractRunner<StructuredSession> {
|
|
|
5567
5570
|
spawn(opts: RunnerSpawnOptions): Promise<IRunnerSession>;
|
|
5568
5571
|
}
|
|
5569
5572
|
|
|
5570
|
-
/**
|
|
5571
|
-
* cmd.exe's command-line buffer. A longer line is truncated rather than
|
|
5572
|
-
* rejected, which would corrupt a planner's system prompt or a task's prompt
|
|
5573
|
-
* mid-sentence and produce a confident answer to half a question — so the
|
|
5574
|
-
* batch route refuses instead. See {@link CommandLineTooLongError}.
|
|
5575
|
-
*/
|
|
5576
|
-
declare const CMD_EXE_MAX_COMMAND_LINE = 8191;
|
|
5577
|
-
/**
|
|
5578
|
-
* CreateProcess's own ceiling, which the native and PowerShell routes are
|
|
5579
|
-
* bounded by instead. Windows truncates here too, so the same refusal applies —
|
|
5580
|
-
* it is simply four times further away.
|
|
5581
|
-
*/
|
|
5582
|
-
declare const WINDOWS_MAX_COMMAND_LINE = 32767;
|
|
5583
|
-
interface LaunchPlan {
|
|
5584
|
-
/** The executable handed to `spawn()`. */
|
|
5585
|
-
file: string;
|
|
5586
|
-
/** Arguments for `file`. Pass verbatim when {@link verbatim} is set. */
|
|
5587
|
-
args: string[];
|
|
5588
|
-
/**
|
|
5589
|
-
* Windows batch route only: `args` is already a quoted command line and must
|
|
5590
|
-
* not be re-quoted. Maps to `windowsVerbatimArguments` for `spawn`.
|
|
5591
|
-
*/
|
|
5592
|
-
verbatim?: boolean;
|
|
5593
|
-
}
|
|
5594
|
-
/** Test seam: every OS touchpoint is injectable, and production uses the defaults. */
|
|
5595
|
-
interface LaunchDeps {
|
|
5596
|
-
platform?: NodeJS.Platform;
|
|
5597
|
-
/** The PATH executables are looked up on. Defaults to the augmented PATH. */
|
|
5598
|
-
resolvePath?: () => Promise<string>;
|
|
5599
|
-
/** True when `candidate` names an existing file. */
|
|
5600
|
-
exists?: (candidate: string) => boolean;
|
|
5601
|
-
/** Absolute path to the Windows command interpreter. */
|
|
5602
|
-
comSpec?: () => string;
|
|
5603
|
-
/** Absolute path to Windows PowerShell. */
|
|
5604
|
-
powerShell?: () => string;
|
|
5605
|
-
/** PATHEXT, as the environment reports it. */
|
|
5606
|
-
pathExt?: () => string;
|
|
5607
|
-
}
|
|
5608
|
-
/**
|
|
5609
|
-
* Thrown when a command's arguments do not fit the buffer of the only
|
|
5610
|
-
* interpreter that can start it. Windows truncates rather than rejecting, and a
|
|
5611
|
-
* system prompt cut off mid-sentence makes the planner answer half a question
|
|
5612
|
-
* confidently — the silent success this repo refuses — so this is raised
|
|
5613
|
-
* instead. `TaskOrchestrator.startTask` catches it and holds the task, so the
|
|
5614
|
-
* message is what the user reads: it names the fix, because they cannot infer
|
|
5615
|
-
* it from a truncated prompt.
|
|
5616
|
-
*/
|
|
5617
|
-
declare class CommandLineTooLongError extends Error {
|
|
5618
|
-
readonly command: string;
|
|
5619
|
-
readonly length: number;
|
|
5620
|
-
readonly limit: number;
|
|
5621
|
-
constructor(command: string, length: number, limit?: number);
|
|
5622
|
-
}
|
|
5623
|
-
/**
|
|
5624
|
-
* Thrown when only a batch shim resolved for a multi-line argument. cmd.exe
|
|
5625
|
-
* reads up to the first CR/LF and discards the rest with no error and exit code
|
|
5626
|
-
* 0 — quoting does not help — so the agent would get the first paragraph of its
|
|
5627
|
-
* prompt without the instruction to report through `task_complete`, then exit looking successful.
|
|
5628
|
-
*/
|
|
5629
|
-
declare class EmbeddedNewlineError extends Error {
|
|
5630
|
-
readonly command: string;
|
|
5631
|
-
constructor(command: string);
|
|
5632
|
-
}
|
|
5633
|
-
/**
|
|
5634
|
-
* Thrown when only a batch shim resolved for an argument holding a double
|
|
5635
|
-
* quote. cmd.exe flips its quote state at every `"`, whether or not a backslash
|
|
5636
|
-
* precedes it, so the quote ends the quoting we added and the rest of the
|
|
5637
|
-
* argument is read as commands: `--model "x\" & calc & \"y"` runs `calc`.
|
|
5638
|
-
*/
|
|
5639
|
-
declare class BatchQuoteError extends Error {
|
|
5640
|
-
readonly command: string;
|
|
5641
|
-
constructor(command: string);
|
|
5642
|
-
}
|
|
5643
|
-
/**
|
|
5644
|
-
* Thrown when `command` cannot be resolved to a real file. Kept distinguishable
|
|
5645
|
-
* from `WorkspaceNotFoundError` (utils/workspace) even though both a missing
|
|
5646
|
-
* cwd and a missing binary surface as the same `spawn` ENOENT to Node — the two
|
|
5647
|
-
* are checked, and named, separately so the failure names the actual cause.
|
|
5648
|
-
*/
|
|
5649
|
-
declare class ExecutableNotFoundError extends Error {
|
|
5650
|
-
readonly command: string;
|
|
5651
|
-
readonly searchedPath: string;
|
|
5652
|
-
constructor(command: string, searchedPath: string);
|
|
5653
|
-
}
|
|
5654
|
-
/**
|
|
5655
|
-
* Whether `command` actually resolves to a file, given the plan
|
|
5656
|
-
* {@link planDirectLaunch} produced for it and the PATH it was resolved
|
|
5657
|
-
* against.
|
|
5658
|
-
*
|
|
5659
|
-
* POSIX is deliberately identity in `planDirectLaunch` (execvp does its own
|
|
5660
|
-
* PATH search), so the search is repeated here instead. Windows already did
|
|
5661
|
-
* the search inside `planDirectLaunch` — signalled by the returned file
|
|
5662
|
-
* differing from the bare command name it was given; an unresolved command
|
|
5663
|
-
* comes back unchanged.
|
|
5664
|
-
*/
|
|
5665
|
-
declare function isExecutableResolved(command: string, plan: LaunchPlan, PATH: string, deps?: LaunchDeps): boolean;
|
|
5666
|
-
/** The verbatim command line cmd.exe receives after `/d /s /c`, before wrapping. */
|
|
5667
|
-
declare function windowsCommandLine(file: string, args: string[]): string;
|
|
5668
|
-
/**
|
|
5669
|
-
* How to start `command` with `args` through `spawn()`, with no shell.
|
|
5670
|
-
*
|
|
5671
|
-
* POSIX returns its input unchanged — execvp already searches PATH, and adding
|
|
5672
|
-
* a resolution step there would be a new way for a working setup to break.
|
|
5673
|
-
*
|
|
5674
|
-
* Windows resolves the command against PATH × PATHEXT, preferring a native
|
|
5675
|
-
* executable (spawned directly) over a batch shim (through cmd.exe) over a
|
|
5676
|
-
* PowerShell script shim (through `powershell.exe -File`). A command that
|
|
5677
|
-
* resolves to nothing is returned unchanged, so the caller's existing ENOENT —
|
|
5678
|
-
* which names what the user typed — is what surfaces rather than a second,
|
|
5679
|
-
* vaguer error from here.
|
|
5680
|
-
*
|
|
5681
|
-
* The tiers are tried in preference order and the first that *fits* wins, with
|
|
5682
|
-
* one deliberate exception: an overflowing batch shim does not fall through to
|
|
5683
|
-
* PowerShell. Overflow means a very large prompt, which is precisely where
|
|
5684
|
-
* `-File` argument fidelity is least worth betting on, and where a clear held
|
|
5685
|
-
* task beats a plausibly-mangled one. So capacity does not reorder the tiers —
|
|
5686
|
-
* a `.ps1` beside a too-long `.cmd` still raises.
|
|
5687
|
-
*
|
|
5688
|
-
* A line break does reorder them: cmd.exe cannot carry one at any length, so a
|
|
5689
|
-
* `.ps1` beside a `.cmd` wins, and a lone `.cmd` raises. So does a double
|
|
5690
|
-
* quote, which cmd.exe cannot carry safely.
|
|
5691
|
-
*
|
|
5692
|
-
* @throws {CommandLineTooLongError} when the selected route's buffer cannot
|
|
5693
|
-
* carry the arguments.
|
|
5694
|
-
* @throws {EmbeddedNewlineError} when the arguments span lines and only the
|
|
5695
|
-
* batch route resolved.
|
|
5696
|
-
* @throws {BatchQuoteError} when an argument holds a double quote and only the
|
|
5697
|
-
* batch route resolved.
|
|
5698
|
-
*/
|
|
5699
|
-
declare function planDirectLaunch(command: string, args: string[], deps?: LaunchDeps): Promise<LaunchPlan>;
|
|
5700
|
-
|
|
5701
5573
|
/**
|
|
5702
5574
|
* What runs a script task's attempt, where a runner id would name a coding
|
|
5703
5575
|
* agent: no registered runner does, and no model is involved (ADR-0035).
|
|
@@ -6190,4 +6062,4 @@ declare function parseVersion(version: string): number[] | null;
|
|
|
6190
6062
|
/** Negative, zero or positive as `a` is older than, the same as, or newer than `b`; an unreadable version sorts oldest. */
|
|
6191
6063
|
declare function compareVersions(a: string, b: string): number;
|
|
6192
6064
|
|
|
6193
|
-
export { ALL_PROVIDERS, AbstractRunner, AbstractRunnerSession, AccountLimitBucket, type AccountLimitCollector, type AccountLimitListener, AccountLimitMonitor, type AccountLimitMonitorOptions, type AccountLimitReading, AccountLimitSnapshot, type Adr0013IsolationRun, type Adr0013PlanIsolation, type Adr0013TaskRecord, AgentAdapter, AgentEvent, AgentProcessDeps, AgentStartOptions, AiProvider, AlreadyExecutingError, ApprovalAnswer, ApprovalDecision, ApprovalModeSetting, ApprovalPolicy, AssignmentScope, BaseAiService, BaseConfig, BaseFileSystem, BashOptions,
|
|
6065
|
+
export { ALL_PROVIDERS, AbstractRunner, AbstractRunnerSession, AccountLimitBucket, type AccountLimitCollector, type AccountLimitListener, AccountLimitMonitor, type AccountLimitMonitorOptions, type AccountLimitReading, AccountLimitSnapshot, type Adr0013IsolationRun, type Adr0013PlanIsolation, type Adr0013TaskRecord, AgentAdapter, AgentEvent, AgentProcessDeps, AgentStartOptions, AiProvider, AlreadyExecutingError, ApprovalAnswer, ApprovalDecision, ApprovalModeSetting, ApprovalPolicy, AssignmentScope, BaseAiService, BaseConfig, BaseFileSystem, BashOptions, BufferedTaskOutputSource, type ByPlannerBackend, CLAUDE_CODE_MANIFEST, CLI_PROVIDERS, CODEX_SANDBOX_DOCS, CODEX_SANDBOX_OFF_LINE, type CachedPage, type CappedRows, CheckpointAnswer, type CheckpointListener, ChildControlOutcome, ChildDirectory, type ChildFrame, ChildMessageOutcome, type ChildPlacement, ChildPlanEntry, type ChildPlanHandle, ChildPlanView, ChildTaskControl, type ClaudeAccountLimitOptions, ClaudeCodeAdapter, type CodexAccountLimitOptions, CodexAdapter, CodexSandboxAvailability, CommandOutcome, type ConfiguredPlanner, ContextCollector, type Continuability, ConversationCompaction, type ConversationFork, ConversationRequest, type ConversationRewind, ConversationTurn, DAEMON_SUBPROTOCOL, DAEMON_TOKEN_SUBPROTOCOL_PREFIX, DEFAULT_MAX_PARALLEL, type DirEntry, DiscoveredModel, DockerCli, DuckDuckGoSearchProvider, type EnvAdmission, EnvConfig, Escalation, type ExecImpl, ExecutionActor, ExecutionCommand, FindSymbolOptions, GREP_PCRE_PROBE_ARGS, GeminiService, type GitExecFn, GlobOptions, GlobalRunSettings, type GrepInvocation, GrepOptions, type GrepRegex, HARNESS_PLANNER_REASON, HandoffCheck, type HasBinFn, HttpWebFetcher, type HttpWebFetcherOptions, IAiService, IApproval, IConfig, IFileSystem, IIsolationPreview, ILogger, INotification, IRunner, IRunnerSession, type ISearchProvider, IWorktreeIsolation, IsolationRemoval, IsolationTaskStatus, IsolationView, type KillTreeDeps, LaunchDeps, LeaseHost, LegacyPlanState, LiveTail, LiveTailOptions, Mandate, MandateLimits, MandateRequest, McpToolReply, ModelResolver, type ModelResolverDeps, type NativeShellLauncher, type NativeShellOffer, NoPlanError, NodeAuthority, OPENCODE_MANIFEST, ORDEWELL_SETTABLE_ENV, OpenAiService, OpenCodeAdapter, type OpenCodeGoAccountLimitOptions, OrchestratorObserver, OrchestratorOption, OrdewellMcpServer, PROVIDER_CREDENTIAL_ENV, PROVIDER_DETECT_PRIORITY, PROVIDER_LABEL, PROVIDER_PRIORITY, PROVIDER_SHORT_LABEL, type ParsedCommand, PendingApproval, PendingApprovals, type PingFetch, PlanEditError, PlanIsolation, type PlanRequest, PlanState, PlanStore, Planner, type PlannerBackendEntry, PlannerBackendId, type PlannerChoice, PlannerModelCandidate, type PlannerModelLookup, PlannerModelRecall, type PlannerModelSource, PlannerModelStore, type PlannerSelectionChange, type PlannerSelectionCurrent, type PlannerSelectionResult, type PlannerSelectionState, PlannerShellSandbox, PlannerToolHandler, type PlannerUsability, PlannerUsage, PostArgs, type PrdBlock, ProviderModelLists, type ProviderRegistration, QueuedTaskMessage, ReadFileOpts, ReadTaskArgs, ReportedWindow, type ResearchChat, ResearchLogEntry, ResearchShell, type ResearchTurn, type ResolvedChoice, type ResolvedPlanner, RewindTarget, RunActivity, RunMergeView, RunView, RunnerApprovals, RunnerAuth, RunnerAuthExec, RunnerCommand$1 as RunnerCommand, RunnerId, RunnerInstallation, type RunnerInstallationOptions, RunnerManifest, RunnerModeInfo, RunnerRegistry, RunnerSessionCost, type RunnerSpawnOptions, SCRIPT_RUNNER, SETTINGS_ENV_ALLOWLIST, SETTINGS_ENV_REFUSED, STATE_DIR, STATE_DIR_IGNORE, STOPPED_TOOL_RESULT, SYMBOL_LANGUAGES, type SaveSession, type SavedState, ScriptBody, ScriptExit, ScriptRunner, ScriptSession, type SearchHit, type SearchOutcome, type SearchPage, type SearchTransport, Session, SessionBroadcaster, type SessionDeps, SessionHeld, SessionLease, SessionMessage, SessionNotFoundError, SessionNotice, type SessionPlanner, type SessionRuntimeSettings, ShellLaunch, SkillsService, type SpawnSpec, StdioAgentAdapter, StoredHandoff, StructuredEvent, StructuredRunner, type StructuredRunnerDeps, StructuredSession, StructuredTurnEnd, SubtreeReport, Task, TaskCompleteArgs, TaskControlError, type TaskEditOptions, TaskLogEvent, type TaskLogFile, type TaskLogLocation, TaskLogRecorder, type TaskLogRecorderDeps, TaskMessageFrom, TaskModeAgentAdapter, TaskOrchestrator, TaskOrchestratorOptions, TaskOutputSource, TaskQueryCatalog, TaskRevertPreview, TaskRunnerConfig, TaskRunnerFlags, TaskShell, TaskShellSite, TaskStartOptions, TaskTokenScope, type TokenCarriers, type ToolCall, ToolOutcome, type ToolResult, UsageRecord, UserSettings, VERSION_CHECK_NOTICE, VERSION_CHECK_URL, VerdictEngine, type VerdictListener, VerificationCheck, type VersionCheck, type VersionCheckOptions, WebRead, WebReadDecision, type WebResponse, WebResponseCache, type WebResponseCacheOptions, type WebTransport, type WorkspaceCheckDeps, WorkspaceNotAProjectError, WorkspaceNotFoundError, type WorkspaceProjectCheckDeps, type WorktreeIsolationDeps, admitSettingsEnv, applyHeadLimit, assertWorkspaceExists, assertWorkspaceIsProject, augmentedPath, bearerHeaderValue, buildFallbackGrepArgs, buildGlobArgs, buildGrepArgs, canContinue, claudeAccountLimitCollector, clearAugmentedPathCache, clearDaemonToken, clearState, clipboardCopyCommand, codexAccountLimitCollector, codexSandboxNotice, compareVersions, configuredProviders, continuability, createIsolationPreview, createNativeShellLauncher, createSession, createTaskAdapter, createWorktreeIsolation, daemonTokenPath, defaultEnabledRunners, definitionPattern, detectInstalledPlanner, discardChildRuns, discoverGeminiModels, ensureDir, ensurePrivateDir, ensureStateDirIgnored, extractPrdBlock, extractPresentedToken, filterFallbackByAnchoredInclude, findInstalledPlanner, formatSearchOutput, getProviderMeta, getStateDir, globalDataDir, grantScopeFor, grepRegexFromProbe, includeGlobFor, installedPlannerAnswered, installedPlannerDetected, isApiProvider, isCliProvider, isOpenAiProvider, isPlannerBackend, isVendorModelFor, isolationViewOfPlan, killTree, languageForId, listTaskLogAttempts, listTree, loadState, looksLikeChallenge, migrateOldConfigDir, migratePlanIsolation, mintDaemonToken, mintSessionId, nativeShellInvocation, nativeShellOffer, normalizeGeminiModel, notifyCommandOf, openCodeGoAccountLimitCollector, openTaskLog, parseExecutionCommand, parseMaxParallel, parseSearchHits, parseVersion, plannerBackendEntries, prefixModelId, prepareTaskOutputFile, providerForRunner, readDaemonToken, readTaskLog, readTaskPatch, reclaimContainers, recordInstalledPlanner, recordedInstalledPlanner, referencePattern, removedPluginNotice, repositoryRunnerConfigPaths, resetInstalledPlanner, resolveProviderFromPrefix, resolveTaskRunnerFlags, resolveWithin, runnerForProvider, sanitizeSlug, savePrdMarkdown, saveState, saveTaskPatch, selectPlanner, sessionRuntimeSettings, sharedSearchProvider, sharedWebResponseCache, shellQuoted, startVersionCheck, stateExists, stripAnsi, stripModelPrefix, supportsTaskMode, taskPatchFile, tokenSubprotocols, tokensMatch, wellKnownBinDirs, withPath, writeFileAtomic, writePrivateFile };
|
package/dist/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { b4 as RunnerId, aY as ResearchProgress, bH as UsageRecord, aX as Resear
|
|
|
2
2
|
export { A as ApprovalRecord, a as AttemptUsage, b as AwaitingReason, B as BUILTIN_SKILL_NAMES, c as BelowPlan, e as CommandWords, f as ContextCheckpoint, g as ContextFill, h as ConversationMessage, i as CostProvenance, D as DEFAULT_LOOP_ROUNDS, j as DEFAULT_PLANNER_ALLOWLIST, k as DEFAULT_RUNNERS, l as DEFAULT_SCRIPT_TIMEOUT_MS, m as DEFAULT_SUPERVISOR_RETRY_LIMIT, n as DIGEST_FINDINGS, E as EffectRules, r as ExecutionCommandName, s as ExecutionRecord, F as FLOOR_GRANTS, t as FindingSeverity, G as GRANTS, u as Grant, v as GuardTarget, w as GuardTrip, H as HANDOFF_LIMITS, x as HANDOFF_PUSH_CHARS, y as Handoff, z as HandoffArtifact, J as HandoffCommit, K as HandoffDigest, L as HandoffEvidence, M as HandoffFinding, N as HandoffLogs, O as HandoffPatch, P as HandoffPins, Q as HandoffPreviewOptions, R as HandoffTaskName, U as IntegrationDisposal, V as InvalidSkill, W as IsolationAvailability, X as IsolationHandoff, Y as IsolationHandoffRepo, Z as IsolationInactiveReason, _ as IsolationLandedTask, $ as IsolationLanding, a0 as IsolationMergeBlock, a1 as IsolationMergeBlockReason, a2 as IsolationMergeResult, a3 as IsolationOutcome, a4 as IsolationPreview, a5 as IsolationPruneResult, a7 as IsolationRepo, a8 as IsolationRepoRevert, a9 as IsolationRevertResult, aa as IsolationRevertTask, ab as IsolationRun, ac as IsolationTaskRecord, ad as IsolationTaskRef, ae as IsolationTaskRepo, ah as LandedTask, ai as LandedWork, ak as LoopSubject, al as MAX_LOOP_ROUNDS, an as MandateExclusions, ap as MandateRefusal, ar as ModelUsage, as as Narrowed, au as PatchFlag, av as PatchView, az as PlanStatus, aA as PlanUsage, aB as PlannerAllowlist, aC as PlannerCompaction, aD as PlannerCompactionOutcome, aE as PlannerContextPause, aG as PlannerResendState, aI as PrepareIntent, aJ as PreparedTask, aK as PreservedWork, aL as PreviewRepo, aM as PreviousWork, aN as REPORT_MAX_CHARS, aO as ROOT_NODE, aP as RefusedRemoval, aQ as RepairEvidence, aR as RepairWait, aS as ReplyRun, aT as RepoGroupLayout, aU as RepoHead, aV as ReportItem, aZ as ResearchStep, a_ as ResearchStepOutcome, b0 as RevertCommand, b1 as RevertWatch, b2 as RootSettings, b3 as RunSettings, b6 as SEVERITY_LABEL, b7 as SHAPE_LIMITS, b9 as ScriptConsent, ba as ScriptResult, bb as SessionBilling, bc as SetupFailure, bd as ShadowedSkill, be as SkillAppliesTo, bf as SkillCatalog, bg as SkillInfo, bh as SkillLoad, bi as SkillLoadNotice, bj as SkillMetadata, bk as SkillSource, bp as SupervisorLevel, bt as TaskEvidence, bu as TaskIsolation, bv as TaskIsolationState, bw as TaskLoop, bx as TaskModelAssignment, bC as TaskStatus, bD as TaskType, bE as TaskUsageSummary, bF as TreeSnapshot, bG as UsageLine, bI as UsageTotals, bL as WrittenTaskRef, bM as actorAuthority, bN as addAttemptUsage, bO as addModelUsage, bP as addPlannerUsage, bQ as addUsage, bR as addUsageTotals, bS as artifactLines, bT as betweenRounds, bU as boundedHandoffLines, bV as byteSize, bW as checkHandoff, bX as checkOf, bY as commandAllowedBy, bZ as commandLine, b_ as contextMeterText, b$ as contextMeterTitle, c0 as costText, c1 as countedSessionCost, c2 as createEmptyPlan, c3 as createSkillsService, c4 as createTask, c5 as effectRuleFor, c6 as endAttemptUsage, c7 as findingLines, c8 as findingRefText, c9 as flattenTasks, ca as flattenTasksWithParents, cb as formatCost, cc as formatTokenCount, cd as handoffDigest, ce as handoffLines, cf as handoffPreviewLines, cg as handoffReferenceText, ch as handoffWakeLines, ci as heldHandoff, cj as heldMandate, ck as heldWords, cl as inLoop, cm as isAwaitingReason, cn as isMeasured, co as isSupervisorLevel, cp as isUserMessage, cq as loopRemovalRefusal, cr as loopRoundOf, cs as mandateRefusalText, ct as migratePlanState, cu as modelCostTitle, cv as namedHandoff, cw as narrow, cx as nodeText, cy as openingLines, cz as outOfRounds, cA as parseAllowlist, cB as parseEffectAllowlist, cC as parseFindingRef, cD as parseListingPage, cE as parsePlanPath, cF as partedPromptUsage, cG as patchChangesText, cH as patchFlagText, cI as patchLines, cJ as patchLinesText, cK as patchText, cL as patchView, cM as pausedOnLimit, cN as pinReference, cO as planUsage, cP as plannerContextFill, cQ as readableTaskIds, cR as rejoinPlanTree, cS as removedAttempt, cT as resolveWrittenRef, cU as resumedSessionWindow, cV as rootAuthority, cW as rootMandate, cX as savedPatchOf, cY as savedPatchView, cZ as savedPatchViews, c_ as scopeAllowed, c$ as scriptBodyOf, d0 as scriptBodyText, d1 as scriptTaskText, d2 as severityLabel, d3 as spentTokens, d4 as startAttemptUsage, d5 as storedHandoff, d6 as subagentCostTitle, d7 as taskUsageSummary, d8 as tasksTotalText, d9 as timeLimitText, da as toolAllowed, db as usageLine, dc as usageText, dd as waitsForApproval, de as withPatch, df as wordsFrom, dg as worstSeverity } from './Task-D3O49EUo.js';
|
|
3
3
|
import { V as IConfig, W as IFileSystem, aE as PlannerToolHandler, ay as PlannerModes, aB as PlannerShellSandbox, aP as ResearchShell, U as IApproval, aN as ReadFileOpts, bP as ToolOutcome, Q as GrepOptions, bo as ShellLaunch, P as GlobOptions, M as FindSymbolOptions, B as BashOptions, bK as TaskShellSite, bJ as TaskShell, Z as IRunner, ax as PlannerBackendId, aI as ProviderModelLists, f as AiProvider, n as ApprovalModeSetting, b7 as RunnerRegistry, a_ as RunnerEnv, aq as OrchestratorOption, d as AgentProcessDeps, bC as TaskModeAgentAdapter, e as AgentStartOptions, a as AgentAdapter, c as AgentEvent, aX as RunnerCommand$1, s as AttachState, k as ApprovalDecision, aG as ProjectMcpServer, _ as IRunnerSession, bt as StructuredTurnEnd, bs as StructuredEvent, bB as TaskMessageFrom, aK as QueuedTaskMessage, bz as TaskCompleteArgs, x as CheckpointAnswer, bf as ScriptExit, af as McpToolReply, X as ILogger, Y as INotification, bH as TaskRunnerConfig, a1 as IsolationRunController, o as ApprovalPolicy, J as EventStore, j as ApprovalAnswer, ap as OpenLease, aF as PostArgs, aO as ReadTaskArgs, ar as OrdewellMcpServer, bL as TaskStartOptions, bM as TaskTokenScope, bO as TaskWebReads, i as ApplyPatchArgs, b6 as RunnerPlacement, b1 as RunnerManifest, bI as TaskRunnerFlags } from './eventStore-CSFKy48Y.js';
|
|
4
4
|
export { A as AUTO_COMMANDS, b as AgentAdapterFactory, g as AllProviderModels, h as AnswerApprovalArgs, l as ApprovalKind, m as ApprovalMode, p as ApprovalPolicyOptions, q as ApprovalRequest, r as ApprovalSource, C as CatalogModel, y as CheckpointArgs, z as ChildSessionPlace, D as CommandClassification, E as CommandTier, F as ConsoleLogger, G as DENY_ALL, H as DiscoveryCommand, I as EditPlanArgs, L as FetchAllProviderModelsOptions, N as GIT_READONLY_SUBCOMMANDS, O as GREP_DEFAULT_HEAD_LIMIT, R as GrepOutputMode, $ as InvokedCommand, a6 as LineBuffer, a7 as ListModelsArgs, a8 as ListRunnersArgs, a9 as LoadSkillArgs, aa as McpClientConfig, ab as McpCredential, ac as McpRefusal, ad as McpTool, ae as McpToolContext, ag as MessageTaskArgs, ah as ModelCatalog, ai as ModelShortcut, ak as NotificationAction, al as ORCHESTRATOR_SHORTCUTS, am as ORDEWELL_MCP_PATH, an as ORDEWELL_MCP_SERVER_NAME, ao as OneTaskArgs, as as OwnSealedRuns, at as OwnerOnlyFile, au as PLANNER_EXECUTION_TOOLS, av as PLANNER_SANDBOX_DOCS, aw as PLANNER_TOOLS, az as PlannerSandboxAvailability, aA as PlannerSandboxDeps, aC as PlannerStartOptions, aD as PlannerTokenScope, aH as ProviderCredentialSource, aJ as ProviderModelsResult, aL as READ_ONLY_TASK_TOOLS, aM as REFUSED_COMMANDS, aQ as ResearchShellDeps, aS as RetryTaskArgs, aT as RunCommandArgs, aU as RunPlanArgs, aV as RunnerAuthSpec, aW as RunnerAuthStatus, aY as RunnerCommandKind, aZ as RunnerEntry, a$ as RunnerFeatures, b2 as RunnerMcpServer, b3 as RunnerMode, b4 as RunnerModelDiscovery, b5 as RunnerModelRef, b8 as SEALED_LIMITS, b9 as SEARCH_EXCLUSIONS, ba as SandboxBackend, bb as SandboxInvocation, bc as SandboxLaunch, bd as SandboxLimits, be as SandboxProfile, bg as ScriptFullOutput, bh as ScriptRun, bi as ScriptStatus, bj as SealedAvailability, bk as SealedRunOptions, bl as SessionData, bm as SessionMeta, bn as ShellDialect, bq as SpawnFn, br as StandingDecision, bu as SubmitPlanArgs, bv as TASK_COMPLETE_TOOL, bw as TASK_COMPLETION_CONTRACT, bx as TASK_SEALED_LIMITS, by as TASK_TOOLS, bA as TaskDiffArgs, bD as TaskModeUnsupportedError, bE as TaskOutputArgs, bF as TaskQueryArgs, bG as TaskRunCommandArgs, bN as TaskToolHandler, bT as approvalScopes, bU as classifyCommand, bV as clearPlannerSandboxCache, bW as clearResearchShellCache, bX as collectProviderCredentials, bY as defaultLogger, bZ as deleteSession, b_ as effectiveApprovalMode, b$ as enabledRunners, c0 as fetchAllProviderModels, c1 as findRunnerCommand, c2 as getLatestSession, c3 as idSegment, c4 as isGranted, c5 as isRunnerApproval, c6 as knownModelId, c7 as listChildSessions, c8 as listSessions, c9 as loadChildSession, ca as loadSession, cb as loadSessionPlanState, cc as mcpClientConfig, cd as ownerOnlyConfigFile, ce as parseApprovalModeSetting, cf as plannerToolSet, cg as researchShellWarning, ch as researchToolsPath, ci as resolveModelShortcut, cj as resolvePlannerSandbox, ck as resolveProvider, cl as resolveResearchShell, cm as saveChildSession, cn as saveSession, co as sessionDataDir, cp as sharedMcpServer, cq as taskCompletionContract, cr as taskToolSet, cs as toApprovalDecision, ct as toOrchestratorOptions, cu as toolListing } from './eventStore-CSFKy48Y.js';
|
|
5
|
-
import {
|
|
6
|
-
export { A as ACT_RISK, a as AUTORUN_RISK, d as AccountLimitStatus, e as AccountLimitWindow, f as AccountLimitsFrame, g as AccountLimitsMessage, h as AdoptSessionResponse, i as AnswerEscalationRequest, j as ApplyTaskOpsResult, k as ApprovalAnswerResponse, l as ApprovalBlock, m as ApprovalRequestMessage, n as ApprovalStatus, o as ApprovalsResponse, p as ApproveReviewResponse, q as AskOptions, s as AssignmentIssue, v as AutoMergeTrigger, B as BlockingSubject, C as CHAT_COMMANDS, w as CHECKPOINT_TRUNCATE_LENGTH, x as CancelPlanningResponse, y as CancelResumeResponse, E as ChildListResponse, G as ChildMessageResponse, I as ChildPlanResponse, L as ChildTaskControlResponse, M as ChildTreeFrame, N as CliAgentAiService, O as CliAgentAiServiceDeps, P as CommandBlock, Q as CommandDescriptor, S as CommandPayload, T as CommandStatus, U as CommandsResponse, V as CompactionBlock, W as CompactionStatus, X as Consent, Y as ContainerChange, Z as ContainerChangeResponse, _ as ContainerGuaranteeLine, $ as ContainerProblem, a0 as ContainerStatus, a2 as ConversationBusyError, a3 as ConversationCompactResponse, a5 as ConversationEditError, a6 as ConversationForkResponse, a7 as ConversationInput, a9 as ConversationRewindResponse, ab as ConversationView, ac as DEFAULT_WEB_READ_BUDGET, ad as DELEGATION_OFFERED, ae as DELEGATION_RISK, af as DaemonErrorCode, ag as DecideOptions, ah as DiffRow, ai as DiffRowKind, aj as DiffStat, ak as DisplayBlock, am as EMPTY_CONVERSATION, an as EMPTY_HOLD, ao as EMPTY_RUN, ap as EMPTY_TASK_LOG, aq as EMPTY_TASK_LOG_FOLLOW, ar as ErrorBody, at as EscalationInput, au as EscalationKind, av as EscalationOption, aw as EscalationOptionId, ax as EscalationRun, ay as EscalationsResponse, az as ExecuteCommandResponse, aA as ExecuteResponse, aC as ExecutionCommands, aD as ExecutionHost, aE as ExecutionSummary, aF as GatedConversation, aG as GeneratePlanResponse, aI as HEADLESS_CLI_COMMANDS, aJ as HandoffBlock, aK as HandoffForkRepo, aL as HandoffPeekSubject, aN as IDLE_ACTIVITY, aP as IsolationDiffResponse, aQ as IsolationMergeResponse, aR as IsolationPreviewNotice, aS as IsolationPreviewResponse, aT as LEASE_HEARTBEAT_MS, aU as LEASE_STALE_MS, aW as LeaseHostKind, aX as LeaseHostOptions, aY as LiveOutputLookup, a$ as LocalEntry, b0 as LoopCheckFacts, b1 as LoopCheckState, b2 as LoopGuard, b3 as MappedTool, b4 as MarkdownToken, b5 as MergeGateEntry, b6 as MergeGateResponse, b7 as MergeWordingHandoff, b8 as MessageBlock, b9 as MessageRole, ba as ModelsResponse, bb as NOT_STARTED, bc as NO_TURN, bd as NewTaskFields, bg as OUTPUT_LINES_DEFAULT, bh as OUTPUT_LINES_MAX, bi as OkResponse, bj as OpRef, bk as OpRefusal, bm as OutputPreview, bn as OverrideDirection, bo as PLANNED_WITH_LABEL, br as PendingApprovalsOptions, bs as PlanBlock, bt as PlanBlocks, bv as PlanMarkerStatus, bw as PlanResponse, bx as PlanSnapshot, bz as PlannerCommandSyntax, bF as PlannerModelChoice, bG as PlannerModelMemory, bJ as PlannerNotReady, bK as PlannerNotReadyError, bL as PlannerReadinessConfig, bM as PlannerSubmission, bN as PlannerTurnDiscardedError, bO as PlannerTurnStoppedError, bP as PlannerUsageLimitError, bQ as PrdResponse, bR as PromptHold, bS as REPORT_PREVIEW_LINES, bT as RUN_SETTINGS_DEFAULTS, bU as ReadRunnerAuthOptions, bY as ResolveConflictResponse, bZ as RevertPreviewTask, b_ as RevertRefusal, b$ as RevertRefusalReason, c0 as RevertScope, c2 as RewindTargetsResponse, c4 as RunInput, c6 as RunSettingsError, c7 as RunSnapshotFrame, c8 as RunTask, c9 as RunTaskStatus, cd as RunnerAuthExecOptions, ce as RunnerAuthExecResult, cg as RunnerLoadedBlock, ch as RunnersResponse, ci as STALLED_LABEL, cj as STOPPED_BEFORE_START, ck as STOPPING_LABEL, cl as SUBPLANNER_ACCOUNTING, cm as SUBPLANNER_CHILD, cn as SUBPLANNER_SCOPE, co as SUPERVISOR_LEVEL_LABEL, cp as SerializedConversationMessage, cq as SerializedPendingTurn, cr as SerializedPlan, cs as SerializedTask, ct as SerializedTaskStatus, cu as ServerInfoResponse, cw as SessionFrame, cy as SessionHeldError, cA as SessionLeaseRecord, cB as SessionListResponse, cE as SessionResponse, cF as SettingsResponse, cG as SettingsService, cH as SettingsUpdateResponse, cI as SkillInvocation, cJ as SkillLoadBlock, cK as SkillToken, cM as StartAdmission, cN as StopResponse, cO as StreamStamp, cP as SubagentBlock, cQ as SubagentChild, cR as SubagentStatus, cU as SubtreeItemView, cV as SubtreeView, cW as SurfacePlan, cX as SurfacePlanState, cY as SurfaceTask, cZ as TASK_QUERY_ANSWER_MAX_CHARS, c_ as TASK_QUERY_ANSWER_OR_OPS, c$ as TASK_QUERY_FIELDS, d0 as TASK_QUERY_PROTOCOL, d1 as TASK_QUERY_REMINDER, d2 as TERMINAL_UI_COMMANDS, d3 as TakenPrompt, d4 as TaskAction, d5 as TaskActivity, d6 as TaskAttemptSnapshot, d7 as TaskLogAttemptsResponse, d8 as TaskLogBatch, da as TaskLogFollow, db as TaskLogFollowInput, dc as TaskLogHeaderKind, dd as TaskLogHeaderTask, de as TaskLogHeaderUsage, df as TaskLogHeaderView, dg as TaskLogResponse, dh as TaskLogView, di as TaskMessageResponse, dj as TaskOp, dl as TaskOrchestratorDeps, dp as TaskPlacement, dq as TaskQuery, ds as TaskQueryField, dt as TaskRef, dv as TaskRevertPreviewResponse, dw as TaskRowAction, dx as TaskRowContext, dy as TaskRowDelegated, dz as TaskRowHandoff, dA as TaskRowIsolation, dB as TaskRowKind, dC as TaskRowLoop, dD as TaskRowPlacement, dE as TaskRowSubject, dF as TaskRowUsage, dG as TaskRowView, dH as TaskRunFacts, dI as TaskStatusKind, dJ as ThinkingDisplayBlock, dK as ToolBlock, dL as ToolHeadline, dM as ToolStatus, dO as TreeTask, dQ as TurnGate, dR as UsageBlock, dT as WAITS_FOR_APPROVAL_LABEL, dU as WakeUpItem, dZ as Worded, d_ as WorkspacesResponse, d$ as abbreviateHome, e0 as accountLimitPercentText, e1 as accountLimitWindowLabel, e2 as accountLimitsOf, e3 as accountLimitsText, e4 as accountLimitsTitle, e5 as activityLabel, e6 as aheadOfDraft, e7 as applyTaskOps, e8 as approvalKindText, e9 as approvalLabel, ea as approvalStatusText, eb as assignedRunnerOf, ec as assignmentIssue, ed as assignmentIssueText, ee as attachingLabel, ef as automergeSummary, eg as autorunSummary, eh as awaitingLabel, ei as blockNotice, ej as blockNotices, ek as blockedByLabel, el as blockingFailures, em as canMergeTasks, en as canSetDependencies, eo as canSplitTask, ep as capConflictFiles, eq as cardEditNeedsUnstarted, er as cardEditable, es as changeContainers, et as checkoutRule, eu as classifyOutcome, ev as closeTurn, ew as coalesceTaskLog, ex as compactionText, ey as confirmedOverride, ez as containerStatus, eA as containersOffered, eB as createAiService, eC as delegatedRowView, eD as delegationSummary, eE as dependencyCandidates, eF as dependentsNotice, eG as dependentsOf, eH as describeContainers, eI as describeHeld, eJ as describeHolder, eK as describeIsolationPreview, eL as describeMergeResult, eM as describePlannerNotReady, eN as describeProblems, eO as diffRows, eP as diffStat, eQ as diffSummary, eR as digestTaskLog, eS as drainNext, eT as editableWhileRunning, eU as elapsedSince, eV as escalations, eW as executionSummary, eX as followTaskLog, eY as followTurn, eZ as formatElapsed, e_ as fromTranscript, e$ as getSettingsPath, f0 as handoffBaseLine, f1 as handoffBranchName, f2 as handoffFindingsText, f3 as handoffPeekParts, f4 as hasAccountLimits, f5 as hasHiddenDetail, f6 as hasLongReport, f7 as holdLabel, f8 as holdPrompt, fa as isRepoGroup, fb as isTaskRunning, fc as keptDelegationBudget, fd as lastServedModel, fe as loadedSkillTokens, ff as logContinues, fg as logResumes, fh as loopBodyLabel, fi as loopBodyRound, fj as loopCheckLabel, fk as loopCheckState, fl as loopLeaveNotice, fm as loopRowParts, fn as manualOverrideConfirmation, fo as manualOverrideStopFirst, fp as mapAgentTool, fq as markAction, fr as markdownHtml, fs as markdownTokens, ft as mergeOutcome, fu as mergePastChecksConfirmation, fv as mergeTarget, fw as namedRepos, fx as newTaskFields, fy as noExecutorRefusal, fz as normalizeAgentArgs, fA as opRefusalText, fB as opsEditable, fC as outputLines, fD as outputPreview, fE as overrideNeedsConfirmation, fF as parseCount, fG as parseDelegation, fH as parseSwitch, fI as parseTaskOpsJson, fJ as parseTaskQueryJson, fK as pastGateConfirmation, fL as planBlocks, fM as planMarkerParts, fN as plannerMessage, fO as plannerNotReady, fP as plannerNotReadyFor, fQ as plannerTranscript, fR as processLeaseHost, fS as ranSealed, fT as readRunnerAuth, fU as receiptLabel, fV as reconcileApprovals, fW as recordRunnerAuth, fX as recordedRunnerAuth, fY as reduceConversation, fZ as reduceRun, f_ as reduceTaskLog, f$ as rememberDelegationBudget, g0 as renderTaskQueryAnswer, g1 as repairWaitLabel, g2 as repairedLanded, g3 as repairedNotice, g4 as repeatingChecks, g5 as replayTaskLog, g6 as repoBaseLine, g7 as repoResultLines, g8 as reposWithWork, g9 as resetRunnerAuth, ga as resolveSkillInvocation, gb as resolveTaskRef, gc as resolveUserTaskRef, gd as resumeLabel, ge as resumeTime, gf as revertEffect, gg as revertListLine, gh as revertTaskRef, gi as runHoldsEditors, gj as runSettingsOf, gk as runnerToolSubject, gl as scriptExitText, gm as scriptRunText, gn as secondsText, go as serializePlan, gp as serializeTask, gq as serializeTaskStatus, gr as skillTokens, gs as skippedLabel, gt as stopTurn, gu as subtreeIds, gv as subtreeView, gw as summarizeToolCall, gx as supervisorSummary, gy as surfacePlan, gz as surfacePlanState, gA as takeAt, gB as taskActionCommand, gC as taskActivity, gD as taskChatAvailable, gE as taskLogCommands, gF as taskLogForSurface, gG as taskLogHeaderView, gH as taskOrderLabel, gI as taskPlacement, gJ as taskQuerySignature, gK as taskRef, gL as taskRefOf, gM as taskRowActions, gN as taskRowView, gO as taskStartedNotice, gP as taskStatusKind, gQ as textHasTaskOps, gR as textHasTaskQuery, gS as titledRefs, gT as titledTaskRef, gU as titledTaskRefOf, gV as toTaskLogEvent, gW as toolHeadline, gX as trailerSummary, gY as trimToolOutput, gZ as truncateCheckpointSummary, g_ as unsendAll, g$ as unsendLatest, h0 as wakeUpItems, h1 as walkPlan, h2 as withoutSealedMark, h3 as workspaceEnvOf } from './runSettingsText-C6eto6Uv.js';
|
|
5
|
+
import { dW as TurnBudgets, bB as PlanIntake, aT as IWebFetcher, ad as ConversationTurn, c2 as ResolveAll, e4 as WebReadPolicy, e1 as WebRead, e2 as WebReadDecision, e3 as WebReadOptions, bx as PendingApprovals, aR as IAiService, bH as PlannerContextDeps, bI as PlannerContextStatus, a4 as ContextCondenseRequest, ab as ConversationRequest, bL as PlannerModelCandidate, cj as RunnerAuthExec, a_ as LaunchDeps, ci as RunnerAuth, b as AccountLimitBucket, c as AccountLimitSnapshot, u as AssignmentWriter, t as AssignmentScope, dy as TaskQueryCatalog, r as AssignmentCatalog, cm as RunnerCatalog, dg as TaskLogEvent, dU as TreeLedger, H as ChildMessageOutcome, L as ChildPlanView, M as ChildTaskControl, F as ChildControlOutcome, cJ as SessionMessage, cK as SessionNotice, J as ChildPlanEntry, cC as SessionBroadcaster, bF as PlanStore, ds as TaskOrchestrator, aw as Escalation, bs as OrchestratorObserver, cE as SessionHeld, cS as SlotPool, bm as NodeBudget, c1 as ResearchTasks, aM as GlobalRunSettings, cG as SessionLease, bK as PlannerConversationHost, bJ as PlannerConversation, cZ as SubplannerBrief, aG as ExecutionCommand, U as CommandOutcome, bw as PendingApproval, E as Carved, bl as NodeBoard, c_ as Subtree, a7 as ConversationCompaction, c8 as RewindTarget, ch as RunView, dB as TaskRevertPreview, cc as RunMergeView, ca as RunActivity, dv as TaskOutputSource, b0 as LeaseHost, du as TaskOrchestratorOptions, dZ as UserSettings, ao as DockerCli, b5 as LiveTailOptions, b4 as LiveTail, bP as PlannerModelStore, bO as PlannerModelRecall } from './runSettingsText-BFaZSPRG.js';
|
|
6
|
+
export { A as ACT_RISK, a as AUTORUN_RISK, d as AccountLimitStatus, e as AccountLimitWindow, f as AccountLimitsFrame, g as AccountLimitsMessage, h as AdoptSessionResponse, i as AnswerEscalationRequest, j as ApplyTaskOpsResult, k as ApprovalAnswerResponse, l as ApprovalBlock, m as ApprovalRequestMessage, n as ApprovalStatus, o as ApprovalsResponse, p as ApproveReviewResponse, q as AskOptions, s as AssignmentIssue, v as AutoMergeTrigger, B as BatchQuoteError, w as BlockingSubject, C as CHAT_COMMANDS, x as CHECKPOINT_TRUNCATE_LENGTH, y as CMD_EXE_MAX_COMMAND_LINE, z as CancelPlanningResponse, D as CancelResumeResponse, G as ChildListResponse, I as ChildMessageResponse, K as ChildPlanResponse, N as ChildTaskControlResponse, O as ChildTreeFrame, P as CliAgentAiService, Q as CliAgentAiServiceDeps, R as CommandBlock, S as CommandDescriptor, T as CommandLineTooLongError, V as CommandPayload, W as CommandStatus, X as CommandsResponse, Y as CompactionBlock, Z as CompactionStatus, _ as Consent, $ as ContainerChange, a0 as ContainerChangeResponse, a1 as ContainerGuaranteeLine, a2 as ContainerProblem, a3 as ContainerStatus, a5 as ConversationBusyError, a6 as ConversationCompactResponse, a8 as ConversationEditError, a9 as ConversationForkResponse, aa as ConversationInput, ac as ConversationRewindResponse, ae as ConversationView, af as DEFAULT_WEB_READ_BUDGET, ag as DELEGATION_OFFERED, ah as DELEGATION_RISK, ai as DaemonErrorCode, aj as DecideOptions, ak as DiffRow, al as DiffRowKind, am as DiffStat, an as DisplayBlock, ap as EMPTY_CONVERSATION, aq as EMPTY_HOLD, ar as EMPTY_RUN, as as EMPTY_TASK_LOG, at as EMPTY_TASK_LOG_FOLLOW, au as EmbeddedNewlineError, av as ErrorBody, ax as EscalationInput, ay as EscalationKind, az as EscalationOption, aA as EscalationOptionId, aB as EscalationRun, aC as EscalationsResponse, aD as ExecutableNotFoundError, aE as ExecuteCommandResponse, aF as ExecuteResponse, aH as ExecutionCommands, aI as ExecutionHost, aJ as ExecutionSummary, aK as GatedConversation, aL as GeneratePlanResponse, aN as HEADLESS_CLI_COMMANDS, aO as HandoffBlock, aP as HandoffForkRepo, aQ as HandoffPeekSubject, aS as IDLE_ACTIVITY, aU as IsolationDiffResponse, aV as IsolationMergeResponse, aW as IsolationPreviewNotice, aX as IsolationPreviewResponse, aY as LEASE_HEARTBEAT_MS, aZ as LEASE_STALE_MS, a$ as LaunchPlan, b1 as LeaseHostKind, b2 as LeaseHostOptions, b3 as LiveOutputLookup, b6 as LocalEntry, b7 as LoopCheckFacts, b8 as LoopCheckState, b9 as LoopGuard, ba as MappedTool, bb as MarkdownToken, bc as MergeGateEntry, bd as MergeGateResponse, be as MergeWordingHandoff, bf as MessageBlock, bg as MessageRole, bh as ModelsResponse, bi as NOT_STARTED, bj as NO_TURN, bk as NewTaskFields, bn as OUTPUT_LINES_DEFAULT, bo as OUTPUT_LINES_MAX, bp as OkResponse, bq as OpRef, br as OpRefusal, bt as OutputPreview, bu as OverrideDirection, bv as PLANNED_WITH_LABEL, by as PendingApprovalsOptions, bz as PlanBlock, bA as PlanBlocks, bC as PlanMarkerStatus, bD as PlanResponse, bE as PlanSnapshot, bG as PlannerCommandSyntax, bM as PlannerModelChoice, bN as PlannerModelMemory, bQ as PlannerNotReady, bR as PlannerNotReadyError, bS as PlannerReadinessConfig, bT as PlannerSubmission, bU as PlannerTurnDiscardedError, bV as PlannerTurnStoppedError, bW as PlannerUsageLimitError, bX as PrdResponse, bY as PromptHold, bZ as REPORT_PREVIEW_LINES, b_ as RUN_SETTINGS_DEFAULTS, b$ as ReadRunnerAuthOptions, c3 as ResolveConflictResponse, c4 as RevertPreviewTask, c5 as RevertRefusal, c6 as RevertRefusalReason, c7 as RevertScope, c9 as RewindTargetsResponse, cb as RunInput, cd as RunSettingsError, ce as RunSnapshotFrame, cf as RunTask, cg as RunTaskStatus, ck as RunnerAuthExecOptions, cl as RunnerAuthExecResult, cn as RunnerLoadedBlock, co as RunnersResponse, cp as STALLED_LABEL, cq as STOPPED_BEFORE_START, cr as STOPPING_LABEL, cs as SUBPLANNER_ACCOUNTING, ct as SUBPLANNER_CHILD, cu as SUBPLANNER_SCOPE, cv as SUPERVISOR_LEVEL_LABEL, cw as SerializedConversationMessage, cx as SerializedPendingTurn, cy as SerializedPlan, cz as SerializedTask, cA as SerializedTaskStatus, cB as ServerInfoResponse, cD as SessionFrame, cF as SessionHeldError, cH as SessionLeaseRecord, cI as SessionListResponse, cL as SessionResponse, cM as SettingsResponse, cN as SettingsService, cO as SettingsUpdateResponse, cP as SkillInvocation, cQ as SkillLoadBlock, cR as SkillToken, cT as StartAdmission, cU as StopResponse, cV as StreamStamp, cW as SubagentBlock, cX as SubagentChild, cY as SubagentStatus, c$ as SubtreeItemView, d0 as SubtreeView, d1 as SurfacePlan, d2 as SurfacePlanState, d3 as SurfaceTask, d4 as TASK_QUERY_ANSWER_MAX_CHARS, d5 as TASK_QUERY_ANSWER_OR_OPS, d6 as TASK_QUERY_FIELDS, d7 as TASK_QUERY_PROTOCOL, d8 as TASK_QUERY_REMINDER, d9 as TERMINAL_UI_COMMANDS, da as TakenPrompt, db as TaskAction, dc as TaskActivity, dd as TaskAttemptSnapshot, de as TaskLogAttemptsResponse, df as TaskLogBatch, dh as TaskLogFollow, di as TaskLogFollowInput, dj as TaskLogHeaderKind, dk as TaskLogHeaderTask, dl as TaskLogHeaderUsage, dm as TaskLogHeaderView, dn as TaskLogResponse, dp as TaskLogView, dq as TaskMessageResponse, dr as TaskOp, dt as TaskOrchestratorDeps, dw as TaskPlacement, dx as TaskQuery, dz as TaskQueryField, dA as TaskRef, dC as TaskRevertPreviewResponse, dD as TaskRowAction, dE as TaskRowContext, dF as TaskRowDelegated, dG as TaskRowHandoff, dH as TaskRowIsolation, dI as TaskRowKind, dJ as TaskRowLoop, dK as TaskRowPlacement, dL as TaskRowSubject, dM as TaskRowUsage, dN as TaskRowView, dO as TaskRunFacts, dP as TaskStatusKind, dQ as ThinkingDisplayBlock, dR as ToolBlock, dS as ToolHeadline, dT as ToolStatus, dV as TreeTask, dX as TurnGate, dY as UsageBlock, d_ as WAITS_FOR_APPROVAL_LABEL, d$ as WINDOWS_MAX_COMMAND_LINE, e0 as WakeUpItem, e5 as Worded, e6 as WorkspacesResponse, e7 as abbreviateHome, e8 as accountLimitPercentText, e9 as accountLimitWindowLabel, ea as accountLimitsOf, eb as accountLimitsText, ec as accountLimitsTitle, ed as activityLabel, ee as aheadOfDraft, ef as applyTaskOps, eg as approvalKindText, eh as approvalLabel, ei as approvalStatusText, ej as assignedRunnerOf, ek as assignmentIssue, el as assignmentIssueText, em as attachingLabel, en as automergeSummary, eo as autorunSummary, ep as awaitingLabel, eq as blockNotice, er as blockNotices, es as blockedByLabel, et as blockingFailures, eu as canMergeTasks, ev as canSetDependencies, ew as canSplitTask, ex as capConflictFiles, ey as cardEditNeedsUnstarted, ez as cardEditable, eA as changeContainers, eB as checkoutRule, eC as classifyOutcome, eD as closeTurn, eE as coalesceTaskLog, eF as compactionText, eG as confirmedOverride, eH as containerStatus, eI as containersOffered, eJ as createAiService, eK as delegatedRowView, eL as delegationSummary, eM as dependencyCandidates, eN as dependentsNotice, eO as dependentsOf, eP as describeContainers, eQ as describeHeld, eR as describeHolder, eS as describeIsolationPreview, eT as describeMergeResult, eU as describePlannerNotReady, eV as describeProblems, eW as diffRows, eX as diffStat, eY as diffSummary, eZ as digestTaskLog, e_ as drainNext, e$ as editableWhileRunning, f0 as elapsedSince, f1 as escalations, f2 as executionSummary, f3 as followTaskLog, f4 as followTurn, f5 as formatElapsed, f6 as fromTranscript, f7 as getSettingsPath, f8 as handoffBaseLine, f9 as handoffBranchName, fa as handoffFindingsText, fb as handoffPeekParts, fc as hasAccountLimits, fd as hasHiddenDetail, fe as hasLongReport, ff as holdLabel, fg as holdPrompt, fh as isExecutableResolved, fj as isRepoGroup, fk as isTaskRunning, fl as keptDelegationBudget, fm as lastServedModel, fn as loadedSkillTokens, fo as logContinues, fp as logResumes, fq as loopBodyLabel, fr as loopBodyRound, fs as loopCheckLabel, ft as loopCheckState, fu as loopLeaveNotice, fv as loopRowParts, fw as manualOverrideConfirmation, fx as manualOverrideStopFirst, fy as mapAgentTool, fz as markAction, fA as markdownHtml, fB as markdownTokens, fC as mergeOutcome, fD as mergePastChecksConfirmation, fE as mergeTarget, fF as namedRepos, fG as newTaskFields, fH as noExecutorRefusal, fI as normalizeAgentArgs, fJ as opRefusalText, fK as opsEditable, fL as outputLines, fM as outputPreview, fN as overrideNeedsConfirmation, fO as parseCount, fP as parseDelegation, fQ as parseSwitch, fR as parseTaskOpsJson, fS as parseTaskQueryJson, fT as pastGateConfirmation, fU as planBlocks, fV as planDirectLaunch, fW as planMarkerParts, fX as plannerMessage, fY as plannerNotReady, fZ as plannerNotReadyFor, f_ as plannerTranscript, f$ as processLeaseHost, g0 as ranSealed, g1 as readRunnerAuth, g2 as receiptLabel, g3 as reconcileApprovals, g4 as recordRunnerAuth, g5 as recordedRunnerAuth, g6 as reduceConversation, g7 as reduceRun, g8 as reduceTaskLog, g9 as rememberDelegationBudget, ga as renderTaskQueryAnswer, gb as repairWaitLabel, gc as repairedLanded, gd as repairedNotice, ge as repeatingChecks, gf as replayTaskLog, gg as repoBaseLine, gh as repoResultLines, gi as reposWithWork, gj as resetRunnerAuth, gk as resolveSkillInvocation, gl as resolveTaskRef, gm as resolveUserTaskRef, gn as resumeLabel, go as resumeTime, gp as revertEffect, gq as revertListLine, gr as revertTaskRef, gs as runHoldsEditors, gt as runSettingsOf, gu as runnerToolSubject, gv as scriptExitText, gw as scriptRunText, gx as secondsText, gy as serializePlan, gz as serializeTask, gA as serializeTaskStatus, gB as skillTokens, gC as skippedLabel, gD as stopTurn, gE as subtreeIds, gF as subtreeView, gG as summarizeToolCall, gH as supervisorSummary, gI as surfacePlan, gJ as surfacePlanState, gK as takeAt, gL as taskActionCommand, gM as taskActivity, gN as taskChatAvailable, gO as taskLogCommands, gP as taskLogForSurface, gQ as taskLogHeaderView, gR as taskOrderLabel, gS as taskPlacement, gT as taskQuerySignature, gU as taskRef, gV as taskRefOf, gW as taskRowActions, gX as taskRowView, gY as taskStartedNotice, gZ as taskStatusKind, g_ as textHasTaskOps, g$ as textHasTaskQuery, h0 as titledRefs, h1 as titledTaskRef, h2 as titledTaskRefOf, h3 as toTaskLogEvent, h4 as toolHeadline, h5 as trailerSummary, h6 as trimToolOutput, h7 as truncateCheckpointSummary, h8 as unsendAll, h9 as unsendLatest, ha as wakeUpItems, hb as walkPlan, hc as windowsCommandLine, hd as withoutSealedMark, he as workspaceEnvOf } from './runSettingsText-BFaZSPRG.js';
|
|
7
7
|
import { R as RunnerModeInfo } from './ModeResolver-DS-aCVOP.js';
|
|
8
8
|
export { a as autonomyLevelLabel, p as parseAutonomyFlag, b as parseAutonomyLevel, r as runnerModesFrom } from './ModeResolver-DS-aCVOP.js';
|
|
9
9
|
import { WorkerOptions, Worker } from 'worker_threads';
|
|
@@ -1323,6 +1323,8 @@ interface RunnerInstallationOptions {
|
|
|
1323
1323
|
workspace?: () => string | undefined;
|
|
1324
1324
|
/** Injectable status command runner, so tests need no real agent binary. */
|
|
1325
1325
|
authExec?: RunnerAuthExec;
|
|
1326
|
+
/** How the CLI is located and started, for the spawnability check and the status command alike; a test pins the host's. */
|
|
1327
|
+
launch?: LaunchDeps;
|
|
1326
1328
|
}
|
|
1327
1329
|
/**
|
|
1328
1330
|
* Detects whether a runner's underlying CLI is actually installed on the host,
|
|
@@ -1341,6 +1343,7 @@ declare class RunnerInstallation {
|
|
|
1341
1343
|
private env;
|
|
1342
1344
|
private workspace;
|
|
1343
1345
|
private authExec;
|
|
1346
|
+
private launch;
|
|
1344
1347
|
constructor(registry: RunnerRegistry, execImpl?: ExecImpl, now?: () => number, options?: RunnerInstallationOptions);
|
|
1345
1348
|
/** True if the runner's CLI responds to `--version`. Cached per process. */
|
|
1346
1349
|
isInstalled(runner: string): Promise<boolean>;
|
|
@@ -5567,137 +5570,6 @@ declare class StructuredRunner extends AbstractRunner<StructuredSession> {
|
|
|
5567
5570
|
spawn(opts: RunnerSpawnOptions): Promise<IRunnerSession>;
|
|
5568
5571
|
}
|
|
5569
5572
|
|
|
5570
|
-
/**
|
|
5571
|
-
* cmd.exe's command-line buffer. A longer line is truncated rather than
|
|
5572
|
-
* rejected, which would corrupt a planner's system prompt or a task's prompt
|
|
5573
|
-
* mid-sentence and produce a confident answer to half a question — so the
|
|
5574
|
-
* batch route refuses instead. See {@link CommandLineTooLongError}.
|
|
5575
|
-
*/
|
|
5576
|
-
declare const CMD_EXE_MAX_COMMAND_LINE = 8191;
|
|
5577
|
-
/**
|
|
5578
|
-
* CreateProcess's own ceiling, which the native and PowerShell routes are
|
|
5579
|
-
* bounded by instead. Windows truncates here too, so the same refusal applies —
|
|
5580
|
-
* it is simply four times further away.
|
|
5581
|
-
*/
|
|
5582
|
-
declare const WINDOWS_MAX_COMMAND_LINE = 32767;
|
|
5583
|
-
interface LaunchPlan {
|
|
5584
|
-
/** The executable handed to `spawn()`. */
|
|
5585
|
-
file: string;
|
|
5586
|
-
/** Arguments for `file`. Pass verbatim when {@link verbatim} is set. */
|
|
5587
|
-
args: string[];
|
|
5588
|
-
/**
|
|
5589
|
-
* Windows batch route only: `args` is already a quoted command line and must
|
|
5590
|
-
* not be re-quoted. Maps to `windowsVerbatimArguments` for `spawn`.
|
|
5591
|
-
*/
|
|
5592
|
-
verbatim?: boolean;
|
|
5593
|
-
}
|
|
5594
|
-
/** Test seam: every OS touchpoint is injectable, and production uses the defaults. */
|
|
5595
|
-
interface LaunchDeps {
|
|
5596
|
-
platform?: NodeJS.Platform;
|
|
5597
|
-
/** The PATH executables are looked up on. Defaults to the augmented PATH. */
|
|
5598
|
-
resolvePath?: () => Promise<string>;
|
|
5599
|
-
/** True when `candidate` names an existing file. */
|
|
5600
|
-
exists?: (candidate: string) => boolean;
|
|
5601
|
-
/** Absolute path to the Windows command interpreter. */
|
|
5602
|
-
comSpec?: () => string;
|
|
5603
|
-
/** Absolute path to Windows PowerShell. */
|
|
5604
|
-
powerShell?: () => string;
|
|
5605
|
-
/** PATHEXT, as the environment reports it. */
|
|
5606
|
-
pathExt?: () => string;
|
|
5607
|
-
}
|
|
5608
|
-
/**
|
|
5609
|
-
* Thrown when a command's arguments do not fit the buffer of the only
|
|
5610
|
-
* interpreter that can start it. Windows truncates rather than rejecting, and a
|
|
5611
|
-
* system prompt cut off mid-sentence makes the planner answer half a question
|
|
5612
|
-
* confidently — the silent success this repo refuses — so this is raised
|
|
5613
|
-
* instead. `TaskOrchestrator.startTask` catches it and holds the task, so the
|
|
5614
|
-
* message is what the user reads: it names the fix, because they cannot infer
|
|
5615
|
-
* it from a truncated prompt.
|
|
5616
|
-
*/
|
|
5617
|
-
declare class CommandLineTooLongError extends Error {
|
|
5618
|
-
readonly command: string;
|
|
5619
|
-
readonly length: number;
|
|
5620
|
-
readonly limit: number;
|
|
5621
|
-
constructor(command: string, length: number, limit?: number);
|
|
5622
|
-
}
|
|
5623
|
-
/**
|
|
5624
|
-
* Thrown when only a batch shim resolved for a multi-line argument. cmd.exe
|
|
5625
|
-
* reads up to the first CR/LF and discards the rest with no error and exit code
|
|
5626
|
-
* 0 — quoting does not help — so the agent would get the first paragraph of its
|
|
5627
|
-
* prompt without the instruction to report through `task_complete`, then exit looking successful.
|
|
5628
|
-
*/
|
|
5629
|
-
declare class EmbeddedNewlineError extends Error {
|
|
5630
|
-
readonly command: string;
|
|
5631
|
-
constructor(command: string);
|
|
5632
|
-
}
|
|
5633
|
-
/**
|
|
5634
|
-
* Thrown when only a batch shim resolved for an argument holding a double
|
|
5635
|
-
* quote. cmd.exe flips its quote state at every `"`, whether or not a backslash
|
|
5636
|
-
* precedes it, so the quote ends the quoting we added and the rest of the
|
|
5637
|
-
* argument is read as commands: `--model "x\" & calc & \"y"` runs `calc`.
|
|
5638
|
-
*/
|
|
5639
|
-
declare class BatchQuoteError extends Error {
|
|
5640
|
-
readonly command: string;
|
|
5641
|
-
constructor(command: string);
|
|
5642
|
-
}
|
|
5643
|
-
/**
|
|
5644
|
-
* Thrown when `command` cannot be resolved to a real file. Kept distinguishable
|
|
5645
|
-
* from `WorkspaceNotFoundError` (utils/workspace) even though both a missing
|
|
5646
|
-
* cwd and a missing binary surface as the same `spawn` ENOENT to Node — the two
|
|
5647
|
-
* are checked, and named, separately so the failure names the actual cause.
|
|
5648
|
-
*/
|
|
5649
|
-
declare class ExecutableNotFoundError extends Error {
|
|
5650
|
-
readonly command: string;
|
|
5651
|
-
readonly searchedPath: string;
|
|
5652
|
-
constructor(command: string, searchedPath: string);
|
|
5653
|
-
}
|
|
5654
|
-
/**
|
|
5655
|
-
* Whether `command` actually resolves to a file, given the plan
|
|
5656
|
-
* {@link planDirectLaunch} produced for it and the PATH it was resolved
|
|
5657
|
-
* against.
|
|
5658
|
-
*
|
|
5659
|
-
* POSIX is deliberately identity in `planDirectLaunch` (execvp does its own
|
|
5660
|
-
* PATH search), so the search is repeated here instead. Windows already did
|
|
5661
|
-
* the search inside `planDirectLaunch` — signalled by the returned file
|
|
5662
|
-
* differing from the bare command name it was given; an unresolved command
|
|
5663
|
-
* comes back unchanged.
|
|
5664
|
-
*/
|
|
5665
|
-
declare function isExecutableResolved(command: string, plan: LaunchPlan, PATH: string, deps?: LaunchDeps): boolean;
|
|
5666
|
-
/** The verbatim command line cmd.exe receives after `/d /s /c`, before wrapping. */
|
|
5667
|
-
declare function windowsCommandLine(file: string, args: string[]): string;
|
|
5668
|
-
/**
|
|
5669
|
-
* How to start `command` with `args` through `spawn()`, with no shell.
|
|
5670
|
-
*
|
|
5671
|
-
* POSIX returns its input unchanged — execvp already searches PATH, and adding
|
|
5672
|
-
* a resolution step there would be a new way for a working setup to break.
|
|
5673
|
-
*
|
|
5674
|
-
* Windows resolves the command against PATH × PATHEXT, preferring a native
|
|
5675
|
-
* executable (spawned directly) over a batch shim (through cmd.exe) over a
|
|
5676
|
-
* PowerShell script shim (through `powershell.exe -File`). A command that
|
|
5677
|
-
* resolves to nothing is returned unchanged, so the caller's existing ENOENT —
|
|
5678
|
-
* which names what the user typed — is what surfaces rather than a second,
|
|
5679
|
-
* vaguer error from here.
|
|
5680
|
-
*
|
|
5681
|
-
* The tiers are tried in preference order and the first that *fits* wins, with
|
|
5682
|
-
* one deliberate exception: an overflowing batch shim does not fall through to
|
|
5683
|
-
* PowerShell. Overflow means a very large prompt, which is precisely where
|
|
5684
|
-
* `-File` argument fidelity is least worth betting on, and where a clear held
|
|
5685
|
-
* task beats a plausibly-mangled one. So capacity does not reorder the tiers —
|
|
5686
|
-
* a `.ps1` beside a too-long `.cmd` still raises.
|
|
5687
|
-
*
|
|
5688
|
-
* A line break does reorder them: cmd.exe cannot carry one at any length, so a
|
|
5689
|
-
* `.ps1` beside a `.cmd` wins, and a lone `.cmd` raises. So does a double
|
|
5690
|
-
* quote, which cmd.exe cannot carry safely.
|
|
5691
|
-
*
|
|
5692
|
-
* @throws {CommandLineTooLongError} when the selected route's buffer cannot
|
|
5693
|
-
* carry the arguments.
|
|
5694
|
-
* @throws {EmbeddedNewlineError} when the arguments span lines and only the
|
|
5695
|
-
* batch route resolved.
|
|
5696
|
-
* @throws {BatchQuoteError} when an argument holds a double quote and only the
|
|
5697
|
-
* batch route resolved.
|
|
5698
|
-
*/
|
|
5699
|
-
declare function planDirectLaunch(command: string, args: string[], deps?: LaunchDeps): Promise<LaunchPlan>;
|
|
5700
|
-
|
|
5701
5573
|
/**
|
|
5702
5574
|
* What runs a script task's attempt, where a runner id would name a coding
|
|
5703
5575
|
* agent: no registered runner does, and no model is involved (ADR-0035).
|
|
@@ -6190,4 +6062,4 @@ declare function parseVersion(version: string): number[] | null;
|
|
|
6190
6062
|
/** Negative, zero or positive as `a` is older than, the same as, or newer than `b`; an unreadable version sorts oldest. */
|
|
6191
6063
|
declare function compareVersions(a: string, b: string): number;
|
|
6192
6064
|
|
|
6193
|
-
export { ALL_PROVIDERS, AbstractRunner, AbstractRunnerSession, AccountLimitBucket, type AccountLimitCollector, type AccountLimitListener, AccountLimitMonitor, type AccountLimitMonitorOptions, type AccountLimitReading, AccountLimitSnapshot, type Adr0013IsolationRun, type Adr0013PlanIsolation, type Adr0013TaskRecord, AgentAdapter, AgentEvent, AgentProcessDeps, AgentStartOptions, AiProvider, AlreadyExecutingError, ApprovalAnswer, ApprovalDecision, ApprovalModeSetting, ApprovalPolicy, AssignmentScope, BaseAiService, BaseConfig, BaseFileSystem, BashOptions,
|
|
6065
|
+
export { ALL_PROVIDERS, AbstractRunner, AbstractRunnerSession, AccountLimitBucket, type AccountLimitCollector, type AccountLimitListener, AccountLimitMonitor, type AccountLimitMonitorOptions, type AccountLimitReading, AccountLimitSnapshot, type Adr0013IsolationRun, type Adr0013PlanIsolation, type Adr0013TaskRecord, AgentAdapter, AgentEvent, AgentProcessDeps, AgentStartOptions, AiProvider, AlreadyExecutingError, ApprovalAnswer, ApprovalDecision, ApprovalModeSetting, ApprovalPolicy, AssignmentScope, BaseAiService, BaseConfig, BaseFileSystem, BashOptions, BufferedTaskOutputSource, type ByPlannerBackend, CLAUDE_CODE_MANIFEST, CLI_PROVIDERS, CODEX_SANDBOX_DOCS, CODEX_SANDBOX_OFF_LINE, type CachedPage, type CappedRows, CheckpointAnswer, type CheckpointListener, ChildControlOutcome, ChildDirectory, type ChildFrame, ChildMessageOutcome, type ChildPlacement, ChildPlanEntry, type ChildPlanHandle, ChildPlanView, ChildTaskControl, type ClaudeAccountLimitOptions, ClaudeCodeAdapter, type CodexAccountLimitOptions, CodexAdapter, CodexSandboxAvailability, CommandOutcome, type ConfiguredPlanner, ContextCollector, type Continuability, ConversationCompaction, type ConversationFork, ConversationRequest, type ConversationRewind, ConversationTurn, DAEMON_SUBPROTOCOL, DAEMON_TOKEN_SUBPROTOCOL_PREFIX, DEFAULT_MAX_PARALLEL, type DirEntry, DiscoveredModel, DockerCli, DuckDuckGoSearchProvider, type EnvAdmission, EnvConfig, Escalation, type ExecImpl, ExecutionActor, ExecutionCommand, FindSymbolOptions, GREP_PCRE_PROBE_ARGS, GeminiService, type GitExecFn, GlobOptions, GlobalRunSettings, type GrepInvocation, GrepOptions, type GrepRegex, HARNESS_PLANNER_REASON, HandoffCheck, type HasBinFn, HttpWebFetcher, type HttpWebFetcherOptions, IAiService, IApproval, IConfig, IFileSystem, IIsolationPreview, ILogger, INotification, IRunner, IRunnerSession, type ISearchProvider, IWorktreeIsolation, IsolationRemoval, IsolationTaskStatus, IsolationView, type KillTreeDeps, LaunchDeps, LeaseHost, LegacyPlanState, LiveTail, LiveTailOptions, Mandate, MandateLimits, MandateRequest, McpToolReply, ModelResolver, type ModelResolverDeps, type NativeShellLauncher, type NativeShellOffer, NoPlanError, NodeAuthority, OPENCODE_MANIFEST, ORDEWELL_SETTABLE_ENV, OpenAiService, OpenCodeAdapter, type OpenCodeGoAccountLimitOptions, OrchestratorObserver, OrchestratorOption, OrdewellMcpServer, PROVIDER_CREDENTIAL_ENV, PROVIDER_DETECT_PRIORITY, PROVIDER_LABEL, PROVIDER_PRIORITY, PROVIDER_SHORT_LABEL, type ParsedCommand, PendingApproval, PendingApprovals, type PingFetch, PlanEditError, PlanIsolation, type PlanRequest, PlanState, PlanStore, Planner, type PlannerBackendEntry, PlannerBackendId, type PlannerChoice, PlannerModelCandidate, type PlannerModelLookup, PlannerModelRecall, type PlannerModelSource, PlannerModelStore, type PlannerSelectionChange, type PlannerSelectionCurrent, type PlannerSelectionResult, type PlannerSelectionState, PlannerShellSandbox, PlannerToolHandler, type PlannerUsability, PlannerUsage, PostArgs, type PrdBlock, ProviderModelLists, type ProviderRegistration, QueuedTaskMessage, ReadFileOpts, ReadTaskArgs, ReportedWindow, type ResearchChat, ResearchLogEntry, ResearchShell, type ResearchTurn, type ResolvedChoice, type ResolvedPlanner, RewindTarget, RunActivity, RunMergeView, RunView, RunnerApprovals, RunnerAuth, RunnerAuthExec, RunnerCommand$1 as RunnerCommand, RunnerId, RunnerInstallation, type RunnerInstallationOptions, RunnerManifest, RunnerModeInfo, RunnerRegistry, RunnerSessionCost, type RunnerSpawnOptions, SCRIPT_RUNNER, SETTINGS_ENV_ALLOWLIST, SETTINGS_ENV_REFUSED, STATE_DIR, STATE_DIR_IGNORE, STOPPED_TOOL_RESULT, SYMBOL_LANGUAGES, type SaveSession, type SavedState, ScriptBody, ScriptExit, ScriptRunner, ScriptSession, type SearchHit, type SearchOutcome, type SearchPage, type SearchTransport, Session, SessionBroadcaster, type SessionDeps, SessionHeld, SessionLease, SessionMessage, SessionNotFoundError, SessionNotice, type SessionPlanner, type SessionRuntimeSettings, ShellLaunch, SkillsService, type SpawnSpec, StdioAgentAdapter, StoredHandoff, StructuredEvent, StructuredRunner, type StructuredRunnerDeps, StructuredSession, StructuredTurnEnd, SubtreeReport, Task, TaskCompleteArgs, TaskControlError, type TaskEditOptions, TaskLogEvent, type TaskLogFile, type TaskLogLocation, TaskLogRecorder, type TaskLogRecorderDeps, TaskMessageFrom, TaskModeAgentAdapter, TaskOrchestrator, TaskOrchestratorOptions, TaskOutputSource, TaskQueryCatalog, TaskRevertPreview, TaskRunnerConfig, TaskRunnerFlags, TaskShell, TaskShellSite, TaskStartOptions, TaskTokenScope, type TokenCarriers, type ToolCall, ToolOutcome, type ToolResult, UsageRecord, UserSettings, VERSION_CHECK_NOTICE, VERSION_CHECK_URL, VerdictEngine, type VerdictListener, VerificationCheck, type VersionCheck, type VersionCheckOptions, WebRead, WebReadDecision, type WebResponse, WebResponseCache, type WebResponseCacheOptions, type WebTransport, type WorkspaceCheckDeps, WorkspaceNotAProjectError, WorkspaceNotFoundError, type WorkspaceProjectCheckDeps, type WorktreeIsolationDeps, admitSettingsEnv, applyHeadLimit, assertWorkspaceExists, assertWorkspaceIsProject, augmentedPath, bearerHeaderValue, buildFallbackGrepArgs, buildGlobArgs, buildGrepArgs, canContinue, claudeAccountLimitCollector, clearAugmentedPathCache, clearDaemonToken, clearState, clipboardCopyCommand, codexAccountLimitCollector, codexSandboxNotice, compareVersions, configuredProviders, continuability, createIsolationPreview, createNativeShellLauncher, createSession, createTaskAdapter, createWorktreeIsolation, daemonTokenPath, defaultEnabledRunners, definitionPattern, detectInstalledPlanner, discardChildRuns, discoverGeminiModels, ensureDir, ensurePrivateDir, ensureStateDirIgnored, extractPrdBlock, extractPresentedToken, filterFallbackByAnchoredInclude, findInstalledPlanner, formatSearchOutput, getProviderMeta, getStateDir, globalDataDir, grantScopeFor, grepRegexFromProbe, includeGlobFor, installedPlannerAnswered, installedPlannerDetected, isApiProvider, isCliProvider, isOpenAiProvider, isPlannerBackend, isVendorModelFor, isolationViewOfPlan, killTree, languageForId, listTaskLogAttempts, listTree, loadState, looksLikeChallenge, migrateOldConfigDir, migratePlanIsolation, mintDaemonToken, mintSessionId, nativeShellInvocation, nativeShellOffer, normalizeGeminiModel, notifyCommandOf, openCodeGoAccountLimitCollector, openTaskLog, parseExecutionCommand, parseMaxParallel, parseSearchHits, parseVersion, plannerBackendEntries, prefixModelId, prepareTaskOutputFile, providerForRunner, readDaemonToken, readTaskLog, readTaskPatch, reclaimContainers, recordInstalledPlanner, recordedInstalledPlanner, referencePattern, removedPluginNotice, repositoryRunnerConfigPaths, resetInstalledPlanner, resolveProviderFromPrefix, resolveTaskRunnerFlags, resolveWithin, runnerForProvider, sanitizeSlug, savePrdMarkdown, saveState, saveTaskPatch, selectPlanner, sessionRuntimeSettings, sharedSearchProvider, sharedWebResponseCache, shellQuoted, startVersionCheck, stateExists, stripAnsi, stripModelPrefix, supportsTaskMode, taskPatchFile, tokenSubprotocols, tokensMatch, wellKnownBinDirs, withPath, writeFileAtomic, writePrivateFile };
|