/** * 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, spawns the compiler-flavor Compiler app, and waits up to `max_wait_ms` * (default 45s) for completion: a small compile, and EVERY re-run (which reuses * prior units via 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 of a large tree overruns the wait and returns a * running job_id, the run still finishes on its own and writes to the pinned * output, so it is collected by polling log10x_compile_status or by simply * calling this tool again later. `max_wait_ms: 0` returns the job_id * immediately (fire-and-forget). * * Validation, the source set, credentials, output pinning, and the compiler-flavor * gate 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 {};