@ljoukov/llm 4.0.5 → 4.0.7

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/index.d.cts CHANGED
@@ -412,6 +412,18 @@ type AgentSubagentToolConfig = {
412
412
  };
413
413
  type AgentSubagentToolSelection = boolean | AgentSubagentToolConfig;
414
414
 
415
+ type AgentLogLineSink = {
416
+ readonly append: (line: string) => void | Promise<void>;
417
+ readonly flush?: () => void | Promise<void>;
418
+ };
419
+ type AgentLoggingConfig = {
420
+ readonly workspaceDir?: string;
421
+ readonly callLogsDir?: string;
422
+ readonly mirrorToConsole?: boolean;
423
+ readonly sink?: AgentLogLineSink;
424
+ };
425
+ type AgentLoggingSelection = boolean | AgentLoggingConfig;
426
+
415
427
  type AgentPathKind = "file" | "directory" | "symlink" | "other";
416
428
  type AgentPathInfo = {
417
429
  readonly kind: AgentPathKind;
@@ -576,18 +588,6 @@ declare function createGrepSearchTool(options?: AgentFilesystemToolsOptions): Ll
576
588
  declare function createRgSearchTool(options?: AgentFilesystemToolsOptions): LlmFunctionTool<typeof geminiRgSearchInputSchema, string>;
577
589
  declare function createGlobTool(options?: AgentFilesystemToolsOptions): LlmFunctionTool<typeof geminiGlobInputSchema, string>;
578
590
 
579
- type AgentLogLineSink = {
580
- readonly append: (line: string) => void | Promise<void>;
581
- readonly flush?: () => void | Promise<void>;
582
- };
583
- type AgentLoggingConfig = {
584
- readonly workspaceDir?: string;
585
- readonly callLogsDir?: string;
586
- readonly mirrorToConsole?: boolean;
587
- readonly sink?: AgentLogLineSink;
588
- };
589
- type AgentLoggingSelection = boolean | AgentLoggingConfig;
590
-
591
591
  type AgentFilesystemToolConfig = {
592
592
  readonly enabled?: boolean;
593
593
  readonly profile?: AgentFilesystemToolProfile;
package/dist/index.d.ts CHANGED
@@ -412,6 +412,18 @@ type AgentSubagentToolConfig = {
412
412
  };
413
413
  type AgentSubagentToolSelection = boolean | AgentSubagentToolConfig;
414
414
 
415
+ type AgentLogLineSink = {
416
+ readonly append: (line: string) => void | Promise<void>;
417
+ readonly flush?: () => void | Promise<void>;
418
+ };
419
+ type AgentLoggingConfig = {
420
+ readonly workspaceDir?: string;
421
+ readonly callLogsDir?: string;
422
+ readonly mirrorToConsole?: boolean;
423
+ readonly sink?: AgentLogLineSink;
424
+ };
425
+ type AgentLoggingSelection = boolean | AgentLoggingConfig;
426
+
415
427
  type AgentPathKind = "file" | "directory" | "symlink" | "other";
416
428
  type AgentPathInfo = {
417
429
  readonly kind: AgentPathKind;
@@ -576,18 +588,6 @@ declare function createGrepSearchTool(options?: AgentFilesystemToolsOptions): Ll
576
588
  declare function createRgSearchTool(options?: AgentFilesystemToolsOptions): LlmFunctionTool<typeof geminiRgSearchInputSchema, string>;
577
589
  declare function createGlobTool(options?: AgentFilesystemToolsOptions): LlmFunctionTool<typeof geminiGlobInputSchema, string>;
578
590
 
579
- type AgentLogLineSink = {
580
- readonly append: (line: string) => void | Promise<void>;
581
- readonly flush?: () => void | Promise<void>;
582
- };
583
- type AgentLoggingConfig = {
584
- readonly workspaceDir?: string;
585
- readonly callLogsDir?: string;
586
- readonly mirrorToConsole?: boolean;
587
- readonly sink?: AgentLogLineSink;
588
- };
589
- type AgentLoggingSelection = boolean | AgentLoggingConfig;
590
-
591
591
  type AgentFilesystemToolConfig = {
592
592
  readonly enabled?: boolean;
593
593
  readonly profile?: AgentFilesystemToolProfile;