neoctl 0.2.35 → 0.2.37
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/agents/agent-report-security.test.d.ts +1 -0
- package/dist/agents/agent-report-security.test.js +301 -0
- package/dist/agents/agent-report-security.test.js.map +1 -0
- package/dist/agents/agent-tool-persistence.test.d.ts +1 -0
- package/dist/agents/agent-tool-persistence.test.js +319 -0
- package/dist/agents/agent-tool-persistence.test.js.map +1 -0
- package/dist/agents/agent-tool.d.ts +3 -0
- package/dist/agents/agent-tool.js +246 -76
- package/dist/agents/agent-tool.js.map +1 -1
- package/dist/agents/live-preview-redaction-security.test.d.ts +1 -0
- package/dist/agents/live-preview-redaction-security.test.js +286 -0
- package/dist/agents/live-preview-redaction-security.test.js.map +1 -0
- package/dist/agents/local-agent-task.d.ts +68 -1
- package/dist/agents/local-agent-task.js +78 -5
- package/dist/agents/local-agent-task.js.map +1 -1
- package/dist/agents/no-nested-delegation.test.d.ts +1 -0
- package/dist/agents/no-nested-delegation.test.js +38 -0
- package/dist/agents/no-nested-delegation.test.js.map +1 -0
- package/dist/agents/obs07-11-run-facts.test.d.ts +1 -0
- package/dist/agents/obs07-11-run-facts.test.js +459 -0
- package/dist/agents/obs07-11-run-facts.test.js.map +1 -0
- package/dist/agents/smoke-agent-lifecycle.d.ts +1 -0
- package/dist/agents/smoke-agent-lifecycle.js +192 -0
- package/dist/agents/smoke-agent-lifecycle.js.map +1 -0
- package/dist/agents/smoke-agents.js +7 -3
- package/dist/agents/smoke-agents.js.map +1 -1
- package/dist/context/context-manager.d.ts +1 -0
- package/dist/context/context-manager.js +10 -6
- package/dist/context/context-manager.js.map +1 -1
- package/dist/context/smoke-context.js +46 -3
- package/dist/context/smoke-context.js.map +1 -1
- package/dist/core/image-registry.js +1 -1
- package/dist/core/image-registry.js.map +1 -1
- package/dist/core/obs04-visible-data.test.d.ts +1 -0
- package/dist/core/obs04-visible-data.test.js +147 -0
- package/dist/core/obs04-visible-data.test.js.map +1 -0
- package/dist/core/query-engine.d.ts +5 -0
- package/dist/core/query-engine.js +36 -3
- package/dist/core/query-engine.js.map +1 -1
- package/dist/core/query.d.ts +5 -1
- package/dist/core/query.js +120 -18
- package/dist/core/query.js.map +1 -1
- package/dist/core/run-agent-pause.test.d.ts +1 -0
- package/dist/core/run-agent-pause.test.js +52 -0
- package/dist/core/run-agent-pause.test.js.map +1 -0
- package/dist/core/run-agent-persistence.test.d.ts +1 -0
- package/dist/core/run-agent-persistence.test.js +222 -0
- package/dist/core/run-agent-persistence.test.js.map +1 -0
- package/dist/core/run-agent.d.ts +13 -0
- package/dist/core/run-agent.js +72 -17
- package/dist/core/run-agent.js.map +1 -1
- package/dist/core/smoke-core-loop.js +8 -7
- package/dist/core/smoke-core-loop.js.map +1 -1
- package/dist/model/model-gateway.d.ts +1 -0
- package/dist/model/openai-native-image-guard.test.d.ts +1 -0
- package/dist/model/openai-native-image-guard.test.js +101 -0
- package/dist/model/openai-native-image-guard.test.js.map +1 -0
- package/dist/model/openai-responses-mapper.js +91 -16
- package/dist/model/openai-responses-mapper.js.map +1 -1
- package/dist/plugins/smoke-plugin-system.js +14 -14
- package/dist/repl/index.js +22 -28
- package/dist/repl/index.js.map +1 -1
- package/dist/secrets/secret-redaction.d.ts +6 -5
- package/dist/secrets/secret-redaction.js +7 -79
- package/dist/secrets/secret-redaction.js.map +1 -1
- package/dist/secrets/secret-types.d.ts +4 -1
- package/dist/secrets/secret-types.js.map +1 -1
- package/dist/session/session-store-safety.test.d.ts +1 -0
- package/dist/session/session-store-safety.test.js +107 -0
- package/dist/session/session-store-safety.test.js.map +1 -0
- package/dist/session/session-store.d.ts +5 -1
- package/dist/session/session-store.js +69 -7
- package/dist/session/session-store.js.map +1 -1
- package/dist/session/tool-result-memory.d.ts +3 -1
- package/dist/session/tool-result-memory.js.map +1 -1
- package/dist/tasks/subagent-tools.d.ts +4 -1
- package/dist/tasks/subagent-tools.js +85 -24
- package/dist/tasks/subagent-tools.js.map +1 -1
- package/dist/tasks/subagent-tools.test.d.ts +1 -0
- package/dist/tasks/subagent-tools.test.js +159 -0
- package/dist/tasks/subagent-tools.test.js.map +1 -0
- package/dist/tasks/task-ack-size.test.d.ts +1 -0
- package/dist/tasks/task-ack-size.test.js +101 -0
- package/dist/tasks/task-ack-size.test.js.map +1 -0
- package/dist/tasks/task-persistence.d.ts +23 -0
- package/dist/tasks/task-persistence.js +216 -0
- package/dist/tasks/task-persistence.js.map +1 -0
- package/dist/tasks/task-persistence.test.d.ts +1 -0
- package/dist/tasks/task-persistence.test.js +331 -0
- package/dist/tasks/task-persistence.test.js.map +1 -0
- package/dist/tasks/task-store.d.ts +51 -7
- package/dist/tasks/task-store.js +333 -31
- package/dist/tasks/task-store.js.map +1 -1
- package/dist/tools/builtins/exec-process-manager.d.ts +97 -2
- package/dist/tools/builtins/exec-process-manager.js +218 -19
- package/dist/tools/builtins/exec-process-manager.js.map +1 -1
- package/dist/tools/builtins/exec-tool.js +14 -1
- package/dist/tools/builtins/exec-tool.js.map +1 -1
- package/dist/tools/builtins/image-generation-tool.js +24 -24
- package/dist/tools/builtins/image-generation-tool.js.map +1 -1
- package/dist/tools/smoke-exec-process.js +2 -1
- package/dist/tools/smoke-exec-process.js.map +1 -1
- package/dist/tools/smoke-terminal-output-chain.d.ts +1 -0
- package/dist/tools/smoke-terminal-output-chain.js +245 -0
- package/dist/tools/smoke-terminal-output-chain.js.map +1 -0
- package/dist/tools/smoke-tool-system.js +6 -6
- package/dist/tools/smoke-tool-system.js.map +1 -1
- package/dist/tools/terminal-output-persistence.test.d.ts +1 -0
- package/dist/tools/terminal-output-persistence.test.js +50 -0
- package/dist/tools/terminal-output-persistence.test.js.map +1 -0
- package/dist/tools/terminal-output-store.d.ts +150 -0
- package/dist/tools/terminal-output-store.js +562 -0
- package/dist/tools/terminal-output-store.js.map +1 -0
- package/dist/tools/terminal-output-store.test.d.ts +1 -0
- package/dist/tools/terminal-output-store.test.js +364 -0
- package/dist/tools/terminal-output-store.test.js.map +1 -0
- package/dist/tools/tool.d.ts +5 -0
- package/dist/tools/tool.js.map +1 -1
- package/dist/types/events.d.ts +1 -0
- package/dist/types/messages.d.ts +1 -0
- package/dist/web/agent-content-detail.d.ts +78 -0
- package/dist/web/agent-content-detail.js +495 -0
- package/dist/web/agent-content-detail.js.map +1 -0
- package/dist/web/agent-content-detail.test.d.ts +1 -0
- package/dist/web/agent-content-detail.test.js +307 -0
- package/dist/web/agent-content-detail.test.js.map +1 -0
- package/dist/web/agent-parent-messages.test.d.ts +1 -0
- package/dist/web/agent-parent-messages.test.js +58 -0
- package/dist/web/agent-parent-messages.test.js.map +1 -0
- package/dist/web/agent-tool-payload-security.test.d.ts +1 -0
- package/dist/web/agent-tool-payload-security.test.js +120 -0
- package/dist/web/agent-tool-payload-security.test.js.map +1 -0
- package/dist/web/index.d.ts +213 -9
- package/dist/web/index.js +260 -108
- package/dist/web/index.js.map +1 -1
- package/dist/web/smoke-agent-content-http.d.ts +1 -0
- package/dist/web/smoke-agent-content-http.js +446 -0
- package/dist/web/smoke-agent-content-http.js.map +1 -0
- package/dist/web/smoke-status-semantics.d.ts +1 -0
- package/dist/web/smoke-status-semantics.js +90 -0
- package/dist/web/smoke-status-semantics.js.map +1 -0
- package/dist/web/smoke-task-session-entrypoints.d.ts +1 -0
- package/dist/web/smoke-task-session-entrypoints.js +96 -0
- package/dist/web/smoke-task-session-entrypoints.js.map +1 -0
- package/dist/web/smoke-terminal-output-http.d.ts +1 -0
- package/dist/web/smoke-terminal-output-http.js +372 -0
- package/dist/web/smoke-terminal-output-http.js.map +1 -0
- package/dist/web/smoke-tool-call-detail.d.ts +1 -0
- package/dist/web/smoke-tool-call-detail.js +106 -0
- package/dist/web/smoke-tool-call-detail.js.map +1 -0
- package/dist/web/smoke-tool-call-http.d.ts +1 -0
- package/dist/web/smoke-tool-call-http.js +100 -0
- package/dist/web/smoke-tool-call-http.js.map +1 -0
- package/dist/web/smoke-tool-detail-fields-http.d.ts +1 -0
- package/dist/web/smoke-tool-detail-fields-http.js +121 -0
- package/dist/web/smoke-tool-detail-fields-http.js.map +1 -0
- package/dist/web/smoke-web-agent-tasks.d.ts +1 -0
- package/dist/web/smoke-web-agent-tasks.js +50 -0
- package/dist/web/smoke-web-agent-tasks.js.map +1 -0
- package/dist/web/smoke-web-terminal-tasks.js +126 -76
- package/dist/web/smoke-web-terminal-tasks.js.map +1 -1
- package/dist/web/status-semantics.d.ts +11 -0
- package/dist/web/status-semantics.js +59 -0
- package/dist/web/status-semantics.js.map +1 -0
- package/dist/web/terminal-presentation.d.ts +15 -0
- package/dist/web/terminal-presentation.js +61 -0
- package/dist/web/terminal-presentation.js.map +1 -0
- package/dist/web/terminal-presentation.test.d.ts +1 -0
- package/dist/web/terminal-presentation.test.js +33 -0
- package/dist/web/terminal-presentation.test.js.map +1 -0
- package/dist/web/tool-call-detail.d.ts +40 -0
- package/dist/web/tool-call-detail.js +167 -0
- package/dist/web/tool-call-detail.js.map +1 -0
- package/dist/web/tool-detail-fields.d.ts +59 -0
- package/dist/web/tool-detail-fields.js +119 -0
- package/dist/web/tool-detail-fields.js.map +1 -0
- package/dist/web/tool-detail-fields.test.d.ts +1 -0
- package/dist/web/tool-detail-fields.test.js +121 -0
- package/dist/web/tool-detail-fields.test.js.map +1 -0
- package/package.json +90 -90
package/dist/web/index.d.ts
CHANGED
|
@@ -6,15 +6,17 @@ import { type ModelProviderName } from "../model/config.js";
|
|
|
6
6
|
import { CommunicationLogger, LoggingModelGateway } from "../model/communication-logger.js";
|
|
7
7
|
import type { ModelUsage, ReasoningConfig } from "../model/model-gateway.js";
|
|
8
8
|
import { ToolRegistry } from "../tools/registry.js";
|
|
9
|
-
import type { Tool } from "../tools/tool.js";
|
|
9
|
+
import type { Tool, ToolUseContext } from "../tools/tool.js";
|
|
10
10
|
import { type ToolPresentation } from "../tools/tool-catalog.js";
|
|
11
11
|
import { ExecProcessManager } from "../tools/builtins/exec-process-manager.js";
|
|
12
12
|
import { type AgentToolRuntime } from "../agents/agent-tool.js";
|
|
13
13
|
import { TaskStore } from "../tasks/task-store.js";
|
|
14
|
+
import type { TaskNotificationSource } from "../core/query.js";
|
|
14
15
|
import type { CompactionReport } from "../context/compaction.js";
|
|
15
16
|
import type { PromptSection } from "../context/prompts.js";
|
|
16
17
|
import type { NeoPluginResource } from "../plugins/plugin-system.js";
|
|
17
18
|
import type { ContextMetrics } from "../types/events.js";
|
|
19
|
+
import { type AgentContentRequest } from "./agent-content-detail.js";
|
|
18
20
|
import { type WebRuntimeContextPayload } from "./runtime-context-protocol.js";
|
|
19
21
|
export interface WebRuntime {
|
|
20
22
|
engine: QueryEngine;
|
|
@@ -123,7 +125,7 @@ interface UiToolStreamStep {
|
|
|
123
125
|
message: string;
|
|
124
126
|
toolName?: string;
|
|
125
127
|
toolLabel?: string;
|
|
126
|
-
status: "running" | "completed" | "failed";
|
|
128
|
+
status: "running" | "completed" | "failed" | "unknown";
|
|
127
129
|
phase?: string;
|
|
128
130
|
sequence?: number;
|
|
129
131
|
}
|
|
@@ -161,6 +163,7 @@ interface UiLine {
|
|
|
161
163
|
bodyTitle?: string;
|
|
162
164
|
titleStatus?: "success" | "failure";
|
|
163
165
|
toolDisplay?: UiToolDisplay;
|
|
166
|
+
toolError?: string;
|
|
164
167
|
toolStream?: UiToolStream;
|
|
165
168
|
format?: "markdown" | "ansi" | "plain" | "diff";
|
|
166
169
|
previewStyle?: "summary";
|
|
@@ -302,6 +305,11 @@ type WebLineOperation = {
|
|
|
302
305
|
};
|
|
303
306
|
export declare function runWebServer(argv?: string[], runtimeOptions?: RunWebServerOptions): Promise<void>;
|
|
304
307
|
export declare function createWebRuntime(options?: CreateWebRuntimeOptions): Promise<WebRuntime>;
|
|
308
|
+
/** Bind only the foreground view; never stop work owned by another session. */
|
|
309
|
+
export declare function activateSession(runtime: Pick<WebRuntime, "engine" | "taskStore">): void;
|
|
310
|
+
export declare function sessionAgentTasks(runtime: Pick<WebRuntime, "engine" | "taskStore">): import("../index.js").LocalAgentTask[];
|
|
311
|
+
export declare function createResumeParentContext(engine: QueryEngine, tools: ToolUseContext["tools"], cwd?: string): ToolUseContext;
|
|
312
|
+
export declare function createTaskNotificationSource(taskStore: TaskStore): TaskNotificationSource;
|
|
305
313
|
export declare class WebRuntimeRouter {
|
|
306
314
|
private readonly repls;
|
|
307
315
|
private readonly createRuntime;
|
|
@@ -333,6 +341,7 @@ interface WebClientReloadPayload extends WebClientInfoPayload {
|
|
|
333
341
|
export declare function createWebRuntimeRouter(options?: WebRuntimeRouterOptions): Promise<WebRuntimeRouter>;
|
|
334
342
|
export declare class WebRepl {
|
|
335
343
|
private runtime;
|
|
344
|
+
private readonly agentContentReader;
|
|
336
345
|
private readonly subscribers;
|
|
337
346
|
private eventSequence;
|
|
338
347
|
private pendingDeltaOperations;
|
|
@@ -358,13 +367,35 @@ export declare class WebRepl {
|
|
|
358
367
|
private pendingUserImageEchoMessageId;
|
|
359
368
|
private runtimeContextRevision;
|
|
360
369
|
private runtimeContextPublishQueue;
|
|
361
|
-
private pendingRuntimeConfiguration;
|
|
362
370
|
private readonly backgroundSessionRuns;
|
|
363
371
|
private readonly suppressReattachedStreaming;
|
|
364
372
|
constructor(runtime: WebRuntime);
|
|
365
373
|
subscribe(res: ServerResponse, clientInfo?: WebClientInfoPayload): void;
|
|
366
374
|
get backgroundTaskCount(): number;
|
|
367
375
|
requestClientReload(payload: WebClientReloadPayload): number;
|
|
376
|
+
toolCallDetail(sessionId: string, toolUseId: string, messageId?: string): Promise<{
|
|
377
|
+
fields: import("./tool-detail-fields.js").ToolDetailFields;
|
|
378
|
+
sessionId: string;
|
|
379
|
+
toolUseId: string;
|
|
380
|
+
messageId?: string;
|
|
381
|
+
toolName: string;
|
|
382
|
+
ok?: boolean;
|
|
383
|
+
input: import("./tool-call-detail.js").DetailPart;
|
|
384
|
+
result: import("./tool-call-detail.js").DetailPart;
|
|
385
|
+
error: import("./tool-call-detail.js").DetailPart;
|
|
386
|
+
} | undefined>;
|
|
387
|
+
agentContent(sessionId: string, view: string, request: AgentContentRequest): Promise<import("./agent-content-detail.js").AgentContentPage | undefined>;
|
|
388
|
+
terminalOutput(sessionId: string, runId: string, stream: string, offset: number, limitBytes: number): {
|
|
389
|
+
stream: import("../tools/terminal-output-store.js").TerminalOutputStream;
|
|
390
|
+
offset: number;
|
|
391
|
+
nextOffset: number;
|
|
392
|
+
text: string | null;
|
|
393
|
+
endOfStoredOutput: boolean;
|
|
394
|
+
record: import("../tools/terminal-output-store.js").TerminalRunRecord;
|
|
395
|
+
persistence: "stored" | "memory-only";
|
|
396
|
+
sessionId: string;
|
|
397
|
+
runId: string;
|
|
398
|
+
} | undefined;
|
|
368
399
|
snapshot(includeCatalog?: boolean): {
|
|
369
400
|
lines: UiLine[];
|
|
370
401
|
status: UiStatus;
|
|
@@ -379,11 +410,75 @@ export declare class WebRepl {
|
|
|
379
410
|
type: import("../index.js").LocalAgentTaskType;
|
|
380
411
|
status: import("../index.js").LocalAgentTaskStatus;
|
|
381
412
|
description: string;
|
|
382
|
-
|
|
383
|
-
progress:
|
|
384
|
-
|
|
413
|
+
runGeneration: number;
|
|
414
|
+
progress: {
|
|
415
|
+
visibleText: {
|
|
416
|
+
channel: "visible";
|
|
417
|
+
runGeneration: number;
|
|
418
|
+
text: string;
|
|
419
|
+
truncated: boolean;
|
|
420
|
+
redactionVersion?: 1;
|
|
421
|
+
} | undefined;
|
|
422
|
+
lastActivity: string | undefined;
|
|
423
|
+
currentAction: string | undefined;
|
|
424
|
+
totalToolUseCount: number;
|
|
425
|
+
steps: {
|
|
426
|
+
id: string;
|
|
427
|
+
title: string;
|
|
428
|
+
status: "completed" | "running" | "failed";
|
|
429
|
+
}[] | undefined;
|
|
430
|
+
};
|
|
431
|
+
pendingMessageCount: number;
|
|
432
|
+
deliveredRetainedThisRun: number | undefined;
|
|
433
|
+
messageReceipts: {
|
|
434
|
+
id: string;
|
|
435
|
+
status: "queued" | "delivered";
|
|
436
|
+
queuedAt: string;
|
|
437
|
+
deliveredAt: string | undefined;
|
|
438
|
+
runGeneration: number;
|
|
439
|
+
}[];
|
|
440
|
+
result: {
|
|
441
|
+
content: string;
|
|
442
|
+
truncated: boolean;
|
|
443
|
+
status: "completed" | "incomplete" | undefined;
|
|
444
|
+
availability: "unavailable";
|
|
445
|
+
reason: string;
|
|
446
|
+
} | {
|
|
447
|
+
content: string;
|
|
448
|
+
truncated: boolean;
|
|
449
|
+
status: "completed" | "incomplete" | undefined;
|
|
450
|
+
availability?: undefined;
|
|
451
|
+
reason?: undefined;
|
|
452
|
+
} | undefined;
|
|
453
|
+
error: string | undefined;
|
|
454
|
+
errorTruncated: boolean;
|
|
455
|
+
runHistory: {
|
|
456
|
+
runGeneration: number;
|
|
457
|
+
status: import("../index.js").LocalAgentTaskStatus;
|
|
458
|
+
startedAt: string | undefined;
|
|
459
|
+
durationMs: number | undefined;
|
|
460
|
+
completedAt: string | undefined;
|
|
461
|
+
result: {
|
|
462
|
+
content: string;
|
|
463
|
+
truncated: boolean;
|
|
464
|
+
status: "completed" | "incomplete" | undefined;
|
|
465
|
+
availability: "unavailable";
|
|
466
|
+
reason: string;
|
|
467
|
+
} | {
|
|
468
|
+
content: string;
|
|
469
|
+
truncated: boolean;
|
|
470
|
+
status: "completed" | "incomplete" | undefined;
|
|
471
|
+
availability?: undefined;
|
|
472
|
+
reason?: undefined;
|
|
473
|
+
} | undefined;
|
|
474
|
+
error: string | undefined;
|
|
475
|
+
errorTruncated: boolean;
|
|
476
|
+
}[];
|
|
385
477
|
createdAt: string;
|
|
386
478
|
updatedAt: string;
|
|
479
|
+
startedAt: string | undefined;
|
|
480
|
+
completedAt: string | undefined;
|
|
481
|
+
durationMs: number | undefined;
|
|
387
482
|
} | {
|
|
388
483
|
kind: "terminal";
|
|
389
484
|
taskId: string;
|
|
@@ -391,6 +486,7 @@ export declare class WebRepl {
|
|
|
391
486
|
status: import("../tools/builtins/exec-process-manager.js").ExecProcessStatus;
|
|
392
487
|
description: string;
|
|
393
488
|
createdAt: number;
|
|
489
|
+
ownerSessionId: string | undefined;
|
|
394
490
|
sessionId: string;
|
|
395
491
|
processId: number | null;
|
|
396
492
|
command: string;
|
|
@@ -398,8 +494,10 @@ export declare class WebRepl {
|
|
|
398
494
|
shell: string;
|
|
399
495
|
tty: boolean;
|
|
400
496
|
durationMs: number;
|
|
401
|
-
|
|
402
|
-
|
|
497
|
+
exitCode: number | null;
|
|
498
|
+
signal: string | number | null;
|
|
499
|
+
terminationReason: import("../tools/builtins/exec-process-manager.js").ExecTerminationReason | null;
|
|
500
|
+
outputAvailability: import("../tools/terminal-output-store.js").OutputAvailability | "unavailable";
|
|
403
501
|
} | {
|
|
404
502
|
kind: "session";
|
|
405
503
|
taskId: string;
|
|
@@ -409,9 +507,114 @@ export declare class WebRepl {
|
|
|
409
507
|
createdAt: number;
|
|
410
508
|
sessionId: string;
|
|
411
509
|
})[];
|
|
510
|
+
terminalTaskHistory: {
|
|
511
|
+
kind: "terminal";
|
|
512
|
+
taskId: string;
|
|
513
|
+
type: string;
|
|
514
|
+
ownerSessionId: string;
|
|
515
|
+
sessionId: string;
|
|
516
|
+
status: string;
|
|
517
|
+
description: string;
|
|
518
|
+
command: string | undefined;
|
|
519
|
+
cwd: string | undefined;
|
|
520
|
+
shell: string | undefined;
|
|
521
|
+
tty: boolean | undefined;
|
|
522
|
+
processId: number | null | undefined;
|
|
523
|
+
createdAt: number;
|
|
524
|
+
completedAt: number | undefined;
|
|
525
|
+
durationMs: number | null | undefined;
|
|
526
|
+
exitCode: number | null | undefined;
|
|
527
|
+
signal: string | number | null | undefined;
|
|
528
|
+
terminationReason: string | null | undefined;
|
|
529
|
+
outputAvailability: import("../tools/terminal-output-store.js").OutputAvailability;
|
|
530
|
+
outputTruncated: boolean;
|
|
531
|
+
metadataTruncated: ("description" | "cwd" | "shell" | "command")[] | undefined;
|
|
532
|
+
}[];
|
|
533
|
+
agentTaskHistory: {
|
|
534
|
+
kind: "agent";
|
|
535
|
+
taskId: string;
|
|
536
|
+
agentId: string;
|
|
537
|
+
agentType: string | undefined;
|
|
538
|
+
type: import("../index.js").LocalAgentTaskType;
|
|
539
|
+
status: import("../index.js").LocalAgentTaskStatus;
|
|
540
|
+
description: string;
|
|
541
|
+
runGeneration: number;
|
|
542
|
+
progress: {
|
|
543
|
+
visibleText: {
|
|
544
|
+
channel: "visible";
|
|
545
|
+
runGeneration: number;
|
|
546
|
+
text: string;
|
|
547
|
+
truncated: boolean;
|
|
548
|
+
redactionVersion?: 1;
|
|
549
|
+
} | undefined;
|
|
550
|
+
lastActivity: string | undefined;
|
|
551
|
+
currentAction: string | undefined;
|
|
552
|
+
totalToolUseCount: number;
|
|
553
|
+
steps: {
|
|
554
|
+
id: string;
|
|
555
|
+
title: string;
|
|
556
|
+
status: "completed" | "running" | "failed";
|
|
557
|
+
}[] | undefined;
|
|
558
|
+
};
|
|
559
|
+
pendingMessageCount: number;
|
|
560
|
+
deliveredRetainedThisRun: number | undefined;
|
|
561
|
+
messageReceipts: {
|
|
562
|
+
id: string;
|
|
563
|
+
status: "queued" | "delivered";
|
|
564
|
+
queuedAt: string;
|
|
565
|
+
deliveredAt: string | undefined;
|
|
566
|
+
runGeneration: number;
|
|
567
|
+
}[];
|
|
568
|
+
result: {
|
|
569
|
+
content: string;
|
|
570
|
+
truncated: boolean;
|
|
571
|
+
status: "completed" | "incomplete" | undefined;
|
|
572
|
+
availability: "unavailable";
|
|
573
|
+
reason: string;
|
|
574
|
+
} | {
|
|
575
|
+
content: string;
|
|
576
|
+
truncated: boolean;
|
|
577
|
+
status: "completed" | "incomplete" | undefined;
|
|
578
|
+
availability?: undefined;
|
|
579
|
+
reason?: undefined;
|
|
580
|
+
} | undefined;
|
|
581
|
+
error: string | undefined;
|
|
582
|
+
errorTruncated: boolean;
|
|
583
|
+
runHistory: {
|
|
584
|
+
runGeneration: number;
|
|
585
|
+
status: import("../index.js").LocalAgentTaskStatus;
|
|
586
|
+
startedAt: string | undefined;
|
|
587
|
+
durationMs: number | undefined;
|
|
588
|
+
completedAt: string | undefined;
|
|
589
|
+
result: {
|
|
590
|
+
content: string;
|
|
591
|
+
truncated: boolean;
|
|
592
|
+
status: "completed" | "incomplete" | undefined;
|
|
593
|
+
availability: "unavailable";
|
|
594
|
+
reason: string;
|
|
595
|
+
} | {
|
|
596
|
+
content: string;
|
|
597
|
+
truncated: boolean;
|
|
598
|
+
status: "completed" | "incomplete" | undefined;
|
|
599
|
+
availability?: undefined;
|
|
600
|
+
reason?: undefined;
|
|
601
|
+
} | undefined;
|
|
602
|
+
error: string | undefined;
|
|
603
|
+
errorTruncated: boolean;
|
|
604
|
+
}[];
|
|
605
|
+
createdAt: string;
|
|
606
|
+
updatedAt: string;
|
|
607
|
+
startedAt: string | undefined;
|
|
608
|
+
completedAt: string | undefined;
|
|
609
|
+
durationMs: number | undefined;
|
|
610
|
+
}[];
|
|
412
611
|
backgroundSessionRunCount: number;
|
|
413
612
|
runningSessionIds: string[];
|
|
414
613
|
session: import("../index.js").SessionStoreSnapshot | undefined;
|
|
614
|
+
modelSettings: {
|
|
615
|
+
model: string | undefined;
|
|
616
|
+
reasoning: ReasoningConfig | null | undefined;
|
|
617
|
+
};
|
|
415
618
|
fastMode: boolean;
|
|
416
619
|
appPrompt: import("../app/app-prompt.js").AppPromptSnapshot;
|
|
417
620
|
catalog: {
|
|
@@ -480,7 +683,6 @@ export declare class WebRepl {
|
|
|
480
683
|
private parseToolModes;
|
|
481
684
|
private applySessionToolOverrides;
|
|
482
685
|
private syncPluginToolRegistration;
|
|
483
|
-
private applyRuntimeConfiguration;
|
|
484
686
|
private refreshToolConfiguration;
|
|
485
687
|
private applySessionPluginOverrides;
|
|
486
688
|
submit(text: string, attachments?: WebAttachmentPayload[]): Promise<{
|
|
@@ -545,6 +747,8 @@ export declare class WebRepl {
|
|
|
545
747
|
private setStatus;
|
|
546
748
|
private finalizeForegroundView;
|
|
547
749
|
private stopForegroundRun;
|
|
750
|
+
private agentTaskSnapshot;
|
|
751
|
+
private terminalTaskHistory;
|
|
548
752
|
private backgroundTasks;
|
|
549
753
|
private detachRunningForeground;
|
|
550
754
|
private reattachRunningSession;
|