/** * log10x_compile, compile a symbol library from any mix of sources, waiting * inline for the result when it is quick and handing back a pollable job when * it is not. * * This is the primary, agent-facing compiler entry point. It validates the * sources, resolves the compiler (image ref / local engine version, part of * the output-folder key), spawns the compiler-flavor Compiler app, and waits * up to `max_wait_ms` (default 45s) for completion: a small compile, and a * re-run over unchanged local sources (the engine skips every file whose * checksum already has a unit in the pinned output folder), finishes in that * window and the tool returns the finished library plus the full scan/link * diagnostics in one call. A long first compile overruns the wait and returns * a running job_id; the run finishes on its own and writes to the pinned * output, so it is collected by polling log10x_compile_status. Calling this * tool again with the same arguments while the job runs joins that job rather * than spawning a second engine into the same folder. `max_wait_ms: 0` * returns the job_id immediately (fire-and-forget). * * Validation, the source set, credentials, and output pinning are shared with * compile.ts (`prepareCompile`); the launch + wait is shared with * log10x_compile_link via compile-launch.ts. */ import { z } from 'zod'; import { type StructuredOutput } from '../lib/output-types.js'; import { type CompileArgs } from './compile.js'; /** Source/credential surface (compileSchema) plus the inline-wait budget. */ export declare const compileToolSchema: { max_wait_ms: z.ZodDefault; source_path: z.ZodOptional; github_repos: z.ZodOptional>; github_branch: z.ZodOptional; github_folders: z.ZodOptional>; github_token: z.ZodOptional; docker_images: z.ZodOptional>; docker_username: z.ZodOptional; docker_token: z.ZodOptional; helm_charts: z.ZodOptional>; helm_repos: z.ZodOptional>; helm_pull_images: z.ZodDefault; helm_pull_repos: z.ZodDefault; artifactory_instance: z.ZodOptional; artifactory_repo: z.ZodOptional; artifactory_files: z.ZodOptional>; artifactory_folders: z.ZodOptional>; artifactory_recursive: z.ZodDefault; artifactory_token: z.ZodOptional; output_path: z.ZodOptional; library_name: z.ZodDefault; mode: z.ZodDefault>; timeout_ms: z.ZodDefault; }; interface CompileToolArgs extends CompileArgs { max_wait_ms: number; } export declare function executeCompile(args: CompileToolArgs): Promise; export {};