zidane 5.13.0 → 5.13.2
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/README.md +15 -0
- package/dist/acp-BqIU2mo-.js +1410 -0
- package/dist/acp-BqIU2mo-.js.map +1 -0
- package/dist/acp-cli.d.ts +1 -0
- package/dist/acp-cli.js +713 -0
- package/dist/acp-cli.js.map +1 -0
- package/dist/acp.d.ts +655 -0
- package/dist/acp.d.ts.map +1 -0
- package/dist/acp.js +2 -0
- package/dist/{agent-Db4ojCSV.d.ts → agent-D7ZL8B2X.d.ts} +2 -2
- package/dist/{agent-Db4ojCSV.d.ts.map → agent-D7ZL8B2X.d.ts.map} +1 -1
- package/dist/chat/pure.d.ts +3 -3
- package/dist/chat.d.ts +6 -6
- package/dist/chat.js +3 -2
- package/dist/chat.js.map +1 -1
- package/dist/contexts/daytona.d.ts +3 -3
- package/dist/contexts/docker.d.ts +1 -1
- package/dist/contexts/docker.d.ts.map +1 -1
- package/dist/contexts/docker.js +4 -1
- package/dist/contexts/docker.js.map +1 -1
- package/dist/contexts/e2b.d.ts +2 -2
- package/dist/{contexts-VhV4Af8x.js → contexts-DHi8LPCp.js} +25 -9
- package/dist/contexts-DHi8LPCp.js.map +1 -0
- package/dist/contexts.d.ts +3 -3
- package/dist/contexts.js +1 -1
- package/dist/eval.d.ts +1 -1
- package/dist/eval.js +3 -3
- package/dist/glob-DCWXy_tr.js +128 -0
- package/dist/glob-DCWXy_tr.js.map +1 -0
- package/dist/{headless-tVN-g6IR.js → headless-0O6HMNBQ.js} +6 -6
- package/dist/{headless-tVN-g6IR.js.map → headless-0O6HMNBQ.js.map} +1 -1
- package/dist/headless.d.ts +1 -1
- package/dist/headless.js +1 -1
- package/dist/{index-BEblm0Hu.d.ts → index-BsyPeCSL.d.ts} +3 -3
- package/dist/{index-BEblm0Hu.d.ts.map → index-BsyPeCSL.d.ts.map} +1 -1
- package/dist/{index-CJ-2g7bY.d.ts → index-CDcQW-2S.d.ts} +3 -3
- package/dist/index-CDcQW-2S.d.ts.map +1 -0
- package/dist/{index-CrMb8jCE.d.ts → index-CF15aqlk.d.ts} +3 -3
- package/dist/{index-CrMb8jCE.d.ts.map → index-CF15aqlk.d.ts.map} +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.js +7 -7
- package/dist/lazy-DLOurOC_.js +20 -0
- package/dist/lazy-DLOurOC_.js.map +1 -0
- package/dist/{logger-Dcrj48qY.d.ts → logger-DItaCwPw.d.ts} +2 -2
- package/dist/{logger-Dcrj48qY.d.ts.map → logger-DItaCwPw.d.ts.map} +1 -1
- package/dist/mcp.d.ts +1 -1
- package/dist/{messages-CGazSyTL.js → messages-DEsLGBB9.js} +2 -2
- package/dist/{messages-CGazSyTL.js.map → messages-DEsLGBB9.js.map} +1 -1
- package/dist/output/stream-json.d.ts +2 -2
- package/dist/output/stream-json.js +1 -1
- package/dist/output/terminal.d.ts +2 -2
- package/dist/{presets-kPEMOCmE.js → presets-HDIxliiq.js} +2 -2
- package/dist/{presets-kPEMOCmE.js.map → presets-HDIxliiq.js.map} +1 -1
- package/dist/presets.d.ts +2 -2
- package/dist/presets.js +1 -1
- package/dist/{providers-Bo2biCyT.js → providers-Cz-RNYZO.js} +7 -13
- package/dist/providers-Cz-RNYZO.js.map +1 -0
- package/dist/providers.d.ts +1 -1
- package/dist/providers.js +2 -2
- package/dist/restate.d.ts +2 -2
- package/dist/session/sqlite.d.ts +1 -1
- package/dist/{session-B69BQSn1.js → session-BDWZZaYa.js} +2 -2
- package/dist/{session-B69BQSn1.js.map → session-BDWZZaYa.js.map} +1 -1
- package/dist/session.d.ts +1 -1
- package/dist/session.js +2 -2
- package/dist/skills.d.ts +2 -2
- package/dist/{tool-formatters-CkqBgPH4.d.ts → tool-formatters-CNSMadtp.d.ts} +2 -2
- package/dist/{tool-formatters-CkqBgPH4.d.ts.map → tool-formatters-CNSMadtp.d.ts.map} +1 -1
- package/dist/tools/fetch-url.d.ts +1 -1
- package/dist/tools/web-search.d.ts +1 -1
- package/dist/{tools-5Bnlq68O.js → tools-DhzKzB1y.js} +39 -56
- package/dist/tools-DhzKzB1y.js.map +1 -0
- package/dist/tools.d.ts +2 -2
- package/dist/tools.js +1 -1
- package/dist/{transcript-anchors-D4PwUMyO.js → transcript-anchors-Cq-8gx8u.js} +9 -1417
- package/dist/transcript-anchors-Cq-8gx8u.js.map +1 -0
- package/dist/{transcript-anchors-BnLZmASt.d.ts → transcript-anchors-EG-SmZRu.d.ts} +4 -4
- package/dist/{transcript-anchors-BnLZmASt.d.ts.map → transcript-anchors-EG-SmZRu.d.ts.map} +1 -1
- package/dist/tui.d.ts +3 -3
- package/dist/tui.js +7 -6
- package/dist/tui.js.map +1 -1
- package/dist/{turn-operations-B6FaQAZN.d.ts → turn-operations-DwtWRYr1.d.ts} +3 -3
- package/dist/{turn-operations-B6FaQAZN.d.ts.map → turn-operations-DwtWRYr1.d.ts.map} +1 -1
- package/dist/{types-B39tBba1.d.ts → types-Bs2oY7Ux.d.ts} +27 -4
- package/dist/types-Bs2oY7Ux.d.ts.map +1 -0
- package/dist/types.d.ts +4 -4
- package/dist/xdg-zlSeVBhQ.js +1417 -0
- package/dist/xdg-zlSeVBhQ.js.map +1 -0
- package/docs/ACP.md +221 -0
- package/package.json +11 -1
- package/dist/contexts-VhV4Af8x.js.map +0 -1
- package/dist/index-CJ-2g7bY.d.ts.map +0 -1
- package/dist/providers-Bo2biCyT.js.map +0 -1
- package/dist/tools-5Bnlq68O.js.map +0 -1
- package/dist/transcript-anchors-D4PwUMyO.js.map +0 -1
- package/dist/types-B39tBba1.d.ts.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as SkillConfig, qn as ToolResultContent, tr as TurnUsage, zn as SessionTurn } from "./agent-
|
|
2
|
-
import { D as Owner, E as EditPayload, G as ProviderKey, L as CompletionProvider, M as StreamEvent, R as CompletionReference, W as ProviderAuth, Y as ModelInfo, l as ApprovalDecision, w as EditOutcome } from "./tool-formatters-
|
|
1
|
+
import { P as SkillConfig, qn as ToolResultContent, tr as TurnUsage, zn as SessionTurn } from "./agent-D7ZL8B2X.js";
|
|
2
|
+
import { D as Owner, E as EditPayload, G as ProviderKey, L as CompletionProvider, M as StreamEvent, R as CompletionReference, W as ProviderAuth, Y as ModelInfo, l as ApprovalDecision, w as EditOutcome } from "./tool-formatters-CNSMadtp.js";
|
|
3
3
|
|
|
4
4
|
//#region src/chat/color-gradient.d.ts
|
|
5
5
|
/**
|
|
@@ -660,4 +660,4 @@ declare function countNeighbors(turnIds: readonly string[], turnId: string): {
|
|
|
660
660
|
} | null;
|
|
661
661
|
//#endregion
|
|
662
662
|
export { uniqueFilesFromReferences as $, buildUnifiedDiff as A, buildEditOutcomesAnnotation as B, EditSummary as C, PreviewResult as D, InlineSegment as E, previewEditPayload as F, rewriteMultiEditHeader as G, mergeApprovalAndBodyOutcomes as H, splitLines as I, SKILLS_TRIGGER as J, stripEditOutcomesAnnotation as K, summarizeEditPayload as L, computeLineDiff as M, extractEditPayload as N, applyEditPayload as O, filetypeFromPath as P, createFilesCompletionProvider as Q, tokenize as R, EditHunkSummary as S, InlineDiff as T, parseEditOutcomesFromResult as U, maskToOutcomeKinds as V, resolveApprovalForPayload as W, uniqueSkillNamesFromReferences as X, createSkillsCompletionProvider as Y, FILES_TRIGGER as Z, formatTaskSummary as _, finalizeStreamingMarkdown as a, DiffLine as b, CatalogEntry as c, indexOfEntry as d, FileEntry as et, ageString as f, formatTaskStatus as g, formatDuration as h, turnAsText as i, buildLinearRamp as it, computeInlineDiff as j, buildContextualDiff as k, buildModelCatalog as l, fmtTokens as m, deleteTurnSafely as n, listProjectFiles as nt, finalizeStreamingMarkdownForOwner as o, compactPath as p, summarizeOutcomes as q, truncateTurnsAt as r, blendHsl as rt, turnContextSize as s, countNeighbors as t, ListProjectFilesOptions as tt, filterModelCatalog as u, previewLine as v, HunkResolution as w, DiffOp as x, shortId as y, ResolvedApproval as z };
|
|
663
|
-
//# sourceMappingURL=turn-operations-
|
|
663
|
+
//# sourceMappingURL=turn-operations-DwtWRYr1.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"turn-operations-
|
|
1
|
+
{"version":3,"file":"turn-operations-DwtWRYr1.d.ts","names":[],"sources":["../src/chat/color-gradient.ts","../src/chat/files-discovery.ts","../src/chat/completion-files.ts","../src/chat/completion-skills.ts","../src/chat/edit-approval.ts","../src/tools/edit-utils.ts","../src/chat/edit-diff.ts","../src/chat/format.ts","../src/chat/model-catalog.ts","../src/chat/streaming-pure.ts","../src/chat/turn-operations.ts"],"mappings":";;;;;;;;iBAmFgB,QAAA,CAAS,IAAA,UAAc,EAAA,UAAY,CAAA;AAAnD;;;;;AAAA,iBAuBgB,eAAA,CAAgB,IAAA,UAAc,EAAA,UAAY,CAAA;;;;;;;;AAvB1D;;;;;;;;AAA4D;AAAA,UC9D3C,SAAA;EDqFc;ECnF7B,IAAA;EDmF6B;ECjF7B,IAAA;EDiF4C;EC/E5C,MAAA;AAAA;AD+EiE;AAAA,UClClD,uBAAA;;EAEf,GAAA;EArDe;EAuDf,QAAA;;EAEA,MAAA,GAAS,WAAW;AAAA;;;;AAnDd;AA6CR;;;;;iBAkBsB,gBAAA,CAAiB,IAAA,GAAM,uBAAA,GAA+B,OAAA,CAAQ,SAAA;;;;cCrEvE,aAAA;AFqFb;;;;;;;;AAAmE;;;;ACrFnE;;;ADqFA,iBE8BgB,6BAAA,CAA8B,IAAA;EDjH5C,qFCmHA,UAAA,iBAA2B,SAAA;ED/G3B;;AAAM;AA6CR;;;;;;;;;EC+EE,aAAA,SAAsB,OAAA,UAAiB,SAAA,KD7DnB;EC+DpB,KAAA;;;;;;;;;;;;EAYA,UAAA,IAAc,KAAA,EAAO,SAAA;AAAA,IACnB,kBAAA,CAAmB,SAAA;;;AAjJvB;;;iBA0OgB,yBAAA,CACd,UAAA,WAAqB,mBAAA,cACpB,SAAS;;;AF9KgD;AAAA,cG7D/C,cAAA;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,IAClB,MAAA;EAAU,WAAA,EAAa,WAAW;EAAE,OAAA;AAAA;;;;iBCvFtB,yBAAA,CAA0B,MAAA,EAAQ,WAAA,KAAgB,WAAW;AT+DjB;AAAA,iBSlD5C,iCAAA,CAAkC,MAAA,EAAQ,WAAA,IAAe,KAAA,EAAO,KAAA,GAAQ,WAAA;;;;;;;;ATyErB;;;;ACrFnE;iBQwCgB,eAAA,CAAgB,KAA4B,EAArB,SAAS;;;AT6ChD;;;;;;;;AAAmE;;;;ACrFnE;;;;;ADqFA,iBUzEgB,eAAA,CAAgB,KAAA,WAAgB,WAAA,IAAe,MAAA,WAAiB,WAAW;;;ATNnF;AA6CR;;;;;;;;;AAMsB;AAYtB;;;;iBShCgB,gBAAA,CAAiB,KAAA,WAAgB,WAAA,IAAe,MAAA,WAAiB,WAAW;;;;;;;;;iBAwD5E,UAAA,CAAW,IAAiB,EAAX,WAAW;;;;AR7F5C;;iBQ4HgB,cAAA,CACd,OAAA,qBACA,MAAA;EACG,MAAA;EAAgB,KAAA;AAAA"}
|
|
@@ -28,6 +28,8 @@ interface ContextCapabilities {
|
|
|
28
28
|
shell: boolean;
|
|
29
29
|
/** Can read/write files in a workspace */
|
|
30
30
|
filesystem: boolean;
|
|
31
|
+
/** Can enumerate glob matches through `ExecutionContext.listFiles(..., { glob: true })`. */
|
|
32
|
+
glob?: boolean;
|
|
31
33
|
/** Can make outbound network requests */
|
|
32
34
|
network: boolean;
|
|
33
35
|
/** Has GPU access */
|
|
@@ -57,6 +59,18 @@ interface ExecResult {
|
|
|
57
59
|
stderr: string;
|
|
58
60
|
exitCode: number;
|
|
59
61
|
}
|
|
62
|
+
interface ListFileMetadata {
|
|
63
|
+
path: string;
|
|
64
|
+
size?: number;
|
|
65
|
+
mtimeMs?: number;
|
|
66
|
+
}
|
|
67
|
+
type ListFilesEntry = string | ListFileMetadata;
|
|
68
|
+
interface ListFilesOptions {
|
|
69
|
+
/** Treat `path` as a glob match pattern instead of a literal directory path. */
|
|
70
|
+
glob?: boolean;
|
|
71
|
+
limit?: number;
|
|
72
|
+
metadata?: boolean;
|
|
73
|
+
}
|
|
60
74
|
interface SpawnConfig {
|
|
61
75
|
/** Working directory (created if it doesn't exist) */
|
|
62
76
|
cwd?: string;
|
|
@@ -379,8 +393,17 @@ interface ExecutionContext {
|
|
|
379
393
|
readFileBinary?: (handle: ExecutionHandle, path: string) => Promise<Uint8Array>;
|
|
380
394
|
/** Write a file to the context's filesystem */
|
|
381
395
|
writeFile: (handle: ExecutionHandle, path: string, content: string) => Promise<void>;
|
|
382
|
-
/**
|
|
383
|
-
|
|
396
|
+
/**
|
|
397
|
+
* List files in the context filesystem.
|
|
398
|
+
*
|
|
399
|
+
* Plain paths list immediate directory entries (legacy behavior). Paths that
|
|
400
|
+
* contain glob metacharacters (`*`, `?`, `[]`, `{}`) request matched file
|
|
401
|
+
* enumeration inside the target context. Contexts that cannot support
|
|
402
|
+
* globbing should throw a clear error rather than silently returning no
|
|
403
|
+
* matches. `metadata` is best-effort and only required when the context can
|
|
404
|
+
* provide it without expensive per-file shell calls.
|
|
405
|
+
*/
|
|
406
|
+
listFiles: (handle: ExecutionHandle, path: string, options?: ListFilesOptions) => Promise<ListFilesEntry[]>;
|
|
384
407
|
/**
|
|
385
408
|
* Resolve the host-side port that a container port was published on
|
|
386
409
|
* (docker context only, and only when the matching entry was created
|
|
@@ -487,5 +510,5 @@ interface TaskStallInfo {
|
|
|
487
510
|
bytesWritten: number;
|
|
488
511
|
}
|
|
489
512
|
//#endregion
|
|
490
|
-
export { ContextType as a, ExecutionContext as c,
|
|
491
|
-
//# sourceMappingURL=types-
|
|
513
|
+
export { TaskStallInfo as _, ContextType as a, ExecutionContext as c, ListFilesEntry as d, ListFilesOptions as f, TaskHandle as g, TaskExitInfo as h, ContextMount as i, ExecutionHandle as l, TaskEntry as m, ContextCapabilities as n, DetachedTasksCapability as o, SpawnConfig as p, ContextHardening as r, ExecResult as s, BackgroundTaskStatus as t, ListFileMetadata as u, resolveD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EAEA,OAAA;AAAA;;;;;;UAQe,SAAA;EACf,MAAA;EACA,GAAA;EACA,OAAA;EACA,GAAA;EACA,SAAA;;;;;;EAMA,OAAA;EACA,UAAA;EACA,MAAA,EAAQ,oBAAA;EACR,QAAA;EACA,MAAA,GAAS,MAAA,CAAO,OAAO;;EAEvB,YAAA;AAAA;;;;;;;UASe,aAAA;EACf,MAAA;EACA,OAAA;EACA,UAAA;;EAEA,YAAA;;EAEA,YAAA;AAAA"}
|
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $n as ToolResultVideoContent, An as RepeatGuardToolMatcher, B as Session, Bn as SpawnHookContext, Cn as PromptAudioPart, D as ReadStateEntry, Dn as PromptTextPart, Dt as TurnResult, E as ToolMap, En as PromptPart, Et as ToolSpec, Fn as SessionContentBlock, Ft as OpenRouterParams, Gn as ToolOutcome, H as SessionRun, Hn as ThinkingLevel, I as SkillResource, In as SessionEndStatus, Jn as ToolResultDocumentContent, Kn as ToolResultAudioContent, Ln as SessionHookContext, Mn as ResolveContentRefBlock, Nn as RetryConfig, O as ReadStateMap, On as PromptVideoPart, P as SkillConfig, Pn as RunHookMap, Qn as ToolResultTextContent, R as SkillsConfig, Rn as SessionMessage, Sn as OAuthRefreshHookContext, St as StreamOptions, T as ToolDef, Tn as PromptImagePart, Tt as ToolResult, U as SessionStore, Ut as OpenAIParams, V as SessionData, Vn as StreamHookContext, Wn as ToolHookContext, Xn as ToolResultImageContent, Yn as ToolResultDocumentRefContent, Yt as CerebrasParams, Zn as ToolResultImageRefContent, an as AgentBehavior, ar as AgentAbortedError, bn as McpToolHookContext, bt as ProviderCapabilities, cn as AgentStats, cr as AgentProviderError, dn as ChildRunStats, dr as CONTEXT_EXCEEDED_MESSAGE_PATTERNS, er as TurnFinishReason, fr as ClassifiedError, g as McpConnection, gn as DEFAULT_AGENT_CLOCK, hr as matchesContextExceeded, i as AgentOptions, ir as toolResultToText, jn as ResolveContentRef, kn as RepeatGuardConfig, lr as AgentToolNotAllowedError, n as AgentHookMap, nn as AnthropicParams, nr as toolOutputBudgetByteLength, on as AgentClock, or as AgentBudgetExceededError, pr as ClassifiedErrorKind, q as RemoteStoreOptions, qn as ToolResultContent, r as AgentHooks, rr as toolOutputByteLength, sn as AgentRunOptions, sr as AgentContextExceededError, t as Agent, tr as TurnUsage, w as ToolContext, wn as PromptDocumentPart, wt as ToolCall, xt as StreamCallbacks, yn as McpServerConfig, yt as Provider, z as CreateSessionOptions, zn as SessionTurn } from "./agent-
|
|
2
|
-
import { a as ContextType, c as ExecutionContext,
|
|
3
|
-
import { t as SandboxProvider } from "./index-
|
|
4
|
-
import { E as statsByModel, T as flattenTurns, Zn as ValidationResult, ir as SpawnToolState, nr as ChildAgent, rr as SpawnToolOptions, t as Preset, w as ModelUsage, xr as InteractionToolOptions } from "./index-
|
|
1
|
+
import { $n as ToolResultVideoContent, An as RepeatGuardToolMatcher, B as Session, Bn as SpawnHookContext, Cn as PromptAudioPart, D as ReadStateEntry, Dn as PromptTextPart, Dt as TurnResult, E as ToolMap, En as PromptPart, Et as ToolSpec, Fn as SessionContentBlock, Ft as OpenRouterParams, Gn as ToolOutcome, H as SessionRun, Hn as ThinkingLevel, I as SkillResource, In as SessionEndStatus, Jn as ToolResultDocumentContent, Kn as ToolResultAudioContent, Ln as SessionHookContext, Mn as ResolveContentRefBlock, Nn as RetryConfig, O as ReadStateMap, On as PromptVideoPart, P as SkillConfig, Pn as RunHookMap, Qn as ToolResultTextContent, R as SkillsConfig, Rn as SessionMessage, Sn as OAuthRefreshHookContext, St as StreamOptions, T as ToolDef, Tn as PromptImagePart, Tt as ToolResult, U as SessionStore, Ut as OpenAIParams, V as SessionData, Vn as StreamHookContext, Wn as ToolHookContext, Xn as ToolResultImageContent, Yn as ToolResultDocumentRefContent, Yt as CerebrasParams, Zn as ToolResultImageRefContent, an as AgentBehavior, ar as AgentAbortedError, bn as McpToolHookContext, bt as ProviderCapabilities, cn as AgentStats, cr as AgentProviderError, dn as ChildRunStats, dr as CONTEXT_EXCEEDED_MESSAGE_PATTERNS, er as TurnFinishReason, fr as ClassifiedError, g as McpConnection, gn as DEFAULT_AGENT_CLOCK, hr as matchesContextExceeded, i as AgentOptions, ir as toolResultToText, jn as ResolveContentRef, kn as RepeatGuardConfig, lr as AgentToolNotAllowedError, n as AgentHookMap, nn as AnthropicParams, nr as toolOutputBudgetByteLength, on as AgentClock, or as AgentBudgetExceededError, pr as ClassifiedErrorKind, q as RemoteStoreOptions, qn as ToolResultContent, r as AgentHooks, rr as toolOutputByteLength, sn as AgentRunOptions, sr as AgentContextExceededError, t as Agent, tr as TurnUsage, w as ToolContext, wn as PromptDocumentPart, wt as ToolCall, xt as StreamCallbacks, yn as McpServerConfig, yt as Provider, z as CreateSessionOptions, zn as SessionTurn } from "./agent-D7ZL8B2X.js";
|
|
2
|
+
import { _ as TaskStallInfo, a as ContextType, c as ExecutionContext, g as TaskHandle, h as TaskExitInfo, l as ExecutionHandle, m as TaskEntry, n as ContextCapabilities, o as DetachedTasksCapability, p as SpawnConfig, r as ContextHardening, s as ExecResult, t as BackgroundTaskStatus } from "./types-Bs2oY7Ux.js";
|
|
3
|
+
import { t as SandboxProvider } from "./index-CF15aqlk.js";
|
|
4
|
+
import { E as statsByModel, T as flattenTurns, Zn as ValidationResult, ir as SpawnToolState, nr as ChildAgent, rr as SpawnToolOptions, t as Preset, w as ModelUsage, xr as InteractionToolOptions } from "./index-CDcQW-2S.js";
|
|
5
5
|
export { type Agent, AgentAbortedError, type AgentBehavior, AgentBudgetExceededError, type AgentClock, AgentContextExceededError, type AgentHookMap, type AgentHooks, type AgentOptions, AgentProviderError, type AgentRunOptions, type AgentStats, AgentToolNotAllowedError, type AnthropicParams, type BackgroundTaskStatus, CONTEXT_EXCEEDED_MESSAGE_PATTERNS, type CerebrasParams, type ChildAgent, type ChildRunStats, type ClassifiedError, type ClassifiedErrorKind, type ContextCapabilities, type ContextHardening, type ContextType, type CreateSessionOptions, DEFAULT_AGENT_CLOCK, type DetachedTasksCapability, type ExecResult, type ExecutionContext, type ExecutionHandle, type InteractionToolOptions, type McpConnection, type McpServerConfig, type McpToolHookContext, type ModelUsage, type OAuthRefreshHookContext, type OpenAIParams, type OpenRouterParams, type Preset, type PromptAudioPart, type PromptDocumentPart, type PromptImagePart, type PromptPart, type PromptTextPart, type PromptVideoPart, type Provider, type ProviderCapabilities, type ReadStateEntry, type ReadStateMap, type RemoteStoreOptions, type RepeatGuardConfig, type RepeatGuardToolMatcher, type ResolveContentRef, type ResolveContentRefBlock, type RetryConfig, type RunHookMap, type SandboxProvider, type Session, type SessionContentBlock, type SessionData, type SessionEndStatus, type SessionHookContext, type SessionMessage, type SessionRun, type SessionStore, type SessionTurn, type SkillConfig, type SkillResource, type SkillsConfig, type SpawnConfig, type SpawnHookContext, type SpawnToolOptions, type SpawnToolState, type StreamCallbacks, type StreamHookContext, type StreamOptions, type TaskEntry, type TaskExitInfo, type TaskHandle, type TaskStallInfo, type ThinkingLevel, type ToolCall, type ToolContext, type ToolDef, type ToolHookContext, type ToolMap, type ToolOutcome, type ToolResult, type ToolResultAudioContent, type ToolResultContent, type ToolResultDocumentContent, type ToolResultDocumentRefContent, type ToolResultImageContent, type ToolResultImageRefContent, type ToolResultTextContent, type ToolResultVideoContent, type ToolSpec, type TurnFinishReason, type TurnResult, type TurnUsage, type ValidationResult, flattenTurns, matchesContextExceeded, statsByModel, toolOutputBudgetByteLength, toolOutputByteLength, toolResultToText };
|