openfox 1.6.86 → 1.6.87

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.
@@ -528,7 +528,7 @@ interface QueuedMessage {
528
528
  queuedAt: string;
529
529
  messageKind?: string;
530
530
  }
531
- type ServerMessageType = 'project.state' | 'project.list' | 'project.deleted' | 'session.state' | 'session.list' | 'session.deleted' | 'session.deletedAll' | 'session.running' | 'session.name_generated' | 'chat.delta' | 'chat.thinking' | 'chat.tool_preparing' | 'chat.tool_call' | 'chat.tool_output' | 'chat.tool_result' | 'chat.todo' | 'chat.summary' | 'chat.progress' | 'chat.format_retry' | 'chat.message' | 'chat.message_updated' | 'chat.done' | 'chat.vision_fallback' | 'chat.error' | 'chat.path_confirmation' | 'chat.ask_user' | 'mode.changed' | 'phase.changed' | 'task.completed' | 'criteria.updated' | 'context.state' | 'settings.value' | 'provider.changed' | 'queue.state' | 'devServer.output' | 'devServer.state' | 'backgroundProcess.started' | 'backgroundProcess.output' | 'backgroundProcess.exited' | 'backgroundProcess.removed' | 'lsp.diagnostics' | 'error' | 'ack';
531
+ type ServerMessageType = 'project.state' | 'project.list' | 'project.deleted' | 'session.state' | 'session.list' | 'session.deleted' | 'session.deletedAll' | 'session.running' | 'session.name_generated' | 'chat.delta' | 'chat.thinking' | 'chat.tool_preparing' | 'chat.tool_call' | 'chat.tool_output' | 'chat.tool_result' | 'chat.todo' | 'chat.summary' | 'chat.progress' | 'chat.format_retry' | 'chat.message' | 'chat.message_updated' | 'chat.done' | 'chat.vision_fallback' | 'chat.error' | 'chat.path_confirmation' | 'chat.ask_user' | 'mode.changed' | 'phase.changed' | 'task.completed' | 'criteria.updated' | 'context.state' | 'settings.value' | 'provider.changed' | 'queue.state' | 'devServer.output' | 'devServer.state' | 'backgroundProcess.started' | 'backgroundProcess.output' | 'backgroundProcess.exited' | 'backgroundProcess.removed' | 'git.status' | 'lsp.diagnostics' | 'error' | 'ack';
532
532
  interface ServerMessage<T = unknown> {
533
533
  id?: string;
534
534
  type: ServerMessageType;
@@ -549,6 +549,7 @@ interface SessionStatePayload {
549
549
  session: Session;
550
550
  messages: Message[];
551
551
  pendingConfirmations: PendingPathConfirmationPayload[];
552
+ gitStatus?: GitStatusPayload;
552
553
  }
553
554
  interface PendingPathConfirmationPayload {
554
555
  callId: string;
@@ -733,6 +734,18 @@ interface BackgroundProcessExitedPayload {
733
734
  interface BackgroundProcessRemovedPayload {
734
735
  processId: string;
735
736
  }
737
+ interface GitStatusPayload {
738
+ branch: string | null;
739
+ diff: {
740
+ files: GitDiffFile[];
741
+ };
742
+ }
743
+ interface GitDiffFile {
744
+ path: string;
745
+ status: 'modified' | 'added' | 'deleted';
746
+ additions: number;
747
+ deletions: number;
748
+ }
736
749
  type BackgroundProcessStatus = 'pending' | 'starting' | 'running' | 'stopping' | 'exited';
737
750
  interface BackgroundProcess {
738
751
  id: string;
@@ -850,4 +863,4 @@ interface QueueCancelledEvent {
850
863
  }
851
864
  type QueueEvent = QueueAddedEvent | QueueDrainedEvent | QueueCancelledEvent;
852
865
 
853
- export { type InjectedFile as $, type AgentEvent as A, type BackgroundProcess as B, type CallStatsDataPoint as C, type ClientMessageType as D, type Config as E, type ContextCompactionEvent as F, type ContextState as G, type ContextStatePayload as H, type ContextWindow as I, type CriteriaUpdatedPayload as J, type Criterion as K, type CriterionAttempt as L, type Message as M, type CriterionStatus as N, type CriterionValidation as O, type DangerLevel as P, type DevServerOutputPayload as Q, type DevServerStatePayload as R, type SessionStats as S, type Diagnostic as T, type EditContextEdit as U, type EditContextLine as V, type EditContextRegion as W, type ElementData as X, type ErrorPayload as Y, type ExecutionState as Z, type FileReadEntry as _, type AskAnswerPayload as a, type LLMCallStats as a0, type LlmBackend as a1, type LogLine as a2, type LspDiagnosticsPayload as a3, type MessageRole as a4, type MessageSegment as a5, type MessageStats as a6, type ModeChangedPayload as a7, type ModelConfig as a8, type ModelSessionStats as a9, type Session as aA, type SessionListPayload as aB, type SessionLoadPayload as aC, type SessionMetadata as aD, type SessionMode as aE, type SessionNameGeneratedPayload as aF, type SessionPhase as aG, type SessionRunningPayload as aH, type SessionStatePayload as aI, type SessionSummary as aJ, type StatsDataPoint as aK, type StatsIdentity as aL, type TaskCompletedPayload as aM, type Todo as aN, type ToolCall as aO, type ToolMode as aP, type ToolName as aQ, type ToolResult as aR, type ValidationResult as aS, createClientMessage as aT, createServerMessage as aU, isClientMessage as aV, isServerMessage as aW, type PathConfirmPayload as aa, type PathConfirmationReason as ab, type PendingPathConfirmationPayload as ac, type PhaseChangedPayload as ad, type PreparingToolCall as ae, type Project as af, type ProjectDeletedPayload as ag, type ProjectListPayload as ah, type ProjectStatePayload as ai, type PromptContext as aj, type PromptContextMessage as ak, type PromptContextTool as al, type PromptRequestOptions as am, type Provider as an, type ProviderBackend as ao, type ProviderChangedPayload as ap, type QueueAddedEvent as aq, type QueueCancelledEvent as ar, type QueueDrainedEvent as as, type QueueEvent as at, type QueueEventType as au, type QueueStatePayload as av, type QueuedMessage as aw, type RecentUserPrompt as ax, type ServerMessage as ay, type ServerMessageType as az, type AskUserEvent as b, type Attachment as c, type BackgroundProcessExitedPayload as d, type BackgroundProcessOutputPayload as e, type BackgroundProcessRemovedPayload as f, type BackgroundProcessStartedPayload as g, type BackgroundProcessStatus as h, type ChatAskUserPayload as i, type ChatDeltaPayload as j, type ChatDonePayload as k, type ChatErrorPayload as l, type ChatFormatRetryPayload as m, type ChatMessagePayload as n, type ChatMessageUpdatedPayload as o, type ChatPathConfirmationPayload as p, type ChatProgressPayload as q, type ChatSummaryPayload as r, type ChatThinkingPayload as s, type ChatTodoPayload as t, type ChatToolCallPayload as u, type ChatToolOutputPayload as v, type ChatToolPreparingPayload as w, type ChatToolResultPayload as x, type ChatVisionFallbackPayload as y, type ClientMessage as z };
866
+ export { type GitDiffFile as $, type AgentEvent as A, type BackgroundProcess as B, type CallStatsDataPoint as C, type ClientMessageType as D, type Config as E, type ContextCompactionEvent as F, type ContextState as G, type ContextStatePayload as H, type ContextWindow as I, type CriteriaUpdatedPayload as J, type Criterion as K, type CriterionAttempt as L, type Message as M, type CriterionStatus as N, type CriterionValidation as O, type DangerLevel as P, type DevServerOutputPayload as Q, type DevServerStatePayload as R, type SessionStats as S, type Diagnostic as T, type EditContextEdit as U, type EditContextLine as V, type EditContextRegion as W, type ElementData as X, type ErrorPayload as Y, type ExecutionState as Z, type FileReadEntry as _, type AskAnswerPayload as a, type GitStatusPayload as a0, type InjectedFile as a1, type LLMCallStats as a2, type LlmBackend as a3, type LogLine as a4, type LspDiagnosticsPayload as a5, type MessageRole as a6, type MessageSegment as a7, type MessageStats as a8, type ModeChangedPayload as a9, type ServerMessage as aA, type ServerMessageType as aB, type Session as aC, type SessionListPayload as aD, type SessionLoadPayload as aE, type SessionMetadata as aF, type SessionMode as aG, type SessionNameGeneratedPayload as aH, type SessionPhase as aI, type SessionRunningPayload as aJ, type SessionStatePayload as aK, type SessionSummary as aL, type StatsDataPoint as aM, type StatsIdentity as aN, type TaskCompletedPayload as aO, type Todo as aP, type ToolCall as aQ, type ToolMode as aR, type ToolName as aS, type ToolResult as aT, type ValidationResult as aU, createClientMessage as aV, createServerMessage as aW, isClientMessage as aX, isServerMessage as aY, type ModelConfig as aa, type ModelSessionStats as ab, type PathConfirmPayload as ac, type PathConfirmationReason as ad, type PendingPathConfirmationPayload as ae, type PhaseChangedPayload as af, type PreparingToolCall as ag, type Project as ah, type ProjectDeletedPayload as ai, type ProjectListPayload as aj, type ProjectStatePayload as ak, type PromptContext as al, type PromptContextMessage as am, type PromptContextTool as an, type PromptRequestOptions as ao, type Provider as ap, type ProviderBackend as aq, type ProviderChangedPayload as ar, type QueueAddedEvent as as, type QueueCancelledEvent as at, type QueueDrainedEvent as au, type QueueEvent as av, type QueueEventType as aw, type QueueStatePayload as ax, type QueuedMessage as ay, type RecentUserPrompt as az, type AskUserEvent as b, type Attachment as c, type BackgroundProcessExitedPayload as d, type BackgroundProcessOutputPayload as e, type BackgroundProcessRemovedPayload as f, type BackgroundProcessStartedPayload as g, type BackgroundProcessStatus as h, type ChatAskUserPayload as i, type ChatDeltaPayload as j, type ChatDonePayload as k, type ChatErrorPayload as l, type ChatFormatRetryPayload as m, type ChatMessagePayload as n, type ChatMessageUpdatedPayload as o, type ChatPathConfirmationPayload as p, type ChatProgressPayload as q, type ChatSummaryPayload as r, type ChatThinkingPayload as s, type ChatTodoPayload as t, type ChatToolCallPayload as u, type ChatToolOutputPayload as v, type ChatToolPreparingPayload as w, type ChatToolResultPayload as x, type ChatVisionFallbackPayload as y, type ClientMessage as z };
@@ -19,6 +19,7 @@ import {
19
19
  createContextStateMessage,
20
20
  createCriteriaUpdatedMessage,
21
21
  createErrorMessage,
22
+ createGitStatusMessage,
22
23
  createModeChangedMessage,
23
24
  createPhaseChangedMessage,
24
25
  createProjectListMessage,
@@ -35,8 +36,8 @@ import {
35
36
  parseClientMessage,
36
37
  serializeServerMessage,
37
38
  storedEventToServerMessage
38
- } from "./chunk-GN7RB4Y4.js";
39
- import "./chunk-4VT74LCD.js";
39
+ } from "./chunk-PAAUYFYS.js";
40
+ import "./chunk-ERFRUQQR.js";
40
41
  export {
41
42
  createChatAskUserMessage,
42
43
  createChatDeltaMessage,
@@ -58,6 +59,7 @@ export {
58
59
  createContextStateMessage,
59
60
  createCriteriaUpdatedMessage,
60
61
  createErrorMessage,
62
+ createGitStatusMessage,
61
63
  createModeChangedMessage,
62
64
  createPhaseChangedMessage,
63
65
  createProjectListMessage,
@@ -75,4 +77,4 @@ export {
75
77
  serializeServerMessage,
76
78
  storedEventToServerMessage
77
79
  };
78
- //# sourceMappingURL=protocol-NEBXAMJ3.js.map
80
+ //# sourceMappingURL=protocol-QDSVJTRN.js.map
@@ -6,9 +6,9 @@ import {
6
6
  import {
7
7
  VERSION,
8
8
  createServer
9
- } from "./chunk-X77U3VSW.js";
10
- import "./chunk-56MJNPRR.js";
11
- import "./chunk-IGPHQGUN.js";
9
+ } from "./chunk-6JSQNOQG.js";
10
+ import "./chunk-FTT3HMDU.js";
11
+ import "./chunk-PLWQJCN4.js";
12
12
  import "./chunk-RCECKE5L.js";
13
13
  import "./chunk-ZHBL5G5X.js";
14
14
  import "./chunk-DL6ZILAF.js";
@@ -20,10 +20,10 @@ import "./chunk-YNIAFX24.js";
20
20
  import "./chunk-ENH5AUOX.js";
21
21
  import "./chunk-5GVCNVKV.js";
22
22
  import "./chunk-XVWVAWSG.js";
23
- import "./chunk-GN7RB4Y4.js";
23
+ import "./chunk-PAAUYFYS.js";
24
24
  import "./chunk-BJYPTN5S.js";
25
25
  import "./chunk-RGRBWDZP.js";
26
- import "./chunk-4VT74LCD.js";
26
+ import "./chunk-ERFRUQQR.js";
27
27
  import {
28
28
  ensureDataDirExists,
29
29
  getDatabasePath,
@@ -190,4 +190,4 @@ async function runServe(options) {
190
190
  export {
191
191
  runServe
192
192
  };
193
- //# sourceMappingURL=serve-Z2RZ5D3X.js.map
193
+ //# sourceMappingURL=serve-54UN2X54.js.map
@@ -1,4 +1,4 @@
1
- import { aO as ToolCall, c as Attachment, T as Diagnostic, an as Provider, a8 as ModelConfig, aA as Session, aJ as SessionSummary, af as Project, aE as SessionMode, aG as SessionPhase, M as Message, K as Criterion, N as CriterionStatus, aw as QueuedMessage, G as ContextState, P as DangerLevel$1, ay as ServerMessage, aL as StatsIdentity, aR as ToolResult, E as Config } from '../protocol-DaC_kENH.js';
1
+ import { aQ as ToolCall, c as Attachment, T as Diagnostic, ap as Provider, aa as ModelConfig, aC as Session, aL as SessionSummary, ah as Project, aG as SessionMode, aI as SessionPhase, M as Message, K as Criterion, N as CriterionStatus, ay as QueuedMessage, G as ContextState, P as DangerLevel$1, aA as ServerMessage, aN as StatsIdentity, aT as ToolResult, E as Config } from '../protocol--8PKNwb_.js';
2
2
  import { Server } from 'node:http';
3
3
 
4
4
  interface LLMMessage {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  createServer,
3
3
  createServerHandle
4
- } from "../chunk-X77U3VSW.js";
5
- import "../chunk-56MJNPRR.js";
6
- import "../chunk-IGPHQGUN.js";
4
+ } from "../chunk-6JSQNOQG.js";
5
+ import "../chunk-FTT3HMDU.js";
6
+ import "../chunk-PLWQJCN4.js";
7
7
  import "../chunk-RCECKE5L.js";
8
8
  import "../chunk-ZHBL5G5X.js";
9
9
  import "../chunk-DL6ZILAF.js";
@@ -15,10 +15,10 @@ import "../chunk-YNIAFX24.js";
15
15
  import "../chunk-ENH5AUOX.js";
16
16
  import "../chunk-5GVCNVKV.js";
17
17
  import "../chunk-XVWVAWSG.js";
18
- import "../chunk-GN7RB4Y4.js";
18
+ import "../chunk-PAAUYFYS.js";
19
19
  import "../chunk-BJYPTN5S.js";
20
20
  import "../chunk-RGRBWDZP.js";
21
- import "../chunk-4VT74LCD.js";
21
+ import "../chunk-ERFRUQQR.js";
22
22
  import "../chunk-CQGTEGKL.js";
23
23
  import "../chunk-B5AP3RSV.js";
24
24
  import "../chunk-WSRF5L3S.js";
@@ -1,5 +1,5 @@
1
- import { M as Message, S as SessionStats } from '../protocol-DaC_kENH.js';
2
- export { A as AgentEvent, a as AskAnswerPayload, b as AskUserEvent, c as Attachment, B as BackgroundProcess, d as BackgroundProcessExitedPayload, e as BackgroundProcessOutputPayload, f as BackgroundProcessRemovedPayload, g as BackgroundProcessStartedPayload, h as BackgroundProcessStatus, C as CallStatsDataPoint, i as ChatAskUserPayload, j as ChatDeltaPayload, k as ChatDonePayload, l as ChatErrorPayload, m as ChatFormatRetryPayload, n as ChatMessagePayload, o as ChatMessageUpdatedPayload, p as ChatPathConfirmationPayload, q as ChatProgressPayload, r as ChatSummaryPayload, s as ChatThinkingPayload, t as ChatTodoPayload, u as ChatToolCallPayload, v as ChatToolOutputPayload, w as ChatToolPreparingPayload, x as ChatToolResultPayload, y as ChatVisionFallbackPayload, z as ClientMessage, D as ClientMessageType, E as Config, F as ContextCompactionEvent, G as ContextState, H as ContextStatePayload, I as ContextWindow, J as CriteriaUpdatedPayload, K as Criterion, L as CriterionAttempt, N as CriterionStatus, O as CriterionValidation, P as DangerLevel, Q as DevServerOutputPayload, R as DevServerStatePayload, T as Diagnostic, U as EditContextEdit, V as EditContextLine, W as EditContextRegion, X as ElementData, Y as ErrorPayload, Z as ExecutionState, _ as FileReadEntry, $ as InjectedFile, a0 as LLMCallStats, a1 as LlmBackend, a2 as LogLine, a3 as LspDiagnosticsPayload, a4 as MessageRole, a5 as MessageSegment, a6 as MessageStats, a7 as ModeChangedPayload, a8 as ModelConfig, a9 as ModelSessionStats, aa as PathConfirmPayload, ab as PathConfirmationReason, ac as PendingPathConfirmationPayload, ad as PhaseChangedPayload, ae as PreparingToolCall, af as Project, ag as ProjectDeletedPayload, ah as ProjectListPayload, ai as ProjectStatePayload, aj as PromptContext, ak as PromptContextMessage, al as PromptContextTool, am as PromptRequestOptions, an as Provider, ao as ProviderBackend, ap as ProviderChangedPayload, aq as QueueAddedEvent, ar as QueueCancelledEvent, as as QueueDrainedEvent, at as QueueEvent, au as QueueEventType, av as QueueStatePayload, aw as QueuedMessage, ax as RecentUserPrompt, ay as ServerMessage, az as ServerMessageType, aA as Session, aB as SessionListPayload, aC as SessionLoadPayload, aD as SessionMetadata, aE as SessionMode, aF as SessionNameGeneratedPayload, aG as SessionPhase, aH as SessionRunningPayload, aI as SessionStatePayload, aJ as SessionSummary, aK as StatsDataPoint, aL as StatsIdentity, aM as TaskCompletedPayload, aN as Todo, aO as ToolCall, aP as ToolMode, aQ as ToolName, aR as ToolResult, aS as ValidationResult, aT as createClientMessage, aU as createServerMessage, aV as isClientMessage, aW as isServerMessage } from '../protocol-DaC_kENH.js';
1
+ import { M as Message, S as SessionStats } from '../protocol--8PKNwb_.js';
2
+ export { A as AgentEvent, a as AskAnswerPayload, b as AskUserEvent, c as Attachment, B as BackgroundProcess, d as BackgroundProcessExitedPayload, e as BackgroundProcessOutputPayload, f as BackgroundProcessRemovedPayload, g as BackgroundProcessStartedPayload, h as BackgroundProcessStatus, C as CallStatsDataPoint, i as ChatAskUserPayload, j as ChatDeltaPayload, k as ChatDonePayload, l as ChatErrorPayload, m as ChatFormatRetryPayload, n as ChatMessagePayload, o as ChatMessageUpdatedPayload, p as ChatPathConfirmationPayload, q as ChatProgressPayload, r as ChatSummaryPayload, s as ChatThinkingPayload, t as ChatTodoPayload, u as ChatToolCallPayload, v as ChatToolOutputPayload, w as ChatToolPreparingPayload, x as ChatToolResultPayload, y as ChatVisionFallbackPayload, z as ClientMessage, D as ClientMessageType, E as Config, F as ContextCompactionEvent, G as ContextState, H as ContextStatePayload, I as ContextWindow, J as CriteriaUpdatedPayload, K as Criterion, L as CriterionAttempt, N as CriterionStatus, O as CriterionValidation, P as DangerLevel, Q as DevServerOutputPayload, R as DevServerStatePayload, T as Diagnostic, U as EditContextEdit, V as EditContextLine, W as EditContextRegion, X as ElementData, Y as ErrorPayload, Z as ExecutionState, _ as FileReadEntry, $ as GitDiffFile, a0 as GitStatusPayload, a1 as InjectedFile, a2 as LLMCallStats, a3 as LlmBackend, a4 as LogLine, a5 as LspDiagnosticsPayload, a6 as MessageRole, a7 as MessageSegment, a8 as MessageStats, a9 as ModeChangedPayload, aa as ModelConfig, ab as ModelSessionStats, ac as PathConfirmPayload, ad as PathConfirmationReason, ae as PendingPathConfirmationPayload, af as PhaseChangedPayload, ag as PreparingToolCall, ah as Project, ai as ProjectDeletedPayload, aj as ProjectListPayload, ak as ProjectStatePayload, al as PromptContext, am as PromptContextMessage, an as PromptContextTool, ao as PromptRequestOptions, ap as Provider, aq as ProviderBackend, ar as ProviderChangedPayload, as as QueueAddedEvent, at as QueueCancelledEvent, au as QueueDrainedEvent, av as QueueEvent, aw as QueueEventType, ax as QueueStatePayload, ay as QueuedMessage, az as RecentUserPrompt, aA as ServerMessage, aB as ServerMessageType, aC as Session, aD as SessionListPayload, aE as SessionLoadPayload, aF as SessionMetadata, aG as SessionMode, aH as SessionNameGeneratedPayload, aI as SessionPhase, aJ as SessionRunningPayload, aK as SessionStatePayload, aL as SessionSummary, aM as StatsDataPoint, aN as StatsIdentity, aO as TaskCompletedPayload, aP as Todo, aQ as ToolCall, aR as ToolMode, aS as ToolName, aT as ToolResult, aU as ValidationResult, aV as createClientMessage, aW as createServerMessage, aX as isClientMessage, aY as isServerMessage } from '../protocol--8PKNwb_.js';
3
3
 
4
4
  /**
5
5
  * Session stats computation - aggregates response-level MessageStats from
@@ -6,7 +6,7 @@ import {
6
6
  createServerMessage,
7
7
  isClientMessage,
8
8
  isServerMessage
9
- } from "../chunk-4VT74LCD.js";
9
+ } from "../chunk-ERFRUQQR.js";
10
10
  export {
11
11
  computeSessionStats,
12
12
  createClientMessage,
@@ -11,7 +11,7 @@ import {
11
11
  requestPathAccess,
12
12
  stepDoneTool,
13
13
  validateToolAction
14
- } from "./chunk-IGPHQGUN.js";
14
+ } from "./chunk-PLWQJCN4.js";
15
15
  import "./chunk-RCECKE5L.js";
16
16
  import "./chunk-ZHBL5G5X.js";
17
17
  import "./chunk-DL6ZILAF.js";
@@ -21,13 +21,13 @@ import "./chunk-YNIAFX24.js";
21
21
  import "./chunk-ENH5AUOX.js";
22
22
  import "./chunk-5GVCNVKV.js";
23
23
  import "./chunk-XVWVAWSG.js";
24
- import "./chunk-GN7RB4Y4.js";
24
+ import "./chunk-PAAUYFYS.js";
25
25
  import {
26
26
  AskUserInterrupt,
27
27
  cancelQuestionsForSession,
28
28
  provideAnswer
29
29
  } from "./chunk-BJYPTN5S.js";
30
- import "./chunk-4VT74LCD.js";
30
+ import "./chunk-ERFRUQQR.js";
31
31
  import "./chunk-CQGTEGKL.js";
32
32
  import "./chunk-B5AP3RSV.js";
33
33
  import "./chunk-WSRF5L3S.js";
@@ -49,4 +49,4 @@ export {
49
49
  stepDoneTool,
50
50
  validateToolAction
51
51
  };
52
- //# sourceMappingURL=tools-DAOJPK7C.js.map
52
+ //# sourceMappingURL=tools-XZBUMSMC.js.map