@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/plan-utils.mjs
CHANGED
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
SUBPLANNER_CHILD,
|
|
19
19
|
SUBPLANNER_SCOPE,
|
|
20
20
|
SUPERVISOR_LEVEL_LABEL,
|
|
21
|
+
TERMINAL_UI_SIGN_IN,
|
|
21
22
|
WAITS_FOR_APPROVAL_LABEL,
|
|
22
23
|
accountLimitPercentText,
|
|
23
24
|
accountLimitWindowLabel,
|
|
@@ -60,6 +61,9 @@ import {
|
|
|
60
61
|
dependentsNotice,
|
|
61
62
|
describeIsolationPreview,
|
|
62
63
|
describeMergeResult,
|
|
64
|
+
describeRunnerSignIn,
|
|
65
|
+
describeSignIn,
|
|
66
|
+
describeSignInWays,
|
|
63
67
|
diffRows,
|
|
64
68
|
diffStat,
|
|
65
69
|
diffSummary,
|
|
@@ -143,6 +147,8 @@ import {
|
|
|
143
147
|
savedPatchView,
|
|
144
148
|
savedPatchViews,
|
|
145
149
|
severityLabel,
|
|
150
|
+
signInAction,
|
|
151
|
+
signInOfVerdict,
|
|
146
152
|
skippedLabel,
|
|
147
153
|
spentTokens,
|
|
148
154
|
startAttemptUsage,
|
|
@@ -171,7 +177,7 @@ import {
|
|
|
171
177
|
usageText,
|
|
172
178
|
wakeUpItems,
|
|
173
179
|
worstSeverity
|
|
174
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-GH5ZORAM.mjs";
|
|
175
181
|
import {
|
|
176
182
|
betweenRounds,
|
|
177
183
|
checkOf,
|
|
@@ -253,6 +259,7 @@ export {
|
|
|
253
259
|
SUBPLANNER_CHILD,
|
|
254
260
|
SUBPLANNER_SCOPE,
|
|
255
261
|
SUPERVISOR_LEVEL_LABEL,
|
|
262
|
+
TERMINAL_UI_SIGN_IN,
|
|
256
263
|
WAITS_FOR_APPROVAL_LABEL,
|
|
257
264
|
accountLimitPercentText,
|
|
258
265
|
accountLimitWindowLabel,
|
|
@@ -302,6 +309,9 @@ export {
|
|
|
302
309
|
dependentsOf,
|
|
303
310
|
describeIsolationPreview,
|
|
304
311
|
describeMergeResult,
|
|
312
|
+
describeRunnerSignIn,
|
|
313
|
+
describeSignIn,
|
|
314
|
+
describeSignInWays,
|
|
305
315
|
diffRows,
|
|
306
316
|
diffStat,
|
|
307
317
|
diffSummary,
|
|
@@ -394,6 +404,8 @@ export {
|
|
|
394
404
|
savedPatchViews,
|
|
395
405
|
scriptTaskText,
|
|
396
406
|
severityLabel,
|
|
407
|
+
signInAction,
|
|
408
|
+
signInOfVerdict,
|
|
397
409
|
skillTokens,
|
|
398
410
|
skippedLabel,
|
|
399
411
|
spentTokens,
|
package/dist/plan-utils.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/services/composerTips.ts"],"sourcesContent":["/**\n * The tips an empty planner chat composer shows (#137), one table for every\n * surface so the TUI and the webview agree on the wording and how often each\n * comes round. A surface offers only the tips for the commands it answers.\n */\n\nexport interface ComposerTip {\n /** The built-in planner chat command the tip names, without its slash. */\n command: string;\n /** How many times per cycle the tip comes round. */\n weight: number;\n /** Short enough to fit after the prompt and caret on an 80-column terminal. */\n text: string;\n}\n\nexport const COMPOSER_TIPS: readonly ComposerTip[] = [\n // The per-runner model allowlist (ADR-0003) is the easiest command to miss.\n { command: 'allowlist', weight: 3, text: 'Tip: Use /allowlist to limit which models the planner assigns per runner.' },\n { command: 'planner', weight: 1, text: \"Tip: Use /planner to pick the planner's harness, model and effort.\" },\n { command: 'runners', weight: 1, text: 'Tip: Use /runners to turn runners on or off.' },\n { command: 'settings', weight: 1, text: 'Tip: Use /settings for autonomy, supervisor, merging, autorun and more.' },\n { command: 'help', weight: 1, text: 'Tip: Use /help to list every command.' },\n];\n\n/**\n * One cycle of `tips`, each appearing exactly its weight times. Heavier tips\n * take their slots first, at the midpoints of equal shares of the free slots, so\n * raising a weight spreads it out instead of leaving it to run together at the\n * end of the cycle; where a tip outnumbers all the others, the touches it\n * cannot avoid are spread as evenly as the counts allow. The cycle starts on\n * the heaviest tip, so the first seq is the one the table weights most.\n */\nexport function tipCycle(tips: readonly ComposerTip[]): ComposerTip[] {\n const total = tips.reduce((sum, tip) => sum + Math.max(0, tip.weight), 0);\n if (total === 0) return [];\n const slots = new Array<ComposerTip | undefined>(total).fill(undefined);\n const order = tips\n .map((tip, index) => ({ tip, index }))\n .filter(({ tip }) => tip.weight > 0)\n .sort((a, b) => b.tip.weight - a.tip.weight || a.index - b.index);\n for (const { tip } of order) {\n const free = slots.flatMap((slot, at) => (slot === undefined ? [at] : []));\n for (let k = 0; k < tip.weight; k++) {\n slots[free[Math.floor(((k + 0.5) * free.length) / tip.weight)]] = tip;\n }\n }\n const cycle = slots.filter((tip): tip is ComposerTip => tip !== undefined);\n const start = cycle.indexOf(order[0].tip);\n return [...cycle.slice(start), ...cycle.slice(0, start)];\n}\n\n/**\n * The tip for the `seq`-th time the composer has been empty, among those for\n * the commands the surface answers, or null when it answers none of them. The\n * same `seq` always gives the same tip, so the surface decides when a new one\n * shows by when it moves `seq` on, and its rendering stays a function of state.\n */\nexport function composerTip(seq: number, answers: ReadonlySet<string>): string | null {\n const cycle = tipCycle(COMPOSER_TIPS.filter((tip) => answers.has(tip.command)));\n if (cycle.length === 0) return null;\n return cycle[((seq % cycle.length) + cycle.length) % cycle.length].text;\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/services/composerTips.ts"],"sourcesContent":["/**\n * The tips an empty planner chat composer shows (#137), one table for every\n * surface so the TUI and the webview agree on the wording and how often each\n * comes round. A surface offers only the tips for the commands it answers.\n */\n\nexport interface ComposerTip {\n /** The built-in planner chat command the tip names, without its slash. */\n command: string;\n /** How many times per cycle the tip comes round. */\n weight: number;\n /** Short enough to fit after the prompt and caret on an 80-column terminal. */\n text: string;\n}\n\nexport const COMPOSER_TIPS: readonly ComposerTip[] = [\n // The per-runner model allowlist (ADR-0003) is the easiest command to miss.\n { command: 'allowlist', weight: 3, text: 'Tip: Use /allowlist to limit which models the planner assigns per runner.' },\n { command: 'planner', weight: 1, text: \"Tip: Use /planner to pick the planner's harness, model and effort.\" },\n { command: 'runners', weight: 1, text: 'Tip: Use /runners to turn runners on or off.' },\n { command: 'settings', weight: 1, text: 'Tip: Use /settings for autonomy, supervisor, merging, autorun and more.' },\n { command: 'help', weight: 1, text: 'Tip: Use /help to list every command.' },\n];\n\n/**\n * One cycle of `tips`, each appearing exactly its weight times. Heavier tips\n * take their slots first, at the midpoints of equal shares of the free slots, so\n * raising a weight spreads it out instead of leaving it to run together at the\n * end of the cycle; where a tip outnumbers all the others, the touches it\n * cannot avoid are spread as evenly as the counts allow. The cycle starts on\n * the heaviest tip, so the first seq is the one the table weights most.\n */\nexport function tipCycle(tips: readonly ComposerTip[]): ComposerTip[] {\n const total = tips.reduce((sum, tip) => sum + Math.max(0, tip.weight), 0);\n if (total === 0) return [];\n const slots = new Array<ComposerTip | undefined>(total).fill(undefined);\n const order = tips\n .map((tip, index) => ({ tip, index }))\n .filter(({ tip }) => tip.weight > 0)\n .sort((a, b) => b.tip.weight - a.tip.weight || a.index - b.index);\n for (const { tip } of order) {\n const free = slots.flatMap((slot, at) => (slot === undefined ? [at] : []));\n for (let k = 0; k < tip.weight; k++) {\n slots[free[Math.floor(((k + 0.5) * free.length) / tip.weight)]] = tip;\n }\n }\n const cycle = slots.filter((tip): tip is ComposerTip => tip !== undefined);\n const start = cycle.indexOf(order[0].tip);\n return [...cycle.slice(start), ...cycle.slice(0, start)];\n}\n\n/**\n * The tip for the `seq`-th time the composer has been empty, among those for\n * the commands the surface answers, or null when it answers none of them. The\n * same `seq` always gives the same tip, so the surface decides when a new one\n * shows by when it moves `seq` on, and its rendering stays a function of state.\n */\nexport function composerTip(seq: number, answers: ReadonlySet<string>): string | null {\n const cycle = tipCycle(COMPOSER_TIPS.filter((tip) => answers.has(tip.command)));\n if (cycle.length === 0) return null;\n return cycle[((seq % cycle.length) + cycle.length) % cycle.length].text;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeO,IAAM,gBAAwC;AAAA;AAAA,EAEnD,EAAE,SAAS,aAAa,QAAQ,GAAG,MAAM,4EAA4E;AAAA,EACrH,EAAE,SAAS,WAAW,QAAQ,GAAG,MAAM,qEAAqE;AAAA,EAC5G,EAAE,SAAS,WAAW,QAAQ,GAAG,MAAM,+CAA+C;AAAA,EACtF,EAAE,SAAS,YAAY,QAAQ,GAAG,MAAM,0EAA0E;AAAA,EAClH,EAAE,SAAS,QAAQ,QAAQ,GAAG,MAAM,wCAAwC;AAC9E;AAUO,SAAS,SAAS,MAA6C;AACpE,QAAM,QAAQ,KAAK,OAAO,CAAC,KAAK,QAAQ,MAAM,KAAK,IAAI,GAAG,IAAI,MAAM,GAAG,CAAC;AACxE,MAAI,UAAU,EAAG,QAAO,CAAC;AACzB,QAAM,QAAQ,IAAI,MAA+B,KAAK,EAAE,KAAK,MAAS;AACtE,QAAM,QAAQ,KACX,IAAI,CAAC,KAAK,WAAW,EAAE,KAAK,MAAM,EAAE,EACpC,OAAO,CAAC,EAAE,IAAI,MAAM,IAAI,SAAS,CAAC,EAClC,KAAK,CAAC,GAAG,MAAM,EAAE,IAAI,SAAS,EAAE,IAAI,UAAU,EAAE,QAAQ,EAAE,KAAK;AAClE,aAAW,EAAE,IAAI,KAAK,OAAO;AAC3B,UAAM,OAAO,MAAM,QAAQ,CAAC,MAAM,OAAQ,SAAS,SAAY,CAAC,EAAE,IAAI,CAAC,CAAE;AACzE,aAAS,IAAI,GAAG,IAAI,IAAI,QAAQ,KAAK;AACnC,YAAM,KAAK,KAAK,OAAQ,IAAI,OAAO,KAAK,SAAU,IAAI,MAAM,CAAC,CAAC,IAAI;AAAA,IACpE;AAAA,EACF;AACA,QAAM,QAAQ,MAAM,OAAO,CAAC,QAA4B,QAAQ,MAAS;AACzE,QAAM,QAAQ,MAAM,QAAQ,MAAM,CAAC,EAAE,GAAG;AACxC,SAAO,CAAC,GAAG,MAAM,MAAM,KAAK,GAAG,GAAG,MAAM,MAAM,GAAG,KAAK,CAAC;AACzD;AAQO,SAAS,YAAY,KAAa,SAA6C;AACpF,QAAM,QAAQ,SAAS,cAAc,OAAO,CAAC,QAAQ,QAAQ,IAAI,IAAI,OAAO,CAAC,CAAC;AAC9E,MAAI,MAAM,WAAW,EAAG,QAAO;AAC/B,SAAO,OAAQ,MAAM,MAAM,SAAU,MAAM,UAAU,MAAM,MAAM,EAAE;AACrE;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b4 as RunnerId, bq as Task, p as DiscoveredModel, bm as StoredHandoff, bB as TaskSnapshot, b as AwaitingReason, bH as UsageRecord, b5 as RunnerSessionCost, J as HandoffCommit, bJ as Verdict, aj as LegacyPlanState, by as TaskReportTo, bA as TaskSkillSnapshot, bz as TaskSkillNotice, bn as SubagentOutcome, c as BelowPlan, C as CheckWord, am as Mandate, aq as MandateRequest, ap as MandateRefusal, ad as IsolationTaskRef, b0 as RevertCommand, aa as IsolationRevertTask, h as ConversationMessage, bi as SkillLoadNotice, aw as PendingPlanTurn, K as HandoffDigest, a as AttemptUsage, bw as TaskLoop, bu as TaskIsolation, o as DelegatedRow, b3 as RunSettings, X as IsolationHandoff, aA as PlanUsage, a2 as IsolationMergeResult, aS as ReplyRun, bb as SessionBilling, ar as ModelUsage, bI as UsageTotals, g as ContextFill, aC as PlannerCompaction, s as ExecutionRecord, aZ as ResearchStep, ay as PlanState, ab as IsolationRun, T as IWorktreeIsolation, aR as RepairWait, ag as IsolationView, a9 as IsolationRevertResult, bC as TaskStatus, q as ExecutionActor, w as GuardTrip, at as NodeAuthority, v as GuardTarget, b8 as ScriptBody, r as ExecutionCommandName, aF as PlannerNativeSession, aY as ResearchProgress, aX as ResearchLogEntry, bg as SkillInfo, bh as SkillLoad, bl as SkillsService, aE as PlannerContextPause, a0 as IsolationMergeBlock, _ as IsolationLandedTask, a4 as IsolationPreview, a$ as ResearchToolType, bp as SupervisorLevel, ak as LoopSubject, a_ as ResearchStepOutcome, aD as PlannerCompactionOutcome, aH as PlannerUsage, t as FindingSeverity, bD as TaskType, bo as SubtreeReport, av as PatchView, bv as TaskIsolationState, bE as TaskUsageSummary } from './Task-
|
|
2
|
-
import { q as ApprovalRequest, r as ApprovalSource,
|
|
3
|
-
import { R as RunnerModeInfo } from './ModeResolver-
|
|
1
|
+
import { b4 as RunnerId, bq as Task, p as DiscoveredModel, bm as StoredHandoff, bB as TaskSnapshot, b as AwaitingReason, bH as UsageRecord, b5 as RunnerSessionCost, J as HandoffCommit, bJ as Verdict, aj as LegacyPlanState, by as TaskReportTo, bA as TaskSkillSnapshot, bz as TaskSkillNotice, bn as SubagentOutcome, c as BelowPlan, C as CheckWord, am as Mandate, aq as MandateRequest, ap as MandateRefusal, ad as IsolationTaskRef, b0 as RevertCommand, aa as IsolationRevertTask, h as ConversationMessage, bi as SkillLoadNotice, aw as PendingPlanTurn, K as HandoffDigest, a as AttemptUsage, bw as TaskLoop, bu as TaskIsolation, o as DelegatedRow, b3 as RunSettings, X as IsolationHandoff, aA as PlanUsage, a2 as IsolationMergeResult, aS as ReplyRun, bb as SessionBilling, ar as ModelUsage, bI as UsageTotals, g as ContextFill, aC as PlannerCompaction, s as ExecutionRecord, aZ as ResearchStep, ay as PlanState, ab as IsolationRun, T as IWorktreeIsolation, aR as RepairWait, ag as IsolationView, a9 as IsolationRevertResult, bC as TaskStatus, q as ExecutionActor, w as GuardTrip, at as NodeAuthority, v as GuardTarget, b8 as ScriptBody, r as ExecutionCommandName, aF as PlannerNativeSession, aY as ResearchProgress, aX as ResearchLogEntry, bg as SkillInfo, bh as SkillLoad, bl as SkillsService, aE as PlannerContextPause, a0 as IsolationMergeBlock, _ as IsolationLandedTask, a4 as IsolationPreview, a$ as ResearchToolType, bp as SupervisorLevel, ak as LoopSubject, a_ as ResearchStepOutcome, aD as PlannerCompactionOutcome, aH as PlannerUsage, t as FindingSeverity, bD as TaskType, bo as SubtreeReport, av as PatchView, bv as TaskIsolationState, bE as TaskUsageSummary } from './Task-jF9O6eWO.mjs';
|
|
2
|
+
import { q as ApprovalRequest, r as ApprovalSource, V as IApproval, bR as ToolOutcome, $ as IRunnerSession, a2 as IsolationRunController, W as IConfig, bU as UsageLimitSignal, bD as TaskMessageFrom, b7 as RunnerModelRef, aZ as RunnerCommand, b4 as RunnerMcpServer, bv as StructuredTurnEnd, k as ApprovalDecision, bj as ScriptRun, bk as ScriptStatus, bu as StructuredEvent, al as NodePath, u as BoardDraft, v as BoardEntry, w as BoardPost, t as BoardAuthor, ah as McpToolReply, J as EventStore, j as ApprovalAnswer, aM as QueuedTaskMessage, l as ApprovalKind, Z as INotification, _ as IRunner, b9 as RunnerRegistry, br as SkillLookup, bM as TaskShellSite, bL as TaskShell, K as ExecutionBackend, aT as ReservedLease, d as AgentProcessDeps, a as AgentAdapter, at as OrdewellMcpServer, ar as OpenLease, X as IFileSystem, aA as PlannerModes, a1 as IsolatedExecution, aG as PlannerToolHandler, bJ as TaskRunnerConfig, f as AiProvider, b3 as RunnerManifest, S as Guarantee, b2 as RunnerLaunch, T as GuaranteeReport, az as PlannerBackendId, as as OrchestratorOption, bo as SessionMeta } from './eventStore-1iW5KeCk.mjs';
|
|
3
|
+
import { R as RunnerModeInfo } from './ModeResolver-Clrk1OfJ.mjs';
|
|
4
4
|
import { ChildProcess } from 'child_process';
|
|
5
5
|
|
|
6
6
|
/** What a planned task may be given: the runners it may run on and their modes. */
|
|
@@ -5246,7 +5246,7 @@ declare class CliAgentAiService implements IAiService {
|
|
|
5246
5246
|
/**
|
|
5247
5247
|
* A turn that failed because the runner's own account is signed out is
|
|
5248
5248
|
* recorded for the synchronous planner gate, and the failure opens with the
|
|
5249
|
-
* same
|
|
5249
|
+
* same ways back in the gate would give (ADR-0009, ADR-0052). Only a phrase the
|
|
5250
5250
|
* runner's manifest declares; any other failure is returned untouched.
|
|
5251
5251
|
*
|
|
5252
5252
|
* Judged with the workspace's own environment, the same merged env the
|
|
@@ -5263,6 +5263,8 @@ declare class CliAgentAiService implements IAiService {
|
|
|
5263
5263
|
* left to plan without them (ADR-0025).
|
|
5264
5264
|
*/
|
|
5265
5265
|
private startAdapter;
|
|
5266
|
+
/** Whether the runner uses its token only once a prompt runs, so its first turn spawns it as the attach check (ADR-0060, R5). */
|
|
5267
|
+
private spawnsOnFirstTurn;
|
|
5266
5268
|
private newAdapter;
|
|
5267
5269
|
/** Whether the web-read policy lets the runner's own session-wide search run unasked now (ADR-0027). */
|
|
5268
5270
|
private nativeSearch;
|
|
@@ -6861,6 +6863,76 @@ declare function windowsCommandLine(file: string, args: string[]): string;
|
|
|
6861
6863
|
*/
|
|
6862
6864
|
declare function planDirectLaunch(command: string, args: string[], deps?: LaunchDeps): Promise<LaunchPlan>;
|
|
6863
6865
|
|
|
6866
|
+
/**
|
|
6867
|
+
* A key Ordewell hands an agent in place of its own sign-in (ADR-0060, R9): the
|
|
6868
|
+
* vendor a person picks in the key entry, and the others that would do too.
|
|
6869
|
+
*/
|
|
6870
|
+
interface KeySignInRoute {
|
|
6871
|
+
provider: AiProvider;
|
|
6872
|
+
/** A noun phrase for the other vendors that work, e.g. "any OpenAI-compatible provider". */
|
|
6873
|
+
others?: string;
|
|
6874
|
+
}
|
|
6875
|
+
/**
|
|
6876
|
+
* Every way into one signed-out agent, as data, so the daemon, the terminal,
|
|
6877
|
+
* the headless CLI and VS Code all word it from the same source (ADR-0052).
|
|
6878
|
+
* Built from the manifest and the connector's profile; it crosses the wire
|
|
6879
|
+
* with the runner's verdict.
|
|
6880
|
+
*/
|
|
6881
|
+
interface RunnerSignIn {
|
|
6882
|
+
runner: string;
|
|
6883
|
+
label: string;
|
|
6884
|
+
/** The agent's own login, which Ordewell can run for the person. */
|
|
6885
|
+
login?: string[];
|
|
6886
|
+
key?: {
|
|
6887
|
+
provider: AiProvider;
|
|
6888
|
+
label: string;
|
|
6889
|
+
others?: string;
|
|
6890
|
+
};
|
|
6891
|
+
/** How the agent signs in where Ordewell runs nothing for it, as a clause. */
|
|
6892
|
+
byHand?: string;
|
|
6893
|
+
}
|
|
6894
|
+
/** How one surface spells the ways in a sign-in hint points at. */
|
|
6895
|
+
interface SignInSyntax {
|
|
6896
|
+
/** The surface's own way to run the agent's login, or null where that is the agent's command itself. */
|
|
6897
|
+
login(runner: string): string | null;
|
|
6898
|
+
/** Setting a key for the vendor, where `label` is its name in the key entry. */
|
|
6899
|
+
chooseKey(provider: AiProvider, label: string): string;
|
|
6900
|
+
}
|
|
6901
|
+
declare const TERMINAL_UI_SIGN_IN: SignInSyntax;
|
|
6902
|
+
declare const HEADLESS_CLI_SIGN_IN: SignInSyntax;
|
|
6903
|
+
/** The ways into a runner, from its manifest and, for an ACP agent, its profile's key route. */
|
|
6904
|
+
declare function signInOf(manifest: RunnerManifest, keyRoute?: KeySignInRoute): RunnerSignIn;
|
|
6905
|
+
/** "X is not signed in." and every way in the surface can offer, its own first, then the agent's. */
|
|
6906
|
+
declare function describeSignIn(signIn: RunnerSignIn, syntax: SignInSyntax): string;
|
|
6907
|
+
/**
|
|
6908
|
+
* The ways in alone, as one sentence, or '' where there are none: for an agent
|
|
6909
|
+
* whose sign-in nobody could read, which saying "not signed in" would misstate.
|
|
6910
|
+
*/
|
|
6911
|
+
declare function describeSignInWays(signIn: RunnerSignIn, syntax: SignInSyntax): string;
|
|
6912
|
+
/**
|
|
6913
|
+
* A verdict's ways in. One built without `signIn` (by a producer older than
|
|
6914
|
+
* it, or a test's hand) still names the login command it carried.
|
|
6915
|
+
*/
|
|
6916
|
+
declare function signInOfVerdict(runner: string, label: string, auth: {
|
|
6917
|
+
loginCommand?: string[];
|
|
6918
|
+
signIn?: RunnerSignIn;
|
|
6919
|
+
} | undefined): RunnerSignIn | undefined;
|
|
6920
|
+
/**
|
|
6921
|
+
* What a runner's row says about its sign-in, or null where it has nothing to
|
|
6922
|
+
* say. A signed-out agent gets the hint; one whose sign-in nobody could read
|
|
6923
|
+
* gets its login only, since a key or a by-hand route is no news to someone
|
|
6924
|
+
* who may be signed in already (ADR-0052).
|
|
6925
|
+
*/
|
|
6926
|
+
declare function describeRunnerSignIn(auth: {
|
|
6927
|
+
state: 'signed-in' | 'signed-out' | 'unknown';
|
|
6928
|
+
signIn?: RunnerSignIn;
|
|
6929
|
+
} | undefined, syntax: SignInSyntax): string | null;
|
|
6930
|
+
/**
|
|
6931
|
+
* What a button beside a signed-out agent does: run its login, open the key
|
|
6932
|
+
* entry, or nothing, where the person can only follow the words.
|
|
6933
|
+
*/
|
|
6934
|
+
declare function signInAction(signIn: RunnerSignIn | undefined): 'login' | 'key' | null;
|
|
6935
|
+
|
|
6864
6936
|
/**
|
|
6865
6937
|
* What a runner's own status command answered (ADR-0009). A surface flags a
|
|
6866
6938
|
* planner on `signed-out` and never on `unknown`: only the runner can say its
|
|
@@ -6868,8 +6940,13 @@ declare function planDirectLaunch(command: string, args: string[], deps?: Launch
|
|
|
6868
6940
|
*/
|
|
6869
6941
|
interface RunnerAuth {
|
|
6870
6942
|
state: 'signed-in' | 'signed-out' | 'unknown';
|
|
6871
|
-
/**
|
|
6943
|
+
/**
|
|
6944
|
+
* The runner command plus its login args, so a surface runs the same login
|
|
6945
|
+
* the CLI would. Absent where the agent has no login of its own to run.
|
|
6946
|
+
*/
|
|
6872
6947
|
loginCommand?: string[];
|
|
6948
|
+
/** Every way into the agent, which each surface words with `describeSignIn` (ADR-0052). */
|
|
6949
|
+
signIn?: RunnerSignIn;
|
|
6873
6950
|
/** A short, credential-free reason — the status command's own wording, never its output. */
|
|
6874
6951
|
detail?: string;
|
|
6875
6952
|
}
|
|
@@ -6900,8 +6977,43 @@ interface ReadRunnerAuthOptions {
|
|
|
6900
6977
|
* and workspace environment a planner would use, and judges only that answer.
|
|
6901
6978
|
*/
|
|
6902
6979
|
declare function readRunnerAuth(manifest: RunnerManifest, options?: ReadRunnerAuthOptions): Promise<RunnerAuth>;
|
|
6980
|
+
/**
|
|
6981
|
+
* Every way into a runner: its manifest's login and by-hand route, and the key
|
|
6982
|
+
* its connector reads. A runner may be a plugin's, which has no connector.
|
|
6983
|
+
*/
|
|
6984
|
+
declare function runnerSignIn(runner: RunnerManifest): RunnerSignIn;
|
|
6985
|
+
declare function runnerSignIn(runner: string): RunnerSignIn | undefined;
|
|
6986
|
+
/**
|
|
6987
|
+
* A message one surface worded, with each shipped runner's sign-in hint said
|
|
6988
|
+
* in another's syntax. The daemon words for the terminal UI, since it cannot
|
|
6989
|
+
* know who reads; a client without slash commands re-words what reaches it.
|
|
6990
|
+
*/
|
|
6991
|
+
declare function rewordSignIn(message: string, from: SignInSyntax, to: SignInSyntax): string;
|
|
6992
|
+
/** A signed-out verdict always carries the ways in, so whatever reports it can name them. */
|
|
6993
|
+
type SignedOutAuth = RunnerAuth & {
|
|
6994
|
+
state: 'signed-out';
|
|
6995
|
+
signIn: RunnerSignIn;
|
|
6996
|
+
};
|
|
6997
|
+
/**
|
|
6998
|
+
* A failed turn's own words as the runner's signed-out verdict. Only a phrase
|
|
6999
|
+
* the manifest declares — its `signedOut` line, or a reader that can judge the
|
|
7000
|
+
* message — so an unrelated failure is never turned into a login wall. The
|
|
7001
|
+
* reader judges first, with `env`, the environment the probe and the planner
|
|
7002
|
+
* use for this workspace (ADR-0016): the runner's own config under a custom
|
|
7003
|
+
* `CODEX_HOME`/`HOME` can make its "Not logged in" line not this user's
|
|
7004
|
+
* answer. The regex is the fallback only where there is no reader to judge.
|
|
7005
|
+
* It asks nothing: the turn has already told us.
|
|
7006
|
+
*/
|
|
7007
|
+
declare function signedOutFromFailure(manifest: RunnerManifest, message: string, env?: NodeJS.ProcessEnv): SignedOutAuth | undefined;
|
|
6903
7008
|
declare function recordRunnerAuth(runner: string, auth: RunnerAuth, workspace?: string): void;
|
|
6904
7009
|
declare function recordedRunnerAuth(runner: string, workspace?: string): RunnerAuth | undefined;
|
|
7010
|
+
/**
|
|
7011
|
+
* Forget every signed-out verdict, in every workspace. A provider key saved in
|
|
7012
|
+
* Ordewell can sign an agent in with no login of its own (ADR-0060, R9), so a
|
|
7013
|
+
* refusal recorded before it says nothing about the next start, which records
|
|
7014
|
+
* its own.
|
|
7015
|
+
*/
|
|
7016
|
+
declare function forgetSignedOutRunnerAuth(): void;
|
|
6905
7017
|
/** For tests: the record is process-wide, so one case's verdict must not decide the next's. */
|
|
6906
7018
|
declare function resetRunnerAuth(): void;
|
|
6907
7019
|
|
|
@@ -7206,7 +7318,7 @@ interface DockerCall {
|
|
|
7206
7318
|
interface DockerCli {
|
|
7207
7319
|
call(args: readonly string[], opts?: DockerCall): Promise<DockerResult>;
|
|
7208
7320
|
/** A command that runs for as long as a container does, with its stdio left open. */
|
|
7209
|
-
entry(args: readonly string[]): Promise<ChildProcess>;
|
|
7321
|
+
entry(args: readonly string[], opts?: Pick<DockerCall, 'env'>): Promise<ChildProcess>;
|
|
7210
7322
|
}
|
|
7211
7323
|
|
|
7212
7324
|
/** What a task's container holds for its runner to find. */
|
|
@@ -7363,7 +7475,7 @@ type PlannerNotReady = {
|
|
|
7363
7475
|
provider: PlannerBackendId;
|
|
7364
7476
|
label: string;
|
|
7365
7477
|
runner: string;
|
|
7366
|
-
|
|
7478
|
+
signIn: RunnerSignIn;
|
|
7367
7479
|
};
|
|
7368
7480
|
/** A runner's latest login verdict, read synchronously because every planner turn is judged that way. */
|
|
7369
7481
|
type RunnerAuthLookup = (runner: string) => RunnerAuth | undefined;
|
|
@@ -7389,12 +7501,11 @@ declare function plannerNotReady(config: PlannerReadinessConfig, auth?: RunnerAu
|
|
|
7389
7501
|
* judges through this too, so none can let through what another refuses.
|
|
7390
7502
|
*/
|
|
7391
7503
|
declare function plannerNotReadyFor(config: Pick<IConfig, 'aiProvider' | 'orchestratorModel' | 'planningModel' | 'openaiCompatibleBaseUrl' | 'getProviderApiKey'>, auth?: RunnerAuthLookup): PlannerNotReady | null;
|
|
7392
|
-
/** How one surface spells the commands a not-ready message points at. */
|
|
7393
|
-
interface PlannerCommandSyntax {
|
|
7504
|
+
/** How one surface spells the commands a not-ready message points at, a sign-in hint's included. */
|
|
7505
|
+
interface PlannerCommandSyntax extends SignInSyntax {
|
|
7394
7506
|
pickPlanner: string;
|
|
7395
7507
|
setKey(provider: AiProvider): string;
|
|
7396
7508
|
setModel: string;
|
|
7397
|
-
login(loginCommand: readonly string[]): string;
|
|
7398
7509
|
}
|
|
7399
7510
|
declare const TERMINAL_UI_COMMANDS: PlannerCommandSyntax;
|
|
7400
7511
|
/** The VS Code chat shares the terminal's slash commands: its Planner panel and `/planner` own the model. */
|
|
@@ -7538,6 +7649,12 @@ interface ModelsResponse {
|
|
|
7538
7649
|
orchestratorModels: OrchestratorOption[];
|
|
7539
7650
|
/** Per-provider catalog-fetch failures, keyed by provider id. */
|
|
7540
7651
|
providerErrors: Record<string, string>;
|
|
7652
|
+
/**
|
|
7653
|
+
* Why a runner whose catalog is empty lists nothing, keyed by runner id, as
|
|
7654
|
+
* its resolver words it: a signed-out runner names its sign-in routes, which
|
|
7655
|
+
* a refresh alone cannot take. Absent for a runner that said nothing.
|
|
7656
|
+
*/
|
|
7657
|
+
runnerErrors: Record<string, string>;
|
|
7541
7658
|
}
|
|
7542
7659
|
/** One-shot planning answers in the phase-tagged shape a saved session is read back in. */
|
|
7543
7660
|
interface GeneratePlanResponse extends Pick<ModelsResponse, 'models' | 'modelsByRunner'> {
|
|
@@ -9205,4 +9322,4 @@ declare function parseDelegation(arg: string): number | null;
|
|
|
9205
9322
|
/** A whole number at least `min`, as typed; null for anything else. */
|
|
9206
9323
|
declare function parseCount(arg: string | undefined, min: number): number | null;
|
|
9207
9324
|
|
|
9208
|
-
export { type ContainerChange as $, ACT_RISK as A, BatchQuoteError as B, CHAT_COMMANDS as C, type CancelResumeResponse as D, type Carved as E, type ChildControlOutcome as F, type ChildListResponse as G, type ChildMessageOutcome as H, type ChildMessageResponse as I, type ChildPlanEntry as J, type ChildPlanResponse as K, type ChildPlanView as L, type ChildTaskControl as M, type ChildTaskControlResponse as N, type ChildTreeFrame as O, CliAgentAiService as P, type CliAgentAiServiceDeps as Q, type CommandBlock as R, type CommandDescriptor as S, CommandLineTooLongError as T, type CommandOutcome as U, type CommandPayload as V, type CommandStatus as W, type CommandsResponse as X, type CompactionBlock as Y, type CompactionStatus as Z, type Consent as _, AUTORUN_RISK as a, type LaunchPlan as a$, type ContainerChangeResponse as a0, type ContainerGuaranteeLine as a1, type ContainerProblem as a2, type ContainerStatus as a3, type ContextCondenseRequest as a4, ConversationBusyError as a5, type ConversationCompactResponse as a6, type ConversationCompaction as a7, ConversationEditError as a8, type ConversationForkResponse as a9, type EscalationOptionId as aA, type EscalationRun as aB, type EscalationsResponse as aC, ExecutableNotFoundError as aD, type ExecuteCommandResponse as aE, type ExecuteResponse as aF, type ExecutionCommand as aG, ExecutionCommands as aH, type ExecutionHost as aI, type ExecutionSummary as aJ, type GatedConversation as aK, type GeneratePlanResponse as aL, type GlobalRunSettings as aM, HEADLESS_CLI_COMMANDS as aN, type HandoffBlock as aO, type HandoffForkRepo as aP, type HandoffPeekSubject as aQ, type IAiService as aR, IDLE_ACTIVITY as aS, type IWebFetcher as aT, type IsolationDiffResponse as aU, type IsolationMergeResponse as aV, type IsolationPreviewNotice as aW, type IsolationPreviewResponse as aX, LEASE_HEARTBEAT_MS as aY, LEASE_STALE_MS as aZ, type LaunchDeps as a_, type ConversationInput as aa, type ConversationRequest as ab, type ConversationRewindResponse as ac, type ConversationTurn as ad, type ConversationView as ae, DEFAULT_WEB_READ_BUDGET as af, DELEGATION_OFFERED as ag, DELEGATION_RISK as ah, type DaemonErrorCode as ai, type DecideOptions as aj, type DiffRow as ak, type DiffRowKind as al, type DiffStat as am, type DisplayBlock as an, type DockerCli as ao, EMPTY_CONVERSATION as ap, EMPTY_HOLD as aq, EMPTY_RUN as ar, EMPTY_TASK_LOG as as, EMPTY_TASK_LOG_FOLLOW as at, EmbeddedNewlineError as au, type ErrorBody as av, type Escalation as aw, type EscalationInput as ax, type EscalationKind as ay, type EscalationOption as az, type AccountLimitBucket as b, type ReadRunnerAuthOptions as b$, LeaseHost as b0, type LeaseHostKind as b1, type LeaseHostOptions as b2, type LiveOutputLookup as b3, type LiveTail as b4, type LiveTailOptions as b5, type LocalEntry as b6, type LoopCheckFacts as b7, type LoopCheckState as b8, type LoopGuard as b9, type PlanBlocks as bA, type PlanIntake as bB, type PlanMarkerStatus as bC, type PlanResponse as bD, type PlanSnapshot as bE, PlanStore as bF, type PlannerCommandSyntax as bG, type PlannerContextDeps as bH, type PlannerContextStatus as bI, PlannerConversation as bJ, type PlannerConversationHost as bK, type PlannerModelCandidate as bL, type PlannerModelChoice as bM, PlannerModelMemory as bN, type PlannerModelRecall as bO, type PlannerModelStore as bP, type PlannerNotReady as bQ, PlannerNotReadyError as bR, type PlannerReadinessConfig as bS, type PlannerSubmission as bT, PlannerTurnDiscardedError as bU, PlannerTurnStoppedError as bV, PlannerUsageLimitError as bW, type PrdResponse as bX, type PromptHold as bY, REPORT_PREVIEW_LINES as bZ, RUN_SETTINGS_DEFAULTS as b_, type MappedTool as ba, type MarkdownToken as bb, type MergeGateEntry as bc, type MergeGateResponse as bd, type MergeWordingHandoff as be, type MessageBlock as bf, type MessageRole as bg, type ModelsResponse as bh, NOT_STARTED as bi, NO_TURN as bj, type NewTaskFields as bk, NodeBoard as bl, type NodeBudget as bm, OUTPUT_LINES_DEFAULT as bn, OUTPUT_LINES_MAX as bo, type OkResponse as bp, type OpRef as bq, type OpRefusal as br, type OrchestratorObserver as bs, type OutputPreview as bt, type OverrideDirection as bu, PLANNED_WITH_LABEL as bv, type PendingApproval as bw, PendingApprovals as bx, type PendingApprovalsOptions as by, type PlanBlock as bz, type AccountLimitSnapshot as c, type SubtreeItemView as c$, type RefTask as c0, ResearchTasks as c1, type ResolveAll as c2, type ResolveConflictResponse as c3, type RevertPreviewTask as c4, type RevertRefusal as c5, type RevertRefusalReason as c6, type RevertScope as c7, type RewindTarget as c8, type RewindTargetsResponse as c9, type SerializedTaskStatus as cA, type ServerInfoResponse as cB, type SessionBroadcaster as cC, type SessionFrame as cD, type SessionHeld as cE, SessionHeldError as cF, type SessionLease as cG, type SessionLeaseRecord as cH, type SessionListResponse as cI, type SessionMessage as cJ, type SessionNotice as cK, type SessionResponse as cL, type SettingsResponse as cM, SettingsService as cN, type SettingsUpdateResponse as cO, type SkillInvocation as cP, type SkillLoadBlock as cQ, type SkillToken as cR, SlotPool as cS, type StartAdmission as cT, type StopResponse as cU, type StreamStamp as cV, type SubagentBlock as cW, type SubagentChild as cX, type SubagentStatus as cY, type SubplannerBrief as cZ, Subtree as c_, type RunActivity as ca, type RunInput as cb, type RunMergeView as cc, RunSettingsError as cd, type RunSnapshotFrame as ce, type RunTask as cf, type RunTaskStatus as cg, type RunView as ch, type RunnerAuth as ci, type RunnerAuthExec as cj, type RunnerAuthExecOptions as ck, type RunnerAuthExecResult as cl, type RunnerCatalog as cm, type RunnerLoadedBlock as cn, type RunnersResponse as co, STALLED_LABEL as cp, STOPPED_BEFORE_START as cq, STOPPING_LABEL as cr, SUBPLANNER_ACCOUNTING as cs, SUBPLANNER_CHILD as ct, SUBPLANNER_SCOPE as cu, SUPERVISOR_LEVEL_LABEL as cv, type SerializedConversationMessage as cw, type SerializedPendingTurn as cx, type SerializedPlan as cy, type SerializedTask as cz, type AccountLimitStatus as d, WINDOWS_MAX_COMMAND_LINE as d$, type SubtreeView as d0, type SurfacePlan as d1, type SurfacePlanState as d2, type SurfaceTask as d3, TASK_QUERY_ANSWER_MAX_CHARS as d4, TASK_QUERY_ANSWER_OR_OPS as d5, TASK_QUERY_FIELDS as d6, TASK_QUERY_PROTOCOL as d7, TASK_QUERY_REMINDER as d8, TERMINAL_UI_COMMANDS as d9, type TaskRef as dA, type TaskRevertPreview as dB, type TaskRevertPreviewResponse as dC, type TaskRowAction as dD, type TaskRowContext as dE, type TaskRowDelegated as dF, type TaskRowHandoff as dG, type TaskRowIsolation as dH, type TaskRowKind as dI, type TaskRowLoop as dJ, type TaskRowPlacement as dK, type TaskRowSubject as dL, type TaskRowUsage as dM, type TaskRowView as dN, type TaskRunFacts as dO, type TaskStatusKind as dP, type ThinkingDisplayBlock as dQ, type ToolBlock as dR, type ToolHeadline as dS, type ToolStatus as dT, TreeLedger as dU, type TreeTask as dV, TurnBudgets as dW, type TurnGate as dX, type UsageBlock as dY, type UserSettings as dZ, WAITS_FOR_APPROVAL_LABEL as d_, type TakenPrompt as da, type TaskAction as db, type TaskActivity as dc, type TaskAttemptSnapshot as dd, type TaskLogAttemptsResponse as de, type TaskLogBatch as df, type TaskLogEvent as dg, type TaskLogFollow as dh, type TaskLogFollowInput as di, type TaskLogHeaderKind as dj, type TaskLogHeaderTask as dk, type TaskLogHeaderUsage as dl, type TaskLogHeaderView as dm, type TaskLogResponse as dn, type TaskLogView as dp, type TaskMessageResponse as dq, type TaskOp as dr, TaskOrchestrator as ds, type TaskOrchestratorDeps as dt, type TaskOrchestratorOptions as du, type TaskOutputSource as dv, type TaskPlacement as dw, type TaskQuery as dx, type TaskQueryCatalog as dy, type TaskQueryField as dz, type AccountLimitWindow as e, editableWhileRunning as e$, type WakeUpItem as e0, type WebRead as e1, type WebReadDecision as e2, type WebReadOptions as e3, WebReadPolicy as e4, type Worded as e5, type WorkspacesResponse as e6, abbreviateHome as e7, accountLimitPercentText as e8, accountLimitWindowLabel as e9, changeContainers as eA, checkoutRule as eB, classifyOutcome as eC, closeTurn as eD, coalesceTaskLog as eE, compactionText as eF, confirmedOverride as eG, containerStatus as eH, containersOffered as eI, createAiService as eJ, delegatedRowView as eK, delegationSummary as eL, dependencyCandidates as eM, dependentsNotice as eN, dependentsOf as eO, describeContainers as eP, describeHeld as eQ, describeHolder as eR, describeIsolationPreview as eS, describeMergeResult as eT, describePlannerNotReady as eU, describeProblems as eV, diffRows as eW, diffStat as eX, diffSummary as eY, digestTaskLog as eZ, drainNext as e_, accountLimitsOf as ea, accountLimitsText as eb, accountLimitsTitle as ec, activityLabel as ed, aheadOfDraft as ee, applyTaskOps as ef, approvalKindText as eg, approvalLabel as eh, approvalStatusText as ei, assignedRunnerOf as ej, assignmentIssue as ek, assignmentIssueText as el, attachingLabel as em, automergeSummary as en, autorunSummary as eo, awaitingLabel as ep, blockNotice as eq, blockNotices as er, blockedByLabel as es, blockingFailures as et, canMergeTasks as eu, canSetDependencies as ev, canSplitTask as ew, capConflictFiles as ex, cardEditNeedsUnstarted as ey, cardEditable as ez, type AccountLimitsFrame as f, processLeaseHost as f$, elapsedSince as f0, escalations as f1, executionSummary as f2, followTaskLog as f3, followTurn as f4, formatElapsed as f5, fromTranscript as f6, getSettingsPath as f7, handoffBaseLine as f8, handoffBranchName as f9, markdownHtml as fA, markdownTokens as fB, mergeOutcome as fC, mergePastChecksConfirmation as fD, mergeTarget as fE, namedRepos as fF, newTaskFields as fG, noExecutorRefusal as fH, normalizeAgentArgs as fI, opRefusalText as fJ, opsEditable as fK, outputLines as fL, outputPreview as fM, overrideNeedsConfirmation as fN, parseCount as fO, parseDelegation as fP, parseSwitch as fQ, parseTaskOpsJson as fR, parseTaskQueryJson as fS, pastGateConfirmation as fT, planBlocks as fU, planDirectLaunch as fV, planMarkerParts as fW, plannerMessage as fX, plannerNotReady as fY, plannerNotReadyFor as fZ, plannerTranscript as f_, handoffFindingsText as fa, handoffPeekParts as fb, hasAccountLimits as fc, hasHiddenDetail as fd, hasLongReport as fe, holdLabel as ff, holdPrompt as fg, isExecutableResolved as fh, isFileEditTool as fi, isRepoGroup as fj, isTaskRunning as fk, keptDelegationBudget as fl, lastServedModel as fm, loadedSkillTokens as fn, logContinues as fo, logResumes as fp, loopBodyLabel as fq, loopBodyRound as fr, loopCheckLabel as fs, loopCheckState as ft, loopLeaveNotice as fu, loopRowParts as fv, manualOverrideConfirmation as fw, manualOverrideStopFirst as fx, mapAgentTool as fy, markAction as fz, type AccountLimitsMessage as g, textHasTaskQuery as g$, ranSealed as g0, readRunnerAuth as g1, receiptLabel as g2, reconcileApprovals as g3, recordRunnerAuth as g4, recordedRunnerAuth as g5, reduceConversation as g6, reduceRun as g7, reduceTaskLog as g8, rememberDelegationBudget as g9, serializeTaskStatus as gA, skillTokens as gB, skippedLabel as gC, stopTurn as gD, subtreeIds as gE, subtreeView as gF, summarizeToolCall as gG, supervisorSummary as gH, surfacePlan as gI, surfacePlanState as gJ, takeAt as gK, taskActionCommand as gL, taskActivity as gM, taskChatAvailable as gN, taskLogCommands as gO, taskLogForSurface as gP, taskLogHeaderView as gQ, taskOrderLabel as gR, taskPlacement as gS, taskQuerySignature as gT, taskRef as gU, taskRefOf as gV, taskRowActions as gW, taskRowView as gX, taskStartedNotice as gY, taskStatusKind as gZ, textHasTaskOps as g_, renderTaskQueryAnswer as ga, repairWaitLabel as gb, repairedLanded as gc, repairedNotice as gd, repeatingChecks as ge, replayTaskLog as gf, repoBaseLine as gg, repoResultLines as gh, reposWithWork as gi, resetRunnerAuth as gj, resolveSkillInvocation as gk, resolveTaskRef as gl, resolveUserTaskRef as gm, resumeLabel as gn, resumeTime as go, revertEffect as gp, revertListLine as gq, revertTaskRef as gr, runHoldsEditors as gs, runSettingsOf as gt, runnerToolSubject as gu, scriptExitText as gv, scriptRunText as gw, secondsText as gx, serializePlan as gy, serializeTask as gz, type AdoptSessionResponse as h, titledRefs as h0, titledTaskRef as h1, titledTaskRefOf as h2, toTaskLogEvent as h3, toolHeadline as h4, trailerSummary as h5, trimToolOutput as h6, truncateCheckpointSummary as h7, unsendAll as h8, unsendLatest as h9, wakeUpItems as ha, walkPlan as hb, windowsCommandLine as hc, withoutSealedMark as hd, workspaceEnvOf as he, type AnswerEscalationRequest as i, type ApplyTaskOpsResult as j, type ApprovalAnswerResponse as k, type ApprovalBlock as l, type ApprovalRequestMessage as m, type ApprovalStatus as n, type ApprovalsResponse as o, type ApproveReviewResponse as p, type AskOptions as q, type AssignmentCatalog as r, type AssignmentIssue as s, type AssignmentScope as t, type AssignmentWriter as u, type AutoMergeTrigger as v, type BlockingSubject as w, CHECKPOINT_TRUNCATE_LENGTH as x, CMD_EXE_MAX_COMMAND_LINE as y, type CancelPlanningResponse as z };
|
|
9325
|
+
export { type ContainerChange as $, ACT_RISK as A, BatchQuoteError as B, CHAT_COMMANDS as C, type CancelResumeResponse as D, type Carved as E, type ChildControlOutcome as F, type ChildListResponse as G, type ChildMessageOutcome as H, type ChildMessageResponse as I, type ChildPlanEntry as J, type ChildPlanResponse as K, type ChildPlanView as L, type ChildTaskControl as M, type ChildTaskControlResponse as N, type ChildTreeFrame as O, CliAgentAiService as P, type CliAgentAiServiceDeps as Q, type CommandBlock as R, type CommandDescriptor as S, CommandLineTooLongError as T, type CommandOutcome as U, type CommandPayload as V, type CommandStatus as W, type CommandsResponse as X, type CompactionBlock as Y, type CompactionStatus as Z, type Consent as _, AUTORUN_RISK as a, LEASE_STALE_MS as a$, type ContainerChangeResponse as a0, type ContainerGuaranteeLine as a1, type ContainerProblem as a2, type ContainerStatus as a3, type ContextCondenseRequest as a4, ConversationBusyError as a5, type ConversationCompactResponse as a6, type ConversationCompaction as a7, ConversationEditError as a8, type ConversationForkResponse as a9, type EscalationOptionId as aA, type EscalationRun as aB, type EscalationsResponse as aC, ExecutableNotFoundError as aD, type ExecuteCommandResponse as aE, type ExecuteResponse as aF, type ExecutionCommand as aG, ExecutionCommands as aH, type ExecutionHost as aI, type ExecutionSummary as aJ, type GatedConversation as aK, type GeneratePlanResponse as aL, type GlobalRunSettings as aM, HEADLESS_CLI_COMMANDS as aN, HEADLESS_CLI_SIGN_IN as aO, type HandoffBlock as aP, type HandoffForkRepo as aQ, type HandoffPeekSubject as aR, type IAiService as aS, IDLE_ACTIVITY as aT, type IWebFetcher as aU, type IsolationDiffResponse as aV, type IsolationMergeResponse as aW, type IsolationPreviewNotice as aX, type IsolationPreviewResponse as aY, type KeySignInRoute as aZ, LEASE_HEARTBEAT_MS as a_, type ConversationInput as aa, type ConversationRequest as ab, type ConversationRewindResponse as ac, type ConversationTurn as ad, type ConversationView as ae, DEFAULT_WEB_READ_BUDGET as af, DELEGATION_OFFERED as ag, DELEGATION_RISK as ah, type DaemonErrorCode as ai, type DecideOptions as aj, type DiffRow as ak, type DiffRowKind as al, type DiffStat as am, type DisplayBlock as an, type DockerCli as ao, EMPTY_CONVERSATION as ap, EMPTY_HOLD as aq, EMPTY_RUN as ar, EMPTY_TASK_LOG as as, EMPTY_TASK_LOG_FOLLOW as at, EmbeddedNewlineError as au, type ErrorBody as av, type Escalation as aw, type EscalationInput as ax, type EscalationKind as ay, type EscalationOption as az, type AccountLimitBucket as b, REPORT_PREVIEW_LINES as b$, type LaunchDeps as b0, type LaunchPlan as b1, LeaseHost as b2, type LeaseHostKind as b3, type LeaseHostOptions as b4, type LiveOutputLookup as b5, type LiveTail as b6, type LiveTailOptions as b7, type LocalEntry as b8, type LoopCheckFacts as b9, type PendingApprovalsOptions as bA, type PlanBlock as bB, type PlanBlocks as bC, type PlanIntake as bD, type PlanMarkerStatus as bE, type PlanResponse as bF, type PlanSnapshot as bG, PlanStore as bH, type PlannerCommandSyntax as bI, type PlannerContextDeps as bJ, type PlannerContextStatus as bK, PlannerConversation as bL, type PlannerConversationHost as bM, type PlannerModelCandidate as bN, type PlannerModelChoice as bO, PlannerModelMemory as bP, type PlannerModelRecall as bQ, type PlannerModelStore as bR, type PlannerNotReady as bS, PlannerNotReadyError as bT, type PlannerReadinessConfig as bU, type PlannerSubmission as bV, PlannerTurnDiscardedError as bW, PlannerTurnStoppedError as bX, PlannerUsageLimitError as bY, type PrdResponse as bZ, type PromptHold as b_, type LoopCheckState as ba, type LoopGuard as bb, type MappedTool as bc, type MarkdownToken as bd, type MergeGateEntry as be, type MergeGateResponse as bf, type MergeWordingHandoff as bg, type MessageBlock as bh, type MessageRole as bi, type ModelsResponse as bj, NOT_STARTED as bk, NO_TURN as bl, type NewTaskFields as bm, NodeBoard as bn, type NodeBudget as bo, OUTPUT_LINES_DEFAULT as bp, OUTPUT_LINES_MAX as bq, type OkResponse as br, type OpRef as bs, type OpRefusal as bt, type OrchestratorObserver as bu, type OutputPreview as bv, type OverrideDirection as bw, PLANNED_WITH_LABEL as bx, type PendingApproval as by, PendingApprovals as bz, type AccountLimitSnapshot as c, type SubagentChild as c$, RUN_SETTINGS_DEFAULTS as c0, type ReadRunnerAuthOptions as c1, type RefTask as c2, ResearchTasks as c3, type ResolveAll as c4, type ResolveConflictResponse as c5, type RevertPreviewTask as c6, type RevertRefusal as c7, type RevertRefusalReason as c8, type RevertScope as c9, type SerializedPendingTurn as cA, type SerializedPlan as cB, type SerializedTask as cC, type SerializedTaskStatus as cD, type ServerInfoResponse as cE, type SessionBroadcaster as cF, type SessionFrame as cG, type SessionHeld as cH, SessionHeldError as cI, type SessionLease as cJ, type SessionLeaseRecord as cK, type SessionListResponse as cL, type SessionMessage as cM, type SessionNotice as cN, type SessionResponse as cO, type SettingsResponse as cP, SettingsService as cQ, type SettingsUpdateResponse as cR, type SignInSyntax as cS, type SkillInvocation as cT, type SkillLoadBlock as cU, type SkillToken as cV, SlotPool as cW, type StartAdmission as cX, type StopResponse as cY, type StreamStamp as cZ, type SubagentBlock as c_, type RewindTarget as ca, type RewindTargetsResponse as cb, type RunActivity as cc, type RunInput as cd, type RunMergeView as ce, RunSettingsError as cf, type RunSnapshotFrame as cg, type RunTask as ch, type RunTaskStatus as ci, type RunView as cj, type RunnerAuth as ck, type RunnerAuthExec as cl, type RunnerAuthExecOptions as cm, type RunnerAuthExecResult as cn, type RunnerCatalog as co, type RunnerLoadedBlock as cp, type RunnerSignIn as cq, type RunnersResponse as cr, STALLED_LABEL as cs, STOPPED_BEFORE_START as ct, STOPPING_LABEL as cu, SUBPLANNER_ACCOUNTING as cv, SUBPLANNER_CHILD as cw, SUBPLANNER_SCOPE as cx, SUPERVISOR_LEVEL_LABEL as cy, type SerializedConversationMessage as cz, type AccountLimitStatus as d, TurnBudgets as d$, type SubagentStatus as d0, type SubplannerBrief as d1, Subtree as d2, type SubtreeItemView as d3, type SubtreeView as d4, type SurfacePlan as d5, type SurfacePlanState as d6, type SurfaceTask as d7, TASK_QUERY_ANSWER_MAX_CHARS as d8, TASK_QUERY_ANSWER_OR_OPS as d9, type TaskOutputSource as dA, type TaskPlacement as dB, type TaskQuery as dC, type TaskQueryCatalog as dD, type TaskQueryField as dE, type TaskRef as dF, type TaskRevertPreview as dG, type TaskRevertPreviewResponse as dH, type TaskRowAction as dI, type TaskRowContext as dJ, type TaskRowDelegated as dK, type TaskRowHandoff as dL, type TaskRowIsolation as dM, type TaskRowKind as dN, type TaskRowLoop as dO, type TaskRowPlacement as dP, type TaskRowSubject as dQ, type TaskRowUsage as dR, type TaskRowView as dS, type TaskRunFacts as dT, type TaskStatusKind as dU, type ThinkingDisplayBlock as dV, type ToolBlock as dW, type ToolHeadline as dX, type ToolStatus as dY, TreeLedger as dZ, type TreeTask as d_, TASK_QUERY_FIELDS as da, TASK_QUERY_PROTOCOL as db, TASK_QUERY_REMINDER as dc, TERMINAL_UI_COMMANDS as dd, TERMINAL_UI_SIGN_IN as de, type TakenPrompt as df, type TaskAction as dg, type TaskActivity as dh, type TaskAttemptSnapshot as di, type TaskLogAttemptsResponse as dj, type TaskLogBatch as dk, type TaskLogEvent as dl, type TaskLogFollow as dm, type TaskLogFollowInput as dn, type TaskLogHeaderKind as dp, type TaskLogHeaderTask as dq, type TaskLogHeaderUsage as dr, type TaskLogHeaderView as ds, type TaskLogResponse as dt, type TaskLogView as du, type TaskMessageResponse as dv, type TaskOp as dw, TaskOrchestrator as dx, type TaskOrchestratorDeps as dy, type TaskOrchestratorOptions as dz, type AccountLimitWindow as e, describeRunnerSignIn as e$, type TurnGate as e0, type UsageBlock as e1, type UserSettings as e2, WAITS_FOR_APPROVAL_LABEL as e3, WINDOWS_MAX_COMMAND_LINE as e4, type WakeUpItem as e5, type WebRead as e6, type WebReadDecision as e7, type WebReadOptions as e8, WebReadPolicy as e9, canSetDependencies as eA, canSplitTask as eB, capConflictFiles as eC, cardEditNeedsUnstarted as eD, cardEditable as eE, changeContainers as eF, checkoutRule as eG, classifyOutcome as eH, closeTurn as eI, coalesceTaskLog as eJ, compactionText as eK, confirmedOverride as eL, containerStatus as eM, containersOffered as eN, createAiService as eO, delegatedRowView as eP, delegationSummary as eQ, dependencyCandidates as eR, dependentsNotice as eS, dependentsOf as eT, describeContainers as eU, describeHeld as eV, describeHolder as eW, describeIsolationPreview as eX, describeMergeResult as eY, describePlannerNotReady as eZ, describeProblems as e_, type Worded as ea, type WorkspacesResponse as eb, abbreviateHome as ec, accountLimitPercentText as ed, accountLimitWindowLabel as ee, accountLimitsOf as ef, accountLimitsText as eg, accountLimitsTitle as eh, activityLabel as ei, aheadOfDraft as ej, applyTaskOps as ek, approvalKindText as el, approvalLabel as em, approvalStatusText as en, assignedRunnerOf as eo, assignmentIssue as ep, assignmentIssueText as eq, attachingLabel as er, automergeSummary as es, autorunSummary as et, awaitingLabel as eu, blockNotice as ev, blockNotices as ew, blockedByLabel as ex, blockingFailures as ey, canMergeTasks as ez, type AccountLimitsFrame as f, parseTaskQueryJson as f$, describeSignIn as f0, describeSignInWays as f1, diffRows as f2, diffStat as f3, diffSummary as f4, digestTaskLog as f5, drainNext as f6, editableWhileRunning as f7, elapsedSince as f8, escalations as f9, loopBodyRound as fA, loopCheckLabel as fB, loopCheckState as fC, loopLeaveNotice as fD, loopRowParts as fE, manualOverrideConfirmation as fF, manualOverrideStopFirst as fG, mapAgentTool as fH, markAction as fI, markdownHtml as fJ, markdownTokens as fK, mergeOutcome as fL, mergePastChecksConfirmation as fM, mergeTarget as fN, namedRepos as fO, newTaskFields as fP, noExecutorRefusal as fQ, normalizeAgentArgs as fR, opRefusalText as fS, opsEditable as fT, outputLines as fU, outputPreview as fV, overrideNeedsConfirmation as fW, parseCount as fX, parseDelegation as fY, parseSwitch as fZ, parseTaskOpsJson as f_, executionSummary as fa, followTaskLog as fb, followTurn as fc, forgetSignedOutRunnerAuth as fd, formatElapsed as fe, fromTranscript as ff, getSettingsPath as fg, handoffBaseLine as fh, handoffBranchName as fi, handoffFindingsText as fj, handoffPeekParts as fk, hasAccountLimits as fl, hasHiddenDetail as fm, hasLongReport as fn, holdLabel as fo, holdPrompt as fp, isExecutableResolved as fq, isFileEditTool as fr, isRepoGroup as fs, isTaskRunning as ft, keptDelegationBudget as fu, lastServedModel as fv, loadedSkillTokens as fw, logContinues as fx, logResumes as fy, loopBodyLabel as fz, type AccountLimitsMessage as g, taskActivity as g$, pastGateConfirmation as g0, planBlocks as g1, planDirectLaunch as g2, planMarkerParts as g3, plannerMessage as g4, plannerNotReady as g5, plannerNotReadyFor as g6, plannerTranscript as g7, processLeaseHost as g8, ranSealed as g9, revertTaskRef as gA, rewordSignIn as gB, runHoldsEditors as gC, runSettingsOf as gD, runnerSignIn as gE, runnerToolSubject as gF, scriptExitText as gG, scriptRunText as gH, secondsText as gI, serializePlan as gJ, serializeTask as gK, serializeTaskStatus as gL, signInAction as gM, signInOf as gN, signInOfVerdict as gO, signedOutFromFailure as gP, skillTokens as gQ, skippedLabel as gR, stopTurn as gS, subtreeIds as gT, subtreeView as gU, summarizeToolCall as gV, supervisorSummary as gW, surfacePlan as gX, surfacePlanState as gY, takeAt as gZ, taskActionCommand as g_, readRunnerAuth as ga, receiptLabel as gb, reconcileApprovals as gc, recordRunnerAuth as gd, recordedRunnerAuth as ge, reduceConversation as gf, reduceRun as gg, reduceTaskLog as gh, rememberDelegationBudget as gi, renderTaskQueryAnswer as gj, repairWaitLabel as gk, repairedLanded as gl, repairedNotice as gm, repeatingChecks as gn, replayTaskLog as go, repoBaseLine as gp, repoResultLines as gq, reposWithWork as gr, resetRunnerAuth as gs, resolveSkillInvocation as gt, resolveTaskRef as gu, resolveUserTaskRef as gv, resumeLabel as gw, resumeTime as gx, revertEffect as gy, revertListLine as gz, type AdoptSessionResponse as h, taskChatAvailable as h0, taskLogCommands as h1, taskLogForSurface as h2, taskLogHeaderView as h3, taskOrderLabel as h4, taskPlacement as h5, taskQuerySignature as h6, taskRef as h7, taskRefOf as h8, taskRowActions as h9, taskRowView as ha, taskStartedNotice as hb, taskStatusKind as hc, textHasTaskOps as hd, textHasTaskQuery as he, titledRefs as hf, titledTaskRef as hg, titledTaskRefOf as hh, toTaskLogEvent as hi, toolHeadline as hj, trailerSummary as hk, trimToolOutput as hl, truncateCheckpointSummary as hm, unsendAll as hn, unsendLatest as ho, wakeUpItems as hp, walkPlan as hq, windowsCommandLine as hr, withoutSealedMark as hs, workspaceEnvOf as ht, type AnswerEscalationRequest as i, type ApplyTaskOpsResult as j, type ApprovalAnswerResponse as k, type ApprovalBlock as l, type ApprovalRequestMessage as m, type ApprovalStatus as n, type ApprovalsResponse as o, type ApproveReviewResponse as p, type AskOptions as q, type AssignmentCatalog as r, type AssignmentIssue as s, type AssignmentScope as t, type AssignmentWriter as u, type AutoMergeTrigger as v, type BlockingSubject as w, CHECKPOINT_TRUNCATE_LENGTH as x, CMD_EXE_MAX_COMMAND_LINE as y, type CancelPlanningResponse as z };
|