openfox 0.2.4 → 1.0.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.
Files changed (64) hide show
  1. package/dist/agent-defaults/builder.agent.md +3 -7
  2. package/dist/agent-defaults/code-reviewer.agent.md +1 -2
  3. package/dist/agent-defaults/debugger.agent.md +1 -2
  4. package/dist/agent-defaults/planner.agent.md +2 -9
  5. package/dist/agent-defaults/test-generator.agent.md +1 -1
  6. package/dist/agent-defaults/verifier.agent.md +4 -5
  7. package/dist/ask-3RK5YJZE.js +19 -0
  8. package/dist/auto-compaction-7LNZ5J3W.js +23 -0
  9. package/dist/{branch.api-WDHKZJS6.js → branch.api-XADFZZAA.js} +2 -2
  10. package/dist/chat-handler-T7SLWZ4E.js +201 -0
  11. package/dist/chunk-22CTURMH.js +128 -0
  12. package/dist/chunk-2KSCZSXQ.js +680 -0
  13. package/dist/{chunk-S5NRIWEU.js → chunk-2TBNG7CS.js} +12 -12
  14. package/dist/{chunk-4Z2OZ6NX.js → chunk-3EHGGBWE.js} +29 -2
  15. package/dist/{chunk-GZ7ZVJIW.js → chunk-3UQACISJ.js} +159 -49
  16. package/dist/{chunk-AF7XS4OI.js → chunk-5YQAXUKO.js} +4 -1
  17. package/dist/{chunk-MTX5Y3V3.js → chunk-7IOZFJBW.js} +2 -2
  18. package/dist/chunk-BU2ZYOEA.js +1067 -0
  19. package/dist/chunk-M2C5GEQR.js +137 -0
  20. package/dist/{chunk-U62ZECSQ.js → chunk-PNBH3RAX.js} +2 -2
  21. package/dist/chunk-QDEKU5RL.js +75 -0
  22. package/dist/chunk-QYP5HQV4.js +438 -0
  23. package/dist/{chunk-O4W4555H.js → chunk-RAZQTQK2.js} +1353 -1134
  24. package/dist/chunk-S4QKTRGJ.js +343 -0
  25. package/dist/{chunk-ARFK3RZW.js → chunk-TPT6HP4H.js} +1 -1
  26. package/dist/chunk-TVQOONDR.js +75 -0
  27. package/dist/{chunk-5ZUU23XF.js → chunk-U6BUT37A.js} +286 -33
  28. package/dist/chunk-VZXXJKSQ.js +314 -0
  29. package/dist/{chunk-26NRL3HX.js → chunk-XFXOSPYH.js} +3 -2
  30. package/dist/{chunk-N2XYX4ZA.js → chunk-XKFPU2FA.js} +13 -2
  31. package/dist/{chunk-FUUYYDVG.js → chunk-YB2574C6.js} +2841 -4507
  32. package/dist/cli/dev.js +4 -3
  33. package/dist/cli/index.js +4 -3
  34. package/dist/{config-GIXXE4VK.js → config-GIFCEJDU.js} +11 -6
  35. package/dist/events-G6CKHDNZ.js +114 -0
  36. package/dist/folding-O52L65VN.js +37 -0
  37. package/dist/{init-2EJ5AC7Z.js → init-MKTUIGZU.js} +46 -13
  38. package/dist/orchestrator-UGXX7JRQ.js +39 -0
  39. package/dist/package.json +9 -2
  40. package/dist/{paths-4BPXWB2W.js → paths-MM76AWYB.js} +2 -2
  41. package/dist/processor-KLHKDILM.js +236 -0
  42. package/dist/{project-creator-CWPKRIKI.js → project-creator-KAQXMZCT.js} +9 -8
  43. package/dist/projects-GSMMEVSO.js +19 -0
  44. package/dist/{protocol-BFFz3WM0.d.ts → protocol-BZ6OIASP.d.ts} +71 -50
  45. package/dist/protocol-WQENDK72.js +88 -0
  46. package/dist/{provider-QEVVNYOX.js → provider-4KTWU6IV.js} +41 -9
  47. package/dist/runtime-config-2XJJIMSC.js +9 -0
  48. package/dist/{serve-RYEBLJVN.js → serve-UK6B6G2O.js} +38 -18
  49. package/dist/server/index.d.ts +81 -27
  50. package/dist/server/index.js +19 -11
  51. package/dist/{settings-D5O3TMLD.js → settings-NCLN4JDZ.js} +4 -4
  52. package/dist/shared/index.d.ts +2 -2
  53. package/dist/shared/index.js +1 -1
  54. package/dist/tools-SGBQE736.js +48 -0
  55. package/dist/vision-fallback-63VPBSEN.js +22 -0
  56. package/dist/web/assets/{index-DHmZmhnR.css → index-BsaaC0X0.css} +32 -1
  57. package/dist/web/assets/index-CvO7QkGh.js +141 -0
  58. package/dist/web/index.html +2 -2
  59. package/dist/web/sounds/typing.mp3 +0 -0
  60. package/dist/workflow-defaults/default.workflow.json +1 -1
  61. package/package.json +9 -2
  62. package/dist/chunk-L4XDA3V7.js +0 -218
  63. package/dist/tools-QMIIDJTV.js +0 -48
  64. package/dist/web/assets/index-CAD7Iv_d.js +0 -122
