@prestyj/cli 4.10.3 → 4.12.0
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 +4 -4
- package/dist/app-sidecar.d.ts +2 -0
- package/dist/app-sidecar.d.ts.map +1 -0
- package/dist/app-sidecar.js +1720 -0
- package/dist/app-sidecar.js.map +1 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +10 -25
- package/dist/cli.js.map +1 -1
- package/dist/config.d.ts +5 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +3 -0
- package/dist/config.js.map +1 -1
- package/dist/core/agent-session.d.ts +162 -0
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +544 -23
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/api-benchmark.d.ts +64 -0
- package/dist/core/api-benchmark.d.ts.map +1 -0
- package/dist/core/api-benchmark.js +381 -0
- package/dist/core/api-benchmark.js.map +1 -0
- package/dist/core/auth-providers.d.ts +18 -0
- package/dist/core/auth-providers.d.ts.map +1 -0
- package/dist/core/auth-providers.js +71 -0
- package/dist/core/auth-providers.js.map +1 -0
- package/dist/core/event-bus.d.ts +6 -0
- package/dist/core/event-bus.d.ts.map +1 -1
- package/dist/core/event-bus.js +1 -0
- package/dist/core/event-bus.js.map +1 -1
- package/dist/core/mcp/client.d.ts +21 -0
- package/dist/core/mcp/client.d.ts.map +1 -1
- package/dist/core/mcp/client.js +167 -5
- package/dist/core/mcp/client.js.map +1 -1
- package/dist/core/mcp/index.d.ts +3 -1
- package/dist/core/mcp/index.d.ts.map +1 -1
- package/dist/core/mcp/index.js +2 -0
- package/dist/core/mcp/index.js.map +1 -1
- package/dist/core/mcp/oauth-provider.d.ts +51 -0
- package/dist/core/mcp/oauth-provider.d.ts.map +1 -0
- package/dist/core/mcp/oauth-provider.js +95 -0
- package/dist/core/mcp/oauth-provider.js.map +1 -0
- package/dist/core/mcp/oauth-store.d.ts +39 -0
- package/dist/core/mcp/oauth-store.d.ts.map +1 -0
- package/dist/core/mcp/oauth-store.js +63 -0
- package/dist/core/mcp/oauth-store.js.map +1 -0
- package/dist/core/mcp/oauth-store.test.d.ts +2 -0
- package/dist/core/mcp/oauth-store.test.d.ts.map +1 -0
- package/dist/core/mcp/oauth-store.test.js +94 -0
- package/dist/core/mcp/oauth-store.test.js.map +1 -0
- package/dist/core/process-manager.d.ts.map +1 -1
- package/dist/core/process-manager.js +5 -1
- package/dist/core/process-manager.js.map +1 -1
- package/dist/core/project-discovery.d.ts +41 -0
- package/dist/core/project-discovery.d.ts.map +1 -0
- package/dist/core/project-discovery.js +441 -0
- package/dist/core/project-discovery.js.map +1 -0
- package/dist/core/prompt-commands.d.ts.map +1 -1
- package/dist/core/prompt-commands.js +203 -0
- package/dist/core/prompt-commands.js.map +1 -1
- package/dist/core/prompt-commands.test.js +39 -0
- package/dist/core/prompt-commands.test.js.map +1 -1
- package/dist/core/radio.d.ts +44 -0
- package/dist/core/radio.d.ts.map +1 -0
- package/dist/core/radio.js +250 -0
- package/dist/core/radio.js.map +1 -0
- package/dist/core/resolve-start.d.ts +29 -0
- package/dist/core/resolve-start.d.ts.map +1 -0
- package/dist/core/resolve-start.js +35 -0
- package/dist/core/resolve-start.js.map +1 -0
- package/dist/core/resolve-start.test.d.ts +2 -0
- package/dist/core/resolve-start.test.d.ts.map +1 -0
- package/dist/core/resolve-start.test.js +66 -0
- package/dist/core/resolve-start.test.js.map +1 -0
- package/dist/core/settings-manager.d.ts +5 -1
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js +5 -0
- package/dist/core/settings-manager.js.map +1 -1
- package/dist/core/shell-path.d.ts +12 -0
- package/dist/core/shell-path.d.ts.map +1 -0
- package/dist/core/shell-path.js +166 -0
- package/dist/core/shell-path.js.map +1 -0
- package/dist/core/shell.d.ts +51 -0
- package/dist/core/shell.d.ts.map +1 -0
- package/dist/core/shell.js +82 -0
- package/dist/core/shell.js.map +1 -0
- package/dist/core/shell.test.d.ts +2 -0
- package/dist/core/shell.test.d.ts.map +1 -0
- package/dist/core/shell.test.js +87 -0
- package/dist/core/shell.test.js.map +1 -0
- package/dist/core/slash-commands.d.ts.map +1 -1
- package/dist/core/slash-commands.js +10 -0
- package/dist/core/slash-commands.js.map +1 -1
- package/dist/core/speed-benchmark.d.ts +133 -0
- package/dist/core/speed-benchmark.d.ts.map +1 -0
- package/dist/core/speed-benchmark.js +410 -0
- package/dist/core/speed-benchmark.js.map +1 -0
- package/dist/core/speed-benchmark.test.d.ts +2 -0
- package/dist/core/speed-benchmark.test.d.ts.map +1 -0
- package/dist/core/speed-benchmark.test.js +97 -0
- package/dist/core/speed-benchmark.test.js.map +1 -0
- package/dist/core/telegram-config.d.ts +21 -0
- package/dist/core/telegram-config.d.ts.map +1 -0
- package/dist/core/telegram-config.js +52 -0
- package/dist/core/telegram-config.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/interactive.d.ts.map +1 -1
- package/dist/interactive.js +4 -3
- package/dist/interactive.js.map +1 -1
- package/dist/modes/serve-mode.d.ts +24 -0
- package/dist/modes/serve-mode.d.ts.map +1 -1
- package/dist/modes/serve-mode.js +54 -19
- package/dist/modes/serve-mode.js.map +1 -1
- package/dist/tools/bash.d.ts.map +1 -1
- package/dist/tools/bash.js +17 -1
- package/dist/tools/bash.js.map +1 -1
- package/dist/tools/generate-image.d.ts +39 -0
- package/dist/tools/generate-image.d.ts.map +1 -0
- package/dist/tools/generate-image.js +301 -0
- package/dist/tools/generate-image.js.map +1 -0
- package/dist/tools/generate-image.test.d.ts +2 -0
- package/dist/tools/generate-image.test.d.ts.map +1 -0
- package/dist/tools/generate-image.test.js +223 -0
- package/dist/tools/generate-image.test.js.map +1 -0
- package/dist/tools/goal-mode.test.js +1 -1
- package/dist/tools/goal-mode.test.js.map +1 -1
- package/dist/tools/goals.d.ts +7 -7
- package/dist/tools/index.d.ts +15 -1
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +17 -2
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/plan-mode.test.js +5 -5
- package/dist/tools/plan-mode.test.js.map +1 -1
- package/dist/tools/prompt-hints.d.ts.map +1 -1
- package/dist/tools/prompt-hints.js +2 -0
- package/dist/tools/prompt-hints.js.map +1 -1
- package/dist/tools/safe-env.d.ts.map +1 -1
- package/dist/tools/safe-env.js +27 -0
- package/dist/tools/safe-env.js.map +1 -1
- package/dist/tools/subagent.d.ts +2 -4
- package/dist/tools/subagent.d.ts.map +1 -1
- package/dist/tools/subagent.js +24 -23
- package/dist/tools/subagent.js.map +1 -1
- package/dist/tools/tasks.d.ts +1 -7
- package/dist/tools/tasks.d.ts.map +1 -1
- package/dist/tools/tasks.js +4 -31
- package/dist/tools/tasks.js.map +1 -1
- package/dist/ui/App.d.ts +1 -1
- package/dist/ui/App.d.ts.map +1 -1
- package/dist/ui/hooks/usePixelFixFlow.d.ts +1 -1
- package/dist/ui/hooks/usePixelFixFlow.d.ts.map +1 -1
- package/dist/ui/hooks/usePixelFixFlow.js +1 -1
- package/dist/ui/hooks/usePixelFixFlow.js.map +1 -1
- package/dist/ui/hooks/useTranscriptHistory.d.ts +2 -0
- package/dist/ui/hooks/useTranscriptHistory.d.ts.map +1 -1
- package/dist/ui/hooks/useTranscriptHistory.js +3 -2
- package/dist/ui/hooks/useTranscriptHistory.js.map +1 -1
- package/dist/ui/long-prompt-regression-harness.test.js +8 -8
- package/dist/ui/render.d.ts +1 -1
- package/dist/ui/render.d.ts.map +1 -1
- package/dist/ui/render.js +60 -8
- package/dist/ui/render.js.map +1 -1
- package/dist/ui/startup-banner-order.test.js +1 -1
- package/dist/ui/startup-banner-order.test.js.map +1 -1
- package/dist/ui/terminal-history-repaint.test.d.ts +2 -0
- package/dist/ui/terminal-history-repaint.test.d.ts.map +1 -0
- package/dist/ui/terminal-history-repaint.test.js +73 -0
- package/dist/ui/terminal-history-repaint.test.js.map +1 -0
- package/dist/ui/terminal-history.d.ts +1 -0
- package/dist/ui/terminal-history.d.ts.map +1 -1
- package/dist/ui/terminal-history.js +31 -2
- package/dist/ui/terminal-history.js.map +1 -1
- package/dist/utils/git.d.ts +6 -0
- package/dist/utils/git.d.ts.map +1 -1
- package/dist/utils/git.js +12 -0
- package/dist/utils/git.js.map +1 -1
- package/package.json +6 -6
|
@@ -2,6 +2,17 @@ import { type Message, type Provider, type ThinkingLevel } from "@prestyj/ai";
|
|
|
2
2
|
import { EventBus } from "./event-bus.js";
|
|
3
3
|
import { SlashCommandRegistry } from "./slash-commands.js";
|
|
4
4
|
import { type BranchInfo } from "./session-manager.js";
|
|
5
|
+
import type { BackgroundProcess } from "./process-manager.js";
|
|
6
|
+
/** A chat attachment (image / video / other file) prepared for the model. The
|
|
7
|
+
* raw base64 `data` rides native blocks; `path` (when persisted to disk) lets
|
|
8
|
+
* the agent's tools open the file directly. */
|
|
9
|
+
export interface SessionAttachment {
|
|
10
|
+
kind: "image" | "video" | "file";
|
|
11
|
+
mediaType: string;
|
|
12
|
+
data: string;
|
|
13
|
+
name: string;
|
|
14
|
+
path?: string;
|
|
15
|
+
}
|
|
5
16
|
export interface AgentSessionOptions {
|
|
6
17
|
provider: Provider;
|
|
7
18
|
model: string;
|
|
@@ -30,6 +41,24 @@ export interface AgentSessionOptions {
|
|
|
30
41
|
* resumable identity.
|
|
31
42
|
*/
|
|
32
43
|
transient?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* If true, `initialize()` returns WITHOUT waiting for MCP servers to connect —
|
|
46
|
+
* the connection runs in the background and tools are appended when ready.
|
|
47
|
+
* Hosts whose readiness is gated on `initialize()` (the ezcoder-app sidecar, which
|
|
48
|
+
* can't emit its listening handshake until init resolves) set this so a slow
|
|
49
|
+
* or hanging stdio MCP server (e.g. a first-run `npx -y …` download) can't
|
|
50
|
+
* delay the session from becoming usable. Default (false) keeps the CLI's
|
|
51
|
+
* connect-before-ready behavior so MCP tools are present on the first turn.
|
|
52
|
+
*/
|
|
53
|
+
backgroundMcpConnect?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Plan-mode callbacks. When provided, the `enter_plan`/`exit_plan` tools are
|
|
56
|
+
* registered and the session manages plan-mode restrictions + system-prompt
|
|
57
|
+
* rebuilds. Hosts (e.g. the ezcoder-app sidecar) use these to surface plan-mode
|
|
58
|
+
* UI. Omitted by callers that don't want plan mode (CLI wires its own).
|
|
59
|
+
*/
|
|
60
|
+
onEnterPlan?: (reason?: string) => void | Promise<void>;
|
|
61
|
+
onExitPlan?: (planPath: string) => Promise<string>;
|
|
33
62
|
}
|
|
34
63
|
export interface AgentSessionState {
|
|
35
64
|
provider: Provider;
|
|
@@ -38,6 +67,7 @@ export interface AgentSessionState {
|
|
|
38
67
|
sessionId: string;
|
|
39
68
|
sessionPath: string;
|
|
40
69
|
messageCount: number;
|
|
70
|
+
planMode: boolean;
|
|
41
71
|
}
|
|
42
72
|
export declare class AgentSession {
|
|
43
73
|
readonly eventBus: EventBus;
|
|
@@ -48,8 +78,29 @@ export declare class AgentSession {
|
|
|
48
78
|
private extensionLoader;
|
|
49
79
|
private messages;
|
|
50
80
|
private tools;
|
|
81
|
+
/** Rebuilds the read tool for a new model (video byte cap is baked in at
|
|
82
|
+
* creation). Called from switchModel so video-capable models get the
|
|
83
|
+
* read-tool's native-video path after a mid-session model change. */
|
|
84
|
+
private rebuildReadTool;
|
|
51
85
|
private skills;
|
|
52
86
|
private cacheKeyLogged;
|
|
87
|
+
private hookStats;
|
|
88
|
+
private hookText;
|
|
89
|
+
private hookConsecutiveFailures;
|
|
90
|
+
private hookMaxSignatureRepeats;
|
|
91
|
+
private hookMaxSameFileEdits;
|
|
92
|
+
private hookSignatureCounts;
|
|
93
|
+
private hookFileEditCounts;
|
|
94
|
+
private hookToolCalls;
|
|
95
|
+
private idealReviewInjected;
|
|
96
|
+
private loopBreakInjected;
|
|
97
|
+
private regroundingInjected;
|
|
98
|
+
private compactionOccurred;
|
|
99
|
+
private originalRequest;
|
|
100
|
+
/** True after the cache has been pre-warmed for this session. Ensures we only
|
|
101
|
+
* fire the warm-up call once (before the first real turn). */
|
|
102
|
+
private cachePrewarmed;
|
|
103
|
+
private userQueue;
|
|
53
104
|
private processManager?;
|
|
54
105
|
private lspManager?;
|
|
55
106
|
private mcpManager?;
|
|
@@ -60,6 +111,12 @@ export declare class AgentSession {
|
|
|
60
111
|
private maxTokens;
|
|
61
112
|
private thinkingLevel?;
|
|
62
113
|
private customSystemPrompt?;
|
|
114
|
+
/** Shared with the tool layer so plan-mode restrictions read live state. */
|
|
115
|
+
private planModeRef;
|
|
116
|
+
/** Path of the approved plan currently being implemented, or undefined. When
|
|
117
|
+
* set, the system prompt carries the `[DONE:n]` progress contract so the
|
|
118
|
+
* model emits step-completion markers the UI's plan-progress widget reads. */
|
|
119
|
+
private approvedPlanPath?;
|
|
63
120
|
private sessionId;
|
|
64
121
|
private sessionPath;
|
|
65
122
|
private lastPersistedIndex;
|
|
@@ -67,11 +124,68 @@ export declare class AgentSession {
|
|
|
67
124
|
private currentLeafId;
|
|
68
125
|
private opts;
|
|
69
126
|
constructor(options: AgentSessionOptions);
|
|
127
|
+
/**
|
|
128
|
+
* Derive the output-token cap for a model. Follows the active model's
|
|
129
|
+
* `maxOutputTokens` so a session booted on a large-output model (e.g. Kimi's
|
|
130
|
+
* 256K) doesn't carry that cap to a smaller one (e.g. Opus's 128K) after a
|
|
131
|
+
* model switch — that mismatch surfaces from the provider as
|
|
132
|
+
* `max_tokens: 262144 > 128000, which is the maximum allowed …`. An explicit
|
|
133
|
+
* `maxTokens` override is honored but clamped to the model's ceiling.
|
|
134
|
+
*/
|
|
135
|
+
private resolveMaxTokens;
|
|
70
136
|
initialize(): Promise<void>;
|
|
137
|
+
/**
|
|
138
|
+
* Connect all configured MCP servers and append their tools to `this.tools`.
|
|
139
|
+
* Resolves the GLM api key first (Z.AI's bundled servers need it). Never
|
|
140
|
+
* throws — a failed connect is logged and skipped — so it is safe to either
|
|
141
|
+
* `await` (CLI: tools ready before the first turn) or fire-and-forget
|
|
142
|
+
* (sidecar: `backgroundMcpConnect`, so a slow stdio server can't stall
|
|
143
|
+
* startup). Tools are pushed onto the live array the agent loop reads each
|
|
144
|
+
* turn, so background-connected servers become available on the next prompt.
|
|
145
|
+
*/
|
|
146
|
+
private connectMcpServers;
|
|
71
147
|
/**
|
|
72
148
|
* Process user input. Handles slash commands or runs agent loop.
|
|
73
149
|
*/
|
|
74
150
|
prompt(content: string): Promise<void>;
|
|
151
|
+
/**
|
|
152
|
+
* Prompt with multimodal attachments (images / videos) alongside optional
|
|
153
|
+
* text. Images and videos become native content blocks the model can see;
|
|
154
|
+
* non-media files are surfaced as a text note with their saved path so the
|
|
155
|
+
* agent can open them with its tools. Slash-command parsing is skipped —
|
|
156
|
+
* attachments are always a direct conversational turn.
|
|
157
|
+
*/
|
|
158
|
+
promptWithAttachments(text: string, attachments: SessionAttachment[]): Promise<void>;
|
|
159
|
+
/**
|
|
160
|
+
* Build the native content blocks (text + image/video notes + file notes) for
|
|
161
|
+
* a user message with attachments. Shared by {@link promptWithAttachments} and
|
|
162
|
+
* the mid-run steering drain so queued media is delivered identically.
|
|
163
|
+
*/
|
|
164
|
+
private buildAttachmentParts;
|
|
165
|
+
/**
|
|
166
|
+
* Reset per-run self-correction hook state. Mirrors the TUI's run_start
|
|
167
|
+
* resets so each run evaluates the hooks from a clean slate. `originalRequest`
|
|
168
|
+
* is the verbatim user ask, pinned for post-compaction re-grounding.
|
|
169
|
+
*/
|
|
170
|
+
private resetHookState;
|
|
171
|
+
/**
|
|
172
|
+
* Fold one agent event into the hook stat accumulators. Pure bookkeeping —
|
|
173
|
+
* the same signals the TUI's useAgentLoop collects, so the loop-break and
|
|
174
|
+
* ideal-review decisions match across the CLI and the app.
|
|
175
|
+
*/
|
|
176
|
+
private trackHookEvent;
|
|
177
|
+
/**
|
|
178
|
+
* Mid-loop steering hook: fires the loop-breaker when the agent looks stuck,
|
|
179
|
+
* then post-compaction re-grounding. At most one of each per run. Mirrors the
|
|
180
|
+
* TUI's getSteeringMessages ordering (minus user steering, which the app
|
|
181
|
+
* delivers as normal prompts).
|
|
182
|
+
*/
|
|
183
|
+
private getHookSteeringMessages;
|
|
184
|
+
/**
|
|
185
|
+
* Pre-stop follow-up hook: runs the ideal review once, when the agent would
|
|
186
|
+
* otherwise finish and the change set is substantial enough to warrant it.
|
|
187
|
+
*/
|
|
188
|
+
private getHookFollowUpMessages;
|
|
75
189
|
/** Auto-compact if needed, run agent loop with auth retry, and persist messages. */
|
|
76
190
|
private runLoop;
|
|
77
191
|
switchModel(provider: string, model: string): Promise<void>;
|
|
@@ -99,9 +213,57 @@ export declare class AgentSession {
|
|
|
99
213
|
*/
|
|
100
214
|
listBranches(): Promise<BranchInfo[]>;
|
|
101
215
|
getState(): AgentSessionState;
|
|
216
|
+
getPlanMode(): boolean;
|
|
217
|
+
/** Queue a user message (optionally with attachments) to be injected mid-run
|
|
218
|
+
* as steering. Returns the new queue length. No-op semantics are the caller's
|
|
219
|
+
* concern. */
|
|
220
|
+
queueMessage(text: string, attachments?: SessionAttachment[]): number;
|
|
221
|
+
/** Number of messages currently queued. */
|
|
222
|
+
getQueuedCount(): number;
|
|
223
|
+
/** Clear the queue, returning the combined text (to restore to the composer).
|
|
224
|
+
* Queued attachments are dropped on cancel — the composer only restores text. */
|
|
225
|
+
drainQueue(): string;
|
|
226
|
+
/** Snapshot of background processes (bash run_in_background), newest-state. */
|
|
227
|
+
listBackgroundProcesses(): BackgroundProcess[];
|
|
228
|
+
/** Stop a background process by id. Returns a human-readable status string. */
|
|
229
|
+
killBackgroundProcess(id: string): Promise<string>;
|
|
230
|
+
/**
|
|
231
|
+
* Toggle plan mode: flips the shared ref (so tools enforce read-only
|
|
232
|
+
* restrictions) and rebuilds the system prompt in place so the model is told
|
|
233
|
+
* about the mode change on its next turn. No-op when a custom system prompt
|
|
234
|
+
* is in force (the host owns the prompt then).
|
|
235
|
+
*/
|
|
236
|
+
setPlanMode(active: boolean): Promise<void>;
|
|
237
|
+
/**
|
|
238
|
+
* Bake an approved plan into the system prompt so the model is told to emit
|
|
239
|
+
* `[DONE:n]` markers as it completes each step (the contract the UI's
|
|
240
|
+
* plan-progress widget reads). Pass `undefined` to clear it. No-op when a
|
|
241
|
+
* custom system prompt is in force (the host owns the prompt then).
|
|
242
|
+
*/
|
|
243
|
+
setApprovedPlan(approvedPlanPath: string | undefined): Promise<void>;
|
|
244
|
+
/** Rebuild messages[0] from current plan-mode + approved-plan state. */
|
|
245
|
+
private rebuildSystemPromptInPlace;
|
|
102
246
|
getMessages(): Message[];
|
|
247
|
+
/**
|
|
248
|
+
* Generate a short LLM session title from the conversation so far (first user
|
|
249
|
+
* message + first assistant reply). Best-effort; returns null on failure or
|
|
250
|
+
* when there's no user message yet. Uses the cheapest model for the provider.
|
|
251
|
+
*/
|
|
252
|
+
generateTitle(): Promise<string | null>;
|
|
253
|
+
/** Current reasoning/thinking level, or undefined when thinking is off. */
|
|
254
|
+
getThinkingLevel(): ThinkingLevel | undefined;
|
|
255
|
+
/** Set the reasoning/thinking level (undefined turns thinking off). Takes
|
|
256
|
+
* effect on the next prompt, since the in-flight loop reads it at start. */
|
|
257
|
+
setThinkingLevel(level: ThinkingLevel | undefined): void;
|
|
103
258
|
/** Replace the abort signal (e.g. after cancellation). */
|
|
104
259
|
setSignal(signal: AbortSignal): void;
|
|
260
|
+
/** True when speedProfile is "optimized" (1-h cache TTL + pre-warm). */
|
|
261
|
+
private isSpeedOptimized;
|
|
262
|
+
/** Fire a cache pre-warm request for Anthropic so the first real turn is a
|
|
263
|
+
* cache read instead of a cold write. No-op for other providers and when
|
|
264
|
+
* speedProfile is not "optimized". Entirely best-effort — any failure is
|
|
265
|
+
* swallowed so prewarm never blocks or aborts the real prompt. */
|
|
266
|
+
private maybePrewarmCache;
|
|
105
267
|
private getPromptCacheKey;
|
|
106
268
|
/** Stable cache-routing key for downstream sub-agent processes. */
|
|
107
269
|
getCurrentCacheKey(): string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-session.d.ts","sourceRoot":"","sources":["../../src/core/agent-session.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"agent-session.d.ts","sourceRoot":"","sources":["../../src/core/agent-session.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,KAAK,aAAa,EAInB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EACL,oBAAoB,EAGrB,MAAM,qBAAqB,CAAC;AAO7B,OAAO,EAAqC,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAc1F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAwB9D;;gDAEgD;AAChD,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,0DAA0D;IAC1D,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;;;;OAKG;IACH,cAA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