@ordewell/core 0.12.5 → 0.12.6
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/{ModeResolver-DS-aCVOP.d.ts → ModeResolver-CW8TEJjB.d.ts} +1 -1
- package/dist/{ModeResolver-CkZnbIqs.d.mts → ModeResolver-Clrk1OfJ.d.mts} +1 -1
- package/dist/{Task-D3O49EUo.d.mts → Task-jF9O6eWO.d.mts} +8 -2
- package/dist/{Task-D3O49EUo.d.ts → Task-jF9O6eWO.d.ts} +8 -2
- package/dist/{chunk-3S5IVTZM.mjs → chunk-GH5ZORAM.mjs} +1545 -9
- package/dist/chunk-GH5ZORAM.mjs.map +1 -0
- package/dist/{eventStore-br1Tvuh6.d.ts → eventStore-1iW5KeCk.d.mts} +161 -9
- package/dist/{eventStore-BbMmQDBw.d.mts → eventStore-COZ9fxn7.d.ts} +161 -9
- package/dist/index.d.mts +131 -25
- package/dist/index.d.ts +131 -25
- package/dist/index.js +6253 -2536
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4529 -2323
- package/dist/index.mjs.map +1 -1
- package/dist/parsing.d.mts +2 -2
- package/dist/parsing.d.ts +2 -2
- package/dist/plan-utils.d.mts +4 -4
- package/dist/plan-utils.d.ts +4 -4
- package/dist/plan-utils.js +54 -0
- package/dist/plan-utils.js.map +1 -1
- package/dist/plan-utils.mjs +13 -1
- package/dist/plan-utils.mjs.map +1 -1
- package/dist/{runSettingsText-CmPkgAuJ.d.ts → runSettingsText--fMBMiPs.d.mts} +128 -11
- package/dist/{runSettingsText-DywaLmlZ.d.mts → runSettingsText-DCu4ItQN.d.ts} +128 -11
- package/dist/testing.d.mts +2 -2
- package/dist/testing.d.ts +2 -2
- package/package.json +1 -1
- package/dist/chunk-3S5IVTZM.mjs.map +0 -1
package/dist/parsing.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b4 as RunnerId, bq as Task } from './Task-
|
|
2
|
-
import { R as RunnerModeInfo } from './ModeResolver-
|
|
1
|
+
import { b4 as RunnerId, bq as Task } from './Task-jF9O6eWO.mjs';
|
|
2
|
+
import { R as RunnerModeInfo } from './ModeResolver-Clrk1OfJ.mjs';
|
|
3
3
|
|
|
4
4
|
declare function parsePlanJson(raw: string, runners: RunnerId[], runnerModes?: Record<RunnerId, RunnerModeInfo[]>, autonomousDefault?: boolean): Task[];
|
|
5
5
|
|
package/dist/parsing.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b4 as RunnerId, bq as Task } from './Task-
|
|
2
|
-
import { R as RunnerModeInfo } from './ModeResolver-
|
|
1
|
+
import { b4 as RunnerId, bq as Task } from './Task-jF9O6eWO.js';
|
|
2
|
+
import { R as RunnerModeInfo } from './ModeResolver-CW8TEJjB.js';
|
|
3
3
|
|
|
4
4
|
declare function parsePlanJson(raw: string, runners: RunnerId[], runnerModes?: Record<RunnerId, RunnerModeInfo[]>, autonomousDefault?: boolean): Task[];
|
|
5
5
|
|
package/dist/plan-utils.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { b as AccountLimitBucket, c as AccountLimitSnapshot, d as AccountLimitStatus, e as AccountLimitWindow, l as ApprovalBlock, n as ApprovalStatus, s as AssignmentIssue, t as AssignmentScope, w as BlockingSubject, x as CHECKPOINT_TRUNCATE_LENGTH, R as CommandBlock, W as CommandStatus, Y as CompactionBlock, Z as CompactionStatus, aa as ConversationInput, ae as ConversationView, ag as DELEGATION_OFFERED, 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, aK as GatedConversation,
|
|
2
|
-
export { a as AttemptUsage, g as ContextFill, i as CostProvenance, k as DEFAULT_RUNNERS, t as FindingSeverity, z as HandoffArtifact, K as HandoffDigest, L as HandoffEvidence, M as HandoffFinding, ar as ModelUsage, av as PatchView, aA as PlanUsage, aH as PlannerUsage, aW as ReportedWindow, b5 as RunnerSessionCost, b6 as SEVERITY_LABEL, bb as SessionBilling, bm as StoredHandoff, bw as TaskLoop, bE as TaskUsageSummary, bG as UsageLine, bH as UsageRecord, bI as UsageTotals, bN as addAttemptUsage, bO as addModelUsage, bP as addPlannerUsage, bQ as addUsage, bR as addUsageTotals, bT as betweenRounds, bX as checkOf, b_ as contextMeterText, b$ as contextMeterTitle, c0 as costText, c1 as countedSessionCost, c6 as endAttemptUsage, cb as formatCost, cc as formatTokenCount, cg as handoffReferenceText, ck as heldWords, cn as isMeasured, cq as loopRemovalRefusal, cr as loopRoundOf, cu as modelCostTitle, cz as outOfRounds, cF as partedPromptUsage, cL as patchView, cM as pausedOnLimit, cO as planUsage, cP as plannerContextFill, cU as resumedSessionWindow, cY as savedPatchView, cZ as savedPatchViews, d1 as scriptTaskText, d2 as severityLabel, d3 as spentTokens, d4 as startAttemptUsage, d6 as subagentCostTitle, d7 as taskUsageSummary, d8 as tasksTotalText, db as usageLine, dc as usageText, dg as worstSeverity } from './Task-
|
|
3
|
-
import './eventStore-
|
|
1
|
+
export { b as AccountLimitBucket, c as AccountLimitSnapshot, d as AccountLimitStatus, e as AccountLimitWindow, l as ApprovalBlock, n as ApprovalStatus, s as AssignmentIssue, t as AssignmentScope, w as BlockingSubject, x as CHECKPOINT_TRUNCATE_LENGTH, R as CommandBlock, W as CommandStatus, Y as CompactionBlock, Z as CompactionStatus, aa as ConversationInput, ae as ConversationView, ag as DELEGATION_OFFERED, 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, aK as GatedConversation, aP as HandoffBlock, aQ as HandoffForkRepo, aR as HandoffPeekSubject, aT as IDLE_ACTIVITY, aX as IsolationPreviewNotice, b8 as LocalEntry, b9 as LoopCheckFacts, ba as LoopCheckState, bd as MarkdownToken, bh as MessageBlock, bi as MessageRole, bk as NOT_STARTED, bl as NO_TURN, bm as NewTaskFields, bv as OutputPreview, bw as OverrideDirection, bx as PLANNED_WITH_LABEL, bB as PlanBlock, bC as PlanBlocks, bE as PlanMarkerStatus, b_ as PromptHold, b$ as REPORT_PREVIEW_LINES, c2 as RefTask, cp as RunnerLoadedBlock, cq as RunnerSignIn, cs as STALLED_LABEL, cu as STOPPING_LABEL, cv as SUBPLANNER_ACCOUNTING, cw as SUBPLANNER_CHILD, cx as SUBPLANNER_SCOPE, cy as SUPERVISOR_LEVEL_LABEL, cU as SkillLoadBlock, cV as SkillToken, c_ as SubagentBlock, c$ as SubagentChild, d0 as SubagentStatus, d3 as SubtreeItemView, d4 as SubtreeView, de as TERMINAL_UI_SIGN_IN, df as TakenPrompt, dg as TaskAction, dh as TaskActivity, dk as TaskLogBatch, dm as TaskLogFollow, dn as TaskLogFollowInput, dp as TaskLogHeaderKind, dq as TaskLogHeaderTask, dr as TaskLogHeaderUsage, ds as TaskLogHeaderView, du as TaskLogView, dB as TaskPlacement, dF as TaskRef, dI as TaskRowAction, dJ as TaskRowContext, dK as TaskRowDelegated, dL as TaskRowHandoff, dM as TaskRowIsolation, dN as TaskRowKind, dO as TaskRowLoop, dP as TaskRowPlacement, dQ as TaskRowSubject, dR as TaskRowUsage, dS as TaskRowView, dT as TaskRunFacts, dU as TaskStatusKind, dV as ThinkingDisplayBlock, dW as ToolBlock, dX as ToolHeadline, dY as ToolStatus, d_ as TreeTask, e0 as TurnGate, e1 as UsageBlock, e3 as WAITS_FOR_APPROVAL_LABEL, e5 as WakeUpItem, ed as accountLimitPercentText, ee as accountLimitWindowLabel, ef as accountLimitsOf, eg as accountLimitsText, eh as accountLimitsTitle, ei as activityLabel, ej as aheadOfDraft, el as approvalKindText, em as approvalLabel, en as approvalStatusText, eo as assignedRunnerOf, ep as assignmentIssue, eq as assignmentIssueText, er as attachingLabel, eu as awaitingLabel, ev as blockNotice, ew as blockNotices, ex as blockedByLabel, ey as blockingFailures, ez as canMergeTasks, eA as canSetDependencies, eB as canSplitTask, eC as capConflictFiles, eD as cardEditNeedsUnstarted, eE as cardEditable, eI as closeTurn, eK as compactionText, eL as confirmedOverride, eN as containersOffered, eP as delegatedRowView, eR as dependencyCandidates, eS as dependentsNotice, eT as dependentsOf, eX as describeIsolationPreview, eY as describeMergeResult, e$ as describeRunnerSignIn, f0 as describeSignIn, f1 as describeSignInWays, f2 as diffRows, f3 as diffStat, f4 as diffSummary, f6 as drainNext, f7 as editableWhileRunning, f8 as elapsedSince, fb as followTaskLog, fc as followTurn, fe as formatElapsed, ff as fromTranscript, fh as handoffBaseLine, fi as handoffBranchName, fj as handoffFindingsText, fk as handoffPeekParts, fl as hasAccountLimits, fm as hasHiddenDetail, fn as hasLongReport, fo as holdLabel, fp as holdPrompt, fr as isFileEditTool, fs as isRepoGroup, ft as isTaskRunning, fu as keptDelegationBudget, fw as loadedSkillTokens, fx as logContinues, fy as logResumes, fz as loopBodyLabel, fA as loopBodyRound, fB as loopCheckLabel, fC as loopCheckState, fD as loopLeaveNotice, fE as loopRowParts, fF as manualOverrideConfirmation, fG as manualOverrideStopFirst, fI as markAction, fJ as markdownHtml, fK as markdownTokens, fL as mergeOutcome, fM as mergePastChecksConfirmation, fO as namedRepos, fP as newTaskFields, fQ as noExecutorRefusal, fT as opsEditable, fU as outputLines, fV as outputPreview, fW as overrideNeedsConfirmation, fX as parseCount, g0 as pastGateConfirmation, g1 as planBlocks, g3 as planMarkerParts, gb as receiptLabel, gc as reconcileApprovals, gf as reduceConversation, gh as reduceTaskLog, gi as rememberDelegationBudget, gk as repairWaitLabel, gl as repairedLanded, gm as repairedNotice, gn as repeatingChecks, go as replayTaskLog, gp as repoBaseLine, gq as repoResultLines, gu as resolveTaskRef, gv as resolveUserTaskRef, gw as resumeLabel, gx as resumeTime, gy as revertEffect, gz as revertListLine, gA as revertTaskRef, gC as runHoldsEditors, gF as runnerToolSubject, gM as signInAction, gO as signInOfVerdict, gQ as skillTokens, gR as skippedLabel, gS as stopTurn, gT as subtreeIds, gU as subtreeView, gV as summarizeToolCall, gZ as takeAt, g_ as taskActionCommand, g$ as taskActivity, h0 as taskChatAvailable, h1 as taskLogCommands, h3 as taskLogHeaderView, h4 as taskOrderLabel, h5 as taskPlacement, h7 as taskRef, h8 as taskRefOf, h9 as taskRowActions, ha as taskRowView, hb as taskStartedNotice, hc as taskStatusKind, hf as titledRefs, hg as titledTaskRef, hh as titledTaskRefOf, hj as toolHeadline, hm as truncateCheckpointSummary, hn as unsendAll, ho as unsendLatest, hp as wakeUpItems, hq as walkPlan } from './runSettingsText--fMBMiPs.mjs';
|
|
2
|
+
export { a as AttemptUsage, g as ContextFill, i as CostProvenance, k as DEFAULT_RUNNERS, t as FindingSeverity, z as HandoffArtifact, K as HandoffDigest, L as HandoffEvidence, M as HandoffFinding, ar as ModelUsage, av as PatchView, aA as PlanUsage, aH as PlannerUsage, aW as ReportedWindow, b5 as RunnerSessionCost, b6 as SEVERITY_LABEL, bb as SessionBilling, bm as StoredHandoff, bw as TaskLoop, bE as TaskUsageSummary, bG as UsageLine, bH as UsageRecord, bI as UsageTotals, bN as addAttemptUsage, bO as addModelUsage, bP as addPlannerUsage, bQ as addUsage, bR as addUsageTotals, bT as betweenRounds, bX as checkOf, b_ as contextMeterText, b$ as contextMeterTitle, c0 as costText, c1 as countedSessionCost, c6 as endAttemptUsage, cb as formatCost, cc as formatTokenCount, cg as handoffReferenceText, ck as heldWords, cn as isMeasured, cq as loopRemovalRefusal, cr as loopRoundOf, cu as modelCostTitle, cz as outOfRounds, cF as partedPromptUsage, cL as patchView, cM as pausedOnLimit, cO as planUsage, cP as plannerContextFill, cU as resumedSessionWindow, cY as savedPatchView, cZ as savedPatchViews, d1 as scriptTaskText, d2 as severityLabel, d3 as spentTokens, d4 as startAttemptUsage, d6 as subagentCostTitle, d7 as taskUsageSummary, d8 as tasksTotalText, db as usageLine, dc as usageText, dg as worstSeverity } from './Task-jF9O6eWO.mjs';
|
|
3
|
+
import './eventStore-1iW5KeCk.mjs';
|
|
4
4
|
import 'child_process';
|
|
5
5
|
import 'zod/v4';
|
|
6
|
-
import './ModeResolver-
|
|
6
|
+
import './ModeResolver-Clrk1OfJ.mjs';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* The tips an empty planner chat composer shows (#137), one table for every
|
package/dist/plan-utils.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { b as AccountLimitBucket, c as AccountLimitSnapshot, d as AccountLimitStatus, e as AccountLimitWindow, l as ApprovalBlock, n as ApprovalStatus, s as AssignmentIssue, t as AssignmentScope, w as BlockingSubject, x as CHECKPOINT_TRUNCATE_LENGTH, R as CommandBlock, W as CommandStatus, Y as CompactionBlock, Z as CompactionStatus, aa as ConversationInput, ae as ConversationView, ag as DELEGATION_OFFERED, 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, aK as GatedConversation,
|
|
2
|
-
export { a as AttemptUsage, g as ContextFill, i as CostProvenance, k as DEFAULT_RUNNERS, t as FindingSeverity, z as HandoffArtifact, K as HandoffDigest, L as HandoffEvidence, M as HandoffFinding, ar as ModelUsage, av as PatchView, aA as PlanUsage, aH as PlannerUsage, aW as ReportedWindow, b5 as RunnerSessionCost, b6 as SEVERITY_LABEL, bb as SessionBilling, bm as StoredHandoff, bw as TaskLoop, bE as TaskUsageSummary, bG as UsageLine, bH as UsageRecord, bI as UsageTotals, bN as addAttemptUsage, bO as addModelUsage, bP as addPlannerUsage, bQ as addUsage, bR as addUsageTotals, bT as betweenRounds, bX as checkOf, b_ as contextMeterText, b$ as contextMeterTitle, c0 as costText, c1 as countedSessionCost, c6 as endAttemptUsage, cb as formatCost, cc as formatTokenCount, cg as handoffReferenceText, ck as heldWords, cn as isMeasured, cq as loopRemovalRefusal, cr as loopRoundOf, cu as modelCostTitle, cz as outOfRounds, cF as partedPromptUsage, cL as patchView, cM as pausedOnLimit, cO as planUsage, cP as plannerContextFill, cU as resumedSessionWindow, cY as savedPatchView, cZ as savedPatchViews, d1 as scriptTaskText, d2 as severityLabel, d3 as spentTokens, d4 as startAttemptUsage, d6 as subagentCostTitle, d7 as taskUsageSummary, d8 as tasksTotalText, db as usageLine, dc as usageText, dg as worstSeverity } from './Task-
|
|
3
|
-
import './eventStore-
|
|
1
|
+
export { b as AccountLimitBucket, c as AccountLimitSnapshot, d as AccountLimitStatus, e as AccountLimitWindow, l as ApprovalBlock, n as ApprovalStatus, s as AssignmentIssue, t as AssignmentScope, w as BlockingSubject, x as CHECKPOINT_TRUNCATE_LENGTH, R as CommandBlock, W as CommandStatus, Y as CompactionBlock, Z as CompactionStatus, aa as ConversationInput, ae as ConversationView, ag as DELEGATION_OFFERED, 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, aK as GatedConversation, aP as HandoffBlock, aQ as HandoffForkRepo, aR as HandoffPeekSubject, aT as IDLE_ACTIVITY, aX as IsolationPreviewNotice, b8 as LocalEntry, b9 as LoopCheckFacts, ba as LoopCheckState, bd as MarkdownToken, bh as MessageBlock, bi as MessageRole, bk as NOT_STARTED, bl as NO_TURN, bm as NewTaskFields, bv as OutputPreview, bw as OverrideDirection, bx as PLANNED_WITH_LABEL, bB as PlanBlock, bC as PlanBlocks, bE as PlanMarkerStatus, b_ as PromptHold, b$ as REPORT_PREVIEW_LINES, c2 as RefTask, cp as RunnerLoadedBlock, cq as RunnerSignIn, cs as STALLED_LABEL, cu as STOPPING_LABEL, cv as SUBPLANNER_ACCOUNTING, cw as SUBPLANNER_CHILD, cx as SUBPLANNER_SCOPE, cy as SUPERVISOR_LEVEL_LABEL, cU as SkillLoadBlock, cV as SkillToken, c_ as SubagentBlock, c$ as SubagentChild, d0 as SubagentStatus, d3 as SubtreeItemView, d4 as SubtreeView, de as TERMINAL_UI_SIGN_IN, df as TakenPrompt, dg as TaskAction, dh as TaskActivity, dk as TaskLogBatch, dm as TaskLogFollow, dn as TaskLogFollowInput, dp as TaskLogHeaderKind, dq as TaskLogHeaderTask, dr as TaskLogHeaderUsage, ds as TaskLogHeaderView, du as TaskLogView, dB as TaskPlacement, dF as TaskRef, dI as TaskRowAction, dJ as TaskRowContext, dK as TaskRowDelegated, dL as TaskRowHandoff, dM as TaskRowIsolation, dN as TaskRowKind, dO as TaskRowLoop, dP as TaskRowPlacement, dQ as TaskRowSubject, dR as TaskRowUsage, dS as TaskRowView, dT as TaskRunFacts, dU as TaskStatusKind, dV as ThinkingDisplayBlock, dW as ToolBlock, dX as ToolHeadline, dY as ToolStatus, d_ as TreeTask, e0 as TurnGate, e1 as UsageBlock, e3 as WAITS_FOR_APPROVAL_LABEL, e5 as WakeUpItem, ed as accountLimitPercentText, ee as accountLimitWindowLabel, ef as accountLimitsOf, eg as accountLimitsText, eh as accountLimitsTitle, ei as activityLabel, ej as aheadOfDraft, el as approvalKindText, em as approvalLabel, en as approvalStatusText, eo as assignedRunnerOf, ep as assignmentIssue, eq as assignmentIssueText, er as attachingLabel, eu as awaitingLabel, ev as blockNotice, ew as blockNotices, ex as blockedByLabel, ey as blockingFailures, ez as canMergeTasks, eA as canSetDependencies, eB as canSplitTask, eC as capConflictFiles, eD as cardEditNeedsUnstarted, eE as cardEditable, eI as closeTurn, eK as compactionText, eL as confirmedOverride, eN as containersOffered, eP as delegatedRowView, eR as dependencyCandidates, eS as dependentsNotice, eT as dependentsOf, eX as describeIsolationPreview, eY as describeMergeResult, e$ as describeRunnerSignIn, f0 as describeSignIn, f1 as describeSignInWays, f2 as diffRows, f3 as diffStat, f4 as diffSummary, f6 as drainNext, f7 as editableWhileRunning, f8 as elapsedSince, fb as followTaskLog, fc as followTurn, fe as formatElapsed, ff as fromTranscript, fh as handoffBaseLine, fi as handoffBranchName, fj as handoffFindingsText, fk as handoffPeekParts, fl as hasAccountLimits, fm as hasHiddenDetail, fn as hasLongReport, fo as holdLabel, fp as holdPrompt, fr as isFileEditTool, fs as isRepoGroup, ft as isTaskRunning, fu as keptDelegationBudget, fw as loadedSkillTokens, fx as logContinues, fy as logResumes, fz as loopBodyLabel, fA as loopBodyRound, fB as loopCheckLabel, fC as loopCheckState, fD as loopLeaveNotice, fE as loopRowParts, fF as manualOverrideConfirmation, fG as manualOverrideStopFirst, fI as markAction, fJ as markdownHtml, fK as markdownTokens, fL as mergeOutcome, fM as mergePastChecksConfirmation, fO as namedRepos, fP as newTaskFields, fQ as noExecutorRefusal, fT as opsEditable, fU as outputLines, fV as outputPreview, fW as overrideNeedsConfirmation, fX as parseCount, g0 as pastGateConfirmation, g1 as planBlocks, g3 as planMarkerParts, gb as receiptLabel, gc as reconcileApprovals, gf as reduceConversation, gh as reduceTaskLog, gi as rememberDelegationBudget, gk as repairWaitLabel, gl as repairedLanded, gm as repairedNotice, gn as repeatingChecks, go as replayTaskLog, gp as repoBaseLine, gq as repoResultLines, gu as resolveTaskRef, gv as resolveUserTaskRef, gw as resumeLabel, gx as resumeTime, gy as revertEffect, gz as revertListLine, gA as revertTaskRef, gC as runHoldsEditors, gF as runnerToolSubject, gM as signInAction, gO as signInOfVerdict, gQ as skillTokens, gR as skippedLabel, gS as stopTurn, gT as subtreeIds, gU as subtreeView, gV as summarizeToolCall, gZ as takeAt, g_ as taskActionCommand, g$ as taskActivity, h0 as taskChatAvailable, h1 as taskLogCommands, h3 as taskLogHeaderView, h4 as taskOrderLabel, h5 as taskPlacement, h7 as taskRef, h8 as taskRefOf, h9 as taskRowActions, ha as taskRowView, hb as taskStartedNotice, hc as taskStatusKind, hf as titledRefs, hg as titledTaskRef, hh as titledTaskRefOf, hj as toolHeadline, hm as truncateCheckpointSummary, hn as unsendAll, ho as unsendLatest, hp as wakeUpItems, hq as walkPlan } from './runSettingsText-DCu4ItQN.js';
|
|
2
|
+
export { a as AttemptUsage, g as ContextFill, i as CostProvenance, k as DEFAULT_RUNNERS, t as FindingSeverity, z as HandoffArtifact, K as HandoffDigest, L as HandoffEvidence, M as HandoffFinding, ar as ModelUsage, av as PatchView, aA as PlanUsage, aH as PlannerUsage, aW as ReportedWindow, b5 as RunnerSessionCost, b6 as SEVERITY_LABEL, bb as SessionBilling, bm as StoredHandoff, bw as TaskLoop, bE as TaskUsageSummary, bG as UsageLine, bH as UsageRecord, bI as UsageTotals, bN as addAttemptUsage, bO as addModelUsage, bP as addPlannerUsage, bQ as addUsage, bR as addUsageTotals, bT as betweenRounds, bX as checkOf, b_ as contextMeterText, b$ as contextMeterTitle, c0 as costText, c1 as countedSessionCost, c6 as endAttemptUsage, cb as formatCost, cc as formatTokenCount, cg as handoffReferenceText, ck as heldWords, cn as isMeasured, cq as loopRemovalRefusal, cr as loopRoundOf, cu as modelCostTitle, cz as outOfRounds, cF as partedPromptUsage, cL as patchView, cM as pausedOnLimit, cO as planUsage, cP as plannerContextFill, cU as resumedSessionWindow, cY as savedPatchView, cZ as savedPatchViews, d1 as scriptTaskText, d2 as severityLabel, d3 as spentTokens, d4 as startAttemptUsage, d6 as subagentCostTitle, d7 as taskUsageSummary, d8 as tasksTotalText, db as usageLine, dc as usageText, dg as worstSeverity } from './Task-jF9O6eWO.js';
|
|
3
|
+
import './eventStore-COZ9fxn7.js';
|
|
4
4
|
import 'child_process';
|
|
5
5
|
import 'zod/v4';
|
|
6
|
-
import './ModeResolver-
|
|
6
|
+
import './ModeResolver-CW8TEJjB.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* The tips an empty planner chat composer shows (#137), one table for every
|
package/dist/plan-utils.js
CHANGED
|
@@ -51,6 +51,7 @@ __export(plan_utils_exports, {
|
|
|
51
51
|
SUBPLANNER_CHILD: () => SUBPLANNER_CHILD,
|
|
52
52
|
SUBPLANNER_SCOPE: () => SUBPLANNER_SCOPE,
|
|
53
53
|
SUPERVISOR_LEVEL_LABEL: () => SUPERVISOR_LEVEL_LABEL,
|
|
54
|
+
TERMINAL_UI_SIGN_IN: () => TERMINAL_UI_SIGN_IN,
|
|
54
55
|
WAITS_FOR_APPROVAL_LABEL: () => WAITS_FOR_APPROVAL_LABEL,
|
|
55
56
|
accountLimitPercentText: () => accountLimitPercentText,
|
|
56
57
|
accountLimitWindowLabel: () => accountLimitWindowLabel,
|
|
@@ -100,6 +101,9 @@ __export(plan_utils_exports, {
|
|
|
100
101
|
dependentsOf: () => dependentsOf,
|
|
101
102
|
describeIsolationPreview: () => describeIsolationPreview,
|
|
102
103
|
describeMergeResult: () => describeMergeResult,
|
|
104
|
+
describeRunnerSignIn: () => describeRunnerSignIn,
|
|
105
|
+
describeSignIn: () => describeSignIn,
|
|
106
|
+
describeSignInWays: () => describeSignInWays,
|
|
103
107
|
diffRows: () => diffRows,
|
|
104
108
|
diffStat: () => diffStat,
|
|
105
109
|
diffSummary: () => diffSummary,
|
|
@@ -192,6 +196,8 @@ __export(plan_utils_exports, {
|
|
|
192
196
|
savedPatchViews: () => savedPatchViews,
|
|
193
197
|
scriptTaskText: () => scriptTaskText,
|
|
194
198
|
severityLabel: () => severityLabel,
|
|
199
|
+
signInAction: () => signInAction,
|
|
200
|
+
signInOfVerdict: () => signInOfVerdict,
|
|
195
201
|
skillTokens: () => skillTokens,
|
|
196
202
|
skippedLabel: () => skippedLabel,
|
|
197
203
|
spentTokens: () => spentTokens,
|
|
@@ -3401,6 +3407,48 @@ function noExecutorRefusal(type, manual, script) {
|
|
|
3401
3407
|
return type === "script" ? `A script task runs no model, so ${script}` : `Manual tasks do not run an executor, so ${manual}`;
|
|
3402
3408
|
}
|
|
3403
3409
|
|
|
3410
|
+
// src/services/signInHint.ts
|
|
3411
|
+
var TERMINAL_UI_SIGN_IN = {
|
|
3412
|
+
login: (runner) => `/login ${runner}`,
|
|
3413
|
+
chooseKey: (_provider, label) => `/key and choose ${label}`
|
|
3414
|
+
};
|
|
3415
|
+
function describeSignIn(signIn, syntax) {
|
|
3416
|
+
const ways = describeSignInWays(signIn, syntax);
|
|
3417
|
+
return `${signIn.label} is not signed in.${ways ? ` ${ways}` : ""}`;
|
|
3418
|
+
}
|
|
3419
|
+
function describeSignInWays(signIn, syntax) {
|
|
3420
|
+
const routes = [];
|
|
3421
|
+
if (signIn.login) {
|
|
3422
|
+
const own = commandLine(signIn.login);
|
|
3423
|
+
const surface = syntax.login(signIn.runner);
|
|
3424
|
+
routes.push(surface ? `sign in with ${surface}, or run ${own}` : `run ${own} to sign in`);
|
|
3425
|
+
}
|
|
3426
|
+
if (signIn.key) {
|
|
3427
|
+
const others = signIn.key.others ? ` (or ${signIn.key.others})` : "";
|
|
3428
|
+
routes.push(`run ${syntax.chooseKey(signIn.key.provider, signIn.key.label)}${others} to hand it a key`);
|
|
3429
|
+
}
|
|
3430
|
+
if (signIn.byHand) routes.push(signIn.byHand);
|
|
3431
|
+
if (routes.length === 0) return "";
|
|
3432
|
+
const ways = routes.join(", or ");
|
|
3433
|
+
return `${ways[0].toUpperCase()}${ways.slice(1)}.`;
|
|
3434
|
+
}
|
|
3435
|
+
function signInOfVerdict(runner, label, auth) {
|
|
3436
|
+
if (!auth) return void 0;
|
|
3437
|
+
return auth.signIn ?? { runner, label, ...auth.loginCommand?.length ? { login: auth.loginCommand } : {} };
|
|
3438
|
+
}
|
|
3439
|
+
function describeRunnerSignIn(auth, syntax) {
|
|
3440
|
+
const signIn = auth?.signIn;
|
|
3441
|
+
if (!signIn) return null;
|
|
3442
|
+
if (auth.state === "signed-out") return describeSignInWays(signIn, syntax) ? describeSignIn(signIn, syntax) : null;
|
|
3443
|
+
if (auth.state === "unknown" && signIn.login) return describeSignInWays({ runner: signIn.runner, label: signIn.label, login: signIn.login }, syntax);
|
|
3444
|
+
return null;
|
|
3445
|
+
}
|
|
3446
|
+
function signInAction(signIn) {
|
|
3447
|
+
if (signIn?.login) return "login";
|
|
3448
|
+
if (signIn?.key) return "key";
|
|
3449
|
+
return null;
|
|
3450
|
+
}
|
|
3451
|
+
|
|
3404
3452
|
// src/services/runView.ts
|
|
3405
3453
|
var EMPTY_RUN = { tasks: [], runMerge: null, handoff: null, mergeResult: null, activity: IDLE_ACTIVITY, escalations: [] };
|
|
3406
3454
|
|
|
@@ -3476,6 +3524,7 @@ function accountLimitsTitle(snapshot, time) {
|
|
|
3476
3524
|
SUBPLANNER_CHILD,
|
|
3477
3525
|
SUBPLANNER_SCOPE,
|
|
3478
3526
|
SUPERVISOR_LEVEL_LABEL,
|
|
3527
|
+
TERMINAL_UI_SIGN_IN,
|
|
3479
3528
|
WAITS_FOR_APPROVAL_LABEL,
|
|
3480
3529
|
accountLimitPercentText,
|
|
3481
3530
|
accountLimitWindowLabel,
|
|
@@ -3525,6 +3574,9 @@ function accountLimitsTitle(snapshot, time) {
|
|
|
3525
3574
|
dependentsOf,
|
|
3526
3575
|
describeIsolationPreview,
|
|
3527
3576
|
describeMergeResult,
|
|
3577
|
+
describeRunnerSignIn,
|
|
3578
|
+
describeSignIn,
|
|
3579
|
+
describeSignInWays,
|
|
3528
3580
|
diffRows,
|
|
3529
3581
|
diffStat,
|
|
3530
3582
|
diffSummary,
|
|
@@ -3617,6 +3669,8 @@ function accountLimitsTitle(snapshot, time) {
|
|
|
3617
3669
|
savedPatchViews,
|
|
3618
3670
|
scriptTaskText,
|
|
3619
3671
|
severityLabel,
|
|
3672
|
+
signInAction,
|
|
3673
|
+
signInOfVerdict,
|
|
3620
3674
|
skillTokens,
|
|
3621
3675
|
skippedLabel,
|
|
3622
3676
|
spentTokens,
|