@@ -1,4 +1,4 @@
1
- import { aN as ToolCall, b as Attachment, J as Diagnostic, at as Session, aF as SessionSummary, a4 as Project, az as SessionMode, aB as SessionPhase, M as Message, D as Criterion, F as CriterionStatus, ap as QueuedMessage, w as ContextState, ar as ServerMessage, aK as StatsIdentity, aQ as ToolResult, ah as Provider, u as Config } from '../protocol-BFFz3WM0.js';
1
+ import { aM as ToolCall, c as Attachment, O as Diagnostic, ai as Provider, a3 as ModelConfig, ay as Session, aH as SessionSummary, aa as Project, aC as SessionMode, aE as SessionPhase, M as Message, G as Criterion, I as CriterionStatus, au as QueuedMessage, z as ContextState, K as DangerLevel$1, aw as ServerMessage, aJ as StatsIdentity, aP as ToolResult, x as Config } from '../protocol-BZ6OIASP.js';
2
2
  import { Server } from 'node:http';
3
3
 
4
4
  interface LLMMessage {
@@ -31,12 +31,15 @@ interface LLMCompletionRequest {
31
31
  stream?: boolean;
32
32
  signal?: AbortSignal;
33
33
  disableThinking?: boolean;
34
+ onVisionFallbackStart?: (attachmentId: string, filename?: string) => void;
35
+ onVisionFallbackDone?: (attachmentId: string, description: string) => void;
34
36
  }
35
37
  interface LLMCompletionResponse {
36
38
  id: string;
37
39
  content: string;
38
40
  toolCalls?: ToolCall[];
39
41
  thinkingContent?: string;
42
+ reasoning_content?: string;
40
43
  finishReason: 'stop' | 'tool_calls' | 'length' | 'content_filter';
41
44
  usage: {
42
45
  promptTokens: number;
@@ -85,6 +88,8 @@ interface ModelProfile {
85
88
  reasoningAsContent: boolean;
86
89
  /** Max tokens to generate if not specified */
87
90
  defaultMaxTokens: number;
91
+ /** Whether the model supports vision/images */
92
+ supportsVision: boolean;
88
93
  }
89
94
 
90
95
  /**
@@ -121,6 +126,47 @@ interface LspManagerInterface {
121
126
  shutdown(): Promise<void>;
122
127
  }
123
128
 
129
+ interface ProviderManager {
130
+ getProviders(): Provider[];
131
+ getActiveProvider(): Provider | undefined;
132
+ getActiveProviderId(): string | undefined;
133
+ getCurrentModel(): string | undefined;
134
+ getCurrentModelContext(): number;
135
+ getLLMClient(): LLMClientWithModel;
136
+ activateProvider(providerId: string, options?: {
137
+ model?: string;
138
+ }): Promise<{
139
+ success: boolean;
140
+ error?: string;
141
+ }>;
142
+ addProvider(provider: Omit<Provider, 'id' | 'createdAt'>): Provider;
143
+ removeProvider(providerId: string): boolean;
144
+ setProviders(providers: Provider[], defaultModelSelection?: string): void;
145
+ getProviderStatus(providerId: string): 'connected' | 'disconnected' | 'unknown';
146
+ getProviderModels(providerId: string): Promise<ModelConfig[]>;
147
+ setDefaultModelSelection(providerId: string, model: string): Promise<{
148
+ success: boolean;
149
+ error?: string;
150
+ }>;
151
+ updateModelContext(providerId: string, modelId: string, contextWindow: number): Promise<{
152
+ success: boolean;
153
+ error?: string;
154
+ }>;
155
+ refreshProviderModels(providerId: string): Promise<{
156
+ success: boolean;
157
+ error?: string;
158
+ }>;
159
+ }
160
+
161
+ /**
162
+ * Session Database Operations
163
+ *
164
+ * Manages session metadata in SQLite. Session content (messages, criteria, todos)
165
+ * is stored in the events table and derived via EventStore folding.
166
+ */
167
+
168
+ type DangerLevel = 'normal' | 'dangerous';
169
+
124
170
  type Unsubscribe = () => void;
125
171
 
126
172
  /**
@@ -194,12 +240,29 @@ type SessionEvent = {
194
240
  type: 'message_added';
195
241
  sessionId: string;
196
242
  message: Message;
243
+ } | {
244
+ type: 'queue_added';
245
+ sessionId: string;
246
+ queueId: string;
247
+ mode: 'asap' | 'completion';
248
+ content: string;
249
+ } | {
250
+ type: 'queue_drained';
251
+ sessionId: string;
252
+ queueId: string;
253
+ } | {
254
+ type: 'queue_cancelled';
255
+ sessionId: string;
256
+ queueId: string;
197
257
  };
198
258
  declare class SessionManager {
199
259
  private events;
200
260
  private activeSessionId;
261
+ private providerManager;
262
+ constructor(providerManager: ProviderManager);
201
263
  /**
202
264
  * Create a new session. Emits session.initialized event.
265
+ * Note: maxTokens is no longer stored in the session - it comes from the current model config
203
266
  */
204
267
  createSession(projectId: string, title?: string, providerId?: string | null, providerModel?: string | null): Session;
205
268
  /**
@@ -216,9 +279,12 @@ declare class SessionManager {
216
279
  */
217
280
  listSessions(): SessionSummary[];
218
281
  /**
219
- * List sessions for a project.
282
+ * List sessions for a project with pagination.
220
283
  */
221
- listSessionsByProject(projectId: string): SessionSummary[];
284
+ listSessionsByProject(projectId: string, limit?: number, offset?: number): {
285
+ sessions: SessionSummary[];
286
+ hasMore: boolean;
287
+ };
222
288
  /**
223
289
  * Delete a session and all its events.
224
290
  */
@@ -239,6 +305,11 @@ declare class SessionManager {
239
305
  * Change session phase. Emits phase.changed event.
240
306
  */
241
307
  setPhase(sessionId: string, phase: SessionPhase): Session;
308
+ /**
309
+ * Set danger level. Does NOT emit event - danger level is not part of session state.
310
+ * Just updates DB and returns updated session.
311
+ */
312
+ setDangerLevel(sessionId: string, dangerLevel: DangerLevel): Session;
242
313
  /**
243
314
  * Set session running state. Emits running.changed event.
244
315
  */
@@ -286,6 +357,7 @@ declare class SessionManager {
286
357
  /**
287
358
  * Set current context size (for token tracking).
288
359
  * Emits a context.state event with the real promptTokens from the LLM.
360
+ * maxTokens comes from providerManager.getCurrentModelContext() - the currently selected model's limit.
289
361
  */
290
362
  setCurrentContextSize(sessionId: string, promptTokens: number): void;
291
363
  /**
@@ -326,11 +398,12 @@ declare class SessionManager {
326
398
  */
327
399
  removeCriterion(sessionId: string, criterionId: string): Criterion[];
328
400
  private messageQueues;
329
- queueMessage(sessionId: string, mode: 'asap' | 'completion', content: string, attachments?: Attachment[]): QueuedMessage;
401
+ queueMessage(sessionId: string, mode: 'asap' | 'completion', content: string, attachments?: Attachment[], messageKind?: string): QueuedMessage;
330
402
  cancelQueuedMessage(sessionId: string, queueId: string): boolean;
331
403
  drainAsapMessages(sessionId: string): QueuedMessage[];
332
404
  drainCompletionMessages(sessionId: string): QueuedMessage[];
333
405
  getQueueState(sessionId: string): QueuedMessage[];
406
+ hasQueuedMessages(sessionId: string): boolean;
334
407
  clearMessageQueue(sessionId: string): void;
335
408
  private readFilesCache;
336
409
  /**
@@ -391,17 +464,21 @@ interface ToolContext {
391
464
  workdir: string;
392
465
  sessionId: string;
393
466
  sessionManager: SessionManager;
467
+ dangerLevel?: DangerLevel$1;
394
468
  signal?: AbortSignal | undefined;
395
469
  onProgress?: ((message: string) => void) | undefined;
396
470
  onEvent?: ((event: ServerMessage) => void) | undefined;
397
471
  lspManager?: LspManagerInterface | undefined;
398
472
  llmClient?: LLMClientWithModel | undefined;
399
473
  statsIdentity?: StatsIdentity | undefined;
474
+ permittedActions?: Record<string, string[]> | undefined;
475
+ toolCallId?: string;
400
476
  }
401
477
  interface Tool {
402
478
  name: string;
403
479
  definition: LLMToolDefinition;
404
480
  execute: (args: Record<string, unknown>, context: ToolContext) => Promise<ToolResult>;
481
+ permittedActions?: string[];
405
482
  }
406
483
  interface ToolRegistry {
407
484
  tools: Tool[];
@@ -409,29 +486,6 @@ interface ToolRegistry {
409
486
  execute: (name: string, args: Record<string, unknown>, context: ToolContext) => Promise<ToolResult>;
410
487
  }
411
488
 
412
- interface ProviderManager {
413
- getProviders(): Provider[];
414
- getActiveProvider(): Provider | undefined;
415
- getActiveProviderId(): string | undefined;
416
- getCurrentModel(): string | undefined;
417
- getLLMClient(): LLMClientWithModel;
418
- activateProvider(providerId: string, options?: {
419
- model?: string;
420
- }): Promise<{
421
- success: boolean;
422
- error?: string;
423
- }>;
424
- addProvider(provider: Omit<Provider, 'id' | 'createdAt'>): Provider;
425
- removeProvider(providerId: string): boolean;
426
- setProviders(providers: Provider[], defaultModelSelection?: string): void;
427
- getProviderStatus(providerId: string): 'connected' | 'disconnected' | 'unknown';
428
- getProviderModels(providerId: string): Promise<string[]>;
429
- setDefaultModelSelection(providerId: string, model: string): Promise<{
430
- success: boolean;
431
- error?: string;
432
- }>;
433
- }
434
-
435
489
  /**
436
490
  * Server Context
437
491
  *
@@ -1,18 +1,26 @@
1
1
  import {
2
2
  createServer,
3
3
  createServerHandle
4
- } from "../chunk-O4W4555H.js";
5
- import "../chunk-FUUYYDVG.js";
6
- import "../chunk-MTX5Y3V3.js";
7
- import "../chunk-N2XYX4ZA.js";
8
- import "../chunk-4Z2OZ6NX.js";
4
+ } from "../chunk-RAZQTQK2.js";
5
+ import "../chunk-VZXXJKSQ.js";
6
+ import "../chunk-YB2574C6.js";
7
+ import "../chunk-QDEKU5RL.js";
8
+ import "../chunk-QYP5HQV4.js";
9
+ import "../chunk-BU2ZYOEA.js";
10
+ import "../chunk-2KSCZSXQ.js";
11
+ import "../chunk-S4QKTRGJ.js";
12
+ import "../chunk-22CTURMH.js";
13
+ import "../chunk-7IOZFJBW.js";
14
+ import "../chunk-XKFPU2FA.js";
15
+ import "../chunk-3EHGGBWE.js";
9
16
  import "../chunk-QY7BMXWT.js";
10
- import "../chunk-ARFK3RZW.js";
11
- import "../chunk-L4XDA3V7.js";
12
- import "../chunk-5ZUU23XF.js";
13
- import "../chunk-26NRL3HX.js";
14
- import "../chunk-U62ZECSQ.js";
15
- import "../chunk-AF7XS4OI.js";
17
+ import "../chunk-TPT6HP4H.js";
18
+ import "../chunk-TVQOONDR.js";
19
+ import "../chunk-U6BUT37A.js";
20
+ import "../chunk-XFXOSPYH.js";
21
+ import "../chunk-5YQAXUKO.js";
22
+ import "../chunk-M2C5GEQR.js";
23
+ import "../chunk-PNBH3RAX.js";
16
24
  export {
17
25
  createServer,
18
26
  createServerHandle
@@ -4,9 +4,9 @@ import {
4
4
  getAllSettings,
5
5
  getSetting,
6
6
  setSetting
7
- } from "./chunk-MTX5Y3V3.js";
8
- import "./chunk-4Z2OZ6NX.js";
9
- import "./chunk-U62ZECSQ.js";
7
+ } from "./chunk-7IOZFJBW.js";
8
+ import "./chunk-3EHGGBWE.js";
9
+ import "./chunk-PNBH3RAX.js";
10
10
  export {
11
11
  SETTINGS_KEYS,
12
12
  deleteSetting,
@@ -14,4 +14,4 @@ export {
14
14
  getSetting,
15
15
  setSetting
16
16
  };
17
- //# sourceMappingURL=settings-D5O3TMLD.js.map
17
+ //# sourceMappingURL=settings-NCLN4JDZ.js.map
@@ -1,5 +1,5 @@
1
- import { M as Message, S as SessionStats } from '../protocol-BFFz3WM0.js';
2
- export { A as AgentEvent, a as AskUserEvent, b as Attachment, C as CallStatsDataPoint, c as ChatDeltaPayload, d as ChatDonePayload, e as ChatErrorPayload, f as ChatFormatRetryPayload, g as ChatMessagePayload, h as ChatMessageUpdatedPayload, i as ChatPathConfirmationPayload, j as ChatProgressPayload, k as ChatSendPayload, l as ChatSummaryPayload, m as ChatThinkingPayload, n as ChatTodoPayload, o as ChatToolCallPayload, p as ChatToolOutputPayload, q as ChatToolPreparingPayload, r as ChatToolResultPayload, s as ClientMessage, t as ClientMessageType, u as Config, v as ContextCompactionEvent, w as ContextState, x as ContextStatePayload, y as ContextWindow, z as CriteriaEditPayload, B as CriteriaUpdatedPayload, D as Criterion, E as CriterionAttempt, F as CriterionStatus, G as CriterionValidation, H as DevServerOutputPayload, I as DevServerStatePayload, J as Diagnostic, K as EditContextEdit, L as EditContextLine, N as EditContextRegion, O as ErrorPayload, P as ExecutionState, Q as FileReadEntry, R as InjectedFile, T as LLMCallStats, U as LlmBackend, V as LspDiagnosticsPayload, W as MessageRole, X as MessageSegment, Y as MessageStats, Z as ModeChangedPayload, _ as ModeSwitchPayload, $ as ModelSessionStats, a0 as PathConfirmPayload, a1 as PathConfirmationReason, a2 as PhaseChangedPayload, a3 as PreparingToolCall, a4 as Project, a5 as ProjectCreatePayload, a6 as ProjectCreateWithDirPayload, a7 as ProjectDeletePayload, a8 as ProjectDeletedPayload, a9 as ProjectListPayload, aa as ProjectLoadPayload, ab as ProjectStatePayload, ac as ProjectUpdatePayload, ad as PromptContext, ae as PromptContextMessage, af as PromptContextTool, ag as PromptRequestOptions, ah as Provider, ai as ProviderActivatePayload, aj as ProviderBackend, ak as ProviderChangedPayload, al as QueueAsapPayload, am as QueueCancelPayload, an as QueueCompletionPayload, ao as QueueStatePayload, ap as QueuedMessage, aq as RecentUserPrompt, ar as ServerMessage, as as ServerMessageType, at as Session, au as SessionCreatePayload, av as SessionDeleteAllPayload, aw as SessionListPayload, ax as SessionLoadPayload, ay as SessionMetadata, az as SessionMode, aA as SessionNameGeneratedPayload, aB as SessionPhase, aC as SessionRunningPayload, aD as SessionSetProviderPayload, aE as SessionStatePayload, aF as SessionSummary, aG as SettingsGetPayload, aH as SettingsSetPayload, aI as SettingsValuePayload, aJ as StatsDataPoint, aK as StatsIdentity, aL as TaskCompletedPayload, aM as Todo, aN as ToolCall, aO as ToolMode, aP as ToolName, aQ as ToolResult, aR as ValidationResult, aS as createClientMessage, aT as createServerMessage, aU as isClientMessage, aV as isServerMessage } from '../protocol-BFFz3WM0.js';
1
+ import { M as Message, S as SessionStats } from '../protocol-BZ6OIASP.js';
2
+ export { A as AgentEvent, a as AskAnswerPayload, b as AskUserEvent, c as Attachment, C as CallStatsDataPoint, d as ChatAskUserPayload, e as ChatDeltaPayload, f as ChatDonePayload, g as ChatErrorPayload, h as ChatFormatRetryPayload, i as ChatMessagePayload, j as ChatMessageUpdatedPayload, k as ChatPathConfirmationPayload, l as ChatProgressPayload, m as ChatSendPayload, n as ChatSummaryPayload, o as ChatThinkingPayload, p as ChatTodoPayload, q as ChatToolCallPayload, r as ChatToolOutputPayload, s as ChatToolPreparingPayload, t as ChatToolResultPayload, u as ChatVisionFallbackPayload, v as ClientMessage, w as ClientMessageType, x as Config, y as ContextCompactionEvent, z as ContextState, B as ContextStatePayload, D as ContextWindow, E as CriteriaEditPayload, F as CriteriaUpdatedPayload, G as Criterion, H as CriterionAttempt, I as CriterionStatus, J as CriterionValidation, K as DangerLevel, L as DevServerOutputPayload, N as DevServerStatePayload, O as Diagnostic, P as EditContextEdit, Q as EditContextLine, R as EditContextRegion, T as ErrorPayload, U as ExecutionState, V as FileReadEntry, W as InjectedFile, X as LLMCallStats, Y as LlmBackend, Z as LspDiagnosticsPayload, _ as MessageRole, $ as MessageSegment, a0 as MessageStats, a1 as ModeChangedPayload, a2 as ModeSwitchPayload, a3 as ModelConfig, a4 as ModelSessionStats, a5 as PathConfirmPayload, a6 as PathConfirmationReason, a7 as PendingPathConfirmationPayload, a8 as PhaseChangedPayload, a9 as PreparingToolCall, aa as Project, ab as ProjectDeletedPayload, ac as ProjectListPayload, ad as ProjectStatePayload, ae as PromptContext, af as PromptContextMessage, ag as PromptContextTool, ah as PromptRequestOptions, ai as Provider, aj as ProviderBackend, ak as ProviderChangedPayload, al as QueueAddedEvent, am as QueueAsapPayload, an as QueueCancelPayload, ao as QueueCancelledEvent, ap as QueueCompletionPayload, aq as QueueDrainedEvent, ar as QueueEvent, as as QueueEventType, at as QueueStatePayload, au as QueuedMessage, av as RecentUserPrompt, aw as ServerMessage, ax as ServerMessageType, ay as Session, az as SessionListPayload, aA as SessionLoadPayload, aB as SessionMetadata, aC as SessionMode, aD as SessionNameGeneratedPayload, aE as SessionPhase, aF as SessionRunningPayload, aG as SessionStatePayload, aH as SessionSummary, aI as StatsDataPoint, aJ as StatsIdentity, aK as TaskCompletedPayload, aL as Todo, aM as ToolCall, aN as ToolMode, aO as ToolName, aP as ToolResult, aQ as ValidationResult, aR as createClientMessage, aS as createServerMessage, aT as isClientMessage, aU as isServerMessage } from '../protocol-BZ6OIASP.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-ARFK3RZW.js";
9
+ } from "../chunk-TPT6HP4H.js";
10
10
  export {
11
11
  computeSessionStats,
12
12
  createClientMessage,
@@ -0,0 +1,48 @@
1
+ import {
2
+ PathAccessDeniedError,
3
+ cancelPathConfirmationsForSession,
4
+ createRegistryFromTools,
5
+ createToolRegistry,
6
+ getToolPermissions,
7
+ getToolRegistryForAgent,
8
+ getToolRegistryForSubAgent,
9
+ parseToolPermissions,
10
+ providePathConfirmation,
11
+ requestPathAccess,
12
+ stepDoneTool,
13
+ validateToolAction
14
+ } from "./chunk-YB2574C6.js";
15
+ import "./chunk-BU2ZYOEA.js";
16
+ import "./chunk-2KSCZSXQ.js";
17
+ import "./chunk-S4QKTRGJ.js";
18
+ import {
19
+ AskUserInterrupt,
20
+ cancelQuestionsForSession,
21
+ provideAnswer
22
+ } from "./chunk-22CTURMH.js";
23
+ import "./chunk-7IOZFJBW.js";
24
+ import "./chunk-XKFPU2FA.js";
25
+ import "./chunk-3EHGGBWE.js";
26
+ import "./chunk-TPT6HP4H.js";
27
+ import "./chunk-TVQOONDR.js";
28
+ import "./chunk-XFXOSPYH.js";
29
+ import "./chunk-5YQAXUKO.js";
30
+ import "./chunk-PNBH3RAX.js";
31
+ export {
32
+ AskUserInterrupt,
33
+ PathAccessDeniedError,
34
+ cancelPathConfirmationsForSession,
35
+ cancelQuestionsForSession,
36
+ createRegistryFromTools,
37
+ createToolRegistry,
38
+ getToolPermissions,
39
+ getToolRegistryForAgent,
40
+ getToolRegistryForSubAgent,
41
+ parseToolPermissions,
42
+ provideAnswer,
43
+ providePathConfirmation,
44
+ requestPathAccess,
45
+ stepDoneTool,
46
+ validateToolAction
47
+ };
48
+ //# sourceMappingURL=tools-SGBQE736.js.map
@@ -0,0 +1,22 @@
1
+ import {
2
+ clearDescriptionCache,
3
+ describeImage,
4
+ describeImageFromDataUrl,
5
+ descriptionCache,
6
+ ensureVisionFallbackConfigLoaded,
7
+ getVisionFallbackConfig,
8
+ isVisionFallbackEnabled,
9
+ setVisionFallbackConfig
10
+ } from "./chunk-M2C5GEQR.js";
11
+ import "./chunk-PNBH3RAX.js";
12
+ export {
13
+ clearDescriptionCache,
14
+ describeImage,
15
+ describeImageFromDataUrl,
16
+ descriptionCache,
17
+ ensureVisionFallbackConfigLoaded,
18
+ getVisionFallbackConfig,
19
+ isVisionFallbackEnabled,
20
+ setVisionFallbackConfig
21
+ };
22
+ //# sourceMappingURL=vision-fallback-63VPBSEN.js.map